/* ==========================================================================
   AIM HIGH — aimhigh.cz redesign (V27+)
   Ported from alessvoboda.space design system
   Palette: navy (#050A30) + red (#ED0000) + white. HUD/operator aesthetic.
   ========================================================================== */

:root {
  --navy: #050A30;
  --navy-deep: #020617;
  --black: #06070d;
  --navy-soft: #0c1446;
  --red: #ED0000;
  --red-dark: #B80000;
  --red-glow: rgba(237, 0, 0, 0.18);
  --white: #ffffff;
  --off-white: #f4f2ec;
  --gray-200: #e7e6e1;
  --gray-400: #a5a8b4;
  --gray-600: #4d5266;
  --ink: #0b0d1e;

  --font-display: "Barlow Condensed", "DIN Next Condensed", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1280px;
  --container-narrow: 1040px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(3.2rem, 7.4vw, 7rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.05rem; letter-spacing: 0.02em; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; transition: color 0.2s, opacity 0.2s; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 28px; }

.section { padding: 120px 0; position: relative; }
.section--light { background: var(--off-white); color: var(--ink); }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 40px; height: 2px;
  background: var(--red);
}

.section--light .eyebrow { color: var(--red); }

.accent-red { color: var(--red); }

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  width: 0%;
  z-index: 200;
  transition: width 0.1s ease;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: linear-gradient(180deg, rgba(6,7,13,0.92) 0%, rgba(6,7,13,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s;
}

.nav--solid { background: rgba(6,7,13,0.96); border-bottom: 1px solid rgba(255,255,255,0.08); }

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.nav__brand img { height: 34px; width: auto; }

.nav__brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav__brand-text .accent { color: var(--red); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav__links a { color: var(--white); opacity: 0.78; }
.nav__links a:hover { opacity: 1; }

.nav__cta {
  padding: 11px 22px;
  background: var(--red);
  color: var(--white) !important;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  opacity: 1 !important;
  transition: background 0.2s;
}

.nav__cta:hover { background: var(--red-dark); }

.nav__toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  width: 44px; height: 44px;
  cursor: pointer; padding: 0;
}

.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px auto;
}

.nav__widgets {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 36px;
}

/* ========== Mission clock ========== */

.mission-clock {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mission-clock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mission-clock__label {
  opacity: 0.6;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.mission-clock__time {
  color: var(--red);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ========== COMM toggle ========== */

.comm-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  position: relative;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.comm-toggle:hover { border-color: var(--red); }

.comm-toggle.is-active {
  background: rgba(237,0,0,0.12);
  border-color: var(--red);
}

.comm-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.comm-toggle.is-active .comm-dot {
  opacity: 1;
  animation: pulseComm 1.2s ease-in-out infinite;
}

@keyframes pulseComm {
  0%, 100% { box-shadow: 0 0 0 2px var(--red-glow); }
  50% { box-shadow: 0 0 0 6px var(--red-glow); }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--navy-deep);
  cursor: none;
}
.hero a,
.hero button,
.hero [role="button"] { cursor: none; }
@media (hover: none) {
  /* touch devices — keep native cursor / tap targets */
  .hero, .hero a, .hero button, .hero [role="button"] { cursor: auto; }
}

.hero__image {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 68%;
  background-size: cover;
  background-position: center center;
  z-index: 0;
  /* long gradual fade into the dark panel — no hard cut */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, rgba(0,0,0,0.75) 65%, rgba(0,0,0,0.35) 82%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 45%, rgba(0,0,0,0.75) 65%, rgba(0,0,0,0.35) 82%, transparent 100%);
}

.hero__overlay {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 62%;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6,7,13,0) 0%, rgba(6,7,13,0.3) 18%, rgba(6,7,13,0.7) 38%, rgba(6,7,13,0.92) 58%, rgba(6,7,13,0.96) 100%),
    linear-gradient(180deg, rgba(6,7,13,0.25) 0%, rgba(6,7,13,0) 20%, rgba(6,7,13,0) 80%, rgba(6,7,13,0.35) 100%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 55%;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 2;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 25%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 25%);
}

.hero > .container {
  grid-column: 2;
  grid-row: 1;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.reticle {
  position: fixed;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

.reticle::before,
.reticle::after {
  content: "";
  position: absolute;
  background: var(--red);
  opacity: 0.65;
}

.reticle::before {
  width: 2px;
  height: 20px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.reticle::after {
  width: 20px;
  height: 2px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  padding: 96px 0 40px;
  text-align: left;
  margin-left: auto;
  margin-right: 0;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 32px;
  color: var(--white);
  justify-content: flex-start;
}

.hero__kicker::before {
  content: "";
  width: 46px; height: 2px;
  background: var(--red);
}

.hero__title {
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
  letter-spacing: -0.01em;
  line-height: 0.94;
}

.hero__title .line-red { color: var(--red); }
.hero__title .dot { color: var(--red); }

.hero__line {
  display: block;
  margin-bottom: 0.14em;
}
.hero__line:last-child { margin-bottom: 0; }

.hero__sub {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  max-width: 58ch;
  margin-right: auto;
  opacity: 0.9;
  margin-bottom: 28px;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 32px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(22px, 2.6vw, 42px);
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-left: 6px;
  margin-right: auto;
  position: relative;
  width: fit-content;
}

.hero__stats::before,
.hero__stats::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--red);
}

.hero__stats::before { left: -6px; top: -6px; border-right: none; border-bottom: none; }
.hero__stats::after  { right: -6px; bottom: -6px; border-left: none; border-top: none; }

.hero__stats--solo {
  grid-template-columns: auto;
  justify-items: center;
}

.hero__stat {
  text-align: center;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.1vw, 2.9rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.hero__stat-suffix {
  font-size: 0.55em;
  margin-left: 2px;
  letter-spacing: 0;
}

.hero__stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.78;
  font-family: var(--font-display);
  white-space: nowrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn::after { content: "→"; font-family: var(--font-body); font-size: 1.1em; transition: transform 0.2s; }
.btn:hover::after { transform: translateX(4px); }

.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn--ghost:hover { background: rgba(255,255,255,0.08); }

.btn--dark { color: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--white); }

.btn--sm { padding: 12px 20px; font-size: 0.82rem; }

/* ==========================================================================
   Section divider
   ========================================================================== */

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(237,0,0,0.3) 50%, transparent 100%);
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--red);
  top: 50%;
  transform: translateY(-50%);
}

