/* ============================================================
   global.css — Pureframe Labs
   Editorial press-sheet system: bone ground, black condensed
   caps, crimson italic serif accent. Tokens, resets, type
   atoms, buttons, reveal primitives, shared components.
   ============================================================ */

:root {
  /* ground */
  --bone: #F1EBE1;
  --bone-2: #E9E1D4;
  --bone-3: #DFD5C6;
  --hair: #C9BFAE;

  /* ink + accent */
  --ink: #0D0D0D;
  --ink-2: #5C5C5C;
  --ink-3: #888888;
  --red: #E03131;
  --red-deep: #BF2020;

  --display: 'Archivo', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --rail: 0px;
  --nav-h: 74px;
  --gut: clamp(20px, 4vw, 64px);

  --max-w: 1280px;
  --transition: 250ms ease;
  --transition-smooth: 350ms cubic-bezier(.22, 1, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--red);
  color: var(--bone);
}

a {
  color: inherit;
  text-decoration: none;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ── paper grain ─────────────────────────────────────────────── */
#grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

#world {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ── container ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ── type atoms ──────────────────────────────────────────────── */
.mono {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.mono--red {
  color: var(--red-deep);
}

h1,
h2,
h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -.005em;
  line-height: .89;
}

h1 {
  font-variation-settings: 'wdth' 68;
  font-size: clamp(34px, 5.4vw, 76px);
}

h2 {
  font-variation-settings: 'wdth' 71;
  font-size: clamp(26px, 3.6vw, 46px);
}

h3 {
  font-variation-settings: 'wdth' 74;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: .95;
}

.it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--red);
  font-size: 1.1em;
  letter-spacing: -.01em;
}

.struck {
  color: var(--red);
  position: relative;
  white-space: nowrap;
}

.struck::after {
  content: '';
  position: absolute;
  left: -.02em;
  right: -.02em;
  top: 52%;
  height: .085em;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1) .25s;
}

.in .struck::after,
.struck.in::after {
  transform: scaleX(1);
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.section-eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

h2.section-title {
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 56ch;
}

.section-header-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.section-header-center .section-eyebrow {
  justify-content: center;
}

/* ── buttons ─────────────────────────────────────────────────── */
.btn-primary,
.btn-secondary,
.btn-white {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 17px 30px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--bone);
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity .2s;
  border-radius: 0;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-white:hover {
  opacity: .82;
}

.btn-primary:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-white {
  background: transparent;
  color: var(--bone);
  border-color: var(--bone);
}

.btn-sm,
.btn-full {
  padding: 12px 20px;
  font-size: 10.5px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── reveal primitives ──────────────────────────────────────── */
.r,
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s cubic-bezier(.22, 1, .36, 1), transform .85s cubic-bezier(.22, 1, .36, 1);
}

.r.in,
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════════════════════
   THE FLIGHT — home page only.
   The stage pins for the whole scroll so the copy never moves;
   chapters are stacked on top of each other and cross-fade in
   place. The only thing that animates with scroll is the canvas.
   ══════════════════════════════════════════════════════════════ */
.flight {
  position: relative;
  z-index: 2;
  margin-left: var(--rail);
  /* scroll runway for the camera — see .ch count in index.html */
  height: 640vh;
}

.flight-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.ch {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) var(--gut) 40px;
  opacity: 0;
  /* inactive chapters must not swallow clicks meant for the live one */
  pointer-events: none;
  /* no permanent will-change: a promoted layer drops subpixel text
     antialiasing and the settled chapter reads soft. world.js turns
     it on only while a chapter is mid-transition. */
}

.ch.is-live {
  pointer-events: auto;
}

.ch-body {
  position: relative;
  max-width: 620px;
  /* world.js writes a whole-pixel translateY here as the chapter
     rises into place — fractional offsets are what make type fuzzy,
     so the value is always rounded and cleared once settled. */
}

.ch-body::before {
  content: '';
  position: absolute;
  inset: -80px -120px -80px -80px;
  z-index: -1;
  background: radial-gradient(ellipse 62% 58% at 42% 50%,
      rgba(241, 235, 225, .98) 0%,
      rgba(241, 235, 225, .88) 44%,
      rgba(241, 235, 225, 0) 78%);
  pointer-events: none;
}

