/* =====================================================================
   Luminovo-style design system (spec docs/superpowers/specs/2026-09-28-
   luminovo-redesign-design.md). Tokens measured on luminovo.com on
   28.09.2026. One light theme with dark sections. No external resources.
   ===================================================================== */
:root {
  --night: #05060f;
  --navy: #11152f;
  --indigo: #5767ec;
  --indigo-ink: #3a47c9;
  --indigo-tint: #eceefd;
  --lavender: #a9aef5;
  --lavender-2: #cfd3ff;
  --on-dark: #e8e9f5;
  --on-dark-muted: #b9bdd6;
  --grey: #f3f3f3;
  --paper: #ffffff;
  --ink: #11152f;
  --muted: #4c5366;
  --line: #d9dbe6;
  --line-soft: #e8e9ef;
  --rose: #e0607a;
  --amber: #f0b35b;
  --ok-fg: #1f6b46; --ok-bg: #e3f3ea;
  --warn-fg: #8a5300; --warn-bg: #fff0d6;
  --neutral-fg: #4c5366; --neutral-bg: #eef0f6;
  --human-fg: #3a47c9; --human-bg: #eceefd;
  --todo-bg: #ffe066; --todo-fg: #3d3000;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --inset: 8px;
  --r-card: 16px;
  --r-frame: 24px;
  --r-pill: 100px;
  --nav-h: 60px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow: radial-gradient(55% 60% at 10% 25%, rgba(30, 90, 200, 0.42), transparent 70%),
    radial-gradient(45% 55% at 90% 80%, rgba(200, 60, 70, 0.28), transparent 70%);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 76px); }
