/* ============================================================
   RIVELA v2 — design system
   Anchored to a calm editorial reference (measured 2026-06-21): neo-grotesque,
   warm papers, huge type, one confident clay accent, big air.
   Font: Switzer (Fontshare) — a free Regola-class grotesque.
   ============================================================ */

@import url("https://api.fontshare.com/v2/css?f[]=switzer@300,400,500,600,700&display=swap");

:root {
  /* paper / neutrals (warm cream to set off the red) */
  --paper:    #FFFFFF;          /* Samara's dominant surface — measured live as pure white (≈3x the painted area of any cream) */
  --paper-2:  #EFEDE8;
  --paper-alt: var(--paper);    /* bands removed — alternating sections now match the ground (one uniform light colour) */
  --sand:     #DAD6CE;
  --ink:      #14110B;          /* warm near-black */
  --ink-soft: rgba(20, 17, 11, 0.82);   /* darkened from .62 — no grey muted writing (Samara uses dark text, not grey) */
  --ink-mute: rgba(20, 17, 11, 0.40);
  --line:     rgba(20, 17, 11, 0.13);
  --line-2:   rgba(20, 17, 11, 0.07);

  /* one accent — Rivela red (deep cardinal), with a brighter glow tone */
  --clay:        #AE1B30;   /* deep red (primary accent, legacy var name) */
  --clay-deep:   #6E0F1F94;
  --accent-glow: #E0394F;   /* brighter ruby for glows / sheens */
  --gold:        #B8924F;   /* antique brass, secondary luxe accent (fine details only) */

  /* dark section — deep oxblood (near-black with a red undertone) */
  --night:      #240A10;
  --night-2:    #34121A;
  --on-night:   #F3EFE3;
  --on-night-s: rgba(243, 239, 227, 0.60);
  --line-night: rgba(243, 239, 227, 0.14);

  --r: 12px;                     /* card/input radius — soft scale */
  --maxw: 1600px;                /* content container width; raise to fill wide screens, lower for more side air */
  --pad: clamp(20px, 5vw, 64px);
  --font: "Switzer", "Geist", system-ui, -apple-system, sans-serif;

  /* fluid type scale */
  --t-display: clamp(3.6rem, 11vw, 11rem);
  --t-h1:      clamp(2.7rem, 6vw, 5.8rem);   /* primary section headline — the big "front-page" topography, used site-wide */
  --t-h2:      clamp(1.9rem, 3.6vw, 3rem);
  --t-h3:      clamp(1.18rem, 1.7vw, 1.5rem);
  --t-lead:    clamp(1.06rem, 1.55vw, 1.32rem);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
sup { vertical-align: super; font-size: 0.62em; line-height: 0; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--clay); color: #fff; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 11vw, 160px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }

/* ---- alternating section bands ----
   Greyer/creamier rhythm so section breaks read clearly. Auto-applied to every
   other section. Sections that carry their own background (hero, dark, sky,
   cycle, page-hero) are excluded and keep it. The last section per page — the
   CTA — stays cream, EXCEPT on the home page where it follows the rhythm. */
.section--alt { background: var(--paper-alt); }
main > section:not(.hero):not(.dark):not(.sky):not(.page-hero):not(.cycle) {
  border-top: 0;        /* section divider lines removed — seamless, sections flow into one another */
}
main > section:nth-of-type(even):not(.dark):not(.sky):not(.hero):not(.page-hero):not(.cycle):not(.section--cream):not(.trust-belt-section):not(:last-of-type) {
  background: var(--paper-alt);
}
body[data-page="home"] main > section:last-of-type:not(.dark):not(.sky):not(.hero):not(.cycle):not(.page-hero):not(.trust-belt-section) {
  background: var(--paper-alt);
}
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.line-top { border-top: 0; }   /* section divider lines removed site-wide */

/* ---------- typography ---------- */
.display {
  font-size: var(--t-display);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.h1 { font-size: var(--t-h1); font-weight: 300; line-height: 1.0; letter-spacing: -0.035em; }
.h2 { font-size: var(--t-h2); font-weight: 400; line-height: 1.06; letter-spacing: -0.028em; }
.h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.2;  letter-spacing: -0.02em; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-soft); font-weight: 400; max-width: 46ch; }
.muted { color: var(--ink-soft); }
/* Site-wide body copy — darker + larger (Samara). Dark/red sections stay light via .dark/.cta-band overrides. Header/footer excluded (outside <main>). */
main .lead { color: rgba(20,17,11,.96); font-size: clamp(1.3rem,1.95vw,1.66rem); line-height: 1.42; max-width: 50ch; }
main .muted { color: rgba(20,17,11,.86); font-size: clamp(1.1rem,1.4vw,1.3rem); line-height: 1.55; }
/* Prose lists + accordion answers — match the darker/larger body treatment */
main .prose p, main .prose li { color: rgba(20,17,11,.86); font-size: clamp(1.05rem,1.3vw,1.2rem); }
main .acc-body p { color: rgba(20,17,11,.86); font-size: clamp(1.05rem,1.3vw,1.2rem); }
.dark .prose p, .dark .prose li, .dark .acc-body p { color: var(--on-night-s); }
/* Product "brief" point list — short lead + gold-dash points (replaces the text-box paragraph) */
.brief-list { list-style: none; margin: clamp(16px,2.2vw,26px) 0 0; padding: 0; display: grid; gap: 13px; }
.brief-list li { position: relative; padding-left: 30px; color: rgba(20,17,11,.86); font-size: clamp(1.1rem,1.4vw,1.3rem); line-height: 1.45; }
.brief-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 18px; height: 2px; background: var(--gold); }
.maxw { max-width: 62ch; }

/* small mono-ish label / eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--clay);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: 0.95; }

/* ---------- buttons (pill) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.85em 1.5em; border-radius: 100px;
  font-weight: 500; font-size: 0.96rem; letter-spacing: -0.01em;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--clay); }
.btn--clay { background: var(--clay); color: #fff; }
.btn--clay:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px var(--clay-deep); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 500; padding-bottom: 2px; border-bottom: 1px solid var(--line); transition: border-color .3s, gap .3s; }
.link-arrow:hover { border-color: var(--ink); gap: 0.7em; }

/* ============================================================
   HEADER — black bar, wordmark left, centered nav, pill CTA
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease, color .4s ease;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: 1.78rem; letter-spacing: -0.04em; }
.brand-mark { height: 52px; width: auto; display: block; }
.nav-links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: clamp(16px, 2vw, 32px);
  padding: 11px 24px; border-radius: 100px;
  background: rgba(252, 251, 245, 0.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(20,17,11,0.06), 0 6px 24px -14px rgba(20,17,11,0.3);
  transition: background .4s ease, box-shadow .4s ease;
}
.nav-links a { font-size: 0.95rem; font-weight: 450; color: inherit; opacity: 0.78; transition: opacity .25s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 26px; height: 18px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: .3s; }
.nav-toggle span:nth-child(1){ top: 0; } .nav-toggle span:nth-child(2){ top: 8px; } .nav-toggle span:nth-child(3){ top: 16px; }

/* header: transparent bar, only the centre nav is a frosted pill.
   Default ink text; flips to light over .dark sections. */
.site-header { color: var(--ink); }
.site-header.over-dark { color: var(--on-night); }
.site-header.over-dark .nav-links {
  background: rgba(20, 17, 11, 0.34);
  box-shadow: inset 0 0 0 1px rgba(243,239,227,0.15), 0 6px 24px -14px rgba(0,0,0,0.5);
}

/* ============================================================
   HERO — tall portrait (Samara-style): the photo is a full-width
   vertical image ~2x viewport tall; the house sits low, hills + sky
   fill the top; RIVELA + tagline sit over the sky in the first
   viewport; scroll reveals the house.
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;      /* matches the 4:3 image → shown near-natural, minimal crop = stays sharp */
  max-height: 118svh;       /* cap so it never balloons on ultrawide screens */
  overflow: hidden;
  background: #EFEDE8;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; /* whole 4:3 frame: sky+hills / house / foreground */
  z-index: 1;
}
/* RIVELA wordmark over the photo (gentle parallax drift on scroll) */
.hero__headline {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  height: 22%;
  display: flex; align-items: flex-end; justify-content: center;
  padding-inline: 2vw;
  font-size: clamp(2.8rem, 13vw, 11rem);
  font-weight: 300; line-height: 0.82; letter-spacing: -0.05em;
  color: #AE1B30;                        /* Cardinal */
  pointer-events: none;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
}
.hero__tagline {
  position: absolute; top: max(96px, 15%); left: var(--pad); right: auto;
  text-align: left; max-width: min(30ch, 34%);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-weight: 400;
  line-height: 1.15; letter-spacing: -0.03em;
  text-shadow: 0 1px 26px rgba(255,255,255,0.65);
}
.hero__scroll { display: none; }

