/* Arik Dafan Private Investigations — design tokens v0.1.0 (draft, 2026-11-16)
   Source of truth: tokens.json. Strictly black, white and greys. */
:root {
  --c-black: #000; --c-white: #fff;
  --c-grey-950: #0A0A0A; --c-grey-900: #141414; --c-grey-800: #1F1F1F; --c-grey-700: #2E2E2E; --c-grey-600: #474747;
  --c-grey-500: #6B6B6B; --c-grey-400: #8F8F8F; --c-grey-300: #B5B5B5; --c-grey-200: #D6D6D6; --c-grey-100: #EBEBEB; --c-grey-50: #F5F5F5;

  /* default theme: dark */
  --bg: var(--c-grey-950); --surface: var(--c-grey-900); --surface-raised: var(--c-grey-800);
  --border: var(--c-grey-700); --text: var(--c-grey-50); --text-muted: var(--c-grey-400);
  --accent: var(--c-white); --on-accent: var(--c-black);

  --font-display: 'Frank Ruhl Libre', 'David Libre', serif;
  --font-text: 'IBM Plex Sans Hebrew', 'Arial Hebrew', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --fs-display-xl: clamp(3rem, 1.8rem + 5vw, 6rem);
  --fs-display-l: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --fs-body-l: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);
  --fs-body: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
  --fs-small: 0.875rem; --fs-label: 0.8125rem; --fs-meta: 0.75rem;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
  --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px; --sp-11: 192px;

  --radius: 0; --radius-input: 2px;
  --hairline: 1px; --rule: 1.5px; --frame: 2px;

  --dur-fast: 200ms; --dur-base: 400ms; --dur-slow: 800ms; --dur-reveal: 1400ms;
  --ease: cubic-bezier(0.2, 0, 0, 1); --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);

  --max-w: 1280px; --measure: 62ch;
}
[data-theme="light"] {
  --bg: var(--c-white); --surface: var(--c-grey-50); --surface-raised: var(--c-grey-100);
  --border: var(--c-grey-200); --text: var(--c-grey-950); --text-muted: var(--c-grey-500);
  --accent: var(--c-black); --on-accent: var(--c-white);
}
@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur-base: 0ms; --dur-slow: 0ms; --dur-reveal: 0ms; }
}

/* self-hosted, SIL OFL 1.1 */
@font-face{font-family:'Frank Ruhl Libre';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/frank-ruhl-libre-hebrew-300-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:'Frank Ruhl Libre';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/frank-ruhl-libre-latin-300-normal.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:'Frank Ruhl Libre';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/frank-ruhl-libre-hebrew-400-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:'Frank Ruhl Libre';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/frank-ruhl-libre-latin-400-normal.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:'Frank Ruhl Libre';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/frank-ruhl-libre-hebrew-500-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:'Frank Ruhl Libre';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/frank-ruhl-libre-latin-500-normal.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:'IBM Plex Sans Hebrew';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-hebrew-hebrew-300-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:'IBM Plex Sans Hebrew';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-hebrew-latin-300-normal.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:'IBM Plex Sans Hebrew';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-hebrew-hebrew-400-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:'IBM Plex Sans Hebrew';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-hebrew-latin-400-normal.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:'IBM Plex Sans Hebrew';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-hebrew-hebrew-500-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:'IBM Plex Sans Hebrew';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-hebrew-latin-500-normal.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:'IBM Plex Sans Hebrew';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-hebrew-hebrew-600-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:'IBM Plex Sans Hebrew';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-hebrew-latin-600-normal.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:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-latin-400-normal.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:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-latin-500-normal.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}

/* Arik Dafan Private Investigations — site styles v02 ("the door")
   Uses brand tokens only (tokens.css is prepended by the build). Strictly black, white and greys.
   Concept: a dark room; one line of light under a door opens on scroll. One idea per screen,
   oversized display type, everything else quiet. Logical properties so RTL (he) and LTR (en) share one sheet.
   Decision: docs/decisions/2026-11-16-website-design-v02.md */

/* ---------- v02 scale (extends tokens) ---------- */
:root {
  --bg: var(--c-black); --surface: var(--c-grey-950); --surface-raised: var(--c-grey-900); --border: var(--c-grey-800);
  --gutter: max(20px, 5vw); --header-h: 72px; --max-w: 1320px;
  --fs-hero: clamp(3.25rem, 1.2rem + 9vw, 10rem);
  --fs-xl: clamp(2.5rem, 1.2rem + 5vw, 6.25rem);
  --fs-l: clamp(2rem, 1.2rem + 3.2vw, 4.25rem);
  --fs-m: clamp(1.5rem, 1.15rem + 1.5vw, 2.4rem);
  --fs-body-l: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --space-section: clamp(112px, 18vh, 220px);
}
@media (max-width: 767px) { :root { --header-h: 64px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 300 var(--fs-body)/1.65 var(--font-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 500; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 1.5px solid var(--c-white); outline-offset: 4px; }
[data-theme="light"] :focus-visible { outline-color: var(--c-black); }
::selection { background: var(--c-white); color: var(--c-black); }

.visually-hidden { 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-link { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100; background: var(--c-white); color: var(--c-black); padding: 12px 20px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: calc(16px + env(safe-area-inset-top, 0px)); }

.wrap { width: 100%; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* film grain: subtle, fixed, never blocks input */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) { body::after { animation: grain 1.2s steps(6) infinite; } }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------- type ---------- */
.display, .h1, .h2 { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.015em; }
.display { font-size: var(--fs-xl); line-height: 1.02; }
.h1 { font-size: var(--fs-xl); line-height: 1.04; }
.h2 { font-size: var(--fs-l); line-height: 1.06; }
.h3 { font-family: var(--font-display); font-size: var(--fs-m); line-height: 1.15; font-weight: 300; }
.lead { font-size: var(--fs-body-l); line-height: 1.6; font-weight: 300; color: var(--c-grey-300); max-width: 46ch; }
[data-theme="light"] .lead { color: var(--c-grey-700); }
.muted { color: var(--text-muted); }
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); line-height: 1.2; letter-spacing: 0.14em; color: var(--c-grey-400); text-transform: uppercase; direction: ltr; unicode-bidi: isolate; }
.measure { max-width: var(--measure); }

/* section label: quiet text with a short line of light before it */
.redact { display: inline-flex; align-items: center; gap: 14px; font: 400 0.875rem/1.2 var(--font-text); letter-spacing: 0.06em; color: var(--c-grey-400); margin: 0 0 28px; }
.redact::before { content: ""; width: 28px; height: 1px; background: var(--c-white); box-shadow: 0 0 10px rgba(255,255,255,.5); }
.redact:lang(en) { letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.75rem; }
[data-theme="light"] .redact { color: var(--c-grey-600); }
[data-theme="light"] .redact::before { background: var(--c-black); box-shadow: none; }

/* the slit (brand device 1) */
.slit { display: block; width: 120px; height: 1px; margin-block: 36px; background: linear-gradient(90deg, transparent, var(--c-white) 30%, var(--c-white) 70%, transparent); box-shadow: 0 0 14px 1px rgba(255,255,255,.35); transform-origin: center; }
[data-theme="light"] .slit { background: var(--c-black); box-shadow: none; }

.tbd { font-family: var(--font-text); font-size: 0.92em; font-weight: 500; border: 1px dashed currentColor; padding: 0 0.35em; background: rgba(255,255,255,.06); unicode-bidi: isolate; white-space: normal; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px; border: 1px solid var(--c-white); border-radius: var(--radius);
  font: 400 1rem/1.2 var(--font-text); text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
  background: transparent; color: var(--c-white);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--c-white); color: var(--c-black); }
