:root {
  color-scheme: light;
  --navy: #07152b;
  --ink: #0b1020;
  --blue: #0054cf;
  --royal: #0b67ff;
  --sky: #dcecff;
  --line: #ccdaef;
  --paper: #f7fbff;
  --white: #ffffff;
  --orange: #ed7d16;
  --green: #2d7d49;
  --shadow: 0 18px 45px rgba(7, 21, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(11, 103, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, #eef6ff 0%, #ffffff 42%, #eef5ff 100%);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(115deg, transparent 0 21%, rgba(0, 84, 207, 0.06) 21% 22%, transparent 22% 100%),
    linear-gradient(65deg, transparent 0 54%, rgba(7, 21, 43, 0.06) 54% 55%, transparent 55% 100%);
  pointer-events: none;
}

body.intro-is-running {
  overflow: hidden;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 47%, rgba(11, 103, 255, 0.28), transparent 23rem),
    linear-gradient(115deg, rgba(0, 84, 207, 0.24) 0 24%, transparent 24% 68%, rgba(255, 255, 255, 0.08) 68% 69%, transparent 69% 100%),
    #061226;
}

.intro-overlay::before,
.intro-overlay::after {
  content: "";
  position: absolute;
  inset: auto -10vw 12vh;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(143, 196, 255, 0.72), transparent);
  opacity: 0.7;
}

.intro-overlay::after {
  inset: 0;
  height: auto;
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(255, 255, 255, 0.1) 49.8% 50.2%, transparent 50.2% 100%),
    repeating-linear-gradient(0deg, transparent 0 72px, rgba(255, 255, 255, 0.045) 72px 74px);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 78%, transparent);
}

.intro-overlay-exit {
  animation: introFadeAway 600ms ease forwards;
}

.intro-stage {
  position: relative;
  width: min(100vw, 1180px);
  height: min(100vh, 620px);
  min-height: 420px;
}

.intro-ball {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: clamp(72px, 10vw, 126px);
  aspect-ratio: 1;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.44));
  will-change: transform;
}

.intro-soccer-ball {
  background-image: url("assets/intro-soccer-ball.png");
  animation: soccerBallCross 2600ms cubic-bezier(0.44, 0.02, 0.25, 1) forwards;
}

.intro-soccer-ball::before,
.intro-soccer-ball::after,
.intro-basketball::before,
.intro-basketball::after {
  display: none;
}

.intro-basketball {
  background-image: url("assets/intro-basketball.png");
  animation: basketballDropRoll 2600ms cubic-bezier(0.42, 0, 0.2, 1) forwards;
}

.intro-sport-word {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(2.4rem, 7vw, 6.6rem);
  line-height: 0.85;
  text-transform: uppercase;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  will-change: opacity, transform;
}

.intro-word-soccer {
  color: #eaf3ff;
  animation: soccerWordReveal 2600ms ease forwards;
}

.intro-word-basketball {
  color: #ffb86c;
  animation: basketballWordReveal 2600ms ease forwards;
}

.intro-brand-lockup {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(92vw, 900px);
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.94);
  animation: introBrandIn 2600ms ease forwards;
}

.intro-brand-lockup strong {
  display: block;
  color: #ffffff;
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.78;
  text-shadow: 0 8px 0 rgba(0, 84, 207, 0.5), 0 24px 48px rgba(0, 0, 0, 0.34);
}

