/* Norrklar V3 — "Manufacture nordique"
   Layout concept: a watchmaker's catalogue on a Swiss grid. The page starts in
   daylight (glacier paper, navy beads), crosses a dusk band, and ends at night
   (deep navy, luminous beads). Grotesk for the product, a fine italic serif for
   brand moments, mono for reference marks. The V2 base rules below are kept;
   V3 overrides live at the end of this file. */

:root {
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --glacier: #F3F8FF;
  --paper: #FFFFFF;
  --ice: #C6E0FF;
  --nordic: #3A6EA5;
  --signal: #6FA3DA;
  --navy: #0D1B2A;
  --navy-2: #13263B;
  --slate: #5F6B7E;
  --mist: #9AA6B6;
  --rule: rgba(13, 27, 42, .12);
  --rule-strong: rgba(13, 27, 42, .28);
  --rule-light: rgba(198, 224, 255, .14);
  --danger: #B4413C;

  --display: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-display: clamp(3rem, 7.6vw, 8rem);
  --t-h2: clamp(2rem, 4.2vw, 3.75rem);
  --t-h3: 1.3125rem;
  --t-lede: clamp(1.0625rem, 1.3vw, 1.25rem);
  --t-mono: .75rem;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(88px, 12vw, 176px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--glacier); color: var(--navy);
  font-family: var(--display); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--ice); color: var(--navy); }
