@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,300;0,400;0,600;0,700;0,900;1,400&family=Ubuntu:ital,wght@0,500;0,700;1,500;1,700&display=swap');

/* ==========================================================================
   GSS Sport — design tokens
   Palette taken from gsssports.com:
   --logo-baby-blue #56abee | --logo-blue #89b3e9 | --layout #e2c376
   --alice-blue #f1f6f9 | --alice-blue-2 #e2e8f0 | #000 / #111 / #222 / #666
   ========================================================================== */
:root {
  /* brand */
  --blue: #56abee;
  --blue-2: #89b3e9;
  --blue-deep: #2b7fc0;
  --gold: #e2c376;

  /* surfaces (dark base, as on the live site) */
  --bg: #000000;
  --bg-2: #08090b;
  --surface: #101215;
  --surface-2: #16191d;
  --surface-3: #1d2126;

  /* text */
  --text: #f1f6f9;
  --text-2: #b9c4cf;
  --text-3: #8b97a3;

  /* lines */
  --line: #23272d;
  --line-2: #2e343b;

  /* light section */
  --light-bg: #ffffff;
  --light-bg-2: #f4f7fa;
  --light-text: #101215;
  --light-text-2: #5a6672;
  --light-line: #e2e8f0;

  /* effects */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -8px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 28px 60px -12px rgba(0,0,0,.75);
  --glow: 0 0 0 1px rgba(86,171,238,.35), 0 12px 40px -10px rgba(86,171,238,.45);
  --ease: cubic-bezier(.22,.61,.36,1);

  --wrap: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  --header-h: 68px;
}

/* ==========================================================================
   base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Titillium Web', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--blue); color: #000; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* accent display type — the site's signature italic Ubuntu in baby blue */