.section-divider::before { left: 0; }
.section-divider::after { right: 0; }

/* ==========================================================================
   Section intro block
   ========================================================================== */

.intro-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

/* Narrow variant: bigger title col, narrower body col pushed further right */
.intro-grid--narrow {
  grid-template-columns: 6fr 5fr;
  gap: clamp(60px, 8vw, 140px);
}

.intro-grid h2 { max-width: 14ch; }

/* Header lines — one full sentence per line (no mid-sentence wrap) */
.intro-grid--narrow h2 { max-width: none; }
.h2-line {
  display: block;
  white-space: nowrap;
}

/* Body variant that aligns vertically with the h2 (skipping the eyebrow row above it) */
.body--aligned { padding-top: calc(0.88rem + 20px + 8px); /* eyebrow height + its margin + slight fudge */ }

.intro-grid .body p {
  font-size: 1.08rem;
  opacity: 0.9;
  margin-bottom: 1.2em;
}

.intro-grid .body p.lead {
  font-size: 1.3rem;
  opacity: 1;
  line-height: 1.4;
}

/* Problem section — header + body in the left column (~golden ratio larger),
   OODA pinned top-right in a narrower column. */
.problem-layout {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: stretch;
}
.problem-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
/* Floor: keep at least this much breathing room between body and the placard */
.problem-main .problem-body { margin-bottom: clamp(36px, 4.5vw, 64px); }
.problem-aside {
  min-width: 0;
  width: 100%;
  margin-top: 2%;
}

/* OODA framing label above the interactive diagram */
.problem-aside__label {
  max-width: 420px;
  margin: 0 auto 22px;
  text-align: left;
}
.problem-aside__eyebrow { margin-bottom: 12px; }
.problem-aside__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}
.problem-aside__lede {
  font-size: 0.96rem;
  line-height: 1.55;
  opacity: 0.82;
  margin: 0;
  max-width: 42ch;
}
.problem-aside__hint {
  display: inline;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  opacity: 0.85;
  color: var(--red);
}

.problem-aside .ooda-wrap {
  margin: 0;
  max-width: 100%;
  width: 100%;
}
.problem-aside .ooda { max-width: 420px; margin: 0 auto; }

/* Halve the vertical padding on the problem section */
#whyMatters.section { padding-top: 60px; padding-bottom: 45px; }

.problem-head {
  max-width: 720px;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.problem-head h2 { max-width: none; }

.problem-body {
  max-width: 720px;
}
.problem-body p {
  font-size: 1.08rem;
  opacity: 0.9;
  margin-bottom: 1.2em;
}
.problem-body p.lead {
  font-size: 1.3rem;
  opacity: 1;
  line-height: 1.4;
}

/* ---- Decision-speed delta placard (#whyMatters left column) ---- */
.speed-delta {
  position: relative;
  /* margin-top: auto pins the placard to the bottom of .problem-main; the
     14px margin-bottom raises it so its bottom L-bracket (which extends 6px
     past the box) aligns with the bottom L-brackets of the OODA caption
     box (which sit flush at the bottom of .ooda__caption, itself 8px above
     the wrap's bottom margin). 6 + 8 = 14. */
  margin-top: auto;
  margin-bottom: 14px;
  padding: 24px clamp(20px, 3vw, 36px) 22px;
  border: none;
  background: transparent;
  max-width: 720px;
  /* Final visual nudge: shift up 5px regardless of whether margin-top:auto
     is engaging — translate moves the rendered box independent of layout. */
  transform: translateY(-5px);
}

/* Red corner brackets — same vocabulary as .hero__stats */
.speed-delta::before,
.speed-delta::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--red);
}
.speed-delta::before { left: -6px; top: -6px; border-right: none; border-bottom: none; }
.speed-delta::after  { right: -6px; bottom: -6px; border-left: none; border-top: none; }

.speed-delta__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 18px;
}

.speed-delta__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.speed-delta__cell { min-width: 0; }
.speed-delta__cell:nth-child(1) { text-align: right; }
.speed-delta__cell:nth-child(3) { text-align: left; }

.speed-delta__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-bottom: 10px;
}

.speed-delta__unit {
  font-size: 0.45em;
  margin-left: 3px;
  letter-spacing: 0;
  font-weight: 700;
  opacity: 0.9;
}

.speed-delta__label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.78;
  line-height: 1.4;
}

.speed-delta__vs {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--red);
  padding: 0 6px;
  position: relative;
  align-self: center;
}
.speed-delta__vs::before,
.speed-delta__vs::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 22px;
  background: rgba(11,13,30,0.22);
  transform: translateX(-50%);
}
.speed-delta__vs::before { top: -28px; }
.speed-delta__vs::after  { bottom: -28px; }

.speed-delta__caption {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(11,13,30,0.12);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.82;
  text-align: center;
}

.speed-delta__delta {
  color: var(--red);
  font-weight: 800;
  margin-right: 6px;
}

@media (max-width: 720px) {
  .speed-delta__row { grid-template-columns: 1fr; gap: 18px; }
  .speed-delta__cell:nth-child(1),
  .speed-delta__cell:nth-child(3) { text-align: center; }
  .speed-delta__vs::before,
  .speed-delta__vs::after { display: none; }
}

/* ==========================================================================
   OODA diagram
   ========================================================================== */

.ooda {
  position: relative;
  margin: 28px auto 0;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  box-sizing: border-box;
}

.ooda__arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ooda__center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34%; height: 34%;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: 0 0 0 5px rgba(237,0,0,0.14), 0 0 55px rgba(237,0,0,0.42);
  text-transform: uppercase;
  font-size: 1.25rem;
  line-height: 1;
  cursor: default;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.ooda__node {
  position: absolute;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  padding: 2px 4px;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.ooda__node-label {
  display: inline-block;
}

/* Cardinal placement — labels sit just outside each cardinal point with subtle breathing room */
.ooda__node--top    { top: 19%;    left: 50%; transform: translate(-50%, -100%); }
.ooda__node--bottom { bottom: 19%; left: 50%; transform: translate(-50%, 100%); }
.ooda__node--left   { top: 50%; left: 19%;    transform: translate(-100%, -50%); }
.ooda__node--right  { top: 50%; right: 19%;   transform: translate(100%, -50%); }

/* Dark-theme sections invert node label colors */
.section:not(.section--light) .ooda__node-label,
section:not(.section--light) .ooda__node { color: var(--white); }

/* --- Interactive state --- */
.ooda-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  margin: 18px auto 8px;
}

