/* ==========================================================================
   SMCHS Athletic Hall of Fame - layout.css  (v2: matched to www.smhs.org homepage)
   Mobile-first. Breakpoints (min-width) adapted from eaglesfootball.com
   layout.css (max-width 480/600/800/1000/1200, container 1260px):
     480px  large phones      -> 2-up card grid
     600px  small tablets     -> hero / pager / footer go side-by-side
     800px  tablets           -> 3-up grid, smhs.org body type (17px/1.529)
     1000px small desktop     -> white smhs-style nav bar replaces the menu button
     1200px desktop           -> 4-up grid, full heading scale (h1 55px)
   Colours + type from www.smhs.org (uploaded/themes/default_17/css/main.css):
     html bg / header / footer #1a4683 (from SM logo tile), gold rule #b3a369, accent bar #e2c457,
     navy #202c5f, hover blue #12325e, link #1897d4, body text #45464b.
   smhs.org fonts are Adobe Typekit (kit oio2tyq: proxima-nova, proxima-nova-extra-condensed),
   which are licensed, so the free Google Fonts fallbacks are Figtree (closest metric
   match to Proxima Nova) and Barlow Condensed (for Proxima Nova Extra Condensed).
   ========================================================================== */

:root {
  --royal: #1a4683;      /* smhs.org html background, header, footer, h1/h2, nav links */
  --royal-dark: #12325e; /* smhs.org button hover */
  --navy: #202c5f;       /* smhs.org current nav item, "Visit" CTA, social circles */
  --navy-dark: #131a39;  /* smhs.org search-button hover */
  --gold: #b3a369;       /* smhs.org header bottom rule, h4, tagline */
  --gold-bright: #e2c457;/* smhs.org section-title accent bar, icons */
  --link: #1897d4;       /* smhs.org links */
  --text: #45464b;       /* smhs.org body text */
  --gray: #92999d;       /* smhs.org h3 */
  --rule: #c8c8c7;       /* smhs.org section-title rule (50% opacity) */
  --line: #e3e3e3;       /* smhs.org header border */
  --bg-soft: #fafafa;    /* smhs.org college panel */
  --white: #fff;
  /* eaglesfootball.com spacing scale */
  --s-5: 5px; --s-10: 10px; --s-15: 15px; --s-20: 20px; --s-25: 25px; --s-50: 50px;
  --container: 1260px;
  --radius: 4px;         /* smhs.org thumbnails / cards */
  --shadow: 0 1px 3px rgba(32,44,95,.10), 0 4px 14px rgba(32,44,95,.08);
  --shadow-lg: 0 10px 30px rgba(32,44,95,.20);
  --font-body: "proxima-nova", "Figtree", "Helvetica Neue", Arial, sans-serif;
  --font-head: "proxima-nova-extra-condensed", "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--royal); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;            /* mobile base; 17px from 800px (smhs.org) */
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-underline-offset: 2px; transition: color .3s, background .3s; }
a:hover { color: var(--royal-dark); }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }

/* smhs.org headings: proxima-nova-extra-condensed, weight normal, royal blue; h1 uppercase +2px tracking */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 var(--s-20); font-weight: 500; color: var(--royal); }
h1 { font-size: 38px; text-transform: uppercase; letter-spacing: 2px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; color: var(--gray); font-weight: 700; }
h4 { font-size: 20px; color: var(--gold); font-weight: 700; }
p { margin: 0 0 var(--s-15); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-20); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold-bright); color: var(--navy-dark); padding: var(--s-10) var(--s-15); font-weight: 700;
}
.skip-link:focus { left: var(--s-10); top: var(--s-10); }

.eyebrow {
  display: inline-block; margin: 0 0 var(--s-10);
  font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--navy);
}

/* ---------- Header (smhs.org: royal band + 4px gold rule, white nav bar) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.header-top { background: var(--royal); color: var(--white); border-bottom: 4px solid var(--gold); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 64px; gap: 0 var(--s-10); }
.js .header-inner { flex-wrap: nowrap; }  /* no-JS: nav wraps onto its own row below the logo */
.brand { display: flex; align-items: center; gap: var(--s-10); color: var(--white); text-decoration: none; min-height: 44px; padding: var(--s-10) 0; }
.brand:hover { color: var(--white); }
.brand img { height: auto; }
.brand .brand-mark { width: auto; height: 40px; }
.brand .brand-text { width: 150px; }
.brand-title {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
  font-size: 15px; line-height: 1.1; color: var(--gold-bright); border-left: 1px solid rgba(255,255,255,.5); padding-left: var(--s-10); max-width: 120px;
}
.nav-toggle { display: none; }
.js .nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-10); flex: none;
  min-width: 48px; min-height: 48px; padding: 0 var(--s-10);
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); border-radius: 4px;
  font: 700 13px/1 var(--font-body); text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
}
.js .nav-toggle:hover { background: var(--navy); }
/* icon-only button on small phones; label stays for screen readers */
.nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
.nav-toggle-bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile/tablet menu: white drop-down panel under the gold rule; royal uppercase 15px/600, 1px tracking
   (smhs.org .nav-main type). The nav sits inside the header row so desktop can show it inline. */
