/* =========================================================
   Sterling Estates — "a film trailer for a home"
   Colours, fonts and spacing live in :root below.
   ========================================================= */

:root {
  --seafoam: #E8EFEC;
  --deepsea: #0E2A33;
  --night: #071A20;
  --sand: #D9C7A7;
  --gold: #B8935A;
  --white: #FFFFFF;
  --black: #030708;
  --bar-bg: #030708;

  --ink: #0E2A33;
  --ink-soft: rgba(14, 42, 51, .72);
  --hair-dark: rgba(14, 42, 51, .18);
  --hair-light: rgba(217, 199, 167, .22);
  --hair-gold: rgba(184, 147, 90, .55);

  --display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --sans: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --bar: 68px;       /* top letterbox bar */
  --hbar: 68px;      /* hero bottom letterbox bar */
  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1360px;

  --ease: cubic-bezier(.22, .61, .21, 1);
  --ease-film: cubic-bezier(.7, 0, .18, 1);
}

@media (max-width: 760px) {
  :root { --bar: 58px; --hbar: 58px; }
}

*, *::before, *::after { box-sizing: border-box; }
/* scroll-behavior stays "auto": in-page links use the slower, eased glide in script.js */
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; scroll-padding-top: var(--bar); }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px;
  background: var(--gold); color: var(--night); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- placeholders: dashed gold outline so they're easy to spot ---------- */
.ph {
  outline: 1px dashed rgba(184, 147, 90, .85);
  outline-offset: 2px;
  border-radius: 2px;
  background: rgba(184, 147, 90, .10);
}

/* ---------- type ---------- */
.label {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  line-height: 1.5;
}
.label--gold { color: var(--gold); }
.slate { display: flex; gap: 14px; align-items: center; color: var(--ink-soft); margin-bottom: clamp(20px, 3vw, 36px); }
.slate span:first-child { color: var(--gold); }
.slate span + span::before { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; opacity: .5; vertical-align: middle; margin-right: 14px; }
.slate--light { color: rgba(255, 255, 255, .62); }

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.005em;
}
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; }
.num, .hero__amount, .card__price, .figure__num, table { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 26px;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn--line { border-color: rgba(255, 255, 255, .5); color: var(--white); background: transparent; }
.btn--line:hover { border-color: var(--gold); background: var(--gold); color: var(--night); }
.btn--dark { background: var(--deepsea); color: var(--white); }
.btn--dark:hover { background: var(--gold); color: var(--night); }
.btn--gold { background: var(--gold); color: var(--night); }
.btn--gold:hover { background: var(--sand); }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: -100px; z-index: 200; pointer-events: none;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-40px, 20px); }
  40% { transform: translate(30px, -50px); } 60% { transform: translate(-20px, 60px); }
  80% { transform: translate(50px, 10px); } 100% { transform: translate(0, 0); }
}

