/* ============================================================
   Direction C — Modular Bento  ·  Clayton's HPU page
   All brand tokens via CSS custom properties (R-002).
   Mobile-first; desktop grid is canonical.
   ============================================================ */

:root {
  /* HPU color tokens (R-002) — provisional values per researcher §1.1 */
  --hpu-purple:        #330072;  /* verified — PMS 2685 C */
  --hpu-white:         #FFFFFF;
  --hpu-purple-deep:   #1F0047;
  --hpu-purple-soft:   #5A2EA6;
  --hpu-purple-tint:   #EFE6FA;
  --hpu-gold:          #C5A572;
  --hpu-cream:         #F8F4EC;
  --hpu-charcoal:      #1A1A1A;
  --hpu-stone:         #6B6B6B;

  /* RGB triplet companions for alpha blends — kept in sync with the hex tokens above
     so rgba() overlays don't reintroduce raw hex literals (R-002). */
  --hpu-purple-deep-rgb: 31, 0, 71;
  --hpu-charcoal-rgb:    26, 26, 26;

  /* Typography tokens */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* Grid */
  --grid-gap: 16px;
  --grid-radius: 14px;

  /* Card surface */
  --card-bg: var(--hpu-white);
  --card-border: rgba(26, 26, 26, 0.08);
  --card-shadow: 0 4px 12px rgba(26, 26, 26, 0.06);
  --card-shadow-hover: 0 8px 20px rgba(26, 26, 26, 0.10);

  /* Section tints (very low opacity washes) */
  --tint-sports: rgba(51, 0, 114, 0.02);
  --tint-people: rgba(197, 165, 114, 0.04);
  --tint-life:   rgba(51, 0, 114, 0.025);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--hpu-charcoal);
  background: var(--hpu-cream);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HERO BAND  (full-width purple flood, 4x2)
   ============================================================ */
.hero-band {
  background: var(--hpu-purple);
  color: var(--hpu-white);
  min-height: 60vh;
  padding: var(--sp-8) var(--sp-5) var(--sp-7);
  position: relative;
  overflow: hidden;
}
.hero-band::before {
  /* soft radial accent — barely visible texture */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 80% 20%, rgba(197, 165, 114, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.78;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hpu-gold);
}
.hero-name {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(56px, 12vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: var(--sp-4) 0 var(--sp-2);
}
.hero-tag {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 400;
  max-width: 720px;
  margin: 0 0 var(--sp-7);
  opacity: 0.92;
}
.hero-tag-strong {
  font-weight: 600;
  color: var(--hpu-gold);
}

/* Tally line */
.tally {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: var(--sp-5);
  max-width: 920px;
}
.tally-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-3);
}
.tally-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  color: var(--hpu-gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.tally-lbl {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.82;
  font-weight: 500;
  margin-right: var(--sp-4);
}
.tally-caption {
  font-size: 14px;
  opacity: 0.7;
  font-style: italic;
}
.verify-inline {
  margin-top: var(--sp-3);
  display: inline-block;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--hpu-gold);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(197, 165, 114, 0.5);
  padding: 4px 8px;
  border-radius: 4px;
}

/* TocStrip */
.toc {
  position: relative;
  max-width: 1200px;
  margin: var(--sp-7) auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.toc a {
  color: var(--hpu-white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 150ms ease, border-color 150ms ease;
}
.toc a:hover,
.toc a:focus-visible {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--hpu-gold);
  outline: none;
}


/* ============================================================
   BENTO SECTION + GRID
   ============================================================ */
.bento-section {
  padding: var(--sp-8) var(--sp-5) var(--sp-7);
  max-width: 1240px;
  margin: 0 auto;
}
.tinted-sports { background: var(--tint-sports); }
.tinted-people { background: var(--tint-people); }
.tinted-life   { background: var(--tint-life); }

/* Make tints span full width even though section is constrained */
.bento-section.tinted-sports,
.bento-section.tinted-people,
.bento-section.tinted-life {
  max-width: none;
}
.bento-section.tinted-sports > *,
.bento-section.tinted-people > *,
.bento-section.tinted-life > * {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--sp-4);
  align-items: baseline;
  margin-bottom: var(--sp-6);
}
.section-kicker {
  grid-row: 1 / span 2;
  align-self: start;
  background: var(--hpu-purple);
  color: var(--hpu-white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 6px;
  margin-top: 8px;
}
.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
.section-desc {
  grid-column: 2;
  margin: var(--sp-2) 0 0;
  color: var(--hpu-stone);
  font-size: 16px;
  max-width: 640px;
}

/* Grid: 2 cols on mobile, 4 cols on desktop */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: var(--grid-gap);
}
@media (min-width: 760px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
  }
}