.site-nav { background: var(--white); border-bottom: 2px solid var(--line); flex: 1 0 100%; margin: 0 calc(-1 * var(--s-20)); }
.js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; box-shadow: 0 6px 10px rgba(0,0,0,.15); }
.js .site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
.site-nav li + li a { border-top: 1px solid var(--line); }
.site-nav a {
  display: flex; align-items: center; min-height: 52px; position: relative;
  color: var(--royal); text-decoration: none; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; line-height: 1.2;
}
.site-nav a:hover { color: var(--royal-dark); }
.site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 4px 0 0 var(--gold-bright); padding-left: var(--s-15); }

/* ---------- Hero (smhs.org royal panel) ---------- */
.hero { background: var(--royal); color: var(--white); padding: var(--s-50) 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.25) 100%); pointer-events: none; }
.hero-inner { position: relative; display: flex; flex-direction: column; gap: var(--s-20); }
.hero-mark { width: 84px; height: 84px; border-radius: 50%; background: var(--white); padding: 6px; }
.hero h1 { color: var(--white); margin-bottom: var(--s-10); }
.hero h1::after { content: ""; display: block; width: 70px; height: 4px; background: var(--gold-bright); margin-top: var(--s-15); }
.hero .eyebrow, .bio-heading .eyebrow { color: var(--gold-bright); }
.hero-sub { font-size: 18px; line-height: 1.5; max-width: 46em; color: rgba(255,255,255,.9); margin: 0; }

/* ---------- Sections (smhs.org .hp-header-style title: rule + 70px gold bar) ---------- */
.section { padding: var(--s-50) 0; }
.section-head { margin-bottom: var(--s-25); }
.section-head h1, .section-head h2 { text-transform: uppercase; letter-spacing: 2px; margin-bottom: var(--s-15); padding-bottom: var(--s-15); position: relative; }
.section-head h1::before, .section-head h2::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--rule); opacity: .5; }
.section-head h1::after, .section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 4px; background: var(--gold-bright); }
.section-lede { color: var(--text); margin: 0; max-width: 80ch; }
.section-head h1 { font-size: 30px; }
@media (min-width: 800px) { .section-head h1 { font-size: 40px; } }
.section-more { text-align: center; margin: var(--s-50) 0 0; }
/* smhs.org large button: condensed type, square corners, 4px dark top bar that fills on hover */
.btn {
  position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 30px 9px;
  background: var(--royal); color: var(--white); text-decoration: none; border-radius: 0;
  font-family: var(--font-head); font-weight: 500; font-size: 24px; line-height: 1.2;
}
.btn::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: #000; opacity: .2; transition: height .3s; z-index: -1; }
.btn:hover, .btn:focus-visible { color: var(--white); }
.btn:hover::before, .btn:focus-visible::before { height: 100%; }

/* ---------- Card grid (roster-style "touts") ---------- */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--s-20); }
.hof-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease;
}
.hof-card:hover, .hof-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.card-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .4s ease; }
.card-photo.is-placeholder img { object-position: 50% 50%; }
.hof-card:hover .card-photo img { transform: scale(1.05); }
.card-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(to top, rgba(0,0,0,.25), transparent); pointer-events: none; }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--royal); color: var(--white); border: 1px solid var(--gold-bright);
  font-family: var(--font-head); font-size: 18px; font-weight: 700; letter-spacing: 1px; line-height: 1;
  padding: 5px 10px 5px; border-radius: var(--radius);
}
.card-info { display: flex; flex-direction: column; gap: 2px; padding: var(--s-15) var(--s-20) var(--s-20); flex: 1; border-top: 4px solid var(--gold); }
.card-name { font-family: var(--font-head); font-size: 26px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; line-height: 1.1; color: var(--royal); }
.card-sport { font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 1px; }
.card-meta { font-size: 14px; color: var(--text); }
/* smhs.org "VIEW FULL CALENDAR HERE >" link style: small caps navy + gold triangle */
.card-cta { margin-top: auto; padding-top: var(--s-10); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); }
.card-cta::after { content: ""; display: inline-block; margin-left: 6px; border-style: solid; border-width: 5px 0 5px 7px; border-color: transparent transparent transparent var(--gold-bright); vertical-align: 0; }
.empty-note { color: var(--gray); }

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { list-style: none; margin: 0; padding: var(--s-5) var(--s-20); display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; }
.breadcrumb.container { padding: 0; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; color: var(--gray); margin: 0 var(--s-10); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--royal); font-weight: 600; }
.breadcrumb [aria-current] { color: var(--text); }