/* =========================================================
   TOP BAR (letterbox) + MENU
   ========================================================= */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--bar);
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
  padding: 0 var(--gutter);
  background: var(--bar-bg);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .6s var(--ease), background .6s var(--ease);
}
.topbar.is-scrolled { border-bottom-color: rgba(184, 147, 90, .28); background: rgba(3, 7, 8, .94); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: var(--sand); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--display); font-size: 19px; letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
.brand__sub { font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-top: 4px; }
.nav { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav a, .topbar__phone {
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: rgba(255, 255, 255, .72); transition: color .4s var(--ease); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.nav a:hover, .topbar__phone:hover { color: var(--sand); }
.topbar__cta { min-height: 40px; padding: 0 20px; font-size: 11px; }
.menu-btn { display: none; }

/* entrance of bar contents after the shutter */
.topbar > *, .hero__bar > *, .reveal-load { opacity: 0; transition: opacity 1.2s var(--ease) 1.4s; }
body.is-open .topbar > *, body.is-open .hero__bar > *, body.is-open .reveal-load { opacity: 1; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer;
    font-size: 11px; letter-spacing: .26em; text-transform: uppercase; padding: 10px 0; color: var(--white);
  }
  .menu-btn__lines { position: relative; width: 22px; height: 9px; }
  .menu-btn__lines::before, .menu-btn__lines::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease);
  }
  .menu-btn__lines::before { top: 0; } .menu-btn__lines::after { bottom: 0; }
  .menu-btn[aria-expanded="true"] .menu-btn__lines::before { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__lines::after { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 760px) {
  .topbar__phone, .topbar__cta { display: none; }
  .brand__name { font-size: 15px; letter-spacing: .16em; }
  .brand__sub { font-size: 8.5px; letter-spacing: .26em; }
  .brand__mark { width: 28px; height: 28px; }
}

.mnav {
  position: fixed; inset: var(--bar) 0 0 0; z-index: 99;
  background: var(--night); color: var(--white);
  padding: 32px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-film);
  overflow-y: auto;
}
.mnav.is-open { clip-path: inset(0 0 0 0); }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a {
  font-family: var(--display); font-size: clamp(1.9rem, 7vw, 3rem); text-decoration: none; line-height: 1.15;
  padding: 12px 0; border-bottom: 1px solid var(--hair-light); display: flex; align-items: baseline; gap: 18px;
}
.mnav nav a span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.mnav__phone { margin-top: 32px; color: var(--sand); text-decoration: none; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero__frame {
  position: absolute; inset: var(--bar) 0 var(--hbar) 0;
  overflow: hidden; background: var(--black);
  clip-path: inset(50% 0 50% 0);
  transition: clip-path 1.9s var(--ease-film) .25s;
}
body.is-open .hero__frame { clip-path: inset(0 0 0 0); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 2.6s ease-in-out; }
.hero__slide.is-active { opacity: 1; }
body:not(.is-open) .hero__slide { opacity: 0; }
.hero__slide.is-active { transition-delay: 0s; }
body.is-open .hero__slide:first-child.is-active { transition: opacity 2.8s ease-out .9s; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--ox, 50%) var(--oy, 50%);
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.02);
  will-change: transform;
}
.hero__slide.is-active img, .hero__slide.was-active img { animation: drift 11s linear forwards; }
.hero__slide.was-active img { animation-play-state: running; }
@keyframes drift {
  from { transform: scale(1.04) translate3d(var(--x0), var(--y0), 0); }
  to   { transform: scale(1.15) translate3d(var(--x1), var(--y1), 0); }
}
.hero.is-paused .hero__slide img { animation-play-state: paused; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 7, 8, .55) 0%, rgba(3, 7, 8, 0) 26%),
    linear-gradient(0deg, rgba(7, 26, 32, .88) 0%, rgba(7, 26, 32, .35) 34%, rgba(7, 26, 32, 0) 58%),
    linear-gradient(90deg, rgba(7, 26, 32, .35) 0%, rgba(7, 26, 32, 0) 50%);
}

.hero__corner { position: absolute; top: calc(var(--bar) + 30px); z-index: 2; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; line-height: 1.75; }
.hero__corner--l { left: var(--gutter); max-width: 300px; color: rgba(255, 255, 255, .6); }
.hero__corner--l strong { color: var(--white); font-weight: 500; }
.hero__corner--r { right: var(--gutter); text-align: right; display: flex; flex-direction: column; text-transform: none; letter-spacing: .02em; }
.hero__corner--r .label { font-size: 10.5px; }
.hero__corner { text-shadow: 0 1px 14px rgba(3, 7, 8, .55); }
.hero__sunset { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; font-variant-numeric: tabular-nums; }
.hero__golden { font-size: 13px; color: rgba(255, 255, 255, .7); }

.hero__titles {
  position: absolute; z-index: 2;
  left: var(--gutter); right: var(--gutter); bottom: calc(var(--hbar) + clamp(28px, 5vh, 56px));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
}
.hero__eyebrow { color: rgba(255, 255, 255, .7); margin-bottom: 10px; }
.hero__name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3rem, 8.4vw, 8.6rem); line-height: .96; letter-spacing: -.01em;
  text-shadow: 0 2px 40px rgba(7, 26, 32, .35);
}
.hero__name .w { display: inline-block; white-space: nowrap; }
.hero__name .ch { display: inline-block; }
.hero__meta { margin-top: 16px; font-size: 15px; color: rgba(255, 255, 255, .86); letter-spacing: .02em; }
.hero__price { text-align: right; flex: none; padding-bottom: 6px; display: flex; flex-direction: column; align-items: flex-end; }
.hero__price .label { color: rgba(255, 255, 255, .62); }
.hero__amount {
  font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.1; margin-top: 6px;
  padding-bottom: 14px; border-bottom: 1px solid var(--gold); min-width: 8ch; text-align: right;
}
.hero__link { margin-top: 14px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--sand); }
.hero__link:hover { color: var(--white); }

