/* Peak Data — cinematic dark world (v4, bilingual).
   Tokens → base → nav → hero/scene → situations → rail → paper docs → services → who → fare → faq → incident → contact → foot → motion prefs */

@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/HankenGrotesk-VF.woff2") format("woff2"); }

:root {
  interpolate-size: allow-keywords;   /* lets the FAQ animate to its natural height */
  --bg: #06101F;
  --bg-2: #0A172C;
  --bg-3: #0F2040;
  --paper: #F3F5F9;
  --paper-2: #FFFFFF;

  --fg: #EEF2F8;
  --fg-2: #B4C0D6;
  --fg-3: #98A5BF;
  --ink: #131A29;
  --ink-2: #414B60;
  --ink-3: #5D6A82;

  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --line-ink: rgba(19,26,41,.14);

  --blue: #4DB2FF;
  --blue-deep: #0078C8;
  --accent: #0099FF;
  --accent-2: #2FAAFF;
  --on-accent: #001628;
  --alarm: #FF3B57;
  --ok: #4ED39A;
  --high: #E0592C;

  --font: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --s-2: .75rem; --s-3: 1rem; --s-4: 1.5rem; --s-5: 2rem; --s-6: 3rem; --s-7: 4.5rem; --s-8: 6.5rem; --s-9: 9rem;
  --r: 6px; --r-lg: 12px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 60px -30px rgba(0,0,0,.8);
  --shadow-paper: 0 1px 0 rgba(19,26,41,.05), 0 20px 50px -24px rgba(19,26,41,.35);
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "kern" 1, "tnum" 1; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 1.5rem + 6vw, 6rem); font-weight: 200; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem); }
.sec__head h2, .incident h2 { font-weight: 700; letter-spacing: -0.04em; line-height: .98; }
h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0; } p + p { margin-top: 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: var(--s-3); top: -100px; z-index: 100; padding: .6rem 1rem; background: var(--accent); color: var(--on-accent); font-weight: 500; border-radius: var(--r); }
.skip:focus { top: var(--s-3); }
.muted { color: var(--fg-3); }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.35rem; min-height: 46px; border: 0; border-radius: 999px; font-weight: 500; font-size: 1rem; text-decoration: none; letter-spacing: -0.005em; transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease, color 160ms ease; }
.btn .ic { transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--sm { padding: .55rem 1rem; min-height: 38px; font-size: .95rem; }
.btn--lg { padding: 1rem 1.6rem; min-height: 52px; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--accent-2); }
  .btn--accent:hover .ic { transform: translateX(3px); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); background: rgba(255,255,255,.07); }
}
.link { display: inline-flex; align-items: center; gap: .5rem; color: var(--blue); text-decoration: none; font-weight: 500; padding: .5rem 0; min-height: 44px; transition: color 150ms ease, transform 160ms var(--ease-out); }
.link:active { transform: scale(.98); }
.link .ic { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover .ic { transform: translateX(4px); } }


/* ─── Nav: transparent bar, floating centred pill once scrolled ─── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--fg); pointer-events: none; }
.nav__bar { pointer-events: auto; display: flex; align-items: center; gap: var(--s-4); min-height: 68px; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease, transform 260ms var(--ease-out), width 420ms var(--ease-out); border: 1px solid transparent; border-radius: 999px; }
.nav.is-scrolled .brand__logo { height: 24px; }
.nav.is-scrolled .nav__bar { width: min(66rem, 100% - 2 * var(--gutter)); min-height: 56px; transform: translateY(.75rem); padding: 0 .5rem 0 1.1rem; background: rgba(8,20,40,.72); border-color: var(--line-2); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; }
.brand__logo { height: 30px; width: auto; display: block; }
.nav__lang { color: var(--fg-2); text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: .04em; padding: .35rem .5rem; border: 1px solid var(--line-2); border-radius: 999px; min-width: 2.4rem; text-align: center; }
@media (hover: hover) and (pointer: fine) { .nav__lang:hover { color: var(--fg); border-color: rgba(255,255,255,.4); } }
.foot__logo { height: 34px; width: auto; }
.nav__links { display: flex; gap: clamp(1.1rem, 2.2vw, 2rem); }
.nav__links a { color: var(--fg-2); text-decoration: none; font-size: .95rem; padding: .4rem 0; transition: color 150ms ease, transform 160ms var(--ease-out); }
.nav__links a:active, .nav__lang:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--fg); } }
.nav__actions { display: flex; align-items: center; gap: var(--s-3); }
.nav:not(.is-scrolled):not(.is-open) .btn--accent { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav__sos { display: inline-flex; align-items: center; gap: .5rem; background: #E9072B; color: #fff; text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap; border-radius: 999px; padding: .55rem 1rem; min-height: 38px; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.nav__sos::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.nav__sos:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .nav__sos:hover { background: #C1061F; } }
/* Compact state while reading down (desktop): the pill narrows to logo + Vorfall + CTA.
   Scrolling up or focusing the nav expands it again (site.js). Asymmetric timing:
   quick fold on the way out, unhurried return with a late fade-in. */
