/* =============================================================================
   Compass 9, Styles v2  ("The Briefing": a counselor's sealed dossier)
   -----------------------------------------------------------------------------
   Identity : warm ivory paper + deep ink + gold foil. Dark bands for atmosphere.
   Type     : Fraunces (editorial display, optical-sized) carries the voice;
              Source Sans 3 for body; JetBrains Mono for data; Bebas Neue used
              ONLY for varsity crest monograms + scoreboard numerals.
   Boldness : spent on the shader hero (atmosphere) and the gold seal (artifact).
              Everything else stays quiet, spacious, and precise.
   ========================================================================== */

:root {
  /* ink / surfaces (dark blue theme) */
  --ink: #EAEEF8;          /* primary text, light on dark */
  --ink-soft: #A7B3CD;     /* secondary text */
  --night: #060D1C;        /* darkest bands, hero base */
  --navy: #0E1D38;         /* dark accent surface */
  --paper: #0A1526;        /* page background, dark blue */
  --paper-card: #10203D;   /* card surface */
  --paper-inset: #0C1A31;  /* inset panels */
  --line: #26375B;         /* hairline on dark */
  --line-strong: #37496e;
  --muted: #7d89a6;        /* muted text */

  /* accents: gold is the brand, blue is a whisper of support */
  --gold: #D3A23A;         /* gold fills */
  --gold-ink: #E7B549;     /* gold text on dark */
  --gold-bright: #EFBE50;  /* gold on the darkest bands */
  --blue: #3B6EF5;
  --blue-ink: #7CA0FF;     /* blue text on dark */

  /* type roles */
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --varsity: "Bricolage Grotesque", ui-sans-serif, sans-serif;

  /* fluid type scale */
  --t6: clamp(3.1rem, 9vw, 6.4rem);
  --t5: clamp(2.3rem, 5.2vw, 3.7rem);
  --t4: clamp(1.8rem, 3.4vw, 2.55rem);
  --t3: clamp(1.4rem, 2.3vw, 1.7rem);
  --t2: 1.24rem;
  --t1: 1.06rem;
  --t-sm: 0.86rem;
  --t-xs: 0.72rem;

  /* 8-pt spacing */
  --sp2: 8px; --sp3: 12px; --sp4: 16px; --sp5: 24px; --sp6: 32px;
  --sp7: 48px; --sp8: 64px; --sp9: 96px; --sp10: 128px;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(23, 34, 59, 0.09);
  --shadow-lg: 0 26px 60px rgba(23, 34, 59, 0.20);
  --ring: 0 0 0 3px rgba(47, 91, 224, 0.35);
}

* { box-sizing: border-box; }
/* buttons don't inherit text color by default; make card-style buttons match the theme */
button { color: inherit; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.02rem;
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* filmic grain, the "invisible expensive" film over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 0.4em;
}
p { margin: 0 0 1em; }
a { color: var(--blue-ink); }

::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.lead { font-size: var(--t2); color: var(--ink-soft); line-height: 1.5; max-width: 60ch; }
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: var(--t-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold-ink);
}
.mono-num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* icons default to text-size; context rules below scale them up */
.field-icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -0.18em; }
.btn .field-icon { width: 1.15em; height: 1.15em; vertical-align: middle; }

