/* Base styles for the Yale Men's Water Polo site (extracted from the original single page). */
    :root {
      --yale: #00356B;
      --yale-mid: #1a4d8a;
      --yale-light: #286DC0;
      --white: #ffffff;
      --off: rgba(255,255,255,0.55);
      --dim: rgba(255,255,255,0.15);
      --border: rgba(255,255,255,0.09);
      --blue-border: rgba(0,53,107,0.45);
    }

    * {
      padding: 0;
      margin: 0;
      box-sizing: border-box;
      -webkit-font-smoothing: antialiased;
      -webkit-text-size-adjust: 100%;
      scrollbar-width: none;
    }
    *::-webkit-scrollbar { display: none; }

    html { scroll-behavior: smooth; }

    body {
      background-color: #000;
      color: #fff;
      font-family: 'Inter', Arial, sans-serif;
      font-size: 14px;
      line-height: 20px;
      margin: 0;
    }

    /* ─── NAV ─────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 200;
      /* explicit columns so the links stay centred in the bar whether or not
         .nav-right is hidden at mobile widths */
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 14px 40px;
      background: var(--yale);
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-logo {
      grid-column: 1;
      justify-self: start;
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: #fff;
    }

    .nav-logo-img {
      width: 38px;
      height: 38px;
      object-fit: contain;
      filter: brightness(0) invert(1);
      display: block;
    }

    .nav-wordmark {
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 500;
      opacity: 0.8;
      white-space: nowrap;
    }

    /* The cluster stays centred at every width — tighten its gaps as the bar
       narrows so it keeps clear of the wordmark instead of falling back. */
    @media (max-width: 1180px) {
      .nav-links { gap: 22px; }
      .nav-right { gap: 24px; }
    }

    @media (max-width: 1000px) {
      nav { padding: 14px 20px; }
      .nav-links { gap: 15px; }
      .nav-right { gap: 16px; }
      .nav-archive-link { padding: 6px 10px; }
      .nav-contact { padding: 8px 11px; }
      /* drop the wordmark so the centred cluster keeps its clearance */
      .nav-wordmark { display: none; }
    }

    .nav-right {
      grid-column: 2;
      justify-self: center;
      display: flex;
      align-items: center;
      gap: 36px;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      color: rgba(255,255,255,0.75);
      text-decoration: none;
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      font-weight: 500;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: #fff; }

    /* Distinguish the Archives nav entry — it leaves the page, unlike the other same-page links */
    .nav-archive-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: rgba(255,255,255,0.9) !important;
      border: 1px solid rgba(255,255,255,0.4);
      border-radius: 999px;
      padding: 6px 14px;
      transition: border-color 0.2s, background 0.2s, color 0.2s;
    }

    .nav-archive-link:hover {
      border-color: rgba(255,255,255,0.85);
      background: rgba(255,255,255,0.1);
    }

    .nav-archive-link svg {
      width: 10px;
      height: 10px;
      flex-shrink: 0;
    }

    .nav-mobile-link.nav-archive-link {
      display: inline-flex;
      width: auto;
      margin-top: 14px;
      padding: 10px 18px;
      font-size: 12px;
      border-bottom: none;
    }

    .nav-contact {
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      font-weight: 600;
      color: rgba(255,255,255,0.9);
      text-decoration: none;
      padding: 8px 16px;
      border: 1px solid rgba(255,255,255,0.45);
      transition: border-color 0.2s, background 0.2s;
    }

    .nav-contact:hover {
      border-color: rgba(255,255,255,0.9);
      background: rgba(255,255,255,0.1);
    }

    /* ─── HERO ────────────────────────────── */
    .hero {
      position: relative;
      height: 100vh;
      min-height: 600px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 0 40px 0;
      padding-bottom: 24px;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('Roster%20Photos/2025-26%20FirstPhotos/TeamPic.JPG');
      background-size: cover;
      background-position: center 82%;
    }

    .hero-bg::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.75) 25%,
        rgba(0,0,0,0.35) 55%,
        rgba(0,0,0,0.15) 100%
      );
    }

    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
      opacity: 0.4;
    }

    .hero-scroll {
      position: relative;
      font-size: 9px;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
      margin-bottom: 28px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .hero-scroll::before {
      content: '';
      width: 24px;
      height: 1px;
      background: rgba(255,255,255,0.3);
    }

    .hero-title {
      position: relative;
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(52px, 9.5vw, 130px);
      line-height: 0.92;
      letter-spacing: 0.01em;
      text-transform: uppercase;
      max-width: 860px;
      color: #fff;
      transform: translateY(2.5vh);
    }

    .hero-title em {
      font-style: normal;
      color: #fff;
    }

    .hero-meta {
      position: relative;
      display: flex;
      align-items: center;
      gap: 32px;
      margin-top: 32px;
    }

    .hero-badge {
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      border-left: 2px solid var(--yale-light);
      padding-left: 12px;
      line-height: 1.5;
    }

    /* ─── ABOUT ───────────────────────────── */
    .about {
      background:
        radial-gradient(ellipse 70% 90% at 0% 50%, rgba(0,53,107,0.38) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 5% 80%, rgba(0,53,107,0.2) 0%, transparent 55%),
        #000;
      padding: 90px 40px 60px;
    }

    .about-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      max-width: 1200px;
    }

    .section-label {
      font-size: 9px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      margin-bottom: 28px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .section-label::before {
      content: '';
      width: 20px;
      height: 1px;
      background: var(--yale-light);
    }

    .about-text p {
      font-size: 14px;
      line-height: 1.8;
      color: rgba(255,255,255,0.6);
      margin-bottom: 18px;
      font-weight: 300;
    }

    .about-text p strong {
      color: rgba(255,255,255,0.85);
      font-weight: 500;
    }

    .about-right {
      position: relative;
      overflow: hidden;
      min-height: 320px;
    }

    .about-right img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      position: absolute;
      inset: 0;
    }

    .about-right::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 50%),
        linear-gradient(to right, rgba(0,0,0,0.25) 0%, transparent 40%);
      pointer-events: none;
    }

    /* ─── STATS ───────────────────────────── */
    .stats {
      display: flex;
      align-items: stretch;
      background: var(--yale);
      border-top: 1px solid rgba(255,255,255,0.12);
      border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .stat-item {
      flex: 1;
      padding: 36px 32px;
      border-right: 1px solid rgba(255,255,255,0.12);
      transition: background 0.3s;
    }

    .stat-item:last-child { border-right: none; }
    .stat-item:hover { background: rgba(255,255,255,0.06); }

    .stat-number {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 44px;
      line-height: 1;
      letter-spacing: 0.02em;
      color: #fff;
      display: flex;
      align-items: flex-start;
      gap: 1px;
    }

    .stat-sup {
      font-family: 'Inter', sans-serif;
      font-size: 20px;
      font-weight: 300;
      margin-top: 4px;
    }

    .stat-label {
      font-size: 9px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.5);
      margin-top: 8px;
      line-height: 1.6;
    }

    /* ─── DARK BREAK ──────────────────────── */
    .dark-break {
      height: 70vh;
      background: #000;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .dark-break-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(0,53,107,0.45) 0%, transparent 70%),
        #000;
    }

    .dark-break-text {
      position: relative;
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(60px, 14vw, 200px);
      color: rgba(0,53,107,0.18);
      letter-spacing: 0.05em;
      text-transform: uppercase;
      user-select: none;
      text-align: center;
    }

    .dark-break-label {
      position: absolute;
      bottom: 48px;
      left: 40px;
      right: 40px;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
    }

    .dark-break-tag {
      font-size: 9px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.25);
    }

    .dark-break-cta {
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      border-bottom: 1px solid var(--yale-light);
      padding-bottom: 2px;
      transition: color 0.2s, border-color 0.2s;
    }

    .dark-break-cta:hover {
      color: #fff;
      border-color: rgba(255,255,255,0.6);
    }

    /* ─── ROSTER ──────────────────────────── */
    .roster {
      background: #000;
      padding: 60px 40px 80px;
    }

    .roster-top-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 40px;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--border);
    }

    .roster-tabs {
      display: flex;
      gap: 28px;
      align-items: center;
    }

    .roster-tab {
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      cursor: pointer;
      padding-bottom: 4px;
      border-bottom: 1px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }

    .roster-tab.active {
      color: #fff;
      border-bottom-color: var(--yale-light);
    }

    .roster-tab:hover { color: rgba(255,255,255,0.7); }

    .roster-season {
      font-size: 10px;
      letter-spacing: 0.12em;
      color: rgba(255,255,255,0.25);
      text-transform: uppercase;
    }

    /* ─── ROSTER TWO-PANEL LAYOUT ─────────── */
    .roster-layout {
      display: grid;
      grid-template-columns: 240px 1fr;
      gap: 52px;
      align-items: start;
    }

    .roster-featured {
      position: sticky;
      top: 76px;
      min-width: 0;
    }

    .featured-frame {
      width: 100%;
      aspect-ratio: 4/6;
      background: rgba(0,53,107,0.12);
      border: 1px solid rgba(0,53,107,0.4);
      overflow: hidden;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .featured-frame::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 35%;
      background: linear-gradient(to top, rgba(0,20,50,0.65), transparent);
      pointer-events: none;
      z-index: 2;
    }

    .featured-img-el {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      transition: opacity 0.2s ease;
      position: absolute;
      inset: 0;
    }

    .featured-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      height: 100%;
    }

    .featured-placeholder svg {
      width: 36px;
      height: 36px;
      opacity: 0.1;
    }

    .featured-placeholder-text {
      font-size: 9px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.15);
    }

    .featured-label {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid rgba(255,255,255,0.06);
    }

    .featured-name {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 20px;
      letter-spacing: 0.04em;
      color: #fff;
      display: block;
      line-height: 1.1;
    }

    .featured-sub {
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      margin-top: 4px;
      display: block;
    }

    /* ── PLAYER BIO (under featured picture) ─── */
    .featured-bio {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid rgba(255,255,255,0.06);
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-width: 100%;
      overflow-wrap: break-word;
      word-break: break-word;
    }

    .bio-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
    }

    .bio-stat {
      display: flex;
      flex-direction: column;
      gap: 3px;
      min-width: 0;
      max-width: 100%;
    }

    .bio-stat-label {
      font-size: 9px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
    }

    .bio-stat-value {
      font-size: 13px;
      font-weight: 500;
      color: rgba(255,255,255,0.85);
      overflow-wrap: break-word;
      word-break: break-word;
    }

    .bio-fact {
      font-size: 12px;
      line-height: 1.6;
      font-style: italic;
      color: rgba(255,255,255,0.55);
      max-width: 100%;
      overflow-wrap: break-word;
      word-break: break-word;
      padding-left: 10px;
      border-left: 2px solid var(--yale-light);
    }

    /* ── CAROUSEL CONTROLS ─────────────────── */
    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      background: rgba(0,0,0,0.45);
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 50%;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease, background 0.2s ease;
    }
    .carousel-btn svg {
      width: 14px;
      height: 14px;
      stroke: rgba(255,255,255,0.85);
      stroke-width: 2;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .carousel-btn.prev { left: 10px; }
    .carousel-btn.next { right: 10px; }
    .carousel-btn.visible { opacity: 1; pointer-events: auto; }
    .carousel-btn:hover { background: rgba(0,0,0,0.72); }
    .carousel-btn:active { transform: translateY(-50%) scale(0.92); }

    .carousel-dots {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      gap: 5px;
      align-items: center;
    }
    .carousel-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(255,255,255,0.3);
      cursor: pointer;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .carousel-dot.active {
      background: rgba(255,255,255,0.9);
      transform: scale(1.4);
    }

    .roster-table {
      min-width: 0;
    }

    /* column headers — 4 cols (no photo, no position) */
    .roster-cols {
      display: grid;
      grid-template-columns: 2fr 50px 130px 1fr;
      padding: 0 8px 10px;
      border-bottom: 1px solid rgba(255,255,255,0.12);
      margin-bottom: 0;
      align-items: center;
    }

    .roster-cols span {
      font-size: 9px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.25);
    }

    .roster-row {
      display: grid;
      grid-template-columns: 2fr 50px 130px 1fr;
      align-items: center;
      padding: 11px 8px;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      cursor: pointer;
      transition: background 0.15s, padding-left 0.15s;
    }

    .roster-row:hover, .roster-row.active {
      background: rgba(0,53,107,0.14);
      padding-left: 14px;
    }

    .player-name {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #fff;
    }

    .player-num {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 20px;
      color: rgba(255,255,255,0.15);
      letter-spacing: 0.02em;
    }

    .player-year {
      font-size: 11px;
      color: rgba(255,255,255,0.4);
      font-weight: 300;
    }

    .player-pos {
      font-size: 11px;
      color: rgba(255,255,255,0.4);
      font-weight: 300;
    }

    .player-hometown {
      font-size: 11px;
      color: rgba(255,255,255,0.35);
      font-weight: 300;
    }

    /* position badge */
    .pos-badge {
      display: inline-flex;
      align-items: center;
      height: 18px;
      padding: 0 7px;
      font-size: 9px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      background: rgba(255,255,255,0.06);
      color: rgba(255,255,255,0.45);
    }

    .pos-badge.gk {
      background: rgba(0,53,107,0.55);
      color: rgba(255,255,255,0.85);
      border: 1px solid rgba(40,109,192,0.4);
    }

    /* ─── VIEW TOGGLE ─────────────────────── */
    .view-toggle {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      user-select: none;
    }

    .view-toggle-icon {
      display: flex;
      gap: 3px;
      opacity: 0.3;
      transition: opacity 0.2s;
    }

    .view-toggle:hover .view-toggle-icon { opacity: 0.7; }
    .view-toggle.grid-active .view-toggle-icon { opacity: 1; }

    .view-toggle-icon span {
      display: block;
      width: 4px;
      height: 4px;
      background: #fff;
    }

    /* ─── ROSTER GRID VIEW ─────────────────── */
    .roster-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 2px;
    }

    .rc {
      position: relative;
      cursor: pointer;
      overflow: hidden;
      background: rgba(0,53,107,0.08);
    }

    .rc-photo {
      position: relative;
      width: 100%;
      aspect-ratio: 3 / 4;
      overflow: hidden;
    }

    .rc-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
      transition: transform 0.4s ease;
    }

    @media (hover: hover) {
      .rc:hover .rc-photo img { transform: scale(1.04); }
    }

    .rc-photo-swappable { cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .rc-photo-swappable:focus-visible { outline: 2px solid var(--yale-light); outline-offset: -2px; }

    .rc-dots {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 10px;
      display: flex;
      justify-content: center;
      gap: 6px;
      pointer-events: none;
    }

    .rc-dots i {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(255,255,255,0.4);
    }

    .rc-dots i.on { background: #fff; }

    .rc-photo-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,53,107,0.12);
    }

    .rc-photo-placeholder svg {
      width: 28px;
      height: 28px;
      opacity: 0.15;
    }

    .rc-photo-name {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: var(--yale);
      text-align: center;
    }

    .rc-photo-name span {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 34px;
      line-height: 1;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: #fff;
    }

    .rc-photo-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
      pointer-events: none;
    }

    .rc-num-badge {
      position: absolute;
      top: 10px;
      left: 12px;
      font-family: 'Bebas Neue', sans-serif;
      font-size: 28px;
      color: rgba(255,255,255,0.18);
      line-height: 1;
      letter-spacing: 0.02em;
    }

    .rc-info {
      padding: 12px 14px 16px;
      border-top: 1px solid rgba(255,255,255,0.05);
    }

    .rc-info-num {
      font-size: 9px;
      letter-spacing: 0.18em;
      color: rgba(255,255,255,0.3);
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .rc-info-name {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 17px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #fff;
      line-height: 1.1;
      display: block;
    }

    .rc-info-year {
      font-size: 10px;
      color: rgba(255,255,255,0.35);
      font-weight: 300;
      margin-top: 3px;
      display: block;
      letter-spacing: 0.06em;
    }

    /* ─── COACHES TABLE ───────────────────── */
    .coaches-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      margin-top: 0;
    }

    .coach-card {
      background: #000;
      padding: 32px 28px;
      transition: background 0.2s;
    }

    .coach-card:hover { background: rgba(0,53,107,0.06); }

    .coach-photo {
      aspect-ratio: 4 / 5;
      max-width: 320px;
      margin-bottom: 24px;
      overflow: hidden;
      background: #0a0a0a;
      box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 18px 36px -18px rgba(0,53,107,0.55);
    }

    .coach-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 30%;
      display: block;
    }

    .coach-role {
      font-size: 9px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.25);
      margin-bottom: 10px;
    }

    .coach-name {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 24px;
      color: #fff;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }

    .coach-detail {
      font-size: 11px;
      color: rgba(255,255,255,0.35);
      margin-top: 6px;
    }

    /* ─── FAQ ACCORDION ───────────────────── */
    .faq-list {
      margin-top: 48px;
      border-top: 1px solid rgba(255,255,255,0.1);
    }

    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding: 20px 0;
      width: 100%;
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      text-align: left;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      transition: color 0.15s;
    }

    .faq-question:hover { color: rgba(255,255,255,0.7); }

    .faq-chevron {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      opacity: 0.35;
      transition: transform 0.28s ease, opacity 0.2s;
    }

    .faq-item.open .faq-chevron {
      transform: rotate(180deg);
      opacity: 0.65;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.38s ease;
    }

    .faq-item.open .faq-answer { max-height: 400px; }

    .faq-answer-inner {
      padding: 0 0 20px 0;
      font-size: 13px;
      line-height: 1.8;
      color: rgba(255,255,255,0.5);
      font-weight: 300;
      max-width: 620px;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin-top: 40px;
    }

    .contact-block-label {
      font-size: 9px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      margin-bottom: 10px;
    }

    .contact-block-value {
      font-size: 14px;
      color: rgba(255,255,255,0.75);
      font-weight: 300;
      line-height: 1.7;
    }

    .contact-block-value a {
      color: rgba(255,255,255,0.75);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .contact-block-value a:hover { color: #fff; }

    /* ─── FULL SECTION ────────────────────── */
    .full-section {
      background:
        radial-gradient(ellipse 90% 60% at 50% 100%, rgba(0,53,107,0.32) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 10% 20%, rgba(0,53,107,0.15) 0%, transparent 60%),
        #060d18;
      padding: 100px 40px;
      position: relative;
      overflow: hidden;
      border-top: 1px solid var(--border);
    }

    .full-section-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 90% 60% at 50% 100%, rgba(0,53,107,0.32) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 10% 20%, rgba(0,53,107,0.15) 0%, transparent 60%),
        #060d18;
      pointer-events: none;
    }

    .full-section-inner {
      position: relative;
      max-width: 800px;
    }

    .full-section-tag {
      font-size: 9px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      margin-bottom: 32px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .full-section-tag::before {
      content: '';
      width: 20px;
      height: 1px;
      background: var(--yale-light);
    }

    .full-section-heading {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(32px, 5vw, 72px);
      line-height: 1;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: #fff;
      margin-bottom: 32px;
    }

    .full-section-body {
      font-size: 14px;
      line-height: 1.8;
      color: rgba(255,255,255,0.5);
      max-width: 540px;
      font-weight: 300;
    }

    .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-top: 40px;
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 600;
      color: #fff;
      text-decoration: none;
      border: 1px solid rgba(40,109,192,0.6);
      padding: 14px 24px;
      background: rgba(0,53,107,0.2);
      transition: border-color 0.2s, background 0.2s;
    }

    .cta-btn:hover {
      border-color: var(--yale-light);
      background: rgba(0,53,107,0.4);
    }

    .cta-btn svg {
      width: 14px;
      height: 14px;
      opacity: 0.6;
    }

    /* ─── FOOTER ──────────────────────────── */
    footer {
      background: var(--yale);
      border-top: 1px solid rgba(255,255,255,0.12);
      padding: 64px 40px 36px;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 64px;
    }

    .footer-tagline {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(28px, 4vw, 56px);
      line-height: 1.0;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      max-width: 580px;
      color: rgba(255,255,255,0.9);
    }

    .footer-logo-big {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 120px;
      color: rgba(255,255,255,0.06);
      letter-spacing: -0.03em;
      line-height: 1;
      user-select: none;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,0.12);
    }

    .footer-copy {
      font-size: 10px;
      color: rgba(255,255,255,0.35);
      letter-spacing: 0.08em;
    }

    .footer-socials {
      display: flex;
      gap: 24px;
    }

    .footer-socials a {
      font-size: 15px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-socials a:hover { color: rgba(255,255,255,0.9); }

    /* ─── ANNOUNCEMENTS ──────────────────── */
    .announcements {
      background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0,53,107,0.28) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 0% 100%, rgba(0,53,107,0.18) 0%, transparent 60%),
        #060d18;
      padding: 80px 40px;
      border-top: 1px solid rgba(0,53,107,0.3);
    }

    .announcements-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 48px;
    }

    .announcements-title {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(36px, 5vw, 64px);
      letter-spacing: 0.02em;
      line-height: 0.95;
    }

    .announcement-card {
      display: grid;
      grid-template-columns: 48% 1fr;
      gap: 56px;
      border: 1px solid rgba(255,255,255,0.07);
      background: #060d18;
      overflow: hidden;
    }

    .announcement-img-wrap {
      position: relative;
      overflow: hidden;
      min-height: 600px;
      background: transparent;
    }

    .announcement-img-wrap img {
      width: calc(100% - 56px);
      height: 100%;
      object-fit: contain;
      object-position: center center;
      display: block;
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 56px;
      transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .announcement-card:hover .announcement-img-wrap img {
      transform: scale(1.03);
    }

    .announcement-img-wrap.compact {
      min-height: 480px;
    }

    .announcement-img-wrap.compact img {
      width: calc(100% - 112px);
      left: 56px;
      right: 56px;
      top: 60px;
      bottom: 60px;
      height: calc(100% - 120px);
    }

    .announcement-img-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, transparent 80%, rgba(6,13,24,0.6) 100%);
      pointer-events: none;
    }

    .announcement-body {
      padding: 48px 48px 48px 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .announcement-tag {
      font-size: 9px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--yale-light);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .announcement-tag::before {
      content: '';
      width: 20px;
      height: 1px;
      background: var(--yale-light);
    }

    .announcement-name {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(36px, 4.2vw, 68px);
      line-height: 0.92;
      letter-spacing: 0.02em;
      color: #fff;
      white-space: nowrap;
      overflow-wrap: break-word;
      margin-bottom: 28px;
    }

    /* Headline-style announcements (recaps): long titles that must wrap,
       with a narrower image column so the copy starts further left. */
    .announcement-card.wide-text {
      grid-template-columns: 34% 1fr;
      gap: 40px;
    }

    .announcement-card.wide-text .announcement-body {
      padding: 48px 48px 48px 0;
    }

    .announcement-card.wide-text .announcement-name {
      white-space: normal;
      font-size: clamp(28px, 2.6vw, 46px);
      line-height: 1.04;
    }

    /* Let the photo hug its own aspect ratio at the top of the card instead
       of floating in the middle of a tall, mostly empty column. */
    .announcement-card.wide-text .announcement-img-wrap.compact {
      align-self: start;
      min-height: 0;
      padding: 52px 0 0 56px;
    }

    .announcement-card.wide-text .announcement-img-wrap.compact img {
      position: static;
      width: 100%;
      height: auto;
    }

    .announcement-lead {
      font-size: 13px;
      line-height: 1.85;
      color: rgba(255,255,255,0.65);
      font-weight: 300;
      margin-bottom: 20px;
    }

    .announcement-quote {
      border-left: 2px solid var(--yale-light);
      padding: 12px 0 12px 20px;
      margin: 24px 0;
    }

    .announcement-quote p {
      font-size: 12px;
      line-height: 1.8;
      color: rgba(255,255,255,0.78);
      font-style: italic;
      font-weight: 300;
    }

    .announcement-quote cite {
      display: block;
      margin-top: 8px;
      font-size: 9px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
      font-style: normal;
    }

    /* ─── ANNOUNCEMENT DROPDOWNS ─────────── */
    .announcement-item {
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .announcement-item:first-child {
      border-top: 1px solid rgba(255,255,255,0.1);
    }

    .announcement-toggle {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 20px;
      width: 100%;
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      text-align: left;
      padding: 26px 8px;
      transition: background 0.15s;
    }

    .announcement-toggle:hover {
      background: rgba(0,53,107,0.08);
      padding-left: 14px;
    }

    .announcement-toggle-left {
      display: flex;
      align-items: baseline;
      gap: 24px;
      min-width: 0;
    }

    .announcement-toggle-tag {
      font-size: 9px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--yale-light);
      white-space: nowrap;
      flex-shrink: 0;
    }

    .announcement-toggle-name {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(22px, 3vw, 32px);
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    .announcement-chevron {
      width: 18px;
      height: 18px;
      opacity: 0.35;
      transition: transform 0.28s ease, opacity 0.2s;
      flex-shrink: 0;
    }

    .announcement-item.open .announcement-chevron {
      transform: rotate(180deg);
      opacity: 0.65;
    }

    .announcement-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease;
    }

    .announcement-content .announcement-card {
      margin: 0 0 32px;
    }

    /* ─── SCHEDULE ────────────────────────── */
    .schedule {
      background:
        radial-gradient(ellipse 90% 60% at 50% 100%, rgba(0,53,107,0.32) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 10% 20%, rgba(0,53,107,0.15) 0%, transparent 60%),
        #060d18;
      padding: 80px 40px;
      border-top: 1px solid rgba(0,53,107,0.3);
    }

    .schedule-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 40px;
    }

    .schedule-title {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(36px, 5vw, 64px);
      letter-spacing: 0.02em;
      line-height: 0.95;
    }

    .schedule-season {
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      padding-bottom: 6px;
    }

    /* ─── TOURNAMENT ACCORDION ────────────── */
    .tournament-item {
      border-bottom: 1px solid rgba(255,255,255,0.18);
    }

    .season-block .tournament-item:first-child {
      border-top: 1px solid rgba(255,255,255,0.18);
    }

    .season-block {
      margin-bottom: 40px;
    }

    .season-label-row {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 13px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.28);
      padding-bottom: 12px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      margin-bottom: 0;
    }

    .tournament-header.static {
      cursor: default;
    }

    .tournament-header.static:hover {
      background: none;
      padding-left: 8px;
    }

    .tourn-tag {
      font-size: 9px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.22);
      border: 1px solid rgba(255,255,255,0.12);
      padding: 2px 6px;
      border-radius: 2px;
      white-space: nowrap;
    }

    .tournament-header {
      display: grid;
      grid-template-columns: 110px 1fr 160px 110px 32px;
      align-items: center;
      gap: 16px;
      padding: 20px 8px;
      width: 100%;
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      text-align: left;
      transition: background 0.15s;
    }

    .tournament-header:hover {
      background: rgba(0,53,107,0.08);
      padding-left: 14px;
    }

    .tourn-date {
      font-size: 11px;
      color: rgba(255,255,255,0.3);
      font-weight: 300;
      white-space: nowrap;
    }

    .tourn-name {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      line-height: 1.3;
    }

    .tourn-location {
      font-size: 11px;
      color: rgba(255,255,255,0.4);
      font-weight: 300;
    }

    .tourn-result {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 18px;
      letter-spacing: 0.05em;
      text-align: right;
    }

    .tourn-result-w { color: #4ade80; }
    .tourn-result-l { color: #f87171; }
    .tourn-result-t { color: rgba(255,255,255,0.6); }
    .tourn-result-mixed { color: rgba(255,255,255,0.6); }
    .tourn-result-upcoming { color: rgba(255,255,255,0.2); font-size: 10px; font-family: 'Inter', sans-serif; font-weight: 400; letter-spacing: 0.1em; }

    .tourn-chevron {
      width: 18px;
      height: 18px;
      opacity: 0.35;
      transition: transform 0.28s ease, opacity 0.2s;
      justify-self: end;
      flex-shrink: 0;
    }

    .tournament-item.open .tourn-chevron {
      transform: rotate(180deg);
      opacity: 0.65;
    }

    .tournament-games {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.38s ease;
      background: rgba(0,53,107,0.04);
      border-top: 1px solid transparent;
    }

    .tournament-item.open .tournament-games {
      max-height: 500px;
      border-top-color: rgba(255,255,255,0.04);
    }

    /* ─── ALUMNI WEEKEND SLIDER ───────────────── */
    #tourn-s2.open .tournament-games {
      max-height: 340px;
    }

    #tourn-fa1.open .tournament-games {
      max-height: 340px;
    }

    @keyframes scroll-right {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    .alumni-scroll-track {
      display: flex;
      gap: 12px;
      width: max-content;
      animation: scroll-right 56s linear infinite;
    }

    .alumni-scroll-track:hover {
      animation-play-state: paused;
    }

    .alumni-scroll-wrap {
      overflow: hidden;
      width: 100%;
      mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
      -webkit-mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
      padding: 20px 0;
    }

    .alumni-slide-img {
      flex-shrink: 0;
      width: 200px;
      height: 200px;
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
      transition: transform 0.3s ease, filter 0.3s ease;
    }

    .alumni-slide-img:hover {
      transform: scale(1.04);
      filter: brightness(1.08);
    }

    .alumni-slide-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      cursor: zoom-in;
    }

    /* ─── PHOTO LIGHTBOX ───────────────────── */
    .photo-lightbox {
      position: fixed;
      inset: 0;
      z-index: 500;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,8,20,0.92);
      backdrop-filter: blur(6px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      padding: 32px;
    }

    .photo-lightbox.open {
      opacity: 1;
      pointer-events: auto;
    }

    .photo-lightbox img {
      max-width: 90vw;
      max-height: 88vh;
      object-fit: contain;
      border-radius: 8px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.6);
      transform: scale(0.94);
      transition: transform 0.3s ease;
    }

    .photo-lightbox.open img {
      transform: scale(1);
    }

    .photo-lightbox-close {
      position: absolute;
      top: 24px;
      right: 28px;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 50%;
      background: rgba(255,255,255,0.06);
      color: #fff;
      cursor: pointer;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .photo-lightbox-close:hover {
      background: rgba(255,255,255,0.14);
      border-color: rgba(255,255,255,0.5);
      transform: rotate(90deg);
    }

    .photo-lightbox-close svg {
      width: 16px;
      height: 16px;
    }

    .game-row {
      display: grid;
      grid-template-columns: 110px 1fr 210px 110px 32px;
      align-items: center;
      gap: 16px;
      padding: 12px 8px 12px 28px;
      border-bottom: 1px solid rgba(255,255,255,0.03);
    }

    .game-row:last-child { border-bottom: none; }

    .game-date {
      font-size: 10px;
      color: rgba(255,255,255,0.22);
      font-weight: 300;
    }

    .game-opponent {
      font-size: 12px;
      color: rgba(255,255,255,0.6);
      font-weight: 400;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    .game-quarters {
      font-size: 10px;
      color: rgba(255,255,255,0.32);
      font-weight: 300;
      letter-spacing: 0.02em;
      text-align: center;
      white-space: nowrap;
    }

    .game-quarters b {
      color: rgba(255,255,255,0.5);
      font-weight: 500;
    }

    .game-result {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 16px;
      letter-spacing: 0.05em;
      text-align: right;
    }

    .result-w { color: #4ade80; }
    .result-l { color: #f87171; }
    .result-t { color: rgba(255,255,255,0.6); }
    .result-upcoming { color: rgba(255,255,255,0.2); font-size: 10px; letter-spacing: 0.1em; font-family: 'Inter', sans-serif; font-weight: 400; }


    /* ─── ALUMNI ──────────────────────────────── */

    .alumni-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      max-width: 1200px;
    }

    .alumni-heading {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(40px, 5vw, 72px);
      line-height: 0.95;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: #fff;
      margin-bottom: 20px;
    }

    .alumni-body {
      font-size: 14px;
      line-height: 1.8;
      color: rgba(255,255,255,0.55);
      font-weight: 300;
      max-width: 380px;
      margin-bottom: 32px;
    }

    .alumni-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .alumni-form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .form-label {
      font-size: 9px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
    }

    .form-input {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      color: #fff;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 300;
      padding: 10px 14px;
      outline: none;
      transition: border-color 0.2s, background 0.2s;
    }

    .form-input::placeholder { color: rgba(255,255,255,0.2); }

    .form-input:focus {
      border-color: var(--yale-light);
      background: rgba(0,53,107,0.1);
    }

    .alumni-submit {
      margin-top: 8px;
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 600;
      font-family: 'Inter', sans-serif;
      color: #fff;
      background: rgba(0,53,107,0.3);
      border: 1px solid rgba(40,109,192,0.5);
      padding: 14px 24px;
      cursor: pointer;
      align-self: flex-start;
      transition: border-color 0.2s, background 0.2s;
    }

    .alumni-submit:hover {
      border-color: var(--yale-light);
      background: rgba(0,53,107,0.5);
    }

    /* ─── PROSPECTIVE PLAYERS ─────────────── */

    .recruit-inner { max-width: 1200px; }

    .recruit-head {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: end;
      margin-bottom: 56px;
    }

    .recruit-heading {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(40px, 5vw, 72px);
      line-height: 0.95;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: #fff;
    }

    .recruit-body {
      font-size: 14px;
      line-height: 1.8;
      color: rgba(255,255,255,0.55);
      font-weight: 300;
      max-width: 460px;
    }

    .recruit-form {
      display: flex;
      flex-direction: column;
      gap: 44px;
    }

    .recruit-fieldset {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 24px;
      min-width: 0;
    }

    .recruit-legend {
      font-size: 9px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--yale-light);
      margin-bottom: 22px;
    }

    .recruit-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px 24px;
    }

    .recruit-grid.two { grid-template-columns: repeat(2, 1fr); }

    /* inputs carry a default intrinsic width — let the grid shrink them instead */
    .recruit-form .form-group,
    .recruit-form .form-input { min-width: 0; }

    .recruit-ap {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 20px 24px;
    }

    .recruit-foot {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .recruit-note {
      font-size: 12px;
      line-height: 1.7;
      color: rgba(255,255,255,0.35);
      font-weight: 300;
      max-width: 420px;
    }

    select.form-input {
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='0.35' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 14px;
      padding-right: 34px;
      cursor: pointer;
    }

    select.form-input option { background: #060d18; color: #fff; }

    .form-input:focus-visible,
    .alumni-submit:focus-visible {
      outline: 2px solid var(--yale-light);
      outline-offset: 2px;
    }

    /* ─── HAMBURGER + MOBILE MENU ──────────── */
    .nav-hamburger {
      display: none;
      grid-column: 3;
      justify-self: end;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px 4px;
      z-index: 300;
    }
    .nav-hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: rgba(255,255,255,0.85);
      transition: transform 0.25s ease, opacity 0.25s ease;
    }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-mobile-menu {
      display: none;
      position: fixed;
      top: 66px;
      left: 0; right: 0; bottom: 0;
      background: var(--yale);
      z-index: 199;
      padding: 28px 28px;
      flex-direction: column;
      overflow-y: auto;
    }
    .nav-mobile-menu.open { display: flex; }

    .nav-mobile-links {
      list-style: none;
      display: flex;
      flex-direction: column;
    }
    .nav-mobile-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-mobile-link {
      display: block;
      padding: 18px 0;
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      font-size: 13px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      font-weight: 500;
      transition: color 0.2s;
    }
    .nav-mobile-link:hover { color: #fff; }

    /* ─── RESPONSIVE ───────────────────────── */
    @media (max-width: 900px) {
      /* Announcements */
      .announcement-card,
      .announcement-card.wide-text {
        grid-template-columns: 1fr;
        gap: 0;
      }
      .announcement-img-wrap {
        min-height: 300px;
      }
      .announcement-img-wrap img {
        left: 0;
        width: 100%;
      }
      .announcement-img-wrap.compact {
        min-height: 240px;
      }
      .announcement-img-wrap.compact img {
        left: 24px;
        right: 24px;
        top: 24px;
        bottom: 24px;
        width: calc(100% - 48px);
        height: calc(100% - 48px);
      }
      .announcement-card.wide-text .announcement-body {
        padding: 32px 28px 36px;
      }
      .announcement-card.wide-text .announcement-img-wrap.compact {
        padding: 28px 28px 0;
      }
      .announcement-img-wrap::after {
        background: linear-gradient(to top, rgba(6,13,24,0.7) 0%, transparent 50%);
      }
      .announcement-body {
        padding: 32px 28px 36px;
      }
      .announcement-toggle {
        align-items: center;
      }
      .announcement-toggle-left {
        gap: 14px;
        flex-wrap: wrap;
      }
      .announcement-toggle-tag {
        display: none;
      }
      .announcement-toggle-name {
        white-space: normal;
        overflow-wrap: break-word;
        line-height: 1.1;
      }
      .announcement-name {
        white-space: normal;
      }

      /* About */
      .about-inner {
        grid-template-columns: 1fr;
        gap: 36px;
      }
      .about-right { min-height: 280px; }

      /* Alumni */
      .alumni-inner { grid-template-columns: 1fr; gap: 52px; }

      /* Prospective players */
      .recruit-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
      .recruit-grid { grid-template-columns: repeat(2, 1fr); }

      /* Coaches */
      .coaches-grid { grid-template-columns: repeat(2, 1fr); }

      /* Roster: stack the two-panel layout */
      .roster-layout { grid-template-columns: 1fr; gap: 0; }
      .roster-featured { position: static; margin-bottom: 24px; }
      .featured-frame { aspect-ratio: 3/1.8; max-height: 200px; }
      .featured-img-el { object-position: center 25%; }
    }

    @media (max-width: 768px) {
      /* Nav */
      .nav-hamburger { display: flex; }
      .nav-right { display: none; }
      nav { padding: 14px 20px; }

      /* Hero: reposition image so faces are visible on portrait phones */
      .hero { padding: 0 20px 24px; }
      .hero-bg { background-position: center 45%; }

      /* About */
      .about { padding: 60px 20px 50px; }

      /* Stats: wrap into 2-column grid */
      .stats { flex-wrap: wrap; }
      .stat-item { flex: 0 0 50%; }
      .stat-item:nth-child(even) { border-right: none; }
      .stat-item:nth-child(3),
      .stat-item:nth-child(4),
      .stat-item:nth-child(5) { border-top: 1px solid rgba(255,255,255,0.12); }
      .stat-item:last-child:nth-child(odd) { flex: 0 0 100%; border-right: none; }

      /* Schedule */
      .schedule { padding: 60px 20px; }
      .schedule-header { flex-direction: column; align-items: flex-start; gap: 8px; }

      /* Tournament rows: hide location column, tighten grid */
      .tournament-header {
        grid-template-columns: 80px 1fr 70px 24px;
        gap: 10px;
        padding: 16px 6px;
      }
      .tourn-location { display: none; }
      .game-row {
        grid-template-columns: 56px 1fr 68px 24px;
        padding: 10px 6px 10px 14px;
        gap: 10px;
      }
      .game-quarters { display: none; }

      /* Roster */
      .roster { padding: 40px 20px 60px; }
      .roster-top-bar { flex-direction: column; align-items: flex-start; gap: 14px; }

      /* Roster table columns: hide hometown */
      .roster-cols,
      .roster-row { grid-template-columns: 2fr 40px 1fr; }
      .player-hometown { display: none; }
      .roster-cols span:nth-child(4) { display: none; }

      /* Roster grid: 2 columns */
      .roster-grid { grid-template-columns: repeat(2, 1fr); }

      /* Coaches: 1 column */
      .coaches-grid { grid-template-columns: 1fr; }

      /* Alumni */
      .alumni-form-row { grid-template-columns: 1fr; }

      /* Prospective players */
      .recruit-grid,
      .recruit-grid.two { grid-template-columns: 1fr; }
      .recruit-ap { grid-template-columns: 2fr 1fr; }
      .recruit-form { gap: 36px; }

      /* Contact */
      .full-section { padding: 70px 20px; }
      .contact-grid { grid-template-columns: 1fr; gap: 24px; }

      /* Footer */
      footer { padding: 48px 20px 28px; }
      .footer-top { flex-direction: column; gap: 28px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }

      /* Dark break */
      .dark-break { height: 45vh; }
      .dark-break-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        bottom: 28px;
        left: 20px;
        right: 20px;
      }
    }

    @media (max-width: 480px) {
      .hero-title { transform: none; }
      .stat-item { padding: 24px 20px; }
      .roster-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* Hand the nav to the hamburger while the inline links can still sit
       centred. Must follow the base .nav-hamburger rule to win the cascade. */
    @media (max-width: 900px) {
      .nav-right { display: none; }
      .nav-hamburger { display: flex; }
      .nav-wordmark { display: block; }
    }
    /* ═══════════════════════════════════════════════════════════
       SITE AUDIT UPDATE (Oct 2026)
       Appended after the original rules so it wins the cascade.
       Original state is preserved on branch pre-audit-archive-2026-10-21.
       ═══════════════════════════════════════════════════════════ */

    /* ─── Anchors, skip link, focus ───────── */
    html { scroll-padding-top: 72px; }
    .skip-link {
      position: absolute; left: 12px; top: -80px; z-index: 500;
      background: #fff; color: var(--yale); padding: 10px 16px;
      font-size: 13px; font-weight: 600; text-decoration: none;
    }
    .skip-link:focus { top: 12px; }
    a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
      outline: 2px solid #7fb2ea; outline-offset: 2px;
    }

    /* ─── Contact area now holds Join + Recruits + Alumni ─── */
    .contact-wrap { position: relative; max-width: 1200px; }
    .contact-sub {
      margin-top: 96px;
      padding-top: 80px;
      border-top: 1px solid rgba(255,255,255,0.12);
    }
    .season-empty {
      font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
      color: rgba(255,255,255,0.62); padding: 18px 8px;
      border-top: 1px solid var(--border);
    }
    .hero-bg { background-color: #0b1d36; }

    /* ─── Readability: contrast + minimum sizes ─── */
    .hero-scroll, .hero-badge { color: rgba(255,255,255,0.68); }
    .section-label, .contact-block-label, .full-section-tag, .form-label,
    .schedule-season, .bio-stat-label, .roster-cols span, .featured-sub,
    .roster-tab, .tourn-date, .season-label-row, .game-date, .rc-info-num {
      color: rgba(255,255,255,0.64);
    }
    .roster-season, .player-year, .player-hometown, .tourn-location,
    .game-quarters, .coach-detail, .coach-role, .rc-info-year, .footer-copy,
    .footer-socials a, .recruit-note, .tourn-tag, .announcement-quote cite,
    .tourn-result-upcoming, .pos-badge, .player-pos {
      color: rgba(255,255,255,0.68);
    }
    .player-num { color: rgba(255,255,255,0.5); }
    .featured-placeholder-text { color: rgba(255,255,255,0.55); }
    .stat-label { color: rgba(255,255,255,0.74); }
    .announcement-toggle-tag, .announcement-tag, .recruit-legend { color: #7fb2ea; }
    .section-label, .contact-block-label, .full-section-tag, .form-label,
    .recruit-legend, .stat-label, .bio-stat-label, .featured-placeholder-text,
    .announcement-toggle-tag, .announcement-tag, .roster-cols span {
      font-size: 11px;
    }
    .tourn-result-upcoming, .roster-tab, .roster-season, .featured-sub { font-size: 11px; }
    .footer-copy { font-size: 12px; }
    .form-input { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.3); }
    .form-input::placeholder { color: rgba(255,255,255,0.45); }

    /* ─── Scroll-in text (opacity + transform only) ─── */
    .js .reveal {
      opacity: 0;
      transform: translate3d(0, 18px, 0);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                  transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
      transition-delay: var(--reveal-delay, 0ms);
      will-change: opacity, transform;
    }
    .js .reveal.is-visible { opacity: 1; transform: none; }

    /* ─── Mobile + touch ──────────────────── */
    @media (max-width: 900px) {
      /* Roster: a compact card that stays pinned under the nav so a tap
         on a player is always visible, even deep in the list */
      .roster-featured {
        position: sticky; top: 67px; z-index: 20;
        display: grid; grid-template-columns: 84px 1fr; column-gap: 14px;
        align-items: start;
        background: #000; padding: 12px 0; margin: 0 0 8px;
        border-bottom: 1px solid rgba(255,255,255,0.12);
      }
      .featured-frame { grid-row: 1 / span 2; width: 84px; aspect-ratio: 3 / 4; max-height: none; }
      .featured-img-el { object-position: center top; }
      .featured-label { margin: 0; padding: 0; border: 0; align-self: end; }
      .featured-name { font-size: 22px; }
      .featured-bio { grid-column: 2; margin: 6px 0 0; padding: 0; border: 0; gap: 4px; }
      .featured-bio .bio-stats { gap: 14px; }
      .bio-fact, .featured-placeholder-text { display: none; }
      .carousel-btn, .carousel-dots { display: none !important; }

      /* Tap targets (44px) without growing the layout */
      .nav-hamburger { min-width: 44px; min-height: 44px; padding: 0; margin: -3px -9px -3px 0; align-items: center; }
      .roster-tab { padding: 12px 4px; margin: -8px 0; }
      .contact-block-value a { display: inline-block; padding: 10px 0; margin: -10px 0; }
      .footer-socials a { display: inline-block; padding: 12px 0; }
      /* the original rule removed this pill's bottom border, leaving it open */
      .nav-mobile-link.nav-archive-link { margin: 14px 0 6px; line-height: 1.2; border-bottom: 1px solid rgba(255,255,255,0.4); }
      .nav-mobile-links li:last-child { padding-bottom: 8px; }
    }
    .tourn-result { white-space: nowrap; }
    @media (max-width: 768px) {
      .tournament-header { grid-template-columns: 80px 1fr 86px 24px; }
      .contact-sub { margin-top: 64px; padding-top: 56px; }
      .roster { padding-top: 40px; }
    }

    /* ─── Respect reduced-motion settings ─── */
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
      .alumni-scroll-track { animation: none !important; }
      .alumni-scroll-wrap { overflow-x: auto; }
    }


    /* Contact: links to the Recruits and Alumni pages */
    .contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .contact-link-card {
      display: flex; flex-direction: column; gap: 12px;
      padding: 32px; text-decoration: none; color: #fff;
      border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05);
      transition: background .25s ease, border-color .25s ease, transform .25s ease;
    }
    .contact-link-card:hover, .contact-link-card:focus-visible {
      background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.45); transform: translateY(-2px);
    }
    .contact-link-title { font-family: 'Bebas Neue', sans-serif; font-size: 40px; line-height: 1; letter-spacing: 0.02em; }
    .contact-link-text { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.78); }
    .contact-link-go { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #7fb2ea; margin-top: 6px; }
    @media (max-width: 768px) {
      .contact-links { grid-template-columns: 1fr; gap: 16px; }
      .contact-link-card { padding: 24px 20px; }
      .contact-link-title { font-size: 34px; }
    }

    /* Mobile hero: show the whole team photo (3:2) instead of a narrow crop */
    @media (max-width: 768px) {
      .hero { height: auto; min-height: 0; justify-content: flex-start; padding: 60px 0 28px; }
      .hero-bg {
        position: relative; inset: auto; width: 100%;
        aspect-ratio: 3 / 2;
        background-size: cover; background-position: center;
      }
      .hero-bg::before { background: linear-gradient(to top, rgba(6,13,24,0.55) 0%, rgba(6,13,24,0) 35%); }
      .hero-title { transform: none; padding: 24px 20px 0; font-size: clamp(52px, 17vw, 84px); }
    }

    /* ── Photo lightbox (news page) ─────────────── */
    .announcement-img-wrap img { cursor: zoom-in; }
    .announcement-img-wrap img:focus-visible { outline: 2px solid #286DC0; outline-offset: 4px; }
    .lightbox {
      position: fixed; inset: 0; z-index: 1000;
      display: flex; align-items: center; justify-content: center;
      padding: 32px; background: rgba(3,8,16,0.92);
      opacity: 0; visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s;
      cursor: zoom-out;
    }
    .lightbox.open { opacity: 1; visibility: visible; }
    .lightbox img {
      max-width: 100%; max-height: 100%; object-fit: contain;
      box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.08);
      transform: scale(0.97); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .lightbox.open img { transform: scale(1); }
    .lightbox-close {
      position: absolute; top: 16px; right: 20px; width: 44px; height: 44px;
      background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
      color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
      transition: background 0.2s;
    }
    .lightbox-close:hover { background: rgba(255,255,255,0.18); }
    .lightbox-close:active { background: rgba(255,255,255,0.28); }
    .lightbox-close:focus-visible { outline: 2px solid #286DC0; outline-offset: 2px; }
