/* Broadsheet — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Texas Portfolio Review — warm paper ground with the TPR red/blue
     override in place of Broadsheet's default cyan/magenta. See
     DESIGN-CONTEXT.md for the source of these values. */
  --color-bg: #ece4d8;
  --color-surface: #e2d8c8;
  --color-text: #221d19;
  --color-text-muted: color-mix(in srgb, var(--color-text) 55%, transparent);
  --color-accent: #a3120b;
  --color-accent-2: #1b62c9;
  --color-divider: color-mix(in srgb, #221d19 18%, transparent);

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #f7e7e4;
  --color-accent-200: #eecdc8;
  --color-accent-300: #e0a49c;
  --color-accent-400: #cd6a60;
  --color-accent-500: #b8332a;
  --color-accent-600: #8b0f09;
  --color-accent-700: #700c07;
  --color-accent-800: #560906;
  --color-accent-900: #380705;

  --color-accent-2-100: #e7eefb;
  --color-accent-2-200: #cbdcf6;
  --color-accent-2-300: #9eb9e3;
  --color-accent-2-400: #7197cf;
  --color-accent-2-500: #4474bc;
  --color-accent-2-600: #1751a8;
  --color-accent-2-700: #16468c;
  --color-accent-2-800: #113468;
  --color-accent-2-900: #0c2244;

  /* The third process ink — review round 3: the deck's print treatments
     (the CMYK separation and the misregistered plate numerals below) need
     the full four-color set. Cyan and magenta are the system's own accents;
     this yellow completes them, muted to the same press-ink register. A
     print treatment color, not an interface accent — body copy and chrome
     never take it. */
  --color-process-yellow: #edbb00;

  --font-heading: "Source Serif 4", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Source Serif 4", system-ui, sans-serif;

  --space-1: 5.0px;
  --space-2: 10.0px;
  --space-3: 15.0px;
  --space-4: 20.0px;
  --space-6: 30.0px;
  --space-8: 40.0px;

  --radius-sm: 1px;
  --radius-md: 2px;
  --radius-lg: 4px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.halftone{position:relative;filter:grayscale(0.35) contrast(1.15);overflow:hidden}
.halftone::after{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:radial-gradient(circle,rgba(0,0,0,0.22) 30%,transparent 32%);
  background-size:3px 3px;mix-blend-mode:multiply}

/* The four-color separation treatment (review round 3) — a photograph
   printed as its misregistered process plates, after the Catalogue Three
   grammar. Markup: a figure.cmyk holding five copies of the image — the
   first is the layout sizer (hidden), then one per plate, each tagged
   .sep-c/.sep-m/.sep-y/.sep-k. The plates are extracted live by the SVG
   feColorMatrix filters in print-plates.js, the system's own defs —
   inlined in the compiled bundle every template page loads, and a
   page that links styles.css directly adds
   <script src="print-plates.js"></script> itself (the defs must be in
   the document: a data-URI filter reference would not survive Chromium,
   and external-file references are unreliable across engines) — nudged
   a few pixels out of register, and multiplied
   onto the paper ground; the halftone dot screens the recombined print.
   The plate offsets live with the deck's projection-scale CSS, since
   misregistration is sized to the output. */
.cmyk{position:relative;overflow:hidden;background:var(--color-bg)}
.cmyk img:first-child{opacity:0} /* layout sizer AND the alt-bearing image — opacity
  keeps it in the accessibility tree (visibility:hidden would drop the figure's only
  description); fully transparent, it adds nothing to the multiply backdrop */
.cmyk img+img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}
.cmyk .sep-c{filter:url(#sep-c)}
.cmyk .sep-m{filter:url(#sep-m)}
.cmyk .sep-y{filter:url(#sep-y)}
.cmyk .sep-k{filter:url(#sep-k)}
.cmyk::after{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:radial-gradient(circle,rgba(0,0,0,0.22) 30%,transparent 32%);
  background-size:3px 3px;mix-blend-mode:multiply}

/* The one-image separation (review round 9, promoted from the deck in the
   landing divergence) — the same four plates as ONE compound filter,
   #sep-all in print-plates.js, for a single swappable image: a .print
   wrapper inside the figure holds one <image-slot>, and the filter
   extracts, offsets and multiplies the plates live from whatever the slot
   shows. Markup: figure.cmyk > .print > image-slot (the page sizes the
   .print — aspect-ratio, or absolute fill for bleeds). Hover resolves
   the print into the photograph — the pressman checking registration on
   the light table — so the source shows crisp and any swap chrome stays
   legible; only the reduced-motion fallback below still lifts as a
   single cut (a url() filter cannot CSS-transition; the press driver
   animates the defs instead). */
.cmyk .print{position:relative;width:100%;filter:url(#sep-all)}
/* no hover end-state swap: the press driver (print-plates.js) eases the
   plates into register while purifying their inks to the pure-process
   separation on the same curve, so the converged four-plate merge IS
   the photograph (their multiply equals SourceGraphic by construction)
   — no cut anywhere on the animated path */
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .cmyk .print:hover{filter:none} /* without the driver (it stands down on
    exactly these conditions), hover stays the old single cut to the
    crisp source */
}
.cmyk .print image-slot{width:100%;height:100%;display:block}

/* The plate numeral (review rounds 3-4) — display figures set as
   misregistered process plates, the catalog's cover grammar. Review
   round 4 (Barron): THREE plates — C, M, Y only, no black plate — so the
   dark core comes entirely from the C×M×Y multiply overlap (the inks
   product to exact black), with the fringes the registration drift; and
   the spread pulled in by half (less jumbled: one figure with plate
   fringes rather than figures sliding apart). Markup: a .cmyk-num holding
   a .paper span (the white of the sheet: the glyph's union, built from
   offset text-shadow copies) and three .plate spans. The construction
   carries its own ground (--cmyk-num-ground, defaulting to paper) painted
   on its padding box, so the multiply plates always have their backdrop
   even inside an isolated stacking context (entrance animations); the
   padding bleeds wider than any plate offset and the negative margin
   hands the layout box back. Offsets are em-scaled to the glyph. The
   .paper span carries the text once for assistive tech; the .plate spans
   are aria-hidden repeats. */
.cmyk-num{--cmyk-num-ground:var(--color-bg);
  position:relative;width:fit-content;line-height:0.9;
  font-feature-settings:"pnum" 1;
  background:var(--cmyk-num-ground);padding:0.12em;margin:-0.12em}
.cmyk-num .paper{color:var(--color-bg); /* the white of the sheet — always paper,
  whatever the ground: the plates read as printed on paper even when the
  surrounding page is ink */
  text-shadow:0.036em 0.025em 0 var(--color-bg),-0.031em -0.023em 0 var(--color-bg)}
.cmyk-num .plate{position:absolute;inset:0.12em;mix-blend-mode:multiply;
  text-box:trim-both cap alphabetic /* the host trims to its cap box; each
  absolute plate must trim its own line the same way, or its glyphs sit a
  half-leading below the paper union */}
.cmyk-num .plate-c{color:var(--color-accent)}

/* The plate headline (divergence round 3, Barron: "use both" — the
   photograph's plates AND the cover grammar's text plates, on the same
   page). The same three-plate construction as .cmyk-num — paper span
   carrying the real text, C/M/Y plate repeats, dark core from the
   multiply overlap — at HALF the numeral's round-4 offsets: the serif's
   display hairlines are thinner than the numeral strokes the spread was
   measured on, and the full offsets swallow them whole (probed at the
   hero's 80px — the fringes read as an anaglyph poster, not a breath
   out of register) — recut for display
   headlines that sit in running text blocks on the page's own paper:
   no ground painting and no padding bleed (the numeral's ground exists
   for isolated stacking contexts; a headline on the page multiplies
   straight onto the sheet), no width:fit-content and no line-height
   override (the host display class owns its metrics — apply this to
   each .line, which is position:relative for its plates), and the
   plates are inert to the hand (pointer-events/user-select none, so a
   triple-click selects the headline once, not four times). Plates take
   the same pointer lean as .cmyk-num. */
.cmyk-head{position:relative}
.cmyk-head .paper{color:var(--color-bg);
  text-shadow:0.027em 0.0185em 0 var(--color-bg),-0.0245em -0.0175em 0 var(--color-bg)
  /* the union's copies sit at the construction's halved plate offsets
     PLUS the full lean (0.018+0.009 / 0.0125+0.006, and mirrored), so
     the union still backs the plates at viewport-edge lean — invisible
     on the page's own paper, load-bearing on any other ground */}
.cmyk-head .plate{position:absolute;inset:0;mix-blend-mode:multiply;
  pointer-events:none;user-select:none;
  text-box:trim-both cap alphabetic /* match the host's trim, or the
  plates sit a half-leading below the paper union */}
.cmyk-head .plate-c{color:var(--color-accent)}
.cmyk-head .plate-m{color:var(--color-accent-2);
  translate:calc(0.018em + 0.009em*var(--press-nx, 0)) calc(0.0125em + 0.006em*var(--press-ny, 0))}
.cmyk-head .plate-y{color:var(--color-process-yellow);
  translate:calc(-0.0155em + 0.009em*var(--press-nx, 0)) calc(-0.0115em + 0.006em*var(--press-ny, 0))}
.cmyk-num .plate-m{color:var(--color-accent-2);
  translate:calc(0.036em + 0.018em*var(--press-nx, 0)) calc(0.025em + 0.0125em*var(--press-ny, 0))}
.cmyk-num .plate-y{color:var(--color-process-yellow);
  translate:calc(-0.031em + 0.018em*var(--press-nx, 0)) calc(-0.023em + 0.0125em*var(--press-ny, 0))}
/* --press-nx/--press-ny: the pointer lean as a bare -1..1 factor,
   published on :root by the press driver (print-plates.js) and zero
   whenever the driver stands down. Each construction scales the lean to
   its own spread (half of it, here as everywhere) so the moving plates
   drift a breath toward the cursor and the C plate holds. */

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent-2); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-2-600); }
.btn-primary:active { background: var(--color-accent-2-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input::placeholder { color: color-mix(in srgb, var(--color-text) 65%, transparent); opacity: 1; }
  /* explicit, measured: the browser default gray misses the 4.5:1 small-text bar on
     the surface fill; 65% ink measures 4.8:1 there, still a step quieter than typed
     text (opacity:1 overrides Firefox's default placeholder fade) */
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: none;
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 1px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* ══════════════════════════════════════════════════════════════════════════
   Texas Portfolio Review — site chrome
   Page layout for index / mentorship / about / student-work: header,
   hero, section rhythm, page-specific blocks, footer and the shared
   consultation modal. Built entirely on the token layer and the
   component classes above — no new colors, no new sizes.
   ══════════════════════════════════════════════════════════════════ */

.container { max-width: 1120px; margin: 0 auto; padding: 0 var(--space-6); }

.kicker {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-accent-2); margin-bottom: var(--space-2);
}
.kicker .num, .section-head .num { font-size: 11px; color: var(--color-accent-700); margin-right: 6px; }

.rule { height: 1px; border: 0; margin: var(--space-6) 0; background: var(--color-divider); }
.rule--thick { height: 3px; border: 0; background: var(--color-accent-700); }

.pull {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 22px; line-height: 1.4; color: var(--color-accent-700);
  margin: var(--space-4) 0 0;
}
.desc { font-size: 14px; color: var(--color-text-muted); }

/* — header — */
.site-nav { position: relative; z-index: 40; padding: var(--space-4) 0; background: var(--color-bg); }
.site-nav__inner { display: flex; align-items: center; gap: var(--space-6); }
.site-nav__brand {
  margin-right: auto; font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 19px; color: var(--color-accent-700); text-decoration: none;
}
.site-nav__brand em { font-style: italic; color: var(--color-accent-2); }
.site-nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.site-nav__toggle .bar { display: block; width: 22px; height: 2px; background: var(--color-text); }
.site-nav__links { display: flex; align-items: center; gap: var(--space-6); }
.site-nav__links a {
  font-size: 14px; text-decoration: none; color: var(--color-text);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
.site-nav__links a:hover, .site-nav__links a[aria-current='page'] {
  color: var(--color-accent-700); border-bottom-color: var(--color-accent-700);
}
.btn-sm { font-size: 13px; padding: 8px 14px; }

@media (max-width: 780px) {
  .site-nav__toggle { display: flex; }
  .site-nav__links {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--color-bg); border-top: 1px solid var(--color-divider);
    padding: var(--space-2) var(--space-6);
  }
  .site-nav__links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--color-divider); }
  .site-nav__links[hidden] { display: none; }
}

/* — hero (index) — */
.hero { padding: 56px 0 48px; }
.hero__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; }
.hero h1 { font-size: 54px; line-height: 1.05; color: var(--color-accent-700); }
.hero h1 em { font-style: italic; color: var(--color-accent-2); }
.hero__sub { font-size: 17px; line-height: 1.6; max-width: 520px; }
.hero__cta { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-4); }
.hero__note { font-size: 13px; color: var(--color-text-muted); }
.hero__panel-label {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted);
}
.hero__schools {
  display: flex; flex-direction: column; gap: 11px; margin-top: var(--space-2);
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 16px; color: var(--color-accent-700);
}
.hero__stats { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--color-divider); }
.hero__stat-num {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 30px; color: var(--color-accent-2);
}
.hero__stat-label { font-size: 13px; color: var(--color-text-muted); margin-top: 2px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }
}