body { font-family: var(--font); font-optical-sizing: auto; font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: var(--indigo-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
ul, ol { padding: 0; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
.hero :focus-visible, .nav :focus-visible, .sec--dark :focus-visible, .card--dark :focus-visible, .quote__offer :focus-visible, .flip--dark :focus-visible { outline-color: var(--lavender-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.no-js .js-only { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--r-pill); }
.skip:focus { top: 12px; }
.todo { background: var(--todo-bg); color: var(--todo-fg); padding: 0 4px; border-radius: 3px; font-size: 0.85em; }
.draft-banner { background: var(--todo-bg); color: var(--todo-fg); text-align: center; font-size: 0.8125rem; padding: 6px var(--gutter); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px;
  border-radius: var(--r-pill); border: 1px solid transparent; font-size: 0.9375rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.pill:hover { transform: translateY(-1px); text-decoration: none; }
.pill--light { background: #eef0f6; color: var(--navy); }
.pill--light:hover { background: #fff; }
.pill--glass { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.pill--glass:hover { background: rgba(255, 255, 255, 0.14); }
.pill--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.pill--outline:hover { background: var(--navy); color: #fff; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.nav__inner { max-width: 1400px; margin: 0 auto; height: var(--nav-h); padding: 0 var(--gutter); display: flex; align-items: center; gap: 16px; }
.nav__brand { color: #fff; text-decoration: none; font-size: 1.0625rem; letter-spacing: -0.01em; white-space: nowrap; }
.nav__links { display: none; margin-left: auto; }
.nav__links ul { list-style: none; display: flex; gap: 28px; }
.nav__links a { color: var(--on-dark); text-decoration: none; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 0; }
.nav__links a:hover, .nav__links a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--lavender); }
.nav__tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
@media (min-width: 1000px) { .nav__links { display: block; } .nav__tools { margin-left: 28px; } }
.nav__search {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.24); color: var(--on-dark); font-size: 0.8125rem; cursor: pointer;
}
.nav__search kbd { font: inherit; font-size: 0.75rem; border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 5px; padding: 0 6px; }
.nav__lang { display: flex; gap: 2px; }
.nav__lang a { color: var(--on-dark); text-decoration: none; font-size: 0.8125rem; padding: 6px 8px; border-radius: 8px; min-width: 36px; text-align: center; }
.nav__lang a[aria-current='page'] { background: #fff; color: var(--navy); }
.nav__cta { display: none; min-height: 38px; padding: 7px 18px; font-size: 0.875rem; }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }
.nav__search-icon { display: none; }
@media (hover: none) { .nav__search kbd { display: none; } }
@media (max-width: 420px) {
  .nav__search { padding: 6px 10px; }
  .nav__search-icon { display: block; }
  .nav__search kbd { display: none; }
  .nav__search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; margin: var(--inset); border-radius: var(--r-frame); background: var(--night); color: #fff; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--glow); }
.hero__inner { position: relative; max-width: 1120px; margin: 0 auto; padding: clamp(56px, 9vw, 112px) var(--gutter) clamp(150px, 16vw, 210px); text-align: center; }
.hero__chip { display: inline-flex; align-items: center; gap: 9px; text-wrap: balance; text-align: left; font-size: 0.8125rem; color: var(--lavender-2); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--r-pill); padding: 4px 14px 4px 4px; background: rgba(255, 255, 255, 0.04); }
/* sender line with portrait (Furkan, 28.09.2026, variant B): the face tells readers at once that this is his application page */
.hero__photo { flex: none; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3); }
.hero__title { margin: 22px auto 0; max-width: 16ch; font-weight: 300; font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; color: var(--lavender); }
.hero__rot { display: inline-block; color: #fff; transition: opacity 0.22s, transform 0.22s var(--ease); }
.hero__rot.is-out { opacity: 0; transform: translateY(0.25em); }
.hero__sub { margin: 22px auto 0; max-width: 42ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--on-dark); }
.hero__where { margin-top: 10px; font-size: 0.875rem; color: var(--on-dark-muted); }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.tagwrap { position: relative; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 5px 14px; border-radius: 70px;
  border: 1px solid rgba(255, 255, 255, 0.26); background: rgba(255, 255, 255, 0.05); color: var(--lavender-2); font-size: 0.875rem; cursor: pointer;
}
.tag__cursor { width: 10px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 62%, 52% 64%, 30% 100%); }
.tag__fact {
  position: absolute; left: 50%; top: calc(100% + 8px); z-index: 3; transform: translateX(-50%); width: max-content; max-width: 240px;
  background: #fff; color: var(--navy); font-size: 0.8125rem; line-height: 1.4; text-align: left; padding: 7px 11px; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(5, 6, 15, 0.35); opacity: 0; visibility: hidden; transition: opacity 0.18s; pointer-events: none;
}
.tag:focus-visible + .tag__fact, .tag[aria-expanded='true'] + .tag__fact { opacity: 1; visibility: visible; }
/* Hover only for real pointers: on touch a sticky :hover kept the bubble open after a second tap closed it. */
@media (hover: hover) { .tagwrap:hover .tag__fact { opacity: 1; visibility: visible; } }
/* Below 1100 px the tags sit in one row under the buttons: the bubble is centred above that row,
   so it is never clipped by the hero edge or hidden under the dashboard (live check 28.09.2026). */
@media (max-width: 1099px) {
  .hero__tags { position: relative; }
  .tagwrap { position: static; }
  .tag__fact { top: auto; bottom: calc(100% + 10px); width: min(340px, calc(100% - 16px)); max-width: none; text-align: center; }
}
@media (min-width: 1100px) {
  .hero__tags { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; }
  .tagwrap { position: absolute; pointer-events: auto; transform: translate(var(--px, 0px), var(--py, 0px)); transition: transform 0.35s var(--ease); }
  .tagwrap--0 { left: 6%; top: 38%; }
  .tagwrap--1 { right: 6%; top: 24%; }
  .tagwrap--2 { left: 10%; top: 56%; }
  .tagwrap--3 { right: 9%; top: 48%; }
  .tagwrap > .tag { animation: drift 7s ease-in-out infinite; }
  .tagwrap--1 > .tag { animation-duration: 8s; animation-delay: -2s; }
  .tagwrap--2 > .tag { animation-duration: 9s; animation-delay: -4s; }
  .tagwrap--3 > .tag { animation-duration: 6.5s; animation-delay: -1s; }
  .tagwrap:hover > .tag, .tagwrap > .tag:focus-visible, .tagwrap > .tag[aria-expanded='true'] { animation-play-state: paused; }
}
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -7px); } }

/* ---------- Dashboard ---------- */
.dash { position: relative; z-index: 2; max-width: 1100px; margin: calc(-1 * clamp(120px, 13vw, 170px)) auto 0; padding: 0 var(--gutter); }
.dash__frame { background: var(--paper); border-radius: var(--r-frame); padding: clamp(14px, 2vw, 22px); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06), 0 30px 60px -20px rgba(5, 6, 15, 0.45); }
.dash__grid { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 880px) { .dash__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dash__card { border: 1px solid var(--line-soft); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dash__label { font-size: 0.8125rem; color: var(--muted); }
.dash__value { font-weight: 300; font-size: clamp(1.25rem, 2.6vw + 0.4rem, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash__unit { font-size: 0.5em; color: var(--muted); letter-spacing: 0; }
.bar { display: block; height: 4px; margin-top: auto; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: inherit; background: var(--indigo); transition: width 1.1s var(--ease); }
.dash__card--rose .bar__fill { background: var(--rose); }
.js .dash:not(.is-live) .bar__fill { width: 0; }
.dash__intro { max-width: 72ch; margin: 18px auto 4px; text-align: center; color: var(--muted); font-size: 0.9375rem; }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec--grey { background: var(--grey); margin: 0 var(--inset); border-radius: var(--r-frame); }
.sec--dark { position: relative; overflow: hidden; background: var(--night); color: #fff; margin: var(--inset); border-radius: var(--r-frame); isolation: isolate; }
.sec--dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 110%, rgba(30, 90, 200, 0.45), transparent 70%), radial-gradient(35% 45% at 95% 0%, rgba(200, 60, 70, 0.22), transparent 70%); }
.sec--chain { padding-bottom: clamp(48px, 7vw, 96px); }
.sec__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sec__inner--narrow { max-width: 820px; }
.sec__head { margin-bottom: clamp(32px, 5vw, 56px); text-align: center; }
.sec__over { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo-ink); }
.sec__title { margin-top: 12px; font-weight: 300; font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; letter-spacing: -0.022em; }
.sec__title strong { font-weight: inherit; color: var(--indigo); }
.sec__intro { margin: 16px auto 0; max-width: 60ch; font-size: clamp(1rem, 1.4vw, 1.1875rem); color: var(--muted); }
.sec--dark .sec__over { color: var(--lavender-2); }
.sec--dark .sec__title strong { color: var(--lavender); }
.sec--dark .sec__intro { color: var(--on-dark); }

/* ---------- Cards and bento ---------- */
.bento { list-style: none; display: grid; gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: clamp(22px, 3vw, 32px); }
.sec--grey .card { border-color: transparent; }
.card--dark { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; border-color: transparent; }
.card--dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 100% 100%, rgba(200, 60, 70, 0.3), transparent 70%), radial-gradient(50% 60% at 0% 0%, rgba(30, 90, 200, 0.35), transparent 70%); }
.card__title { font-weight: 300; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.015em; }
.card__text { margin-top: 12px; color: var(--muted); }
.card--dark .card__text { color: var(--on-dark); }
.card--dark a { color: var(--lavender-2); }
@media (min-width: 900px) { .bento--why { grid-template-columns: 1.25fr 1fr 1fr; } .bento--why .card { min-height: 260px; } }

/* ---------- Status chips ---------- */
.status, .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); font-size: 0.75rem; font-weight: 500; line-height: 1; white-space: nowrap; }
.status--ok, .chip--ok { background: var(--ok-bg); color: var(--ok-fg); }
.status--warn, .chip--partial { background: var(--warn-bg); color: var(--warn-fg); }
.status--neutral, .chip--pending { background: var(--neutral-bg); color: var(--neutral-fg); }
.status--human { background: var(--human-bg); color: var(--human-fg); }