.display-accent {
  font-family: 'Ubuntu', sans-serif;
  font-style: italic;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.lede { color: var(--text-2); font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.muted { color: var(--text-3); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: .8rem 1.2rem;
  background: var(--blue);
  color: #000;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   top bar — socials + login/register
   ========================================================================== */
.topbar {
  background: #000;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: .3rem;
}
.socials { display: flex; align-items: center; gap: .15rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--text-3);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.socials a:hover { color: var(--blue); background: rgba(86,171,238,.1); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

/* ==========================================================================
   header / nav
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
/* The blur lives on a pseudo-element, NOT on .header itself: backdrop-filter
   makes an element a containing block for position:fixed descendants, which
   trapped the mobile drawer inside the 68px header box. */
.header::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

/* crest + wordmark lockup — shared by the sticky header and the footer */
.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand__logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  /* the art is a transparent PNG, so shadow the crest itself, not a box */
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.55));
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
.brand:hover .brand__logo {
  transform: scale(1.06);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.55)) drop-shadow(0 0 14px rgba(86,171,238,.45));
}
.brand__text { display: flex; flex-direction: column; gap: .16rem; line-height: 1; }
.brand__mark {
  font-family: 'Ubuntu', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  color: var(--blue);
}
.brand__word {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}
@media (max-width: 480px) {
  .brand__logo { width: 36px; height: 36px; }
  .brand__mark { font-size: 1.15rem; }
  .brand__word { font-size: .56rem; letter-spacing: .16em; }
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .7rem;
  border-radius: 8px;
  color: var(--text-2);
  font-size: .87rem;
  font-weight: 400;
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--surface-2); }
.nav__link[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav__caret { width: 9px; height: 9px; fill: currentColor; opacity: .65; transition: transform .2s var(--ease); }

/* dropdowns */
.nav__item { position: relative; }
.nav__panel {
  position: absolute;
  top: calc(100% + .45rem);
  left: 0;
  z-index: 10;
  min-width: 264px;
  padding: .45rem;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel,
.nav__item[data-open="true"] > .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__item:hover > .nav__link .nav__caret,
.nav__item[data-open="true"] > .nav__link .nav__caret { transform: rotate(180deg); }
.nav__panel a {
  display: block;
  padding: .55rem .75rem;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: .87rem;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav__panel a:hover { color: var(--text); background: var(--surface-3); }

/* mobile toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--text);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  /* full-height drawer pinned to the viewport. Sits below the header
     (z-index 99 < 100) so the toggle stays tappable to close it. */
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 99;
    width: min(370px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    /* clears the topbar + header at scroll 0 */
    padding: calc(var(--header-h) + 3.4rem) var(--gutter) 3rem;
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
  }
  .nav[data-open="true"] { transform: translateX(0); visibility: visible; }
  .nav__link {
    padding: .95rem .6rem;
    font-size: 1rem;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav > .nav__link:last-of-type { border-bottom: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__item .nav__link { border-bottom: 0; }
  .nav__panel {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0 0 0 .75rem;
    background: none;
    border: 0;
    border-left: 1px solid var(--line-2);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    transform: none;
    transition: max-height .28s var(--ease);
  }
  .nav__item[data-open="true"] > .nav__panel { max-height: 30rem; }
  .nav__item:hover > .nav__panel { max-height: 0; }
  .nav__item[data-open="true"]:hover > .nav__panel { max-height: 30rem; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--ease), visibility .28s;
  }
  .nav-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
}

/* ==========================================================================
   buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--blue); color: #00121f; }
.btn--primary:hover { background: var(--blue-2); box-shadow: var(--glow); }

.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); background: rgba(86,171,238,.07); }

.btn--light { background: var(--light-text); color: #fff; }
.btn--light:hover { background: #2b3138; }

.btn--sm { padding: .55rem 1.1rem; font-size: .8rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

/* ==========================================================================
   sections
   ========================================================================== */
.section { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* Ambient light so the dark sections read as lit space rather than flat black.
   Sits behind content and never intercepts pointer events. */
.section--panel {
  isolation: isolate;
  overflow: hidden;
}
.section--panel::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -40%;
  left: 50%;
  width: min(1000px, 120vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(86,171,238,.07) 0%, transparent 62%);
  pointer-events: none;
}

.section--light {
  background: var(--light-bg);
  color: var(--light-text);
}
.section--light .lede,
.section--light p { color: var(--light-text-2); }
.section--light h1, .section--light h2,
.section--light h3, .section--light h4 { color: var(--light-text); }

.section--panel { background: var(--bg-2); }

.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(4rem, 11vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -30%;
  left: 50%;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(86,171,238,.16) 0%, rgba(86,171,238,.05) 38%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(86,171,238,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86,171,238,.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
/* --- background video --------------------------------------------------- */
.hero--video { padding-block: clamp(5rem, 13vw, 9rem) clamp(4rem, 9vw, 7rem); }

.hero__video {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-color: #000;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  /* decorative footage — never a tap target for the native controls */
  pointer-events: none;
  /* very slow drift keeps the still frame from feeling static */
  animation: heroDrift 26s var(--ease) infinite alternate;
}
/* Autoplay refused (iOS Low Power Mode, a data saver): script.js marks the
   element, and hiding it stops the browser painting its own play button over
   the poster frame, which stays visible as the wrapper's background image. */
.hero__video video[data-idle] { opacity: 0; }
@keyframes heroDrift {
  from { transform: scale(1.06); }
  to   { transform: scale(1.14); }
}

/* Legibility comes from a soft scrim behind the copy rather than from
   dimming the whole clip — the footage stays bright and readable. */
.hero__video::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 46% at 50% 46%, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 55%, transparent 78%),
    linear-gradient(180deg, rgba(0,0,0,.58) 0%, transparent 26%, transparent 62%, rgba(0,0,0,.72) 100%);
}

/* the grid + blue glow fight the footage */
.hero--video::after,
.hero--video::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__video video { animation: none; transform: scale(1.02); }
}

/* --- hero copy over video ----------------------------------------------- */
.hero--video .hero__inner { text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.6); }
.hero--video .hero__inner .lede { color: #e6eef5; }

.hero--video h1 .display-accent {
  color: #7cc2f5;
  text-shadow: 0 0 34px rgba(86,171,238,.55), 0 2px 18px rgba(0,0,0,.5);
}

.hero--video .btn { text-shadow: none; }

.hero--video .btn--ghost {
  background: rgba(10,12,15,.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,.28);
}
.hero--video .btn--ghost:hover {
  background: rgba(86,171,238,.16);
  border-color: var(--blue);
}

.hero--video .hero-badge {
  background: rgba(10,12,15,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,.18);
  text-shadow: none;
}

/* --- hero logo crest ----------------------------------------------------- */
.hero__logo {
  width: clamp(116px, 15vw, 184px);
  height: auto;
  margin: 0 auto 1.5rem;
  /* the art is a transparent PNG, so shadow the mark itself rather than a box */
  filter:
    drop-shadow(0 12px 32px rgba(0,0,0,.6))
    drop-shadow(0 0 30px rgba(86,171,238,.4));
  animation: heroLogo 1.15s var(--ease) both;
}
@keyframes heroLogo {
  from { opacity: 0; transform: translateY(-20px) scale(.86); }
  to   { opacity: 1; transform: none; }
}

/* staged entrance — badge, headline, lede, buttons */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
  to   { opacity: 1; transform: none;             filter: blur(0); }
}
.hero--video .hero-badge,
.hero--video h1,
.hero--video .lede,
.hero--video .btn-row {
  animation: heroRise .95s var(--ease) both;
}
.hero--video .hero-badge { animation-delay: .30s; }
.hero--video h1          { animation-delay: .45s; }
.hero--video .lede       { animation-delay: .62s; }
.hero--video .btn-row    { animation-delay: .78s; }

/* a hairline that draws itself under the headline */
.hero--video h1::after {
  content: '';
  display: block;
  width: 132px;
  height: 2px;
  margin: 1.1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transform-origin: center;
  animation: heroLine 1s var(--ease) .95s both;
}
@keyframes heroLine {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

/* scroll cue */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  gap: .45rem;
  color: var(--text-3);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  animation: heroRise 1s var(--ease) 1.2s both;
}
.hero__cue svg { width: 15px; height: 15px; fill: currentColor; animation: cueBob 2.2s var(--ease) infinite; }
@keyframes cueBob {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50%      { transform: translateY(5px); opacity: 1; }
}

.hero__inner { position: relative; text-align: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { max-width: 680px; margin-inline: auto; }
.hero .btn-row { justify-content: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding: .35rem .35rem .35rem .9rem;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: .78rem;
  color: var(--text-2);
}
.hero-badge b { color: var(--text); font-weight: 600; }
/* on the homepage the badge is a link to the featured clinic */
a.hero-badge {
  padding-right: .75rem;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
a.hero-badge:hover,
a.hero-badge:focus-visible {
  background: var(--surface-2);
  border-color: rgba(86,171,238,.55);
}
a.hero-badge:hover .hero-badge__arrow,
a.hero-badge:focus-visible .hero-badge__arrow { transform: translateX(3px); opacity: 1; }
.hero-badge__arrow {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  fill: currentColor;
  opacity: .65;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.hero-badge .pill {
  padding: .15rem .6rem;
  background: var(--blue);
  border-radius: 999px;
  color: #00121f;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* page hero for interior pages */
.page-hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -60%;
  left: 15%;
  width: min(760px, 110vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(86,171,238,.13) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero--video { padding-block: clamp(4rem, 9vw, 6.5rem) clamp(3rem, 6vw, 4.5rem); }
.page-hero--video::before { display: none; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { max-width: 680px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.2rem;
  font-size: .8rem;
  color: var(--text-3);
}
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { opacity: .5; }

/* ==========================================================================
   stats
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats > div {
  position: relative;
  padding: 2rem 1.2rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  text-align: center;
  transition: background .3s var(--ease);
}
.stats > div::before {
  content: '';
  position: absolute;
  inset: auto 22% 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.stats > div:hover { background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%); }
.stats > div:hover::before { opacity: .8; }
.stats dt {
  font-family: 'Ubuntu', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--blue);
}
/* gradient numerals only where the text clip is actually supported —
   otherwise `color: transparent` would render them invisible */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stats dt {
    background: linear-gradient(180deg, #a9d5f8 0%, var(--blue) 55%, var(--blue-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.stats dd {
  margin: .6rem 0 0;
  color: var(--text-3);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* stats on a light section */
.stats--light { background: var(--light-line); border-color: var(--light-line); }
.stats--light > div { background: linear-gradient(180deg, #fff 0%, var(--light-bg-2) 100%); }
.stats--light > div:hover { background: #fff; }
.stats--light dd { color: var(--light-text-2); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stats--light dt {
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

/* ==========================================================================
   cards
   ========================================================================== */
/* Explicit column counts rather than auto-fit. auto-fit derives the count
   from available width, which silently produced 3 columns for a 4-card grid
   and left the last card orphaned on its own row. */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1040px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  /* a gentle vertical gradient reads far less flat than a single fill */
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .26s var(--ease), border-color .26s var(--ease),
              box-shadow .26s var(--ease);
}
/* hairline catch-light along the top edge — the detail that separates a
   premium dark surface from a plain box */
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10) 25%, rgba(255,255,255,.10) 75%, transparent);
  pointer-events: none;
}
/* accent bar that resolves on hover */
.card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 22px 48px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(86,171,238,.06);
}
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-2); font-size: .95rem; }
.card__link {
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--blue);
  font-size: .87rem;
  font-weight: 600;
}
.card__link::after { content: ' →'; transition: margin .18s var(--ease); }
.card:hover .card__link::after { margin-left: .2rem; }

.card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  background: rgba(86,171,238,.1);
  border: 1px solid rgba(86,171,238,.22);
  border-radius: var(--radius-sm);
  color: var(--blue);
}
.card__icon svg { width: 20px; height: 20px; fill: currentColor; }

.card--light {
  background: linear-gradient(180deg, #fff 0%, var(--light-bg-2) 100%);
  border-color: var(--light-line);
}
.card--light::before { background: linear-gradient(90deg, transparent, rgba(16,18,21,.06) 25%, rgba(16,18,21,.06) 75%, transparent); }
.card--light:hover {
  border-color: #cbd6e2;
  box-shadow: 0 22px 48px -22px rgba(16,18,21,.28), 0 0 0 1px rgba(86,171,238,.1);
}
.card--light h3 { color: var(--light-text); }
.card--light p { color: var(--light-text-2); }

/* --- numbered value cards ------------------------------------------------ */
.card--value { padding-top: 3.1rem; }
.card--value .num {
  position: absolute;
  top: 1.35rem;
  left: 1.7rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: rgba(86,171,238,.1);
  border: 1px solid rgba(86,171,238,.26);
  border-radius: 8px;
  font-family: 'Ubuntu', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: .74rem;
  color: var(--blue);
  letter-spacing: 0;
  transition: background .26s var(--ease), border-color .26s var(--ease);
}
.card--value:hover .num { background: rgba(86,171,238,.18); border-color: rgba(86,171,238,.5); }

/* ==========================================================================
   program / event cards
   ========================================================================== */
.program {
  display: grid;
  grid-template-columns: minmax(0, clamp(320px, 38%, 460px)) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin-bottom: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.program:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }

/* --- per-programme accent ------------------------------------------------
   Each card carries its own accent so a run of them reads as a set of
   distinct events rather than one template repeated. */
.program { --accent: var(--blue); --accent-soft: rgba(86,171,238,.12); }
.program--camp { --accent: var(--gold); --accent-soft: rgba(226,195,118,.12); }
.program--wars { --accent: var(--blue-2); --accent-soft: rgba(137,179,233,.12); }

.program__body { border-top: 3px solid var(--accent); }
.program__tag { color: var(--accent); }
.program .spec dt { color: var(--accent); opacity: .85; }
.program .price-chip b { color: var(--accent); }
.program .callout { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.program .callout__icon { color: var(--accent); }
.program .ticklist li::before { background: var(--accent); }

/* --- featured card ------------------------------------------------------- */
.program--featured {
  grid-template-columns: minmax(0, clamp(360px, 46%, 560px)) minmax(0, 1fr);
  margin-bottom: 2.25rem;
  border-color: rgba(86,171,238,.3);
  box-shadow: 0 0 0 1px rgba(86,171,238,.08), 0 34px 80px -28px rgba(86,171,238,.3);
}
.program--featured .program__body { padding: clamp(1.75rem, 3.4vw, 2.75rem); }
.program--featured .program__body > h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }

.program__ribbon {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .9rem;
  padding: .3rem .8rem .3rem .55rem;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 999px;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.program__ribbon::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
  animation: livePulse 2.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* --- alternating layout -------------------------------------------------- */
.program--flip { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(320px, 38%, 460px)); }
.program--flip .program__media { grid-column: 2; grid-row: 1; }
.program--flip .program__body  { grid-column: 1; grid-row: 1; }

/* The event banners are 1080x1350 (4:5) flyers with dates and pricing
   printed on them, so the flyer is never cropped — it is shown whole and
   centred. The column is taller than the flyer whenever the copy runs long,
   so a blurred, dimmed copy of the same art fills the remainder instead of
   leaving dead space. */
.program__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 1.25rem;
  background: var(--surface-2);
  overflow: hidden;
}
.program__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--flyer);
  background-size: cover;
  background-position: 50% 50%;
  filter: blur(30px) saturate(1.35) brightness(.42);
  transform: scale(1.25);
}
/* keeps the blurred fill from washing into the card body */
.program__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28), transparent 30%, transparent 70%, rgba(0,0,0,.28));
}
.program__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 44px -12px rgba(0,0,0,.7);
  transition: transform .35s var(--ease);
}
.program:hover .program__media img { transform: scale(1.025); }
.program__body { padding: clamp(1.5rem, 3vw, 2.2rem); }
.program__body > h3 { margin-bottom: .3rem; }
.program__tag {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .3rem .75rem;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}
.program__desc { color: var(--text-2); font-size: .95rem; }