/* ---------- Bio ---------- */
.bio-hero { background: var(--royal); color: var(--white); padding: var(--s-25) 0 var(--s-50); position: relative; }
.bio-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.25) 100%); pointer-events: none; }
.bio-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.bio-hero-inner { position: relative; display: flex; flex-direction: column; gap: var(--s-25); }
.bio-photo { margin: 0; max-width: 320px; }
.bio-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); border: 4px solid rgba(255,255,255,.9); box-shadow: var(--shadow-lg); background: var(--navy); }
.bio-photo.is-placeholder img { object-position: 50% 50%; }
.bio-photo figcaption { font-size: 12px; color: rgba(255,255,255,.8); margin-top: var(--s-10); line-height: 1.4; }
.bio-photo figcaption a { color: var(--white); }
.bio-heading h1 { color: var(--white); }
.bio-heading h1::after { content: ""; display: block; width: 70px; height: 4px; background: var(--gold-bright); margin-top: var(--s-15); }
.bio-facts { list-style: none; margin: var(--s-20) 0 0; padding: 0; display: grid; gap: var(--s-10); }
.bio-facts li { font-size: 17px; font-weight: 600; }
.bio-facts span { display: block; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-bright); }
.bio-body { padding-top: var(--s-50); padding-bottom: var(--s-25); }  /* full .container width, same as hero */
.bio-body p, .bio-list { max-width: 80ch; }  /* readable line length, left-aligned (no auto margins) */
.bio-intro p { font-size: 18px; line-height: 1.6; color: var(--navy); }
.bio-intro { border-left: 4px solid var(--gold-bright); padding-left: var(--s-20); margin-bottom: var(--s-50); }
.bio-section { margin-bottom: var(--s-50); }
.bio-section h2 { font-size: 28px; text-transform: uppercase; letter-spacing: 2px; padding-bottom: var(--s-10); position: relative; margin-bottom: var(--s-20); }
.bio-section h2::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rule); opacity: .5; }
.bio-section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 2px; background: var(--gold-bright); }
.bio-list { margin: 0 0 var(--s-20); padding-left: var(--s-20); }
.bio-list li { margin-bottom: var(--s-10); padding-left: var(--s-5); }
.bio-list li::marker { color: var(--gold); }
.bio strong { color: var(--navy); font-weight: 700; }
.bio-section h3 { font-size: 22px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 1px; margin: var(--s-25) 0 var(--s-10); }
.bio sup.cite { font-size: 11px; line-height: 0; vertical-align: super; margin-left: 2px; white-space: nowrap; }
.bio sup.cite a { font-weight: 600; text-decoration: none; padding: 0 1px; }
.bio sup.cite a:hover, .bio sup.cite a:focus-visible { text-decoration: underline; }
.bio-source { font-size: 13px; color: var(--text); border-top: 1px solid var(--line); padding-top: var(--s-10); margin-top: calc(-1 * var(--s-25)); }