/* Card sizes */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--grid-radius);
  padding: var(--sp-5);
  box-shadow: var(--card-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, opacity 300ms ease;
  opacity: 0;
  transform: translateY(8px);
}
.card.is-in {
  opacity: 1;
  transform: translateY(0);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--hpu-purple);
}

/* Size variants — mobile collapses larger cards */
.card-1x1 { grid-column: span 1; grid-row: span 1; }
.card-1x2 { grid-column: span 1; grid-row: span 2; }
.card-2x1 { grid-column: span 2; grid-row: span 1; }
.card-2x2 { grid-column: span 2; grid-row: span 2; }

@media (max-width: 759px) {
  /* Mobile: all "wide" cards collapse to full row */
  .card-2x1, .card-2x2 { grid-column: span 2; grid-row: span 1; }
  .card-1x2 { grid-row: span 2; }
}


/* ============================================================
   CARD INTERIOR PRIMITIVES
   ============================================================ */
.card-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hpu-purple);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.card-title-xl {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--sp-2);
}
.card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 var(--sp-2);
}
.card-title-sm {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  margin: 0 0 var(--sp-2);
}
.card-title-soft { font-weight: 400; color: var(--hpu-stone); }
.card-tag {
  font-size: 14px;
  color: var(--hpu-purple);
  font-weight: 500;
  margin: 0 0 var(--sp-3);
}
.card-body {
  font-size: 14px;
  color: var(--hpu-charcoal);
  margin: 0;
  line-height: 1.5;
}
.card-caption {
  font-size: 13px;
  color: var(--hpu-stone);
  margin: var(--sp-2) 0 0;
}
.card-meta {
  font-size: 13px;
  color: var(--hpu-stone);
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--card-border);
}

/* Inline placeholder marker — reads like a draft note, not an error. No fill, no
   border; just a softer color + italic so the text stays findable on careful
   inspection but doesn't dominate the card face. */
.verify {
  color: var(--hpu-stone);
  font-style: italic;
  font-size: 0.95em;
  opacity: 0.75;
}

/* Corner placeholder caption — for cards whose visual content is pending.
   Tiny, small-caps, low-opacity; reads like a code comment, not a label. */
.placeholder-note {
  position: absolute;
  bottom: var(--sp-3);
  right: var(--sp-4);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: italic;
  color: var(--hpu-stone);
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}

/* Skeleton placeholder bar — softly pulsing low-contrast block used in place of
   missing big-stat numbers. */
.skeleton-bar {
  display: inline-block;
  height: 0.7em;
  width: 2.4em;
  border-radius: 4px;
  background: rgba(var(--hpu-charcoal-rgb), 0.07);
  vertical-align: middle;
  animation: skeleton-pulse 2.6s ease-in-out infinite;
}
.skeleton-bar.is-large {
  height: 0.55em;
  width: 1.6em;
}
@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.95; }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-bar { animation: none; opacity: 0.75; }
}


/* ============================================================
   MAJOR HERO CARD (2x2)
   ============================================================ */