.btn--primary:hover { background: transparent; color: var(--c-white); }
.btn--secondary { border-color: var(--c-grey-700); }
.btn--secondary:hover { border-color: var(--c-white); }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .6; cursor: progress; }
[data-theme="light"] .btn { color: var(--c-black); border-color: var(--c-black); }
[data-theme="light"] .btn--primary { background: var(--c-black); color: var(--c-white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; text-decoration: none; border-bottom: 1px solid var(--c-grey-700); padding-bottom: 4px; transition: border-color .45s var(--ease); }
.text-link:hover { border-color: var(--c-white); }
.arrow { width: 18px; height: 18px; transition: transform .6s var(--ease-reveal); }
[dir="ltr"] .arrow { transform: scaleX(-1); }
a:hover .arrow { transform: translateX(-6px); }
[dir="ltr"] a:hover .arrow { transform: scaleX(-1) translateX(-6px); }

/* ---------- header: transparent over the hero, glass once scrolled ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header-h);
  background: rgba(0,0,0,.72); border-bottom: 1px solid var(--c-grey-800);
  -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px);
  transition: background-color .6s var(--ease), border-color .6s var(--ease);
}
.has-door .site-header { position: fixed; inset-inline: 0; }
.has-door .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: none; margin-inline-start: -10px; }
.logo img { height: 52px; width: auto; }
@media (max-width: 767px) { .logo img { height: 46px; } }
.nav-main { display: none; }
.nav-main ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav-main a { text-decoration: none; font-size: 0.9375rem; color: var(--c-grey-300); padding-block: 8px; transition: color .3s var(--ease); position: relative; }
.nav-main a::after { content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 1px; background: var(--c-white); transform: scaleX(0); transition: transform .6s var(--ease-reveal); }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--c-white); }
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-link { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-grey-400); text-decoration: none; padding: 8px 4px; }
.lang-link:hover { color: var(--c-white); }
.lang-link:lang(he) { font-family: var(--font-text); font-size: .9375rem; letter-spacing: 0; text-transform: none; }
.header-cta { display: none; }
.header-cta.btn--secondary { background: var(--c-white); color: var(--c-black); border-color: var(--c-white); }
.header-cta.btn--secondary:hover { background: transparent; color: var(--c-white); }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 44px; min-width: 44px; padding: 8px 12px; background: transparent; border: 1px solid var(--c-grey-700); cursor: pointer; font-size: 0.875rem; }
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; inset-inline: 0; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 4px; transform: rotate(-45deg); }
@media (min-width: 1100px) { .nav-main { display: block; } .menu-toggle { display: none; } .header-cta { display: inline-flex; } }
@media (min-width: 768px) and (max-width: 1099px) { .header-cta { display: inline-flex; } }

.mobile-nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 49; background: var(--c-black); padding: 32px var(--gutter) calc(128px + env(safe-area-inset-bottom)); overflow-y: auto; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--c-grey-800); }
.mobile-nav a:not(.btn) { display: block; padding: 18px 0; font-family: var(--font-display); font-weight: 300; font-size: 2rem; line-height: 1.15; text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--c-grey-400); }
.mobile-nav .btn { margin-top: 32px; }
.mobile-nav .meta { margin-top: 32px; }
@media (min-width: 1100px) { .mobile-nav { display: none !important; } }
body.menu-open { overflow: hidden; }
.has-door.menu-open .site-header { background: var(--c-black); }

/* ---------- sections ---------- */
.section { padding-block: var(--space-section); position: relative; }
.section--surface { background: var(--surface); border-block: 1px solid var(--c-grey-800); }
.section__head { margin-bottom: clamp(48px, 8vh, 96px); max-width: 900px; display: grid; }
.section__head .h2 { font-size: var(--fs-xl); line-height: 1.02; }
.section__head .lead { margin-top: 28px; color: var(--c-grey-400); }
.section__foot { margin-top: 56px; }

.breadcrumbs { padding-top: 28px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--c-grey-400); }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--c-grey-700); }
.breadcrumbs a { color: var(--c-grey-400); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-white); }
[data-theme="light"] .breadcrumbs a { color: var(--c-grey-700); }

/* ---------- home: skyline (3D Tel Aviv, turns 360° on scroll; scene in skyline.js) ----------
   Without JS/WebGL: a short static section. With WebGL (.has-3d, set by main.js): a tall track with a sticky stage. */
