/* Deliberately independent of .page/.cine; only the viewport stage clips. */
.af-root { color: #f2f1ed; background: #05080b; width: 100%; }
.af-root .af-flight { position: relative; height: 220vh; height: 220svh; margin: 0; padding: 0; overflow: visible; }
.af-root .af-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(ellipse at 50% 48%, #232322 0%, #111518 37%, #05080b 78%); }
.af-root .af-heading { position: absolute; z-index: 2; top: clamp(82px, 11svh, 120px); left: 6vw; right: 6vw; text-align: center; pointer-events: none; }
.af-root .af-kicker { margin: 0 0 10px; color: #beaa8e; font: 11px/1.4 var(--font-mono, monospace); letter-spacing: .26em; }
.af-root .af-title { margin: 0; font-family: var(--font-display, sans-serif); font-size: clamp(32px, 4vw, 58px); line-height: 1.08; letter-spacing: .02em; font-weight: 600; }
.af-root .af-deck { margin: 14px 0 0; color: #b8bdc1; font: 15px/1.5 var(--font-body, sans-serif); }
.af-root .af-lens { position: absolute; inset: 0; perspective: 1000px; perspective-origin: 50% 56%; }
.af-root .af-world { position: absolute; left: 50%; top: 56%; width: 0; height: 0; transform-style: preserve-3d; }
.af-root .af-card { position: absolute; left: 0; top: 0; width: 425px; margin-left: -212.5px; margin-top: -190px; backface-visibility: hidden; }
.af-root .af-source-button { display: flex; flex-direction: column; align-items: stretch; width: 100%; min-height: 360px; padding: 28px 30px; text-align: left; color: #f4f0e8; background: linear-gradient(145deg, #2c2d2b, #161b1e 72%); border: 1px solid #7e7566; border-radius: 3px; box-shadow: 0 18px 65px #0008, inset 4px 0 #bba27d; cursor: pointer; font-family: var(--font-body, sans-serif); }
.af-root .af-card-kind { color: #b6a78e; font: 11px/1.5 var(--font-mono, monospace); text-transform: uppercase; letter-spacing: .15em; }
.af-root .af-card-meta { display: flex; justify-content: space-between; gap: 10px; margin: 15px 0 17px; font: 12px/1.5 var(--font-mono, monospace); color: #aeb4b7; }
.af-root .af-cid { color: #efe3cf; letter-spacing: .08em; }
.af-root .af-card-title { display: block; font-size: 22px; line-height: 1.27; font-weight: 600; overflow-wrap: anywhere; }
.af-root .af-evidence-status { align-self: flex-start; margin: 15px 0 20px; padding: 4px 8px; color: #dbc9ac; border: 1px solid #938268; font: 10px/1.5 var(--font-mono, monospace); letter-spacing: .09em; }
.af-root .af-quote { display: block; margin: 0; font-size: 17px; line-height: 1.5; color: #d7d9d6; }
.af-root .af-open { display: block; margin-top: auto; padding-top: 24px; color: #f0debf; font: 11px/1.5 var(--font-mono, monospace); letter-spacing: .12em; }
.af-root .af-source-button:focus-visible, .af-root .af-list-button:focus-visible, .af-root .af-sources-toggle:focus-visible { outline: 3px solid #f4d4a0; outline-offset: 5px; }
.af-root .af-source-button:hover { border-color: #ead1a6; }
.af-root .af-file-edge { position: absolute; width: 190px; height: 270px; margin: -135px 0 0 -95px; border: 1px solid #a68f6240; border-left: 5px solid #a68f6230; pointer-events: none; }
.af-root .af-footer { position: absolute; z-index: 3; left: 6vw; right: 6vw; bottom: max(40px, env(safe-area-inset-bottom)); text-align: center; pointer-events: none; }
.af-root .af-caption { max-width: 570px; margin: 0 auto; font: 13px/1.6 var(--font-body, sans-serif); color: #c0c3c4; }
.af-root .af-status { font: 12px/1.5 var(--font-body, sans-serif); color: #f0c994; }
.af-root .af-sources { max-width: 1080px; margin: 0 auto; padding: 25px 6vw 46px; background: #05080b; }
.af-root .af-sources-toggle { width: fit-content; cursor: pointer; font: 14px/1.6 var(--font-body, sans-serif); color: #ddd2c0; padding: 6px 0; }
.af-root .af-source-note { max-width: 720px; color: #aab0b3; font: 14px/1.6 var(--font-body, sans-serif); margin: 22px 0; }
.af-root .af-source-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; list-style: none; padding: 0; margin: 0; }
.af-root .af-source-item { border-top: 1px solid #ffffff26; padding-top: 18px; }
.af-root .af-list-button { color: #f0e3ce; border: 0; background: none; text-align: left; text-decoration: underline; text-underline-offset: 4px; font: 16px/1.5 var(--font-body, sans-serif); cursor: pointer; min-height: 44px; padding: 0; }
.af-root .af-list-meta { color: #b1a78f; font: 11px/1.7 var(--font-mono, monospace); margin: 12px 0; }
.af-root .af-list-quote { color: #c4c8ca; font: 15px/1.6 var(--font-body, sans-serif); }
.af-root.af-static .af-flight { height: auto; }
.af-root.af-static .af-stage { position: relative; height: auto; min-height: 200px; overflow: visible; background: #05080b; }
.af-root.af-static .af-heading { position: relative; top: auto; left: auto; right: auto; padding: 65px 6vw 20px; }
.af-root.af-static .af-lens, .af-root.af-static .af-footer { display: none; }
@media (max-width: 699px) {
  .af-root .af-heading { top: max(80px, 10svh); left: 20px; right: 20px; }
  .af-root .af-title { font-size: 34px; }
  .af-root .af-deck { font-size: 13px; margin-top: 10px; }
  .af-root .af-lens { perspective: 950px; perspective-origin: 50% 57%; }
  .af-root .af-world { top: 57%; }
  .af-root .af-card { width: 315px; margin-left: -157.5px; margin-top: -180px; }
  .af-root .af-source-button { min-height: 340px; padding: 21px 22px; }
  .af-root .af-card-title { font-size: 20px; }
  .af-root .af-quote { font-size: 16px; line-height: 1.45; }
  .af-root .af-evidence-status { margin: 12px 0 16px; }
  .af-root .af-card-meta { margin: 12px 0 13px; }
  .af-root .af-footer { left: 24px; right: 24px; bottom: max(33px, env(safe-area-inset-bottom)); }
  .af-root .af-caption { font-size: 12px; }
  .af-root .af-source-list { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-height: 660px) and (min-width: 700px) {
  .af-root .af-heading { top: 65px; }
  .af-root .af-title { font-size: 32px; }
  .af-root .af-deck { display: none; }
  .af-root .af-card { margin-top: -150px; }
  .af-root .af-source-button { min-height: 300px; padding: 20px 25px; }
  .af-root .af-card-title { font-size: 19px; }
  .af-root .af-quote { font-size: 15px; }
  .af-root .af-footer { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .af-root .af-flight { height: auto; }
  .af-root .af-stage { position: relative; height: auto; min-height: 200px; overflow: visible; background: #05080b; }
  .af-root .af-heading { position: relative; top: auto; left: auto; right: auto; padding: 65px 6vw 20px; }
  .af-root .af-lens, .af-root .af-footer { display: none; }
}
