/* ============================================================
   Sygale.com — design system
   Tokens first. Swapping the :root block re-skins the whole site
   for another agent. See docs/design-system.md
   ============================================================ */

:root{
  /* palette */
  --ink:#0E1317;
  --ink-soft:#161E26;
  --gold:#B08E52;
  --gold-lt:#CDB182;
  --bone:#F7F4EE;
  --paper:#FCFAF7;
  --stone:#58524B;
  --rule:rgba(176,142,82,.38);

  /* type */
  --serif:"Cormorant Garamond",Georgia,serif;
  --sans:"Jost",system-ui,-apple-system,sans-serif;

  /* motion */
  --ease:cubic-bezier(.2,.7,.3,1);

  /* layout */
  --shell:min(1240px, 100% - 3rem);
  --shell-narrow:min(760px, 100% - 3rem);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-weight:400;font-size:clamp(16.5px,.6vw + 14.9px,18.5px);
  line-height:1.75;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}

/* ---------- primitives ---------- */
.shell{width:var(--shell);margin-inline:auto}
.shell--narrow{width:var(--shell-narrow);margin-inline:auto}
.eyebrow{
  font-size:.74rem;letter-spacing:.3em;text-transform:uppercase;
  font-weight:400;color:var(--gold);margin:0 0 1.5rem;
}
.eyebrow.on-dark{color:var(--gold-lt)}
h1,h2{font-family:var(--serif);font-weight:300;line-height:1.12;margin:0;letter-spacing:.005em}
h3{font-family:var(--serif);font-weight:500;line-height:1.18;margin:0;letter-spacing:.004em}
/* No orphans. `balance` evens the line lengths of a heading so it never drops a
   single short word onto its own line ("...love about / it"). Applied to every
   heading rather than case by case — a one-word last line is always wrong at
   this type size. Unsupported browsers simply wrap as before. */
h1,h2,h3,.lede,blockquote p,figcaption{text-wrap:balance}
/* Body copy: `pretty` is the lighter-touch version — it only prevents the last
   line being a lone word, without rebalancing the whole block. */
