/* Marrow & Vale Homes: a filmic one-shot on silver fog. Six colours, two faces. */

@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --sc-canvas:     #E7EBED;
  --sc-surface:    #F4F6F7;
  --sc-ink:        #13222D;
  --sc-ink-soft:   #4A5D6A;
  --sc-accent:     #8A2232;
  --sc-accent-ink: #F4F6F7;
  --sc-font-display: "Cormorant Garamond", Georgia, serif;
  --sc-font-text:    "Jost", system-ui, sans-serif;
  --sc-shadow-color: 205 35% 12%;

  --lake: #0F1B24;
  --lake-soft: #A9B6BF;
  --bone: #E7EBED;
  --fog-deep: #D9DFE2;
  --ribbon-h: 30px;
  --bar-h: 66px;
  --top: calc(var(--ribbon-h) + var(--bar-h));
  --r: 4px;
}

[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--top) + 16px); }
body { font-size: 1.0625rem; font-weight: 400; }
::selection { background: var(--sc-accent); color: var(--sc-accent-ink); }
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--sc-ink); color: var(--sc-canvas); border-radius: var(--r); }
.skip:focus-visible { top: 40px; }

/* ---------------------------------------------------------------- ribbon */
.ribbon {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--ribbon-h);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--bone); background: var(--lake); text-decoration: none;
}
.ribbon__short { display: none; }
@media (hover: hover) and (pointer: fine) { .ribbon:hover { text-decoration: underline; text-underline-offset: 3px; } }
@media (max-width: 600px) { .ribbon__long { display: none; } .ribbon__short { display: inline; } }

/* ---------------------------------------------------------------- the tape */
.tape {
  position: fixed; left: 0; right: 0; top: var(--ribbon-h); z-index: var(--sc-z-chrome); height: var(--bar-h);
  display: flex; align-items: center; gap: var(--sc-6);
  padding-inline: var(--sc-gutter);
  background: color-mix(in oklab, var(--sc-canvas) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sc-hairline);
}
.mark { font-family: var(--sc-font-display); font-weight: 500; font-size: 1.55rem; letter-spacing: -0.01em; color: var(--sc-ink); text-decoration: none; display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; align-items: center; white-space: nowrap; }
.mark__amp { font-style: italic; color: var(--sc-accent); }
.mark__sub { font-family: var(--sc-font-text); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-ink-soft); margin-left: 4px; }

.tape__nav { position: relative; flex: 1; height: 44px; display: flex; align-items: center; justify-content: space-between; margin-inline: var(--sc-5); }
.tape__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--sc-hairline-strong); }
.tick { position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; text-decoration: none; color: var(--sc-ink); }
.tick::before { content: ""; width: 1px; height: 12px; background: var(--sc-ink); opacity: 0.55; transition: transform 160ms var(--sc-ease-out), opacity 160ms var(--sc-ease-out); }
.tick[aria-current="true"]::before { opacity: 1; transform: scaleY(1.6); background: var(--sc-accent); }
.tick__label {
  position: absolute; top: 100%; left: 50%; translate: -50% 0; white-space: nowrap;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px;
  background: var(--sc-ink); color: var(--sc-canvas); border-radius: 3px; opacity: 0; pointer-events: none;
  transition: opacity 140ms var(--sc-ease-out);
}
.tick:focus-visible .tick__label { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .tick:hover::before { opacity: 1; transform: scaleY(1.6); } .tick:hover .tick__label { opacity: 1; } }
.tape__carriage {
  position: absolute; top: -4px; left: 0; z-index: 0; padding: 0 10px; height: 20px; line-height: 20px;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft);
  background: color-mix(in oklab, var(--sc-canvas) 92%, transparent);
  transform: translateX(0); transition: transform 420ms var(--sc-ease-out), opacity 200ms var(--sc-ease-out);
  white-space: nowrap; opacity: 0;
}
.tape__carriage.is-on { opacity: 1; }
.tape__menu { display: none; }
.tape__cta { white-space: nowrap; }

/* ---------------------------------------------------------------- buttons, links, type */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--r); border: 0;
  font-family: var(--sc-font-text); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--ink { background: var(--sc-ink); color: var(--sc-canvas); }