/* ============================================================
   STATS / marquee / cards / steps
   ============================================================ */
.stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); }
.stat .num { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.stat .lbl { font-size: 0.86rem; color: var(--ink-soft); margin-top: 8px; letter-spacing: -0.01em; }

/* proof numbers in cardinal red; prices stay ink (premium, not "sale") */
.stat .num { color: var(--clay); }
.dark .stat .num { color: var(--accent-glow); }
.sky .glass-card .big-num { color: var(--clay); }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px); transition: border-color .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
.card--hover:hover { transform: translateY(-4px); border-color: var(--ink); }

/* product / design card */
.design-card { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.design-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -28px rgba(20,17,11,.28); }
.design-card .visual { aspect-ratio: 4/3; background: var(--paper-2); overflow: hidden; }
.design-card .visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.design-card:hover .visual img { transform: scale(1.04); }
.design-card .body { padding: clamp(20px, 2vw, 28px); }
.design-card .tag { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.design-card .specs { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; color: rgba(20,17,11,.76); font-size: 1rem; }
.design-card .specs span { position: relative; padding-left: 16px; }
.design-card .specs span::before { content:""; position:absolute; left:0; top:.62em; width:5px; height:5px; border-radius:50%; background: var(--line); }
.design-card .price { margin-top: 18px; font-size: 1.3rem; font-weight: 400; letter-spacing: -0.02em; }
.design-card .price small { color: var(--ink-mute); font-size: 0.82rem; font-weight: 400; }

.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step { background: var(--paper); padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; counter-increment: step; }
.step .n { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--clay); font-weight: 600; padding-top: 6px; }
.step .n::before { content: "0" counter(step); }
.steps { counter-reset: step; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; }
.marquee-track { display: flex; gap: 56px; white-space: nowrap; width: max-content; animation: marq 26s linear infinite; }
.marquee-track span { font-size: clamp(1.4rem, 2.4vw, 2.1rem); font-weight: 300; letter-spacing: -0.03em; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "·"; color: var(--gold); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   BIG MODEL BANDS (large editorial rows)
   ============================================================ */
.models { display: grid; gap: clamp(64px, 10vw, 150px); }
.model { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(28px, 5vw, 76px); align-items: center; }
.model:nth-child(even) .model__media { order: 2; }
.model__media { aspect-ratio: 5/4; border-radius: 16px; overflow: hidden; background: var(--paper-2); box-shadow: 0 44px 64px -44px rgba(20,17,11,.32); }
.model__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.model:hover .model__media img { transform: scale(1.035); }
.model__head { display: flex; align-items: center; gap: 14px; }
.model__idx { font-size: .8rem; letter-spacing: .1em; color: var(--ink-mute); font-weight: 600; }
.model .tag { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.model__specs { display: flex; gap: clamp(20px, 3vw, 48px); border-top: 1px solid var(--line); padding-top: 18px; }
.model__specs > div { display: flex; flex-direction: column; gap: 3px; }
.model__specs .k, .model__fin .k { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(20,17,11,.6); font-weight: 600; }
.model__specs .v { font-size: clamp(1.28rem,1.5vw,1.44rem); letter-spacing: -.02em; }
.model__fin { display: flex; align-items: center; gap: 14px; }
.fins { display: inline-flex; gap: 7px; }
.fins i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(20,17,11,.18); display: block; }
.model__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }
.model .price { font-size: 1.65rem; letter-spacing: -.02em; }
.model .price small { display: block; color: rgba(20,17,11,.56); font-size: .84rem; margin-top: 2px; }
@media (max-width: 880px) {
  .model { grid-template-columns: 1fr; gap: 22px; }
  .model:nth-child(even) .model__media { order: 0; }
}

/* ============================================================
   CONFIGURATOR
   ============================================================ */
.config { display: block; }
.config__stage { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: min(82vh, 880px); border-block: 1px solid var(--line-night); background: linear-gradient(180deg, var(--paper-2), var(--sand)); overflow: hidden; }
.config__stage canvas { width: 100% !important; height: 100% !important; }
.config__hint { position: absolute; left: clamp(16px, 4vw, 48px); bottom: 18px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); display:flex; align-items:center; gap:8px; }
.config__hint .dot { width:6px; height:6px; border-radius:50%; background: var(--clay); }
.config__controls { margin-top: clamp(28px, 3.5vw, 52px); display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(24px, 4vw, 72px); }
.config__controls .swatch-group { margin-top: 0; text-align: center; }
.config__controls .swatches { justify-content: center; }
.config__controls .btn-row { width: 100%; justify-content: center; margin-top: 6px; }
.swatch-group { margin-top: 22px; }
.swatch-group h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 12px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: transform .3s, box-shadow .3s; position: relative; }
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }

/* ============================================================
   DARK SECTION / CTA band / footer
   ============================================================ */
.dark { color: var(--on-night);
  background:
    radial-gradient(90% 120% at 85% 0%, rgba(174,27,48,.26), rgba(174,27,48,0) 55%),
    radial-gradient(85% 115% at 0% 100%, rgba(110,15,31,.3), rgba(110,15,31,0) 55%),
    linear-gradient(160deg, #2c0b12 0%, #1a0709 100%); }
.dark .lead, .dark .muted { color: var(--on-night-s); }
.dark .eyebrow { color: var(--on-night-s); }
.dark .card { background: var(--night-2); border-color: var(--line-night); }
.dark .btn--primary { background: var(--paper); color: var(--ink); }
.dark .btn--primary:hover { background: var(--clay); color:#fff; }
.dark .btn--ghost { box-shadow: inset 0 0 0 1px var(--line-night); color: var(--on-night); }
.dark .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--on-night); }

/* Open CTA — Samara-style: big type on white, no container block */
.cta-open__headline {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.cta-open__sub {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink-mute);
}
.cta-open__link {
  display: inline-block;
  margin-top: clamp(20px, 3vw, 36px);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--clay);
  transition: opacity .2s;
}
.cta-open__link:hover { opacity: .68; }

/* ============================================================
   PHASE BAND - big numbered build-journey steps
   Promoted from how-it-works page-scope (shared .phase pattern),
   2026-07-10. See DESIGN-SYSTEM.md §9.
   ============================================================ */
.phases { padding-block: clamp(48px, 7vw, 96px); }
.phase {
  display: grid; grid-template-columns: minmax(0, 0.46fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 88px); align-items: start;
  padding-block: clamp(40px, 6vw, 84px); border-top: 1px solid var(--line);
}
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase__num {
  font-size: clamp(3.4rem, 9vw, 8rem); font-weight: 300; line-height: 0.86;
  letter-spacing: -0.04em; color: var(--clay); font-variant-numeric: tabular-nums; margin: 0;
}
.phase__week {
  display: block; margin-top: clamp(10px, 1.4vw, 18px);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
}
.phase__title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300; line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); margin: 0;
}
.phase__body {
  margin: clamp(14px, 1.6vw, 22px) 0 0; max-width: 54ch;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--ink-soft);
}
@media (max-width: 880px) {
  .phase { grid-template-columns: 1fr; gap: clamp(10px, 3vw, 18px); }
  .phase__num { font-size: clamp(3rem, 16vw, 5rem); }
}

/* Light footer — Samara-style columns on white. Samara measured: 36px/46px/400/-0.72px */
.site-footer { background: var(--paper); color: var(--ink); padding-block: clamp(64px, 8vw, 104px) 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.footer-col { list-style: none; padding: 0; display: grid; gap: 2px; }
.footer-col a { font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.28; letter-spacing: -0.02em; color: rgba(20,17,11,0.52); transition: color .2s; font-weight: 400; }
.footer-col a:hover { color: var(--ink); }
.footer-brand { display: inline-flex; align-items: center; gap: 0.36em; font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 600; letter-spacing: -0.04em; color: var(--ink) !important; margin-bottom: clamp(12px, 1.6vw, 22px); }
.footer-brand .brand-mark { height: 0.9em; width: auto; }
.footer-enquire .enquire-link { font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.28; letter-spacing: -0.02em; color: var(--clay); font-weight: 400; transition: opacity .2s; }
.footer-enquire .enquire-link:hover { opacity: .72; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: 0.84rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s } .reveal[data-d="2"]{ transition-delay:.16s } .reveal[data-d="3"]{ transition-delay:.24s } .reveal[data-d="4"]{ transition-delay:.32s }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none } .marquee-track{ animation:none } .hero__scroll::after{ animation:none } }

