/* ==========================================================
   STAY STRUNG — site styles
   1993 tennis club meets modern performance lab.
   ========================================================== */

@font-face { font-family: 'Anton'; src: url('../assets/fonts/anton-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../assets/fonts/archivo-latin-standard-normal.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('../assets/fonts/space-mono-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('../assets/fonts/space-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --cream: #F4ECDD;
  --cream-2: #EDE3D0;
  --green: #1D5A3B;
  --green-d: #133D28;
  --lime: #DBE577;
  --mauve: #BDA3AE;
  --mauve-d: #7E5A6C;
  --ink: #14261C;

  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Space Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
  --line: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

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

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .9; letter-spacing: .005em; }
.eyebrow { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.wide { font-family: var(--sans); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 38ch; }
h1, h2, h3 { font-weight: 400; }
.h-xl { font-size: clamp(64px, 11vw, 150px); }
.h-lg { font-size: clamp(48px, 7vw, 96px); }
.h-md { font-size: clamp(36px, 4.6vw, 60px); }
.c-green { color: var(--green); }
.c-lime { color: var(--lime); }
.c-cream { color: var(--cream); }
.c-mauve { color: var(--mauve-d); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-stretch: 115%; font-weight: 850; font-size: 15px;
  text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
  padding: 16px 24px; border: var(--line) solid var(--ink); border-radius: 999px;
  background: var(--lime); color: var(--ink); cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--ghost { background: var(--cream); }
.btn--green { background: var(--green); color: var(--cream); }
.btn svg { width: 22px; height: 14px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--mauve-d); outline-offset: 3px;
}

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: var(--line) solid var(--ink); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav__links a:not(.btn) {
  font-family: var(--sans); font-stretch: 115%; font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  padding: 6px 0; border-bottom: 3px solid transparent;
}
.nav__links a:not(.btn):hover, .nav__links a[aria-current="page"] { border-color: var(--mauve); }
.nav__links .btn { padding: 11px 18px; font-size: 13px; box-shadow: 3px 3px 0 var(--ink); }
.nav__toggle { display: none; background: none; border: var(--line) solid var(--ink); border-radius: 999px; width: 48px; height: 40px; cursor: pointer; }
.nav__toggle span { display: block; width: 20px; height: 3px; background: var(--ink); margin: 4px auto; }

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-bottom: var(--line) solid var(--ink); padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; border-bottom: 2px solid var(--cream-2); }
  .nav__links .btn { margin-top: 16px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 9vw, 120px); }
.hero__ball { position: absolute; width: clamp(280px, 42vw, 560px); right: clamp(-200px, -9vw, -60px); top: clamp(-220px, -12vw, -90px); z-index: 0; }
.hero__half { position: absolute; width: clamp(100px, 12vw, 170px); aspect-ratio: 2 / 1; background: var(--mauve);
  border-radius: 0 0 999px 999px; top: -4px; right: clamp(180px, 30vw, 440px); z-index: 0; }
.hero .wrap { z-index: 1; }
.hero__logo { width: min(640px, 100%); }
.hero__logo .stay { width: 63%; }
.hero__logo .strung { width: 100%; margin-top: 3.2%; }
.hero__logo .co { width: 24%; margin: 3% 0 0 auto; }
.hero__sub { margin-top: 28px; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.15; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero__racquet { position: absolute; width: clamp(140px, 17vw, 230px); right: clamp(10px, 8vw, 120px); bottom: clamp(24px, 4vw, 60px); transform: rotate(28deg); z-index: 2; }
@media (max-width: 700px) { .hero__racquet { display: none; } }

/* page hero (inner pages) */
.phero { position: relative; overflow: hidden; background: var(--green); color: var(--cream); padding: clamp(56px, 8vw, 110px) 0 clamp(70px, 9vw, 130px); }
.phero .eyebrow { color: var(--lime); }
.phero h1 { margin-top: 18px; }
.phero .lede { margin-top: 22px; color: var(--cream); }
.phero__ball { position: absolute; width: clamp(240px, 34vw, 460px); right: clamp(-160px, -8vw, -40px); bottom: clamp(-200px, -12vw, -80px); }
.phero__line { position: absolute; background: var(--cream); opacity: .9; }
.phero .wrap { z-index: 1; }
.phero__line { z-index: 0; }

/* ---------- court band ---------- */
.band { position: relative; background: var(--green); transform: skewY(-3.5deg); margin: 40px 0 60px; }
.band__inner { transform: skewY(3.5deg); padding: clamp(60px, 8vw, 110px) 0; }
.band::before, .band::after { content: ''; position: absolute; left: 0; right: 0; height: 5px; background: var(--cream); }
.band::before { top: 18px; } .band::after { bottom: 18px; }
.band__center { position: absolute; top: 18px; bottom: 18px; width: 5px; background: var(--cream); left: 62%; }
.band h2 { color: var(--lime); }
@media (max-width: 700px) { .band__center { display: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(60px, 9vw, 120px) 0; position: relative; }
.section--mauve { background: var(--mauve); }
.section--green { background: var(--green); color: var(--cream); }
.section--cream2 { background: var(--cream-2); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head .eyebrow { color: var(--mauve-d); margin-bottom: 14px; }
.section--green .section__head .eyebrow { color: var(--lime); }
.section--mauve .section__head .eyebrow { color: var(--ink); }

.rule-num { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--mauve-d); margin-bottom: 16px; }
.rule-num::after { content: ''; flex: 1; height: var(--line); background: currentColor; opacity: 1; }
.section--green .rule-num { color: var(--lime); }

/* three-up */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 32px); }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid3, .grid4 { grid-template-columns: 1fr; } }

