/* Fonts: our own copies of the Google Fonts files (OFL, see src/assets/fonts/LICENSES.txt). Same families,
   weights and unicode ranges as the former Google Fonts CSS; font-display swap keeps text visible while they load. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-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: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-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: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-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: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-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: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-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;
}

/* The Protocol — site v1 (concept B). Mobile first. Visual system from R7, structure from CORE. */
:root {
  color-scheme: dark;
  --ink: #101310;
  --ink-2: #151a15;
  --ink-3: #1b221c;
  --paper: #ebe7dc;
  --paper-2: #f5f2ea;
  --text: #f2eee3;
  --text-2: #cdd3c8;
  --muted: #a1ab9e;
  --dark-text: #1c231f;
  --dark-muted: #56615a;
  --gold: #d2ac68;
  --gold-light: #ead4a2;
  --gold-dark: #8a6a37;
  --green: #9dbba0;
  --rose: #d38b6c;
  --line: rgba(214, 201, 168, .18);
  --line-strong: rgba(210, 172, 104, .5);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
  --gutter: 20px;
  --header: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--text); font: 400 16px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-weight: 500; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 300; left: 12px; top: -80px; padding: 12px 16px; background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.no-js .js-only { display: none !important; }

/* Labels: plain mono text, never boxed — so they never look clickable. */
.eyebrow { margin: 0 0 18px; color: var(--gold); font: 500 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow b { margin: 0 10px; color: rgba(242, 238, 227, .35); font-weight: 400; }

/* Buttons: filled or outlined boxes with an arrow — always clearly clickable. */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; padding: 0 20px; border: 1px solid transparent; font: 600 15px/1.2 var(--sans); text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.button span[aria-hidden] { font-size: 18px; font-weight: 400; }
.button-primary { background: var(--gold); border-color: var(--gold); color: #171b14; }
.button-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.button-secondary { background: rgba(16, 19, 16, .35); border-color: rgba(242, 238, 227, .55); color: var(--text); }
.button-secondary:hover { border-color: var(--gold-light); color: var(--gold-light); }
.button[disabled] { opacity: .55; cursor: progress; }
.actions { display: grid; gap: 12px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--gold-light); font: 500 13px/1 var(--mono); text-decoration: underline; text-underline-offset: 5px; text-transform: uppercase; letter-spacing: .06em; }


/* Loader (first visit per session; auto-hides even without JS). */
.loader { position: fixed; z-index: 250; inset: 0; display: none; place-content: center; justify-items: center; gap: 16px; background: var(--ink); }
.is-loading .loader { display: grid; animation: loader-out .5s ease 1.4s forwards; }
.loader img { width: 52px; height: 52px; }
.loader > span { font: 500 38px/1 var(--serif); }
.loader i { display: block; width: 200px; height: 1px; overflow: hidden; background: var(--line); }
.loader i::after { content: ""; display: block; width: 55%; height: 100%; background: var(--gold); animation: load 1.2s ease-in-out infinite; }
.loader small { color: var(--muted); font: 400 12px var(--mono); }
.loader.is-done { animation: loader-out .45s ease forwards; }
@keyframes load { from { transform: translateX(-110%); } to { transform: translateX(210%); } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }

/* Header: compact centered brand on phones, inline navigation on desktop. */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header); display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.site-header.is-solid, .page-check .site-header { background: rgba(16, 19, 16, .92); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 500 24px/1 var(--serif); white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.menu-button { position: absolute; right: var(--gutter); top: 10px; width: 44px; height: 44px; padding: 12px 10px; border: 1px solid var(--line-strong); background: rgba(16, 19, 16, .4); }
.menu-button i { display: block; height: 1px; margin: 5px 0; background: var(--text); transition: transform .25s, opacity .25s; }
.menu-button[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.menu-button[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: none; }
.site-nav a { display: flex; align-items: center; min-height: 48px; color: var(--text); font: 500 14px/1 var(--mono); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.site-nav.is-open { position: absolute; top: var(--header); left: 0; right: 0; display: grid; padding: 8px var(--gutter) 20px; background: rgba(16, 19, 16, .98); border-bottom: 1px solid var(--line); }
.site-nav.is-open a { border-bottom: 1px solid var(--line); }
.site-nav .nav-cta { margin-top: 12px; justify-content: space-between; padding: 0 16px; border: 1px solid var(--gold) !important; background: var(--gold); color: #171b14; }
.site-nav .nav-lang { color: var(--gold-light); border-bottom: 0 !important; }
.no-js .site-header { position: absolute; height: auto; min-height: var(--header); flex-wrap: wrap; padding-top: 12px; padding-bottom: 8px; }
.no-js .menu-button { display: none; }
.no-js .site-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; width: 100%; }

/* Hero: the door. One idea, one action, a cue to step inside. */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header) + 40px) var(--gutter) 112px; overflow: hidden; }
.hero-image, .hero-veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -3; object-fit: cover; object-position: 70% 60%; filter: saturate(.85) contrast(1.05); animation: drift 32s ease-in-out infinite alternate; }
.hero-veil { z-index: -2; background: linear-gradient(180deg, rgba(16, 19, 16, .82) 0%, rgba(16, 19, 16, .4) 38%, rgba(16, 19, 16, .88) 72%, var(--ink) 100%); }
.hero-inner { width: 100%; max-width: 760px; }
.hero-title { margin: 0 0 22px; font: 500 clamp(46px, 12.8vw, 118px)/.92 var(--serif); letter-spacing: -.035em; }
.hero-prefix { display: block; }
.hero-line { display: block; white-space: nowrap; }
/* Rotating verb: the slot animates to each word's width, so "solo." never jumps (ACCEPTED A3).
   Letters flip in like an airport board (requirement 1.3, 18.10). */
