  :root {
    --paper: #f1e9d2;
    --paper-2: #e8dfc3;
    --ink: #111827;
    --ink-soft: #3b4252;
    --muted: #6b6655;
    --line: #c7bd9f;
    --stamp: #b32b26;
    --stamp-faded: #a83e3a;
    --gold: #a67c00;
    --navy: #1b2a41;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'IBM Plex Sans', 'Noto Serif SC', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* Paper grain texture */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.35;
    mix-blend-mode: multiply;
    background-image:
      radial-gradient(circle at 15% 20%, rgba(124,109,74,0.08) 0, transparent 40%),
      radial-gradient(circle at 85% 60%, rgba(124,109,74,0.06) 0, transparent 40%),
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.25  0 0 0 0 0.15  0 0 0 0.08 0'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
  }

  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }

  a { color: inherit; }

  /* ———————————— MASTHEAD ———————————— */

  .masthead {
    border-bottom: 2px solid var(--ink);
    padding: 20px 0 14px;
  }
  .masthead-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .masthead-row .dot { display: inline-block; width: 4px; height: 4px; background: var(--stamp); border-radius: 50%; margin: 0 10px 3px; vertical-align: middle; }
  .masthead-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(36px, 7vw, 82px);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 0.92;
    margin-top: 4px;
    color: var(--ink);
  }
  .masthead-title b {
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
  }
  .masthead-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .nav { display: flex; gap: 22px; }
  .nav a {
    text-decoration: none;
    color: var(--ink);
    position: relative;
  }
  .nav a:hover { color: var(--stamp); }
  .nav a::before {
    content: attr(data-num);
    color: var(--stamp);
    margin-right: 6px;
    font-size: 9px;
    vertical-align: super;
  }

  /* ———————————— HERO ———————————— */

  .hero {
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 56px;
    align-items: end;
  }
  .hero-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stamp);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .hero-kicker::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
  }
  .hero-headline {
    font-family: 'Instrument Serif', 'Noto Serif SC', serif;
    font-size: clamp(48px, 8.5vw, 124px);
    line-height: 0.95;
    letter-spacing: -0.025em;
    font-weight: 400;
    color: var(--ink);
  }
  .hero-headline em {
    font-style: italic;
    color: var(--stamp);
  }
  .hero-sub {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 21px;
    line-height: 1.45;
    color: var(--ink-soft);
    margin-top: 28px;
    max-width: 620px;
  }
  .hero-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    line-height: 1.85;
    letter-spacing: 0.05em;
    color: var(--muted);
    text-transform: uppercase;
    border-left: 2px solid var(--ink);
    padding-left: 18px;
  }
  .hero-meta strong { color: var(--ink); font-weight: 600; }

  .stamp {
    position: absolute;
    top: 110px;
    right: -20px;
    width: 170px;
    height: 170px;
    border: 3px solid var(--stamp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-14deg);
    color: var(--stamp);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.78;
    text-align: center;
    background:
      radial-gradient(circle, transparent 62%, rgba(179,43,38,0.04) 63%, transparent 66%),
      radial-gradient(circle at 30% 40%, transparent 70%, transparent);
    animation: stampIn 1.1s cubic-bezier(0.5,0,0.3,1.4) both 0.5s;
  }
  .stamp::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1.5px solid var(--stamp);
    border-radius: 50%;
    opacity: 0.6;
  }
  .stamp-inner {
    font-size: 11px;
    line-height: 1.3;
  }
  .stamp-inner .big {
    display: block;
    font-family: 'Instrument Serif', serif;
    font-size: 30px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 2px 0;
  }

  @keyframes stampIn {
    0%   { opacity: 0; transform: rotate(-50deg) scale(2.5); }
    60%  { opacity: 0.85; transform: rotate(-10deg) scale(0.92); }
    100% { opacity: 0.78; transform: rotate(-14deg) scale(1); }
  }

  /* ———————————— SECTION SCAFFOLD ———————————— */

  .section {
    padding: 96px 0 72px;
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  .section-head {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 32px;
    align-items: baseline;
    margin-bottom: 56px;
  }
  .section-num {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 88px;
    line-height: 0.8;
    color: var(--stamp);
    letter-spacing: -0.04em;
  }
  .section-title-wrap h2 {
    font-family: 'Instrument Serif', 'Noto Serif SC', serif;
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--ink);
  }
  .section-title-wrap .kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
  }
  .section-title-wrap .lede {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 19px;
    line-height: 1.5;
    color: var(--ink-soft);
    margin-top: 16px;
    max-width: 640px;
  }

  /* ———————————— 01. REALITY CHECK ———————————— */

  .reality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 24px;
  }
  .reality-cell {
    background: var(--paper);
    padding: 28px 24px 32px;
    position: relative;
  }
  .reality-cell .n {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--stamp);
    margin-bottom: 16px;
  }
  .reality-cell h3 {
    font-family: 'Instrument Serif', 'Noto Serif SC', serif;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 10px;
  }
  .reality-cell p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
  }

  .pull-quote {
    margin: 56px auto 0;
    max-width: 860px;
    text-align: center;
    font-family: 'Instrument Serif', 'Noto Serif SC', serif;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.35;
    font-style: italic;
    color: var(--ink);
    padding: 0 24px;
  }
  .pull-quote::before, .pull-quote::after {
    content: '—';
    display: block;
    color: var(--stamp);
    font-size: 18px;
    margin: 18px auto;
    width: 40px;
    border-top: 1px solid var(--stamp);
    height: 0;
    opacity: 0.6;
  }

  /* ———————————— 02. POINTS CALCULATOR ———————————— */

  .calc {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .calc-form {
    border-top: 2px solid var(--ink);
  }
  .calc-row {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 16px;
  }
  .calc-row .idx {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--stamp);
    padding-top: 5px;
  }
  .calc-row label.q {
    display: block;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--ink);
    margin-bottom: 14px;
  }
  .calc-row .q-en {
    display: inline-block;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 15px;
    color: var(--muted);
    font-weight: 400;
    margin-left: 8px;
  }
  .options {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border: 1px solid var(--ink);
  }
  .options label {
    flex: 1;
    min-width: max-content;
    padding: 11px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.03em;
    text-align: center;
    cursor: pointer;
    border-right: 1px solid var(--ink);
    color: var(--ink);
    transition: background 120ms, color 120ms;
    background: var(--paper);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .options label:last-child { border-right: none; }
  .options input { display: none; }
  .options label:hover { background: var(--paper-2); }
  .options input:checked + span,
  .options label:has(input:checked) {
    background: var(--ink);
    color: var(--paper);
  }
  .options label .pts {
    font-size: 10px;
    color: var(--stamp);
    font-weight: 600;
  }
  .options label:has(input:checked) .pts {
    color: var(--paper-2);
  }

  .calc-side {
    position: sticky;
    top: 24px;
  }

  .score-card {
    background: var(--ink);
    color: var(--paper);
    padding: 36px 32px 32px;
    position: relative;
    border: 1px solid var(--ink);
    overflow: hidden;
  }
  .score-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 140px; height: 140px;
    background:
      repeating-linear-gradient(45deg, var(--stamp) 0 8px, transparent 8px 16px);
    opacity: 0.25;
    pointer-events: none;
  }
  .score-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--paper-2);
    opacity: 0.7;
  }
  .score-number {
    font-family: 'Instrument Serif', serif;
    font-size: 128px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.04em;
    margin: 8px 0 4px;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .score-max {
    font-size: 22px;
    color: var(--paper-2);
    opacity: 0.5;
    font-style: italic;
  }
  .score-verdict {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.3;
    margin-top: 12px;
    border-top: 1px solid rgba(241,233,210,0.25);
    padding-top: 14px;
  }
  .score-verdict em { color: #e8c78c; font-style: normal; }

  .score-dial {
    position: relative;
    height: 52px;
    margin-top: 26px;
    border: 1px solid var(--paper-2);
  }
  .score-dial .bands {
    position: absolute; inset: 0;
    display: grid;
    grid-template-columns: 65fr 15fr 10fr 10fr;
  }
  .score-dial .bands div {
    border-right: 1px solid rgba(241,233,210,0.2);
    position: relative;
  }
  .score-dial .bands div:last-child { border: none; }
  .score-dial .bands div::after {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    left: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--paper-2);
    opacity: 0.6;
    text-transform: uppercase;
  }
  .score-dial .needle {
    position: absolute;
    top: -6px;
    bottom: -6px;
    width: 3px;
    background: var(--stamp);
    box-shadow: 0 0 0 3px rgba(179,43,38,0.35);
    transition: left 500ms cubic-bezier(0.22, 1, 0.36, 1);
    left: 0;
  }
  .score-dial .needle::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -5px;
    width: 13px; height: 13px;
    background: var(--stamp);
    transform: rotate(45deg);
  }

  .score-breakdown {
    margin-top: 26px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    line-height: 1.9;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .score-breakdown .row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .score-breakdown .row span:first-child { color: var(--muted); }
  .score-breakdown .row .v { color: var(--ink); font-weight: 600; }

  .calc-disclaimer {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--muted);
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 2px solid var(--stamp);
    background: rgba(179,43,38,0.04);
  }

  /* Country tabs */
  .calc-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1.5px solid var(--ink);
    margin-bottom: 36px;
    background: var(--paper-2);
  }
  .calc-tab {
    appearance: none;
    background: var(--paper-2);
    border: none;
    border-right: 1px solid var(--ink);
    padding: 18px 20px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-align: left;
    transition: background 180ms, color 180ms;
    font-family: inherit;
    position: relative;
  }
  .calc-tab:last-child { border-right: none; }
  .calc-tab:hover { background: var(--paper); }
  .calc-tab[aria-selected="true"] {
    background: var(--ink);
    color: var(--paper);
  }
  .calc-tab[aria-selected="true"] .tab-flag,
  .calc-tab[aria-selected="true"] .tab-sys { color: var(--paper); }
  .calc-tab[aria-selected="true"]::after {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid var(--ink);
  }
  .tab-flag {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 42px;
    line-height: 0.8;
    color: var(--ink);
    letter-spacing: -0.03em;
  }
  .tab-label {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }
  .tab-label strong {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.01em;
  }
  .tab-sys {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 4px;
  }

  .calc-panel[hidden] { display: none; }

  /* CA-specific dial bands */
  .score-dial[data-bands="ca"] .bands {
    grid-template-columns: 450fr 50fr 50fr 50fr;
  }
  .score-dial[data-bands="us"] .bands {
    grid-template-columns: 3fr 3fr 2fr 2fr;
  }

  /* US Pathways panel */
  .us-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 48px;
  }
  .us-checks {
    border-top: 2px solid var(--ink);
  }
  .us-check {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 16px;
    cursor: pointer;
    user-select: none;
    transition: background 140ms;
  }
  .us-check:hover { background: rgba(179,43,38,0.03); }
  .us-check input { display: none; }
  .us-check .check-box {
    width: 22px; height: 22px;
    border: 1.5px solid var(--ink);
    margin-top: 2px;
    position: relative;
    transition: background 140ms;
  }
  .us-check input:checked + .check-box {
    background: var(--ink);
  }
  .us-check input:checked + .check-box::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    font-size: 15px;
    font-weight: 600;
  }
  .us-check .txt {
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--ink);
  }
  .us-check .txt .en {
    display: block;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--muted);
    margin-top: 3px;
  }
  .us-check .tags {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
  }
  .us-check .tags span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--stamp);
    padding: 2px 6px;
    border: 1px solid var(--stamp);
    border-radius: 2px;
    text-transform: uppercase;
  }

  .us-pathways {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    position: sticky;
    top: 24px;
  }
  .us-path {
    border: 1.5px solid var(--ink);
    padding: 18px 20px;
    background: var(--paper);
    transition: box-shadow 240ms, transform 240ms;
    position: relative;
  }
  .us-path.top {
    background: var(--ink);
    color: var(--paper);
    box-shadow: 4px 4px 0 var(--stamp);
    transform: translate(-2px, -2px);
  }
  .us-path.top .p-name { color: var(--paper); }
  .us-path.top .p-meta { color: rgba(241,233,210,0.65); }
  .us-path.top .p-bar { background: rgba(241,233,210,0.15); }
  .us-path.top .p-bar-fill { background: #e8c78c; }
  .us-path-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 10px;
  }
  .p-name {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--ink);
    line-height: 1.1;
  }
  .p-name small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--stamp);
    text-transform: uppercase;
    display: block;
    margin-top: 4px;
    font-style: normal;
  }
  .us-path.top .p-name small { color: #e8c78c; }
  .p-fit {
    font-family: 'Instrument Serif', serif;
    font-size: 36px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .p-fit .slash { color: var(--muted); font-size: 16px; font-style: italic; }
  .p-bar {
    height: 4px;
    background: rgba(17,24,39,0.12);
    margin: 4px 0 10px;
    overflow: hidden;
  }
  .p-bar-fill {
    height: 100%;
    background: var(--stamp);
    transition: width 400ms cubic-bezier(0.22,1,0.36,1);
  }
  .p-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--muted);
    line-height: 1.7;
    text-transform: uppercase;
  }
  .p-meta .label {
    color: var(--stamp);
    margin-right: 8px;
  }
  .us-path.top .p-meta .label { color: #e8c78c; }

  /* ———————————— 03. COUNTRY COMPARISON — BOARDING PASS ———————————— */

  .tickets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .ticket {
    background: var(--paper);
    border: 1.5px solid var(--ink);
    padding: 28px 26px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform 220ms, box-shadow 220ms;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  .ticket:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--stamp);
  }
  .ticket:hover .ticket-open { color: var(--stamp); }
  .ticket:hover .ticket-open::after { transform: translateX(4px); }
  .ticket-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px dashed var(--ink);
    background: rgba(17,24,39,0.02);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--ink);
    text-transform: uppercase;
    transition: color 180ms;
  }
  .ticket-open::after {
    content: '→';
    font-size: 14px;
    transition: transform 180ms;
  }
  .ticket::before, .ticket::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: 50%;
  }
  .ticket::before { left: -9px; top: 92px; }
  .ticket::after { right: -9px; top: 92px; }

  .ticket-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1.5px dashed var(--ink);
    margin-bottom: 18px;
    position: relative;
  }
  .ticket-flag {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 62px;
    line-height: 0.8;
    letter-spacing: -0.04em;
  }
  .ticket-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-align: right;
    letter-spacing: 0.12em;
    color: var(--muted);
  }
  .ticket-code strong {
    display: block;
    font-size: 24px;
    color: var(--ink);
    margin-top: 4px;
    letter-spacing: -0.02em;
  }
  .ticket-body { flex: 1; }
  .ticket-body dl {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ticket-body dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
  }
  .ticket-body dd {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
  }
  .ticket-body dd.hot { color: var(--stamp); font-weight: 500; }

  .ticket-foot {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1.5px dashed var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-transform: uppercase;
  }
  .ticket-verdict {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 17px;
    font-weight: 400;
    color: var(--ink);
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.3;
    max-width: 65%;
    text-align: right;
  }
  .ticket-verdict em {
    font-style: normal;
    color: var(--stamp);
  }

  /* ———————————— 04. METHODOLOGY ———————————— */

  .method {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 12px;
  }
  .method-intro p {
    font-family: 'Instrument Serif', 'Noto Serif SC', serif;
    font-size: 22px;
    line-height: 1.5;
    font-style: italic;
    color: var(--ink);
    margin-bottom: 22px;
  }
  .method-intro p:last-child {
    font-family: 'IBM Plex Sans', sans-serif;
    font-style: normal;
    font-size: 15px;
    color: var(--ink-soft);
  }

  .tracks { counter-reset: track; }
  .track {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    align-items: start;
  }
  .track:last-child { border-bottom: 1px solid var(--line); }
  .track-num {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 54px;
    line-height: 0.85;
    color: var(--stamp);
    font-weight: 400;
    letter-spacing: -0.04em;
  }
  .track h4 {
    font-family: 'Instrument Serif', 'Noto Serif SC', serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 6px;
  }
  .track p {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.55;
  }
  .track .tag {
    display: inline-block;
    margin-top: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stamp);
    padding: 3px 8px;
    border: 1px solid var(--stamp);
    border-radius: 2px;
  }

  /* ———————————— 05. RESOURCES ———————————— */

  .resources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
  }
  .res {
    padding: 28px 24px 24px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    display: block;
    transition: background 180ms;
    position: relative;
  }
  .res:nth-child(3n) { border-right: none; }
  .res:nth-last-child(-n+3) { border-bottom: none; }
  .res:hover { background: var(--paper-2); }
  .res:hover .res-arrow { transform: translate(4px, -4px); }

  .res .file {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--stamp);
    text-transform: uppercase;
  }
  .res h3 {
    font-family: 'Instrument Serif', 'Noto Serif SC', serif;
    font-size: 24px;
    font-weight: 400;
    margin: 10px 0 8px;
    line-height: 1.2;
  }
  .res p {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.5;
  }
  .res-arrow {
    position: absolute;
    top: 24px; right: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    color: var(--muted);
    transition: transform 200ms;
  }

  /* ———————————— RESUME CTA ———————————— */

  .cta-resume {
    margin: 0;
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  .cta-resume .tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stamp);
    margin-bottom: 20px;
  }
  .cta-resume h2 {
    font-family: 'Instrument Serif', 'Noto Serif SC', serif;
    font-size: clamp(36px, 5.5vw, 72px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto 20px;
  }
  .cta-resume h2 em { font-style: italic; color: var(--stamp); }
  .cta-resume p {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0 auto 32px;
  }
  .cta-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 2px solid var(--ink);
    transition: background 180ms, color 180ms;
  }
  .cta-link:hover { background: var(--stamp); border-color: var(--stamp); }
  .cta-link span { font-size: 16px; }

  /* ———————————— FOOTER ———————————— */

  footer {
    padding: 56px 0 44px;
    background: var(--ink);
    color: var(--paper);
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
  }
  .foot-brand {
    font-family: 'Instrument Serif', serif;
    font-size: 34px;
    font-style: italic;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .foot-brand + p {
    font-size: 13px;
    color: rgba(241,233,210,0.65);
    margin-top: 14px;
    max-width: 320px;
    line-height: 1.6;
  }
  footer h5 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(241,233,210,0.55);
    margin-bottom: 16px;
  }
  footer ul { list-style: none; }
  footer li { font-size: 13.5px; line-height: 1.9; }
  footer a {
    text-decoration: none;
    color: var(--paper);
    opacity: 0.9;
    border-bottom: 1px solid transparent;
    transition: border-color 180ms;
  }
  footer a:hover { border-bottom-color: var(--stamp); }
  .foot-bottom {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(241,233,210,0.15);
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(241,233,210,0.55);
  }

  /* ———————————— REVEAL ANIMATIONS ———————————— */

  [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 900ms cubic-bezier(0.22,1,0.36,1), transform 900ms cubic-bezier(0.22,1,0.36,1);
  }
  [data-reveal].in {
    opacity: 1;
    transform: translateY(0);
  }
  [data-reveal-delay="1"] { transition-delay: 80ms; }
  [data-reveal-delay="2"] { transition-delay: 160ms; }
  [data-reveal-delay="3"] { transition-delay: 240ms; }
  [data-reveal-delay="4"] { transition-delay: 320ms; }

  /* ———————————— RESPONSIVE ———————————— */

  @media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-meta { border-left: none; border-top: 2px solid var(--ink); padding: 16px 0 0; }
    .stamp { position: relative; top: 0; right: 0; margin: 0 auto; }
    .reality-grid { grid-template-columns: repeat(2, 1fr); }
    .calc { grid-template-columns: 1fr; gap: 40px; }
    .calc-side { position: static; }
    .us-layout { grid-template-columns: 1fr; gap: 32px; }
    .us-pathways { position: static; }
    .tab-flag { font-size: 30px; }
    .tab-label strong { font-size: 18px; }
    .tab-sys { font-size: 8px; }
    .tickets { grid-template-columns: 1fr; }
    .method { grid-template-columns: 1fr; gap: 32px; }
    .resources { grid-template-columns: 1fr; }
    .res:nth-child(n) { border-right: none; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .section-head { grid-template-columns: 64px 1fr; gap: 16px; }
    .section-num { font-size: 54px; }
  }

  @media (max-width: 560px) {
    .container { padding: 0 20px; }
    .reality-grid { grid-template-columns: 1fr; }
    .options { flex-direction: column; }
    .options label { border-right: none; border-bottom: 1px solid var(--ink); }
    .options label:last-child { border-bottom: none; }
    .foot-grid { grid-template-columns: 1fr; }
    .masthead-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
    .nav { flex-wrap: wrap; gap: 14px; }
  }

  @media print {
    body::before { display: none; }
    .stamp, footer, .cta-resume { display: none; }
  }