p,li,dd{text-wrap:pretty}
h2{font-size:clamp(2.15rem,3.6vw,3.35rem)}
h3{font-size:clamp(1.45rem,1.85vw,1.8rem)}
p{margin:0 0 1.35em}
.lede{font-family:var(--serif);font-size:clamp(1.4rem,2vw,1.9rem);line-height:1.48;color:#232A31}
.rule{width:56px;height:1px;background:var(--gold);border:0;margin:0 0 2rem}

.btn{
  display:inline-block;font-family:var(--sans);font-size:.72rem;letter-spacing:.24em;
  text-transform:uppercase;text-decoration:none;padding:1.15em 2.6em;
  border:1px solid var(--gold);color:var(--ink);background:transparent;
  transition:background .45s ease,color .45s ease;
}
.btn:hover{background:var(--gold);color:#fff}
.btn--light{color:#fff;border-color:rgba(255,255,255,.55)}
.btn--light:hover{background:#fff;color:var(--ink);border-color:#fff}
.btn--solid{background:var(--gold);color:#fff}
.btn--solid:hover{background:var(--ink);border-color:var(--ink)}

section{padding:clamp(5rem,10vw,9rem) 0}
.sect--bone{background:var(--bone)}
.sect--ink{background:var(--ink);color:var(--bone)}
.sect--ink h2,.sect--ink h3{color:#fff}
.sect--ink p{color:rgba(247,244,238,.72)}

/* ---------- header ---------- */
.hdr{position:fixed;inset:0 0 auto;z-index:50;padding:1.5rem 0;transition:background .5s ease,padding .5s ease,box-shadow .5s ease}
.hdr.stuck{background:rgba(252,250,247,.94);backdrop-filter:blur(14px);padding:.85rem 0;box-shadow:0 1px 0 rgba(0,0,0,.06)}
.hdr--solid{position:sticky;background:rgba(252,250,247,.94);backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(0,0,0,.06);padding:.85rem 0}
.hdr__in{display:flex;align-items:center;justify-content:space-between;gap:2rem}
/* Cormorant is a high-contrast serif: at small sizes and light weights its
   hairlines break up on screen. The wordmark needs size AND weight. */
.brand{
  font-family:var(--serif);font-size:1.85rem;font-weight:500;
  letter-spacing:.15em;text-transform:uppercase;color:#fff;
  text-decoration:none;line-height:1;transition:color .5s;white-space:nowrap;
}
.brand small{
  display:block;font-family:var(--sans);font-size:.58rem;font-weight:400;
  letter-spacing:.3em;margin-top:.6rem;opacity:.85;
}
@media(max-width:759px){
  .brand{font-size:1.25rem;letter-spacing:.12em}
  .brand small{font-size:.5rem;letter-spacing:.2em;margin-top:.45rem}
}
.hdr.stuck .brand,.hdr--solid .brand{color:var(--ink)}
.nav{display:flex;gap:2.3rem;align-items:center}
.nav a{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;text-decoration:none;color:rgba(255,255,255,.88);padding-bottom:3px;border-bottom:1px solid transparent;transition:color .4s,border-color .4s}
.nav a:hover{border-color:var(--gold-lt)}
.hdr.stuck .nav a,.hdr--solid .nav a{color:var(--stone)}
.hdr.stuck .nav a:hover,.hdr--solid .nav a:hover{color:var(--ink);border-color:var(--gold)}
.nav a.nav__cta{border:1px solid rgba(255,255,255,.5);padding:.8em 1.7em}
.hdr.stuck .nav a.nav__cta,.hdr--solid .nav a.nav__cta{border-color:var(--gold)}
/* ---- mobile menu: CSS-only disclosure, works with JS off ---- */
.u-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.nav__cb{position:absolute;width:1px;height:1px;opacity:0}
.nav__btn{display:none}

@media(max-width:1079px){   /* nav collapses here: 5 links + phone CTA stop fitting below ~1080px */
  /* CRITICAL: backdrop-filter makes an element a containing block for
     position:fixed descendants. With it on, the scrolled header trapped the
     full-screen .nav overlay inside the ~144px header box — the menu links
     floated over the page with no background behind them. The stuck header is
     already 94% opaque, so the blur adds almost nothing here. Dropping it on
     mobile is the robust fix: no :has() support needed. Desktop keeps its blur. */
  .hdr.stuck,.hdr--solid{backdrop-filter:none;-webkit-backdrop-filter:none}
  .brand,.nav__btn{position:relative;z-index:2}
  .nav__btn{
    display:flex;flex-direction:column;justify-content:center;align-items:flex-end;
    gap:6px;width:44px;height:44px;cursor:pointer;flex:0 0 auto;margin-left:auto;
  }
  .nav__btn span[aria-hidden]{
    display:block;width:26px;height:1px;background:rgba(255,255,255,.9);
    transition:transform .4s var(--ease),opacity .3s;
  }
  .hdr.stuck .nav__btn span[aria-hidden],
  .hdr--solid .nav__btn span[aria-hidden]{background:var(--ink)}
  .nav__cb:focus-visible ~ .hdr__in .nav__btn{outline:2px solid var(--gold);outline-offset:6px}

  .nav{
    position:fixed;inset:0;z-index:1;background:var(--ink);
    flex-direction:column;justify-content:center;align-items:center;gap:1.7rem;
    padding:6rem 1.5rem 3rem;
    opacity:0;visibility:hidden;
    transition:opacity .45s var(--ease),visibility .45s;
  }
  .nav a,
  .hdr.stuck .nav a,
  .hdr--solid .nav a{color:rgba(255,255,255,.9);font-size:.92rem}
  .nav a.nav__cta,
  .hdr.stuck .nav a.nav__cta,
  .hdr--solid .nav a.nav__cta{margin-top:.8rem;border-color:rgba(255,255,255,.5)}

  /* open state */
  .nav__cb:checked ~ .hdr__in .nav{opacity:1;visibility:visible}
  .nav__cb:checked ~ .hdr__in .brand{color:#fff}
  .nav__cb:checked ~ .hdr__in .nav__btn span[aria-hidden]{background:rgba(255,255,255,.9)}
  .nav__cb:checked ~ .hdr__in .nav__btn span[aria-hidden]:nth-child(1){transform:translateY(3.5px) rotate(45deg)}
  .nav__cb:checked ~ .hdr__in .nav__btn span[aria-hidden]:nth-child(2){transform:translateY(-3.5px) rotate(-45deg)}
}

/* lock background scroll while the menu is open */
html:has(.nav__cb:checked){overflow:hidden}

/* ---- back to top ----
   href="#top" is spec-defined to scroll to the document start even with no
   element of that id, and html{scroll-behavior:smooth} animates it — so the
   button works with JS off. JS only adds the hide-until-scrolled behaviour,
   hence the safe default: VISIBLE, and .js opts into hiding. Never the
   reverse (see the .rv opacity:0 mistake this project already made once). */
.totop{
  position:fixed;right:1.3rem;bottom:1.3rem;z-index:40;
  width:46px;height:46px;display:grid;place-items:center;
  border:1px solid var(--rule);border-radius:50%;
  background:rgba(252,250,247,.94);text-decoration:none;
  transition:opacity .4s var(--ease),transform .4s var(--ease),background .35s,border-color .35s;
}
.totop span{
  width:9px;height:9px;display:block;
  border-left:1px solid var(--ink);border-top:1px solid var(--ink);
  transform:rotate(45deg) translate(1.5px,1.5px);
  transition:border-color .35s;
}
.totop:hover{background:var(--ink);border-color:var(--ink)}
.totop:hover span{border-color:#fff}
.totop:focus-visible{outline:2px solid var(--gold);outline-offset:4px}

/* with JS: stay out of the way until the reader is actually deep in the page */
.js .totop{opacity:0;pointer-events:none;transform:translateY(10px)}
.js .totop.is-on{opacity:1;pointer-events:auto;transform:none}

/* never float above the open mobile menu */
html:has(.nav__cb:checked) .totop{opacity:0;pointer-events:none}

@media(max-width:759px){.totop{right:1rem;bottom:1rem;width:42px;height:42px}}

@media(prefers-reduced-motion:reduce){
  .nav,.nav__btn span[aria-hidden]{transition:none}
}

/* ---------- hero ---------- */
/* Content sits in the upper-middle, on the sky, rather than anchored to the
   bottom — on a tall desktop a bottom anchor strands the copy over the
   foreground and leaves the whole sky empty. */
.hero{position:relative;min-height:100svh;display:grid;align-items:center;overflow:hidden}
.hero--short{min-height:62svh}
/* Taller than the hero and anchored to the top, so the frame crops from the
   BOTTOM — losing foreground sand, keeping sky, house and some surf. */
.hero__img{
  position:absolute;top:0;left:0;width:100%;height:127%;
  object-fit:cover;object-position:center top;
}
.hero::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(to bottom,rgba(8,14,20,.58) 0%,rgba(8,14,20,0) 24%),
    linear-gradient(to top,rgba(8,14,20,.90) 0%,rgba(8,14,20,.62) 22%,rgba(8,14,20,.22) 46%,rgba(8,14,20,0) 66%),
    linear-gradient(to right,rgba(8,14,20,.58) 0%,rgba(8,14,20,.24) 42%,rgba(8,14,20,0) 70%);
}
/* Area heroes use photographs already cropped to ~2.5:1. The bottom-crop
   trick below is for the tall 4:3 homepage frame — applied here it would
   throw away the framing. Show these as composed. */
.hero--short .hero__img{height:100%;object-position:center}
@media(max-width:759px){
  /* a 2.5:1 panorama in a portrait band crops hard from the sides;
     a shallower band keeps more of the picture visible */
  .hero--short{min-height:46svh}
  .hero--short .hero__img{height:100%;object-position:center}
}

/* short hero crops to a brighter band of sky — the nav needs a deeper scrim */
.hero--short::after{
  background:
    linear-gradient(to bottom,rgba(8,14,20,.74) 0%,rgba(8,14,20,.30) 26%,rgba(8,14,20,0) 48%),
    linear-gradient(to top,rgba(8,14,20,.88) 0%,rgba(8,14,20,.50) 28%,rgba(8,14,20,0) 62%),
    linear-gradient(to right,rgba(8,14,20,.55) 0%,rgba(8,14,20,.20) 44%,rgba(8,14,20,0) 72%);
}
/* padding-top gives the bottom-aligned content a floor: in a short viewport
   (landscape phone, small window) it would otherwise ride up under the header */
/* padding-top clears the fixed header when the viewport is short; the extra
   bottom padding biases the centred block slightly upward, into the sky */
.hero__in{position:relative;z-index:2;padding-top:7rem;padding-bottom:clamp(8rem,28vh,22rem)}
.hero h1{color:#fff;font-size:clamp(2.9rem,7vw,6rem);max-width:15ch;text-shadow:0 2px 40px rgba(0,0,0,.4)}
.hero--short h1{font-size:clamp(2.6rem,5.5vw,4.4rem);max-width:none}
/* Area heroes are a single place name. The 15ch cap above is for the home
   page sentence headline; here it stranded "Sea" on its own line, since the
   only break opportunity in "Carmel-by-the-Sea" is a hyphen. balance is the
   fallback if a name ever does need two lines. */
.hero h1 em{font-style:italic;color:var(--gold-lt)}
.hero p{color:rgba(255,255,255,.9);max-width:70ch;margin:1.7rem 0 2.3rem;font-size:1.02rem}
.hero__actions{display:flex;gap:1rem;flex-wrap:wrap}
.hero__credit{position:absolute;right:1.5rem;bottom:1.4rem;z-index:2;font-size:.58rem;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.45)}
.scroll-cue{position:absolute;left:50%;bottom:2rem;translate:-50% 0;z-index:2;width:1px;height:54px;background:linear-gradient(to bottom,transparent,rgba(255,255,255,.7));animation:cue 2.6s ease-in-out infinite}
@keyframes cue{0%,100%{opacity:.25;height:40px}50%{opacity:.9;height:60px}}
.nowrap-md{white-space:normal}
@media(min-width:760px){.nowrap-md{white-space:nowrap}}
@media(max-width:759px){
  /* portrait screens crop a landscape photo hard from the sides — bias the
     crop left so the house stays in frame instead of falling off the edge */
  .hero__img{object-position:30% top;height:120%}
  .hero__credit,.scroll-cue{display:none}
  .hero h1{font-size:clamp(2.6rem,11vw,3.4rem)}
  .hero__actions{flex-direction:column;align-items:stretch}
  .hero__actions .btn{text-align:center}
  .hero__in{padding-bottom:3.5rem}
}

/* ---------- two-column ---------- */
.split{display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(2.5rem,6vw,6rem);align-items:start}
.split--center{align-items:center}
.split--media{grid-template-columns:1.15fr 1fr}
.split--portrait{grid-template-columns:.85fr 1.15fr}
@media(max-width:860px){.split,.split--media,.split--portrait{grid-template-columns:1fr}}

/* ---------- pillars ---------- */
.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(2rem,4.5vw,4.5rem)}
@media(max-width:860px){.pillars{grid-template-columns:1fr;gap:3rem}}
.pillar{border-top:1px solid var(--rule);padding-top:1.9rem}
.pillar__n{font-family:var(--serif);font-size:1.05rem;color:var(--gold);letter-spacing:.1em;display:block;margin-bottom:1.1rem}
.pillar h3{margin-bottom:.9rem}
.pillar p{color:var(--stone);margin:0}

/* ---------- media ---------- */
.media{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--ink-soft)}
.media img{width:100%;height:100%;object-fit:cover;transition:scale 1.2s cubic-bezier(.2,.7,.3,1)}
.media:hover img{scale:1.04}
.spec{display:flex;gap:2.2rem;margin:2rem 0 2.4rem;padding-top:1.6rem;border-top:1px solid rgba(205,177,130,.28);flex-wrap:wrap}
.spec div{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-lt)}
.spec strong{display:block;font-family:var(--serif);font-size:1.6rem;letter-spacing:0;text-transform:none;color:#fff;font-weight:300;margin-top:.35rem}

/* ---------- portrait (graceful placeholder) ---------- */
.portrait{
  position:relative;aspect-ratio:4/5;overflow:hidden;
  background:linear-gradient(160deg,#20272E,#0E1317);
  border:1px solid rgba(176,142,82,.3);
  display:grid;place-items:center;text-align:center;
}
.portrait__ph{padding:2rem;color:var(--gold-lt);font-size:.66rem;letter-spacing:.24em;text-transform:uppercase;margin:0;line-height:2}
.portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}

/* ---------- property cards ---------- */
/* real gaps, not the 1px-background trick: an odd item count leaves a
   trailing empty cell, and a gap is invisible where a background is not */
.sales{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(1.6rem,3.4vw,3rem);margin-top:2.8rem}
@media(max-width:620px){.sales{grid-template-columns:1fr}}
.sale{display:flex;flex-direction:column}
.sale__ph{position:relative;aspect-ratio:3/2;overflow:hidden;background:var(--ink-soft)}
.sale__ph img{width:100%;height:100%;object-fit:cover;transition:scale 1.1s cubic-bezier(.2,.7,.3,1)}
.sale:hover .sale__ph img{scale:1.04}
.sale__status{
  position:absolute;top:0;left:0;z-index:2;
  background:var(--ink);color:var(--gold-lt);
  font-size:.58rem;letter-spacing:.24em;text-transform:uppercase;padding:.55em 1.1em;
}
.sale__status--active{background:var(--gold);color:#fff}
.sale__addr{font-family:var(--serif);font-size:1.22rem;line-height:1.25;margin:1.1rem 0 .2rem}
.sale__city{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--stone);margin:0}
.sale__specs{
  margin:.9rem 0 0;padding-top:.8rem;border-top:1px solid var(--rule);
  display:flex;justify-content:space-between;align-items:baseline;gap:1rem;flex-wrap:wrap;
}
.sale__price{font-family:var(--serif);font-size:1.3rem}
.sale__beds{font-size:.92rem;color:var(--stone)}
.sale__meta{margin:.6rem 0 0;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--stone);opacity:.8}
.disclaimer{margin-top:2.6rem;font-size:.9rem;color:var(--stone);max-width:70ch}

/* ---------- testimonials ---------- */
.quotes{display:grid;grid-template-columns:1.55fr 1fr;gap:clamp(2rem,5vw,4.5rem);margin-top:2.6rem;align-items:start}
@media(max-width:820px){.quotes{grid-template-columns:1fr;gap:2.4rem}}
.quotes figure{margin:0}
.quotes blockquote{
  margin:0;font-family:var(--serif);font-weight:300;
  font-size:clamp(1.15rem,1.9vw,1.5rem);line-height:1.5;color:var(--ink);
}
.quotes blockquote::before{content:"“";color:var(--gold);margin-right:.06em}
.quotes blockquote::after{content:"”";color:var(--gold)}
.quotes--sm blockquote{font-size:clamp(1.05rem,1.5vw,1.22rem)}
.quotes figcaption{
  margin-top:1.3rem;font-size:.68rem;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);
}
.quotes figcaption span{display:block;color:var(--stone);letter-spacing:.14em;margin-top:.4rem}

/* ---------- quote ---------- */
.quote{text-align:center}
.quote blockquote{margin:0 auto;max-width:24ch;font-family:var(--serif);font-weight:300;font-style:italic;font-size:clamp(1.8rem,3.6vw,3rem);line-height:1.34;color:var(--ink)}
.sect--ink .quote blockquote{color:#fff}
.quote figcaption{margin-top:2.2rem;font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;color:var(--stone)}

/* ---------- areas ---------- */
.areas__head{max-width:56ch;margin-bottom:clamp(2.5rem,5vw,4rem)}
.areas__list{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rule)}
@media(max-width:760px){.areas__list{grid-template-columns:1fr}}
.area{padding:2rem 1.6rem 2rem 0;border-bottom:1px solid var(--rule);text-decoration:none;display:flex;align-items:baseline;justify-content:space-between;gap:1rem;transition:padding-left .45s ease,background .45s ease}
.area:nth-child(3n+2),.area:nth-child(3n){padding-left:1.6rem}
.area:hover{padding-left:2.4rem;background:rgba(176,142,82,.05)}
.area span{font-family:var(--serif);font-size:1.45rem}
.area em{font-style:normal;font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
/* 3 columns need ~940px: below that the longer names ("Carmel-by-the-Sea",
   "Carmel Highlands") wrap to two lines beside their EXPLORE label. Step to 2,
   and move the inset to even items so each row's first column stays flush. */
@media(min-width:761px) and (max-width:940px){
  .areas__list{grid-template-columns:repeat(2,1fr)}
  .area:nth-child(3n+2),.area:nth-child(3n){padding-left:0}
  .area:nth-child(even){padding-left:1.6rem}
}

/* Single column: cancel the 3-column inset above, or items 2,3,5,6 sit indented
   while 1 and 4 stay flush. Must come AFTER the nth-child rule to win on order. */
@media(max-width:760px){
  .area:nth-child(3n+2),.area:nth-child(3n){padding-left:0}
  .area:hover{padding-left:0}
}

/* ---------- lists ---------- */
.creds{list-style:none;padding:0;margin:2.2rem 0 0;display:grid;gap:.85rem}
.creds li{display:flex;gap:1rem;align-items:baseline;font-size:1rem;color:var(--stone)}
.creds li::before{content:"";width:14px;height:1px;background:var(--gold);flex:none;translate:0 -4px}
.sect--ink .creds li{color:rgba(247,244,238,.72)}

/* ---------- process steps ---------- */
.steps{display:grid;gap:0;counter-reset:step}
.step{
  display:grid;grid-template-columns:5.5rem 1fr;gap:clamp(1.2rem,3vw,3rem);
  padding:2.6rem 0;border-top:1px solid var(--rule);align-items:start;
}
.step:last-child{border-bottom:1px solid var(--rule)}
.step__n{font-family:var(--serif);font-size:2.1rem;line-height:1;color:var(--gold);font-weight:300}
.step h3{margin-bottom:.7rem}
.step p{margin:0;color:var(--stone)}
.sect--ink .step p{color:rgba(247,244,238,.72)}
@media(max-width:620px){
  .step{grid-template-columns:1fr;gap:.9rem;padding:2rem 0}
  .step__n{font-size:1.5rem}
}

/* ---------- tiles (neighbourhoods, guides) ---------- */
/* fixed column counts, not auto-fit: the 1px-gap-over-background trick
   leaves empty cells showing through when the item count doesn't divide evenly */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--rule)}
@media(max-width:900px){.tiles{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.tiles{grid-template-columns:1fr}}
.tile{background:var(--paper);padding:2.2rem 1.9rem}
.sect--bone .tile{background:var(--bone)}
.tile h3{margin-bottom:.7rem;font-size:1.35rem}
.tile p{margin:0;color:var(--stone);font-size:1rem}
.tile__tag{display:block;font-size:.62rem;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);margin-bottom:.9rem}

/* ---------- key/value facts ---------- */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:2rem 2.5rem;margin:0;padding:2.2rem 0 0;border-top:1px solid var(--rule)}
.facts div{margin:0}
.facts dt{font-size:.66rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin-bottom:.5rem}
.facts dd{margin:0;font-family:var(--serif);font-size:1.2rem;line-height:1.4}

/* ---------- FAQ (no JS, crawlable, accessible) ---------- */
.faq{border-top:1px solid var(--rule)}
.faq details{border-bottom:1px solid var(--rule)}
.faq summary{
  cursor:pointer;list-style:none;padding:1.7rem 3rem 1.7rem 0;position:relative;
  font-family:var(--serif);font-size:clamp(1.15rem,1.5vw,1.4rem);line-height:1.4;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";position:absolute;right:.6rem;top:50%;width:11px;height:11px;
  border-right:1px solid var(--gold);border-bottom:1px solid var(--gold);
  translate:0 -60%;rotate:45deg;transition:rotate .35s ease;
}
.faq details[open] summary::after{rotate:225deg}
.faq summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.faq__a{padding:0 3rem 1.9rem 0;color:var(--stone);margin:0}
.faq__a p{margin:0 0 1em}
.faq__a p:last-child{margin:0}

/* ---------- calculator ---------- */
.calc{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:start;margin-top:2.8rem}
@media(max-width:860px){.calc{grid-template-columns:1fr;gap:2.4rem}}

.field{display:grid;gap:.5rem;margin-bottom:1.5rem}
.field label{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--stone)}
.field__hint{font-size:.8rem;color:var(--stone);opacity:.85;margin:.1rem 0 0}
.input{position:relative;display:flex;align-items:center}
.input__pre,.input__post{
  font-family:var(--serif);font-size:1.05rem;color:var(--stone);
  padding:0 .55rem;pointer-events:none;
}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}