.word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; color: var(--gold); perspective: 600px; transition: width .55s cubic-bezier(.2, .7, .2, 1); }
.word-text { display: inline-block; white-space: nowrap; }
.word-text .ch { display: inline-block; transform-origin: 50% 55%; backface-visibility: hidden; transition: transform .42s cubic-bezier(.3, .6, .2, 1), opacity .3s; }
.word-text.is-out .ch { transform: rotateX(88deg); opacity: 0; }
.word-text.is-in .ch { transform: rotateX(-88deg); opacity: 0; transition: none; }
.hero-alone { color: var(--text); }
.hero-lead { max-width: 32ch; margin: 0; color: var(--text-2); font-size: 17px; line-height: 1.55; }
.motion-toggle { position: absolute; right: var(--gutter); bottom: 22px; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--muted); font: 400 11px var(--mono); text-decoration: underline; text-underline-offset: 4px; }

/* One field of fireflies for the whole page; colour follows the tone of the scene under it (ambient.js). */
.ambient { position: fixed; z-index: 60; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Screens: every scene is composed as one screen. Pictures are part of the screen itself — edge to edge,
   dissolving into the page colour, never framed islands (Volo, 18.10). Pictures breathe slowly (requirement 1.4). */
.screen { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.screen-bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 40%; animation: drift 30s ease-in-out infinite alternate; }
.screen-veil { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(16, 19, 16, .55) 30%, rgba(16, 19, 16, .78) 62%, var(--ink) 100%); }
.bleed { position: relative; margin: 0 calc(-1 * var(--gutter)); overflow: hidden; }
.bleed img { width: 100%; height: 100%; object-fit: cover; animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.03) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.6%, -1.2%, 0); } }
.motion-paused .bleed img, .motion-paused .screen-bg, .motion-paused .hero-image { animation-play-state: paused; }

/* Scenes: one idea per screen, big type, one accent. */
section { position: relative; }
.scene { padding: 96px var(--gutter); }
.scene-title { max-width: 18ch; margin: 0 0 18px; font: 500 clamp(38px, 10.4vw, 78px)/.98 var(--serif); letter-spacing: -.028em; }
.scene-lead { max-width: 40ch; margin: 0; color: var(--text-2); font-size: 17px; }
.scene-note { margin: 22px 0 0; color: var(--muted); font: 400 12px/1.6 var(--mono); }
.intent-echo { color: var(--gold); white-space: nowrap; }
.intent-echo.is-new { animation: echo .9s ease-out; }
@keyframes echo { 0% { color: var(--text); text-shadow: 0 0 0 transparent; } 40% { text-shadow: 0 0 24px rgba(210, 172, 104, .55); } 100% { color: var(--gold); } }


