/* ============================================================
   Dear Passengers — Fan Terminal
   Aesthetic: vintage airline ticketing / in-flight safety card.
   Cream paper, midnight-navy ink, safety orange. Premium retro.
   ============================================================ */

:root {
  --paper: #f4efe3;
  --paper-warm: #ede5d3;
  --ink: #14213a;
  --ink-soft: #3d4a66;
  --navy: #101c30;
  --navy-2: #16263f;
  --orange: #ff5a2d;
  --orange-deep: #e64a20;
  --gold: #d9a441;
  --board-green: #ffd57a;
  --line: rgba(20, 33, 58, 0.18);
  --font-display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --font-mono: "Spline Sans Mono", "SF Mono", monospace;
  --shadow-card: 0 2px 4px rgba(20, 33, 58, 0.08), 0 14px 34px rgba(20, 33, 58, 0.14);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  /* subtle paper grain */
  background-image:
    radial-gradient(rgba(20, 33, 58, 0.035) 1px, transparent 1px);
  background-size: 5px 5px;
}

::selection { background: var(--orange); color: #fff; }

img, video { display: block; max-width: 100%; height: auto; }

a { color: var(--orange-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-solid {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(230, 74, 32, .35);
}
.btn-solid:hover { background: var(--orange-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(230, 74, 32, .42); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.btn-small { padding: .55rem 1.1rem; font-size: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .8rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(16, 28, 48, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--paper);
  border-bottom: 1px solid rgba(244, 239, 227, .12);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  color: var(--paper);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.brand-plane { width: 18px; height: 18px; fill: var(--orange); align-self: center; }
.brand-name { font-weight: 700; font-size: 1.02rem; letter-spacing: .01em; }
.brand-tag {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(217, 164, 65, .5);
  padding: .12rem .45rem;
  border-radius: 4px;
}
.site-nav { display: flex; gap: 1.4rem; }
.site-nav a {
  color: rgba(244, 239, 227, .75);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--orange); }

@media (max-width: 860px) {
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  .site-header { gap: .8rem; padding-left: 1rem; padding-right: 1rem; }
  .brand-tag { display: none; }
  .brand-name { font-size: .95rem; }
  .site-header .btn-small { padding: .5rem .85rem; font-size: .68rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 75% -10%, #23395c 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 68%, #1b2c48 100%);
  color: var(--paper);
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.25rem, 5vw, 3rem) clamp(4rem, 7vw, 6rem);
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute;
  width: 320px; height: 90px;
  background: radial-gradient(closest-side, rgba(244,239,227,.09), transparent 70%);
  border-radius: 50%;
  animation: drift 60s linear infinite;
}
.cloud-1 { top: 18%; left: -10%; animation-duration: 75s; }
.cloud-2 { top: 55%; left: 20%; width: 460px; animation-duration: 95s; animation-delay: -30s; }
.cloud-3 { top: 32%; left: 60%; width: 260px; animation-duration: 60s; animation-delay: -18s; }
@keyframes drift {
  from { transform: translateX(-20vw); }
  to   { transform: translateX(120vw); }
}

.flight-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.flight-path path#fp {
  stroke: rgba(244, 239, 227, .35);
  stroke-width: 2;
  stroke-dasharray: 3 10;
  stroke-linecap: round;
}
.path-plane { fill: var(--orange); }
.path-plane path {
  offset-path: path("M-40,330 C240,300 420,140 640,150 C860,160 1020,80 1260,40");
  offset-rotate: auto 45deg;
  animation: fly 26s linear infinite;
  transform-origin: center;
  scale: 1.6;
}
@keyframes fly {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}

.hero-inner { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }

.hero-kicker {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title span:last-child {
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
}
.hero-sub {
  max-width: 34rem;
  margin: 1.6rem auto 0;
  font-size: 1.08rem;
  color: rgba(244, 239, 227, .82);
}
.hero-sub strong { color: var(--gold); font-weight: 600; }
.hero-actions { display: flex; gap: .9rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.hero-actions .btn-ghost { color: var(--paper); }

/* staged reveal */
.reveal { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .32s; }
.d4 { animation-delay: .46s; } .d5 { animation-delay: .62s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Boarding pass ---------- */
.boarding-pass {
  display: flex;
  max-width: 640px;
  margin: 3rem auto 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  text-align: left;
  transform: rotate(-1.2deg);
  transition: transform .3s ease;
}
.boarding-pass:hover { transform: rotate(0deg) scale(1.01); }
.bp-main { flex: 1; padding: 1.4rem 1.6rem; }
.bp-stub {
  width: 128px;
  border-left: 2px dashed var(--line);
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  background:
    radial-gradient(circle at left 12%, var(--navy) 7px, transparent 8px) left top / 100% 100% no-repeat,
    var(--paper-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.bp-row { display: flex; gap: 1.6rem; justify-content: space-between; flex-wrap: wrap; }
.bp-field { display: flex; flex-direction: column; gap: .1rem; }
.bp-label {
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.bp-value { font-family: var(--font-mono); font-weight: 600; font-size: .95rem; }
.bp-blink { color: var(--orange-deep); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.bp-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.1rem 0;
  padding: .8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bp-city { font-weight: 800; font-size: 1.7rem; letter-spacing: .04em; }
.bp-plane { color: var(--orange); font-size: 1.2rem; flex: 1; text-align: center; position: relative; }
.bp-plane::before, .bp-plane::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34%;
  border-top: 2px dotted var(--line);
}
.bp-plane::before { left: 0; } .bp-plane::after { right: 0; }
.bp-stub-label { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.bp-stub-value { font-family: var(--font-mono); font-weight: 600; font-size: 1.5rem; }
.bp-barcode {
  margin-top: auto;
  width: 100%;
  height: 44px;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px,
    var(--ink) 4px 7px, transparent 7px 9px,
    var(--ink) 9px 10px, transparent 10px 14px);
}
@media (max-width: 560px) {
  .bp-stub { display: none; }
  .boarding-pass { transform: none; }
}

/* ---------- Departure board ---------- */
.board-section {
  background: var(--navy);
  padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
}
.board {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  background: #060b14;
  border: 2px solid #060b14;
  border-radius: 10px;
  overflow: hidden;
}
.board-cell {
  background: linear-gradient(180deg, #17233a 0%, #0d1626 100%);
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.board-key {
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, .45);
}
.board-val {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  letter-spacing: .08em;
  color: var(--board-green);
  text-shadow: 0 0 14px rgba(255, 213, 122, .35);
  white-space: nowrap;
}
.board-hot { color: var(--orange); text-shadow: 0 0 14px rgba(255, 90, 45, .5); }

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 3rem);
  max-width: 1120px;
  margin: 0 auto;
}
.section-dark {
  max-width: none;
  background: var(--navy);
  color: var(--paper);
}
.section-dark > * { max-width: 1120px; margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: 2.6rem; }
.section-no {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--orange);
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: .3rem .8rem;
  margin-bottom: 1rem;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.08;
}
.section-sub {
  margin-top: .8rem;
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.section-dark .section-sub { color: rgba(244, 239, 227, .65); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.lede { font-size: 1.25rem; font-weight: 500; line-height: 1.55; margin-bottom: 1.2rem; }
.lede em, .about-copy em { font-style: italic; }
.about-copy p + p { margin-top: 1.1rem; }
.about-quote blockquote {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  padding-left: 1.2rem;
  border-left: 4px solid var(--orange);
}
.about-quote cite {
  display: block;
  margin-top: .8rem;
  padding-left: 1.2rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink-soft);
}
.spec-card {
  margin-top: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-card);
}
.spec-card h3 {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .8rem;
}
.spec-card ul { list-style: none; }
.spec-card li {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: .85rem;
  padding: .4rem 0;
  border-bottom: 1px dashed var(--line);
}
.spec-card li:last-child { border-bottom: none; }
.spec-card li span {
  width: 3.2rem;
  flex-shrink: 0;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  padding-top: .2rem;
}

/* ---------- Safety cards (gameplay) ---------- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.safety-card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  overflow: hidden;
  border-top: 6px solid var(--orange);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
  transition: transform .22s ease, box-shadow .22s ease;
}
.safety-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }
.safety-step {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  margin-bottom: .9rem;
}
.safety-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.safety-card p { font-size: .93rem; color: var(--ink-soft); }
.safety-icon {
  position: absolute;
  right: -6px; bottom: -12px;
  font-size: 4.4rem;
  opacity: .14;
  transform: rotate(-8deg);
  user-select: none;
}

/* ---------- Gameplay clips ---------- */
.clips {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.clip {
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .4);
}
.clip video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.clip figcaption {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, .55);
  padding: .65rem .9rem;
  background: #0a1220;
}
.asset-note {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  opacity: .85;
}
.section-dark .asset-note { color: rgba(244, 239, 227, .5); }

/* ---------- Trailer ---------- */
.trailer-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--navy);
}
.trailer-facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: none;
}
.trailer-facade img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease, opacity .3s ease; }
.trailer-facade:hover img { transform: scale(1.02); opacity: .88; }
.play-chip {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(230, 74, 32, .55);
  transition: transform .2s ease;
}
.trailer-facade:hover .play-chip { transform: translate(-50%, -50%) scale(1.06); }
.play-chip svg { width: 18px; height: 18px; fill: currentColor; }
.trailer-frame iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.shot {
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  background: #000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
.shot:hover { transform: translateY(-4px); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot-wide { grid-column: span 2; }
@media (max-width: 620px) { .shot-wide { grid-column: span 1; } }

.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1400px);
}
.lightbox::backdrop { background: rgba(6, 11, 20, .9); }
.lightbox img { width: 100%; border-radius: 10px; }
.lightbox-close {
  position: absolute;
  top: -14px; right: -14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
}

/* ---------- Crew Exam ---------- */
.exam-shell {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(1.8rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.exam-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: repeating-linear-gradient(45deg,
    var(--orange) 0 16px, var(--navy) 16px 32px);
}

.exam-intro { text-align: center; padding: 1rem 0; }
.exam-badge {
  width: 76px; height: 76px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(16, 28, 48, .35);
}
.exam-badge svg { width: 36px; height: 36px; fill: var(--gold); }
.exam-intro h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: .6rem; }
.exam-intro p { color: var(--ink-soft); margin-bottom: 1.6rem; }

.exam-progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
#examCounter { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.exam-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--paper-warm); overflow: hidden; }
.exam-bar-fill { height: 100%; width: 0%; background: var(--orange); border-radius: 999px; transition: width .35s cubic-bezier(.2,.7,.2,1); }

.exam-question h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.35; margin-bottom: 1.2rem; }
.exam-options { display: grid; gap: .7rem; }
.exam-option {
  text-align: left;
  font-family: var(--font-display);
  font-size: .98rem;
  padding: .9rem 1.1rem;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.exam-option:hover:not(:disabled) { border-color: var(--ink); transform: translateX(4px); }
.exam-option:disabled { cursor: default; opacity: .55; }
.exam-option.is-correct { border-color: #2e8b57; background: #e8f5ec; opacity: 1; font-weight: 600; }
.exam-option.is-wrong { border-color: var(--orange-deep); background: #fdeae4; opacity: 1; }
.exam-feedback { margin-top: 1rem; font-size: .92rem; color: var(--ink-soft); border-left: 3px solid var(--gold); padding-left: .9rem; }
#examNext { margin-top: 1.2rem; }

/* license result */
.exam-result { text-align: center; }
.license {
  position: relative;
  max-width: 480px;
  margin: 0 auto 1.6rem;
  text-align: left;
  background: linear-gradient(160deg, #fdfbf5 0%, var(--paper-warm) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  animation: dealCard .5s cubic-bezier(.2,.8,.25,1.1);
}
@keyframes dealCard {
  from { opacity: 0; transform: translateY(24px) rotate(-3deg); }
  to   { opacity: 1; transform: none; }
}
.license-head {
  display: flex;
  justify-content: space-between;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .7rem 1.2rem;
}
.license-body { display: flex; gap: 1.2rem; padding: 1.3rem 1.2rem 3.2rem; }
.license-fields p { max-width: 17rem; }
.license-photo {
  width: 84px; height: 84px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.license-fields { display: grid; gap: .6rem; align-content: start; }
.license-fields strong { font-size: 1.15rem; font-weight: 800; display: block; }
.license-fields p { font-size: .88rem; color: var(--ink-soft); }
.license-stamp {
  position: absolute;
  right: 14px; bottom: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .2em;
  color: var(--orange-deep);
  border: 3px double var(--orange-deep);
  border-radius: 6px;
  padding: .3rem .7rem;
  transform: rotate(-10deg) scale(1);
  opacity: .9;
  animation: stamp .45s cubic-bezier(.2,.9,.3,1.4) .35s backwards;
}
@keyframes stamp {
  from { transform: rotate(-10deg) scale(2.4); opacity: 0; }
  to   { transform: rotate(-10deg) scale(1); opacity: .9; }
}
.share-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .9rem;
}
.share-row {
  display: flex;
  gap: .7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  color: #fff;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.share-btn:active { transform: translateY(1px); }
.share-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.share-x { background: #0f1419; box-shadow: 0 6px 16px rgba(15, 20, 25, .3); }
.share-reddit { background: #ff4500; box-shadow: 0 6px 16px rgba(255, 69, 0, .3); }
.share-discord { background: #5865f2; box-shadow: 0 6px 16px rgba(88, 101, 242, .35); }

.exam-result-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.exam-share-note { margin-top: 1rem; font-family: var(--font-mono); font-size: .78rem; color: #2e8b57; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; max-width: 860px; }
.faq-list details {
  background: rgba(244, 239, 227, .04);
  border: 1px solid rgba(244, 239, 227, .14);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-list details[open] { border-color: var(--orange); background: rgba(244, 239, 227, .06); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--orange);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 1.3rem 1.2rem;
  color: rgba(244, 239, 227, .78);
  font-size: .95rem;
}
.faq-list a { color: var(--gold); }
.faq-list a:hover { color: var(--orange); }

/* ---------- Sources ---------- */
.section-sources { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.sources-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 1.1rem; }
.sources-title span { font-weight: 400; color: var(--ink-soft); font-size: .9rem; }
.sources { list-style: none; display: grid; gap: .5rem; }
.sources li {
  font-size: .92rem;
  color: var(--ink-soft);
  padding-left: 1.4rem;
  position: relative;
}
.sources li::before {
  content: "✈";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: .8rem;
  top: .2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(244, 239, 227, .6);
  text-align: center;
  padding: 2.8rem 1.5rem;
  font-size: .85rem;
}
.site-footer p + p { margin-top: .5rem; }
.site-footer strong { color: var(--paper); }
.footer-fine {
  margin-top: 1.4rem !important;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
