/* ============================================================================
   El Segundo Boys Basketball
   Collegiate athletics layout. Design tokens live in :root — change a value
   here and it updates site-wide.
   ========================================================================== */

:root {
  /* Brand — taken from the team's actual Under Armour uniforms */
  --navy:        #0c1c38;
  --navy-deep:   #060f1f;
  --navy-mid:    #16304f;
  --navy-line:   #1e3a5c;
  --gold:        #c9b072;   /* vegas gold */
  --gold-bright: #ddc78f;
  --gold-lite:   #e2d3a6;
  --gold-deep:   #9c854a;

  /* Neutrals */
  --ink:         #10151d;
  --body:        #414b58;
  --muted:       #6d7887;
  --line:        #dfe4ea;
  --line-soft:   #eef1f5;
  --surface:     #ffffff;
  --canvas:      #f4f6f8;

  /* Status */
  --alert:       #b3261e;
  --alert-bg:    #fdf2f1;
  --event:       #7a6420;
  --event-bg:    #fbf6e8;
  --win:         #1c7a45;
  --loss:        #b3261e;

  /* Type */
  --display: "Oswald", "Haettenschweiler", "Arial Narrow", Impact, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(12,28,56,.06), 0 8px 24px rgba(12,28,56,.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; margin: 0 0 .5em; }

a { color: var(--navy-mid); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Shared display treatment: condensed, uppercase, athletic */
.display {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}

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

/* ---------- Utility bar --------------------------------------------------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.62);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-height: 34px; flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.62); text-decoration: none; }
.topbar a:hover { color: var(--gold); }

/* ---------- Masthead ------------------------------------------------------ */
.masthead { background: var(--navy); border-bottom: 1px solid var(--navy-line); }

.masthead__inner {
  display: flex; align-items: center; gap: 18px;
  padding-top: 20px; padding-bottom: 20px;
}

.crest {
  flex: 0 0 auto; width: 60px; height: 60px;
  display: grid; place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--display); font-weight: 700; font-size: 22px;
  letter-spacing: .04em;
}

.masthead__text { min-width: 0; }

.masthead__school {
  margin: 0;
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}

.masthead__title {
  font-family: var(--display);
  margin: 3px 0 0;
  font-size: clamp(26px, 4.4vw, 40px); font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1;
}

.masthead__meta {
  margin: 6px 0 0;
  font-size: 12px; color: rgba(255,255,255,.55);
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}

/* ---------- Primary nav / tabs -------------------------------------------- */
.tabs {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy-deep);
  border-bottom: 3px solid var(--gold);
}

.tabs__list {
  display: flex; gap: 0;
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }

.tab {
  appearance: none; border: 0; background: none;
  font-family: var(--display);
  font-size: 15px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  padding: 16px 22px;
  cursor: pointer; white-space: nowrap;
  position: relative;
  transition: color .15s, background .15s;
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: transparent; transition: background .15s;
}
.tab:hover { color: #fff; background: rgba(255,255,255,.06); }
.tab:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.tab[aria-selected="true"] { color: #fff; background: rgba(201,176,114,.13); }
.tab[aria-selected="true"]::after { background: #fff; }

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.hero__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 32%;
}

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,15,31,.88) 0%, rgba(6,15,31,.55) 48%, rgba(6,15,31,.18) 100%),
    linear-gradient(0deg, rgba(6,15,31,.82) 0%, rgba(6,15,31,0) 58%);
}

.hero__inner {
  position: relative;
  padding-top: 76px; padding-bottom: 40px;
  min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
}

.hero--plain .hero__inner { min-height: 190px; padding-top: 44px; }