/* film-title entrance: letters sharpen out of a blur */
.hero__titles.is-leaving [data-hero] { opacity: 0; filter: blur(10px); transition: opacity .9s var(--ease), filter .9s var(--ease); }
.hero__titles.is-entering .ch { opacity: 0; filter: blur(16px); transform: translateY(.06em) scale(1.06); animation: sharpen 1.7s var(--ease) forwards; animation-delay: calc(var(--i) * 52ms + .15s); }
.hero__titles.is-entering [data-hero]:not([data-hero="name"]) { opacity: 0; filter: blur(8px); animation: sharpen 1.4s var(--ease) forwards; animation-delay: .9s; }
.hero__titles.is-entering [data-hero="eyebrow"] { animation-delay: .1s; }
@keyframes sharpen { to { opacity: 1; filter: blur(0); transform: none; } }
body:not(.is-open) .hero__titles { opacity: 0; }
.hero__titles { transition: opacity .4s; }

/* bottom letterbox bar */
.hero__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--hbar); z-index: 3;
  display: flex; align-items: center; gap: clamp(10px, 2vw, 26px);
  padding: 0 var(--gutter);
  background: var(--bar-bg);
}
.marker {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; align-items: stretch;
  background: none; border: 0; padding: 10px 0; cursor: pointer; text-align: left;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .45);
  transition: color .5s var(--ease);
}
.marker__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marker:hover, .marker.is-active { color: var(--white); }
.marker.is-active .marker__num { color: var(--gold); }
.marker__track { position: relative; height: 1px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.marker__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.marker.is-done .marker__fill { transform: scaleX(1); opacity: .35; }
.hero__pause {
  flex: none; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .25); background: none; border-radius: 50%;
  cursor: pointer; display: grid; place-items: center; transition: border-color .4s;
}
.hero__pause:hover { border-color: var(--gold); }
.hero__pause-icon { width: 8px; height: 10px; border-left: 2px solid var(--white); border-right: 2px solid var(--white); }
.hero__pause[aria-pressed="true"] .hero__pause-icon { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent var(--white); margin-left: 3px; }

@media (max-width: 900px) {
  .hero__corner--l { display: none; }
  .hero__corner--r { left: var(--gutter); right: auto; text-align: left; top: calc(var(--bar) + 20px); }
  .hero__titles { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero__price { align-items: flex-start; text-align: left; }
  .hero__amount { text-align: left; }
  .marker__name { display: none; }
}
@media (max-width: 480px) {
  .hero__name { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .hero__bar { gap: 10px; }
}

/* =========================================================
   Scroll reveals
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.split-reveal .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-reveal .w > span { display: inline-block; transform: translateY(105%); opacity: 0; filter: blur(6px); transition: transform 1.4s var(--ease), opacity 1.4s var(--ease), filter 1.4s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.split-reveal.in .w > span { transform: none; opacity: 1; filter: blur(0); }

/* =========================================================
   2. STATEMENT
   ========================================================= */
.statement { background: var(--seafoam); padding: clamp(90px, 13vw, 190px) 0 clamp(80px, 10vw, 150px); position: relative; }
.giant {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.7rem, 7.6vw, 7.8rem); line-height: 1; letter-spacing: -.012em;
  max-width: 14ch;
}
.giant em { font-style: normal; color: var(--gold); }
.statement__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 110px); margin-top: clamp(48px, 7vw, 96px); align-items: start; }
.statement__copy { display: grid; gap: 22px; max-width: 620px; color: var(--ink-soft); }
.statement__copy .lede { color: var(--ink); }
.statement__copy .btn { justify-self: start; margin-top: 10px; }

.sunset-card { position: relative; background: var(--night); color: var(--white); overflow: hidden; min-height: 360px; display: flex; }
.sunset-card__sky { position: absolute; inset: 0; }
.sunset-card__sky img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.sunset-card__sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 32, .2), rgba(7, 26, 32, .92) 75%); }
.sunset-card__body { position: relative; margin-top: auto; padding: clamp(24px, 3vw, 40px); width: 100%; }
.sunset-card__time { font-family: var(--display); font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; margin-top: 14px; font-variant-numeric: tabular-nums; }
.sunset-card__caption { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--sand); margin-top: 6px; }
.sunset-card__rows { margin-top: 26px; border-top: 1px solid var(--hair-light); }
.sunset-card__rows div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--hair-light); font-size: 14px; }
.sunset-card__rows dt { color: rgba(255, 255, 255, .66); }
.sunset-card__rows dd { font-variant-numeric: tabular-nums; }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 9vw, 130px); border-top: 1px solid var(--hair-dark); }
.figure { padding: 26px 24px 0 0; border-right: 1px solid var(--hair-dark); display: flex; flex-direction: column-reverse; gap: 12px; }
.figure + .figure { padding-left: 24px; }
.figure:last-child { border-right: 0; }
.figure .label { color: var(--ink-soft); }
.figure__num { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; color: var(--deepsea); white-space: nowrap; }

