:root {
  --forest: #1c3426;
  --moss: #2f5d3a;
  --brick: #a87859;
  --brick-dark: #7c5640;
  --gold: #c9a46a;
  --cream: #f6f1e7;
  --paper: #fbf9f4;
  --ink: #1f2320;
  --muted: #5f6460;
  --line: #e4ddcf;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(28, 52, 38, .12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* hidden always wins over component display rules */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.12; }
a { color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brick); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  padding: 14px 28px; border-radius: 999px; font: 600 .98rem var(--sans); letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
  box-shadow: 0 6px 20px rgba(168, 120, 89, .35);
}
.btn:hover { background: var(--brick-dark); transform: translateY(-2px); }
.btn:disabled { background: #b9b2a6; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.75); box-shadow: none; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn.full { width: 100%; }

.pills { display: inline-flex; flex-wrap: wrap; gap: 6px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.pills button { border: 0; background: transparent; color: var(--ink); padding: 10px 18px; border-radius: 999px; font: 600 .92rem var(--sans); cursor: pointer; transition: background .25s, color .25s; }
.pills button:hover { background: var(--cream); }
.pills button[aria-selected="true"] { background: var(--forest); color: #fff; }
.pills.small button { padding: 8px 14px; font-size: .85rem; }

.eyebrow { display: inline-block; font: 600 .75rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brick); }
.eyebrow.light { color: var(--gold); }
.note { color: var(--muted); font-style: italic; font-size: .92rem; }
.fine-dark { color: var(--muted); font-size: .8rem; margin-top: 14px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s; }
.site-header.scrolled { background: rgba(251, 249, 244, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 600 1.25rem var(--serif); transition: color .35s; }
.scrolled .logo { color: var(--forest); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: rgba(255,255,255,.92); text-decoration: none; font-weight: 500; font-size: .93rem; position: relative; transition: color .35s; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: currentColor; transition: right .3s var(--ease); }
.site-nav a:hover::after { right: 0; }
.scrolled .site-nav a { color: var(--ink); }
.nav-cta { background: var(--brick); color: #fff !important; padding: 9px 18px; border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: transform .3s, opacity .3s, background .35s; }
.nav-toggle span:nth-child(1) { top: 13px; } .nav-toggle span:nth-child(2) { top: 19px; } .nav-toggle span:nth-child(3) { top: 25px; }
.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Chapter dots ---------- */
.chapters { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 14px; }
.chapters a { width: 10px; height: 10px; border-radius: 50%; background: rgba(120,120,110,.35); position: relative; transition: background .3s, transform .3s; }
.chapters a.active { background: var(--brick); transform: scale(1.35); }
.chapters a::before { content: attr(data-label); position: absolute; right: 20px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .75rem; font-weight: 600; background: var(--forest); color: #fff; padding: 3px 9px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.chapters a:hover::before { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,24,17,.55) 0%, rgba(12,24,17,.05) 35%, rgba(12,24,17,.4) 60%, rgba(12,24,17,.95) 100%); }
.hero-content { position: relative; padding-bottom: 14vh; width: 100%; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #7ddc8b; box-shadow: 0 0 0 0 rgba(125,220,139,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(125,220,139,0); } 100% { box-shadow: 0 0 0 0 rgba(125,220,139,0); } }
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 6.2rem); font-weight: 300; margin: 18px 0 14px; }
.hero h1 .line { display: block; animation: rise 1.1s var(--ease) both; }
.hero h1 .line.accent { font-style: italic; color: #f0dcc0; animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 620px; opacity: .95; margin: 0 0 30px; animation: rise 1.1s .3s var(--ease) both; }
.lead .short, .tour-short { display: none; }
.hero-price { margin: -12px 0 28px; font-size: 1rem; letter-spacing: .02em; opacity: .95; animation: rise 1.1s .38s var(--ease) both; }
.hero-price b { font: 500 2rem var(--serif); color: #f0dcc0; margin-left: 6px; letter-spacing: 0; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; animation: rise 1.1s .45s var(--ease) both; }
.hero-actions .tour-btn { margin: 0; animation: none; }
.hero-by { font-size: .85rem; opacity: .82; margin: 22px 0 0; animation: rise 1.1s .55s var(--ease) both; }
.hero-by b { font-weight: 600; }
.hero-by a { text-decoration: none; }
.hero-by a b { text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
/* Hold hero motion while the logo intro is on screen, so visitors actually see it */
.intro .hero *, .intro .hero-media img { animation-play-state: paused !important; }
.hero-note { position: absolute; right: 18px; bottom: 24px; font-size: .7rem; opacity: .65; margin: 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Intro band ---------- */
.intro-band { background: var(--forest); color: #fff; padding: 90px 0 70px; }
.statement { font: 300 clamp(1.5rem, 3vw, 2.4rem)/1.35 var(--serif); max-width: 980px; margin: 0 0 56px; }
.statement em { color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.stats div { background: var(--forest); padding: 22px 14px; text-align: center; }
.stats strong { display: block; font: 500 clamp(1.5rem, 2.6vw, 2.2rem) var(--serif); color: #f0dcc0; }
.stats span { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--forest); color: #fff; }
.chapter-head { display: flex; gap: 26px; align-items: flex-start; margin-bottom: 40px; }
.chapter-head.compact { margin-bottom: 26px; }
.chapter-no { font: 300 clamp(2.6rem, 5vw, 4.2rem)/1 var(--serif); color: var(--brick); min-width: 1.6em; }
.dark .chapter-no { color: var(--gold); }
.chapter-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 4px 0 10px; }
.chapter-head p { margin: 0; color: var(--muted); max-width: 620px; font-size: 1.05rem; }
.dark .chapter-head p { color: rgba(255,255,255,.75); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Low down payment offer ---------- */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge.offer { background: linear-gradient(135deg, #e3c48d, var(--gold)); color: var(--forest); border-color: transparent; text-decoration: none; text-shadow: none; box-shadow: 0 6px 20px rgba(201,164,106,.45); animation: glow 2.8s ease-in-out infinite; }
.badge.offer b { font-size: 1.05rem; }
@keyframes glow { 50% { box-shadow: 0 6px 30px rgba(240,210,150,.85); } }
.nav-offer { color: var(--gold) !important; font-weight: 700 !important; }
.scrolled .nav-offer { color: var(--brick) !important; }

.own { background: radial-gradient(ellipse at 15% 0%, #fff7e6 0%, var(--cream) 55%); padding: 110px 0; overflow: hidden; }
.own-head { text-align: center; max-width: 820px; margin: 0 auto 50px; }
.own-head h2 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-weight: 300; margin: 10px 0 16px; color: var(--forest); }
.own-head .pct { font-weight: 700; font-style: italic; background: linear-gradient(135deg, var(--brick), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.own-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }
.ast, .fine-dark a, .calc .fine-dark a { color: var(--brick); text-decoration: none; font-weight: 700; }

.down-compare { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; align-items: end; max-width: 980px; margin: 0 auto 60px; }
.dc-tile { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; position: relative; }
.dc-pct { font: 600 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dc-cash { font: 500 clamp(1.8rem, 3.4vw, 2.6rem) var(--serif); color: var(--forest); }
.dc-bar { height: 120px; display: flex; align-items: flex-end; background: var(--cream); border-radius: 8px; overflow: hidden; }
.dc-bar i { display: block; width: 100%; height: 0; background: linear-gradient(var(--moss), var(--forest)); border-radius: 8px 8px 0 0; transition: height 1.4s var(--ease) .2s; }
.reveal.in .dc-bar i { height: var(--h); }
.dc-label { font-size: .88rem; color: var(--muted); }
.dc-tile.hero-tile { background: var(--forest); color: #fff; transform: translateY(-14px); box-shadow: 0 20px 50px rgba(28,52,38,.35); }
.dc-tile.hero-tile::before { content: "Woodlot advantage"; position: absolute; top: -12px; left: 22px; background: var(--gold); color: var(--forest); font: 700 .7rem var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.dc-tile.hero-tile .dc-pct, .dc-tile.hero-tile .dc-label { color: rgba(255,255,255,.8); }
.dc-tile.hero-tile .dc-cash { color: #f0dcc0; font-size: clamp(2.2rem, 4.2vw, 3.2rem); }
.dc-tile.hero-tile .dc-bar { background: rgba(255,255,255,.08); }
.dc-tile.hero-tile .dc-bar i { background: linear-gradient(#f0dcc0, var(--gold)); }
.dc-tile.old-way .dc-cash { text-decoration: line-through; text-decoration-color: var(--brick); text-decoration-thickness: 3px; color: #8d8a83; }
.dc-tile.old-way .dc-bar i { background: linear-gradient(#cfc7b8, #b5ab99); }
.dc-note { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: .85rem; margin: 4px 0 0; }

.rvo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); max-width: 1080px; margin: 0 auto; }
.rvo h3 { font-size: 1.7rem; margin: 6px 0 14px; }
.rvo-input { background: var(--forest); color: #fff; padding: 36px; }
.rvo-input .eyebrow { color: var(--gold); }
.rent-value output { font: 500 3.4rem var(--serif); color: #f0dcc0; }
.rent-value small { opacity: .7; margin-left: 6px; }
.rvo-input input[type=range] { width: 100%; accent-color: var(--gold); margin: 6px 0 26px; }
.rvo-own { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; display: grid; gap: 4px; }
.rvo-own span { font-size: .9rem; opacity: .85; }
.rvo-own strong { font: 500 2.4rem var(--serif); }
.rvo-own small { font-size: .78rem; opacity: .65; }
.own-diff { margin: 0; color: #f0dcc0; font-size: .95rem; }
.bar-label small { font-weight: 400; color: var(--muted); }
.rvo-chart { background: #fff; padding: 36px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label label" "bar bar" "val note"; gap: 6px 12px; margin-bottom: 26px; }
.bar-label { grid-area: label; font-weight: 600; }
.bar { grid-area: bar; height: 22px; background: var(--cream); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #c9c1b2, #a39a88); border-radius: 999px; transition: width .6s var(--ease); }
.own-row .bar i { background: linear-gradient(90deg, var(--moss), var(--gold)); }
.bar-row strong { grid-area: val; font: 500 1.9rem var(--serif); color: #8d8a83; }
.own-row strong { color: var(--forest); }
.bar-row em { grid-area: note; align-self: center; font-style: normal; font-weight: 700; color: #a39a88; }
.own-row em { color: var(--moss); }
.own-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
/* Architect credit (01 Architecture) */
.arch-credit { display: flex; align-items: center; gap: 26px; max-width: 760px; margin: -6px 0 34px; padding: 18px 26px 18px 18px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.arch-credit:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(28,52,38,.18); }
.arch-credit picture { flex: none; display: block; }
.arch-credit img { width: 92px; height: auto; }
.arch-credit-text { display: grid; gap: 3px; }
.arch-credit-text strong { font: 500 1.45rem var(--serif); color: var(--forest); line-height: 1.2; }
.arch-credit-text > span:not(.eyebrow) { font-size: .9rem; color: var(--muted); }
.arch-credit-text > span.arch-credit-link { color: var(--brick); font-weight: 600; margin-top: 4px; }

/* Preferred lender card */
.lender-card { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; max-width: 1080px; margin: 56px auto 0; padding: 30px 34px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.lender-brand img { width: 120px; height: auto; }
.lender-info h3 { font-size: 1.6rem; margin: 4px 0 8px; color: var(--forest); }
.lender-info p { margin: 0 0 14px; color: var(--muted); }
.lender-terms-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.lender-terms { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.lender-terms li { display: flex; align-items: baseline; gap: 6px; background: var(--cream); border-radius: 999px; padding: 6px 14px; font-size: .85rem; color: var(--muted); }
.lender-terms b { font: 600 1.15rem var(--serif); color: var(--forest); }
.lender-contact { display: grid; gap: 8px; min-width: 220px; padding-left: 30px; border-left: 1px solid var(--line); }
.lender-contact strong { font: 500 1.3rem var(--serif); color: var(--forest); }
.lender-contact span { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.lender-contact .btn { padding: 12px 18px; }
.btn-line { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); box-shadow: none; }
.btn-line:hover { background: var(--forest); color: #fff; }

/* Down payment chips in the estimator */
.down-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.down-field .lbl { font-size: .82rem; font-weight: 600; color: var(--muted); }
.down-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.down-chips button { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 16px; font: 700 .9rem var(--sans); cursor: pointer; color: var(--ink); }
.down-chips button.on { background: var(--forest); color: #fff; border-color: var(--forest); }
.down-chips button[data-pct="3"]::after { content: " ★"; color: var(--gold); }
.calc-result { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: end; }
.calc-result .cash { text-align: right; }
.calc-result .cash strong { font-size: 1.6rem; }
.calc-result small { grid-column: 1 / -1; }

.eho { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--forest); margin: 14px 0 0; }
.site-footer .financing { text-align: left; max-width: 900px; }

/* ---------- 01 Architecture ---------- */
.arch-controls { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.arch-stage { margin: 0; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.arch-render img { width: 100%; border-radius: 10px; aspect-ratio: 2 / 1; object-fit: cover; animation: fadein .6s var(--ease); }
.arch-svg svg { display: block; width: 100%; height: auto; border-radius: 10px; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.time-slider { display: flex; align-items: center; gap: 14px; justify-content: center; padding: 16px 0 4px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.time-slider input { width: min(360px, 60vw); accent-color: var(--brick); }
.arch-stage figcaption { color: var(--muted); font-size: .88rem; padding: 12px 6px 2px; }

/* ---------- 02 Floor plans ---------- */
.plan-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: start; }
.plan-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.plan-numbers div { background: #fff; border-radius: 12px; padding: 14px; text-align: center; }
.plan-numbers strong { display: block; font: 500 1.6rem var(--serif); color: var(--forest); }
.plan-numbers span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.room-card { background: var(--forest); color: #fff; border-radius: var(--radius); padding: 22px 24px; min-height: 120px; }
.room-card h3 { margin: 0 0 6px; color: #f0dcc0; font-size: 1.4rem; }
.room-card p { margin: 0; opacity: .9; }
.checks { list-style: none; padding: 0; margin: 24px 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.checks li { padding-left: 26px; position: relative; font-size: .95rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(-45deg); }
.plan-stage { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); text-align: center; }
.plan-svg svg { width: auto; max-width: 100%; height: min(70vh, 560px); margin: 16px auto 0; display: block; }
.room { cursor: pointer; outline: none; }
.room rect:first-of-type { transition: fill .2s; }
.room:hover rect:first-of-type, .room:focus rect:first-of-type { fill: #f3e4cf; }
.room.active rect:first-of-type { fill: #e7c9a3; }

/* ---------- 03 Find your home ---------- */
.find-controls { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.status-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0; font-size: .86rem; color: var(--muted); }
.status-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.find-layout { display: grid; grid-template-columns: 1.9fr 1fr; gap: 22px; align-items: start; }
.map-frame { background: #fff; border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.map-frame svg { display: block; width: 100%; height: auto; border-radius: 8px; }
.home { cursor: pointer; outline: none; transition: opacity .25s; }
.home rect { transition: filter .2s; }
.home:hover rect, .home:focus rect { filter: brightness(1.25); }
.home.active rect { fill: var(--gold) !important; }
.home.dim { opacity: .18; }
.home-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.home-card h3 { margin: 6px 0 8px; font-size: 1.6rem; color: var(--forest); }
.home-card h3 small { font: 400 .9rem var(--sans); color: var(--muted); margin-left: 4px; }
.status-chip { display: inline-block; margin: 0 0 14px; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; background: var(--c); }
.home-card dl { margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-card dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.home-card dd { margin: 0; font-weight: 600; }
.elev-mini svg { width: 100%; height: auto; border-radius: 8px; margin-bottom: 16px; }

/* ---------- 04 Community ---------- */
.community-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.c-img { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.c-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.c-img:hover img { transform: scale(1.04); }
.c-img figcaption { position: absolute; right: 10px; bottom: 8px; font-size: .7rem; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 6px; }
.c-img.big { grid-row: span 2; }
.c-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.c-list li { border-top: 1px solid rgba(255,255,255,.18); padding-top: 12px; color: rgba(255,255,255,.75); font-size: .95rem; }
.c-list strong { display: block; color: #fff; font: 500 1.15rem var(--serif); }

/* ---------- 05 Progress / 06 Calculator ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 10px 0 18px; display: flex; justify-content: space-between; gap: 10px; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #c8c0b0; }
.timeline li.done::before { background: var(--moss); border-color: var(--moss); }
.timeline li.active::before { background: var(--brick); border-color: var(--brick); box-shadow: 0 0 0 6px rgba(168,120,89,.2); }
.timeline span { font-weight: 600; }
.timeline em { font-style: normal; font-size: .8rem; color: var(--muted); }
.timeline li.active em { color: var(--brick); font-weight: 700; }
.calc { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.calc input, .calc select { font: 500 1rem var(--sans); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.calc input:focus, .calc select:focus { outline: none; border-color: var(--brick); }
.calc .inline { display: flex; align-items: center; gap: 10px; }
.calc input[type=range] { padding: 0; border: 0; background: none; accent-color: var(--brick); flex: 1; }
.calc output { font-weight: 600; color: var(--ink); font-size: .85rem; white-space: nowrap; }
.calc-result { grid-column: 1 / -1; background: var(--forest); color: #fff; border-radius: 12px; padding: 18px 20px; }
.calc-result span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.calc-result strong { display: block; font: 500 2.4rem var(--serif); color: #f0dcc0; }
.calc-result small { opacity: .8; }
.calc .fine-dark { grid-column: 1 / -1; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g-item { border: 0; padding: 0; background: #fff; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; font: inherit; text-align: left; box-shadow: 0 4px 18px rgba(0,0,0,.07); }
.g-item.wide { grid-column: span 2; grid-row: span 2; }
.g-item img, .g-item svg { display: block; width: 100%; height: 100%; min-height: 200px; object-fit: cover; transition: transform 1s var(--ease); }
.g-item svg { background: #eef0e8; }
.g-item:hover img, .g-item:hover svg { transform: scale(1.05); }
.g-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; width: 1300px; overflow: visible; }
dialog#lightbox::backdrop { background: rgba(10,16,12,.9); }
.lb-body img, .lb-body svg { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 10px; }
.lb-caption { color: #eee; text-align: center; margin: 12px 0 0; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; border-radius: 50%; width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; z-index: 2; }
.lb-close { top: -54px; right: 0; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: -22px; } .lb-nav.next { right: -22px; }

/* ---------- Location ---------- */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Register ---------- */
.register { background: radial-gradient(ellipse at top, #2a4a36, var(--forest) 70%); color: #fff; text-align: center; }
.register h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 8px 0 10px; }
.register p { color: rgba(255,255,255,.8); }
.lead-form { text-align: left; margin-top: 30px; display: grid; gap: 14px; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.8); }
.lead-form input, .lead-form select, .lead-form textarea { font: 500 1rem var(--sans); padding: 12px 14px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; }
.lead-form select option { color: var(--ink); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--gold); }
.lead-form .btn { justify-self: center; margin-top: 6px; }
.form-status { text-align: center; font-size: .9rem; margin: 0; }
.contact-line { margin-top: 26px; color: rgba(255,255,255,.75); }
.hp { display: none; }
.privacy { text-align: center; font-size: .78rem; opacity: .65; margin: 0; }
.form-thanks { text-align: center; padding: 30px 10px; border: 1.5px solid rgba(255,255,255,.25); border-radius: var(--radius); }
.form-thanks h3 { font-size: 2rem; margin: 0 0 6px; color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: #f8f7f2; color: var(--muted); padding: 56px 0 90px; text-align: center; font-size: .9rem; border-top: 4px solid var(--gold); }
.footer-logo { width: 260px; height: auto; margin: 0 auto 18px; }
.site-footer .fine { font-size: .76rem; opacity: .8; max-width: 760px; margin: 10px auto 0; }
.logo img { border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.scrolled .logo img { box-shadow: none; }

.mobile-cta { display: none; }

/* ---------- Immersive layer ---------- */
/* Brand intro */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--forest); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #f0dcc0; transition: opacity .6s var(--ease), visibility .6s; animation: preFailsafe .6s 3.9s forwards; }
.preloader img { border-radius: 50%; animation: preIn 1.5s var(--ease) both; box-shadow: 0 0 0 0 rgba(201,164,106,.5); }
.preloader span { font: 300 1.6rem var(--serif); letter-spacing: .3em; text-transform: uppercase; animation: preIn 1.5s .25s var(--ease) both; }
.preloader.done { opacity: 0; visibility: hidden; }
@keyframes preIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes preFailsafe { to { opacity: 0; visibility: hidden; } }

/* Scroll progress */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--brick)); transform-origin: 0 50%; transform: scaleX(0); }
.hero-media { will-change: transform; }

/* Word-by-word statement */
.statement .w { opacity: .18; transition: opacity .35s; }
.statement .w.on { opacity: 1; }

/* Blueprint ↔ Real */
.compare { position: relative; border-radius: 10px; overflow: hidden; --pos: 50%; user-select: none; }
.compare-real { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.compare-plan { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare.css-fallback .compare-plan { display: none; }
.compare.css-fallback::before { content: ""; position: absolute; inset: 0; background: url("../images/building-4unit.jpg") center / cover; filter: grayscale(1) invert(1) sepia(1) saturate(4) hue-rotate(180deg) contrast(1.2); clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.4); z-index: 2; pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--forest); display: grid; place-items: center; font-weight: 700; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.compare-tag { position: absolute; top: 14px; z-index: 2; font: 700 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.compare-tag.left { left: 14px; } .compare-tag.right { right: 14px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }

/* Explore from above */
.explore { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.explore > img { width: 100%; display: block; }
.spots { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 2000 / 1007; }
.spot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid #fff; background: rgba(201,164,106,.92); color: var(--forest); font: 700 .85rem var(--sans); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: transform .25s var(--ease), background .25s; }
.spot::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(240,220,192,.9); animation: ring 2.2s ease-out infinite; }
.spot:hover, .spot.active { transform: scale(1.18); background: #fff; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
.spot-card { position: absolute; right: 20px; bottom: 20px; width: min(380px, calc(100% - 40px)); background: rgba(16,32,23,.78); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 20px 22px; color: #fff; transition: transform .4s var(--ease); }
.spot-card h3 { margin: 4px 0 6px; font-size: 1.45rem; color: #f0dcc0; }
.spot-card p { margin: 0; font-size: .93rem; color: rgba(255,255,255,.85); }
.spot-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
.spot-link { color: var(--gold); font-weight: 600; text-decoration: none; }
.spot-next { margin-left: auto; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; border-radius: 999px; padding: 7px 14px; font: 600 .85rem var(--sans); cursor: pointer; }
.spot-next:hover { background: rgba(255,255,255,.15); }
.explore-note { position: absolute; right: 10px; top: 10px; font-size: .7rem; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 6px; }
.community-grid { grid-template-columns: 1fr 1fr; }

/* Saved homes */
.card-actions { display: flex; gap: 10px; }
.card-actions .btn { flex: 1; padding-left: 16px; padding-right: 16px; }
.save-home { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 0 16px; font: 700 .9rem var(--sans); color: var(--brick); cursor: pointer; white-space: nowrap; }
.save-home[aria-pressed="true"] { background: #fff0f2; border-color: #f2a7b3; color: #d6455d; }
.home.saved rect { stroke: #ff6b81; stroke-width: 2.4; }
.saved-pill, .concierge-btn { position: fixed; z-index: 46; border: 0; cursor: pointer; font: 700 .9rem var(--sans); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.saved-pill { left: 22px; bottom: 86px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px; }
.saved-pill .heart { color: #d6455d; }
.saved-pill b { background: var(--forest); color: #fff; border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.saved-pill.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.18); } }
.saved-panel { position: fixed; left: 22px; bottom: 140px; z-index: 47; width: 300px; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.25); padding: 16px; }
.saved-panel header { display: flex; justify-content: space-between; align-items: center; }
.saved-panel h3 { margin: 0; font-size: 1.2rem; }
.saved-panel ul { list-style: none; padding: 0; margin: 10px 0 14px; max-height: 240px; overflow: auto; }
.saved-panel li { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.saved-panel .go { flex: 1; text-align: left; border: 0; background: none; padding: 10px 4px; cursor: pointer; font: inherit; }
.saved-panel .go small { display: block; color: var(--muted); font-size: .8rem; }
.saved-panel .rm, .x { border: 0; background: none; font-size: 1.4rem; color: var(--muted); cursor: pointer; line-height: 1; }

/* Concierge */
.concierge-btn { left: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; background: var(--forest); color: #fff; padding: 7px 18px 7px 7px; border-radius: 999px; transition: transform .25s var(--ease); }
.concierge-btn img { border-radius: 50%; }
.concierge-btn:hover { transform: translateY(-2px); }
.concierge-btn.open { background: var(--brick); }
.concierge { position: fixed; left: 22px; bottom: 84px; z-index: 48; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); background: var(--paper); border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; animation: rise .35s var(--ease); }
.concierge[hidden] { display: none; }
.concierge header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--forest); color: #fff; }
.concierge header img { border-radius: 50%; }
.concierge header div { flex: 1; display: flex; flex-direction: column; }
.concierge header small { opacity: .8; font-size: .75rem; display: flex; align-items: center; gap: 6px; }
.concierge header small i { width: 7px; height: 7px; border-radius: 50%; background: #7ddc8b; }
.concierge header .x { color: #fff; }
.chat { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; animation: rise .3s var(--ease); }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--forest); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-go { display: block; margin-top: 8px; color: var(--brick); font-weight: 700; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: .9rem; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #b9b2a6; animation: blink 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 10px; scrollbar-width: none; }
.chips button { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: 600 .8rem var(--sans); cursor: pointer; color: var(--forest); }
.chips button:hover { border-color: var(--forest); }
.chat-input { display: flex; gap: 8px; padding: 10px 12px 14px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 14px; font: 500 .92rem var(--sans); background: #fff; }
.chat-input input:focus { outline: none; border-color: var(--brick); }
.chat-input button { border: 0; width: 42px; border-radius: 50%; background: var(--brick); color: #fff; cursor: pointer; }

/* ---------- Masterpiece layer: tour, dock, sheets, map zoom ---------- */
/* Film grain + light sweep on the hero for a premium, photographic feel */
.hero-content, .hero-note, .scroll-cue { z-index: 2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* 30-second tour button */
.tour-btn { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 8px 20px 8px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); color: #fff; text-align: left; cursor: pointer; font: inherit; animation: rise 1.1s .4s var(--ease) both; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.tour-btn b { display: block; font-size: .98rem; }
.tour-btn small { display: block; font-size: .78rem; opacity: .8; }
.tour-btn .play { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #fff; flex: none; }
.tour-btn .play::before { content: ""; position: absolute; left: 18px; top: 14px; border-left: 14px solid var(--forest); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.tour-btn .play::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: ring 2s ease-out infinite; }
.tour-btn:hover { background: rgba(255,255,255,.2); }

/* Story tour */
.stories { position: fixed; inset: 0; z-index: 120; background: rgba(8,14,10,.92); display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.stories.on { opacity: 1; }
.stories-frame { position: relative; width: min(100vw, calc(100svh * 9 / 16)); height: min(100svh, 100vh); background: #000; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.st-bars { position: absolute; top: calc(10px + env(safe-area-inset-top)); left: 10px; right: 10px; display: flex; gap: 4px; z-index: 5; }
.st-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.st-bars i { display: block; height: 100%; width: 0; background: #fff; }
.st-bars span.done i { width: 100%; }
.st-bars span.now i { animation: stFill var(--story-ms, 5200ms) linear forwards; }
.stories.paused .st-bars span.now i, .stories.paused .st-slide.active img { animation-play-state: paused; }
@keyframes stFill { to { width: 100%; } }
.st-head { position: absolute; top: calc(22px + env(safe-area-inset-top)); left: 12px; right: 8px; z-index: 5; display: flex; align-items: center; gap: 8px; color: #fff; font-size: .9rem; }
.st-head img { border-radius: 50%; }
.st-close { margin-left: auto; border: 0; background: none; color: #fff; font-size: 2rem; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.st-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; }
.st-slide.active { opacity: 1; }
.st-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--from); }
.st-slide.active img { animation: stPan var(--story-ms, 5200ms) linear forwards; }
@keyframes stPan { from { object-position: var(--from); transform: scale(1.08); } to { object-position: var(--to); transform: scale(1); } }
.st-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 22%, transparent 45%, rgba(8,18,12,.92) 100%); pointer-events: none; }
.st-copy { position: absolute; left: 22px; right: 22px; bottom: calc(34px + env(safe-area-inset-bottom)); z-index: 4; color: #fff; }
.st-slide.active .st-copy > * { animation: rise .7s var(--ease) both; }
.st-slide.active .st-copy > *:nth-child(2) { animation-delay: .1s; } .st-slide.active .st-copy > *:nth-child(3) { animation-delay: .2s; } .st-slide.active .st-copy > *:nth-child(4) { animation-delay: .3s; }
.st-eyebrow { font: 700 .75rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.st-copy h2 { font-size: clamp(2.1rem, 9vw, 3rem); font-weight: 400; margin: 6px 0 10px; line-height: 1.05; }
.st-copy p { margin: 0; font-size: 1.02rem; opacity: .9; }
.st-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; position: relative; z-index: 6; }
.st-slide.offer { background: radial-gradient(circle at 50% 30%, #3b6b48, var(--forest) 60%, #0d1a12); }
.st-offer-art { position: absolute; inset: 0 0 35% 0; display: grid; place-items: center; }
.st-offer-art span { font: 700 clamp(6rem, 34vw, 11rem) var(--serif); font-style: italic; background: linear-gradient(135deg, #f6e3c2, var(--gold) 50%, #b07d4f); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 30px rgba(0,0,0,.4)); }
.st-slide.offer.active .st-offer-art span { animation: offerPop 1s var(--ease) both; }
@keyframes offerPop { from { transform: scale(.6) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.st-tap { position: absolute; top: 80px; bottom: 0; z-index: 3; border: 0; background: transparent; cursor: pointer; }
.st-tap.prev { left: 0; width: 32%; } .st-tap.next { right: 0; width: 68%; }

/* Phone dock (liquid glass) */
.dock { display: none; }
.dock-badge { position: absolute; top: 2px; right: calc(50% - 22px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #d6455d; color: #fff; font: 700 .68rem/18px var(--sans); font-style: normal; text-align: center; }

/* Sheets, toast */
.sheet-backdrop { position: fixed; inset: 0; z-index: 75; background: rgba(10,18,13,.45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.sheet-backdrop.on { opacity: 1; }
.sheet-lock, .sheet-lock body { overflow: hidden; }
.sheet-close { display: none; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 130; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--forest); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.share-home { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 0 16px; font: 700 .9rem var(--sans); color: var(--forest); cursor: pointer; }

.find-saved { border: 1.5px solid #f2a7b3; background: #fff0f2; color: #b8344b; border-radius: 999px; padding: 9px 16px; font: 700 .88rem var(--sans); cursor: pointer; }
.find-saved b { background: #d6455d; color: #fff; border-radius: 999px; padding: 1px 8px; margin-left: 4px; }

/* Map pan & zoom */
.map-frame { position: relative; }
.map-scroll { overflow: auto; border-radius: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.map-scroll svg { display: block; width: 100%; height: auto; transition: width .35s var(--ease); }
.map-zoom { position: absolute; right: 18px; top: 18px; display: flex; flex-direction: column; gap: 6px; }
.map-zoom button { width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.2); font: 600 1.4rem var(--sans); color: var(--forest); cursor: pointer; }
.map-zoom button:disabled { opacity: .35; cursor: default; }

/* View Transitions: quick, soft cross-fade between states */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .plan-layout, .find-layout, .two-col, .community-grid { grid-template-columns: 1fr; }
  .c-img.big { grid-row: auto; }
  .home-card { position: static; }
  .rvo { grid-template-columns: 1fr; }
  .down-compare { grid-template-columns: 1fr; align-items: stretch; }
  .dc-tile.hero-tile { transform: none; margin-top: 10px; }
  .dc-bar { height: 60px; }
  .chapters { display: none; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .section { padding: 76px 0; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 10px 16px 18px; box-shadow: 0 12px 24px rgba(0,0,0,.12); transform: translateY(-120%); transition: transform .35s var(--ease); }
  .site-nav.open { transform: none; }
  .site-nav a { color: var(--ink) !important; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0 !important; }
  .scroll-cue { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

  /* Hero, phone-first: its own layout, not a shrunk desktop.
     Text starts below the header (never under the logo), short copy, price up front,
     one main button with a compact round tour button beside it. */
  .hero { min-height: 100svh; }
  .hero-content { padding-top: calc(92px + env(safe-area-inset-top)); padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
  .hero-shade { background: linear-gradient(180deg, rgba(12,24,17,.6) 0%, rgba(12,24,17,.12) 16%, rgba(12,24,17,.45) 36%, rgba(12,24,17,.82) 62%, rgba(12,24,17,.95) 100%); }
  .hero h1 { font-size: clamp(2.4rem, 11.2vw, 3.3rem); margin: 14px 0 10px; text-shadow: 0 2px 22px rgba(0,0,0,.3); }
  .lead { font-size: 1.02rem; margin-bottom: 26px; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
  .lead .long { display: none; }
  .lead .short { display: inline; }
  .hero-price { margin: -14px 0 22px; font-size: .92rem; }
  .hero-price b { font-size: 1.7rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
  .hero-actions .btn { padding: 15px 10px; font-size: .98rem; text-align: center; }
  .hero-actions .tour-btn { width: auto; gap: 10px; padding: 5px 18px 5px 5px; }
  .tour-btn .play { width: 42px; height: 42px; }
  .tour-btn .play::before { left: 16px; top: 12px; }
  .tour-text { display: none; }
  .tour-short { display: inline; font-weight: 700; font-size: .95rem; }
  .hero-by { font-size: .76rem; margin-top: 16px; }
  .badge { font-size: .7rem; padding: 5px 11px; }

  /* Slow pan across the wide aerial: a phone only shows its middle, so the movement reveals the whole community */
  .hero-media img { animation: heroPan 28s ease-in-out infinite alternate; }
  @keyframes heroPan { from { object-position: 66% 50%; transform: scale(1.1); } to { object-position: 20% 50%; transform: scale(1); } }
  .hero-by span, .hero-by a { display: block; }
  .hero-by .sep { display: none; }
  .chapter-no { font-size: 2.2rem; }
  .chapter-head h2 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }

  /* Liquid-glass dock in the thumb zone */
  .dock { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 65; height: 64px; padding: 0 4px; border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(248,245,236,.6)); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8);
    border: 1px solid rgba(255,255,255,.7); box-shadow: 0 12px 40px rgba(20,35,25,.28), inset 0 1px 0 rgba(255,255,255,.9); transition: transform .35s var(--ease), opacity .3s; transform: translateY(140%); opacity: 0; }
  .dock.visible { transform: translateY(0); opacity: 1; }
  .typing .dock { transform: translateY(140%); opacity: 0; }
  .dock > * { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px; border: 0; background: none; color: var(--forest); text-decoration: none; font: 600 .66rem var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .dock svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
  .dock > *:active svg { transform: scale(.86); }
  .dock .here { color: var(--brick); }
  .dock .here::after { content: ""; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--brick); }
  .dock .dock-main { color: #fff; }
  .dock .dock-main svg { width: 54px; height: 54px; padding: 14px; margin-top: -26px; border-radius: 50%; background: linear-gradient(135deg, #c08a62, var(--brick)); box-shadow: 0 8px 22px rgba(168,120,89,.55), 0 0 0 5px rgba(255,255,255,.85); stroke: #fff; fill: rgba(255,255,255,.25); }
  .dock .dock-main span { color: var(--forest); }
  .concierge-btn, .mobile-cta { display: none !important; }
  .saved-pill { display: none !important; }

  /* Keep clear of Netlify's free-plan badge (bottom-right, ~64px tall) while it is shown */
  .has-nl-badge body { padding-bottom: calc(146px + env(safe-area-inset-bottom)); }
  .has-nl-badge .dock { bottom: calc(70px + env(safe-area-inset-bottom)); }
  .has-nl-badge .hero-content { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .has-nl-badge .hero-note { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .has-nl-badge .toast { bottom: calc(152px + env(safe-area-inset-bottom)); }
  .has-nl-badge .home-card, .has-nl-badge .saved-panel { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .has-nl-badge .concierge .chat-input { padding-bottom: 72px; }
  .has-nl-badge .st-copy { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .find-saved { width: 100%; }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }

  /* Bottom sheets */
  .home-card, .saved-panel, .concierge { position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; width: auto !important; z-index: 80; margin: 0;
    border-radius: 24px 24px 0 0 !important; padding-bottom: calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
  .home-card::before, .saved-panel::before, .concierge::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: #cfc7b8; margin: -10px auto 12px; }
  .concierge::before { position: absolute; left: 50%; top: 18px; margin: 0 0 0 -22px; background: rgba(255,255,255,.5); z-index: 2; }
  .home-card { max-height: 86svh; overflow-y: auto; padding-top: 22px; transform: translateY(110%); transition: transform .4s var(--ease); }
  .home-card.open { transform: none; }
  .sheet-close { display: block; position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--cream); font-size: 1.4rem; color: var(--muted); cursor: pointer; }
  .find-layout { display: block; }
  .saved-panel { padding-top: 22px; max-height: 70svh; overflow-y: auto; }
  .concierge { height: 86svh; animation: sheetUp .4s var(--ease); }
  .concierge header { padding-top: 30px; }
  @keyframes sheetUp { from { transform: translateY(100%); } }
  .card-actions { flex-direction: row; flex-wrap: wrap; }
  .card-actions .btn { flex: 1 1 100%; }
  .save-home, .share-home { flex: 1; padding: 12px; }

  /* Swipeable carousels instead of long stacks */
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 4px 16px 16px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar, .down-compare::-webkit-scrollbar { display: none; }
  .g-item, .g-item.wide { flex: 0 0 84%; scroll-snap-align: center; }
  .g-item img, .g-item svg { height: 230px; }
  .down-compare { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px 40px; padding: 26px 16px 12px; scrollbar-width: none; align-items: stretch; }
  .dc-tile { flex: 0 0 74%; scroll-snap-align: center; }
  .dc-note { flex: 0 0 100%; display: none; }
  .arch-credit { gap: 16px; padding: 14px 16px 14px 12px; margin: 0 0 26px; align-items: center; }
  .arch-credit img { width: 70px; }
  .arch-credit-text strong { font-size: 1.15rem; }
  .arch-credit-text > span:not(.eyebrow) { font-size: .8rem; line-height: 1.45; }
  .lender-card { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; margin-top: 36px; }
  .lender-brand img { width: 84px; }
  .lender-info h3 { font-size: 1.4rem; }
  .lender-terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lender-terms li { flex-direction: column; align-items: center; gap: 2px; border-radius: 14px; padding: 10px 4px; text-align: center; font-size: .74rem; line-height: 1.3; }
  .lender-contact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; min-width: 0; }

  /* Map: bigger and pannable */
  .map-frame { padding: 6px; }
  .map-zoom { right: 12px; top: 12px; }
  .spot { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: .75rem; }
  .spot-card { position: static; width: auto; border-radius: 0; background: #12241a; }
  .explore { border-radius: 10px; }
  .community-grid { grid-template-columns: 1fr; }
  .hero-note { top: auto; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:last-child { grid-column: span 2; }
  .chapter-head { flex-direction: column; gap: 4px; }
  .calc, .lead-form .row, .checks { grid-template-columns: 1fr; }
  .lb-nav.prev { left: 4px; } .lb-nav.next { right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