.item h3 { font-family: var(--sans); font-stretch: 115%; font-weight: 850; font-size: 21px; line-height: 1.1; text-transform: uppercase; }
.item p { margin-top: 10px; font-size: 16px; }
.item .more { display: inline-block; margin-top: 14px; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid var(--mauve); }
.item .more:hover { border-color: var(--green); }

/* problem list */
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: var(--line) solid var(--ink); }
.checklist li { display: flex; gap: 16px; align-items: center; padding: 22px 8px; border-bottom: var(--line) solid var(--ink); font-family: var(--display); text-transform: uppercase; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; }
.checklist li:nth-child(odd) { border-right: var(--line) solid var(--ink); padding-right: 24px; }
.checklist li:nth-child(even) { padding-left: 24px; }
.checklist .x { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cream); border: 3px solid var(--ink); display: grid; place-items: center; font-family: var(--mono); font-size: 16px; }
@media (max-width: 700px) {
  .checklist { grid-template-columns: 1fr; }
  .checklist li:nth-child(odd) { border-right: 0; padding-right: 8px; }
  .checklist li:nth-child(even) { padding-left: 8px; }
}

/* steps */
.steps { counter-reset: s; }
.step { background: var(--cream); border: var(--line) solid var(--ink); border-radius: 24px; padding: 28px 26px 30px; position: relative; }
.step__n { width: 54px; height: 54px; border-radius: 50%; background: var(--lime); border: var(--line) solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-size: 26px; margin-bottom: 18px; }
.step h3 { font-family: var(--display); text-transform: uppercase; font-size: 32px; line-height: .95; color: var(--green); }
.step p { margin-top: 10px; font-size: 16px; }

/* ---------- booking ---------- */
.book { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } }
.book__intro .lede { margin-top: 20px; }
.book__ball { width: 160px; margin-top: 40px; }
.form { background: var(--cream); border: var(--line) solid var(--ink); border-radius: 28px; padding: clamp(22px, 3.5vw, 40px); box-shadow: 8px 8px 0 var(--ink); }
.form fieldset { border: 0; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label, .legend { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #FBF7EF;
  border: 3px solid var(--ink); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 20px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 10px 16px; border: 3px solid var(--ink); border-radius: 999px;
  font-family: var(--sans); font-stretch: 110%; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .03em;
  cursor: pointer; background: #FBF7EF; transition: background .12s;
}
.chip input:checked + span { background: var(--green); color: var(--cream); }
.chip input:focus-visible + span { outline: 3px solid var(--mauve-d); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--mauve-d); max-width: 30ch; }
.form__done { display: none; text-align: center; padding: 30px 10px; }
.form__done h3 { font-family: var(--display); text-transform: uppercase; font-size: 48px; color: var(--green); line-height: .95; }
.form__done p { margin-top: 12px; }
.form.sent fieldset, .form.sent .form__foot { display: none; }
.form.sent .form__done { display: block; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }
.badge { aspect-ratio: 1; max-width: 360px; width: 100%; border-radius: 50%; background: var(--mauve); border: var(--line) solid var(--ink); display: grid; place-items: center; position: relative; }
.badge::before { content: ''; position: absolute; inset: 14px; border-radius: 50%; border: 2px solid var(--ink); opacity: .5; }
.badge__txt { text-align: center; }
.badge__txt .display { font-size: clamp(54px, 7vw, 86px); color: var(--green); }
.badge__txt .eyebrow { display: block; margin-top: 10px; }
.creds { list-style: none; margin-top: 24px; border-top: var(--line) solid var(--ink); }
.creds li { padding: 14px 0; border-bottom: 2px solid var(--ink); font-weight: 600; display: flex; gap: 14px; align-items: baseline; }
.creds li::before { content: '●'; color: var(--lime); -webkit-text-stroke: 1.5px var(--ink); font-size: 14px; }