:focus-visible { outline: 2px solid var(--nordic); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: var(--glacier); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: var(--t-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--nordic); }
.eyebrow-ice { color: var(--ice); }
.display { font-size: var(--t-display); font-weight: 700; line-height: .9; letter-spacing: -.055em; }
.display .dot { font-style: normal; color: var(--nordic); }
.split .ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.split .ln > span { display: inline-block; }
.h2 { font-size: var(--t-h2); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h2.xl { font-size: clamp(2.75rem, 7vw, 6.5rem); font-weight: 700; letter-spacing: -.05em; line-height: .92; }
.h2-light { color: var(--glacier); }
.lede { font-size: var(--t-lede); line-height: 1.55; color: var(--slate); max-width: 34em; text-wrap: pretty; }
.lede-light { color: var(--ice); opacity: .8; }
.chf { font-family: var(--mono); font-size: .4em; font-weight: 500; letter-spacing: .04em; vertical-align: .6em; margin-right: .2em; }

/* buttons */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding-inline: 24px; border-radius: 999px; font: 600 .9375rem/1 var(--display); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { --h: 40px; padding-inline: 18px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-ink { background: var(--navy); color: var(--glacier); }
.btn-ink:hover { background: var(--nordic); }
.btn-line { border-color: var(--rule-strong); color: var(--navy); background: transparent; }
.btn-line:hover { border-color: var(--navy); }
.magnetic { will-change: transform; }

/* intro (pure CSS, never blocks: it fades out on its own) */
.intro { position: fixed; inset: 0; z-index: 150; background: var(--glacier); display: grid; place-items: center; pointer-events: none; animation: intro-out .7s var(--ease) 1.25s forwards; }
.intro-mark { width: clamp(72px, 10vw, 112px); aspect-ratio: 1; animation: intro-mark 1.2s var(--ease) both; }
.intro-mark svg { width: 100%; height: 100%; display: block; }
.intro-mark circle { transform-box: fill-box; transform-origin: center; animation: pop .6s var(--ease) .55s both; }
@keyframes intro-mark { from { opacity: 0; transform: translateY(12px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; transform: translateY(-2%); } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; padding-top: env(safe-area-inset-top, 0px); transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease); }
.site-header.is-scrolled { background: rgba(243, 248, 255, .82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--rule); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { max-width: var(--wrap); margin-inline: auto; padding: 18px var(--gutter); display: flex; align-items: center; gap: 32px; }
.logo { margin-right: auto; text-decoration: none; font-weight: 800; font-size: 1.625rem; letter-spacing: -.065em; line-height: 1; display: inline-flex; align-items: baseline; }
.logo-dot { width: .2em; height: .2em; border-radius: 50%; background: var(--signal); margin-left: .04em; display: inline-block; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: .9375rem; text-decoration: none; color: var(--slate); background: linear-gradient(var(--navy), var(--navy)) left bottom / 0 1px no-repeat; padding-bottom: 2px; transition: color .2s, background-size .3s var(--ease); }
.nav a:hover { color: var(--navy); background-size: 100% 1px; }
.header-progress span { display: block; height: 2px; background: var(--nordic); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* hero */
.hero { padding-top: calc(132px + env(safe-area-inset-top, 0px)); position: relative; }
.hero-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 28px; }
.hero-top .eyebrow { grid-column: 1 / -1; }
.hero-top .display { grid-column: 1 / span 8; }
.hero-side { grid-column: 9 / span 4; align-self: end; display: grid; gap: 28px; padding-bottom: .6rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nordic); animation: live 2.4s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(58,110,165,.45); } 70%,100% { box-shadow: 0 0 0 10px rgba(58,110,165,0); } }

.flux { position: relative; height: clamp(320px, 32vw, 460px); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: linear-gradient(180deg, var(--glacier), #EAF2FD); overflow: hidden; }
.flux canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.flux.is-ready canvas { opacity: 1; }
.flux .flux-overlay { opacity: 0; transition: opacity 1.4s var(--ease); }
.flux.is-ready .flux-overlay, .flux.no-webgl .flux-overlay { opacity: 1; }
.flux-overlay { position: absolute; inset: 0; pointer-events: none; }
.station { position: absolute; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; }
.station-tick { width: 1px; height: 14px; background: var(--rule-strong); }
.station-name { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
.station:first-child { transform: none; justify-items: start; }
.station:nth-child(6) { transform: translateX(-100%); justify-items: end; }
.rupt { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--signal); transform: scale(0); transition: transform .6s var(--ease); }
.rupt::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid var(--signal); animation: ring 2.2s ease-out infinite; }
.flux.is-on .rupt { transform: scale(1); }
.rupt-label { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--nordic); white-space: nowrap; opacity: 0; transition: opacity .4s; }
.flux.is-on .rupt-label { opacity: 1; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.flux-ui { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--rule); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.toggle button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-size: .8125rem; font-weight: 600; cursor: pointer; color: var(--slate); transition: background-color .25s, color .25s; }
.toggle button[aria-pressed="true"] { background: var(--navy); color: var(--glacier); }
.flux-stat { display: flex; align-items: baseline; gap: 10px; }
.flux-stat-label, .flux-note { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.flux-stat-value { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.flux-note { margin-left: auto; text-transform: none; letter-spacing: .02em; }
.flux.no-webgl canvas { display: none; }
.flux.no-webgl::before { content: ""; position: absolute; left: 6%; right: 6%; top: 42%; height: 2px; background: linear-gradient(90deg, var(--navy) 0 12%, transparent 12% 14%, var(--navy) 14% 30%, transparent 30% 32%, var(--navy) 32% 66%, transparent 66% 68%, var(--navy) 68% 84%, transparent 84% 86%, var(--navy) 86%); }

/* journey (horizontal on desktop when GSAP is present, vertical otherwise) */
.journey { position: relative; background: var(--paper); border-bottom: 1px solid var(--rule); }
.journey-bar { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.journey-bar-inner { display: flex; align-items: center; gap: 32px; padding-block: 14px; }
.mini-pipe { flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; min-width: 0; }
.mini-pipe::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--rule-strong); }
.mini-pipe::after { content: ""; position: absolute; left: 0; top: 4.5px; height: 2px; width: calc(var(--jp, 1) * 100%); background: var(--navy); }
.mini-pipe li { position: relative; padding-top: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.mini-pipe li::before { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--navy); z-index: 1; }
.mini-pipe li.is-passed { color: var(--navy); }
.mini-pipe li.is-passed::before { background: var(--navy); }
.mini-count { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
.mini-count strong { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }

.track { display: grid; }
.panel { display: flex; align-items: center; padding-block: clamp(72px, 10vw, 140px); border-top: 1px solid var(--rule); }
.panel-inner { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; align-content: center; }
.panel-inner > * { grid-column: 1 / -1; }
.panel-intro .h2 { margin-top: 12px; }
.panel-intro .lede { grid-column: 1 / span 6; }
.swipe-hint { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); display: none; }
.swipe-hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.panel-where { display: flex; gap: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--nordic); }
.panel-where span:first-child { color: var(--navy); }
.panel-amount { font-size: clamp(4rem, 13vw, 12.5rem); font-weight: 700; letter-spacing: -.065em; line-height: .85; font-variant-numeric: tabular-nums; }
.panel-amount.unknown { color: var(--mist); }
.panel-title { grid-column: 1 / span 5; font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.panel-text { grid-column: 7 / span 6; color: var(--slate); font-size: 1.0625rem; max-width: 42ch; }
.break { grid-column: 1 / span 6; justify-self: start; width: 100%; max-width: 520px; height: auto; margin-top: 16px; overflow: visible; }
.break path { stroke: var(--navy); stroke-width: 2; fill: none; }
.break circle { fill: var(--signal); }
.panel-total { background: var(--navy); color: var(--glacier); border-top: 0; }
.total { font-size: clamp(4.5rem, 15vw, 14rem); font-weight: 700; letter-spacing: -.065em; line-height: .85; font-variant-numeric: tabular-nums; }
.total .chf { color: var(--signal); }

.journey.is-horizontal .journey-bar { position: absolute; top: 0; left: 0; right: 0; }
.journey.is-horizontal .track { display: flex; width: max-content; height: 100vh; height: 100svh; }
.journey.is-horizontal .panel { width: 100vw; height: 100%; flex: none; border-top: 0; border-left: 1px solid var(--rule); padding-block: 150px 48px; }
.journey.is-horizontal .panel:first-child { border-left: 0; }
.journey.is-horizontal .swipe-hint { display: block; }

/* method */
.method { background: var(--navy); color: var(--glacier); padding-block: var(--section); }
.method .h2 { margin-top: 20px; max-width: 16em; }
.method-grid { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.steps { display: grid; }
.step { border-top: 1px solid var(--rule-light); }
.step:last-child { border-bottom: 1px solid var(--rule-light); }
.step-hit { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding-block: clamp(28px, 6vh, 64px); padding-left: 20px; position: relative; opacity: .45; transition: opacity .5s var(--ease); }
.step-hit::before { content: ""; position: absolute; left: 0; top: clamp(28px, 6vh, 64px); bottom: clamp(28px, 6vh, 64px); width: 3px; border-radius: 3px; background: var(--signal); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.step-hit:hover { opacity: .8; }
.step.is-active .step-hit, .no-gsap .step-hit { opacity: 1; }
.step.is-active .step-hit::before { transform: scaleY(1); }
.step-hit:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 6px; }
.step-n { font-size: 3.25rem; font-weight: 500; line-height: .9; letter-spacing: -.05em; color: var(--signal); }
.step-body { display: grid; gap: 8px; }
.step-title { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.step-text { color: var(--ice); opacity: .72; max-width: 44ch; }

/* the case: an interactive sample file */
.case-wrap { position: sticky; top: 104px; }
.case { background: var(--paper); color: var(--navy); border-radius: 20px; padding: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); display: grid; gap: 4px; }
.case-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.case-id { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; background: var(--navy); color: var(--glacier); transition: background-color .3s, color .3s; }
.pill.is-wait { background: var(--glacier); color: var(--slate); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.pill.is-done { background: var(--nordic); }
.case-client { font-weight: 600; }
.case-amount { font-size: 2.25rem; font-weight: 700; letter-spacing: -.045em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.case-type { color: var(--slate); font-size: .9375rem; }

.case-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 16px 0 8px; padding: 4px; background: var(--glacier); border-radius: 12px; }
.case-tabs button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border-radius: 9px; font-size: .875rem; font-weight: 600; color: var(--slate); transition: background-color .3s, color .3s; }
.case-tabs button span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-family: var(--mono); font-size: 11px; box-shadow: inset 0 0 0 1px currentColor; }
.case-tabs button:hover { color: var(--navy); }
.case-tabs button[aria-pressed="true"] { background: var(--navy); color: var(--glacier); }
.case-tabs button[aria-pressed="true"] span { background: var(--signal); box-shadow: none; color: var(--navy); }
.case-tabs button:focus-visible, .seg button:focus-visible, .case button.chip:focus-visible, .case-reset:focus-visible { outline: 2px solid var(--nordic); outline-offset: 2px; }

.zone { margin-top: 8px; padding: 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--rule); transition: opacity .45s var(--ease), box-shadow .45s var(--ease), background-color .45s var(--ease), filter .45s var(--ease); cursor: pointer; }
.zone-label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--nordic); }
.zone-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--nordic); font-size: 11px; letter-spacing: 0; transition: background-color .3s, color .3s; }
.zone-note { margin-top: 10px; font-size: .8125rem; line-height: 1.5; color: var(--slate); }
.case:not([data-focus="0"]) .zone { opacity: .32; filter: saturate(.4); }
.case[data-focus="1"] [data-zone="1"], .case[data-focus="2"] [data-zone="2"], .case[data-focus="3"] [data-zone="3"] { opacity: 1; filter: none; background: rgba(198, 224, 255, .38); box-shadow: inset 0 0 0 2px var(--signal); cursor: default; }
.case[data-focus="1"] [data-zone="1"] .zone-n, .case[data-focus="2"] [data-zone="2"] .zone-n, .case[data-focus="3"] [data-zone="3"] .zone-n { background: var(--nordic); color: var(--glacier); box-shadow: none; }
/* accordion: only the focused zone opens, the others fold to one summary line */
.zone-body { display: none; }
.case[data-focus="1"] [data-zone="1"] .zone-body, .case[data-focus="2"] [data-zone="2"] .zone-body, .case[data-focus="3"] [data-zone="3"] .zone-body { display: block; animation: zone-in .45s var(--ease); }
.zone-sum { margin-left: auto; font-family: var(--display); font-size: .875rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--navy); }
.case[data-focus="1"] [data-zone="1"] .zone-sum, .case[data-focus="2"] [data-zone="2"] .zone-sum, .case[data-focus="3"] [data-zone="3"] .zone-sum { display: none; }
.case:not([data-focus="0"]) .zone { opacity: .55; }
.zone:hover { opacity: 1 !important; }
.rule-set { display: flex; }
@keyframes zone-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sources li { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--glacier); }
.sources li.is-seen::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nordic); }
.sources li.is-off { color: var(--slate); background: transparent; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.case-rows { margin-top: 8px; }
.case-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .9375rem; border-bottom: 1px solid var(--rule); }
.case-rows li:last-child { border-bottom: 0; }
.case-rows li span:first-child { color: var(--slate); }
.case-rows li span:last-child { font-weight: 600; text-align: right; }
.rule-set { margin-top: 10px; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rule-label { font-size: .8125rem; color: var(--slate); }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.seg button { all: unset; cursor: pointer; font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 7px; color: var(--slate); transition: background-color .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--glacier); }
.draft { margin-top: 10px; font-size: .9375rem; line-height: 1.5; background: var(--paper); border-radius: 10px; padding: 12px 14px; box-shadow: inset 0 0 0 1px var(--rule); }
.draft p + p { margin-top: 8px; }
.draft:not(.is-open) > p:first-child::after { content: " …"; color: var(--slate); }
.draft.is-open .draft-more { display: block; }
.case-buttons { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.chip { font: 600 .8125rem var(--display); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--slate); background: transparent; }
button.chip { cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
button.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip-solid { background: var(--navy); border-color: var(--navy); color: var(--glacier); }
button.chip-solid:hover { background: var(--nordic); border-color: var(--nordic); color: var(--glacier); }
.case-status { margin-top: 10px; font-size: .8125rem; line-height: 1.5; color: var(--nordic); }
.case-status:empty { display: none; }
.case-foot { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.case-reset { all: unset; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--nordic); text-decoration: underline; text-underline-offset: 3px; }
/* doctrine */
.doctrine { padding-block: var(--section); }
.doctrine-text { font-size: clamp(2.5rem, 7.6vw, 7.5rem); font-weight: 700; line-height: .98; letter-spacing: -.055em; }
.doctrine-text .strong { color: var(--nordic); }

/* principles */
.principles { padding-bottom: var(--section); }
.principles-head { display: grid; gap: 18px; margin-bottom: 56px; }
.principle-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--navy); }
.principle-list li { padding: 24px 28px 0 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.strike { position: relative; justify-self: start; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.strike::after { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 2px; background: var(--nordic); transform-origin: left; transition: transform .7s var(--ease); }
.has-gsap .strike:not(.is-in)::after { transform: scaleX(0); }
.principle-list h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.principle-list p { margin-top: 6px; color: var(--slate); font-size: .9688rem; max-width: 32ch; }

/* pilot */
.pilot { background: var(--paper); border-top: 1px solid var(--rule); padding-block: var(--section); }
.pilot-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.pilot-copy { display: grid; gap: 24px; }
.pilot-points { display: grid; margin-top: 16px; border-top: 1px solid var(--rule); }
.pilot-points li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.pp-n { font-size: 1.75rem; font-weight: 700; letter-spacing: -.04em; }
.pilot-points li span:last-child { color: var(--slate); }
.pilot-form { background: var(--glacier); border: 1px solid var(--rule); border-radius: 20px; padding: 28px; display: grid; gap: 18px; }
.form-title { font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.field input, .field select { height: 48px; padding-inline: 14px; border-radius: 10px; border: 1px solid var(--rule-strong); background: var(--paper); color: var(--navy); font: 400 1rem var(--display); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: var(--mist); }
.field input:focus, .field select:focus { outline: none; border-color: var(--nordic); box-shadow: 0 0 0 4px rgba(58,110,165,.15); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.form-status { min-height: 1.2em; font-size: .9375rem; font-weight: 500; }
.form-status.is-ok { color: var(--nordic); }
.form-status.is-error { color: var(--danger); }
.form-note { font-family: var(--mono); font-size: 11px; color: var(--slate); }

/* contact */
.contact { background: var(--navy); color: var(--glacier); padding-block: var(--section); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.contact .h2 { margin-block: 20px 24px; }
.option { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "meta arrow" "title arrow"; gap: 6px 24px; align-items: center; padding-block: 28px; text-decoration: none; border-top: 1px solid var(--rule-light); transition: padding .35s var(--ease); }
.option:last-of-type { border-bottom: 1px solid var(--rule-light); }
.option-meta { grid-area: meta; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); opacity: .7; }
.option-title { grid-area: title; font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 600; letter-spacing: -.035em; }
.option-arrow { grid-area: arrow; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule-light); font-size: 1.25rem; transition: background-color .3s var(--ease), color .3s var(--ease), transform .35s var(--ease); }
.option:hover { padding-left: 12px; }
.option:hover .option-arrow { background: var(--glacier); color: var(--navy); transform: rotate(-45deg); }
.contact-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--ice); opacity: .8; }

/* footer — the validated wordmark, as captured */
.site-footer { background: var(--navy); color: var(--glacier); padding-top: 32px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule-light); overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-sign { font-size: 1.125rem; font-weight: 500; letter-spacing: -.02em; color: var(--ice); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: var(--ice); opacity: .75; font-size: .9375rem; }
.footer-nav a:hover { opacity: 1; }
.giant { font-size: clamp(4rem, 20vw, 17rem); font-weight: 700; letter-spacing: -.07em; line-height: .8; margin-block: 56px 28px; white-space: nowrap; display: inline-flex; align-items: baseline; }
.giant-word { background: linear-gradient(180deg, #1F3A5A 0%, var(--navy-2) 85%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--navy-2); }
.giant-dot { display: inline-block; width: .13em; height: .13em; border-radius: 50%; background: var(--signal); margin-left: .02em; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ice); opacity: .7; }
.footer-mark { display: inline-flex; align-items: center; gap: 10px; }
.footer-mark > span { width: 20px; height: 20px; display: inline-block; }
.footer-mark svg { width: 100%; height: 100%; display: block; }

/* ───────── Brand lab page ───────── */
.lab main { padding-top: calc(120px + env(safe-area-inset-top, 0px)); }
.lab-head { display: grid; gap: 20px; padding-bottom: 64px; }
.lab-section { padding-block: 72px; border-top: 1px solid var(--rule); }
.lab-section > .wrap > .eyebrow { margin-bottom: 28px; }
.wm-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.wm-tile { border-radius: 24px; padding: clamp(32px, 5vw, 64px); display: grid; gap: 40px; min-width: 0; overflow: hidden; }
.wm-tile.light { background: var(--paper); border: 1px solid var(--rule); }
.wm-tile.dark { background: var(--navy); color: var(--glacier); }
.wm { font-size: clamp(3rem, 8vw, 7rem); font-weight: 700; letter-spacing: -.07em; line-height: .85; display: inline-flex; align-items: baseline; }
.wm-dot { width: .13em; height: .13em; border-radius: 50%; background: var(--signal); margin-left: .02em; display: inline-block; }
.wm-tile.light .wm-dot { background: var(--nordic); }
.wm-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.wm-notes p { color: var(--slate); font-size: .9688rem; }
.wm-notes strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 4px; }

.marks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mark-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 24px; padding: 24px; display: grid; gap: 20px; align-content: start; transition: border-color .3s, box-shadow .3s; min-width: 0; }
.mark-card.is-current { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.mark-hero { aspect-ratio: 1; background: var(--glacier); border-radius: 16px; display: grid; place-items: center; }
.mark-hero > div { width: 56%; }
.mark-hero svg { width: 100%; height: auto; display: block; }
.mark-apps { display: flex; align-items: flex-end; gap: 14px; padding: 16px; background: var(--navy); border-radius: 16px; }
.mark-apps .app { width: 64px; height: 64px; }
.mark-apps .app svg, .mark-apps .app-sm svg { width: 100%; height: 100%; display: block; border-radius: 14px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.6); }
.mark-apps .app-sm { width: 32px; height: 32px; }
.mark-apps .fav { display: flex; align-items: center; gap: 8px; margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--ice); opacity: .8; }
.mark-apps .fav img { display: block; }
.lockup { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border: 1px dashed var(--rule-strong); border-radius: 16px; }
.lockup > div { width: 34px; height: 34px; }
.lockup svg { width: 100%; height: 100%; display: block; }
.lockup .wm { font-size: 2rem; }
.mark-card h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; }
.mark-card p { color: var(--slate); font-size: .9688rem; }
.mark-card .btn { justify-self: start; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.swatch { border-radius: 16px; padding: 88px 16px 16px; display: grid; gap: 2px; font-size: .875rem; }
.swatch span:first-child { font-weight: 600; }
.swatch span:last-child { font-family: var(--mono); font-size: 12px; opacity: .75; }

/* ───────── Responsive ───────── */
@media (max-width: 1080px) {
  .method-grid, .pilot-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-top .display, .hero-side { grid-column: 1 / -1; }
  .hero-side { max-width: 36em; }
  .case-wrap { position: static; max-width: 520px; }
  .step-hit { opacity: 1; }
  .principle-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .marks { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .wm-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .header-inner { gap: 12px; padding-block: 14px; }
  .hero { padding-top: calc(108px + env(safe-area-inset-top, 0px)); }
  .flux { height: 360px; }
  .flux-ui { bottom: 14px; gap: 12px; width: 100%; justify-content: center; }
  .flux-note { display: none; }
  .station-name { font-size: 9px; letter-spacing: .04em; }
  .station:nth-child(even) .station-name { margin-top: 14px; }
  .mini-pipe li { font-size: 0; }
  .mini-count strong { font-size: 1.125rem; }
  .panel-title, .panel-text, .panel-intro .lede { grid-column: 1 / -1; }
  .principle-list { grid-template-columns: minmax(0, 1fr); }
  .step-hit { grid-template-columns: 56px minmax(0, 1fr); padding-left: 14px; opacity: 1; }
  .step-n { font-size: 2.5rem; }
  .pilot-points li { grid-template-columns: 72px minmax(0, 1fr); }
  .wm-notes, .swatches { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .btn-sm { padding-inline: 14px; }
  .hero .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none; }
  .rupt { transform: scale(1); }
}

/* ═════════════════════════ V3 layer ═════════════════════════ */

/* serif moments */
.serif, .h2 em, .maison-title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.h2 em { font-size: 1.08em; }

/* intro: symbol + caption, then lifts */
.intro-inner { display: grid; justify-items: center; gap: 18px; }
.intro-cap { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--slate); animation: intro-mark 1s var(--ease) .3s both; }

/* header on night sections */
.site-header.on-dark .logo { color: var(--glacier); }
.site-header.on-dark .nav a { color: var(--ice); background-image: linear-gradient(var(--glacier), var(--glacier)); }
.site-header.on-dark .nav a:hover { color: var(--glacier); }
.site-header.on-dark .btn-ink { background: var(--glacier); color: var(--navy); }
.site-header.on-dark.is-scrolled { background: rgba(13, 27, 42, .72); box-shadow: 0 1px 0 var(--rule-light); }
.site-header.on-dark .header-progress span { background: var(--signal); }

/* hero */
.hero { padding-top: calc(112px + env(safe-area-inset-top, 0px)); }
.catalogue { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 12px; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(40px, 6vw, 88px); align-items: end; }
.signature { grid-column: 1 / span 8; font-family: var(--serif); font-weight: 400; font-size: clamp(4.5rem, 13.5vw, 14.5rem); line-height: .84; letter-spacing: -.035em; color: var(--navy); }
.signature em { font-style: italic; }
.sig-dot { color: var(--nordic); font-style: normal; }
.hero-side { grid-column: 9 / span 4; align-self: end; display: grid; gap: 28px; padding-bottom: 1.2rem; }
.flux-day { border: 0; background: transparent; height: clamp(360px, 36vw, 540px); margin-top: clamp(24px, 4vw, 56px); }

/* journey panels: serif titles */
.panel-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.25rem); letter-spacing: -.01em; line-height: 1; }
.h2.xl em.serif { font-weight: 400; }

