/* ---------- Design tokens ---------- */
:root {
  --ink: #07151c;
  --deep: #0c2430;
  --panel: rgb(255 255 255 / 0.04);
  --line: rgb(255 255 255 / 0.09);
  --text: #eaf4f2;
  --muted: #8fa8ab;
  --teal: #19c3b0;
  --lime: #c8f560;
  --grad: linear-gradient(120deg, var(--lime), var(--teal));
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --pad: clamp(1.25rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* ---------- Ambient background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: radial-gradient(120% 80% at 80% 0%, var(--deep), var(--ink) 60%); }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.orb-1 { width: 38rem; height: 38rem; background: var(--teal); top: -12rem; right: -10rem; animation: drift 18s ease-in-out infinite alternate; }
.orb-2 { width: 28rem; height: 28rem; background: var(--lime); opacity: .12; bottom: -10rem; left: -8rem; animation: drift 22s ease-in-out infinite alternate-reverse; }
.grid { position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
  opacity: .5; }
@keyframes drift { to { transform: translate(-4rem, 5rem) scale(1.15); } }

/* ---------- Header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem var(--pad); position: relative; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; }
.brand-text em { font-style: normal; color: var(--lime); font-weight: 600; }
.brand.small .brand-text { font-size: 1rem; text-transform: none; letter-spacing: .02em; color: var(--muted); }

.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(10px);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgb(200 245 96 / .6); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 .7rem rgb(200 245 96 / 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 54rem); display: grid; align-items: center; padding: 2rem var(--pad) 5rem; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1;
  background: url("hero.jpg") 70% center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent 5%, #000 65%), linear-gradient(0deg, transparent, #000 35%);
  mask-composite: intersect;
  opacity: .9; }
.hero-inner { max-width: 44rem; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.eyebrow { margin: 0 0 1rem; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1; margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(3.4rem, 10vw, 7.5rem); font-weight: 800; letter-spacing: -.005em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 1.5rem 0 2.25rem; max-width: 34rem; font-size: clamp(1rem, 1.6vw, 1.15rem); color: #b9cfd0; }

/* ---------- Notify form ---------- */
.notify { max-width: 34rem; padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgb(7 21 28 / .6); backdrop-filter: blur(14px); }
.notify-label { display: block; margin-bottom: .75rem; font-weight: 500; font-size: .95rem; }
.notify-row { display: flex; gap: .75rem; align-items: flex-start; }
.field { flex: 1; min-width: 0; }
input[type="email"] { width: 100%; padding: .95rem 1.1rem; border-radius: 12px; border: 1px solid var(--line);
  background: rgb(255 255 255 / .06); color: var(--text); font: inherit; transition: border-color .2s, background-color .2s; }
input::placeholder { color: #6d878b; }
input:hover { border-color: rgb(255 255 255 / .22); }
input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgb(25 195 176 / .25); }
.error-msg { display: none; margin-top: .4rem; font-size: .85rem; color: #ff8a80; }
input:user-invalid { border-color: #ff6b5e; background-color: rgb(255 107 94 / .08); }
input:user-invalid + .error-msg { display: block; }
input:user-valid { border-color: var(--teal); }
input.user-invalid-fallback { border-color: #ff6b5e; background-color: rgb(255 107 94 / .08); }
input.user-invalid-fallback + .error-msg { display: block; }

.btn { cursor: pointer; border: 0; border-radius: 12px; padding: .95rem 1.5rem; font: 700 1rem var(--font-body);
  color: var(--ink); background: var(--grad); white-space: nowrap;
  transition: transform .2s, box-shadow .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgb(200 245 96 / .55); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.form-status { margin: .75rem 0 0; min-height: 1.4em; font-size: .9rem; color: var(--lime); }

/* ---------- Sections ---------- */
.services, .location { padding: 4rem var(--pad); max-width: 78rem; margin-inline: auto; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.card { padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
  transition: transform .3s, border-color .3s, background-color .3s; }
.card:hover { transform: translateY(-6px); border-color: rgb(25 195 176 / .5); background: rgb(25 195 176 / .06); }
.icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 14px; margin-bottom: 1.25rem;
  color: var(--lime); background: rgb(200 245 96 / .1); border: 1px solid rgb(200 245 96 / .25); }
.icon svg { width: 1.5rem; height: 1.5rem; }
.card h3 { font-size: 1.7rem; font-weight: 700; margin-bottom: .6rem; letter-spacing: .01em; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

.loc-card { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgb(25 195 176 / .14), rgb(200 245 96 / .05) 60%, transparent); }
.loc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.loc-list li { display: flex; gap: .75rem; align-items: flex-start; color: #cfe2e2; }
.tick { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--grad); }

/* ---------- Contact ---------- */
.contact { padding: 2rem var(--pad) 5rem; max-width: 78rem; margin-inline: auto; text-align: center; }
.contact-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.contact-link { display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.4rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); font-weight: 500; overflow-wrap: anywhere;
  transition: transform .25s, border-color .25s, background-color .25s, color .25s; }
.contact-link svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--lime); }
.contact-link:hover { transform: translateY(-3px); border-color: var(--teal); background: rgb(25 195 176 / .1); }

/* ---------- Footer ---------- */
.site-footer { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 2rem var(--pad); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.site-footer p { margin: 0; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes reveal { from { opacity: 0; translate: 0 36px; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .site-header { gap: .75rem; padding-block: 1rem; }
  .brand { gap: .55rem; min-width: 0; }
  .brand-text { font-size: .95rem; line-height: 1.05; }
  .brand img { width: 34px; height: 34px; }
  .pill { flex: none; padding: .35rem .75rem; font-size: .66rem; letter-spacing: .1em; }

  /* Athlete image becomes a banner at the top, fading into the page */
  .hero { min-height: auto; padding: 15rem var(--pad) 3rem; align-items: start; }
  .hero-media { inset: 0 0 auto 0; height: 22rem; background-position: 78% center;
    mask-image: linear-gradient(180deg, #000 45%, transparent); mask-composite: add; opacity: .95; }
  h1 { font-size: clamp(2.9rem, 14vw, 4.2rem); }

  .services, .location { padding-block: 2.5rem; }
  .notify { padding: 1rem; }
  .notify-row { flex-direction: column; }
  .field { width: 100%; }
  .btn { width: 100%; }
  .loc-card { grid-template-columns: 1fr; }
  .contact { padding-bottom: 3rem; }
  .contact-link { width: 100%; justify-content: center; }
  .site-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 360px) {
  .brand-text { font-size: .85rem; }
  .pill { font-size: .6rem; }
}

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