/* ────────────────────────────────────────────────────────────────────────
   Academics V3 — components for Greg's Nov 10 2026 Academics section.
   Loaded only on /academics/ pages (inc/academics.php). Uses main.css tokens;
   Greg's prototype palette is mapped onto the v2 brand (navy / gold / Barlow).
   ──────────────────────────────────────────────────────────────────────── */

.a3 { --a3-gap: 20px; }

/* ── Overview hero ─────────────────────────────────────────────────────── */
.a3-hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  background: var(--navy-dark); color: white; border-bottom: 4px solid var(--gold);
  min-height: 560px;
}
.a3-hero-copy {
  padding: 84px 64px 64px 80px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.a3-hero-h1 {
  font-family: var(--fh); font-weight: 800; text-transform: uppercase;
  font-size: clamp(48px, 6.2vw, 92px); line-height: .92; letter-spacing: -.005em; margin-top: 14px;
}
.a3-hero-h1 em { font-style: normal; color: var(--gold-bright); }
.a3-hero-lead { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.75); max-width: 560px; margin-top: 22px; }
.a3-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.a3-mantra {
  margin-top: 34px; font-size: 11px; font-weight: 700; letter-spacing: .22em;
  color: rgba(255,255,255,.45); white-space: pre;
}
.a3-hero-art { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy), var(--navy-mid)); }
.a3-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a3-hero-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,40,90,.88) 0%, rgba(0,40,90,.25) 55%, rgba(0,40,90,.05) 100%);
}
.a3-hero-art-label {
  position: absolute; left: 36px; bottom: 36px; z-index: 2;
  font-family: var(--fh); font-weight: 800; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.02;
  text-transform: uppercase; color: white;
}
.a3-hero-stamp {
  position: absolute; right: 28px; top: 28px; z-index: 2;
  background: var(--gold); color: var(--ink); padding: 9px 16px; border-radius: 4px;
  font-family: var(--fh); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

/* ── Child-page intro ─────────────────────────────────────────────────── */
.a3-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.a3-crumb { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 18px; letter-spacing: .04em; }
.a3-crumb a { color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.3); }
.a3-crumb a:hover { color: white; border-color: var(--gold-bright); }
.a3-intro-h1 { text-transform: uppercase; max-width: 900px; }
.a3-intro-lead { max-width: 640px; font-size: 17px; }
.a3-badge {
  width: 168px; height: 168px; border-radius: 50%;
  border: 2px solid rgba(232,184,64,.55); display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.08), rgba(255,255,255,0) 60%);
}
.a3-badge span { font-family: var(--fh); font-weight: 800; font-size: 46px; color: var(--gold-bright); letter-spacing: .02em; }

