/* Hallmark · shape: Gallery-led Cover (the apartments and rooms as uniform photograph grids) · genre: editorial · theme: custom Gallery (by request, Kalin 2026-11-20: "still looks ultra amateurish", references nycinteriordesign.com, bmihomestyling.com, iv-ar.com) · job: hire · redesign: full
 * hero: Cover, one photograph across the screen with the headline on it (home, landscape design pages), Split for a portrait lead picture · nav: transparent bar over the cover, a hairline bar elsewhere · footer: night band, the wordmark beside three short link columns · imagery: photographs, the user's own renders and photos, natural · signature: the wipe from the Blender render to the final image, same camera
 * axes: light/geometric-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, the apartments and rooms are concept work, so the page carries no client names, quotes or counts; the photographs and the 3D-to-final wipe carry the proof */
/* Hallmark · waive 83 · photographs over half the page below the cover, every one the studio's own render or final image · a portfolio of the user's own rooms, where the pictures are the work, as on the three reference studios' sites */
/* Hallmark · waive 39b · button.step stands 88px, a whole step row with its number and name · each step is chosen like a tab to change the picture beside it, a click instead of scroll (Kalin 2026-11-20), not a call to action */
/* Hallmark · finish-review: pending, full redesign 2026-11-20 after Kalin's references; the earlier Atelier review (7 findings) no longer applies */
/* Hallmark · brand: Domelo (design_guide/brand/brand_svg.py) · fonts: Jost 300-500, Latin and Cyrillic, self-hosted */

/* ---- fonts.css ---- */
/* Jost (Indestructible Type*, SIL OFL 1.1), variable 300-500: heads at 300, text at 400, Latin and Cyrillic in one
   family, so /bg/ reads in the same face. Self-hosted: no request leaves the site. */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/jost-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---- tokens.css ---- */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1.0625rem; --text-lg: 1.1875rem; --text-xl: 1.5rem; --text-2xl: 1.875rem; --text-3xl: 2.375rem;
  --text-cover: clamp(2.75rem, 3.6vw + 1.2rem, 5rem);
  --text-display-s: clamp(2.25rem, 3vw + 0.75rem, 3.75rem);
  --text-section: clamp(2rem, 1.9vw + 1.1rem, 3.25rem); --text-title: clamp(1.25rem, 0.5vw + 1rem, 1.5rem); --text-lead: clamp(1.0625rem, 0.3vw + 0.95rem, 1.25rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms; --dur-slow: 900ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 56px; --gap-columns: 24px; --section-gap-s: 120px; --section-gap: 136px; --section-gap-l: 168px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;

  /* Gallery: warm white walls, a greige band, one warm charcoal band; the photographs carry the colour */
  --color-paper: oklch(97.8% 0.004 80); --color-paper-2: oklch(93.6% 0.007 76); --color-paper-3: oklch(89.5% 0.009 72);
  --color-ink: oklch(23% 0.006 60); --color-ink-2: oklch(37% 0.006 60); --color-muted: oklch(51% 0.006 62);
  --color-rule: oklch(86.5% 0.006 70); --color-rule-strong: oklch(70% 0.006 66);
  --color-night: oklch(27% 0.007 52); --color-night-2: oklch(33% 0.007 52); --color-night-rule: oklch(42% 0.007 55);
  --color-on-night: oklch(96% 0.005 80); --color-on-night-2: oklch(80% 0.006 72);
  --color-on-photo: oklch(98.5% 0.003 85); --color-on-photo-2: oklch(92% 0.004 80);
  --color-accent: oklch(56.2% 0.13 37); --color-accent-ink: oklch(98.5% 0.003 85); --color-focus: oklch(56.2% 0.13 37);
  --scrim: oklch(23% 0.006 60 / 0.05); --press-shade: oklch(23% 0.006 60 / 0.1);
  --photo-veil: linear-gradient(180deg, oklch(18% 0.008 55 / 0.56) 0%, oklch(18% 0.008 55 / 0.12) 16%, oklch(18% 0.008 55 / 0) 26%, oklch(18% 0.008 55 / 0) 45%, oklch(18% 0.008 55 / 0.62) 100%);
  --photo-veil-side: linear-gradient(90deg, oklch(18% 0.008 55 / 0.38) 0%, oklch(18% 0.008 55 / 0) 62%);
  --photo-dim: oklch(18% 0.008 55 / 0.56);
  --glass: oklch(98.5% 0.003 85 / 0.14); --glass-edge: oklch(98.5% 0.003 85 / 0.55);

  --font-display: "Jost", system-ui, sans-serif; --font-body: "Jost", system-ui, sans-serif;
  --font-outlier: var(--font-body); --font-code: ui-monospace, monospace;
  --radius-card: 0; --radius-pill: 0; --radius-clip: 2px; --rule-hair: 1px; --rule-head: 1px;
  --tracking-display: -0.012em; --tracking-statement: -0.02em; --display-weight: 300; --statement-weight: 300; --serif-small: 400;

  /* Domelo brand masters (design_guide/brand/brand_svg.py:15), for the logo only; a header over a photograph swaps them */
  --brand-ink: oklch(22.7% 0.006 271); --brand-bg: oklch(95.4% 0.012 80); --brand-acc: oklch(56.2% 0.13 37); --brand-glow: oklch(83.8% 0.08 78); --brand-by: oklch(52.8% 0.002 90);
  --nav-height: 88px;
}

