:root {
  --ink: #10243a;
  --ink-2: #1c3550;
  --court: #2a5d8f;
  --court-light: #3b74ab;
  --ball: #c4dc2a;  /* sampled from the logo */
  --ball-deep: #b1d01b;
  --clay: #c8613a;
  --sand: #f4efe6;
  --paper: #fbf9f5;
  --line: #e2dccf;
  --muted: #5d6b79;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; text-transform: uppercase; letter-spacing: .01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ball); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  font: 700 14px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--clay);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 17px/1 var(--display); text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible + span, select:focus-visible, textarea:focus-visible, input[type="text"]:focus-visible {
  outline: 3px solid var(--clay); outline-offset: 3px;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-ball { background: var(--ball); color: var(--ink); }
.btn-ball:hover { background: #d3ea45; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: rgba(16,36,58,.06); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,36,58,.94);
  backdrop-filter: blur(10px);
  color: #fff;
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-logo { height: 60px; width: auto; }
.nav { display: flex; gap: 26px; }
.nav a { font: 600 16px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; opacity: .8; }
.nav a:hover { opacity: 1; color: var(--ball); }

/* Hero */
.hero {
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(59,116,171,.45), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, #0c1c2e 100%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center;
  padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(56px, 9vw, 110px);
}
.hero h1 { font-size: clamp(58px, 9vw, 116px); line-height: .9; margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--ball); }
.hero .eyebrow { color: var(--ball); }
.lede { font-size: clamp(18px, 1.6vw, 20px); max-width: 560px; color: rgba(255,255,255,.82); margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }
.hero-facts { list-style: none; margin: 0; padding: 26px 0 0; display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.14); }
.hero-facts li { display: flex; flex-direction: column; gap: 4px; }
.hero-facts strong { font: 700 24px/1 var(--display); text-transform: uppercase; color: var(--ball); }
.hero-facts span { font-size: 14px; color: rgba(255,255,255,.65); }

.hero-logo { margin: 0; justify-self: center; width: 100%; max-width: 480px; }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: #fff; }
.section-ball { background: var(--ball); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2, .competitive h2, .contact h2 { font-size: clamp(42px, 5.6vw, 68px); line-height: .95; margin-bottom: 18px; }
.section-head > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

/* Levels */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rung { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; overflow: hidden; }
.rung::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--court); }
.rung-2::before { background: var(--clay); }
.rung-3 { background: var(--ink); color: #fff; border-color: var(--ink); }
.rung-3::before { background: var(--ball); }
.rung-rating { display: block; font: 800 40px/1 var(--display); margin-bottom: 14px; color: var(--court); }
.rung-rating i { font-style: normal; font-size: 24px; opacity: .55; }
.rung-2 .rung-rating { color: var(--clay); }
.rung-3 .rung-rating { color: var(--ball); }
.rung h3 { font-size: 28px; margin-bottom: 12px; }
.rung-summary { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.rung-3 .rung-summary { color: rgba(255,255,255,.75); }
.rung-cover { font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; opacity: .7; }
.topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.topics li { font-size: 14px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--sand); }
.rung-3 .topics li { background: var(--ink-2); color: rgba(255,255,255,.9); }

.progress { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.progress-title { font-size: 32px; }
.progress-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.progress-steps strong { display: block; font: 700 21px/1.2 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.progress-steps p { color: var(--muted); font-size: 16px; }
.step-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ball); font: 800 18px/1 var(--display); margin-bottom: 14px; }

/* Programs */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program { background: var(--paper); border-radius: var(--radius); padding: 30px 26px 32px; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.program:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -20px rgba(16,36,58,.35); }
.program-num { display: inline-block; font: 800 15px/1 var(--display); color: var(--ink); background: var(--ball); padding: 6px 9px; border-radius: 6px; margin-bottom: 22px; }
.program h3 { font-size: 28px; margin-bottom: 8px; }
.program-format { font: 700 14px/1.2 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--clay); margin-bottom: 14px; }
.program p:last-child { color: var(--muted); font-size: 16px; }