.intro-brand-lockup span {
  display: block;
  margin-top: 1rem;
  color: #dbeafe;
  font-family: Arial, sans-serif;
  font-size: clamp(0.9rem, 2.6vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.14em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem clamp(1rem, 3vw, 2rem);
  color: var(--white);
  background: linear-gradient(90deg, #05080e, #111827 55%, #05080e);
  border-bottom: 4px solid var(--blue);
  box-shadow: 0 12px 28px rgba(7, 21, 43, 0.3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: fit-content;
}

.brand img {
  width: 74px;
  height: 42px;
  object-fit: contain;
  filter: invert(1);
}

.brand strong,
footer strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.brand small,
footer span {
  display: block;
  margin-top: 0.2rem;
  color: #cfe1ff;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 1.8rem);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

nav a {
  padding: 0.45rem 0;
  border-bottom: 3px solid transparent;
}

nav a:hover {
  color: #91c1ff;
  border-bottom-color: var(--royal);
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.25fr) minmax(260px, 0.85fr);
  min-height: 520px;
  overflow: hidden;
  border-bottom: 6px solid var(--navy);
  background:
    linear-gradient(112deg, rgba(0, 84, 207, 0.95) 0 22%, rgba(255, 255, 255, 0.9) 22% 71%, rgba(7, 21, 43, 0.96) 71% 100%),
    var(--white);
}

.page-hero {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(90deg, rgba(7, 21, 43, 0.88), rgba(0, 84, 207, 0.5), rgba(7, 21, 43, 0.88)),
    var(--navy);
  border-bottom: 6px solid var(--blue);
}

.page-hero h1 {
  color: var(--white);
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.24);
}

.page-hero h1 span {
  color: #8fc4ff;
}

.page-hero .headline,
.page-hero .eyebrow {
  color: #eaf3ff;
}

.soccer-page {
  background:
    linear-gradient(90deg, rgba(7, 21, 43, 0.88), rgba(0, 84, 207, 0.38)),
    url("assets/soccer-run.png") center 35% / cover;
}

.basketball-page {
  background:
    linear-gradient(90deg, rgba(7, 21, 43, 0.9), rgba(0, 84, 207, 0.28)),
    url("assets/basketball-hero.jpeg") center 27% / cover;
}

.highlights-page {
  background:
    linear-gradient(90deg, rgba(7, 21, 43, 0.9), rgba(0, 84, 207, 0.28)),
    url("assets/soccer-team.png") center center / cover;
}

.academics-page {
  background:
    linear-gradient(120deg, rgba(7, 21, 43, 0.94), rgba(0, 84, 207, 0.7)),
    var(--navy);
}

.contact-page {
  background:
    linear-gradient(90deg, rgba(7, 21, 43, 0.9), rgba(0, 84, 207, 0.34)),
    url("assets/basketball-point.jpeg") center 25% / cover;
}

.about-page {
  background:
    linear-gradient(90deg, rgba(7, 21, 43, 0.9), rgba(0, 84, 207, 0.32)),
    url("assets/basketball-hero.jpeg") center 31% / cover;
}

.hero-photo {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 84, 207, 0.45), transparent 44%, rgba(7, 21, 43, 0.4));
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-photo-left img {
  object-position: center 24%;
}

.hero-photo-left[data-hero-sport="soccer"] img {
  object-position: 48% center;
}

.hero-photo-right {
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-photo-right img {
  object-position: 47% center;
}

.hero-content {
  display: flex;
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) 1.25rem;
  text-align: center;
}

.hero-content::before {
  content: "KM";
  position: absolute;
  inset: auto auto 1rem 50%;
  z-index: -1;
  color: rgba(0, 84, 207, 0.07);
  font-size: clamp(10rem, 20vw, 18rem);
  line-height: 0.7;
  transform: translateX(-50%);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: #334155;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #05080e;
  font-size: clamp(4rem, 9vw, 8.8rem);
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(0, 84, 207, 0.12);
}

h1 span {
  display: block;
  color: var(--blue);
}

.headline {
  margin: 0.8rem 0 0;
  color: #4b5563;
  max-width: 100%;
  font-size: clamp(1.45rem, 2.55vw, 2.75rem);
  font-style: italic;
  line-height: 0.95;
  text-wrap: balance;
  text-transform: uppercase;
}

.identity-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.85rem;
  margin-top: 1.2rem;
  color: #002e82;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.identity-line span:not(:last-child)::after {
  content: "|";
  margin-left: 0.85rem;
  color: #7994bf;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  min-width: 180px;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--blue);
  border-radius: 4px;
  box-shadow: 0 12px 20px rgba(0, 84, 207, 0.18);
  font-size: 1.05rem;
  text-align: center;
  text-transform: uppercase;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: var(--white);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(96%, 1480px);
  margin: -2.2rem auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.countdown-section {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 1px;
  width: min(96%, 1480px);
  margin: -2.2rem auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.countdown-info,
.countdown-clock article {
  background: rgba(255, 255, 255, 0.97);
}

.countdown-info {
  min-height: 112px;
  padding: 1rem 1.2rem;
}

.countdown-info span,
.countdown-clock span,
.event-card span {
  display: block;
  color: #38557e;
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.countdown-info strong {
  display: block;
  margin-top: 0.25rem;
  color: #00399f;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.countdown-info p {
  margin: 0.45rem 0 0;
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
}

.countdown-clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.countdown-clock article {
  display: grid;
  min-height: 112px;
  place-items: center;
  align-content: center;
  padding: 0.85rem;
}

.countdown-clock strong {
  color: var(--blue);
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.85;
}

.quick-stats article {
  min-height: 92px;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.96);
}

.quick-stats span,
.stat-table dt,
.contact-list dt,
.coach-grid span {
  display: block;
  color: #38557e;
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-stats strong {
  display: block;
  margin-top: 0.2rem;
  color: #00399f;
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.profile-grid,
.split-section,
.highlights,
.coach-section,
.events-section {
  width: min(96%, 1480px);
  margin: 1rem auto 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.single-page-grid {
  grid-template-columns: 1fr;
}

.single-page-grid .sport-panel {
  max-width: 1180px;
  margin: 0 auto;
}

.single-split {
  grid-template-columns: 1fr;
}

.page-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-coaches {
  width: auto;
  margin: 0;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 1rem;
  width: min(96%, 1180px);
  margin: 1rem auto 1.2rem;
}

.about-card,
.about-photo {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 21, 43, 0.08);
}

.about-card p {
  margin: 0;
  padding: 0 1.2rem 1rem;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.65;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 25%;
}

.sport-panel,
.academics-panel,
.contact-panel,
.coach-section {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 21, 43, 0.08);
}

.sport-panel-link {
  display: block;
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.sport-panel-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(7, 21, 43, 0.16);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0.65rem 1rem;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(0, 84, 207, 0.92), rgba(7, 21, 43, 0.96)),
    var(--navy);
  border-bottom: 4px solid #8fc4ff;
}

.panel-title span {
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
}

.panel-title img {
  width: 58px;
  height: 32px;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.78;
}

.panel-body {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 1rem;
  padding: 1rem;
}

.stat-table,
.contact-list {
  margin: 0;
}

.stat-table div,
.contact-list div {
  display: grid;
  grid-template-columns: minmax(128px, 0.9fr) 1fr;
  gap: 0.8rem;
  padding: 0.52rem 0;
  border-bottom: 1px solid #d8e4f5;
}

.stat-table dd,
.contact-list dd {
  margin: 0;
  color: #00399f;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.media-card,
.highlight-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #091426;
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.media-card::before {
  content: "PLAY";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: var(--white);
  background: rgba(7, 21, 43, 0.84);
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.media-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: linear-gradient(0deg, rgba(7, 21, 43, 0.92), transparent);
}

.media-card strong,
.media-card span {
  display: block;
}

.media-card strong {
  font-size: 1.25rem;
  text-transform: uppercase;
}

.media-card span {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 1rem;
}

.section-heading {
  padding: 1.2rem 1.2rem 0;
}

.section-heading p {
  margin: 0 0 0.25rem;
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.academics-layout {
  display: grid;
  grid-template-columns: 0.78fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.2rem 1.25rem;
}

.gpa-block {
  display: grid;
  min-height: 150px;
  place-items: center;
  align-content: center;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(0, 84, 207, 0.92), rgba(7, 21, 43, 0.92)),
    var(--blue);
  border-radius: 6px;
}

.gpa-block span {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gpa-block strong {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1;
}

h3 {
  margin: 0 0 0.5rem;
  color: #00399f;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
}

.contact-list {
  padding: 1rem 1.2rem 1.25rem;
}

.contact-actions {
  padding: 1rem 1.2rem 0;
}

.request-contact-button {
  width: 100%;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.social-icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: #07152b;
  border: 2px solid rgba(0, 84, 207, 0.22);
  border-radius: 12px;
  box-shadow: 0 12px 22px rgba(7, 21, 43, 0.14);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(7, 21, 43, 0.2);
}

.social-icon.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-icon.instagram span {
  display: block;
  position: relative;
  width: 25px;
  height: 25px;
  border: 3px solid var(--white);
  border-radius: 8px;
}

.social-icon.instagram span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 3px solid var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.social-icon.instagram span::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
}

.social-icon.x {
  background: #05080e;
  font-size: 1.35rem;
}

.social-icon.hudl {
  width: 58px;
  background: #ff6a00;
  padding: 0;
}

.social-icon.hudl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.sport-detail-section {
  width: min(96%, 1180px);
  margin: 1rem auto 1.2rem;
}

.sport-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
}

.sport-gallery figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  background: #091426;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 21, 43, 0.12);
}

.sport-gallery img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.sport-gallery figcaption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.72rem 0.85rem;
  color: var(--white);
  background: rgba(7, 21, 43, 0.88);
  border-left: 5px solid var(--orange);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.video-link-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding-top: 1rem;
}

