/* =========================================================================
   Havenline Realty · SF-07-01 Real Estate Agents & Agencies (Softfire)
   Contents: 1 Tokens · 2 Base · 3 Buttons & labels · 4 Top bar & header
             5 Hero slider · 6 Value strip · 7 About · 8 Services
             9 Featured properties & filters · 10 Neighbourhoods · 11 Agents
             12 Why (viewing pack) · 13 Gallery · 14 Viewing process
             15 Client notes · 16 FAQs · 17 Final CTA · 18 Contact form
             19 Footer · 20 Lightbox · 21 Motion
   Edit the theme in section 1: colours, fonts, spacing, radius.
   Dark sections (navy) are listed under "Dark sections" in section 2.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
  /* Brand: navy, warm white, muted gold */
  --navy-950: #0B1526;
  --navy-900: #0E1A2E;
  --navy: #142640;
  --navy-700: #1F3657;
  --paper: #FAF7F1;          /* warm white page */
  --card: #FFFDF9;           /* card surface */
  --linen: #F2ECE1;          /* alternate light section */
  --sand: #E2D7C4;           /* hairlines on light */
  --sand-2: #CDBFA6;         /* input borders */
  --gold: #C9A66B;           /* accents, buttons on navy */
  --gold-soft: #DCC59A;      /* gold text on navy */
  --gold-deep: #7D5C28;      /* gold text on light (AA) */
  --ink: #16202F;            /* body text on light */
  --muted: #59616E;          /* secondary text on light */
  --on-navy: #F4EFE6;        /* text on navy */
  --on-navy-muted: #AEB8C8;  /* secondary text on navy */
  --line-navy: rgba(220, 197, 154, .22);
  --danger: #A3271B;
  --success: #1F6B45;

  /* Type */
  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: .78rem;
  --fs-sm: clamp(.88rem, .86rem + .1vw, .94rem);
  --fs-base: clamp(1rem, .97rem + .15vw, 1.075rem);
  --fs-lead: clamp(1.1rem, 1.03rem + .35vw, 1.28rem);
  --fs-h3: clamp(1.35rem, 1.2rem + .6vw, 1.7rem);
  --fs-h2: clamp(2.2rem, 1.6rem + 2.6vw, 3.9rem);
  --fs-h1: clamp(2.5rem, 1.7rem + 3.4vw, 4.6rem);

  /* Space & shape */
  --space-s: clamp(.9rem, .8rem + .5vw, 1.25rem);
  --space-m: clamp(1.25rem, 1rem + 1vw, 2rem);
  --space-l: clamp(2.25rem, 1.8rem + 2vw, 3.75rem);
  --space-xl: clamp(4.5rem, 3.4rem + 4.5vw, 8rem);
  --radius: 2px;
  --container: 1240px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(14, 26, 46, .06), 0 12px 32px -12px rgba(14, 26, 46, .18);
  --shadow-lg: 0 30px 60px -24px rgba(11, 21, 38, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-family: var(--font-serif); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; color: var(--navy); }