.ooda__node:hover,
.ooda__node:focus-visible {
  color: var(--red);
  outline: none;
}
.ooda__node--top:hover,    .ooda__node--top:focus-visible    { transform: translate(-50%, -100%) scale(1.08); }
.ooda__node--bottom:hover, .ooda__node--bottom:focus-visible { transform: translate(-50%, 100%)  scale(1.08); }
.ooda__node--left:hover,   .ooda__node--left:focus-visible   { transform: translate(-100%, -50%) scale(1.08); }
.ooda__node--right:hover,  .ooda__node--right:focus-visible  { transform: translate(100%, -50%)  scale(1.08); }

.ooda__node.is-active {
  color: var(--red);
}
.ooda__node.is-active .ooda__node-label {
  text-shadow: 0 0 14px rgba(237,0,0,0.55);
}

/* arc — all quadrants stay uniform; no per-quadrant highlight when a stage is selected */
.ooda__arc {
  opacity: 0.95;
  transition: opacity 0.25s ease;
}

/* traveling pulse */
.ooda__pulse {
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 0 4px rgba(237,0,0,0.8));
}
/* Enemy target — soft blink so you feel it closing the loop */
.ooda__enemy { filter: drop-shadow(0 0 3px rgba(30,58,138,0.55)); }
.ooda__enemy { animation: oodaEnemyBlink 1.5s ease-in-out infinite; }
@keyframes oodaEnemyBlink {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

/* Dogfight status chip */
.ooda__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid currentColor;
  background: rgba(30,58,138,0.06);
  color: #1e3a8a;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.ooda__status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: oodaStatusBlink 1.4s ease-in-out infinite;
}
@keyframes oodaStatusBlink {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}
.ooda__status[data-state="inside"]  { color: #24e08a; background: rgba(36,224,138,0.08); }
.ooda__status[data-state="outside"] { color: #ff4d5a; background: rgba(255,77,90,0.08);  }
.ooda__status[data-state="neutral"] { color: #c9a23a; background: rgba(201,162,58,0.10); }

/* ATC typewriter cursor */
.ooda__panel-body.is-typing::after,
.ooda__panel-body.is-typed::after {
  content: '\25A0';
  display: inline-block;
  color: var(--red);
  margin-left: 4px;
  animation: oodaCursorBlink 0.9s steps(1, end) infinite;
  vertical-align: baseline;
  font-size: 0.8em;
  transform: translateY(-1px);
}
@keyframes oodaCursorBlink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.ooda__panel-tag.is-transmitting::before {
  content: '\25CF ';
  color: var(--red);
  animation: oodaStatusBlink 0.8s ease-in-out infinite;
}

/* center stays constant as OODA LOOP focal point; only its glow intensifies when a stage is active */
.ooda.is-detail .ooda__center {
  box-shadow: 0 0 0 6px rgba(237,0,0,0.22), 0 0 85px rgba(237,0,0,0.6);
}

/* stage detail panel below the diagram */
.ooda__panel {
  width: 100%;
  max-width: 440px;
  margin: 14px auto 4px;
  padding: 16px 18px;
  background: rgba(237,0,0,0.04);
  border: 1px solid rgba(237,0,0,0.35);
  border-left: 3px solid var(--red);
  animation: oodaPanelIn 260ms ease;
}
.section--light .ooda__panel {
  background: rgba(237,0,0,0.05);
  border-color: rgba(237,0,0,0.28);
  border-left-color: var(--red);
}
@keyframes oodaPanelIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ooda__panel-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.ooda__panel-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0.85;
}
.ooda__panel-title {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.ooda__panel-close {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: inherit;
  width: 26px; height: 26px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  display: grid;
  place-items: center;
}
.section--light .ooda__panel-close { border-color: rgba(5,10,48,0.22); }
.ooda__panel-close:hover { border-color: var(--red); color: var(--red); }
.ooda__panel-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.92;
}

/* Full-width variant: OODA gets the full section width below the header+body */
.ooda-wrap--full {
  max-width: none;
  width: 100%;
  margin: 40px 0 8px;
  position: relative;
}
.ooda-wrap--full .ooda { margin: 0 auto; }

/* Desktop: panel floats absolute to the far-right column so it never covers the centered loop.
   Note: min-height was removed — the .ooda__panel element no longer exists in the HTML, so
   reserving 620px of vertical space leaves a dead air pocket below the caption that throws
   off any sibling layout aligned to the column bottom. */
@media (min-width: 900px) {
  .ooda-wrap--full .ooda__panel {
    position: absolute;
    /* top set dynamically by JS to align with the top label of the ring */
    right: 0;
    width: 34%;
    max-width: 380px;
    margin: 0;
  }
}

/* Range input styled (shared between per-stage friction sliders) */
.ooda__friction-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  position: relative;
}
.section--light .ooda__friction-slider { background: rgba(5,10,48,0.14); }
.ooda__friction-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  cursor: grab;
  box-shadow: 0 0 0 3px rgba(237,0,0,0.18), 0 0 10px rgba(237,0,0,0.5);
  border: none;
  transition: transform 0.15s ease;
}
.ooda__friction-slider::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.ooda__friction-slider::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: grab;
  box-shadow: 0 0 0 3px rgba(237,0,0,0.18), 0 0 10px rgba(237,0,0,0.5);
}

/* ---- V10 OODA upgrades: tooltips, ripples, tether, sweep, flash, curveball, difficulty ---- */

/* ── Shared caption under the tempo slider ─────────────────────────────────
   All four labels write into the same corner-bracketed callout below the
   slider. Text wraps; typewriter reveals it on hover/focus. */
.ooda__node { position: absolute; }
.ooda__caption {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 3.4em;
  margin: 22px auto 0;
  padding: 12px 16px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  background: transparent;
  transition: background 0.22s ease;
}
.ooda__caption.is-active {
  background: rgba(237, 0, 0, 0.08);
}
.ooda__caption-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 0 solid var(--red);
  opacity: 0.28;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.ooda__caption.is-active .ooda__caption-corner { opacity: 1; }