/* ── Sub-nav (sticky under the main nav) ─────────────────────────────── */
.a3-subnav {
  position: sticky; top: 64px; z-index: 50; background: white;
  border-bottom: 1px solid var(--border); box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.a3-subnav-scroll {
  display: flex; gap: 4px; overflow-x: auto; padding: 0 80px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.a3-subnav-scroll::-webkit-scrollbar { display: none; }
.a3-subnav a {
  flex: 0 0 auto; padding: 16px 14px 14px; font-size: 13px; font-weight: 600; color: var(--ink-mid);
  border-bottom: 3px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s;
}
.a3-subnav a:hover { color: var(--navy); }
.a3-subnav a.is-current { color: var(--navy); border-bottom-color: var(--gold); }
.a3-subnav a:focus-visible { outline: 2px solid var(--navy-mid); outline-offset: -2px; }

/* ── Proof band ───────────────────────────────────────────────────────── */
.a3-proof .trust-val { text-transform: uppercase; font-size: 20px; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.a3-section { scroll-margin-top: 130px; }
.a3-section.tint { background: var(--smoke); }
.a3-head { max-width: 760px; }
.a3-head .section-body { max-width: 680px; }

/* Cards */
.a3-cards { display: grid; gap: var(--a3-gap); margin-top: 40px; }
.a3-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a3-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.a3-card {
  background: white; border: 1px solid var(--border); border-radius: 6px; padding: 28px 24px 26px;
  display: flex; flex-direction: column; position: relative; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.a3-card::before {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 44px; background: var(--gold); border-radius: 6px 0 0 0;
}
.a3-card:hover { border-color: rgba(0,61,130,.35); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,40,90,.07); }
.tint .a3-card { background: white; }
.a3-card-num { font-family: var(--fh); font-weight: 800; font-size: 40px; line-height: 1; color: var(--navy-pale); -webkit-text-stroke: 1px rgba(0,61,130,.18); margin-bottom: 14px; }
.a3-card-title { font-family: var(--fh); font-weight: 700; font-size: 21px; color: var(--navy); line-height: 1.15; margin-bottom: 10px; }
.a3-card-body { font-size: 14.5px; color: var(--ink-mid); line-height: 1.7; }
.a3-card-body + .a3-card-body { margin-top: 10px; }
.a3-card-body a, .a3-panel-body a, .a3-faq-a a, .section-body a { color: var(--navy); border-bottom: 1.5px solid var(--gold); }
.a3-card-link {
  margin-top: auto; padding-top: 18px; align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
}
.a3-card-link::after { content: ''; position: absolute; inset: 0; }
.a3-card-link:focus-visible { outline: none; }
.a3-card:has(.a3-card-link:focus-visible) { outline: 2px solid var(--navy-mid); outline-offset: 2px; }

/* Steps */
.a3-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid var(--border); }
.a3-step { padding: 30px 26px 8px 0; border-right: 1px solid var(--border); margin-right: 26px; }
.a3-step:last-child { border-right: none; margin-right: 0; }
.a3-step-num { display: block; font-family: var(--fh); font-weight: 800; font-size: 64px; line-height: .9; color: var(--gold); margin-bottom: 14px; }
.a3-step-title { font-family: var(--fh); font-weight: 700; font-size: 21px; color: var(--ink); margin-bottom: 8px; }
.a3-step-body { font-size: 14.5px; color: var(--ink-mid); line-height: 1.7; }
.a3-steps:has(.a3-step:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Timeline */
.a3-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--a3-gap); margin-top: 40px; position: relative; }
.a3-tl-item { background: white; border-radius: 6px; padding: 28px 26px; border-top: 4px solid var(--navy); }
.a3-tl-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--gold-deep); margin-bottom: 10px; }
.a3-tl-title { font-family: var(--fh); font-weight: 700; font-size: 23px; color: var(--navy); line-height: 1.12; margin-bottom: 10px; }
.a3-tl-body { font-size: 14.5px; color: var(--ink-mid); line-height: 1.7; }

/* Info panels (2×2) */
.a3-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--a3-gap); margin-top: 40px; }
.a3-panel { background: white; border: 1px solid var(--border); border-left: 4px solid var(--navy); border-radius: 6px; padding: 26px 28px; }
.a3-panel-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--gold-deep); margin-bottom: 8px; }
.a3-panel-title { font-family: var(--fh); font-weight: 700; font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.a3-panel-body { font-size: 14.5px; color: var(--ink-mid); line-height: 1.7; }
.a3-panel .a3-text-link { margin-top: 12px; }

/* Text links */
.a3-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; }
.a3-text-link {
  display: inline-flex; gap: 6px; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--navy); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px;
}
.a3-text-link:hover { color: var(--navy-mid); }

/* Stat callout */
.a3-stat {
  display: flex; align-items: baseline; gap: 18px; margin-top: 40px;
  padding: 22px 30px; border-left: 5px solid var(--gold); background: var(--navy-pale); border-radius: 0 6px 6px 0; max-width: 620px;
}
.a3-stat strong { font-family: var(--fh); font-weight: 800; font-size: clamp(56px, 6vw, 84px); line-height: 1; color: var(--navy); }
.a3-stat span { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mid); }

/* Tables */
.a3-table-wrap { overflow-x: auto; margin-top: 36px; border: 1px solid var(--border); border-radius: 6px; background: white; }
.a3-table-wrap:focus-visible { outline: 2px solid var(--navy-mid); outline-offset: 2px; }
.a3-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.a3-table caption { text-align: left; padding: 14px 18px; font-size: 12px; color: var(--ink-light); caption-side: bottom; }
.a3-table thead th {
  background: var(--navy); color: white; text-align: left; padding: 14px 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.a3-table tbody th, .a3-table td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--border); vertical-align: top; line-height: 1.55; }
.a3-table tbody th { font-weight: 700; color: var(--navy); white-space: nowrap; }
.a3-table td { color: var(--ink-mid); }
.a3-table tbody tr:nth-child(even) { background: var(--smoke); }

