@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

/* ── PAC BRAND TOKENS ─────────────────────────────── */
:root {
  --pac-red:       #AB2328;
  --pac-cherry:    #76232F;
  --pac-carbon:    #212322;
  --pac-concrete:  #D0D3D4;

  --ink:           #181A19;
  --ink-2:         #1E211F;
  --ink-3:         #252826;
  --ink-4:         #2C302D;
  --ink-5:         #333835;

  --surface:       rgba(255,255,255,0.03);
  --surface-2:     rgba(255,255,255,0.055);
  --border:        rgba(255,255,255,0.055);
  --border-2:      rgba(255,255,255,0.1);
  --border-red:    rgba(171,35,40,0.35);

  --red-glow:      rgba(171,35,40,0.18);
  --cherry-glow:   rgba(118,35,47,0.15);
  --concrete-dim:  rgba(208,211,212,0.12);

  --text:          #F0F1F0;
  --text-2:        rgba(240,241,240,0.74);
  --text-3:        rgba(240,241,240,0.5);
  --text-4:        rgba(240,241,240,0.25);

  --green:         #2ECC71;
  --green-dim:     rgba(46,204,113,0.12);
  --amber:         #F5A623;
  --amber-dim:     rgba(245,166,35,0.12);

  --body:          'DM Sans', 'Century Gothic', 'Gill Sans', sans-serif;
  --mono:          'Space Mono', 'Courier New', monospace;

  --radius:        8px;
  --radius-lg:     14px;
  --radius-xl:     20px;
  --transition:    0.16s cubic-bezier(0.4,0,0.2,1);

  --shadow:        0 6px 20px rgba(0,0,0,0.22);
  --shadow-red:    0 6px 18px rgba(171,35,40,0.16);
}

/* ── RESET ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  background-image:
    radial-gradient(ellipse 900px 500px at 70% -5%, rgba(171,35,40,0.09), transparent 55%),
    radial-gradient(ellipse 600px 400px at -5% 85%, rgba(118,35,47,0.07), transparent 55%);
  min-height: 100vh;
  letter-spacing: 0.002em;
}
#matrix-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}
#header-root,
main,
#footer-root {
  position: relative;
  z-index: 1;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── LAYOUT ───────────────────────────────────────── */
.container { width: min(1160px, 94vw); margin: 0 auto; }
.section-gap { height: 32px; }
.section-gap-sm { height: 16px; }

/* ── HEADER ───────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(24,26,25,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 58px; gap: 16px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--ink-3);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.home-shortcut:hover {
  color: var(--text);
  border-color: var(--border-red);
  background: rgba(171,35,40,0.12);
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.brand-logo {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; gap: 0px; }
.brand-name {
  font-size: 15px; font-weight: 600;
  color: #fff; line-height: 1;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-family: var(--mono); font-size: 9px;
  color: var(--text-3); letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1;
  margin-top: 2px;
}
.navlinks { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.navlinks a {
  padding: 6px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--text-2);
  border: 1px solid transparent;
  transition: all var(--transition); white-space: nowrap;
}
.navlinks a:hover {
  color: var(--text); background: var(--surface-2);
  border-color: var(--border); text-decoration: none;
}
.navlinks a[aria-current="page"] {
  color: var(--text);
  background: var(--red-glow);
  border-color: var(--border-red);
}
.nav-section-label {
  font-family: var(--mono); font-size: 9px;
  color: var(--text-4); letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0 6px;
}
.nav-divider {
  width: 1px; height: 16px;
  background: var(--border-2); flex-shrink: 0;
}

/* ── HAMBURGER (mobile) ───────────────────────────── */
.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; padding: 8px; cursor: pointer;
  background: none; border: none;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-2); border-radius: 2px;
  transition: all var(--transition);
}
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--ink-2);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 20px; font-size: 14px;
  color: var(--text-2); border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover, .nav-mobile a[aria-current="page"] {
  color: var(--text); background: var(--red-glow);
  text-decoration: none;
}

/* ── MAIN ─────────────────────────────────────────── */
main { padding: 42px 0 88px; }