.ooda__caption-corner--tl { top: 0;    left: 0;    border-top-width: 1.4px; border-left-width: 1.4px; }
.ooda__caption-corner--tr { top: 0;    right: 0;   border-top-width: 1.4px; border-right-width: 1.4px; }
.ooda__caption-corner--bl { bottom: 0; left: 0;    border-bottom-width: 1.4px; border-left-width: 1.4px; }
.ooda__caption-corner--br { bottom: 0; right: 0;   border-bottom-width: 1.4px; border-right-width: 1.4px; }

.ooda__caption-text {
  display: inline;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-weight: 500;
  text-transform: uppercase;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
/* Dark-section override (OODA currently sits in section--light; kept for safety) */
.section:not(.section--light) .ooda__caption-text,
section:not(.section--light) .ooda__caption-text { color: var(--white); }

/* Typewriter caret — short red block after the text */
.ooda__caption-text::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 0.78em;
  margin-left: 3px;
  background: var(--red);
  transform: translateY(2px);
  opacity: 0;
  transition: opacity 0.1s ease;
}
.ooda__caption-text.is-typing::after,
.ooda__caption-text.is-typed::after { opacity: 1; }
.ooda__caption-text.is-typed::after { animation: oodaTipCaret 0.9s steps(1) infinite; }
@keyframes oodaTipCaret {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Stage-crossing shockwave ripples */
.ooda__ripple { transform-origin: center; transform-box: fill-box; }
.ooda__ripple.is-firing { animation: oodaRipple 620ms ease-out forwards; }
@keyframes oodaRipple {
  0%   { r: 2;  opacity: 0.8; stroke-width: 2.2; }
  100% { r: 20; opacity: 0;   stroke-width: 0.8; }
}

/* Tether line */
.ooda__tether { transition: stroke 0.25s ease, opacity 0.25s ease; }

/* Radar sweep arm */
.ooda__sweep { opacity: 0; transition: opacity 0.2s ease; transform-origin: 100px 100px; }
.ooda__sweep.is-sweeping { opacity: 1; animation: oodaSweepRot 1.8s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes oodaSweepRot {
  0%   { transform: rotate(-90deg); }
  100% { transform: rotate(270deg); }
}

/* HUD lap-event flash */
.ooda__flash {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid currentColor;
  background: rgba(0,0,0,0.0);
  color: #1e3a8a;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 6;
}
.ooda__flash[data-tone="win"]   { color: #24e08a; background: rgba(36,224,138,0.08); }
.ooda__flash[data-tone="lose"]  { color: #ff4d5a; background: rgba(255,77,90,0.08);  }
.ooda__flash[data-tone="shock"] { color: var(--red); background: rgba(237,0,0,0.08);  }
.ooda__flash.is-firing { animation: oodaFlashPop 1500ms ease-out forwards; }
@keyframes oodaFlashPop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  15%  { opacity: 1; transform: translate(-50%, -50%) scale(1.0);  }
  70%  { opacity: 1; transform: translate(-50%, calc(-50% - 18px)) scale(1.0); }
  100% { opacity: 0; transform: translate(-50%, calc(-50% - 28px)) scale(1.0); }
}

/* Ring shake when curveball fires */
.ooda.is-shaking .ooda__arrows { animation: oodaShake 650ms ease-in-out; transform-origin: center; }
@keyframes oodaShake {
  0%,100% { transform: translate(0,0) rotate(0); }
  10% { transform: translate(-2px, 1px) rotate(-0.4deg); }
  30% { transform: translate(3px, -1px) rotate(0.6deg); }
  50% { transform: translate(-2px, 2px) rotate(-0.3deg); }
  70% { transform: translate(2px, -1px) rotate(0.4deg); }
  90% { transform: translate(-1px, 1px) rotate(-0.2deg); }
}

.ooda__center { user-select: none; }

/* Controls stack (replaces .ooda__tempo) */
.ooda__controls {
  width: 100%;
  max-width: 560px;
  margin: 2px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  font-family: var(--font-mono);
}
.ooda-wrap--full .ooda__controls { margin: 2px auto 0; }

/* HUD row */
.ooda__hud {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.ooda__laps {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid rgba(5,10,48,0.14);
  background: rgba(255,255,255,0.5);
}
.section:not(.section--light) .ooda__laps { border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); }
.ooda__laps-tag { opacity: 0.55; margin-right: 4px; }
.ooda__laps-num { font-weight: 800; color: var(--red); font-size: 0.86rem; }
.ooda__laps-enemy .ooda__laps-num { color: #1e3a8a; }
.ooda__laps-sep { opacity: 0.4; }

/* Curveball button */
.ooda__curveball {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 12px;
  border: 1px solid var(--red);
  background: rgba(237,0,0,0.05);
  color: var(--red);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ooda__curveball:hover { background: rgba(237,0,0,0.12); }
.ooda__curveball-bolt { font-size: 0.95rem; line-height: 1; }
.ooda__curveball.is-firing {
  animation: oodaCurveFire 1.5s ease-out;
}
@keyframes oodaCurveFire {
  0%   { box-shadow: 0 0 0 0 rgba(237,0,0,0.5); background: rgba(237,0,0,0.35); color: white; }
  100% { box-shadow: 0 0 0 18px rgba(237,0,0,0);   background: rgba(237,0,0,0.05); color: var(--red); }
}

/* Single tempo slider row */
.ooda__tempo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.ooda__tempo-label {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  white-space: nowrap;
}
.ooda__tempo-readout {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--red);
  font-size: 0.86rem;
  min-width: 36px;
  text-align: right;
}
.ooda__tempo-slider { width: 100%; }

/* Per-stage friction sliders (legacy — unused after V31 OODA simplification, kept for the shared slider appearance) */
.ooda__friction {
  width: 100%;
}
.ooda__friction-title {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  opacity: 0.85;
}
.ooda__friction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ooda__friction-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ooda__friction-label {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}
.ooda__friction-readout {
  text-align: center;
  font-weight: 700;
  color: var(--red);
  font-size: 0.66rem;
}

/* Difficulty tier group */
.ooda__difficulty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ooda__difficulty-label { opacity: 0.55; margin-right: 6px; font-weight: 700; }
.ooda__difficulty-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border: 1px solid rgba(5,10,48,0.18);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.section:not(.section--light) .ooda__difficulty-btn { border-color: rgba(255,255,255,0.2); }
.ooda__difficulty-btn:hover { border-color: var(--red); color: var(--red); }
.ooda__difficulty-btn.is-active { border-color: var(--red); background: rgba(237,0,0,0.08); color: var(--red); }

/* ==========================================================================
   Outcome list
   ========================================================================== */

.outcomes {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  gap: 4px;
}

.outcomes li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 1.04rem;
}

.outcomes li .num {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
  padding-top: 0;
  min-width: 60px;
}

/* Outcome section overrides: halved top padding, -20% bottom padding,
   body block aligned with h2, bold lead, pronounced numbers, no dividers. */
#outcome.section { padding-top: 60px; padding-bottom: 96px; }
#outcome .body p.lead { font-weight: 700; }

.callout {
  display: inline-block;
  padding: 16px 24px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-top: 20px;
}

/* ==========================================================================
   Keynote featured cards (V27 accordion)
   ========================================================================== */

.topics-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.topics-header h2 { margin-bottom: 0; max-width: 26ch; }

/* Tab-panel stage: expanded dossier on top, persistent 5-tab row below. */
.kf-stage {
  position: relative;
}

.keynote-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.kf-card {
  position: relative;
  background: rgba(12, 16, 46, 0.94);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--red);
  overflow: hidden;
  width: 100%;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
}

.kf-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(237,0,0,0.05) 0%, rgba(0,0,0,0) 40%);
  z-index: 0;
}