.video-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--white);
  background: linear-gradient(90deg, var(--navy), var(--blue));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-link-card strong,
.video-link-card small {
  display: block;
}

.video-link-card strong {
  font-size: clamp(1.25rem, 3vw, 2rem);
  text-transform: uppercase;
}

.video-link-card small {
  color: #dcecff;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-dialog {
  width: min(92vw, 560px);
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(7, 21, 43, 0.38);
}

.contact-dialog::backdrop {
  background: rgba(5, 8, 14, 0.72);
}

.request-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.dialog-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.dialog-close {
  cursor: pointer;
  padding: 0.55rem 0.75rem;
  color: var(--blue);
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.request-form label {
  display: grid;
  gap: 0.3rem;
  color: #38557e;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: 800 1rem Arial, sans-serif;
}

.request-form textarea {
  resize: vertical;
}

.contact-list div {
  grid-template-columns: 0.6fr 1.4fr;
}

.highlights {
  padding-bottom: 0.25rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 1rem;
  padding-top: 1rem;
}

.highlight-grid figure {
  min-height: 280px;
  box-shadow: 0 12px 30px rgba(7, 21, 43, 0.12);
}

.highlight-grid img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.highlight-grid figure:nth-child(2) img {
  object-position: center center;
}

.highlight-grid figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.75rem 0.85rem;
  color: var(--white);
  background: rgba(7, 21, 43, 0.88);
  border-left: 5px solid var(--orange);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.coach-section {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 1.2rem 0;
}

.coach-grid article {
  padding: 1rem;
  background: linear-gradient(180deg, #f6fbff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.coach-grid strong {
  display: block;
  margin-top: 0.25rem;
  color: #00399f;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.coach-grid p {
  margin: 0.35rem 0 0;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.events-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1rem;
  padding-top: 1rem;
}

.events-panel {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 21, 43, 0.08);
}

.event-list {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.event-card {
  padding: 1rem;
  background: linear-gradient(180deg, #f6fbff, #ffffff);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 6px;
}

.event-card strong {
  display: block;
  margin-top: 0.25rem;
  color: #00399f;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1;
  text-transform: uppercase;
}

.event-card p {
  margin: 0.35rem 0 0;
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.next-event-card {
  border-left-color: var(--orange);
}

.muted-event {
  border-left-color: #8da2c2;
}

footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 3vw, 2rem);
  color: var(--white);
  background: #05080e;
  border-top: 5px solid var(--blue);
}

footer img {
  width: 92px;
  height: 52px;
  object-fit: contain;
  filter: invert(1);
}

@keyframes soccerBallCross {
  0% {
    transform: translate(-68vw, 54px) rotate(-520deg) scale(0.9);
  }

  40% {
    transform: translate(-12vw, 38px) rotate(-110deg) scale(1);
  }

  55% {
    transform: translate(-2vw, 30px) rotate(28deg) scale(1.03);
  }

  100% {
    transform: translate(66vw, 70px) rotate(720deg) scale(0.92);
  }
}

@keyframes basketballDropRoll {
  0% {
    transform: translate(24vw, -68vh) rotate(0deg) scale(0.96);
  }

  28% {
    transform: translate(14vw, 70px) rotate(92deg) scale(1.02, 0.94);
  }

  42% {
    transform: translate(8vw, -12px) rotate(146deg) scale(0.98);
  }

  54% {
    transform: translate(2vw, 62px) rotate(205deg) scale(1.02, 0.95);
  }

  64% {
    transform: translate(-4vw, 18px) rotate(268deg) scale(0.99);
  }

  76% {
    transform: translate(-14vw, 72px) rotate(370deg) scale(1.01, 0.97);
  }

  100% {
    transform: translate(-70vw, 76px) rotate(-660deg) scale(0.92);
  }
}

@keyframes soccerWordReveal {
  0%,
  38% {
    opacity: 0;
    transform: translate(-82%, -118%) scale(0.88);
  }

  48%,
  58% {
    opacity: 1;
    transform: translate(-82%, -132%) scale(1);
  }

  72% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.36);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
}

@keyframes basketballWordReveal {
  0%,
  40% {
    opacity: 0;
    transform: translate(-18%, 18%) scale(0.88);
  }

  50%,
  60% {
    opacity: 1;
    transform: translate(-18%, 28%) scale(1);
  }

  72% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.36);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
}