/* dusk: day turns to night */
.dusk { position: relative; min-height: 150vh; background: linear-gradient(180deg, var(--paper) 0%, #DCE8F6 22%, #8FA6C2 46%, #2F4764 70%, var(--navy) 100%); }
.dusk .wrap { position: sticky; top: 0; min-height: 100vh; display: grid; align-content: center; gap: 28px; }
.dusk-time { font-family: var(--mono); font-size: 12px; letter-spacing: .24em; color: var(--slate); }
.dusk-text { font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5.75rem); line-height: 1.02; letter-spacing: -.02em; max-width: 15em; color: var(--navy); text-wrap: balance; }

/* night sections */
.tone-night { position: relative; background: var(--navy); color: var(--glacier); }
.tone-night::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  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"); }
.tone-night > .wrap { position: relative; z-index: 1; }
.method { border-top: 0; }

.doctrine.tone-night .doctrine-text { color: var(--glacier); }
.doctrine-text em.strong { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--signal); letter-spacing: -.02em; }

.principles.tone-night { padding-top: var(--section); }
.principles.tone-night .principle-list { border-top-color: rgba(243, 248, 255, .35); }
.principles.tone-night .principle-list h3 { color: var(--glacier); }
.principles.tone-night .principle-list p { color: var(--ice); opacity: .68; }
.principles.tone-night .strike { color: var(--ice); opacity: .8; }
.principles.tone-night .strike::after { background: var(--signal); }