.card-major-hero {
  padding: 0;
}
.major-hero-photo {
  flex: 0 0 55%;
  /* Image: Tilley Trading Room (Phillips School of Business) — the spec's
     actual hero subject (terminals, screens, BA&E student environment).
     URL: https://www.highpoint.edu/business/files/2023/08/ticker-room-high-point-university-school-of-business.jpg
     Per addendum to photo-manifest-2026-05-12.md.
     Interior is darker and more detailed than the Dean Hall headshot it
     replaces; the bottom-weighted gradient lets the scene read at top while
     keeping the photo caption legible at bottom. */
  background-color: var(--hpu-purple-deep);
  background-image:
    linear-gradient(180deg,
      rgba(var(--hpu-purple-deep-rgb), 0.0) 45%,
      rgba(var(--hpu-purple-deep-rgb), 0.70) 100%),
    url('https://www.highpoint.edu/business/files/2023/08/ticker-room-high-point-university-school-of-business.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--sp-4);
  min-height: 220px;
}
/* Photo-bed placeholder caption — subtle text overlay on the bottom edge of
   image-bearing cards. No filled pill; reads as a quiet draft note. */
.photo-placeholder {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: italic;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-body);
  max-width: 80%;
}
.major-hero-body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}


/* ============================================================
   COURSE LIST CARD
   ============================================================ */
.course-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.course-list li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  font-size: 17px;
  font-weight: 500;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--card-border);
}
.course-list li:last-child { border-bottom: none; padding-bottom: 0; }
.course-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--hpu-purple);
  background: var(--hpu-purple-tint);
  padding: 3px 7px;
  border-radius: 4px;
}


/* ============================================================
   STAT CARD
   ============================================================ */
.card-stat {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}
.stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--hpu-charcoal);
  font-variant-numeric: tabular-nums;
}
.stat-pct {
  font-size: 0.55em;
  color: var(--hpu-stone);
  margin-left: 4px;
  font-weight: 500;
}
.stat-cap {
  margin-top: var(--sp-3);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hpu-stone);
  font-weight: 600;
}
.stat-foot {
  margin-top: var(--sp-2);
  font-size: 10px;
  color: var(--hpu-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: italic;
}
/* Big-stat skeleton — empty stat-number slot. The skeleton-bar child renders
   the pulsing low-contrast block; the .placeholder-note in the StatCard sibling
   tells the counselor what's pending. */
.verify-stat {
  display: flex;
  align-items: center;
  min-height: 1.2em;
}
.card-stat-feature { background: var(--hpu-purple); color: var(--hpu-white); }
.card-stat-feature .stat-num { color: var(--hpu-white); }
.card-stat-feature .stat-cap { color: rgba(255,255,255,0.78); }
.card-stat-feature .stat-foot { color: var(--hpu-gold); }
.card-stat-soft { background: var(--hpu-purple-tint); }


/* ============================================================
   TRADING ROOM BADGE
   ============================================================ */
.card-badge {
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--hpu-gold);
}
.badge-icon {
  width: 40px;
  height: 40px;
  color: var(--hpu-gold);
}
.badge-icon svg { width: 100%; height: 100%; }
.badge-label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-top: var(--sp-4);
  color: var(--hpu-charcoal);
}
.badge-caption {
  font-size: 13px;
  color: var(--hpu-stone);
  margin-top: var(--sp-2);
  font-style: italic;
}


/* ============================================================
   QUOTE CARD
   ============================================================ */
.card-quote {
  background: var(--hpu-white);
  position: relative;
  padding-top: var(--sp-7);
}
.quote-mark {
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--hpu-purple-tint);
}
.quote-body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 var(--sp-4);
  color: var(--hpu-charcoal);
}
.quote-attr {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
}
/* Quote-card portrait placeholder — soft purple gradient with a faint person
   silhouette so the slot reads as "a person, photo pending" rather than a
   blank disc. Contrast intentionally low. */
.quote-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg,
    rgba(var(--hpu-purple-deep-rgb), 0.45),
    rgba(var(--hpu-purple-deep-rgb), 0.20));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.quote-avatar svg {
  width: 78%;
  height: 78%;
  margin-bottom: -2px;
  color: rgba(255, 255, 255, 0.35);
}
.quote-name { font-size: 13px; font-weight: 600; }
.quote-role { font-size: 12px; color: var(--hpu-stone); }


/* ============================================================
   SPORT CARD (1x2)
   ============================================================ */