@keyframes introBrandIn {
  0%,
  63% {
    opacity: 0;
    transform: translate(-50%, -42%) scale(0.92);
  }

  82%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes introFadeAway {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .hero-photo-right {
    display: none;
  }

  .quick-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .countdown-section {
    grid-template-columns: 1fr;
  }

  .profile-grid,
  .split-section,
  .events-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .intro-stage {
    min-height: 520px;
  }

  .intro-ball {
    width: clamp(58px, 19vw, 88px);
  }

  .intro-sport-word {
    font-size: clamp(2.15rem, 11vw, 4.4rem);
  }

  .intro-word-soccer {
    animation-name: soccerWordRevealMobile;
  }

  .intro-word-basketball {
    animation-name: basketballWordRevealMobile;
  }

  .intro-brand-lockup strong {
    font-size: clamp(3.1rem, 16vw, 6.2rem);
  }

  .intro-brand-lockup span {
    max-width: 18rem;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.35;
  }

  .site-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
    gap: 0.75rem;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
    position: relative;
  }

  .mobile-menu summary {
    cursor: pointer;
    display: grid;
    width: 54px;
    height: 48px;
    place-items: center;
    gap: 0;
    padding: 0.62rem;
    background: var(--blue);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 4px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
  }

  .mobile-menu summary span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 999px;
  }

  .mobile-menu[open] summary {
    background: #00399f;
  }

  .mobile-menu nav {
    position: fixed;
    top: 92px;
    left: 50%;
    z-index: 20;
    display: grid;
    width: min(84vw, 320px);
    gap: 0;
    overflow: hidden;
    background: rgba(5, 8, 14, 0.98);
    border: 1px solid rgba(145, 193, 255, 0.35);
    border-radius: 6px;
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.38);
    transform: translateX(-50%);
  }

  .mobile-menu nav a {
    padding: 1.05rem 1.2rem;
    border-bottom: 1px solid rgba(145, 193, 255, 0.18);
    text-align: center;
  }

  .mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .hero-photo-left {
    min-height: 360px;
  }

  .hero-photo-left img {
    min-height: 360px;
  }

  .hero-content {
    background: rgba(255, 255, 255, 0.94);
  }

  .identity-line span:not(:last-child)::after {
    content: "";
    margin: 0;
  }

  .quick-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 1rem;
  }

  .countdown-section {
    margin-top: 1rem;
  }

  .countdown-clock {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.7rem;
    background: rgba(7, 21, 43, 0.04);
  }

  .countdown-clock article {
    min-height: 86px;
    padding: 0.55rem 0.25rem;
    border: 1px solid rgba(56, 85, 126, 0.28);
    border-radius: 8px;
  }

  .countdown-clock strong {
    font-size: clamp(2rem, 11vw, 3.5rem);
  }

  .countdown-clock span {
    font-size: clamp(0.58rem, 2.25vw, 0.72rem);
    letter-spacing: 0;
  }

  .panel-body,
  .academics-layout,
  .highlight-grid,
  .coach-grid,
  .about-section,
  .sport-gallery,
  .sport-gallery {
    grid-template-columns: 1fr;
  }

  .social-links {
    justify-content: flex-start;
  }

  .social-icon {
    width: 54px;
    height: 54px;
  }

  .stat-table div,
  .contact-list div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@keyframes soccerWordRevealMobile {
  0%,
  38% {
    opacity: 0;
    transform: translate(-50%, -96%) scale(0.88);
  }

  48%,
  58% {
    opacity: 1;
    transform: translate(-50%, -112%) scale(1);
  }

  72% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.34);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
}

@keyframes basketballWordRevealMobile {
  0%,
  40% {
    opacity: 0;
    transform: translate(-50%, 8%) scale(0.88);
  }

  50%,
  60% {
    opacity: 1;
    transform: translate(-50%, 20%) scale(1);
  }

  72% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.34);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 58px;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlay {
    display: none;
  }
}
