/* The Mountain 2 — Direction A, "One Day".
   Client palette, taken from the current site. Do not change these four. */
:root {
  --brand: hsl(198 21% 52%);      /* primary — slate blue */
  --sand: hsl(39 70% 80%);        /* secondary */
  --paper: hsl(0 0% 98%);         /* background */
  --ink: hsl(210 11% 15%);        /* foreground */

  --muted: hsl(215 12% 45%);
  --hair: hsl(210 11% 15% / .14);
  --hair-light: hsl(0 0% 98% / .2);

  /* The day. Tones step through the brand palette — never new hues. */
  --t-dawn: hsl(198 16% 93%);
  --t-morning: hsl(40 20% 97%);
  --t-noon: hsl(0 0% 99%);
  --t-after: hsl(39 35% 95%);
  --t-gold: hsl(39 60% 89%);
  --t-late: hsl(33 40% 84%);
  --t-dusk: hsl(205 18% 30%);
  --t-night: hsl(210 12% 10%);

  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --space: clamp(64px, 10vh, 120px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/playfair.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/playfair-italic.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(fonts/montserrat.woff2) format("woff2"); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--t-night); color: var(--ink); font: 300 15px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
b { font-weight: 500; }
i { font-style: normal; }
em { font-style: italic; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }
:focus-visible { outline: 1px solid var(--sand); outline-offset: 4px; }

/* Tones — set in CSS, so the day reads without JS. */
section { padding: var(--space) var(--gutter); position: relative; }
.t-dawn    { background: var(--t-dawn); }
.t-morning { background: var(--t-morning); }
.t-noon    { background: var(--t-noon); }
.t-after   { background: var(--t-after); }
.t-gold    { background: var(--t-gold); }
.t-late    { background: var(--t-late); }
.t-dusk    { background: var(--t-dusk); color: var(--paper); --muted: hsl(0 0% 98% / .62); --hair: var(--hair-light); }
.t-night   { background: var(--t-night); color: var(--paper); --muted: hsl(0 0% 98% / .55); --hair: var(--hair-light); }

/* Type system: one serif voice, one small-caps utility voice. */
.label, .kicker, .chap span, .bar, .menu-btn, .hero-note, .hero-foot, .stats dt, .plots th, .plots caption, .field > span,
.intent span, button[type="submit"], .dock, .note, .keys b, .materials b, .well-list span, .keys span, .materials span, .contact, .foot {
  font-family: var(--sans); font-size: 10.5px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
}
.statement, .closing, h1, .huge, .dev-name, .type h3, .types-more h3, .well-list h3, .chap time, .stats dd, .eve figcaption span, .menu span {
  font-family: var(--serif); font-weight: 400;
}
em { font-family: var(--serif); font-style: italic; }
.note { margin-top: 28px; color: var(--muted); letter-spacing: .18em; }
.label { display: block; color: var(--muted); margin-bottom: 28px; }

/* Chapter mark: the hour, and what happens in it. */
.chap { display: flex; align-items: baseline; gap: 20px; margin-bottom: clamp(28px, 5vh, 56px);
  padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.chap time { font-size: clamp(24px, 2.4vw, 34px); font-style: italic; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.chap span { color: var(--muted); }

.statement { font-size: clamp(27px, 3.8vw, 56px); line-height: 1.14; letter-spacing: -.012em; max-width: 22ch; text-wrap: balance; }
.statement em { color: var(--brand); }

/* ——— Bar ———
   No JS: sits over the hero and scrolls away. With JS: returns as a solid bar
   when you scroll up, light or dark to match the hour underneath. */
.bar {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter); color: var(--paper);
  transition: transform .7s var(--ease), background-color .6s, color .6s, padding .6s var(--ease);
}
.bar-left { display: flex; align-items: center; gap: 28px; }
.bar-right { justify-self: end; }
.mark { display: block; width: clamp(108px, 11vw, 150px); }
.mark img { width: 100%; height: auto; }
.logo-dark { display: none; }
.clock { font-variant-numeric: tabular-nums; letter-spacing: .16em; opacity: .8; }
.menu-btn { display: flex; align-items: center; gap: 12px; letter-spacing: inherit; font-size: inherit; text-transform: inherit; }
.menu-btn i { position: relative; width: 22px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; transition: transform .5s var(--ease); }
.menu-open .menu-btn i { transform: scaleX(.6); }
.bar-cta { position: relative; text-decoration: none; }
.bar-cta::after, .contact a::after, .hero-foot a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease);
}
.bar-cta:hover::after, .contact a:hover::after, .hero-foot a:hover::after { transform: scaleX(0); }