/* ---------- utils ---------- */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.6rem}.mt-4{margin-top:2.4rem}
.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.6rem}
.center{text-align:center}.center .lead, .center .eyebrow{margin-inline:auto}
.pill{display:inline-flex;align-items:center;gap:.5em;padding:.4em .9em;border-radius:100px;font-size:.82rem;box-shadow:inset 0 0 0 1px var(--line)}

/* ============================================================
   SUB-NAV — secondary model pill row under the header   ============================================================ */
.subnav {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 98; display: flex; justify-content: center; pointer-events: none;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.subnav.open { opacity: 1; visibility: visible; transform: none; }
.subnav__pill {
  pointer-events: auto; display: flex; gap: clamp(4px, .6vw, 10px);
  padding: 7px 12px; border-radius: 100px;
  background: rgba(252, 251, 245, 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(20,17,11,0.06), 0 6px 24px -14px rgba(20,17,11,0.3);
  transition: background .4s, box-shadow .4s;
}
.subnav__pill a { font-size: 0.9rem; padding: 6px 14px; border-radius: 100px; color: var(--ink); opacity: .68; white-space: nowrap; transition: opacity .25s, background .25s; }
.subnav__pill a:hover { opacity: 1; }
.subnav__pill a.active { opacity: 1; background: rgba(20,17,11,0.06); }
.subnav.over-dark .subnav__pill { background: rgba(20,17,11,0.34); box-shadow: inset 0 0 0 1px rgba(243,239,227,0.15), 0 6px 24px -14px rgba(0,0,0,.5); }
.subnav.over-dark .subnav__pill a { color: var(--on-night); }
.subnav.over-dark .subnav__pill a.active { background: rgba(243,239,227,0.14); }
@media (max-width: 600px) { .subnav { display: none; } }

/* ============================================================
   PRODUCT CAROUSELS — shared mechanics, two layouts
   1. .showcase  — full-bleed big-picture filmstrip (name on image)
   2. .range-tray — inset cream tray, transparent product + specs (Samara "Five sizes")
   ============================================================ */

/* ---- shared headline ---- */
.range-hdl {
  font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; margin: 0;
}
.range-hdl-mute { color: rgba(20,17,11,0.35); }

/* ---- shared track mechanics (scroll-snap filmstrip) ----
   Centring uses flex-spacer pseudo-elements rather than percentage padding,
   so a percentage --slide resolves against the full track width (not a box
   already shrunk by its own padding). Works for both vw- and %-based --slide. */
.spotlight__track {
  display: flex;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none; cursor: grab;
}
.spotlight__track::before, .spotlight__track::after {
  content: ""; flex: 0 0 calc((100% - var(--slide)) / 2);
}
.spotlight__track::-webkit-scrollbar { display: none; }
.spotlight__track.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.spot-slide { flex: 0 0 var(--slide); scroll-snap-align: center; margin: 0; }

/* ---- shared arrows ---- */
.spot-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(252,251,245,0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px -14px rgba(20,17,11,0.45);
  display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s, transform .3s;
}
.spot-arrow:hover { background: var(--ink); color: var(--paper); }
.spot-arrow:active { transform: translateY(-50%) scale(.94); }
.spot-arrow svg { width: 20px; height: 20px; }

/* ============================================================
   1. SHOWCASE — full-bleed big-picture carousel
   ============================================================ */
.showcase { --slide: 78vw; position: relative; overflow: hidden; }
.showcase .spotlight__track { gap: clamp(14px, 1.4vw, 26px); }
.showcase .spot-slide { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16/9; }
.showcase .spot-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block; background: var(--paper-2);
}
/* name reads on the image, bottom-left, with a soft floor gradient */
.show-name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(48px, 9vh, 120px) clamp(28px, 4vw, 56px) clamp(28px, 4vw, 48px);
  font-size: clamp(2.2rem, 4.6vw, 5.5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1;
  color: #fff; pointer-events: none;
  background: linear-gradient(to top, rgba(20,17,11,0.5) 0%, rgba(20,17,11,0.12) 50%, transparent 100%);
}
.showcase .spot-arrow[data-prev] { left: clamp(16px, 5vw, 60px); }
.showcase .spot-arrow[data-next] { right: clamp(16px, 5vw, 60px); }

/* ============================================================
   2. RANGE TRAY — inset cream section, transparent product + specs
   ============================================================ */
.range-tray {
  --slide: 78%;
  position: relative; background: var(--paper-2); border-radius: 24px;
  padding-block: clamp(36px, 4.5vw, 64px); overflow: hidden;
  margin-inline: clamp(12px, 1.4vw, 28px);   /* near-full-bleed, just a tiny inset (Samara) */
}

/* name + tagline, centred at the top of the tray (JS-updated per slide) */
.range-tray__head { text-align: center; padding-inline: var(--pad); margin-bottom: clamp(20px, 2.6vw, 36px); }
.range-tray__head .spot-name {
  font-size: clamp(1.9rem, 3.4vw, 3.4rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1;
  color: var(--ink); transition: opacity .3s; display: block;
}
.range-tray__head .spot-tag {
  font-size: clamp(1rem, 1.4vw, 1.28rem); color: rgba(20,17,11,0.5);
  margin-top: .6em; font-weight: 400; letter-spacing: -.01em; transition: opacity .3s;
}

.range-tray .spotlight__track { gap: clamp(20px, 3vw, 48px); }
/* transparent product image sits directly on the cream — no card */
.range-slide { scroll-snap-align: center; }
.range-slide img {
  width: 100%; aspect-ratio: 3/2; height: auto;
  display: block; object-fit: contain;
}
.range-tray .spot-arrow[data-prev] { left: clamp(12px, 3vw, 36px); }
.range-tray .spot-arrow[data-next] { right: clamp(12px, 3vw, 36px); }

/* tray footer: dots + specs/price, centred (JS-updated) */
.range-foot {
  text-align: center; padding-inline: var(--pad);
  margin-top: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 1.4vw, 16px);
}
.range-dots { list-style: none; margin: 0 0 clamp(8px, 1vw, 14px); padding: 0; display: flex; gap: 7px; align-items: center; }
.range-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(20,17,11,0.22); transition: background .3s, width .3s; flex-shrink: 0; }
.range-dot.is-active { width: 22px; border-radius: 3px; background: var(--ink); }

/* ---- shared sub-components (specs / rule / price / links) ---- */
.spotlight__rule { width: min(420px, 70%); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .75; margin: 2px auto; }
.spot-specs { font-size: clamp(1.05rem, 1.5vw, 1.32rem); color: var(--ink); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center; transition: opacity .3s; letter-spacing: -.01em; }
.spot-specs i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-mute); display: inline-block; }
.spot-price { color: var(--ink-soft); transition: opacity .3s; font-size: clamp(1.02rem, 1.2vw, 1.18rem); }
.spot-price strong { color: var(--ink); font-weight: 500; }
.spotlight__links { display: flex; gap: 14px 28px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: clamp(6px, 1vw, 12px); }

@media (max-width: 880px) {
  .showcase { --slide: min(90vw, 1640px); }
  .range-tray { --slide: 84%; margin-inline: clamp(8px, 2vw, 16px); }
}
@media (max-width: 700px) { .spot-arrow { width: 44px; height: 44px; } }

/* ============================================================
   COMPARE — draggable before/after finish slider
   ============================================================ */
.compare {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden;
  background: var(--paper-2); user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50%;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); will-change: clip-path; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-50%); z-index: 3; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.compare__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.28); display: grid; place-items: center; color: var(--ink); }
.compare__grip svg { width: 22px; height: 22px; }
.compare__label { position: absolute; bottom: 18px; z-index: 3; color: #fff; font-size: .82rem; letter-spacing: .01em; padding: 7px 13px; border-radius: 100px; background: rgba(20,17,11,.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.compare__label--l { left: 18px; } .compare__label--r { right: 18px; }
@media (max-width: 600px) { .compare__label { font-size: .74rem; padding: 6px 10px; bottom: 12px; } .compare__grip { width: 40px; height: 40px; } }

/* full-bleed variant — edge to edge, bigger. margin-based so it never
   conflicts with the .reveal transform (which would un-centre it). */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.compare--bleed { aspect-ratio: 2.3 / 1; border-radius: 0; }
@media (max-width: 760px) { .compare--bleed { aspect-ratio: 4 / 3; } }

/* hero variant — sized to the real photos' native 3:2, not a cropped cinematic strip;
   title + drag hint sit ABOVE it (header on paper, not overlaid on the image).
   Widened near edge-to-edge so heading + slider fit on one screen. */
.wrap.compare-wrap { max-width: min(98vw, 1760px); padding-inline: clamp(14px, 2vw, 30px); }
.compare--hero { aspect-ratio: 3 / 2; height: auto; border-radius: 16px; }
.compare--hero .compare__grip { width: 56px; height: 56px; }
.compare--hero .compare__grip svg { width: 24px; height: 24px; }

.compare-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(18px, 2.2vw, 30px); }
.compare-head__title { flex: 1 1 440px; margin: 0; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.02; letter-spacing: -.025em; font-weight: 300; color: var(--ink); }
.compare-head__aside { flex: 0 1 360px; min-width: 260px; }
.compare-head__hint { display: inline-flex; align-items: center; gap: 11px; color: var(--clay); font-size: .98rem; font-weight: 600; }
.compare-head__ico { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--clay); display: grid; place-items: center; flex: none; }
.compare-head__ico svg { width: 17px; height: 17px; }
.compare-head__sub { margin-top: 12px; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.5; }