/* la maison */
.maison { padding-block: var(--section); overflow: hidden; }
.maison > .dial { position: absolute; z-index: 0; width: min(1000px, 110vw); aspect-ratio: 1; right: -24%; top: 50%; translate: 0 -50%; opacity: .14; pointer-events: none; }
.dial line { stroke: var(--ice); }
.dial circle { fill: none; stroke: var(--ice); }
.maison-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.portrait { position: sticky; top: 120px; display: grid; gap: 12px; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); border-radius: 2px; }
.portrait-empty { display: none; }
.portrait.is-empty .portrait-empty { display: grid; place-items: center; align-content: center; gap: 16px; aspect-ratio: 4 / 5; border: 1px solid var(--rule-light); border-radius: 2px; background: radial-gradient(120% 90% at 30% 20%, #1B3350 0%, var(--navy-2) 60%); text-align: center; padding: 24px; }
.portrait-empty span { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 10vw, 9rem); line-height: 1; color: var(--ice); opacity: .85; }
.portrait-empty small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--ice); opacity: .6; }
.portrait-empty code { font: inherit; color: var(--glacier); }
.portrait figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); opacity: .6; }
.maison-copy { display: grid; gap: 28px; }
.maison-title { font-size: clamp(2.75rem, 5.6vw, 5.25rem); font-weight: 600; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.maison-title em { font-size: 1.1em; color: var(--ice); }
.maison-story { display: grid; gap: 18px; max-width: 58ch; }
.maison-story p { color: var(--ice); opacity: .82; font-size: 1.125rem; line-height: 1.65; }
.founder { display: grid; gap: 2px; padding-top: 8px; }
.founder-name { font-family: var(--serif); font-style: italic; font-size: 2.25rem; line-height: 1; color: var(--glacier); }
.founder-role { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); opacity: .6; }