.skyline { position: relative; background: var(--c-black); }
.skyline__stage { position: relative; display: grid; gap: 48px; padding: var(--space-section) var(--gutter); max-width: calc(var(--max-w) + 2 * var(--gutter)); margin-inline: auto; }
.skyline__canvas, .skyline__deg { display: none; }
.skyline__specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.skyline__specs b { display: block; font: 300 var(--fs-m)/1.25 var(--font-display); color: var(--c-white); }
.skyline__specs span { color: var(--c-grey-400); font-size: 1rem; }
.skyline.has-3d { height: 420vh; height: 420svh; }
.has-3d .skyline__stage { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: none; padding: 0; overflow: hidden; display: block; }
.has-3d .skyline__stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to left, rgba(0,0,0,.85) 0%, transparent 38%, transparent 62%, rgba(0,0,0,.85) 100%); }
.has-3d .skyline__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 55%, transparent 45%, rgba(0,0,0,.75) 100%); }
.has-3d .skyline__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity var(--dur-reveal) var(--ease-reveal); }
.has-3d.is-live .skyline__canvas { opacity: 1; }
.has-3d .skyline__head { position: absolute; z-index: 2; inset-block-start: calc(var(--header-h) + clamp(24px, 6vh, 72px)); inset-inline-start: var(--gutter); max-width: 60vw; }
.has-3d .skyline__head .h2 { font-size: var(--fs-xl); line-height: 1.02; }
.has-3d .skyline__specs { position: absolute; z-index: 2; inset-block-end: clamp(48px, 12vh, 128px); inset-inline-end: var(--gutter); width: min(280px, 40vw); text-shadow: 0 0 18px #000, 0 0 4px #000; }
.has-3d .skyline__specs b { font-size: var(--fs-h3); }
.has-3d .skyline__specs li { opacity: .12; transform: translateY(8px); transition: opacity 900ms var(--ease-reveal), transform 900ms var(--ease-reveal); }
.has-3d .skyline__specs li.on { opacity: 1; transform: none; }
.has-3d .skyline__deg { display: block; position: absolute; z-index: 2; inset-block-end: clamp(48px, 12vh, 128px); inset-inline-start: var(--gutter); font: 400 var(--fs-meta)/1 var(--font-mono); letter-spacing: .2em; color: var(--c-grey-400); direction: ltr; }
.skyline__deg-bar { display: block; width: 120px; height: 1px; background: var(--c-grey-700); margin-top: 12px; }
.skyline__deg-bar i { display: block; height: 100%; background: var(--c-white); transform: scaleX(0); transform-origin: left; }
@media (max-width: 767px) {
  .has-3d .skyline__stage::before { background: linear-gradient(to bottom, rgba(0,0,0,.8) 0%, transparent 30%, transparent 70%, rgba(0,0,0,.9) 100%); }
  .has-3d .skyline__head { inset-inline-end: var(--gutter); max-width: none; }
  .has-3d .skyline__specs { inset-inline: var(--gutter); width: auto; inset-block-end: calc(58px + 40px + env(safe-area-inset-bottom, 0px)); }
  .has-3d .skyline__specs li { position: absolute; inset-block-end: 0; inset-inline: 0; }
  .has-3d .skyline__specs li:not(.current) { opacity: 0; }
  .has-3d .skyline__deg { inset-block-end: auto; inset-block-start: calc(var(--header-h) + 16px); inset-inline-start: auto; inset-inline-end: var(--gutter); }
  .skyline__deg-bar { width: 80px; }
}
@media (prefers-reduced-motion: reduce) { .has-3d .skyline__specs li, .has-3d .skyline__canvas { transition: none; } }

/* ---------- home: the door (scroll scene) ---------- */
.door { position: relative; height: 210vh; height: 210svh; }
.door__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; padding-block: calc(var(--header-h) + 12px) 20px; --p: 0; --intro: 1; background: var(--c-black); }
.door__photo { position: absolute; inset: 0; margin: 0; clip-path: inset(calc(50% - 1px - var(--p) * 50%) 0 calc(50% - 1px - var(--p) * 50%) 0); transform: scale(calc(1.18 - var(--p) * .18)); will-change: clip-path, transform; }
.door__photo picture, .door__photo img { width: 100%; height: 100%; }
.door__photo img { object-fit: cover; object-position: center 40%; filter: grayscale(1) contrast(1.12) brightness(.6); }
.door__shade { position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% 48%, rgba(0,0,0,.62), rgba(0,0,0,.82)); opacity: min(1, calc(var(--p) * 3)); pointer-events: none; }
.door__glow { position: absolute; inset-inline: 0; top: 50%; height: 2px; translate: 0 -50%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95) 18%, #fff 50%, rgba(255,255,255,.95) 82%, transparent);
  box-shadow: 0 0 24px 4px rgba(255,255,255,.35), 0 0 120px 30px rgba(255,255,255,.10);
  opacity: calc(1 - var(--p) * 2.2); transform: scaleX(calc(.06 + var(--intro) * .94)); transition: transform 2.2s var(--ease-reveal); }
.door__copy { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 26px; padding-inline: var(--gutter); max-width: 1200px; translate: 0 calc(var(--p) * -6vh); }
.door__copy .meta { color: var(--c-grey-400); }
.door__title { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.025em; }
.door__lead { max-width: 42ch; font-size: var(--fs-body-l); color: var(--c-grey-300); margin: 0; }
.door__copy .btn-row { justify-content: center; }
.door__number a { font-family: var(--font-mono); font-size: 0.875rem; letter-spacing: .14em; color: var(--c-grey-400); text-decoration: none; border-bottom: 1px solid var(--c-grey-700); padding-bottom: 3px; }
.door__number a:hover { color: var(--c-white); border-color: var(--c-white); }
.door__trust { list-style: none; margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding-inline: var(--gutter); font-size: 0.875rem; color: var(--c-grey-400); opacity: calc(1 - var(--p) * 3); }
.door__trust li { display: flex; align-items: center; gap: 10px; }
.door__trust li::before { content: ""; width: 5px; height: 5px; background: var(--c-grey-500); }
.door__hint { position: absolute; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); inset-inline: 0; display: grid; justify-items: center; opacity: calc(1 - var(--p) * 4); pointer-events: none; }
.door__hint::before { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--c-grey-500), transparent); transform-origin: top; animation: drip 2.6s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 767px) {
  .door { height: 180svh; }
  .door__copy { gap: 18px; }
  .door__title { font-size: clamp(2.75rem, 1rem + 9vw, 4rem); }
  .door__lead { font-size: 1.0625rem; }
  .door__label:lang(en) { font-size: .6875rem; letter-spacing: .16em; }
  .door__trust { opacity: 1; }
  .door__copy .btn-row .btn { flex: 1 1 0; padding-inline: 16px; }
  .door__hint { display: none; }
}