.ch--right {
  justify-items: end;
  text-align: right;
}

.ch--right .ch-body::before {
  inset: -80px -80px -80px -120px;
  background: radial-gradient(ellipse 62% 58% at 58% 50%,
      rgba(241, 235, 225, .98) 0%,
      rgba(241, 235, 225, .88) 44%,
      rgba(241, 235, 225, 0) 78%);
}

.ch--center {
  justify-items: center;
  text-align: center;
}

.ch--center .ch-body {
  max-width: 760px;
}

.ch--center .ch-body::before {
  inset: -80px -100px;
  background: radial-gradient(ellipse 60% 56% at 50% 50%,
      rgba(241, 235, 225, .98) 0%,
      rgba(241, 235, 225, .88) 44%,
      rgba(241, 235, 225, 0) 78%);
}

.ch .mono {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.ch--right .mono {
  justify-content: flex-end;
}

.ch--center .mono {
  justify-content: center;
}

.ch .mono::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.ch p.txt {
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 47ch;
  margin-top: 24px;
}

.ch--right p.txt {
  margin-left: auto;
}

.ch--center p.txt {
  margin-inline: auto;
}

.ch p.txt strong {
  color: var(--ink);
  font-weight: 600;
}

.ch p.txt em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1em;
}

/* hero entrance — italic serif descends, mask keeps it clean */
.h1-line {
  display: block;
  overflow: hidden;
  padding-bottom: .12em;
  margin-bottom: -.09em;
}

.h1-line i {
  display: block;
  font-style: normal;
  transform: translateY(105%);
  animation: lineUp 1s cubic-bezier(.22, 1, .36, 1) forwards;
}

.h1-line:nth-child(1) i { animation-delay: .15s; }
.h1-line:nth-child(2) i { animation-delay: .27s; }
.h1-line:nth-child(3) i { animation-delay: .39s; }

@keyframes lineUp {
  to { transform: none; }
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .9s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 40px 0 46px;
}

.ch--center .actions {
  justify-content: center;
  margin-bottom: 0;
}

.cue {
  position: absolute;
  left: var(--gut);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cue i {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--hair);
  position: relative;
  overflow: hidden;
}