.btn--claret { background: var(--sc-accent); color: var(--sc-accent-ink); box-shadow: 0 1px 0 hsl(350 60% 18% / 0.5), var(--sc-e1); }
.btn--bone { background: var(--bone); color: var(--sc-ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: #22323E; }
  .btn--claret:hover { background: #9B2A3B; box-shadow: 0 1px 0 hsl(350 60% 18% / 0.5), var(--sc-e2); }
  .btn--bone:hover { background: #F4F6F7; }
}
.btn--xl { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }
.btn--block { width: 100%; min-height: 52px; }
.link {
  background: none; border: 0; padding: 10px 0; cursor: pointer; font-family: var(--sc-font-text); font-size: 1rem;
  color: var(--sc-ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: var(--sc-accent); min-height: 44px; display: inline-flex; align-items: center;
}
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-thickness: 2px; } }
.link--light { color: var(--bone); text-decoration-color: var(--bone); }

.eyebrow { margin: 0 0 var(--sc-4); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-ink-soft); font-weight: 500; }
.eyebrow--light { color: var(--bone); }
.h2 {
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(2.6rem, 1.7rem + 3.6vw, 5.4rem); line-height: 1; letter-spacing: -0.015em;
  margin: 0; text-wrap: balance; max-width: 15ch; color: var(--sc-ink);
}
.h2--light { color: var(--bone); }
.body { max-width: 56ch; color: var(--sc-ink-soft); margin: var(--sc-5) 0 0; text-wrap: pretty; line-height: 1.62; }
.body + .body { margin-top: var(--sc-4); }

/* ---------------------------------------------------------------- fields */
.field { display: grid; gap: 6px; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label { font-weight: 500; font-size: 0.86rem; letter-spacing: 0.04em; }
.field input, .field select {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit;
  background: var(--sc-surface); color: var(--sc-ink);
  border: 1px solid color-mix(in oklab, var(--sc-ink) 34%, transparent); border-radius: var(--r);
  transition: border-color 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
.field :is(input, select):focus-visible { outline: none; border-color: var(--sc-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--sc-accent) 28%, transparent); }
.field [aria-invalid="true"] { border-color: #A3202F; }
.field__err { margin: 0; font-size: 0.84rem; color: #8A2232; }

.plate { background: var(--sc-surface); color: var(--sc-ink); border-radius: 6px; box-shadow: var(--sc-edge), var(--sc-e3); border: 1px solid var(--sc-hairline); }
.plate__body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-4); padding: var(--sc-6); }
.plate__title { grid-column: 1 / -1; margin: 0; font-family: var(--sc-font-display); font-weight: 500; font-size: 2rem; line-height: 1; letter-spacing: -0.01em; }
.plate__note { grid-column: 1 / -1; margin: -8px 0 4px; color: var(--sc-ink-soft); font-size: 0.95rem; }
.plate__note--top { margin-top: 0; }
.plate .btn { grid-column: 1 / -1; margin-top: var(--sc-2); }
.plate__done { padding: var(--sc-6); }
.plate__done p { margin: var(--sc-3) 0 0; max-width: 46ch; color: var(--sc-ink-soft); }

/* ---------------------------------------------------------------- 1 hero */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: max(var(--vh-lock, 100svh), 720px);
  background: var(--lake);
}
.hero__far { position: absolute; inset: -16% 0 -8% 0; z-index: 0; }
.hero__far img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 58% at 20% 60%, rgb(15 27 36 / 0.7), rgb(15 27 36 / 0) 100%),
    linear-gradient(90deg, rgb(15 27 36 / 0.9) 0%, rgb(15 27 36 / 0.72) 30%, rgb(15 27 36 / 0) 60%),
    linear-gradient(0deg, rgb(15 27 36 / 0.6) 0%, rgb(15 27 36 / 0) 40%);
}
.hero__house {
  position: absolute; z-index: 1; margin: 0;
  right: var(--sc-gutter); top: calc(var(--top) + 8vh); width: min(42vw, 640px);
  box-shadow: 0 30px 70px -30px rgb(5 10 14 / 0.9), 0 2px 0 rgb(231 235 237 / 0.08);
}
.hero__house img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hero__dock {
  position: absolute; left: 0; right: 0; bottom: -2px; z-index: 3; height: 24vh; min-height: 150px;
  clip-path: polygon(0 14%, 60% 0, 72% 100%, 0 100%);
}
.hero__dock img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 70%; display: block; }
.hero__copy { position: absolute; z-index: 4; left: var(--sc-gutter); right: var(--sc-gutter); bottom: 31vh; max-width: 38rem; color: var(--bone); }
.hero__title {
  margin: 0; font-family: var(--sc-font-display); font-weight: 500; color: var(--bone);
  font-size: clamp(2.8rem, 2rem + 2.6vw, 5rem); line-height: 0.98; letter-spacing: -0.015em; text-wrap: balance; max-width: 13ch;
}
.hero__lede { margin: var(--sc-4) 0 0; max-width: 40ch; color: var(--bone); font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); line-height: 1.5; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-3) var(--sc-6); margin-top: var(--sc-5); }