/* ---------- statement: words light up as they are read ---------- */
.statement { padding-block: var(--space-section) calc(var(--space-section) * .6); }
.statement__text { font-family: var(--font-display); font-size: var(--fs-l); line-height: 1.16; font-weight: 300; letter-spacing: -0.01em; max-width: 22ch; margin: 0; }
.statement__text .w { color: var(--c-grey-500); transition: color .5s var(--ease); }
.statement__text .w.on { color: var(--c-white); }

/* ---------- interlude: full-bleed photograph with slow parallax ---------- */
.interlude { position: relative; height: clamp(420px, 88vh, 900px); overflow: hidden; margin: 0; }
.interlude__media { position: absolute; inset: -12% 0; transform: translateY(calc(var(--py, 0) * 1px)) scale(1.04); will-change: transform; }
.interlude__media picture, .interlude__media img { width: 100%; height: 100%; }
.interlude__media img { object-fit: cover; object-position: center 35%; filter: grayscale(1) contrast(1.1) brightness(.55); }
.interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 28%, transparent 52%, var(--bg) 100%); pointer-events: none; }
.interlude__copy { position: absolute; z-index: 2; inset: auto 0 clamp(48px, 10vh, 120px); }
.interlude__copy .h2 { font-size: var(--fs-xl); max-width: 14ch; line-height: 1.02; }
.interlude__copy .meta { display: block; margin-top: 24px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: clamp(24px, 4vw, 48px) clamp(96px, 14vh, 180px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline: 8%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); box-shadow: 0 0 40px 8px rgba(255,255,255,.05); }
.page-hero .wrap { display: grid; gap: clamp(40px, 6vw, 96px); align-items: end; }
.page-hero h1 { max-width: 13ch; font-size: var(--fs-xl); }
.page-hero .slit { margin-inline: 0; }
.page-hero .lead { margin-top: 0; }
.page-hero .meta { margin-bottom: 20px; }
.page-hero__body { margin-top: clamp(48px, 9vh, 120px); }
.page-hero--compact { padding-bottom: clamp(72px, 10vh, 120px); }
@media (min-width: 960px) { .page-hero .wrap.page-hero__body { grid-template-columns: 7fr 5fr; } .page-hero--photo .wrap.page-hero__body { grid-template-columns: 6fr 6fr; } }
.comp { position: relative; aspect-ratio: 4 / 3; background: var(--c-black); overflow: hidden; border: 1px solid var(--c-grey-900); }
.comp__meta { position: absolute; inset-inline-start: 20px; top: 20px; margin: 0; z-index: 2; }
.comp--door::before { content: ""; position: absolute; inset-inline: 16%; top: 12%; bottom: 30%; background: linear-gradient(180deg, var(--c-black), var(--c-grey-950)); border: 1px solid var(--c-grey-900); }
.comp--door::after { content: ""; position: absolute; inset-inline: 16%; bottom: calc(30% - 1px); height: 2px; background: var(--c-white); box-shadow: 0 0 22px 3px rgba(255,255,255,.45), 0 0 80px 18px rgba(255,255,255,.08); }
.comp--door .comp__glow { position: absolute; inset-inline: 0; bottom: 0; height: 30%; background: radial-gradient(55% 100% at 50% 0%, rgba(255,255,255,.18), transparent 70%); }
.comp--window::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(176deg, rgba(255,255,255,.12) 0 9px, transparent 9px 26px); -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 70% at 70% 40%, #000 20%, transparent 75%); }
.comp--window::after { content: ""; position: absolute; inset-inline: 10% 46%; top: 58%; height: 1px; background: var(--c-white); box-shadow: 0 0 12px rgba(255,255,255,.5); }
.comp--window .comp__glow { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .comp--door .comp__glow { animation: breathe 6s var(--ease) infinite alternate; }
  @keyframes breathe { from { opacity: .7; } to { opacity: 1; } }
}
@media (max-width: 959px) { .comp { aspect-ratio: 16 / 8; } .page-hero--compact .comp { display: none; } }
.page-hero__photo { margin: 0; position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--c-black); }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.8); }

/* ---------- cards → large typographic rows ---------- */
.cards { list-style: none; display: grid; border-top: 1px solid var(--c-grey-800); }
.card { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 16px 48px; align-items: baseline; padding-block: clamp(28px, 4.5vh, 52px); border-bottom: 1px solid var(--c-grey-800); }
.card::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background: var(--c-white); transform: scaleX(0); transform-origin: var(--origin, right); transition: transform .9s var(--ease-reveal); }
[dir="ltr"] .card { --origin: left; }
.card:has(a.card__link):hover::after, .card:has(a.card__link:focus-visible)::after { transform: scaleX(1); }
.card__index { display: none; }
.card h3 { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-m); line-height: 1.12; transition: transform .7s var(--ease-reveal); }
.card:has(a.card__link):hover h3 { transform: translateX(-12px); }
[dir="ltr"] .card:has(a.card__link):hover h3 { transform: translateX(12px); }
.card p { color: var(--c-grey-400); margin: 0; max-width: 48ch; }
.card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--c-grey-400); transition: color .4s var(--ease); white-space: nowrap; }
.card:has(a.card__link):hover .card__more { color: var(--c-white); }
.card a.card__link { text-decoration: none; }
.card a.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card a.card__link:focus-visible { outline: none; }
.card:has(a.card__link:focus-visible) { outline: 1.5px solid var(--c-white); outline-offset: 6px; }
.card p a { position: relative; z-index: 2; }
@media (max-width: 860px) { .card { grid-template-columns: minmax(0, 1fr) auto; } .card p { grid-column: 1 / -1; grid-row: 2; } .card__more span:not(.visually-hidden) { display: none; } }
.card:not(:has(.card__more)) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .card:not(:has(.card__more)) { grid-template-columns: minmax(0, 1fr); } }

/* ---------- steps: sticky heading, steps scroll beside it ---------- */
.steps-section .wrap { display: grid; gap: 48px clamp(48px, 8vw, 140px); }
@media (min-width: 960px) {
  .steps-section .wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
  .steps-section .section__head { position: sticky; top: calc(var(--header-h) + 72px); margin-bottom: 0; }
  .steps-section .section__foot { grid-column: 1; grid-row: 2; margin-top: -24px; }
}
.steps { list-style: none; display: grid; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 20px; padding-block: clamp(40px, 7vh, 80px); border-top: 1px solid var(--c-grey-800); }
.step:first-child { border-top: 0; padding-top: 0; }
.step .meta { grid-column: 1; grid-row: 1 / span 2; padding-top: .9em; color: var(--c-grey-400); }
.step h3 { grid-column: 2; font-family: var(--font-display); font-size: var(--fs-m); font-weight: 300; line-height: 1.15; margin-bottom: 8px; }
.step p { grid-column: 2; color: var(--c-grey-400); max-width: 44ch; }

