:root {
  --bg: #f6f7fb;
  --panel: #ffffff;
  --text: #142033;
  --muted: #5e6a7d;
  --line: #dfe5ef;
  --navy: #12284c;
  --navy-light: #2c4270;
  --blue: #2f6fed;
  --red: #b61f2a;
  --font-header: "Helvetica Neue Condensed Bold", "Arial Narrow", "DIN Condensed", "Impact", sans-serif;
  --font-name: "Helvetica Neue Condensed Bold", "Arial Narrow", "DIN Condensed", "Impact", sans-serif;
  --font-body: "Avenir Next", "Segoe UI", Inter, Roboto, Arial, sans-serif;
  --font-label: "Avenir Next", "Segoe UI", Inter, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--blue); }

.site-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
}
.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffb0b6;
  font-family: var(--font-label);
  line-height: 1;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.nav-links a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 600;
}
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 68px 24px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 36px;
  align-items: stretch;
}
.hero-main {
  display: flex;
  flex-direction: column;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--red);
  margin: 0 0 8px;
  font-family: var(--font-label);
}
.site-header .eyebrow { color: #ffb0b6; }
h1, h2, h3 {
  line-height: 1.15;
  margin: 0;
  font-family: var(--font-header);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
#display-name { font-family: var(--font-name); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.lead-photo-wrap {
  margin: 18px 0 0;
}
.lead-photo-wrap img {
  width: min(750px, 100%);
  height: auto;
  max-height: none;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.35);
  display: block;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}
.subtitle {
  font-size: 1.3rem;
  margin: 14px 0 0;
  color: rgba(255,255,255,0.88);
}
.intro {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.button.primary {
  background: white;
  color: var(--navy);
}
.button.secondary {
  border: 1px solid rgba(255,255,255,0.55);
  color: white;
}
.profile-card, .card, .table-card, .contact-card, .video-placeholder {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(20, 32, 51, 0.08);
}
.profile-card {
  color: var(--text);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.profile-card h2 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}
dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
dl div {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-label);
}
dd {
  margin: 4px 0 0;
  font-weight: 700;
}
dd.multiline {
  white-space: pre-line;
}
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 58px 24px;
}
.section-heading { margin-bottom: 22px; }
.video-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  color: var(--muted);
  border-style: dashed;
}
.youtube-player-shell {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
  width: 100%;
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
}
.youtube-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.youtube-player > div,
.youtube-player iframe,
.youtube-player-shell > #youtube-player,
.youtube-player-shell > iframe#youtube-player,
.youtube-player-shell > #youtube-player > iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.youtube-player > div,
.youtube-player iframe {
  position: absolute;
  inset: 0;
}
.youtube-player-shell > #youtube-player,
.youtube-player-shell > iframe#youtube-player {
  position: absolute;
  inset: 0;
}
.youtube-player iframe {
  border: 0;
  width: 100% !important;
  height: 100% !important;
}
.video-title {
  margin: 18px 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.75;
}
.small { font-size: 0.92rem; }
.link-list {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.link-list a {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 800;
}
.table-card { overflow: hidden; }
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}
th, td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-label);
}
.schedule-event-cell {
  display: grid;
  gap: 3px;
}
.schedule-event-title {
  font-weight: 700;
  color: var(--text);
}
.schedule-event-context {
  font-size: 0.82rem;
  color: var(--muted);
}
.schedule-groups {
  display: grid;
  gap: 16px;
}
.schedule-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 18px rgba(18, 40, 76, 0.06);
  position: relative;
}
.schedule-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: var(--red);
}
.schedule-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 6px 6px;
  font-family: var(--font-label);
}
.schedule-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0 6px;
}
.schedule-card-meta {
  margin: 8px 0 0 6px;
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.95rem;
}
.schedule-games-list {
  margin-top: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  display: grid;
  gap: 10px;
}
.schedule-linked-heading {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2px 0;
}
.schedule-game-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #f7faff;
  position: relative;
  margin-left: clamp(24px, 6vw, 42px);
}
.schedule-game-item::before {
  display: none;
}
.schedule-game-title {
  font-weight: 700;
  color: var(--text);
}
.schedule-game-meta {
  margin-top: 4px;
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.88rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.resources-list {
  display: grid;
  gap: 12px;
}
.resources-inline {
  margin-top: 18px;
}
.resource-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.resource-title {
  font-weight: 800;
  color: var(--text);
}
.resource-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}
.resource-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  text-decoration: none;
}
.card, .contact-card { padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p, .contact-card p { margin: 0 0 10px; }
.contact-card ul {
  margin: 6px 0 10px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.contact-subgroup {
  display: grid;
  gap: 0px;
  margin-top: 2px;
}
.contact-subgroup-heading {
  margin: 0;
}
.contact-subgroup-list {
  margin-top: -2;
  padding-left: clamp(40px, 8vw, 72px);
  gap: 10px;
}
.contact-coach-line,
.contact-subordinate-row {
  margin: 0;
  color: var(--text);
  border: 1px solid rgba(47, 111, 237, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(47, 111, 237, 0.06);
}
.contact-subordinate-row {
  margin-left: clamp(40px, 8vw, 72px);
}
.contact-coach-role {
  color: var(--text);
}
.footer {
  text-align: center;
  color: var(--muted);
  padding: 34px 24px;
  border-top: 1px solid var(--line);
}
.hidden {
  display: none !important;
}

/* ─── Bold Dark theme ─── */

/* Header */
[data-theme="boldDark"] .site-header,
[data-theme="gunnery"] .site-header {
  background: #0B0C18;
}
[data-theme="boldDark"] .nav-brand,
[data-theme="gunnery"] .nav-brand {
  color: var(--blue);
}
[data-theme="boldDark"] .site-header .eyebrow,
[data-theme="gunnery"] .site-header .eyebrow {
  color: var(--blue);
}

/* Hero: single centered column, no two-column split */
[data-theme="boldDark"] .hero,
[data-theme="gunnery"] .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px 0;
  gap: 0;
}
[data-theme="boldDark"] .hero-main,
[data-theme="gunnery"] .hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 52px 0 28px;
}

/* Lead photo: moves to top of hero, full-width with gold accent line */
[data-theme="boldDark"] .lead-photo-wrap,
[data-theme="gunnery"] .lead-photo-wrap {
  order: -1;
  width: 100%;
  margin: 0 0 36px;
}
[data-theme="boldDark"] .lead-photo-wrap img,
[data-theme="gunnery"] .lead-photo-wrap img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: none;
  border-bottom: 4px solid var(--blue);
  box-shadow: none;
}