/* ---------- membership tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); align-items: stretch; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.tier { background: var(--cream); border: var(--line) solid var(--ink); border-radius: 28px; padding: 34px 28px 30px; display: flex; flex-direction: column; position: relative; }
.tier--feat { background: var(--green); color: var(--cream); box-shadow: 10px 10px 0 var(--ink); transform: translateY(-14px); }
@media (max-width: 960px) { .tier--feat { transform: none; } }
.tier__flag { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--lime); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; padding: 5px 14px; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .16em; white-space: nowrap; }
.tier__name { font-family: var(--display); text-transform: uppercase; font-size: 50px; line-height: .9; color: var(--green); }
.tier--feat .tier__name { color: var(--lime); }
.tier__for { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-top: 10px; color: var(--mauve-d); }
.tier--feat .tier__for { color: var(--mauve); }
.tier__price { margin: 26px 0 6px; display: flex; align-items: baseline; gap: 8px; }
.tier__price .from { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.tier__price .amt { font-family: var(--display); font-size: 64px; line-height: 1; }
.tier__price .per { font-weight: 700; }
.tier ul { list-style: none; margin: 18px 0 28px; border-top: 3px solid currentColor; flex: 1; }
.tier li { padding: 13px 0; border-bottom: 2px solid currentColor; display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.tier li b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; }
.tier .btn { justify-content: center; }
.tier--feat .btn { background: var(--lime); }

.note { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; margin-top: 34px; text-align: center; color: var(--mauve-d); }

/* pillars */
.pillar { border-top: var(--line) solid currentColor; padding-top: 22px; }
.pillar .display { font-size: clamp(40px, 4.4vw, 58px); color: var(--lime); }
.pillar p { margin-top: 12px; }

/* timeline (session flow) */
.flow { list-style: none; border-left: var(--line) solid var(--ink); margin-left: 26px; }
.flow li { position: relative; padding: 0 0 44px 44px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: attr(data-n); position: absolute; left: -30px; top: -4px; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); border: var(--line) solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-size: 24px; }
.flow h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 3.4vw, 44px); line-height: .95; color: var(--green); }
.flow p { margin-top: 8px; max-width: 52ch; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.pill-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pill-list span { border: 3px solid var(--ink); border-radius: 999px; padding: 9px 16px; background: var(--cream); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }

/* CTA strip */
.cta { background: var(--mauve); border-top: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink); padding: clamp(50px, 7vw, 90px) 0; overflow: hidden; position: relative; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { color: var(--green); }
.cta__ball { position: absolute; width: 260px; left: -90px; bottom: -150px; opacity: 1; }

/* ---------- footer ---------- */
.foot { background: var(--green); color: var(--cream); padding: 60px 0 34px; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .foot__top { grid-template-columns: 1fr; } }
.foot__logo img { width: min(320px, 100%); }
.foot__logo .co { width: 110px; margin-top: 12px; }
.foot h4 { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .18em; color: var(--lime); text-transform: uppercase; margin-bottom: 14px; }
.foot ul { list-style: none; }
.foot li { margin-bottom: 10px; }
.foot a { text-decoration: none; font-weight: 700; border-bottom: 2px solid transparent; }
.foot a:hover { border-color: var(--lime); }
.foot .ico { display: inline-flex; align-items: center; gap: 10px; }
.foot .ico svg { width: 18px; height: 18px; }
.foot__base { margin-top: 50px; padding-top: 22px; border-top: 3px solid var(--cream); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* get-strung chooser */
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
@media (max-width: 640px) { .choose { grid-template-columns: 1fr; } }
.choose a { display: flex; justify-content: space-between; align-items: center; gap: 18px; text-decoration: none; background: var(--cream); color: var(--ink); border: var(--line) solid var(--ink); border-radius: 22px; padding: 26px 26px; box-shadow: 6px 6px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.choose a:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.choose a .k { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--mauve-d); }
.choose a .t { font-family: var(--display); text-transform: uppercase; font-size: clamp(28px, 3vw, 38px); line-height: .95; color: var(--green); margin-top: 6px; }
.choose a .arr { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); border: var(--line) solid var(--ink); display: grid; place-items: center; }
.choose a .arr svg { width: 22px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* pillars on cream */
.pillars-light .pillar { border-top-color: var(--ink); }
.pillars-light .pillar .display { color: var(--green); }
