/* /homes · Collin Chartier · Thrive Real Estate Group
   Quiet luxury: midnight + cream, Libre Caslon display, Figtree body. Gold is for buttons. */

:root {
  --ink: #161d25;
  --midnight: #232e3a;
  --midnight-2: #2b3846;
  --cream: #f7f3ec;
  --paper: #fbf9f5;
  --gold: #cc9966;
  --gold-soft: #e2c19c;
  --gold-text: #8a5d31;      /* gold for small text on light backgrounds */
  --sage: #85a39f;
  --text: #2f3337;
  --muted: #6b7076;
  --bone: #f0ede6;
  --bone-2: #c9c5bd;
  --line: rgba(35, 46, 58, .12);
  --line-dark: rgba(240, 237, 230, .14);
  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* Type */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; line-height: 1.08; }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
/* A fact that sits under a heading (place, rating source, cadence) */
.head-note { margin: 14px 0 0; font-size: .95rem; line-height: 1.5; letter-spacing: 0; color: var(--muted); }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 34ch; margin: 14px 0 0; }
.lede.light { color: var(--bone-2); }
.fine { font-size: .8rem; color: var(--muted); margin: 16px 0 0; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }

/* Buttons */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font: 600 .95rem/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); box-shadow: 0 10px 30px -12px rgba(204, 153, 102, .7); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { --fg: var(--bone); --bd: rgba(240, 237, 230, .45); background: rgba(22, 29, 37, .2); }
.btn-ghost:hover { --bd: var(--bone); background: rgba(240, 237, 230, .1); }
.btn-ink { --bg: var(--midnight); --fg: var(--bone); --bd: var(--midnight); }
.btn-ink:hover { --bg: var(--ink); }
.btn-line { --fg: var(--midnight); --bd: rgba(35, 46, 58, .35); }
.btn-line:hover { --bd: var(--midnight); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .85rem; }
.btn-text { background: none; border: 0; padding: 10px 4px; color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* Progress */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); color: var(--bone);
  transition: background .5s var(--ease), box-shadow .5s, height .4s var(--ease), transform .5s var(--ease);
}
.site-header.is-solid { background: var(--ink); box-shadow: 0 1px 0 var(--line-dark); --header-h: 62px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 400 1.3rem var(--serif); letter-spacing: .01em; }
.brand-sub { font: 500 .62rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-2); }
.nav { display: none; gap: 32px; font-size: .9rem; }
.nav a { text-decoration: none; opacity: .82; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.hdr-phone { display: none; text-decoration: none; font-size: .9rem; opacity: .85; font-variant-numeric: tabular-nums; }
@media (min-width: 980px) { .nav, .hdr-phone { display: flex; } }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: var(--bone);
  display: grid; align-items: end; overflow: hidden; background: var(--ink);
  padding: calc(var(--header-h) + 40px) var(--gutter) clamp(84px, 12vh, 120px);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform-origin: 60% 60%; animation: kenburns 28s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.14); filter: brightness(.7); } to { transform: scale(1.02); filter: brightness(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 29, 37, .55) 0%, rgba(22, 29, 37, 0) 28%),
    linear-gradient(0deg, rgba(22, 29, 37, .96) 0%, rgba(22, 29, 37, .55) 38%, rgba(22, 29, 37, 0) 70%),
    linear-gradient(90deg, rgba(22, 29, 37, .7) 0%, rgba(22, 29, 37, 0) 62%);
}
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(3) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }
.hero-inner { position: relative; z-index: 2; max-width: 980px; width: 100%; margin: 0 auto 0 0; }
@media (min-width: 1300px) { .hero-inner { margin-left: calc((100vw - var(--maxw)) / 2 - var(--gutter) + var(--gutter)); } }
.hero-title { font-size: clamp(2.7rem, 7.4vw, 5.6rem); line-height: .98; letter-spacing: -.025em; margin: 0 0 18px; }
.hero-title .line { display: block; }
.calm-words { position: relative; z-index: 1; }
.hero-note { margin: 0 0 22px; color: var(--bone-2); }
.calm { position: relative; width: max-content; max-width: 100%; }
.halo {
  position: absolute; z-index: 0; left: 50%; top: 55%; width: 140%; aspect-ratio: 2 / 1; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(204, 153, 102, .38), rgba(204, 153, 102, .12) 55%, transparent 100%);
  filter: blur(8px); border-radius: 50%;
  animation: breathe 10s ease-in-out infinite 1.6s;
}
@keyframes breathe { 0%, 100% { transform: scale(.82); opacity: .55; } 45%, 55% { transform: scale(1.12); opacity: 1; } }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 40ch; color: rgba(240, 237, 230, .86); margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-contact { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .92rem; color: rgba(240, 237, 230, .88); padding: 6px 0; border-bottom: 1px solid rgba(204, 153, 102, .0); transition: color .3s, border-color .3s; }
.hero-contact a:hover { color: var(--gold-soft); border-color: rgba(204, 153, 102, .6); }
.hero-contact svg { width: 18px; height: 18px; color: var(--gold); }
.hero-in { opacity: 0; transform: translateY(26px); animation: rise 1.1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-card {
  position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(84px, 12vh, 120px);
  display: none; align-items: center; gap: 16px; padding: 16px 22px 16px 16px; border-radius: 18px;
  background: var(--ink); border: 1px solid rgba(240, 237, 230, .16);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.hero-card img { border-radius: 50%; width: 64px; height: 64px; object-fit: cover; border: 1px solid rgba(204, 153, 102, .6); }
.hero-card p { margin: 0; }
.stars { color: var(--gold); letter-spacing: .12em; font-size: .9rem; }
.stars b { color: var(--bone); letter-spacing: 0; font-weight: 600; }
.hero-card .stars { color: var(--bone-2); letter-spacing: 0; }
.hero-card .stars > span { color: var(--gold); letter-spacing: .12em; }
.hc-line { font-size: .95rem; }
.hc-small { font-size: .78rem; color: var(--bone-2); }
@media (min-width: 1100px) { .hero-card { display: flex; animation-name: rise, float; animation-duration: 1.1s, 7s; animation-timing-function: var(--ease-out), ease-in-out; animation-iteration-count: 1, infinite; animation-delay: var(--d), 2.6s; animation-fill-mode: forwards, none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 1px; height: 54px; translate: -50% 0; overflow: hidden; background: rgba(240, 237, 230, .18); }
.scroll-cue span { position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); animation: cue 2.4s var(--ease) infinite 2s; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Proof */
.proof { position: relative; background: var(--ink); color: var(--bone); padding: clamp(70px, 9vw, 110px) 0 clamp(56px, 7vw, 84px); overflow: hidden; }
.range { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 90px; opacity: .55; }
.range path { fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3.2s var(--ease); }
.proof.is-in .range path { stroke-dashoffset: 0; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
.stats li { border-top: 1px solid var(--line-dark); padding-top: 18px; }
.stat { display: block; font: 400 clamp(2.6rem, 6vw, 4.3rem)/1 var(--serif); letter-spacing: -.02em; color: var(--bone); font-variant-numeric: lining-nums tabular-nums; }
.stat small { font-size: .5em; vertical-align: .55em; margin-left: 4px; }
.stat-label { display: block; margin-top: 10px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-2); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.proof-row { margin-top: clamp(40px, 6vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; color: var(--bone-2); font-size: .9rem; }
.proof-row p { margin: 0; display: inline-flex; align-items: center; gap: 12px; }
.badge svg { width: 22px; height: 22px; color: var(--gold); }
.badge { color: var(--bone); font-weight: 500; }
.divider { width: 1px; height: 28px; background: var(--line-dark); }
.thrive-line img { width: 112px; height: auto; opacity: .95; }
@media (max-width: 640px) { .divider { display: none; } .thrive-line { flex-wrap: wrap; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.clip { clip-path: inset(12% 0 0 0 round 4px); transition: clip-path 1.4s var(--ease-out); transition-delay: calc(var(--d, 0s) + .1s); }
.is-in .clip, .clip.is-in { clip-path: inset(0 0 0 0 round 4px); }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .clip { clip-path: none; }

/* Featured homes */
.featured { background: var(--cream); padding: clamp(84px, 11vw, 150px) 0; }
.feature-grid { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 1.45fr 1fr; grid-template-rows: auto auto; }
  .feature-lg { grid-row: span 2; }
}
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(22, 29, 37, .45); }
.feature-media { position: relative; margin: 0; overflow: hidden; background: var(--midnight); border: 0; padding: 0; display: block; width: 100%; text-align: left; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform 1.6s var(--ease); }
.feature-lg .feature-media img { aspect-ratio: 16 / 11; }
.feature:hover .feature-media img { transform: scale(1.045); }
.feature-media figcaption { position: absolute; left: 16px; bottom: 14px; font-size: .74rem; letter-spacing: .06em; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.gallery-chip { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: var(--bone); font-size: .78rem; transition: background .3s; }
.gallery-open:hover .gallery-chip { background: var(--gold); color: var(--ink); }
.feature-body { padding: clamp(22px, 3vw, 34px); position: relative; }
.feature-body h3 { margin: 0 0 4px; }
.place, .tag { margin: 0; color: var(--muted); font-size: .95rem; }
.price { margin: 16px 0 2px; font: 400 1.65rem/1 var(--serif); color: var(--midnight); }
.facts { margin: 0; font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.story { margin: 14px 0 0; font-size: .98rem; max-width: 46ch; }
.feature-lg .story { font-size: 1.04rem; }
.feature-type { background: var(--midnight); color: var(--bone); border-color: transparent; justify-content: flex-end; min-height: 300px; position: relative; }
.feature-type .peaks { position: absolute; top: 28px; left: 24px; right: 24px; width: calc(100% - 48px); height: auto; }
.feature-type .peaks path { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease) .3s; }
.feature-type.is-in .peaks path { stroke-dashoffset: 0; }
.feature-type .place, .feature-type .tag, .feature-type .facts { color: var(--bone-2); }
.feature-type .price { color: var(--bone); }

/* Map + sold */
.where { background: var(--paper); padding: clamp(84px, 10vw, 140px) 0; }
.where-grid { display: grid; gap: clamp(40px, 6vw, 80px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .where-grid { grid-template-columns: 1.05fr 1fr; } }
.map-frame { position: relative; border: 1px solid var(--line); border-radius: 6px; background:
  radial-gradient(circle at 70% 40%, rgba(204, 153, 102, .08), transparent 60%), var(--cream); overflow: hidden; }
.map { width: 100%; height: auto; display: block; }
.map .ridge { fill: rgba(35, 46, 58, .06); stroke: rgba(35, 46, 58, .25); stroke-width: 1; }
.map .grid-l { stroke: rgba(35, 46, 58, .06); stroke-width: 1; }
.map .road { fill: none; stroke: rgba(35, 46, 58, .14); stroke-width: 1.2; stroke-dasharray: 3 5; }
.map .label-area { font: italic 400 15px var(--serif); fill: rgba(35, 46, 58, .4); }
.map .city { cursor: pointer; outline: none; }
.map .city .dot { fill: var(--gold); transition: r .4s var(--ease); }
.map .city .hit { fill: transparent; }
.map .city .ring { pointer-events: none; fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map.is-in .city .ring { animation: pulse 3.2s var(--ease) infinite; animation-delay: var(--pd, 0s); }
@keyframes pulse { 0% { opacity: .8; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(2.4); } }
.map .city text { font: 600 12px var(--sans); fill: var(--midnight); letter-spacing: .04em; paint-order: stroke; stroke: var(--cream); stroke-width: 4px; }
.map .city.is-active .dot, .map .city:hover .dot, .map .city:focus-visible .dot { fill: var(--midnight); }
.map .city:focus-visible .ring { opacity: 1; stroke: var(--midnight); animation: none; transform: scale(1.6); }
.map-tip { position: absolute; left: 16px; bottom: 14px; font-size: .85rem; color: var(--midnight); background: rgba(251, 249, 245, .92); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.map-tip.is-on { opacity: 1; transform: none; }
.sold-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--midnight); }
.sold-head h3 { font-size: 1.5rem; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 12px; font-size: .8rem; }
.chip.is-on { border-color: var(--midnight); }
.sold-list { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow: auto; scrollbar-width: thin; }
.sold-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); animation: fadeIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sold-list .s-street { font-weight: 600; color: var(--midnight); }
.sold-list .s-price { font: 400 1.05rem var(--serif); color: var(--midnight); text-align: right; font-variant-numeric: lining-nums; }
.sold-list .s-meta { font-size: .82rem; color: var(--muted); }
.sold-list .s-side { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; text-align: right; color: var(--muted); }
.sold-list .s-side.is-listing { color: var(--midnight); font-weight: 600; }

/* Reviews */
.reviews { position: relative; background: var(--midnight); color: var(--bone); padding: clamp(84px, 11vw, 150px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.reviews .head-note { color: var(--bone-2); }
.quote { margin: clamp(56px, 8vw, 84px) auto clamp(48px, 7vw, 80px); max-width: 920px; text-align: center; position: relative; }
.quote::before { content: "\201C"; position: absolute; left: 50%; top: -.5em; translate: -50% 0; font: 400 clamp(4.5rem, 11vw, 9rem)/1 var(--serif); color: var(--gold); opacity: .22; pointer-events: none; }
.quote blockquote { margin: 0; min-height: 3.6em; display: grid; place-items: center; }
.quote blockquote p { margin: 0; font: italic 400 clamp(1.6rem, 3.6vw, 2.6rem)/1.28 var(--serif); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s; }
.quote.is-swapping blockquote p, .quote.is-swapping figcaption { opacity: 0; transform: translateY(10px); filter: blur(4px); }
.quote figcaption { margin-top: 22px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.quote-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.quote-dots button { width: 26px; height: 26px; border: 0; background: none; padding: 0; position: relative; }
.quote-dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; translate: -50% -50%; border-radius: 50%; background: rgba(240, 237, 230, .3); transition: width .4s var(--ease), background .4s; }
.quote-dots button[aria-selected="true"]::after { width: 22px; border-radius: 3px; background: var(--gold); }
.marquee { display: grid; gap: 18px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; gap: 18px; width: max-content; animation: marquee var(--dur, 70s) linear infinite; }
.marquee-row.reverse { animation-direction: reverse; }
.marquee:hover .marquee-row, .marquee:focus-within .marquee-row { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.r-card { width: min(78vw, 360px); flex: none; text-align: left; background: rgba(22, 29, 37, .55); border: 1px solid var(--line-dark); border-radius: 14px; padding: 22px 22px 18px; color: var(--bone); transition: border-color .35s, transform .35s var(--ease), background .35s; }
.r-card:hover, .r-card:focus-visible { border-color: rgba(204, 153, 102, .65); transform: translateY(-4px); background: rgba(22, 29, 37, .8); }
.r-card .stars { font-size: .78rem; }
.r-card p { margin: 10px 0 14px; font: 400 1.02rem/1.5 var(--serif); }
.r-card .r-by { font-size: .78rem; color: var(--bone-2); display: flex; justify-content: space-between; gap: 10px; }
.r-card .r-more { color: var(--bone); }
.reviews-link { margin: 40px 0 0; }
.reviews-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--bone); text-decoration: none; border-bottom: 1px solid rgba(240, 237, 230, .4); padding-bottom: 3px; }

/* Paths */
.paths { background: var(--cream); padding: clamp(84px, 11vw, 150px) 0; }
.toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 420px); margin: 0 auto clamp(40px, 6vw, 64px); padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.toggle button { position: relative; z-index: 1; border: 0; background: none; min-height: 48px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: color .4s var(--ease); }
.toggle button[aria-selected="true"] { color: var(--bone); }
.toggle-pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--midnight); transition: transform .55s var(--ease-out); }
.toggle[data-on="selling"] .toggle-pill { transform: translateX(100%); }
.panel { max-width: 1060px; margin: 0 auto; }
.panel:not([hidden]) { animation: panelIn .7s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.panel > h3 { text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: clamp(36px, 5vw, 56px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; position: relative; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
  .panel.is-drawn .steps::before { transform: scaleX(1); }
}
.steps li { position: relative; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); border: 1px solid var(--gold); color: var(--midnight); font: 400 .95rem var(--serif); position: relative; z-index: 1; }
.steps h4 { font-size: 1.35rem; margin: 18px 0 8px; }
.steps p { margin: 0; color: var(--muted); }
.panel-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(40px, 5vw, 56px); }
.market-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(40px, 5vw, 56px); }
.market-strip figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; }
.market-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.market-strip figure:hover img { transform: scale(1.06); }
.market-strip figure::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(transparent, rgba(22, 29, 37, .78)); pointer-events: none; }
.market-strip figcaption { z-index: 1; position: absolute; left: 12px; bottom: 10px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
@media (max-width: 560px) { .market-strip { grid-template-columns: 1fr 1fr; } .market-strip figure:last-child { grid-column: span 2; } .market-strip figure:last-child img { aspect-ratio: 2 / 1; } }

/* About */
.about { background: var(--paper); padding: clamp(84px, 11vw, 150px) 0; }
.about-grid { display: grid; gap: clamp(36px, 6vw, 90px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .8fr 1.2fr; } }
.about-photo { margin: 0; position: relative; max-width: 420px; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: 4px; }
.about-photo img { position: relative; border-radius: 4px; width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.92); }
.about-copy p { font-size: 1.08rem; max-width: 56ch; }
.about-copy h2 { margin-bottom: 18px; }
.sig { font: 400 2rem/1 var(--serif) !important; color: var(--midnight); margin-top: 24px; }

/* FAQ */
.faq { background: var(--cream); padding: clamp(84px, 10vw, 130px) 0; }
.faq-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 400 1.22rem/1.35 var(--serif); color: var(--midnight); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .faq-list summary::before { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1px; background: var(--gold-text); transition: transform .45s var(--ease); }
.faq-list summary::before { transform: rotate(90deg); }
.faq-list details[open] summary::before { transform: rotate(0deg); }
.faq-list details p { margin: 0 0 24px; color: var(--muted); max-width: 60ch; animation: panelIn .5s var(--ease-out); }

/* Contact */
.contact { position: relative; background: var(--ink); color: var(--bone); padding: clamp(84px, 11vw, 150px) 0; overflow: hidden; }
.contact-grid { display: grid; gap: clamp(40px, 6vw, 80px); grid-template-columns: 1fr; position: relative; z-index: 1; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.05fr; align-items: start; } }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-list a { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; transition: padding .4s var(--ease), color .3s; }
.contact-list a:hover { padding-left: 10px; color: var(--gold-soft); }
.contact-list svg { width: 26px; height: 26px; color: var(--gold); }
.contact-list span { display: flex; flex-direction: column; font-size: 1.12rem; }
.contact-list small { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-2); }