.js .bar { position: fixed; }
.bar.solid { padding-top: 10px; padding-bottom: 10px; background: hsl(210 12% 10% / .86);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.bar.solid .mark { width: clamp(84px, 8vw, 110px); }
.bar.solid.light { background: hsl(40 20% 97% / .9); color: var(--ink); }
.bar.solid.light .logo-light { display: none; }
.bar.solid.light .logo-dark { display: block; }
.bar.tucked { transform: translateY(-100%); }
.menu-open .bar { transform: none; background: transparent; color: var(--paper); }
.menu-open .bar .logo-light { display: block; }
.menu-open .bar .logo-dark { display: none; }
@media (max-width: 640px) {
  .clock, .bar-cta { display: none; }
  .menu-btn span { display: none; }
}

/* ——— Index overlay ——— */
.menu { position: fixed; inset: 0; z-index: 15; background: var(--t-night); color: var(--paper);
  display: grid; align-content: center; justify-content: center; padding: 96px var(--gutter) 40px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu ol { list-style: none; width: min(760px, 100%); columns: 2 300px; column-gap: 56px; }
.menu li { border-bottom: 1px solid hsl(0 0% 98% / .1); break-inside: avoid; }
.menu a { display: flex; align-items: baseline; gap: 20px; padding: 11px 0; text-decoration: none; }
.menu time { font: 400 10px/1 var(--sans); letter-spacing: .18em; color: hsl(0 0% 98% / .5); min-width: 5ch; font-variant-numeric: tabular-nums; }
.menu span { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; transition: transform .6s var(--ease), color .4s; }
.menu a:hover span { transform: translateX(6px); color: var(--sand); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; width: min(760px, 100%); font: 400 10px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.menu-foot a { text-decoration: none; }
.menu-open { overflow: hidden; }

/* ——— 06:00 Hero ———
   Arrival: the frame opens like first light, then the title rises.
   Leaving: the frame draws in from the edges as the day begins. */
.hero { height: 100svh; min-height: 600px; padding: 0; overflow: hidden; background: var(--t-night); color: var(--paper); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-media video.ready { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, hsl(210 12% 8% / .45) 0%, transparent 26%, transparent 45%, hsl(210 12% 8% / .62) 100%); }
.hero-copy { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: calc(100px + 6vh); }
.kicker { display: flex; gap: 28px; margin-bottom: 24px; opacity: .9; }
.kicker span + span::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 28px; opacity: .6; }
h1 { font-size: clamp(64px, 13.5vw, 240px); line-height: .88; letter-spacing: -.028em; text-shadow: 0 2px 40px hsl(210 12% 8% / .25); }
h1 .line { display: block; overflow: hidden; padding-bottom: .05em; }
h1 .line > * { display: inline-block; }
h1 em { padding-left: 1.1em; font-size: 1.5em; line-height: .8; }
.hero-foot { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 34px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid hsl(0 0% 98% / .3); }
.hero-foot a { position: relative; text-decoration: none; justify-self: center; }
.hero-note { justify-self: end; opacity: .6; }
.cue { position: absolute; z-index: 1; right: var(--gutter); bottom: calc(100px + 6vh); display: grid; justify-items: center; gap: 14px;
  text-decoration: none; font: 400 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
.cue i { width: 1px; height: 72px; background: hsl(0 0% 98% / .3); position: relative; overflow: hidden; }
.cue i::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(-100%); }
@media (max-width: 640px) {
  .hero-foot { grid-template-columns: 1fr auto; }
  .hero-foot > span:first-child { display: none; }
  .hero-foot a { justify-self: start; }
  .cue { display: none; }
  .kicker { gap: 16px; } .kicker span + span::before { width: 16px; margin-right: 16px; }
  h1 { font-size: 12.6vw; letter-spacing: -.03em; }
  h1 em { padding-left: 2.2em; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-media { animation: dawn 2.2s cubic-bezier(.7, 0, .2, 1) both; }
  .hero-media img { animation: settle 10s var(--ease) both; }
  h1 .line > * { animation: rise 1.6s 1s var(--ease) both; }
  h1 .line:nth-child(2) > * { animation-delay: 1.2s; }
  .kicker, .hero-foot, .cue { animation: fade 1.6s 1.5s var(--ease) both; }
  .cue i::after { animation: drip 2.4s 2.6s var(--ease) infinite; }
}
@keyframes dawn { from { clip-path: inset(49.5% 0 49.5% 0); } 40% { clip-path: inset(49.5% 0 49.5% 0); } to { clip-path: inset(0); } }
@keyframes settle { from { transform: scale(1.14); } to { transform: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drip { from { transform: translateY(-100%); } 60%, to { transform: translateY(100%); } }

/* ——— 06:20 Estate ——— */
.estate-grid { display: grid; gap: 32px; margin-top: clamp(32px, 6vh, 72px); }
.estate-grid figure img { aspect-ratio: 4 / 5; object-fit: cover; }
.estate-copy > p { font-size: 17px; max-width: 42ch; color: var(--muted); }
.keys, .materials { list-style: none; margin-top: 28px; }
.keys li, .materials li { display: grid; grid-template-columns: 3.2em 1fr; column-gap: 12px; padding: 14px 0; border-top: 1px solid var(--hair); }
.keys span, .materials span { color: var(--muted); grid-row: span 2; }
.keys i, .materials i { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .estate-grid { grid-template-columns: 5fr 6fr; gap: 8vw; align-items: end; }
  .estate-grid figure { margin-top: -4vh; }
}

/* ——— 07:00 The day ——— */
.frames { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.frames::-webkit-scrollbar { display: none; }
.frames li { scroll-snap-align: start; }
.frames img { aspect-ratio: 4 / 5; object-fit: cover; }
.frames p { display: flex; gap: 14px; align-items: baseline; margin-top: 16px; font-size: 14px; color: var(--muted); }
.frames time { font: italic 400 20px/1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; }
.day-rail { display: none; }

/* Desktop with JS: the section pins and the day runs sideways. */
@media (min-width: 900px) {
  .frames { grid-auto-columns: 30vw; gap: 3vw; }
  .frames li:nth-child(even) { padding-top: 10vh; }
  .frames li:nth-child(3n) img { aspect-ratio: 1; }
  .pinned .day { padding: 0; }
  .pinned .day-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; padding: 112px var(--gutter) 40px;
    display: flex; flex-direction: column; }
  .pinned .day .chap { margin-bottom: 5vh; }
  .pinned .frames { overflow: visible; margin: 0; padding: 0; flex: 1; align-items: start; will-change: transform; }
  .pinned .frames { grid-auto-columns: min(28vw, 40vh); }
  .pinned .frames li:nth-child(even) { padding-top: 5vh; }
  .pinned .day-rail { display: flex; align-items: center; gap: 16px; font: 400 10.5px/1 var(--sans); letter-spacing: .2em; color: var(--muted); }
  .day-rail i { flex: 1; height: 1px; background: var(--hair); position: relative; }
  .day-rail b { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); }
  .pinned .day .note { margin-top: 14px; }
}

/* ——— 14:00 Villas ——— */
.type-head { display: grid; gap: 24px; align-items: end; }
.type h3, .types-more h3 { font-size: clamp(52px, 7.5vw, 112px); line-height: .9; letter-spacing: -.02em; }
.type h3 em, .types-more h3 em { color: var(--brand); }
.type-head p { max-width: 40ch; color: var(--muted); font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin: 32px 0; border-top: 1px solid var(--hair); }
.stats div { padding: 16px 0; border-bottom: 1px solid var(--hair); }
.stats dt { color: var(--muted); margin-bottom: 10px; }
.stats dd { font-size: clamp(34px, 4vw, 56px); line-height: 1; font-variant-numeric: lining-nums; }
.stats small { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; margin: 0 .35em; color: var(--muted); }
.plan-fig { background: #fff; padding: clamp(12px, 3vw, 48px); }
.plan-fig figcaption { margin-top: 16px; font: 400 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .type-head { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats div + div { padding-left: 24px; border-left: 1px solid var(--hair); }
}
.types-more { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: clamp(32px, 6vh, 64px) 0; }
.types-more article { padding: 32px; }
.types-more h3 { font-size: clamp(34px, 4.4vw, 64px); }
.types-more p { color: var(--muted); margin-top: 12px; }
@media (min-width: 900px) { .types-more { grid-template-columns: 1fr 1fr; gap: 24px; } }

.built { display: grid; gap: 14px; }
.built img { aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) {
  .built { grid-template-columns: 5fr 3fr; gap: 18px; }
  .built figure:first-child { grid-row: span 2; }
  .built figure:first-child img { height: 100%; aspect-ratio: auto; }
  .built .note { grid-column: 1 / -1; }
}
.spec-cols { display: grid; gap: 56px; margin-top: clamp(80px, 14vh, 160px); }
@media (min-width: 900px) { .spec-cols { grid-template-columns: 1fr 1fr; gap: 6vw; } }
.lines { list-style: none; }
.lines li { padding: 14px 0; border-top: 1px solid var(--hair); font-size: 16px; }
.lines.inline { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 28px; }
.lines.inline li { border: 0; padding: 6px 0; color: var(--muted); font-size: 14px; }

/* ——— 16:00 Plan ——— */
.plan-top { display: grid; gap: 20px; align-items: end; margin-bottom: 32px; }
.huge { font-size: clamp(88px, 15vw, 220px); line-height: .8; letter-spacing: -.04em; font-variant-numeric: lining-nums; }
.huge span { font-style: italic; color: var(--brand); padding: 0 .04em; }
.plan-lede { max-width: 38ch; font-size: 17px; }
@media (min-width: 900px) { .plan-top { grid-template-columns: auto 1fr; gap: 6vw; } }
.ph { position: relative; background: hsl(210 11% 15% / .05); display: grid; place-items: center; }
.ph span { font: 400 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.plan-img { aspect-ratio: 21 / 9; }
.plots { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.plots caption { text-align: left; }
.plots th { text-align: left; color: var(--muted); padding: 0 0 12px; }
.plots td { padding: 16px 12px 16px 0; border-top: 1px solid var(--hair); }
.plots .available td:last-child { font-weight: 500; }
.plots .sold { opacity: .45; }
/* Items still owed by the client. Invisible to visitors; add ?review to the URL to see them. */
.review [data-tbc] { outline: 1px dashed hsl(33 80% 45%); outline-offset: 4px; }

/* ——— 17:00 Craft ——— */
.craft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.craft-grid img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .craft-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .craft-grid figure:last-child { margin-top: 12vh; }
  .materials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
}

/* ——— 17:45 Developer ——— */
.dev { display: grid; gap: 40px; align-items: center; background: linear-gradient(var(--from, var(--t-dusk)), var(--t-dusk) min(36vh, 320px)); }
.dev-media { position: relative; max-width: 520px; padding-bottom: 18%; }
.dev-main img { aspect-ratio: 700 / 917; object-fit: cover; }
.dev-inset { position: absolute; right: -14%; bottom: 0; width: 48%; border: 6px solid var(--t-dusk); }
.dev-inset img { aspect-ratio: 700 / 836; object-fit: cover; }
@media (max-width: 640px) { .dev-media { margin-right: 14%; } }
.dev-name { font-size: clamp(48px, 6.4vw, 104px); line-height: .95; letter-spacing: -.02em; margin-bottom: 24px; }
.dev-name em { color: var(--sand); }
.dev-bio { max-width: 50ch; color: var(--muted); font-size: 16px; }
@media (min-width: 900px) { .dev { grid-template-columns: 5fr 7fr; gap: 8vw; } }

/* ——— 18:15 → 20:30 Evening ——— */
.evening { padding: 0; background: var(--t-night); }
.eve { position: relative; height: 100svh; overflow: hidden; color: var(--paper); }
.eve img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.eve::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, hsl(210 12% 8% / .6)); }
.eve figcaption { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 9vh;
  display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px); }
.eve-note { position: absolute; z-index: 2; right: var(--gutter); bottom: 9vh; color: hsl(0 0% 98% / .6);
  font: 400 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.eve figcaption time { font: 400 10.5px/1 var(--sans); letter-spacing: .26em; }
.eve figcaption span { font-size: clamp(34px, 5.6vw, 88px); line-height: 1.05; letter-spacing: -.015em; }
/* With JS: one pinned frame; the evening crossfades as you scroll. */
.dusk-pin .evening { height: 230vh; }
.dusk-pin .eve-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.dusk-pin .eve { position: absolute; inset: 0; height: auto; opacity: 0; transition: opacity 1.2s var(--ease); }
.dusk-pin .eve img { transform: scale(1.08); transition: transform 6s var(--ease); }
.dusk-pin .eve.on { opacity: 1; }
.dusk-pin .eve.on img { transform: none; }
.dusk-pin .eve figcaption span { transform: translateY(24px); opacity: 0; transition: transform 1.2s .2s var(--ease), opacity 1.2s .2s var(--ease); }
.dusk-pin .eve.on figcaption span { transform: none; opacity: 1; }

/* ——— 21:00 Register ——— */
.reg-grid { display: grid; gap: 36px; }
.closing { font-size: clamp(44px, 7vw, 112px); line-height: 1; letter-spacing: -.02em; max-width: 10ch; }
.closing em { color: var(--sand); }
@media (min-width: 900px) { .reg-grid { grid-template-columns: 6fr 5fr; gap: 6vw; align-items: start; } }
.form { display: grid; gap: 20px; }
.intent { border: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hair); }
.intent label { position: relative; cursor: pointer; }
.intent input { position: absolute; opacity: 0; }
.intent span { display: block; text-align: center; padding: 18px 8px; transition: background .4s, color .4s; }
.intent input:checked + span { background: var(--paper); color: var(--ink); }
.intent input:focus-visible + span { outline: 1px solid var(--sand); outline-offset: -4px; }
.field { display: grid; gap: 6px; }
.field > span { color: var(--muted); }
.field input, .field textarea, .field select {
  font: 300 17px/1.5 var(--sans); color: inherit; background: transparent; border: 0;
  border-bottom: 1px solid var(--hair); padding: 8px 0 12px; border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color .4s;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fafafa' stroke-opacity='.6'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field select option { color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--sand); }
button[type="submit"] { position: relative; overflow: hidden; justify-self: stretch; background: var(--sand); color: var(--ink); padding: 22px 32px; }
button[type="submit"] span { position: relative; z-index: 1; }
button[type="submit"]::before { content: ""; position: absolute; inset: 0; background: var(--paper);
  transform: translateY(101%); transition: transform .6s var(--ease); }
button[type="submit"]:hover::before { transform: none; }
.form-status { min-height: 1.75em; color: var(--muted); }
.contact { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: clamp(40px, 7vh, 80px); padding-top: 24px; border-top: 1px solid var(--hair); }
.contact a { position: relative; text-decoration: none; }
.contact span { color: var(--muted); }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; background: var(--t-night);
  color: hsl(0 0% 98% / .45); padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom)); letter-spacing: .16em; }
@media (max-width: 640px) { .foot { padding-bottom: 96px; } }

/* Phone dock */
.dock { position: fixed; z-index: 12; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1fr; background: hsl(210 12% 10% / .82); color: var(--paper);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .6s var(--ease), opacity .6s; }
.dock a { text-align: center; padding: 17px 8px; text-decoration: none; }
.dock a + a { border-left: 1px solid var(--hair-light); }
.dock.away { transform: translateY(140%); opacity: 0; }
@media (min-width: 641px) { .dock { display: none; } }

/* Reveals — added by JS, only when motion is allowed. Visible by default. */
.js .reveal { clip-path: inset(12% 0 0 0); transition: clip-path 1.6s var(--ease); }
.js .reveal img { transform: scale(1.1); transition: transform 2.2s var(--ease); }
.js .reveal.in { clip-path: inset(0); }
.js .reveal.in img { transform: none; }
.js .up { opacity: 0; transform: translateY(28px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js .up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal img, .js .up { clip-path: none; transform: none; opacity: 1; transition: none; }
}

/* ——— Concierge chat (chat.js) ———
   Answers from the approved content only; everything else goes to sales. */
.cc-launch { position: fixed; z-index: 30; right: max(16px, env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; padding: 15px 22px 15px 18px;
  background: hsl(210 12% 10% / .88); color: var(--paper); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid hsl(0 0% 98% / .14); border-radius: 999px;
  font: 400 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  box-shadow: 0 12px 40px hsl(210 12% 8% / .25); transition: transform .5s var(--ease), opacity .4s; }
.cc-launch:hover { transform: translateY(-2px); }
.cc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 0 hsl(39 70% 80% / .6); }
@media (prefers-reduced-motion: no-preference) { .cc-dot { animation: ccpulse 2.8s ease-out infinite; } }
@keyframes ccpulse { 0% { box-shadow: 0 0 0 0 hsl(39 70% 80% / .55); } 70%, 100% { box-shadow: 0 0 0 10px hsl(39 70% 80% / 0); } }
.cc-launch-short { display: none; }
.cc-open .cc-launch { opacity: 0; pointer-events: none; }
.menu-open .cc-launch { display: none; }

.cc-panel { position: fixed; z-index: 31; right: 16px; bottom: 16px; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100svh - 32px));
  display: grid; grid-template-rows: auto 1fr auto auto; background: var(--t-morning); color: var(--ink);
  box-shadow: 0 30px 80px hsl(210 12% 8% / .35); overflow: hidden; }
.cc-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .cc-panel:not([hidden]) { animation: ccin .5s var(--ease) both; } }
@keyframes ccin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: var(--t-night); color: var(--paper); }
.cc-title { font: italic 400 24px/1 var(--serif); }
.cc-sub { margin-top: 8px; font: 400 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .55; }
.cc-close { font: 400 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .75; }
.cc-log { overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cc-msg { max-width: 88%; padding: 12px 16px; font-size: 14px; line-height: 1.6; }
.cc-bot { align-self: flex-start; background: #fff; border: 1px solid var(--hair); }
.cc-me { align-self: flex-end; background: var(--brand); color: #fff; }
.cc-typing { display: flex; gap: 4px; padding: 16px; }
.cc-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); opacity: .4; animation: cctype 1s infinite; }
.cc-typing i:nth-child(2) { animation-delay: .15s; } .cc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cctype { 50% { opacity: 1; } }
.cc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.cc-act { padding: 10px 14px; border: 1px solid var(--ink); text-decoration: none; font: 400 10px/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase; transition: background .3s, color .3s; }
.cc-act:hover { background: var(--ink); color: var(--paper); }
.cc-acts .cc-act:first-child { background: var(--ink); color: var(--paper); }
.cc-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 22px 14px; scrollbar-width: none; }
.cc-chips::-webkit-scrollbar { display: none; }
.cc-chip { flex: none; padding: 9px 14px; border: 1px solid var(--hair); border-radius: 999px; font-size: 12.5px; color: var(--muted); background: #fff; transition: border-color .3s, color .3s; }
.cc-chip:hover { border-color: var(--brand); color: var(--ink); }
.cc-form { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--hair); background: #fff; }
.cc-form input { font: 300 16px/1.4 var(--sans); border: 0; padding: 18px 22px; background: transparent; color: var(--ink); min-width: 0; }
.cc-form input:focus { outline: none; }
.cc-form button[type="submit"] { background: none; justify-self: auto; padding: 0 22px; font: 400 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brand); }
.cc-form button[type="submit"]::before { display: none; }