/* ---- base.css ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink-2); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.65; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; color: var(--color-ink); font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.1; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-cover); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); font-weight: var(--serif-small); line-height: 1.25; letter-spacing: 0; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: natural, not the theme's warm grade (Domelo: the renders and photos are the work, shown in their true colour) */


html { background-color: var(--color-paper); }
main { position: relative; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- header: a hairline bar; over a cover photograph it turns light and sits on the picture ---------- */
.slab { position: relative; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); }
.slab--over { position: absolute; inset: 0 0 auto; background: transparent; border-bottom-color: transparent; color: var(--color-on-photo); --brand-ink: var(--color-on-photo); --brand-by: var(--color-on-photo-2); }
.slab__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-height); }
.slab__home { display: inline-flex; align-items: center; min-height: 44px; border-radius: var(--radius-clip); }
.slab__home svg { height: 34px; width: auto; }
.slab__links { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.slab__links a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: var(--text-sm); letter-spacing: 0.01em; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.5em; white-space: nowrap; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.slab__links a:hover { text-decoration-color: currentColor; }
.slab__links a:active { opacity: 0.75; }
.slab__links .slab__write { padding: 0 var(--space-lg); border: var(--rule-hair) solid currentColor; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.slab__links .slab__write:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.slab--over .slab__links .slab__write:hover { background: var(--color-on-photo); border-color: var(--color-on-photo); color: var(--color-ink); }

/* ---------- controls: one solid button, one underlined text link ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-xl); border: var(--rule-hair) solid var(--color-ink); background: var(--color-ink); color: var(--color-paper); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.btn:hover { background: transparent; color: var(--color-ink); }
.btn:active { background: var(--press-shade); }
.btn--light { border-color: var(--color-on-photo); background: var(--color-on-photo); color: var(--color-ink); }
.btn--light:hover { background: transparent; color: var(--color-on-photo); }
.btn--light:active { background: var(--glass); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.01em; text-decoration: underline; text-decoration-color: var(--color-rule-strong); text-underline-offset: 0.5em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.text-link:hover { text-decoration-color: currentColor; }
.text-link:active { opacity: 0.75; }
.text-link--light { color: var(--color-on-photo); text-decoration-color: var(--glass-edge); }

/* ---------- cover: one photograph across the screen, the headline on it ---------- */
.cover { position: relative; isolation: isolate; display: grid; min-height: max(640px, 100svh); background: var(--color-night); color: var(--color-on-photo); }
.cover__photo { position: absolute; inset: 0; z-index: -1; margin: 0; }
.cover__photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--photo-veil), var(--photo-veil-side); }
.cover__inner { align-self: end; padding-block: calc(var(--nav-height) + var(--space-2xl)) var(--space-3xl); }
.cover__text { display: grid; gap: var(--space-lg); justify-items: start; max-width: 46rem; }
.cover h1 { max-width: 15ch; color: var(--color-on-photo); font-size: var(--text-cover); font-weight: var(--display-weight); line-height: 1.04; letter-spacing: var(--tracking-statement); }
.cover .lead { max-width: 40ch; color: var(--color-on-photo-2); }
.cover__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); margin-top: var(--space-xs); }