.card-sport { background: var(--hpu-white); }
.sport-icon {
  width: 44px;
  height: 44px;
  color: var(--hpu-purple);
  margin-bottom: var(--sp-3);
}
.sport-icon svg { width: 100%; height: 100%; }
.sport-foot {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hpu-gold);
  padding-top: var(--sp-4);
  font-weight: 600;
}


/* ============================================================
   CALENDAR CARD
   ============================================================ */
.cal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}
.cal-cell {
  padding: var(--sp-3);
  background: var(--hpu-purple-tint);
  border-radius: 8px;
}
.cal-season {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--hpu-purple);
  font-weight: 700;
  margin-bottom: 4px;
}
.cal-evt { font-size: 13px; font-weight: 500; color: var(--hpu-charcoal); }


/* ============================================================
   CLUB CARD
   ============================================================ */
.card-club { background: var(--hpu-white); }
.club-icon {
  width: 32px;
  height: 32px;
  color: var(--hpu-purple);
  margin-bottom: var(--sp-3);
}
.club-icon svg { width: 100%; height: 100%; }
.club-foot {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hpu-gold);
  padding-top: var(--sp-3);
  font-weight: 700;
}
.card-club-feature {
  background: var(--hpu-purple);
  color: var(--hpu-white);
}
.card-club-feature .club-icon { color: var(--hpu-gold); }
.card-club-feature .card-body { color: rgba(255,255,255,0.86); }
.card-club-feature .club-foot { color: var(--hpu-gold); }
.card-club-soft {
  background: var(--hpu-cream);
  border: 1px solid rgba(197, 165, 114, 0.3);
}


/* ============================================================
   LIFESTYLE MOMENT CARD
   ============================================================ */
.card-lifestyle {
  padding: 0;
  background: var(--hpu-charcoal);
  position: relative;
  min-height: 220px;
}
.lifestyle-photo {
  position: absolute;
  inset: 0;
  /* Fallback color visible before the <img> loads or if it fails. */
  background: linear-gradient(135deg, var(--hpu-purple-deep), var(--hpu-purple-soft) 60%, var(--hpu-gold));
  overflow: hidden;
}
.lifestyle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-lifestyle .photo-placeholder {
  background: rgba(0, 0, 0, 0.35);
}
.lifestyle-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-5);
  /* Bottom-up gradient using --hpu-charcoal at increasing opacity — ensures readable
     overlay text on photo-backed cards (R-002 token, no raw hex). */
  background: linear-gradient(
    to top,
    rgba(var(--hpu-charcoal-rgb), 0.78),
    rgba(var(--hpu-charcoal-rgb), 0.30) 60%,
    rgba(var(--hpu-charcoal-rgb), 0));
  color: var(--hpu-white);
  z-index: 1;
}
.lifestyle-cap {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.3;
}


/* ============================================================
   LOGO QUADRANT CARD
   ============================================================ */
.card-logos {
  display: flex;
  flex-direction: column;
}
.logo-quad {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--sp-3);
  flex: 1;
  margin-top: var(--sp-3);
  min-height: 160px;
}
/* Employer logo slot — neutral tinted card holding a real third-party
   logo. The tinted background keeps the logos visually unified across
   different mark styles (wordmark vs. monogram vs. bullet+wordmark). */
.logo-slot {
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--hpu-charcoal-rgb), 0.035);
  position: relative;
  min-height: 80px;
  padding: var(--sp-3) var(--sp-4);
  color: var(--hpu-stone);
}
/* Real third-party logo image. object-fit: contain so different aspect
   ratios (square monogram, wide wordmark) all sit comfortably. */
.logo-img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  /* Slight desaturation pulls disparate logos into a single visual register
     consistent with the bento's restrained palette. */
  filter: grayscale(0.15) contrast(1.02);
}
/* Fallback silhouette for any logo-slot that still uses inline SVG (e.g.,
   if a logo source goes 404). Kept for resilience. */
.logo-slot svg {
  width: 38%;
  max-width: 44px;
  height: auto;
  opacity: 0.32;
}


/* ============================================================
   YEAR STEP CARD
   ============================================================ */