.lead-card { position: relative; background: var(--paper); color: var(--text); border-radius: 14px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .7); overflow: hidden; }
.lead-progress { position: absolute; inset: 0 0 auto; height: 3px; background: var(--line); }
.lead-progress span { display: block; height: 100%; background: var(--gold); width: 33.3%; transition: width .6s var(--ease); }
.lead-count { margin: 0 0 8px; font-size: .9rem; color: var(--muted); }
.lead-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.lead-step.is-active { animation: panelIn .55s var(--ease-out); }
.lead-step legend { font: 400 clamp(1.5rem, 2.6vw, 1.9rem)/1.2 var(--serif); color: var(--midnight); margin-bottom: 22px; padding: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile input, .chip-r input, .consent input { position: absolute; opacity: 0; pointer-events: none; }
.tile span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 108px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--midnight); cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.tile svg { width: 26px; height: 26px; color: var(--gold-text); }
.tile:hover span { border-color: var(--gold); transform: translateY(-2px); }
.tile input:checked + span { background: var(--midnight); color: var(--bone); border-color: var(--midnight); }
.tile input:checked + span svg { color: var(--gold); }
.tile input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field { display: block; margin-bottom: 14px; }
.field span, .field-label { display: block; font-size: .78rem; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px; }
.field i { font-style: normal; opacity: .7; }
.field input, .field textarea { width: 100%; font: 400 1rem var(--sans); color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; transition: border-color .3s, box-shadow .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(204, 153, 102, .2); }
.field input[aria-invalid="true"] { border-color: #b4523c; }
.field-row { display: grid; gap: 0 12px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip-r span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; cursor: pointer; transition: all .3s; }
.chip-r:hover span { border-color: var(--gold); }
.chip-r input:checked + span { background: var(--midnight); color: var(--bone); border-color: var(--midnight); }
.chip-r input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 8px 0 4px; cursor: pointer; }
.consent span::before { content: ""; flex: none; display: inline-block; width: 18px; height: 18px; margin: 1px 10px -4px 0; border: 1px solid rgba(35, 46, 58, .4); border-radius: 4px; vertical-align: top; background: #fff center / 12px no-repeat; transition: background-color .2s, border-color .2s; }
.consent input:checked + span::before { background-color: var(--midnight); border-color: var(--midnight); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%23cc9966' stroke-width='1.8'/%3E%3C/svg%3E"); }
.consent input:focus-visible + span::before { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent.small { font-size: .76rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { min-height: 1.2em; margin: 6px 0 0; color: #b4523c; font-size: .85rem; }
.lead-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.lead-done { text-align: center; padding: 24px 0 8px; outline: none; }
.lead-done h3 { color: var(--midnight); margin: 18px 0 8px; }
.lead-done p { color: var(--muted); margin: 0; }
.lead-done a { color: var(--midnight); }
.check { width: 64px; height: 64px; }
.check circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s var(--ease) forwards; }
.check path { fill: none; stroke: var(--midnight); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Footer */
.site-footer { background: #10161c; color: var(--bone-2); padding: 56px 0 calc(56px + env(safe-area-inset-bottom)); font-size: .86rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1.2fr; } }
.site-footer img { width: 140px; margin-bottom: 18px; }
.site-footer p { margin: 0 0 8px; }
.site-footer b { color: var(--bone); font-weight: 600; }
.site-footer a { color: var(--bone-2); }
.footer-fine { font-size: .76rem; line-height: 1.6; }
.eho { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--bone); }
.eho svg { width: 22px; height: 22px; }

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; padding: 6px; border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); border: 1px solid var(--line-dark);
  transform: translateY(140%); transition: transform .6s var(--ease-out);
}
.sticky-cta.is-on { transform: none; }
.sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; color: var(--bone); text-decoration: none; font-weight: 600; font-size: .9rem; }
.sticky-cta a svg { width: 18px; height: 18px; color: var(--gold); }
.sticky-cta a.is-gold { background: var(--gold); color: var(--ink); }
@media (min-width: 980px) { .sticky-cta { display: none; } }

/* Review toasts */
.toasts { position: fixed; z-index: 44; left: 20px; bottom: 20px; width: min(360px, calc(100vw - 40px)); pointer-events: none; }
@media (max-width: 979px) { .toasts { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); } }
.toast {
  pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start;
  background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 14px 16px;
  box-shadow: 0 24px 48px -20px rgba(22, 29, 37, .45);
  transform: translateY(24px) scale(.97); opacity: 0; transition: transform .6s var(--ease-out), opacity .5s;
}
.toast.is-on { transform: none; opacity: 1; }
.toast .t-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--midnight); color: var(--gold); font: italic 400 1.2rem var(--serif); }
.toast p { margin: 0; }
.toast .t-stars { color: var(--gold-text); font-size: .7rem; letter-spacing: .16em; }
.toast .t-text { font: 400 .95rem/1.4 var(--serif); color: var(--midnight); margin: 2px 0 4px; }
.toast .t-by { font-size: .74rem; color: var(--muted); }
.toast button { border: 0; background: none; padding: 2px; color: var(--muted); width: 26px; height: 26px; }
.toast button svg { width: 14px; height: 14px; }