.kf-card__toggle {
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 26px 34px 22px;
  /* Reserve room on the right for the golden-ratio photo panel (φ ≈ 61.8 / 38.2) */
  padding-right: calc(42% + 24px);
  text-align: left;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Head line (num + "Keynote" label) — visible now that the persistent tab row is gone */
.kf-card__head {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 14px;
}

.kf-card__num {
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}

.kf-card__label {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.55;
}

.kf-card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.01em;
  color: var(--white);
  display: block;
  font-size: clamp(1.6rem, 2.2vw, 1.95rem);
  line-height: 1.05;
}

.kf-card__lede {
  margin: 10px 0 0;
  max-width: 70ch;
  color: var(--white);
  font-size: 1.06rem;
  line-height: 1.5;
  opacity: 0.86;
}

.kf-card__body {
  /* Single column — takeaways fill the full golden-major left bay of the card */
  display: block;
  padding: 4px 34px 34px;
  padding-right: calc(42% + 24px);
  position: relative;
  z-index: 1;
}

.kf-card__takeaways { max-width: none; }

.kf-card::before {
  content: attr(data-kf);
  position: absolute;
  top: -0.22em;
  left: -0.02em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(220px, 26vw, 380px);
  line-height: 0.88;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.kf-card__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  /* Photo panel sized to φ — text takes the golden-major left portion, photo the right */
  width: 45%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  /* Diagonal top-left sits at ~61.8% across the card (golden ratio point) */
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: opacity 320ms ease;
}

.kf-card__backdrop::after {
  /* Subtle vignette to preserve text legibility across the diagonal seam */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,15,20,0.55) 0%, rgba(14,15,20,0.15) 30%, rgba(14,15,20,0) 55%);
  pointer-events: none;
}

.kf-card[data-kf="01"] .kf-card__backdrop {
  background-image: url('assets/gripen-cockpit.jpg');
  /* Zoom in past cover so the cockpit/pilot fills more of the diagonal panel.
     Anchor toward the bottom so we keep more of the pilot and trim the sky. */
  background-size: auto 140%;
  background-position: center 85%;
}
.kf-card[data-kf="03"] .kf-card__backdrop { background-image: url('assets/survival.png'); }

/* ---- Card 02 (Human Edge): F-35 helmet (transparent PNG) over a sky gradient ---- */
.kf-card[data-kf="02"] .kf-card__backdrop {
  background:
    url('assets/f35-helmet-nvg.png') center bottom / cover no-repeat,
    linear-gradient(180deg, #1d3a5c 0%, #4d7fa8 35%, #88b3d0 70%, #c8dde8 100%);
}

/* ==========================================================================
   "Also available on request" — ancillary topics block under the 3 keynotes
   ========================================================================== */

.kf-also {
  margin-top: 48px;
  padding: 24px 0 8px;
  background: transparent;
  border: none;
}

.kf-also__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 18px;
}

.kf-also__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.kf-also__list li {
  position: relative;
  padding-left: 22px;
}

.kf-also__list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-size: 1rem;
  line-height: 1.5;
}

.kf-also__title {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.kf-also__desc {
  display: block;
  color: var(--ink);
  opacity: 0.72;
  font-size: 0.98rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .kf-also__list {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.kf-card__takeaways h5 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
  font-weight: 600;
}

.kf-card__takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.kf-card__takeaways li {
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--white);
  opacity: 0.95;
}

.kf-card__takeaways li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--red);
}

.kf-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  font-weight: 600;
  /* Default: ghost button — transparent fill, white outline, white text.
     Hover fills to white-on-dark (the previous default state). */
  color: var(--white);
  background: transparent;
  border: 1px solid var(--white);
  padding: 12px 20px;
  margin-top: 10px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.kf-card__cta::after {
  content: "→";
  font-family: var(--font-body);
  font-size: 1.1em;
  transition: transform 0.2s;
}

.kf-card__cta:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.kf-card__cta:hover::after { transform: translateX(4px); }

/* ---- Tab row (persistent 5-button selector under the expanded card) ---- */
.kf-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.kf-tab {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 132px;
  padding: 20px 20px 18px;
  background: rgba(12, 16, 46, 0.86);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  text-align: left;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.kf-tab:hover {
  background: rgba(18, 22, 58, 0.94);
  border-color: rgba(237, 0, 0, 0.4);
}

.kf-tab[aria-selected="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(237, 0, 0, 0.35);
}

.kf-tab[aria-selected="true"] .kf-tab__num,
.kf-tab[aria-selected="true"] .kf-tab__title { color: var(--white); opacity: 1; }

.kf-tab__num {
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  font-weight: 700;
  line-height: 1;
}

/* Keynote topics section — 50% smaller top padding, 20% smaller bottom padding */
#topics.section { padding-top: 60px; padding-bottom: 96px; }

.kf-tab__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--white);
  font-weight: 800;
  opacity: 0.9;
}