h1 em, h2 em { font-style: italic; color: var(--gold-deep); }
h1, h2 { text-wrap: balance; }
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--navy-900); }
.sprite { position: absolute; }
[hidden] { display: none !important; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 760px) { .container { width: min(100% - 4rem, var(--container)); } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .75rem 1.1rem; background: var(--navy); color: var(--paper); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.section { padding-block: var(--space-xl); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }
.muted { color: var(--muted); }

/* Dark sections */
.values, .hoods, .process, .final-cta, .site-footer { background: var(--navy); color: var(--on-navy); }
:is(.values, .hoods, .process, .final-cta, .site-footer) :is(h2, h3) { color: var(--on-navy); }
:is(.values, .hoods, .process, .final-cta, .site-footer) :is(h2 em, .label) { color: var(--gold-soft); }
:is(.values, .hoods, .process, .final-cta, .site-footer) :focus-visible { outline-color: var(--gold); }
:is(.values, .hoods, .process, .final-cta, .site-footer) .muted { color: var(--on-navy-muted); }

/* ---------- 3. Buttons & labels ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .8rem 1.5rem; border: 1px solid transparent; border-radius: var(--radius); font-weight: 600; font-size: .95rem; letter-spacing: .015em; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn-lg { min-height: 56px; padding: .95rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-navy { background: var(--navy); color: var(--paper); box-shadow: inset 0 -2px 0 var(--gold); }
.btn-navy:hover { background: var(--navy-700); box-shadow: inset 0 -4px 0 var(--gold); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--paper); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .35em; }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.label { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sample-tag { display: inline-block; max-width: 100%; padding: .2rem .55rem; border: 1px dashed var(--gold-deep); font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-deep); vertical-align: middle; line-height: 1.4; }
.sample-tag.light { border-color: var(--gold-soft); color: var(--gold-soft); }
.section-head { margin-bottom: var(--space-l); max-width: 52rem; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p:not(.label) { color: var(--muted); }
.section-head.split { max-width: none; display: grid; gap: 1.25rem var(--space-l); align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.25fr 1fr; } }
:is(.hoods, .process) .section-head p:not(.label) { color: var(--on-navy-muted); }

/* ---------- 4. Top bar & header ---------- */
.topbar { background: var(--navy-950); color: var(--on-navy-muted); font-size: .8rem; }
.topbar-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .3rem 1.5rem; padding-block: .5rem; }
.demo-pill { display: inline-block; margin-right: .5rem; padding: .05rem .5rem; border: 1px solid var(--gold); color: var(--gold-soft); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.topbar-meta { display: flex; gap: .6rem; }
.topbar-meta a { color: var(--on-navy); text-decoration: none; }
.topbar-meta a:hover { text-decoration: underline; }
.topbar :focus-visible { outline-color: var(--gold); }
@media (max-width: 760px) { .topbar-meta { display: none; } }

.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--sand); transition: box-shadow .25s, background-color .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(14, 26, 46, .35); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-size: 1.6rem; color: var(--navy); letter-spacing: .005em; }
.brand-sub { margin-top: .22rem; font-size: .62rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-deep); }
.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: .15rem; }
.nav-list a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; font-weight: 500; font-size: .95rem; text-decoration: none; color: var(--ink); transition: color .2s; }
.nav-list a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 8px; height: 1px; background: var(--gold-deep); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--navy); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.nav-list a[aria-current="true"] { font-weight: 700; }
.nav-cta, .menu-toggle { display: none; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: .7rem; min-height: 46px; padding: .4rem 1rem; border: 1px solid var(--sand-2); border-radius: var(--radius); background: var(--card); color: var(--navy); font-weight: 600; font-size: .9rem; cursor: pointer; order: 3; }
  .header-cta { order: 2; }
  .menu-icon { display: grid; gap: 6px; width: 20px; }
  .menu-icon span { height: 1.5px; background: var(--navy); transition: transform .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .js .site-nav { position: fixed; inset: calc(var(--header-top, 0px) + var(--header-h)) 0 auto 0; z-index: 55; flex-direction: column; align-items: stretch; gap: 1.5rem; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: .75rem max(1.25rem, calc((100vw - var(--container)) / 2)) 2rem; background: var(--paper); border-bottom: 1px solid var(--sand); box-shadow: 0 30px 40px -30px rgba(14, 26, 46, .4); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .22s var(--ease), visibility 0s .22s; }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s, transform .22s var(--ease); }
  .js .nav-list { flex-direction: column; }
  .js .nav-list a { width: 100%; min-height: 60px; padding: 0; font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400; color: var(--navy); border-bottom: 1px solid var(--sand); }
  .js .nav-list a::after { display: none; }
  .js .nav-list a[aria-current="true"] { color: var(--gold-deep); }
  .js .nav-cta { display: inline-flex; }
  .no-js .header-row { flex-wrap: wrap; padding-bottom: .6rem; }
  .no-js .site-nav { width: 100%; order: 4; }
  .no-js .nav-list { flex-wrap: wrap; }
  .no-js .menu-toggle { display: none; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  :root { --header-h: 68px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 1.4rem; }
  .brand-mark { width: 34px; height: 34px; }
  .menu-toggle { padding: .4rem .8rem; }
}