/* Market report card */
.report {
  position: fixed; z-index: 46; right: 20px; bottom: 20px; width: min(344px, calc(100vw - 40px));
  background: var(--ink); color: var(--bone); border-radius: 16px; padding: 26px 24px 22px;
  border: 1px solid rgba(204, 153, 102, .35); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  transform: translateX(120%); transition: transform .8s var(--ease-out);
}
.report.is-on { transform: none; }
.report h3 { font-size: 1.45rem; margin: 0 0 10px; padding-right: 28px; }
.report p { margin: 0 0 16px; font-size: .9rem; color: var(--bone-2); }
.report .head-note { margin: 0 0 12px; }
.report-row { display: flex; gap: 8px; }
.report-row input { flex: 1; min-width: 0; font: 400 .95rem var(--sans); padding: 0 14px; min-height: 42px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(240, 237, 230, .06); color: var(--bone); }
.report-row input::placeholder { color: rgba(240, 237, 230, .45); }
.report-row input:focus { outline: none; border-color: var(--gold); }
.report .consent { color: var(--bone-2); margin-top: 12px; }
.report .consent span::before { background-color: transparent; border-color: rgba(240, 237, 230, .4); }
.report .consent input:checked + span::before { background-color: var(--gold); border-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%23161d25' stroke-width='1.8'/%3E%3C/svg%3E"); }
.report-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; background: none; color: var(--bone-2); }
.report-x svg { width: 16px; height: 16px; }
.report .form-error:empty { display: none; }
.report.is-on.is-away { transform: translateX(120%); }
@media (max-width: 979px) { .report.is-on.is-away { transform: translateY(140%); } }
.report-done { color: var(--bone) !important; font-size: 1rem !important; margin: 0 !important; }
@media (max-width: 979px) {
  .report { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); transform: translateY(140%); }
  .report.is-on { transform: none; }
}