/* Competitive */
.competitive { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.competitive .eyebrow { color: var(--ball); }
.competitive-copy > p { color: rgba(255,255,255,.78); font-size: 18px; margin-bottom: 34px; }
.who { list-style: none; margin: 0; padding: 0; }
.who li { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.who strong { font: 700 21px/1.2 var(--display); text-transform: uppercase; color: var(--ball); }
.who span { color: rgba(255,255,255,.72); font-size: 16px; }
.pillars { display: grid; gap: 16px; }
.pillar { background: var(--ink-2); border-radius: var(--radius); padding: 28px; border-left: 5px solid var(--ball); }
.pillar-tag { display: block; font: 800 30px/1 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.pillar p { color: rgba(255,255,255,.75); font-size: 16px; }

/* Where */
.where-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; }
.where-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: #fff; }
.where-card:first-child { background: var(--sand); border-color: var(--sand); }
.where-icon { width: 46px; height: 46px; margin-bottom: 20px; fill: none; stroke: var(--clay); stroke-width: 2.5; }
.where-card h3 { font-size: 32px; margin-bottom: 10px; }
.where-card p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact .eyebrow { color: var(--ink); opacity: .7; }
.contact-copy > p { font-size: 19px; margin-bottom: 18px; max-width: 420px; }
.contact-phone { display: inline-block; font: 800 clamp(46px, 6vw, 72px)/1 var(--display); text-decoration: none; margin-bottom: 26px; letter-spacing: .01em; }
.contact-phone:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.contact-ctas { display: flex; gap: 12px; }

.inquiry { background: var(--paper); border-radius: 20px; padding: clamp(24px, 4vw, 36px); box-shadow: 0 30px 60px -30px rgba(16,36,58,.45); }
.inquiry h3 { font-size: 30px; margin-bottom: 6px; }
.inquiry-hint { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.inquiry fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.inquiry legend, .field > span { font: 700 14px/1 var(--display); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; padding: 0; display: block; }
.field > span i { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; font-weight: 500; transition: all .12s ease; user-select: none; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 18px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff;
}
.field textarea { resize: vertical; }
.preview { background: var(--sand); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.preview-label { display: block; font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; }
.preview p { font-size: 15px; white-space: pre-wrap; }
.inquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer */
.site-footer { background: #0b1a2a; color: rgba(255,255,255,.7); padding: 48px 0 28px; font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { height: 76px; width: auto; margin-bottom: 12px; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.footer-contact a { font: 700 24px/1.2 var(--display); color: var(--ball); text-decoration: none; }
.footer-base { padding-top: 20px; font-size: 13px; color: rgba(255,255,255,.45); }

/* Responsive */
@media (max-width: 1020px) {
  .programs { grid-template-columns: repeat(2, 1fr); }
  .competitive, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo { order: -1; max-width: 340px; }
  .ladder { grid-template-columns: 1fr; }
  .progress, .progress-steps { grid-template-columns: 1fr; }
  .progress { gap: 20px; }
  .where-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-inner { height: 60px; gap: 12px; }
  .brand-logo { height: 50px; }
  .site-header .btn-sm { padding: 0 12px; font-size: 14px; }
  .site-header .btn-sm::before { content: "Call"; }
  .site-header .btn-sm { font-size: 0; }
  .site-header .btn-sm::before { font-size: 14px; }
  .hero-facts { gap: 22px; }
  .programs { grid-template-columns: 1fr; }
  .who li { grid-template-columns: 1fr; gap: 4px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-contact { align-items: flex-start; }
  .inquiry-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .program { transition: none; }
}

/* Clubs teaser (home) */
.club-band { background: var(--ink-2); color: #fff; padding: 48px 0; }
.club-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.club-band .eyebrow { color: var(--ball); }
.club-band h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 10px; }
.club-band p:not(.eyebrow) { color: rgba(255,255,255,.75); max-width: 620px; }

/* Clubs page */
.nav a[aria-current="page"] { opacity: 1; color: var(--ball); }
.hero-clubs .wrap { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(56px, 9vw, 100px); }
.hero-clubs h1 { font-size: clamp(46px, 7vw, 92px); max-width: 980px; }
.hero-clubs h1 em { display: block; }
.hero-clubs .lede { max-width: 660px; }

.sessions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.session { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; border-top: 6px solid var(--court); }
.session:nth-child(2) { border-top-color: var(--clay); }
.session-len { display: inline-block; font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .12em; background: var(--sand); padding: 6px 10px; border-radius: 999px; margin-bottom: 18px; }
.session h3 { font-size: 30px; line-height: 1; margin-bottom: 14px; }
.session h3 span { display: block; font-size: 21px; color: var(--clay); margin-top: 6px; }
.session p { color: var(--muted); font-size: 16px; }
.session-next { background: transparent; border-style: dashed; border-top: 6px solid var(--ball); }

.fitting { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.fitting .eyebrow { color: var(--ball); }
.fitting h2 { font-size: clamp(38px, 5vw, 60px); line-height: .95; }
.fitting-copy p { color: rgba(255,255,255,.8); font-size: 18px; }
.fitting-copy p + p { margin-top: 16px; }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason { background: var(--paper); border-radius: var(--radius); padding: 30px 28px; border-left: 5px solid var(--ball); }
.reason h3 { font-size: 26px; margin-bottom: 10px; }
.reason p { color: var(--muted); font-size: 16px; }

@media (max-width: 1020px) {
  .nav { gap: 18px; }
  .sessions, .reasons { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .fitting { grid-template-columns: 1fr; }
  .club-band-inner { flex-direction: column; align-items: flex-start; }
}

/* Inquiry form states */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry { position: relative; }
.field input.invalid, .field textarea.invalid { border-color: var(--clay); background: #fff6f2; }
.form-status { font-size: 15px; min-height: 0; margin-bottom: 12px; }
.form-status:empty { display: none; }
.form-status.error { color: #a8401c; font-weight: 500; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.sent-note { text-align: center; padding: 48px 12px; }
.sent-note h3 { font-size: 36px; margin-bottom: 12px; }
.sent-note h3::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--ball) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310243a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 30px no-repeat; }
.sent-note p { color: var(--muted); max-width: 380px; margin: 0 auto; }

/* Pay online */
.offerings { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.offering { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.offering h3 { font-size: 28px; margin-bottom: 10px; }
.offering-desc { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.offering-price { font: 800 40px/1 var(--display); margin: auto 0 18px; }
.offering-price span { font: 600 15px var(--body); color: var(--muted); }
.offering-buy { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.offering-qty { display: flex; flex-direction: column; gap: 6px; }
.offering-qty span { font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .12em; }
.offering-qty input { width: 84px; font: inherit; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; background: #fff; }
.offering-error { color: #a8401c; font-size: 14px; margin-top: 10px; }
.offering-error:empty { display: none; }
.offerings-note { margin-top: 22px; font-size: 14px; color: var(--muted); }
.section:not(.section-sand) .offering { background: #fff; }