/* the split cover: a portrait lead picture at full height beside the text on the wall */
.cover--split { display: block; min-height: 0; padding-block: var(--space-xl) var(--space-3xl); background: var(--color-paper); color: var(--color-ink-2); }
.cover__split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.cover--split .cover__photo { position: relative; inset: auto; z-index: auto; width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-height) - var(--space-xl) - var(--space-2xl)); }
.cover--split .cover__photo::after { content: none; }
.cover--split h1 { color: var(--color-ink); }
.cover--split .lead { color: var(--color-ink-2); }

/* ---------- bands and section heads ---------- */
.band { padding-block: var(--section-gap-s); background: var(--color-paper); }
.band--greige { background: var(--color-paper-2); }
.split-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-lg) var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.split-head h2 { max-width: 20ch; }
.split-head .lead { max-width: 44ch; color: var(--color-ink-2); }

/* ---------- photograph grids: every frame the same shape, the name and area under a hairline ---------- */
.grid { display: grid; gap: var(--space-2xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--rooms { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.frame { margin: 0; }
.frame > img { transition: transform var(--dur-slow) var(--ease-out); }
.card { display: grid; gap: var(--space-md); color: var(--color-ink); text-decoration: none; }
.card .frame { width: 100%; aspect-ratio: 3 / 2; }
.card--room .frame { aspect-ratio: 3 / 4; }
.card--more .frame { aspect-ratio: 4 / 3; }
.card:hover .frame > img { transform: scale(1.03); }
.card__name { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule-strong); font-size: var(--text-lg); line-height: 1.3; }
.card--flat .card__name { font-size: var(--text-2xl); font-weight: var(--display-weight); }
.card--room .card__name { flex-direction: column; gap: var(--space-3xs); font-size: var(--text-md); }
.card__area { font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card:hover .card__name > span:first-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.card:active .frame > img { transform: scale(1.01); }

/* ---------- the wipe: render on the left of the line, the final image on the right ---------- */
.wipe { --pos: 50%; position: relative; margin: 0; }
.wipe__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-paper-3); }
.wipe__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wipe__frame > .wipe__render { clip-path: inset(0 calc(100% - var(--pos)) 0 0); transition: clip-path var(--dur-long) var(--ease-out); z-index: 2; }
.wipe__frame > .wipe__photo { z-index: 1; }
.wipe__line { position: absolute; inset: 0; z-index: 3; pointer-events: none; transform: translateX(calc(var(--pos) - 100%)); transition: transform var(--dur-long) var(--ease-out); }
.wipe__line::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: var(--color-on-photo); }
.wipe__knob { position: absolute; top: calc(50% - 24px); right: -24px; width: 48px; height: 48px; border-radius: 50%; background: var(--color-on-photo); }
.wipe__knob::before, .wipe__knob::after { content: ""; position: absolute; top: calc(50% - 3px); width: 6px; height: 6px; border-top: 1.5px solid var(--color-ink); border-left: 1.5px solid var(--color-ink); }
.wipe__knob::before { left: 14px; transform: rotate(-45deg); }
.wipe__knob::after { right: 14px; transform: rotate(135deg); }
.wipe.is-dragging .wipe__render, .wipe.is-dragging .wipe__line { transition: none; }
.wipe__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
html:not(.js) .wipe__range, html:not(.js) .wipe__knob { display: none; }
.wipe__range:disabled { opacity: 0; cursor: not-allowed; }
.wipe__range:active ~ .wipe__line .wipe__knob { opacity: 0.85; }
.wipe__frame:has(.wipe__range:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.wipe__tags { position: absolute; inset: var(--space-md) var(--space-md) auto; z-index: 5; display: flex; justify-content: space-between; pointer-events: none; }
.wipe__tags span { padding: var(--space-2xs) var(--space-sm); background: var(--photo-dim); color: var(--color-on-photo); font-size: var(--text-xs); letter-spacing: 0.01em; }
@media (prefers-reduced-motion: reduce) { .wipe__frame > .wipe__render, .wipe__line, .frame > img { transition: none; } }

/* ---------- home: how a room is made, a night band with the steps beside the picture ---------- */
.how { padding-block: var(--section-gap); background: var(--color-night); color: var(--color-on-night-2); }
.how h2 { color: var(--color-on-night); }
.how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.how__visual .wipe__frame { aspect-ratio: 4 / 5; max-height: calc(100svh - 2 * var(--space-2xl)); width: 100%; }
.how__stack { position: relative; }
.plan-layer { position: absolute; inset: 0; z-index: 2; margin: 0; padding: var(--space-xl); opacity: 0; pointer-events: none; background: var(--color-paper-2); transition: opacity var(--dur-long) var(--ease-out); }
.plan-layer > img { width: 100%; height: 100%; object-fit: contain; }
.how__stack > .wipe { transition: opacity var(--dur-long) var(--ease-out); }
.how__stack[data-show="1"] > [data-layer="1"], .how__stack[data-show="2"] > [data-layer="2"] { opacity: 1; }
.js .how__stack:not([data-show="3"]) > .wipe { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); }
html:not(.js) .plan-layer { display: none; }
.steps { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-night-rule); }
.steps li { border-bottom: var(--rule-hair) solid var(--color-night-rule); }
.step { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: var(--space-xs) var(--space-md); width: 100%; margin: 0; padding: var(--space-lg) var(--space-sm) var(--space-lg) 0; border: 0; background: transparent; color: var(--color-on-night-2); font: inherit; text-align: left; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.step__n { grid-row: span 2; padding-top: 0.45em; font-size: var(--text-sm); font-variant-numeric: tabular-nums; color: var(--color-on-night-2); transition: color var(--dur-short) var(--ease-out); }
.step__t { font-size: var(--text-title); font-weight: var(--display-weight); line-height: 1.3; color: var(--color-on-night); }
.step__p { max-width: 44ch; }
.js .step[aria-pressed="false"] .step__p { display: none; }
.step:hover { background: var(--glass); }
.step:active { background: var(--glass); }
.step[aria-pressed="true"] .step__n { color: var(--color-accent); }
.step[aria-pressed="true"] .step__t { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.step:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
html:not(.js) .step { cursor: default; }
html:not(.js) .step:hover { background: transparent; }

/* ---------- home: the same room, two styles ---------- */
.twins__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.twins .wipe__frame { aspect-ratio: 4 / 5; max-height: calc(100svh - 2 * var(--space-2xl)); width: 100%; }
.twins__side { display: grid; gap: var(--space-lg); }
.twins__side .lead { color: var(--color-ink-2); }
.twins__links { margin: var(--space-lg) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule-strong); }
.twins__links li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.twin { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 68px; color: var(--color-ink); font-size: var(--text-xl); font-weight: var(--display-weight); text-decoration: none; }
.twin:hover > span:first-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.twin:active { opacity: 0.75; }

/* ---------- the close: a dimmed photograph band, the question on it ---------- */
.close { position: relative; isolation: isolate; padding-block: var(--section-gap-l); background: var(--color-night); color: var(--color-on-photo); text-align: center; }
.close__photo { position: absolute; inset: 0; z-index: -1; margin: 0; }
.close__photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--photo-dim); }
.close__inner { display: grid; justify-items: center; gap: var(--space-lg); }
.close h2 { max-width: 20ch; color: var(--color-on-photo); font-size: var(--text-display-s); }
.close__line { color: var(--color-on-photo-2); }
.fill { display: inline-flex; align-items: center; min-height: 52px; padding: 0 var(--space-xl); border: 1px dashed var(--glass-edge); color: var(--color-on-photo-2); font-size: var(--text-sm); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-on-photo); font-size: var(--text-sm); text-decoration-color: var(--glass-edge); text-underline-offset: 0.4em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.socials a:hover { text-decoration-color: currentColor; }
.socials a:active { opacity: 0.75; }