@media (max-width: 600px) {
  .compare--hero { aspect-ratio: 3 / 2; height: auto; min-height: 320px; }
}

/* ============================================================
   SPEC SHEET — tech specs beside the floor plan (model pages)
   ============================================================ */
.specsheet { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.specsheet__plan { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); padding: clamp(22px, 3vw, 44px); }
.specsheet__plan svg { width: 100%; height: auto; display: block; }
.spec-list { display: grid; }
.spec-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec-list > div:first-child { padding-top: 0; }
.spec-list dt { color: rgba(20,17,11,.78); font-size: 1.04rem; }
.spec-list dd { color: var(--ink); font-weight: 500; text-align: right; letter-spacing: -.01em; }
@media (max-width: 880px) { .specsheet { grid-template-columns: 1fr; } }

/* ============================================================
   STATEMENT — big type with little house renders inline   ============================================================ */
.statement { font-size: clamp(2.5rem, 6.4vw, 7.2rem); font-weight: 300; line-height: 1.06; letter-spacing: -0.035em; }
.inline-house { display: inline-block; height: 0.78em; width: 2em; object-fit: cover; border-radius: 6px; vertical-align: -0.1em; margin: 0 0.16em; box-shadow: 0 10px 22px -13px rgba(20,17,11,.55); }
/* real transparent product cutouts float in the text (Samara style): natural width, no card, no shadow.
   width auto keeps each model's true length, so the granny reads longer than the studio/cabana. */
.inline-house.is-real { height: 1.1em; width: auto; object-fit: contain; border-radius: 0; box-shadow: none; background: transparent; vertical-align: -0.2em; margin: 0 0.22em; }
.statement-foot { margin-top: clamp(28px, 4vw, 54px); max-width: 56ch; }
.statement-foot .muted { margin-top: 4px; }

/* ============================================================
   SKY — pale sky background with frosted glass stat cards   ============================================================ */
.sky { background: linear-gradient(165deg, #c4d3e2 0%, #d9dfdc 44%, #efe7d6 100%); }
/* foundation block — quiet the supporting paragraph so the big headline + card numbers lead
   (the headline itself now uses the global .h1 scale, consistent with every page) */
.sky .lead { font-size: clamp(1.04rem, 1.35vw, 1.2rem); line-height: 1.5; max-width: 44ch; }
.sky-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.sky-model { display: flex; align-items: center; justify-content: center; }
.sky-model img { width: 100%; height: auto; transform: translateX(clamp(0px, 2vw, 28px)); filter: drop-shadow(0 30px 44px rgba(22, 32, 46, .32)); }
[data-page="home"] .sky .wrap { max-width: none; }
@media (max-width: 900px) { .sky-model img { max-width: 560px; transform: none; } }
.sky-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.glass-card {
  background: rgba(255,255,255,0.4); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6); border-radius: 16px; padding: clamp(24px, 2.6vw, 38px);
  min-height: clamp(230px, 26vw, 320px); display: flex; flex-direction: column;
}
.glass-card .big-num { font-size: clamp(3.4rem, 7vw, 6.4rem); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--ink); display: flex; align-items: flex-start; gap: 10px; }
.glass-card .big-num .unit { font-size: 0.24em; font-weight: 500; letter-spacing: 0.04em; padding: 5px 9px; border: 1px solid rgba(20,17,11,.28); border-radius: 7px; margin-top: 0.5em; }
.glass-card h3 { font-size: clamp(1.22rem, 1.7vw, 1.5rem); font-weight: 400; margin-top: 16px; letter-spacing: -.018em; }
.glass-card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; margin-top: auto; padding-top: 18px; }
@media (max-width: 900px) { .sky-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sky-cards { grid-template-columns: 1fr; } }

/* ============================================================
   INTERIOR PAGES — page hero, prose, accordion, table, form, gallery
   ============================================================ */