/* Name: massive, uppercase, centered */
[data-theme="boldDark"] #display-name,
[data-theme="gunnery"] #display-name {
  font-size: clamp(3rem, 10vw, 6.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
}
[data-theme="boldDark"] .subtitle,
[data-theme="gunnery"] .subtitle {
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 18px;
}

/* Profile card → horizontal stat strip */
[data-theme="boldDark"] .profile-card,
[data-theme="gunnery"] .profile-card {
  width: 100%;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-height: 0;
}
[data-theme="boldDark"] .profile-card h2,
[data-theme="gunnery"] .profile-card h2 {
  display: none;
}
[data-theme="boldDark"] .profile-card dl,
[data-theme="gunnery"] .profile-card dl {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
[data-theme="boldDark"] .profile-card dl div,
[data-theme="gunnery"] .profile-card dl div {
  border-top: none;
  border-right: 1px solid var(--line);
  padding: 20px 28px;
  text-align: center;
  flex: 1;
  min-width: 100px;
}
[data-theme="boldDark"] .profile-card dl div:last-child,
[data-theme="gunnery"] .profile-card dl div:last-child {
  border-right: none;
}
[data-theme="boldDark"] .profile-card dt,
[data-theme="gunnery"] .profile-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
[data-theme="boldDark"] .profile-card dd,
[data-theme="gunnery"] .profile-card dd {
  font-size: 1.1rem;
  margin-top: 6px;
}

/* Section headings: left accent bar + uppercase */
[data-theme="boldDark"] .section-heading,
[data-theme="gunnery"] .section-heading {
  border-left: 5px solid var(--blue);
  padding-left: 20px;
  margin-bottom: 28px;
}
[data-theme="boldDark"] .section-heading h2,
[data-theme="gunnery"] .section-heading h2 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
[data-theme="boldDark"] .section-heading .eyebrow,
[data-theme="gunnery"] .section-heading .eyebrow {
  letter-spacing: 0.18em;
}

/* Cards: dark shadow */
[data-theme="boldDark"] .card,
[data-theme="boldDark"] .table-card,
[data-theme="boldDark"] .contact-card,
[data-theme="boldDark"] .schedule-card,
[data-theme="boldDark"] .resource-card,
[data-theme="gunnery"] .card,
[data-theme="gunnery"] .table-card,
[data-theme="gunnery"] .contact-card,
[data-theme="gunnery"] .schedule-card,
[data-theme="gunnery"] .resource-card {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.5);
}