@media (max-width: 640px) {
  .cc-launch { bottom: calc(80px + env(safe-area-inset-bottom)); padding: 13px 16px 13px 14px; gap: 10px; }
  .cc-launch-label { display: none; }
  .cc-launch-short { display: inline; }
  .cc-panel { inset: 0; width: auto; height: 100svh; }
  .cc-open { overflow: hidden; }
  .cc-open .dock { display: none; }
}


/* ——— Premium pass 3: tour, on-request, location, site film, media layer ——— */
.line-link { position: relative; display: inline-block; margin-top: 20px; text-decoration: none;
  font: 400 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.line-link::after { content: " →"; letter-spacing: 0; }

/* 360° tour — a full-bleed invitation */
.tour { position: relative; margin: clamp(40px, 7vh, 80px) calc(var(--gutter) * -1) 0; height: min(78svh, 760px); overflow: hidden; color: var(--paper); }
.tour-media, .tour-media img { position: absolute; inset: 0; height: 100%; }
.tour-media img { object-fit: cover; transition: transform 2.4s var(--ease); }
.tour:hover .tour-media img { transform: scale(1.03); }
.tour::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, hsl(210 12% 8% / .15), hsl(210 12% 8% / .55)); }
.tour-copy { position: absolute; z-index: 1; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 22px; padding: var(--gutter); }
.tour-title { font: 400 clamp(38px, 6vw, 96px)/1 var(--serif); letter-spacing: -.02em; }
.tour-title em { color: var(--sand); }
.tour-btn { position: relative; display: grid; place-items: center; width: 168px; height: 168px; margin-top: 8px; text-decoration: none; color: var(--paper); }
.tour-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tour-ring text { font: 400 9.5px var(--sans); letter-spacing: .3em; fill: currentColor; }
.tour-core { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  border: 1px solid hsl(0 0% 98% / .55); background: hsl(0 0% 98% / .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: italic 400 26px/1 var(--serif); transition: transform .8s var(--ease), background .5s, color .5s; }
.tour-btn:hover .tour-core { transform: scale(1.12); background: var(--paper); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .tour-ring { animation: ring 22s linear infinite; }
  .tour-btn:hover .tour-ring { animation-duration: 8s; }
}
@keyframes ring { to { transform: rotate(360deg); } }

/* The portal: a circle opens from the button to the full frame, the photo walks in, the tour appears. */
.tour { transition: height .9s var(--ease); }
.tour.live { height: 100svh; }
.tour.entering .tour-media img { transform: scale(1.35); filter: blur(6px); transition: transform 1.4s var(--ease), filter 1.4s var(--ease); }
.tour.entering .tour-copy { opacity: 0; transition: opacity .5s; }
.tour-live { position: absolute; inset: 0; z-index: 3; background: var(--t-night); clip-path: circle(0 at var(--cx, 50%) var(--cy, 50%)); }
.tour-live[hidden] { display: none; }
.tour-live.open { clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1); }
.tour-live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1s .4s; }
.tour-live iframe.ready { opacity: 1; }
.tour-hint { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); pointer-events: none;
  padding: 12px 20px; border-radius: 999px; background: hsl(210 12% 8% / .55); color: var(--paper);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 400 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  transition: opacity .8s; }