/* — school logo carousel (index) — */
.logo-strip { padding: 44px 0 56px; }
.logo-strip__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-strip__track {
  display: flex; align-items: center; gap: 72px; width: max-content;
  animation: logo-scroll 32s linear infinite;
}
.logo-strip__item { flex: none; height: 60px; display: flex; align-items: center; }
.logo-strip__item img { height: 100%; width: auto; object-fit: contain; }
.logo-strip__item--parsons img { height: 60%; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-strip__track { animation: none; } }

/* — section rhythm — */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--surface { background: var(--color-surface); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.beat-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: var(--space-3); }
.beat-head__num { font-family: var(--font-heading); font-size: 11px; color: var(--color-accent-700); }
.beat-head h2 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; color: var(--color-accent-2); }

@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; gap: 32px; } }

/* — pathways preview (index) — */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.path-card__eyebrow {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-2); margin-bottom: 6px;
}
.path-grid h3, .path-detail h3 { font-size: 32px; margin: 2px 0 12px; color: var(--color-accent-700); }
.path-mini-steps {
  display: flex; align-items: center; gap: 10px; margin: 16px 0;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 14px;
}
.path-mini-steps .arrow { color: var(--color-text-muted); font-weight: 400; }
.path-best-for { font-size: 14px; margin-top: 8px; }

