/* ==========================================================================
   Propulseur ionique — styles
   ========================================================================== */

:root {
  --bg: #03050b;
  --bg-2: #060a15;
  --bg-3: #0a1020;
  --ink: #e8eef8;
  --ink-2: #b4bfd3;
  --ink-3: #7c88a1;
  --line: rgba(150, 185, 255, .14);
  --line-2: rgba(150, 185, 255, .26);
  --ion: #6fd6ff;
  --ion-2: #8f86ff;
  --plasma: #d4f6ff;
  --na: #ffb45e;
  --cl: #74f2c4;
  --thrust: #ff6b3d;
  --chem: #ff9a4a;
  --card: rgba(6, 10, 22, .62);
  --radius: 18px;
  --f-display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --f-text: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
b, strong { font-weight: 600; }
sub { font-size: .7em; }
::selection { background: rgba(111, 214, 255, .35); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at center, #08101f 0%, var(--bg) 70%);
  transition: opacity .9s ease, visibility .9s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { display: grid; justify-items: center; gap: 18px; }
.loader-gauge { position: relative; width: 132px; height: 132px; }
.loader-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lg-track { fill: none; stroke: var(--line); stroke-width: 3; }
.lg-fill { fill: none; stroke: var(--ion); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; filter: drop-shadow(0 0 6px var(--ion)); transition: stroke-dashoffset .3s ease; }
.loader-readout { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--f-mono); font-size: 26px; line-height: 1; }
.loader-readout small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 6px; letter-spacing: .12em; text-transform: uppercase; }
.loader-label { margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- stage ---------- */
.stage {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh;
  z-index: 0; display: block;
  opacity: 0; transition: opacity .8s ease;
}
.stage.on { opacity: 1; }
.stage-labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.s-label {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink);
  opacity: 0; transition: opacity .45s ease;
  will-change: transform;
}
.s-label.on { opacity: 1; }
.s-label::before {
  content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ion); box-shadow: 0 0 0 4px rgba(111, 214, 255, .18), 0 0 14px var(--ion);
}
.s-label .s-line { flex: none; width: 34px; height: 1px; background: linear-gradient(90deg, var(--ion), transparent); }
.s-label .s-text { padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(4, 8, 18, .72); backdrop-filter: blur(6px); white-space: nowrap; }
.s-label.left { flex-direction: row-reverse; }
.s-label.left .s-line { background: linear-gradient(270deg, var(--ion), transparent); }
.s-label.warm::before { background: var(--thrust); box-shadow: 0 0 0 4px rgba(255, 107, 61, .2), 0 0 14px var(--thrust); }

.grain {
  position: fixed; inset: -50%; z-index: 3; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--ion-2), var(--ion), var(--plasma)); box-shadow: 0 0 10px var(--ion); }

