/* Marlowe & Vale v2 · "Golden hour"
   Two colours: harbour ink + Hawkesbury sandstone. One accent: brass, on the primary CTA only.
   Type: Boska (display) + Satoshi (text). Spacing on a 4px grid. */

:root {
  --ink: #0E1A24;
  --ink-2: #142431;          /* raised ink, panels on ink */
  --sand: #E5D6BC;
  --sand-2: #EDE2CF;         /* raised sand */
  --brass: #B98A45;
  --brass-hi: #CB9D56;
  --ink-70: rgba(14, 26, 36, .72);
  --ink-50: rgba(14, 26, 36, .5);
  --ink-12: rgba(14, 26, 36, .12);
  --sand-70: rgba(229, 214, 188, .72);
  --sand-50: rgba(229, 214, 188, .5);
  --sand-16: rgba(229, 214, 188, .16);

  --f-d: 'Boska', 'Times New Roman', serif;
  --f-t: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: 20px;
  --sec: 120px;
  --ease: cubic-bezier(.22, .7, .12, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t1: .2s; --t2: .45s; --t3: .9s;
}
@media (min-width: 900px) { :root { --pad: 48px; --sec: 176px; } }
@media (min-width: 1400px) { :root { --pad: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; background: var(--ink); }
html.lock { overflow: hidden; }
body { margin: 0; font-family: var(--f-t); font-size: 16px; line-height: 1.55; color: var(--sand); background: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--brass); color: var(--ink); }

.ink { background: var(--ink); color: var(--sand); }
.sand { background: var(--sand); color: var(--ink); }
.note { font-size: 13px; line-height: 1.45; opacity: .72; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; max-width: 40ch; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: gap var(--t2) var(--ease); }
.link:hover { gap: 12px; }
.link .i { width: 16px; height: 16px; }

/* display type */
.sold-price, .price, .stat dd, .ap-range b, .pd-price, .keyfacts dd, .lvl b, .stepper-ctl output { font-variant-numeric: tabular-nums; }
h2 { font-family: var(--f-d); font-weight: 300; letter-spacing: -.035em; line-height: .92; }
h3 { font-family: var(--f-d); font-weight: 400; letter-spacing: -.02em; line-height: 1.05; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 2px; font-weight: 500; font-size: 15px; letter-spacing: .005em; white-space: nowrap; text-decoration: none; transition: background-color var(--t1) var(--ease), color var(--t1) var(--ease), transform var(--t2) var(--ease); }
.btn-primary { background: var(--brass); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 240, 214, .35), 0 12px 32px -14px rgba(185, 138, 69, .75); }
.btn-primary:hover { background: var(--brass-hi); }
.btn-primary:active { transform: translateY(1px); }
.btn .i { transition: transform var(--t2) var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- NAV ---------------- */
.nav { position: fixed; z-index: 50; inset: 0 0 auto; display: flex; align-items: center; gap: 24px; padding: 14px var(--pad); color: var(--hero-ui, var(--ink)); transition: background-color var(--t2) var(--ease), color var(--t2) var(--ease), padding var(--t2) var(--ease); }
.nav.solid { background: rgba(14, 26, 36, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--sand); }
.logo { font-family: var(--f-d); font-size: 22px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; margin-right: auto; }
.nav nav { display: none; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { text-decoration: none; opacity: .85; transition: opacity var(--t1); }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { display: none; min-height: 44px; padding: 0 18px; font-size: 14px; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.menu-btn span, .menu-btn span::before { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform var(--t2) var(--ease); }
.menu-btn span::before { content: ""; position: absolute; top: 7px; }
.menu-btn span { transform: translateY(-3.5px); }
.menu-open .menu-btn span { transform: rotate(45deg); }
.menu-open .menu-btn span::before { transform: translateY(-7px) rotate(-90deg); }
.menu-open .nav { color: var(--sand); }
@media (min-width: 900px) {
  .nav { padding: 20px var(--pad); }
  .nav nav { display: block; }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
.mobile-menu { position: fixed; z-index: 45; inset: 0; background: var(--ink); color: var(--sand); padding: 112px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity var(--t2) var(--ease), visibility 0s linear var(--t2); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu li a { font-family: var(--f-d); font-weight: 300; font-size: 48px; letter-spacing: -.03em; line-height: 1.1; text-decoration: none; }
.mobile-menu .btn { align-self: stretch; }

/* ---------------- HERO ---------------- */
.hero { position: relative; height: 100svh; background: var(--ink); }
.js .hero { height: 560svh; }
.hero-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate;
  --sky-a: #8fb0c4; --sky-b: #c8d5d7; --sky-c: #efe7d8; --sea-a: #7e9dae; --sea-b: #5d7e92; --sun-c: #fffaf0; --sun-x: 70%; --sun-y: 6%; --sun-s: 22vmin; --sun-o: .5; --glint-o: .15; --mast: #0E1A24; --ui: #0E1A24; }
.sky { position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 50%, var(--sky-c) 70%); }
.sun { position: absolute; left: var(--sun-x); top: var(--sun-y); width: var(--sun-s); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; opacity: var(--sun-o);
  background: radial-gradient(circle, var(--sun-c) 0 14%, color-mix(in srgb, var(--sun-c) 55%, transparent) 22%, color-mix(in srgb, var(--sun-c) 18%, transparent) 42%, transparent 70%); }
.sea { position: absolute; left: 0; right: 0; top: 70%; bottom: 0; background: linear-gradient(180deg, var(--sea-a), var(--sea-b)); overflow: hidden; }
.sea::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: color-mix(in srgb, var(--sun-c) 50%, transparent); opacity: calc(var(--glint-o) + .2); }
.glint { position: absolute; top: 0; bottom: 0; left: var(--sun-x); width: 30vmin; transform: translateX(-50%); opacity: var(--glint-o);
  background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--sun-c) 80%, transparent) 0 1.5px, transparent 1.5px 7px);
  -webkit-mask-image: radial-gradient(ellipse 45% 95% at 50% 0%, #000 0, transparent 75%); mask-image: radial-gradient(ellipse 45% 95% at 50% 0%, #000 0, transparent 75%); }

.mast { position: absolute; z-index: -2; left: 0; right: 0; top: 17svh; text-align: center; font-family: var(--f-d); font-weight: 300; color: var(--mast); letter-spacing: -.045em; line-height: .84; font-size: 27vw; will-change: transform, opacity; }
.mast-l { display: block; overflow: hidden; padding: 0 .04em .06em; margin-bottom: -.06em; }
.mast-l > span { display: inline-block; }
.mast em { font-weight: 300; }
.js .mast-l > span { transform: translateY(104%); animation: rise 1s var(--ease) .1s forwards; }
.js .mast-2 > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
@media (min-width: 760px) {
  .mast { top: 14svh; font-size: 15.6vw; line-height: .9; }
  .mast-l { display: inline-block; vertical-align: top; }
}

#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s var(--ease); touch-action: pan-y; }
.hero.ready #scene { opacity: 1; }
.hero-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease) .2s; }
.hero.ready .hero-poster img { opacity: 0; }
.hero.no-webgl #scene { display: none; }
.js .hero.no-webgl { height: 100svh; }
.hero.no-webgl .ch:first-child { opacity: 1; visibility: visible; }