.page-hero { padding-top: clamp(128px, 17vh, 210px); padding-bottom: clamp(28px, 4vw, 52px); }
.breadcrumb { font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-soft); } .breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { padding: 0 8px; opacity: .5; }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--t-h3); font-weight: 500; letter-spacing: -.02em; margin-top: 1.8em; }
.prose h3 { font-size: 1.1rem; font-weight: 600; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.65; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: .5em; }
.prose a { color: var(--clay); border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--clay); }
.prose strong { color: var(--ink); font-weight: 600; }

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; text-align: left; font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -.02em; }
.acc-head .pm { position: relative; width: 16px; height: 16px; flex: none; }
.acc-head .pm::before, .acc-head .pm::after { content: ""; position: absolute; background: var(--ink); transition: transform .3s; }
.acc-head .pm::before { top: 7px; left: 0; width: 16px; height: 2px; }
.acc-head .pm::after { left: 7px; top: 0; width: 2px; height: 16px; }
.acc-item.open .pm::after { transform: scaleY(0); }
.acc-body { overflow: hidden; max-height: 0; transition: max-height .4s ease; }
.acc-body p { color: var(--ink-soft); padding-bottom: 22px; max-width: 64ch; line-height: 1.6; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.table th { font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.table td.check { color: #4d6a3a; font-weight: 600; }
.table tr td:first-child { color: var(--ink); }
.table td:not(:first-child) { color: var(--ink-soft); }
/* Tables inside dark sections — light text (fixes black-on-dark) */
.dark .table th { color: var(--on-night-s); }
.dark .table tr td:first-child { color: var(--on-night); }
.dark .table td:not(:first-child) { color: var(--on-night-s); }
.dark .table th, .dark .table td { border-bottom-color: var(--line-night); }
.dark .table td.check { color: #8fc06e; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.8rem; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); font: inherit; color: var(--ink); transition: border-color .25s, background .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.masonry { columns: 3; column-gap: 14px; }
.masonry .tile { break-inside: avoid; margin-bottom: 14px; border-radius: var(--r); overflow: hidden; position: relative; cursor: pointer; }
.masonry .tile img { width: 100%; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.masonry .tile:hover img { transform: scale(1.05); }
.masonry .cap { position: absolute; left: 12px; bottom: 12px; color: #fff; font-size: .82rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,13,9,.92); display: none; align-items: center; justify-content: center; padding: 5vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--r); }
.lightbox .x { position: absolute; top: 22px; right: 30px; font-size: 2.4rem; color: #fff; cursor: pointer; line-height: 1; }

.quote { font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 300; line-height: 1.18; letter-spacing: -.03em; max-width: 22ch; }
.serif-italic { font-style: italic; }

/* feature split image */
.feature-img { aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 880px) { .masonry { columns: 2; } .field-row { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .masonry { columns: 1; } }

/* ---- Contact page steps ---- */
.contact-steps { display: grid; gap: 0; margin-top: clamp(28px,4vw,44px); }
.contact-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-block: clamp(18px,2.6vw,28px); border-top: 1px solid var(--line); }
.contact-step:last-child { border-bottom: 1px solid var(--line); }
.contact-step .cs-n { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--clay); font-weight: 700; padding-top: 5px; font-variant-numeric: tabular-nums; }
.contact-step strong { display: block; font-weight: 500; font-size: clamp(1rem,1.25vw,1.12rem); letter-spacing: -0.018em; color: var(--ink); }
.contact-step p { margin-top: 6px; font-size: clamp(0.9rem,1.08vw,1rem); color: rgba(20,17,11,.70); line-height: 1.52; max-width: 38ch; }
.contact-info { display: grid; gap: 10px; margin-top: clamp(28px,4vw,44px); padding-top: clamp(22px,3vw,32px); border-top: 1px solid var(--line); }
.contact-info-row { display: flex; gap: 20px; align-items: baseline; }
.contact-info-row .ci-lbl { font-size: 0.70rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; min-width: 52px; flex-shrink: 0; }
.contact-info-row a, .contact-info-row span { font-size: clamp(0.92rem,1.15vw,1.04rem); color: var(--ink); transition: color .2s; }
.contact-info-row a:hover { color: var(--clay); }

/* ---- Approval parallel timeline compare ---- */
.tl-compare { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: clamp(36px,5vw,56px); }
.tl-row { display: grid; grid-template-columns: 130px 1fr 100px; gap: clamp(16px,2.5vw,28px); align-items: center; padding: clamp(22px,3vw,36px) clamp(20px,3vw,36px); }
.tl-row--trad { background: var(--paper-2); }
.tl-row--rivela { background: var(--night); }
.tl-row + .tl-row { border-top: 1px solid var(--line); }
.tl-lbl { font-size: 0.8rem; font-weight: 500; line-height: 1.4; }
.tl-lbl strong { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.tl-row--trad .tl-lbl { color: var(--ink-soft); }
.tl-row--trad .tl-lbl strong { color: var(--ink); }
.tl-row--rivela .tl-lbl { color: var(--on-night-s); }
.tl-row--rivela .tl-lbl strong { color: var(--accent-glow); }
.tl-track { display: flex; gap: 4px; align-items: stretch; }
.tl-track--par { flex-direction: column; gap: 5px; }
.tl-seg { display: flex; align-items: center; padding: 8px 12px; border-radius: 7px; font-size: 0.76rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.tl-seg--a { background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); flex: 5; }
.tl-seg--b { background: var(--sand); border: 1px solid var(--line); color: var(--ink-soft); flex: 4; }
.tl-seg--spacer { flex: 2; }
.tl-seg--ra { background: rgba(174,27,48,.14); border: 1px solid rgba(174,27,48,.22); color: rgba(224,57,79,.9); width: 30%; }
.tl-seg--rb { background: var(--clay); color: #fff; width: 33%; }
.tl-sum { font-size: 0.84rem; font-weight: 600; text-align: right; white-space: nowrap; }
.tl-row--trad .tl-sum { color: var(--ink-mute); }
.tl-row--rivela .tl-sum { color: var(--accent-glow); font-size: 0.96rem; }
.tl-note { font-size: 0.82rem; color: var(--ink-mute); margin-top: 12px; max-width: 56ch; }

/* ---- FAQ categories ---- */
.faq-category { margin-top: clamp(44px,6vw,72px); }
.faq-category:first-child { margin-top: 0; }
.faq-cat-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--clay); margin-bottom: clamp(18px,2.5vw,26px); display: flex; align-items: center; gap: 12px; }
.faq-cat-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============================================================
   MOBILE MENU — Samara-style frosted panel (icon rows + expandable
   Designs group + dividers + Enquire CTA). Anchored top-right under the
   hamburger, which morphs to an ✕. Reuses the header's frosted-glass
   language; keeps Rivela's own palette (white ground, cardinal accent).
   ============================================================ */
.mobile-menu {
  position: fixed; top: 70px; right: var(--pad); z-index: 120;
  width: min(284px, calc(100vw - 32px));
  display: flex; flex-direction: column;
  padding: 10px 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(20,17,11,0.06), 0 20px 54px -18px rgba(20,17,11,0.36);
  transform-origin: top right;
  opacity: 0; transform: scale(0.94) translateY(-8px);
  transition: opacity .26s cubic-bezier(.22,1,.36,1), transform .42s cubic-bezier(.22,1,.36,1);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu[hidden] { display: none; }

.mm-item {
  display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 46px; padding: 8px 16px;
  font-family: inherit; font-size: 1.06rem; font-weight: 400;
  letter-spacing: -0.02em; text-align: left; color: var(--ink);
  background: none; border-radius: 12px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.mm-item:hover, .mm-item.active { background: var(--paper-2); }
.mm-item.active { color: var(--clay); }
.mm-ic { width: 19px; height: 19px; flex: none; opacity: .85; }
.mm-item.active .mm-ic { color: var(--clay); opacity: 1; }
.mm-label { flex: 1; }
.mm-chev { width: 18px; height: 18px; flex: none; opacity: .48; transition: transform .32s cubic-bezier(.22,1,.36,1); }
.mm-expand[aria-expanded="true"] .mm-chev { transform: rotate(180deg); }

/* Designs submenu — grid-rows height animation (no layout jank) */
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s cubic-bezier(.22,1,.36,1); }
.mm-sub.is-open { grid-template-rows: 1fr; }
.mm-sub-inner { overflow: hidden; }
.mm-subitem {
  display: block; padding: 9px 16px 9px 49px;
  font-size: 0.98rem; color: var(--ink-soft); border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.mm-subitem:hover, .mm-subitem.active { color: var(--clay); background: var(--paper-2); }

.mm-sep { height: 1px; background: var(--line); margin: 8px 12px; }

.mm-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 9px 6px 4px; padding: 13px 20px;
  background: var(--clay); color: #fff; border-radius: 100px;
  font-size: 1.02rem; font-weight: 500; letter-spacing: -0.01em;
  transition: background .2s ease;
}
.mm-cta:hover { background: #97162a; }
.mm-cta svg { width: 18px; height: 18px; }

.mobile-menu-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(20, 17, 11, 0.12);
  opacity: 0; transition: opacity .3s ease;
}
.mobile-menu-scrim.is-open { opacity: 1; }
.mobile-menu-scrim[hidden] { display: none; }

/* hamburger → ✕ morph + hide the Enquire pill while open (✕ remains) */
body.menu-open .nav-toggle span:nth-child(1) { top: 8px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 8px; transform: rotate(-45deg); }
body.menu-open .nav-cta .btn--clay { opacity: 0; transform: scale(.96); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
body.menu-open { overflow: hidden; }

@media (min-width: 881px) {
  .mobile-menu, .mobile-menu-scrim { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: opacity .12s ease; transform: none; }
  .mobile-menu.is-open { transform: none; }
  .mm-sub, .mm-chev, .mobile-menu-scrim { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .split, .cols-2, .cols-3, .config { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero__lower { align-items: center; gap: 16px; }
  .hero__headline, .hero__overlay { display: none; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-open__headline, .cta-open__sub, .cta-open__link { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .stats { gap: 24px; }
}

/* ============================================================
   APPROVAL CYCLE  - radial TOTO-style diagram: the 4 approval
   steps orbiting a moody home shot, anchored by Certicorp.
   ============================================================ */
.cycle {
  position: relative;
  color: var(--on-night);
  overflow: hidden;
  isolation: isolate;
}
.cycle__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url("../img/approval-cladding.webp");
  background-size: cover; background-position: center;
  filter: grayscale(.35) brightness(.34) contrast(1.05);
}
.cycle__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 46%, rgba(36,10,16,.35) 0%, rgba(10,4,6,.86) 62%, #060203 100%),
    linear-gradient(180deg, rgba(6,2,3,.7) 0%, transparent 22% 80%, rgba(6,2,3,.92) 100%);
}
.cycle__stage {
  position: relative;
  width: min(86vw, 760px);
  aspect-ratio: 1 / 1;
  margin: clamp(48px, 8vw, 96px) auto clamp(24px, 4vw, 48px);
}
.cycle__arrows { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cycle__arrows path { fill: none; stroke: rgba(243,239,227,.26); stroke-width: 2; stroke-linecap: round; }
.cycle__core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  text-align: center; width: min(58%, 340px);
}
.cycle__eyebrow {
  font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.cycle__title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 300; line-height: 1.0;
  letter-spacing: -.03em; margin-top: .5em; text-wrap: balance;
}
.cycle__sub { font-size: .9rem; color: var(--on-night-s); margin-top: .9em; }
.cycle__node { position: absolute; width: clamp(150px, 20vw, 188px); text-align: center; }
.cycle__node--n { top: 0;    left: 50%; transform: translateX(-50%); }
.cycle__node--e { right: 0;  top: 50%;  transform: translateY(-50%); }
.cycle__node--s { bottom: 4%; left: 50%; transform: translateX(-50%); }
.cycle__node--w { left: 0;   top: 50%;  transform: translateY(-50%); }
.cycle__ico { width: 34px; height: 34px; margin: 0 auto 12px; color: var(--on-night); }
.cycle__ico svg { width: 100%; height: 100%; display: block; }
.cycle__step { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-night-s); margin-bottom: 8px; }
.cycle__act  { font-size: .92rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; line-height: 1.18; }
.cycle__det  { font-size: .8rem; color: var(--on-night-s); margin-top: .45em; line-height: 1.35; }
.cycle__node--end .cycle__ico { color: var(--accent-glow); }
.cycle__node--end .cycle__act { color: var(--accent-glow); }
.cycle__dot { display: none; }
.cycle__brand {
  text-align: center; padding: clamp(20px, 3vw, 30px) 20px clamp(40px, 6vw, 72px);
  border-top: 1px solid rgba(243,239,227,.1);
}
.cycle__brand small { display:block; font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color: var(--on-night-s); margin-bottom: 12px; }
.cycle__brand img { height: clamp(40px, 5vw, 54px); width: auto; margin: 0 auto; opacity: .96; }

@media (max-width: 760px) {
  .cycle__stage { width: 100%; aspect-ratio: auto; margin: 8px 0 24px; display: flex; flex-direction: column; gap: 30px; padding-inline: var(--pad); }
  .cycle__arrows { display: none; }
  .cycle__core { position: static; transform: none; width: 100%; margin-bottom: 8px; }
  .cycle__node { position: static; transform: none; width: 100%; text-align: center; }
}

/* ============================================================
   WHY BUILD A SECOND HOME — interactive site plan (index + about)
   Floating cream card on a tinted band, four reasons connect to
   the granny flat; hover/click a reason to highlight it.
   ============================================================ */
/* Native section — full-bleed, on a subtly darker shade than the paper above it. */
#why { background: var(--paper-alt); }
.why2-head { text-align: center; }
.why2-eyebrow { display: inline-flex; align-items: center; gap: 11px; color: var(--clay); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.why2-eyebrow i { width: 28px; height: 1.5px; background: var(--clay); display: inline-block; }
.why2-h2 { margin: 18px 0 0; font-size: clamp(2.3rem, 4.6vw, 58px); line-height: 0.98; font-weight: 700; letter-spacing: -0.028em; color: var(--ink); }
.why2-sub { margin: 18px auto 0; max-width: 470px; font-size: 16.5px; line-height: 1.5; color: var(--ink-soft); }

.why2-diagram { position: relative; width: 100%; max-width: 1180px; margin: clamp(24px, 3.4vw, 40px) auto 0; aspect-ratio: 1120 / 600; }
.why2-render { position: absolute; left: 23%; top: 11%; width: 54%; height: 78%; border-radius: 6px; overflow: hidden; background: repeating-linear-gradient(135deg, rgba(184,146,79,0.12) 0 11px, rgba(184,146,79,0.04) 11px 22px); border: 1px solid rgba(184,146,79,0.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; }
.why2-render .cap { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(20,17,11,0.40); text-align: center; padding: 0 12px; }
.why2-render .cap2 { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11.5px; color: rgba(20,17,11,0.30); }
.why2-gf { position: absolute; left: 58.1%; top: 26%; width: 6.96%; height: 10.5%; border: 1.5px solid var(--clay); background: rgba(174,27,48,0.10); border-radius: 3px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(174,27,48,0.16); pointer-events: none; }
.why2-gf span { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 9px; font-weight: 600; letter-spacing: 0.1em; color: var(--clay); text-align: center; line-height: 1.3; }
.why2-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.why2-line { stroke: rgba(184,146,79,0.4); stroke-width: 1.3; transition: stroke .3s ease, stroke-width .3s ease; }
.why2-line.on { stroke: var(--clay); stroke-width: 2.2; }
.why2-dot { fill: rgba(184,146,79,0.4); r: 4; transition: fill .3s ease, r .3s ease; }
.why2-dot.on { fill: var(--clay); r: 5; }
.why2-hit { stroke: transparent; stroke-width: 22; cursor: pointer; }

.why2-label { position: absolute; width: 21%; cursor: pointer; }
.why2-label.tl { left: 0; top: 1.4%; }
.why2-label.tr { right: 0; top: 1.4%; text-align: right; }
.why2-label.bl { left: 0; bottom: 1.4%; }
.why2-label.br { right: 0; bottom: 1.4%; text-align: right; }
.why2-num { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: var(--gold); transition: color .25s; }
.why2-title { margin-top: 8px; font-size: clamp(1.3rem, 1.9vw, 25px); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); transition: color .25s; }
.why2-desc { margin-top: 5px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); transition: color .25s; }
.why2-label.on .why2-num, .why2-label.on .why2-title { color: var(--clay); }
.why2-label.on .why2-desc { color: rgba(20,17,11,0.72); }
.why2-note { text-align: center; font-size: 0.82rem; color: var(--ink-mute); margin-top: 16px; }

.why2-mobile { display: none; }
@media (max-width: 860px) {
  .why2-diagram { display: none; }
  .why2-h2 { font-size: 38px; line-height: 0.98; }
  .why2-mobile { display: block; margin-top: 22px; }
  .why2-mob-plan { display: flex; justify-content: center; margin: 0 0 14px; }
  .why2-rows { display: flex; flex-direction: column; gap: 3px; }
  .why2-row { display: flex; gap: 15px; align-items: flex-start; padding: 15px 18px; border-radius: 7px; cursor: pointer; box-shadow: inset 1px 0 0 rgba(184,146,79,0.4); transition: background .25s, box-shadow .25s; }
  .why2-row.on { background: rgba(174,27,48,0.06); box-shadow: inset 3px 0 0 var(--clay); }
  .why2-row .rn { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--gold); padding-top: 3px; transition: color .25s; }
  .why2-row.on .rn { color: var(--clay); }
  .why2-row .rt { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); transition: color .25s; }
  .why2-row.on .rt { color: var(--clay); }
  .why2-row .rd { margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--ink-soft); transition: color .25s; }
  .why2-row.on .rd { color: rgba(20,17,11,0.70); }
}
@media (prefers-reduced-motion: reduce) {
  .why2-line, .why2-dot, .why2-num, .why2-title, .why2-desc, .why2-row, .why2-row .rn, .why2-row .rt, .why2-row .rd { transition: none; }
}

/* ============================================================
   MODEL PAGES — image placeholders + Samara-style tech specs
   ============================================================ */
.ph { position: relative; background: repeating-linear-gradient(135deg, rgba(184,146,79,0.10) 0 11px, rgba(184,146,79,0.03) 11px 22px); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph > span { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); text-align: center; padding: 0 16px; }
.imgcard h3 { margin-top: 14px; }
.imgcard p { margin-top: 4px; }

.techspec-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(20px, 3vw, 44px); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 22px 0; }
.techspec-top .k { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; display: block; }
.techspec-top .v { font-size: clamp(1.28rem, 1.7vw, 1.5rem); letter-spacing: -.02em; margin-top: 5px; display: block; }
.techspec-group { display: grid; grid-template-columns: minmax(130px, 190px) 1fr; gap: clamp(18px, 4vw, 56px); padding: clamp(26px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.techspec-group > h3 { font-size: clamp(1.18rem, 1.7vw, 1.5rem); font-weight: 300; letter-spacing: -.025em; }
.techspec-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 44px; }
.techspec-item .k { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; display: block; }
.techspec-item .v { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--ink); margin-top: 3px; display: block; line-height: 1.45; }
@media (max-width: 680px) { .techspec-group { grid-template-columns: 1fr; gap: 14px; } }

/* image scene cards — label overlaid in the picture (Samara-style) */
.scene-card { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: repeating-linear-gradient(135deg, rgba(184,146,79,0.14) 0 11px, rgba(184,146,79,0.05) 11px 22px); border: 1px solid var(--line); }
.scene-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,11,0.46) 0%, rgba(20,17,11,0) 42%); pointer-events: none; }
.scene-label { position: absolute; top: 20px; left: 22px; z-index: 2; color: #fff; font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 600; letter-spacing: -0.01em; text-shadow: 0 1px 10px rgba(0,0,0,0.28); }

/* ===== Smooth page transitions (JS-driven fade; works in every browser) ===== */
main { animation: rv-page-in .5s cubic-bezier(.16,1,.3,1) both; }
@keyframes rv-page-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
body.is-leaving main { animation: rv-page-out .28s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes rv-page-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { main, body.is-leaving main { animation: none !important; } }

/* Section kickers removed (option H) — headlines carry the section; no templated eyebrow. */
.eyebrow, .why2-eyebrow { display: none; }

/* Model-page hero spec line — real info (beds/size/price) as plain text, not a kicker. */
.model-meta { margin-top: 16px; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--ink-soft); font-weight: 500; letter-spacing: -0.01em; }

/* ============================================================
   How it works — "Why it's faster" parallel build timeline
   (Rivela 8-week track vs traditional ~26 weeks, on a compare toggle)
   ============================================================ */
.fast-section { padding-top: clamp(88px, 10vh, 132px); }
.fast-wrap { max-width: 1360px; }
.fast__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-top: 22px; }
.fast__title { flex: 1 1 520px; margin: 0; font-size: clamp(3rem, 7vw, 5.6rem); line-height: 0.94; letter-spacing: -0.03em; font-weight: 300; color: var(--ink); }
.fast__head p { flex: 0 1 400px; min-width: 280px; font-size: clamp(1.06rem, 1.4vw, 1.28rem); }

.fast__toggle { display: inline-flex; margin-top: 34px; padding: 5px; background: rgba(20,17,11,0.05); border-radius: 999px; gap: 4px; }
.fast__tab { padding: 11px 22px; border-radius: 999px; font: 600 0.95rem/1 var(--font); color: var(--ink-soft); transition: background .25s, color .25s; white-space: nowrap; }
.fast__tab.is-active { background: var(--ink); color: var(--paper); }

.fast__scroll { position: relative; margin-top: 30px; }
/* height adapts to mode: compact for the Rivela track, expands for the compare track */
.fast__timeline { position: relative; height: 200px; width: 100%; transition: height .55s cubic-bezier(.45,0,.15,1); }
.fast__timeline.is-compare { height: 430px; }

.fast__grid { position: absolute; top: 80px; width: 1px; height: 112px; background: rgba(184,146,79,0.25); transition: all .55s cubic-bezier(.45,0,.15,1); }
.fast__timeline.is-compare .fast__grid { height: 205px; }

.fast__bar { position: absolute; left: 0; height: 9px; border-radius: 5px; transform: translateY(-50%); z-index: 1; top: 120px; transition: all .55s cubic-bezier(.45,0,.15,1); }
.fast__bar--riv { background: var(--clay); }
.fast__bar--trad { background: rgba(20,17,11,0.2); }

.fast__branch { position: absolute; left: 0; height: 6px; background: var(--clay); opacity: .45; border-radius: 5px; z-index: 1; transition: all .55s cubic-bezier(.45,0,.15,1); }
.fast__riser { position: absolute; width: 2px; height: 32px; background: rgba(174,27,48,.45); transition: all .55s cubic-bezier(.45,0,.15,1); }

.fast__rail-label { position: absolute; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: all .55s cubic-bezier(.45,0,.15,1); pointer-events: none; }
.fast__rail-label--factory { color: rgba(20,17,11,.5); }
.fast__rail-label--onsite { color: var(--clay); }

.fast__cap { position: absolute; left: 0; white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .14em; transition: all .55s cubic-bezier(.45,0,.15,1); }
.fast__cap--riv { color: var(--clay); }
.fast__cap--trad { color: rgba(20,17,11,.55); }

.fast__keys-line { position: absolute; width: 0; border-left: 2px dashed var(--clay); z-index: 2; transition: all .55s cubic-bezier(.45,0,.15,1); }
.fast__keys-dot { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--clay); border: 2px solid var(--paper); box-shadow: 0 0 0 4px rgba(174,27,48,.18); transform: translate(-50%,-50%); z-index: 4; transition: all .55s cubic-bezier(.45,0,.15,1); }
.fast__keys-label { position: absolute; max-width: 200px; font-size: 13px; line-height: 1.45; font-weight: 600; color: var(--clay); pointer-events: none; transition: all .55s cubic-bezier(.45,0,.15,1); }

.fast__riv-label { position: absolute; transform: translateX(-50%) translateY(-100%); white-space: nowrap; font-size: 16px; font-weight: 600; color: var(--ink); pointer-events: none; transition: color .2s ease, opacity .45s ease, left .55s cubic-bezier(.45,0,.15,1); }
.fast__riv-label.is-active { color: var(--clay); }
.fast__wk { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--gold); margin-bottom: 4px; }