/* ---------- 5. Hero slider ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; min-height: clamp(600px, calc(100svh - var(--header-h) - 36px), 860px); padding-block: 6rem clamp(2rem, 4vh, 3rem); }
.slide-media, .slide-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide-img { object-fit: cover; object-position: var(--focus, 50% 50%); transform: scale(1.04); transition: transform 8s linear; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 21, 38, .55) 0%, rgba(11, 21, 38, .12) 55%, transparent 75%), linear-gradient(0deg, rgba(11, 21, 38, .45) 0%, transparent 45%); pointer-events: none; }
.slide-body { position: relative; z-index: 2; }
.slide-card { position: relative; max-width: 620px; padding: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem) clamp(1.5rem, 1rem + 1.8vw, 2.75rem) 6.25rem; background: var(--paper); border-top: 3px solid var(--gold); box-shadow: var(--shadow-lg); }
.slide-eyebrow { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.slide-eyebrow .num { font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; letter-spacing: 0; color: var(--navy); }
.slide-eyebrow .num::after { content: ""; display: inline-block; width: 26px; height: 1px; margin-left: .7rem; vertical-align: middle; background: var(--gold); }
.slide-title { font-size: var(--fs-h1); line-height: 1.02; max-width: 14ch; }
.slide-title em { font-style: italic; color: var(--gold-deep); }
.slide-text { max-width: 34rem; margin-top: 1.1rem; font-size: var(--fs-lead); color: var(--muted); }
.slide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.75rem; }
.js .slide { opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s .55s; }
.js .slide.is-active { opacity: 1; visibility: visible; transition: opacity .55s ease; }
.js .slide.is-active .slide-img { transform: scale(1); }
.no-js .slide:not(:first-child), .no-js .slider-dock { display: none; }

.slider-dock { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 4vh, 3rem); z-index: 3; pointer-events: none; }
.slider-ui { pointer-events: auto; display: flex; align-items: center; gap: 1.25rem; width: min(100%, 620px); padding: 1rem clamp(1.5rem, 1rem + 1.8vw, 2.75rem) 1.35rem; }
.slider-ui::before { content: ""; position: absolute; left: clamp(1.5rem, 1rem + 1.8vw, 2.75rem); right: clamp(1.5rem, 1rem + 1.8vw, 2.75rem); top: 0; height: 1px; background: var(--sand); }
.slider-ui { position: relative; }
.slide-count { font-family: var(--font-serif); font-size: 1rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slide-count span:first-child { font-size: 1.5rem; font-style: italic; color: var(--navy); }
.slide-count .sep { margin: 0 .25rem; }
.dots { display: flex; flex: 1; gap: .35rem; min-width: 60px; }
.dot { flex: 1; display: grid; align-items: center; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.dot span { position: relative; display: block; height: 2px; background: var(--sand); overflow: hidden; }
.dot:hover span { background: var(--sand-2); }
.dot[aria-current="true"] span::after { content: ""; position: absolute; inset: 0; background: var(--navy); }
.hero.is-playing .dot[aria-current="true"] span::after { background: var(--gold-deep); transform-origin: left; animation: fill var(--interval, 7000ms) linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-buttons { display: flex; gap: .4rem; }
.ctl-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--sand-2); border-radius: 50%; background: var(--card); color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.ctl-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.ctl-btn .i-play { display: none; }
.ctl-btn.is-paused .i-play { display: block; }
.ctl-btn.is-paused .i-pause { display: none; }
.photo-note { position: absolute; right: 1rem; top: 1rem; z-index: 3; padding: .25rem .6rem; background: rgba(11, 21, 38, .6); color: var(--on-navy); font-size: .7rem; letter-spacing: .06em; }

@media (max-width: 760px) {
  .hero { background: var(--paper); }
  .slide { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 0; }
  .slide-media { position: relative; display: block; height: clamp(250px, 46svh, 420px); flex: none; }
  .slide-media .slide-img { position: absolute; }
  .slide::before { bottom: auto; height: clamp(250px, 46svh, 420px); background: linear-gradient(0deg, rgba(11, 21, 38, .35), transparent 40%); }
  .slide-body { flex: 1; display: flex; margin-top: -2.5rem; }
  .slide-card { flex: 1; width: 100%; max-width: none; padding-bottom: 5.75rem; box-shadow: none; }
  .slide-actions .btn { flex: 1 1 100%; }
  .slider-dock { bottom: 0; }
  .slider-ui { width: 100%; gap: .75rem; padding-bottom: 1rem; }
  .slider-ui::before { left: 1.5rem; right: 1.5rem; }
  .photo-note { top: .75rem; right: .75rem; }
}
@media (max-width: 400px) { .slide-count { display: none; } }
@media (max-width: 520px) { .slide-eyebrow .num::after { display: none; } }
@media (max-height: 560px) and (orientation: landscape) and (min-width: 761px) {
  .slide { min-height: 560px; padding-top: 3rem; }
  .slide-title { font-size: clamp(2.2rem, 8vh, 3rem); }
  .slide-text { margin-top: .7rem; }
  .slide-actions { margin-top: 1.1rem; }
}

/* ---------- 6. Value strip ---------- */
.values { background: var(--navy); border-top: 1px solid var(--line-navy); }
.values-list { display: grid; grid-template-columns: 1fr; }
.values-list li { display: grid; gap: .35rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-navy); }
.values-list li:last-child { border-bottom: 0; }
@media (min-width: 640px) { .values-list { grid-template-columns: repeat(2, 1fr); } .values-list li { padding: 1.75rem 1.5rem 1.75rem 0; } .values-list li:nth-child(2n) { padding-left: 1.5rem; border-left: 1px solid var(--line-navy); } .values-list li:nth-child(3) { border-bottom: 0; } }
@media (min-width: 1024px) { .values-list { grid-template-columns: repeat(4, 1fr); } .values-list li { border-bottom: 0; padding: 2.25rem 1.5rem; } .values-list li:first-child { padding-left: 0; } .values-list li + li { border-left: 1px solid var(--line-navy); } }
.v-big { font-family: var(--font-serif); font-size: clamp(2rem, 1.6rem + 1.5vw, 2.8rem); line-height: 1; color: var(--gold-soft); }
.v-big em { font-size: .82em; }
.v-text { font-size: var(--fs-sm); color: var(--on-navy-muted); max-width: 24ch; }

