@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

:root {
  --ink: #111216;
  --muted-ink: #5a5d66;
  --green: #1c1d22;
  --green-dark: #08090b;
  --clay: #ffcc00;
  --blue: #ffd900;
  --court: #fff8d9;
  --white: #ffffff;
  --line: rgba(20, 33, 29, 0.16);
  --shadow: 0 22px 60px rgba(20, 33, 29, 0.14);
  --logo-yellow: #ffdf00;
  --logo-yellow-soft: #fff3a3;
  --logo-black: #111216;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 223, 0, 0.16), transparent 260px),
    var(--court);
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.5;
  animation: pageFade 620ms ease both;
  overflow-x: hidden;
}

::selection {
  color: var(--logo-black);
  background: var(--logo-yellow);
}

:focus-visible {
  outline: 3px solid var(--logo-yellow);
  outline-offset: 4px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  color: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 10px 30px auto;
  z-index: 1000;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 104px;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 12px 34px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease, transform 260ms ease;
  animation: headerDrop 640ms ease both;
  pointer-events: none;
}

.site-header::before {
  display: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.brand {
  grid-column: 1;
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  flex: 0 0 auto;
  text-decoration: none;
  pointer-events: auto;
}

.brand-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffdf00;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.brand:hover .brand-logo {
  transform: none;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.site-nav {
  grid-column: 2;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  gap: clamp(18px, 2.6vw, 36px);
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 0;
  margin-bottom: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: auto;
}

.site-nav a {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  font-family: "Roboto", Arial, sans-serif;
  font-size: clamp(1rem, 1.05vw, 1.22rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: color 200ms ease, transform 200ms ease, text-shadow 200ms ease;
  overflow: hidden;
}

.site-nav a.nav-login {
  display: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--logo-yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
  pointer-events: none;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a:hover {
  background: transparent;
  color: var(--logo-yellow);
  transform: none;
  box-shadow: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
}

.site-nav a.active {
  color: var(--logo-yellow);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  text-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-nav a.active::after {
  transform: scaleX(1);
}

.header-login {
  grid-column: 3;
  position: relative;
  z-index: 3;
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 104px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(17, 18, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: "Roboto", Arial, sans-serif;
  font-size: clamp(0.84rem, 0.9vw, 0.94rem);
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.26);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  margin-bottom: 0;
  overflow: hidden;
  pointer-events: auto;
}

.header-login:hover,
.header-login.active {
  color: var(--logo-black);
  background: var(--logo-yellow);
  border-color: var(--logo-yellow);
  transform: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 4;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

@media (min-width: 921px) and (max-width: 1180px) {
  .site-header {
    grid-template-columns: 80px minmax(0, 1fr) 92px;
    gap: 12px;
    padding: 10px 18px;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .site-nav {
    gap: clamp(8px, 1.3vw, 16px);
  }

  .site-nav a {
    min-height: 36px;
    padding: 0 6px;
    font-size: clamp(0.76rem, 0.9vw, 0.92rem);
    letter-spacing: 0.05em;
  }

  .header-login {
    width: 92px;
    padding: 0 12px;
  }
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero > img,
.slideshow,
.slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.slideshow {
  overflow: hidden;
}

.slideshow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 3px;
  background: linear-gradient(90deg, var(--logo-yellow), #ffffff, var(--logo-yellow));
  transform-origin: left;
  animation: slideProgress 4200ms linear infinite;
}

.slideshow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(0deg, transparent 61%, rgba(255, 223, 0, 0.11) 61.25%, transparent 61.5%);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.slide {
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 5200ms ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content > * {
  animation: heroRise 900ms ease both;
}

.hero-content > *:nth-child(2) {
  animation-delay: 120ms;
}

@keyframes slideProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(17, 18, 22, 0.5) 46%, rgba(17, 18, 22, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(17, 18, 22, 0) 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 92px;
  color: var(--white);
}

.home-hero-content {
  align-self: center;
  text-align: center;
}

.home-hero-content h1,
.home-hero-content h2 {
  margin-left: auto;
  margin-right: auto;
}

.home-hero-content h1,
.home-hero-content h2,
.page-hero-content h1,
.page-hero-content h2 {
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.06;
  text-transform: uppercase;
}

.home-hero-title {
  width: 100%;
}

.home-hero-title .hero-title-line {
  display: block;
}

.home-hero-title .hero-title-line-primary {
  white-space: nowrap;
}

@media (max-width: 620px) {
  .home-hero-title .hero-title-line-primary {
    font-size: clamp(1.35rem, 7.25vw, 2.8rem);
  }
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 34px;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 1.8rem;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.home-hero-content .hero-copy {
  margin-left: auto;
  margin-right: auto;
}

.home-hero-content .hero-actions {
  justify-content: center;
  margin-top: 24px;
}

.home-hero-content .eyebrow {
  margin-bottom: 16px;
}

.home-trust-band {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding: 0 0 24px;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 223, 0, 0.24);
  border-radius: 12px;
  background: var(--logo-black);
  box-shadow: 0 24px 70px rgba(17, 18, 22, 0.22);
}

.home-trust-grid div {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(72px, 9vw, 104px);
  padding: clamp(16px, 2.2vw, 24px);
  background: var(--logo-black);
  text-align: center;
}

.home-trust-grid div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: var(--white);
}

.home-trust-grid span {
  color: var(--white);
}

.home-trust-grid span,
.home-value-grid span,
.journey-steps span {
  display: block;
  margin-bottom: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-trust-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-trust-grid strong {
  display: block;
  color: var(--white);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.35;
}

.home-showcase {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 223, 0, 0.16), transparent 28%),
    #ffffff;
}

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

.home-value-grid article,
.journey-steps article,
.faq-list details {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(17, 18, 22, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(17, 18, 22, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-value-grid article:hover,
.journey-steps article:hover,
.faq-list details:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 223, 0, 0.52);
  box-shadow: 0 22px 58px rgba(17, 18, 22, 0.14);
}

.home-value-grid h3,
.journey-steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--logo-black);
  font-size: 1.15rem;
  line-height: 1.25;
}

.home-value-grid p,
.journey-steps p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted-ink);
  line-height: 1.65;
}

.player-journey {
  background:
    linear-gradient(135deg, rgba(17, 18, 22, 0.96), rgba(36, 37, 43, 0.92)),
    var(--logo-black);
  color: var(--white);
}

.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.journey-grid h2:not(.journey-title) {
  color: var(--white);
}

.journey-grid > div:first-child {
  max-width: 560px;
}

.journey-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--logo-yellow);
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.journey-title::before {
  content: "";
  width: 32px;
  height: 2px;
  flex: 0 0 32px;
  background: var(--logo-yellow);
}

.journey-lede {
  max-width: 100%;
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.12;
  font-weight: 400;
}

.journey-lede::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--logo-yellow), transparent);
}

.journey-grid > div > p:not(.section-kicker):not(.journey-lede) {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: left;
}

.journey-steps {
  display: grid;
  gap: 14px;
}

.journey-steps article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.journey-steps strong {
  color: var(--white);
}

.journey-steps p {
  color: rgba(255, 255, 255, 0.72);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list summary {
  color: var(--logo-black);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
}

.faq-list summary::marker {
  color: var(--logo-yellow);
}

.faq-list p {
  margin-top: 14px;
}

.page-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero > img {
  position: absolute;
  inset: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 76px;
  color: var(--white);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--logo-yellow);
}

.about-kicker {
  color: var(--logo-black);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.approach-kicker {
  font-size: clamp(1rem, 1.5vw, 1.28rem);
}

.about-section-kicker {
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.93;
  letter-spacing: 0;
  font-weight: 100;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 400;
}

.home-hero-content h1,
.home-hero-content h2,
.page-hero-content h2 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 1;
  font-weight: 300;
}

.home-hero-content h1,
.home-hero-content h2,
.page-hero-content h1,
.page-hero-content h2 {
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 33, 29, 0.18);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.35) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button:hover::after {
  transform: translateX(120%);
}

.button.primary {
  color: var(--logo-black);
  background: var(--logo-yellow);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button.ghost {
  color: var(--logo-black);
  border-color: var(--line);
  background: var(--white);
}

.section-pad {
  padding: 98px 0;
}

.section-pad {
  position: relative;
  isolation: isolate;
}

.section-pad::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17, 18, 22, 0.12), transparent);
}

.muted {
  background: #fff4b8;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
}

.intro-points {
  display: grid;
  gap: 24px;
}

.intro-points div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.intro-points strong {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.intro-points span,
.section-head p,
.court-copy p,
.program p,
.contact p,
.academy-depth p,
.source-note p,
.schedule-grid p,
.facility-grid p {
  color: var(--muted-ink);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-head h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.programs-head .section-kicker {
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  letter-spacing: 0.08em;
}

.programs-head h2 {
  max-width: 520px;
  margin-left: auto;
  font-size: clamp(1.55rem, 2.7vw, 2.65rem);
  line-height: 1.12;
  text-align: left;
}

.tournament-head .section-kicker {
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  letter-spacing: 0.08em;
}

.section-head.compact {
  display: block;
  margin-bottom: 0;
}

.section-head.compact p:last-child {
  max-width: 560px;
  font-size: 1.05rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(20, 33, 29, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(20, 33, 29, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
  isolation: isolate;
}

.program,
.depth-cards article,
.schedule-list article,
.facility-grid article,
.enquiry {
  position: relative;
}

.program::after,
.depth-cards article::after,
.schedule-list article::after,
.facility-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 223, 0, 0.12), transparent 38%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.program:hover::after,
.depth-cards article:hover::after,
.schedule-list article:hover::after,
.facility-grid article:hover::after {
  opacity: 1;
}

.program img,
.story-strip img,
.gallery-grid img {
  will-change: transform;
}

.program img {
  transition: transform 520ms ease, filter 520ms ease;
}

.program:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.02);
}

.program:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(20, 33, 29, 0.14);
}

.depth-cards article,
.schedule-list article,
.facility-grid article {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.depth-cards article:hover,
.schedule-list article:hover,
.facility-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 223, 0, 0.44);
  box-shadow: 0 20px 42px rgba(17, 18, 22, 0.14);
}

.program img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.program div {
  padding: 24px;
}

.program span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--clay);
  font-weight: 900;
}

.courts {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  min-height: 680px;
  background: var(--green-dark);
  color: var(--white);
}

.court-copy {
  align-self: center;
  padding: 70px clamp(28px, 5vw, 78px);
}

.court-copy .section-kicker {
  color: var(--logo-yellow);
}

.court-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 0 14px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--logo-yellow);
}

.academy-depth,
.source-note {
  background: var(--court);
}

.depth-grid,
.source-grid,
.schedule-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.depth-grid > div > p,
.source-grid > div > p,
.schedule-grid > div > p {
  font-size: 1.05rem;
}

.depth-cards,
.schedule-list,
.facility-grid {
  display: grid;
  gap: 14px;
}

.depth-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: center;
}

.depth-cards article,
.schedule-list article,
.facility-grid article {
  padding: 22px;
  border: 1px solid rgba(20, 33, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(20, 33, 29, 0.08);
}

.depth-cards span,
.facility-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--clay);
  font-weight: 900;
}

.pathway-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  margin-top: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.pathway-band div {
  overflow: hidden;
  padding: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(20, 33, 29, 0.08);
}

.pathway-band img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid rgba(20, 33, 29, 0.08);
}

.pathway-band strong,
.pathway-band span,
.schedule-list strong,
.schedule-list span {
  display: block;
}

.pathway-band span,
.schedule-list span {
  margin-top: 8px;
  color: var(--muted-ink);
}

.pathway-band strong,
.pathway-band span {
  padding-inline: 22px;
}

.pathway-band strong {
  margin-top: 18px;
}

.facility-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.source-links a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--logo-black);
  background: rgba(255, 223, 0, 0.36);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.tournament-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: 44px;
  align-items: stretch;
}

.story-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  height: 100%;
}

figure {
  margin: 0;
}

.story-strip figure {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.story-strip figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.18), transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.story-strip figure:hover::after {
  transform: translateX(120%);
}

.story-strip figure {
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.story-strip figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 58px rgba(17, 18, 22, 0.22);
}

.story-strip img {
  filter: saturate(0.95);
}

.story-strip figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(17, 18, 22, 0.8);
  border-radius: 8px;
  font-weight: 800;
  z-index: 2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3.6vw, 42px);
}

.gallery-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 18px;
  margin-bottom: 18px;
}

.gallery-stage {
  position: relative;
  min-height: clamp(360px, 52vw, 640px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--logo-black);
  box-shadow: var(--shadow);
}

.gallery-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.26) 54%, rgba(0, 0, 0, 0.84)),
    radial-gradient(circle at 18% 16%, rgba(255, 223, 0, 0.22), transparent 30%);
  pointer-events: none;
}

.gallery-stage-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.02);
  transition: opacity 420ms ease, transform 1600ms ease;
}