.cue i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateX(-100%);
  animation: cueSlide 2.4s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes cueSlide {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

@media (max-width: 1080px) {
  .ch--right {
    justify-items: start;
    text-align: left;
  }

  .ch--right .mono {
    justify-content: flex-start;
  }

  .ch--right p.txt {
    margin-left: 0;
  }

  .ch--right .ch-body::before {
    inset: -80px -120px -80px -80px;
    background: radial-gradient(ellipse 62% 58% at 42% 50%,
        rgba(241, 235, 225, .98) 0%,
        rgba(241, 235, 225, .9) 44%,
        rgba(241, 235, 225, 0) 80%);
  }
}

@media (max-width: 768px) {
  /* less scroll runway on phones — the flight still completes */
  .flight {
    height: 420vh;
  }
}

@media (max-width: 620px) {
  .actions .btn-primary,
  .actions .btn-secondary {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
  }

  .ch-body::before {
    inset: -50px -34px !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   PAGE HERO — inner pages (about / careers / projects).
   Same editorial type as the flight hero, but a plain static
   block: no canvas, no pinning, nothing that moves on scroll.
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  z-index: 3;
  margin-left: var(--rail);
  background: var(--bone);
  border-bottom: 1px solid var(--hair);
  padding: calc(var(--nav-h) + clamp(56px, 7vw, 104px)) var(--gut) clamp(48px, 6vw, 88px);
}

.page-hero .hero-body {
  max-width: 720px;
}

.page-hero .mono {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.page-hero .mono::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.page-hero p.txt {
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 52ch;
  margin-top: 24px;
}

.page-hero p.txt strong {
  color: var(--ink);
  font-weight: 600;
}

/* ── section shells ─────────────────────────────────────────── */
section {
  position: relative;
  z-index: 3;
  padding: clamp(64px, 8vw, 112px) 0;
}

section.compact {
  padding: clamp(48px, 6vw, 80px) 0;
}

section.alt {
  background: var(--bone-2);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.paper {
  position: relative;
  z-index: 3;
  margin-left: var(--rail);
  background: var(--bone);
  padding: clamp(64px, 8vw, 112px) var(--gut);
}

.slug {
  position: relative;
  z-index: 3;
  margin-left: var(--rail);
  background: var(--bone);
  border-top: 1px solid var(--hair);
  padding: 13px var(--gut);
}

.band {
  position: relative;
  z-index: 3;
  margin-left: var(--rail);
  background: var(--ink);
  color: var(--bone);
  padding: 14px var(--gut);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.band .mono {
  color: rgba(241, 235, 225, .6);
}

.band .mono:first-child {
  color: var(--bone);
}

.band .mono:last-child {
  text-align: right;
}

.sec-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 4.5vw, 68px);
}

/* ── capability / value / perk cards ────────────────────────── */
.cards,
.services-grid,
.perks-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.service-card,
.perk-card,
.value-card {
  background: var(--bone-2);
  border-top: 3px solid var(--red);
  border-radius: 14px;
  padding: 24px 24px 30px;
  position: relative;
  overflow: hidden;
  transition: background .3s, transform .45s cubic-bezier(.22, 1, .36, 1);
}

.card:hover,
.service-card:hover,
.perk-card:hover,
.value-card:hover {
  background: var(--bone-3);
  transform: translateY(-4px);
}

.card .num,
.service-icon,
.perk-icon,
.value-icon {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--red-deep);
  display: block;
  margin-bottom: 26px;
}

.service-icon,
.perk-icon,
.value-icon {
  font-size: 26px;
}

.card h3,
.service-title,
.perk-title,
.value-title {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 900;
  font-variation-settings: 'wdth' 74;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: .98;
  margin-bottom: 14px;
}

.card p,
.service-desc,
.perk-desc,
.value-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tag,
.tech-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--hair);
  padding: 5px 9px;
}

/* ── process pipeline ───────────────────────────────────────── */
.pipe,
.process-grid {
  list-style: none;
  max-width: 760px;
}

.process-grid {
  display: block;
  max-width: 760px;
}

.pipe li,
.process-step {
  position: relative;
  background: var(--bone-2);
  border-left: 4px solid var(--ink);
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .02em;
}

.pipe li + li,
.process-step + .process-step {
  margin-top: 30px;
}

.pipe li + li::before,
.process-step + .process-step::before {
  content: '';
  position: absolute;
  left: 30px;
  top: -24px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--red);
}

.pipe li b,
.step-num,
.step-title {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  min-width: 92px;
  color: var(--red-deep);
}

.pipe li span,
.step-desc {
  color: var(--ink-2);
  flex: 1;
  min-width: 240px;
}

.pipe li.on {
  background: var(--ink);
  border-left-color: var(--red);
  color: var(--bone);
}

.pipe li.on b {
  color: var(--red);
}

.pipe li.on span {
  color: rgba(241, 235, 225, .72);
}

/* ── counters / metrics ─────────────────────────────────────── */
.counts,
.why-visual .metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.why-visual {
  display: block;
  border-top: 2px solid var(--ink);
}

.why-visual .metric-row {
  border-top: 0;
  grid-template-columns: repeat(2, 1fr);
}

.why-visual .metric-row + .metric-row {
  border-top: 1px solid var(--hair);
}

.count,
.metric-card {
  padding: 28px 24px 24px 0;
  border-right: 1px solid var(--hair);
}

.count:last-child,
.metric-card:last-child {
  border-right: 0;
}

.count:not(:first-child),
.metric-card:nth-child(2) {
  padding-left: 24px;
}

.count b,
.metric-val {
  font-family: var(--display);
  font-variation-settings: 'wdth' 70;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  line-height: .85;
  letter-spacing: -.02em;
  display: block;
  margin-bottom: 14px;
  font-feature-settings: 'tnum';
}