@media (max-width: 900px) {
  .statement__grid { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figure { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--hair-dark); }
  .figure + .figure { padding-left: 0; }
  .figure:nth-child(2n) { border-right: 0; padding-left: 16px; }
}

/* =========================================================
   3. LISTINGS
   ========================================================= */
.listings { background: var(--deepsea); color: var(--white); padding: clamp(90px, 11vw, 170px) 0 clamp(100px, 12vw, 190px); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .slate { grid-column: 1 / -1; margin-bottom: 0; }
.section-head__note { max-width: 380px; color: rgba(255, 255, 255, .7); font-size: 15.5px; }
.section-head__note strong { font-family: var(--display); font-weight: 400; color: var(--sand); font-size: 1.15em; }

.filters {
  display: flex; flex-wrap: wrap; gap: 18px clamp(24px, 3.4vw, 54px); align-items: center;
  padding: 20px 0; border-top: 1px solid var(--hair-light); border-bottom: 1px solid var(--hair-light);
  margin-bottom: clamp(40px, 6vw, 80px);
}
.filter { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filter > .label { color: var(--gold); }
.filter__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.filter__opts button {
  background: none; border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .75);
  padding: 8px 14px; font-size: 13px; cursor: pointer; transition: all .4s var(--ease); border-radius: 0;
}
.filter__opts button:hover { border-color: var(--sand); color: var(--white); }
.filter__opts button[aria-pressed="true"] { background: var(--sand); border-color: var(--sand); color: var(--night); }
.filters__count { margin-left: auto; font-size: 13px; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 54px) clamp(20px, 2.6vw, 44px); align-items: start; }
.card { position: relative; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.card[data-pos="1"] { margin-top: clamp(60px, 9vw, 140px); }
.card[data-pos="2"] { margin-top: clamp(24px, 4vw, 60px); }
.card.is-hidden { display: none; }
.card__poster { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--night); }
.card__poster img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 2.4s var(--ease), filter 1.2s var(--ease); filter: saturate(.92); }
.card:hover .card__poster img { transform: scale(1.09); filter: saturate(1.05); }
.card__poster::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 30%; z-index: 1; background: linear-gradient(180deg, rgba(7, 26, 32, .55), rgba(7, 26, 32, 0)); pointer-events: none; }
.card__reel { z-index: 2; }
.card__poster::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217, 199, 167, 0); transition: border-color .9s var(--ease); pointer-events: none; }
.card:hover .card__poster::after { border-color: rgba(217, 199, 167, .6); }
.card__reel { position: absolute; left: 18px; top: 16px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.card__body { padding-top: 20px; }
.card__city { color: var(--gold); }
.card__name { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.05; margin-top: 8px; }
.card__specs { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.card__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hair-light); }
.card__price { font-family: var(--display); font-size: 1.55rem; }
.card__book { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); text-decoration: none; white-space: nowrap; }
.card__book:hover { color: var(--white); }

.grid__empty { grid-column: 1 / -1; padding: 40px 0; color: rgba(255, 255, 255, .7); font-family: var(--display); font-size: 1.5rem; }
.grid__note { grid-column: 1; align-self: center; display: grid; gap: 16px; padding-right: 20px; color: rgba(255, 255, 255, .72); }
.grid__note .tel { font-family: var(--display); font-size: 1.6rem; color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; }
.card--offmarket { grid-column: 2 / span 2; display: grid; grid-template-columns: 1fr 1fr; background: var(--night); border: 1px solid var(--hair-light); }
.card--offmarket .card__poster { aspect-ratio: auto; min-height: 340px; }
.card--offmarket .card__poster img { filter: blur(14px) saturate(.8) brightness(.7); transform: scale(1.15); }
.card--offmarket:hover .card__poster img { filter: blur(10px) saturate(.9) brightness(.8); transform: scale(1.18); }
.offmarket__content { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; color: rgba(255, 255, 255, .75); }
.offmarket__content .card__name { color: var(--white); margin: 0; }
.offmarket__specs { font-size: 14px; }
.offmarket__content .btn { align-self: flex-start; margin-top: 8px; }