.steps-detailed { list-style: none; display: grid; }
.step-row { display: grid; gap: 20px; padding-block: clamp(48px, 9vh, 104px); border-top: 1px solid var(--c-grey-800); }
.step-row:last-child { border-bottom: 1px solid var(--c-grey-800); }
.step-row__num { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 6rem); line-height: .9; color: var(--c-grey-700); font-weight: 300; direction: ltr; margin: 0; }
.step-row h3 { font-family: var(--font-display); font-size: var(--fs-m); font-weight: 300; line-height: 1.12; margin-bottom: 16px; }
.step-row p { color: var(--c-grey-400); max-width: var(--measure); }
@media (min-width: 960px) { .step-row { grid-template-columns: 2fr 5fr 4fr; gap: 48px; align-items: start; } }

/* ---------- lists ---------- */
.ticks { list-style: none; display: grid; gap: 16px; max-width: 820px; }
.ticks li { position: relative; padding-inline-start: 36px; color: var(--c-grey-200); font-size: var(--fs-body-l); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.85em; width: 18px; height: 1px; background: var(--c-white); }
[data-theme="light"] .ticks li { color: var(--c-grey-950); }
[data-theme="light"] .ticks li::before { background: var(--c-black); }
.ticks--small { gap: 8px; }
.ticks--small li { padding-inline-start: 26px; color: var(--c-grey-400); font-size: 0.875rem; }
.ticks--small li::before { width: 12px; background: var(--c-grey-500); }
@media (min-width: 960px) { .ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; max-width: none; } }
.ticks--cols li { padding-block: 18px; border-top: 1px solid var(--c-grey-800); }
.ticks--cols li::before { top: calc(18px + .85em); }

/* ---------- features → principles grid ---------- */
.features { list-style: none; display: grid; border-top: 1px solid var(--c-grey-800); }
@media (min-width: 768px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { padding-block: clamp(32px, 5vh, 56px); border-bottom: 1px solid var(--c-grey-800); display: grid; gap: 14px; align-content: start; }
@media (min-width: 768px) {
  .feature:nth-child(odd) { padding-inline-end: clamp(24px, 4vw, 64px); }
  .feature:nth-child(even) { padding-inline-start: clamp(24px, 4vw, 64px); border-inline-start: 1px solid var(--c-grey-800); }
}
@media (min-width: 1100px) {
  .features--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features--5 .feature { padding-inline: 0 clamp(24px, 3vw, 48px); border-inline-start: 0; }
  .features--5 .feature + .feature { padding-inline-start: clamp(24px, 3vw, 48px); border-inline-start: 1px solid var(--c-grey-800); }
  .features--5 .feature:nth-child(3n+1) { padding-inline-start: 0; border-inline-start: 0; }
}
.feature h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 300; line-height: 1.15; }
.feature p { color: var(--c-grey-400); max-width: 44ch; }
.feature .meta { margin: 0; }

/* ---------- prose ---------- */
.prose-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .prose-grid { grid-template-columns: 5fr 7fr; gap: 96px; } .prose-grid .section__head { position: sticky; top: calc(var(--header-h) + 72px); align-self: start; } }
.prose { font-size: var(--fs-body-l); font-weight: 300; line-height: 1.75; color: var(--c-grey-300); max-width: var(--measure); }
.prose p + p { margin-top: 24px; }
.photo-prose { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .photo-prose { grid-template-columns: 4fr 7fr; gap: 96px; } }
.photo-prose figure { margin: 0; max-width: 440px; background: var(--c-black); overflow: hidden; }
.photo-prose figure img { filter: grayscale(1) contrast(1.08); transition: transform 1.6s var(--ease-reveal); }
.photo-prose figure:hover img { transform: scale(1.03); }
.photo-prose .prose { margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq { max-width: 1000px; border-top: 1px solid var(--c-grey-800); }
.faq + .section__foot { margin-top: 48px; }
.faq details { border-bottom: 1px solid var(--c-grey-800); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 30px; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.375rem, 1.15rem + .9vw, 2rem); line-height: 1.25; transition: color .3s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--c-white); }
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 16px; height: 1px; background: currentColor; transition: transform .5s var(--ease-reveal); }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding-bottom: 32px; color: var(--c-grey-400); max-width: 62ch; font-size: var(--fs-body-l); }
.faq-group + .faq-group { margin-top: 96px; }
.faq-section + .faq-section { padding-top: 0; }

.receive__note { margin-top: 32px; color: var(--c-grey-400); }

.tbd-block { border: 1px dashed var(--c-grey-500); padding: clamp(24px, 4vw, 48px); max-width: 900px; }
.tbd-block .meta { margin-bottom: 16px; }
.tbd-block h2 { margin-bottom: 20px; }
.tbd-block p { color: var(--c-grey-300); }

/* ---------- CTA: one centred closing statement ---------- */
.cta { background: var(--c-black); overflow: hidden; padding-block: clamp(140px, 24vh, 280px); }
.cta::before { content: ""; position: absolute; inset-inline: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); box-shadow: 0 0 60px 14px rgba(255,255,255,.07); }
.cta__grid { display: grid; gap: 56px; justify-items: center; text-align: center; }
.cta__text { display: grid; justify-items: center; }
.cta__text .h2 { font-size: var(--fs-xl); line-height: 1.02; }
.cta__text .lead { margin-inline: auto; color: var(--c-grey-400); }
.cta__text .slit { margin-inline: auto; }
.cta__text .btn-row { margin-top: 40px; justify-content: center; }
.cta__light { display: none; }
.cta .lead-form { text-align: start; width: 100%; max-width: 760px; }
.cta .contact-panel { text-align: center; background: transparent; border: 0; padding: 0; max-width: 560px; }
.cta .contact-panel .lead-form__title { display: none; }
.cta .contact-panel .lead-form__intro { font-size: var(--fs-body-l); color: var(--c-grey-400); margin-bottom: 8px; }
.cta .contact-panel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta .contact-panel__actions .btn--block { width: auto; flex: 1 1 200px; }
.cta .contact-panel__notes { justify-items: center; text-align: start; border-top: 0; padding-top: 8px; }