/* --- interstitial strip --------------------------------------------------
   Sits between programme cards to break up a long run of them. */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  margin: 2.25rem 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.strip > div {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1.15rem 1.3rem;
  background: var(--bg);
}
.strip svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: .2rem; fill: var(--blue); }
.strip b { display: block; margin-bottom: .1rem; font-size: .92rem; font-weight: 600; }
.strip span { color: var(--text-3); font-size: .83rem; line-height: 1.45; }

/* --- inline quote break -------------------------------------------------- */
.break-quote {
  position: relative;
  margin: 2.5rem 0;
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.5rem, 5vw, 3.5rem);
  background: linear-gradient(120deg, rgba(86,171,238,.09), rgba(226,195,118,.05));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
}
.break-quote::before {
  content: '\201C';
  position: absolute;
  top: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(86,171,238,.16);
  font-family: 'Ubuntu', sans-serif;
  font-size: 9rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.break-quote p {
  position: relative;
  max-width: 30ch;
  margin: 0 auto;
  font-family: 'Ubuntu', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  line-height: 1.35;
  color: var(--text);
}
.break-quote cite {
  display: block;
  margin-top: .9rem;
  color: var(--blue);
  font-family: 'Titillium Web', sans-serif;
  font-size: .78rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin: 1.4rem 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.spec > div { padding: .85rem 1rem; background: var(--surface); }
.spec dt {
  color: var(--text-3);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.spec dd { margin: .25rem 0 0; font-size: .92rem; font-weight: 600; color: var(--text); }

.pricing { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; }
.price-chip {
  padding: .5rem .95rem;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  font-size: .87rem;
}
.price-chip b { color: var(--blue); font-weight: 700; }

.callout {
  display: flex;
  gap: .85rem;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  background: rgba(86,171,238,.07);
  border: 1px solid rgba(86,171,238,.22);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--text-2);
}
.callout__icon { flex-shrink: 0; color: var(--blue); font-size: 1.05rem; line-height: 1.5; }
.callout b { color: var(--text); }
.callout--warn { background: rgba(226,195,118,.07); border-color: rgba(226,195,118,.25); }
.callout--warn .callout__icon { color: var(--gold); }

.ticklist { margin: 1.1rem 0; padding: 0; list-style: none; }
.ticklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .5rem;
  color: var(--text-2);
  font-size: .93rem;
}
.ticklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.ticklist--light li { color: var(--light-text-2); }

@media (max-width: 820px) {
  .program,
  .program--flip,
  .program--featured { grid-template-columns: 1fr; }
  /* reset the flipped placement or it spawns a phantom second column */
  .program--flip .program__media,
  .program--flip .program__body { grid-column: 1; grid-row: auto; }
  .program--flip .program__media { order: -1; }
  /* full-bleed 4:5 is very tall on a phone — cap the flyer height instead */
  .program__media { min-height: 0; padding: 1.5rem; }
  .program__media img { max-height: 62vh; width: auto; max-width: 100%; }
}

/* ==========================================================================
   split / media
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split__media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }

.figure-stack { display: grid; gap: 1rem; }

/* ==========================================================================
   alumni
   ========================================================================== */
.alumni {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.alumni li {
  display: flex;
  gap: .85rem;
  padding: .95rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.alumni li:hover { border-color: var(--line-2); background: var(--surface-2); }
.alumni .who { display: block; font-weight: 600; color: var(--text); }
.alumni .where { display: block; color: var(--text-3); font-size: .85rem; }
.alumni .dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: .55rem;
  background: var(--blue);
  border-radius: 50%;
}

/* ==========================================================================
   steps
   ========================================================================== */
.steps { counter-reset: step; display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.3rem 1.5rem 1.3rem 4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.3rem;
  top: 1.25rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: rgba(86,171,238,.12);
  border: 1px solid rgba(86,171,238,.3);
  border-radius: 50%;
  color: var(--blue);
  font-family: 'Ubuntu', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: .85rem;
}
.steps h4 { margin-bottom: .3rem; }
.steps p { color: var(--text-2); font-size: .92rem; }
.steps--light li { background: var(--light-bg-2); border-color: var(--light-line); }
.steps--light p { color: var(--light-text-2); }

/* ==========================================================================
   logos / sponsors
   ========================================================================== */
/* ==========================================================================
   sponsors
   ========================================================================== */
.sponsors { position: relative; isolation: isolate; overflow: hidden; }
.sponsors::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -45%;
  left: 50%;
  width: min(1150px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(86,171,238,.13) 0%, rgba(86,171,238,.04) 42%, transparent 70%);
  pointer-events: none;
}

/* The sponsor artwork is 1026x1026 full-bleed — square tiles at `cover`
   show it at full size instead of letterboxing it into a 16:10 box. */
.logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.logos figure {
  position: relative;
  margin: 0;
  padding: 0;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .32s var(--ease), border-color .32s var(--ease), box-shadow .32s var(--ease);
}
.logos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.logos figure::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  pointer-events: none;
}
.logos figure:hover {
  transform: translateY(-6px);
  border-color: rgba(86,171,238,.55);
  box-shadow: 0 26px 54px -22px rgba(0,0,0,.9), 0 0 0 1px rgba(86,171,238,.22);
}
.logos figure:hover img { transform: scale(1.07); }