/* ---------- nav ---------- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.topnav.scrolled { background: rgba(3, 5, 11, .72); backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: .02em; }
.brand-ion { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--plasma); box-shadow: 0 0 0 3px rgba(111, 214, 255, .25), 0 0 14px 2px var(--ion); vertical-align: middle; margin-right: 2px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 13.5px; color: var(--ink-2); position: relative; transition: color .25s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ion); transform: scaleX(0); transition: transform .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { transform: scaleX(1); }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; margin-left: 22px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang-switch button { background: none; border: 0; color: var(--ink-3); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.on { background: rgba(111, 214, 255, .16); color: var(--plasma); }
.slides-lang { font-size: 12.5px; color: var(--ink-3); margin: -6px 0 8px; }
.slides-lang:empty { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14.5px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: transform .25s, background .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--plasma), var(--ion) 55%, var(--ion-2)); color: #021019; border-color: transparent; box-shadow: 0 8px 32px -8px rgba(111, 214, 255, .6); }
.btn-primary:hover { box-shadow: 0 10px 40px -6px rgba(111, 214, 255, .85); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--ion); background: rgba(111, 214, 255, .08); }

/* ---------- typography ---------- */
.kicker { margin: 0 0 14px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ion); }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.01em; }
h2 { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; margin-bottom: 16px; font-weight: 500; }
.h-xl { font-family: var(--f-display); font-size: clamp(36px, 5.4vw, 76px); line-height: 1.02; font-weight: 300; letter-spacing: -.03em; margin-bottom: 26px; }
.h-xl em, .h-lg em { font-style: normal; background: linear-gradient(100deg, var(--plasma), var(--ion) 45%, var(--ion-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-lg { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; font-weight: 300; margin-bottom: 24px; }
.h-md { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 400; margin-bottom: 16px; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-2); font-weight: 300; }
p { margin: 0 0 14px; color: var(--ink-2); }
.card p:last-child { margin-bottom: 0; }
.mono-note { font-family: var(--f-mono); font-size: 12.5px; color: var(--cl); }
.formula { font-family: var(--f-mono); font-size: .92em; color: var(--plasma); white-space: nowrap; padding: 2px 8px; border-radius: 6px; background: rgba(111, 214, 255, .1); }
.t-plus { color: #ff7a7a; } .t-minus { color: var(--ion); }
.t-chem { color: var(--chem); } .t-ion { color: var(--ion); }

/* ---------- acts & panels ---------- */
main { position: relative; z-index: 2; }
.act { position: relative; }
.panel {
  position: relative; min-height: 110vh;
  display: flex; align-items: center;
  padding: 120px var(--pad);
}
.panel-left { justify-content: flex-start; }
.panel-right { justify-content: flex-end; }
.panel-lab, .panel-measure { justify-content: flex-start; min-height: 130vh; }
.card {
  position: relative; max-width: 470px; width: 100%;
  padding: 30px 32px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(111, 214, 255, .5), transparent 35%, transparent 70%, rgba(143, 134, 255, .35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.card-lab { max-width: 520px; }
.card-wide { max-width: 640px; }

/* ---------- hero ---------- */
.panel-hero { min-height: 100vh; min-height: 100svh; align-items: flex-end; padding-bottom: clamp(70px, 12vh, 140px); }
.panel-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 55% at 0% 100%, rgba(3, 5, 11, .82), transparent 72%); }
.hero-content { position: relative; }
.hero-content { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ion); box-shadow: 0 0 0 0 rgba(111, 214, 255, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 214, 255, .7); } 70% { box-shadow: 0 0 0 12px rgba(111, 214, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 214, 255, 0); } }
.hero-title { font-family: var(--f-display); font-weight: 300; font-size: clamp(44px, 8.2vw, 136px); white-space: nowrap; line-height: .9; letter-spacing: -.045em; margin: 0 0 26px; text-transform: lowercase; }
.ht-line { display: block; overflow: hidden; padding-bottom: .06em; }
.ht-word { display: inline-block; }
.ht-glow { font-weight: 500; background: linear-gradient(95deg, #fff 0%, var(--plasma) 25%, var(--ion) 60%, var(--ion-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 560px; font-size: clamp(17px, 1.45vw, 20px); color: var(--ink); font-weight: 300; margin-bottom: 30px; text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 24px rgba(3, 5, 11, .95); }
.hero-kpis, .eyebrow { text-shadow: 0 1px 2px rgba(0, 0, 0, .8), 0 0 18px rgba(3, 5, 11, .9); }
.hero-kpis { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0 0 34px; }
.hero-kpis div { border-left: 1px solid var(--line-2); padding-left: 14px; }
.hero-kpis dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hero-kpis dd { margin: 4px 0 0; font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--ion), transparent); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ''; position: absolute; left: -1px; top: -20px; width: 3px; height: 20px; background: var(--plasma); border-radius: 2px; animation: cue 2s infinite; box-shadow: 0 0 8px var(--ion); }
@keyframes cue { to { top: 50px; } }
.hud { position: absolute; display: grid; gap: 6px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
.hud-orbit { right: var(--pad); bottom: clamp(70px, 12vh, 140px); text-align: right; }
.hud div { display: flex; gap: 12px; justify-content: flex-end; }
.hud b { color: var(--ink); font-weight: 500; min-width: 86px; }

/* ---------- principle lab ---------- */
.polarity { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 12px; }
.pol-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff7a7a; box-shadow: 0 0 10px #ff7a7a; transition: background .3s, box-shadow .3s; }
.polarity.neg .pol-dot { background: var(--ion); box-shadow: 0 0 10px var(--ion); }
.lab { margin-top: 20px; display: grid; gap: 16px; }
.lab-row { display: grid; grid-template-columns: 1fr; gap: 8px; font-size: 13px; color: var(--ink-3); font-family: var(--f-mono); letter-spacing: .04em; }
.lab-row > span { text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
label.lab-row { grid-template-columns: 1fr auto; align-items: center; }
label.lab-row > span { grid-column: 1 / -1; }
.lab-row output { color: var(--ink); font-size: 14px; min-width: 70px; text-align: right; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ion) var(--p, 74%), var(--line-2) var(--p, 74%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--plasma); box-shadow: 0 0 0 5px rgba(111, 214, 255, .2), 0 0 14px var(--ion); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--plasma); box-shadow: 0 0 0 5px rgba(111, 214, 255, .2), 0 0 14px var(--ion); cursor: grab; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; gap: 2px; width: max-content; }
.seg button { background: none; border: 0; color: var(--ink-2); font-family: var(--f-mono); font-size: 13px; padding: 6px 16px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.seg button.on { background: var(--ion); color: #021019; }
.lab-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lab-out div { padding: 12px; border-radius: 12px; background: rgba(111, 214, 255, .06); border: 1px solid var(--line); display: grid; gap: 4px; }
.lab-out span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); line-height: 1.3; }
.lab-out b { font-family: var(--f-display); font-weight: 400; font-size: 18px; color: var(--plasma); }
.lab-foot { font-size: 12.5px; color: var(--ink-3); margin: 0; }

/* ---------- prototype panels ---------- */
.print-meter, .gauge-mini { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 10px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.print-meter b, .gauge-mini b { font-size: 20px; color: var(--plasma); font-weight: 500; min-width: 3.2ch; text-align: right; }
.eq { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); }
.eq span { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .04); }
.eq .eq-res { background: rgba(255, 107, 61, .14); color: #ffd2c2; border: 1px solid rgba(255, 107, 61, .35); }

/* ---------- charts ---------- */
.chart { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-top: 10px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text { fill: var(--ink-3); font-family: var(--f-mono); font-size: 10px; }
.chart .axis-label { fill: var(--ink-3); font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; }
.chart .series { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .dots circle { stroke: none; }
.chart .legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); }
.chart .legend i { display: inline-block; width: 16px; height: 2px; vertical-align: middle; margin-right: 6px; border-radius: 2px; }
.chart .tip { position: absolute; pointer-events: none; padding: 6px 10px; border-radius: 8px; background: rgba(3, 6, 14, .9); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 11px; color: var(--ink); white-space: nowrap; transform: translate(-50%, -130%); opacity: 0; transition: opacity .15s; }
.chart .cursor { stroke: var(--line-2); stroke-dasharray: 3 3; }

/* ---------- plain sections ---------- */
.section { position: relative; padding: clamp(100px, 14vh, 180px) 0; background: var(--bg); }
.section::before { content: ''; position: absolute; left: 0; right: 0; top: -200px; height: 200px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.split-top { margin-top: clamp(70px, 10vh, 120px); align-items: center; }
.section-head { max-width: 820px; margin-bottom: clamp(50px, 8vh, 90px); }
.section-projet { background: radial-gradient(ellipse 70% 50% at 80% 0%, rgba(111, 214, 255, .07), transparent 60%), var(--bg); }

/* timeline */
.timeline { list-style: none; margin: clamp(60px, 10vh, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 18px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--ion-2), var(--ion), rgba(111, 214, 255, .1)); transform-origin: 0 50%; transform: scaleX(var(--tl, 0)); }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before { content: ''; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ion); box-shadow: 0 0 12px rgba(111, 214, 255, .5); }
.timeline li:last-child::before { background: var(--ion); }
.tl-date { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ion); margin-bottom: 6px; }
.tl-title { font-family: var(--f-display); font-size: 15px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.tl-text { font-size: 13.5px; color: var(--ink-3); line-height: 1.5; margin: 0; }
.photo-strip { display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: 18px; margin-top: clamp(60px, 9vh, 100px); }
.ph { margin: 0; position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); cursor: zoom-in; aspect-ratio: 4 / 3; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ph:hover img { transform: scale(1.05); }
.ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; font-size: 12.5px; color: var(--ink); background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.ph-b { margin-top: 50px; }

/* journal */
.section-journal { background: linear-gradient(var(--bg), var(--bg-2) 20%, var(--bg-2) 80%, var(--bg)); }
.journal { display: grid; gap: clamp(40px, 7vh, 80px); position: relative; }
.journal::before { content: ''; position: absolute; left: 70px; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--line-2) 4%, var(--line-2) 96%, transparent); }
.entry { display: grid; grid-template-columns: 140px 1fr; gap: clamp(20px, 3vw, 44px); position: relative; }
.entry-mark { position: sticky; top: 100px; align-self: start; display: grid; justify-items: center; gap: 8px; text-align: center; }
.entry-num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 15px; font-weight: 500; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 0 0 6px var(--bg-2), 0 0 24px -4px rgba(111, 214, 255, .35); color: var(--plasma); }
.entry.print .entry-num { color: var(--na); border-color: rgba(255, 180, 94, .4); box-shadow: 0 0 0 6px var(--bg-2), 0 0 24px -4px rgba(255, 180, 94, .35); font-size: 12px; }
.entry-date { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); line-height: 1.35; }
.entry-year { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--ion); padding: 2px 8px; border: 1px solid var(--line); border-radius: 99px; }
.entry-body { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, rgba(14, 22, 42, .7), rgba(6, 10, 22, .6)); padding: clamp(24px, 3vw, 40px); overflow: hidden; }
.entry h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; margin-bottom: 10px; }
.entry-q { font-size: 17px; color: var(--ion); font-weight: 400; font-style: italic; margin-bottom: 24px; }
.entry-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.entry-text p { font-size: 15.5px; }
.entry-result { margin-top: 18px; padding: 14px 16px; border-radius: 12px; border-left: 2px solid var(--cl); background: rgba(116, 242, 196, .06); color: var(--ink); font-size: 15px; }
.entry-result b { color: var(--cl); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 4px; font-weight: 500; }
.entry-limit { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.entry-viz { position: relative; border-radius: 16px; background: rgba(2, 4, 10, .55); border: 1px solid var(--line); padding: 16px; min-height: 260px; }
.entry-viz .chart { aspect-ratio: 4 / 3; margin: 0; }
.entry-media { display: flex; gap: 12px; margin-top: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.entry-media figure { margin: 0; flex: 0 0 auto; width: 210px; scroll-snap-align: start; cursor: zoom-in; }
.entry-media .thumb { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0d1424; }
.entry-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.entry-media .contain img { object-fit: contain; background: #eef1f5; }
.entry-media figure:hover img { transform: scale(1.06); }
.entry-media figcaption { font-size: 12px; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
.entry-videos { margin-top: 14px; font-size: 13px; color: var(--ink-3); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.entry-videos a { color: var(--ion); }

/* mini visualisations */
.mini { width: 100%; height: 100%; min-height: 228px; display: block; }
.viz-caption { position: absolute; left: 16px; right: 16px; bottom: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); pointer-events: none; }
.viz-caption b { color: var(--plasma); font-weight: 500; }
.viz-caption span { white-space: nowrap; }
.viewer { position: relative; width: 100%; aspect-ratio: 4 / 3.2; border-radius: 12px; overflow: hidden; cursor: grab; touch-action: pan-y; }
.viewer:active { cursor: grabbing; }
.viewer canvas { display: block; width: 100%; height: 100%; }
.viewer-modes { position: absolute; left: 12px; top: 12px; z-index: 2; }
.viewer-modes .seg { background: rgba(3, 6, 14, .7); backdrop-filter: blur(6px); }
.viewer-modes .seg button { font-size: 11.5px; padding: 5px 12px; }
.viewer-hint { position: absolute; right: 12px; bottom: 10px; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); pointer-events: none; }
.cascade svg { width: 100%; height: auto; }

/* results */
.section-results { background: radial-gradient(ellipse 60% 40% at 15% 10%, rgba(143, 134, 255, .08), transparent 60%), var(--bg); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.result { background: var(--bg); padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.result::after { content: ''; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(111, 214, 255, .12), transparent 70%); pointer-events: none; }
.result.accent::after { background: radial-gradient(circle, rgba(255, 107, 61, .18), transparent 70%); }
.result-value { font-family: var(--f-display); font-weight: 300; font-size: clamp(40px, 4.6vw, 66px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.result-value small { font-size: .38em; font-weight: 400; color: var(--ion); margin-left: 6px; letter-spacing: 0; }
.result.accent .result-value small { color: var(--thrust); }
.result-label { margin: 14px 0 4px; color: var(--ink); font-size: 15px; }
.result-note { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); margin: 0; }
.note-2026 { font-size: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 180, 94, .06); border: 1px dashed rgba(255, 180, 94, .35); color: var(--ink-2); }
.note-2026 b { color: var(--na); }
.isp { display: grid; gap: 14px; }
.isp-row { display: grid; grid-template-columns: 1fr; gap: 6px; }
.isp-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.isp-head span:first-child b { display: block; color: var(--ink); font-weight: 500; }
.isp-head small { color: var(--ink-3); font-size: 12.5px; }
.isp-head .isp-val { font-family: var(--f-mono); color: var(--ink); white-space: nowrap; align-self: end; }
.isp-bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.isp-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.isp.in .isp-bar i { transform: scaleX(1); }
.isp-row.chem i { background: linear-gradient(90deg, #a5461c, var(--chem)); }
.isp-row.ion i { background: linear-gradient(90deg, #3c4bd8, var(--ion)); }
.isp-row.me i { background: linear-gradient(90deg, var(--ion-2), var(--plasma)); box-shadow: 0 0 18px var(--ion); }
.isp-row.me .isp-head b { color: var(--plasma); }
.isp-scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 8px; }

/* space act */
.tanks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.tank { position: relative; height: 200px; border-radius: 16px 16px 12px 12px; border: 1px solid var(--line-2); overflow: hidden; display: grid; align-content: end; justify-items: center; padding: 14px; text-align: center; }
.tank-fill { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--f) * 100%); transform-origin: 50% 100%; transform: scaleY(var(--s, 0)); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.tank-chem .tank-fill { background: linear-gradient(transparent, rgba(255, 154, 74, .55)); border-top: 1px solid var(--chem); }
.tank-ion .tank-fill { background: linear-gradient(transparent, rgba(111, 214, 255, .55)); border-top: 1px solid var(--ion); }
.tank b { position: relative; font-family: var(--f-display); font-size: 30px; font-weight: 400; }
.tank span { position: relative; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .1em; line-height: 1.5; }
.tank small { text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.tanks.in .tank-fill { --s: 1; }

/* missions */
.section-missions { background: linear-gradient(var(--bg), var(--bg-2)); }
.missions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mission { position: relative; padding: 22px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10, 16, 32, .6); overflow: hidden; transition: border-color .3s, transform .3s; }
.mission:hover { border-color: var(--line-2); transform: translateY(-4px); }
.mission::after { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 1px; background: linear-gradient(90deg, var(--ion), transparent); }
.mission-year { font-family: var(--f-display); font-size: 30px; font-weight: 300; color: var(--plasma); line-height: 1; }
.mission-name { margin: 12px 0 2px; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.mission-agency { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ion); margin-bottom: 10px; }
.mission p { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); margin: 0; }
.mission.highlight { border-color: rgba(116, 242, 196, .35); }
.mission.highlight .mission-year { color: var(--cl); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .8s; }
.video:hover img { opacity: 1; transform: scale(1.03); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(3, 6, 14, .5); backdrop-filter: blur(6px); cursor: pointer; display: grid; place-items: center; transition: transform .3s, background .3s; }
.video-play:hover { transform: scale(1.08); background: rgba(111, 214, 255, .3); }
.video-play span { width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.video-cap { position: absolute; left: 14px; bottom: 10px; margin: 0; font-family: var(--f-mono); font-size: 11px; color: var(--ink); text-shadow: 0 1px 6px #000; }
.video.playing .video-play, .video.playing .video-cap, .video.playing img { display: none; }

/* defence */
.section-defense { background: radial-gradient(ellipse 60% 40% at 90% 20%, rgba(111, 214, 255, .06), transparent 60%), var(--bg-2); }
.slides { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.slides-stage { position: relative; }
.slides-main { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; aspect-ratio: 16 / 9; box-shadow: 0 40px 100px -40px rgba(111, 214, 255, .35); }
.slides-main img { width: 100%; height: 100%; object-fit: contain; }
.slides-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(3, 6, 14, .75); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transition: background .25s; }
.slides-nav:hover { background: rgba(111, 214, 255, .25); }
.slides-nav.prev { left: -23px; } .slides-nav.next { right: -23px; }
.slides-count { font-family: var(--f-mono); color: var(--ink-3); font-size: 13px; }
.slides-count b { color: var(--ion); font-size: 22px; font-weight: 500; }
.slides-side h3 { font-family: var(--f-display); font-weight: 400; font-size: 26px; margin: 4px 0 12px; }
.slides-side #slide-text { min-height: 6.5em; }
.slides-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 18px; }
.slides-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 16 / 9; opacity: .55; transition: opacity .25s, border-color .25s; }
.slides-thumbs button.on, .slides-thumbs button:hover { opacity: 1; border-color: var(--ion); }
.slides-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.synopsis { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); margin-top: clamp(70px, 10vh, 120px); padding-top: clamp(40px, 6vh, 70px); border-top: 1px solid var(--line); }
blockquote { margin: 0 0 20px; font-family: var(--f-display); font-weight: 300; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); }
.syn-obj { color: var(--ink); }

/* thanks / footer */
.section-thanks { background: var(--bg-2); padding-bottom: 100px; }
.thanks { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 6vw, 100px); }
.thanks-list, .sources { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.thanks-list li, .sources li { color: var(--ink-2); padding-left: 18px; position: relative; }
.thanks-list li::before, .sources li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--ion); box-shadow: 0 0 8px var(--ion); }
.thanks-list b { color: var(--ink); }
.footer { position: relative; z-index: 1; background: var(--bg-2); border-top: 1px solid var(--line); padding: 28px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; font-size: 13px; color: var(--ink-3); }
.footer .credits { max-width: 560px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(2, 3, 8, .92); backdrop-filter: blur(8px); padding: 60px 80px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; border-radius: 10px; }
.lightbox figcaption { color: var(--ink-2); font-size: 14px; text-align: center; }
.lb-close, .lb-nav { position: absolute; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--ink); border-radius: 50%; width: 48px; height: 48px; font-size: 26px; cursor: pointer; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* reveal helpers */
.reveal { opacity: 0; transform: translateY(30px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .missions { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
  .timeline::before { display: none; }
  .entry-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; inset: 0 0 auto 0; top: 0; padding: 80px var(--pad) 30px; flex-direction: column; gap: 18px; background: rgba(3, 5, 11, .96); backdrop-filter: blur(14px); transform: translateY(-100%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); z-index: -1; }
  .nav-links a { font-size: 18px; }
  .topnav.open .nav-links { transform: none; }
  .nav-toggle { display: block; }
  .lang-switch { margin-left: auto; margin-right: 12px; }
  .topnav.open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .topnav.open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .panel { padding: 90px 18px; justify-content: center; min-height: 100vh; align-items: flex-end; padding-bottom: 12vh; }
  .panel-lab, .panel-measure { min-height: 110vh; }
  .card { padding: 22px 22px 24px; background: rgba(4, 8, 18, .78); }
  .panel-hero { align-items: flex-end; padding-bottom: 90px; }
  .panel-hero::before { background: linear-gradient(transparent 25%, rgba(3, 5, 11, .88) 70%); }
  .hud-orbit { display: none; }
  .split, .slides, .synopsis, .thanks { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .ph-b { margin-top: 0; }
  .ph-c { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .journal::before { left: 22px; }
  .entry { grid-template-columns: 1fr; gap: 14px; }
  .entry-mark { position: relative; top: 0; display: flex; justify-items: start; gap: 12px; align-items: center; text-align: left; }
  .entry-num { width: 46px; height: 46px; font-size: 12px; }
  .results { grid-template-columns: 1fr 1fr; }
  .missions { grid-template-columns: 1fr; }
  .lab-out { grid-template-columns: 1fr; }
  .lab-out div { grid-template-columns: 1fr auto; align-items: center; }
  .slides-nav.prev { left: 8px; } .slides-nav.next { right: 8px; }
  .lightbox { padding: 60px 12px; }
  .s-label { font-size: 10px; }
  .s-label .s-line { width: 16px; }
}
@media (max-width: 520px) {
  .results { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero-kpis { gap: 12px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