.lead-form { background: var(--surface); border: 1px solid var(--c-grey-800); padding: clamp(24px, 4vw, 48px); }
.lead-form__title { font-family: var(--font-display); font-size: var(--fs-m); font-weight: 300; margin-bottom: 8px; }
.lead-form__intro { color: var(--c-grey-400); font-size: 0.9375rem; margin-bottom: 28px; }
.form-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field legend { font-size: 0.875rem; font-weight: 400; color: var(--c-grey-200); padding: 0; }
.req { color: var(--c-grey-400); font-weight: 400; }
.hint { font-size: 0.8125rem; color: var(--c-grey-400); line-height: 1.5; margin: 0; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 12px 0; font: 300 1.0625rem/1.4 var(--font-text); color: var(--c-white); background: transparent; border: 0; border-bottom: 1px solid var(--c-grey-700); border-radius: 0; transition: border-color .3s var(--ease); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-grey-400); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--c-white); box-shadow: 0 1px 0 0 var(--c-white); }
.input[dir="ltr"] { text-align: right; }
[dir="ltr"] .input[dir="ltr"] { text-align: left; }
.textarea { min-height: 112px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F5F5F5' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 4px center; padding-left: 28px; }
[dir="ltr"] .select { background-position: right 4px center; padding-left: 0; padding-right: 28px; }
.select option { background: var(--c-grey-900); color: var(--c-grey-50); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; flex: 1 1 140px; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 14px; border: 1px solid var(--c-grey-700); font-size: 0.9375rem; transition: border-color .3s var(--ease); }
.choice span::before { content: ""; width: 14px; height: 14px; flex: none; border: 1px solid var(--c-grey-400); border-radius: 50%; box-shadow: inset 0 0 0 3px var(--c-black); }
.choice input:checked + span { border-color: var(--c-white); }
.choice input:checked + span::before { background: var(--c-white); border-color: var(--c-white); }
.choice input:focus-visible + span { outline: 1.5px solid var(--c-white); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; line-height: 1.55; color: var(--c-grey-400); }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; flex: none; margin: 1px 0 0; border: 1px solid var(--c-grey-400); border-radius: 0; background: transparent; cursor: pointer; display: grid; place-content: center; }
.check input::after { content: ""; width: 10px; height: 5px; border-inline-start: 1.5px solid var(--c-black); border-bottom: 1.5px solid var(--c-black); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
[dir="rtl"] .check input::after { transform: rotate(45deg) scaleX(-1) translate(1px, -1px); }
.check input:checked { background: var(--c-white); border-color: var(--c-white); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 1.5px solid var(--c-white); outline-offset: 2px; }
.check a { color: var(--c-grey-200); }
.counter { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--c-grey-400); align-self: flex-end; direction: ltr; }
.privacy-note { font-size: 0.8125rem; line-height: 1.6; color: var(--c-grey-400); margin: 0; padding-top: 16px; border-top: 1px solid var(--c-grey-800); }
.privacy-note a { color: var(--c-grey-300); }
.hp-field { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-direction: column; gap: 16px; }
.field-error { display: flex; gap: 8px; align-items: flex-start; font-size: 0.875rem; font-weight: 500; color: var(--c-white); margin: 0; line-height: 1.45; }
.field-error::before { content: "!"; flex: none; display: grid; place-content: center; width: 18px; height: 18px; margin-top: 1px; background: var(--c-white); color: var(--c-black); font: 700 12px/1 var(--font-text); }
.field-error:empty { display: none; }
[aria-invalid="true"].input, [aria-invalid="true"].select, [aria-invalid="true"].textarea { border-bottom: 2px solid var(--c-white); }
.choice-row[data-invalid] .choice span { border-color: var(--c-grey-50); }
.form-summary { border: 1.5px solid var(--c-white); padding: 16px 20px; font-weight: 500; }
.form-summary:empty { display: none; }
.form-summary:not(:empty) { margin-bottom: 20px; }
.form-summary:focus { outline: none; }
.form-fallback { border: 1px solid var(--c-grey-50); padding: 32px; background: var(--c-black); }
.form-fallback h3 { font-family: var(--font-display); font-size: var(--fs-m); font-weight: 300; margin-bottom: 12px; }
.form-fallback p { color: var(--c-grey-300); }
.form-fallback .btn-row { margin-top: 20px; }
.form-fallback:focus { outline: none; }

/* ---------- contact page ---------- */
.contact-panel { max-width: 560px; }
.contact-panel__number { margin: 8px 0 28px; }
.contact-panel__number a { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1.05; letter-spacing: .02em; text-decoration: none; unicode-bidi: isolate; }
.contact-panel__number a:hover { color: var(--c-grey-300); }
.contact-panel__actions { display: grid; gap: 12px; margin-bottom: 28px; }
.contact-panel__notes { padding-top: 20px; border-top: 1px solid var(--c-grey-800); }
.contact-channels { display: grid; list-style: none; border-top: 1px solid var(--c-grey-800); max-width: 1000px; }
.contact-channels .card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; }
.contact-channels .card .btn { position: relative; z-index: 2; }
@media (max-width: 860px) { .contact-channels .card { grid-template-columns: minmax(0, 1fr); } .contact-channels .card p { grid-row: auto; } }
.contact-channels .h3 { font-size: var(--fs-m); }
.contact-num a { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.1; color: var(--c-white); text-decoration: none; unicode-bidi: isolate; }
.contact-num a:hover { color: var(--c-grey-300); }
.contact-details { display: grid; margin: 72px 0 0; max-width: 1000px; }
.contact-details div { display: grid; grid-template-columns: minmax(120px, 1fr) 3fr; gap: 24px; padding-block: 18px; border-top: 1px solid var(--c-grey-800); }
.contact-details dt { color: var(--c-grey-400); font-size: 0.875rem; }
.contact-details dd { margin: 0; color: var(--c-grey-200); }
.safety-note { margin-top: 56px; padding: 24px 28px; border-inline-start: 1px solid var(--c-white); background: var(--surface); max-width: 1000px; color: var(--c-grey-300); }
.form-section .lead-form { max-width: 860px; }