.gallery-stage-image.is-changing {
  opacity: 0;
  transform: scale(1.08);
}

.gallery-stage-caption {
  position: absolute;
  left: clamp(16px, 3vw, 34px);
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(220px, 0.72fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: end;
  color: var(--white);
}

.gallery-stage-caption div {
  max-width: 640px;
  padding: 18px 20px;
  border-left: 4px solid var(--logo-yellow);
  background: rgba(17, 18, 22, 0.72);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: captionFloat 520ms ease both;
}

.gallery-stage-caption span {
  display: block;
  color: var(--logo-yellow);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.gallery-stage-caption p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  line-height: 1.55;
  max-width: 58ch;
}

.gallery-stage-caption strong {
  justify-self: end;
  max-width: 360px;
  padding-bottom: 6px;
  font-size: clamp(1.7rem, 4vw, 4.4rem);
  font-weight: 100;
  line-height: 0.94;
  text-align: right;
  text-wrap: balance;
  animation: captionFloat 520ms 80ms ease both;
}

@keyframes captionFloat {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.gallery-thumbs button {
  position: relative;
  min-height: 70px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--logo-black);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gallery-thumbs button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 223, 0, 0.22));
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-thumbs button:hover,
.gallery-thumbs button.is-active {
  opacity: 1;
  border-color: var(--logo-yellow);
  transform: translateX(-3px);
}

.gallery-thumbs button:hover::after,
.gallery-thumbs button.is-active::after {
  opacity: 1;
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid button {
  display: grid;
  grid-template-rows: minmax(220px, 0.95fr) auto;
  min-height: 430px;
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #fff4b8;
  cursor: zoom-in;
  position: relative;
  box-shadow: none;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-grid button span {
  position: static;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 152px;
  padding: 24px 24px 26px;
  color: var(--logo-black);
  background: #fff4b8;
  border-top: 0;
  border-radius: 0;
  font-size: 0.86rem;
  line-height: 1.28;
  text-align: center;
  transform: none;
  transition: background 220ms ease;
}

.gallery-grid button span strong {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 32px;
  z-index: 5;
  display: block;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
  text-transform: none;
  pointer-events: none;
}

.gallery-grid button span::after {
  content: "Learn More";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 36px;
  margin-top: 20px;
  padding: 0 20px;
  color: var(--logo-black);
  background: var(--logo-yellow);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(255, 223, 0, 0.28);
  transition: background 180ms ease, transform 180ms ease;
}

.gallery-grid button::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: calc(100% - 152px);
  border: 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 42%);
  pointer-events: none;
  transition: background 220ms ease;
}

.gallery-grid button::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  height: calc(100% - 152px);
  background:
    linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.2), transparent 58%);
  opacity: 0;
  transform: translateX(-36%);
  transition: opacity 240ms ease, transform 620ms ease;
  pointer-events: none;
}

.gallery-grid button:hover::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 48%);
}

.gallery-grid button:hover::before,
.gallery-grid button:focus-visible::before {
  opacity: 1;
  transform: translateX(36%);
}

.gallery-grid button:hover,
.gallery-grid button:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(17, 18, 22, 0.16);
}

.gallery-grid button:hover span::after,
.gallery-grid button:focus-visible span::after {
  color: var(--white);
  background: var(--logo-black);
  transform: translateY(-2px);
}

.gallery-grid img {
  height: 278px;
  transition: transform 520ms ease, filter 520ms ease;
}

.gallery-grid button:hover img {
  transform: scale(1.07);
  filter: saturate(1.06) contrast(1.04);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms ease, transform 720ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.program,
.story-strip figure,
.gallery-grid button {
  animation: liftIn 640ms ease both;
}

.program:nth-child(2),
.story-strip figure:nth-child(2),
.gallery-grid button:nth-child(2n) {
  animation-delay: 90ms;
}

.program:nth-child(3),
.story-strip figure:nth-child(3),
.gallery-grid button:nth-child(3n) {
  animation-delay: 160ms;
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact {
  background: var(--green-dark);
  color: var(--white);
}

.login-page {
  background: var(--logo-black);
  font-family: "Roboto", Arial, sans-serif;
}

.login-page .site-header {
  color: var(--logo-black);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 18, 22, 0.08);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(17, 18, 22, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.login-page .site-header::after {
  display: none;
}

.login-page .site-nav a {
  color: rgba(17, 18, 22, 0.78);
  text-shadow: none;
}

.login-page .site-nav a:hover,
.login-page .site-nav a.active {
  color: var(--logo-black);
}

.login-page .header-login {
  color: var(--white);
  background: var(--logo-black);
  border-color: rgba(17, 18, 22, 0.18);
  text-shadow: none;
}

.login-showcase {
  min-height: 100vh;
  padding: 128px clamp(18px, 4vw, 56px) 64px;
  background:
    linear-gradient(120deg, rgba(255, 223, 0, 0.2) 0 22%, transparent 22% 100%),
    linear-gradient(300deg, rgba(17, 18, 22, 0.06) 0 26%, transparent 26% 100%),
    linear-gradient(180deg, #f7f7f4, #ecece8);
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1.18fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
  width: min(1180px, 100%);
  min-height: min(720px, calc(100vh - 190px));
  margin: 0 auto;
  padding: clamp(20px, 3.8vw, 44px);
  border: 1px solid rgba(17, 18, 22, 0.06);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 251, 224, 0.74)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 34px 90px rgba(17, 18, 22, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.login-form-card {
  position: relative;
  width: min(100%, 420px);
  justify-self: center;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(17, 18, 22, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff, #fbfaf2);
  box-shadow: 0 28px 74px rgba(17, 18, 22, 0.14);
}

.login-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--logo-yellow), var(--logo-black));
}

.login-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--logo-black);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-decoration: none;
}

.login-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--logo-yellow);
  box-shadow: 0 10px 24px rgba(17, 18, 22, 0.16);
}

.login-form-card h1,
.login-form-card h2 {
  margin-bottom: 10px;
  color: var(--logo-black);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.login-intro {
  max-width: 330px;
  margin-bottom: 26px;
  color: var(--muted-ink);
  font-size: 1rem;
  line-height: 1.58;
}

.login-form {
  gap: 18px;
}

.login-form label {
  color: var(--logo-black);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
}

.login-form input {
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 18, 22, 0.18);
  border-radius: 12px;
  color: var(--logo-black);
  background: #ffffff;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.login-form input::placeholder {
  color: rgba(17, 18, 22, 0.58);
  font-size: 1rem;
  font-weight: 700;
}

.login-form input:focus {
  border-color: rgba(255, 223, 0, 0.9);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 223, 0, 0.16);
  outline: 0;
}

.remember-field {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  color: var(--logo-black);
  font-size: 0.9rem;
  font-weight: 700;
}

.remember-field input {
  width: 16px;
  min-height: 16px;
  box-shadow: none;
}

.login-form .button {
  width: 100%;
  min-height: 54px;
  color: var(--white);
  background: var(--logo-black);
  border-radius: 10px;
  font-size: 1rem;
  letter-spacing: 0;
  box-shadow: 0 14px 30px rgba(17, 18, 22, 0.18);
}

.login-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.login-assurance span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid rgba(17, 18, 22, 0.08);
  border-radius: 999px;
  color: var(--logo-black);
  background: rgba(255, 223, 0, 0.16);
  font-size: 0.62rem;
  font-weight: 900;
  text-align: center;
}

.login-help {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted-ink);
  font-size: 0.86rem;
  font-weight: 500;
}

.login-help a {
  text-decoration: none;
}

.login-help a:hover {
  color: var(--logo-black);
}

.academy-login-panel {
  position: relative;
  min-height: min(690px, 72vh);
  overflow: hidden;
  border-radius: 28px;
  color: var(--white);
  background: var(--logo-black);
  box-shadow: 0 34px 90px rgba(17, 18, 22, 0.24);
  isolation: isolate;
}

.academy-login-panel::after {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  pointer-events: none;
}

.academy-login-panel::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  z-index: 3;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255, 223, 0, 0.88);
  filter: blur(1px);
  pointer-events: none;
}

.academy-login-panel > img,
.academy-panel-shade {
  position: absolute;
  inset: 0;
}

.academy-login-panel > img,
.academy-login-image {
  opacity: 0.96;
  object-position: center;
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.08);
}

.academy-login-panel .slideshow {
  opacity: 0.96;
  filter: saturate(1.08) contrast(1.08);
}

.academy-panel-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.48)),
    linear-gradient(120deg, rgba(17, 18, 22, 0.78), transparent 58%);
}

.academy-panel-content {
  position: absolute;
  left: clamp(24px, 4vw, 46px);
  right: clamp(24px, 4vw, 46px);
  bottom: clamp(24px, 4vw, 46px);
  z-index: 4;
  max-width: 560px;
}

.academy-panel-kicker {
  position: absolute;
  top: clamp(34px, 5vw, 58px);
  left: clamp(34px, 5vw, 58px);
  right: clamp(34px, 5vw, 58px);
  z-index: 4;
  width: fit-content;
  max-width: calc(100% - 68px);
  padding: 0;
  color: var(--logo-yellow);
  font-size: clamp(0.86rem, 1.2vw, 1rem);
  line-height: 1.3;
  letter-spacing: 0.08em;
  background: transparent;
}

.academy-panel-content h2 {
  max-width: 12ch;
  margin: 12px 0 22px;
  color: var(--white);
  font-size: clamp(2.25rem, 5.4vw, 4.7rem);
  font-weight: 900;
  line-height: 0.95;
}

.academy-panel-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.academy-panel-stats span {
  min-width: 0;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(17, 18, 22, 0.52);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  font-weight: 800;
  line-height: 1.35;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.academy-panel-stats strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.18rem, 1.7vw, 1.5rem);
  line-height: 1.1;
  margin-bottom: 4px;
}

.portal-workspace {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.member-section {
  background:
    radial-gradient(circle at top left, rgba(255, 223, 0, 0.22), transparent 34%),
    linear-gradient(180deg, #fff4b8, var(--court));
}

.member-hero {
  min-height: 58vh;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.portal-card {
  border: 1px solid rgba(20, 33, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.login-card,
.portal-panel {
  padding: 26px;
}

.portal-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.portal-form,
.member-form {
  display: grid;
  gap: 15px;
}

.member-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-form label:nth-last-of-type(1),
.member-form .button {
  grid-column: 1 / -1;
}

.portal-note,
.form-message {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.9rem;
}

.member-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.member-search,
.member-sort {
  display: flex;
  gap: 8px;
  color: var(--muted-ink);
  font-size: 0.72rem;
}

.member-search {
  width: min(360px, 100%);
}

.member-sort {
  width: min(220px, 100%);
}

.member-tools input,
.member-tools select {
  min-height: 38px;
  background: var(--white);
  font-size: 0.78rem;
}

.member-table {
  overflow-x: auto;
  margin-bottom: 28px;
  border: 1px solid rgba(17, 18, 22, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.member-table-head,
.member-table-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.18fr) minmax(180px, 1fr) minmax(190px, 1fr) minmax(130px, 0.78fr) minmax(110px, 0.68fr) 150px;
  gap: 18px;
  align-items: center;
  min-width: 920px;
}

.member-table-head {
  padding: 13px 14px;
  color: #717682;
  background: #f4f4ef;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.member-table-row {
  padding: 12px 14px;
  border-top: 1px solid rgba(17, 18, 22, 0.08);
  color: #15161a;
  font-size: 0.78rem;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.member-table-row:first-of-type {
  border-top: 0;
}

.member-table-row:hover {
  background: rgba(255, 223, 0, 0.08);
  box-shadow: inset 3px 0 0 var(--logo-yellow);
  transform: translateX(2px);
}

.member-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--logo-black);
  background: var(--logo-yellow);
  font-size: 0.9rem;
  font-weight: 900;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.member-actions button {
  min-height: 30px;
  min-width: 76px;
  padding: 0 12px;
  border: 1px solid rgba(17, 18, 22, 0.12);
  border-radius: 999px;
  background: var(--white);
  color: var(--logo-black);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.member-actions button:hover {
  background: var(--logo-black);
  color: var(--white);
}

.member-form-head {
  margin: 4px 0 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 18, 22, 0.1);
}

.member-form-head p:last-child {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.88rem;
}

.form-message.error {
  color: #a33225;
  font-weight: 800;
}

.form-message.success {
  color: var(--green);
  font-weight: 800;
}

.portal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.portal-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.admin-dashboard-summary article {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(17, 18, 22, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 231, 0.92));
  box-shadow: 0 14px 38px rgba(17, 18, 22, 0.08);
}

.admin-dashboard-summary article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--logo-yellow), rgba(255, 223, 0, 0));
}

.admin-dashboard-summary span {
  display: block;
  color: #777c86;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-dashboard-summary strong {
  display: block;
  margin-top: 10px;
  color: var(--logo-black);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1;
}

.admin-dashboard-summary p {
  margin: 8px 0 0;
  color: var(--muted-ink);
  font-size: 0.78rem;
}

.is-hidden {
  display: none;
}

.member-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.member-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.member-row strong,
.member-row span {
  display: block;
}

.member-row span {
  color: var(--muted-ink);
  font-size: 0.88rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.player-dashboard {
  display: grid;
  gap: 16px;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.82rem;
  animation: dashboardRise 540ms ease both;
}

.player-profile-card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 18, 22, 0.98), rgba(17, 18, 22, 0.84)),
    var(--logo-black);
  box-shadow: 0 24px 70px rgba(17, 18, 22, 0.18);
}