/* Stat tables (supplemental bios): royal head row + gold rule, zebra rows; scrolls sideways inside .table-wrap on narrow screens */
.table-wrap { max-width: 80ch; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 var(--s-20); border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
.stat-table { width: 100%; min-width: 320px; border-collapse: collapse; font-size: 16px; line-height: 1.35; }
.stat-table th { background: var(--royal); color: var(--white); border-bottom: 4px solid var(--gold); text-align: left; padding: var(--s-10) var(--s-15);
  font-family: var(--font-head); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.stat-table td { padding: var(--s-10) var(--s-15); border-top: 1px solid var(--line); vertical-align: top; }
.stat-table tbody tr:nth-child(even) td { background: var(--bg-soft); }
.stat-table .num { text-align: right; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--royal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-table th:last-child { text-align: right; }
@media (max-width: 479px) {
  .stat-table { min-width: 0; font-size: 15px; }
  .stat-table th { padding: var(--s-10); font-size: 15px; letter-spacing: .5px; }
  .stat-table td { padding: var(--s-10); }
  .stat-table .num { font-size: 18px; }
}

/* Career Highlights panel (Mychel Thompson): category row-header | achievements as a small list; rows stack under 480px */
.highlights-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.highlights-table thead th { background: var(--royal); color: var(--white); border-bottom: 4px solid var(--gold); text-align: left; padding: var(--s-10) var(--s-15);
  font-family: var(--font-head); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; }
.highlights-table tbody th { width: 30%; text-align: left; vertical-align: top; padding: var(--s-10) var(--s-15); border-top: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--royal); }
.highlights-table td { padding: var(--s-10) var(--s-15); border-top: 1px solid var(--line); vertical-align: top; }
.highlights-table tbody tr:nth-child(even) > * { background: var(--bg-soft); }
.highlights-table td ul { margin: 0; padding-left: 1.1em; }
.highlights-table td li { margin: 0 0 2px; }
.highlights-table td li::marker { color: var(--gold); }
@media (max-width: 479px) {
  .highlights-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .highlights-table, .highlights-table tbody, .highlights-table tr, .highlights-table tbody th, .highlights-table td { display: block; width: auto; }
  .highlights-table tbody th { background: var(--royal) !important; color: var(--white); border-top: 0; padding: 8px var(--s-10);
    font-size: 15px; text-transform: uppercase; letter-spacing: .5px; }
  .highlights-table tr:first-child th { border-top: 0; }
  .highlights-table td { border-top: 0; padding: var(--s-10); font-size: 15px; }
}

/* "By the numbers" stat list: big royal figure + gold rule, 1/2/3-up grid */
.stat-list { list-style: none; margin: 0 0 var(--s-20); padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--s-10); max-width: 960px; }
.stat-list li { display: flex; align-items: center; gap: var(--s-15); padding: var(--s-10) var(--s-15); background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--gold-bright); border-radius: var(--radius); }
.stat-num { flex: 0 0 auto; min-width: 2.2ch; font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 1; color: var(--royal); text-align: center; }
.stat-label { font-weight: 600; color: var(--navy); line-height: 1.3; }

/* ---------- Pager ---------- */
.pager { display: grid; gap: var(--s-10); padding-bottom: var(--s-50); }
.pager a {
  display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: var(--s-10) var(--s-20);
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--gold-bright); border-radius: var(--radius);
  text-decoration: none; color: var(--royal); font-family: var(--font-head); font-weight: 500; font-size: 22px; line-height: 1.2;
}
.pager a span { font-family: var(--font-body); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); }
.pager a:hover { background: var(--royal); border-color: var(--royal); color: var(--white); }
.pager a:hover span { color: var(--gold-bright); }
.pager .pager-all { position: relative; z-index: 0; align-items: center; text-align: center; background: var(--royal); color: var(--white); border: 0; border-radius: 0; font-size: 24px; overflow: hidden; }
.pager .pager-all::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: #000; opacity: .2; transition: height .3s; z-index: -1; }
.pager .pager-all:hover::before { height: 100%; }

/* ---------- Footer (smhs.org: royal, seal + wordmark, gold tagline, condensed links) ---------- */
.site-footer { background: var(--royal); color: var(--white); font-size: 15px; padding: var(--s-50) 0 var(--s-20); border-top: 4px solid var(--gold); }
.site-footer p { margin: 0 0 var(--s-5); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: rgba(255,255,255,.75); }
.site-footer a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; }
.footer-inner { display: flex; flex-direction: column; gap: var(--s-25); }
.footer-brand { display: flex; gap: var(--s-15); align-items: flex-start; }
.footer-seal { width: 60px; height: auto; flex: none; }
.footer-school img { width: 228px; height: auto; }
.footer-tagline { color: var(--gold-bright); font-size: 12px; font-weight: 600; line-height: 1.3333; margin: var(--s-5) 0 var(--s-10) !important; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s-25); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: rgba(255,255,255,.75) !important; }
.footer-nav a:hover { color: var(--white) !important; }
.footer-social { margin: 0 !important; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: rgba(255,255,255,.75) !important; }
.footer-social a:hover { color: var(--white) !important; }
.footer-social-icon { flex: none; color: var(--gold-bright); transition: color .3s; }
.footer-social a:hover .footer-social-icon { color: var(--white); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.2); margin-top: var(--s-25); padding-top: var(--s-15); font-size: 12px; color: rgba(255,255,255,.75); }

