/* confBuild Architektur — landing page stylesheet.
 *
 * Pure white page, black bold neo-grotesk headlines (Inter Tight), IBM Plex Mono
 * for numbers and labels, neutral greys only (no beige, no colour accent), lots
 * of white space. Colour comes only from the project images, shown unfiltered.
 * Both faces are SIL OFL and self-hosted (no third-party requests).
 */

@font-face { font-family: "Inter Tight Local"; src: url('/fonts/inter-tight-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; 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: "Inter Tight Local"; src: url('/fonts/inter-tight-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono Local"; src: url('/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; 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: "Plex Mono Local"; src: url('/fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono Local"; src: url('/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'); font-weight: 500; font-display: swap; 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: "Plex Mono Local"; src: url('/fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #111111;
  --ink-2: #444444;
  --mute: #8a8a8a;
  --mute-2: #b5b5b5;
  --hair: #e6e6e6;
  --hair-2: #d2d2d2;
  --tint: #f4f4f4;
  --accent: #111111;
  --accent-hover: #333333;
  --grey-1: #ededed;
  --grey-2: #e0e0e0;
  --grey-3: #d2d2d2;
  --grey-4: #c4c4c4;
  --sans: "Inter Tight Local", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Plex Mono Local", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 3.6vw, 56px);
  --max: 1520px;
  --header: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
::selection { background: var(--ink); color: #fff; }

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 14px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Header ---------- */
.ah {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.ah.is-scrolled { border-bottom-color: var(--hair); }
.ah-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 16px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.ah-brand img { width: 22px; height: 22px; }
.ah-vertical { font-weight: 500; color: var(--mute); }
.ah-nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.ah-nav a { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.ah-nav a i { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--mute); }
.ah-nav a:hover { color: var(--ink); }
.ah-actions { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.ah-lang { display: flex; gap: 2px; font-family: var(--mono); font-size: 12px; }
.ah-lang a { padding: 4px 6px; text-decoration: none; color: var(--mute); border-radius: 4px; }
.ah-lang a[aria-current="true"] { color: var(--ink); background: var(--tint); }
.ah-cta { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; transition: background .25s; }
.ah-cta:hover { background: var(--accent-hover); }

/* ---------- Shared type ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(120px, 15vw, 240px) var(--gutter) 0; }
.sec-index { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.sec-index span { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; }
.sec-head { margin-bottom: clamp(56px, 7vw, 112px); }
.sec-head .sec-index { margin-bottom: 24px; }
h2 { font-size: clamp(42px, 6.4vw, 104px); line-height: .94; letter-spacing: -.055em; font-weight: 700; }
.h-mute { display: block; color: var(--mute-2); }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; letter-spacing: -.01em; border: 1.5px solid var(--ink); transition: background .25s, color .25s, border-color .25s, gap .3s var(--ease); }
.btn span { font-size: 16px; line-height: 1; }
.btn:hover { gap: 18px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-line:hover { background: var(--ink); color: #fff; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 600; text-decoration: none; padding-bottom: 3px; border-bottom: 1.5px solid var(--ink); transition: gap .3s var(--ease); justify-self: start; }
.link-arrow:hover { gap: 16px; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(32px, 3.4vw, 52px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 24px; align-items: end;
}
.hero .sec-index { grid-column: 1 / -1; }
.hero h1 { grid-column: 1 / span 8; font-size: clamp(56px, 8.4vw, 140px); line-height: .88; letter-spacing: -.062em; font-weight: 750; }
.h-line { display: block; }
.h-accent { color: var(--mute-2); }
.hero-side { grid-column: 9 / span 4; display: grid; gap: 26px; padding-bottom: 8px; }
.hero-lead { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.4; color: var(--ink-2); max-width: 26ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Hero film: canvas stage + animated (not interactive) panel ---------- */
.film-sec { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.film { position: relative; margin: 0; }
.film-stage {
  position: relative; height: clamp(560px, 74vh, 800px); overflow: hidden; border: 1px solid var(--hair);
  background-color: var(--paper);
  background-image: linear-gradient(to right, rgba(17, 17, 17, .035) 1px, transparent 1px), linear-gradient(to bottom, rgba(17, 17, 17, .035) 1px, transparent 1px);
  background-size: 40px 40px; background-position: -1px -1px;
}
.film-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-steps { position: absolute; left: 24px; top: 20px; z-index: 2; margin: 0; padding: 0; list-style: none; display: flex; gap: clamp(16px, 2.4vw, 36px); }
.film-steps li { position: relative; display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; color: var(--mute-2); transition: color .35s; }
.film-steps li b { font: 500 11px var(--mono); }
.film-steps li i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hair); }
.film-steps li i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.film-steps li.is-on { color: var(--ink); }
.film-panel { position: absolute; z-index: 3; right: 24px; top: 64px; width: 292px; height: 372px; background: var(--paper); border: 1px solid var(--ink); opacity: 0; transition: opacity .45s var(--ease); }
.film[data-pane="params"] .film-panel, .film[data-pane="rooms"] .film-panel, .film[data-pane="plans"] .film-panel { opacity: 1; }
.pane { position: absolute; inset: 0; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.film[data-pane="params"] [data-pane-id="params"], .film[data-pane="rooms"] [data-pane-id="rooms"], .film[data-pane="plans"] [data-pane-id="plans"] { opacity: 1; transform: none; }
.pane-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--hair); font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pane-scale { color: var(--mute); }
.prm { display: grid; gap: 9px; }
.prm-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .25s; }
.prm-head output { font: 500 13px var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.prm.is-hot .prm-head { color: var(--ink); font-weight: 650; }
.prm-track { position: relative; height: 14px; }
.prm-track::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--hair-2); }
.prm-track i { position: absolute; left: 0; top: 6px; height: 2px; background: var(--ink); }
.prm-track b { position: absolute; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; }
.pane-metrics { margin: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 12px; border-top: 1px solid var(--hair); }
.pane-metrics dt { font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.pane-metrics dd { margin: 3px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.rooms { list-style: none; margin: 0; padding: 0; display: grid; }
.rooms li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0 4px 10px; font-size: 13.5px; border-left: 2px solid transparent; font-size: 14px; color: var(--ink-2); max-height: 40px; overflow: hidden; transition: border-color .25s, color .25s, max-height .5s var(--ease), padding .5s var(--ease), opacity .4s; }
.rooms li output { font: 500 13px var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.rooms li.is-hot { border-left-color: var(--ink); color: var(--ink); font-weight: 650; }
.rooms li.is-gone { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
.rooms-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--hair); font: 500 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.rooms-total output { font-size: 13px; color: var(--ink); text-transform: none; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .25s; }
.toggle-row.is-hot { color: var(--ink); font-weight: 650; }
[data-pane-id="rooms"] { gap: 12px; }
.switch { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--hair-2); transition: background .25s; }
.switch i { position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"] i { transform: translateX(14px); }
.plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.plans li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--mute); transition: color .3s; }
.plans li i { position: relative; width: 14px; height: 14px; border: 1.5px solid var(--hair-2); transition: border-color .3s, background .3s; }
.plans li.is-done { color: var(--ink); }
.plans li.is-done i { border-color: var(--ink); background: var(--ink); }
.plans li.is-done i::after { content: ""; position: absolute; left: 3.5px; top: .5px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.chips { display: flex; gap: 6px; }
.chips span { padding: 6px 12px; border: 1px solid var(--ink); border-radius: 999px; font: 500 11.5px var(--mono); transition: background .2s, color .2s; }
.chips span.is-on { background: var(--ink); color: #fff; }
.file { display: flex; gap: 12px; align-items: center; margin-top: auto; padding: 10px 12px; border: 1px solid var(--hair); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.file.is-on { opacity: 1; transform: none; }
.file b { display: grid; place-items: center; width: 34px; height: 42px; background: var(--ink); color: #fff; font: 500 10px var(--mono); }
.file span { display: grid; gap: 2px; min-width: 0; }
.file strong { font: 500 12.5px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file small { font-size: 12px; color: var(--mute); }
.film-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; margin: -2px 0 0 -3px; fill: var(--ink); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); pointer-events: none; opacity: 0; transform-origin: 3px 2px; will-change: transform; }

/* ---------- Works: gallery, four across ---------- */
.works .sec-head { margin-bottom: clamp(40px, 4.4vw, 72px); }
.works-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px); }
.work a { display: block; text-decoration: none; transition: opacity .45s var(--ease); }
.works-grid:hover .work a:not(:hover) { opacity: .42; }
.work-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.work-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.work-detail { opacity: 0; transform: scale(1.06); }
.work a:hover .work-img, .work a:focus-visible .work-img { transform: scale(1.04); }
.work a:hover .work-detail, .work a:focus-visible .work-detail { opacity: 1; transform: scale(1); }
.work-open { position: absolute; left: 10px; bottom: 10px; padding: 6px 11px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.work a:hover .work-open, .work a:focus-visible .work-open { opacity: 1; transform: none; }
.work-caption { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; align-items: baseline; padding-top: 12px; }
.work-no { grid-row: span 2; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.work-caption strong { font-size: 15px; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.work-caption small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .01em; color: var(--mute); line-height: 1.45; }

/* ---------- Reference ---------- */
.reference { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: end; }
.ref-pair { grid-column: 1 / span 8; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ref-fig { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); }
.ref-fig img { width: 100%; height: 100%; object-fit: cover; }
/* the reference photo reads as a print, the model keeps its colours */
.ref-fig:not(.ref-model) img { filter: grayscale(1) contrast(1.04); }
.ref-fig figcaption { position: absolute; left: 12px; top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; background: #fff; padding: 5px 9px; border-radius: 999px; }
.ref-model figcaption { background: var(--ink); color: #fff; }
.ref-dims { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ref-dim path { fill: none; stroke: #1b1b1a; stroke-width: 3.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ref-dim .ref-ext { stroke-width: 1.8; opacity: .6; }
.ref-dim text { fill: #1b1b1a; font-family: var(--mono); font-size: 30px; font-weight: 500; opacity: 0; paint-order: stroke; stroke: #fff; stroke-width: 7px; stroke-linejoin: round; }
.is-in .ref-dim path { animation: draw 1.6s var(--ease) forwards; }
.is-in .ref-dim text { animation: fade .6s 1.2s forwards; }
.is-in .ref-dim:nth-child(2) path { animation-delay: .5s; } .is-in .ref-dim:nth-child(2) text { animation-delay: 1.6s; }
.is-in .ref-dim:nth-child(3) path { animation-delay: 1s; } .is-in .ref-dim:nth-child(3) text { animation-delay: 2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.ref-copy { grid-column: 9 / span 4; display: grid; gap: 28px; padding-bottom: 6px; }
.ref-copy h2 { font-size: clamp(32px, 3.6vw, 58px); }

/* ---------- Method ---------- */
.method-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.method-list li { display: grid; align-content: start; gap: 8px; }
.method-icon { width: 120px; height: 90px; margin-bottom: 18px; overflow: visible; }
.method-icon path { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.method-icon .mi-fill { stroke: none; stroke-dasharray: none; opacity: 0; transition: opacity .8s .6s; }
.m-1 .mi-fill { fill: var(--grey-1); } .m-2 .mi-fill { fill: var(--grey-2); } .m-3 .mi-fill { fill: var(--grey-3); } .m-4 .mi-fill { fill: var(--grey-4); }
.method-list li.is-in .mi-fill { opacity: 1; }
.method-list li.is-in .method-icon path:not(.mi-fill) { animation: draw 1.8s var(--ease) forwards; }
.method-list li.is-in .method-icon path:nth-child(3) { animation-delay: .25s; }
.method-list li.is-in .method-icon path:nth-child(4) { animation-delay: .5s; }
.method-list h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; letter-spacing: -.04em; }
.method-list p { color: var(--mute); font-size: 15px; }

/* ---------- More configurators ---------- */
.more { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; align-items: center; padding-top: clamp(96px, 11vw, 170px); }
.more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.more a { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 12px; background: var(--tint); text-decoration: none; transition: background .25s, color .25s; }
.more a:hover { background: var(--ink); color: #fff; }
.more img { width: 72px; height: 48px; object-fit: cover; border-radius: 7px; }
.more span { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.more i { font-style: normal; }

/* ---------- Contact block (generated partial, restyled) ---------- */
.contact { margin-top: clamp(120px, 14vw, 220px); }
.arch .cb-lead { background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 120px) var(--gutter); }
.arch .cb-book { background: var(--paper); color: var(--ink); padding: clamp(64px, 8vw, 120px) var(--gutter); }
.arch .cb-lead-inner, .arch .cb-book-inner { max-width: calc(var(--max) - 2 * var(--gutter)); gap: clamp(32px, 6vw, 96px); }
.arch .cb-lead-eyebrow, .arch .cb-book-eyebrow { opacity: 1; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.arch .cb-lead-eyebrow { color: rgba(255, 255, 255, .55); }
.arch .cb-book-eyebrow { color: var(--mute); }
.arch .cb-lead-copy h2, .arch .cb-book-copy h2 { font-size: clamp(36px, 4.6vw, 72px); font-weight: 700; line-height: .98; letter-spacing: -.05em; margin-bottom: 22px; }
.arch .cb-lead-copy p { color: rgba(255, 255, 255, .72); opacity: 1; }
.arch .cb-lead-copy a { color: #fff; }
.arch .cb-book-copy p { color: var(--ink-2); opacity: 1; }
.arch .cb-lead-home { border-top-color: rgba(255, 255, 255, .16); }
.arch .cb-book-alt { border-top-color: var(--hair); }
.arch .cb-lead-form { border: 0; border-radius: 16px; box-shadow: none; background: #fff; color: var(--ink); }
.arch .cb-book-panel { border: 0; border-radius: 16px; box-shadow: none; background: var(--tint); }
.arch .cb-lead-field label, .arch .cb-book-field label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.arch .cb-lead-field input, .arch .cb-lead-field textarea, .arch .cb-book-field input, .arch .cb-book-field textarea { border-radius: 10px; border-color: var(--hair-2); }
.arch .cb-lead-field input:focus, .arch .cb-lead-field textarea:focus, .arch .cb-book-field input:focus, .arch .cb-book-field textarea:focus { outline: 2px solid var(--ink); border-color: var(--ink); }
.arch .cb-lead-submit, .arch .cb-book-submit { background: var(--ink); font-weight: 600; }
.arch .cb-book-day[aria-pressed="true"] { background: var(--ink); }
.arch .cb-book-day[data-open="1"] { background: #fff; }
.arch .cb-book-slot:hover, .arch .cb-book-day[data-open="1"]:hover { border-color: var(--ink); }
.arch .cb-book-summary { background: #fff; }
.arch .cb-book-facts li::before { border-color: var(--ink); }

/* ---------- Title block footer ---------- */
.titleblock { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) 28px; display: grid; grid-template-columns: 2.4fr repeat(4, 1fr) 1.6fr; }
.tb-cell { display: grid; align-content: start; gap: 6px; padding: 14px 16px 16px; border: 1px solid var(--ink); margin: 0 0 0 -1px; min-height: 92px; }
.tb-cell:first-child { margin-left: 0; }
.tb-cell > span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.tb-cell strong { font-family: var(--mono); font-weight: 400; font-size: 14px; }
.tb-brand a { font-size: 19px; font-weight: 700; text-decoration: none; letter-spacing: -.03em; }
.tb-brand small { font-size: 13px; color: var(--ink-2); }
.tb-links { font-size: 14px; }
.tb-links a { text-decoration: none; } .tb-links a:hover { text-decoration: underline; }
.tb-links span { font-family: var(--mono); font-size: 11px; color: var(--mute); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .work[data-reveal] { transition-delay: calc(var(--i, 0) % 4 * 90ms); }
.js .work[data-reveal] .work-media { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease) calc(var(--i, 0) % 4 * 90ms); }
.js .work[data-reveal].is-in .work-media { clip-path: inset(0 0 0 0); }
.js .hero h1 .h-line { clip-path: inset(0 0 100% 0); transform: translateY(.2em); animation: rise 1.1s var(--ease) forwards; }
.js .hero h1 .h-accent { animation-delay: .14s; }
@keyframes rise { to { clip-path: inset(-.2em -.2em -.25em -.2em); transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ah { grid-template-columns: 1fr auto; }
  .ah-nav { display: none; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1, .hero-side { grid-column: 1 / -1; }
  .hero-side { grid-template-columns: 1fr auto; align-items: end; }
  .reference { grid-template-columns: 1fr; }
  .ref-pair, .ref-copy { grid-column: 1 / -1; }
  .method-list { grid-template-columns: 1fr 1fr; }
  .more { grid-template-columns: 1fr; }
  .titleblock { grid-template-columns: repeat(3, 1fr); }
  .tb-brand { grid-column: 1 / -1; }
  .tb-cell { margin-top: -1px; }
  .tb-cell:nth-child(2), .tb-cell:nth-child(5) { margin-left: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .ah-lang { display: none; }
  .ah-cta { padding: 8px 13px; font-size: 13px; }
  .hero-side { grid-template-columns: 1fr; }
  .film-sec { padding: 0 10px; }
  .film-stage { height: 112vw; max-height: 560px; }
  .film-steps { left: 12px; right: 12px; top: 12px; gap: 14px; }
  .film-steps li { font-size: 12.5px; }
  .film-panel { position: relative; right: auto; top: auto; width: auto; height: 380px; margin-top: 10px; }
  .works-grid { gap: 28px 12px; }
  .work-caption { grid-template-columns: 1fr; }
  .work-no { grid-row: auto; }
  .ref-pair { grid-template-columns: 1fr; }
  .method-list { grid-template-columns: 1fr; }
  .more ul { grid-template-columns: 1fr; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .tb-cell:nth-child(n) { margin-left: 0; }
  .tb-cell:nth-child(odd):not(:first-child) { margin-left: -1px; }
  .tb-links { grid-column: 1 / -1; margin-left: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  .js [data-reveal], .js .work[data-reveal] .work-media { opacity: 1; transform: none; clip-path: none; }
  .film-cursor { display: none; }
}