/* ---------- 7. About ---------- */
.about-grid { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.08fr .92fr; column-gap: clamp(3rem, 6vw, 6.5rem); } }
.about-copy h2 { font-size: var(--fs-h2); max-width: 17ch; }
.about-copy .lead { margin-top: 1.5rem; }
.about-copy > p:not(.lead):not(.label) { margin-top: 1rem; color: var(--muted); max-width: 40rem; }
.about-points { margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid var(--sand); }
.about-points li { display: grid; grid-template-columns: 2.75rem 1fr; gap: .5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--sand); }
.ap-no { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--gold-deep); line-height: 1.3; }
.about-points h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.about-points p { margin-top: .2rem; color: var(--muted); font-size: var(--fs-sm); }
.about-media { margin-right: 18px; }
.about-frame { position: relative; isolation: isolate; }
.about-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
.about-media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 42% 50%; }
.about-media figcaption { display: flex; align-items: center; gap: .6rem; margin-top: 2rem; font-size: var(--fs-xs); color: var(--muted); }
.fc-line { width: 20px; height: 1px; background: var(--gold-deep); }
@media (max-width: 959px) { .about-media img { aspect-ratio: 4 / 3; } }

/* ---------- 8. Services ---------- */
.services { background: var(--linen); }
.services-grid { display: grid; gap: var(--space-l); }
@media (min-width: 960px) { .services-grid { grid-template-columns: .8fr 1.2fr; column-gap: clamp(3rem, 6vw, 6rem); align-items: start; } .services-head { position: sticky; top: calc(var(--header-h) + 2rem); } }
.services-head h2 { font-size: var(--fs-h2); max-width: 12ch; }
.services-head p:not(.label) { margin-top: 1.1rem; color: var(--muted); max-width: 26rem; }
.service-list { border-top: 1px solid var(--sand-2); }
.service { display: grid; grid-template-columns: 3.25rem 1fr; gap: .4rem 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--sand-2); transition: background-color .25s; }
.s-no { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--gold-deep); line-height: 1.35; }
.s-body h3 { font-size: var(--fs-h3); }
.s-body p { margin-top: .4rem; color: var(--muted); max-width: 34rem; }
.s-link { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .35em; }
.s-link svg { transition: transform .2s var(--ease); }
.s-link:hover svg { transform: translateX(4px); }
@media (min-width: 700px) {
  .service { grid-template-columns: 3.5rem 1fr auto; align-items: center; column-gap: 1.5rem; }
  .s-link { grid-column: 3; }
  .service:hover .s-body h3 { color: var(--navy-700); }
  .service:hover .s-no { color: var(--navy); }
}

/* ---------- 9. Featured properties & filters ---------- */
.sample-note { padding-left: 1rem; border-left: 2px solid var(--gold); font-size: var(--fs-sm); }
.sample-note strong { color: var(--navy); }
.filters { display: grid; gap: 1.1rem 1.5rem; margin-bottom: var(--space-m); padding: 1.25rem 1.5rem; background: var(--card); border: 1px solid var(--sand); box-shadow: var(--shadow); }
@media (min-width: 1180px) { .filters { grid-template-columns: auto minmax(10rem, 13rem) minmax(10rem, 13rem) 1fr; align-items: end; } }
@media (min-width: 900px) and (max-width: 1179px) { .filters { grid-template-columns: 1fr 1fr 1.2fr; align-items: end; } .filters fieldset { grid-column: 1 / -1; } }
@media (min-width: 600px) and (max-width: 899px) { .filters { grid-template-columns: 1fr 1fr; } .filters fieldset, .f-result { grid-column: 1 / -1; } }
.f-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.f-group legend, .f-group > label { display: block; margin-bottom: .45rem; padding: 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.f-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.f-chips label { position: relative; cursor: pointer; }
.f-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.f-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--sand-2); border-radius: 999px; font-size: .92rem; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.f-chips input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.f-chips input:checked + span::before { content: ""; width: 6px; height: 6px; margin-right: .5rem; border-radius: 50%; background: var(--gold); }
.f-chips input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.f-chips label:hover span { border-color: var(--navy); }
select, input[type="text"], input[type="date"], input[type="email"], textarea { width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1px solid var(--sand-2); border-radius: var(--radius); background: var(--card); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23142640' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
:is(select, input, textarea):hover { border-color: var(--navy-700); }
:is(select, input, textarea):focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201, 166, 107, .45); }
.f-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; min-height: 48px; }
@media (min-width: 900px) { .f-result { justify-content: flex-end; text-align: right; } }
.f-count { white-space: nowrap; }
@media (max-width: 360px) { .f-count { white-space: normal; } }
.f-count { font-weight: 600; color: var(--navy); }
.f-reset { min-height: 44px; padding: 0 .25rem; border: 0; background: none; font-weight: 600; font-size: .92rem; color: var(--gold-deep); text-decoration: underline; text-underline-offset: .3em; cursor: pointer; }
.f-reset:hover { color: var(--navy); }

