@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* The page is a court: photo-led blue, white lines, the ball as the point of every sentence. */
  --court: #0f3fb0;
  --court-deep: #0a2a78;
  --navy: #0b1a33;
  --ink: #142638;
  --muted: #55677a;
  --paper: #f6f7f3;
  --line: #dfe3e0;
  --blue: #245de5;
  --lime: #d6f24a;
  --white: #fff;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 5; padding: 10px 16px; background: var(--lime); color: var(--navy); font-weight: 600; border-radius: 8px; }
.skip:focus { top: 12px; }

h1, h2 { margin: 0; font-family: var(--display); font-weight: 800; font-style: italic; line-height: .96; letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 span { color: var(--blue); }
h3 { margin: 0; font-size: 1.5rem; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: transform .15s, background-color .15s, border-color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--navy); }
.btn-primary:hover { background: #e3fb63; }
.btn-ghost { border: 1.5px solid #ffffff55; color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-small { min-height: 42px; padding: 0 18px; }

.hero { position: relative; isolation: isolate; color: var(--white); background: var(--court-deep); }
.hero-photo { position: absolute; inset: 0 0 auto; z-index: -2; width: 100%; height: calc(100% - clamp(110px, 19vw, 250px)); object-fit: cover; object-position: center 30%; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: calc(100% - clamp(110px, 19vw, 250px)); background: linear-gradient(100deg, #0a2a78f7 0%, #0a2a78ee 52%, #0a2a7860 78%, #0a2a7818 100%), linear-gradient(0deg, #0a2a78aa, transparent 45%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: clamp(110px, 19vw, 250px); background: var(--paper); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.logo { width: auto; height: 42px; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); font-weight: 500; }
.nav-links a:not(.btn) { color: #e6ecfa; text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--white); }

.hero-copy { padding-block: clamp(36px, 7vw, 84px) clamp(36px, 5vw, 60px); }
.eyebrow { margin: 0 0 18px; color: var(--lime); font-weight: 600; letter-spacing: .02em; }
h1 { font-size: clamp(3.3rem, 8.1vw, 7.3rem); }
h1 span { display: block; color: var(--lime); }
/* The ball is the full stop: it must never wrap away from the last word. */
.last-word { font-weight: inherit; white-space: nowrap; }
.ball { display: inline-block; width: .25em; height: .25em; margin-left: .05em; background: url("ball.svg") center / contain no-repeat; filter: drop-shadow(0 .03em .05em #04102a88); animation: bounce 1.5s cubic-bezier(.3, 0, .7, 1) .25s both; transform-origin: 50% 100%; }
@keyframes bounce {
  0% { transform: translateY(-3.6em) rotate(-120deg); }
  38% { transform: translateY(0) scale(1.12, .84); }
  58% { transform: translateY(-.8em) rotate(-30deg); }
  76% { transform: translateY(0) scale(1.06, .92); }
  88% { transform: translateY(-.2em); }
  100% { transform: none; }
}
.lead { max-width: 37em; margin: 24px 0 0; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; }
.hero .lead { color: #e6ecfa; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-shot { position: relative; z-index: 1; margin-block: 0 clamp(20px, 3vw, 32px); animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-shot .frame { box-shadow: 0 30px 80px #04102a66; }
.hero-shot figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; text-align: center; }
@keyframes rise { from { transform: translateY(28px); } }

.frame { overflow: hidden; border: 1px solid #14263822; border-radius: 14px; background: var(--white); box-shadow: 0 18px 50px #14263818; }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef0ed; color: var(--muted); font-size: .8rem; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cdd3cf; }
.frame-bar span { margin-left: 10px; }

.features { padding-block: clamp(56px, 8vw, 104px); }
.features > h2 { max-width: 16em; margin-bottom: clamp(44px, 6vw, 80px); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.feature + .feature { margin-top: clamp(64px, 9vw, 120px); }
.feature-flip .feature-copy { order: 2; }
.feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.score { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--muted); font-weight: 600; }
.score b { display: inline-grid; min-width: 58px; height: 46px; padding: 0 12px; place-items: center; border-radius: 6px; background: var(--court); color: var(--lime); font: italic 800 1.9rem/1 var(--display); text-transform: uppercase; box-shadow: inset 0 0 0 2px #ffffff30; }
.feature h3 { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-style: italic; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: -.005em; }
.feature p:not(.score) { margin: 16px 0 0; color: var(--muted); }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding: 7px 0 7px 26px; border-top: 1px solid var(--line); font-weight: 500; }
.feature li::before { content: ""; position: absolute; left: 1px; top: 13px; width: 15px; height: 15px; background: url("ball.svg") center / contain no-repeat; }

.band { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(360px, 52vw, 640px); padding-block: clamp(32px, 5vw, 64px); color: var(--white); background: var(--court-deep); }
.band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0a2a78d9, #0a2a7800 62%); }
.band h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.band h2 span { display: block; color: var(--lime); }

.net { height: 54px; background: linear-gradient(#fff, #fff) top / 100% 11px no-repeat, repeating-linear-gradient(90deg, #ffffff42 0 1px, transparent 1px 12px), repeating-linear-gradient(0deg, #ffffff42 0 1px, transparent 1px 12px); }
.more { padding-bottom: clamp(56px, 8vw, 96px); color: var(--white); background: var(--court); }
.more .wrap { padding-top: clamp(44px, 6vw, 72px); }
.more h2 span { color: var(--lime); }
.tiles { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(32px, 5vw, 52px) 0 0; padding: 0; border: 3px solid var(--white); list-style: none; }
/* White court lines; the thicker centre line stands for the net seen from above. */
.tiles li { padding: clamp(18px, 2.2vw, 28px); border-right: 2px solid #ffffffb0; border-bottom: 2px solid #ffffffb0; color: #dfe7fb; line-height: 1.4; }
.tiles li:nth-child(4n) { border-right: 0; }
.tiles li:nth-child(n + 5) { border-bottom: 0; }
.tiles li:nth-child(4n + 2) { border-right: 5px solid var(--white); }
.tiles strong { display: block; margin-bottom: 6px; color: var(--white); font-size: 1.15rem; font-weight: 600; }

.start { padding-block: clamp(56px, 8vw, 96px); color: var(--white); background: var(--navy); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin: clamp(32px, 5vw, 52px) 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--lime); }
.steps li::before { content: counter(step); display: block; margin-bottom: 10px; color: var(--lime); font: italic 800 3.2rem/1 var(--display); }
.steps p { margin: 8px 0 0; color: #c6d0df; }

.contact { position: relative; isolation: isolate; padding-block: clamp(72px, 11vw, 150px); overflow: hidden; color: var(--white); background: var(--court-deep); }
.contact-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 68%; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, #071d57ee 0%, #071d57c4 44%, #071d5700 66%); }
.contact h2 { font-size: clamp(3rem, 8vw, 6rem); }
.contact h2 span { display: block; color: var(--lime); }
.contact .lead { color: #e6ecfa; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 14px; margin-top: 34px; }
.person { display: block; padding: 22px 24px; border-radius: 12px; background: var(--white); color: var(--ink); text-decoration: none; transition: transform .15s; }
.person:hover { transform: translateY(-3px); }
.person strong { display: block; font-size: 1.3rem; font-weight: 600; }
.person span { display: block; margin-top: 4px; overflow-wrap: anywhere; color: var(--blue); font-weight: 500; }

.footer { padding-block: 34px; color: #c6d0df; background: var(--navy); font-size: .95rem; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.footer img { width: auto; height: 32px; }
.footer p { margin: 0; font-size: .9rem; }

@media (max-width: 860px) {
  .feature, .feature-flip { grid-template-columns: minmax(0, 1fr); }
  .feature-flip .feature-copy { order: 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles li, .tiles li:nth-child(4n), .tiles li:nth-child(4n + 2), .tiles li:nth-child(n + 5) { border-right: 2px solid #ffffffb0; border-bottom: 2px solid #ffffffb0; }
  .tiles li:nth-child(2n) { border-right: 0; }
  .tiles li:nth-last-child(-n + 2) { border-bottom: 0; }
  .tiles li:nth-child(4) { border-bottom: 5px solid var(--white); }
  .tiles li:nth-child(3) { border-bottom: 5px solid var(--white); }
  .steps, .people { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .nav-links a:not(.btn) { display: none; }
  .logo { height: 32px; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-shot, .ball { animation: none; }
  .btn { transition: none; }
}
