/* Four Stripes: site styles. Fonts are served from this site, so no visitor data goes anywhere else. */

@font-face { font-family: "Fira Sans"; src: url("fonts/fira-sans-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-sans-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-sans-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-sans-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-sans-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Typed"; src: url("fonts/texgyrecursor-regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Typed"; src: url("fonts/texgyrecursor-bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --navy: #16223A;
  --navy-2: #1E2D4A;
  --navy-line: #2B3C5C;
  --page: #EEF1F5;
  --paper: #FFFFFF;
  --rule: #C3CDDA;
  --ink: #18202E;
  --ink-soft: #4A5568;
  --on-navy: #E8EDF5;
  --on-navy-soft: #A9B6CB;
  --gold: #D9B45A;
  --gold-hi: #E6C677;
  --cyan: #5BC8EA;
  --pen: #B3261E;
  --sans: "Fira Sans", "Segoe UI", system-ui, sans-serif;
  --typed: "Typed", "Courier New", Courier, monospace;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  font-feature-settings: "lnum" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 66ch; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); letter-spacing: -0.01em; margin-bottom: 0.6em; max-width: 24ch; }
h3 { font-size: 1.12rem; margin-bottom: 0.35em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 6px; z-index: 10; font-weight: 600; }
.skip:focus { left: 12px; }

/* Header */
.top { background: var(--navy); color: var(--on-navy); border-bottom: 1px solid var(--navy-line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 600; font-size: 1.12rem; letter-spacing: 0.005em; color: #fff; }
.brand svg { width: 34px; height: 24px; flex: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--on-navy-soft); font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.top .btn { margin-left: 4px; }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.98rem/1 var(--sans);
  text-decoration: none; cursor: pointer;
  padding: 14px 20px; border-radius: 8px; border: 1.5px solid transparent;
  background: var(--gold); color: var(--navy);
  transition: background-color .15s ease;
}
.btn:hover { background: var(--gold-hi); }
.btn.small { padding: 10px 14px; font-size: 0.92rem; }
.btn.ghost { background: transparent; color: var(--on-navy); border-color: var(--navy-line); }
.btn.ghost:hover { border-color: var(--on-navy-soft); background: transparent; }
.btn.dark { background: var(--navy); color: #fff; }
.btn.dark:hover { background: var(--navy-2); }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 3.9rem); letter-spacing: -0.02em; line-height: 1.04; color: #fff; max-width: 13ch; margin-bottom: 0.45em; }
.hero .lede { font-size: 1.15rem; color: var(--on-navy); max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero .status { font-size: 0.95rem; color: var(--on-navy-soft); margin: 0; }
@media (max-width: 900px) {
  .hero { padding: 44px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
}

/* The assessment form: the one loud thing on the page */
.form {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  padding: 26px 28px 24px;
  transform: rotate(-1.2deg);
  box-shadow: 0 1px 0 #dfe5ee, 0 34px 60px -26px rgba(3, 8, 18, 0.75);
  background-image: linear-gradient(var(--paper), var(--paper));
}
.form .epaulette {
  position: absolute; top: -14px; right: 26px;
  width: 64px; height: 30px; border-radius: 4px 4px 14px 14px;
  background: var(--navy-2);
  display: grid; align-content: center; gap: 3px; padding: 0 9px;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.6);
}
.form .epaulette i { display: block; height: 3px; background: var(--gold); border-radius: 1px; }
.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 14px; }
.form-title { font-weight: 700; font-size: 0.98rem; letter-spacing: 0.06em; text-transform: uppercase; }
.form-ref { font-size: 0.78rem; color: var(--ink-soft); white-space: nowrap; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; margin: 0 0 16px; }
.field { display: flex; gap: 8px; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: 3px; min-width: 0; }
.field > span:first-child { font-size: 0.76rem; color: var(--ink-soft); flex: none; }
.typed { font-family: var(--typed); font-weight: 700; font-size: 0.98rem; color: #1d2a44; }
.field .typed { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.items { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.items th { text-align: left; font-weight: 500; font-size: 0.74rem; color: var(--ink-soft); border-bottom: 1px solid var(--ink); padding: 0 8px 5px 0; }
.items td { border-bottom: 1px solid var(--rule); padding: 8px 8px 8px 0; vertical-align: top; }
.items td:first-child { font-weight: 500; width: 36%; }
.items td.mark { width: 34px; padding-right: 0; text-align: center; }
.items .typed { font-size: 0.9rem; line-height: 1.35; display: block; }
.pen { width: 26px; height: 22px; display: inline-block; }
.pen path { fill: none; stroke: var(--pen); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.missed .typed { color: var(--pen); }
.remarks { margin-top: 14px; }
.remarks > span:first-child { font-size: 0.76rem; color: var(--ink-soft); display: block; margin-bottom: 2px; }
.remarks .typed { display: block; line-height: 1.45; font-size: 0.95rem; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.sign { display: flex; justify-content: space-between; margin-top: 16px; font-size: 0.76rem; color: var(--ink-soft); gap: 16px; }
.sign b { font-family: var(--typed); font-weight: 700; color: #1d2a44; font-size: 0.92rem; margin-left: 6px; }
@media (max-width: 560px) {
  .form { padding: 22px 16px 18px; transform: rotate(-0.6deg); }
  .fields { grid-template-columns: 1fr; }
  .items td:first-child { width: 40%; }
  .form-ref { display: none; }
}

/* Sections */
.section { padding: 96px 0; }
.section.white { background: var(--paper); }
.section.navy { background: var(--navy); color: var(--on-navy); }
.section.navy h2 { color: #fff; }
.section .intro { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 2.2em; }
.section.navy .intro { color: var(--on-navy-soft); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

/* How a check works: a real sequence, so it's numbered */
.steps { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step); display: block; font-weight: 600; font-size: 2rem; line-height: 1; color: var(--navy); margin-bottom: 12px; }
.steps p { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 26px; } }

.shot { margin: 0; }
.shot img { border-radius: 10px; border: 1px solid #2a3140; box-shadow: 0 24px 50px -30px rgba(10, 18, 32, 0.6); }
.shot figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 12px; max-width: 70ch; }

/* The first officer */
.fo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: start; }
.slips { list-style: none; margin: 0 0 28px; padding: 0; }
.slips li { display: grid; grid-template-columns: 112px 1fr; gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
.slips li:first-child { border-top: 1px solid var(--navy-line); }
.slips .when { font-size: 0.86rem; color: var(--on-navy-soft); padding-top: 3px; }
.slips q { font-family: var(--typed); font-weight: 700; font-size: 1rem; color: #fff; quotes: "\201C" "\201D"; display: block; }
.slips .wrong { grid-column: 2; font-size: 0.92rem; color: var(--gold-hi); }
.fo-side p { color: var(--on-navy); }
.fo-side .shot img { border-color: var(--navy-line); }
.fo-side .shot figcaption { color: var(--on-navy-soft); }
.keys { font-family: var(--sans); font-size: 0.9em; font-weight: 600; background: var(--navy-2); border: 1px solid var(--navy-line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 7px; white-space: nowrap; }
@media (max-width: 900px) { .fo { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .slips li { grid-template-columns: 1fr; } .slips .wrong { grid-column: 1; } }

/* What's in it */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 0; }
.features div { padding: 18px 0; border-top: 1px solid var(--rule); }
.features dt { font-weight: 600; margin-bottom: 2px; }
.features dd { margin: 0; color: var(--ink-soft); font-size: 0.98rem; max-width: 52ch; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* Aircraft and requirements */
.two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; gap: 48px; } }
.table-scroll { overflow-x: auto; }
table.variants { width: 100%; border-collapse: collapse; font-size: 0.97rem; font-variant-numeric: tabular-nums; }
.variants th { text-align: left; font-weight: 500; font-size: 0.85rem; color: var(--ink-soft); border-bottom: 2px solid var(--ink); padding: 0 14px 8px 0; white-space: nowrap; }
.variants td { border-bottom: 1px solid var(--rule); padding: 12px 14px 12px 0; vertical-align: top; }
.variants td:first-child { font-weight: 600; white-space: nowrap; }
.variants .num { text-align: right; }
.variants th.num { text-align: right; }
.note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 14px; }
.needs { list-style: none; padding: 0; margin: 0; }
.needs li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.needs li:first-child { border-top: 1px solid var(--rule); }
.needs .opt { color: var(--ink-soft); font-size: 0.93rem; display: block; }

/* Video (only shows once a clip is set in config.js) */
.video[hidden] { display: none; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #0c1322; border-radius: 10px; overflow: hidden; max-width: 960px; }
.video-frame button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-align: center; padding: 24px; }
.video-frame button:focus-visible { outline: 3px solid var(--cyan); outline-offset: -6px; }
.video-frame .play { width: 74px; height: 74px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin: 0 auto 14px; }
.video-frame .play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--navy); }
.video-frame small { display: block; color: var(--on-navy-soft); margin-top: 6px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Beta band */
.beta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.beta h2 { margin-bottom: 0.3em; }
.beta p { margin: 0; color: var(--on-navy-soft); }
@media (max-width: 760px) { .beta .wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: translateY(-70%) rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-soft); margin: 0 0 18px; }

/* Plain pages: privacy, terms, refunds, support */
.page-head { background: var(--navy); color: #fff; padding: 56px 0 48px; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); letter-spacing: -0.015em; }
.page-head p { color: var(--on-navy-soft); margin: 12px 0 0; }
.doc { background: var(--paper); padding: 56px 0 88px; }
.doc .wrap { max-width: 760px; }
.doc h2 { font-size: 1.35rem; margin: 2em 0 0.5em; max-width: none; }
.doc h2:first-child { margin-top: 0; }
.doc ul, .doc ol { padding-left: 1.25em; margin: 0 0 1em; max-width: 64ch; }
.doc li { margin-bottom: 0.45em; }
.doc a { color: #1f5f8b; }
.doc .callout { border-left: 3px solid var(--gold); background: #F7F8FA; padding: 14px 18px; margin: 0 0 1.4em; }
.doc .callout p:last-child { margin-bottom: 0; }

/* Footer */
.foot { background: var(--navy); color: var(--on-navy-soft); padding: 56px 0 40px; font-size: 0.92rem; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: start; }
.foot nav a { color: var(--on-navy); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--navy-line); padding-top: 22px; font-size: 0.84rem; line-height: 1.55; }
.foot .legal p { max-width: 90ch; margin: 0 0 6px; }
@media (max-width: 700px) { .foot .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============================================================
   v2: photography, the report that fills itself in, the FO demo,
   the door plan. Later rules here override the ones above.
   ============================================================ */

.top { position: sticky; top: 0; z-index: 20; background: rgba(22, 34, 58, 0.94); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); }

/* Hero: navy on the left, the LEAP-1B on the right, the report pinned across the join */
.hero { position: relative; padding: 0; isolation: isolate; }
.hero .wrap { position: relative; z-index: 1; padding: 84px 0 104px; min-height: 680px; }
.hero-photo { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 50%; background: #0c1322 url("img/hero-engine.webp") 40% 50% / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--navy) 0%, rgba(22,34,58,.86) 16%, rgba(22,34,58,.35) 46%, rgba(22,34,58,.15) 100%),
  linear-gradient(0deg, rgba(22,34,58,.55), rgba(22,34,58,0) 40%); }
.hero .form { margin-left: 4%; }
.hero .proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--on-navy-soft); font-size: 0.92rem; }
.hero .proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero .proof svg { width: 16px; height: 16px; flex: none; }
.hero .proof path { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
  .hero .wrap { padding: 44px 0 72px; min-height: 0; }
  .hero-photo { top: auto; width: 100%; height: 58%; background-position: 50% 40%; }
  .hero-photo::after { background: linear-gradient(180deg, var(--navy) 0%, rgba(22,34,58,.55) 30%, rgba(22,34,58,.25) 100%); }
  .hero .form { margin-left: 0; }
}

/* The report writes itself (only when JS runs and motion is welcome) */
.form.is-writing .c { opacity: 0; }
.form .c.on { opacity: 1; }
.form.is-writing .pen path { stroke-dasharray: var(--len, 60); stroke-dashoffset: var(--len, 60); }
.form .pen.drawn path { transition: stroke-dashoffset .32s cubic-bezier(.4,.1,.3,1); stroke-dashoffset: 0; }
.form .stamp { position: absolute; right: 22px; bottom: 58px; transform: rotate(-9deg); border: 2.5px solid var(--pen); color: var(--pen); border-radius: 6px; padding: 4px 10px 3px; font: 700 0.95rem/1 var(--typed); letter-spacing: .08em; opacity: .9; }
.form.is-writing .stamp { opacity: 0; transform: rotate(-9deg) scale(1.6); }
.form .stamp.on { opacity: .9; transform: rotate(-9deg) scale(1); transition: opacity .18s ease-out, transform .22s cubic-bezier(.2,1.6,.4,1); }
@media (max-width: 560px) { .form .stamp { bottom: 52px; right: 14px; font-size: 0.82rem; } }

/* How a check works: when each part happens */
.steps .when { display: block; font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); margin: -4px 0 6px; }

.shot-notes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 22px 0 0; max-width: 1088px; }
.shot-notes li { font-size: 0.95rem; color: var(--ink-soft); padding-left: 14px; border-left: 2px solid var(--gold); }
.shot-notes b { color: var(--ink); font-weight: 600; display: block; }
@media (max-width: 760px) { .shot-notes { grid-template-columns: 1fr; gap: 14px; } }

/* Catch the FO */
.fo { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.fo-copy p { color: var(--on-navy); }
.game { background: #0F1828; border: 1px solid var(--navy-line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.game[hidden] { display: none; }
.game-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--navy-line); font-size: 0.86rem; color: var(--on-navy-soft); }
.game-bar b { color: #fff; font-weight: 600; }
.pips { display: flex; gap: 6px; }
.pips i { width: 22px; height: 4px; border-radius: 2px; background: var(--navy-line); }
.pips i.done { background: var(--on-navy-soft); }
.pips i.now { background: var(--gold); }
.game-body { padding: 22px 20px 22px; min-height: 330px; display: flex; flex-direction: column; }
.game-phase { font-size: 0.85rem; color: var(--gold-hi); font-weight: 500; margin: 0 0 12px; }
.game-see { background: var(--navy); border: 1px solid var(--navy-line); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.game-see > span { display: block; font-size: 0.78rem; color: var(--on-navy-soft); margin-bottom: 2px; }
.game-see b { font-family: var(--typed); font-weight: 700; color: #fff; font-size: 1.02rem; letter-spacing: .01em; }
.game-fo { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; margin: 0 0 20px; }
.game-fo .who { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-2); border: 1px solid var(--navy-line); display: grid; place-items: center; font-size: 0.78rem; font-weight: 600; color: var(--on-navy); }
.game-fo q { quotes: "\201C" "\201D"; font-family: var(--typed); font-weight: 700; color: #fff; font-size: 1.08rem; line-height: 1.4; display: block; padding-top: 7px; }
.game-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.game-actions .btn.ghost { color: #fff; }
.game-out { border-top: 1px solid var(--navy-line); padding-top: 14px; margin: 4px 0 16px; }
.game-out .verdict { display: flex; gap: 10px; align-items: baseline; font-weight: 600; color: #fff; margin: 0 0 6px; }
.game-out .verdict.good svg path { stroke: #7DD3A0; }
.game-out .verdict.bad svg path { stroke: #F08A80; }
.game-out svg { width: 18px; height: 16px; flex: none; position: relative; top: 2px; }
.game-out svg path { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.game-out p { color: var(--on-navy); font-size: 0.97rem; margin: 0; }
.game-out .reply { font-family: var(--typed); font-weight: 700; color: #fff; }
.game-sum { list-style: none; margin: 0 0 18px; padding: 0; }
.game-sum li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--navy-line); font-size: 0.95rem; color: var(--on-navy); }
.game-sum svg { width: 18px; height: 16px; margin-top: 4px; }
.game-sum svg path { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.game-sum .good path { stroke: #7DD3A0; }
.game-sum .bad path { stroke: #F08A80; }
.game-score { font-size: 1.35rem; font-weight: 600; color: #fff; margin: 0 0 6px; }
.game-note { color: var(--on-navy-soft); font-size: 0.95rem; margin: 0 0 18px; }
.fo-fallback[hidden] { display: none; }

/* The door plan */
.doors { margin: 34px 0 0; }
.doors svg { width: 100%; height: auto; display: block; max-width: 640px; }
.doors .fus { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.doors .wing { fill: #F3F5F8; stroke: var(--ink); stroke-width: 1.2; }
.doors .door { fill: var(--ink); }
.doors .door.extra { fill: var(--gold); stroke: #8a6b1e; stroke-width: .8; }
.doors text { font: 500 12.5px var(--sans); fill: var(--ink-soft); }
.doors text.name { font-weight: 600; fill: var(--ink); font-size: 13.5px; }
.doors figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 8px; }
.doors figcaption i { display: inline-block; width: 10px; height: 10px; background: var(--gold); border: 1px solid #8a6b1e; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* Beta band with the photo */
.beta.with-photo { padding: 0; overflow: hidden; }
.beta.with-photo .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 0; align-items: stretch; width: 100%; max-width: none; }
.beta .beta-copy { padding: 88px 56px 88px max(20px, calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; gap: 22px; align-items: flex-start; }
.beta .beta-copy p { max-width: 44ch; font-size: 1.08rem; }
.beta .beta-photo { min-height: 380px; background: url("img/beta-approach.webp") 50% 38% / cover no-repeat; position: relative; }
.beta .beta-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), rgba(22,34,58,0) 35%); }
@media (max-width: 760px) {
  .beta.with-photo .wrap { grid-template-columns: 1fr; }
  .beta .beta-copy { padding: 64px 20px 40px; }
  .beta .beta-photo { min-height: 260px; }
  .beta .beta-photo::before { background: linear-gradient(180deg, var(--navy), rgba(22,34,58,0) 45%); }
}

.foot .credits { color: #8794AB; }
.foot .credits a { color: inherit; }

.form .c { display: inline; }

.field .typed { font-size: 0.88rem; }
.doors .door { rx: 1.5; }
.form .stamp { bottom: 14px; right: auto; left: 36%; }
@media (max-width: 900px) { .fo { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .form .stamp { left: 30%; bottom: 40px; } .game-bar { flex-wrap: wrap; } }
section[id], h2[id] { scroll-margin-top: 76px; }
.doors text { font-size: 14px; }
.doors text.name { font-size: 15.5px; }
@media (max-width: 560px) { .game-see b { font-size: 0.95rem; } }

/* v3: anything switched off by config.js stays off, whatever its display */
[hidden] { display: none !important; }