.hero__eyebrow {
  margin: 0 0 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  font-family: var(--display);
  margin: 0;
  font-size: clamp(32px, 6.4vw, 62px); font-weight: 700; line-height: .95;
  color: #fff; text-transform: uppercase; letter-spacing: .01em;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}

.hero__meta {
  margin: 12px 0 0;
  font-size: 13px; color: rgba(255,255,255,.78);
  letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}

.hero__credit {
  position: absolute; right: 14px; bottom: 8px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ---------- Score strip --------------------------------------------------- */
.strip { background: var(--navy-mid); border-bottom: 1px solid var(--navy-line); }

.strip__inner {
  display: flex; align-items: stretch; gap: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.strip__inner::-webkit-scrollbar { display: none; }

.strip__label {
  flex: 0 0 auto;
  align-self: stretch;
  display: flex; align-items: center;
  padding: 14px 20px 14px 0;
  margin-right: 20px;
  border-right: 1px solid var(--navy-line);
  font-family: var(--display);
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.gamecard {
  flex: 0 0 auto;
  padding: 12px 22px 12px 0;
  margin-right: 22px;
  border-right: 1px solid rgba(255,255,255,.08);
  min-width: 150px;
  color: #fff;
}
.gamecard:last-child { border-right: 0; }

.gamecard__date {
  display: block;
  font-family: var(--display);
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.gamecard__opp {
  display: block;
  font-size: 15px; font-weight: 700; color: #fff;
  margin-top: 2px; white-space: nowrap;
}
.gamecard__meta {
  display: block;
  font-size: 12px; color: rgba(255,255,255,.6);
  letter-spacing: .04em; margin-top: 1px;
}

/* ---------- Panels -------------------------------------------------------- */
main { padding: 34px 0 70px; }
.panel[hidden] { display: none; }
.panel { animation: fade .22s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel { animation: none; }
}

/* ---------- Section ------------------------------------------------------- */
.section { margin-bottom: 40px; }

.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section__head::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px;
  background: var(--gold);
}

.section__title {
  font-family: var(--display);
  margin: 0;
  font-size: 24px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: var(--navy);
}

.section__sub {
  margin: 0; font-size: 12px; color: var(--muted);
  letter-spacing: .09em; text-transform: uppercase; font-weight: 600;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Coach card ---------------------------------------------------- */
.coach {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  padding: 26px;
  align-items: start;
}
.coach > div { min-width: 0; }

.coach__photo {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
  background: var(--navy);
  border-bottom: 4px solid var(--gold);
}

.coach__name {
  font-family: var(--display);
  margin: 0; font-size: 30px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .02em; overflow-wrap: anywhere;
}

.coach__title {
  margin: 2px 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep);
}

.coach__bio { margin: 0 0 18px; }

.coach__contact { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
  max-width: 100%; overflow-wrap: anywhere; text-align: left;
}

.btn--mail { background: var(--navy); color: #fff; }
.btn--mail:hover { background: var(--navy-mid); }

.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }

/* ---------- Photo gallery ------------------------------------------------- */
.gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.shot {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}

.shot img {
  display: block; width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover; object-position: center 18%;
  transition: transform .35s ease;
}
.shot:hover img { transform: scale(1.03); }

.shot__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(0deg, rgba(6,15,31,.92) 20%, rgba(6,15,31,0) 100%);
  display: flex; align-items: baseline; gap: 9px;
}

.shot__num {
  font-family: var(--display);
  font-size: 27px; font-weight: 700; line-height: 1;
  color: var(--gold);
}

.shot__name {
  font-family: var(--display);
  font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: #fff;
}
.shot__name--todo { color: rgba(255,255,255,.5); font-style: normal; }

.shot--wide { grid-column: span 2; }
.shot--wide img { aspect-ratio: 3 / 2; object-position: center center; }

@media (max-width: 520px) {
  .shot--wide { grid-column: span 1; }
  .shot--wide img { aspect-ratio: 3 / 4; }
}

/* ---------- Announcements ------------------------------------------------- */
.announcements { display: grid; gap: 12px; }

.ann { padding: 20px 22px; border-left: 4px solid var(--navy); }
.ann--alert { border-left-color: var(--alert); background: var(--alert-bg); }
.ann--event { border-left-color: var(--gold); background: var(--event-bg); }

.ann__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; }

.ann__date {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

.pill {
  font-family: var(--display);
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px;
  background: var(--navy); color: #fff;
}
.pill--alert { background: var(--alert); }
.pill--event { background: var(--gold-deep); color: #fff; }
.pill--team  { background: var(--navy-mid); }

.ann__title {
  font-family: var(--display);
  margin: 0 0 7px; font-size: 20px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em;
}
.ann__body { margin: 0; font-size: 15px; }

/* ---------- Weekly schedule ---------------------------------------------- */
.week { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); }
.day__what, .day__where { overflow-wrap: anywhere; }

.day {
  padding: 15px;
  min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
  border-top: 3px solid var(--navy);
}

.day--off { background: var(--line-soft); border-top-color: var(--line); }

.day__name {
  font-family: var(--display);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
}
.day__date { font-size: 12px; color: var(--muted); margin-bottom: 6px; }

.day__slot { display: flex; flex-direction: column; gap: 2px; }
.day__slot--more { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.day__slot--off .day__what, .day__slot--off .day__time { color: var(--muted); font-weight: 600; }

.day__what { font-size: 15px; font-weight: 700; color: var(--ink); }
.day__time { font-size: 14px; color: var(--body); }
.day__where { font-size: 13px; color: var(--muted); }

.day__team {
  align-self: flex-start; margin-bottom: 3px;
  font-family: var(--display);
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 1px 8px;
  background: var(--navy); color: var(--gold);
}

.day--off .day__what, .day--off .day__time { color: var(--muted); font-weight: 600; }

/* ---------- Schedule tables ---------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }

table.sched { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 15px; }

table.sched th {
  text-align: left;
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 12px 15px;
  white-space: nowrap;
}

table.sched td { padding: 13px 15px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.sched tbody tr:last-child td { border-bottom: 0; }
table.sched tbody tr:hover { background: #fafbfc; }

.tr-next { background: var(--event-bg) !important; }
.tr-next td { border-bottom-color: var(--line); }
.tr-past td { color: var(--muted); }

.td-date { white-space: nowrap; font-weight: 700; color: var(--ink); }
.td-date .dow {
  display: block; font-weight: 600; font-size: 11px; color: var(--muted);
  letter-spacing: .1em; text-transform: uppercase;
}
.td-opp { font-weight: 700; color: var(--ink); }
.td-time { white-space: nowrap; }
.td-loc { color: var(--muted); font-size: 14px; }

.ha {
  display: inline-block; min-width: 28px; text-align: center;
  font-family: var(--display);
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  padding: 4px 8px;
  background: var(--line-soft); color: var(--navy);
}
.ha--h { background: var(--navy); color: #fff; }
.ha--n { background: var(--gold); color: var(--navy-deep); }

.tag {
  font-family: var(--display);
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

.result { font-weight: 800; }
.result--w { color: var(--win); }
.result--l { color: var(--loss); }

.next-flag {
  display: inline-block; margin-left: 9px;
  font-family: var(--display);
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 8px;
  background: var(--gold); color: var(--navy-deep);
  vertical-align: 2px;
}

.legend {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: 12px; font-size: 13px; color: var(--muted);
}
.legend span { display: inline-flex; align-items: center; gap: 7px; }

/* Fall schedule specifics */
table.sched--fall td { font-size: 14px; }
table.sched--fall .td-dow {
  font-family: var(--display);
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
table.sched--fall .td-act { font-weight: 700; color: var(--ink); }
table.sched--fall .td-notes { color: var(--muted); font-size: 13px; }

tr.tr-month th {
  background: var(--line-soft);
  color: var(--navy);
  font-family: var(--display);
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

tr.tr-off td { background: #fafbfc; }
tr.tr-off .td-act { color: var(--muted); font-weight: 600; }
tr.tr-event .td-act { color: var(--navy); }
tr.tr-event td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
tr.tr-today td { background: var(--event-bg); }
tr.tr-today .td-date { color: var(--navy); }

/* ---------- Notes --------------------------------------------------------- */
.note {
  margin: 0 0 14px;
  padding: 11px 15px;
  border-left: 4px solid var(--gold);
  background: var(--event-bg);
  font-size: 13px;
  color: var(--event);
}
.note--info { border-left-color: var(--navy-mid); background: #eff3f8; color: var(--navy-mid); }

/* ---------- Team quick links --------------------------------------------- */
.teamlinks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 34px; }

.teamlink {
  display: block; padding: 20px 22px;
  text-decoration: none; color: inherit;
  cursor: pointer; text-align: left; width: 100%;
  font-family: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.teamlink:hover { transform: translateY(-2px); box-shadow: 0 6px 26px rgba(12,28,56,.14); }

.teamlink__name {
  font-family: var(--display);
  font-size: 21px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  color: var(--navy); margin: 0 0 3px;
}
.teamlink__meta { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Footer -------------------------------------------------------- */
.foot {
  background: var(--navy-deep);
  color: rgba(255,255,255,.62);
  border-top: 3px solid var(--gold);
  padding: 34px 0 30px;
  font-size: 14px;
}
.foot a { color: var(--gold); }
.foot p { margin: 0 0 6px; }
.foot__name {
  font-family: var(--display);
  font-size: 19px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: #fff; margin-bottom: 8px;
}
.foot__note { font-size: 12px; color: rgba(255,255,255,.42); margin-top: 14px; }

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 760px) {
  .coach { grid-template-columns: 1fr; gap: 20px; }
  .coach__photo { max-width: 210px; }
  .tab { padding: 14px 15px; font-size: 14px; }
  .crest { width: 48px; height: 48px; font-size: 18px; }
  .hero__inner { padding-top: 52px; min-height: 230px; }
  table.sched { font-size: 14px; }
  table.sched td, table.sched th { padding: 11px 12px; }
}

@media print {
  .tabs, .skip, .teamlinks, .strip, .topbar, .hero { display: none; }
  .panel[hidden] { display: block !important; }
  body { background: #fff; }
}

/* ---------- Coach honors -------------------------------------------------- */
.honors { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }

.honors__item {
  display: flex; align-items: baseline; gap: 9px;
  font-size: 14px; font-weight: 600; color: var(--navy);
}
.honors__star { color: var(--gold); font-size: 13px; line-height: 1; }

/* ---------- Assistant / staff cards --------------------------------------- */
.staff__heading {
  font-family: var(--display);
  margin: 26px 0 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}

.staff { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

.staff__card { padding: 16px 18px; border-left: 3px solid var(--gold); }

.staff__name {
  font-family: var(--display);
  margin: 0; font-size: 19px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .03em; color: var(--navy);
}

.staff__role {
  margin: 1px 0 0;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}

.staff__mail {
  display: inline-block; margin-top: 8px;
  font-size: 13px; color: var(--navy-mid); overflow-wrap: anywhere;
}

/* ---------- Championship banners ------------------------------------------ */
.banners { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.banner {
  position: relative;
  padding: 22px 22px 30px;
  background: var(--navy);
  color: #fff;
  border-top: 4px solid var(--gold);
  /* Notched foot, the way a championship banner hangs in the rafters */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 16px), 0 100%);
}

.banner--cif    { background: var(--navy-deep); }
.banner--final  { background: var(--navy-mid); }
.banner--league { background: var(--navy); }

.banner__kind {
  font-family: var(--display);
  margin: 0 0 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}

.banner__years { margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }

.banner__year {
  font-family: var(--display);
  font-size: 20px; font-weight: 600; letter-spacing: .02em;
  color: #fff;
  padding: 3px 10px;
  border: 1px solid rgba(201,176,114,.45);
}

.banner__count {
  margin: 14px 0 0;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  color: rgba(255,255,255,.45);
}

/* ---------- Staff group photo --------------------------------------------- */
.staffphoto { margin: 0 0 22px; max-width: 430px; }

.staffphoto img {
  display: block; width: 100%; height: auto;
  background: var(--navy);
  border-bottom: 4px solid var(--gold);
}

.staffphoto__cap {
  margin-top: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Showcase band (full-width photo strip under the banner) --------
   A sideways scroller rather than a grid, so the roster can grow without the
   last photo stranding itself alone on a second row. */
.showcase {
  position: relative;
  background: var(--navy-deep);
  border-bottom: 3px solid var(--gold);
}

/* Hints that there is more to the right */
.showcase::after {
  content: "";
  position: absolute; right: 0; bottom: 3px; width: 56px; height: 100%;
  max-height: 78%;
  background: linear-gradient(90deg, rgba(6,15,31,0), rgba(6,15,31,.9));
  pointer-events: none;
}

.showcase__head {
  padding-top: 16px; padding-bottom: 12px;
}

.showcase__title {
  font-family: var(--display);
  margin: 0;
  font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 14px;
}
.showcase__title::after {
  content: ""; flex: 1 1 auto; height: 1px;
  background: rgba(201,176,114,.28);
}

.showcase__grid {
  display: flex;
  gap: 0;
  padding-left: 0; padding-right: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.showcase__grid::-webkit-scrollbar { display: none; }

.showcase__item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(148px, 16vw, 188px);
  overflow: hidden;
  scroll-snap-align: start;
  border-right: 1px solid rgba(255,255,255,.07);
}
.showcase__item:last-child { border-right: 0; }

.showcase__item img {
  display: block; width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover; object-position: center 12%;
  filter: saturate(.92);
  transform: scale(var(--zoom, 1));
  transition: transform .4s ease, filter .3s ease;
}
.showcase__item:hover img {
  transform: scale(calc(var(--zoom, 1) * 1.04));
  filter: saturate(1);
}

.showcase__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 14px 13px;
  background: linear-gradient(0deg, rgba(6,15,31,.95) 18%, rgba(6,15,31,0) 100%);
  display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
}

.showcase__num {
  font-family: var(--display);
  font-size: 27px; font-weight: 700; line-height: 1;
  color: var(--gold);
}

.showcase__name {
  font-family: var(--display);
  font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: #fff;
}

@media (max-width: 620px) {
  .showcase__item { width: 132px; }
  .showcase__cap { padding: 30px 10px 10px; }
  .showcase__num { font-size: 21px; }
  .showcase__name { font-size: 11px; }
}
}

/* ---------- Program contact ----------------------------------------------- */
.contact { padding: 24px 26px; border-left: 4px solid var(--gold); }

.contact__note { margin: 0 0 16px; max-width: 62ch; }