/* gold foil text (used on large display accents over light) */
.foil {
  background: linear-gradient(95deg, #7c5a12, #d8a53c 45%, #f0cf7a 60%, #b8862b);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- layout scaffold ---------- */
#app { display: block; }
#app > section { max-width: 1080px; margin: 0 auto; padding: var(--sp9) var(--sp5); }
#app > section.hero-shader,
#app > section.full-bleed { max-width: none; margin: 0; padding: 0; }
@media (max-width: 640px) { #app > section { padding: var(--sp7) var(--sp4); } }

.viewfade { animation: viewIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================ HEADER / NAV ============================ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp5);
  padding: 12px 28px;
  background: rgba(9, 18, 34, 0.82);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; border-radius: 50%; object-fit: cover; background: #fff; }
.plan-empty .brand-logo, .dossier-head .brand-logo { box-shadow: 0 6px 20px rgba(0,0,0,0.28); }
.brand .seal-mini { width: 32px; height: 32px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: var(--sp5); }
.nav-links a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.92rem;
  padding: 6px 2px; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.22s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.plan-chip {
  display: none; align-items: center; gap: 7px; text-decoration: none;
  font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold-ink); background: rgba(184, 134, 43, 0.12); border: 1px solid rgba(184,134,43,0.35);
  padding: 7px 13px; border-radius: 999px;
}
.plan-chip.show { display: inline-flex; }
.plan-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* mobile bottom nav */
.mobile-nav { display: none; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--night); color: #9aa6be; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: var(--sp8) var(--sp5) var(--sp9);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--sp6); }
.footer-brand { font-family: var(--display); font-size: 1.6rem; color: #fff; display: block; margin-bottom: 10px; }
.site-footer p { font-size: 0.88rem; margin: 0 0 10px; max-width: 52ch; }
.site-footer .disclaimer { color: #6d7996; font-size: 0.8rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #c3ccdd; text-decoration: none; font-weight: 600; font-size: 0.9rem; width: fit-content; }
.footer-links a:hover { color: var(--gold-bright); }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; gap: var(--sp5); } }

/* ============================ BUTTONS ============================ */
.btn {
  font-family: var(--body); font-size: 1rem; font-weight: 700; border: none; cursor: pointer;
  border-radius: 999px; padding: 13px 26px; display: inline-flex; align-items: center; gap: 9px;
  transition: transform 0.12s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: #2a56d8; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-primary:disabled { background: #33456e; color: #8592ad; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-gold { background: linear-gradient(180deg, #e3ac41, var(--gold)); color: #3a2a05; box-shadow: 0 10px 26px rgba(184,134,43,0.34); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(184,134,43,0.42); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }

.back-link { display: inline-block; color: var(--muted); text-decoration: none; font-family: var(--mono);
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--sp5); }
.back-link:hover { color: var(--gold-ink); }

/* ============================ SHADER HERO ============================ */
.hero-shader { position: relative; min-height: 94vh; display: grid; place-items: center; background: var(--night); overflow: hidden; }
.shader-mount { position: absolute; inset: 0; z-index: 0; }
.shader-mount canvas { display: block; width: 100% !important; height: 100% !important; }
.shader-mount.shader-reduced {
  background:
    radial-gradient(1100px 640px at 50% 118%, rgba(184,134,43,0.20), transparent 60%),
    radial-gradient(900px 560px at 50% -5%, rgba(40,80,220,0.26), transparent 55%), var(--night);
}
.hero-shader::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(72% 56% at 50% 46%, rgba(10,17,32,0.62), transparent 72%),
    radial-gradient(130% 100% at 50% 45%, transparent 55%, rgba(10,17,32,0.55) 100%),
    linear-gradient(to bottom, rgba(10,17,32,0.5) 0%, transparent 22%, transparent 72%, var(--paper) 100%);
}
.hero-overlay { position: relative; z-index: 2; text-align: center; padding: var(--sp7) var(--sp5); max-width: 980px; }
.hero-overlay .eyebrow { color: var(--gold-bright); margin-bottom: var(--sp5); }
.hero-title { color: #fff; font-weight: 600; font-size: var(--t6); margin: 0 0 var(--sp5); text-shadow: 0 6px 44px rgba(0,0,0,0.5); }
.hero-title .foil { -webkit-text-fill-color: transparent; }
.hero-lead { color: #d9deea; font-size: clamp(1.05rem, 2.3vw, 1.35rem); max-width: 44ch; margin: 0 auto var(--sp6); font-family: var(--body); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-ctas .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.34); }
.hero-ctas .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: #93a2bf; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,7px);} }

/* animated background mounts (paths + beams) */
.bg-mount { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.bg-mount canvas, .bg-mount svg { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; }
.hero-shader .hero-paths { color: rgba(221, 205, 160, 0.82); } /* gold-tinted paths on the night hero */

.pattern-dots { position: absolute; top: 84px; right: var(--sp5); z-index: 3; display: flex; gap: 8px; }
.pattern-dots button { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,0.28); transition: transform 0.3s ease, background 0.3s ease; }
.pattern-dots button:hover { background: rgba(255,255,255,0.55); }
.pattern-dots button.active { background: var(--gold-bright); transform: scale(1.3); }

/* dark bands with beams */
.beams-band { position: relative; overflow: hidden; background: var(--night); border-radius: var(--radius); }
.beams-band::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(90% 90% at 50% 50%, transparent 30%, rgba(10,17,32,0.6)); }
.beams-band-inner { position: relative; z-index: 2; }
.closing-band { border-radius: 0; }
.closing-band .beams-band-inner { text-align: center; padding: var(--sp10) var(--sp5); }
.closing-band h2 { color: #fff; font-size: var(--t4); max-width: 20ch; margin: 0 auto var(--sp3); }
.closing-band p { color: #b7c1d6; max-width: 42ch; margin: 0 auto var(--sp5); }

/* field cover images (photo with graceful gradient + icon fallback) */
.field-cover {
  --tint: #3B6EF5;
  position: relative; height: 132px; border-radius: var(--radius-sm); overflow: hidden;
  margin-bottom: var(--sp4);
  background: linear-gradient(150deg, var(--tint), var(--night));
  display: grid; place-items: center;
}
.field-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.field-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,28,0.15), rgba(6,13,28,0.72)); }
.field-cover .field-icon { position: relative; z-index: 2; width: 34px; height: 34px; color: #fff; opacity: 0.95; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
.field-card .field-cover + h3 { margin-top: 0; }

/* match-card thumbnail (quiz results) */
.match-thumb { position: relative; flex: none; width: 74px; height: 74px; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center; background: linear-gradient(150deg, var(--tint, #3B6EF5), var(--night)); }
.match-thumb img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.match-thumb .field-icon { position: absolute; z-index: 1; width: 30px; height: 30px; color: #fff; opacity: 0.95; }

/* career-card cover image */
.career-cover { position: relative; height: 120px; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: var(--sp4);
  background: linear-gradient(150deg, var(--tint, #3B6EF5), var(--night)); }
.career-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.career-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,13,28,0.55)); }

/* generic content image with the same treatment */
.photo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-inset); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius); pointer-events: none; }

/* founders */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp4); margin-top: var(--sp5); }
.founders-solo { grid-template-columns: 1fr; max-width: 440px; }
/* founder feature (its own prominent section on the About page) */
.founder-feature { display: grid; grid-template-columns: 220px 1fr; gap: var(--sp6); align-items: center;
  background: linear-gradient(158deg, #182a4e, var(--paper-card)); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: var(--sp6); margin: var(--sp7) 0; }
.founder-portrait { width: 220px; height: 272px; border-radius: var(--radius); overflow: hidden; flex: none;
  box-shadow: var(--shadow-lg); background: var(--paper-inset); }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.founder-feature-text h2 { font-size: var(--t3); margin: 6px 0 var(--sp4); }
.founder-feature-text p { color: var(--ink-soft); font-size: 1rem; }
.founder-sig { font-family: var(--mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold-ink) !important; margin-top: var(--sp4); margin-bottom: 0; }
@media (max-width: 700px) {
  .founder-feature { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: var(--sp5); padding: var(--sp6); }
  .founder-portrait { width: 230px; height: 290px; }
}
.founder { display: flex; align-items: center; gap: var(--sp4); background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp5); }
.founder-avatar { position: relative; overflow: hidden; flex: none; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: #201603;
  background: linear-gradient(180deg, #e3ac41, var(--gold)); box-shadow: 0 0 0 2px rgba(215,162,58,0.35); }
.founder-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-name { font-weight: 700; font-size: 1.1rem; }
.founder-role { color: var(--gold-ink); font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }
.about-photos { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp4); margin: var(--sp7) 0; height: 260px; }
.about-photos .photo:first-child { grid-row: span 1; }
@media (max-width: 640px) { .founders { grid-template-columns: 1fr; } .about-photos { grid-template-columns: 1fr; height: auto; } .about-photos .photo { height: 180px; } }

/* ============================ HOME CONTENT ============================ */
.home-content { }
.home-lede { max-width: 760px; margin: 0 auto var(--sp8); text-align: center; }
.home-lede h2 { font-size: var(--t4); font-weight: 600; }
.home-lede p { color: var(--ink-soft); font-size: var(--t2); }

.entry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp5); }
.entry-card {
  font-family: inherit; text-align: left; position: relative; overflow: hidden; cursor: pointer;
  background: linear-gradient(158deg, #1b2e57, #111f3a); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: var(--sp6);
  transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.entry-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,181,73,0.18), transparent 70%); pointer-events: none; }