/* ==========================================================================
   Breakpoints (mobile-first)
   ========================================================================== */
@media (min-width: 480px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-15); }
  .card-name { font-size: 24px; }
  .brand-title { max-width: none; }
  .nav-toggle-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (min-width: 600px) {
  .card-grid { gap: var(--s-20); }
  .card-name { font-size: 26px; }
  .hero-inner { flex-direction: row; align-items: center; gap: var(--s-25); }
  .hero-mark { width: 110px; height: 110px; }
  .bio-hero-inner { flex-direction: row; align-items: flex-end; }
  .bio-photo { flex: 0 0 240px; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager .pager-next { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); border-right: 4px solid var(--gold-bright); }
  .pager .pager-all { grid-column: 1 / -1; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-links { align-items: flex-end; }
  .footer-nav ul { justify-content: flex-end; }
}
@media (min-width: 800px) {
  body { font-size: 17px; line-height: 1.529; }   /* smhs.org body: 17px / 1.529 */
  h1 { font-size: 48px; }                          /* eaglesfootball h1 48px */
  h2 { font-size: 30px; }                          /* smhs.org h2 / section title 30px */
  h3 { font-size: 24px; }                          /* smhs.org h3 24px */
  h4 { font-size: 22px; }                          /* smhs.org h4 22px */
  .container { padding-left: var(--s-25); padding-right: var(--s-25); }
  .breadcrumb ol { padding: var(--s-5) var(--s-25); }
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-25); }
  .hero { padding: 75px 0; }
  .hero-sub { font-size: 20px; }
  .bio-photo { flex-basis: 300px; }
  .bio-section h2 { font-size: 30px; }
  .bio-intro p { font-size: 20px; }
  .bio-facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s-25); }
  .bio-facts:has(li:nth-child(4)) { grid-template-columns: repeat(2, auto); gap: var(--s-15) var(--s-50); }  /* 4 facts: 2 x 2 */
  .bio-facts li:nth-child(5):last-child { grid-column: 1 / -1; }  /* 5th fact (e.g. Newman's Teams list) gets its own full row */
  .stat-list { grid-template-columns: repeat(2, 1fr); }
  .btn, .pager .pager-all { font-size: 30px; }     /* smhs.org large button 30px */
}
@media (min-width: 1000px) {
  .site-header { position: relative; }            /* smhs.org header scrolls away on desktop */
  .nav-toggle, .js .nav-toggle { display: none; }
  .header-inner { min-height: 100px; }
  .brand { gap: var(--s-15); }
  .brand .brand-mark { height: 56px; }
  .brand .brand-text { width: 228px; }
  .brand-title { font-size: 22px; padding-left: var(--s-15); }
  /* desktop: links inline, right-aligned in the royal header row (white on blue, gold for current page) */
  .header-inner { flex-wrap: nowrap; }
  .site-nav, .js .site-nav { display: block; position: static; flex: 0 1 auto; margin: 0; background: transparent; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 40px; padding: 0; }
  .site-nav li + li a { border-top: 0; }
  .site-nav a { min-height: 44px; padding: 0; color: var(--white); white-space: nowrap; }
  .site-nav a:hover { color: var(--white); }
  .site-nav a[aria-current="page"] { box-shadow: none; padding-left: 0; color: var(--gold-bright); }
  .site-nav a::after { content: ""; position: absolute; left: 0; width: 100%; height: 0; bottom: 6px; background: var(--white); transition: height .2s; }
  .site-nav a:hover::after { height: 2px; }
  .site-nav a[aria-current="page"]::after { height: 3px; background: var(--gold-bright); }
}
@media (min-width: 1200px) {
  h1 { font-size: 55px; }                           /* smhs.org h1 55px */
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .bio-facts:has(li:nth-child(4)) { grid-template-columns: repeat(4, auto); }
  .stat-list { grid-template-columns: repeat(3, 1fr); }
  .hero-mark { width: 130px; height: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .table-wrap { overflow: visible; }
  .site-header, .site-footer, .pager, .breadcrumb { display: none !important; }
  .bio-hero, .hero { background: none; color: #000; }
  .bio-heading h1, .hero h1 { color: #000; }
}

/* Year badge on card thumbnails: hidden for now, markup kept for possible later use. Remove this rule to show it again. */
.card-badge { display: none; }