@media (min-width: 901px) {
  .nav__links { max-width: 44rem; white-space: nowrap; overflow: hidden; transition: max-width 420ms var(--ease-out) 60ms, opacity 260ms ease 180ms, visibility 0s 0s; }
  .nav__lang { max-width: 4rem; overflow: hidden; transition: max-width 300ms var(--ease-out) 100ms, min-width 300ms var(--ease-out) 100ms, padding 300ms var(--ease-out) 100ms, border-color 200ms ease 100ms, opacity 200ms ease 220ms, visibility 0s 0s; }
  .nav.is-compact .nav__bar { width: fit-content; }
  .nav.is-compact .nav__links { max-width: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: max-width 260ms var(--ease-out), opacity 140ms ease, visibility 0s 260ms; }
  .nav.is-compact .nav__lang { max-width: 0; min-width: 0; padding-inline: 0; border-color: transparent; opacity: 0; visibility: hidden; pointer-events: none; transition: max-width 220ms var(--ease-out), min-width 220ms var(--ease-out), padding 220ms var(--ease-out), border-color 160ms ease, opacity 120ms ease, visibility 0s 220ms; }
}
.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-toggle span { display: block; height: 1.5px; background: var(--fg); transition: transform 200ms var(--ease-out); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { pointer-events: auto; display: none; flex-direction: column; margin: .5rem var(--gutter) 0; background: rgba(8,20,40,.96); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; backdrop-filter: blur(14px); }
.mobile-menu a { padding: 1rem 1.25rem; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.mobile-menu a:last-child { border-bottom: 0; }
/* The incident entry is a real button, same red pill as the desktop "Vorfall?" */
a.mobile-menu__sos { display: flex; align-items: center; justify-content: center; gap: .55rem; margin: .85rem 1rem 1rem; padding: .8rem 1.25rem; background: #E9072B; color: #fff; border-radius: 999px; font-weight: 500; border-bottom: 0; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
a.mobile-menu__sos::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
a.mobile-menu__sos:active { transform: scale(.97); }
@media (max-width: 900px) {
  .nav__links, .nav__sos { display: none; }
  /* the language switch lives in the mobile menu below this width */
  .nav__lang { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: flex; }
  .nav__actions { gap: .25rem; }
  .nav.is-open .nav__bar, .nav.is-scrolled .nav__bar { background: rgba(8,20,40,.9); border-color: var(--line-2); width: calc(100% - 2 * var(--gutter)); transform: translateY(.5rem); padding: 0 .35rem 0 .9rem; }
}

/* ─── The story: pinned scene, five chapters ─── */
/* the world: one lit scene behind the entire page, not just the hero */
.world { position: fixed; inset: 0; z-index: 0; pointer-events: none; --after: 0;
  background: radial-gradient(120% 90% at 70% 100%, #0E2A52 0%, #0A1A36 42%, var(--bg) 78%); }
.world__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.world__veil { position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,16,31,.6) 0%, rgba(6,16,31,0) 30%),
    linear-gradient(90deg, rgba(6,16,31,.72) 0%, rgba(6,16,31,.25) 40%, rgba(6,16,31,0) 60%),
    linear-gradient(0deg, rgba(6,16,31,1) 0%, rgba(6,16,31,0) 26%); }
/* below the story the flight continues; a light scrim keeps body copy at full contrast */
.world__scrim { position: absolute; inset: 0; background: rgba(6,16,31,.45); opacity: var(--after); }
main, .foot { position: relative; z-index: 1; }
.story { position: relative; height: 560svh; }
.story__stage { position: sticky; top: 0; height: 100svh; }
.story__anchor { position: absolute; left: 0; width: 1px; height: 1px; }
.story__anchor--sit { top: 20%; }
.story__anchor--watch { top: 44%; }
.chapter { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding-top: 4rem; opacity: 0; transform: translateY(24px); transition: opacity 320ms var(--ease-out), transform 380ms var(--ease-out); pointer-events: none; }
.chapter.is-active { opacity: 1; transform: none; pointer-events: auto; transition: opacity 520ms var(--ease-out), transform 620ms var(--ease-out); }
.chapter.is-past { transform: translateY(-24px); }
html:not(.js) .story { height: auto; }
html:not(.js) .story__stage { position: relative; height: auto; }
html:not(.js) .chapter { position: relative; opacity: 1; visibility: visible; transform: none; pointer-events: auto; padding-block: 4rem; }
.chapter--arrive h1 { max-width: 24ch; font-size: clamp(2.75rem, 1.2rem + 5vw, 5rem); font-weight: 300; }
.chapter--arrive h1 strong { font-weight: 600; letter-spacing: -0.04em; }
.chapter .wrap { min-width: 0; }
.chapter__lede { margin-top: var(--s-5); max-width: min(34rem, 100%); font-size: clamp(1.05rem, .95rem + .45vw, 1.25rem); line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
.chapter__cta { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.chapter__word { font-size: clamp(4rem, 1.5rem + 9vw, 8.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: .9; margin-left: -.05em; }
.chapter__cap { margin-top: var(--s-5); max-width: min(32rem, 100%); font-size: clamp(1.05rem, .95rem + .45vw, 1.25rem); line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
.chapter--word .link { margin-top: var(--s-4); }
.link--light { color: var(--fg); }
/* the situations glass panel, docked right */
.chapter--sit .wrap { display: grid; justify-items: end; }
.glass { width: min(40rem, 100%); max-height: calc(100svh - 7rem); overflow: auto; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: 18px; background: rgba(8,20,40,.55); border: 1px solid var(--line-2); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
.glass h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.glass__lede { margin-top: .75rem; color: var(--fg-2); font-size: 1rem; }
.glass__note { margin-top: 1rem; color: var(--fg-3); font-size: .85rem; }
.sit { list-style: none; margin-top: 1.25rem; border-top: 1px solid var(--line-2); }
.sit li { border-bottom: 1px solid var(--line); }
.sit a { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; align-items: center; padding: .7rem 0; text-decoration: none; color: var(--fg); transition: transform 180ms var(--ease-out); }
.sit a:active { transform: translateX(3px); }
.sit__q { grid-column: 1; font-size: 1.08rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.sit__a { grid-column: 1; color: var(--fg-3); font-size: .9rem; }
.sit__arr { grid-column: 2; grid-row: 1 / span 2; color: var(--fg-3); width: 1.3em; height: 1.3em; transition: transform 200ms var(--ease-out), color 150ms ease; }
.sit--urgent .sit__q, .sit--urgent .sit__a { color: #FFB3BE; }
@media (hover: hover) and (pointer: fine) { .sit a:hover .sit__q { color: var(--accent); } .sit a:hover .sit__arr { transform: translateX(5px); color: var(--accent); } }
/* counter + hint */
.story__counter { position: absolute; z-index: 3; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: clamp(1.5rem, 4vh, 2.5rem); display: flex; align-items: center; gap: .75rem; font-variant-numeric: tabular-nums; color: var(--fg-2); font-size: .95rem; }
.story__sep { width: 4rem; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.story__sep::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }
.story__of { color: var(--fg-3); }
.story__hint { position: absolute; z-index: 3; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: clamp(1.5rem, 4vh, 2.5rem); display: inline-flex; align-items: center; gap: .4rem; color: var(--fg-3); font-size: .9rem; transition: opacity 300ms ease; }
.story__hint .ic { animation: nudge 2.4s var(--ease-in-out) infinite; }
.story__skip { position: absolute; z-index: 3; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: clamp(3.4rem, 8vh, 5rem); color: var(--fg-3); font-size: .85rem; text-decoration: none; }
.story__skip:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .story__skip { display: none; } }
.story__stage.is-deep .story__hint { opacity: 0; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (max-width: 960px) {
  .chapter { padding-top: 6.5rem; align-content: start; }
  .chapter--arrive .wrap { padding-top: 1.5rem; }
  .chapter--sit .wrap { justify-items: stretch; }
  .glass { width: 100%; max-height: none; overflow: visible; padding: 1.1rem 1.1rem 1rem; }
  .glass__lede { font-size: .9rem; margin-top: .4rem; }
  .glass h2 { font-size: 1.5rem; }
  .sit { margin-top: .75rem; }
  .sit a { padding: .55rem 0; }
  .sit__q { font-size: 1rem; }
  .sit__a { font-size: .82rem; }
  .glass__note { font-size: .78rem; margin-top: .6rem; }
  @media (max-height: 640px) { .glass { max-height: calc(100svh - 8rem); overflow: auto; } }
  .chapter__word { font-size: clamp(3.25rem, 1rem + 13vw, 7rem); }
}
@media (max-width: 560px) { .chapter__cta .btn { width: 100%; justify-content: center; } .story__hint { display: none; } }

/* ─── Documents rail (horizontal) ─── */
.rail-wrap { position: relative; }
.docrail { list-style: none; scrollbar-color: var(--line-2) transparent; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(24rem, 30rem); gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1.25rem; margin: 0 -.25rem; scrollbar-width: thin; }
.docrail > .doc { scroll-snap-align: start; }
.docrail .kv { grid-template-columns: 1fr; gap: .15rem; }
.docrail .kv dd { border-top: 0; padding-top: 0; padding-bottom: .6rem; }
.docrail .kv dt { padding-top: .6rem; }
.rail-nav { display: flex; gap: .5rem; justify-content: flex-end; margin-top: .5rem; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--fg); display: grid; place-items: center; transition: transform 160ms var(--ease-out), background-color 150ms ease; }
.rail-btn[data-dir="-1"] .ic { transform: rotate(180deg); }
.rail-btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .rail-btn:hover { background: rgba(255,255,255,.1); } }
@media (max-width: 560px) { .docrail { grid-auto-columns: 86vw; } }

.faq__more { margin-top: var(--s-4); padding-top: 1.2rem; color: var(--fg-2); font-size: 1.05rem; }
.faq__more a { color: var(--blue); text-decoration: none; font-weight: 500; }
.faq__more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sec__note a { color: var(--blue); text-decoration: none; }
.sec__note a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ─── Incident: one huge rounded panel ─── */
.incident__panel { border-radius: 28px; background: linear-gradient(120deg, #C1061F, #E9072B 60%); border: 1px solid rgba(255,255,255,.22); padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); align-items: center; color: #fff; box-shadow: 0 30px 80px -30px rgba(233,7,43,.45); }
.incident h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.incident__now { margin-top: 1rem; color: #fff; font-size: .95rem; }
.incident__now time { font-weight: 700; font-variant-numeric: tabular-nums; }
.incident p { margin-top: .75rem; color: #fff; max-width: 30rem; }
.incident__phone { display: grid; gap: .35rem; justify-items: start; text-decoration: none; color: var(--on-accent); padding: clamp(1.25rem, 3vw, 2rem); border-radius: 20px; background: var(--paper-2); border: 0; transition: transform 160ms var(--ease-out), box-shadow 160ms ease; box-shadow: 0 18px 50px -18px rgba(0,0,0,.55); }
.incident__label { position: relative; color: #E9072B; font-size: .95rem; font-weight: 500; display: inline-flex; align-items: center; gap: .55rem; }
.incident__label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #E9072B; }
.incident__label::after { content: ""; position: absolute; left: 0; top: 50%; margin-top: -4.5px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #E9072B; animation: beacon 2.2s var(--ease-out) infinite; }
@keyframes beacon { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(3); opacity: 0; } }
.incident__num { font-size: clamp(1.75rem, .6rem + 3.1vw, 4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--on-accent); }
.incident__go { display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; color: #E9072B; font-weight: 500; }
.incident__phone:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .incident__phone:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -20px rgba(0,0,0,.65); } }
.incident :focus-visible { outline-color: #fff; }
.incident .incident__phone:focus-visible { outline-color: var(--on-accent); }
@media (max-width: 900px) { .incident__panel { grid-template-columns: 1fr; } }

/* ─── Sections ─── */
.sec { position: relative; padding-block: clamp(5rem, 11vw, 9rem); scroll-margin-top: 3.5rem; }
.sec + .sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }
.sec__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec__head--tight { margin-bottom: 0; }
.sec__lede { margin-top: var(--s-4); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.sec__note { margin-top: var(--s-5); color: var(--fg-3); font-size: .95rem; max-width: 46rem; }

/* ─── Rail: first thirty days ─── */
.rail { container-type: inline-size; list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-5); position: relative; padding-top: 2.5rem; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line-2); }
.rail::after { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0,153,255,.18), 0 0 16px rgba(0,153,255,.7); translate: -50% 0; }
@supports (animation-timeline: view()) {
  .rail::after { animation: marker-run linear both; animation-timeline: view(); animation-range: entry 25% cover 70%; }
  @keyframes marker-run { from { transform: translateX(0); } to { transform: translateX(100cqw); } }
}
@supports not (animation-timeline: view()) { .rail::after { left: 100%; } }
.stop { position: relative; }
.stop::before { content: ""; position: absolute; left: 0; top: calc(-2.5rem + 2px); width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--fg-3); }
.rail--5 { grid-template-columns: repeat(5, 1fr); }
.stop__day { display: block; font-weight: 500; font-size: .9rem; color: var(--blue); margin-bottom: .5rem; }
.stop h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: .5rem; letter-spacing: -0.01em; }
.stop p { color: var(--fg-2); font-size: .95rem; line-height: 1.5; }
@media (max-width: 1024px) and (min-width: 700px) {
  .rail, .rail--5 { grid-template-columns: repeat(3, 1fr); row-gap: var(--s-6); }
  .rail::before, .rail::after { display: none; }
  .stop::after { content: ""; position: absolute; left: 12px; right: -2rem; top: calc(-2.5rem + 6px); height: 1px; background: var(--line-2); }
  .stop:nth-child(3n)::after { right: 0; }
}
@media (max-width: 699.98px) {
  .rail, .rail--5 { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-left: 2rem; }
  .rail::before { left: 4px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .rail::after { display: none; }
  .stop { padding-bottom: 2rem; }
  .stop::before { left: -2rem; top: 4px; }
  .stop:last-child { padding-bottom: 0; }
}

/* ─── Paper passage: what you receive ─── */
.doc { background: rgba(255,255,255,.035); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; backdrop-filter: blur(12px) saturate(130%); -webkit-backdrop-filter: blur(12px) saturate(130%); }
.doc__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: .8rem 1.4rem; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--fg-3); background: rgba(255,255,255,.02); }
.doc__sample { color: var(--blue); border: 1px solid currentColor; border-radius: 999px; padding: .05rem .55rem; font-size: .85rem; font-weight: 500; }
.doc__body { padding: 1.6rem 1.6rem 1.9rem; }
.doc__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: .85rem; color: var(--fg-3); }
.doc__time { font-family: var(--mono); font-size: 1rem; color: var(--fg); }
.sev { padding: .15rem .6rem; border-radius: 999px; background: rgba(255,59,87,.18); color: #FFB3BE; font-weight: 500; font-size: .85rem; }
.doc h3 { font-size: 1.3rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 1.1rem; }
.kv { display: grid; grid-template-columns: 9.5rem 1fr; gap: .6rem 1.25rem; margin: 0; font-size: .98rem; }
.kv dt { font-weight: 500; color: var(--blue); }
.kv dd { margin: 0; color: var(--fg-2); }
.kv dt, .kv dd { border-top: 1px solid var(--line); padding-top: .6rem; }
@media (max-width: 480px) { .kv { grid-template-columns: 1fr; gap: .15rem; } .kv dd { border-top: 0; padding-top: 0; padding-bottom: .5rem; } }
.doc--alert { border-color: rgba(255,59,87,.28); }
.doc--alert .doc__head { background: rgba(255,59,87,.10); color: #FFC7CE; }
.doc--alert .doc__sample { color: #FFB3BE; }
.receive__foot { margin-top: var(--s-6); max-width: 46rem; font-size: 1.15rem; line-height: 1.5; color: var(--fg-2); }
.receive__foot em { font-style: normal; font-weight: 500; color: var(--fg); }

/* ─── Services ─── */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.col { background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.col--mdr { background: linear-gradient(180deg, rgba(42,86,198,.16), rgba(42,86,198,.04) 60%, rgba(255,255,255,.02)); border-color: rgba(110,160,255,.25); }
.col__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-2); }
.col__head h3 { font-size: 1.75rem; font-weight: 300; }
.col__tag { font-size: .92rem; color: var(--fg-3); }
.col--mdr .col__tag { color: var(--blue); }
.col__list { list-style: none; flex: 1; }
.col__list > li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.col__list > li:last-child { border-bottom: 0; }
.col__list > li > div > b { display: block; font-weight: 500; font-size: 1.08rem; letter-spacing: -0.01em; margin-bottom: .25rem; }
.col__list > li > div > p { color: var(--fg-2); font-size: .95rem; line-height: 1.5; }
.picto { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--fg-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: .1rem; }
.col--mdr .picto { stroke: var(--blue); }
.col .link { margin-top: 1rem; align-self: flex-start; }

/* ─── Customers: quotes, logos ─── */
.quotes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }
.quote { display: flex; flex-direction: column; gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 1.08rem; line-height: 1.55; color: var(--fg); text-wrap: pretty; }
.quote__who { display: flex; align-items: center; gap: .85rem; color: var(--fg-2); font-size: .95rem; margin-top: auto; }
.quote__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote__who b { color: var(--fg); font-weight: 500; }
.logos { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-5); align-items: center; }
.logos__h { color: var(--fg-2); font-size: 1rem; max-width: 22rem; }
.logos__list { list-style: none; display: flex; flex-wrap: wrap; gap: 2.5rem 3rem; align-items: center; }
.logos__list img { height: 38px; width: auto; opacity: .72; }
@media (max-width: 760px) { .logos { grid-template-columns: 1fr; } .logos__list img { height: 28px; } }
/* expandable customer story under a quote */
.story-more { border-top: 1px solid var(--line); padding-top: .75rem; }
.story-more summary { cursor: pointer; list-style: none; color: var(--blue); font-weight: 500; display: flex; align-items: center; gap: .5rem; min-height: 44px; }
.story-more summary::-webkit-details-marker { display: none; }
.story-more summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-1px,-1px); transition: transform 220ms var(--ease-out); }
.story-more[open] summary::after { transform: rotate(225deg) translate(-1px,-1px); }
.story-more__body { color: var(--fg-2); font-size: .98rem; line-height: 1.55; padding-bottom: .5rem; }
.story-more__body p + p { margin-top: .8em; }
/* ─── About ─── */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; gap: var(--s-5); } }
.about__text { color: var(--fg-2); font-size: 1.08rem; line-height: 1.6; }
.about__text p + p { margin-top: 1.1em; }
.about__text .link { margin-top: 1rem; }
.contact__person { display: flex; align-items: center; gap: 1rem; margin-top: var(--s-5); }
.contact__person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.contact__person b { color: var(--fg); font-weight: 500; font-size: 1.08rem; }
.contact__person span { color: var(--fg-3); font-size: .95rem; }
.contact__lines { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-size: 1.15rem; }
.contact__lines a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: .1rem; }
@media (hover: hover) and (pointer: fine) { .contact__lines a:hover { border-color: var(--blue); } }
.sec__head .link { margin-top: 1rem; }

/* ─── Who ─── */
.who__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
@media (max-width: 900px) { .who__grid { grid-template-columns: 1fr; gap: var(--s-5); } }
.roster { margin: 0; border-top: 1px solid var(--line-2); }
.roster__row { display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.roster__row dt { font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; }
.roster__row dd { margin: 0; color: var(--fg-2); }
@media (max-width: 560px) { .roster__row { grid-template-columns: 1fr; gap: .4rem; } }

/* ─── Fare table ─── */
.fare { width: 100%; border-collapse: collapse; font-size: .98rem; border-top: 1px solid var(--line-2); }
.fare thead th { text-align: left; padding: .9rem 1rem .9rem 0; font-weight: 500; font-size: .92rem; color: var(--fg-3); border-bottom: 1px solid var(--line-2); }
.fare tbody th, .fare tbody td { padding: 1.05rem 1rem 1.05rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.fare tbody th { font-weight: 500; white-space: nowrap; }
.fare tbody td { color: var(--fg-2); }
@media (max-width: 800px) {
  .fare thead { display: none; }
  .fare, .fare tbody, .fare tr, .fare th, .fare td { display: block; }
  .fare tr { padding: .6rem 0; border-bottom: 1px solid var(--line-2); }
  .fare tbody th, .fare tbody td { border: 0; padding: .3rem 0; }
  .fare tbody th { padding-top: .8rem; font-size: 1.05rem; }
  .fare tbody td::before { content: attr(data-l); display: block; font-size: .85rem; font-weight: 500; color: var(--fg-3); }
  .fare tbody td:last-child { padding-bottom: .9rem; }
}

/* ─── FAQ ─── */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; gap: var(--s-5); } }
.faq__list { border-top: 1px solid var(--line-2); }
.q { border-bottom: 1px solid var(--line); }
.q summary { list-style: none; cursor: pointer; transition: color 150ms ease, transform 160ms var(--ease-out); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 1.2rem 0; font-weight: 400; font-size: 1.15rem; letter-spacing: -0.01em; min-height: 44px; }
.q summary::-webkit-details-marker { display: none; }
.q summary:active { transform: scale(.99); }
.q summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--fg-2); border-bottom: 1.5px solid var(--fg-2); transform: rotate(45deg) translate(-2px,-2px); transition: transform 220ms var(--ease-out); margin-right: 4px; }
.q[open] summary::after { transform: rotate(225deg) translate(-2px,-2px); }
.q__a { padding: 0 0 1.35rem; color: var(--fg-2); max-width: 60ch; }
@supports selector(details::details-content) {
  .q::details-content { block-size: 0; overflow: clip; transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete; }
  .q[open]::details-content { block-size: auto; }
}
@media (hover: hover) and (pointer: fine) { .q summary:hover { color: var(--accent); } }