/* ---------- footer: the night band ---------- */
.foot { padding-block: var(--section-gap-s) var(--space-xl); background: var(--color-night); color: var(--color-on-night-2); --brand-ink: var(--color-on-night); --brand-by: var(--color-on-night-2); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-2xl) var(--gap-columns); align-items: start; }
.foot__home { display: inline-flex; min-height: 44px; align-items: center; }
.foot__home svg { height: 38px; width: auto; }
.foot__brand p { margin-top: var(--space-sm); font-size: var(--text-sm); }
.foot__h { max-width: none; margin-bottom: var(--space-sm); color: var(--color-on-night); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.foot__col ul { display: grid; margin: 0; padding: 0; list-style: none; }
.foot__col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-on-night-2); font-size: var(--text-sm); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.4em; transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
.foot__col a:hover { color: var(--color-on-night); text-decoration-color: currentColor; }
.foot__col a:active { opacity: 0.75; }
.foot__col a[aria-current] { color: var(--color-on-night); }
.foot__notes { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xl); margin-top: var(--space-3xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-night-rule); font-size: var(--text-xs); }
.foot__notes p { max-width: none; }

/* ---------- design page: three wipes, the facts, the views ---------- */
.wipes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.wipes .wipe__frame { aspect-ratio: 3 / 4; }
.wipes--wide { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
.wipes--wide .wipe__frame { aspect-ratio: 16 / 9; }

.facts__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl) var(--space-3xl); align-items: start; }
.facts__area { font-size: clamp(4rem, 7vw + 1rem, 8.5rem); font-weight: var(--display-weight); line-height: 0.9; letter-spacing: var(--tracking-statement); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--color-ink); }
.facts__intro { margin-top: var(--space-xl); max-width: 46ch; font-size: var(--text-lead); line-height: 1.6; color: var(--color-ink-2); }
.facts__rows { margin: 0; border-top: var(--rule-hair) solid var(--color-rule-strong); }
.facts__rows div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule-strong); }
.facts__rows dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts__rows dd { margin: 0; color: var(--color-ink); }
.facts__rows dd a { color: var(--color-ink); text-decoration-thickness: 1px; text-underline-offset: 0.3em; transition: opacity var(--dur-short) var(--ease-out); }
.facts__rows dd a:hover { opacity: 0.7; }
.facts__lower { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); margin-top: var(--space-3xl); }
.facts__lower--video { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; }
.plan { display: grid; gap: var(--space-sm); margin: 0; padding: var(--space-xl); background: var(--color-paper); }
.plan img { width: 100%; height: auto; max-height: 72svh; object-fit: contain; }
.plan figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.yt { position: relative; display: block; width: 100%; max-width: 22rem; aspect-ratio: 9 / 16; padding: 0; border: 0; overflow: hidden; background: var(--color-night); cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: opacity var(--dur-short) var(--ease-out); }
.yt:hover img { opacity: 1; }
.yt:active img { opacity: 0.8; }
.yt__play { position: absolute; top: 50%; left: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--color-on-photo); }
.yt__play::after { content: ""; position: absolute; top: calc(50% - 9px); left: calc(50% - 5px); border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--color-ink); }
.yt iframe { width: 100%; height: 100%; border: 0; }