.kf-tab:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

/* ==========================================================================
   Credibility band (stats + logos)
   ========================================================================== */

.cred-band {
  padding: 80px 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Mirror the hero stats design: top+bottom rule with red corner brackets */
.cred-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(28px, 3vw, 52px);
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 auto 56px;
  position: relative;
  width: fit-content;
  max-width: 100%;
  background: transparent;
}

.cred-stats::before,
.cred-stats::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--red);
}
.cred-stats::before { left: -6px; top: -6px; border-right: none; border-bottom: none; }
.cred-stats::after  { right: -6px; bottom: -6px; border-left: none; border-top: none; }

.cred-stat {
  background: transparent;
  padding: 0;
  text-align: right;
}

.cred-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.1vw, 2.9rem);
  color: var(--red);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.cred-stat__label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  opacity: 0.78;
  white-space: nowrap;
}

.cred-logos__label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 26px;
}

.cred-logos__row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 56px;
  gap: clamp(32px, 5vw, 72px);
  flex-wrap: wrap;
}

/* Logos are pre-processed as white-on-transparent PNGs — no filters needed. */
.cred-logos__row img {
  max-height: 36px;
  width: auto;
  opacity: 0.78;
  transition: opacity 0.2s;
}

.cred-logos__row img:hover { opacity: 1; }

/* ==========================================================================
   Track Record merged section (credibility + speaking + reviews)
   ========================================================================== */

/* Track Record: halve the top section padding (default .section is 120px 0) */
#testimonials {
  padding-top: 60px;
  padding-bottom: 96px;
  background: var(--off-white);
  color: var(--ink);
}

/* Logos are white-on-transparent PNGs — invert to dark-on-transparent on light bg */
#testimonials .cred-logos__row img {
  filter: invert(1);
  opacity: 0.68;
}
#testimonials .cred-logos__row img:hover { opacity: 1; }

/* Broadcaster logos arrive in full color — desaturate and skip the inversion */
#testimonials .cred-logos__row img.logo--broadcast {
  filter: grayscale(1) contrast(1.05);
  opacity: 0.62;
}
#testimonials .cred-logos__row img.logo--broadcast:hover { opacity: 1; }

/* Full-width header above the split — lede spans the body */
.track-head {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.track-head .track-lede {
  margin-top: 4px;
  max-width: none;
}

/* Full-width logo wall above the split — flex-wrap keeps the row centered
   and balanced at any logo count. */
.cred-logos__row.track-logos--full {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 48px);
  margin: 0 0 clamp(48px, 6vw, 72px);
  width: 100%;
}

.cred-logos__row.track-logos--full img {
  max-height: 36px;
  width: auto;
  max-width: 100%;
  flex: 0 0 auto;
}

/* Asymmetric split: pull quote on the left, on-stage gallery on the right.
   Golden-ratio column widths favor the right (visual) side. */
.track-split {
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}

.track-split__left {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
  min-width: 0;
}

.track-split__right { min-width: 0; }

/* ==========================================================================
   Single pull quote — confident, quiet proof beneath the logos
   ========================================================================== */

.track-pullquote {
  margin: 0;
  padding: 6px 0 6px 28px;
  border-left: 2px solid var(--red);
  text-align: left;
  max-width: none;
}

.track-pullquote__text {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.82;
  font-weight: 400;
}

.track-pullquote__attr {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.55;
  color: var(--ink);
}

/* ==========================================================================
   On-stage gallery — crossfade carousel of speaking photos
   ========================================================================== */

.stage-gallery {
  margin: 0;
  max-width: none;
}

.stage-gallery__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  border: 1px solid rgba(0,0,0,0.12);
  overflow: hidden;
}

/* Label sits as an overlay inside the viewport (top-left chyron) */
.stage-gallery__label {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
  pointer-events: none;
}

.stage-gallery__label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--red);
  opacity: 0.9;
}

.stage-gallery__track {
  position: absolute;
  inset: 0;
}

.stage-gallery__track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.stage-gallery__track img.is-active {
  opacity: 1;
}

.stage-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.4);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.stage-gallery__nav:hover {
  background: var(--red);
  border-color: var(--red);
}
.stage-gallery__nav--prev { left: 12px; }
.stage-gallery__nav--next { right: 12px; }

.stage-gallery__dots {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: flex-start;
}

.stage-gallery__dots button {
  width: 24px;
  height: 4px;
  background: rgba(0,0,0,0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s ease, width 0.18s ease;
}

.stage-gallery__dots button.is-active {
  background: var(--red);
  width: 36px;
}

.stage-gallery__dots button:hover {
  background: rgba(0,0,0,0.4);
}

/* ==========================================================================
   Why it works
   ========================================================================== */

.why {
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding: 120px 0;
}

.why__bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero-helmet.png") center right / cover no-repeat;
  opacity: 0.65;
  z-index: 0;
}

.why__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6,7,13,0.95) 0%, rgba(6,7,13,0.75) 45%, rgba(6,7,13,0.25) 100%);
}

.why .container { position: relative; z-index: 2; max-width: 1100px; }

.why h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  max-width: 18ch;
  margin-bottom: 28px;
}

.why__lead {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 52ch;
  margin-bottom: 36px;
}

.why__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.1);
  max-width: 760px;
}

.why__pillar {
  background: var(--black);
  padding: 28px 24px;
}

.why__pillar-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 8px;
}

.why__pillar-word {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.why__pillar-label {
  font-size: 0.88rem;
  opacity: 0.72;
}

/* ==========================================================================
   Pull quote
   ========================================================================== */

.pull {
  background: var(--red);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}

.pull__text {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.005em;
  line-height: 1;
  margin: 0 0 18px;
}

.pull__attr {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.92rem;
  opacity: 0.85;
}

/* ==========================================================================
   Booking / availability form
   ========================================================================== */

.booking {
  /* Background + text color come from .section--light (off-white / ink).
     The .booking__form itself stays dark as a "tactical panel" on the light section. */
  padding: 120px 0;
}

.booking__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.booking__side h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  max-width: 14ch;
}