@media (max-width: 1024px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .card[data-pos] { margin-top: 0; }
  .card[data-pos="1"] { margin-top: 70px; }
  .card[data-pos="2"] { margin-top: 0; }
  .grid__note { grid-column: 1 / -1; padding: 0; }
  .card--offmarket { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .section-head { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .card[data-pos="1"] { margin-top: 0; }
  .card--offmarket { grid-template-columns: 1fr; }
  .card--offmarket .card__poster { min-height: 200px; }
  .filters { flex-direction: column; align-items: flex-start; }
  .filters__count { margin-left: 0; }
}

/* =========================================================
   4. FEATURED HOUSE — pinned
   ========================================================= */
.feature { background: var(--night); color: var(--white); }
.feature__intro { padding-top: clamp(90px, 11vw, 170px); padding-bottom: clamp(40px, 5vw, 70px); }
.feature__title { font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 11vw, 11rem); line-height: .92; letter-spacing: -.015em; }
.feature__introgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: clamp(28px, 4vw, 54px); align-items: end; }
.feature__lede { font-family: var(--display); font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.35; color: var(--sand); max-width: 26ch; }
.feature__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: end; gap: 0; border-top: 1px solid var(--hair-light); }
.feature__facts div { padding: 16px 26px 0 0; }
.feature__facts div + div { padding-left: 26px; border-left: 1px solid var(--hair-light); }
.feature__facts .label { color: rgba(255, 255, 255, .55); }
.feature__facts dd { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.8rem); margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.feature__hint { margin-top: clamp(40px, 6vw, 80px); color: rgba(255, 255, 255, .5); display: flex; align-items: center; gap: 16px; }
.feature__hint-line { width: 60px; height: 1px; background: var(--gold); transform-origin: left; animation: hint 2.6s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

.feature__track { position: relative; height: 460vh; }
.feature__stage {
  position: sticky; top: var(--bar);
  height: calc(100vh - var(--bar)); height: calc(100svh - var(--bar));
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
  overflow: hidden;
}
.feature__screen { position: relative; overflow: hidden; background: var(--black); }
.room-shot { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); transition: clip-path 1.5s var(--ease-film); }
.room-shot.is-shown { clip-path: inset(0 0 0 0); }
.room-shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 6s var(--ease); }
.room-shot.is-current img { transform: scale(1.02); }
.room-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 7, 8, .6), rgba(3, 7, 8, 0) 40%); }
.feature__screen-cap {
  position: absolute; left: clamp(18px, 2.4vw, 34px); right: clamp(18px, 2.4vw, 34px); bottom: clamp(18px, 2.4vw, 30px); z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
}
.feature__screen-cap .label { color: rgba(255, 255, 255, .78); }
.feature__screen-time { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }

.feature__panel {
  padding: clamp(26px, 3.2vw, 52px) clamp(22px, 3vw, 48px);
  display: flex; flex-direction: column; gap: clamp(18px, 3vh, 34px);
  border-left: 1px solid var(--hair-light); background: var(--night); min-height: 0;
}
.feature__roomtext { min-height: 0; }
.feature__room { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1.02; margin-top: 10px; }
.feature__copy { margin-top: 14px; color: rgba(255, 255, 255, .72); max-width: 36ch; }
.feature__roomtext.is-swapping > * { opacity: 0; filter: blur(8px); transform: translateY(6px); }
.feature__roomtext > * { transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease); }

.feature__instruments { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 20px; align-items: end; margin-top: auto; }
.plan svg { width: 100%; height: auto; max-height: 24vh; max-height: 24svh; display: block; overflow: visible; }
.plan { min-width: 0; }
.plan__room { fill: rgba(217, 199, 167, .03); stroke: rgba(217, 199, 167, .5); stroke-width: 1; transition: fill .9s var(--ease), stroke .9s var(--ease); }
.plan__room--out { stroke-dasharray: 4 3; }
.plan__room--pool { fill: rgba(232, 239, 236, .05); }
.plan__room.is-active { fill: rgba(184, 147, 90, .32); stroke: var(--gold); }
.plan__labels text, .plan__sea { font-family: var(--sans); font-size: 7.5px; letter-spacing: .18em; fill: rgba(255, 255, 255, .6); }
.plan__bluff { fill: none; stroke: rgba(217, 199, 167, .45); stroke-width: 1; stroke-dasharray: 2 3; }
.plan__cam { transition: transform 1.4s var(--ease); }
.plan__cam circle { fill: var(--white); }
.plan__cone { fill: rgba(255, 255, 255, .16); stroke: rgba(255, 255, 255, .5); stroke-width: .6; }
.plan figcaption { margin-top: 10px; color: rgba(255, 255, 255, .42); font-size: 10px; }