/* ─── Contact ─── */
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s-7); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; gap: var(--s-6); } }
.next { margin-top: var(--s-5); list-style: none; counter-reset: n; display: grid; gap: .9rem; max-width: 34rem; }
.next li { counter-increment: n; display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; align-items: baseline; color: var(--fg-2); }
.next li::before { content: counter(n); font-weight: 500; font-size: .85rem; color: var(--blue); border: 1px solid rgba(0,153,255,.5); width: 1.8rem; height: 1.8rem; border-radius: 50%; display: inline-grid; place-items: center; translate: 0 .3rem; }
.next strong { color: var(--fg); font-weight: 500; }
.contact__privacy { margin-top: var(--s-5); color: var(--fg-3); font-size: .95rem; max-width: 34rem; }
.form { background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; box-shadow: var(--shadow); }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 500; font-size: .95rem; }
.field__opt { font-weight: 400; color: var(--fg-3); font-size: .88rem; margin-left: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; min-height: 48px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(6,16,31,.6); color: var(--fg); transition: border-color 150ms ease, box-shadow 150ms ease; }
.field textarea { resize: vertical; min-height: 5.5rem; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B4C0D6' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.5rem; }
.field select option { background: var(--bg-2); color: var(--fg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,153,255,.22); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--alarm); }
.field__error { color: #FFB3BE; font-size: .9rem; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn .btn__busy { display: none; }
.form.is-busy .btn__label { display: none; }
.form.is-busy .btn__busy { display: inline; }
.form.is-busy .btn { opacity: .8; pointer-events: none; }
.form__status { color: var(--fg-2); min-height: 1.5em; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: #FFB3BE; }
.form .field, .form .btn { transition: opacity 220ms ease, filter 220ms ease, transform 260ms var(--ease-out); }
.form.is-sent .field, .form.is-sent .btn { opacity: 0; filter: blur(6px); transform: translateY(-8px); pointer-events: none; }
.form.is-clean .field, .form.is-clean .btn { display: none; }
.form.is-sent .form__status { animation: rise-in 320ms var(--ease-out) both; animation-delay: 200ms; }
.form.is-sent .form__status { font-size: 1.15rem; color: var(--fg); }

/* ─── Footer ─── */
.foot { position: relative; z-index: 1; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: var(--s-8) auto var(--s-4); padding: clamp(1.75rem, 4vw, 3rem); background: rgba(8,20,40,.55); border: 1px solid var(--line-2); border-radius: 24px; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); color: var(--fg-3); font-size: .95rem; }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s-6); }
.foot__desc { margin-top: 1rem; color: var(--fg-2); max-width: 38ch; }
.foot__addr { margin-top: .9rem; }
.foot__addr a { color: var(--fg-2); text-decoration: none; }
.foot__social { display: flex; gap: .6rem; margin-top: var(--s-4); }
.btn--icon { width: 42px; min-height: 42px; padding: 0; justify-content: center; border-radius: 50%; }
.ic--fill { fill: currentColor; stroke: none; width: 1.2em; height: 1.2em; }
.foot__h { font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.foot__col ul { list-style: none; margin-top: var(--s-3); display: grid; gap: .55rem; }
.foot__col a { color: var(--fg-2); text-decoration: none; display: inline-block; padding: .1rem 0; transition: color 150ms ease, transform 160ms var(--ease-out); }
.foot__col a:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .foot__col a:hover, .foot__addr a:hover { color: var(--fg); } }
.foot__bottom { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3) var(--s-5); flex-wrap: wrap; }
.foot__legal a { color: var(--fg-2); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot__legal a:hover { color: var(--fg); } }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot__top { grid-template-columns: 1fr; } }