/* Modal */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(16, 22, 28, .72); backdrop-filter: blur(6px); animation: fadeIn .4s var(--ease) both; }
.modal-card { position: relative; max-width: 640px; width: 100%; max-height: 86vh; overflow: auto; background: var(--paper); border-radius: 16px; padding: clamp(28px, 5vw, 48px); animation: modalIn .6s var(--ease-out) both; outline: none; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-card .stars { color: var(--gold-text); }
.modal-card blockquote { margin: 14px 0 20px; font: 400 clamp(1.1rem, 2.2vw, 1.35rem)/1.6 var(--serif); color: var(--midnight); }
.modal-by { margin: 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.modal-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); }
.modal-x svg { width: 18px; height: 18px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(12, 16, 20, .96); display: grid; grid-template-columns: auto 1fr auto; align-items: center; animation: fadeIn .4s var(--ease) both; }
.lb-stage { margin: 0; display: grid; place-items: center; padding: 64px 8px; height: 100%; }
.lb-stage img { max-height: calc(100vh - 160px); max-width: 100%; width: auto; border-radius: 4px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); animation: modalIn .5s var(--ease-out); }
.lb-stage figcaption { color: var(--bone-2); font-size: .85rem; margin-top: 14px; letter-spacing: .06em; }
.lb-nav, .lb-x { border: 0; background: rgba(240, 237, 230, .08); color: var(--bone); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin: 0 12px; transition: background .3s; }
.lb-nav:hover, .lb-x:hover { background: rgba(204, 153, 102, .35); }
.lb-nav svg, .lb-x svg { width: 20px; height: 20px; }
.lb-nav.prev svg { transform: rotate(180deg); }
.lb-x { position: absolute; top: 16px; right: 4px; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 1fr; } .lb-nav { position: absolute; bottom: 24px; } .lb-nav.prev { left: 20px; } .lb-nav.next { right: 20px; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .hero-media img { animation: none; }
  .halo { animation: none; opacity: .8; transform: none; }
  .grain { animation: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-row { animation: none; width: auto; flex-wrap: nowrap; overflow-x: auto; padding: 0 var(--gutter); scroll-snap-type: x mandatory; }
  .marquee-row .r-card { scroll-snap-align: start; }
  .marquee-row [data-dup] { display: none; }
  .reveal { transform: none; }
  .clip { clip-path: none; }
}

/* Small screens: lighter floating layer */
.hide-sm { display: inline; }
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .toast { padding: 10px 10px 10px 12px; gap: 10px; border-radius: 12px; }
  .toast .t-mark { width: 28px; height: 28px; font-size: 1rem; }
  .toast .t-text { font-size: .86rem; }
  .report { padding: 20px 18px 16px; }
  .report h3 { font-size: 1.2rem; margin-bottom: 12px; }
  .report > p:not(.head-note):not(.report-done) { display: none; }
}