.sunwidget svg { width: 100%; height: auto; display: block; border: 1px solid var(--hair-light); }
.sunwidget__sun { fill: #F2C27B; filter: drop-shadow(0 0 6px rgba(242, 194, 123, .8)); }
.sunwidget__horizon { stroke: var(--sand); stroke-width: 1; }
.sunwidget__water { stroke: rgba(217, 199, 167, .45); stroke-width: .8; }
.sunwidget .label { margin-top: 8px; color: rgba(255, 255, 255, .55); font-size: 9.5px; letter-spacing: .2em; }

.feature__steps { list-style: none; margin: 0; padding: 14px 0 0; display: flex; gap: 6px; border-top: 1px solid var(--hair-light); }
.feature__steps li { flex: 1; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .38); position: relative; padding-top: 12px; transition: color .6s var(--ease); }
.feature__steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, .12); }
.feature__steps li.is-active { color: var(--white); }
.feature__steps li.is-active::before, .feature__steps li.is-past::before { background: var(--gold); }

@media (max-width: 1100px) and (min-width: 821px) {
  .feature__instruments { grid-template-columns: 1fr; }
  .sunwidget { display: none; }
}
@media (max-width: 820px) {
  .feature__introgrid { grid-template-columns: 1fr; }
  .feature__facts { grid-template-columns: repeat(2, auto); justify-content: start; }
  .feature__facts div, .feature__facts div + div { padding: 14px 20px 10px 0; border-left: 0; }
  .feature__stage { grid-template-columns: 1fr; grid-template-rows: minmax(0, 46%) minmax(0, 1fr); }
  .feature__panel { border-left: 0; border-top: 1px solid var(--hair-light); padding: 18px var(--gutter) 16px; gap: 12px; }
  .feature__room { font-size: clamp(1.7rem, 7vw, 2.4rem); margin-top: 6px; }
  .feature__copy { font-size: 15px; margin-top: 8px; line-height: 1.5; }
  .feature__instruments { grid-template-columns: minmax(0, 1fr) 84px; gap: 14px; }
  .plan figcaption { display: none; }
  .feature__steps li { font-size: 9px; letter-spacing: .12em; }
}
@media (max-width: 820px) and (max-height: 700px) {
  .feature__copy { display: none; }
}

/* =========================================================
   5. NEIGHBORHOODS
   ========================================================= */
.hoods { background: var(--seafoam); padding: clamp(90px, 11vw, 170px) 0; }
.hoods__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.hoods__text .lede { color: var(--ink-soft); margin-top: 22px; max-width: 46ch; }
.hood { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--hair-dark); margin-top: 26px; cursor: default; transition: background .5s var(--ease); }
.hood + .hood { margin-top: 0; }
.hood img { width: 120px; height: 120px; object-fit: cover; filter: saturate(.85); transition: filter .6s var(--ease); }
.hood.is-lit img, .hood:hover img { filter: saturate(1.1); }
.hood__name { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.05; margin-bottom: 8px; transition: color .5s var(--ease); }
.hood.is-lit .hood__name, .hood:hover .hood__name { color: var(--gold); }
.hood p { color: var(--ink-soft); font-size: 15.5px; }
.hood__stat { margin-top: 10px; font-size: 13px !important; letter-spacing: .04em; }

.map { position: relative; }
.map svg { width: 100%; height: auto; max-height: calc(100vh - var(--bar) - 80px); display: block; margin: 0 auto; color: var(--deepsea); }
.map__land { fill: rgba(217, 199, 167, .3); }
.map__sea { color: var(--deepsea); }
.map__coast { fill: none; stroke: var(--deepsea); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3.6s var(--ease); }
.map.in .map__coast { stroke-dashoffset: 0; }
.map__contour { fill: none; stroke: rgba(14, 42, 51, .14); stroke-width: 1; }
.map__compass circle { fill: none; stroke: rgba(14, 42, 51, .35); }
.map__compass path { fill: var(--gold); }
.map__compass text, .map__ocean { font-family: var(--sans); font-size: 11px; letter-spacing: .4em; fill: rgba(14, 42, 51, .55); }
.map__place circle { fill: var(--deepsea); }
.map__place text { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; fill: var(--deepsea); }
.map__place--hood circle { fill: var(--gold); }
.map__place--hood text { font-family: var(--display); font-size: 19px; letter-spacing: .02em; text-transform: none; }
.map__pulse { fill: none !important; stroke: var(--gold); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--ease) infinite; }
.map__place--hood.is-lit text { fill: var(--gold); }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.map figcaption { color: var(--ink-soft); margin-top: 10px; text-align: right; font-size: 10px; }
.map .map__place { opacity: 0; transition: opacity 1s var(--ease); }
.map.in .map__place { opacity: 1; }
.map.in .map__place:nth-of-type(2) { transition-delay: 1.2s; } .map.in .map__place:nth-of-type(3) { transition-delay: 1.8s; }
.map.in .map__place:nth-of-type(4) { transition-delay: 2.2s; } .map.in .map__place:nth-of-type(5) { transition-delay: 2.6s; }
.map.in .map__place:nth-of-type(6) { transition-delay: 3s; }