.fast__dot { position: absolute; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--clay); color: var(--clay); display: flex; align-items: center; justify-content: center; font: 700 14px/1 var(--font); letter-spacing: .03em; cursor: pointer; z-index: 5; box-shadow: 0 0 0 5px var(--paper), 0 6px 16px rgba(174,27,48,0); transition: background .2s ease, color .2s ease, box-shadow .3s ease, left .55s cubic-bezier(.45,0,.15,1); }
.fast__dot.is-active { background: var(--clay); color: var(--paper); box-shadow: 0 0 0 0 var(--paper), 0 8px 22px rgba(174,27,48,.34); }

.fast__trad-dot { position: absolute; transform: translate(-50%,-50%); width: 14px; height: 14px; border-radius: 50%; background: rgba(20,17,11,.5); border: 2px solid var(--paper); z-index: 3; transition: all .55s cubic-bezier(.45,0,.15,1); }
.fast__trad-dot.is-key { background: var(--clay); }
.fast__trad-label { position: absolute; transform-origin: left top; transform: rotate(40deg); white-space: nowrap; font-size: 15px; font-weight: 600; color: rgba(20,17,11,.82); pointer-events: none; transition: all .55s cubic-bezier(.45,0,.15,1); }
.fast__trad-label.is-key { font-weight: 700; color: #9a1729; }

.fast__detail { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; align-items: stretch; }
.fast__imgwrap { position: relative; flex: 1 1 470px; min-width: 300px; height: 340px; border-radius: 14px; overflow: hidden; background: rgba(20,17,11,.04); }
.fast__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .45s ease; }
.fast__imgtag { position: absolute; left: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(20,17,11,.72); color: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: .02em; z-index: 3; pointer-events: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.fast__cards { flex: 1 1 320px; min-width: 300px; display: flex; flex-direction: column; gap: 18px; }
.fast__card { flex: 1; display: flex; gap: 18px; align-items: flex-start; padding: 28px 30px; background: #fff; border: 1px solid rgba(184,146,79,.35); border-radius: 12px; }
.fast__card-num { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--clay); padding-top: 5px; }
.fast__card-title { font-size: 24px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.fast__card-desc { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.fast__takeaway { padding: 24px 26px; background: var(--night); border-radius: 10px; opacity: 0; transform: translateY(6px); transition: all .4s; pointer-events: none; }
.fast__takeaway.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fast__takeaway-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.fast__takeaway-text { margin-top: 8px; font-size: 17px; line-height: 1.4; color: var(--paper); font-weight: 500; }

@media (max-width: 760px) {
  .fast__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .fast__timeline { min-width: 880px; }
}
@media (prefers-reduced-motion: reduce) {
  .fast__timeline *, .fast__takeaway, .fast__img { transition: none !important; }
}

/* Timeline steps — larger text to match the page scale */
.step h3 { font-size: clamp(1.34rem,1.9vw,1.68rem); }
.step .muted { font-size: clamp(1.16rem,1.5vw,1.36rem); line-height: 1.5; }
.step { gap: 26px; }


/* "No site chaos" — diagonal-split photo cards */
.chaos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.chaos-card { position: relative; border-radius: 16px; overflow: hidden; min-height: clamp(680px, 76vh, 880px); background: rgba(20,17,11,0.05); }
.chaos-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.chaos-card__ph { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, rgba(184,146,79,0.14) 0 11px, rgba(184,146,79,0.05) 11px 22px); }
.chaos-card__ph span { font-family: ui-monospace,'SF Mono',Menlo,monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.chaos-card__edge { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: var(--clay); clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%); transform: translateY(-4px); z-index: 2; }
.chaos-card__panel { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: var(--paper); clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%); z-index: 3; padding: 48px 30px 32px; display: flex; flex-direction: column; justify-content: flex-end; }
.chaos-idx { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--clay); }
.chaos-title { font-size: 30px; font-weight: 300; letter-spacing: -.015em; color: var(--ink); margin-top: 9px; }
.chaos-body { font-size: 18px; line-height: 1.5; color: rgba(20,17,11,0.6); margin-top: 11px; }
@media (max-width: 720px) { .chaos-grid { grid-template-columns: 1fr; } .chaos-card { min-height: 440px; } }