/* Documents */
.a3-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--a3-gap); margin-top: 36px; }
.a3-doc {
  display: flex; gap: 16px; align-items: center; padding: 20px 22px; background: white;
  border: 1px solid var(--border); border-radius: 6px; transition: border-color .15s, box-shadow .15s;
}
.a3-doc:hover { border-color: var(--navy); box-shadow: 0 8px 20px rgba(0,40,90,.07); }
.a3-doc-icon {
  flex: 0 0 48px; height: 56px; border-radius: 4px; background: var(--navy); color: var(--gold-bright);
  display: grid; place-items: center; font-family: var(--fh); font-weight: 800; font-size: 15px; letter-spacing: .06em;
}
.a3-doc b { display: block; font-size: 15px; color: var(--ink); }
.a3-doc small { display: block; font-size: 12px; color: var(--ink-light); margin-top: 4px; }

/* People */
.a3-people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--a3-gap); margin-top: 40px; }
.a3-person { background: white; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.a3-person-photo { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--navy), var(--navy-mid)); position: relative; }
.a3-person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.a3-person-photo.is-empty { display: grid; place-items: center; }
.a3-person-photo.is-empty span { font-family: var(--fh); font-weight: 800; font-size: 64px; color: rgba(255,255,255,.22); letter-spacing: .04em; }
.a3-person-name { font-family: var(--fh); font-weight: 700; font-size: 22px; color: var(--ink); padding: 20px 22px 0; }
.a3-person-role { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); padding: 6px 22px 0; line-height: 1.5; }
.a3-person-body { font-size: 14px; color: var(--ink-mid); line-height: 1.65; padding: 10px 22px 22px; }

/* Directory */
.a3-directory { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 36px; }
.a3-dir-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.a3-mono {
  flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--navy-pale); color: var(--navy);
  display: grid; place-items: center; font-family: var(--fh); font-weight: 800; font-size: 16px;
}
.a3-dir-row b { display: block; font-size: 15px; color: var(--ink); }
.a3-dir-row small { display: block; font-size: 13px; color: var(--ink-light); margin-top: 2px; }

/* FAQ */
.a3-faq { margin-top: 36px; max-width: 880px; border-top: 1px solid var(--border); }
.a3-faq-item { border-bottom: 1px solid var(--border); }
.a3-faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--fh); font-weight: 700; font-size: 20px; color: var(--ink);
}
.a3-faq-item summary::-webkit-details-marker { display: none; }
.a3-faq-item summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--fb); font-weight: 400; font-size: 26px; color: var(--gold-deep); transition: transform .2s;
}
.a3-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.a3-faq-item summary:focus-visible { outline: 2px solid var(--navy-mid); outline-offset: 2px; }
.a3-faq-a { font-size: 15px; color: var(--ink-mid); line-height: 1.75; padding: 0 0 20px; max-width: 760px; }

/* CTA band */
.a3-cta .cta-footer-h2 { text-transform: uppercase; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .a3-hero { grid-template-columns: 1fr; }
  .a3-hero-copy { padding: 64px 40px 48px; }
  .a3-hero-art { min-height: 360px; }
  .a3-subnav-scroll { padding: 0 32px; }
  .a3-cards-4, .a3-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a3-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: none; }
  .a3-step { border-right: none; margin-right: 0; border-top: 1px solid var(--border); padding-right: 24px; }
}
@media (max-width: 800px) {
  .a3-cards-3, .a3-timeline, .a3-panels, .a3-docs, .a3-directory { grid-template-columns: 1fr; }
  .a3-intro-grid { grid-template-columns: 1fr; }
  .a3-badge { display: none; }
}
@media (max-width: 720px) {
  .a3-hero-copy { padding: 52px 24px 40px; }
  .a3-subnav { top: 64px; }
  .a3-subnav-scroll { padding: 0 12px; }
  .a3-hero-art-label { left: 24px; bottom: 24px; }
}
@media (max-width: 540px) {
  .a3-cards-4, .a3-people, .a3-steps { grid-template-columns: 1fr; }
  .a3-hero-h1 { font-size: 46px; }
  .a3-mantra { white-space: normal; }
  .a3-stat { flex-direction: column; gap: 6px; padding: 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .a3-card, .a3-doc, .a3-faq-item summary::after { transition: none; }
  .a3-card:hover { transform: none; }
}