.hero-ui { position: absolute; inset: 0; pointer-events: none; color: var(--ui); }
/* film finish: a whisper of grain over sky and model */
.hero-stick::after { content: ""; position: absolute; inset: -50%; z-index: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-7%, 4%); } 40% { transform: translate(5%, -6%); } 60% { transform: translate(-4%, -3%); } 80% { transform: translate(6%, 5%); } 100% { transform: translate(0, 0); } }
.clock { position: absolute; right: var(--pad); top: 76px; text-align: right; display: grid; gap: 2px; color: var(--mast); }
.clock-t { font-family: var(--f-d); font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums lining-nums; }
.clock-c { font-size: 12px; letter-spacing: .04em; opacity: .8; }
.chapters { position: absolute; left: var(--pad); right: var(--pad); bottom: 76px; height: 132px; }
.ch { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--f-d); font-weight: 400; font-size: 24px; line-height: 1.18; letter-spacing: -.01em; max-width: 22ch; opacity: 0; visibility: hidden; }
.ch-cue { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-family: var(--f-t); font-size: 13px; letter-spacing: .02em; opacity: .8; }
.ch-cue::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.drag-hint { display: none; }
.levels { position: absolute; inset: 0; }
.lvl { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 10px; padding: 8px 4px 8px 12px; color: var(--sand); text-decoration: none; opacity: 0; pointer-events: none; will-change: transform; white-space: nowrap; }
.lvl::before { content: ""; position: absolute; left: calc(var(--lead, 24px) * -1); top: 24px; width: var(--lead, 24px); height: 1px; background: currentColor; opacity: .55; }
.lvl::after { content: ""; position: absolute; left: calc(var(--lead, 24px) * -1 - 3px); top: 21px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lvl b { font-family: var(--f-d); font-weight: 300; font-size: 36px; line-height: 1; letter-spacing: -.03em; }
.lvl span { font-size: 13px; letter-spacing: .02em; }
.lvl:hover span { text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 900px) {
  .clock { right: auto; top: auto; left: var(--pad); bottom: 68px; text-align: left; color: var(--ui); }
  .clock-t { font-size: clamp(88px, 9vw, 152px); }
  .clock-c { font-size: 13px; }
  .chapters { left: auto; right: var(--pad); bottom: 72px; width: 380px; height: 160px; }
  .ch { font-size: 28px; }
  .drag-hint { display: flex; align-items: center; gap: 10px; position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); font-size: 13px; letter-spacing: .02em; transition: opacity .6s var(--ease); }
  .drag-hint i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: nudge 2.4s var(--ease-io) infinite; }
  .drag-hint.gone { opacity: 0; }
  .lvl b { font-size: 48px; }
  .lvl span { font-size: 14px; }
  }