/* pilot at night */
.pilot.tone-night { border-top: 1px solid var(--rule-light); }
.pilot.tone-night .pilot-points { border-top-color: var(--rule-light); }
.pilot.tone-night .pilot-points li { border-bottom-color: var(--rule-light); }
.pilot.tone-night .pilot-points li span:last-child { color: var(--ice); opacity: .72; }
.pilot.tone-night .pilot-form { background: rgba(243, 248, 255, .04); border-color: var(--rule-light); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pilot.tone-night .field label, .pilot.tone-night .form-note { color: var(--ice); opacity: .65; }
.pilot.tone-night .field input, .pilot.tone-night .field select { background: rgba(243, 248, 255, .06); border-color: rgba(198, 224, 255, .22); color: var(--glacier); }
.pilot.tone-night .field input::placeholder { color: rgba(198, 224, 255, .4); }
.pilot.tone-night .field select option { color: var(--navy); }
.pilot.tone-night .form-status.is-ok { color: var(--signal); }
.pilot.tone-night .form-status.is-error { color: #F0A39E; }
.btn-glacier { background: var(--glacier); color: var(--navy); }
.btn-glacier:hover { background: var(--ice); }

.contact.tone-night { border-top: 1px solid var(--rule-light); }

/* footer: luminous beads, then the wordmark */
.site-footer.tone-night { padding-top: 0; }
.flux-night { height: clamp(320px, 34vw, 500px); border: 0; background: transparent; margin: 0; }
.flux-night .rupt { background: var(--glacier); box-shadow: 0 0 18px 4px rgba(111, 163, 218, .7); }
.flux-night .rupt::after { border-color: var(--ice); }
.finale { position: absolute; left: 0; right: 0; top: 10%; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(2.5rem, 7vw, 6.5rem); line-height: 1; color: var(--glacier); letter-spacing: -.02em; pointer-events: none; z-index: 2; }
.finale .sig-dot { color: var(--signal); }

/* honesty notes */
.catalogue > span:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.status-note { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--nordic); }
.method-note { margin-top: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--ice); opacity: .6; max-width: 60ch; }