@media (max-width: 860px) { .path-grid { grid-template-columns: 1fr; gap: 36px; } }

/* — pathway detail (mentorship) — */
.path-detail { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 56px; align-items: start; }
.path-card__cta { margin-top: var(--space-4); }
.path-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.step-card { background: var(--color-surface); }
.path-step__num { font-family: var(--font-heading); font-size: 12px; color: var(--color-accent-2); }

@media (max-width: 900px) {
  .path-detail { grid-template-columns: 1fr; gap: 32px; }
  .path-steps { grid-template-columns: 1fr; }
}

/* — counselor credentials preview (index) — */
.credential-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); font-size: 16px; }
.credential-sublist {
  list-style: none; margin: 10px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px; color: var(--color-text-muted);
}

.counselor-preview-grid { display: flex; flex-direction: column; gap: var(--space-6); }
.counselor-preview-card { display: flex; flex-direction: column; gap: var(--space-2); }
.counselor-preview-card__row { display: flex; align-items: center; gap: var(--space-4); }
.counselor-preview-card__photo {
  flex: none; width: 88px; height: 88px; background: var(--color-surface);
  border: 1px solid var(--color-divider);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--color-text-muted);
}
.counselor-preview-card h3 { font-size: 17px; margin: 0; }
.counselor-preview-card__school { font-size: 13px; color: var(--color-accent-2-700); margin-top: 2px; }