@media (max-width: 900px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }

/* sponsor call to action */
.sponsor-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2rem;
  padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.6rem, 4vw, 2.8rem);
  background: linear-gradient(120deg, rgba(86,171,238,.12), rgba(86,171,238,.03) 55%, transparent);
  border: 1px solid rgba(86,171,238,.24);
  border-radius: var(--radius-lg);
}
.sponsor-cta h3 { margin-bottom: .35rem; font-size: clamp(1.3rem, 2.6vw, 1.85rem); }
.sponsor-cta p { color: var(--text-2); font-size: .95rem; max-width: 62ch; }
@media (max-width: 760px) {
  .sponsor-cta { grid-template-columns: 1fr; text-align: left; }
}

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.gallery a, .gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.gallery a:hover { transform: translateY(-3px); border-color: var(--blue); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ==========================================================================
   quote
   ========================================================================== */
.quote {
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background: linear-gradient(135deg, rgba(86,171,238,.1), rgba(86,171,238,.02));
  border: 1px solid rgba(86,171,238,.22);
  border-radius: var(--radius-lg);
}
.quote blockquote {
  margin: 0;
  font-family: 'Ubuntu', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  color: var(--text);
}
.quote figcaption { margin-top: 1rem; color: var(--blue); font-size: .85rem; font-weight: 600; }

/* ==========================================================================
   forms
   ========================================================================== */
.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form-section { margin-bottom: 2.2rem; }
.form-section:last-of-type { margin-bottom: 1.5rem; }
.form-section > h3 {
  padding-bottom: .7rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }

.field > label, .fieldset__legend {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .01em;
}
.req { color: var(--blue); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: .72rem .9rem;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5c6772; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(86,171,238,.16);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%238b97a3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 11px;
  padding-right: 2.4rem;
}
.field .hint { color: var(--text-3); font-size: .76rem; }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.fieldset__legend { display: block; margin-bottom: .65rem; padding: 0; }

.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices--stack { flex-direction: column; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .95rem;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: .87rem;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}
.choices--stack .choice { border-radius: var(--radius-sm); }
.choice:hover { border-color: var(--blue-deep); color: var(--text); }
.choice input { accent-color: var(--blue); width: 15px; height: 15px; margin: 0; flex-shrink: 0; }
.choice:has(input:checked) {
  border-color: var(--blue);
  background: rgba(86,171,238,.1);
  color: var(--text);
}

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .87rem; color: var(--text-2); cursor: pointer; }
.consent input { accent-color: var(--blue); width: 16px; height: 16px; margin-top: .2rem; flex-shrink: 0; }