.entry-card.alt::after { background: radial-gradient(circle, rgba(59,110,245,0.20), transparent 70%); }
.entry-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gold);
  transform: scaleY(1); transform-origin: top; transition: transform 0.25s ease; }
.entry-card.alt::before { background: var(--blue); }
.entry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.entry-card.alt:hover { border-color: var(--blue); }
.entry-card .field-icon { width: 40px; height: 40px; color: var(--gold-ink); margin-bottom: var(--sp3); }
.entry-card.alt .field-icon { color: var(--blue-ink); }
.entry-card h3 { font-size: var(--t3); margin-bottom: 6px; }
.entry-card p { color: var(--ink-soft); margin-bottom: var(--sp4); }
.entry-cta { font-family: var(--mono); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--gold-ink); }
.entry-card.alt .entry-cta { color: var(--blue-ink); }

/* three steps */
.section-head-c { text-align: center; margin-bottom: var(--sp7); }
.section-head-c h2 { font-size: var(--t4); font-weight: 600; }
.how { margin-top: var(--sp9); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp4); }
.step { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp5); }
.step-num { font-family: var(--varsity); font-size: 2.6rem; line-height: 0.8; color: var(--line-strong); margin-bottom: var(--sp3); }
.step h4 { font-family: var(--body); font-weight: 700; font-size: 1.16rem; margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ============================ QUIZ ============================ */
.quiz { max-width: 680px; margin: 0 auto; }
.progress-wrap { margin-bottom: var(--sp7); }
.progress-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.04em; }
.progress-bar { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--gold)); transition: width 0.4s cubic-bezier(0.22,1,0.36,1); }
.q-type { color: var(--blue-ink); margin-bottom: var(--sp3); }
.q-text { font-size: var(--t4); font-weight: 600; margin-bottom: var(--sp6); }
.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  font-family: inherit; text-align: left; display: flex; align-items: center; gap: 14px; cursor: pointer;
  background: var(--paper-card); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 18px; font-size: 1.04rem; color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.option:hover { border-color: var(--blue); background: #16264a; transform: translateX(3px); }
.option.selected { border-color: var(--blue); background: #16264a; box-shadow: inset 3px 0 0 var(--blue); }
.option-marker { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); transition: all 0.15s ease; }
.option.selected .option-marker { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px #fff; }
.option-text { flex: 1; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: var(--sp6); }

/* ============================ QUIZ RESULTS ============================ */
.results-intro h1 { font-size: var(--t5); }
.match-list { display: flex; flex-direction: column; gap: var(--sp4); margin: var(--sp6) 0; }
.match-card { display: flex; gap: var(--sp5); align-items: flex-start; background: var(--paper-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--sp5); box-shadow: var(--shadow); position: relative; }
.match-card:first-child { border-color: var(--gold); box-shadow: 0 14px 40px rgba(184,134,43,0.16); }
.match-rank { position: absolute; top: 14px; right: 20px; font-family: var(--varsity); font-size: 2rem; color: var(--line-strong); }
.match-card:first-child .match-rank { color: var(--gold); }
.match-card .field-icon { width: 46px; height: 46px; color: var(--ink); flex: none; }
.match-body h3 { font-size: var(--t3); }
.match-desc { color: var(--ink-soft); margin-bottom: 8px; }
.why { background: var(--paper-inset); border-left: 3px solid var(--gold); padding: 12px 15px; border-radius: 8px; font-size: 0.96rem; margin-bottom: var(--sp4); color: var(--ink); }
.retake { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: var(--sp3); }

/* ============================ FIELDS ============================ */
.fields h1 { font-size: var(--t5); }
.field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp4); margin-top: var(--sp6); }
.field-card { font-family: inherit; text-align: left; cursor: pointer; position: relative; overflow: hidden;
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp5);
  transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.field-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.field-card .field-icon { width: 38px; height: 38px; color: var(--gold-ink); margin-bottom: var(--sp3); }