/* ---------------------------------------------------------------- 2 listing */
.listing {
  position: relative; padding: var(--sc-section) var(--sc-gutter) calc(var(--sc-section) * 0.8);
  display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--sc-8); row-gap: var(--sc-7); align-items: start;
}
.listing__head { grid-column: 1; grid-row: 1; }
.listing__night { grid-column: 2; grid-row: 1; margin: 0; align-self: start; }
.listing__night img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; box-shadow: 18px 26px 54px -26px hsl(var(--sc-shadow-color) / 0.6); }
.listing__night figcaption, .team__aerial figcaption { margin: 10px 0 0; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-ink-soft); }
.spec { grid-column: 1; grid-row: 2; margin: 0; border-top: 1px solid var(--sc-ink); }
.spec > div { display: grid; grid-template-columns: 7rem 1fr; gap: var(--sc-4); padding: 12px 0; border-bottom: 1px solid var(--sc-hairline-strong); }
.spec dt { margin: 0; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft); padding-top: 4px; }
.spec dd { margin: 0; font-size: 1.08rem; line-height: 1.4; }
.spec__price dd { font-family: var(--sc-font-display); font-weight: 600; font-size: 1.9rem; line-height: 1; letter-spacing: -0.01em; }
.fn { color: var(--sc-accent); text-decoration: none; font-family: var(--sc-font-text); font-size: 1rem; vertical-align: top; display: inline-flex; min-width: 44px; min-height: 44px; margin: -12px -14px -12px -6px; justify-content: center; align-items: center; }
.listing__mist {
  grid-column: 2; grid-row: 2; margin: -3rem 0 0 auto; width: min(22vw, 320px); position: relative; z-index: 1; align-self: start;
  background: var(--sc-surface); padding: 8px 8px 26px; box-shadow: 16px 22px 44px -22px hsl(var(--sc-shadow-color) / 0.55), var(--sc-e1); rotate: 2deg;
}
.listing__mist img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

/* ---------------------------------------------------------------- 3 hush */
.hush { min-height: calc(var(--vh-lock, 100svh) * 0.78); display: grid; place-items: center; padding: var(--sc-9) var(--sc-gutter); }
.hush__line { margin: 0; max-width: 22ch; font-family: var(--sc-font-display); font-weight: 500; font-style: italic; font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem); line-height: 1.08; letter-spacing: -0.01em; text-align: center; text-wrap: balance; color: var(--sc-ink); }

/* ---------------------------------------------------------------- 4 peak: through the glass */
/* Before the engine mounts (it adds .sc-stage), a stage is an ordinary block: the
   glass and light layers, being absolute, would escape to the viewport and paint
   over the hero, and the rooms rail would widen the document by four screens.
   On a phone that overflow makes Chrome zoom out to its 0.25 floor, innerHeight
   reads four screens tall, and the boot guard in page.js waits 4 s to mount.
   Contain every stage from the first paint; :not(.sc-stage) hands over cleanly. */