.form-status {
  display: none;
  padding: .9rem 1.1rem;
  margin-top: 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
}
.form-status[data-state="ok"] {
  display: block;
  background: rgba(86,171,238,.1);
  border: 1px solid rgba(86,171,238,.3);
  color: var(--text);
}
.form-status[data-state="err"] {
  display: block;
  background: rgba(226,195,118,.1);
  border: 1px solid rgba(226,195,118,.3);
  color: var(--text);
}

/* ==========================================================================
   newsletter + footer
   ========================================================================== */
.newsletter { padding: clamp(2.5rem, 6vw, 4rem) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.newsletter__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.newsletter h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.newsletter p { color: var(--text-2); font-size: .95rem; }
.subscribe { display: flex; gap: .6rem; flex-wrap: wrap; }
.subscribe input {
  flex: 1 1 220px;
  padding: .8rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: .92rem;
}
.subscribe input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(86,171,238,.16);
}

.footer { padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem; background: #000; border-top: 1px solid var(--line); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer h4 {
  margin-bottom: 1rem;
  color: var(--text-3);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer ul { padding: 0; margin: 0; list-style: none; }
.footer li { margin-bottom: .5rem; }
.footer a { color: var(--text-2); font-size: .89rem; transition: color .16s var(--ease); }
.footer a:hover { color: var(--blue); }
.footer__about p { color: var(--text-3); font-size: .89rem; max-width: 34ch; }
.footer__contact { margin-top: 1rem; font-size: .89rem; color: var(--text-2); }
.footer__contact a { color: var(--blue); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: .82rem;
}

/* ==========================================================================
   scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   utilities
   ========================================================================== */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