.console { max-width: 720px; margin-top: 30px; padding: 22px 18px 18px; border: 1px solid var(--line-strong); border-top: 2px solid var(--gold); border-radius: 0; background: linear-gradient(180deg, rgba(27, 34, 28, .96), rgba(16, 19, 16, .96)); box-shadow: 0 30px 90px rgba(0, 0, 0, .35); }
.console-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.console-mark { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font: 500 11px/1.4 var(--mono); }
.console-mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.proof-label { color: var(--gold-light); font: 500 11px/1.4 var(--mono); letter-spacing: .04em; }
.console-overline { margin: 18px 0 6px; color: var(--gold); font: 500 11px/1.4 var(--mono); letter-spacing: .1em; }
.console-question { margin: 0; font: 500 clamp(25px, 6.6vw, 38px)/1.08 var(--serif); }
.console-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 22px 0 0; padding: 5px; border: 1px solid var(--line); border-radius: 0; background: rgba(16, 19, 16, .8); }
.console-toggle-label { grid-column: 1 / -1; margin: 4px 8px 4px; color: var(--muted); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.console-toggle button { min-height: 48px; padding: 0 12px; border: 0; border-radius: 0; background: transparent; color: var(--text-2); font: 600 14px/1.2 var(--sans); transition: background .25s, color .25s; }
.console-toggle button[aria-checked="true"] { background: var(--paper); color: var(--dark-text); }
.console-source { display: grid; gap: 4px; margin: 14px 0 0; padding: 10px 14px; border-left: 2px solid var(--rose); border-radius: 0; background: rgba(211, 139, 108, .08); }
.console-source-label { color: var(--muted); font: 500 10px/1.4 var(--mono); letter-spacing: .06em; }
.console-source code { color: var(--text); font: 600 14px/1.4 var(--mono); overflow-wrap: anywhere; }
.console-out { margin: 16px 0 0; }
.console-out > div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.console-out dt { color: var(--muted); font: 600 10px/1.4 var(--mono); letter-spacing: .08em; }
.console-out dd { margin: 0; color: var(--text); font-size: 16px; line-height: 1.45; }
.console-verdict dd { font: 600 20px/1.2 var(--mono); letter-spacing: .02em; }
.console[data-state="0"] .console-verdict dd { color: var(--rose); }
.console[data-state="1"] .console-verdict dd { color: var(--green); }
.console.is-updating .console-out dd, .console.is-updating .console-source code { animation: settle .5s ease-out; }
@keyframes settle { from { opacity: .15; transform: translateY(8px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
.console-foot { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

/* Result: the outcome made tangible, on paper. */
.result { display: flex; flex-direction: column; justify-content: flex-end; padding-top: 0; background: var(--paper); color: var(--dark-text); }
.result .eyebrow { color: var(--gold-dark); }
.result .intent-echo { color: #7a5d2e; }
.result-media { height: 48svh; min-height: 300px; margin-bottom: -6svh; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
.result-copy { position: relative; }
.result-list { margin: 26px 0 0; padding: 0; list-style: none; }
.result-list li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid #d6cfbf; font-size: 17px; }
.result-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border-left: 2px solid #7a5d2e; border-bottom: 2px solid #7a5d2e; transform: rotate(-45deg); }
.result-verdicts { margin: 18px 0 0; color: var(--dark-muted); font: 500 13px/1.5 var(--mono); }
.result-price { display: grid; gap: 2px; margin: 30px 0 0; }
.result-price strong { color: #7a5d2e; font: 500 54px/1 var(--serif); letter-spacing: -.02em; }
.result-price span { color: var(--dark-muted); font: 400 12px/1.5 var(--mono); }
.result .actions { margin-top: 22px; }
.result-meta { margin: 12px 0 0; color: var(--dark-muted); font: 400 12px/1.5 var(--mono); }

/* Founder: a person, not a brochure. */
.founder { display: flex; flex-direction: column; justify-content: flex-end; padding-top: 0; }
.founder-media { height: 62svh; min-height: 340px; margin-bottom: -10svh; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.founder-media img { object-position: 50% 28%; }
.founder-copy { position: relative; }
.proof-card { margin-top: 30px; padding: 4px 0 4px 18px; border-left: 2px solid var(--gold); }
.proof-label-founder { margin-bottom: 10px; color: var(--gold); }
.proof-title { margin: 0; color: var(--muted); font: 500 13px var(--mono); }
.proof-insight { margin: 6px 0 10px; font: 500 28px/1.1 var(--serif); }
.proof-card p:not(.proof-label):not(.proof-title):not(.proof-insight) { color: var(--text-2); }
.proof-not { font-size: 14px; }

/* Questions: details on demand. */
.faq { border-top: 1px solid var(--line); background: var(--ink-2); }
.faq-list { max-width: 760px; margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 66px; padding: 14px 44px 14px 0; font: 500 22px/1.2 var(--serif); list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--gold), var(--gold)) center / 14px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1px 14px no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > :not(summary) { margin: 0 0 18px; color: var(--text-2); }
.faq details ul { padding-left: 18px; }
.faq details li { margin: 4px 0; }
.sequence { color: var(--text) !important; font: 500 14px/1.8 var(--mono); }
.muted { color: var(--muted) !important; font-size: 14px; }

/* Closing */
.closing { padding: 96px var(--gutter); text-align: center; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(210, 172, 104, .12), transparent 60%), var(--ink); }
.closing-mark { width: 56px; height: 56px; margin: 0 auto 26px; }
.closing .scene-title { max-width: 16ch; margin: 0 auto 16px; }
.closing-line { max-width: 40ch; margin: 0 auto; color: var(--text-2); }
.actions-center { justify-content: center; }

/* Cursor (desktop only, D-2026-10-18-03): a copper dot and a ring that follows smoothly. */
.cursor-on, .cursor-on a, .cursor-on button, .cursor-on summary { cursor: none; }
.cursor-dot, .cursor-ring { position: fixed; z-index: 400; left: 0; top: 0; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(210, 172, 104, .6); transition: opacity .3s, width .25s, height .25s, margin .25s, border-color .25s; }
.cursor-ring.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--gold-light); }

/* Footer */
.site-footer { display: grid; gap: 14px; padding: 34px var(--gutter) 40px; border-top: 1px solid var(--line); color: var(--text-2); font: 400 13px/1.6 var(--mono); }
.brand-small { font-size: 20px; }
.brand-small img { width: 24px; height: 24px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.footer-contact span { color: var(--muted); }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-light); }
.footer-copy { margin: 0; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-light); }

/* Scroll reveal (only with JS; content is fully visible without it). */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.motion-paused .marquee-track { animation-play-state: paused; }

/* ---------- Fit Check ---------- */
.check { min-height: 100vh; padding: calc(var(--header) + 44px) var(--gutter) 64px; background: radial-gradient(ellipse at 80% 0%, rgba(210, 172, 104, .08), transparent 55%), var(--ink); }
.check-shell { max-width: 680px; margin: 0 auto; }
.check-title { margin: 0 0 16px; font: 500 clamp(38px, 10vw, 64px)/1 var(--serif); letter-spacing: -.02em; }
.check-subhead { color: var(--text-2); font-size: 18px; }
.check-meta { color: var(--gold-light); font: 500 13px var(--mono); }
.check-small-title { margin: 26px 0 8px; color: var(--gold-light); font: 500 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.check-list { margin: 0; padding-left: 20px; color: var(--text-2); }
.check-list li { margin: 4px 0; }
.check-local { margin-top: 22px; padding: 14px 16px; border-left: 2px solid var(--gold); background: rgba(210, 172, 104, .07); }
.check-scope { color: var(--text-2); }
.check-noscript { padding: 14px 16px; border: 1px solid var(--rose); }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.q-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 0; border: 0; background: none; color: var(--gold-light); font: 500 14px var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.q-progress-text { color: var(--muted); font: 500 13px var(--mono); }
.q-progress { width: 100%; height: 2px; margin: 10px 0 26px; appearance: none; border: 0; background: var(--line); }
.q-progress::-webkit-progress-bar { background: var(--line); }
.q-progress::-webkit-progress-value { background: var(--gold); }
.q-progress::-moz-progress-bar { background: var(--gold); }
fieldset.q { margin: 0; padding: 0; border: 0; min-width: 0; }
.q legend { margin: 0 0 20px; padding: 0; font: 500 clamp(27px, 7vw, 38px)/1.12 var(--serif); }
.q-options { display: grid; gap: 10px; }
.q-option { position: relative; display: flex; align-items: flex-start; gap: 14px; min-height: 56px; padding: 15px 16px; border: 1px solid rgba(242, 238, 227, .28); background: rgba(255, 255, 255, .02); line-height: 1.45; cursor: pointer; transition: border-color .2s, background .2s; }
.q-option:hover { border-color: var(--gold-light); }
.q-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-dot { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid rgba(242, 238, 227, .6); border-radius: 50%; }
.q-option.is-checked, .q-option:has(input:checked) { border-color: var(--gold); background: rgba(210, 172, 104, .1); }
.q-option.is-checked .q-dot, .q-option:has(input:checked) .q-dot { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 45%, transparent 50%); }
.q-option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; border-style: double; }
.q-option.is-unknown .q-label::after { content: "?"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 8px; border: 1px dashed var(--muted); border-radius: 50%; color: var(--muted); font: 500 12px var(--mono); vertical-align: 1px; }
.q-error { display: flex; gap: 10px; margin: 14px 0 0; padding: 10px 12px; border-left: 3px solid var(--rose); background: rgba(211, 139, 108, .1); color: var(--text); }
.q-error::before { content: "!"; flex: 0 0 auto; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--rose); border-radius: 50%; color: var(--rose); font-weight: 700; font-size: 13px; }
.result-card { padding: 22px 18px; border: 1px solid var(--line-strong); background: var(--ink-2); }
.result-kicker { margin: 0 0 14px; color: var(--muted); font: 500 12px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.result-state { display: flex; align-items: center; gap: 14px; margin: 0 0 6px; font: 500 clamp(30px, 8vw, 44px)/1.05 var(--serif); }
.result-state:focus { outline: none; }
.result-code { margin: 0 0 18px; color: var(--muted); font: 500 12px var(--mono); }
.state-shape { flex: 0 0 auto; width: 30px; height: 30px; }
.result-block { padding: 16px 0; border-top: 1px solid var(--line); }
.result-block h3 { margin: 0 0 8px; color: var(--gold-light); font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.result-block p, .result-block ul { margin: 0; color: var(--text-2); }
.result-block ul { padding-left: 20px; }
.result-block li { margin: 4px 0; }
.unknown-item { list-style: none; margin-left: -20px !important; display: flex; gap: 10px; align-items: flex-start; }
.unknown-tag { flex: 0 0 auto; margin-top: 2px; padding: 1px 6px; border: 1px dashed var(--rose); color: var(--rose); font: 500 10px/1.5 var(--mono); }
.result-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.result-reasons { margin-top: 12px; }
.result-reasons summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-light); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.form-field { display: grid; gap: 6px; margin-top: 18px; }
.form-field label { font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(242, 238, 227, .4); background: rgba(255, 255, 255, .03); border-radius: 0; font-size: 16px; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus-visible, .form-field textarea:focus-visible { border-color: var(--gold); }
.form-help { color: var(--muted); font-size: 13px; }
.field-error { color: var(--rose); font-size: 14px; }
.preview { margin-top: 26px; padding: 18px 16px; border: 1px solid var(--line-strong); background: rgba(210, 172, 104, .05); }
.preview h3 { margin: 0 0 10px; font: 500 26px/1.1 var(--serif); }
.preview h4 { margin: 16px 0 6px; color: var(--gold-light); font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.preview ul { margin: 0; padding-left: 20px; color: var(--text-2); }
.status-msg { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--rose); background: rgba(211, 139, 108, .1); }
.status-msg:empty { display: none; }

/* ---------- Rooms (D-2026-10-18-07): the entrance, the hall, rooms as pages ---------- */

/* Moving between rooms: the next page opens like a door from the centre (View Transitions, where supported). */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: room-out .5s ease both; }
::view-transition-new(root) { animation: door-open .75s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes door-open { from { clip-path: inset(0 49.6% 0 49.6%); } to { clip-path: inset(0 0 0 0); } }
@keyframes room-out { to { opacity: .35; } }

/* Room hero: a living picture with one sentence. Videos are warmed into graphite and copper. */
.room-hero { display: flex; flex-direction: column; justify-content: flex-end; min-height: 82svh; padding: calc(var(--header) + 40px) var(--gutter) 64px; }
.warm { filter: sepia(.55) saturate(.7) hue-rotate(-14deg) brightness(.62) contrast(1.05); }
video.screen-bg { animation: none; }
.room-head { max-width: 900px; }
.room-head .scene-title { max-width: 16ch; }
.room-hero .screen-veil { background: linear-gradient(180deg, rgba(16, 19, 16, .55) 0%, rgba(16, 19, 16, .25) 40%, rgba(16, 19, 16, .85) 82%, var(--ink) 100%); }

/* Next room: the journey continues instead of ending in a footer. */
.room-next { border-top: 1px solid var(--line); }
.room-next a { position: relative; display: grid; gap: 6px; padding: 56px var(--gutter) 60px; color: var(--text); text-decoration: none; background: radial-gradient(ellipse at 100% 100%, rgba(210, 172, 104, .1), transparent 60%), var(--ink-2); }
.room-next small { color: var(--gold); font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.room-next b { font: 500 clamp(40px, 11vw, 88px)/1 var(--serif); letter-spacing: -.025em; }
.room-next span { max-width: 36ch; color: var(--text-2); }
.room-next i { position: absolute; right: var(--gutter); bottom: 60px; color: var(--gold); font-size: 30px; font-style: normal; transition: transform .4s; }
.room-next a:hover i { transform: translateX(8px); }
.room-back { margin: 26px 0 0; }

/* Result room: paper, the list, the price, the action; the picture dissolves below. */
.page-room .result { position: relative; isolation: isolate; overflow: hidden; padding-top: 64px; justify-content: flex-start; min-height: 0; }
.page-room .result-media { height: 38svh; min-height: 240px; margin-top: 40px; margin-bottom: -96px; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 45%); mask-image: linear-gradient(0deg, transparent 0%, #000 45%); }
.page-room .result-list { margin-top: 0; }

/* Founder room */
.founder-why { max-width: 46ch; margin: 22px 0 0; color: var(--text-2); }
.proof { padding-top: 40px; }
.proof .proof-card { max-width: 760px; margin-top: 0; }

/* Menu: on phones the open menu is a full-screen panel of rooms; on desktop the bar shows names only. */
.nav-room { gap: 14px; }
.nav-room img { display: none; }
.nav-room span { display: grid; gap: 2px; }
.nav-room small { display: none; }
/* The header has a backdrop blur, which makes it the containing block of fixed children; so the open menu
   is placed under the header with an explicit height instead of position: fixed. */
.site-nav.is-open { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header)); height: calc(100svh - var(--header)); align-content: start; overflow-y: auto; padding-top: 18px; background: var(--ink); }
.site-nav.is-open .nav-room { min-height: 96px; padding: 10px 0; text-transform: none; letter-spacing: 0; }
.site-nav.is-open .nav-room img { display: block; width: 84px; height: 84px; object-fit: cover; filter: saturate(.8) brightness(.8); }
.site-nav.is-open .nav-room b { font: 500 28px/1 var(--serif); }
.site-nav.is-open .nav-room small { display: block; color: var(--text-2); font: 400 13px/1.4 var(--sans); }
[data-room="result"] [data-nav="result"] b, [data-room="founder"] [data-nav="founder"] b { color: var(--gold-light); }
.nav-panel { display: none; }

/* ---------- Ecosystem layers: Registro, Biblioteca, Señales (D-2026-10-19-07) ---------- */
.text-head { padding: calc(var(--header) + 64px) var(--gutter) 40px; }
.text-head .scene-title { max-width: 18ch; }
.text-head .proof-label { margin: 26px 0 0; }
.draft-flag { display: inline-block; margin: 0 0 26px; padding: 6px 10px; border: 1px dashed var(--line-strong); color: var(--gold-light); font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; }
.text-note { max-width: 60ch; margin: 34px 0 0; color: var(--muted); font: 400 12px/1.6 var(--mono); }
.page-text [data-tone="light"] { background: var(--paper); color: var(--dark-text); }
.page-text [data-tone="light"] .eyebrow { color: var(--gold-dark); }
.page-text [data-tone="light"] .scene-lead, .page-text [data-tone="light"] .text-note { color: var(--dark-muted); }
.page-text [data-tone="light"] .draft-flag { color: #7a5d2e; border-color: rgba(138, 106, 55, .5); }

/* Registro: each entry is a strict table of steps — the one place where structure should feel strict. */
.log-list { padding: 10px var(--gutter) 90px; }
.log-entry { max-width: 920px; margin: 0 0 22px; border: 1px solid var(--line-strong); border-top: 2px solid var(--gold); background: rgba(21, 26, 21, .92); }
.log-head { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; }
.log-id { color: var(--gold); }
.log-date { color: var(--muted); }
.log-verdict { margin-left: auto; color: var(--text); }
.log-title { margin: 0; padding: 18px 18px 6px; font: 500 clamp(26px, 6.4vw, 38px)/1.08 var(--serif); }
.log-steps { margin: 0; padding: 6px 18px 12px; }
.log-steps > div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.log-steps > div:last-child { border-bottom: 0; }
.log-steps dt { color: var(--muted); font: 600 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.log-steps dd { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.5; }
.log-check dd { color: var(--text); }
.log-status dd { color: var(--gold-light); font: 500 14px/1.4 var(--mono); }

/* Biblioteca: chapters on paper, each ending in one rule. */
.chapters { padding: 10px var(--gutter) 100px; }
.chapter { max-width: 760px; padding: 30px 0; border-top: 1px solid #d6cfbf; }
.chapter-n { margin: 0 0 8px; color: #7a5d2e; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.chapter-title { margin: 0 0 12px; font: 500 clamp(30px, 7.6vw, 46px)/1.04 var(--serif); letter-spacing: -.02em; }
.chapter p { max-width: 62ch; color: #35423a; font-size: 17px; }
.chapter .chapter-rule { margin: 18px 0 0; padding-left: 16px; border-left: 2px solid var(--gold-dark); color: var(--dark-text); font: 500 21px/1.3 var(--serif); }

/* Señales: the sourced fact, then our reading — visibly separate. */
.signal-list { padding: 10px var(--gutter) 90px; }
.signal { max-width: 880px; padding: 30px 0; border-top: 1px solid var(--line); }
.signal-meta { display: flex; gap: 14px; margin: 0 0 10px; color: var(--muted); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; }
.signal-tag { color: var(--gold); }
.signal-title { margin: 0 0 14px; font: 500 clamp(26px, 6.6vw, 40px)/1.08 var(--serif); }
.signal-fact { max-width: 66ch; color: var(--text-2); }
.signal-source { color: var(--gold-light); font: 500 12px/1.4 var(--mono); white-space: nowrap; }
.signal-meaning { max-width: 66ch; margin-top: 16px; padding: 14px 16px; border-left: 2px solid var(--gold); background: rgba(210, 172, 104, .07); }
.signal-meaning-label { margin: 0 0 6px; color: var(--gold); font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.signal-meaning p:last-child { margin: 0; color: var(--text); }

.nav-more { display: contents; }
.site-nav.is-open .nav-more a { min-height: 48px; color: var(--text-2); }
[data-room="log"] [data-nav="log"], [data-room="library"] [data-nav="library"], [data-room="signals"] [data-nav="signals"] { color: var(--gold-light); }
.nav-panel-more { display: none; }
.page-text .site-header { background: rgba(16, 19, 16, .94); border-color: var(--line); backdrop-filter: blur(14px); }

/* Legal pages (N4): plain parts on paper; the storage list is a strict table. UNKNOWN is visible until Volo fills it. */
.legal-updated { margin: 22px 0 0; color: var(--muted); font: 400 12px/1.6 var(--mono); }
.legal { padding: 10px var(--gutter) 100px; }
.legal-part { max-width: 760px; padding: 26px 0; border-top: 1px solid #d6cfbf; }
.legal-part h2 { margin: 0 0 10px; font: 500 clamp(26px, 6.4vw, 36px)/1.08 var(--serif); letter-spacing: -.015em; }
.legal-part p { max-width: 64ch; margin: 0; color: #35423a; font-size: 17px; }
.legal-table-wrap { max-width: 920px; margin: 26px 0 30px; overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal-table caption { padding: 0 0 10px; color: #7a5d2e; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.legal-table th { padding: 10px 12px 10px 0; border-bottom: 2px solid var(--gold-dark); color: var(--dark-muted); font: 600 10.5px/1.4 var(--mono); letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.legal-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid #d6cfbf; color: #35423a; vertical-align: top; }
.legal-table code { color: var(--dark-text); font: 500 13px/1.4 var(--mono); white-space: nowrap; }
mark.unknown { padding: 1px 6px; border: 1px dashed #b4532a; background: rgba(211, 139, 108, .16); color: #8a3a1a; font: 500 .82em/1.4 var(--mono); }

/* ---------- Home as the system (D-2026-10-19-12) ---------- */
.hero .actions { justify-items: start; align-items: center; }

/* The scene: scattered pieces of a workflow become one Protocol Map. It holds still while you scroll (is-live);
   without JS or with reduced motion it is a plain figure in its final state with the five captions as a list.
   Every change is transform or opacity only. */
.flow { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 85% 15%, rgba(210, 172, 104, .07), transparent 55%), var(--ink); }
.flow-stage { display: flex; flex-direction: column; gap: 30px; padding: 88px var(--gutter) 72px; }
.flow-text { min-width: 0; }
.flow-caps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; margin: 0; padding: 0; list-style: none; }
.flow-cap { min-width: 0; }
.flow-k { margin: 0 0 10px; color: var(--gold); font: 500 11px/1.4 var(--mono); letter-spacing: .1em; }
.flow-k span { margin-right: 6px; color: var(--muted); }
.flow-t { max-width: 20ch; margin: 0 0 8px; font: 500 clamp(24px, 6.6vw, 54px)/1.04 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.flow-x { max-width: 42ch; margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }
.lens { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; }
.lens-label { width: 100%; margin: 0 0 2px; color: var(--muted); font: 500 10px/1.4 var(--mono); letter-spacing: .1em; }
.lens-chip { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); background: transparent; color: var(--text-2); font: 500 13px/1 var(--sans); white-space: nowrap; transition: border-color .25s, color .25s, background .25s; }
.lens-chip:hover { border-color: var(--line-strong); color: var(--text); }
.lens-chip[aria-checked="true"] { border-color: var(--gold); background: rgba(210, 172, 104, .1); color: var(--gold-light); }
.lens-note { width: 100%; margin: 4px 0 0; color: var(--muted); font: 400 11px/1.5 var(--mono); }

.flow-object { width: 100%; max-width: 540px; margin: 0; }
.flow-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.flow-map { display: grid; gap: 5px; }
.node { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; gap: 0 10px; padding: 6px 10px; border: 1px solid var(--line); background: var(--ink-2); transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .5s; }
.node::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--rose); opacity: 0; pointer-events: none; transition: opacity .5s; }
.node-unknown::after { border: 1px dashed var(--text-2); }
.node-tag { grid-row: 1 / span 2; align-self: center; color: var(--gold); font: 500 10px/1 var(--mono); letter-spacing: .08em; }
.node-step { font: 500 16.5px/1.15 var(--serif); transition: opacity .5s; }
.node-raw { color: var(--muted); font: 400 11px/1.35 var(--mono); overflow-wrap: anywhere; }
.node-flag { position: absolute; top: 7px; right: 10px; color: var(--rose); font: 500 10px/1 var(--mono); font-style: normal; opacity: 0; transform: translateX(6px); transition: opacity .5s, transform .5s; }
.node-unknown .node-flag { color: var(--text-2); }
.flow-line { display: grid; grid-template-columns: auto minmax(16px, 1fr) auto; align-items: center; gap: 10px; padding: 3px 2px; color: var(--gold); font: 500 10px/1.3 var(--mono); letter-spacing: .03em; }
.flow-line i { height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 10px); transform-origin: left; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.flow-line span { transition: opacity .5s .2s; }
.flow-accept { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 10px 0 0; padding: 8px 12px; border-left: 2px solid var(--green); background: rgba(157, 187, 160, .07); font-size: 13px; line-height: 1.4; transition: opacity .6s, transform .6s; }
.flow-accept-k { color: var(--green); font: 600 10px/1.4 var(--mono); letter-spacing: .08em; }
.flow-verdict { margin-left: auto; color: var(--green); font: 600 12px/1.4 var(--mono); letter-spacing: .04em; }

/* Stages. The page ships in the final state (data-stage="4"); the live scene starts at 0. */
.flow[data-stage="0"] .node { transform: translate(var(--sx), var(--sy)) rotate(var(--sr)) scale(.94); }
.flow[data-stage="0"] .node-step { opacity: 0; }
.flow:is([data-stage="2"], [data-stage="3"], [data-stage="4"]) .node-flag { opacity: 1; transform: none; }
.flow:is([data-stage="2"], [data-stage="3"], [data-stage="4"]) :is(.node-conflict, .node-unknown)::after { opacity: 1; }
.flow:is([data-stage="2"], [data-stage="3"], [data-stage="4"]) .node-conflict .node-raw { color: var(--rose); }
.flow[data-stage="2"] .node:not(.node-conflict):not(.node-unknown) { opacity: .5; }
.flow:is([data-stage="0"], [data-stage="1"], [data-stage="2"]) .flow-line i { transform: scaleX(0); }
.flow:is([data-stage="0"], [data-stage="1"], [data-stage="2"]) .flow-line span { opacity: 0; transition-delay: 0s; }
.flow:not([data-stage="4"]) .flow-accept { opacity: 0; transform: translateY(10px); }

.flow-track { display: none; }
.flow.is-live { display: grid; }
.flow.is-live > .flow-stage, .flow.is-live > .flow-track { grid-area: 1 / 1; }
.flow.is-live .flow-stage { position: sticky; top: 0; height: 100vh; height: 100svh; gap: 16px; padding: calc(var(--header) + 12px) var(--gutter) 20px; overflow: hidden; }
.flow.is-live .flow-object { order: -1; }
.flow.is-live .flow-cap { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s, transform .5s cubic-bezier(.2, .7, .2, 1), visibility 0s .5s; }
.flow.is-live .flow-cap.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s .12s, transform .6s .12s cubic-bezier(.2, .7, .2, 1); }
.flow.is-live .flow-track { display: block; }
.flow-track i { display: block; height: 80vh; height: 80svh; }
/* Phones: the lens becomes one row that scrolls sideways, so the whole scene fits one screen. */
@media (max-width: 979px) {
  .flow.is-live .lens { flex-wrap: nowrap; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
  .flow.is-live .lens::-webkit-scrollbar { display: none; }
  .flow.is-live .lens-label { width: auto; flex: 0 0 auto; margin: 0 4px 0 0; }
  .flow.is-live .lens-note { display: none; }
}

/* Your hand on the evidence: the console from the former System room. */
.try { border-top: 1px solid var(--line); }
.try .console { margin-top: 34px; }

/* What is already known: sourced facts and our own log, a strict grid. */
.known { border-top: 1px solid var(--line); background: var(--ink-2); }
.known-grid { display: grid; gap: 1px; margin: 40px calc(-1 * var(--gutter)) 0; border-block: 1px solid var(--line); background: var(--line); }
.known-item { display: grid; align-content: start; gap: 10px; padding: 22px var(--gutter); background: var(--ink-2); color: var(--text); text-decoration: none; transition: background .3s; }
.known-item:hover { background: var(--ink-3); }
.known-meta { color: var(--muted); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; }
.known-meta b { margin-right: 8px; color: var(--gold); font-weight: 500; }
.known-title { font: 500 clamp(22px, 5.6vw, 30px)/1.12 var(--serif); }
.known-src { color: var(--gold-light); font: 500 11px/1.4 var(--mono); }
.known-log .known-src { color: var(--text-2); }
.known-more { display: flex; flex-wrap: wrap; gap: 0 26px; margin: 22px 0 0; }
.known-more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-light); font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.known-more a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Where you are: the four honest answers. */
.where { border-top: 1px solid var(--line); }
.states { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; margin: 36px 0 0; padding: 0; border: 1px solid var(--line); background: var(--line); list-style: none; }
.state { display: grid; grid-template-columns: 10px minmax(0, 1fr); align-items: center; gap: 8px 14px; padding: 16px; background: var(--ink); }
.state b { font: 500 21px/1.12 var(--serif); }
.state small { grid-column: 2; color: var(--text-2); font-size: 14px; line-height: 1.45; }
.state-mark { width: 10px; height: 10px; border: 1px solid var(--muted); border-radius: 50%; }
.state-unsure { background: #1a1e17; }
.state-unsure .state-mark { border-color: var(--gold); background: var(--gold); }
.state-unsure b { color: var(--gold-light); }
.where-act { display: grid; justify-items: start; gap: 10px; margin-top: 30px; }
.where-meta { margin: 0; color: var(--muted); font: 400 12px/1.5 var(--mono); }

/* Who reviews: the photo is the screen. */
.who { display: flex; align-items: flex-end; padding: 0 var(--gutter) 72px; }
.who-img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.who-veil { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(16, 19, 16, 0) 20%, rgba(16, 19, 16, .1) 48%, rgba(16, 19, 16, .9) 78%, var(--ink) 100%); }
.who-copy { max-width: 560px; }
.who .scene-lead { margin-bottom: 14px; }

/* The one way in: the only price on the page. */
.entry { display: grid; justify-items: center; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(210, 172, 104, .12), transparent 60%), var(--ink); }
.entry-mark { width: 56px; height: 56px; margin-bottom: 26px; }
.entry .scene-title { max-width: 16ch; margin-inline: auto; }
.entry-price { margin: 8px 0 6px; color: var(--gold); font: 500 clamp(46px, 12vw, 86px)/1 var(--serif); letter-spacing: -.02em; }
.entry-terms { margin: 0; color: var(--text-2); font: 400 13px/1.6 var(--mono); }
.entry .actions { justify-items: center; }

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .actions { display: flex; flex-wrap: wrap; }
  .console { padding: 28px 30px 24px; }
  .console-toggle { grid-template-columns: auto 1fr 1fr; align-items: center; }
  .console-toggle-label { grid-column: auto; margin: 0 10px; }
  .console-out > div { grid-template-columns: 170px 1fr; gap: 18px; }
  .result-card { padding: 30px 28px; }
}

@media (min-width: 980px) {
  :root { --gutter: 5.2vw; --header: 76px; }
  .site-header { justify-content: flex-start; }
  .menu-button { display: none; }
  .site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
  .site-nav a { min-height: 44px; font-size: 12px; }
  .site-nav .nav-cta { margin: 0; padding: 0 16px; min-height: 42px; }
  .site-nav .nav-lang { padding-left: 18px; border-left: 1px solid var(--line) !important; }
  .brand { font-size: 27px; }
  .brand img { width: 32px; height: 32px; }
  .hero { align-items: center; padding-bottom: 120px; }
  .hero-image { object-position: center 55%; }
  .hero-veil { background: linear-gradient(90deg, rgba(16, 19, 16, .95) 0%, rgba(16, 19, 16, .78) 34%, rgba(16, 19, 16, .2) 68%, rgba(16, 19, 16, .05) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(16, 19, 16, 0) 30%); }
  .hero-lead { font-size: 19px; max-width: 38ch; }
  .scene { padding-block: 140px; }
  .result, .founder { justify-content: center; padding-top: 140px; padding-left: calc(50% + 4vw); }
  .result-media, .founder-media { position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 50%; height: auto; margin: 0; -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%); mask-image: linear-gradient(90deg, #000 62%, transparent 100%); }
  .founder-media img { object-position: 50% 30%; }
  .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 0 6vw; align-items: start; }
  .faq > .eyebrow, .faq > .scene-title { grid-column: 1; }
  .faq .faq-list { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .closing { padding-block: 150px; }
  /* Rooms on desktop */
  .room-hero { min-height: 88vh; padding-bottom: 90px; }
  .page-room .result { padding: 120px calc(50% + 4vw) 120px var(--gutter); min-height: 0; }
  .page-room .result-media { position: absolute; z-index: -1; right: 0; left: auto; top: 0; bottom: 0; width: 50%; height: auto; margin: 0; -webkit-mask-image: linear-gradient(270deg, #000 60%, transparent 100%); mask-image: linear-gradient(270deg, #000 60%, transparent 100%); }
  .room-next a { padding: 90px var(--gutter); }
  /* Menu panel: hovering a room in the bar slides down previews of every room. */
  .site-nav { position: relative; }
  .nav-room img, .nav-room small { display: none !important; }
  /* Compact dropdown under the bar, right-aligned: a preview, not a second page (Volo 19.10: too big). */
  .nav-panel { position: absolute; top: calc(100% + 8px); right: var(--gutter); left: auto; width: min(760px, 62vw); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; background: rgba(16, 19, 16, .97); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s .3s; }
  .site-header.panel-open .nav-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .35s cubic-bezier(.2, .7, .2, 1); }
  .nav-panel a { position: relative; display: grid; align-content: end; gap: 4px; min-height: 132px; padding: 14px; overflow: hidden; color: var(--text); text-decoration: none; isolation: isolate; }
  .nav-panel img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.45) saturate(.7) hue-rotate(-12deg) brightness(.45); transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .4s; }
  .nav-panel a:hover img, .nav-panel a.is-hint img { transform: scale(1.06); filter: saturate(.85) brightness(.62); }
  .nav-panel b { font: 500 18px/1.1 var(--serif); }
  .nav-panel small { color: var(--text-2); font-size: 11.5px; line-height: 1.35; }
  .nav-panel .nav-panel-check b { color: var(--gold-light); }
  .nav-panel-more { grid-column: 1 / -1; display: flex; gap: 22px; margin: 0; padding: 12px 14px; }
  .nav-panel-more a { min-height: 0; padding: 0; color: var(--text-2); font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
  .nav-panel-more a:hover { color: var(--gold-light); }
  .nav-more { display: inline-flex; gap: 18px; padding-left: 18px; border-left: 1px solid var(--line); }
  .nav-more a { color: var(--text-2); font-size: 11px; }
  .text-head { padding-top: calc(var(--header) + 90px); }
  .log-steps > div { grid-template-columns: 200px 1fr; gap: 20px; }
  .site-footer { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 30px; }
  /* Home scene on desktop: captions left, the Map right; the other screens split the same way. */
  .flow-stage { flex-direction: row; align-items: center; justify-content: space-between; gap: 6vw; }
  .flow-text { flex: 0 1 470px; }
  .flow-object { flex: 0 1 560px; }
  .flow.is-live .flow-stage { height: 100vh; padding-top: var(--header); padding-bottom: 0; }
  .flow.is-live .flow-object { order: 0; }
  .flow-track i { height: 95vh; }
  .node { padding: 11px 16px; grid-template-columns: 52px minmax(0, 1fr); }
  .node-step { font-size: 22px; }
  .node-raw { font-size: 12.5px; }
  .flow-x { font-size: 16px; }
  .flow-accept { padding: 11px 14px; font-size: 14px; }
  .flow-map { gap: 8px; }
  .try { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 0 6vw; align-items: center; min-height: 100vh; }
  .try .console { margin-top: 0; }
  .known-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; border: 1px solid var(--line); }
  .known-item { min-height: 210px; padding: 30px 32px; align-content: space-between; }
  .where { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 0 6vw; align-items: center; min-height: 100vh; }
  .where-head, .where-act { grid-column: 1; }
  .states { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .states { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .state { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; min-height: 170px; padding: 22px 20px; }
  .state small { grid-column: 1; }
  .state b { font-size: 26px; }
  .who { align-items: center; padding: 0 var(--gutter); }
  .who-img { left: auto; right: 0; width: 56%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
  .who-veil { background: linear-gradient(0deg, var(--ink) 0%, rgba(16, 19, 16, 0) 22%), linear-gradient(180deg, var(--ink) 0%, rgba(16, 19, 16, 0) 18%); }
  .entry { min-height: 90vh; align-content: center; padding-block: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ambient, .cursor-dot, .cursor-ring { display: none; }
  .bleed img, .screen-bg, .hero-image { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .nav-panel img { transition: none; }
}