/* form: consent + honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .875rem; line-height: 1.5; color: var(--ice); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--signal); }
.consent a { color: var(--glacier); }
.btn[disabled] { opacity: .6; cursor: progress; }
.config-hint { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--signal); }

/* FAQ */
.faq { padding-block: var(--section); border-top: 1px solid var(--rule-light); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-head { display: grid; gap: 20px; position: sticky; top: 120px; }
.faq-list { border-top: 1px solid rgba(243, 248, 255, .35); }
.faq details { border-bottom: 1px solid var(--rule-light); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding-block: 24px; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.25rem; font-weight: 400; color: var(--signal); text-align: center; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 26px; margin-top: -6px; color: var(--ice); opacity: .78; max-width: 60ch; }
.faq summary:focus-visible { outline-offset: 6px; }

/* footer legal links */
.footer-legal { display: inline-flex; gap: 20px; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* legal pages */
.legal main { padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: var(--section); }
.legal-doc { max-width: 760px; display: grid; gap: 18px; }
.legal-doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.02em; }
.legal-doc h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; margin-top: 28px; }
.legal-doc p, .legal-doc li { color: var(--slate); }
.legal-doc ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }
.legal-doc strong { color: var(--navy); }
.draft { border: 1px dashed var(--nordic); border-radius: 12px; padding: 14px 16px; font-family: var(--mono); font-size: 12px; color: var(--nordic); background: rgba(198, 224, 255, .25); }
.ph { background: rgba(111, 163, 218, .22); color: var(--navy); padding: 0 4px; border-radius: 4px; }