[data-sc-stage]:not(.sc-stage) { position: relative; overflow: clip; min-height: var(--vh-lock, 100svh); }
.glass__stage { background: var(--lake); overflow: clip; }
.glass__outside, .glass__inside { position: absolute; inset: 0; will-change: transform; }
.glass__outside img, .glass__inside img { width: 100%; height: 100%; object-fit: cover; display: block; }
.glass__outside img { object-position: 50% 45%; }
.glass__inside { clip-path: inset(42% 40% 38% 40%); transform: scale(1.14); z-index: 1; }
.glass__inside img { object-position: 55% 50%; }
.glass__pane { position: absolute; z-index: 2; inset: 42% 40% 38% 40%; border: 1px solid rgb(231 235 237 / 0.85); box-shadow: 0 0 0 1px rgb(15 27 36 / 0.25) inset; pointer-events: none; }
.glass__scrim { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 54%; background: linear-gradient(0deg, rgb(15 27 36 / 0.9) 0%, rgb(15 27 36 / 0.62) 50%, rgb(15 27 36 / 0) 100%); pointer-events: none; }
.glass__copy { position: absolute; z-index: 4; left: var(--sc-gutter); right: var(--sc-gutter); bottom: clamp(2.5rem, 9vh, 6rem); }
.glass__state {
  position: absolute; left: 0; bottom: 0; margin: 0; max-width: 18ch;
  font-family: var(--sc-font-display); font-weight: 500; color: var(--bone);
  font-size: clamp(2rem, 1.3rem + 3vw, 4.4rem); line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance;
}

/* ---------------------------------------------------------------- 5 rooms */
.rooms__stage { display: flex; align-items: center; background: var(--fog-deep); }
.rooms__rail { gap: clamp(1.25rem, 2.6vw, 3rem); align-items: center; padding: calc(var(--top) + 1rem) 0 clamp(1.5rem, 4vh, 3rem) var(--sc-gutter); height: 100%; }
.rooms__rail > * { flex: none; }
.rooms__lead { width: min(28rem, 32vw); align-self: center; padding-right: var(--sc-6); }
.rooms__end { width: 8vw; }
.room { width: clamp(15rem, 22vw, 22rem); background: var(--sc-surface); padding: 10px 10px 16px; box-shadow: 14px 22px 44px -24px hsl(var(--sc-shadow-color) / 0.6), var(--sc-e1); }
.room--a { translate: 0 -3rem; }
.room--b { width: clamp(13.5rem, 19vw, 19rem); translate: 0 3rem; }
.room img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.room__label { margin: 12px 2px 0; }
.room__label > div { display: grid; grid-template-columns: 3.6rem 1fr; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--sc-hairline); }
.room__label > div:first-child { border-top: 1px solid var(--sc-ink); }
.room__label dt { margin: 0; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft); padding-top: 3px; }
.room__label dd { margin: 0; font-size: 0.92rem; line-height: 1.35; }
.room__label > div:first-child dd { font-family: var(--sc-font-display); font-weight: 600; font-size: 1.35rem; line-height: 1; }

