/* ==========================================================================
   Coventry Stays — the Maine Couriers layout, in navy and amber.
   One accent (--accent). Navy carries the dark bands. Poppins for headings, Inter for text.
   Every var(--x) used below is declared in :root.
   ========================================================================== */

:root {
  --navy: #0f2347;
  --navy-2: #16305c;
  --ink: #091830;
  --accent: #f2b544;
  --accent-strong: #e7a531;
  --accent-ink: #8a5a0e;
  --accent-glow: rgba(242, 181, 68, 0.38);
  --accent-soft: rgba(242, 181, 68, 0.14);
  --accent-line: rgba(242, 181, 68, 0.35);
  --bg: #ffffff;
  --bg-soft: #f3f5f9;
  --text: #0f1b33;
  --text-2: #46546f;
  --text-3: #6b7790;
  --line: rgba(15, 35, 71, 0.1);
  --line-strong: rgba(15, 35, 71, 0.18);
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.82);
  --on-dark-3: rgba(255, 255, 255, 0.62);
  --on-dark-line: rgba(255, 255, 255, 0.14);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Poppins", "Inter", sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow-card: 0 4px 24px rgba(9, 24, 48, 0.07), 0 1px 4px rgba(9, 24, 48, 0.05);
  --shadow-hover: 0 18px 44px rgba(9, 24, 48, 0.14), 0 0 0 1px var(--accent-line), 0 0 26px var(--accent-soft);
  --shadow-glow: 0 0 18px var(--accent-glow), 0 6px 18px rgba(9, 24, 48, 0.18);
  --head-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.7; font-size: 1rem; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-color: var(--accent); text-underline-offset: 3px; transition: color .25s var(--ease); }
a:hover { color: var(--accent-ink); }
::selection { background: var(--accent); color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }
.skip { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--accent); color: var(--navy); padding: .7rem 1rem; font-weight: 600; }
.skip:focus { left: 1rem; top: 1rem; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { color: var(--text-2); }
.hl { color: var(--accent); }
.on-dark .hl, .section--dark .hl { color: var(--accent); }
.muted { color: var(--text-3); }
.small { font-size: .85rem; }

.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; position: relative; z-index: 1; }
.wrap--narrow { width: min(860px, 100% - 2.5rem); }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--head-h); background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .3s var(--ease); }
.site-head.scrolled { box-shadow: 0 6px 24px rgba(9, 24, 48, 0.08); }
.site-head .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; white-space: nowrap; gap: .6rem; text-decoration: none; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand:hover { color: var(--navy); }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--text); font-size: .92rem; font-weight: 500; padding: .5rem .8rem; border-radius: 999px; transition: background .25s var(--ease), color .25s var(--ease); }
.nav a:hover { background: var(--bg-soft); color: var(--navy); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--navy); font-weight: 600; }
.nav .btn { margin-left: .6rem; padding: .6rem 1.15rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.5rem; border-radius: 12px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: var(--shadow-glow); }
.btn-accent:hover { background: var(--accent-strong); color: var(--navy); transform: translateY(-2px); box-shadow: 0 0 28px var(--accent-glow), 0 10px 24px rgba(9, 24, 48, 0.22); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(9, 24, 48, 0.22); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: var(--accent); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--accent); color: var(--navy); background: var(--accent-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- hero (dark photo) ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: calc(var(--head-h) + clamp(3rem, 8vw, 6.5rem)) 0 clamp(3.5rem, 7vw, 6rem); }
.hero--home { min-height: min(100vh, 980px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 22s var(--ease) forwards; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
    radial-gradient(ellipse at 82% 18%, rgba(242, 181, 68, 0.2) 0%, transparent 52%),
    linear-gradient(100deg, rgba(9, 24, 48, 0.96) 0%, rgba(9, 24, 48, 0.86) 42%, rgba(15, 35, 71, 0.55) 100%); }
.hero h1, .hero h2 { color: #fff; }
.hero .lede { color: var(--on-dark-2); font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 40rem; margin-top: 1.3rem; }
.hero-inner { max-width: 760px; }
.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1.1rem; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--accent); margin-bottom: 1.4rem; letter-spacing: .01em; }
.badge svg { width: 15px; height: 15px; }
.hero .crumbs { margin-bottom: 1.2rem; }
.stats { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 4vw, 3.2rem); margin-top: clamp(2.2rem, 5vw, 3.6rem); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; color: var(--accent); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--on-dark-3); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chips li { padding: .38rem .9rem; border-radius: 999px; font-size: .82rem; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--on-dark-line); color: var(--on-dark-2); }
.section .chips li { background: var(--bg-soft); border-color: var(--line); color: var(--text-2); }
@keyframes heroZoom { to { transform: scale(1); } }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: var(--on-dark); overflow: hidden; }
.section--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(ellipse at 12% 0%, rgba(242, 181, 68, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 95% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 50%); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p, .section--dark li { color: var(--on-dark-2); }
.section--dark a:not(.btn) { color: #fff; }
.section--dark a:not(.btn):hover { color: var(--accent); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.8rem); }
.section-header.left { text-align: left; margin-left: 0; }
.tag { display: inline-block; padding: .35rem 1rem; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-ink); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.section--dark .tag, .hero .tag, .band .tag { color: var(--accent); }
.glow-line { width: 72px; height: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); margin: 1.2rem auto 0; }
.section-header.left .glow-line { margin-left: 0; }
.lede { font-size: 1.08rem; color: var(--text-2); margin-top: 1rem; }
.section--dark .lede { color: var(--on-dark-2); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.6vw, 1.9rem); box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
a.card { display: block; text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .96rem; }
.card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); display: grid; place-items: center; margin-bottom: 1rem; }
.card .icon svg { width: 24px; height: 24px; stroke: var(--accent-ink); }
.section--dark .card { background: rgba(255, 255, 255, 0.05); border-color: var(--on-dark-line); box-shadow: none; }
.section--dark .card:hover { border-color: var(--accent-line); box-shadow: 0 0 30px rgba(242, 181, 68, 0.1); }
.section--dark .card .icon svg { stroke: var(--accent); }
.card .more { display: inline-flex; gap: .35rem; margin-top: .9rem; font-weight: 600; font-family: var(--font-head); font-size: .9rem; color: var(--navy); }
.section--dark .card .more { color: var(--accent); }

