:root {
  --navy: #182650;
  --navy-deep: #101a3b;
  --cream: #f7f4eb;
  --white: #fffdf8;
  --yellow: #ffd75a;
  --coral: #ff765f;
  --blue: #78c9ef;
  --muted: #66708c;
  --line: rgba(24, 38, 80, 0.15);
  --shadow: 0 28px 70px rgba(16, 26, 59, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.brand-ball {
  position: relative;
  width: 34px;
  height: 34px;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--yellow);
  overflow: hidden;
}
.brand-ball::before, .brand-ball::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 20px;
  border: 2px solid var(--navy);
  border-radius: 50%;
}
.brand-ball::before { top: -9px; left: 7px; transform: rotate(40deg); }
.brand-ball::after { bottom: -8px; right: 8px; transform: rotate(25deg); }
nav { display: flex; gap: 30px; }
nav a { font-size: 0.88rem; font-weight: 800; text-decoration: none; }
nav a:hover { color: #a54a3c; }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  padding: 65px 0 100px;
}
.eyebrow {
  margin: 0 0 18px;
  color: #9a473a;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}
h1 { margin-bottom: 28px; font-size: clamp(3.7rem, 6.9vw, 7rem); }
h1 em { display: block; color: #a54a3c; font-style: normal; }
.lead { max-width: 570px; color: var(--muted); font-size: 1.08rem; }
.button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 22px;
  padding: 0 24px;
  color: var(--white);
  border-radius: 12px;
  background: var(--navy);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 8px 8px 0 var(--yellow);
}
.button:hover { background: var(--navy-deep); transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--yellow); }

.court-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.court-lines {
  position: absolute;
  inset: 42px;
  border: 3px solid rgba(255,255,255,0.76);
  transform: perspective(700px) rotateX(54deg) rotateZ(-8deg) scale(1.06);
}
.net { position: absolute; top: 50%; left: 0; width: 100%; border-top: 4px solid var(--yellow); }
.attack { position: absolute; top: 0; height: 100%; border-left: 2px dashed rgba(255,255,255,0.65); }
.attack-left { left: 35%; }
.attack-right { left: 65%; }
.ball {
  position: absolute;
  top: 70px;
  right: 58px;
  width: 150px;
  filter: drop-shadow(0 18px 20px rgba(0,0,0,0.35));
  transform: rotate(-14deg);
}
.ball circle { fill: var(--yellow); stroke: var(--white); stroke-width: 5; }
.ball path { fill: none; stroke: var(--navy); stroke-width: 6; stroke-linecap: round; }
.score-pill {
  position: absolute;
  left: 28px;
  bottom: 27px;
  display: flex;
  gap: 10px;
  padding: 11px 16px;
  color: var(--navy);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.score-pill strong { color: var(--coral); }

.ticker {
  width: 100%;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 19px 25px;
  color: var(--navy);
  background: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-transform: uppercase;
  overflow: hidden;
}
.ticker i { color: var(--coral); font-style: normal; }

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 115px 0;
}
.section-heading { display: grid; grid-template-columns: 0.42fr 1fr; align-items: end; margin-bottom: 55px; }
.section-heading .eyebrow { align-self: start; }
h2 { margin-bottom: 0; font-size: clamp(3rem, 5.5vw, 5.6rem); }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.skill {
  min-height: 380px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--navy);
  border-radius: 18px;
  box-shadow: 7px 7px 0 var(--navy);
}
.skill-blue { background: var(--blue); }
.skill-yellow { background: var(--yellow); }
.skill-coral { background: var(--coral); }
.skill-index { font-size: 0.78rem; font-weight: 900; }
.skill h3 { margin-bottom: 12px; font-size: 1.65rem; letter-spacing: -0.04em; }
.skill p { margin-bottom: 0; font-size: 0.94rem; }

.practice {
  padding: 115px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 95px;
  color: var(--white);
  background: var(--navy);
}
.practice .eyebrow { color: var(--yellow); }
.practice-intro { align-self: start; position: sticky; top: 35px; }
.practice-intro p:last-child { max-width: 510px; color: #b9c1d7; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.timeline li:last-child { border-bottom: 1px solid rgba(255,255,255,0.2); }
.time { color: var(--yellow); font-size: 2rem; font-weight: 900; line-height: 1; }
.timeline h3 { margin-bottom: 7px; font-size: 1.25rem; }
.timeline p { margin-bottom: 0; color: #b9c1d7; font-size: 0.93rem; }
.timeline small { color: #8c96b3; font-size: 0.68rem; font-weight: 900; text-transform: uppercase; }

.team-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 90px;
  align-items: center;
}
.team-copy p:last-child { max-width: 630px; color: var(--muted); font-size: 1.05rem; }
.rotation {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 35px;
  border: 3px solid var(--navy);
  background: var(--blue);
  transform: rotate(2deg);
  box-shadow: 12px 12px 0 var(--yellow);
}
.rotation span { aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--navy); border-radius: 50%; background: var(--white); font-weight: 900; }
.rotation i { position: absolute; inset: 0; display: grid; place-items: center; color: var(--coral); font-size: 4.5rem; font-style: normal; text-shadow: 0 2px 0 var(--navy); }

footer {
  padding: 65px max(20px, calc((100vw - 1180px) / 2)) 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  color: var(--white);
  background: var(--navy-deep);
}
.footer-brand { grid-row: span 2; align-self: start; color: var(--white); }
.footer-brand .brand-ball { border-color: var(--white); }
footer p { margin: 0; color: #b9c1d7; text-align: right; }
.fine-print { font-size: 0.77rem; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--blue); }
.error-card { width: min(610px, 100%); padding: 52px; border: 3px solid var(--navy); border-radius: 24px; background: var(--white); box-shadow: 12px 12px 0 var(--yellow); }
.error-code { margin: 65px 0 8px; color: #a54a3c; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.18em; }
.error-card h1 { margin-bottom: 20px; font-size: clamp(2.7rem, 7vw, 5rem); }
.error-card p { color: var(--muted); }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 45px; }
  .court-card { min-height: 430px; }
  .section-heading { grid-template-columns: 1fr; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill { min-height: 280px; }
  .practice { grid-template-columns: 1fr; gap: 35px; }
  .practice-intro { position: static; }
  .team-section { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-header { min-height: 76px; }
  .hero { width: min(100% - 28px, 1180px); gap: 38px; padding-bottom: 75px; }
  h1 { font-size: 3.4rem; }
  .court-card { min-height: 340px; border-radius: 20px; }
  .court-lines { inset: 25px; }
  .ball { top: 45px; right: 35px; width: 110px; }
  .ticker { justify-content: flex-start; }
  .section, .team-section { width: min(100% - 28px, 1180px); padding: 82px 0; }
  .skill { min-height: 250px; }
  .practice { padding-top: 82px; padding-bottom: 82px; }
  .timeline li { grid-template-columns: 54px 1fr; gap: 16px; }
  .timeline small { display: none; }
  .rotation { padding: 20px; gap: 10px; }
  footer { grid-template-columns: 1fr; }
  .footer-brand { grid-row: auto; }
  footer p { text-align: left; }
  .error-card { padding: 35px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