.tour-hint.gone { opacity: 0; }
.tour-hint-m { display: none; }
@media (hover: none) { .tour-hint span:first-child { display: none; } .tour-hint-m { display: inline; } }
.tour-exit { position: absolute; z-index: 2; top: 20px; right: 20px; padding: 12px 18px; border-radius: 999px; color: var(--paper);
  background: hsl(210 12% 8% / .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 400 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .tour-live.open, .tour, .tour.entering .tour-media img { transition: none; } }

/* B / B Plus — quiet cards that ask, rather than empty boxes */
.types-more .req { display: grid; gap: 14px; padding: 36px 32px; text-decoration: none; border-top: 1px solid var(--hair); transition: background .5s; }
.types-more .req:hover { background: hsl(0 0% 100% / .55); }
.types-more .req p { color: var(--muted); margin: 0; }
.types-more .req span { font: 400 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.types-more .req span::after { content: " →"; letter-spacing: 0; }

/* Plot table while the Phase Two list is pending */
.plots-empty td { padding: 24px 0; color: var(--muted); }
.plots-empty a { color: var(--ink); margin-left: 12px; }

/* On site */
.site-aerial { margin: 0 calc(var(--gutter) * -1) 0; }
.site-aerial img { aspect-ratio: 21 / 9; object-fit: cover; }
.site-aerial figcaption { padding: 14px var(--gutter) 0; font: 400 10.5px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .site-aerial img { aspect-ratio: 4 / 3; } }
.craft-lede { margin: clamp(36px, 6vh, 72px) 0 28px; }
.film-link { position: relative; display: block; overflow: hidden; color: var(--paper); text-decoration: none; }
.film-link img { transition: transform 1.6s var(--ease); }
.film-link:hover img { transform: scale(1.04); }
.film-link::after { content: ""; position: absolute; inset: 0; background: hsl(210 12% 8% / .28); transition: background .5s; }
.film-link:hover::after { background: hsl(210 12% 8% / .12); }
.play { position: absolute; z-index: 1; left: 24px; bottom: 22px; display: flex; align-items: center; gap: 14px;
  font: 400 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.play i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid hsl(0 0% 98% / .7); position: relative; }
.play i::after { content: ""; position: absolute; left: 17px; top: 14px; border-left: 12px solid var(--paper); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }

/* Media layer (tour, film) */
.layer { position: fixed; inset: 0; z-index: 40; background: hsl(210 12% 6% / .96); display: grid; place-items: center; padding: 64px 16px 16px; }
.layer[hidden] { display: none; }
.layer-body { width: min(1400px, 100%); height: 100%; display: grid; place-items: center; }
.layer-body iframe { width: 100%; height: 100%; border: 0; }
.layer-body video { max-width: 100%; max-height: 100%; }
.layer-close { position: absolute; top: 18px; right: var(--gutter); color: var(--paper); font: 400 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.layer-open { overflow: hidden; }
.layer-open .cc-launch, .layer-open .dock { display: none; }
.keys li, .materials li { align-content: start; grid-template-rows: auto 1fr; }
.materials b, .keys b { margin-bottom: 10px; }
/* 360 portal refinements */
.tour-btn::before { content: ""; position: absolute; inset: 6px; border-radius: 50%;
  background: radial-gradient(circle, hsl(210 12% 8% / .38) 45%, hsl(210 12% 8% / 0) 72%); }
.tour-ring text { font-weight: 500; }
.tour-title em { white-space: nowrap; }
.tour-live { background: hsl(0 0% 98% / .14); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2); }
.tour-live.open { box-shadow: inset 0 0 0 1px hsl(0 0% 98% / .3); }
@media (max-width: 640px) { .tour-title { font-size: clamp(34px, 10vw, 48px); } }

/* Evening film (frame sequence), under the captions; the stills step aside once it has loaded */
.eve-film { position: absolute; inset: 0; width: 100%; height: 100%; }
.filming .eve:not(:last-of-type) img { opacity: 0; }
.filming .eve:not(:last-of-type)::after { opacity: .8; }

@media (max-width: 640px) {
  .eve figcaption { bottom: 150px; flex-direction: column; gap: 10px; }
  .eve-note { top: 84px; bottom: auto; right: auto; left: var(--gutter); }
}

/* 360° rooftop viewer */
.tour-sub { max-width: 34ch; opacity: .85; margin-top: -6px; }
.tour-alt { margin-top: 10px; font: 400 10.5px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--paper); opacity: .8; text-decoration: none; border-bottom: 1px solid hsl(0 0% 98% / .4); padding-bottom: 4px; }
.tour-alt:hover { opacity: 1; }
.tour-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; opacity: 0; transition: opacity 1.2s .3s; }
.tour-canvas:active { cursor: grabbing; }
.tour-live.ready .tour-canvas { opacity: 1; }
.dial { position: absolute; z-index: 2; left: 50%; bottom: 76px; transform: translateX(-50%); width: min(460px, calc(100% - 40px));
  padding: 16px 20px 14px; border-radius: 18px; background: hsl(210 12% 8% / .5); color: var(--paper);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dial-stops { display: flex; justify-content: space-between; margin-bottom: 10px; }
.dial-stops button { font: italic 400 18px/1 var(--serif); opacity: .55; transition: opacity .4s, color .4s; font-variant-numeric: lining-nums; }
.dial-stops button[aria-pressed="true"] { opacity: 1; color: var(--sand); }
.dial input { width: 100%; accent-color: var(--sand); height: 18px; }
.tour-label { position: absolute; z-index: 2; left: 20px; top: 26px; font: 400 9.5px/1 var(--sans); letter-spacing: .22em;
  text-transform: uppercase; color: hsl(0 0% 98% / .75); }
.tour-motion { position: absolute; z-index: 2; top: 20px; right: 130px; padding: 12px 16px; border-radius: 999px; color: var(--paper);
  background: hsl(210 12% 8% / .55); font: 400 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.tour-hint { bottom: 190px; }
@media (max-width: 640px) { .tour-label { top: 72px; } .tour-motion { top: 62px; right: 20px; } .dial { bottom: 96px; } .tour-hint { bottom: 210px; } }
.tour-open .dock, .tour-open .cc-launch { display: none; }
.tour-open .bar { transform: translateY(-100%); }
@media (max-width: 640px) { .tour-label { top: 118px; } }
.tour-hint { white-space: nowrap; }

/* ——— Premium pass 4 ——— */

/* Quieter concierge: a slim tab on the right edge, never opens by itself */
.cc-launch { right: 0; bottom: 38vh; padding: 16px 10px; border-radius: 10px 0 0 10px; border-right: 0; gap: 0;
  writing-mode: vertical-rl; letter-spacing: .3em; box-shadow: none; background: hsl(210 12% 10% / .72); }
.cc-launch:hover { transform: translateX(-2px); }
.cc-launch-label { display: inline !important; }
.cc-dot, .cc-launch-short { display: none !important; }
@media (max-width: 640px) { .cc-launch { bottom: 40vh; padding: 14px 8px; } }

/* Index: where you are in the day */
.menu-day { display: flex; align-items: center; gap: 14px; width: min(760px, 100%); margin-bottom: 20px;
  font: 400 10px/1 var(--sans); letter-spacing: .2em; color: hsl(0 0% 98% / .5); }
.menu-day i { flex: 1; height: 1px; background: hsl(0 0% 98% / .18); position: relative; }
.menu-day b { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--sand); }
.menu-day b::after { content: ""; position: absolute; right: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }

/* Buttons */
.btn-solid { position: relative; overflow: hidden; background: var(--sand); color: var(--ink); padding: 20px 30px;
  font: 400 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.btn-solid span { position: relative; z-index: 1; }
.btn-solid::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(101%); transition: transform .6s var(--ease); }
.btn-solid:hover::before { transform: none; }
.type-cta { margin-top: 28px; }

/* Master plan */
.mp { position: relative; margin: 8px calc(var(--gutter) * -1) 32px; }
.mp-view { overflow: hidden; cursor: grab; touch-action: pan-y; }
.mp-view.dragging { cursor: grabbing; }
.mp-canvas { position: relative; width: max(100%, 1500px); transition: transform .08s linear; will-change: transform; }
.mp-view.dragging .mp-canvas { transition: none; }
.mp-canvas img { width: 100%; height: auto; pointer-events: none; user-select: none; }
.mp-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp-plot { fill: hsl(39 70% 80% / .0); stroke: hsl(0 0% 98% / .75); stroke-width: 2; cursor: pointer; transition: fill .4s; outline: none; }
.mp-plot:hover, .mp-plot.on, .mp-plot:focus { fill: hsl(39 70% 80% / .45); stroke: var(--sand); }
.mp-plot[data-status="sold"] { fill: hsl(210 11% 15% / .35); }
.mp-hint { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; background: hsl(210 12% 8% / .5); color: var(--paper); pointer-events: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 400 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.mp-hint i { width: 26px; height: 1px; background: currentColor; position: relative; }
.mp-hint i::before, .mp-hint i::after { content: ""; position: absolute; top: -3px; width: 6px; height: 6px; border-top: 1px solid; }
.mp-hint i::before { left: 0; border-left: 1px solid; transform: rotate(-45deg); }
.mp-hint i::after { right: 0; border-right: 1px solid; transform: rotate(45deg); }
.mp-card { position: absolute; right: var(--gutter); top: 18px; min-width: 240px; padding: 22px; background: var(--t-morning); color: var(--ink);
  box-shadow: 0 20px 60px hsl(210 12% 8% / .2); }
.mp-card-k { font: 400 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.mp-card-n { font: 400 36px/1.1 var(--serif); margin: 8px 0 4px; }
.mp-card-s { color: var(--muted); font-size: 14px; }
.mp-note { padding: 14px var(--gutter) 0; font: 400 10.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.mp-note a { color: var(--ink); }

/* Materials and specification */
.spec-title { margin-top: clamp(40px, 7vh, 80px); }
.spec { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 14px; }
.spec li { display: grid; grid-template-columns: 2.6em 1fr; column-gap: 8px; align-content: start; }
.spec figure { grid-column: 1 / -1; aspect-ratio: 1; overflow: hidden; margin-bottom: 16px; background: hsl(210 11% 15% / .06); }
.spec figure img { height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.spec li:hover figure img { transform: scale(1.06); }
.spec-type { display: grid; place-items: center; }
.spec-type em { font: italic 400 clamp(26px, 3vw, 40px)/1 var(--serif); color: var(--brand); }
.spec span { font: 400 10.5px/1.5 var(--sans); letter-spacing: .2em; color: var(--muted); grid-row: span 2; }
.spec b { font: 400 10.5px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; margin-bottom: 8px; }
.spec i { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .spec { grid-template-columns: repeat(4, 1fr); gap: 48px 24px; } }

/* Register, Owner's Pack */
.reg-forms { display: grid; gap: 36px; }
.reg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.reg-actions p { color: var(--muted); }
.form-title { margin-bottom: 4px; }
.field small { text-transform: none; letter-spacing: .04em; opacity: .7; }
.form-fine { font-size: 12.5px; color: var(--muted); }
.pack { padding-top: 20px; }
.pack-lede { color: var(--muted); max-width: 44ch; margin-top: -8px; }
.pack-files { display: grid; gap: 0; }
.pack-files a, .pack-files span { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--hair); text-decoration: none; }
.pack-files a::after { content: "↓"; }
.pack-files small { color: var(--muted); margin-left: 12px; }
.form-status a { color: var(--sand); }

/* The film */
.film-poster { position: relative; display: block; width: 100%; color: var(--paper); cursor: pointer; overflow: hidden; }
.film-poster img { aspect-ratio: 21 / 9; object-fit: cover; transition: transform 1.6s var(--ease); }
.film-poster:hover img { transform: scale(1.03); }
.film-poster .play { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); }
.film-sec video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* Private viewing dialog */
.viewing { margin: auto; border: 0; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px);
  background: var(--t-night); color: var(--paper); --muted: hsl(0 0% 98% / .55); --hair: var(--hair-light); }
.viewing::backdrop { background: hsl(210 12% 6% / .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.viewing-form { display: grid; gap: 22px; padding: clamp(28px, 5vw, 48px); position: relative; }
.viewing-close { position: absolute; top: 20px; right: 20px; font: 400 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.viewing-title { font: 400 clamp(36px, 6vw, 52px)/1 var(--serif); letter-spacing: -.015em; margin-top: -10px; }
.viewing-title em { color: var(--sand); }
.choice { border: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hair); }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; gap: 4px; text-align: center; padding: 16px 8px; font: 400 10.5px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; transition: background .4s, color .4s; }
.choice span small { letter-spacing: .08em; text-transform: none; opacity: .7; }
.choice input:checked + span { background: var(--paper); color: var(--ink); }
.choice input:focus-visible + span { outline: 1px solid var(--sand); outline-offset: -4px; }
.slots { border: 0; grid-template-columns: 1fr 1fr; gap: 0; }
.slots .field-leg { grid-column: 1 / -1; margin-bottom: 8px; font: 400 10.5px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.slots label { border: 1px solid var(--hair); }
.slots label + label { border-left: 0; }
.field input[type="date"] { color-scheme: dark; }
.reveal, .site-aerial { overflow: hidden; }

/* Never let the page move sideways on phones. `clip` (not `hidden`) keeps position: sticky working. */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
img, video, canvas, svg { max-width: 100%; }
.mp-canvas img { max-width: none; }

/* PropertyGuru award — the badge as supplied: no crop, no filter, no recolour */
.award { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; max-width: 460px; }
.award picture { flex: none; width: 58px; filter: drop-shadow(0 6px 18px hsl(210 12% 8% / .35)); }
.award img { width: 100%; height: auto; }
.award span { display: grid; gap: 4px; font: 400 12px/1.45 var(--sans); letter-spacing: .02em; opacity: .95; }
.award b { font: 400 10px/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--sand); }
@media (prefers-reduced-motion: no-preference) { .award { animation: fade 1.6s 1.3s var(--ease) both; } }
@media (max-width: 640px) {
  .award { gap: 12px; margin-bottom: 18px; }
  .award picture { width: 44px; }
  .award span { font-size: 11px; }
}
@media (max-height: 700px) and (max-width: 640px) { .award span { display: none; } .award picture { width: 38px; } }
.dev-award { display: flex; align-items: center; gap: 20px; margin: -8px 0 28px; max-width: 52ch; }
.dev-award picture { flex: none; width: 76px; }
.dev-award img { width: 100%; height: auto; }
.dev-award span { font-size: 13.5px; color: var(--muted); }

/* The film */
.film-sec .film-poster img { aspect-ratio: 16 / 9; }
.film-player { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, hsl(210 12% 8% / .55)); }
.film-poster .play { z-index: 1; top: auto; bottom: 22px; left: 24px; transform: none; }
.film-sec { padding-top: 0; padding-bottom: clamp(48px, 8vh, 96px); }
/* Phones: small utility type a touch larger, notes easier to read */
@media (max-width: 640px) {
  .label, .kicker, .chap span, .stats dt, .plots th, .field > span, .note, .mp-note, .line-link, .spec b, .spec span, .keys b, .materials b, .well-list span { font-size: 11px; }
  .note, .mp-note { letter-spacing: .12em; line-height: 1.6; }
  .tour-label { font-size: 10px; }
}
picture { display: contents; }
.award picture, .dev-award picture { display: block; }

/* Chapter titles are real headings now; same look as before */
.chap h2.chap-t { font: 400 10.5px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 0; }
@media (max-width: 640px) { .chap h2.chap-t { font-size: 11px; } }
/* Contrast: secondary text a shade darker on light and golden grounds */
:root { --muted: hsl(215 14% 38%); }
.t-gold, .t-late, .t-after { --muted: hsl(215 16% 32%); }
/* Faster arrival: the title is the largest paint, so it rises sooner */
@media (prefers-reduced-motion: no-preference) {
  .hero-media { animation-duration: 1.6s; }
  h1 .line > * { animation: rise 1.1s .35s var(--ease) both; }
  h1 .line:nth-child(2) > * { animation-delay: .5s; }
  .kicker, .hero-foot, .cue, .award { animation: fade 1.2s .8s var(--ease) both; }
}
.spec-type em { color: hsl(198 32% 30%); }
.field small { opacity: 1; }
.foot { color: hsl(0 0% 98% / .62); opacity: 1; }
/* LCP: the name starts rising at once, so the largest paint lands early */
@media (prefers-reduced-motion: no-preference) {
  h1 .line > * { animation: rise .9s .05s var(--ease) both; }
  h1 .line:nth-child(2) > * { animation-delay: .15s; }
}
.dev-award span { color: hsl(200 10% 80%); }

/* ——— Compact pass (30 Sep 2026) ———
   One continuous day instead of stacked blocks: each chapter begins in the tone of the
   one before (--from, set on the section) and settles into its own. */
.t-dawn { --tone: var(--t-dawn); } .t-morning { --tone: var(--t-morning); } .t-noon { --tone: var(--t-noon); }
.t-after { --tone: var(--t-after); } .t-gold { --tone: var(--t-gold); } .t-late { --tone: var(--t-late); }
section[style*="--from"]:not(.dev) { background: linear-gradient(var(--from), var(--tone) min(36vh, 320px)); }
.film-sec.t-dawn { background: var(--t-dawn); }
.note { margin-top: 20px; }

/* Small caption line under a chapter, with the door to the photographs */
.sec-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; }
.gal-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; letter-spacing: .2em; }
.gal-link::after { content: " →"; letter-spacing: 0; }