@media (max-width: 759px) { .glint { opacity: calc(var(--glint-o) * .45); } }
@keyframes nudge { 0%, 100% { transform: translateX(-8px); } 50% { transform: translateX(8px); } }

/* ---------------- LISTINGS RAIL ---------------- */
.rail-sec { position: relative; background: var(--ink); color: var(--sand); }
.rail-pin { padding: 96px 0 72px; }
.rail-head { padding: 0 var(--pad); display: grid; gap: 24px; }
.rail-title { font-size: clamp(56px, 15.5vw, 180px); white-space: nowrap; }
.rail-title { display: flex; align-items: flex-start; }
.rail-title sup { font-family: var(--f-t); font-size: 14px; font-weight: 500; letter-spacing: .02em; line-height: 1; margin: .5em 0 0 8px; }
.sentence { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; color: var(--sand-70); max-width: 620px; }
.sel { position: relative; display: inline-block; }
.sel select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-bottom: 1px solid var(--sand-50); border-radius: 0; color: var(--sand); font-family: var(--f-d); font-style: italic; font-size: 22px; line-height: 1.2; padding: 0 22px 2px 0; cursor: pointer; transition: border-color var(--t1); }
.sel select:hover, .sel select:focus { border-color: var(--sand); }
.sel::after { content: ""; position: absolute; right: 4px; top: 45%; width: 6px; height: 6px; border: solid var(--sand); border-width: 0 1.5px 1.5px 0; transform: translateY(-50%) rotate(45deg); pointer-events: none; }
.sel option, .sel optgroup { color: var(--ink); background: var(--sand); font-style: normal; font-family: var(--f-t); }
.clear { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; color: var(--sand); }
.rail-view { margin-top: 40px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.rail-view::-webkit-scrollbar { display: none; }
.rail-track { display: flex; gap: 16px; padding: 0 var(--pad); width: max-content; }
.card { position: relative; flex: none; width: 84vw; max-width: 440px; scroll-snap-align: start; cursor: pointer; color: var(--sand); }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .8s var(--ease); }
.card-img img + img { opacity: 0; }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 26, 36, .4) 0%, transparent 20%, transparent 42%, rgba(14, 26, 36, .62) 66%, rgba(14, 26, 36, .94) 100%); }
.card-top { position: absolute; z-index: 2; left: 20px; right: 20px; top: 18px; display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .02em; }
.card-top b { font-weight: 500; }
.card-body { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; }
.card-sub { font-size: 14px; opacity: .85; }
.card h3 { font-weight: 300; font-size: 36px; letter-spacing: -.03em; margin-top: 4px; }
.card h3 button { text-align: left; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.facts { display: flex; gap: 14px; font-size: 14px; }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts .i { width: 16px; height: 16px; opacity: .8; }
.price { font-family: var(--f-d); font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.price small { font-family: var(--f-t); font-size: 13px; opacity: .75; }
.card.off { background: var(--sand); color: var(--ink); padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 5; cursor: default; }
.card.off h3 { font-size: 34px; font-weight: 300; }
.card.off p { margin-top: 16px; color: var(--ink-70); max-width: 30ch; }
.card.empty { background: var(--ink-2); padding: 28px 24px; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; cursor: default; }
.card.empty h3 { font-size: 34px; font-weight: 300; }
.card.empty p { color: var(--sand-70); }
.card.empty button { align-self: flex-start; }
.rail-foot { display: none; }
@media (hover: hover) {
  .card:hover .card-img img { transform: scale(1.04); }
  .card:hover .card-img img + img { opacity: 1; }
}
@media (min-width: 900px) {
  .rail-sec { height: var(--rail-h, auto); }
  .rail-pin { position: sticky; top: 0; height: 100vh; padding: 104px 0 36px; display: flex; flex-direction: column; overflow: hidden; }
  .rail-head { grid-template-columns: auto 1fr; align-items: end; gap: 48px; }
  .rail-title { font-size: clamp(96px, 10.5vw, 176px); }
  .sentence { justify-self: end; justify-content: flex-end; text-align: right; padding-bottom: 12px; max-width: 560px; }
  .rail-view { flex: 1; min-height: 0; margin-top: 32px; overflow: visible; scroll-snap-type: none; }
  .rail-track { height: 100%; align-items: stretch; gap: 40px; will-change: transform; }
  .card { width: auto; max-width: none; height: 100%; display: flex; }
  .card-img { height: 100%; aspect-ratio: 4 / 3; }
  .card:nth-child(even) .card-img { aspect-ratio: 3 / 4; height: 84%; align-self: flex-end; }
  .card-top { left: 28px; right: 28px; top: 24px; font-size: 14px; }
  .card-body { left: 28px; right: 28px; bottom: 28px; }
  .card h3 { font-size: clamp(40px, 3.6vw, 60px); }
  .card:nth-child(even) h3 { font-size: clamp(34px, 2.8vw, 46px); }
  .price { font-size: 26px; }
  .card.off, .card.empty { aspect-ratio: 3 / 4; height: 84%; align-self: flex-end; padding: 40px 36px; }
  .card.off h3, .card.empty h3 { font-size: 44px; }
  .rail-foot { display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding: 24px var(--pad) 0; font-size: 13px; color: var(--sand-70); }
  .rail-prog { position: relative; width: 160px; height: 1px; background: var(--sand-16); }
  .rail-prog i { position: absolute; inset: 0; background: var(--sand); transform-origin: left; transform: scaleX(var(--rp, 0)); }
}
html.no-pin .rail-sec { height: auto; }

/* ---------------- APPRAISAL ---------------- */
.appraise { padding: var(--sec) var(--pad); }
.ap-grid { display: grid; gap: 56px; max-width: 1480px; margin: 0 auto; }
.ap-title { font-size: clamp(64px, 15vw, 152px); max-width: 7ch; }
.ap-intro .lede { margin-top: 32px; color: var(--ink-70); }
.ap-promise { margin-top: 40px; display: grid; gap: 10px; font-size: 16px; }
.ap-promise li { display: flex; gap: 12px; align-items: baseline; }
.ap-promise li::before { content: ""; width: 20px; height: 1px; background: currentColor; transform: translateY(-4px); flex: none; }
.ap-card { background: var(--ink); color: var(--sand); padding: 28px 20px 32px; border-radius: 2px; min-height: 560px; display: flex; flex-direction: column; }
#apFlow { display: flex; flex-direction: column; flex: 1; }
.dial { width: 100%; max-width: 320px; margin: 0 auto 8px; }
.dial-svg { width: 100%; overflow: visible; display: block; }
.dial-arc, .dial-done { fill: none; stroke-width: 1; }
.dial-arc { stroke: var(--sand-16); stroke-dasharray: 2 6; }
.dial-done { stroke: var(--sand); transition: stroke-dashoffset var(--t3) var(--ease); }
.dial-hz { stroke: var(--sand-50); stroke-width: 1; }
.dial-sun { fill: var(--brass); filter: drop-shadow(0 0 10px rgba(203, 157, 86, .7)); transition: cx var(--t3) var(--ease), cy var(--t3) var(--ease); }
.ap-prog { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .02em; color: var(--sand-70); margin: 4px 0 28px; }
.ap-prog span:first-child { font-variant-numeric: tabular-nums; }
.ap-steps { position: relative; flex: 1; }
.ap-step { display: none; }
.ap-step.on { display: block; animation: stepIn .5s var(--ease); }
.ap-step.on.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-16px); } }
.ap-step h3 { font-weight: 300; font-size: clamp(32px, 3vw, 44px); letter-spacing: -.03em; }
.ap-step > p { margin: 10px 0 28px; color: var(--sand-70); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { text-align: left; padding: 16px; border: 1px solid var(--sand-16); border-radius: 2px; display: grid; gap: 4px; transition: border-color var(--t1), background-color var(--t1), color var(--t1); }
.opt b { font-family: var(--f-d); font-weight: 400; font-size: 24px; letter-spacing: -.02em; }
.opt small { font-size: 13px; color: var(--sand-70); }
.opt:hover { border-color: var(--sand-50); }
.opt[aria-checked="true"] { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.opt[aria-checked="true"] small { color: var(--ink-70); }
.steppers { display: grid; gap: 16px; }
.stepper { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.stepper > span { font-size: 16px; }
.stepper-ctl { display: flex; align-items: center; gap: 20px; }
.stepper-ctl output { font-family: var(--f-d); font-weight: 300; font-size: 56px; line-height: 1; min-width: 1.4ch; text-align: center; font-variant-numeric: tabular-nums; }
.stepper-ctl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--sand-50); display: grid; place-items: center; transition: background-color var(--t1), color var(--t1); }
.stepper-ctl button:hover:not([disabled]) { background: var(--sand); color: var(--ink); }
.stepper-ctl button[disabled] { opacity: .3; cursor: default; }
.ap-err { min-height: 22px; margin-top: 12px; font-size: 14px; color: #F0B9A0; }
.ap-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.ap-foot .btn { margin-left: auto; }
.ap-back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--sand-70); }
.ap-back:hover { color: var(--sand); }
@media (min-width: 1000px) {
  .ap-grid { grid-template-columns: 1.05fr 1fr; gap: 96px; align-items: start; }
  .ap-intro { position: sticky; top: 140px; }
  .ap-card { padding: 40px 48px 44px; min-height: 640px; }
}