.field-card h3 { font-size: 1.4rem; }
.field-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ============================ CAREER LIST ============================ */
.section-head { display: flex; gap: var(--sp5); align-items: flex-start; }
.section-head .field-icon { width: 52px; height: 52px; color: var(--ink); flex: none; margin-top: 4px; }
.section-head h1 { font-size: var(--t5); }
.list-title { margin-top: var(--sp7); font-size: var(--t3); }
.career-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp4); margin-top: var(--sp3); }
.career-card { font-family: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column;
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp5);
  transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.career-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.career-card h3 { font-size: 1.42rem; }
.career-short { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }
.career-stats { display: flex; gap: var(--sp5); margin: var(--sp4) 0; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-label { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.stat-val { font-family: var(--mono); font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.career-cta { font-family: var(--mono); font-weight: 600; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-ink); }

/* ============================ RESULTS HUB ============================ */
.hub { max-width: 880px; margin: 0 auto; }
.hub-field { display: inline-block; font-family: var(--mono); font-weight: 600; color: var(--blue-ink); text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.78rem; margin-bottom: 10px; }
.hub-header h1 { font-size: var(--t5); }
.hub-desc { font-size: var(--t2); color: var(--ink-soft); }
.inline-caveat { background: rgba(230,171,55,0.12); border: 1px solid rgba(230,171,55,0.28); color: var(--gold-bright); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; }
.hub-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: var(--sp5) 0 var(--sp6); }

.hub-card { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp6); margin-bottom: var(--sp5); box-shadow: var(--shadow); }
.hub-card-title { font-size: var(--t3); display: flex; align-items: center; gap: 10px; }
.hub-card-title .field-icon { width: 24px; height: 24px; color: var(--gold-ink); }
.hub-card-sub { color: var(--muted); font-size: 0.95rem; margin-top: -2px; }