/* ---------- BOM to quote ---------- */
.quote { display: grid; gap: 16px; }
@media (min-width: 960px) { .quote { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; } }
.quote__list { background: var(--paper); border-radius: var(--r-card); padding: clamp(18px, 2.4vw, 28px); }
.quote__caption { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.quote__rows { list-style: none; }
.quote__row { display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.quote__pos { font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.quote__req { font-weight: 500; }
.quote__chips { grid-column: 3; grid-row: 1; }
.quote__ev { grid-column: 2 / 4; font-size: 0.9375rem; color: var(--muted); text-decoration: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.quote__ev:hover { color: var(--indigo-ink); text-decoration: underline; }
.quote__row .chip--pending { display: none; }
.quote__row.is-pending .chip--pending { display: inline-flex; }
.quote__row.is-pending .chip--ok, .quote__row.is-pending .chip--partial { display: none; }
.quote__row.is-pending .quote__ev { opacity: 0; transform: translateY(-4px); }
.quote__source { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); }
.quote__offer { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 6px; background: var(--navy); color: #fff; border-radius: var(--r-card); padding: clamp(22px, 3vw, 32px); }
.quote__offer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 100% 0%, rgba(87, 103, 236, 0.35), transparent 70%); }
@media (min-width: 960px) { .quote__offer { position: sticky; top: calc(var(--nav-h) + 20px); } }
.quote__label { margin-top: 10px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lavender-2); }
.quote__label:first-child { margin-top: 0; }
.quote__total { font-weight: 300; font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.quote__sub { color: var(--on-dark); }
.quote__segs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 10px 0 6px; }
.quote__seg { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); transition: background-color 0.3s; }
.quote__seg.is-ok { background: var(--lavender); }
.quote__seg.is-partial { background: var(--amber); }
.quote__delivery { font-size: 1.0625rem; }
.quote__roles { display: inline-flex; justify-self: start; gap: 4px; margin-top: 8px; padding: 4px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); }
.quote__role { min-height: 36px; padding: 6px 16px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--on-dark); font-size: 0.875rem; cursor: pointer; }
.quote__role[aria-pressed='true'] { background: #fff; color: var(--navy); }
.quote__run { justify-self: start; margin-top: 14px; }

/* ---------- Supply chain rail ---------- */
.chain { position: relative; }
.rail { position: sticky; top: var(--nav-h); z-index: 20; background: #fff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.rail__inner { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--gutter) 10px; display: flex; align-items: center; gap: 12px; }
.rail__arrow { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--navy); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.rail__arrow:hover { background: var(--navy); color: #fff; }
.rail__arrow svg { width: 16px; height: 16px; }
.rail__line { position: relative; flex: 1; min-width: 0; }
.rail__track { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 13px; height: 2px; background: var(--line); }
.rail__fill { position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--indigo); }
.rail__pkg { position: absolute; top: -30px; left: calc(var(--p, 0) * 100%); width: 18px; height: 16px; margin-left: -9px; border-radius: 4px; background: var(--navy); z-index: 1; }
.rail__pkg::before { content: ''; position: absolute; left: 50%; bottom: -5px; margin-left: -4px; border: 4px solid transparent; border-top-color: var(--navy); border-bottom: 0; }
.rail__pkg::after { content: ''; position: absolute; left: 3px; right: 3px; top: 5px; height: 2px; background: var(--lavender); }
.rail__stops { position: relative; list-style: none; display: flex; justify-content: space-between; }
.rail__stops > li { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }
.rail__stop { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 28px; max-width: 100%; color: var(--muted); font-size: 0.75rem; text-align: center; text-decoration: none; }
.rail__n { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line); color: var(--muted); font-size: 0.75rem; font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.rail__name { display: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1000px) { .rail__name { display: block; } }
.rail__stop.is-done .rail__n { border-color: var(--indigo); color: var(--indigo-ink); }
.rail__stop.is-now { color: var(--ink); }
.rail__stop.is-now .rail__n { background: var(--indigo); border-color: var(--indigo); color: #fff; }

/* ---------- Stations ---------- */
.stations { max-width: var(--maxw); margin: 0 auto; padding: 32px var(--gutter) 0; display: grid; gap: 24px; }
.station__card { display: grid; gap: 28px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-frame); padding: clamp(22px, 3.5vw, 44px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
@media (min-width: 1000px) {
  .station__card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 48px; }
  .station--wide .station__card { grid-template-columns: minmax(0, 1fr); }
  .station__head { position: sticky; top: calc(var(--nav-h) + 96px); align-self: start; }
  .station--wide .station__head { position: static; max-width: 60ch; }
}
.js .station:not(.is-in) .station__card { opacity: 0; transform: translateY(28px); }
.station__pos { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo-ink); }
.station__of { color: var(--muted); }
.station__title { margin-top: 10px; font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
.station__lede { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }
.station__label { margin-bottom: 12px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bring { list-style: none; display: grid; gap: 12px; }
@media (min-width: 720px) { .bring { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bring__item { display: flex; flex-direction: column; gap: 10px; background: var(--grey); border-radius: var(--r-card); padding: 18px 20px; }
.bring__ev { margin-top: auto; font-size: 0.875rem; color: var(--muted); }
.bring__evl { display: inline-block; margin-right: 6px; padding: 3px 8px; border-radius: var(--r-pill); background: var(--indigo-tint); color: var(--indigo-ink); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Proposals ---------- */
.proposal { margin-top: 20px; padding: 20px 22px; border-radius: var(--r-card); background: var(--indigo-tint); border: 1px dashed rgba(87, 103, 236, 0.55); }
.proposal__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; font-size: 0.8125rem; }
.proposal__label { font-weight: 500; color: var(--indigo-ink); }
.proposal__badge { padding: 2px 10px; border: 1px solid rgba(58, 71, 201, 0.4); border-radius: var(--r-pill); color: var(--indigo-ink); font-size: 0.75rem; }
.proposal__title { margin-top: 10px; font-size: 1.0625rem; font-weight: 500; }
.proposal p { margin-top: 8px; }
.proposal__note { font-size: 0.875rem; color: var(--muted); }
.script { margin: 10px 0 0; padding-left: 14px; border-left: 3px solid var(--indigo); }
.script__follow { color: var(--muted); }
.spiced { display: grid; gap: 10px; margin-top: 10px; }
.spiced div { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 2px 10px; }
.spiced dt { display: contents; }
.spiced__l { grid-row: span 2; width: 2em; height: 2em; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--indigo-ink); font-weight: 500; }
.spiced__k { font-weight: 500; }
.spiced dd { grid-column: 2; margin: 0; color: var(--muted); font-size: 0.9375rem; }
.handoff { list-style: none; display: grid; gap: 6px; margin-top: 8px; }
@media (min-width: 640px) { .handoff { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.handoff li { padding: 8px 12px; border-radius: 10px; background: var(--paper); font-size: 0.9375rem; }
.handoff li::before { content: '□ '; color: var(--indigo-ink); }

/* ---------- Tools: block diagram, bill of materials, process ---------- */
.tools { display: grid; gap: 22px; margin-top: 28px; }
.flow { margin: 0; }
.flow__hint { margin-bottom: 12px; font-size: 0.875rem; color: var(--muted); }
.flow__chain { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.flow__block { position: relative; display: grid; gap: 4px; align-content: start; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.flow__block--human { border-style: dashed; }
.flow__block:hover { transform: translateY(-2px); }
.flow__block.is-selected { border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-tint); }
.flow__pin { font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--muted); }
.flow__label { font-weight: 500; }
.flow__sub { font-size: 0.8125rem; color: var(--muted); }
.flow__meta { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.flow__ref { position: relative; z-index: 2; font-size: 0.75rem; }
.flow__desc { font-size: 0.875rem; color: var(--muted); }
.js .flow__desc { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js .flow__block.is-selected .flow__desc { position: static !important; width: auto; height: auto; clip: auto; white-space: normal; }
.flow__hit { position: absolute; inset: 0; z-index: 1; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.flow__readout { min-height: 1.6em; margin-top: 10px; font-size: 0.9375rem; }
.figcap { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }
.tools__title { font-weight: 300; font-size: 1.5rem; letter-spacing: -0.015em; }
.bom { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.bom th, .bom td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.bom thead th { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.bom__grouphead th { padding-top: 22px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo-ink); }
.bom__pos { width: 3.5em; color: var(--muted); font-variant-numeric: tabular-nums; }
.bom__name { font-weight: 400; }
.bom__n { display: block; font-weight: 500; }
.bom__fn { display: block; margin-top: 2px; color: var(--muted); font-size: 0.875rem; }
.bom__ev { color: var(--muted); font-size: 0.875rem; }
.bom__row.is-linked > * { background: var(--indigo-tint); }
.bom__case td { padding-top: 0; }
.case summary { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: var(--r-pill); background: var(--indigo-tint); color: var(--indigo-ink); font-size: 0.875rem; cursor: pointer; list-style: none; }
.case summary::-webkit-details-marker { display: none; }
.case summary::before { content: '+'; font-weight: 500; }
.case[open] summary::before { content: '−'; }
.case__grid { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 720px) { .case__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case__cell { padding: 12px 14px; border-radius: 12px; background: var(--grey); }
.case__cell dt { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo-ink); }
.case__cell dd { margin: 4px 0 0; font-size: 0.9375rem; }
@media (max-width: 719px) {
  .bom thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bom, .bom tbody, .bom .bom__row > * { display: block; }
  .bom .bom__row { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .bom .bom__row > * { padding: 0; border: 0; }
  .bom .bom__status, .bom .bom__ev { grid-column: 2; }
  .bom .bom__grouphead, .bom .bom__case { display: block; }
  .bom .bom__grouphead th, .bom .bom__case td { display: block; padding-left: 0; padding-right: 0; }
}
.process { padding-top: 14px; border-top: 1px solid var(--line-soft); }
.process summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.process summary::-webkit-details-marker { display: none; }
.process summary::before { content: '+'; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--indigo-ink); }
.process[open] summary::before { content: '−'; }
.process__title { display: inline; font-size: 1.0625rem; font-weight: 500; }
.process__steps { display: grid; gap: 6px; margin: 12px 0 0 1.4em; list-style: lower-alpha; }
.process__stats { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }

/* ---------- People: flip cards ---------- */
.bento--people { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (min-width: 1000px) { .bento--people { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flip { position: relative; min-height: 310px; perspective: 1000px; }
.flip__face { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-card); background: var(--paper); }
.flip--dark .flip__front { background: var(--navy); color: #fff; }
.flip__title { font-weight: 300; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.015em; }
.flip__text { color: var(--muted); }
.flip--dark .flip__text { color: var(--on-dark); }
.flip__hint { margin-top: auto; font-size: 0.875rem; font-weight: 500; color: var(--indigo-ink); }
.flip--dark .flip__hint { color: var(--lavender-2); }
.flip__back { background: var(--navy); color: #fff; hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: break-word; }
.flip--dark .flip__back { background: var(--indigo-ink); }
.flip__proofl { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lavender-2); }
.flip--dark .flip__proofl { color: #dfe2ff; }
.flip__proof { font-size: 1.0625rem; line-height: 1.5; }
.no-js .flip__back { margin-top: 8px; }
.js .flip__inner { position: relative; height: 100%; min-height: 310px; transform-style: preserve-3d; transition: transform 0.7s var(--ease); }
.js .flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.js .flip__back { transform: rotateY(180deg); }
.js .flip.is-flipped .flip__inner, .js .flip.is-hover .flip__inner { transform: rotateY(180deg); }
.flip__toggle { position: absolute; inset: 0; z-index: 2; border: 0; border-radius: var(--r-card); background: transparent; cursor: pointer; }

/* ---------- Tracking history ---------- */
.track__id { margin-bottom: 28px; text-align: center; font-size: 0.8125rem; color: var(--muted); }
.track { position: relative; list-style: none; display: grid; }
.track::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.track__ev { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 18px; padding-bottom: 26px; transition: opacity 0.45s var(--ease); }
.track__ev > :not(.track__mark) { grid-column: 2; }
.track__mark { grid-row: 1 / span 3; position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 2px solid var(--indigo); }
.track__ev--done .track__mark { background: var(--indigo); }
.track__ev--ongoing .track__mark { background: linear-gradient(90deg, var(--indigo) 50%, var(--paper) 50%); }
.track__ev--planned .track__mark { border-style: dashed; border-color: var(--muted); }
.track__ev--target .track__mark { background: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 5px var(--indigo-tint); }
.track__ev--target .track__mark::after { content: ''; position: absolute; inset: -7px; border: 2px solid var(--indigo); border-radius: 50%; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.7); opacity: 0.9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.track__when { font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.track__title { margin-top: 2px; font-size: 1.125rem; font-weight: 500; }
.track__ev--target .track__title { color: var(--indigo-ink); }
.track__text { margin-top: 4px; color: var(--muted); }
.js .track.is-animated .track__ev:not(.is-on) { opacity: 0.28; }
.track__actions { margin-top: 12px; text-align: center; }

/* ---------- Bottlenecks ---------- */
@media (min-width: 900px) { .bento--errata { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.errata__id { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); background: var(--warn-bg); color: var(--warn-fg); font-size: 0.75rem; font-weight: 500; }
.errata__issue { margin-top: 14px; font-weight: 500; }
.errata__plan { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; }
.errata__plan::before { content: '→ '; color: var(--indigo-ink); }

/* ---------- Contact ---------- */
.contact__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: -12px; }
.order { max-width: 820px; margin: 48px auto 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.order__row { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
@media (min-width: 640px) { .order__row { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; } }
.order__row dt { padding-top: 3px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lavender-2); }
.order__row dd { margin: 0; color: var(--on-dark); }
.order__row a { color: #fff; }

/* ---------- Footer ---------- */
.foot { max-width: var(--maxw); margin: 0 auto; padding: 28px var(--gutter) 40px; display: grid; gap: 6px; font-size: 0.8125rem; color: var(--muted); }
.foot a { color: var(--muted); }
.foot--cv { max-width: 210mm; padding-top: 0; }

/* ---------- Quick search ---------- */
.search { width: min(640px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 80px)); margin: 10vh auto auto; padding: 0; border: 0; border-radius: var(--r-card); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(5, 6, 15, 0.45); overflow: hidden; }
.search::backdrop { background: rgba(5, 6, 15, 0.55); }
.search__box { display: flex; flex-direction: column; max-height: inherit; }
.search__bar { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.search__bar:focus-within { box-shadow: inset 0 -2px 0 var(--indigo); }
.search__input { flex: 1; min-width: 0; padding: 6px 2px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.0625rem; }
.search__close { flex: none; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--grey); color: var(--muted); font-size: 0.75rem; cursor: pointer; }
.search__list { list-style: none; overflow-y: auto; padding: 8px; }
.search__opt { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.search__opt[aria-selected='true'] { background: var(--indigo-tint); }
.search__l { font-weight: 500; }
.search__s { font-size: 0.8125rem; color: var(--muted); }
.search__empty, .search__hint { padding: 10px 18px; font-size: 0.8125rem; color: var(--muted); }
.search__hint { border-top: 1px solid var(--line-soft); }

/* =====================================================================
   CV, appendix, notice and 404 (screen + print). Variant 2 "dark head".
   ===================================================================== */
.page-cv { background: var(--grey); font-family: 'Inter Static', var(--font); }
.cv-toolbar { max-width: 210mm; margin: 0 auto; padding: 16px var(--gutter) 12px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 0.875rem; }
.cv-toolbar__right { display: flex; gap: 6px; align-items: center; }
.cv-toolbar a { padding: 5px 10px; border-radius: 8px; text-decoration: none; }
.cv-toolbar a[aria-current='page'] { background: var(--navy); color: #fff; }
.cv-print { min-height: 36px; padding: 8px 16px; border: 0; border-radius: var(--r-pill); background: var(--navy); color: #fff; cursor: pointer; }
.cv-sheet { max-width: 210mm; margin: 0 auto 48px; overflow: hidden; background: var(--paper); color: var(--ink); border-radius: 12px; font-size: 0.9375rem; line-height: 1.45; }
.cv-top { position: relative; isolation: isolate; overflow: hidden; padding: 12mm 16mm 9mm; background: var(--night); color: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.cv-top::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 90% at 8% 10%, rgba(30, 90, 200, 0.5), transparent 70%), radial-gradient(40% 80% at 98% 100%, rgba(200, 60, 70, 0.35), transparent 70%); }
.cv-top__doc { font-size: 0.6875rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--lavender-2); }
.cv-top__name { margin-top: 6px; font-weight: 300; font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--lavender); }
.cv-top__target { margin-top: 4px; color: var(--on-dark); }
.cv-body { padding: 7mm 16mm 12mm; }
.cv-head { padding: 12mm 16mm 0; }
.cv-head__doc { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cv-head__name { margin-top: 6px; font-weight: 300; font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; }
.cv-body a { color: var(--indigo-ink); }

/* ---------- CV "glass tiles" (Furkan, 28.09.2026; spec 2026-09-28-cv-kacheln) ---------- */
.cv-sheet--tiles { background: var(--grey); box-shadow: 0 0 0 1px var(--line); }
.cv-sheet--tiles .cv-top { padding: 9mm 10mm 6mm; }
.cv-top__main { display: flex; justify-content: space-between; align-items: center; gap: 6mm; }
.cv-photo { flex: none; width: 26mm; height: 26mm; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.28); }
.cv-kpis { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2mm; margin-top: 4mm; }
.cv-kpis li { padding: 2mm 2.6mm; border-radius: 9px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); }
.cv-kpis__v { display: block; font-size: 1.125rem; line-height: 1.2; color: #fff; font-variant-numeric: tabular-nums; }
.cv-kpis__l { display: block; margin-top: 1px; font-size: 0.8125rem; line-height: 1.3; color: #c9cdea; }
.cv-sheet--tiles .cv-body { padding: 5mm 10mm 4mm; display: grid; gap: 3mm; }
.cv-sheet--tiles .cv-top__doc { font-size: 0.8rem; }
.cv-row { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 3mm; }
.cv-tile {
  min-width: 0; padding: 3mm 4.2mm 3.2mm; border-radius: 10px; border: 1px solid var(--line); border-top-color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74));
  -webkit-print-color-adjust: exact; print-color-adjust: exact; break-inside: avoid;
}
.cv-tile__head { display: flex; justify-content: space-between; align-items: baseline; gap: 3mm; margin-bottom: 1mm; }
.cv-tile h2 { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: var(--indigo-ink); }
.cv-jump { display: inline-flex; align-items: center; gap: 2px; font-size: 0.8125rem; color: var(--indigo-ink); text-decoration: none; white-space: nowrap; }
.cv-jump__icon { width: 0.72em; height: 0.72em; flex: none; }
.cv-profile, .cv-line { font-size: 0.8125rem; }
/* One label column as wide as the longest label ("Arbeitsprobe"), so labels never run into the values;
   values wrap instead of running past the tile edge (Furkan, 28.09.2026). */
.cv-contact { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 3mm; row-gap: 0.3mm; font-size: 0.8125rem; }
.cv-contact > div { display: contents; }
.cv-contact dt { color: var(--muted); }
.cv-muted { color: var(--muted); }
.cv-entry + .cv-entry { margin-top: 2mm; padding-top: 2mm; border-top: 1px solid #e6e8f0; }
.cv-entry__head { display: flex; justify-content: space-between; align-items: baseline; gap: 4mm; font-size: 0.8125rem; font-weight: 400; line-height: 1.35; }
.cv-entry__title { font-weight: 500; }
.cv-entry__sep { color: #9aa0b4; }
.cv-entry__when { flex: none; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cv-entry__when .todo { white-space: normal; }
.cv-entry__note { margin-top: 0.3mm; font-size: 0.8125rem; color: var(--muted); }
.cv-entry__list { margin: 0.8mm 0 0 1.05em; padding: 0; font-size: 0.8125rem; }
.cv-entry__list li { margin-top: 0.3mm; }
.cv-tile--kv { display: grid; gap: 1.6mm; }
.cv-kv { display: grid; grid-template-columns: 30mm minmax(0, 1fr); gap: 3mm; align-items: baseline; }
.cv-kv + .cv-kv { padding-top: 1.6mm; border-top: 1px solid #e6e8f0; }
.cv-skills { list-style: none; display: grid; gap: 0.4mm; font-size: 0.8125rem; }
/* On screen the stacked contact links need room to be tapped (axe target-size, 24 px); print keeps the tight rows. */
@media screen { .cv-contact { row-gap: 7px; } }
/* Web view on phones: tiles stack, key facts in two columns, long contact values may wrap. */
@media screen and (max-width: 700px) {
  .cv-sheet--tiles .cv-top, .cv-sheet--tiles .cv-body { padding-left: 16px; padding-right: 16px; }
  .cv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-photo { width: 72px; height: 72px; }
  .cv-row { grid-template-columns: minmax(0, 1fr); }
  .cv-contact dd { white-space: normal; overflow-wrap: anywhere; }
  .cv-tile__head, .cv-entry__head { flex-wrap: wrap; column-gap: 4mm; row-gap: 0; }
  .cv-kv { grid-template-columns: minmax(0, 1fr); gap: 0.5mm; }
}
.appendix .cv-top { padding: 9mm 16mm 7mm; }
.appendix .cv-body { padding-top: 5mm; padding-bottom: 8mm; }
.appendix__list { list-style: none; display: grid; gap: 6px; }
.appendix__st { padding-top: 5px; border-top: 1px solid var(--line-soft); break-inside: avoid; }
.appendix__st:first-child { border-top: 0; padding-top: 0; }
.appendix__name { font-size: 0.9375rem; font-weight: 500; }
.appendix__n { margin-right: 4px; color: var(--indigo-ink); font-variant-numeric: tabular-nums; }
.appendix__ctx { margin-top: 1px; font-size: 0.78rem; color: var(--muted); }
.appendix__bring { margin: 2px 0 0 1.1em; padding: 0; font-size: 0.78rem; }
.appendix__bring li { margin-top: 1px; }
.appendix__ev { display: block; color: var(--muted); font-size: 0.6875rem; }
.appendix__more { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 0.8125rem; font-weight: 500; }
.notice { padding-bottom: 12mm; }
.notice__title { font-size: 1.75rem; }
.notice__sec { padding: 0 16mm; }
.notice__sec h2 { margin-top: 20px; font-size: 1rem; font-weight: 500; }
.notice__sec p { max-width: 72ch; margin-top: 6px; }
.notice > p { padding: 0 16mm; margin-top: 10px; }
.notice > h1 { padding: 12mm 16mm 0; }

/* ---------- Arrival from a CV deep link: soft indigo ring for ~2 s (spec cv-kacheln §3) ----------
   Chrome smooth-scrolls a fresh deep link for up to ~1.7 s, so the ring holds until ~3 s and fades
   by 4.4 s: about two seconds of visible ring after the page has come to rest. */
@keyframes arrive { 0%, 55% { outline-color: var(--indigo); } 100% { outline-color: transparent; } }
.sec:target > .sec__inner, .station:target .station__card {
  outline: 2px solid transparent; outline-offset: 6px; border-radius: var(--r-frame); animation: arrive 3.2s ease-out 1.2s both;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .station:not(.is-in) .station__card { opacity: 1; transform: none; }
  .js .flip__inner { transform: none !important; }
  .js .flip__back { transform: none; opacity: 0; }
  .js .flip.is-flipped .flip__back, .js .flip.is-hover .flip__back { opacity: 1; }
}

/* ---------- Print ---------- */
@page { size: A4; margin: 12mm 14mm; }
@page cv { size: A4; margin: 0; }
.page-cv .cv-sheet { page: cv; }
@media print {
  html { font-size: 10pt; scroll-behavior: auto; }
  body, .page-cv { background: #fff; }
  .draft-banner, .skip, .nav, .rail, .search, .cv-toolbar, .hero__cta, .hero__tags, .quote__roles, .quote__run, .track__actions, .flip__toggle, .flip__hint, .flow__hint, .flow__readout, .flow__hit, .foot a { display: none !important; }
  .hero, .sec--dark, .card--dark, .quote__offer, .flip--dark .flip__front, .flip__back { background: #fff !important; color: #111 !important; }
  .hero::before, .sec--dark::before, .card--dark::before, .quote__offer::before { display: none; }
  .hero__title, .hero__rot, .hero__sub, .hero__where, .hero__chip, .sec--dark .sec__intro, .card--dark .card__text, .order__row dt, .order__row dd, .order__row a, .quote__label, .quote__sub, .flip__proofl, .flip--dark .flip__text { color: #111 !important; }
  .hero, .sec--grey, .sec--dark { margin: 0; border-radius: 0; }
  .sec { padding: 18pt 0; }
  .dash { margin-top: 0; }
  .dash__frame { box-shadow: none; border: 1px solid #ccc; }
  .js .dash .bar__fill { width: calc(var(--w) * 100%); transition: none; }
  .js .station .station__card { opacity: 1; transform: none; transition: none; }
  .js .station:not(.is-in) .station__card { opacity: 1; transform: none; }
  .foot--cv { display: none !important; }
  .js .quote__row.is-pending .quote__ev { opacity: 1; transform: none; }
  .js .quote__row.is-pending .chip--pending { display: none; }
  .js .quote__row.is-pending .chip--ok, .js .quote__row.is-pending .chip--partial { display: inline-flex; }
  .js .track .track__ev { opacity: 1 !important; }
  .js .flip__inner { transform: none !important; min-height: 0; }
  .js .flip__face { position: static; backface-visibility: visible; }
  .js .flip__back { transform: none; margin-top: 8px; }
  details::details-content { content-visibility: visible; display: block; }
  .js .flow__desc { position: static !important; width: auto !important; height: auto !important; clip: auto !important; white-space: normal !important; }
  .station__head { position: static; }
  .station__card, .bring__item, .proposal, .flow__block, .case__cell, .bom__row, .track__ev, .card, .flip, .quote__row, .order__row, .appendix__st { break-inside: avoid; }
  .sec__head, .station__head, .station__label, .tools__title { break-after: avoid; }
  a { color: inherit; text-decoration: none; }
  .cv-sheet { max-width: none; margin: 0; border-radius: 0; }
  .cv-body a { color: var(--indigo-ink); }
  body.page-cv--tiles { background: var(--grey) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cv-sheet--tiles { box-shadow: none; }
}