/* ── PROGRESS BAR ─────────────────────────────────── */
.progress-banner {
  background: var(--ink-2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.progress-inner {
  display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.progress-label {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-3); text-transform: uppercase;
  letter-spacing: 0.08em; white-space: nowrap;
}
.progress-track {
  flex: 1; min-width: 120px;
  height: 4px; background: var(--ink-4);
  border-radius: 999px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--pac-red);
  border-radius: 999px; transition: width 0.5s ease;
}
.progress-count {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-3); white-space: nowrap;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: 48px 44px 40px;
  background: linear-gradient(135deg, rgba(171,35,40,0.09), rgba(24,26,25,0) 58%, rgba(118,35,47,0.045));
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
  margin-bottom: 28px;
}
.hero::before {
  content: 'ONE PAC';
  position: absolute; right: -10px; top: -6px;
  font-size: 110px; font-weight: 700; line-height: 0.9;
  color: rgba(255,255,255,0.018); pointer-events: none;
  letter-spacing: -0.04em; font-family: var(--body);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--red-glow);
  border: 1px solid var(--border-red);
  font-family: var(--mono); font-size: 10px;
  color: var(--pac-red); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 16px;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pac-red);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.75)} }
.hero h1 {
  font-size: clamp(26px, 4.5vw, 50px);
  font-weight: 600; color: var(--text);
  line-height: 1.08; letter-spacing: -0.025em;
  margin-bottom: 16px; max-width: 18ch;
}
.hero h1 strong { color: var(--pac-red); font-weight: 600; }
.hero p {
  font-size: 16px; color: var(--text-2);
  line-height: 1.78; max-width: 62ch;
  margin-bottom: 28px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; align-items: center; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--mono); font-size: 22px;
  font-weight: 700; color: var(--text); display: block;
}
.stat-label {
  font-size: 11px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── LEARNING PATH ────────────────────────────────── */
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 32px;
}
.page-path-rail {
  position: fixed;
  left: max(8px, calc((100vw - min(1160px, 94vw)) / 2 - 210px));
  top: 118px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 180px;
  min-height: 280px;
  transition: filter var(--transition);
  pointer-events: none;
}
.path-rail-line {
  position: absolute;
  top: 0;
  left: 8px;
  width: 1px;
  height: 118px;
  background: linear-gradient(180deg, rgba(171,35,40,0.55), rgba(171,35,40,0.12));
  transition: background var(--transition), box-shadow var(--transition);
  margin-left: 0;
}
.path-rail-label {
  position: absolute;
  top: 132px;
  left: 3px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  transition: color var(--transition), text-shadow var(--transition);
  margin-left: 0;
  margin-top: 0;
}
.path-rail-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 132px;
  margin-left: 36px;
  margin-top: 0;
}
.path-rail-step {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 8px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  background: rgba(30,33,31,0.78);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  pointer-events: auto;
}
.path-rail-step:hover {
  border-color: var(--border-red);
  background: rgba(171,35,40,0.1);
  transform: translateX(1px);
}
.path-rail-step-num {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(171,35,40,0.9);
}
.path-rail-step-title {
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.35;
}
.page-path-rail.active {
  filter: brightness(1.05);
}
.page-path-rail.active .path-rail-line {
  background: linear-gradient(180deg, rgba(171,35,40,0.86), rgba(171,35,40,0.28));
  box-shadow: 0 0 14px rgba(171,35,40,0.32);
}
.page-path-rail.active .path-rail-label {
  color: rgba(240,241,240,0.78);
  text-shadow: 0 0 12px rgba(171,35,40,0.22);
}
.page-path-rail.active .path-rail-step {
  border-color: rgba(171,35,40,0.2);
}
.path-step {
  background: linear-gradient(180deg, rgba(37,40,38,0.72), rgba(30,33,31,0.9));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  position: relative; overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer; text-decoration: none;
  display: flex; flex-direction: column; gap: 10px;
}
.path-step:hover {
  border-color: var(--border-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.path-step.done { border-color: rgba(46,204,113,0.25); }
.path-num {
  font-family: var(--mono); font-size: 10px;
  color: var(--pac-red); letter-spacing: 0.1em;
  text-transform: uppercase;
}
.path-step h3 {
  font-size: 15px; font-weight: 600;
  color: var(--text); line-height: 1.3;
}
.path-step p {
  font-size: 13px; color: var(--text-2);
  line-height: 1.65; flex: 1;
}
.path-arrow {
  font-size: 18px; color: var(--pac-red);
  align-self: flex-end;
}
.path-done-badge {
  display: none; position: absolute;
  top: 12px; right: 12px;
  width: 20px; height: 20px;
  background: var(--green); border-radius: 50%;
  align-items: center; justify-content: center;
}
.path-step.done .path-done-badge { display: flex; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center;
  justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--radius);
  font-family: var(--body); font-weight: 500;
  font-size: 14px; border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.05); color: var(--text-2);
  cursor: pointer; transition: all var(--transition);
  white-space: nowrap; text-decoration: none;
}
.btn:hover { background: rgba(255,255,255,0.09); color: var(--text); text-decoration: none; }
.btn.primary {
  background: var(--pac-red); border-color: var(--pac-red);
  color: #fff; font-weight: 600;
}
.btn.primary:hover { background: #921e23; border-color: #921e23; color: #fff; box-shadow: var(--shadow-red); }
.btn.ghost { background: transparent; }
.btn.large { padding: 13px 26px; font-size: 15px; border-radius: 12px; }
.btn.sm { padding: 6px 13px; font-size: 12px; border-radius: 8px; }

/* ── SECTION CARD ─────────────────────────────────── */
.section {
  background: rgba(30,33,31,0.62);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
main > .section + .section { margin-top: 12px; }
.section h2 {
  font-size: 17px; font-weight: 600;
  color: var(--text); margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.shape-soft-card {
  border-radius: 18px 10px 18px 10px;
}
.shape-hero-card {
  border-radius: 22px 12px 22px 12px;
  background-image: linear-gradient(145deg, rgba(171,35,40,0.08), transparent 45%);
}
.shape-cut-card {
  border-radius: 14px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.shape-rail-card {
  border-left: 3px solid rgba(171,35,40,0.45);
  border-radius: 10px 16px 16px 10px;
}
.facts-compact {
  background: rgba(30,33,31,0.46);
}
.facts-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.fact-pill {
  background: rgba(37,40,38,0.62);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fact-num {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--pac-red);
  line-height: 1;
  flex-shrink: 0;
}
.fact-copy {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.4;
}

/* ── HOME UNIFORM CARD HEIGHTS ────────────────────── */
.home-page .path-grid,
.home-page .grid-2,
.home-page .home-quick-links,
.home-page .grid-3 {
  align-items: stretch;
}
.home-page .path-step,
.home-page .grid-2 > .section,
.home-page .home-quick-links > .section,
.home-page .grid-3 > .dt,
.home-page .facts-strip > .fact-pill {
  height: 100%;
}
.home-page .path-step {
  min-height: 206px;
}

/* ── PAGE HERO ────────────────────────────────────── */
.page-hero { margin-bottom: 28px; }
.page-eyebrow {
  font-family: var(--mono); font-size: 10px;
  color: var(--pac-red); letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex; align-items: center;
  gap: 8px; margin-bottom: 10px;
}
.page-eyebrow::before {
  content: ''; display: inline-block;
  width: 18px; height: 1px; background: var(--pac-red);
}
.page-hero h1 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 600; color: var(--text);
  line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 15.5px; color: var(--text-2);
  line-height: 1.7; max-width: 62ch;
}

/* ── MODULE GRID ──────────────────────────────────── */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.module-card {
  background: linear-gradient(180deg, rgba(37,40,38,0.7), rgba(30,33,31,0.88));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden;
}
.module-card:hover {
  border-color: var(--border-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.module-card.completed { border-color: rgba(46,204,113,0.2); }
.module-card.full-span { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; }
.module-card.full-span .module-card-body { flex: 1; }
.module-card-num {
  font-family: var(--mono); font-size: 9px;
  color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase;
}
.module-card h3 {
  font-size: 17px; font-weight: 600;
  color: var(--text); letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.module-card p {
  font-size: 13px; color: var(--text-2);
  line-height: 1.7;
}
.module-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.05em; width: fit-content;
  background: var(--amber-dim);
  border: 1px solid rgba(245,166,35,0.2);
  color: var(--amber);
}
.module-badge.red { background: var(--red-glow); border-color: var(--border-red); color: #c94040; }
.module-badge.green { background: var(--green-dim); border-color: rgba(46,204,113,0.2); color: var(--green); }
.module-badge.blue { background: rgba(58,118,171,0.12); border-color: rgba(58,118,171,0.2); color: #6aabdd; }
.module-badge.purple { background: rgba(127,42,143,0.12); border-color: rgba(127,42,143,0.2); color: #b87fd4; }
.completed-tick {
  position: absolute; top: 14px; right: 14px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); display: none;
  align-items: center; justify-content: center;
}
.module-card.completed .completed-tick { display: flex; }

/* ── MODULE CONTENT ───────────────────────────────── */
.module-body { display: flex; flex-direction: column; gap: 24px; }
.content-section {
  background: rgba(30,33,31,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.content-section.tone-neutral {
  background: rgba(30,33,31,0.65);
  border-color: rgba(255,255,255,0.06);
}
.content-section.tone-warning {
  background: rgba(171,35,40,0.04);
  border-color: rgba(171,35,40,0.28);
}
.content-section.tone-action {
  background: rgba(46,204,113,0.035);
  border-color: rgba(46,204,113,0.18);
}
.content-section h2 {
  font-size: 16px; font-weight: 600;
  color: var(--text); margin-bottom: 10px;
}
.module-hero-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.module-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-red);
  background: var(--red-glow);
  font-size: 18px;
  flex-shrink: 0;
}
.red-flag-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mission-mode {
  border-color: rgba(245,166,35,0.3);
  background: rgba(245,166,35,0.06);
}
.mission-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.mission-score {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
  border: 1px solid rgba(245,166,35,0.3);
  background: rgba(245,166,35,0.08);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}
.mission-lock {
  overflow: hidden;
}
.mission-surprise-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.mission-surprise-panel {
  width: min(760px, 94vw);
  max-height: 88vh;
  overflow: auto;
  position: relative;
  background: rgba(17,19,18,0.95);
  border: 1px solid rgba(245,166,35,0.24);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(0,0,0,0.62);
  padding: 16px;
}
.mission-surprise-panel::before {
  content: "";
  position: sticky;
  top: 0;
  display: block;
  height: 2px;
  margin: -16px -16px 12px -16px;
  background: linear-gradient(90deg, rgba(171,35,40,0), rgba(171,35,40,0.95), rgba(171,35,40,0));
  filter: drop-shadow(0 0 8px rgba(171,35,40,0.6));
  animation: mission-urgency-pulse 1.9s ease-in-out infinite;
  pointer-events: none;
}
.mission-surprise-head {
  margin-bottom: 10px;
  padding-right: 28px;
}
.mission-surprise-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text-2);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.mission-surprise-close:hover {
  color: var(--text);
  border-color: var(--border-red);
  background: rgba(171,35,40,0.12);
}
.mission-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mission-step {
  background: rgba(9,10,10,0.58);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}
@keyframes mission-urgency-pulse {
  0%, 100% { opacity: 0.35; transform: scaleX(0.97); }
  50% { opacity: 1; transform: scaleX(1); }
}
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.list-clean {
  list-style: none; display: flex;
  flex-direction: column; gap: 8px;
}
.list-clean li {
  display: flex; gap: 10px;
  font-size: 13.5px; color: var(--text-2);
  line-height: 1.68; align-items: flex-start;
}
.list-clean li::before {
  content: '—'; color: var(--pac-red);
  font-family: var(--mono); flex-shrink: 0;
  margin-top: 2px;
}
.example-box {
  background: rgba(37,40,38,0.68);
  border: 1px solid rgba(171,35,40,0.28);
  border-left: 3px solid var(--pac-red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 16px; margin: 12px 0;
  font-size: 13.5px; color: var(--text-2);
  line-height: 1.65; font-style: italic;
}
.example-box strong { color: var(--pac-red); font-style: normal; font-size: 10px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 6px; }
details {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
details > summary {
  padding: 13px 16px; cursor: pointer;
  font-weight: 500; font-size: 13.5px;
  color: var(--text-2); list-style: none;
  display: flex; align-items: center; gap: 10px;
  transition: color var(--transition), background var(--transition);
}
details > summary::before { content: '+'; font-family: var(--mono); color: var(--pac-red); font-size: 15px; width: 16px; flex-shrink: 0; }
details[open] > summary::before { content: '−'; }
details > summary:hover { color: var(--text); background: rgba(255,255,255,0.02); }
details > .details-body { padding: 0 16px 14px; border-top: 1px solid var(--border); padding-top: 12px; }

/* ── STORY CARDS ──────────────────────────────────── */
.story-card {
  background: rgba(30,33,31,0.62);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-bottom: 12px;
}
.story-card:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.story-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.story-card h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.story-meta { font-family: var(--mono); font-size: 9px; color: var(--pac-red); text-transform: uppercase; letter-spacing: 0.08em; }
.story-num { font-family: var(--mono); font-size: 32px; font-weight: 700; color: rgba(171,35,40,0.14); line-height: 1; flex-shrink: 0; }
.story-excerpt { font-size: 13.5px; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }

/* ── NEVER LIST ───────────────────────────────────── */
.never-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.never-item {
  background: var(--ink-3);
  border: 1px solid rgba(171,35,40,0.15);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex; gap: 9px; align-items: flex-start;
}
.never-x {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red-glow); border: 1px solid var(--border-red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.never-item p { font-size: 12.5px; color: var(--text-2); line-height: 1.5; margin: 0; }

/* ── QUIZ ─────────────────────────────────────────── */
.quiz-question {
  background: rgba(30,33,31,0.66);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px; margin-bottom: 12px;
  transition: border-color var(--transition);
}
.quiz-question:focus-within { border-color: var(--border-2); }
.quiz-question h3 {
  font-family: var(--mono); font-size: 10px;
  color: var(--pac-red); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 10px;
}
.quiz-question > p {
  font-size: 14.5px; color: var(--text);
  font-weight: 500; line-height: 1.72;
  margin-bottom: 14px;
}
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(37,40,38,0.72); cursor: pointer;
  transition: all var(--transition);
}
.choice:hover { border-color: var(--border-2); background: rgba(44,48,45,0.8); }
.choice:has(input:checked) { border-color: var(--border-red); background: var(--red-glow); }
.choice input[type="radio"] { margin-top: 3px; accent-color: var(--pac-red); flex-shrink: 0; width: 14px; height: 14px; }
.choice-label { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 2px; line-height: 1.4; }
.choice-hint { font-size: 12px; color: var(--text-3); line-height: 1.4; }

/* ── FORM ─────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 7px; }
label { font-size: 12.5px; font-weight: 600; color: var(--text-2); letter-spacing: 0.02em; }
input[type="text"] {
  padding: 11px 14px; border-radius: var(--radius);
  border: 1px solid var(--border-2);
  background: var(--ink-3);
  font-family: var(--body); font-size: 14px;
  color: var(--text); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input[type="text"]::placeholder { color: var(--text-4); }
input[type="text"]:focus {
  border-color: var(--border-red);
  box-shadow: 0 0 0 3px rgba(171,35,40,0.1);
}

/* ── RESULT ───────────────────────────────────────── */
.result { display: none; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--ink-2); }
.result:not(:empty) { display: block; }
.result.pass { border-color: rgba(46,204,113,0.25); background: rgba(46,204,113,0.04); }
.result.fail { border-color: rgba(245,166,35,0.2); background: rgba(245,166,35,0.03); }
.result h2 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.result.pass h2 { color: var(--green); }
.result.fail h2 { color: var(--amber); }

/* ── CERTIFICATE ──────────────────────────────────── */
.certificate-wrap { display: flex; flex-direction: column; gap: 12px; }
.certificate-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── GAME EMBED ───────────────────────────────────── */
.game-embed {
  border: 1px solid var(--border-red);
  border-radius: var(--radius-lg);
  overflow: hidden; background: rgba(30,33,31,0.82);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.game-header {
  background: var(--pac-carbon);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}
.game-header-left { display: flex; align-items: center; gap: 10px; }
.game-badge {
  background: var(--pac-red); color: #fff;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.game-title { font-size: 14px; font-weight: 600; color: var(--text); }
.game-desc { font-size: 12px; color: var(--text-3); }
.game-frame {
  width: 100%; height: 620px;
  border: none; display: block;
}

/* ── QUICK REF ────────────────────────────────────── */
.qref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qref-card {
  background: var(--ink-3);
  border-radius: var(--radius); padding: 14px;
}
.qref-label {
  font-family: var(--mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* ── FOOTER ───────────────────────────────────────── */
footer {
  background: var(--pac-carbon);
  border-top: 3px solid var(--pac-red);
  padding: 24px 0 32px;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand-name { font-size: 13px; font-weight: 600; color: var(--text); }
.footer-brand-sub { font-size: 11px; color: var(--text-3); }
.footer-slogan { font-family: var(--mono); font-size: 9px; color: var(--text-4); letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--text-3); transition: color var(--transition); }
.footer-links a:hover { color: var(--text-2); text-decoration: none; }

/* ── UTILITY ──────────────────────────────────────── */
.hidden { display: none !important; }
.small-note { font-size: 13px; color: rgba(240,241,240,0.76); line-height: 1.76; }
.mono-label { font-family: var(--mono); font-size: 9px; color: rgba(171,35,40,0.85); text-transform: uppercase; letter-spacing: 0.06em; }
.text-red { color: var(--pac-red); }
.text-muted { color: var(--text-2); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.flex-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .navlinks { display: none; }
  .nav-section-label, .nav-divider { display: none; }
  .nav-toggle { display: flex; }
  .home-shortcut { font-size: 11px; padding: 5px 10px; }
  .hero { padding: 34px 24px 30px; }
  .hero::before { font-size: 60px; }
  .page-path-rail { display: none; }
  .path-grid { grid-template-columns: 1fr 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card.full-span { flex-direction: column; grid-column: span 1; }
  .content-two-col { grid-template-columns: 1fr; }
  .never-grid { grid-template-columns: 1fr 1fr; }
  .qref-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .facts-strip { grid-template-columns: 1fr; }
  .mission-surprise-overlay { padding: 12px; }
  .mission-surprise-panel { width: 100%; max-height: 92vh; }
  .game-frame { height: 500px; }
}
@media (max-width: 1280px) {
  .page-path-rail { display: none; }
}
@media (max-width: 600px) {
  .home-shortcut { padding: 5px 9px; }
  .path-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .never-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  main { padding: 28px 0 64px; }
  .game-frame { height: 420px; }
}

/* ── LANGUAGE SWITCHER ────────────────────────────── */
.lang-switcher {
  display: flex; gap: 2px; align-items: center;
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  padding: 4px 9px; border-radius: 999px;
  font-family: var(--mono); font-size: 10px;
  font-weight: 700; letter-spacing: 0.05em;
  color: var(--text-3); background: transparent;
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.lang-btn:hover { color: var(--text-2); background: var(--ink-4); }
.lang-btn.active {
  background: var(--pac-red); color: #fff;
}

/* ── QUIZ LINK NAV STYLE ──────────────────────────── */
a.nav-quiz-link {
  background: rgba(171,35,40,0.12);
  border-color: rgba(171,35,40,0.25) !important;
  color: var(--text) !important;
}