/* ---------- house cards ---------- */
.homes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
.house-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); color: var(--text); }
.house-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.house-card .ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.house-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.house-card:hover .ph img { transform: scale(1.04); }
.house-card .pill { position: absolute; left: 1rem; top: 1rem; background: rgba(9, 24, 48, 0.82); color: #fff; padding: .35rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 600; backdrop-filter: blur(6px); }
.house-card .pill b { color: var(--accent); }
.house-card .body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.house-card h3 { color: var(--navy); }
.house-card .spec { font-size: .88rem; font-weight: 600; color: var(--accent-ink); font-family: var(--font-head); }
.house-card p { color: var(--text-2); font-size: .96rem; }
.house-card .near { display: flex; gap: .55rem; align-items: flex-start; background: var(--bg-soft); border-radius: 12px; padding: .7rem .9rem; font-size: .9rem; color: var(--text); }
.house-card .near svg { width: 18px; height: 18px; flex: none; margin-top: .2rem; stroke: var(--accent-ink); }
.house-card .btn-row { margin-top: auto; padding-top: .8rem; }
.house-card .btn { min-height: 44px; padding: .65rem 1.1rem; font-size: .9rem; }

/* ---------- photo band ---------- */
.band { position: relative; overflow: hidden; color: #fff; padding: clamp(5rem, 12vw, 9rem) 0; background: var(--ink); }
.band-bg { position: absolute; inset: 0; z-index: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(9, 24, 48, 0.93) 0%, rgba(9, 24, 48, 0.78) 50%, rgba(15, 35, 71, 0.5) 100%), radial-gradient(circle at 85% 30%, rgba(242, 181, 68, 0.18), transparent 55%); }
.band h2 { color: #fff; max-width: 18ch; }
.band p { color: var(--on-dark-2); max-width: 40rem; margin-top: 1rem; font-size: 1.06rem; }
.band .ticks { list-style: none; display: grid; gap: .55rem; margin-top: 1.4rem; }
.band .ticks li { display: flex; gap: .6rem; color: var(--on-dark-2); }
.band .ticks li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: .2rem; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2347' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.aside-card .ticks { list-style: none; display: grid; gap: .6rem; margin: .9rem 0 0; padding: 0; }
.aside-card .ticks li { display: flex; gap: .6rem; color: var(--text); }
.aside-card .ticks li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: .2rem; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2347' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- the walk-through (the one moment) ---------- */
.walk { position: relative; background: var(--ink); color: #fff; }
.walk-track { height: calc(var(--walk-steps, 6) * 85vh); position: relative; }
.walk-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.walk-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.walk-slide.on { opacity: 1; }
.walk-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 6s linear; }
.walk-slide.on img { transform: scale(1.02); }
.walk-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(9, 24, 48, 0.92) 0%, rgba(9, 24, 48, 0.25) 46%, rgba(9, 24, 48, 0.55) 100%); }
.walk-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(2rem, 7vh, 4.5rem); }
.walk-copy .tag { color: var(--accent); }
.walk-copy h2 { color: #fff; }
.walk-room { margin-top: .9rem; min-height: 4.6em; }
.walk-room p { position: absolute; max-width: 36rem; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .18s linear, transform .18s linear, visibility 0s .18s; color: var(--on-dark-2); }
.walk-room p.on { opacity: 1; visibility: visible; transform: none; position: relative; transition: opacity .55s var(--ease) .12s, transform .55s var(--ease) .12s, visibility 0s; }
.walk-room p strong { color: #fff; font-family: var(--font-head); display: block; font-size: 1.15rem; }
.walk-dots { display: flex; gap: .45rem; margin-top: 1.2rem; }
.walk-dots span { width: 26px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.25); transition: background .4s, width .4s var(--ease); }
.walk-dots span.on { background: var(--accent); width: 44px; }
.walk-switch { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--on-dark-line); margin-top: 1rem; }
.walk-switch a { color: #fff; text-decoration: none; font-size: .85rem; font-weight: 600; padding: .45rem 1rem; border-radius: 999px; }
.walk-switch a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.no-walk .walk-track { height: auto; }
.no-walk .walk-stage { position: relative; height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.no-walk .walk-slide { position: relative; opacity: 1; aspect-ratio: 4 / 3; }
.no-walk .walk-slide img { transform: none; }
.no-walk .walk-stage::after { display: none; }
.no-walk .walk-copy { position: relative; bottom: auto; padding: 2.5rem 0; background: var(--ink); }
.no-walk .walk-room p { position: relative; opacity: 1; visibility: visible; transform: none; margin-bottom: .8rem; }
.no-walk .walk-dots { display: none; }

/* ---------- availability (Lodgify) ---------- */
.avail { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.switch { display: flex; width: 100%; max-width: 460px; padding: .35rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); gap: .25rem; margin-top: 1.4rem; box-shadow: var(--shadow-card); }
.switch button { flex: 1; white-space: nowrap; border: 0; background: transparent; padding: .65rem 1.2rem; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--text-2); min-height: 44px; transition: background .25s var(--ease), color .25s; }
.switch button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(9, 24, 48, 0.2); }
.book-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(9, 24, 48, 0.12); padding: clamp(1.4rem, 3vw, 2.2rem); position: relative; }
.book-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--accent-line)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.book-card h3 { color: var(--navy); }
.book-card .book-meta { font-size: .9rem; color: var(--text-3); margin: .25rem 0 1.1rem; }
.book-card .lodgify-slot { min-height: 168px; }
.book-card .note { margin-top: 1rem; font-size: .88rem; color: var(--text-3); }
.included { list-style: none; display: grid; gap: .6rem; margin-top: 1.4rem; }
.included li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text-2); }
.included li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5a0e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid var(--accent-line); margin-top: .15rem; }
.section--dark .included li { color: var(--on-dark-2); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .2rem 1.2rem; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.reviews::-webkit-scrollbar { height: 6px; }
.reviews::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }
.review { scroll-snap-align: start; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--on-dark-line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.review svg { width: 30px; height: 30px; fill: var(--accent); opacity: .9; }
.review blockquote { color: #fff; font-size: 1.02rem; line-height: 1.6; }
.review figcaption { margin-top: auto; font-size: .88rem; color: var(--on-dark-3); }
.review figcaption b { color: #fff; font-family: var(--font-head); }
.section:not(.section--dark) .review { background: #fff; border-color: var(--line); box-shadow: var(--shadow-card); }
.section:not(.section--dark) .review blockquote { color: var(--text); }
.section:not(.section--dark) .review figcaption { color: var(--text-3); }
.section:not(.section--dark) .review figcaption b { color: var(--navy); }
.reviews--grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
.review-note { font-size: .82rem; color: var(--on-dark-3); margin-top: 1rem; }
.section:not(.section--dark) .review-note { color: var(--text-3); }

/* ---------- comparison table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--line); font-size: .95rem; }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; }
.compare thead th.us { background: var(--accent); color: var(--navy); }
.compare td.us { background: var(--accent-soft); font-weight: 600; color: var(--navy); }
.compare tr:last-child td { border-bottom: 0; }
.compare th[scope="row"] { font-weight: 600; color: var(--navy); background: var(--bg-soft); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
.evidence { font-size: .84rem; color: var(--text-3); margin-top: .9rem; }

/* ---------- lists & facts ---------- */
.dist { list-style: none; border-top: 1px solid var(--line); }
.dist li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.dist li span:last-child { font-weight: 600; color: var(--navy); white-space: nowrap; font-family: var(--font-head); font-size: .9rem; }
.section--dark .dist, .section--dark .dist li { border-color: var(--on-dark-line); }
.section--dark .dist li span:last-child { color: var(--accent); }
.note { font-size: .85rem; color: var(--text-3); margin-top: .9rem; }
.section--dark .note { color: var(--on-dark-3); }
.sources { font-size: .82rem; color: var(--text-3); margin-top: 1.6rem; padding-top: 1rem; border-top: 1px dashed var(--line-strong); overflow-wrap: anywhere; }
.prose p { margin-bottom: 1.1rem; font-size: 1.04rem; }
.prose h2 { margin: 2.2rem 0 .8rem; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.prose h3 { margin: 1.6rem 0 .6rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.2rem; color: var(--text-2); }
.prose li { margin-bottom: .4rem; }
.prose a { font-weight: 500; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 1.8rem 0; }
.section--dark .rule { border-color: var(--on-dark-line); }
aside .tag + h3 { margin-bottom: .6rem; }
.aside-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; position: sticky; top: calc(var(--head-h) + 1.2rem); }

/* ---------- area tiles & link chips ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; }
.tile { display: flex; flex-direction: column; gap: .2rem; padding: 1.05rem 1.15rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.tile strong { font-family: var(--font-head); color: var(--navy); font-weight: 600; }
.tile span { font-size: .85rem; color: var(--text-3); }
.tile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(9, 24, 48, 0.08); color: var(--text); }
.section--dark .tile { background: rgba(255, 255, 255, 0.05); border-color: var(--on-dark-line); }
.section--dark .tile strong { color: #fff; }
.section--dark .tile span { color: var(--on-dark-3); }
.links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.links a { display: inline-block; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-size: .88rem; color: var(--navy); background: #fff; transition: border-color .25s, background .25s; }
.links a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--navy); }
.section--dark .links a { background: transparent; color: #fff; border-color: var(--on-dark-line); }
.section--dark .links a:hover { border-color: var(--accent); color: #fff; }
.group-title { font-size: 1.05rem; margin: 2rem 0 .9rem; color: var(--navy); }
.group-title:first-child { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--accent-line); box-shadow: 0 10px 30px rgba(9, 24, 48, 0.06); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 1.2rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; }
.section--dark .faq details { background: rgba(255, 255, 255, 0.05); border-color: var(--on-dark-line); }
.section--dark .faq summary { color: #fff; }
.section--dark .faq summary::after { color: var(--accent); }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: var(--on-dark-3); }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: #fff; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); margin: auto; }
.lightbox::backdrop { background: rgba(9, 24, 48, 0.9); }
.lightbox img { max-height: 82vh; width: auto; border-radius: 12px; }
.lightbox p { color: #fff; text-align: center; margin-top: .7rem; font-size: .9rem; }
.lightbox button { position: fixed; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: var(--navy); font-size: 1.4rem; }

/* ---------- blog ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--text); }
.post-card .ph { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; }
.post-card .cat { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.post-card h3 { font-size: 1.08rem; color: var(--navy); }
.post-card p { font-size: .92rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--on-dark-3); font-size: .88rem; margin-top: 1rem; }
.article { font-size: 1.06rem; }
.article h2 { margin: 2.4rem 0 .9rem; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.article p { margin-bottom: 1.15rem; }
.article ul, .article ol { margin: 0 0 1.3rem 1.25rem; color: var(--text-2); }
.article li { margin-bottom: .45rem; }
.article .callout { background: var(--bg-soft); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.4rem; margin: 1.8rem 0; }
.article .callout p:last-child { margin-bottom: 0; }

/* ---------- enquiry form ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 24px 60px rgba(9, 24, 48, 0.12); border: 1px solid var(--line); color: var(--text); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; margin-bottom: 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-card label { display: flex; flex-direction: column; gap: .35rem; font-size: .86rem; font-weight: 600; color: var(--navy); }
.form-card input, .form-card select, .form-card textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 10px; padding: .75rem .85rem; min-height: 48px; transition: border-color .2s, background .2s, box-shadow .2s; width: 100%; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.form-card .btn { width: 100%; }
.form-card .small { margin-top: .9rem; color: var(--text-3); }
.form-card .muted { font-weight: 400; }
.hp { position: absolute !important; left: -9999px !important; }
.contact-list { list-style: none; display: grid; gap: .8rem; margin-top: 1.6rem; }
.contact-list a { display: inline-flex; gap: .6rem; align-items: center; text-decoration: none; font-weight: 600; }
.contact-list svg { width: 20px; height: 20px; stroke: var(--accent); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--on-dark-2); padding: clamp(3.5rem, 7vw, 5rem) 0 1.5rem; border-top: 3px solid var(--accent); position: relative; }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; box-shadow: 0 0 24px var(--accent-glow); pointer-events: none; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
.site-foot .brand { color: #fff; margin-bottom: 1rem; }
.site-foot .brand svg rect { fill: var(--navy-2); stroke: var(--accent-line); }
.site-foot h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-foot ul { list-style: none; display: grid; gap: .5rem; }
.site-foot a { color: var(--on-dark-2); text-decoration: none; font-size: .92rem; }
.site-foot a:hover { color: var(--accent); }
.site-foot p { color: var(--on-dark-3); font-size: .92rem; }
.legal { border-top: 1px solid var(--on-dark-line); margin-top: 2.6rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .82rem; }
.legal p { font-size: .82rem; color: var(--on-dark-3); max-width: 60rem; }

/* ---------- mobile quick bar ---------- */
.mobile-bar { display: none; }

/* ---------- reveal (JS adds .js to <html>; content is visible without it) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.no-walk [data-reveal] { transition: none; }
.no-walk .hero-bg img { animation: none; transform: none; }

/* ---------- responsive ---------- */
/* the full menu needs about 1,050px on one line, so it folds into the button below 1,180px */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; top: var(--head-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: .2rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(9, 24, 48, 0.12); transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; max-height: calc(100vh - var(--head-h)); overflow-y: auto; }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: .85rem 1rem; font-size: 1rem; }
  .nav .btn { margin: .6rem 0 0; }
}
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .split, .split--even, .avail { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside-card { position: static; }
}
@media (max-width: 720px) {
  .homes, .grid-2, .grid-3, .grid-4, .reviews--grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .stats { gap: 1.2rem 2rem; }
  .compare { font-size: .88rem; }
  .compare th, .compare td { padding: .8rem .75rem; }
  body { padding-bottom: 68px; }
  .dist li span:last-child { white-space: normal; text-align: right; max-width: 58%; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--navy); box-shadow: 0 -8px 24px rgba(9, 24, 48, 0.25); padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom)); gap: .5rem; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; border-radius: 10px; font-family: var(--font-head); font-weight: 600; text-decoration: none; color: #fff; border: 1px solid var(--on-dark-line); font-size: .95rem; }
  .mobile-bar a:last-child { background: var(--accent); border-color: var(--accent); color: var(--navy); }
  .mobile-bar svg { width: 18px; height: 18px; }
  .no-walk .walk-stage { grid-template-columns: 1fr 1fr; }
  .walk-copy { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .switch button { padding: .6rem .7rem; font-size: .86rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand span { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* four homes (17 October 2026) */
.house-card .pill--illus { left: auto; right: 1rem; background: rgba(255, 255, 255, 0.92); color: var(--navy); }
.homes-foot { text-align: center; margin-top: 1.4rem; }
.gallery a { position: relative; }
.gallery .illus { position: absolute; left: .5rem; bottom: .5rem; background: rgba(9, 24, 48, 0.82); color: #fff; font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; border-radius: 22px; }
.switch button { border-radius: 16px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.svc-grid .card h3 a { color: inherit; text-decoration: none; }
.svc-towns { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin-top: .6rem; font-size: .88rem; }
.svc-towns a { color: var(--accent-ink); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .switch button { padding: .65rem .5rem; font-size: .86rem; } }
.dist-table td, .dist-table th { white-space: nowrap; }
.dist-table tbody th { font-weight: 600; color: var(--navy); background: var(--bg-soft); white-space: normal; }
.dist-table td b { color: var(--accent-ink); }
@media (max-width: 600px) { .dist-table { font-size: .82rem; } .dist-table th, .dist-table td { padding: .65rem .6rem; } }

/* booking form on every page (17 October 2026) */
.book-dialog { border: 0; border-radius: 18px; padding: 1.4rem; width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 30px 80px rgba(9, 24, 48, .35); }
.book-dialog::backdrop { background: rgba(9, 24, 48, .55); }
.book-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.book-dialog-head h2 { margin: 0; font-size: 1.4rem; }
.book-dialog-close { border: 0; background: transparent; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--navy, #0f2347); padding: .2rem .5rem; }
.book-dialog-lede { margin: .4rem 0 1rem; color: #4a5568; }
.book-dialog .form-card { box-shadow: none; padding: 0; background: transparent; }
.pair-link { margin: .7rem 0 0; font-size: .92rem; }
.pair-link a { font-weight: 600; }
@media (max-width: 720px) { .book-dialog { padding: 1rem; } .nav .nav-book { margin-top: .6rem; } }