/* ============================================================
   Designs page — range sections ("Same standard" band + "What's included")
   ============================================================ */
/* full-bleed dark section (fills the whole section, not a contained card) */
.range-section { position: relative; overflow: hidden;
  background:
    radial-gradient(130% 150% at 85% 8%, rgba(174,27,48,0.55) 0%, rgba(174,27,48,0) 46%),
    radial-gradient(110% 130% at 5% 100%, rgba(174,27,48,0.4) 0%, rgba(174,27,48,0) 44%),
    linear-gradient(135deg, #2c0b12 0%, #1a0709 100%); }
.range-band__eyebrow { display: inline-flex; align-items: center; gap: 11px; color: #E0876F; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.range-band__eyebrow::before { content: ""; width: 26px; height: 1.5px; background: #E0876F; }
.range-band__title { margin: 20px 0 0; font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: 1; font-weight: 300; letter-spacing: -.035em; color: #F9F5EA; max-width: 760px; }
.range-guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); }
.range-guarantee { padding-left: 36px; padding-right: 40px; border-left: 1px solid rgba(224,135,111,.22); }
.range-guarantee svg { width: 42px; height: 42px; color: #E0876F; }
.range-guarantee__t { margin-top: 26px; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 300; letter-spacing: -.025em; color: #F9F5EA; }
.range-guarantee__d { margin-top: 14px; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; color: rgba(249,245,234,.62); }
@media (max-width: 760px) { .range-guarantees { grid-template-columns: 1fr; gap: 30px; } .range-guarantee { padding-right: 0; } }

.range-incl__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.range-incl__title { margin: 14px 0 0; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1; font-weight: 300; letter-spacing: -.026em; color: var(--ink); }
.range-incl__sub { margin: 0; flex: 0 1 360px; min-width: 280px; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }

.range-compare { display: flex; align-items: flex-start; gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.range-compare__labels { flex: 1.7; min-width: 200px; }
.range-compare__spacer { height: 172px; }
.range-compare__rowlabel { height: 54px; display: flex; align-items: center; border-top: 1px solid rgba(184,146,79,.2); font-size: 14.5px; font-weight: 500; color: var(--ink); }
.range-col { flex: 1; min-width: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(184,146,79,.28); transition: transform .25s ease, box-shadow .25s ease; }
.range-col:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(20,17,11,.13); }
.range-col--hi { background: rgba(174,27,48,.05); border: 1.5px solid rgba(174,27,48,.32); }
.range-col__head { height: 172px; padding: 18px 18px 14px; position: relative; }
.range-col__badge { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--clay); color: #F9F5EA; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.range-col__photo { height: 80px; border-radius: 10px; overflow: hidden; background: rgba(20,17,11,.05); margin-bottom: 12px; }
.range-col__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.range-col__name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.range-col__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; gap: 8px; }
.range-col__size { font-size: 13px; color: rgba(20,17,11,.5); }
.range-col__price { font-size: 13.5px; font-weight: 600; color: var(--clay); white-space: nowrap; }
.range-col__cell { height: 54px; display: flex; align-items: center; justify-content: center; border-top: 1px solid rgba(184,146,79,.18); }
.range-yes { font-size: 17px; font-weight: 700; color: var(--clay); }
.range-no { font-size: 16px; font-weight: 400; color: rgba(20,17,11,.25); }
@media (max-width: 760px) {
  .range-compare { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .range-compare__labels { flex: none; width: 168px; min-width: 168px; }
  .range-col { flex: none; width: 130px; }
}

/* ===== Yield Calculator (yc-*) - shared: homepage + product pages ===== */
.yc-section { background: var(--paper); }
.yc-section .wrap { max-width: none; padding-inline: clamp(12px, 1.8vw, 20px); }
.yc-tray { border-radius: 20px; padding: clamp(32px, 4.5vw, 56px); background: var(--paper-2); border: 1px solid var(--line); max-width: 1800px; margin-inline: auto; }
.yc-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(32px, 4vw, 56px); align-items: stretch; }
.yc-left { display: flex; flex-direction: column; }

/* Headline + sub */
.yc-headline { margin: 0; font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: 0.96; font-weight: 300; letter-spacing: -0.04em; color: var(--ink); }
.yc-sub { margin: 18px 0 0; max-width: 420px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ink-soft); }

/* Inputs */
.yc-inputs { margin-top: 38px; display: flex; gap: 28px; flex-wrap: wrap; }
.yc-field-suburb { flex: 1 1 240px; min-width: 220px; }
.yc-field-model { flex: 0 1 200px; }
.yc-label { display: block; font-size: clamp(0.78rem, 0.9vw, 0.86rem); font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(20,17,11,0.5); margin-bottom: 10px; }
.yc-input {
  width: 100%; padding: 15px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font-family: inherit; font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 400;
  box-sizing: border-box; transition: border-color .2s, box-shadow .2s;
}
.yc-input::placeholder { color: var(--ink-mute); }
.yc-input:focus { outline: none; border-color: rgba(174,27,48,0.55); }
.yc-input:focus-visible { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(174,27,48,0.16); }

/* Autocomplete */
.yc-ac-wrap { position: relative; }
.yc-ac-drop {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  max-height: 230px; overflow-y: auto; box-shadow: 0 14px 36px rgba(20,17,11,0.12);
  display: none;
}
.yc-ac-drop.open { display: block; }
.yc-ac-item {
  padding: 12px 18px; font-size: 1rem; color: var(--ink); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line-2);
}
.yc-ac-item:last-child { border-bottom: none; }
.yc-ac-item:hover,
.yc-ac-item.is-focused { background: rgba(174,27,48,0.08); }
.yc-ac-pc { color: var(--ink-mute); font-size: 0.85rem; }
.yc-ac-empty { padding: 12px 18px; font-size: 0.9rem; color: var(--ink-mute); }

/* Model toggle - pill, matches .btn language */
.yc-model-btns { display: flex; gap: 9px; }
.yc-model-btn {
  padding: 11px 18px; border-radius: 999px; cursor: pointer; font-family: inherit;
  font-size: 14px; font-weight: 500; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
}
.yc-model-btn:hover { border-color: var(--ink); }
.yc-model-btn.is-active { background: var(--clay); border-color: var(--clay); color: var(--paper); }
.yc-model-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(174,27,48,0.22); }

