:root {
  --navy: #061b3a;
  --blue: #0d5db8;
  --blue-2: #1669d4;
  --text: #071a35;
  --muted: #59687e;
  --line: #dce5f2;
  --bg: #f7faff;
  --shadow: 0 12px 30px rgba(8, 35, 75, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(13, 93, 184, .08), transparent 35%),
    linear-gradient(180deg, #fff 0%, var(--bg) 45%, #fff 100%);
  line-height: 1.5;
}
a { color: inherit; }
.topbar {
  height: 78px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  box-shadow: 0 5px 18px rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 260px;
}
.brand-mark {
  width: 54px;
  height: 66px;
  object-fit: contain;
}
.brand strong {
  display: block;
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: .02em;
  color: var(--navy);
  line-height: 1.05;
}
.brand small {
  display: block;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .03em;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1;
}
.desktop-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: .87rem;
  text-transform: uppercase;
  padding: 28px 0 21px;
  border-bottom: 3px solid transparent;
}
.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.nav-button, .watch-button {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: white;
  text-decoration: none;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(13, 93, 184, .28);
}
.nav-button {
  padding: 11px 16px;
  min-width: 130px;
  font-size: .9rem;
}
.nav-button img, .watch-button img { width: 20px; height: 20px; }

main { max-width: 1220px; margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(420px, 1.02fr) minmax(500px, 1.22fr);
  min-height: 625px;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.hero-photo-wrap {
  min-height: 625px;
  overflow: hidden;
  border-bottom-right-radius: 12px;
  background: #0b1020;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.hero-info {
  padding: 58px 54px 30px 42px;
  background: linear-gradient(90deg, #ffffff 0%, #f9fbff 100%);
}
h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.5rem, 5.5vw, 5.1rem);
  letter-spacing: -.055em;
  line-height: .95;
}
.class-year {
  margin: 8px 0 22px;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.position-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.position-line img { width: 34px; height: 34px; }
.team-line { font-size: 1.28rem; margin: 0 0 16px; }
.team-line span::after {
  content: "";
  display: inline-block;
  height: 28px;
  width: 1px;
  background: #9fb3ce;
  vertical-align: middle;
  margin: 0 18px;
}
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #96b6de 10%, #96b6de 90%, transparent);
  margin: 16px 0 22px;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  column-gap: 34px;
  row-gap: 18px;
  align-items: center;
}
.fact {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  font-size: 1.02rem;
}
.fact img { width: 24px; height: 24px; flex: 0 0 auto; }
.watch-button {
  padding: 14px 32px;
  width: 260px;
  min-height: 56px;
  font-size: 1.15rem;
}
.identity { font-size: 1.35rem; max-width: 620px; margin: 0; }

.panel, .three-column { margin: 18px 28px; }
.panel {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 22px;
}
h2 {
  margin: 0 0 18px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 1.55rem;
  letter-spacing: -.02em;
}
h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.2rem; }