/* 404 */
.lost { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; background: var(--navy); color: var(--glacier); position: relative; overflow: hidden; }
.lost .flux-night { position: absolute; inset: 0; height: auto; }
.lost-copy { position: relative; z-index: 2; align-self: center; display: grid; gap: 24px; justify-items: start; padding-block: 120px 40px; }
.lost-copy h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3.5rem, 10vw, 9rem); line-height: .9; letter-spacing: -.03em; }
.lost-copy h1 em { font-style: italic; }
.lost-code { font-family: var(--mono); font-size: 12px; letter-spacing: .24em; color: var(--signal); }
.lost-copy p { color: var(--ice); opacity: .8; max-width: 40ch; font-size: 1.125rem; }
.lost-foot { position: relative; z-index: 2; padding-bottom: 28px; }

/* V3 responsive */
@media (max-width: 1080px) {
  .signature, .hero-side { grid-column: 1 / -1; }
  .hero-side { max-width: 36em; margin-top: 24px; }
  .maison-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .portrait { position: static; max-width: 420px; }
}
@media (max-width: 760px) {
  .catalogue span:nth-child(3) { display: none; }
  .dusk { min-height: 120vh; }
  .maison > .dial { right: -60%; }
}

/* founder note */
.maison-mail { color: var(--ice); opacity: .8; font-size: 1rem; border-top: 1px solid var(--rule-light); padding-top: 22px; max-width: 58ch; }
.maison-mail a { color: var(--glacier); text-underline-offset: 3px; }
.contact-line a { color: inherit; text-underline-offset: 3px; }

/* shared dark helpers */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn-line-light { border: 1px solid rgba(198, 224, 255, .35); color: var(--glacier); background: transparent; }
.btn-line-light:hover { border-color: var(--glacier); }
.on-dark .btn-line { border-color: rgba(198, 224, 255, .35); color: var(--glacier); }
.on-dark .btn-line:hover { border-color: var(--glacier); }