.player-profile-card::before {
  content: "";
  position: absolute;
  inset: auto -28px 28px auto;
  width: 220px;
  height: 18px;
  z-index: 1;
  background: rgba(255, 223, 0, 0.86);
  transform: rotate(-18deg);
  transform-origin: center;
}

.player-profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(17, 18, 22, 0.84), rgba(17, 18, 22, 0.58)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-repeat: no-repeat, repeat, repeat;
  background-size: auto, 34px 34px, 34px 34px;
  pointer-events: none;
}

.player-profile-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.player-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(70px, 10vw, 92px);
  height: clamp(70px, 10vw, 92px);
  border: 0;
  border-radius: 50%;
  color: var(--logo-black);
  background: var(--logo-yellow);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1;
}

.player-status {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.player-profile-card h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(1.48rem, 2.7vw, 2.08rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.player-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.player-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.attendance-meter {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  padding: 18px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.attendance-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.attendance-meter-head strong {
  color: var(--logo-yellow);
  font-size: 1rem;
  line-height: 1;
}

.attendance-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.attendance-track span {
  display: block;
  width: var(--attendance-level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--logo-yellow), #ffffff);
  box-shadow: 0 0 20px rgba(255, 223, 0, 0.36);
  transition: width 700ms ease;
}

.dashboard-stats div,
.result-panel {
  padding: 18px;
  border: 1px solid rgba(17, 18, 22, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(17, 18, 22, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.dashboard-stats div:hover,
.result-panel:hover {
  border-color: rgba(255, 223, 0, 0.8);
  box-shadow: 0 20px 46px rgba(17, 18, 22, 0.1);
  transform: translateY(-3px);
}

.dashboard-stats span {
  display: block;
  color: var(--muted-ink);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--logo-black);
  font-size: clamp(0.96rem, 1.7vw, 1.15rem);
  font-weight: 900;
  line-height: 1.18;
}

.player-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.result-panel h3 {
  margin-bottom: 14px;
  color: var(--logo-black);
  font-size: 0.86rem;
  font-weight: 900;
}

.result-panel p {
  margin-bottom: 0;
  color: var(--muted-ink);
  font-size: 0.82rem;
}

.highlight-panel {
  min-height: 150px;
}

.member-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.member-detail-list div {
  display: grid;
  grid-template-columns: minmax(96px, 0.45fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 18, 22, 0.08);
}

.member-detail-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.member-detail-list dt {
  color: #717682;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.member-detail-list dd {
  min-width: 0;
  margin: 0;
  color: var(--logo-black);
  font-size: 0.82rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.portal-panel[data-user-panel] {
  overflow: hidden;
  border-color: rgba(17, 18, 22, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 240, 0.96));
}

.portal-panel[data-user-panel] .portal-head {
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(17, 18, 22, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.player-dashboard {
  gap: 18px;
}

.player-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.player-profile-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(17, 18, 22, 0.22);
}

.player-profile-card::after {
  background:
    linear-gradient(180deg, rgba(17, 18, 22, 0.08), rgba(17, 18, 22, 0.22)),
    linear-gradient(90deg, rgba(255, 223, 0, 0.12), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size: auto, auto, 36px 36px, 36px 36px;
}

.player-profile-card::before {
  right: -52px;
  bottom: 64px;
  width: 280px;
  height: 22px;
}

.player-profile-top {
  align-items: start;
  margin-bottom: 28px;
}

.player-photo {
  width: clamp(76px, 9vw, 104px);
  height: clamp(76px, 9vw, 104px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 0 0 6px rgba(255, 255, 255, 0.24);
}

.player-profile-card h3 {
  max-width: 420px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.attendance-meter {
  margin-top: auto;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.attendance-track {
  height: 10px;
}

.player-performance-card {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid rgba(17, 18, 22, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 56px rgba(17, 18, 22, 0.1);
}

.performance-head p {
  margin: 0 0 5px;
  color: #777c86;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.performance-head h3 {
  margin: 0;
  color: var(--logo-black);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.08;
}

.player-performance-card .dashboard-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.player-performance-card .dashboard-stats div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 244, 0.92));
}

.player-performance-card .dashboard-stats span {
  color: #7a7f88;
  font-size: 0.62rem;
}

.player-performance-card .dashboard-stats strong {
  font-size: clamp(1.02rem, 2vw, 1.34rem);
}

.player-info-grid {
  grid-template-columns: 1.05fr 1fr;
  gap: 16px;
}

.result-panel {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.highlight-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 18, 22, 0.96), rgba(47, 49, 56, 0.92)),
    var(--logo-black);
}

.highlight-panel::before {
  content: "";
  position: absolute;
  top: 22px;
  right: -42px;
  width: 160px;
  height: 14px;
  background: rgba(255, 223, 0, 0.84);
  transform: rotate(-18deg);
}

.highlight-panel h3,
.highlight-panel p {
  position: relative;
  z-index: 1;
}

.highlight-panel h3 {
  color: var(--white);
}

.highlight-panel p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.portal-panel[data-user-panel] {
  position: relative;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 223, 0, 0.24), transparent 28%),
    radial-gradient(circle at 92% 22%, rgba(17, 18, 22, 0.1), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 226, 0.9));
}

.portal-panel[data-user-panel]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(17, 18, 22, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 18, 22, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 72%);
}

.portal-panel[data-user-panel] > * {
  position: relative;
  z-index: 1;
}

.portal-panel[data-user-panel] .portal-head {
  box-shadow: 0 18px 50px rgba(17, 18, 22, 0.08);
}

.player-dashboard {
  gap: 20px;
}

.player-dashboard-grid {
  grid-template-columns: minmax(320px, 0.95fr) minmax(380px, 1.05fr);
  gap: 18px;
}

.player-profile-card,
.player-performance-card,
.result-panel {
  animation: dashboardRise 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.player-performance-card {
  animation-delay: 90ms;
}

.player-info-grid .result-panel:nth-child(1) {
  animation-delay: 150ms;
}

.player-info-grid .result-panel:nth-child(2) {
  animation-delay: 210ms;
}

.player-info-grid .result-panel:nth-child(3) {
  animation-delay: 270ms;
}

.player-info-grid .result-panel:nth-child(4) {
  animation-delay: 330ms;
}

.player-profile-card {
  isolation: isolate;
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(17, 18, 22, 0.96), rgba(18, 20, 26, 0.86)),
    url("assets/images/player-ready.jpg") center / cover;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.player-profile-card::after {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(17, 18, 22, 0.1), rgba(17, 18, 22, 0.78)),
    linear-gradient(110deg, rgba(255, 223, 0, 0.18), transparent 52%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
}

.player-profile-card::before {
  z-index: 1;
  right: -44px;
  bottom: 78px;
  width: 310px;
  height: 24px;
  box-shadow: 0 0 34px rgba(255, 223, 0, 0.3);
}

.player-card-orbit {
  position: absolute;
  z-index: 1;
  top: -72px;
  right: -62px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 223, 0, 0.4);
  border-radius: 50%;
  opacity: 0.9;
  animation: dashboardSpin 18s linear infinite;
}

.player-card-orbit::before,
.player-card-orbit::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}

.player-card-orbit::before {
  inset: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
}

.player-card-orbit::after {
  top: 22px;
  left: 34px;
  width: 12px;
  height: 12px;
  background: var(--logo-yellow);
  box-shadow: 0 0 24px rgba(255, 223, 0, 0.72);
}

.player-photo {
  position: relative;
  background:
    radial-gradient(circle at 34% 28%, #ffffff, var(--logo-yellow) 48%, #c9a900);
  transform: translateZ(0);
}

.player-photo::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 223, 0, 0.52);
  border-radius: inherit;
  animation: playerPulse 2.8s ease-in-out infinite;
}

.player-card-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 18px;
}

.player-card-metrics div {
  min-width: 0;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.player-card-metrics span,
.dashboard-stats em,
.panel-label {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.player-card-metrics strong {
  display: block;
  min-width: 0;
  margin-top: 6px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.attendance-meter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
}

.attendance-track {
  position: relative;
  height: 11px;
}

.attendance-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  animation: shimmer 1.8s ease-in-out infinite;
}

.attendance-track span {
  width: 0;
  animation: fillAttendance 1.1s cubic-bezier(0.22, 1, 0.36, 1) 180ms forwards;
}

.performance-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--logo-black);
  background: var(--logo-yellow);
  box-shadow: 0 10px 26px rgba(255, 223, 0, 0.28);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.player-performance-card {
  align-content: start;
  border: 1px solid rgba(17, 18, 22, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 231, 0.92));
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.player-performance-card .dashboard-stats div {
  position: relative;
  overflow: hidden;
}

.player-performance-card .dashboard-stats div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--logo-yellow), rgba(255, 223, 0, 0));
}

.dashboard-stats em {
  margin-top: 12px;
  color: #8b8f97;
}

.training-timeline {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid rgba(17, 18, 22, 0.08);
  border-radius: 14px;
  background: rgba(17, 18, 22, 0.04);
}

.training-timeline div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.training-timeline span {
  color: var(--logo-black);
  font-size: 0.72rem;
  font-weight: 900;
}

.training-timeline i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 18, 22, 0.1);
}

.training-timeline i::before {
  content: "";
  display: block;
  width: 86%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--logo-black), var(--logo-yellow));
  animation: skillFill 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.training-timeline div:nth-child(2) i::before {
  width: 74%;
  animation-delay: 130ms;
}

.training-timeline div:nth-child(3) i::before {
  width: 68%;
  animation-delay: 260ms;
}

.result-panel {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  border: 1px solid rgba(17, 18, 22, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 231, 0.92));
}

.result-panel::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(255, 223, 0, 0.12);
  pointer-events: none;
}

.highlight-panel {
  background:
    linear-gradient(135deg, rgba(17, 18, 22, 0.97), rgba(34, 36, 44, 0.94)),
    url("assets/images/clay-serve.jpg") center / cover;
}

.highlight-panel::after {
  background: rgba(255, 223, 0, 0.18);
}

.highlight-panel .panel-label {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: var(--logo-yellow);
}

.highlight-panel:hover,
.player-profile-card:hover,
.player-performance-card:hover {
  transform: translateY(-5px);
}

@keyframes dashboardSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes playerPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes fillAttendance {
  to {
    width: var(--attendance-level);
  }
}

@keyframes skillFill {
  from {
    width: 0;
  }
}

@media (max-width: 980px) {
  .section-head {
    align-items: flex-start;
  }

  .section-head,
  .intro-grid,
  .depth-grid,
  .journey-grid,
  .faq-grid,
  .contact-page-grid,
  .map-section {
    text-align: left;
  }

  .programs-head h2 {
    max-width: 520px;
    margin-left: 0;
  }

  .home-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-quick-panel,
  .contact-proof {
    grid-template-columns: 1fr;
  }

  .contact-page-grid,
  .map-section {
    grid-template-columns: 1fr;
  }

  .contact-form {
    position: static;
  }

  .player-card-metrics {
    grid-template-columns: 1fr;
  }

  .player-profile-card {
    min-height: 390px;
  }

  .performance-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .training-timeline div {
    grid-template-columns: 78px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  h1,
  h2,
  h3,
  p {
    text-align: inherit;
  }

  .home-hero-content {
    text-align: center;
  }

  .page-hero-content,
  .section-head,
  .intro-grid,
  .program,
  .pathway-band div,
  .contact-copy,
  .map-copy,
  .footer-main,
  .footer-links,
  .footer-bottom {
    text-align: left;
  }

  .program p,
  .pathway-band span,
  .section-head p,
  .hero-copy {
    max-width: none;
  }

  .home-trust-band {
    margin-top: 0;
    padding-top: 22px;
  }

  .home-value-grid {
    grid-template-columns: 1fr;
  }

  .home-value-grid article,
  .journey-steps article,
  .faq-list details {
    padding: 18px;
  }

  .contact-hero-actions,
  .contact-hero-actions .button {
    width: 100%;
  }

  .contact-quick-panel a {
    min-height: 104px;
    padding: 18px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards article,
  .contact-form {
    padding: 18px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }

  .portal-panel[data-user-panel] .portal-head {
    padding: 14px;
  }

  .player-profile-card {
    min-height: 0;
  }

  .player-card-orbit {
    width: 150px;
    height: 150px;
  }

  .player-card-metrics,
  .training-timeline {
    gap: 8px;
  }

  .live-pill {
    min-height: 28px;
  }

  .training-timeline {
    padding: 14px;
  }

  .training-timeline div {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@keyframes dashboardRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact .section-kicker {
  color: var(--logo-yellow);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 54px;
  align-items: start;
}

.contact-intro {
  max-width: 560px;
}

.contact-intro .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--logo-yellow);
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-intro .section-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  flex: 0 0 32px;
  background: var(--logo-yellow);
}

.contact-intro h2 {
  max-width: 560px;
  margin-bottom: 26px;
  line-height: 1.12;
  font-weight: 400;
}

.contact-intro h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--logo-yellow), transparent);
}