.listings { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
@media (min-width: 700px) { .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.listing[hidden] { display: none; }
.listing article { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--sand); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.listing article:hover { box-shadow: var(--shadow); }
.l-media { position: relative; overflow: hidden; background: var(--linen); }
.l-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--ease); }
.listing article:hover .l-media img { transform: scale(1.035); }
.l-tag, .l-type { position: absolute; top: .9rem; padding: .3rem .65rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }
.l-tag { left: .9rem; background: var(--paper); color: var(--navy); border-left: 2px solid var(--gold); }
.l-type { right: .9rem; background: var(--navy); color: var(--gold-soft); }
.l-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.l-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .7rem; font-family: var(--font-serif); font-size: clamp(1.7rem, 1.5rem + .6vw, 2.1rem); line-height: 1.1; color: var(--navy); }
.l-guide { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.l-title { margin-top: .5rem; font-family: var(--font-sans); font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.l-addr { display: flex; align-items: flex-start; gap: .35rem; margin-top: .3rem; font-size: var(--fs-sm); color: var(--muted); }
.l-addr svg { flex: none; margin-top: .2rem; color: var(--gold-deep); }
.l-specs { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: 1.1rem; padding-block: .8rem; border-block: 1px solid var(--sand); font-size: var(--fs-sm); font-weight: 500; }
.l-specs li { display: inline-flex; align-items: center; gap: .4rem; }
.l-specs svg { color: var(--navy-700); }
.l-more { margin-top: .4rem; font-size: var(--fs-sm); }
.l-more summary { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.l-more summary::-webkit-details-marker { display: none; }
.l-more summary::after { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--sand-2); border-radius: 50%; font-size: .85rem; line-height: 1; color: var(--gold-deep); }
.l-more[open] summary::after { content: "−"; }
.l-rooms { display: grid; gap: 0; margin-bottom: .6rem; }
.l-rooms div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dotted var(--sand-2); }
.l-rooms dt { color: var(--muted); }
.l-rooms dd { font-weight: 600; text-align: right; }
.l-more p { color: var(--muted); font-size: var(--fs-xs); }
.l-body > .l-more { margin-bottom: 1rem; }
.l-cta { margin-top: auto; }

@media (min-width: 1100px) {
  .listings { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .listing { grid-column: span 5; }
  .listing.is-wide { grid-column: span 7; }
  .listing.is-full { grid-column: 1 / -1; }
  .listing .l-media img { aspect-ratio: auto; height: clamp(300px, 26vw, 360px); }
  .listing.is-wide .l-specs { gap: .4rem 2rem; }
  .listing.is-full article { display: grid; grid-template-columns: 1.6fr 1fr; }
  .listing.is-full .l-media { min-height: 380px; }
  .listing.is-full .l-media img { position: absolute; inset: 0; height: 100%; }
}

.empty { padding: var(--space-l) var(--space-m); text-align: center; background: var(--card); border: 1px dashed var(--sand-2); }
.empty-title { font-family: var(--font-serif); font-size: var(--fs-h3); color: var(--navy); }
.empty p:not(.empty-title) { margin: .5rem auto 1.25rem; max-width: 34rem; color: var(--muted); }

/* ---------- 10. Neighbourhoods ---------- */
.hoods { background: var(--navy); position: relative; }
.hood-wrap { display: grid; gap: var(--space-m); }
.hood-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: .25rem; }
.hood-tabs[hidden] { display: none; }
.hood-tabs [role="tab"] { flex: none; display: grid; align-content: center; gap: .1rem; min-height: 52px; padding: .6rem 1.1rem; border: 1px solid var(--line-navy); border-radius: var(--radius); background: transparent; color: var(--on-navy-muted); text-align: left; cursor: pointer; transition: color .2s, background-color .2s, border-color .2s; }
.hood-tabs [role="tab"]:hover { color: var(--on-navy); border-color: var(--gold); }
.hood-tabs [role="tab"][aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.ht-no { display: none; font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--gold-soft); }
.ht-name { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.2; }
.ht-sub { display: none; font-size: var(--fs-sm); }
@media (min-width: 960px) {
  .hood-wrap { grid-template-columns: minmax(16rem, .75fr) 2fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
  .hood-tabs { flex-direction: column; gap: 0; overflow: visible; border-top: 1px solid var(--line-navy); }
  .hood-tabs [role="tab"] { position: relative; grid-template-columns: 2.5rem 1fr; padding: 1.3rem 0; border: 0; border-bottom: 1px solid var(--line-navy); border-radius: 0; }
  .hood-tabs [role="tab"]:hover { background: transparent; }
  .hood-tabs [role="tab"][aria-selected="true"] { background: transparent; color: var(--on-navy); }
  .hood-tabs [role="tab"]::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .hood-tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
  .ht-no { display: block; grid-row: 1 / span 2; padding-top: .35rem; }
  .ht-name { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
  .ht-sub { display: block; color: var(--on-navy-muted); }
}
.hood-panels { display: grid; gap: var(--space-l); }
.hood[hidden] { display: none; }
.hood { position: relative; }
.hood > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hood-info { position: relative; margin: -3rem 1rem 0; padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); background: var(--paper); color: var(--ink); border-top: 3px solid var(--gold); box-shadow: var(--shadow-lg); }
.hood-info h3 { font-size: var(--fs-h3); color: var(--navy); }
.hood-info > p { margin-top: .6rem; color: var(--muted); max-width: 40rem; }
.hood-facts { display: grid; gap: .25rem 1.5rem; margin-top: 1.1rem; padding-block: .9rem; border-block: 1px solid var(--sand); }
@media (min-width: 640px) { .hood-facts { grid-template-columns: repeat(3, 1fr); } }
.hood-facts dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.hood-facts dd { font-size: var(--fs-sm); font-weight: 500; }
.hood-facts div { padding-block: .3rem; }
.hood-info .link-arrow { margin-top: .75rem; }
.hood-info :focus-visible { outline-color: var(--navy); }
@media (min-width: 960px) { .hood-info { margin: -7rem 0 0 2.5rem; max-width: 40rem; } }

/* ---------- 11. Agents ---------- */
.agents-grid { display: grid; gap: var(--space-l); }
@media (min-width: 1100px) { .agents-grid { grid-template-columns: .95fr 2.4fr; column-gap: clamp(2.5rem, 4vw, 4rem); align-items: start; } }
.agents-head h2 { font-size: var(--fs-h2); max-width: 11ch; }
@media (min-width: 1100px) { .agents-head h2 { font-size: clamp(2.4rem, 1.6rem + 1.6vw, 3.2rem); max-width: none; } }
.agents-head p:not(.label):not(.sample-tag) { margin-top: 1.1rem; color: var(--muted); max-width: 30rem; }
.agents-head .sample-tag { margin-top: 1.25rem; }
.agent-list { display: grid; gap: 1.5rem; }
.agent { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: .25rem 1.1rem; align-items: start; }
.agent-photo { grid-row: 1 / span 3; position: relative; overflow: hidden; background: var(--linen); }
.agent-photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(250, 247, 241, .7); pointer-events: none; }
.agent-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--focus, 50% 40%); filter: saturate(.92); }
.agent h3 { font-size: var(--fs-h3); align-self: end; }
.a-role { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.a-facts { margin-top: .5rem; font-size: var(--fs-sm); border-top: 1px solid var(--sand); }
.a-facts div { padding: .45rem 0; border-bottom: 1px solid var(--sand); }
.a-facts dt { font-size: var(--fs-xs); color: var(--muted); }
.a-facts dd { font-weight: 500; }
@media (min-width: 640px) {
  .agent-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
  .agent { grid-template-columns: 1fr; }
  .agent-photo { grid-row: auto; margin-bottom: 1rem; }
  .agent:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
  .agent:nth-child(3) { margin-top: clamp(.75rem, 2vw, 1.75rem); }
}

/* ---------- 12. Why (viewing pack) ---------- */
.why { background: var(--linen); overflow: hidden; }
.why-grid { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 6vw, 6rem); } }
.why-sheet { position: relative; padding: 0 0 4.5rem 0; }
.sheet { position: relative; z-index: 2; width: min(100%, 470px); padding: 1.25rem 1.4rem 1.4rem; background: var(--card); border: 1px solid var(--sand); box-shadow: var(--shadow-lg); color: var(--navy); }
.sheet-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; margin-bottom: 1rem; border-bottom: 1px solid var(--sand); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.plan { width: 100%; height: auto; color: var(--navy); }
.plan-labels text { font-family: var(--font-sans); font-size: 12px; font-weight: 600; fill: var(--navy); }
.plan-labels .dim { font-size: 10.5px; font-weight: 500; fill: var(--gold-deep); }
.sheet-list { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--sand); font-size: .82rem; color: var(--ink); }
.sheet-list li { display: flex; align-items: flex-start; gap: .4rem; }
.sheet-list svg { flex: none; margin-top: .2rem; color: var(--gold-deep); }
.sheet-photo { position: absolute; z-index: 1; right: 0; bottom: 0; width: 62%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.why-copy h2 { font-size: var(--fs-h2); max-width: 14ch; }
.why-list { margin-top: 1.75rem; counter-reset: why; }
.why-list li { position: relative; padding: 1.15rem 0 1.15rem 3.5rem; border-top: 1px solid var(--sand-2); counter-increment: why; }
.why-list li:last-child { border-bottom: 1px solid var(--sand-2); }
.why-list li::before { content: counter(why, decimal-leading-zero); position: absolute; left: 0; top: 1.05rem; font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--gold-deep); }
.why-list h3 { font-family: var(--font-sans); font-size: 1.08rem; font-weight: 700; line-height: 1.4; }
.why-list p { margin-top: .25rem; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 520px) { .sheet-list { grid-template-columns: 1fr; } .sheet-photo { width: 70%; } }
@media (max-width: 959px) { .why-sheet { order: 2; } }