/* forms */
.form { display: grid; gap: 20px; }
.form-2 { display: grid; gap: 20px; }
@media (min-width: 600px) { .form-2 { grid-template-columns: 1fr 1fr; } }
.in { position: relative; display: grid; gap: 6px; }
.in label { font-size: 13px; letter-spacing: .02em; opacity: .75; }
.in input, .in textarea, .in select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); border-radius: 0; padding: 10px 0 12px; font-size: 18px; outline: none; transition: border-color var(--t1); }
.in textarea { resize: vertical; min-height: 96px; }
.in input:focus, .in textarea:focus, .in select:focus { border-color: currentColor; }
.in input::placeholder, .in textarea::placeholder { color: inherit; opacity: .4; }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 6px; top: 45%; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-50%) rotate(45deg); pointer-events: none; }
.select option { color: var(--ink); background: var(--sand); }
.err { display: none; font-size: 13px; color: #F0B9A0; }
.sand .err { color: #8E3B22; }
.in.bad .err { display: block; }
.in.bad input { border-color: #F0B9A0; }
.ac-list { display: none; position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin-top: 4px; background: var(--sand); color: var(--ink); border-radius: 2px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .5); padding: 6px; }
.ac-list.on { display: block; }
.ac-list li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; cursor: pointer; border-radius: 2px; font-size: 15px; }
.ac-list li small { color: var(--ink-70); font-size: 14px; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--ink-12); }
.ac-list .i { width: 16px; height: 16px; opacity: .6; }