/* Numbers */
.yc-numbers { container-type: inline-size; margin-top: auto; padding-top: 44px; }

/* Stat cards - values stay one line via container-query sizing.
   Tidy 2+1: rent pair on top, yield spans full width as the hero; collapses to
   1-col only when the numbers area is genuinely narrow (never overflows). */
.yc-stat-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@container (min-width: 400px) {
  .yc-stat-row { grid-template-columns: 1fr 1fr; }
  .yc-stat--yield { grid-column: 1 / -1; }
}
.yc-stat {
  container-type: inline-size;
  padding: 18px 20px; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--line);
}
.yc-stat--yield { background: rgba(174,27,48,0.06); border-color: rgba(174,27,48,0.24); }
.yc-stat__label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(20,17,11,0.5); }
.yc-stat--yield .yc-stat__label { color: var(--clay); }
.yc-stat__val {
  margin-top: 12px; line-height: 1; font-weight: 300; letter-spacing: -0.03em; color: var(--ink);
  white-space: nowrap; font-variant-numeric: tabular-nums;
  font-size: clamp(19px, 11cqi, 29px);
}
.yc-stat--yield .yc-stat__val { color: var(--clay); font-size: clamp(21px, 12cqi, 32px); }
.yc-stat__val.is-updating { animation: yc-val-in 190ms cubic-bezier(.2,.7,.2,1); }
@keyframes yc-val-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Above/below-band caveat - quiet clay chip, never celebratory */
.yc-note {
  display: none; align-items: flex-start; gap: 9px;
  margin: 16px 0 0; padding: 9px 14px; max-width: 520px;
  border-radius: 10px; background: rgba(174,27,48,0.05); border: 1px solid rgba(174,27,48,0.16);
  font-size: 0.82rem; line-height: 1.5; color: var(--ink-soft);
}
.yc-note.is-on { display: flex; }
.yc-note::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.5em; border-radius: 50%; background: var(--clay); }

/* Compare - restrained data-viz */
.yc-compare { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.yc-compare__row { display: flex; flex-direction: column; gap: 6px; }
.yc-compare__label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(20,17,11,0.5); }
.yc-compare__track { display: block; height: 7px; border-radius: 999px; background: rgba(20,17,11,0.08); overflow: hidden; }
.yc-compare__bar { display: block; height: 100%; border-radius: 999px; width: 0; transition: width .5s ease-out; }
.yc-compare__bar--rivela { background: var(--clay); }
.yc-compare__bar--house { background: rgba(20,17,11,0.32); }

/* Payline / basis / fine - quiet descending hierarchy */
.yc-payline { margin: 18px 0 0; font-size: 0.9rem; line-height: 1.55; color: rgba(20,17,11,0.7); max-width: 520px; }
.yc-basis { margin: 7px 0 0; font-size: 0.82rem; line-height: 1.55; color: rgba(20,17,11,0.55); max-width: 520px; }
.yc-fine { margin: 12px 0 0; font-size: 0.8rem; line-height: 1.55; color: rgba(20,17,11,0.45); max-width: 520px; }

/* Render column */
.yc-render-col { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; min-height: 0; background: var(--paper-2); border: 1px solid var(--line); }
.yc-render-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.yc-render-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,5,4,0.32) 0%, rgba(10,5,4,0) 40%); z-index: 1; pointer-events: none; }
.yc-chip {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 13px; padding: 13px 18px;
  border-radius: 14px; background: rgba(255,255,255,0.72); border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.yc-chip-model { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--clay); }
.yc-chip-info { margin-top: 4px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }

@media (max-width: 860px) {
  .yc-grid { grid-template-columns: 1fr; }
  .yc-render-col { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .yc-compare__bar { transition: none; }
  .yc-stat__val.is-updating { animation: none; }
  .yc-input, .yc-model-btn { transition: none; }
}