.views { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.views > li { grid-column: span 2; }
.views > .views__big { grid-column: span 3; }
.views .frame { aspect-ratio: 3 / 4; }
.views .views__big .frame { aspect-ratio: 1 / 1; }
.views--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.views--wide > li { grid-column: span 1; }
.views--wide > .views__big { grid-column: 1 / -1; }
.views--wide .frame, .views--wide .views__big .frame { aspect-ratio: 16 / 9; }

/* ---------- 404 ---------- */
.lost { padding-block: calc(var(--section-gap) + var(--space-xl)) var(--section-gap); }
.lost .lead { margin-block: var(--space-lg) var(--space-xl); color: var(--color-ink-2); }

/* ---------- focus: instant ---------- */
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

/* ---------- smaller screens ---------- */
@media (max-width: 75rem) {
  .grid--rooms { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--space-lg); scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
  .grid--rooms > li { scroll-snap-align: start; }
  .slab__more { display: none; }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 60rem) {
  .split-head, .grid--2, .grid--3, .how__grid, .twins__grid, .facts__grid, .cover__split, .facts__lower--video { grid-template-columns: minmax(0, 1fr); }
  .split-head { gap: var(--space-md); margin-bottom: var(--space-xl); }
  .grid--rooms { grid-auto-columns: 62%; }
  .how__grid, .twins__grid, .cover__split { gap: var(--space-2xl); }
  .twins__side { order: -1; }
  .cover--split .cover__photo { max-height: none; }
  .wipes:not(.wipes--wide) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--space-lg); scroll-padding-inline: var(--gutter); }
  .wipes > li { scroll-snap-align: start; }
  .views, .views--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .views > li, .views > .views__big { grid-column: span 1; }
  .views .views__big .frame { aspect-ratio: 3 / 4; }
  .views--wide > li, .views--wide > .views__big { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .facts__rows div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}
@media (max-width: 40rem) {
  .slab__home svg { height: 28px; }
  .slab__links { gap: var(--space-md); }
  .slab__links .slab__write { padding: 0 var(--space-md); }
  .cover__inner { padding-bottom: var(--space-2xl); }
  .views { grid-template-columns: minmax(0, 1fr); }
  .views > li, .views > .views__big { grid-column: 1 / -1; }
  .card--flat .card__name, .twin { font-size: var(--text-xl); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
}