/* — student work grid (index preview + full gallery) — */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.work-card__thumb {
  aspect-ratio: 4 / 3; background: var(--color-surface); border: 1px solid var(--color-divider);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--color-text-muted); margin-bottom: var(--space-2);
}
.work-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); }
.work-card__meta h3 { font-size: 17px; margin: 0; }
.work-card__tag {
  flex: none; font-size: 11px; letter-spacing: 0.02em; color: var(--color-accent-2-700);
  background: var(--color-accent-2-100); padding: 2px 8px; border-radius: calc(var(--radius-md) * 0.75);
}
.work-card .desc { margin-top: 6px; }

@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* — student work filter bar — */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.filter-btn {
  font-family: var(--font-heading); font-size: 13px; cursor: pointer;
  padding: 7px 14px; border: 1px solid var(--color-divider); border-radius: var(--radius-md);
  background: transparent; color: var(--color-text);
}
.filter-btn:hover { background: color-mix(in srgb, var(--color-text) 6%, transparent); }
.filter-btn[aria-pressed='true'] {
  background: var(--color-accent-700); border-color: var(--color-accent-700); color: var(--color-bg);
}

/* — about: school list, stats, counselor bios — */
.school-list {
  list-style: none; margin: 0 0 var(--space-6); padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 16px;
}
@media (max-width: 640px) { .school-list { grid-template-columns: 1fr; } }