/* Estate: shorter picture on phones, keys two by two */
@media (max-width: 899px) {
  .estate-grid figure img { aspect-ratio: 3 / 2; }
  .keys { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .keys li { grid-template-columns: 1fr; }
  .keys span { grid-row: auto; margin-bottom: 4px; }
}

/* 11:00 Wellness — the picture, then its name. Phones swipe; wide screens get an editorial grid. */
.well-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; margin: clamp(28px, 5vh, 56px) calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.well-grid::-webkit-scrollbar { display: none; }
.wg { scroll-snap-align: start; min-width: 0; }
.wg img { aspect-ratio: 4 / 3; object-fit: cover; }
.wg figcaption { display: grid; grid-template-columns: 2.4em 1fr; column-gap: 8px; padding-top: 12px; }
.wg figcaption span { font: 400 10.5px/1.6 var(--sans); letter-spacing: .2em; color: var(--muted); grid-row: span 2; }
.wg figcaption b { font: 400 19px/1.2 var(--serif); }
.wg figcaption i { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
@media (min-width: 900px) {
  .well-grid { grid-auto-flow: row; grid-template-columns: repeat(12, 1fr); gap: 36px 20px; margin: clamp(36px, 6vh, 72px) 0 0; padding: 0; overflow: visible; }
  .wg:nth-child(1) { grid-column: 1 / 8; grid-row: span 2; }
  .wg:nth-child(1) img { aspect-ratio: auto; height: calc(100% - 64px); min-height: 360px; }
  .wg:nth-child(2), .wg:nth-child(3) { grid-column: 8 / 13; }
  .wg:nth-child(n+4) { grid-column: span 4; }
  .wg:nth-child(n+4) img { aspect-ratio: 3 / 2; }
  .wg:nth-child(2) img, .wg:nth-child(3) img { aspect-ratio: 16 / 9; }
}

/* 13:30 Moments — six pictures set like a wall, offset left and right */
.wall { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wall img { aspect-ratio: 4 / 5; object-fit: cover; }
.wall figure:nth-child(3n+1) img { aspect-ratio: 1; }
.wall figure:nth-child(even) { margin-top: 28px; }
.wall figure { overflow: hidden; }
.wall img { transition: transform 1.6s var(--ease); }
.wall figure:hover img { transform: scale(1.04); }
@media (min-width: 900px) {
  .wall { grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: start; }
  .wall figure:nth-child(1) { grid-column: 1 / 3; }
  .wall figure:nth-child(2) { grid-column: 3 / 5; margin-top: 64px; }
  .wall figure:nth-child(3) { grid-column: 5 / 7; }
  .wall figure:nth-child(4) { grid-column: 1 / 3; margin-top: -40px; }
  .wall figure:nth-child(5) { grid-column: 3 / 5; margin-top: 24px; }
  .wall figure:nth-child(6) { grid-column: 5 / 7; margin-top: -40px; }
  .wall img, .wall figure:nth-child(3n+1) img { aspect-ratio: 4 / 3; }
  .wall figure:nth-child(2) img, .wall figure:nth-child(5) img { aspect-ratio: 4 / 5; }
}

/* Villas: a shorter run on phones */
@media (max-width: 899px) {
  .types-more .req { padding: 20px 16px; }
  .types-more .req p { font-size: 13px; }
  .built { grid-template-columns: 1fr 1fr; gap: 10px; }
  .built figure:first-child { grid-column: 1 / -1; }
  .built .note { grid-column: 1 / -1; }
  .plan-fig { padding: 10px; }
}

/* Specification: a swipe row on phones */
@media (max-width: 899px) {
  .spec { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 58%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .spec::-webkit-scrollbar { display: none; }
  .spec li { scroll-snap-align: start; }
  .spec figure { aspect-ratio: 4 / 3; }
}
@media (min-width: 900px) { .spec figure { aspect-ratio: 4 / 3; } }

/* Register: the Owner's Pack folds away */
.pack-wrap { border-top: 1px solid var(--hair); }
.pack-wrap summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0 0; }
.pack-wrap summary::-webkit-details-marker { display: none; }
.pack-wrap summary .label { margin: 0; color: var(--paper); }
.pack-wrap summary i { color: var(--muted); font-size: 13px; }
.pack-wrap summary i::after { content: "  +"; }
.pack-wrap[open] summary i::after { content: "  −"; }

/* 16:30 Location — one picture that says it all */
.loc-lede { margin-bottom: clamp(24px, 4vh, 44px); }
.locmap { margin: 0 calc(var(--gutter) * -1); }
.locmap svg { display: block; width: 100%; height: auto; }
.locmap .map-p { display: none; }
@media (max-width: 699px) { .locmap .map-p { display: block; } .locmap .map-l { display: none; } }
.locmap figcaption { display: grid; gap: 4px; padding: 14px var(--gutter) 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.locmap figcaption .line-link { justify-self: start; color: var(--ink); }
@media (min-width: 900px) { .locmap { margin: 0; } .locmap figcaption { padding: 14px 0 0; grid-template-columns: 1fr auto; align-items: end; gap: 32px; } }

/* Photographs overlay */
.gal { position: fixed; inset: 0; z-index: 45; background: var(--t-night); color: var(--paper); display: grid; grid-template-rows: auto 1fr; }
.gal[hidden] { display: none; }
.gal-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: calc(14px + env(safe-area-inset-top)) var(--gutter) 14px; border-bottom: 1px solid hsl(0 0% 98% / .1); }
.gal-title { font: italic 400 22px/1 var(--serif); display: grid; gap: 6px; margin-right: auto; }
.gal-title span { font: 400 9.5px/1 var(--sans); font-style: normal; letter-spacing: .22em; text-transform: uppercase; opacity: .6; }
.gal-filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; order: 3; width: 100%; }
.gal-filters button { flex: none; padding: 9px 14px; border: 1px solid hsl(0 0% 98% / .2); border-radius: 999px; font: 400 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.gal-filters button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.gal-close, .gal-back { font: 400 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
@media (min-width: 900px) { .gal-filters { order: 0; width: auto; } }
.gal-body { overflow-y: auto; padding: 8px var(--gutter) 48px; overscroll-behavior: contain; }
.gal-time { font: 400 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: hsl(0 0% 98% / .55); margin: 24px 0 12px; }
.gal-grid { columns: 2 160px; column-gap: 8px; }
@media (min-width: 900px) { .gal-grid { columns: 4 220px; column-gap: 12px; } }
.gal-item { display: block; width: 100%; margin: 0 0 8px; break-inside: avoid; text-align: left; position: relative; overflow: hidden; }
.gal-item img { transition: transform 1.2s var(--ease), opacity .4s; }
.gal-item:hover img { transform: scale(1.04); }
.gal-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 11.5px; line-height: 1.35;
  background: linear-gradient(transparent, hsl(210 12% 8% / .7)); opacity: 0; transition: opacity .4s; }
.gal-item:hover span, .gal-item:focus-visible span { opacity: 1; }
.gal-view { position: absolute; inset: 0; z-index: 2; background: hsl(210 12% 5%); display: grid; place-items: center; padding: 56px 0 64px; touch-action: pan-y; }
.gal-view[hidden] { display: none; }
.gal-view img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; }
.gal-cap { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 16px;
  font: 400 10px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .8; font-variant-numeric: tabular-nums; }
.gal-back { position: absolute; top: calc(18px + env(safe-area-inset-top)); right: var(--gutter); }
.gal-prev, .gal-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  background: hsl(210 12% 8% / .5); color: var(--paper); font-size: 18px; }
.gal-prev { left: 12px; } .gal-next { right: 12px; }
@media (hover: none) { .gal-prev, .gal-next { display: none; } }
.gal-open { overflow: hidden; }
.gal-open .cc-launch, .gal-open .dock, .gal-open .bar { display: none; }

/* Evening captions sit a little higher on phones, clear of the dock */
@media (max-width: 640px) { .eve figcaption { bottom: 120px; } }
/* Map colours — brand only: sand land, slate hills and sea, ink routes */
.locmap svg { --land: hsl(39 45% 92%); }
.m-land { fill: var(--land); }
.m-hill { fill: hsl(198 21% 40% / var(--o)); stroke: hsl(198 21% 36% / .22); stroke-width: .7; }
.m-sea { fill: hsl(198 24% 78%); }
.m-coast { fill: none; stroke: hsl(198 21% 45% / .55); stroke-width: 1; }
.m-gulf { font-family: var(--serif); font-style: italic; fill: hsl(198 21% 30% / .75); text-anchor: middle; }
.m-town { font-family: var(--sans); letter-spacing: .3em; fill: hsl(210 11% 15% / .55); }
.m-route { fill: none; stroke: var(--ink); stroke-opacity: .55; stroke-linejoin: round; stroke-linecap: round; }
.m-lead { fill: none; stroke: var(--ink); stroke-opacity: .45; stroke-width: 1; }
.m-dot { fill: var(--ink); stroke: var(--land); stroke-width: 2; }
.m-lab { font-family: var(--sans); font-weight: 500; fill: var(--ink); paint-order: stroke; stroke: var(--land); stroke-width: 4px; stroke-linejoin: round; }
.m-min { font-weight: 400; fill: hsl(210 11% 15% / .7); }
.m-home { fill: var(--brand); stroke: #fff; stroke-width: 2; }
.m-home-ring { fill: hsl(198 21% 52% / .16); stroke: var(--brand); stroke-width: 1.2; }
.m-home-lab { font-family: var(--serif); font-style: italic; fill: var(--ink); paint-order: stroke; stroke: var(--land); stroke-width: 5px; }
.m-arrow, .m-scale { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.m-small { font-family: var(--sans); letter-spacing: .18em; fill: hsl(210 11% 15% / .7); }
/* Phones: the last long runs, shortened */
@media (max-width: 640px) {
  .tour { height: 64svh; }
  .mp-canvas { width: max(100%, 1000px); }
  .dev-media { max-width: 300px; }
  .dusk-pin .evening { height: 200vh; }
  .huge { font-size: 84px; }
  .closing { font-size: 40px; }
}
/* Anything marked hidden stays hidden, whatever its layout rule says (e.g. the budget field) */
[hidden] { display: none !important; }
@media (min-width: 900px) { .pinned .frames { grid-auto-columns: min(22vw, 36vh); gap: 2.4vw; } }
/* gallery.html — the same wall as the overlay, as its own page */
.gal-page { background: var(--t-night); color: var(--paper); }
.gal-page .gal-head { position: sticky; top: 0; z-index: 2; background: hsl(210 12% 10% / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.gal-page .gal-close { text-decoration: none; }
.gal-page .gal-item span { opacity: 1; }
.gal-fine { margin-top: 32px; font-size: 12px; color: hsl(0 0% 98% / .6); }

/* Jessica's notes, 30 Sep: master plan in place of the photo, a straight title, a larger award, WhatsApp everywhere */
.mp-canvas { width: 100%; }
.mp-view { cursor: auto; }
.mp { margin-left: 0; margin-right: 0; }
.mp-note { padding: 12px 0 0; }
@media (max-width: 640px) { .mp-canvas { width: 100%; } }
h1 .two { font-family: var(--serif); font-style: normal; }
h1 .line:nth-child(2) { padding-left: 0; }
.award { gap: 20px; max-width: 560px; }
.award picture { width: 92px; }
.award span { font-size: 14px; gap: 6px; }
.award b { font-size: 11px; }
@media (max-width: 640px) { .award picture { width: 64px; } .award span { font-size: 12.5px; } }
@media (max-height: 700px) and (max-width: 640px) { .award picture { width: 52px; } }
.bar-right { display: flex; gap: 28px; align-items: center; }
.btn-line { display: inline-block; padding: 19px 26px; border: 1px solid hsl(0 0% 98% / .5); text-decoration: none;
  font: 400 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; transition: background .4s, color .4s; }
.btn-line:hover { background: var(--paper); color: var(--ink); }
h1 .two { font-size: 1em; line-height: inherit; }
@media (min-width: 900px) { h1 .line { display: inline-block; vertical-align: bottom; } }
/* Plot sizes — square metres for everyone, the Thai units beside them */
.sizes { border-top: 1px solid var(--hair); margin-top: 8px; }
.sizes summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; padding: 18px 0; }
.sizes summary::-webkit-details-marker { display: none; }
.sizes summary .label { margin: 0; }
.sizes summary b { font: 400 clamp(26px, 3vw, 40px)/1 var(--serif); font-variant-numeric: lining-nums; }
.sizes summary i { margin-left: auto; font-size: 13px; color: var(--muted); }
.sizes summary i::after { content: "  +"; }
.sizes[open] summary i::after { content: "  −"; }
.sizes-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.sizes-grid li { background: var(--t-gold); padding: 10px 10px 9px; display: grid; gap: 1px; font-variant-numeric: tabular-nums lining-nums; }
.sizes-grid b { font: 400 10px/1.2 var(--sans); letter-spacing: .16em; color: var(--muted); }
.sizes-grid b::before { content: "PLOT "; }
.sizes-grid span { font: 400 17px/1.25 var(--serif); }
.sizes-grid small { font-size: 11px; color: var(--muted); }
.sizes-note { margin-top: 12px; font-size: 12px; color: var(--muted); max-width: 70ch; }
@media (max-width: 640px) { .sizes-grid { grid-template-columns: repeat(4, 1fr); } .sizes-grid li { padding: 8px 7px; } .sizes-grid span { font-size: 15px; } .sizes-grid b::before { content: "NO. "; } }
.sizes-grid { gap: 0; background: none; border: 0; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); } .sizes-grid li { background: none; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }

/* ——— Master plan RE03 with plot sizes: point at a row, the plot lights on the plan; tap a plot, its row comes up ——— */
.mplan { display: grid; gap: 20px; margin: 8px 0 28px; }
.mplan-canvas { position: relative; }
.mplan-canvas img { width: 100%; height: auto; }
.mplan-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pm circle { fill: transparent; stroke: transparent; stroke-width: 14; cursor: pointer; transition: fill .3s, stroke .3s; }
.pm.match circle { stroke: hsl(39 70% 80% / .95); }
.pm.on circle, .pm:hover circle { fill: hsl(39 70% 80% / .55); stroke: var(--ink); }
.mplan-map figcaption { margin-top: 10px; font: 400 10.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.mplan-map figcaption a { color: var(--ink); }
.mplan-head { display: grid; gap: 10px; }
.mplan-head .label { margin: 0; }
.mplan-range { font: 400 clamp(28px, 3vw, 40px)/1 var(--serif); font-variant-numeric: lining-nums; }
.mplan-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.mplan-filters button { padding: 8px 13px; border: 1px solid var(--hair); border-radius: 999px; font: 400 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.mplan-filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mplan-scroll { margin-top: 14px; max-height: 360px; overflow-y: auto; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); overscroll-behavior: contain; }
.mplan-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.mplan-table thead th { position: sticky; top: 0; z-index: 1; background: var(--t-gold); text-align: left; padding: 10px 8px 8px; font: 400 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.mplan-table tbody tr { border-top: 1px solid var(--hair); cursor: pointer; transition: background .25s; }
.mplan-table tbody th, .mplan-table td { padding: 9px 8px; text-align: left; font-weight: 400; }
.mplan-table tbody th { font: 400 18px/1 var(--serif); width: 3.2em; }
.mplan-table td { font-size: 14.5px; }
.mplan-table td.th { color: var(--muted); font-size: 12.5px; }
.mplan-table td.st { text-align: right; }
.mplan-table td.st a { font: 400 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.mplan-table td.st a::after { content: " →"; letter-spacing: 0; }
.mplan-table tbody tr:hover, .mplan-table tbody tr.on, .mplan-table tbody tr:focus-visible { background: hsl(0 0% 100% / .5); outline: none; }
.mplan-table tbody tr.on th { color: var(--brand); }
.mplan-table .pill { font: 500 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: hsl(210 11% 15% / .08); }
.mplan-table .pill.available { background: hsl(150 30% 40% / .15); }
.mplan-table .pill.sold { opacity: .6; }
.mplan .sizes-note { margin-top: 10px; }
@media (min-width: 900px) {
  .mplan { grid-template-columns: 7fr 4fr; gap: 36px; align-items: start; }
  .mplan-list { position: sticky; top: 90px; }
  .mplan-scroll { max-height: min(52vh, 460px); }
}

/* ——— Concierge v2: guided steps with pictures ——— */
.cc-panel { width: min(420px, calc(100vw - 32px)); height: min(720px, calc(100svh - 32px)); }
.cc-log { gap: 12px; overflow-x: hidden; }
.cc-msg { font-size: 15px; }
.cc-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; margin: 2px -22px 4px; padding: 0 22px; max-width: calc(100% + 44px); }
.cc-cards::-webkit-scrollbar { display: none; }
.cc-cards.one { grid-auto-columns: 100%; }
.cc-card { position: relative; display: block; scroll-snap-align: start; text-align: left; background: #fff; border: 1px solid var(--hair); cursor: zoom-in; }
.cc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cc-card-t { display: block; padding: 10px 12px 2px; font: 400 14px/1.3 var(--serif); color: var(--ink); }
.cc-card-k { display: block; padding: 0 12px 10px; font: 400 9.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cc-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--hair); background: var(--t-morning);
  max-height: 40%; overflow-y: auto; transition: opacity .3s; }
.cc-nav.wait { opacity: .45; pointer-events: none; }
.cc-step { min-height: 48px; padding: 10px 12px; border: 1px solid hsl(198 21% 52% / .55); border-radius: 12px; background: #fff; color: var(--ink);
  font: 400 14px/1.25 var(--sans); text-align: center; transition: background .25s, color .25s, border-color .25s; }
.cc-step:hover, .cc-step:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; }
.cc-step.cc-back { background: transparent; border-color: var(--hair); color: var(--muted); }
.cc-step.cc-team { background: var(--sand); border-color: var(--sand); }
.cc-step.cc-team:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cc-acts .cc-act { min-height: 44px; display: inline-flex; align-items: center; }
.cc-form input { padding: 14px 18px; font-size: 16px; }
.cc-chips { display: none; }

/* Full-screen pictures */
.cc-box { position: fixed; inset: 0; z-index: 45; background: hsl(210 12% 6% / .96); display: grid; place-items: center; touch-action: pan-y; }
.cc-box[hidden] { display: none; }
.cc-box-track { width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 12px 88px; }
.cc-box-track img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cc-box-cap { position: absolute; left: 20px; right: 20px; bottom: 28px; text-align: center; color: var(--paper);
  font: 400 11px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.cc-box-close { position: absolute; top: 16px; right: 16px; min-height: 44px; padding: 0 18px; color: var(--paper);
  font: 400 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.cc-box-prev, .cc-box-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: hsl(0 0% 98% / .12); color: var(--paper); font: 300 30px/1 var(--sans); }
.cc-box-prev { left: 12px; } .cc-box-next { right: 12px; }
@media (max-width: 640px) {
  .cc-panel { inset: 0; width: auto; height: 100svh; }
  .cc-cards { grid-auto-columns: 78%; }
  .cc-box-prev, .cc-box-next { top: auto; bottom: 64px; transform: none; }
}
.cc-log > * { flex-shrink: 0; }
/* Map, after the client's reference: one warm tone, cream roads, dark icons, the estate as a logo pin */
.locmap svg { --land: hsl(36 44% 85%); }
.m-hill { fill: hsl(30 26% 42% / var(--o)); stroke: hsl(30 26% 38% / .18); stroke-width: .6; }
.m-sea { fill: hsl(198 20% 80%); }
.m-coast { stroke: hsl(30 20% 45% / .35); }
.m-road-edge { fill: none; stroke: hsl(32 30% 70% / .7); stroke-linejoin: round; stroke-linecap: round; }
.m-road { fill: none; stroke: hsl(40 60% 96%); stroke-linejoin: round; stroke-linecap: round; }
.m-rname { font-family: var(--sans); font-weight: 500; letter-spacing: .16em; fill: hsl(30 20% 30% / .6); text-anchor: middle; }
.m-ic { fill: hsl(25 18% 18%); stroke: var(--land); stroke-width: 2; }
.m-glyph { fill: hsl(40 60% 96%); }
.m-pt { fill: hsl(25 18% 18%); }
.m-lead { fill: none; stroke: hsl(25 18% 18% / .55); stroke-width: 1.2; }
.m-lab { font-family: var(--sans); font-weight: 500; letter-spacing: .12em; fill: hsl(25 18% 18%); paint-order: stroke; stroke: var(--land); stroke-width: 4px; stroke-linejoin: round; }
.m-min { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; fill: hsl(25 18% 18% / .78); }
.m-town { font-family: var(--sans); letter-spacing: .34em; fill: hsl(30 20% 25% / .5); }
.m-gulf { fill: hsl(198 21% 30% / .7); }
.m-stem { stroke: hsl(25 18% 18%); stroke-width: 2; }
.m-home { fill: hsl(25 18% 18%); stroke: var(--land); stroke-width: 2; }
.m-pin { fill: hsl(25 18% 16%); stroke: var(--land); stroke-width: 3; filter: drop-shadow(0 4px 10px hsl(25 30% 10% / .3)); }
.m-arrow, .m-scale { stroke: hsl(25 18% 18%); }
.m-small { fill: hsl(25 18% 18% / .7); }
/* Concierge: the choices sit in the conversation, under each answer */
.cc-panel { grid-template-rows: auto 1fr auto; }
.cc-log { position: relative; }
.cc-nav { max-height: none; overflow: visible; border-top: 0; background: none; padding: 4px 0 8px; margin: 0; }
.cc-cards img { aspect-ratio: 16 / 10; }

/* Phase One: sold out, told once, beside the photograph of it */
.p1 { display: grid; gap: 20px; margin-bottom: clamp(36px, 6vh, 64px); }
.p1-media { position: relative; margin: 0 calc(var(--gutter) * -1); }
.p1-media img { aspect-ratio: 16 / 9; object-fit: cover; }
.p1-media figcaption { padding: 10px var(--gutter) 0; font: 400 10.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.p1-stamp { position: absolute; left: var(--gutter); top: 18px; display: grid; gap: 2px; padding: 14px 18px 12px; background: hsl(210 12% 10% / .82);
  color: var(--paper); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.p1-stamp span { font: 400 9.5px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.p1-stamp b { font: 400 clamp(26px, 3.4vw, 44px)/1 var(--serif); font-weight: 400; color: var(--sand); }
.p1-stamp i { font: italic 400 clamp(15px, 1.6vw, 20px)/1.2 var(--serif); }
.p1-copy { display: grid; gap: 12px; align-content: end; }
.p1-copy .label { margin: 0; }
.p1-copy > p:last-child { font-size: 16px; max-width: 34ch; }
.p2-head { display: grid; gap: 8px; margin-bottom: 18px; padding-top: 22px; border-top: 1px solid var(--hair); }
.p2-head .label { margin: 0; }
.p2-lede { font: 400 clamp(20px, 2.2vw, 28px)/1.3 var(--serif); max-width: 34ch; }
.p2-head .line-link { margin-top: 6px; justify-self: start; }
@media (min-width: 900px) {
  .p1 { grid-template-columns: 7fr 4fr; gap: 40px; align-items: end; }
  .p1-media { margin: 0; }
  .p1-media figcaption { padding-left: 0; }
}
/* Sold plots: marked on the plan and in the table */
.pm.sold circle { fill: hsl(4 45% 38% / .72); stroke: hsl(4 45% 30%); }
.mplan-table tr[data-status="sold"] td:not(.st), .mplan-table tr[data-status="sold"] th { opacity: .5; }
.mplan-table .pill.sold { background: hsl(4 45% 38% / .14); color: hsl(4 45% 30%); opacity: 1; }
.p1-media img { aspect-ratio: 2336 / 1744; }
.p1-title { font: 400 clamp(30px, 3.6vw, 52px)/1.08 var(--serif); letter-spacing: -.01em; }
.p1-title em { display: block; color: hsl(4 45% 38%); }