@media (max-width: 900px) {
  .hoods__grid { grid-template-columns: 1fr; }
  .map { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .hood { grid-template-columns: 84px 1fr; gap: 16px; }
  .hood img { width: 84px; height: 84px; }
  .hood__name { font-size: 1.6rem; }
}

/* =========================================================
   6. CREDITS
   ========================================================= */
.credits { background: var(--night); color: var(--white); padding: clamp(100px, 13vw, 200px) 0; text-align: center; }
.credits__wrap { max-width: 980px; }
.credits .slate { justify-content: center; }
.credits__presents { font-size: 13px; letter-spacing: .4em; text-transform: uppercase; color: var(--sand); }
.credits__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 5.4vw, 4.8rem); line-height: 1.04; margin-top: 18px; }
.credits__list { margin-top: clamp(56px, 8vw, 110px); display: grid; gap: clamp(26px, 3.4vw, 42px); }
.credit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 44px); align-items: baseline; }
.credit dt { text-align: right; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.credit dd { text-align: left; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.15; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.credit dd small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: rgba(255, 255, 255, .45); text-transform: uppercase; }
.credits__end { margin-top: clamp(70px, 10vw, 130px); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--sand); line-height: 2.2; }
.credits__end span { color: rgba(255, 255, 255, .45); }
@media (max-width: 560px) {
  .credit { grid-template-columns: 1fr; gap: 8px; }
  .credit dt, .credit dd { text-align: center; align-items: center; }
}

/* =========================================================
   7. SOLD
   ========================================================= */