/* ---------- 13. Gallery ---------- */
.g-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.g-grid li { min-width: 0; }
.g-a, .g-f { grid-column: span 2; }
.g-grid a { position: relative; display: block; height: 100%; overflow: hidden; background: var(--linen); }
.g-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.g-a img, .g-f img { aspect-ratio: 16 / 10; }
.g-f img { object-position: 25% 50%; }
.g-grid a:hover img { transform: scale(1.04); }
.g-cap { position: absolute; left: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .7rem; background: var(--paper); color: var(--navy); font-size: .82rem; font-weight: 600; }
.g-cap svg { color: var(--gold-deep); }
@media (min-width: 900px) {
  .g-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 16vw, 240px); gap: 1rem; }
  .g-grid img, .g-a img, .g-f img { aspect-ratio: auto; }
  .g-a { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .g-b { grid-column: 3; grid-row: 1; }
  .g-c { grid-column: 4; grid-row: 1; }
  .g-d { grid-column: 3 / span 2; grid-row: 2; }
  .g-e { grid-column: 1; grid-row: 3; }
  .g-f { grid-column: 2 / span 3; grid-row: 3; }
}

/* ---------- 14. Viewing process ---------- */
.process { background: var(--navy-900); }
.steps { display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 2rem 4.5rem; }
.steps li::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line-navy); }
.steps li:last-child::after { display: none; }
.st-no { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; color: var(--gold-soft); }
.steps h3 { padding-top: .6rem; font-size: var(--fs-h3); }
.steps p { margin-top: .4rem; color: var(--on-navy-muted); max-width: 28rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .steps li { padding: 5rem 0 0; }
  .steps li::after { left: 72px; right: -1.5rem; top: 28px; bottom: auto; width: auto; height: 1px; }
  .steps h3 { padding-top: 0; }
}
.process-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid var(--line-navy); }
.office { color: var(--on-navy-muted); font-size: var(--fs-sm); scroll-margin-top: calc(var(--header-h) + 6rem); }
.office-label { display: inline-flex; align-items: center; gap: .6rem; margin-right: .6rem; font-weight: 700; color: var(--on-navy); }