.contact .contact-intro > p:not(.section-kicker) {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: left;
}

.contact p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.enquiry {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfaf6;
  font: inherit;
}

textarea {
  resize: vertical;
}

.enquiry .button {
  width: 100%;
  border: 0;
}

.brochure-link {
  justify-self: center;
  color: var(--logo-black);
  font-weight: 800;
}

.contact-hero-content {
  max-width: 760px;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-hero-actions .button {
  min-width: 154px;
}

.contact-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 223, 0, 0.18), transparent 28%),
    linear-gradient(180deg, #08090b, #111216);
}

.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
}

.contact-page > .container {
  position: relative;
  z-index: 1;
}

.contact-quick-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.contact-quick-panel a {
  display: grid;
  gap: 6px;
  min-height: 122px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  text-decoration: none;
  transition: background 220ms ease, transform 220ms ease;
}

.contact-quick-panel a:hover {
  background:
    linear-gradient(135deg, rgba(255, 223, 0, 0.22), rgba(255, 255, 255, 0.08));
}

.contact-quick-panel span,
.contact-proof span,
.form-head p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-quick-panel strong {
  color: var(--white);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact-copy h2,
.map-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.section-kicker),
.map-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
}

.contact-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.contact-proof div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-proof strong {
  display: block;
  color: var(--logo-yellow);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1;
}

.contact-proof span {
  display: block;
  margin-top: 8px;
  line-height: 1.2;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-cards article {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.contact-cards article:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 223, 0, 0.52);
  background: rgba(255, 255, 255, 0.12);
}

.contact-cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--logo-black);
  background: var(--logo-yellow);
  font-size: 0.75rem;
  font-weight: 900;
}

.contact-cards h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.08rem;
}

.contact-cards p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.contact-cards a {
  color: var(--logo-yellow);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-form {
  position: sticky;
  top: 118px;
  border: 1px solid rgba(255, 223, 0, 0.24);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.form-head {
  display: grid;
  gap: 4px;
}

.form-head h2 {
  margin: 0 0 4px;
  color: var(--logo-black);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.form-head .section-kicker {
  color: var(--logo-black);
}

.form-head p {
  margin: 0 0 10px;
  color: #747883;
  line-height: 1.45;
  text-transform: none;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-showcase {
  overflow: hidden;
  min-height: 620px;
  padding: 0;
  border: 1px solid rgba(255, 223, 0, 0.22);
  border-radius: 8px;
  background: #050506;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.contact-showcase.contact-page-grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: 0;
  align-items: stretch;
}

.contact-visual-panel {
  display: flex;
  align-self: stretch;
  height: 100%;
  min-height: 620px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.72), rgba(5, 6, 9, 0.28) 58%, rgba(5, 6, 9, 0.12)),
    radial-gradient(circle at 12% 16%, rgba(255, 223, 0, 0.26), transparent 24%),
    url("assets/images/player-ready.jpg") center right / cover;
}

.contact-visual-panel .section-kicker {
  color: var(--logo-yellow);
}

.contact-visual-panel h2 {
  max-width: 560px;
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 3.65rem);
  line-height: 1.08;
}

.contact-visual-panel h2::after {
  width: 86px;
  margin-top: 26px;
}

.contact-visual-panel p:not(.section-kicker) {
  max-width: 560px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.96rem, 1vw, 1.04rem);
  line-height: 1.65;
}

.contact-visual-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 42px;
}

.contact-visual-links a {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(255, 223, 0, 0.75);
  text-underline-offset: 6px;
}

.contact-showcase .contact-form {
  position: static;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4.6vw, 56px);
  color: var(--white);
  background: #050506;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-showcase .form-head h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.contact-showcase .form-head .section-kicker,
.contact-showcase .form-head p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-showcase .form-head .section-kicker {
  color: var(--logo-yellow);
}

.interest-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 8px;
  padding: 0;
  border: 0;
}

.interest-options legend {
  width: 100%;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 900;
}

.interest-options label {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.interest-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.interest-options label:has(input:checked) {
  color: var(--logo-black);
  border-color: var(--logo-yellow);
  background: var(--logo-yellow);
}

.contact-showcase .contact-form label {
  color: rgba(255, 255, 255, 0.84);
}

.contact-showcase .contact-form input,
.contact-showcase .contact-form select,
.contact-showcase .contact-form textarea {
  color: var(--white);
  border-width: 0 0 1px;
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: transparent;
}

.contact-showcase .contact-form input::placeholder,
.contact-showcase .contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.contact-showcase .contact-form select option {
  color: var(--ink);
}

.contact-showcase .contact-form .button {
  margin-top: 8px;
}

.contact-showcase .brochure-link {
  color: var(--white);
  text-decoration-color: rgba(255, 223, 0, 0.72);
}

.contact-showcase .contact-form:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

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

  .contact-visual-panel,
  .contact-showcase .contact-form {
    min-height: auto;
  }

  .contact-visual-panel {
    padding-block: clamp(42px, 10vw, 72px);
  }
}

@media (max-width: 620px) {
  .contact-visual-panel {
    min-height: 540px;
    justify-content: flex-end;
    padding: 28px 20px;
    background:
      linear-gradient(180deg, rgba(5, 6, 9, 0.12), rgba(5, 6, 9, 0.72)),
      url("assets/images/player-ready.jpg") center / cover;
  }

  .contact-visual-panel h2 {
    max-width: 340px;
    font-size: clamp(2rem, 10vw, 2.85rem);
    line-height: 1.08;
  }

  .contact-visual-panel p:not(.section-kicker) {
    display: none;
  }

  .contact-visual-links {
    margin-top: 18px;
    padding-top: 0;
  }
}

.map-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
  margin-top: clamp(42px, 7vw, 82px);
}

.map-copy {
  align-self: center;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--logo-black);
  background: var(--logo-yellow);
  font-weight: 900;
  text-decoration: none;
}