/* ---------- message pages (thank-you / 404) ---------- */
.message { min-height: calc(86svh - var(--header-h)); display: flex; align-items: center; text-align: center; }
.message .wrap { display: grid; justify-items: center; }
.message .display { font-size: var(--fs-hero); line-height: 1; }
.message .slit { width: 180px; margin-inline: auto; }
.message .lead { margin-inline: auto; margin-bottom: 40px; }
.message .btn-row { justify-content: center; }
.message .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 48px; list-style: none; }

/* ---------- legal pages (light theme for long reading) ---------- */
main[data-theme="light"] { background: var(--bg); color: var(--text); }
.legal { background: var(--bg); color: var(--text); }
.legal .wrap { max-width: 900px; }
.legal__body { padding-top: 56px; }
.legal__draft { display: inline-block; background: var(--c-black); color: var(--c-white); padding: 12px 16px; font-weight: 500; font-size: 0.875rem; margin-bottom: 32px; }
.legal h1 { margin-bottom: 12px; font-size: var(--fs-l); }
.legal .updated { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 64px; }
.legal h2 { font-family: var(--font-display); font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); font-weight: 400; margin: 64px 0 16px; padding-top: 24px; border-top: 1px solid var(--c-grey-200); }
.legal p, .legal li { max-width: var(--measure); font-weight: 400; }
.legal ul { list-style: none; display: grid; gap: 12px; margin-bottom: 1em; }
.legal ul li { position: relative; padding-inline-start: 28px; }
.legal ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.85em; width: 14px; height: 1px; background: var(--c-black); }
[data-theme="light"] .breadcrumbs li + li::before, [data-theme="light"] .breadcrumbs ol { color: var(--c-grey-500); }
main[data-theme="light"] .legal .section { border: 0; }
main:focus { outline: none; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--c-black); border-top: 1px solid var(--c-grey-800); padding-block: 96px 48px; font-size: 0.875rem; color: var(--c-grey-400); }
.footer-grid { display: grid; gap: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.footer-brand img { height: 64px; width: auto; margin-inline-start: -12px; margin-bottom: 20px; }
.footer-brand .footer-line { font-family: var(--font-display); font-weight: 300; font-size: 1.75rem; line-height: 1.2; color: var(--c-white); margin-bottom: 20px; }
.site-footer h2 { font: 400 0.75rem/1.2 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-grey-400); margin-bottom: 20px; }
.site-footer ul { list-style: none; display: grid; gap: 12px; }
.site-footer a { text-decoration: none; transition: color .3s var(--ease); }
.site-footer a:hover { color: var(--c-white); }
.footer-bottom { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--c-grey-800); display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; color: var(--c-grey-400); }
.footer-bottom .footer-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.link-button { background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; color: var(--c-grey-400); font-size: 0.875rem; }
.link-button:hover { color: var(--c-white); }

/* ---------- sticky mobile contact bar ---------- */
.sticky-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: rgba(0,0,0,.85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--c-grey-800); padding-bottom: env(safe-area-inset-bottom); transition: transform .6s var(--ease-reveal); }
.sticky-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; font-weight: 400; text-decoration: none; }
.sticky-bar svg { width: 18px; height: 18px; }
.sticky-bar a:first-child { background: var(--c-white); color: var(--c-black); }
.sticky-bar a:focus-visible { outline-offset: -4px; }
.sticky-bar a:first-child:focus-visible { outline-color: var(--c-black); }
.has-door:not(.past-door) .sticky-bar { transform: translateY(110%); }
@media (max-width: 767px) { body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .sticky-bar { display: none; } }

/* ---------- consent banner ---------- */
.consent { position: fixed; z-index: 95; inset-inline: 16px; bottom: calc(58px + 16px + env(safe-area-inset-bottom)); max-width: 440px; background: rgba(20,20,20,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--c-grey-700); padding: 24px; font-size: 0.875rem; line-height: 1.55; color: var(--c-grey-300); }
@media (min-width: 768px) { .consent { bottom: 24px; inset-inline: 24px auto; } }
.consent h2 { font: 500 1rem/1.3 var(--font-text); color: var(--c-grey-50); margin-bottom: 8px; }
.consent a { color: var(--c-grey-50); }
.consent .btn-row { margin-top: 16px; gap: 10px; }
.consent .btn { flex: 1 1 0; min-height: 44px; padding-inline: 12px; font-size: 0.875rem; }

/* ---------- motion ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease-reveal), transform 1.1s var(--ease-reveal); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js .slit[data-reveal] { opacity: 1; transform: scaleX(0); transition: transform 1.6s var(--ease-reveal); }
html.js .slit[data-reveal].is-visible { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal], html.js .slit[data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .door { height: auto; }
  .door__stage { position: relative; --p: .55 !important; }
  .door__glow { opacity: 0; }
  .statement__text .w { color: var(--c-white); }
  .interlude__media { transform: none; }
  .has-door .sticky-bar { transform: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .sticky-bar, .consent, .site-footer, .cta, .mobile-nav, .door__glow { display: none !important; }
  body { background: #fff; color: #000; }
  body::after { display: none; }
}

@media (max-width: 767px) and (max-height: 760px) { .door__trust { display: none; } }

.door__label { margin: 0; justify-content: center; }
.door__label::after { content: ""; width: 28px; height: 1px; background: var(--c-white); box-shadow: 0 0 10px rgba(255,255,255,.5); }

/* ==========================================================================
   v03 layer — patterns studied from a reference intelligence-firm site (2026-11-17)
   Study: docs/research/2026-11-17-blackcube-style-study_he.md · Decision: docs/decisions/2026-11-17-website-v03-architectural-layer.md
   Adapted, not copied: our fonts, our logo, strictly monochrome (no accent colour), WCAG-sized text.
   1 architectural hairline grid · 2 headings flicker on letter by letter · 3 header hides on scroll down
   4 outline CTA in the header · 5 square cursor (desktop) · 6 menu items blur in · 7 framed, staggered principle boxes
   8 staggered reveals · 9 footer flicker · 10 fade-out between pages. All motion off under prefers-reduced-motion.
   ========================================================================== */