.sold { background: var(--deepsea); color: var(--white); padding: clamp(90px, 11vw, 170px) 0; }
.laurels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.laurel { text-align: center; padding: 10px 0 0; display: flex; flex-direction: column; align-items: center; }
.laurel:nth-child(2) { transition-delay: .15s; } .laurel:nth-child(3) { transition-delay: .3s; }
.laurel__wreath { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 300px; aspect-ratio: 1.45; color: var(--gold); }
.laurel__l, .laurel__r { width: 21%; height: 100%; flex: none; overflow: visible; }
.laurel__r { transform: scaleX(-1); }
.laurel__center { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.laurel__center .label { color: var(--gold); letter-spacing: .4em; }
.laurel__home { font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.15; }
.laurel__where { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.laurel blockquote { margin: 22px 0 0; font-family: var(--display); font-size: 1.15rem; line-height: 1.45; color: rgba(255, 255, 255, .86); max-width: 30ch; }
.laurel figcaption { margin-top: 14px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }

.ledger { margin-top: clamp(70px, 9vw, 130px); border-top: 1px solid var(--gold); }
.ledger__head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; }
.ledger__note { font-size: 13px; color: rgba(255, 255, 255, .55); }
.ledger__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ledger table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 14.5px; }
.ledger th, .ledger td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--hair-light); white-space: nowrap; }
.ledger thead th { font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.ledger .num { text-align: right; }
.ledger td:first-child { font-family: var(--display); font-size: 1.1rem; }
.ledger tfoot th, .ledger tfoot td { border-bottom: 0; border-top: 1px solid var(--gold); color: var(--sand); font-family: var(--display); font-size: 1.25rem; font-weight: 400; padding-top: 20px; }
@media (max-width: 900px) {
  .laurels { grid-template-columns: 1fr; gap: 70px; }
  .laurel__wreath { max-width: 280px; }
}

/* =========================================================
   8. CONTACT
   ========================================================= */
.contact { background: var(--seafoam); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); min-height: 100vh; }
.contact__media { position: relative; overflow: hidden; background: var(--night); }
.contact__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.contact__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 26, 32, .85), rgba(7, 26, 32, 0) 50%); }
.contact__mediacap { position: absolute; z-index: 1; left: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 44px); color: var(--white); }
.contact__sunset { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.8rem); font-variant-numeric: tabular-nums; }
.contact__body { padding: clamp(80px, 9vw, 140px) var(--gutter) clamp(80px, 9vw, 130px) clamp(28px, 5vw, 90px); max-width: 860px; }
.contact__body .h2 { max-width: 18ch; }
.tabs { display: flex; gap: 0; margin: clamp(32px, 4vw, 52px) 0 clamp(26px, 3vw, 40px); border-bottom: 1px solid var(--hair-dark); }
.tabs button {
  background: none; border: 0; padding: 14px 0; margin-right: 34px; cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .4s, border-color .4s;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.tabs button { white-space: nowrap; }
@media (max-width: 480px) { .tabs button { letter-spacing: .14em; margin-right: 22px; font-size: 11.5px; } }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; }
.field .label { color: var(--ink-soft); font-size: 10.5px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(14, 42, 51, .35); border-radius: 0;
  padding: 10px 0; transition: border-color .4s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input[aria-invalid="true"] { border-bottom-color: #A4452C; }
.field--choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.field--choice legend { padding: 0; margin-bottom: 10px; width: 100%; color: var(--ink-soft); font-size: 10.5px; }
.field--choice label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.field--choice input { accent-color: var(--deepsea); width: 16px; height: 16px; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 10px; }
.form__alt { font-size: 14px; color: var(--ink-soft); }
.form__alt a { color: var(--ink); font-variant-numeric: tabular-nums; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__done.is-error { color: #8A3A22; border-top-color: #A4452C; }
.form__done {font-family: var(--display); font-size: 1.4rem; color: var(--deepsea); border-top: 1px solid var(--gold); padding-top: 18px; }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; min-height: 0; }
  .contact__media { min-height: 44vh; }
  .contact__body { padding: 64px var(--gutter) 80px; }
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* =========================================================
   9. FOOTER
   ========================================================= */
.footer { background: var(--night); color: rgba(255, 255, 255, .72); padding-top: clamp(70px, 8vw, 110px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 36px; font-size: 15px; }
.footer__top .label { color: rgba(255, 255, 255, .45); margin-bottom: 12px; }
.footer__top .label--gold { color: var(--gold); }
.footer__line { font-family: var(--display); font-size: 1.5rem; line-height: 1.3; color: var(--white); max-width: 22ch; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--sand); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__name { margin-top: clamp(60px, 8vw, 110px); padding: 0 clamp(8px, 1.2vw, 18px); }
.footer__name svg { width: 100%; height: auto; display: block; }
.footer__name text { font-family: var(--display); font-size: 118px; fill: var(--sand); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid var(--hair-light); margin-top: clamp(14px, 2vw, 26px); font-size: 12px; color: rgba(255, 255, 255, .45); }
.footer__demo { flex-basis: 100%; padding-top: 14px; border-top: 1px solid var(--hair-light); color: rgba(255, 255, 255, .62); }
.footer__demo a { color: var(--sand); text-decoration: underline; text-decoration-color: rgba(184, 147, 90, .6); text-underline-offset: 3px; transition: color .4s var(--ease); }
.footer__demo a:hover { color: var(--white); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* =========================================================
   Calm mode — for people who turn off animations
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .hero__frame { clip-path: none !important; transition: none; }
  .hero__slide { transition: opacity 1.2s ease; }
  .hero__slide img, .hero__slide.is-active img { animation: none !important; transform: scale(1.04); }
  .hero__titles.is-entering .ch, .hero__titles.is-entering [data-hero] { animation: none !important; opacity: 1 !important; filter: none !important; transform: none !important; }
  .hero__titles.is-leaving [data-hero] { filter: none; }
  .reveal, .split-reveal .w > span { transform: none !important; filter: none !important; transition: opacity .6s ease !important; transition-delay: 0s !important; }
  .room-shot { transition: opacity .8s ease; clip-path: none !important; opacity: 0; }
  .room-shot.is-shown { opacity: 0; }
  .room-shot.is-current { opacity: 1; }
  .room-shot img, .room-shot.is-current img { transform: none; transition: none; }
  .map__coast { transition: none; stroke-dashoffset: 0; }
  .map__pulse { animation: none; opacity: 0; }
  .feature__hint-line { animation: none; }
  .card__poster img { transition: none; }
  .topbar > *, .hero__bar > *, .reveal-load { transition-delay: 0s; transition-duration: .4s; }
}