/* ---------------------------------------------------------------- 6 signature: the light */
.light__stage { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sc-7); align-items: center; padding: calc(var(--top) + 1.5rem) var(--sc-gutter) 2rem; background: var(--sc-canvas); }
.days { border: 0; margin: var(--sc-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.days legend { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft); margin-bottom: 10px; }
.day { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--sc-hairline-strong); border-radius: var(--r); cursor: pointer; font-size: 0.95rem; background: var(--sc-surface); transition: background-color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out); }
.day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day:has(input:checked) { background: var(--sc-ink); color: var(--sc-canvas); border-color: var(--sc-ink); }
.day:has(input:focus-visible) { outline: 2px solid var(--sc-accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .day:hover { border-color: var(--sc-ink); } }
.hour { margin-top: var(--sc-5); max-width: 24rem; }
.hour label { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft); margin-bottom: 6px; }
.hour input { width: 100%; accent-color: var(--sc-accent); height: 44px; margin: 0; }
.plan { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: var(--sc-5); align-items: end; }
.plan__svg { width: 100%; height: auto; max-height: calc(var(--vh-lock, 100vh) - var(--top) - 5rem); overflow: visible; font-family: var(--sc-font-text); }
.plan__sky { fill: var(--sky, #CFD9DF); transition: fill 200ms linear; }
.plan__water { fill: #B9C9D3; }
.plan__shore { fill: #B9C9D3; }
.plan__shoreline { fill: none; stroke: #7F95A3; stroke-width: 2; }
.plan__lot { fill: #DCE2E4; stroke: var(--sc-ink); stroke-width: 1; stroke-dasharray: 6 4; }
.plan__dock { fill: #8C7A62; }
.plan__lift { fill: none; stroke: #8C7A62; stroke-width: 2; }
.plan__terrace { fill: #C9D1D4; stroke: var(--sc-ink); stroke-width: 1; }
.plan__house { fill: var(--sc-surface); stroke: var(--sc-ink); stroke-width: 1.5; }
.plan__shadow { fill: rgb(19 34 45 / 0.42); }
.plan__arc { fill: none; stroke: var(--sc-accent); stroke-width: 1; stroke-dasharray: 2 5; opacity: 0.8; }
.plan__sun { fill: var(--sun, #E6B45A); stroke: var(--sc-ink); stroke-width: 1; }
.plan__labels text { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--sc-ink-soft); }
.plan__north path { fill: none; stroke: var(--sc-ink); stroke-width: 1.5; }
.plan__north text { font-size: 13px; fill: var(--sc-ink); font-weight: 500; }
.readout { margin: 0; min-width: 14rem; padding: var(--sc-4) 0 0; border-top: 1px solid var(--sc-ink); }
.readout p { margin: 0; }
.readout__time { font-family: var(--sc-font-display); font-weight: 500; font-size: 3rem; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.readout__sun { margin-top: 8px; color: var(--sc-ink-soft); font-size: 0.95rem; }
.readout__terrace { margin-top: 10px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.readout__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sun, #E6B45A); border: 1px solid var(--sc-ink); }
.readout__terrace.is-shade .readout__dot { background: var(--sc-ink); }
.readout__note { margin-top: 14px; font-size: 0.74rem; line-height: 1.4; color: var(--sc-ink-soft); max-width: 22ch; }

/* ---------------------------------------------------------------- 7 shore */
.shore { position: relative; isolation: isolate; overflow: clip; min-height: max(var(--vh-lock, 100svh), 680px); display: grid; align-items: end; padding: var(--sc-section) var(--sc-gutter) var(--sc-8); background: var(--lake); }
.shore__photo { position: absolute; inset: -14% 0; z-index: 0; margin: 0; }
.shore__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.shore__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgb(15 27 36 / 0.86) 0%, rgb(15 27 36 / 0.6) 38%, rgb(15 27 36 / 0.1) 70%, rgb(15 27 36 / 0) 100%); pointer-events: none; }
.shore__copy { position: relative; z-index: 2; display: grid; grid-template-columns: 6fr 6fr; gap: var(--sc-8); align-items: end; }
.shore__list { list-style: none; margin: 0; padding: 0; color: var(--bone); border-top: 1px solid rgb(231 235 237 / 0.4); }
.shore__list li { padding: var(--sc-4) 0; border-bottom: 1px solid rgb(231 235 237 / 0.22); max-width: 50ch; line-height: 1.55; color: var(--lake-soft); }
.shore__list strong { color: var(--bone); font-weight: 500; }
.shore__cap { grid-column: 1 / -1; margin: var(--sc-5) 0 0; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lake-soft); }

/* ---------------------------------------------------------------- 8 team */
.team { position: relative; padding: var(--sc-section) var(--sc-gutter); display: grid; grid-template-columns: 6fr 6fr; column-gap: var(--sc-8); row-gap: var(--sc-8); align-items: start; }
.team__lead { grid-column: 1; grid-row: 1; }
.agents { margin-top: var(--sc-7); display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-6); border-top: 1px solid var(--sc-ink); padding-top: var(--sc-5); }
.agent h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 500; font-size: 1.9rem; line-height: 1; }
.agent p { margin: var(--sc-3) 0 var(--sc-2); color: var(--sc-ink-soft); max-width: 28ch; line-height: 1.5; }
.team__aerial { grid-column: 2; grid-row: 1 / 3; margin: 0; position: sticky; top: calc(var(--top) + 2rem); }
.team__aerial img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; box-shadow: 18px 26px 54px -26px hsl(var(--sc-shadow-color) / 0.55); }
.plate--worth { grid-column: 1; grid-row: 2; width: 100%; }

/* ---------------------------------------------------------------- 9 close */
.close { background: var(--lake); color: var(--bone); padding: var(--sc-section) var(--sc-gutter) var(--sc-6); }
.close__inner { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sc-8); align-items: start; }
.close__title { margin: 0; font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(3rem, 1.8rem + 5vw, 7rem); line-height: 0.96; letter-spacing: -0.015em; color: var(--bone); text-wrap: balance; }
.close__alt { margin: var(--sc-6) 0 0; color: var(--lake-soft); font-size: 1.05rem; }
.lines { margin-top: var(--sc-4); display: grid; gap: 4px; }
.line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; min-height: 48px; color: var(--bone); text-decoration: none; border-bottom: 1px solid rgb(231 235 237 / 0.22); padding: 8px 0; }
.line__who { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lake-soft); min-width: 8rem; }
.line__num { font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .line:hover .line__num { text-decoration: underline; text-decoration-color: var(--sc-accent); text-underline-offset: 6px; } }
.plate--buyer { box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6); }
.foot { margin-top: var(--sc-9); padding-top: var(--sc-5); border-top: 1px solid rgb(231 235 237 / 0.2); display: grid; gap: 8px; font-size: 0.86rem; line-height: 1.5; color: var(--lake-soft); max-width: 82ch; }
.foot p { margin: 0; }
.foot a { color: var(--bone); text-underline-offset: 3px; padding-block: 12px; }
.foot strong { color: var(--bone); font-weight: 500; }
.dockbar { display: none; }

/* ---------------------------------------------------------------- credits page */
.credits__main { max-width: 60rem; margin: 0 auto; padding: var(--sc-9) var(--sc-gutter); }
.credits__table { width: 100%; border-collapse: collapse; margin-top: var(--sc-6); font-size: 0.95rem; }
.credits__table th, .credits__table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--sc-hairline-strong); vertical-align: top; }
.credits__table th { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft); }
.credits__table a { color: var(--sc-ink); text-underline-offset: 3px; text-decoration-color: var(--sc-accent); }