.map-frame {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.site-footer {
  padding: 58px 0 28px;
  color: #101114;
  background: #ffffff;
  border-top: 1px solid rgba(17, 18, 22, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(420px, 1fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
}

.footer-brand {
  max-width: 470px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111216;
  font-size: 1.18rem;
  font-weight: 900;
  text-decoration: none;
}

.footer-logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--logo-yellow);
}

.footer-brand p {
  margin: 32px 0 24px;
  color: #5f6670;
  font-size: 0.96rem;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #111216;
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-social a::before {
  content: "";
  width: 21px;
  height: 21px;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.footer-social a[aria-label="Instagram"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.75 2h8.5A5.76 5.76 0 0 1 22 7.75v8.5A5.76 5.76 0 0 1 16.25 22h-8.5A5.76 5.76 0 0 1 2 16.25v-8.5A5.76 5.76 0 0 1 7.75 2Zm0 2A3.75 3.75 0 0 0 4 7.75v8.5A3.75 3.75 0 0 0 7.75 20h8.5A3.75 3.75 0 0 0 20 16.25v-8.5A3.75 3.75 0 0 0 16.25 4h-8.5Zm4.25 3.25A4.75 4.75 0 1 1 12 16.75 4.75 4.75 0 0 1 12 7.25Zm0 2A2.75 2.75 0 1 0 12 14.75 2.75 2.75 0 0 0 12 9.25Zm5-2.35a1.1 1.1 0 1 1-1.1 1.1A1.1 1.1 0 0 1 17 6.9Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.75 2h8.5A5.76 5.76 0 0 1 22 7.75v8.5A5.76 5.76 0 0 1 16.25 22h-8.5A5.76 5.76 0 0 1 2 16.25v-8.5A5.76 5.76 0 0 1 7.75 2Zm0 2A3.75 3.75 0 0 0 4 7.75v8.5A3.75 3.75 0 0 0 7.75 20h8.5A3.75 3.75 0 0 0 20 16.25v-8.5A3.75 3.75 0 0 0 16.25 4h-8.5Zm4.25 3.25A4.75 4.75 0 1 1 12 16.75 4.75 4.75 0 0 1 12 7.25Zm0 2A2.75 2.75 0 1 0 12 14.75 2.75 2.75 0 0 0 12 9.25Zm5-2.35a1.1 1.1 0 1 1-1.1 1.1A1.1 1.1 0 0 1 17 6.9Z'/%3E%3C/svg%3E");
}

.footer-social a[aria-label="WhatsApp"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.04 2a9.86 9.86 0 0 0-8.49 14.88L2.2 22l5.25-1.33A9.88 9.88 0 1 0 12.04 2Zm0 1.92a7.96 7.96 0 1 1-3.86 14.92l-.36-.2-3.1.79.8-3.02-.23-.38a7.96 7.96 0 0 1 6.75-12.11Zm-3.39 4.2c-.18 0-.46.07-.7.34-.24.27-.92.9-.92 2.2s.94 2.55 1.07 2.72c.13.18 1.82 2.91 4.51 3.96 2.24.88 2.7.7 3.18.66.49-.04 1.58-.64 1.8-1.26.22-.62.22-1.15.15-1.26-.06-.12-.24-.18-.5-.31-.27-.13-1.58-.78-1.82-.87-.25-.09-.43-.13-.61.13-.18.27-.7.87-.85 1.05-.16.18-.31.2-.58.07-.27-.13-1.12-.41-2.13-1.31-.79-.7-1.32-1.57-1.47-1.84-.16-.27-.02-.41.12-.54.12-.12.27-.31.4-.47.13-.16.18-.27.27-.45.09-.18.04-.34-.02-.47-.07-.13-.6-1.46-.83-2-.22-.52-.45-.45-.61-.46h-.53Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.04 2a9.86 9.86 0 0 0-8.49 14.88L2.2 22l5.25-1.33A9.88 9.88 0 1 0 12.04 2Zm0 1.92a7.96 7.96 0 1 1-3.86 14.92l-.36-.2-3.1.79.8-3.02-.23-.38a7.96 7.96 0 0 1 6.75-12.11Zm-3.39 4.2c-.18 0-.46.07-.7.34-.24.27-.92.9-.92 2.2s.94 2.55 1.07 2.72c.13.18 1.82 2.91 4.51 3.96 2.24.88 2.7.7 3.18.66.49-.04 1.58-.64 1.8-1.26.22-.62.22-1.15.15-1.26-.06-.12-.24-.18-.5-.31-.27-.13-1.58-.78-1.82-.87-.25-.09-.43-.13-.61.13-.18.27-.7.87-.85 1.05-.16.18-.31.2-.58.07-.27-.13-1.12-.41-2.13-1.31-.79-.7-1.32-1.57-1.47-1.84-.16-.27-.02-.41.12-.54.12-.12.27-.31.4-.47.13-.16.18-.27.27-.45.09-.18.04-.34-.02-.47-.07-.13-.6-1.46-.83-2-.22-.52-.45-.45-.61-.46h-.53Z'/%3E%3C/svg%3E");
}

.footer-social a[aria-label="YouTube"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.5 6.2a3.02 3.02 0 0 0-2.13-2.14C19.49 3.56 12 3.56 12 3.56s-7.49 0-9.37.5A3.02 3.02 0 0 0 .5 6.2 31.35 31.35 0 0 0 0 12a31.35 31.35 0 0 0 .5 5.8 3.02 3.02 0 0 0 2.13 2.14c1.88.5 9.37.5 9.37.5s7.49 0 9.37-.5a3.02 3.02 0 0 0 2.13-2.14A31.35 31.35 0 0 0 24 12a31.35 31.35 0 0 0-.5-5.8ZM9.6 15.57V8.43L15.84 12 9.6 15.57Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.5 6.2a3.02 3.02 0 0 0-2.13-2.14C19.49 3.56 12 3.56 12 3.56s-7.49 0-9.37.5A3.02 3.02 0 0 0 .5 6.2 31.35 31.35 0 0 0 0 12a31.35 31.35 0 0 0 .5 5.8 3.02 3.02 0 0 0 2.13 2.14c1.88.5 9.37.5 9.37.5s7.49 0 9.37-.5a3.02 3.02 0 0 0 2.13-2.14A31.35 31.35 0 0 0 24 12a31.35 31.35 0 0 0-.5-5.8ZM9.6 15.57V8.43L15.84 12 9.6 15.57Z'/%3E%3C/svg%3E");
}

.footer-social a[aria-label="Facebook"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 12.06C22 6.48 17.52 2 11.94 2S2 6.48 2 12.06c0 5.02 3.66 9.18 8.44 9.94v-7.03H7.9v-2.91h2.54V9.85c0-2.51 1.49-3.9 3.77-3.9 1.09 0 2.23.2 2.23.2v2.45h-1.26c-1.24 0-1.63.77-1.63 1.56v1.9h2.78l-.44 2.91h-2.34V22C18.34 21.24 22 17.08 22 12.06Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 12.06C22 6.48 17.52 2 11.94 2S2 6.48 2 12.06c0 5.02 3.66 9.18 8.44 9.94v-7.03H7.9v-2.91h2.54V9.85c0-2.51 1.49-3.9 3.77-3.9 1.09 0 2.23.2 2.23.2v2.45h-1.26c-1.24 0-1.63.77-1.63 1.56v1.9h2.78l-.44 2.91h-2.34V22C18.34 21.24 22 17.08 22 12.06Z'/%3E%3C/svg%3E");
}

.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-social a[aria-label="Instagram"]:hover::before {
  background: linear-gradient(135deg, #f58529 0%, #feda77 22%, #dd2a7b 52%, #8134af 74%, #515bd4 100%);
}

.footer-social a[aria-label="WhatsApp"]:hover {
  color: #25d366;
}

.footer-social a[aria-label="YouTube"]:hover {
  color: #ff0000;
}

.footer-social a[aria-label="Facebook"]:hover {
  color: #1877f2;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 78px);
}

.footer-links h2 {
  margin: 0 0 20px;
  color: #111216;
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin-top: 13px;
  color: #5f6670;
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #111216;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(17, 18, 22, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: #6a717a;
  font-size: 0.9rem;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.footer-bottom a {
  color: #5f6670;
  font-size: 0.9rem;
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 26px;
  background: rgba(9, 18, 15, 0.92);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  width: min(1120px, 100%);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 920px) {
  .site-header {
    inset: 6px 12px auto;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 72px;
    gap: 10px;
    padding: 10px 14px;
  }

  .nav-toggle {
    grid-column: 3;
    justify-self: end;
    display: block;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav {
    grid-column: 1 / -1;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-height: auto;
    padding: 10px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.16rem;
    font-weight: 300;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.48);
  }

  .site-nav a.nav-login {
    display: flex;
    margin-top: 4px;
    color: var(--logo-black);
    background: var(--logo-yellow);
    font-weight: 800;
    text-shadow: none;
  }

  .header-login {
    display: none;
  }

  .hero-content,
  .page-hero-content {
    padding-top: 130px;
  }

  .home-hero-content {
    width: min(620px, calc(100% - 44px));
    margin-right: 22px;
    padding-top: 116px;
  }

  .intro-grid,
  .tournament-grid,
  .contact-grid,
  .courts,
  .portal-grid,
  .login-shell,
  .depth-grid,
  .source-grid,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .login-page .site-header {
    color: var(--white);
    background: rgba(17, 18, 22, 0.88);
    border-radius: 18px;
  }

  .login-page .site-nav a {
    color: rgba(255, 255, 255, 0.92);
  }

  .login-page .site-nav a.nav-login {
    color: var(--logo-black);
  }

  .login-showcase {
    padding: 104px 14px 42px;
  }

  .login-shell {
    gap: 28px;
    min-height: auto;
    padding: 22px;
    border-radius: 18px;
  }

  .login-form-card {
    width: 100%;
    max-width: 460px;
    padding: 24px;
  }

  .academy-login-panel {
    min-height: 440px;
    border-radius: 22px;
  }

  .academy-panel-content h2 {
    max-width: 14ch;
    font-size: clamp(2.1rem, 7vw, 3.6rem);
  }

  .court-photo {
    min-height: 420px;
  }

  .program-grid,
  .story-strip {
    grid-template-columns: 1fr;
  }

  .story-strip {
    height: auto;
  }

  .story-strip figure {
    height: auto;
    min-height: 320px;
  }

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

  .gallery-showcase {
    grid-template-columns: 1fr;
  }

  .gallery-stage-caption {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .gallery-stage-caption strong {
    justify-self: start;
    max-width: 640px;
    text-align: left;
    order: -1;
  }

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

  .gallery-thumbs button {
    min-height: 82px;
  }

  .member-form,
  .dashboard-stats,
  .admin-dashboard-summary,
  .player-dashboard-grid,
  .player-info-grid,
  .hero-metrics,
  .depth-cards,
  .pathway-band,
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .member-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .member-search,
  .member-sort {
    width: 100%;
  }

  .player-profile-top {
    grid-template-columns: 1fr;
  }

  .player-performance-card .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom div {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    animation: none;
  }

  .container,
  .hero-content,
  .page-hero-content {
    width: min(100% - 28px, 1180px);
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .site-header {
    inset: 4px 8px auto;
    min-height: 66px;
    padding: 10px;
    gap: 8px;
  }

  .site-header::after {
    left: 10px;
    right: 10px;
  }

  .header-login {
    display: none;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .nav-toggle span {
    margin: 4px 0;
  }

  .site-nav {
    top: calc(100% + 6px);
    padding: 8px;
    border-radius: 14px;
    max-height: calc(100vh - 82px);
  }

  .site-nav a {
    min-height: 34px;
    font-size: 1.02rem;
  }

  .hero {
    min-height: 76svh;
  }

  .page-hero {
    min-height: 76svh;
  }

  .hero-content,
  .page-hero-content {
    padding-top: 120px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(2.15rem, 10.5vw, 2.85rem);
    line-height: 1.06;
    font-weight: 400;
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    line-height: 1.16;
  }

  .home-hero-content h1,
  .home-hero-content h2,
  .page-hero-content h2 {
    font-size: clamp(2.05rem, 10vw, 2.8rem);
    line-height: 1.06;
  }

  .home-hero-content {
    text-align: center;
  }

  .hero .home-hero-content h1,
  .hero .home-hero-content h2 {
    margin-right: auto;
  }

  .hero-copy {
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 100%;
  }

  .section-pad {
    padding: 48px 0;
  }

  .login-showcase {
    padding: 92px 10px 30px;
  }

  .login-shell {
    padding: 16px;
    border-radius: 16px;
  }

  .login-mark {
    margin-bottom: 18px;
  }

  .login-form-card h1,
  .login-form-card h2 {
    font-size: 1.72rem;
  }

  .login-intro {
    font-size: 0.9rem;
  }

  .login-help {
    flex-direction: column;
    gap: 6px;
  }

  .login-assurance,
  .academy-panel-stats {
    grid-template-columns: 1fr;
  }

  .login-assurance span {
    min-height: 32px;
  }

  .portal-card h2 {
    font-size: 1.9rem;
  }

  .portal-head {
    flex-direction: column;
  }

  .portal-head-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .player-profile-card {
    min-height: 340px;
    padding: 18px;
    background-position: center top;
  }

  .player-profile-card::before {
    right: -74px;
    width: 190px;
  }

  .player-performance-card .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .member-detail-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .academy-login-panel {
    min-height: 340px;
    border-radius: 18px;
  }

  .academy-panel-content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .academy-panel-content h2 {
    margin-bottom: 14px;
    font-size: 2rem;
  }

  .academy-panel-stats {
    gap: 8px;
  }

  .academy-panel-stats span {
    padding: 10px;
  }

  .academy-login-panel::after {
    inset: 12px;
    border-radius: 14px;
  }

  .academy-login-panel::before {
    width: 150px;
    height: 150px;
    right: -62px;
    bottom: -62px;
  }

  .intro-points div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pathway-band img {
    height: auto;
  }

  .section-head {
    display: block;
  }

  .gallery-grid button:nth-child(1),
  .gallery-grid button:nth-child(2) {
    grid-column: span 1;
    aspect-ratio: auto;
  }

  .gallery-stage {
    min-height: 300px;
  }

  .gallery-stage-caption {
    display: block;
  }

  .gallery-stage-caption strong {
    display: block;
    margin-top: 8px;
    text-align: left;
  }

  .gallery-stage-caption div {
    padding: 14px;
  }

  .gallery-stage-caption p {
    font-size: 0.88rem;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery-thumbs button {
    min-height: 72px;
  }

  .gallery-grid button span {
    min-height: auto;
    padding: 18px 16px 20px;
    font-size: 0.78rem;
    transform: translateY(0);
  }

  .gallery-grid button span strong {
    top: 24px;
    margin-bottom: 0;
    font-size: clamp(1.35rem, 8vw, 1.8rem);
  }

  .gallery-grid button {
    min-height: 380px;
    aspect-ratio: auto;
  }

  .gallery-grid img {
    height: 230px;
  }

  .gallery-grid button::after,
  .gallery-grid button::before {
    height: 230px;
  }

  .gallery-grid button span::after {
    min-width: 108px;
    min-height: 34px;
    margin-top: 16px;
    font-size: 0.74rem;
  }

  .program div,
  .depth-cards article,
  .schedule-list article,
  .facility-grid article,
  .enquiry {
    padding: 18px;
  }

  .contact-grid {
    gap: 28px;
  }

  .enquiry {
    padding: 18px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand p {
    margin: 22px 0 20px;
  }

  .footer-bottom div {
    gap: 12px 18px;
  }
}

@media (min-width: 621px) and (max-width: 1180px) {
  .container,
  .hero-content,
  .page-hero-content {
    width: min(100% - 48px, 1100px);
  }

  h1 {
    font-size: clamp(2.35rem, 5.6vw, 4.35rem);
  }

  .site-nav {
    gap: clamp(24px, 2.4vw, 38px);
  }

  .site-nav a {
    padding: 8px 18px;
    font-size: clamp(0.88rem, 1vw, 1rem);
    letter-spacing: 0.1em;
  }

  .program-grid,
  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (hover: none) {
  .button:hover,
  .program:hover,
  .pathway-band div:hover,
  .depth-cards article:hover,
  .schedule-list article:hover,
  .facility-grid article:hover,
  .contact-cards article:hover,
  .contact-quick-panel a:hover,
  .result-panel:hover,
  .home-value-grid article:hover,
  .journey-steps article:hover,
  .faq-list details:hover {
    transform: none;
    box-shadow: none;
  }

  .program:hover img,
  .pathway-band div:hover img,
  .story-strip figure:hover img,
  .gallery-grid button:hover img,
  .court-photo:hover img {
    transform: none;
    filter: none;
  }

  .program::after,
  .depth-cards article::after,
  .schedule-list article::after,
  .facility-grid article::after {
    opacity: 1;
  }
}

/* Professional polish effects */
:root {
  --premium-shadow: 0 26px 70px rgba(17, 18, 22, 0.18);
  --premium-glow: 0 0 0 1px rgba(255, 223, 0, 0.18), 0 18px 48px rgba(17, 18, 22, 0.16);
}

body {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 223, 0, 0.24), transparent 28rem),
    linear-gradient(180deg, rgba(255, 223, 0, 0.12), transparent 260px),
    var(--court);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(8, 9, 11, 0.42));
  pointer-events: none;
}

.hero > img,
.page-hero > img {
  animation: heroImageSettle 1600ms ease both;
}

.hero-content,
.page-hero-content {
  animation: heroCopyRise 860ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.hero > img,
.page-hero > img,
.slide {
  transform-origin: center;
  filter: saturate(1.05) contrast(1.04);
}

.slide.is-active {
  animation: cinematicZoom 4200ms ease both;
}

.home-hero-content h1,
.home-hero-content h2,
.page-hero-content h1,
.page-hero-content h2 {
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
}

.section-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.button,
.source-links a,
.brochure-link,
.map-link {
  position: relative;
  overflow: hidden;
  transition: transform 190ms ease, box-shadow 190ms ease, background 190ms ease, border-color 190ms ease;
}

.button::after,
.source-links a::after,
.brochure-link::after,
.map-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.36), transparent 80%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.button:hover::after,
.source-links a:hover::after,
.brochure-link:hover::after,
.map-link:hover::after {
  transform: translateX(120%);
}

.button.primary:hover,
.source-links a:hover,
.brochure-link:hover,
.map-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--premium-glow);
}

.program,
.depth-cards article,
.schedule-list article,
.facility-grid article,
.pathway-band div,
.enquiry,
.portal-card {
  border-color: rgba(17, 18, 22, 0.08);
  box-shadow: 0 14px 38px rgba(17, 18, 22, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.program:hover,
.depth-cards article:hover,
.schedule-list article:hover,
.facility-grid article:hover,
.pathway-band div:hover,
.enquiry:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 223, 0, 0.5);
  box-shadow: var(--premium-shadow);
}

.program::before,
.depth-cards article::before,
.schedule-list article::before,
.facility-grid article::before,
.pathway-band div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--logo-yellow), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.program:hover::before,
.depth-cards article:hover::before,
.schedule-list article:hover::before,
.facility-grid article:hover::before,
.pathway-band div:hover::before {
  opacity: 1;
}

.pathway-band div {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
}

.pathway-band img {
  aspect-ratio: 4 / 3;
  height: auto;
  border-bottom: 1px solid rgba(20, 33, 29, 0.08);
}

.pathway-band strong {
  margin-top: 0;
  padding: 24px 24px 0;
  color: var(--logo-black);
  font-size: 1.25rem;
  line-height: 1.2;
}

.pathway-band span {
  flex: 1;
  padding: 12px 24px 24px;
  color: var(--muted-ink);
  font-size: 1rem;
  line-height: 1.55;
}

.program img,
.pathway-band img,
.story-strip img,
.gallery-grid img,
.gallery-stage-image {
  transition: transform 700ms ease, filter 700ms ease;
}

.program:hover img,
.pathway-band div:hover img,
.story-strip figure:hover img,
.gallery-grid button:hover img {
  transform: scale(1.07);
  filter: saturate(1.12) contrast(1.05);
}

.story-strip figure,
.gallery-stage,
.gallery-grid button,
.academy-login-panel {
  box-shadow: var(--premium-shadow);
}

.story-strip figure,
.gallery-grid button,
.program,
.facility-grid article,
.schedule-list article,
.depth-cards article,
.contact-cards article,
.contact-quick-panel a,
.result-panel,
.dashboard-stats div {
  animation-delay: var(--reveal-delay, 0ms);
}

.is-visible .story-strip figure,
.is-visible .gallery-grid button,
.is-visible .program,
.is-visible .facility-grid article,
.is-visible .schedule-list article,
.is-visible .depth-cards article,
.is-visible .contact-cards article,
.is-visible .contact-quick-panel a,
.is-visible .pathway-band div {
  animation: cardReveal 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.story-strip figcaption,
.gallery-stage-caption div {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

input,
select,
textarea {
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 223, 0, 0.8);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 223, 0, 0.18);
  outline: 0;
}

/* SEO-readable typography and alignment */
h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
dd,
figcaption,
.program p,
.pathway-band span,
.intro-points span,
.facility-grid p,
.schedule-grid p,
.contact-cards p,
.result-panel p,
.footer-brand p {
  text-wrap: pretty;
}

main p:not(.section-kicker):not(.eyebrow),
main li,
main dd,
main figcaption,
footer p {
  text-align: left;
  overflow-wrap: anywhere;
}

.hero-content,
.page-hero-content {
  text-align: left;
}

.home-hero-content {
  text-align: center;
}

.page-hero-content h1,
.page-hero-content h2,
.page-hero-content .hero-copy {
  max-width: 780px;
}

.contact-hero-content h1,
.contact-hero-content .hero-copy {
  max-width: 820px;
}

.section-head {
  align-items: flex-end;
}

.section-head p {
  max-width: 520px;
  margin-bottom: 0;
  line-height: 1.7;
}

.intro-grid h2,
.depth-grid h2,
.court-copy h2,
.contact-copy h2,
.map-copy h2 {
  max-width: 720px;
}

.intro-small-title {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.25;
}

.intro-main-kicker {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
}

.intro-points span,
.program p,
.pathway-band span,
.depth-cards article p,
.schedule-list p,
.facility-grid p,
.result-panel p,
.contact-cards p {
  line-height: 1.65;
}

.program div,
.pathway-band div {
  text-align: left;
}

.program h3,
.pathway-band strong {
  min-height: 1.45em;
}

.program p {
  max-width: 34ch;
}

.pathway-band span {
  max-width: 36ch;
}

.member-detail-list dt {
  text-align: left;
}

.member-detail-list dd {
  line-height: 1.45;
}

.footer-links a,
.footer-bottom a,
.brochure-link,
.map-link {
  text-underline-offset: 4px;
}

.footer-links {
  align-items: start;
}

.footer-links h2,
.footer-links a {
  text-align: left;
}

img {
  backface-visibility: hidden;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cinematicZoom {
  from {
    transform: scale(1.045);
  }

  to {
    transform: scale(1);
  }
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCopyRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageSettle {
  from {
    transform: scale(1.055);
    filter: saturate(0.92) contrast(0.96);
  }

  to {
    transform: scale(1);
    filter: saturate(1.05) contrast(1.04);
  }
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .contact-quick-panel,
  .contact-proof {
    grid-template-columns: 1fr;
  }

  .contact-page-grid,
  .map-section {
    grid-template-columns: 1fr;
  }

  .contact-form {
    position: static;
  }

  .player-card-metrics {
    grid-template-columns: 1fr;
  }

  .performance-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .contact-hero-actions,
  .contact-hero-actions .button {
    width: 100%;
  }

  .contact-quick-panel a {
    min-height: 104px;
    padding: 18px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards article,
  .contact-form {
    padding: 18px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }

  .portal-panel[data-user-panel] .portal-head {
    padding: 14px;
  }

  .player-profile-card {
    min-height: 0;
  }

  .player-card-orbit {
    width: 150px;
    height: 150px;
  }

  .player-card-metrics,
  .training-timeline {
    gap: 8px;
  }

  .training-timeline {
    padding: 14px;
  }

  .training-timeline div {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Modern clean experience layer */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 360ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.hero,
.page-hero,
.academy-login-panel,
.gallery-stage {
  isolation: isolate;
}

.hero-shade,
.academy-panel-shade {
  backdrop-filter: saturate(1.08);
  -webkit-backdrop-filter: saturate(1.08);
}

.hero-content,
.page-hero-content {
  transform-style: preserve-3d;
}

.hero-content > *,
.page-hero-content > * {
  animation: modernTextIn 860ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > *:nth-child(2),
.page-hero-content > *:nth-child(2) {
  animation-delay: 90ms;
}

.hero-content > *:nth-child(3),
.page-hero-content > *:nth-child(3) {
  animation-delay: 160ms;
}

.program,
.pathway-band div,
.depth-cards article,
.schedule-list article,
.facility-grid article,
.contact-cards article,
.contact-quick-panel a,
.result-panel,
.portal-card,
.enquiry {
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
}

.program:hover,
.pathway-band div:hover,
.depth-cards article:hover,
.schedule-list article:hover,
.facility-grid article:hover,
.contact-cards article:hover,
.contact-quick-panel a:hover,
.result-panel:hover {
  transform: translateY(-10px) scale(1.01);
}

.program img,
.pathway-band img,
.story-strip img,
.gallery-grid img,
.facility-grid img,
.court-photo img {
  transform-origin: center;
  will-change: transform, filter;
}

.program:hover img,
.pathway-band div:hover img,
.story-strip figure:hover img,
.gallery-grid button:hover img {
  transform: scale(1.075);
  filter: saturate(1.14) contrast(1.06);
}

.court-photo:hover img {
  transform: none;
  filter: none;
}

.button,
.header-login,
.member-actions button {
  isolation: isolate;
}

.button::before,
.header-login::before,
.member-actions button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 42%, rgba(255, 255, 255, 0.18));
  opacity: 0;
  transition: opacity 220ms ease;
}

.button:hover::before,
.header-login:hover::before,
.member-actions button:hover::before {
  opacity: 1;
}

.section-head h2,
.intro-grid h2,
.depth-grid h2,
.court-copy h2,
.contact-copy h2,
.map-copy h2 {
  position: relative;
}

.section-head h2::after,
.intro-grid h2::after,
.depth-grid h2::after,
.court-copy h2::after,
.contact-copy h2::after,
.map-copy h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--logo-yellow), transparent);
}

@keyframes modernTextIn {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content > *,
  .page-hero-content > * {
    animation: none;
  }
}

/* Mobile fit layer */
@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 15px;
  }

  .container,
  .hero-content,
  .page-hero-content {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    inset: 6px 8px auto;
    grid-template-columns: auto 1fr auto;
    min-height: 64px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .site-nav {
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    max-height: calc(100svh - 86px);
    padding: 8px;
    overflow-y: auto;
    border-radius: 14px;
    background: rgba(17, 18, 22, 0.96);
  }

  .site-nav a {
    min-height: 42px;
    font-size: 0.98rem;
    letter-spacing: 0;
    text-align: center;
  }

  .hero,
  .page-hero {
    min-height: 78svh;
  }

  .home-hero-content,
  .page-hero-content {
    width: min(100% - 28px, 640px);
    margin: 0 auto;
    padding-top: 104px;
    padding-bottom: 34px;
    text-align: center;
  }

  .page-hero-content h1,
  .page-hero-content h2,
  .home-hero-content h1,
  .home-hero-content h2 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 11vw, 2.8rem);
    line-height: 1.08;
  }

  .hero-copy,
  .page-hero-content .hero-copy {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions,
  .contact-hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .button,
  .contact-hero-actions .button,
  .button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .section-pad {
    padding: 46px 0;
  }

  .section-head,
  .intro-grid,
  .depth-grid,
  .journey-grid,
  .faq-grid,
  .tournament-grid,
  .contact-grid,
  .contact-page-grid,
  .map-section,
  .program-grid,
  .schedule-grid,
  .source-grid,
  .courts,
  .portal-grid,
  .home-value-grid,
  .facility-grid,
  .pathway-band,
  .story-strip,
  .footer-main,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .section-head,
  .intro-grid,
  .depth-grid,
  .journey-grid,
  .faq-grid,
  .tournament-grid,
  .contact-grid,
  .contact-page-grid,
  .map-section {
    gap: 22px;
    text-align: left;
  }

  .program,
  .depth-cards article,
  .schedule-list article,
  .facility-grid article,
  .contact-cards article,
  .enquiry,
  .portal-card,
  .result-panel {
    padding: 18px;
  }

  .hero-metrics,
  .dashboard-stats,
  .admin-dashboard-summary,
  .player-dashboard-grid,
  .player-info-grid,
  .member-form,
  .contact-form-grid,
  .gallery-showcase,
  .gallery-stage-caption {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid button,
  .story-strip figure,
  .court-photo,
  .gallery-stage {
    min-height: 300px;
  }

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

  .gallery-thumbs button {
    min-height: 72px;
  }

  .login-showcase {
    padding: 86px 10px 28px;
  }

  .login-shell {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 12px;
    border-radius: 16px;
  }

  .login-form-card {
    width: 100%;
    max-width: none;
    padding: 20px;
  }

  .login-assurance,
  .academy-panel-stats,
  .admin-dashboard-summary {
    grid-template-columns: 1fr;
  }

  .academy-login-panel {
    min-height: 330px;
    border-radius: 16px;
  }

  .academy-panel-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .portal-workspace {
    width: min(100% - 20px, 1180px);
    margin-top: 18px;
  }

  .portal-panel,
  .login-card {
    padding: 18px;
  }

  .portal-head {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-head .button,
  .portal-head-actions .button {
    width: 100%;
  }

  .member-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .member-table {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .member-table-head {
    display: none;
  }

  .member-table-row {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid rgba(17, 18, 22, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
  }

  .member-actions {
    justify-content: stretch;
  }

  .member-actions button {
    flex: 1;
    min-height: 38px;
  }

  .player-profile-top,
  .player-card-metrics,
  .training-timeline div,
  .member-detail-list div {
    grid-template-columns: 1fr;
  }

  .player-profile-card,
  .player-performance-card {
    min-height: 0;
    padding: 18px;
  }

  .player-profile-card h3 {
    font-size: clamp(1.7rem, 10vw, 2.5rem);
  }

  .footer-bottom,
  .footer-bottom div {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .site-nav a {
    min-height: 38px;
    font-size: 0.92rem;
  }

  .home-hero-content,
  .page-hero-content {
    padding-top: 94px;
  }

  .page-hero-content h1,
  .page-hero-content h2,
  .home-hero-content h1,
  .home-hero-content h2 {
    font-size: clamp(1.75rem, 10vw, 2.25rem);
  }

  .login-form-card,
  .portal-panel,
  .program,
  .depth-cards article,
  .schedule-list article,
  .facility-grid article,
  .contact-cards article,
  .enquiry {
    padding: 16px;
  }
}

/* Device-aware effects: rich on PC, light and stable on mobile */
@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .header-login:hover,
  .program:hover,
  .pathway-band div:hover,
  .depth-cards article:hover,
  .schedule-list article:hover,
  .facility-grid article:hover,
  .contact-cards article:hover,
  .contact-quick-panel a:hover,
  .result-panel:hover,
  .home-value-grid article:hover,
  .journey-steps article:hover,
  .faq-list details:hover,
  .story-strip figure:hover,
  .gallery-grid button:hover,
  .player-profile-card:hover,
  .player-performance-card:hover {
    will-change: transform;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 720px) {
  body,
  .site-header,
  .hero-content > *,
  .page-hero-content > *,
  .slide,
  .gallery-stage-image,
  [data-reveal],
  .player-dashboard,
  .player-profile-card,
  .player-performance-card,
  .result-panel {
    animation-duration: 260ms !important;
    transition-duration: 160ms !important;
  }

  .button:hover,
  .header-login:hover,
  .brand:hover .brand-logo,
  .site-nav a:hover,
  .program:hover,
  .pathway-band div:hover,
  .depth-cards article:hover,
  .schedule-list article:hover,
  .facility-grid article:hover,
  .contact-cards article:hover,
  .contact-quick-panel a:hover,
  .result-panel:hover,
  .home-value-grid article:hover,
  .journey-steps article:hover,
  .faq-list details:hover,
  .story-strip figure:hover,
  .gallery-grid button:hover,
  .gallery-thumbs button:hover,
  .member-table-row:hover,
  .highlight-panel:hover,
  .player-profile-card:hover,
  .player-performance-card:hover {
    transform: none !important;
    box-shadow: inherit;
  }

  .program:hover img,
  .pathway-band div:hover img,
  .story-strip figure:hover img,
  .gallery-grid button:hover img,
  .court-photo:hover img,
  .slide.is-active,
  .academy-login-image {
    transform: none !important;
    filter: none !important;
  }

  .button::after,
  .source-links a::after,
  .brochure-link::after,
  .map-link::after,
  .gallery-grid button::before,
  .gallery-grid button::after,
  .story-strip figure::after,
  .attendance-track::after,
  .player-card-orbit,
  .player-photo::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-shade,
  .academy-panel-shade,
  .login-page .site-header,
  .login-shell,
  .portal-card,
  .story-strip figcaption,
  .gallery-stage-caption div,
  .player-card-metrics div {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .program,
  .pathway-band div,
  .depth-cards article,
  .schedule-list article,
  .facility-grid article,
  .contact-cards article,
  .contact-quick-panel a,
  .result-panel,
  .portal-card,
  .enquiry,
  .gallery-grid button,
  .story-strip figure,
  .player-profile-card,
  .player-performance-card {
    will-change: auto !important;
  }

  .site-nav a:active,
  .button:active,
  .member-actions button:active,
  .gallery-thumbs button:active,
  .gallery-grid button:active,
  .contact-quick-panel a:active {
    transform: scale(0.98) !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Strong mobile and tablet compatibility override */
@media (max-width: 1100px) {
  .intro-grid,
  .depth-grid,
  .journey-grid,
  .faq-grid,
  .tournament-grid,
  .contact-grid,
  .contact-page-grid,
  .map-section,
  .program-grid,
  .schedule-grid,
  .source-grid,
  .courts,
  .login-shell,
  .portal-grid,
  .player-dashboard-grid {
    grid-template-columns: 1fr !important;
  }

  .home-value-grid,
  .facility-grid,
  .pathway-band,
  .story-strip,
  .dashboard-stats,
  .admin-dashboard-summary,
  .player-info-grid,
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .login-shell {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  *,
  *::before,
  *::after {
    max-width: 100%;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  img,
  iframe,
  video,
  canvas,
  svg {
    max-width: 100%;
  }

  input,
  select,
  textarea,
  button {
    font-size: 16px;
  }

  main,
  section,
  article,
  aside,
  footer,
  header,
  nav,
  form,
  .container {
    min-width: 0;
  }

  h1,
  h2,
  h3,
  p,
  a,
  span,
  strong,
  dd,
  dt,
  li {
    overflow-wrap: anywhere;
  }

  .container,
  .hero-content,
  .page-hero-content {
    width: calc(100% - 24px) !important;
  }

  .site-header {
    position: fixed;
    inset: 6px 8px auto !important;
    width: auto;
    min-height: 62px;
    grid-template-columns: 58px 1fr 42px !important;
    gap: 8px;
    padding: 7px 9px !important;
    border-radius: 14px !important;
  }

  .brand-logo {
    width: 52px !important;
    height: 52px !important;
  }

  .nav-toggle {
    display: block;
    width: 40px;
    height: 40px;
  }

  .site-nav {
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 7px) !important;
    display: none;
    grid-column: 1 / -1;
    max-height: calc(100svh - 82px);
    overflow-y: auto;
    padding: 8px;
    border-radius: 12px;
    background: rgba(17, 18, 22, 0.97);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 1rem !important;
    font-weight: 700;
    letter-spacing: 0 !important;
    text-align: center;
    text-shadow: none;
  }

  .header-login {
    display: none !important;
  }

  .hero,
  .page-hero {
    min-height: 72svh !important;
  }

  .hero-slideshow,
  .slideshow,
  .slide,
  .hero img,
  .page-hero img {
    min-height: inherit;
  }

  .slide {
    object-position: center;
  }

  .home-hero-content,
  .page-hero-content {
    padding-top: 96px !important;
    padding-bottom: 32px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .home-hero-content h1,
  .home-hero-content h2,
  .page-hero-content h1,
  .page-hero-content h2 {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(1.9rem, 10vw, 2.65rem) !important;
    line-height: 1.08 !important;
  }

  .hero-copy {
    max-width: 100% !important;
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
  }

  .hero-actions,
  .contact-hero-actions,
  .portal-head-actions,
  .member-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .button,
  .hero-actions .button,
  .contact-hero-actions .button,
  .portal-head-actions .button,
  .member-actions button {
    width: 100% !important;
    min-height: 46px;
  }

  .section-pad {
    padding: 44px 0 !important;
  }

  .section-head,
  .intro-grid,
  .depth-grid,
  .journey-grid,
  .faq-grid,
  .tournament-grid,
  .contact-grid,
  .contact-page-grid,
  .map-section,
  .program-grid,
  .schedule-grid,
  .source-grid,
  .courts,
  .portal-grid,
  .home-value-grid,
  .facility-grid,
  .pathway-band,
  .story-strip,
  .dashboard-stats,
  .admin-dashboard-summary,
  .player-dashboard-grid,
  .player-info-grid,
  .member-form,
  .contact-form-grid,
  .gallery-showcase,
  .gallery-stage-caption,
  .footer-main,
  .footer-links {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .program,
  .depth-cards article,
  .schedule-list article,
  .facility-grid article,
  .contact-cards article,
  .enquiry,
  .portal-card,
  .result-panel,
  .contact-form,
  .player-profile-card,
  .player-performance-card {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .program img,
  .pathway-band img,
  .facility-grid img,
  .court-photo img,
  .gallery-grid img {
    min-height: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .gallery-grid button,
  .story-strip figure,
  .court-photo,
  .gallery-stage {
    min-height: 280px !important;
    aspect-ratio: auto !important;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .gallery-thumbs button {
    min-height: 70px !important;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px !important;
  }

  .login-showcase {
    min-height: auto;
    padding: 82px 10px 26px !important;
  }

  .login-shell {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 14px;
    width: 100%;
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .login-form-card {
    width: 100% !important;
    max-width: none !important;
    padding: 18px !important;
  }

  .login-form input,
  .member-tools input,
  .member-tools select,
  .member-form input,
  .member-form select,
  .member-form textarea,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    min-height: 52px;
  }

  .login-assurance,
  .academy-panel-stats {
    grid-template-columns: 1fr !important;
  }

  .academy-login-panel {
    min-height: 300px !important;
    border-radius: 14px !important;
  }

  .academy-panel-content {
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
  }

  .academy-panel-content .section-kicker {
    margin-bottom: 8px;
  }

  .portal-workspace {
    width: calc(100% - 20px) !important;
  }

  .portal-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .portal-card h2 {
    font-size: 1.7rem !important;
  }

  .member-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .member-search,
  .member-sort {
    width: 100% !important;
  }

  .member-table {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }

  .member-table-head {
    display: none !important;
  }

  .member-table-row {
    min-width: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-bottom: 12px;
    padding: 14px !important;
    border: 1px solid rgba(17, 18, 22, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
  }

  .player-profile-top,
  .player-card-metrics,
  .training-timeline div,
  .member-detail-list div {
    grid-template-columns: 1fr !important;
  }

  .player-profile-card {
    min-height: 0 !important;
    background-position: center top;
  }

  .player-profile-card h3 {
    font-size: clamp(1.6rem, 9vw, 2.35rem) !important;
  }

  .player-photo {
    width: 74px !important;
    height: 74px !important;
  }

  .footer-bottom,
  .footer-bottom div {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .container,
  .hero-content,
  .page-hero-content {
    width: calc(100% - 18px) !important;
  }

  .site-header {
    inset: 5px 6px auto !important;
  }

  .home-hero-content h1,
  .home-hero-content h2,
  .page-hero-content h1,
  .page-hero-content h2 {
    font-size: clamp(1.72rem, 10vw, 2.25rem) !important;
  }

  .gallery-grid button,
  .story-strip figure,
  .court-photo,
  .gallery-stage {
    min-height: 240px !important;
  }

  .login-form-card,
  .portal-panel,
  .program,
  .depth-cards article,
  .schedule-list article,
  .facility-grid article,
  .contact-cards article,
  .enquiry {
    padding: 14px !important;
  }
}

/* Performance pass: keep the header slideshow smooth on low-power devices. */
.slideshow::after,
.slideshow::before {
  display: none;
}

.slide {
  opacity: 0;
  transform: none !important;
  filter: none !important;
  transition: opacity 520ms ease !important;
  animation: none !important;
  will-change: opacity;
  backface-visibility: hidden;
}

.slide.is-active {
  opacity: 1;
  transform: none !important;
  animation: none !important;
}

.hero > img,
.page-hero > img,
.hero-shade,
.academy-panel-shade {
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-content,
.page-hero-content,
.hero-content > *,
.page-hero-content > * {
  transform-style: flat;
  filter: none !important;
}

@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse), (max-width: 720px) {
  .slide {
    transition: opacity 180ms ease !important;
    will-change: auto;
  }
}

/* Site-wide smooth mode: reduce expensive paint and composite work. */
@view-transition {
  navigation: none;
}

body,
.site-header,
.hero-content,
.page-hero-content,
.hero-content > *,
.page-hero-content > *,
[data-reveal],
.is-visible .story-strip figure,
.is-visible .gallery-grid button,
.is-visible .program,
.is-visible .facility-grid article,
.is-visible .schedule-list article,
.is-visible .depth-cards article,
.is-visible .contact-cards article,
.is-visible .contact-quick-panel a,
.is-visible .pathway-band div,
.gallery-stage-caption div,
.academy-dashboard,
.player-dashboard,
.player-profile-card,
.player-performance-card {
  animation: none !important;
}

[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.program,
.pathway-band div,
.depth-cards article,
.schedule-list article,
.facility-grid article,
.contact-cards article,
.contact-quick-panel a,
.result-panel,
.portal-card,
.enquiry,
.gallery-grid button,
.story-strip figure,
.player-profile-card,
.player-performance-card {
  transition: border-color 160ms ease, background 160ms ease !important;
  will-change: auto !important;
}

.button,
.header-login,
.member-actions button,
.source-links a,
.brochure-link,
.map-link {
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease !important;
}

.program:hover,
.pathway-band div:hover,
.depth-cards article:hover,
.schedule-list article:hover,
.facility-grid article:hover,
.contact-cards article:hover,
.contact-quick-panel a:hover,
.result-panel:hover,
.home-value-grid article:hover,
.journey-steps article:hover,
.faq-list details:hover,
.story-strip figure:hover,
.gallery-grid button:hover,
.gallery-thumbs button:hover,
.member-table-row:hover,
.highlight-panel:hover,
.player-profile-card:hover,
.player-performance-card:hover,
.button:hover,
.header-login:hover,
.member-actions button:hover {
  transform: none !important;
}

.program img,
.pathway-band img,
.story-strip img,
.gallery-grid img,
.facility-grid img,
.court-photo img,
.gallery-stage-image,
.academy-login-image {
  transition: opacity 180ms ease !important;
  transform: none !important;
  filter: none !important;
  will-change: auto !important;
}

.program:hover img,
.pathway-band div:hover img,
.story-strip figure:hover img,
.gallery-grid button:hover img,
.court-photo:hover img,
.academy-login-panel:hover .academy-login-image {
  transform: none !important;
  filter: none !important;
}

.button::before,
.button::after,
.header-login::before,
.member-actions button::before,
.source-links a::after,
.brochure-link::after,
.map-link::after,
.gallery-grid button::before,
.gallery-grid button::after,
.story-strip figure::after,
.attendance-track::after,
.player-card-orbit,
.player-photo::after {
  animation: none !important;
  transition: none !important;
}

.hero-metrics div,
.gallery-stage-caption div,
.login-page .site-header,
.login-shell,
.academy-panel-stats div,
.member-hero,
.portal-card,
.attendance-meter,
.player-card-metrics div,
.story-strip figcaption,
.site-nav {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Final responsive stability pass for SEO/Core Web Vitals. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
}

img,
picture,
video,
canvas,
svg,
iframe {
  max-width: 100%;
}

input,
select,
textarea,
button {
  font: inherit;
}

button,
.button,
.site-nav a,
.header-login,
.member-actions button {
  touch-action: manipulation;
}

.container,
.site-header,
.hero-content,
.page-hero-content,
.login-shell,
.portal-card,
.member-table,
.map-frame {
  min-width: 0;
}

.member-table,
.gallery-thumbs,
.contact-visual-links {
  -webkit-overflow-scrolling: touch;
}

.map-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

.brand-logo {
  aspect-ratio: 1;
  object-fit: contain;
}

.hero,
.page-hero {
  isolation: isolate;
}

@media (min-width: 921px) {
  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav a {
    white-space: nowrap;
  }
}

@media (max-width: 920px) {
  .site-nav a {
    min-height: 44px;
  }

  .page-hero-content,
  .home-hero-content {
    text-wrap: balance;
  }
}

@media (max-width: 520px) {
  .container,
  .hero-content,
  .page-hero-content,
  .home-hero-content {
    width: calc(100% - 20px) !important;
  }

  .section-pad {
    padding-left: 0;
    padding-right: 0;
  }

  .page-hero-content h1,
  .home-hero-content h1 {
    font-size: clamp(1.8rem, 9.4vw, 2.45rem) !important;
  }

  .hero-copy,
  .page-hero-content .hero-copy {
    font-size: 0.95rem !important;
  }

  .contact-showcase {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .contact-visual-panel {
    min-height: 420px !important;
  }

  .gallery-stage-caption {
    position: static;
    margin-top: 12px;
  }
}

@media (max-width: 360px) {
  .site-header {
    grid-template-columns: 50px 1fr 40px !important;
  }

  .brand-logo {
    width: 46px !important;
    height: 46px !important;
  }

  .site-nav a {
    font-size: 0.94rem !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .hero-slideshow,
  .slideshow,
  .button,
  .login-help,
  .map-frame {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  main,
  .container,
  .page-hero-content,
  .home-hero-content {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Premium member portal refresh. */
.login-page {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 223, 0, 0.22), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, #090a0d 0%, #15161a 48%, #050506 100%);
}

.login-showcase {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 223, 0, 0.16), transparent 28%),
    linear-gradient(180deg, #101116, #07080a);
}

.login-showcase::before {
  content: "";
  position: absolute;
  inset: 96px auto auto -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 223, 0, 0.14);
  pointer-events: none;
}

.login-shell {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(320px, 0.52fr) minmax(460px, 1fr);
  gap: clamp(22px, 3.4vw, 54px);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.login-form-card {
  width: min(100%, 440px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 221, 0.94));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.login-form-card::before {
  height: 6px;
  border-radius: 22px 22px 0 0;
}

.login-mark {
  margin-bottom: 24px;
  text-transform: uppercase;
}

.login-mark img {
  width: 58px;
  height: 58px;
}

.login-form-card h2 {
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 4vw, 3.2rem);
}

.login-intro {
  max-width: 360px;
  margin-bottom: 28px;
  color: #4c505a;
}

.login-form label {
  display: grid;
  gap: 8px;
}

.login-form input {
  border-radius: 14px;
  background: #f8f8f3;
}

.remember-field {
  display: flex !important;
  justify-content: flex-start;
}

.login-form .button {
  border-radius: 999px;
  background: linear-gradient(135deg, #111216, #000000);
}

.login-assurance {
  margin-top: 18px;
}

.login-assurance span {
  border-color: rgba(17, 18, 22, 0.08);
  background: rgba(255, 223, 0, 0.22);
}

.login-help {
  padding-top: 18px;
  border-top: 1px solid rgba(17, 18, 22, 0.08);
}

.academy-login-panel {
  min-height: min(720px, 74vh);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 30px 96px rgba(0, 0, 0, 0.34);
}

.academy-panel-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.62)),
    linear-gradient(110deg, rgba(4, 5, 7, 0.86), rgba(4, 5, 7, 0.18) 62%);
}

.academy-panel-content {
  max-width: 620px;
}

.academy-panel-content h2 {
  max-width: 11ch;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 6.4vw, 5.8rem);
  letter-spacing: -0.02em;
}

.academy-panel-content > p {
  max-width: 520px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.6;
}

.academy-panel-stats span {
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.44);
}

.portal-workspace {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
}

.portal-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 244, 0.96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.portal-head {
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(17, 18, 22, 0.08);
}

.portal-head h2 {
  margin-bottom: 0;
}

.portal-head .button.ghost {
  border-radius: 999px;
}

.admin-dashboard-summary article {
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff, #fffbea);
}

.admin-dashboard-summary strong {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.member-tools {
  padding: 14px;
  border: 1px solid rgba(17, 18, 22, 0.08);
  border-radius: 18px;
  background: #f7f7f1;
}

.member-tools input,
.member-tools select,
.member-form input,
.member-form select {
  border-radius: 12px;
}

.member-table {
  border-radius: 18px;
}

.member-table-head {
  background: #111216;
  color: rgba(255, 255, 255, 0.72);
}

.member-table-row {
  background: #ffffff;
}

.member-form {
  padding: 18px;
  border: 1px solid rgba(17, 18, 22, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

.member-form .button {
  border-radius: 999px;
}

.player-overview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: -4px 0 18px;
}

.player-overview-strip span {
  display: grid;
  gap: 4px;
  min-height: 86px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(17, 18, 22, 0.08);
  border-radius: 18px;
  color: #6c717b;
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.player-overview-strip strong {
  color: var(--logo-black);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.2;
  text-transform: none;
  overflow-wrap: anywhere;
}

.player-profile-card,
.player-performance-card,
.result-panel {
  border-radius: 22px;
}

.player-profile-card {
  background:
    linear-gradient(135deg, rgba(17, 18, 22, 0.98), rgba(17, 18, 22, 0.82)),
    url("assets/images/clay-serve.jpg") center / cover;
}

.player-performance-card {
  background:
    linear-gradient(180deg, #ffffff, #fffbea);
}

.dashboard-stats div,
.result-panel {
  border-radius: 18px;
  background: #ffffff;
}

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

  .academy-login-panel {
    min-height: 520px;
  }

  .player-overview-strip,
  .admin-dashboard-summary,
  .player-dashboard-grid,
  .player-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .login-showcase {
    padding-top: 88px !important;
  }

  .login-form-card {
    padding: 22px !important;
  }

  .login-form-card h2 {
    font-size: clamp(2rem, 12vw, 2.65rem);
  }

  .academy-login-panel {
    min-height: 430px !important;
  }

  .academy-panel-kicker {
    left: 22px !important;
    right: 22px !important;
    top: 22px !important;
  }

  .academy-panel-content h2 {
    max-width: 12ch;
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .academy-panel-content > p {
    font-size: 0.94rem;
  }

  .portal-panel {
    padding: 18px !important;
    border-radius: 18px;
  }

  .member-form {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .member-form label,
  .member-form .button {
    grid-column: auto;
  }

  .player-overview-strip span {
    min-height: 74px;
  }
}

/* Simple professional portal finish. */
.login-page {
  background: #f4f5f0 !important;
}

.login-showcase {
  min-height: 100vh;
  padding: 124px 20px 54px;
  background:
    linear-gradient(180deg, #f7f7f2 0%, #eceee6 100%) !important;
}

.login-showcase::before {
  display: none;
}

.login-page .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(17, 18, 22, 0.08);
  box-shadow: 0 12px 32px rgba(17, 18, 22, 0.08);
}

.login-shell {
  grid-template-columns: minmax(310px, 420px) minmax(420px, 1fr);
  gap: 24px;
  align-items: stretch;
  width: min(1120px, 100%);
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.login-form-card {
  width: 100%;
  justify-self: stretch;
  padding: 30px;
  border: 1px solid rgba(17, 18, 22, 0.1);
  border-radius: 14px;
  background: #ffffff !important;
  box-shadow: 0 18px 50px rgba(17, 18, 22, 0.08);
}

.login-form-card::before {
  height: 4px;
  border-radius: 14px 14px 0 0;
  background: var(--logo-yellow);
}

.login-mark {
  margin-bottom: 22px;
  color: #111216;
  letter-spacing: 0.04em;
}

.login-mark img {
  width: 48px;
  height: 48px;
  box-shadow: none;
}

.login-form-card h2 {
  margin-bottom: 8px;
  color: #111216;
  font-size: clamp(2rem, 3vw, 2.45rem);
  letter-spacing: 0;
}

.login-intro {
  margin-bottom: 24px;
  color: #666b75;
  font-size: 0.98rem;
}

.login-form {
  gap: 15px;
}

.login-form label {
  color: #202229;
  font-size: 0.86rem;
}

.login-form input {
  min-height: 50px;
  border-color: rgba(17, 18, 22, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.login-form input:focus {
  border-color: #d5ba00;
  box-shadow: 0 0 0 3px rgba(255, 223, 0, 0.18);
}

.login-form .button {
  min-height: 50px;
  border-radius: 8px;
  color: #111216;
  background: var(--logo-yellow);
  box-shadow: none;
}

.login-assurance {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}

.login-assurance span {
  justify-content: flex-start;
  min-height: 34px;
  border-radius: 8px;
  background: #fff8c7;
}

.login-help {
  margin-top: 16px;
  padding-top: 14px;
}

.academy-login-panel {
  min-height: 560px;
  border: 0;
  border-radius: 14px;
  background: #111216;
  box-shadow: 0 18px 50px rgba(17, 18, 22, 0.14);
}

.academy-login-panel::before,
.academy-login-panel::after {
  display: none;
}

.academy-login-image {
  transform: none !important;
  filter: none !important;
}

.academy-panel-shade {
  background:
    linear-gradient(180deg, rgba(17, 18, 22, 0.1), rgba(17, 18, 22, 0.72)),
    linear-gradient(90deg, rgba(17, 18, 22, 0.66), rgba(17, 18, 22, 0.12));
}

.academy-panel-kicker {
  top: 30px;
  left: 30px;
  right: 30px;
  color: var(--logo-yellow);
}

.academy-panel-content {
  left: 30px;
  right: 30px;
  bottom: 30px;
  max-width: 520px;
}

.academy-panel-content h2 {
  max-width: 14ch;
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.academy-panel-content > p {
  max-width: 430px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.academy-panel-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.academy-panel-stats span {
  padding: 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.academy-panel-stats strong {
  font-size: 1.1rem;
}

.portal-workspace {
  width: min(1120px, 100%);
  margin-top: 24px;
}

.portal-panel {
  padding: 24px;
  border: 1px solid rgba(17, 18, 22, 0.1);
  border-radius: 14px;
  background: #ffffff !important;
  box-shadow: 0 18px 50px rgba(17, 18, 22, 0.08);
}

.portal-head {
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.portal-head h2 {
  color: #111216;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
}

.portal-head .button.ghost {
  min-height: 42px;
  border-radius: 8px;
}

.admin-dashboard-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-dashboard-summary article,
.player-overview-strip span,
.dashboard-stats div,
.result-panel {
  border-radius: 10px;
  background: #fafaf7 !important;
  box-shadow: none;
}

.admin-dashboard-summary strong {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.member-tools {
  padding: 12px;
  border-radius: 10px;
  background: #fafaf7;
}

.member-table {
  border-radius: 10px;
}

.member-table-head {
  color: #ffffff;
  background: #202229;
}

.member-table-row {
  background: #ffffff;
}

.member-table-row:hover,
.dashboard-stats div:hover,
.result-panel:hover {
  transform: none;
  box-shadow: none;
}

.member-actions button {
  border-radius: 8px;
}

.member-form {
  padding: 16px;
  border-radius: 10px;
  background: #fafaf7;
}

.member-form .button {
  border-radius: 8px;
}

.player-overview-strip {
  gap: 10px;
}

.player-overview-strip span {
  min-height: 76px;
}

.player-profile-card {
  min-height: 320px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(17, 18, 22, 0.94), rgba(17, 18, 22, 0.76)),
    url("assets/images/clay-serve.jpg") center / cover;
  box-shadow: none;
}

.player-profile-card::before,
.player-card-orbit {
  display: none;
}

.player-performance-card {
  border-radius: 14px;
  background: #ffffff;
}

.player-info-grid {
  gap: 12px;
}

@media (max-width: 980px) {
  .login-showcase {
    padding: 104px 14px 36px;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .academy-login-panel {
    min-height: 420px;
  }

  .admin-dashboard-summary,
  .player-overview-strip,
  .player-dashboard-grid,
  .player-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .login-showcase {
    padding: 86px 10px 28px !important;
  }

  .login-form-card,
  .portal-panel {
    padding: 18px !important;
    border-radius: 12px;
  }

  .academy-login-panel {
    min-height: 360px !important;
    border-radius: 12px !important;
  }

  .academy-panel-kicker,
  .academy-panel-content {
    left: 18px !important;
    right: 18px !important;
  }

  .academy-panel-kicker {
    top: 18px !important;
  }

  .academy-panel-content {
    bottom: 18px !important;
  }

  .academy-panel-content h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

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