.count b em {
  font-style: normal;
  font-size: .4em;
  color: var(--red);
  vertical-align: .55em;
  margin-left: .04em;
}

.metric-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ── spec block ──────────────────────────────────────────────── */
.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  max-width: 560px;
}

.spec {
  padding: 15px 18px 0 0;
  border-right: 1px solid var(--hair);
}

.spec:last-child {
  border-right: 0;
  padding-right: 0;
}

.spec:not(:first-child) {
  padding-left: 18px;
}

.spec dt {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 7px;
}

.spec dd {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* ── close / cta section ────────────────────────────────────── */
.close,
.cta-section {
  text-align: center;
  padding-bottom: clamp(80px, 9vw, 130px);
  background: var(--bone);
}

.cta-section {
  padding-top: clamp(64px, 8vw, 112px);
}

.close h2,
.cta-section h2 {
  max-width: 20ch;
  margin: 0 auto 26px;
}

.close p,
.cta-section p {
  color: var(--ink-2);
  max-width: 50ch;
  margin: 0 auto 40px;
}

/* ── form fields ─────────────────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.form-group label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.label-hint {
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-3);
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: none;
  border-bottom: 2px solid var(--hair);
  border-radius: 0;
  background: var(--bone-2);
  padding: 13px 14px;
  font-size: 15px;
  font-family: var(--body);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
}

.form-group select {
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: var(--bone-3);
}

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

.form-status {
  display: none;
  text-align: center;
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  margin-top: 12px;
  border: 1px solid var(--hair);
}

.form-status.success {
  display: block;
  border-color: var(--ink);
  color: var(--ink);
  background: var(--bone-2);
}

.form-status.error {
  display: block;
  border-color: var(--red);
  color: var(--red-deep);
  background: var(--bone-2);
}

.form-status.loading {
  display: block;
  color: var(--ink-2);
  background: var(--bone-2);
}

/* ── SPA page system (retained, unused visually but kept safe) ── */
.page {
  display: none;
  padding-top: var(--nav-h);
}

.page.active {
  display: block;
}

/* ── utility ─────────────────────────────────────────────────── */
.footer-bottom-simple {
  border-top: none;
  padding-top: 0;
}

/* ── responsive ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .cards,
  .services-grid,
  .perks-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .counts,
  .why-visual .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .count:nth-child(2) {
    border-right: 0;
  }

  .count:nth-child(-n+2) {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--hair);
  }

  .band {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .band .mono:last-child {
    text-align: left;
  }
}

@media (max-width: 768px) {
  section {
    padding: clamp(48px, 10vw, 72px) 0;
  }

  .container {
    padding: 0 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .specs {
    grid-template-columns: 1fr;
  }

  .spec {
    border-right: 0;
    border-bottom: 1px solid var(--hair);
    padding: 14px 0 14px !important;
  }

  .spec:last-child {
    border-bottom: 0;
  }

  .cards,
  .services-grid,
  .perks-grid,
  .values-grid,
  .counts,
  .why-visual .metric-row {
    grid-template-columns: 1fr;
  }

  .count,
  .metric-card {
    border-right: 0 !important;
    border-bottom: 1px solid var(--hair);
    padding: 24px 0 24px !important;
  }

  .count:last-child,
  .metric-card:last-child {
    border-bottom: 0;
  }

  .struck {
    white-space: normal;
  }
}

/* ── reduced motion ──────────────────────────────────────────── */
/* Reduced motion: unstack the chapters into a plain readable column. */
body.reduced .flight {
  height: auto;
}

body.reduced .flight-stage {
  position: static;
  height: auto;
  overflow: visible;
}

body.reduced .ch {
  position: relative;
  inset: auto;
  opacity: 1 !important;
  pointer-events: auto;
  padding-block: 56px;
}

body.reduced .ch-body {
  opacity: 1 !important;
  transform: none !important;
}

body.reduced .cue {
  display: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .h1-line i,
  .fade-up,
  .r,
  .reveal {
    transform: none;
    opacity: 1;
  }

  .struck::after {
    transform: scaleX(1);
  }
}