/* ---------------------------------------------------------------- engine interplay */
html:not(.sc-ready) [data-sc-cue] { opacity: 1; }
.sc-act--pinned[style*="--span"] { height: calc(var(--span) * var(--vh-lock, 100vh)) !important; }
.sc-act--pinned .sc-stage { height: var(--vh-lock, 100svh); }
.sc-grain { inset: 0 0 auto 0; height: var(--vh-lock, 100vh); contain: strict; opacity: 0.04; }
.sc-grain::before { inset: 0; }

/* ---------------------------------------------------------------- tablet and phone */
@media (max-width: 1180px) {
  .tape__cta { padding: 0 14px; font-size: 0.9rem; }
  .tape__nav { margin-inline: var(--sc-4); }
}
@media (max-width: 960px) {
  .tape { gap: var(--sc-3); }
  .tape__nav {
    position: fixed; top: var(--top); left: 0; right: 0; margin: 0; height: auto;
    display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--sc-gutter) 14px;
    background: var(--sc-surface); border-bottom: 1px solid var(--sc-hairline-strong); box-shadow: var(--sc-e2);
  }
  .tape__nav.is-open { display: flex; }
  .tape__line, .tape__carriage { display: none; }
  .tick { width: auto; height: auto; display: flex; justify-content: flex-start; align-items: center; min-height: 48px; border-bottom: 1px solid var(--sc-hairline); }
  .tick::before { display: none; }
  .tick__label { position: static; translate: none; opacity: 1; background: none; color: var(--sc-ink); font-size: 1rem; letter-spacing: 0.02em; text-transform: none; padding: 0; pointer-events: auto; }
  .tick[aria-current="true"] .tick__label { color: var(--sc-accent); }
  .tape__menu {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; margin-left: auto;
    background: transparent; border: 1px solid var(--sc-hairline-strong); border-radius: var(--r); font: inherit; font-weight: 500; cursor: pointer; color: var(--sc-ink);
  }
  .tape__menu:active { transform: scale(0.97); }
  .listing { grid-template-columns: 1fr; row-gap: var(--sc-6); }
  .listing__night { grid-column: 1; grid-row: 2; }
  .spec { grid-row: 3; }
  .listing__mist { grid-column: 1; grid-row: 4; margin: 0 0 0 auto; width: 46vw; }
  .light__stage { grid-template-columns: 1fr; align-content: start; gap: var(--sc-4); padding-top: calc(var(--top) + 1rem); }
  .plan { grid-template-columns: 1fr; gap: var(--sc-3); }
  .plan__svg { max-height: 40vh; }
  .shore__copy, .team { grid-template-columns: 1fr; }
  .team__aerial { grid-column: 1; grid-row: 2; position: static; }
  .plate--worth { grid-row: 3; }
  .close__inner { grid-template-columns: 1fr; gap: var(--sc-7); }
}
@media (max-width: 860px) {
  :root { --bar-h: 58px; --ribbon-h: 28px; }
  .mark { font-size: 1.35rem; }
  .mark__sub { display: none; }
  .tape__cta { display: none; }
  .hero { min-height: max(var(--vh-lock, 100svh), 760px); }
  .hero__far { inset: -10% 0 -30% 0; }
  .hero__house { right: auto; left: var(--sc-gutter); top: calc(var(--top) + 1rem); width: 80vw; }
  .hero__copy { bottom: calc(16vh + 1.25rem); max-width: 100%; }
  .hero .eyebrow { display: none; }
  .hero__title { font-size: clamp(2.4rem, 1.2rem + 6.5vw, 3.2rem); max-width: 14ch; }
  .hero__lede { font-size: 1rem; max-width: 100%; margin-top: var(--sc-3); }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 2px; }
  .hero__actions .link { justify-content: center; }
  .hero__dock { height: 16vh; min-height: 110px; clip-path: polygon(0 12%, 70% 0, 84% 100%, 0 100%); }
  .hero__scrim { background: linear-gradient(0deg, rgb(15 27 36 / 0.9) 0%, rgb(15 27 36 / 0.8) 40%, rgb(15 27 36 / 0.35) 60%, rgb(15 27 36 / 0) 72%); }
  .spec > div { grid-template-columns: 6rem 1fr; }
  .plate__body { padding: var(--sc-5); gap: var(--sc-4) var(--sc-3); }
  .hush { min-height: calc(var(--vh-lock, 100svh) * 0.62); }
  .hush__line { text-align: left; }
  .glass__inside { clip-path: inset(40% 28% 40% 28%); }
  .glass__pane { inset: 40% 28% 40% 28%; }
  .glass__state { font-size: clamp(1.8rem, 1.2rem + 4vw, 2.6rem); max-width: 14ch; }
  .glass__scrim { height: 60%; }
  .rooms__rail { padding-top: calc(var(--top) + 0.75rem); align-items: flex-start; gap: var(--sc-5); }
  .rooms__lead { width: 76vw; padding-right: 0; align-self: flex-start; }
  .rooms__lead .body { font-size: 0.98rem; margin-top: var(--sc-3); }
  .room, .room--b { width: 72vw; }
  .room--a { translate: 0 0.5rem; }
  .room--b { translate: 0 2rem; }
  .room img { aspect-ratio: 4 / 4.4; }
  .light__stage { padding-bottom: 1rem; }
  .light__copy .body { font-size: 0.95rem; margin-top: var(--sc-3); }
  .days { margin-top: var(--sc-4); }
  .day { padding: 0 12px; font-size: 0.9rem; min-height: 40px; }
  .hour { margin-top: var(--sc-3); }
  .plan__svg { max-height: 34vh; }
  .readout { display: grid; grid-template-columns: auto 1fr; column-gap: var(--sc-4); align-items: baseline; padding-top: var(--sc-3); }
  .readout__time { font-size: 2.2rem; }
  .readout__sun { grid-column: 2; margin-top: 0; font-size: 0.88rem; }
  .readout__terrace { grid-column: 1 / -1; margin-top: 6px; }
  .readout__note { display: none; }
  .shore { min-height: auto; padding-top: calc(var(--sc-section) + 26vh); }
  .shore__scrim { background: linear-gradient(0deg, rgb(15 27 36 / 0.9) 0%, rgb(15 27 36 / 0.84) 60%, rgb(15 27 36 / 0.3) 84%, rgb(15 27 36 / 0) 100%); }
  .shore__copy { gap: var(--sc-5); }
  .agents { grid-template-columns: 1fr; }
  .dockbar {
    display: inline-flex; align-items: center; justify-content: center; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
    min-height: 52px; background: var(--sc-accent); color: var(--sc-accent-ink); border-radius: var(--r); font-weight: 500; letter-spacing: 0.02em; text-decoration: none;
    box-shadow: var(--sc-e3); transform: translateY(calc(100% + 16px)); transition: transform 240ms var(--sc-ease-out);
  }
  .dockbar.is-on { transform: none; }
}
@media (max-width: 480px) {
  .plate__body { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .glass__inside { clip-path: none; transform: none; opacity: var(--glass-t, 0); }
  .glass__pane { display: none; }
  .tape__carriage { transition: none; }
}