/* success state (appraisal, enquiry, contact) */
.success h4 { font-family: var(--f-d); font-weight: 300; font-size: clamp(36px, 3.4vw, 52px); letter-spacing: -.03em; line-height: 1; }
.success p { margin-top: 14px; max-width: 44ch; opacity: .85; }
.ap-summary { margin: 28px 0; display: grid; gap: 10px; }
.ap-summary li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 15px; }
.ap-summary span { opacity: .65; }
.ap-summary b { font-weight: 500; }
.ap-range { padding: 24px 0; display: grid; gap: 6px; }
.ap-range b { font-family: var(--f-d); font-weight: 300; font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: lining-nums; }
.ap-range small { font-size: 13px; opacity: .7; }
.success .link { margin-top: 12px; }

/* ---------------- INSIGHTS ---------------- */
.insights { padding: var(--sec) var(--pad); }
.ins-head { display: grid; gap: 20px; max-width: 1480px; margin: 0 auto; }
.ins-head h2 { font-size: clamp(56px, 12vw, 136px); max-width: 15ch; }
.ins-tabs { display: flex; gap: 8px 28px; overflow-x: auto; scrollbar-width: none; margin: 56px calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 8px; max-width: 1544px; }
.ins-tabs::-webkit-scrollbar { display: none; }
.ins-tabs button { flex: none; font-family: var(--f-d); font-size: 24px; letter-spacing: -.02em; padding: 6px 0; color: var(--sand-50); border-bottom: 1px solid transparent; transition: color var(--t1), border-color var(--t1); }
.ins-tabs button:hover { color: var(--sand); }
.ins-tabs button[aria-selected="true"] { color: var(--sand); border-color: var(--sand); }
.ins-grid { display: grid; gap: 48px; margin: 40px auto 0; max-width: 1480px; }
.map { position: relative; max-width: 380px; }
.map svg { width: 100%; overflow: visible; display: block; }
.land { fill: rgba(229, 214, 188, .05); stroke: var(--sand-50); stroke-width: 1; }
.water-label { fill: var(--sand-50); font-family: var(--f-d); font-style: italic; font-size: 13px; }
.pt { cursor: pointer; outline: none; }
.pt .hit { fill: transparent; }
.pt .dot { fill: var(--ink); stroke: var(--sand); stroke-width: 1.5; transition: r var(--t2) var(--ease), fill var(--t1); }
.pt text { fill: var(--sand-70); font-size: 12px; font-family: var(--f-t); transition: fill var(--t1); }
.pt:hover .dot, .pt:focus-visible .dot { fill: var(--sand-50); }
.pt.on .dot { fill: var(--sand); r: 7; }
.pt.on text, .pt:hover text { fill: var(--sand); }
.map-cap { margin-top: 12px; font-size: 13px; color: var(--sand-50); }
.ins-pc { font-size: 13px; color: var(--sand-70); letter-spacing: .02em; }
.ins-panel h3 { font-weight: 300; font-size: clamp(56px, 8vw, 120px); letter-spacing: -.045em; line-height: .95; margin-top: 8px; }
.ins-desc { margin-top: 20px; max-width: 50ch; color: var(--sand-70); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin: 44px 0; }
.stat dt { font-size: 13px; color: var(--sand-70); }
.stat dd { font-family: var(--f-d); font-weight: 300; font-size: clamp(36px, 3.6vw, 52px); letter-spacing: -.03em; line-height: 1.1; margin-top: 4px; font-variant-numeric: lining-nums; }
.stat dd small { font-family: var(--f-t); font-size: 14px; margin-left: 6px; color: var(--sand-70); letter-spacing: 0; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chart-head h4 { font-weight: 500; font-size: 15px; }
.chart-head span { font-size: 13px; color: var(--sand-50); }
.chart { position: relative; margin: 16px 0 32px; }
.chart svg { width: 100%; height: 220px; display: block; overflow: visible; touch-action: pan-y; }
.chart .grid line { stroke: var(--sand-16); stroke-width: 1; }
.chart .axis text { fill: var(--sand-50); font-size: 12px; font-family: var(--f-t); }
.chart .line { fill: none; stroke: var(--sand); stroke-width: 1.75; stroke-linejoin: round; }
.chart .endpt { fill: var(--sand); }
.chart .xhair { stroke: var(--sand-50); stroke-width: 1; opacity: 0; }
.chart .hpt { fill: var(--ink); stroke: var(--sand); stroke-width: 1.75; opacity: 0; }
.chart.hover .xhair, .chart.hover .hpt { opacity: 1; }
.tip { position: absolute; transform: translate(-50%, -100%); background: var(--sand); color: var(--ink); padding: 8px 12px; border-radius: 2px; font-size: 13px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity var(--t1); }
.tip b { display: block; font-family: var(--f-d); font-size: 18px; font-weight: 400; }
.chart.hover .tip { opacity: 1; }
@media (min-width: 1000px) {
  .ins-head { grid-template-columns: 1fr auto; align-items: end; }
  .ins-head .note { padding-bottom: 12px; }
  .ins-grid { grid-template-columns: minmax(280px, 380px) 1fr; gap: 96px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------- SOLD ---------------- */
.sold-sec { position: relative; padding: var(--sec) var(--pad); }
.sold-head { display: grid; gap: 16px; max-width: 1480px; margin: 0 auto 48px; }
.sold-head h2 { font-size: clamp(64px, 15vw, 200px); }
.sold-list { max-width: 1480px; margin: 0 auto; display: grid; }
.sold { display: grid; grid-template-columns: 88px 1fr; gap: 4px 16px; padding: 20px 0; align-items: center; }
.sold-thumb { grid-row: span 3; width: 88px; aspect-ratio: 1; object-fit: cover; }
.sold h3 { font-weight: 300; font-size: 30px; letter-spacing: -.03em; }
.sold-meta { font-size: 14px; color: var(--ink-70); }
.sold-price { font-family: var(--f-d); font-size: 24px; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.sold-float { display: none; }
@media (min-width: 900px) {
  .sold-head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 64px; }
  .sold-head .note { padding-bottom: 20px; }
  .sold { grid-template-columns: 64px 1.4fr 1fr auto; gap: 24px; padding: 28px 0; transition: padding var(--t2) var(--ease), color var(--t1); cursor: default; }
  .sold-thumb { display: none; }
  .sold-idx { font-size: 14px; color: var(--ink-50); font-variant-numeric: tabular-nums; }
  .sold h3 { font-size: clamp(44px, 5vw, 84px); line-height: 1; }
  .sold-price { font-size: clamp(36px, 4vw, 64px); font-weight: 300; text-align: right; }
  .sold-list:hover .sold { color: var(--ink-50); }
  .sold-list:hover .sold:hover { color: var(--ink); padding-left: 16px; }
  .sold-float { display: block; position: fixed; left: 0; top: 0; z-index: 30; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden; opacity: 0; transform: translate3d(-999px, 0, 0); transition: opacity var(--t2) var(--ease); }
  .sold-float.on { opacity: 1; }
  .sold-float img { width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 899px) { .sold-idx { display: none; } }

/* ---------------- INTERLUDE ---------------- */
.interlude { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--sand); background: var(--ink); }
.inter-img { position: absolute; inset: -1px; }
.inter-img img { width: 100%; height: 120%; object-fit: cover; will-change: transform; filter: saturate(.85); }
.inter-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 26, 36, .2) 0%, rgba(14, 26, 36, .25) 40%, rgba(14, 26, 36, .9) 100%); }
.interlude blockquote { position: relative; padding: 0 var(--pad) 96px; max-width: 1480px; margin: 0 auto; width: 100%; }
.interlude blockquote p { font-family: var(--f-d); font-weight: 300; font-size: clamp(40px, 6.4vw, 104px); letter-spacing: -.04em; line-height: .98; max-width: 16ch; }
.interlude cite { display: block; margin-top: 28px; font-style: normal; font-size: 14px; letter-spacing: .02em; opacity: .85; }