/* Schedule */
[data-theme="boldDark"] .schedule-game-item,
[data-theme="gunnery"] .schedule-game-item {
  background: #12131E;
  border-color: var(--line);
}
[data-theme="boldDark"] .contact-coach-line,
[data-theme="boldDark"] .contact-subordinate-row,
[data-theme="gunnery"] .contact-coach-line,
[data-theme="gunnery"] .contact-subordinate-row {
  background: #181a28;
  border-color: rgba(255,255,255,0.08);
}
[data-theme="boldDark"] .schedule-card-meta,
[data-theme="boldDark"] .schedule-game-meta,
[data-theme="boldDark"] .schedule-linked-heading,
[data-theme="gunnery"] .schedule-card-meta,
[data-theme="gunnery"] .schedule-game-meta,
[data-theme="gunnery"] .schedule-linked-heading {
  color: var(--text);
}

/* Footer */
[data-theme="boldDark"] .footer,
[data-theme="gunnery"] .footer {
  background: #08090F;
}

/* ── Washington theme ── */
[data-theme="washington"] .site-header {
  background: #041E42;
  border-bottom: 3px solid #C8102E;
}
[data-theme="washington"] .nav-brand {
  color: #FFFFFF;
}
[data-theme="washington"] .site-header .eyebrow {
  color: var(--blue);
}

/* Lead photo: red accent border */
[data-theme="washington"] .lead-photo-wrap img {
  border: 3px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

/* Name: large, uppercase, condensed */
[data-theme="washington"] #display-name {
  font-size: clamp(2.6rem, 8vw, 5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
[data-theme="washington"] .subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

/* Profile card → horizontal stat strip */
[data-theme="washington"] .profile-card {
  border-radius: 4px;
  border: none;
  border-top: 3px solid var(--blue);
  background: var(--panel);
  box-shadow: none;
  padding: 0;
  min-height: 0;
}
[data-theme="washington"] .profile-card h2 {
  display: none;
}
[data-theme="washington"] .profile-card dl {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
[data-theme="washington"] .profile-card dl div {
  border-top: none;
  border-right: 1px solid var(--line);
  padding: 20px 28px;
  text-align: center;
  flex: 1;
  min-width: 100px;
}
[data-theme="washington"] .profile-card dl div:last-child {
  border-right: none;
}
[data-theme="washington"] .profile-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
[data-theme="washington"] .profile-card dd {
  font-size: 1.1rem;
  margin-top: 6px;
}

/* Section headings: red left bar */
[data-theme="washington"] .section-heading {
  border-left: 5px solid var(--blue);
  padding-left: 20px;
  margin-bottom: 28px;
}
[data-theme="washington"] .section-heading h2 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
[data-theme="washington"] .section-heading .eyebrow {
  letter-spacing: 0.14em;
  color: var(--blue);
}

/* Cards */
[data-theme="washington"] .card,
[data-theme="washington"] .table-card,
[data-theme="washington"] .contact-card,
[data-theme="washington"] .schedule-card,
[data-theme="washington"] .resource-card {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 4px 20px rgba(0,0,0,0.5);
}

/* Schedule */
[data-theme="washington"] .schedule-game-item {
  background: #0A2748;
  border-color: var(--line);
}
[data-theme="washington"] .schedule-card-meta,
[data-theme="washington"] .schedule-game-meta,
[data-theme="washington"] .schedule-linked-heading {
  color: var(--text);
}

/* Footer */
[data-theme="washington"] .footer {
  background: #020F21;
  border-top: 3px solid #C8102E;
}

@media (max-width: 800px) {
  .nav, .hero { display: block; }
  .nav-brand { margin-bottom: 12px; }
  .nav-links { margin-top: 14px; }
  .profile-card { margin-top: 30px; }
  .cards { grid-template-columns: 1fr; }
  .youtube-player-shell { border-radius: 14px; }
}
