/* 620 Spring Street, "Apple" pass 09/11.
   Black and white base, sections alternating black / light grey / white.
   Accent: a pearl (on dark) and steel (on light) metallic gradient, used sparingly.
   Soft neumorphic controls on the light grey panels, always with a border and a
   clear selected state. The tower clock stays as the one building motif; the hero
   keeps one arch window. Poppins only. */

@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-200-normal.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Local fallback sized to Poppins so the swap to the web font does not move text. */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Roboto"); size-adjust: 113%; ascent-override: 92.9%; descent-override: 31%; line-gap-override: 8.8%; }

:root {
  --black: #000000;
  --near: #0A0A0B;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --ink-3: #6E6E73;
  --white: #FFFFFF;
  --gray: #F5F5F7;
  --well: #ECEEF2;
  --line: #D2D2D7;
  --d-ink: #F5F5F7;
  --d-ink-2: #A1A1A6;
  --d-ink-3: #86868B;
  --d-tile: #161617;
  --d-line: #2C2C2E;
  --steel-1: #4A5E7F;
  --steel-2: #55698A;
  --pearl-1: #CBD7E6;
  --pearl-2: #9FB3CC;
  --pearl: linear-gradient(110deg, #F7F9FC 0%, #CBD7E6 28%, #9FB3CC 50%, #E6EDF5 68%, #B3C3D8 100%);
  --steel: linear-gradient(110deg, #1F2B3E 0%, #55698A 30%, #A7B8CE 50%, #4A5E7F 70%, #18222F 100%);
  /* steel for text on white: same hues, a darker middle so every stop keeps 3:1 or better */
  --steel-text: linear-gradient(110deg, #1F2B3E 0%, #4A5E7F 32%, #6F84A3 50%, #4A5E7F 68%, #18222F 100%);
  /* neumorphism, light (phone: small blur; desktop gets the deeper set below) */
  --neu-out: 3px 3px 7px rgba(150, 165, 190, .32), -3px -3px 7px rgba(255, 255, 255, .95);
  --neu-in: inset 2px 2px 5px rgba(150, 165, 190, .42), inset -2px -2px 5px rgba(255, 255, 255, .95);
  --neu-edge: 1px solid rgba(29, 29, 31, .09);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --pill: 980px;
  --font: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: 20px;
  --dock-space: 80px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
/* No rubber band: the page stops at its top and bottom (Chrome/Android, Safari 16+), and the
   page colour is black at both ends (black hero, black footer), so even an elastic pull on an
   earlier iPhone never shows a different colour. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--black); overscroll-behavior: none; }
body {
  margin: 0; background: var(--black); color: var(--ink); overscroll-behavior: none;
  font: 400 1rem/1.55 var(--font); letter-spacing: -0.005em;
  padding-bottom: calc(var(--dock-space) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--steel-1); outline-offset: 3px; }
.hero :focus-visible, .mill :focus-visible, .dock :focus-visible, .topbar :focus-visible, .foot :focus-visible { outline-color: var(--pearl-1); }

.visually-hidden, .chip input, .day input {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--pill); }
.skip:focus { top: 8px; }
.num { font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sfx { font-weight: 700; font-size: .86em; margin-left: .03em; }
.sp-sfx { font-weight: 700; }
.opt { font-weight: 400; color: var(--ink-3); }
.noscript { padding: 12px var(--pad); }

/* gradient text: pearl on dark, steel on light */
.pearl-text, .steel-text { -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; background-size: 220% 100%; background-position: 0% 50%; }
.pearl-text { background-image: var(--pearl); }
.steel-text { background-image: var(--steel-text); }

/* ---------- the tower clock (section icons, scroll progress) ---------- */
.clock { width: 100%; height: 100%; overflow: visible; }
.clock-ring { fill: none; stroke: currentColor; stroke-width: 1.6; }
.clock-ticks { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.clock-h, .clock-m { stroke: currentColor; stroke-linecap: round; transform-box: view-box; transform-origin: 20px 20px; }
.clock-h { stroke-width: 2.4; }
.clock-m { stroke-width: 1.6; }
.clock-pin { fill: currentColor; }
.sec-title { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mark { flex: none; width: 30px; height: 30px; color: var(--steel-1); }
.mill .mark { color: var(--pearl-1); }
.mark .clock-h { transform: rotate(calc(var(--hour, 1) * 30deg)); transition: transform 1.3s var(--ease-out) .15s; }
.mark .clock-m { transition: transform 1.5s var(--ease-out) .1s; }
.mark[data-h="1"] { --hour: 1; }
.mark[data-h="2"] { --hour: 2; }
.mark[data-h="3"] { --hour: 3; }
.mark[data-h="4"] { --hour: 4; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: var(--pill);
  font: 500 .9375rem/1.1 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 1rem; }
/* on dark: pearl filled */
.btn-pearl { background: var(--pearl); background-size: 160% 100%; color: var(--near); font-weight: 600; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 8px 26px -10px rgba(159, 179, 204, .75); }
/* on light: ink with a pearl ring and a soft blue-grey glow */
.btn-ink {
  color: var(--white); font-weight: 600;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--pearl) border-box;
  box-shadow: 0 10px 26px -12px rgba(74, 94, 127, .7);
}
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark {
  color: var(--d-ink);
  background: linear-gradient(var(--d-tile), var(--d-tile)) padding-box, linear-gradient(110deg, rgba(247, 249, 252, .7), rgba(159, 179, 204, .45), rgba(230, 237, 245, .7)) border-box;
}
.btn:disabled { opacity: .6; cursor: progress; }
.link-quiet {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none;
  font: 500 .9375rem var(--font); color: var(--steel-1); text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1px; cursor: pointer;
}

/* ---------- neumorphic chips (radio inputs) ---------- */
.chips { display: flex; gap: 10px; }
.chip { position: relative; flex: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: var(--neu-edge); border-radius: var(--pill); background: var(--gray); box-shadow: var(--neu-out);
  font: 500 .875rem/1.1 var(--font); color: var(--ink); white-space: nowrap; cursor: pointer; user-select: none;
  transition: box-shadow .25s var(--ease), background-color .25s, color .25s;
}
.chip input:checked + span {
  font-weight: 600; color: var(--near); box-shadow: var(--neu-in);
  border: 1.5px solid transparent;
  background: linear-gradient(var(--well), var(--well)) padding-box, var(--steel) border-box;
}
.chip input:focus-visible + span { outline: 2px solid var(--steel-1); outline-offset: 3px; }
.chip input:disabled + span { opacity: .45; cursor: not-allowed; }
.chips-wrap { flex-wrap: wrap; }
@media (hover: hover) {
  .btn-pearl:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 10px 32px -8px rgba(159, 179, 204, .95); }
  .btn-ink:hover { box-shadow: 0 12px 32px -10px rgba(74, 94, 127, .95); }
  .btn-line:hover { background: var(--ink); color: var(--white); }
  .btn-ghost-dark:hover { color: var(--white); }
  .chip span:hover { color: var(--near); }
  .sp:hover { opacity: .85; }
}

/* ---------- top bar: solid black on phones, translucent on desktop ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 var(--pad); background: var(--black); color: var(--d-ink);
  transition: transform .35s var(--ease);
}
.topbar.is-hidden { transform: translateY(-100%); }
.topbar-logo img { width: 112px; height: auto; }
.topbar-clock, .topbar-nav, .topbar-phone, .topbar-cta { display: none; }

/* ---------- 1. hero: black, centred, one arch window ---------- */
.hero { background: var(--black); color: var(--d-ink); text-align: center; padding: 22px var(--pad) 30px; }
.hero-text { display: flex; flex-direction: column; align-items: center; }
.hero-where { font: 600 .8125rem/1.3 var(--font); letter-spacing: .01em; }
.hero h1 { margin: 10px 0 12px; font: 600 clamp(2rem, 8.8vw, 2.6rem)/1.08 var(--font); letter-spacing: -0.04em; text-wrap: balance; max-width: 15ch; }
.hero-sub { font-size: .9375rem; line-height: 1.5; color: var(--d-ink-2); max-width: 36ch; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; }
.hero-see { display: inline-flex; align-items: center; min-height: 44px; color: var(--pearl-1); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hero-media { position: relative; container-type: inline-size; width: min(320px, 100%); height: clamp(230px, 35svh, 360px); margin: 26px auto 0; }
.hero-arch {
  position: absolute; inset: 0; overflow: hidden; isolation: isolate; background: #1A1A1C;
  border-radius: 50cqw 50cqw var(--r-lg) var(--r-lg) / 50cqw 50cqw var(--r-lg) var(--r-lg);
}
.hero-photo, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 50% 40%; }
.hero-frame {
  position: absolute; inset: -9px; pointer-events: none; border: 1px solid rgba(203, 215, 230, .45);
  border-radius: calc(50cqw + 9px) calc(50cqw + 9px) calc(var(--r-lg) + 9px) calc(var(--r-lg) + 9px);
}
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 520px; margin: 24px auto 0; }
/* Number on top, label under it; numbers share one top line even when a label wraps to two lines (14/11). */
.hero-facts div { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; }
.hero-facts dd { margin: 0; order: -1; }
.hero-facts dd .num { display: inline-block; font-size: 1.65rem; font-weight: 300; line-height: 1.2; letter-spacing: -0.03em; }
.hero-facts dt { font-size: .75rem; line-height: 1.3; color: var(--d-ink-3); }
.hero-note { margin-top: 12px; font-size: .8125rem; color: var(--d-ink-3); }

/* ---------- 2. spaces: light grey panel, neumorphic controls ---------- */
.spaces { background: var(--gray); padding: 44px var(--pad) 34px; }
.spaces-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 16px; }
.spaces h2, .fit h2, .mill h2, .book h2 { font: 600 2rem/1.08 var(--font); letter-spacing: -0.04em; }
.spaces-count { font: 500 .8125rem/1.3 var(--font); color: var(--ink-3); }
.filters { margin-top: 14px; display: grid; gap: 2px; }
.chips-row .chips { overflow-x: auto; overscroll-behavior-x: none; margin: 0 calc(var(--pad) * -1); padding: 6px var(--pad) 8px; scrollbar-width: none; }
.chips-row .chips::-webkit-scrollbar { display: none; }

.desk { margin-top: 12px; }
.plan { margin: 0; }
.plan-tabs { display: inline-flex; gap: 10px; padding: 4px 0; }
.plan-tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border: var(--neu-edge); border-radius: var(--pill); background: var(--gray); box-shadow: var(--neu-out);
  font: 500 .8125rem var(--font); cursor: pointer; transition: box-shadow .25s var(--ease);
}
.plan-tab[aria-pressed="true"] { font-weight: 600; box-shadow: var(--neu-in); border: 1.5px solid transparent; background: linear-gradient(var(--well), var(--well)) padding-box, var(--steel) border-box; }
.plan-tab:disabled { opacity: .45; cursor: not-allowed; }
.plan-tab-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill); background: rgba(74, 94, 127, .12); font: 600 .75rem var(--font); color: var(--steel-1); }
.plan-canvas {
  position: relative; margin-top: 12px; padding: 10px; border: var(--neu-edge); border-radius: var(--r-lg);
  background: var(--well); box-shadow: var(--neu-in);
}
.plan-svg { width: 100%; height: auto; }
.plan-note { position: absolute; left: 16px; bottom: 12px; font-size: .6875rem; color: var(--ink-3); }
.hatch-bg { fill: #E1E8F1; }
.hatch-line { stroke: #8EA2BF; stroke-width: 2.4; }
.plan-ctx path { fill: #DADDE3; stroke: var(--well); stroke-width: 8; stroke-linejoin: round; }
.plan-ghost path { fill: none; stroke: #C5CAD3; stroke-width: 3; stroke-dasharray: 1 11; stroke-linecap: round; }
.sp { stroke: var(--well); stroke-width: 8; stroke-linejoin: round; cursor: pointer; transition: opacity .25s; transform-box: fill-box; transform-origin: 50% 50%; }
.sp.is-match { fill: var(--steel-1); }
.sp.is-sel { fill: var(--near); }
.sp-label { font-family: var(--font); font-weight: 600; fill: #34445E; text-anchor: middle; pointer-events: none; }
.sp-label.is-match, .sp-label.is-sel { fill: var(--white); }
.plan-pick {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; position: relative;
  margin-top: 12px; padding: 16px 54px 16px 18px; border: var(--neu-edge); border-radius: var(--r-md); background: var(--white);
  box-shadow: 0 10px 30px -14px rgba(31, 43, 62, .35);
}
.pick-id { font: 600 1.25rem/1.15 var(--font); letter-spacing: -0.03em; }
.pick-id .num { font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.pick-meta { font-size: .8125rem; color: var(--ink-2); }
.pick-text { flex: 1 1 180px; }
.pick-photos { min-height: 44px; padding: 0 18px; font-size: .875rem; }
.pick-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--gray); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.plan-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; font-size: .72rem; color: var(--ink-2); }
.plan-legend .lg { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.key { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; }
.key-match { background: var(--steel-1); }
.key-open { background: repeating-linear-gradient(45deg, #8EA2BF 0 2px, #E1E8F1 2px 6px); }
.key-sel { background: var(--near); }
.key-ctx { background: #DADDE3; box-shadow: inset 0 0 0 1px var(--line); }
/* Pending (dashboard status, 09/11): listed and on the plan, never counted as available.
   Dots in a warm sand so it reads apart from available (lines) and occupied (flat grey). */
.key-pending { background: radial-gradient(circle, #B07A2E 1.3px, #F6EEDF 1.6px) 0 0 / 5px 5px; box-shadow: inset 0 0 0 1px rgba(176, 122, 46, .35); }
.dots-bg { fill: #F6EEDF; }
.dots-dot { fill: #C08A3E; }
.sp-label.is-pending { fill: #6E4A17; }
.sp-label.is-pending.is-sel { fill: var(--white); }
.pend-num, .pend-word, .ctx-word { font-family: var(--font); text-anchor: middle; pointer-events: none; }
.pend-num { font-weight: 600; fill: #6E4A17; }
.pend-word { font-weight: 500; fill: #6E4A17; }
.ctx-word { font-weight: 500; fill: #55565C; letter-spacing: .02em; }
.plan-marker { stroke: var(--well); stroke-width: 8; stroke-linejoin: round; }
.badge-pending {
  display: inline-flex; align-items: center; margin-left: 8px; padding: 1px 9px; border-radius: var(--pill);
  background: #F6EEDF; color: #6E4A17; box-shadow: inset 0 0 0 1px rgba(176, 122, 46, .35);
  font: 600 .6875rem/1.5 var(--font); letter-spacing: .02em; vertical-align: 2px; white-space: nowrap;
}
.row-top .badge-pending { margin-left: 0; }

.schedule { margin-top: 18px; }
.schedule-rule { font-size: .8125rem; line-height: 1.45; color: var(--ink-2); margin-bottom: 12px; }
.schedule-empty { display: grid; gap: 10px; justify-items: start; padding: 14px 16px; margin-bottom: 12px; border-radius: var(--r-md); background: var(--white); border: var(--neu-edge); font-size: .9375rem; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.row {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 8px 10px 8px 8px; border: var(--neu-edge); border-radius: var(--r-md); background: var(--gray); box-shadow: var(--neu-out);
  transition: box-shadow .25s var(--ease);
}
.row.is-sel { box-shadow: var(--neu-in); border: 1.5px solid transparent; background: linear-gradient(var(--well), var(--well)) padding-box, var(--steel) border-box; }
.row-pick { display: flex; align-items: center; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; min-height: 58px; }
.row-thumb { width: 58px; height: 58px; overflow: hidden; background: var(--well); border-radius: var(--r-sm); }
.row-photo { position: relative; display: block; width: 58px; height: 58px; padding: 0; border: 0; border-radius: var(--r-sm); background: var(--well); cursor: zoom-in; }
.row-photo .row-thumb { width: 100%; height: 100%; }
.row-photo-badge { position: absolute; right: 3px; bottom: 3px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: var(--white); }
.row-photo-badge svg { width: 12px; height: 12px; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-glyph { background: var(--white); padding: 5px; }
.glyph-shape { stroke: none; }
.row-body { display: grid; gap: 1px; min-width: 0; }
.row-top { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.row-id { font: 600 1rem/1.25 var(--font); letter-spacing: -0.02em; }
.row-sq { font-size: .8125rem; color: var(--ink-2); }
.row-sq .num { font-size: .9375rem; color: var(--ink); }
.row-meta { font-size: .78rem; line-height: 1.4; color: var(--ink-2); }
.row.is-near .row-meta::before { content: "Close match. "; font-weight: 600; color: var(--steel-1); }
.row-note { font: italic 300 .8rem/1.35 var(--font); color: var(--ink); }
.row-price { font: 600 .8125rem var(--font); color: var(--steel-1); }
.row-book { min-height: 40px; padding: 0 13px; font-size: .78rem; white-space: nowrap; background: var(--white); }
.rows-more { width: 100%; margin-top: 14px; }
.rows-planb { margin-top: 14px; font-size: .875rem; color: var(--ink-2); }
.rows-planb a { font-weight: 600; color: var(--steel-1); text-underline-offset: 4px; }

/* ---------- 3. what fits: white, large rounded tiles ---------- */
.fit { background: var(--white); padding: 44px var(--pad) 34px; }
.fit-lead { margin-top: 10px; color: var(--ink-2); font-size: .9375rem; max-width: 54ch; }
.fit-tabs { display: flex; gap: 2px; overflow-x: auto; overscroll-behavior-x: none; margin: 18px calc(var(--pad) * -1) 0; padding: 0 var(--pad); scrollbar-width: none; }
.fit-tabs::-webkit-scrollbar { display: none; }
.fit-tabs [role="tab"] {
  flex: none; min-height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--pill);
  background: var(--gray); font: 500 .8125rem var(--font); color: var(--ink-2); cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.fit-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--white); }
.fit-body { margin-top: 16px; }
.compare { --pos: 50%; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--gray); border-radius: var(--r-lg); isolation: isolate; }
.compare picture, .compare-concept { position: absolute; inset: 0; }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare-concept { clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.compare-handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--white); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.compare-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 12px; margin: -6px 0 0 -11px; background: var(--ink);
  clip-path: polygon(0 50%, 32% 0, 32% 35%, 68% 35%, 68% 0, 100% 50%, 68% 100%, 68% 65%, 32% 65%, 32% 100%);
}
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y; }
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 400px; }
.compare-range::-moz-range-thumb { width: 60px; height: 400px; border: 0; }
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--steel-1); outline-offset: 3px; }
.compare-tag { position: absolute; bottom: 12px; padding: 5px 12px; border-radius: var(--pill); background: rgba(0, 0, 0, .66); color: var(--white); font: 500 .75rem/1.2 var(--font); pointer-events: none; transition: opacity .2s; }
.compare-tag-today { left: 12px; }
.compare-tag-concept { right: 12px; }
.hide-today-tag .compare-tag-today, .hide-concept-tag .compare-tag-concept { opacity: 0; }
/* "Rendering" on the owner's renovation renderings, wherever one shows without the viewer's label. */
.img-tag { position: absolute; left: 8px; bottom: 8px; z-index: 1; padding: 4px 11px; border-radius: var(--pill); background: rgba(0, 0, 0, .66); color: var(--white); font: 500 .75rem/1.25 var(--font); letter-spacing: .01em; pointer-events: none; }
.hero-arch .img-tag { left: 50%; bottom: 12px; transform: translateX(-50%); }
/* 12/11: 11px (was 9px) on a strip across the top of the thumbnail, so it stays readable on a phone. */
.row-photo .img-tag { left: 0; right: 0; top: 0; bottom: auto; padding: 2px 0; border-radius: var(--r-sm) var(--r-sm) 0 0; text-align: center; font-size: .6875rem; line-height: 1.3; letter-spacing: -.02em; background: rgba(0, 0, 0, .7); }
.fit-caption { margin-top: 8px; font: italic 300 .8125rem/1.4 var(--font); color: var(--ink-3); }
.fit-copy { margin-top: 10px; }
.fit-copy > p { max-width: 52ch; font-size: .9375rem; }
.fit-where:empty { display: none; }
.fit-facts { margin: 4px 0 0; display: none; }
.fit-facts div { padding: 8px 0; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.45; }
.fit-facts dt { display: inline; font-weight: 600; }
.fit-facts dt::after { content: "."; }
.fit-facts dd { display: inline; margin: 0 0 0 4px; color: var(--ink-2); }

.also { margin-top: 24px; }
.also-title { font: 600 1.15rem/1.2 var(--font); letter-spacing: -0.02em; }
.also-lead { margin-top: 2px; font-size: .8125rem; color: var(--ink-2); }
.also-list { list-style: none; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: none; margin: 14px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 4px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); }
.also-list::-webkit-scrollbar { display: none; }
.also-list li { position: relative; flex: 0 0 46%; scroll-snap-align: start; }
.also-card .pv-corner { top: 16px; right: 16px; }
.also-list a { display: grid; gap: 2px; text-decoration: none; padding: 8px 8px 12px; border-radius: var(--r-lg); background: var(--gray); }
.also-list picture { aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); border-radius: 20px; }
.also-list img { width: 100%; height: 100%; object-fit: cover; }
.also-name { margin: 10px 4px 0; font-weight: 600; font-size: .875rem; line-height: 1.3; }
.also-tag { margin: 0 4px; font: italic 300 .75rem var(--font); color: var(--ink-3); }

/* ---------- 4. the mill: near-black ---------- */
.mill { background: var(--near); color: var(--d-ink); padding: 44px var(--pad) 30px; }
.mill-text p { margin-top: 12px; color: var(--d-ink-2); font-size: .9375rem; max-width: 48ch; }
.mill-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 22px; }
.mill-stat { display: flex; flex-direction: column; margin-top: 0 !important; }
.mill-stat .num { display: inline-block; font-size: clamp(2rem, 9vw, 3rem); font-weight: 200; line-height: 1; letter-spacing: -0.045em; }
.mill-stat-label { margin-top: 4px; font-size: .8125rem; color: var(--d-ink-3); }
.mill-address { margin-top: 20px; font: 500 .9375rem/1.45 var(--font); font-style: normal; }
.mill-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mill-actions .btn { min-height: 44px; padding: 0 14px; font-size: .8125rem; }
.mill-copied { min-height: 1.2em; margin-top: 6px; font-size: .8125rem; color: var(--pearl-1); }
.mill-band { display: none; }

/* ---------- photo gallery (in the mill section) and the "view larger" controls ---------- */
.gallery { margin-top: 26px; }
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.gallery-title { font: 600 1.15rem/1.2 var(--font); letter-spacing: -0.02em; }
.gallery-count { font-size: .8125rem; color: var(--d-ink-3); }
.gallery-groups { list-style: none; display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: none; margin: 10px calc(var(--pad) * -1) 0; padding: 4px var(--pad) 6px; scrollbar-width: none; }
.gallery-groups::-webkit-scrollbar { display: none; }
.gallery-groups li { flex: none; }
.g-group {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; cursor: pointer; white-space: nowrap;
  border: 1px solid rgba(203, 215, 230, .26); border-radius: var(--pill); background: var(--d-tile); color: var(--d-ink); font: 500 .875rem var(--font);
  transition: border-color .2s, background-color .2s;
}
.g-n { font-weight: 400; color: var(--d-ink-3); }
.gallery-grid { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.gallery-grid li { min-width: 0; aspect-ratio: 1; }
.gallery-grid .g-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-tile { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--d-tile); cursor: zoom-in; }
.g-big .g-tile { border-radius: 22px; }
.g-tile picture, .g-tile img { width: 100%; height: 100%; }
.g-tile img { object-fit: cover; transition: transform .6s var(--ease-out); }
.g-more .g-tile::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .58); }
.g-more-label { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 6px; text-align: center; font: 600 .75rem/1.25 var(--font); color: var(--white); }
.pv-hit { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.pv-hit:focus-visible { outline-offset: -5px; }
.pv-badge, .pv-corner { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.pv-badge { position: absolute; right: 14px; bottom: 14px; }
.pv-badge svg, .pv-corner svg { width: 18px; height: 18px; }
.pv-corner { position: absolute; top: 12px; right: 12px; z-index: 3; padding: 0; border: 0; cursor: zoom-in; }
.pv-corner:focus-visible { outline-color: var(--white); }
[data-pv][aria-busy="true"] { cursor: progress; }
@media (hover: hover) {
  .g-tile:hover img { transform: scale(1.04); }
  .g-group:hover { border-color: rgba(203, 215, 230, .6); }
  .pv-corner:hover, .pv-hit:hover .pv-badge { background: rgba(0, 0, 0, .75); }
}

/* ---------- 5. book a tour + questions: light grey, neumorphic ---------- */
.book { background: var(--gray); padding: 44px var(--pad) 30px; }
.book-lead { margin-top: 10px; color: var(--ink-2); font-size: .9375rem; max-width: 52ch; }
.booking { margin-top: 20px; }
.step-count { font: 600 .75rem var(--font); letter-spacing: .02em; color: var(--ink-3); margin-bottom: 2px; }
.step-title { font: 600 1.3rem/1.2 var(--font); letter-spacing: -0.03em; margin-bottom: 12px; }
.step-title:focus { outline: none; }
.field { margin-bottom: 16px; }
.field-label { display: block; margin-bottom: 8px; font: 600 .8125rem/1.3 var(--font); }
legend.field-label { float: none; }
.field-hint { margin-top: 4px; font-size: .75rem; color: var(--ink-3); }
.field-error { margin-top: 6px; font-size: .8125rem; font-weight: 600; color: #B3261E; }
.input, .select {
  display: block; width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid rgba(29, 29, 31, .14); border-radius: 14px;
  background: var(--well); box-shadow: var(--neu-in); font: 400 1rem/1.3 var(--font); color: var(--ink); transition: border-color .2s;
}
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 24px) 22px, calc(100% - 18px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.select:disabled { opacity: .5; }
textarea.input { min-height: 80px; resize: vertical; }
.input:focus, .select:focus { outline: 2px solid var(--steel-1); outline-offset: 2px; border-color: var(--steel-1); }
.input[aria-invalid="true"] { border-color: #B3261E; }
.booking .chip span { min-height: 40px; padding: 0 14px; font-size: .82rem; }
.booking .chips { gap: 10px; }
.picked { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.picked-chip { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 8px 0 14px; border: 1.5px solid transparent; border-radius: var(--pill); background: linear-gradient(var(--white), var(--white)) padding-box, var(--steel) border-box; font: 600 .8125rem var(--font); cursor: pointer; }
.picked-chip .num { font-weight: 500; font-size: .78rem; }
.picked-x { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 6px; border-radius: 50%; background: var(--gray); font-size: 1rem; line-height: 1; }
.days { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: none; margin: 0 calc(var(--pad) * -1); padding: 6px var(--pad) 10px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { position: relative; flex: none; }
.day-face { display: flex; flex-direction: column; align-items: center; width: 56px; padding: 8px 0 7px; border: var(--neu-edge); border-radius: 16px; background: var(--gray); box-shadow: var(--neu-out); cursor: pointer; transition: box-shadow .25s var(--ease); }
.day-dow { font: 600 .6875rem/1.2 var(--font); color: var(--ink-2); }
.day-num { font: 300 1.4rem/1.15 var(--font); letter-spacing: -0.03em; }
.day-mon { font: 500 .6875rem/1.2 var(--font); color: var(--ink-3); }
.is-sat .day-mon { color: var(--steel-1); font-weight: 600; }
.day input:checked + .day-face { box-shadow: var(--neu-in); border: 1.5px solid transparent; background: linear-gradient(var(--well), var(--well)) padding-box, var(--steel) border-box; }
.day input:checked + .day-face .day-num { font-weight: 600; }
.day input:focus-visible + .day-face { outline: 2px solid var(--steel-1); outline-offset: 3px; }
.field-grid { display: grid; gap: 0 16px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; gap: 10px; margin-top: 4px; }
.submit-row [type="submit"] { flex: 1; }
.form-error { margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: #FCEDEC; color: #8C1D18; font-weight: 600; font-size: .875rem; }
.fineprint { margin-top: 10px; font-size: .75rem; color: var(--ink-3); }
.booking[aria-busy="true"] { cursor: progress; }

.done { margin-top: 18px; padding: 22px 20px; border: var(--neu-edge); border-radius: var(--r-lg); background: var(--white); box-shadow: 0 18px 40px -22px rgba(31, 43, 62, .4); }
.done:focus { outline: none; }
.done h3 { font: 600 1.75rem/1.1 var(--font); letter-spacing: -0.035em; }
.done h4 { margin-top: 18px; font: 600 .9375rem var(--font); }
.done-summary { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 6px 12px; margin: 14px 0; font-size: .875rem; }
.done-summary dt { color: var(--ink-3); }
.done-summary dd { margin: 0; font-weight: 600; }
.done-copy { margin: 0 0 14px; font-size: .875rem; color: var(--ink-3); }
.done-next { margin: 8px 0 0; padding-left: 1.3em; display: grid; gap: 6px; font-size: .875rem; }
.done-change { margin-top: 14px; font-size: .875rem; }

.faq { margin-top: 26px; padding: 18px 18px 6px; border: var(--neu-edge); border-radius: var(--r-lg); background: var(--gray); box-shadow: var(--neu-out); }
.faq h2 { font: 600 1.35rem/1.2 var(--font); letter-spacing: -0.03em; margin-bottom: 6px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; font-weight: 500; font-size: .9375rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: var(--neu-edge); background: var(--gray); box-shadow: var(--neu-out); color: var(--steel-1); font: 400 1.15rem/1 var(--font);
  transition: transform .35s var(--ease-out), box-shadow .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); box-shadow: var(--neu-in); }
.faq details p { padding: 0 0 14px; color: var(--ink-2); font-size: .875rem; max-width: 60ch; }

/* ---------- footer and the phone dock ---------- */
.foot { display: grid; gap: 6px; padding: 26px var(--pad) 28px; background: var(--black); border-top: 1px solid var(--d-line); font-size: .75rem; color: var(--d-ink-3); }
.foot-mark { width: 20px; height: auto; }
.foot-addr, .foot-contact { color: var(--d-ink-2); }
.foot a { color: var(--d-ink); text-underline-offset: 3px; }

.dock {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50;
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; padding: 6px;
  border-radius: var(--pill); background: var(--near); color: var(--d-ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3), 0 0 0 1px rgba(203, 215, 230, .18);
  transition: transform .45s var(--ease-out), opacity .3s;
}
.dock.is-away { transform: translateY(150%); opacity: 0; }
.dock .btn { min-height: 48px; }
.dock-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 64px; padding: 0 16px; border: 1px solid rgba(203, 215, 230, .3); border-radius: var(--pill); font-weight: 500; font-size: .9375rem; text-decoration: none; }

/* ================= motion: transform and opacity only =================
   Hero entrance in CSS; everything else revealed by IntersectionObserver through
   .motion (set by motion.js). Nothing moves with prefers-reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise 1s var(--ease-out) backwards; }
  .hero-text > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3) { animation-delay: .16s; }
  .hero-text > :nth-child(4) { animation-delay: .24s; }
  .hero-media { animation: hero-in 1.4s var(--ease-out) .12s backwards; }
  .hero-facts, .hero-note { animation: rise 1s var(--ease-out) .4s backwards; }

  .motion [data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
  .motion [data-reveal][data-d="1"] { transition-delay: .08s; }
  .motion [data-reveal][data-d="2"] { transition-delay: .16s; }
  .motion [data-reveal].is-in { opacity: 1; transform: none; }
  .motion [data-reveal="frame"] { transform: scale(.96); }
  .motion [data-reveal="tile"] img { transform: scale(1.14); transition: transform 1.6s var(--ease-out); }
  .motion [data-reveal="tile"].is-in img { transform: none; }
  .motion [data-reveal]:not(.is-in) .mark .clock-h { transform: rotate(-90deg); }
  .motion [data-reveal]:not(.is-in) .mark .clock-m { transform: rotate(-360deg); }

  .sp.is-match { animation: lit .65s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 42ms); }
  .motion .plan:not(.is-in) .sp.is-match { animation-play-state: paused; }
  .motion .rows .row { animation: row-in .55s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 40ms); }
  .rows .row.steady, .plan-svg.steady .sp { animation: none; }
}
/* Phones: a short fade with a small lift. Long slides and image zoom-outs read as elastic
   while the finger is still moving the page. */
@media (prefers-reduced-motion: no-preference) and (max-width: 899px) {
  .motion [data-reveal] { transform: translate3d(0, 10px, 0); transition: opacity .45s var(--ease-out), transform .5s var(--ease-out); }
  .motion [data-reveal="frame"] { transform: none; }
  .motion [data-reveal="tile"] img, .motion [data-reveal="tile"].is-in img { transform: none; transition: none; }
  .motion [data-reveal][data-d="1"], .motion [data-reveal][data-d="2"] { transition-delay: 0s; }
}
@keyframes rise { from { opacity: .01; transform: translate3d(0, 22px, 0); } }
@keyframes hero-in { from { opacity: .01; transform: translate3d(0, 40px, 0) scale(.92); } }
@keyframes lit { from { opacity: .25; transform: scale(.9); } }
@keyframes row-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }

/* ---------- phone-only booking steps ---------- */
@media (max-width: 899px) {
  .booking[data-step="1"] .step-2, .booking[data-step="2"] .step-1 { display: none; }
  .sp-label.is-small, .ctx-word.is-small, .pend-word.is-small, .pend-num.is-small { display: none; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .also-list li { flex-basis: 30%; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
}

/* ================= desktop: a second composed layout ================= */
@media (min-width: 900px) {
  :root {
    --pad: 56px; --dock-space: 0px;
    --neu-out: 7px 7px 16px rgba(150, 165, 190, .36), -7px -7px 16px rgba(255, 255, 255, .95);
    --neu-in: inset 4px 4px 9px rgba(150, 165, 190, .45), inset -4px -4px 9px rgba(255, 255, 255, .95);
  }
  body { padding-bottom: 0; }
  .dock { display: none; }
  section { scroll-margin-top: 52px; }

  .topbar { justify-content: flex-start; gap: 22px; height: 52px; padding: 0 max(var(--pad), calc((100vw - 1240px) / 2)); background: rgba(10, 10, 11, .94); }
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .topbar { background: rgba(10, 10, 11, .86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
  }
  .topbar.is-hidden { transform: none; }
  .topbar-logo img { width: 118px; }
  .topbar-clock { display: block; width: 22px; height: 22px; color: var(--pearl-1); }
  .topbar-clock .clock-m { transform: rotate(calc(var(--p, 0) * 1440deg)); }
  .topbar-clock .clock-h { transform: rotate(calc(var(--p, 0) * 120deg)); }
  .topbar-nav { display: flex; gap: 2px; margin-left: auto; }
  .topbar-nav a, .topbar-phone { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; font: 400 .8125rem var(--font); color: #D2D2D7; text-decoration: none; transition: color .2s; }
  .topbar-nav a:hover, .topbar-phone:hover { color: var(--white); }
  .topbar-phone { font-weight: 500; }
  .topbar-cta { display: inline-flex; min-height: 32px; padding: 0 16px; font-size: .8125rem; }

  .hero { padding: 72px var(--pad) 72px; }
  .hero-where { font-size: 1rem; }
  .hero h1 { font-size: clamp(3.4rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.05em; max-width: 13ch; margin: 16px 0 20px; }
  .hero-sub { font-size: 1.25rem; line-height: 1.45; max-width: 40ch; }
  .hero-actions { margin-top: 30px; gap: 14px 30px; }
  .hero-see { font-size: 1.0625rem; }
  .hero-media { width: min(540px, 44vw); height: min(540px, 60vh); margin-top: 48px; } /* 12/11: was 600px / 66vh (shorter page) */
  .hero-frame { inset: -14px; border-radius: calc(50cqw + 14px) calc(50cqw + 14px) calc(var(--r-lg) + 14px) calc(var(--r-lg) + 14px); }
  .hero-facts { max-width: 880px; gap: 24px; margin-top: 48px; }
  .hero-facts dd .num { font-size: 4rem; font-weight: 200; letter-spacing: -0.05em; }
  .hero-facts dt { font-size: .9375rem; }
  .hero-note { margin-top: 24px; font-size: .9375rem; }

  .spaces, .fit, .book { padding: 96px max(var(--pad), calc((100vw - 1240px) / 2)) 88px; }
  .mill { padding: 96px max(var(--pad), calc((100vw - 1240px) / 2)) 72px; }
  .spaces h2, .fit h2, .mill h2, .book h2 { font-size: clamp(3rem, 4.6vw, 4.25rem); letter-spacing: -0.05em; line-height: 1.04; }
  .mark { width: 40px; height: 40px; }
  .spaces-count { font-size: .9375rem; }
  .filters { grid-template-columns: auto auto; justify-content: start; gap: 6px 28px; margin-top: 30px; }
  .chips-row:first-child { grid-column: 1 / -1; }
  .chips-row .chips { overflow: visible; margin: 0; padding: 8px 0; flex-wrap: wrap; gap: 12px; }
  .filters .chip span { min-height: 44px; padding: 0 20px; }
  .desk { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; margin-top: 26px; }
  .plan { position: sticky; top: 72px; }
  .schedule { margin-top: 0; }
  .row { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .row-thumb, .row-photo { width: 64px; height: 64px; }
  .rows-more { width: auto; }

  .fit-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
  .fit-lead { margin-top: 0; font-size: 1.0625rem; }
  .fit-tabs { display: inline-flex; margin: 34px 0 0; padding: 4px; overflow: visible; background: var(--gray); border-radius: var(--pill); }
  .fit-tabs [role="tab"] { min-height: 40px; padding: 0 20px; font-size: .875rem; background: transparent; }
  .fit-tabs [role="tab"][aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 3px 10px rgba(0, 0, 0, .12); }
  .fit-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "cmp copy" "cap copy"; gap: 0 48px; align-items: start; margin-top: 26px; }
  .compare { grid-area: cmp; border-radius: 32px; }
  .fit-caption { grid-area: cap; }
  .fit-copy { grid-area: copy; margin-top: 0; padding-top: 6px; }
  .fit-copy > p { font-size: 1.125rem; line-height: 1.55; }
  .fit-facts { display: block; }
  .fit-facts div { font-size: .9375rem; padding: 12px 0; }
  .also { display: flex; gap: 24px; align-items: flex-end; margin-top: 80px; overflow: hidden; border-radius: var(--r-lg); }
  .also-intro { flex: 0 0 280px; padding-bottom: 64px; position: relative; z-index: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; background: var(--white); box-shadow: 28px 0 28px -6px var(--white); }
  .also-title { font: 600 2.4rem/1.08 var(--font); letter-spacing: -0.045em; }
  .also-lead { margin-top: 12px; font-size: 1rem; }
  .also-list { overflow: visible; margin: 0; padding: 0; gap: 24px; scroll-snap-type: none; }
  .also-list li { flex: 0 0 330px; }
  .also-list a { padding: 10px 10px 16px; }
  .also-card .pv-corner { top: 20px; right: 20px; }
  .also-name { font-size: 1rem; margin-top: 14px; }

  .mill { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "text gallery" "band band"; gap: 48px 56px; align-items: end; }
  .mill-text { grid-area: text; align-self: start; }
  .mill-text p { font-size: 1.0625rem; }
  .mill-stat .num { font-size: 4rem; }
  .gallery { grid-area: gallery; margin-top: 0; }
  .gallery-title { font-size: 1.5rem; letter-spacing: -0.03em; }
  .gallery-count { font-size: .875rem; }
  .gallery-groups { flex-wrap: wrap; overflow: visible; margin: 14px 0 0; padding: 4px 0 6px; }
  .gallery-grid { gap: 10px; margin-top: 12px; }
  .g-tile { border-radius: 18px; }
  .g-big .g-tile { border-radius: 26px; }
  .g-more-label { font-size: .875rem; }
  .mill-band { grid-area: band; display: block; margin: 24px calc(max(var(--pad), (100vw - 1240px) / 2) * -1) 0; }
  .band-frame { position: relative; height: min(60vh, 560px); overflow: hidden; border-radius: var(--r-lg); background: var(--d-tile); }
  .band-frame picture, .band-frame img { width: 100%; height: 100%; }
  .band-frame img { object-fit: cover; }
  .band-frame .pv-badge { right: max(var(--pad), calc((100vw - 1240px) / 2)); bottom: 24px; width: 48px; height: 48px; }
  .mill-band figcaption { margin-top: 8px; padding: 0 max(var(--pad), calc((100vw - 1240px) / 2)); font-size: .75rem; color: var(--d-ink-3); }

  .book { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; }
  .step-count, .step-next, .step-back { display: none; }
  .booking { display: grid; gap: 0 40px; margin-top: 30px; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .days { flex-wrap: wrap; margin: 0; padding: 6px 0 10px; overflow: visible; gap: 12px; }
  .faq { margin-top: 0; position: sticky; top: 76px; padding: 26px 24px 10px; }
  .faq h2 { font-size: 1.6rem; }
  .done { max-width: 640px; padding: 30px; }

  .foot { grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 20px; padding: 30px max(var(--pad), calc((100vw - 1240px) / 2)); }
  .foot-mark { grid-row: 1 / span 2; }
  .foot-legal { grid-column: 2 / -1; }

  @media (prefers-reduced-motion: no-preference) {
    .pearl-text, .steel-text { animation: sheen 9s linear infinite; }
  }
}
@media (min-width: 1180px) {
  .booking { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}

/* ---------- privacy / 404 ---------- */
body.legal { padding-bottom: 0; background: var(--white); }
.legal-main { max-width: 680px; margin: 0 auto; padding: 40px var(--pad) 64px; }
.legal-main h1 { font: 600 2.4rem/1.08 var(--font); letter-spacing: -0.04em; margin: 18px 0 6px; }
.legal-main h2 { font: 600 1.0625rem/1.3 var(--font); margin: 26px 0 6px; }
.legal-main p { color: var(--ink-2); max-width: 64ch; }
.legal-main a { color: var(--steel-1); }
.legal-main .btn-ink { color: var(--white); }
.legal-date { font: 500 .8125rem var(--font); color: var(--ink-3); }
.legal-back { margin-top: 28px; }

/* ---------- 24/11/2026: video tours on the official channel, footer channels ---------- */
.tours { background: var(--white); padding: 44px var(--pad) 34px; }
.tours h2 { font: 600 2rem/1.08 var(--font); letter-spacing: -0.04em; }
.tours-lead { margin-top: 10px; color: var(--ink-2); font-size: .9375rem; max-width: 54ch; }
.tours-list { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; margin: 18px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 6px; scroll-padding: 0 var(--pad); overflow-x: auto; overscroll-behavior-x: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tours-list::-webkit-scrollbar { display: none; }
.tours-list li { scroll-snap-align: start; min-width: 0; }
.tour { display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
.tour picture, .tour img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; object-fit: cover; background: var(--near); }
.tour-kind { margin-top: 6px; font: 600 .8125rem/1.3 var(--font); }
.tour-title { font: 400 .8125rem/1.4 var(--font); color: var(--ink-2); }
.tour:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 14px; }
.tours-more { margin-top: 14px; font: 500 .875rem var(--font); }
.tours-more a { color: var(--ink); text-underline-offset: 3px; }
.foot-social { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 2px; padding: 0; }
.foot-social a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--d-ink); font: 500 .8125rem var(--font); text-decoration: none; }
.foot-social svg { width: 20px; height: 20px; }
.foot-social a:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .tour:hover .tour-kind { text-decoration: underline; text-underline-offset: 3px; } }
@media (min-width: 900px) {
  .tours h2 { font-size: clamp(3rem, 4.6vw, 4.25rem); letter-spacing: -0.05em; line-height: 1.04; }
  .tours-list { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; gap: 22px 18px; margin: 26px 0 0; padding: 0; overflow: visible; }
}