/* ---------------- TEAM + TESTIMONIALS ---------------- */
.team { padding: var(--sec) var(--pad); }
.team-head { display: grid; gap: 24px; max-width: 1480px; margin: 0 auto; }
.team-head h2 { font-size: clamp(56px, 12vw, 152px); max-width: 9ch; }
.team-head .lede { color: var(--ink-70); }
.team-grid { display: grid; gap: 48px; max-width: 1480px; margin: 64px auto 0; }
.person-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-12); }
.person-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.02); transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.person:hover .person-img img { transform: scale(1.03); filter: none; }
.person h3 { font-weight: 300; font-size: 36px; letter-spacing: -.03em; margin-top: 20px; }
.role { font-size: 14px; color: var(--ink-70); margin-top: 4px; }
.bio { margin-top: 12px; max-width: 36ch; }
.person-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 16px; font-size: 14px; }
.person-links a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ink-50); }
.person-links a:hover { text-decoration-color: currentColor; }
@media (min-width: 900px) {
  .team-head { grid-template-columns: 1fr auto; align-items: end; }
  .team-head .lede { padding-bottom: 12px; max-width: 34ch; }
  .team-grid { grid-template-columns: 1.15fr 1fr 1fr; gap: 40px; align-items: start; }
  .person:nth-child(2) { margin-top: 160px; }
  .person:nth-child(3) { margin-top: 64px; }
}
.tst { max-width: 1480px; margin: var(--sec) auto 0; }
.tst-stage { display: grid; }
.tst-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.tst-item.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.tst-item blockquote { font-family: var(--f-d); font-weight: 300; font-size: clamp(34px, 4.6vw, 72px); letter-spacing: -.035em; line-height: 1.04; max-width: 20ch; }
.tst-item figcaption { margin-top: 24px; font-size: 14px; color: var(--ink-70); }
.tst-ctl { display: flex; align-items: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.arr { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink-50); display: grid; place-items: center; transition: background-color var(--t1), color var(--t1); }
.arr:hover { background: var(--ink); color: var(--sand); }
.tst-idx { font-size: 14px; font-variant-numeric: tabular-nums; min-width: 40px; text-align: center; }
.tst-ctl .note { margin-left: auto; }