/* 1 · architectural hairline grid: three fixed vertical lines (content edges + centre) that run through every section */
.gridlines { position: fixed; z-index: 45; inset-block: 0; inset-inline-start: 50%; translate: -50% 0; width: min(calc(100% - 2 * var(--gutter)), var(--max-w)); pointer-events: none; border-inline: 1px solid rgba(255,255,255,.07); }
[dir="rtl"] .gridlines { translate: 50% 0; }
.gridlines::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 50%; width: 1px; background: rgba(255,255,255,.07); }
html:has(main[data-theme="light"]) .gridlines, html:has(main[data-theme="light"]) .gridlines::before { border-color: rgba(0,0,0,.06); }
@media (max-width: 767px) { .gridlines::before { display: none; } .gridlines { border-color: rgba(255,255,255,.05); } }
@media print { .gridlines, .cursor, .veil { display: none !important; } }

/* 2 · headings flicker on letter by letter (split by main.js; screen readers get the untouched text) */
.split__vis .ch { color: var(--c-grey-800); }
.split.is-lit .split__vis .ch { animation: flick .9s var(--d, 0s) both; }
@keyframes flick { 0% { color: var(--c-grey-800); } 20% { color: var(--c-grey-400); } 32% { color: var(--c-grey-700); } 55% { color: var(--c-grey-200); } 68% { color: var(--c-grey-500); } 100% { color: inherit; } }
.split__vis .cw { white-space: nowrap; }

/* 3 · header slides away while reading down, returns on the way up */
.site-header { transition: background-color .6s var(--ease), border-color .6s var(--ease), translate .5s var(--ease-reveal); }
.site-header.is-hidden { translate: 0 calc(-100% - env(safe-area-inset-top, 0px) - 2px); }
.has-door .site-header.is-scrolled { background: rgba(10,10,10,.6); border-color: rgba(255,255,255,.08); }

/* 4 · header CTA: quiet outline that fills with light on hover */
.header-cta.btn--secondary { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.45); letter-spacing: .04em; }
.header-cta.btn--secondary:hover, .header-cta.btn--secondary:focus-visible { background: var(--c-white); color: var(--c-black); border-color: var(--c-white); }
.header-cta:lang(en) { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; }
.btn { letter-spacing: .02em; }

/* 5 · cursor companion: a small square that trails the pointer and turns into a diamond over links (fine pointers only) */
.cursor { position: fixed; z-index: 120; top: 0; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 1px solid rgba(255,255,255,.7); pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: width .5s var(--ease-reveal), height .5s var(--ease-reveal), margin .5s var(--ease-reveal), rotate .5s var(--ease-reveal), opacity .4s var(--ease), border-color .4s var(--ease); will-change: transform; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; rotate: 45deg; border-color: #fff; }
.cursor.is-down { width: 8px; height: 8px; margin: -4px 0 0 -4px; }

/* 6 · menu: items come in from a blur, one after another */
@media (prefers-reduced-motion: no-preference) {
  .mobile-nav:not([hidden]) li, .mobile-nav:not([hidden]) > .btn, .mobile-nav:not([hidden]) > .meta { animation: blurIn .7s var(--ease-reveal) both; }
  .mobile-nav li:nth-child(2) { animation-delay: .05s; } .mobile-nav li:nth-child(3) { animation-delay: .1s; } .mobile-nav li:nth-child(4) { animation-delay: .15s; }
  .mobile-nav li:nth-child(5) { animation-delay: .2s; } .mobile-nav li:nth-child(6) { animation-delay: .25s; } .mobile-nav li:nth-child(7) { animation-delay: .3s; }
  .mobile-nav li:nth-child(n+8) { animation-delay: .35s; } .mobile-nav > .btn { animation-delay: .35s; } .mobile-nav > .meta { animation-delay: .45s; }
}
@keyframes blurIn { from { opacity: 0; filter: blur(8px); translate: 0 8px; } to { opacity: 1; filter: none; translate: 0 0; } }

/* 7 · principles as framed boxes, staggered down the grid (desktop); a thin frame on mobile */
.feature { position: relative; }
@media (min-width: 960px) {
  .features { border-top: 0; gap: 28px; align-items: start; }
  .features .feature, .features--5 .feature, .features--5 .feature + .feature { border: 1px solid var(--c-grey-800); padding: clamp(32px, 3vw, 48px); background: rgba(10,10,10,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .6s var(--ease); }
  .features .feature:nth-child(n) { padding-inline: clamp(32px, 3vw, 48px); border-inline-start: 1px solid var(--c-grey-800); }
  .features .feature:hover { border-color: var(--c-grey-500); }
  .features:not(.features--5):not(.features--3) .feature:nth-child(even) { margin-top: clamp(64px, 9vh, 120px); }
  .features--3, .features--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features--3 .feature:nth-child(3n+2), .features--5 .feature:nth-child(3n+2) { margin-top: clamp(64px, 9vh, 120px); }
  .features--3 .feature:nth-child(3n+3), .features--5 .feature:nth-child(3n+3) { margin-top: clamp(128px, 18vh, 240px); }
  /* corner ticks: a measured, architectural frame */
  .features .feature::before, .features .feature::after { content: ""; position: absolute; width: 9px; height: 9px; border-color: var(--c-grey-400); border-style: solid; pointer-events: none; }
  .features .feature::before { top: -1px; inset-inline-start: -1px; border-width: 1px 0 0 0; border-inline-start-width: 1px; }
  .features .feature::after { bottom: -1px; inset-inline-end: -1px; border-width: 0 0 1px 0; border-inline-end-width: 1px; }
}
.feature h3 { letter-spacing: -0.01em; }

/* 8 · staggered reveals use transition-delay set by main.js (no extra CSS) */

/* 9 · footer columns flicker on as the footer arrives */
html.js .site-footer [data-flicker] { opacity: 0; }
html.js .site-footer.is-lit [data-flicker] { animation: flickOn 1.4s var(--d, 0s) both; }
@keyframes flickOn { 0% { opacity: 0; } 12% { opacity: .55; } 18% { opacity: .1; } 30% { opacity: .8; } 38% { opacity: .3; } 60% { opacity: 1; } 70% { opacity: .7; } 100% { opacity: 1; } }

/* 10 · a short fade to black between pages */
.veil { position: fixed; inset: 0; z-index: 150; background: var(--c-black); opacity: 0; pointer-events: none; transition: opacity .38s var(--ease); }
.veil.is-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .split__vis .ch { color: inherit; }
  html.js .site-footer [data-flicker] { opacity: 1; }
  .cursor, .veil { display: none; }
  .site-header.is-hidden { translate: none; }
}