.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
  margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-divider);
}
.stat-block__num {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 30px; color: var(--color-accent-2);
}
.stat-block__label { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr; gap: var(--space-4); } }

.counselor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.counselor-card { display: flex; gap: var(--space-4); }
.counselor-card__avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-accent-100); color: var(--color-accent-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 16px;
}
.counselor-card__role { font-size: 13px; color: var(--color-accent-2-700); margin: 2px 0 8px; }
.counselor-card .bio { font-size: 14px; }
.placeholder-tag {
  display: inline-flex; font-size: 11px; letter-spacing: 0.04em; color: var(--color-text-muted);
  border: 1px solid var(--color-divider); padding: 2px 8px;
  border-radius: var(--radius-md); margin-top: var(--space-2);
}
@media (max-width: 720px) { .counselor-grid { grid-template-columns: 1fr; } }

/* — page header (interior pages) — */
.page-header { padding: 56px 0 48px; }
.page-header h1 { font-size: 44px; color: var(--color-accent-700); max-width: 760px; }
.page-header p { font-size: 17px; max-width: 640px; margin-top: var(--space-3); }
@media (max-width: 640px) { .page-header h1 { font-size: 32px; } }

/* — closing CTA (all pages) — */
.closer { padding: 72px 0; }
.closer__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.closer h2 { font-size: 44px; color: var(--color-accent-700); }
.closer__panel { background: var(--color-surface); padding: var(--space-6); border-radius: var(--radius-lg); }
.closer__panel .tag {
  background: none; padding: 0; border-radius: 0;
  color: var(--color-accent-700); font-size: 24px; letter-spacing: 0;
  margin-bottom: var(--space-3);
}
@media (max-width: 860px) { .closer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* — footer — */
.site-footer { padding: 48px 0 40px; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-bottom: var(--space-4); }
.site-footer__brand { font-family: var(--font-heading); font-weight: var(--font-heading-weight); color: var(--color-accent-700); margin-right: auto; }
.site-footer__top a { font-size: 14px; color: var(--color-text); text-decoration: none; }
.site-footer__top a:hover { color: var(--color-accent-700); }
.site-footer__bottom { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-text-muted); }
@media (max-width: 640px) { .site-footer__bottom { flex-direction: column; gap: 4px; } }

/* — shared consultation modal — */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: var(--space-4); background: color-mix(in srgb, var(--color-neutral-900) 55%, transparent);
}
.modal-backdrop[hidden] { display: none; }
.modal {
  position: relative; width: min(480px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--color-bg); padding: var(--space-8) var(--space-6) var(--space-6);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.modal__close {
  position: absolute; top: var(--space-3); right: var(--space-3);
  width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--color-text-muted);
}
.modal__close:hover { color: var(--color-text); }
.modal__eyebrow {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-2); margin-bottom: var(--space-2);
}
.modal__intro { font-size: 14px; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.modal .field { margin-bottom: var(--space-3); }
.form-note { font-size: 12px; color: var(--color-text-muted); text-align: center; margin: var(--space-2) 0 0; }
.form-error { font-size: 13px; color: var(--color-accent-700); text-align: center; margin: var(--space-2) 0 0; }
.form-success { text-align: center; padding: var(--space-6) 0; }
.form-success__mark {
  width: 48px; height: 48px; margin: 0 auto var(--space-3); border-radius: 50%;
  background: var(--color-accent-2-100); color: var(--color-accent-2-700);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}

/* — reveal on scroll — */
/* Scoped under .js (set by an inline script in <head>) so content stays
   visible by default if JavaScript never runs — the hide-then-reveal
   effect is only ever applied on top of an already-visible page. */
.js main > section {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js main > section.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js main > section { opacity: 1; transform: none; transition: none; }
}