.calc input[type="number"],.calc input[type="text"],.calc input[type="email"],
.calc input[type="tel"],.calc select,.calc textarea{
  width:100%;font-family:var(--serif);font-size:1.25rem;color:var(--ink);
  background:transparent;border:0;border-bottom:1px solid var(--rule);
  padding:.45rem 0;border-radius:0;appearance:none;
}
.calc select{font-size:1.1rem;cursor:pointer}
.calc textarea{font-family:var(--sans);font-weight:400;font-size:1rem;line-height:1.6;resize:vertical;border:1px solid var(--rule);padding:.8rem}
.calc input[type="text"],.calc input[type="email"],.calc input[type="tel"]{font-size:1.1rem}
.calc input:focus,.calc select:focus,.calc textarea:focus{outline:0;border-bottom-color:var(--gold)}
.calc input:focus-visible,.calc select:focus-visible,.calc textarea:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
/* strip spinners — the arrows are useless at these magnitudes */
.calc input[type=number]::-webkit-outer-spin-button,
.calc input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.calc input[type=number]{-moz-appearance:textfield}

.field--split{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:end}

.result{background:var(--ink);color:var(--bone);padding:clamp(1.8rem,4vw,2.8rem);position:sticky;top:6rem}
@media(max-width:860px){.result{position:static}}
.result__label{font-size:.68rem;letter-spacing:.26em;text-transform:uppercase;color:var(--gold-lt);margin:0}
.result__total{font-family:var(--serif);font-weight:300;font-size:clamp(2.6rem,6vw,3.8rem);line-height:1;color:#fff;margin:.7rem 0 .3rem}
.result__per{font-size:.8rem;color:rgba(247,244,238,.6);margin:0}
.breakdown{list-style:none;margin:2rem 0 0;padding:1.6rem 0 0;border-top:1px solid rgba(205,177,130,.28);display:grid;gap:.9rem}
.breakdown li{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;font-size:.95rem;color:rgba(247,244,238,.78)}
.breakdown b{font-family:var(--serif);font-weight:400;font-size:1.1rem;color:#fff;font-variant-numeric:tabular-nums}
.breakdown li span{display:flex;align-items:center;gap:.6rem}
.swatch{width:9px;height:9px;flex:none;border-radius:50%}
.totals{margin:1.8rem 0 0;padding-top:1.4rem;border-top:1px solid rgba(205,177,130,.28);display:grid;gap:.7rem;font-size:.9rem;color:rgba(247,244,238,.7)}
.totals div{display:flex;justify-content:space-between;gap:1rem}
.totals b{font-family:var(--serif);font-weight:400;color:#fff;font-variant-numeric:tabular-nums}
.calc-note{margin-top:1.6rem;font-size:.82rem;line-height:1.6;color:rgba(247,244,238,.5)}
.nojs-note{margin-top:1rem;font-size:.85rem;color:var(--stone)}

/* ---------- prose (About, guides) ---------- */
.prose h2{margin:3.2rem 0 1.4rem}
.prose h2:first-child{margin-top:0}
.prose > p:last-child{margin-bottom:0}

/* ---------- cta ---------- */
.cta{text-align:center}
.cta h2{max-width:18ch;margin-inline:auto}
.cta p{max-width:48ch;margin:1.6rem auto 2.8rem}
.cta__actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* ---------- footer ---------- */
.ftr{background:var(--ink-soft);color:rgba(247,244,238,.62);padding:clamp(3.5rem,7vw,5.5rem) 0 2.5rem;font-size:.9rem}
.ftr__top{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:3rem;padding-bottom:3rem;border-bottom:1px solid rgba(255,255,255,.1)}
@media(max-width:860px){.ftr__top{grid-template-columns:1fr;gap:2.5rem}}
.ftr h4{font-family:var(--sans);font-size:.66rem;letter-spacing:.26em;text-transform:uppercase;color:var(--gold-lt);margin:0 0 1.3rem;font-weight:400}
.ftr a{text-decoration:none;color:inherit;transition:color .3s}
.ftr a:hover{color:#fff}
.ftr ul{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.ftr__brand{font-family:var(--serif);font-size:1.5rem;letter-spacing:.18em;text-transform:uppercase;color:#fff;margin:0 0 1rem}
.ftr__legal{padding-top:2.2rem;display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;font-size:.78rem;line-height:1.9;color:rgba(247,244,238,.45)}
.ftr__marks{display:flex;gap:1.1rem;align-items:center;font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;flex-wrap:wrap}
.ftr__marks span{border:1px solid rgba(255,255,255,.22);padding:.5em .9em}
.ftr__marks img{height:30px;width:auto;opacity:.78;transition:opacity .3s}
.ftr__marks img:hover{opacity:1}

/* ---------- motion ---------- */
/* Content is NEVER hidden by default. Reveals are a pure-CSS scroll-driven
   enhancement: browsers without `animation-timeline` (and anyone who prefers
   reduced motion) simply get the finished state. No JS, nothing to fail,
   nothing a crawler or a reader can ever miss. */

@keyframes revealUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@keyframes drawRule{from{width:0}to{width:54px}}

@supports (animation-timeline: view()){
  @media (prefers-reduced-motion: no-preference){
    .rv,
    .sales>.sale,.tiles>.tile,.steps>.step,.pillars>.pillar{
      animation:revealUp linear both;
      animation-timeline:view();
      animation-range:entry 2% cover 20%;
    }
    /* cards cascade by shifting each one's range a little later */
    .sales>:nth-child(2),.tiles>:nth-child(2),.steps>:nth-child(2),.pillars>:nth-child(2){animation-range:entry 6% cover 24%}
    .sales>:nth-child(3),.tiles>:nth-child(3),.steps>:nth-child(3),.pillars>:nth-child(3){animation-range:entry 10% cover 28%}
    .sales>:nth-child(4),.tiles>:nth-child(4),.steps>:nth-child(4){animation-range:entry 14% cover 32%}
    .tiles>:nth-child(5),.steps>:nth-child(5){animation-range:entry 18% cover 36%}
    .tiles>:nth-child(6),.steps>:nth-child(6){animation-range:entry 22% cover 40%}
    /* a .rv that is itself a grid shouldn't fade twice */
    .sales.rv,.tiles.rv,.steps.rv,.pillars.rv{animation:none}

    hr.rule{animation:drawRule linear both;animation-timeline:view();animation-range:entry 10% cover 25%}
  }
}

/* hero photograph drifts, barely — settles ~4% in and stays */
@keyframes heroDrift{from{scale:1}to{scale:1.045}}
.hero__img{animation:heroDrift 28s cubic-bezier(.22,.6,.36,1) forwards}

/* nav underline grows from the left instead of blinking on */
.nav a:not(.nav__cta){position:relative;border-bottom:0;padding-bottom:4px}
.nav a:not(.nav__cta)::after{
  content:"";position:absolute;left:0;bottom:0;height:1px;width:0;
  background:var(--gold-lt);transition:width .4s var(--ease);
}
.nav a:not(.nav__cta):hover::after{width:100%}
.hdr.stuck .nav a::after,.hdr--solid .nav a::after{background:var(--gold)}

@media(prefers-reduced-motion:reduce){
  .hero__img{animation:none}
  .scroll-cue{animation:none}
  html{scroll-behavior:auto}
  .media img,.sale__ph img,.nav a::after{transition:none}
  .totop{transition:none}
}