.salary-range { display: flex; align-items: center; gap: 14px; margin: var(--sp6) 0 var(--sp4); flex-wrap: wrap; }
.salary-point { text-align: center; }
.salary-label { display: block; font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.salary-num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.salary-track { flex: 1; min-width: 110px; height: 7px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--gold)); position: relative; }
.salary-median { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 0.74rem; font-weight: 700; color: var(--gold-ink); }
.salary-single .salary-num { font-size: 2.2rem; }
.salary-single .per { font-size: 1rem; color: var(--muted); }
.salary-note { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.snapshot-grid { display: flex; gap: var(--sp6); margin: var(--sp4) 0; flex-wrap: wrap; }
.si-label { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); display: block; }
.si-val { font-weight: 700; font-size: 1rem; }
.day-in-life { margin-top: var(--sp4); }
.day-in-life h4 { font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--ink); }
.day-in-life ul { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.region-note { margin: var(--sp4) 0 0; font-size: 0.85rem; color: var(--muted); font-style: italic; border-top: 1px dashed var(--line); padding-top: 14px; }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: var(--sp5) 0; }
.year-col { background: var(--paper-inset); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.year-head { font-family: var(--body); font-weight: 800; font-size: 0.98rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.year-num { display: block; font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-ink); }
.year-classes { list-style: none; margin: 0; padding: 0; }
.year-classes li { background: var(--paper-card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; font-size: 0.87rem; }
.cl-name { display: block; font-weight: 600; }
.cl-note { display: block; font-size: 0.74rem; color: var(--muted); font-style: italic; margin-top: 2px; }
.caveat { background: rgba(230,171,55,0.10); border: 1px solid rgba(230,171,55,0.26); color: var(--gold-bright); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.87rem; margin: 8px 0 0; }

/* SAT */
.sat-box { display: flex; align-items: baseline; gap: 14px; background: var(--navy); color: #fff; border-radius: var(--radius-sm); padding: 20px 26px; margin: var(--sp4) 0; }
.sat-range { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 2.5rem; color: var(--gold-bright); }
.sat-scale { color: #aebbd3; font-family: var(--mono); font-size: 0.85rem; }
.sat-note { color: var(--ink-soft); font-size: 0.95rem; }
.sat-timing { color: var(--muted); font-size: 0.86rem; margin-bottom: 0; }

/* extracurriculars */
.ec-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ec-list li { background: var(--paper-inset); border: 1px solid var(--line); color: var(--ink); font-weight: 600; padding: 9px 15px; border-radius: 999px; font-size: 0.9rem; }

/* ============================ COLLEGE CRESTS (dark card) ============================ */
.colleges-card { background: linear-gradient(180deg, #0e1a30, #0a1120); border: none; }
.colleges-card .hub-card-title { color: #fff; }
.colleges-card .hub-card-title .field-icon { color: var(--gold-bright); }
.colleges-card .hub-card-sub { color: #9aa6be; }
.college-list { display: flex; flex-direction: column; gap: 10px; margin: var(--sp5) 0 var(--sp4); }
.college { --c1: #234; --c2: #fff; --tx: #fff; display: flex; align-items: center; gap: var(--sp4);
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-sm); padding: 12px 16px;
  transition: transform 0.16s ease, background 0.2s ease, border-color 0.2s ease; }
.college:hover { transform: translateX(5px); background: rgba(255,255,255,0.08); border-color: var(--c2); }
.college-rank { font-family: var(--mono); font-size: 0.82rem; color: #6f7c98; width: 20px; flex: none; }
.crest { position: relative; flex: none; width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden;
  background: #fff; border: 2px solid var(--c1); border-radius: 13px; }
.crest img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.crest-mono { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  font-family: var(--varsity); font-weight: 700; font-size: 1.25rem; color: var(--c1); }
.college-info { flex: 1; min-width: 0; }
.college-name { font-weight: 700; color: #fff; font-size: 1.02rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.local { font-family: var(--mono); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(230,171,55,0.18); color: var(--gold-bright); border: 1px solid rgba(230,171,55,0.4); padding: 2px 7px; border-radius: 999px; }
.college-meta { color: #9aa6be; font-size: 0.82rem; }
.college-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.ctag { font-size: 0.7rem; color: #c6d0e2; background: rgba(255,255,255,0.08); border-radius: 999px; padding: 2px 9px; }
.ctag-lead { color: var(--gold-bright); background: rgba(230,171,55,0.15); border: 1px solid rgba(230,171,55,0.34); }
.match { text-align: center; flex: none; }
.match-num { font-family: var(--varsity); font-size: 1.7rem; color: var(--gold-bright); line-height: 1; }
.match-label { font-family: var(--mono); font-size: 0.54rem; text-transform: uppercase; letter-spacing: 0.1em; color: #6f7c98; }
.fine { color: #6f7c98; font-size: 0.8rem; margin: 4px 0 0; }
/* ---- AP rigor callout ---- */
.rigor-card { background: linear-gradient(160deg, rgba(231,181,73,0.10), var(--paper-card)); border-color: rgba(231,181,73,0.30); }
.rigor-card .hub-card-title .field-icon { color: var(--gold-ink); }
.rigor-body { color: var(--ink); font-size: 1.02rem; }
.rigor-points { margin: var(--sp3) 0 0; padding-left: 18px; color: var(--ink-soft); }
.rigor-points li { margin-bottom: 6px; }

/* ---- core / boost toggle ---- */
.plan-toggle { display: inline-flex; gap: 4px; background: var(--paper-inset); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px; margin: var(--sp4) 0 var(--sp3); flex-wrap: wrap; }
.ptab { font-family: var(--body); font-weight: 600; font-size: 0.82rem; cursor: pointer; border: none;
  background: transparent; color: var(--ink-soft); padding: 7px 15px; border-radius: 999px; transition: all 0.18s ease; }
.ptab:hover { color: var(--ink); }
.ptab.active { background: var(--gold); color: #201603; }

/* ---- course labels + filtering ---- */
.cl-tag { display: inline-block; font-family: var(--mono); font-size: 0.54rem; text-transform: uppercase;
  letter-spacing: 0.09em; padding: 2px 6px; border-radius: 999px; margin-bottom: 5px; }
.cl-core { background: rgba(59,110,245,0.18); color: #9dbaff; border: 1px solid rgba(59,110,245,0.35); }
.cl-boost { background: rgba(231,181,73,0.16); color: var(--gold-ink); border: 1px solid rgba(231,181,73,0.35); }
.roadmap[data-filter="core"] li[data-tag="boost"],
.roadmap[data-filter="boost"] li[data-tag="core"] { display: none; }

/* ---- hover description for each course ---- */
.year-classes li { position: relative; cursor: help; outline: none; }
.year-classes li[data-tip]:hover, .year-classes li[data-tip]:focus-visible { border-color: var(--gold); }
.year-classes li[data-tip]:hover::after, .year-classes li[data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%);
  width: 210px; background: #070f20; color: #e8edf9; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 10px 12px; font-size: 0.78rem; line-height: 1.45; font-weight: 400; font-style: normal; z-index: 60;
  box-shadow: 0 14px 34px rgba(0,0,0,0.5); pointer-events: none;
}
.year-classes li[data-tip]:hover::before, .year-classes li[data-tip]:focus-visible::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--line-strong); z-index: 61; pointer-events: none;
}

/* ---- college selectivity tiers ---- */
.tiers { display: flex; flex-direction: column; gap: var(--sp5); margin: var(--sp5) 0 var(--sp4); }
.tier-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.tier-name { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; padding: 4px 11px; border-radius: 999px; }
.tier-reach { background: rgba(239,110,110,0.15); color: #ff9a9a; border: 1px solid rgba(239,110,110,0.35); }
.tier-target { background: rgba(231,181,73,0.15); color: var(--gold-bright); border: 1px solid rgba(231,181,73,0.35); }
.tier-likely { background: rgba(78,201,145,0.15); color: #7fdcb0; border: 1px solid rgba(78,201,145,0.35); }
.tier-sub { font-size: 0.78rem; color: #7c89a6; }
.tier-list { display: flex; flex-direction: column; gap: 8px; }
.college-stats { display: flex; gap: var(--sp4); flex: none; }
.cstat { display: flex; flex-direction: column; text-align: right; }
.cstat-v { font-family: var(--mono); font-weight: 700; font-size: 0.95rem; color: var(--gold-bright); }
.cstat-k { font-family: var(--mono); font-size: 0.54rem; text-transform: uppercase; letter-spacing: 0.1em; color: #6f7c98; }
@media (max-width: 560px) { .college-stats { width: 100%; justify-content: flex-start; margin-top: 6px; } .cstat { text-align: left; } }

.hub-footer-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--sp3); }

/* ============================ ABOUT ============================ */
.about-hero { text-align: center; max-width: 760px; margin: 0 auto var(--sp8); }
.about-hero h1 { font-size: var(--t5); }
.about-hero .lead { margin: var(--sp4) auto 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp4); margin: var(--sp7) 0; }
.pillar { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp5); }
.pillar .field-icon { width: 34px; height: 34px; color: var(--gold-ink); margin-bottom: 10px; }
.pillar h3 { font-size: 1.3rem; }
.pillar p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.about-band { background: var(--night); color: #cfd6e4; border-radius: var(--radius); padding: var(--sp8) var(--sp6); text-align: center; margin: var(--sp7) 0; }
.about-band h2 { color: #fff; font-size: var(--t4); max-width: 24ch; margin: 0 auto var(--sp4); }
.about-band .foil { -webkit-text-fill-color: transparent; }
.source-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: var(--sp4); margin-top: var(--sp5); }
.source { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--sp4); }
.source strong { display: block; font-size: 1.02rem; }
.source span { color: var(--muted); font-size: 0.88rem; }

/* ============================ HOW IT WORKS (method) ============================ */
.method-step { display: grid; grid-template-columns: 72px 1fr 240px; gap: var(--sp5); align-items: center; padding: var(--sp6) 0; border-top: 1px solid var(--line); }
.method-step:first-of-type { border-top: none; }
.method-idx { font-family: var(--varsity); font-size: 3.6rem; line-height: 0.8; color: var(--gold); }
.method-photo { height: 140px; border-radius: var(--radius); overflow: hidden; }
.method-photo img { width: 100%; height: 100%; object-fit: cover; }
.method-body h3 { font-size: var(--t3); }
.method-body p { color: var(--ink-soft); margin-bottom: 0; }
.method-body .field-icon { width: 22px; height: 22px; vertical-align: -4px; color: var(--gold-ink); }

/* ============================ COLLEGES EXPLORER ============================ */
.explorer h1 { font-size: var(--t5); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--sp5) 0; align-items: center; }
.filter-label { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-right: 4px; }
.chip { font-family: var(--body); font-weight: 600; font-size: 0.86rem; cursor: pointer; background: var(--paper-card);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 15px; color: var(--ink-soft); transition: all 0.15s ease; }
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip.active { background: var(--gold); border-color: var(--gold); color: #201603; }
.college-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp4); margin-top: var(--sp4); }
.xcollege { --c1:#234; --c2:#fff; --tx:#fff; background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp5); display: flex; gap: 14px; align-items: flex-start; transition: transform 0.16s ease, box-shadow 0.25s ease, border-color 0.2s ease; }
.xcollege:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c1); }
.xcollege .crest { width: 46px; height: 46px; }
.xcollege .crest-mono { font-size: 1.05rem; }
.xcollege-name { font-weight: 700; font-size: 1.02rem; display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.xcollege .local { color: var(--gold-ink); background: rgba(184,134,43,0.14); border-color: rgba(184,134,43,0.4); }
.xcollege-meta { color: var(--muted); font-size: 0.82rem; margin-bottom: 6px; }
.xcollege-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.xtag { font-size: 0.68rem; color: var(--ink-soft); background: var(--paper-inset); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.explorer-empty { text-align: center; color: var(--muted); padding: var(--sp8); }

/* selectivity bands on the Colleges page */
.band { margin-top: var(--sp7); padding-top: var(--sp6); border-top: 1px solid var(--line); }
.band-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp4); flex-wrap: wrap; margin-bottom: 10px; }
.band-count { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.band-blurb { color: var(--ink-soft); max-width: 70ch; margin-bottom: 10px; }
.band-marks { margin: 0 0 var(--sp5); padding-left: 18px; color: var(--ink-soft); font-size: 0.94rem; }
.band-marks li { margin-bottom: 4px; }
.xcollege-body { min-width: 0; }
.xcollege-nums { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; font-family: var(--mono); font-size: 0.68rem; color: var(--gold-ink); }

/* ============================ MY PLAN / DOSSIER ============================ */
.plan-wrap { max-width: 860px; margin: 0 auto; }
.plan-empty { text-align: center; padding: var(--sp8) var(--sp5); }
.plan-empty .seal { width: 96px; height: 96px; margin: 0 auto var(--sp5); opacity: 0.55; }
.plan-empty h1 { font-size: var(--t4); }

.dossier { background: var(--paper-card); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.dossier-topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp4); background: var(--night); color: #fff; padding: 14px 26px; }
.dossier-topbar .k { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: #9aa6be; }
.dossier-topbar .file-no { font-family: var(--mono); color: var(--gold-bright); font-size: 0.78rem; }
.dossier-head { display: flex; align-items: center; gap: var(--sp5); padding: var(--sp6) var(--sp6) var(--sp5); border-bottom: 2px solid var(--ink); }
.dossier-head .seal { width: 84px; height: 84px; flex: none; }
.prepared { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.prepared-name { font-family: var(--display); font-weight: 600; font-size: var(--t3); border: none; background: transparent; color: var(--ink); border-bottom: 1.5px dashed var(--line-strong); padding: 0 2px 2px; width: 100%; max-width: 320px; }
.prepared-name:focus { border-bottom-color: var(--gold); }
.dossier-target { font-family: var(--display); font-size: var(--t4); font-weight: 600; margin-top: 4px; }
.dossier-body { padding: var(--sp5) var(--sp6) var(--sp7); }
.dsec { padding: var(--sp5) 0; border-top: 1px solid var(--line); }
.dsec:first-child { border-top: none; }
.dsec-h { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-ink); margin-bottom: var(--sp3); display: flex; align-items: center; gap: 8px; }
.dsec-h::before { content: ""; width: 18px; height: 2px; background: var(--gold); }
.d-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: var(--sp4); }
.d-fact .k { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); display: block; }
.d-fact .v { font-weight: 700; font-size: 1.05rem; }
.d-colleges { display: flex; flex-wrap: wrap; gap: 8px; }
.d-tiers { display: flex; flex-direction: column; gap: 12px; }
.d-tier-label { display: inline-block; font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold-ink); margin-bottom: 6px; }
.d-college em { font-style: normal; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-left: 2px; }
.d-college { --c1:#234; --c2:#fff; --tx:#fff; display: flex; align-items: center; gap: 8px; background: var(--paper-inset); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 6px; font-size: 0.86rem; font-weight: 600; }
.d-college .crest { width: 26px; height: 26px; border-width: 1px; border-radius: 7px; }
.d-college .crest img { padding: 3px; }
.d-college .crest-mono { font-size: 0.58rem; }
.plan-toolbar { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: var(--sp5); flex-wrap: wrap; }

/* ============================ scroll reveal + count-up ============================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.30s; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 860px) {
  .steps, .pillars { grid-template-columns: 1fr; }
  .entry-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .site-header { padding: 12px 18px; }
  .mobile-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
    justify-content: space-around; background: rgba(10,17,32,0.94); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.08); padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none;
    color: #93a2bf; font-size: 0.62rem; font-family: var(--mono); letter-spacing: 0.04em; padding: 4px 10px; }
  .mobile-nav a .field-icon { width: 20px; height: 20px; }
  .mobile-nav a.active { color: var(--gold-bright); }
  body { padding-bottom: 62px; }
  /* roadmap becomes horizontal snap cards on mobile, designed, not shrunk */
  .roadmap { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--sp4)); padding: 0 var(--sp4) 10px; }
  .year-col { scroll-snap-align: start; }
  .method-step { grid-template-columns: 1fr; gap: var(--sp3); }
  .method-idx { font-size: 2.8rem; }
}
@media (max-width: 460px) {
  .college { flex-wrap: wrap; }
  .salary-range { justify-content: space-between; }
}

/* ============================ PRINT (the dossier prints clean) ============================ */
@media print {
  .site-header, .site-footer, .mobile-nav, .plan-toolbar, .hero-scroll, body::after { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  #app > section { padding: 0; max-width: none; }
  .dossier { box-shadow: none; border: 1px solid #000; }
  .dossier-topbar { background: #fff; color: #000; border-bottom: 1px solid #000; }
  .colleges-card, .sat-box, .dossier-topbar .k, .dossier-topbar .file-no { color: #000 !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .dsec { break-inside: avoid; }
}

/* ============================ REDUCED MOTION ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hero-scroll { animation: none; }
}