/* questionnaire */
.quiz-page { background: var(--navy); color: var(--glacier); }
.quiz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding-top: calc(140px + env(safe-area-inset-top, 0px)); padding-bottom: var(--section); }
.quiz-head { position: sticky; top: 120px; display: grid; gap: 22px; }
.quiz-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.03em; }
.quiz-head h1 em { color: var(--ice); }
.quiz-lede { color: var(--ice); opacity: .8; font-size: 1.125rem; line-height: 1.6; max-width: 42ch; }
.quiz-count { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.quiz-form { display: grid; border-top: 1px solid rgba(243, 248, 255, .35); }
.q { border: 0; margin: 0; padding: 30px 0; border-bottom: 1px solid var(--rule-light); display: grid; gap: 18px; min-width: 0; }
.q legend { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; padding: 0; float: left; width: 100%; }
.q legend + * { clear: both; }
.q legend small { grid-column: 2; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; color: var(--ice); opacity: .6; margin-top: 6px; }
.q-n { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--signal); padding-top: .35em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding-left: 52px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(198, 224, 255, .25); color: var(--ice); font-size: .9375rem; transition: background .2s, border-color .2s, color .2s; }
.chips label:hover span { border-color: rgba(198, 224, 255, .6); }
.chips input:checked + span { background: var(--glacier); border-color: var(--glacier); color: var(--navy); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }
.quiz .field { padding-left: 52px; }
.quiz .field label { color: var(--ice); opacity: .65; }
.quiz .field input, .quiz .field textarea { background: rgba(243, 248, 255, .06); border: 1px solid rgba(198, 224, 255, .22); color: var(--glacier); border-radius: 10px; font: 400 1rem var(--display); width: 100%; }
.quiz .field input { height: 48px; padding-inline: 14px; }
.quiz .field textarea { padding: 14px; resize: vertical; line-height: 1.5; }
.quiz .field input::placeholder, .quiz .field textarea::placeholder { color: rgba(198, 224, 255, .4); }
.quiz .field input:focus, .quiz .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(111, 163, 218, .18); }
.quiz .field input[aria-invalid="true"] { border-color: #F0A39E; }
.field-short { max-width: 240px; }
.q-who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.q-who-grid .field { padding-left: 0; }
.q-who { gap: 22px; }
.q-who-grid, .q-who .consent { margin-left: 52px; }
.quiz-submit { display: grid; gap: 12px; justify-items: start; padding-top: 32px; }
.quiz-submit .form-note { color: var(--ice); opacity: .6; }
.quiz .form-status.is-ok { color: var(--signal); }
.quiz .form-status.is-error { color: #F0A39E; }

/* coming soon */
.soon .lost-copy { padding-bottom: clamp(150px, 22vh, 220px); }
.soon-form { display: grid; gap: 12px; width: min(640px, 100%); padding: 20px; border-radius: 18px; background: rgba(243, 248, 255, .05); box-shadow: inset 0 0 0 1px var(--rule-light); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.soon-form-title { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }
.soon-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 8px; }
.soon-fields input { height: 48px; padding-inline: 14px; border-radius: 10px; border: 1px solid rgba(198, 224, 255, .22); background: rgba(243, 248, 255, .06); color: var(--glacier); font: 400 1rem var(--display); min-width: 0; }
.soon-fields input::placeholder { color: rgba(198, 224, 255, .45); }
.soon-fields input:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(111, 163, 218, .18); }
.soon-fields input[aria-invalid="true"] { border-color: #F0A39E; }
.soon-form .consent { font-size: .8125rem; }
.soon-form .form-status:empty { display: none; }
.soon-form .form-status.is-ok { color: var(--signal); }
.soon-form .form-status.is-error { color: #F0A39E; }
.soon-or { font-size: .9375rem; color: var(--ice); opacity: .7; margin-bottom: -12px; }
@media (max-width: 760px) { .soon-fields { grid-template-columns: minmax(0, 1fr); } .soon-form { padding: 16px; } }
/* night pages (404, coming soon): no light strip on overscroll, header scrolls away with the page */
html:has(.lost), body:has(.lost) { background: var(--navy); }
body:has(.lost) .site-header { position: absolute; }
@media (max-width: 760px) { .lost-code { letter-spacing: .14em; } }
.soon-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.soon-clock { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--ice); opacity: .7; display: inline-flex; align-items: center; gap: 10px; }
.soon-clock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(111, 163, 218, .6); animation: soon-pulse 2s infinite; }
.soon-track { width: min(420px, 100%); height: 1px; background: rgba(198, 224, 255, .2); position: relative; overflow: hidden; }
.soon-track::after { content: ""; position: absolute; top: 0; left: 0; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, var(--signal), transparent); animation: soon-track 3.2s var(--ease) infinite; }
@keyframes soon-pulse { 70% { box-shadow: 0 0 0 10px rgba(111, 163, 218, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 163, 218, 0); } }
@keyframes soon-track { from { translate: -100% 0; } to { translate: 340% 0; } }

@media (max-width: 1080px) {
  .quiz { grid-template-columns: minmax(0, 1fr); }
  .quiz-head { position: static; }
}
@media (max-width: 760px) {
  .chips, .quiz .field { padding-left: 0; }
  .q-who-grid, .q-who .consent { margin-left: 0; }
  .q-who-grid { grid-template-columns: minmax(0, 1fr); }
  .q legend { grid-template-columns: 34px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .soon-clock::before, .soon-track::after { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .step-hit { opacity: 1; } }