/* ─── Legal pages ─── */
.legal__main { padding-top: clamp(7rem, 14vh, 9rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.legal__wrap { max-width: 44rem; }
.legal h1 { font-size: clamp(2.5rem, 2rem + 2vw, 4rem); margin-bottom: var(--s-4); }
.legal h2 { font-size: 1.35rem; font-weight: 500; margin-top: var(--s-6); margin-bottom: var(--s-3); }
.legal p { color: var(--fg-2); }
.legal p + p { margin-top: .9em; }
.legal__dl { margin: var(--s-5) 0; display: grid; grid-template-columns: 12rem 1fr; gap: .8rem 1.5rem; border-top: 1px solid var(--line-2); padding-top: var(--s-4); }
.legal__dl dt { font-weight: 500; }
.legal__dl dd { margin: 0; color: var(--fg-2); }
@media (max-width: 560px) { .legal__dl { grid-template-columns: 1fr; gap: .2rem .5rem; } .legal__dl dd { margin-bottom: .6rem; } }
.legal code { font-family: var(--mono); font-size: .92em; }
.legal__body { color: var(--fg-2); }
.legal__body h2, .legal__body h3, .legal__body h4 { color: var(--fg); font-weight: 500; margin-top: var(--s-6); margin-bottom: var(--s-3); font-size: 1.25rem; letter-spacing: -0.01em; }
.legal__body h4 { font-size: 1.05rem; }
.legal__body p, .legal__body li { margin-bottom: .8em; }
.legal__body ul { padding-left: 1.2rem; list-style: disc; }
.legal__body a { color: var(--blue); }
.legal__body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal__body td, .legal__body th { border-top: 1px solid var(--line); padding: .5rem .5rem .5rem 0; text-align: left; vertical-align: top; }
.legal .nav { background: rgba(6,16,31,.72); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.legal__body { line-height: 1.65; }
.legal__body h2, .legal__body h3, .legal__body h4 { scroll-margin-top: 6.5rem; }
.legal__toc { margin: var(--s-5) 0 var(--s-6); padding: var(--s-4) var(--s-5); background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--r-lg); }
.legal__toc-h { font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--s-3); }
.legal__toc ol { list-style: none; columns: 2; column-gap: var(--s-5); font-size: .95rem; }
.legal__toc li { break-inside: avoid; }
.legal__toc a { color: var(--fg-2); text-decoration: none; display: inline-block; padding: .18rem 0; }
@media (hover: hover) and (pointer: fine) { .legal__toc a:hover { color: var(--fg); } }
@media (max-width: 640px) { .legal__toc ol { columns: 1; } }
.legal__foot-links { display: flex; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-5); }
.legal__part { margin-top: var(--s-8); padding-top: var(--s-4); border-top: 1px solid var(--line-2); font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.legal__sum { margin: var(--s-4) 0; padding: 1rem 1.25rem; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--r-lg); }
.legal__sum-h { font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: .6rem; }
.legal__sum ul { list-style: none; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.legal__sum li { margin: 0; }
.legal__tldr { padding: .9rem 1.15rem; background: rgba(0,153,255,.08); border-left: 3px solid var(--accent); border-radius: 0 var(--r-lg) var(--r-lg) 0; color: var(--fg); }
.legal__toc-group { margin-top: var(--s-4); }
.legal__toc-group > p { font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.legal__toc-group ol { list-style: none; columns: 2; column-gap: var(--s-5); font-size: .95rem; }
@media (max-width: 640px) { .legal__toc-group ol { columns: 1; } }

/* ─── Entrances ─── */
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  /* the arrival, once: headline, promise, action */
  .chapter--arrive h1, .chapter--arrive .chapter__lede, .chapter--arrive .chapter__cta { animation: rise-in 560ms var(--ease-out) both; }
  .chapter--arrive h1 { animation-delay: 80ms; }
  .chapter--arrive .chapter__lede { animation-delay: 180ms; }
  .chapter--arrive .chapter__cta { animation-delay: 260ms; }
  /* the situations arrive as the panel does */
  .chapter--sit.is-active .sit li { animation: rise-in 300ms var(--ease-out) both; }
  .chapter--sit.is-active .sit li:nth-child(1) { animation-delay: 60ms; }
  .chapter--sit.is-active .sit li:nth-child(2) { animation-delay: 100ms; }
  .chapter--sit.is-active .sit li:nth-child(3) { animation-delay: 140ms; }
  .chapter--sit.is-active .sit li:nth-child(4) { animation-delay: 180ms; }
  .chapter--sit.is-active .sit li:nth-child(5) { animation-delay: 220ms; }
  .chapter--sit.is-active .sit li:nth-child(6) { animation-delay: 260ms; }
  .chapter--sit.is-active .sit li:nth-child(7) { animation-delay: 300ms; }
  /* below the story: blocks arrive as the flight reaches them (off the main thread) */
  @supports (animation-timeline: view()) {
    .sec__head, .stop, .docrail > .doc, .col, .csf, .quote, .logos, .about__text, .roster__row, .q, .incident__panel, .form {
      animation: rise-in linear both; animation-timeline: view(); animation-range: entry 6% entry 40%;
    }
  }
}

/* Service entries: sub-steps and small print */
.svc-sub { list-style: none; margin-top: .65rem; display: grid; gap: .4rem; }
.svc-sub li { position: relative; padding-left: 1.05rem; font-size: .9rem; line-height: 1.5; color: var(--fg-3); }
.svc-sub li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.svc-sub li b { color: var(--fg-2); font-weight: 500; }
.svc-note, .col__list .svc-note { margin-top: .65rem; font-size: .85rem; line-height: 1.55; color: var(--fg-3); }

/* NIST CSF 2.0 coverage line in the services section */
.csf { margin-top: var(--s-6); color: var(--fg-2); max-width: 62rem; line-height: 2; }
.csf__fn { display: inline-block; margin: 0 .15rem; padding: .2rem .7rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .85rem; color: var(--fg-2); white-space: nowrap; }


/* Certification chips in the about section */
.certs__h { margin-top: var(--s-5); color: var(--fg-3); font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.certs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-3); }
.certs li { padding: .45rem .9rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9rem; color: var(--fg-2); }

.contact__book { margin-top: var(--s-4); }

/* ─── Motion preferences ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rail::after { left: 100%; animation: none; }
  .hero__scroll .ic { animation: none; }
}