/* ---------- 15. Client notes ---------- */
.notes-grid { display: grid; gap: var(--space-l); }
@media (min-width: 960px) { .notes-grid { grid-template-columns: .9fr 1.4fr 1fr; column-gap: clamp(2rem, 4vw, 4rem); align-items: start; } }
.notes-head h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); max-width: 12ch; }
.notes-head .sample-tag { margin-top: 1.25rem; }
.quote blockquote p { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.4; color: var(--navy); }
.quote figcaption { margin-top: 1rem; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.quote figcaption::before { content: "— "; color: var(--gold-deep); }
.q-main { position: relative; padding-top: 2.75rem; }
.q-main::before { content: "“"; position: absolute; top: -1.25rem; left: -.25rem; font-family: var(--font-serif); font-size: 6rem; line-height: 1; color: var(--gold); }
.q-main blockquote p { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem); line-height: 1.3; }
.quote:not(.q-main) { padding-left: 1.5rem; border-left: 1px solid var(--gold); }
@media (min-width: 960px) { .quote:not(.q-main) { margin-top: 2.75rem; } }

/* ---------- 16. FAQs ---------- */
.faqs { background: var(--linen); }
.faqs-grid { display: grid; gap: var(--space-l); }
@media (min-width: 960px) { .faqs-grid { grid-template-columns: .85fr 1.5fr; column-gap: clamp(3rem, 6vw, 6rem); align-items: start; } .faqs-head { position: sticky; top: calc(var(--header-h) + 2rem); } }
.faqs-head h2 { font-size: var(--fs-h2); max-width: 11ch; }
.faqs-head p:not(.label) { margin-top: 1rem; color: var(--muted); }
.faq-list { border-top: 1px solid var(--sand-2); }
.faq { border-bottom: 1px solid var(--sand-2); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 1.1rem 3rem 1.1rem 0; font-family: var(--font-serif); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.3; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; border: 1px solid var(--sand-2); border-radius: 50%; font-family: var(--font-sans); font-size: 1.1rem; color: var(--gold-deep); transition: background-color .2s, color .2s; }
.faq[open] summary::after { content: "−"; background: var(--navy); border-color: var(--navy); color: var(--paper); }
.faq summary:hover { color: var(--navy-700); }
.faq-body { padding: 0 3rem 1.4rem 0; color: var(--muted); }
.faq-body a { color: var(--navy); font-weight: 600; text-decoration-color: var(--gold); }