.booking__side p {
  opacity: 0.85;
  max-width: 34ch;
  margin-bottom: 28px;
}

.booking__facts {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.booking__fact {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.95rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(5,10,48,0.1);
}

.booking__fact .ico {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  border-radius: 2px;
  flex-shrink: 0;
  font-weight: 600;
}

.booking__form {
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 40px 40px 32px;
  /* Default text color for everything inside the form panel.
     Without this, .booking__title / .gdpr / .form-status inherit
     the dark `var(--ink)` from the surrounding .section--light. */
  color: var(--white);
}

.booking__form .form-status {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  min-height: 1.2em;
}

.booking__step {
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.78rem;
  margin-bottom: 18px;
  font-weight: 600;
}

.booking__title {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 600;
}

.field label span { color: var(--red); margin-left: 4px; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,0.18);
  background: #0a0b16;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.98rem;
  border-radius: var(--radius);
  transition: border-color 0.2s;
  position: relative;
}

.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
}

.field.is-focused input,
.field.is-focused select,
.field.is-focused textarea {
  background: linear-gradient(
    90deg,
    #0a0b16 0%,
    #0a0b16 var(--scan-pos, 0%),
    rgba(237, 0, 0, 0.1) calc(var(--scan-pos, 0%) + 2%),
    #0a0b16 calc(var(--scan-pos, 0%) + 4%)
  );
  animation: scanLine 0.8s ease-in-out forwards;
}

@keyframes scanLine {
  0% {
    --scan-pos: 0%;
    background-position: 0%;
  }
  100% {
    --scan-pos: 100%;
    background-position: 100%;
  }
}

.field textarea { min-height: 120px; resize: vertical; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.gdpr {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.82rem;
  opacity: 0.75;
  margin: 14px 0 22px;
  line-height: 1.5;
}

.gdpr a { color: var(--white); text-decoration: underline; }

.form-submit {
  width: 100%;
  padding: 16px 28px;
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--red-dark); }

.form-submit:disabled {
  background: rgba(237, 0, 0, 0.5);
  cursor: not-allowed;
}

/* Honeypot — hidden from real users */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Cross-link strip
   ========================================================================== */

.cross-strip {
  padding: 44px 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.cross-strip p {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.92rem;
  color: var(--white);
  opacity: 0.85;
}

.cross-strip a {
  color: var(--red);
  font-weight: 600;
  margin-left: 10px;
}

.cross-strip a:hover { text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--navy-deep);
  padding: 64px 0 32px;
  font-size: 0.88rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer__brand img { height: 120px; width: auto; margin-bottom: 18px; }

.footer__brand p { opacity: 0.72; max-width: 32ch; }

.footer__col h5 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0 0 14px;
}

.footer__col ul {
  list-style: none; padding: 0; margin: 0;
}

.footer__col li { margin-bottom: 10px; opacity: 0.82; }
.footer__col a:hover { color: var(--red); opacity: 1; }

.footer__legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 0.78rem;
  opacity: 0.55;
  letter-spacing: 0.05em;
}
.footer__legal a {
  color: inherit;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.footer__legal a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ==========================================================================
   Meet Aleš — bio block
   ========================================================================== */

.bio {
  /* Background + color come from .section--light (off-white / ink) */
  padding: 100px 0;
}

.bio__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.bio__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-deep);
}

.bio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.15) contrast(1.02);
  display: block;
}

.bio__photo-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--red);
  pointer-events: none;
}

.bio__photo-corner--tl {
  top: 14px; left: 14px;
  border-right: none; border-bottom: none;
}

.bio__photo-corner--br {
  bottom: 14px; right: 14px;
  border-left: none; border-top: none;
}

.bio__body h2 {
  margin-bottom: 24px;
}

.bio__lead {
  font-size: 1.12rem;
  line-height: 1.5;
  margin-bottom: 18px;
  opacity: 0.95;
}

.bio__body p {
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.82;
  max-width: 58ch;
}

.bio__creds {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(20px, 2.6vw, 40px);
  margin: 32px 0 28px;
  padding: 18px 24px;
  border-top: 1px solid rgba(5,10,48,0.14);
  border-bottom: 1px solid rgba(5,10,48,0.14);
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.bio__creds::before,
.bio__creds::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 2px solid var(--red);
}
.bio__creds::before { left: -5px; top: -5px; border-right: none; border-bottom: none; }
.bio__creds::after  { right: -5px; bottom: -5px; border-left: none; border-top: none; }

.bio__cred { text-align: right; }

.bio__cred-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: var(--red);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bio__cred-sup {
  font-size: 0.6em;
  opacity: 0.7;
  margin-left: 2px;
}

.bio__cred-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  opacity: 0.68;
  margin-top: 6px;
  white-space: nowrap;
}

/* Parliamentary award ribbon — recognition register, sits below the stat row */
.bio__award {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  margin: 0 0 22px;
  background: rgba(237,0,0,0.06);
  border: 1px solid rgba(237,0,0,0.22);
  border-left: 2px solid var(--red);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.3;
}

.bio__award-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex: 0 0 auto;
}

.bio__award-label {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  font-size: 0.7rem;
}

.bio__award-sep {
  width: 1px;
  height: 12px;
  background: rgba(5,10,48,0.18);
  flex: 0 0 auto;
}

.bio__award-text {
  opacity: 0.78;
}

.bio__crosslink {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  opacity: 0.72;
  letter-spacing: 0.02em;
  margin: 0;
}

.bio__crosslink a {
  color: var(--red);
  border-bottom: 1px dashed rgba(237,0,0,0.5);
}

.bio__crosslink a:hover { border-bottom-color: var(--red); }

/* ==========================================================================
   Logistics & FAQ
   ========================================================================== */

.logistics-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

/* Two-column layout: operator spec sheet left, FAQ accordion right */
.logistics-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

/* Operator spec sheet — five outlined placard boxes, flush-stacked */
.logistics-specs {
  padding-top: 2px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.specs-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(11,13,30,0.18);
  background: transparent;
  align-items: baseline;
  transition: background-color 180ms ease, border-color 180ms ease;
  position: relative;
}