.card-year {
  background: var(--hpu-white);
  border-top: 3px solid var(--hpu-purple-tint);
}
.year-mark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 28px;
  color: var(--hpu-purple);
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-3);
  line-height: 1;
}
.year-body {
  font-size: 14px;
  color: var(--hpu-charcoal);
  line-height: 1.4;
  margin: 0;
}
.card-year-final { border-top-color: var(--hpu-gold); }
.card-year-final .year-mark { color: var(--hpu-gold); }


/* ============================================================
   COUNSELOR CARD  (D-013)
   full-width, breaks the bento rhythm intentionally
   ============================================================ */
.counselor-section {
  padding: var(--sp-7) var(--sp-5);
  max-width: 1240px;
  margin: 0 auto;
}
.counselor-card {
  background: var(--hpu-white);
  border-radius: var(--grid-radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-7) var(--sp-7);
  position: relative;
}
.counselor-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: var(--grid-radius) 0 0 var(--grid-radius);
  background: var(--hpu-gold);
}
.counselor-portrait {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--hpu-purple-tint);
  overflow: hidden;
  color: var(--hpu-purple);
  flex-shrink: 0;
}
.counselor-portrait svg { width: 100%; height: 100%; display: block; }
.counselor-verify {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
}
.counselor-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hpu-purple);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.counselor-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  color: var(--hpu-charcoal);
  margin: 0 0 var(--sp-4);
  font-weight: 500;
}
.counselor-signoff {
  display: block;
  margin-top: var(--sp-3);
  font-size: 0.7em;
  color: var(--hpu-stone);
}
.counselor-role {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hpu-stone);
  margin-bottom: var(--sp-2);
}
.counselor-contact {
  font-size: 13px;
  color: var(--hpu-stone);
}

@media (max-width: 760px) {
  .counselor-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--sp-6) var(--sp-5);
  }
  .counselor-portrait { margin: 0 auto; }
}


/* ============================================================
   CTA CARDS
   ============================================================ */
.cta-grid { grid-auto-rows: minmax(160px, auto); }
.card-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--hpu-charcoal);
  cursor: pointer;
}
.cta-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.cta-meta {
  font-size: 13px;
  color: var(--hpu-stone);
  margin-top: var(--sp-2);
}
.cta-arrow {
  font-size: 24px;
  color: var(--hpu-purple);
  margin-top: auto;
  align-self: flex-end;
  transition: transform 150ms ease;
}
.card-cta:hover { border-color: var(--hpu-purple); }
.card-cta:hover .cta-arrow { transform: translateX(4px); }
.card-cta:hover .cta-arrow::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--hpu-gold);
  margin-top: 2px;
}
.card-cta-primary {
  background: var(--hpu-purple);
  color: var(--hpu-white);
  border-color: var(--hpu-purple);
}
.card-cta-primary .cta-arrow { color: var(--hpu-gold); }
.card-cta-primary .cta-meta { color: rgba(255,255,255,0.78); }
.card-cta-primary:hover {
  background: var(--hpu-purple-deep);
  border-color: var(--hpu-purple-deep);
}
.card-cta-quiet {
  background: transparent;
  border-style: dashed;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer-strip {
  padding: var(--sp-6) var(--sp-5);
  border-top: 1px solid var(--card-border);
  background: var(--hpu-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
}
.footer-mark {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--hpu-purple);
}
.footer-line {
  font-size: 12px;
  color: var(--hpu-stone);
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .card {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card:hover {
    transform: none;
  }
  .cta-arrow { transition: none; }
}


/* ============================================================
   SMALL SCREEN POLISH
   ============================================================ */
@media (max-width: 480px) {
  .hero-band { padding: var(--sp-6) var(--sp-4) var(--sp-5); }
  .bento-section { padding: var(--sp-6) var(--sp-4); }
  .counselor-section { padding: var(--sp-5) var(--sp-4); }
  .section-header { grid-template-columns: 1fr; row-gap: var(--sp-3); }
  .section-kicker { grid-row: auto; justify-self: start; }
  .section-desc { grid-column: 1; }
  .toc { gap: 6px; }
  .toc a { font-size: 11px; padding: 6px 10px; }
}