/* ---------- 17. Final CTA ---------- */
.final-cta { background: var(--navy); padding-block: var(--space-xl); overflow: hidden; }
.cta-grid { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 1.1fr 1fr; column-gap: clamp(3rem, 6vw, 6rem); } }
.cta-copy h2 { font-size: var(--fs-h2); max-width: 14ch; }
.cta-copy p:not(.label) { margin: 1.1rem 0 1.9rem; max-width: 32rem; color: var(--on-navy-muted); font-size: var(--fs-lead); }
.cta-media { position: relative; }
.cta-media::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid var(--gold); }
.cta-media img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 30% 50%; }
@media (max-width: 899px) { .cta-media { margin: 1rem 0 0 1rem; } .cta-media img { aspect-ratio: 16 / 10; } }

/* ---------- 18. Contact form ---------- */
.contact-grid { display: grid; gap: var(--space-l); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; column-gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.contact-info h2 { font-size: var(--fs-h2); max-width: 11ch; }
.contact-info .lead { margin-top: 1.25rem; color: var(--muted); }
.info { margin-top: 2rem; border-top: 1px solid var(--sand); }
.info div { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--sand); }
@media (min-width: 520px) { .info div { grid-template-columns: 9rem 1fr; gap: 1rem; } }
.info dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); padding-top: .2rem; }
.info dd .sample-tag { margin-top: .35rem; }
.view-form { position: relative; display: grid; gap: 1.1rem; padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); background: var(--card); border: 1px solid var(--sand); border-top: 3px solid var(--gold); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); }
.demo-banner { padding: .75rem 1rem; background: var(--linen); border-left: 2px solid var(--gold-deep); font-size: var(--fs-sm); }
.field { display: grid; gap: .4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 600; font-size: .95rem; color: var(--navy); }
.req, .opt { margin-left: .4rem; padding: .05rem .4rem; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.req { background: var(--navy); color: var(--paper); }
.opt { color: var(--muted); border: 1px solid var(--sand-2); }
textarea { min-height: 96px; resize: vertical; }
input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.hint { font-size: var(--fs-xs); color: var(--muted); }
.error { font-size: var(--fs-sm); font-weight: 600; color: var(--danger); }
.error::before { content: "! "; }
.picked { font-size: var(--fs-sm); font-weight: 600; color: var(--success); }
.picked:empty { display: none; }
.field.is-flash select { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 4px rgba(201, 166, 107, .7); border-color: var(--gold-deep); } 100% { box-shadow: 0 0 0 0 rgba(201, 166, 107, 0); } }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(250, 247, 241, .35); border-top-color: var(--paper); border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading { cursor: progress; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { padding: .9rem 1rem; font-weight: 600; border-left: 3px solid; }
.form-status.is-demo { background: #F5EEDD; border-color: var(--gold-deep); color: var(--navy); }
.form-status.is-error { background: #F9E9E6; border-color: var(--danger); color: var(--danger); }
.form-status.is-success { background: #E5F1EA; border-color: var(--success); color: var(--success); }
.fine { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- 19. Footer ---------- */
.site-footer { background: var(--navy-950); padding-top: var(--space-l); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-bottom: var(--space-m); border-bottom: 1px solid var(--line-navy); }
.footer-big { font-family: var(--font-serif); font-size: clamp(2.4rem, 1.6rem + 3.5vw, 4.5rem); line-height: 1; color: var(--on-navy); }
.footer-big em { color: var(--gold-soft); }
.footer-grid { display: grid; gap: 2rem; padding-block: var(--space-l); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-about { color: var(--on-navy-muted); max-width: 26rem; }
.footer-col h2 { margin-bottom: .9rem; font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.footer-col ul { display: grid; gap: .1rem; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-navy); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.footer-col p { color: var(--on-navy); }
.legal { border-bottom: 1px solid var(--line-navy); }
.legal summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--on-navy); }
.legal p { padding-bottom: .9rem; font-size: var(--fs-sm); color: var(--on-navy-muted); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--line-navy); font-size: var(--fs-sm); color: var(--on-navy-muted); }
.footer-base a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -.75rem; color: var(--on-navy); }

/* ---------- 20. Lightbox ---------- */
.lightbox { width: min(100% - 1.5rem, 1100px); max-width: none; max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; color: var(--on-navy); }
.lightbox::backdrop { background: rgba(11, 21, 38, .94); }
.lightbox[open] { animation: lb-in .3s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.98); } }
.lb-figure { margin: 0; }
.lb-figure img { width: 100%; max-height: 76vh; object-fit: contain; background: var(--navy-900); }
.lb-figure figcaption { margin-top: .9rem; text-align: center; font-family: var(--font-serif); font-size: 1.2rem; }
.lb-close { position: absolute; top: -3.4rem; right: 0; }
.lb-prev, .lb-next { position: absolute; top: calc(38vh - 22px); }
.lb-prev { left: .75rem; }
.lb-next { right: .75rem; }
.lb-count { margin-top: .3rem; text-align: center; font-size: .8rem; color: var(--on-navy-muted); }
body.lb-open { overflow: hidden; }

/* ---------- 21. Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .slide-img, .js .slide.is-active .slide-img { transform: none; }
}