/* Overlap top border with the previous row's bottom border so adjacent edges
   merge into a single hairline instead of a doubled 2px rule. */
.specs-row + .specs-row { margin-top: -1px; }

.specs-row:hover {
  background: rgba(11,13,30,0.04);
  border-color: rgba(11,13,30,0.28);
  z-index: 1; /* keep the highlighted border above neighboring borders */
}

.specs-row:first-child {
  padding-top: 18px;
}

.specs-row__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  font-weight: 600;
  padding-top: 4px;
}

.specs-row__value {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.88;
}

/* FAQ accordion (native <details>) */

.faq {
  max-width: none;
  margin: 0;
  min-width: 0;
}

.faq__eyebrow {
  margin-bottom: 22px;
  justify-content: flex-start;
}

.faq__list {
  border-top: 1px solid rgba(11,13,30,0.12);
}

.faq__item {
  border-bottom: 1px solid rgba(11,13,30,0.12);
  padding: 0;
}

.faq__item > summary {
  list-style: none;
  padding: 20px 56px 20px 0;
  cursor: pointer;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  color: var(--ink);
  position: relative;
  transition: color 0.2s ease;
}

.faq__item > summary::-webkit-details-marker { display: none; }

.faq__item > summary::after {
  content: "+";
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq__item[open] > summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__item > summary:hover { color: var(--red); }

.faq__item > p {
  padding: 0 48px 22px 0;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0.82;
  max-width: 72ch;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .intro-grid, .booking__grid { grid-template-columns: 1fr; gap: 48px; }
  .problem-layout { grid-template-columns: 1fr; gap: 36px; }
  .problem-aside { margin-top: 0; }
  .problem-aside .ooda { max-width: 420px; }
  .cred-stats { grid-template-columns: repeat(2, auto); gap: 20px 32px; padding: 16px 22px; }
  .why__pillars { grid-template-columns: 1fr; }
  .bio__grid { grid-template-columns: 1fr; gap: 36px; }
  .bio__photo { max-width: 460px; margin: 0 auto; }
  .track-split { grid-template-columns: 1fr; gap: 44px; }
  .cred-logos__row.track-logos--full { gap: 20px 32px; }
  .cred-logos__row.track-logos--full img { max-height: 32px; }
  .logistics-split { grid-template-columns: 1fr; gap: 56px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Hero: stack image over text on tablets */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 42vh auto;
    min-height: auto;
  }
  .hero__image {
    position: relative;
    top: auto; bottom: auto; left: auto;
    width: 100%;
    height: 100%;
    grid-column: 1;
    grid-row: 1;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  }
  .hero > .container {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
  }
  .hero__overlay,
  .hero__grid {
    position: absolute;
    inset: auto 0 0 0;
    top: auto;
    width: 100%;
    height: 42vh;
  }
  .hero__content {
    padding: 40px 0 80px;
    text-align: left;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
  }
  .hero__sub, .hero__actions, .hero__stats { margin-left: 0; margin-right: auto; }

  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    padding: 24px 32px;
    background: var(--navy-deep);
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: 18px;
  }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__widgets { display: none; }

  .section { padding: 80px 0; }
  .booking { padding: 80px 0; }

  .kf-tabs { gap: 6px; }
  .kf-tab { padding: 14px 12px; min-height: 100px; }
  .kf-tab__title { font-size: 0.86rem; }
}

@media (max-width: 760px) {
  .field-row { grid-template-columns: 1fr; }
  .cred-stats { grid-template-columns: repeat(2, auto); gap: 16px 24px; padding: 14px 18px; }
  .cred-stat__num { font-size: clamp(1.6rem, 5.2vw, 2.1rem); }
  .cred-stat__label { font-size: 0.72rem; letter-spacing: 0.12em; }
  .bio__creds { grid-template-columns: repeat(3, auto); gap: 14px 20px; padding: 14px 18px; }
  .bio__cred-num { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .bio__cred-label { font-size: 0.66rem; letter-spacing: 0.12em; }
  .faq__item > summary { font-size: 0.95rem; padding-right: 44px; }
  .specs-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px; }
  .specs-row__label { padding-top: 0; }
  .cred-logos__row.track-logos--full { gap: 18px 24px; }
  .cred-logos__row.track-logos--full img { max-height: 28px; }
  .stage-gallery__nav { width: 38px; height: 38px; font-size: 1.2rem; }
  .bio__award { font-size: 0.72rem; padding: 7px 12px 7px 10px; flex-wrap: wrap; }
  .bio__award-label { font-size: 0.66rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .ooda { max-width: 420px; margin: 24px auto 0; }
  .ooda__node { min-width: 80px; padding: 2px 2px; }
  .ooda__node-label { font-size: 1.4rem; }
  .ooda__node-num { font-size: 0.72rem; }
  .ooda__center { font-size: 1.3rem; }
  .ooda__friction-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ooda__caption { max-width: 420px; min-height: 3.6em; margin-top: 20px; }
  .problem-body { max-width: 100%; }
  .ooda__caption-text { font-size: 0.66rem; }
  .ooda-wrap--full .ooda__panel { position: static !important; width: 100% !important; max-width: 440px !important; margin: 14px auto 4px !important; right: auto !important; }
  .ooda__hud { gap: 10px; }
  .ooda__controls { margin-top: 2px; gap: 8px; }
  .booking__form { padding: 28px 24px; }
  .kf-card__body { grid-template-columns: 1fr; gap: 24px; padding: 0 22px 24px; }
  .kf-card__toggle { padding: 22px 22px 18px; padding-right: 22px; }
  /* Soften the diagonal photo on small screens — keep it as an atmospheric backdrop behind the text */
  .kf-card__backdrop {
    width: 100%;
    clip-path: none;
    -webkit-clip-path: none;
    opacity: 0.22;
  }
  .kf-card__backdrop::after { background: linear-gradient(180deg, rgba(14,15,20,0.3) 0%, rgba(14,15,20,0.65) 100%); }
  /* Tabs: show only the numbers on phones so all five fit in a row */
  .kf-tabs { gap: 4px; margin-top: 10px; }
  .kf-tab { padding: 12px 8px; min-height: 74px; align-items: center; justify-content: center; gap: 4px; }
  .kf-tab__num { font-size: 1.05rem; text-align: center; }
  .kf-tab__title { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