/* ---------------- CONTACT + FOOTER ---------------- */
.contact { padding: var(--sec) var(--pad); }
.contact-grid { display: grid; gap: 64px; max-width: 1480px; margin: 0 auto; }
.contact h2 { font-size: clamp(56px, 12vw, 152px); max-width: 9ch; }
.contact-list { margin-top: 48px; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: baseline; }
.contact-list span { font-size: 13px; color: var(--sand-70); }
.contact-list a { font-family: var(--f-d); font-size: 24px; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact .form .btn { margin-top: 8px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 96px; align-items: end; } }

.foot { padding: 64px var(--pad) 0; overflow: hidden; }
.foot-note { max-width: 70ch; font-size: 13px; color: var(--sand-70); margin-bottom: 24px; }
.foot-mark { font-family: var(--f-d); font-weight: 300; font-size: 18.4vw; letter-spacing: -.055em; line-height: .78; white-space: nowrap; margin: 0 -.02em -.08em; color: var(--sand); }

/* ---------------- PROPERTY DETAIL ---------------- */
.pd { padding: 0; margin: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: var(--ink); color: var(--sand); }
.pd::backdrop { background: rgba(14, 26, 36, .7); }
.pd[open] { animation: pdIn .55s var(--ease); }
.pd.closing { animation: pdOut .32s var(--ease-io) forwards; }
@keyframes pdIn { from { opacity: 0; transform: translateY(24px); } }
@keyframes pdOut { to { opacity: 0; transform: translateY(16px); } }
.pd-close { position: fixed; z-index: 5; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; background: var(--sand); color: var(--ink); display: grid; place-items: center; }
.pd-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.pd-grid { display: grid; }
.gal-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.gal-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .9s var(--ease); }
.gal-main img.out { opacity: 0; transform: scale(1.03); }
.gal-nav { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; }
.gal-count { margin-right: auto; font-size: 13px; background: rgba(14, 26, 36, .6); padding: 6px 10px; border-radius: 2px; font-variant-numeric: tabular-nums; }
.gal-nav button { width: 44px; height: 44px; border-radius: 50%; background: rgba(14, 26, 36, .6); display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.thumbs { display: none; }
.pd-body { padding: 36px var(--pad) 64px; display: grid; gap: 40px; align-content: start; }
.pd-kicker { font-size: 13px; color: var(--sand-70); letter-spacing: .02em; }
.pd-body h2 { font-size: clamp(48px, 5vw, 80px); margin-top: 8px; }
.pd-addr { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--sand-70); }
.pd-addr .i { width: 16px; height: 16px; }
.pd-price { font-family: var(--f-d); font-size: 30px; margin-top: 8px; letter-spacing: -.02em; }
.keyfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
.keyfacts dt { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sand-70); letter-spacing: .02em; }
.keyfacts dt .i { width: 14px; height: 14px; }
.keyfacts dd { font-family: var(--f-d); font-size: 24px; letter-spacing: -.02em; margin-top: 4px; line-height: 1.15; }
.pd-desc { display: grid; gap: 14px; color: var(--sand-70); max-width: 56ch; }
.pd-block h3 { font-weight: 300; font-size: 32px; }
.pd-block > p { margin: 6px 0 20px; color: var(--sand-70); }
.slots { display: grid; gap: 8px; }
.slot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--sand-16); border-radius: 2px; text-align: left; transition: border-color var(--t1), background-color var(--t1), color var(--t1); }
.slot b { display: block; font-weight: 500; }
.slot small { font-size: 13px; color: var(--sand-70); }
.slot:hover { border-color: var(--sand-50); }
.slot .tick { opacity: 0; transition: opacity var(--t1); }
.slot[aria-checked="true"] { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.slot[aria-checked="true"] small { color: var(--ink-70); }
.slot[aria-checked="true"] .tick { opacity: 1; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border: 1px solid var(--sand-16); border-radius: 2px; font-size: 14px; transition: border-color var(--t1), background-color var(--t1), color var(--t1); }
.chip:hover { border-color: var(--sand-50); }
.chip[aria-pressed="true"] { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.pd-agent { display: flex; align-items: center; gap: 16px; }
.pd-agent img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.pd-agent b { display: block; font-family: var(--f-d); font-weight: 400; font-size: 22px; }
.pd-agent span { font-size: 14px; color: var(--sand-70); }
@media (min-width: 1000px) {
  .pd-grid { grid-template-columns: 1.35fr 1fr; min-height: 100%; }
  .gal { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; }
  .gal-stage { flex: 1; aspect-ratio: auto; }
  .gal-nav { left: 24px; right: 24px; bottom: 24px; }
  .thumbs { display: flex; gap: 8px; position: absolute; left: 24px; top: 24px; }
  .thumbs button { width: 72px; height: 54px; overflow: hidden; opacity: .6; outline-offset: 2px; transition: opacity var(--t1); }
  .thumbs button[aria-current="true"] { opacity: 1; outline: 1.5px solid var(--sand); }
  .thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .pd-body { padding: 96px 64px 80px; }
  .pd-close { top: 24px; right: 24px; }
}

/* ---------------- CURSOR, BADGE ---------------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: grid; place-items: center; position: fixed; z-index: 60; left: 0; top: 0; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--sand); color: var(--ink); font-size: 14px; font-weight: 500; pointer-events: none; transform: translate3d(-200px, -200px, 0) scale(0); transition: scale var(--t2) var(--ease); scale: 0; }
  .cursor.on { scale: 1; }
}
.concept-badge { position: fixed; z-index: 70; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: var(--sand); color: var(--ink); font-size: 12px; font-weight: 500; text-decoration: none; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .45); white-space: nowrap; }
.concept-badge:hover { background: #fff6e6; }

/* headings: one masked rise when they enter (no fade-up on everything) */
.js .reveal { clip-path: inset(-20% -10% 100% -10%); transform: translateY(24px); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.shown { clip-path: inset(-20% -10% -20% -10%); transform: none; }

/* ---------------- REDUCED MOTION ---------------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero { height: 100svh; }
  .js .mast-l > span { transform: none; animation: none; }
  .js .reveal { clip-path: none; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .drag-hint { display: none !important; }
}

/* sold rows on phones: thumbnail left, text right */
@media (max-width: 899px) {
  .sold > :not(.sold-thumb) { grid-column: 2; }
  .sold-thumb { grid-column: 1; grid-row: 1 / span 3; }
}
/* reduced motion on desktop: the rail becomes a plain swipe row */
@media (min-width: 900px) {
  html.no-pin .rail-pin { position: static; height: auto; overflow: visible; }
  html.no-pin .rail-view { overflow-x: auto; scroll-snap-type: x mandatory; }
  html.no-pin .rail-track { height: 68vh; }
  html.no-pin .card { scroll-snap-align: start; }
}