.stat-cards.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mini-card {
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(8,35,75,.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  padding: 18px;
}
.mini-card img { width: 44px; height: 44px; }
.mini-card small { color: var(--muted); font-size: .92rem; }
.mini-card strong { color: var(--navy); font-size: 1.12rem; }

.three-column {
  display: grid;
  grid-template-columns: 1.45fr .75fr .75fr;
  gap: 16px;
}
.content-card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 22px;
  min-height: 430px;
}
.video-frame {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #0c1c33;
}
.fake-video {
  position: relative;
  aspect-ratio: 16/9;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.20), transparent 8%),
    radial-gradient(circle at 53% 18%, rgba(255,255,255,.18), transparent 8%),
    linear-gradient(180deg, rgba(15,28,45,.3), rgba(3,10,20,.6)),
    linear-gradient(180deg, #224319 0%, #264f21 35%, #1f471d 100%);
}
.field-lines::before, .field-lines::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  border-top: 2px solid rgba(255,255,255,.45);
}
.field-lines::before { top: 58%; }
.field-lines::after { top: 72%; }
.field-lines {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 46%, #f0f2f5 0 4px, transparent 5px),
    radial-gradient(circle at 42% 55%, #f0f2f5 0 4px, transparent 5px),
    radial-gradient(circle at 61% 44%, #f0f2f5 0 4px, transparent 5px),
    radial-gradient(circle at 78% 54%, #f0f2f5 0 4px, transparent 5px),
    radial-gradient(circle at 53% 68%, #d32222 0 4px, transparent 5px);
}
.play-circle {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.play-circle img { width: 88px; height: 88px; filter: drop-shadow(0 5px 14px rgba(0,0,0,.35)); }
.video-controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 36px; background: rgba(0,0,0,.85);
  display: flex; gap: 12px; align-items: center; padding: 0 14px;
}
.video-controls span {
  display: block; height: 9px; border-radius: 20px; background: white; opacity: .9;
}
.video-controls span:first-child { width: 22px; }
.video-controls span:nth-child(2) { width: 40%; background: #d30000; }
.video-controls span:nth-child(3) { width: 32%; opacity: .35; }

.youtube-link {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--blue); text-decoration: none; font-size: 1.18rem; font-weight: 900;
}
.youtube-link img { width: 34px; }

.team-logo { display: block; object-fit: contain; margin: 6px auto 18px; }
.oefc-logo { width: 120px; height: 120px; }
.enhs-logo { width: 128px; height: 128px; }

.content-card ul { margin: 0; padding-left: 18px; color: var(--navy); }
.content-card li { margin: 8px 0; }

.club-pathway p { margin: 0; font-size: 1.12rem; color: var(--navy); }

.accomplishments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.accomplishments article {
  min-height: 100px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(8,35,75,.07);
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
}
.accomplishments img { width: 42px; height: 42px; object-fit: contain; }
.accomplishments span { font-weight: 700; }
.rodopa-card { grid-template-columns: 62px 1fr !important; }
.rodopa-logo {
  width: 58px !important;
  height: 70px !important;
  object-fit: contain;
  background: transparent;
}

.academic-strip, .contact-strip {
  display: grid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.academic-strip { grid-template-columns: 1.5fr 1fr 1fr .65fr .65fr 1.2fr; }
.academic-strip div, .contact-strip a {
  min-height: 74px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}
.academic-strip div:last-child, .contact-strip a:last-child { border-right: none; }
.academic-strip img, .contact-strip img { width: 30px; height: 30px; flex: 0 0 auto; }
.academic-strip small { display: block; color: var(--muted); line-height: 1.05; }
.academic-strip span { font-weight: 800; line-height: 1.15; }

.schedule-table {
  border: 1px solid #b9c9dd; border-radius: 10px; overflow: hidden; background: #fff;
}
.schedule-head {
  display: grid; grid-template-columns: .8fr 1.2fr 1.8fr 1fr 1fr;
  background: #e8f0fb; color: var(--navy); font-weight: 900; text-transform: uppercase;
}
.schedule-head span, .schedule-body span {
  padding: 14px 18px; border-right: 1px solid var(--line);
}
.schedule-head span:last-child { border-right: none; }
.schedule-body {
  min-height: 56px; display: grid; place-items: center; color: var(--navy); font-size: 1.15rem;
}

.schedule-body.event-row {
  display: grid;
  grid-template-columns: .8fr 1.2fr 1.8fr 1fr 1fr;
  min-height: auto;
  place-items: stretch;
  font-size: 1rem;
}

.schedule-body.event-row span {
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
}

.schedule-body.event-row span:last-child {
  border-right: none;
}

.contact-strip { grid-template-columns: 1fr 1.35fr 1.1fr; }
.contact-strip a {
  color: var(--navy); font-size: 1.12rem; font-weight: 800; text-decoration: none;
}
footer {
  margin-top: 22px; background: var(--navy); color: rgba(255,255,255,.75); text-align: center; padding: 22px;
}
footer p { margin: 0; }

@media (max-width: 980px) {
  .topbar {
    height: auto; flex-wrap: wrap; padding: 16px 20px;
  }
  .brand { min-width: 0; }
  .desktop-nav {
    order: 3; width: 100%; gap: 14px; justify-content: flex-start; overflow-x: auto;
  }
  .desktop-nav a { padding: 10px 0; white-space: nowrap; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo-wrap { min-height: 520px; }
  .hero-info { padding: 34px 24px; }
  .info-grid, .stat-cards.four, .three-column, .accomplishments, .academic-strip, .contact-strip {
    grid-template-columns: 1fr;
  }
  .academic-strip div, .contact-strip a {
    border-right: none; border-bottom: 1px solid var(--line);
  }
  .panel, .three-column { margin-left: 14px; margin-right: 14px; }
}
@media (max-width: 620px) {
  .nav-button { display: none; }
  h1 { font-size: 3rem; }
  .class-year { font-size: 1.6rem; }
  .position-line { font-size: 1.25rem; }
  .team-line { font-size: 1rem; }
  .watch-button { width: 100%; }
  .hero-photo-wrap { min-height: 430px; }
  .schedule-head { display: none; }
  .brand strong { font-size: 1.05rem; }
}


/* Final logo and layout fixes */
.brand {
  min-width: 300px;
  overflow: visible;
}

.brand-mark {
  width: 58px;
  height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
}

.content-card {
  display: flex;
  flex-direction: column;
}

.team-logo {
  display: block;
  object-fit: contain;
  margin: 4px auto 18px;
}

.oefc-logo,
.enhs-logo {
  width: 128px;
  height: 128px;
}

.content-card h3 {
  min-height: 42px;
  display: flex;
  align-items: center;
}

.logo-accomplishments article {
  grid-template-columns: 72px 1fr;
}

.accomplishment-logo {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain;
}

.energy-accomplishment-logo {
  width: 62px !important;
  height: 62px !important;
}

.ecrl-logo {
  width: 72px !important;
  height: 48px !important;
}

.rodopa-logo {
  width: 58px !important;
  height: 68px !important;
}

.bfu-logo {
  width: 62px !important;
  height: 62px !important;
}

@media (max-width: 980px) {
  .brand {
    min-width: 0;
  }
}


/* Final polish: header logo, club/high school card alignment, and schedule time */
.brand {
  overflow: visible;
}

.brand-mark {
  width: 60px;
  height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
  object-position: center center;
}

.soccer-card {
  display: flex;
  flex-direction: column;
}

.soccer-card h2 {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
}

.logo-stage {
  height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.logo-stage .team-logo {
  margin: 0;
  object-fit: contain;
}

.logo-stage .oefc-logo {
  width: 126px;
  height: 126px;
}

.logo-stage .enhs-logo {
  width: 126px;
  height: 126px;
}

.soccer-card h3 {
  min-height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.soccer-card-list {
  margin-top: 0;
}

.soccer-card-list li {
  min-height: 32px;
  display: flex;
  align-items: flex-start;
}

@media (max-width: 980px) {
  .soccer-card h2,
  .soccer-card h3,
  .soccer-card-list li {
    min-height: auto;
  }
}


/* References section */
.references-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.references-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(8,35,75,.07);
}

.references-grid strong,
.references-grid span,
.references-grid small {
  display: block;
}

.references-grid strong {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.references-grid span {
  font-weight: 800;
  margin-bottom: 4px;
}

.references-grid small {
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 980px) {
  .references-grid {
    grid-template-columns: 1fr;
  }
}


/* Additional soccer experience and revised references */
.soccer-experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.soccer-experience-grid article,
.references-grid.reference-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(8,35,75,.07);
}

.soccer-experience-grid strong,
.soccer-experience-grid span,
.soccer-experience-grid small,
.references-grid.reference-list strong,
.references-grid.reference-list span,
.references-grid.reference-list small {
  display: block;
}

.soccer-experience-grid strong,
.references-grid.reference-list strong {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.soccer-experience-grid span,
.references-grid.reference-list span {
  font-weight: 800;
  margin-bottom: 4px;
}

.soccer-experience-grid small,
.references-grid.reference-list small {
  color: var(--muted);
  font-size: .95rem;
}

.references-grid.reference-list {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px) {
  .soccer-experience-grid,
  .references-grid.reference-list {
    grid-template-columns: 1fr;
  }
}


/* YouTube video embed */
.youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
