/* =================================================================
   GAMBER NUTRITION — v2
   Athletic performance · pure black · electric blue · Geist sans
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:          #0A0807;    /* warm near-black */
  --bg-2:        #14100C;    /* elevated surface */
  --bg-3:        #1A1611;    /* card fill */
  --bg-4:        #221D16;    /* card fill hover */
  --text:        #F0E9DB;    /* warm ivory */
  --text-2:      #A9A192;    /* secondary body */
  --text-3:      #6E6759;    /* tertiary / captions */
  --border:      rgba(240, 233, 219, 0.06);
  --border-2:    rgba(240, 233, 219, 0.10);
  --border-hi:   rgba(240, 233, 219, 0.20);

  --accent:      #C68A45;
  --accent-hi:   #E1A65F;
  --accent-dim:  #8B6032;
  --accent-glow: rgba(198, 138, 69, 0.30);
  --accent-tint: rgba(198, 138, 69, 0.08);
  --accent-tint-2: rgba(198, 138, 69, 0.16);

  --font:        "Geist", -apple-system, BlinkMacSystemFont, ui-sans-serif, system-ui, sans-serif;
  --font-mono:   "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  --page-gutter: clamp(1.25rem, 4vw, 3rem);
  --page-max:    1280px;
  --content-max: 780px;    /* centered hero/section content */

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);

  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Ambient grain — subtle, premium warmth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.25;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.94 0 0 0 0 0.91 0 0 0 0 0.86 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.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;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--accent); color: var(--text); }

/* ---------- Universal section container ---------- */
.section {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--page-gutter);
}

.section__head {
  max-width: var(--content-max);
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.eyebrow--chip {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--accent-tint);
  border: 1px solid var(--accent-tint-2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow--chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.h1, .h2, .h3 {
  font-family: var(--font);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: var(--text);
  margin: 0;
}
.h1 {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
}
.h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  margin-bottom: 1.25rem;
}
.h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.h1 .accent, .h2 .accent { color: var(--accent); }

.subhead {
  max-width: 46ch;
  margin: 0 auto;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: var(--text-2);
}
.section__head .subhead { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition:
    background 220ms var(--ease-out),
    color 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    transform 180ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 4px 24px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--accent-hi);
  box-shadow: 0 6px 32px -6px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hi);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: var(--text);
  background: rgba(255,255,255,0.04);
}
.btn--sm { padding: 0.55rem 1rem; font-size: 0.82rem; min-height: 44px; }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1rem; }
.btn__arrow { transition: transform 220ms var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(2px); }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10, 8, 7, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background 240ms var(--ease-out);
}
.nav__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0.9rem var(--page-gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav__mark {
  width: 32px; height: 32px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 20px -6px var(--accent-glow);
}
.nav__wordmark {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  gap: clamp(1rem, 2.6vw, 2.4rem);
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
}
.nav__links a {
  padding: 0.4rem 0;
  transition: color 200ms var(--ease-out);
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--text); }
.nav__cta { justify-self: end; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--page-gutter) 4rem;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(0.35) brightness(0.35) contrast(1.1) blur(1px);
  opacity: 0.65;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(198, 138, 69, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(10,8,7,0.55) 0%, rgba(10,8,7,0.78) 50%, var(--bg) 100%);
}
.hero__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.hero__title {
  font-family: var(--font);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-size: clamp(2.8rem, 9vw, 6.8rem);
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
.hero__title .accent { color: var(--accent); }
.hero__subhead {
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-2);
  margin: 0.5rem 0 0.75rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.5rem 0 2rem;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, auto));
  gap: clamp(2rem, 6vw, 4.5rem);
  margin: 0;
  padding-top: 1.5rem;
}
.hero__stats > div { margin: 0; text-align: center; }
.hero__stats dt {
  order: 2;
  font-size: 0.78rem;
  color: var(--text-2);
  margin-top: 0.35rem;
  letter-spacing: -0.005em;
}
.hero__stats dd {
  order: 1;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  font-feature-settings: "tnum";
}
.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-3);
}
.hero__scroll-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: heroDot 1.8s ease-in-out infinite;
}
@keyframes heroDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(6px); opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-dot { animation: none; }
}

/* =================================================================
   TRANSFORMATIONS CAROUSEL
   ================================================================= */
.carousel {
  position: relative;
  margin-top: 2rem;
}
.carousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding-inline: max(var(--page-gutter), calc((100vw - var(--page-max)) / 2 + var(--page-gutter)));
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 min(700px, 82vw);
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  position: relative;
  margin: 0;
}
/* Phones: photos are square/portrait composites — use a square window
   so before/afters aren't brutally cropped */
@media (max-width: 700px) {
  .carousel__slide { aspect-ratio: 1 / 1; }
}
.carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 700ms var(--ease-out);
}
.carousel__slide:hover img { transform: scale(1.02); }
/* figcaption removed — user prefers uncaptioned client photos */
.carousel__nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.carousel__btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms var(--ease-out);
}
.carousel__btn:hover, .carousel__btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-tint);
}
.carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* =================================================================
   WHY CHOOSE — feature cards
   ================================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.feature {
  padding: 1.75rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 240ms var(--ease-out), background 240ms var(--ease-out), transform 240ms var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.feature:hover {
  border-color: var(--accent);
  background: var(--bg-4);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px -12px var(--accent-glow);
}
.feature__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-tint-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.feature__icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.feature p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-2);
}

@media (max-width: 1080px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* =================================================================
   TWO-TRACK PROGRAMS (kept — restyled athletic)
   ================================================================= */
.programs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.program {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.program::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, var(--accent-tint), transparent 60%);
  pointer-events: none;
}
.program--b::before {
  background: radial-gradient(ellipse at bottom right, var(--accent-tint), transparent 60%);
}
.program > * { position: relative; z-index: 1; }
.program__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.program__title {
  font-family: var(--font);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1;
  color: var(--text);
  margin: 0 0 1rem;
}
.program__deck {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 1.75rem;
  max-width: 42ch;
}
.program__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.program__list li {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--text);
}
.program__list li::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  transform: translateY(-2px);
}
.program__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-2);
}

@media (max-width: 820px) { .programs { grid-template-columns: 1fr; } }

.programs__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}
.programs__cta-note {
  font-size: 0.9rem;
  color: var(--text-2);
  margin: 0;
  max-width: 44ch;
}

/* =================================================================
   TESTIMONIALS
   ================================================================= */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.quote {
  padding: 2rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 240ms var(--ease-out), background 240ms var(--ease-out);
}
.quote:hover {
  border-color: var(--border-hi);
  background: var(--bg-4);
}
.quote__mark {
  color: var(--accent);
  font-family: var(--font);
  font-weight: 900;
  font-size: 3rem;
  line-height: 0.4;
  height: 1rem;
}
.quote blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.005em;
  font-weight: 500;
}
.quote figcaption {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.quote__name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
}
.quote__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* =================================================================
   COACH BIO
   ================================================================= */
.coach {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.coach__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.coach__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.coach__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  filter: contrast(1.05) saturate(0.9);
}
.coach__photo--sub img {
  aspect-ratio: 4 / 3.5;
  object-position: center 20%;
}
.coach__body { padding-top: 0.5rem; }
.coach__body h2 { text-align: left; }
.coach__prose {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 1.5rem 0 2rem;
  max-width: 44ch;
}
.coach__prose p { margin: 0 0 1rem; }
.coach__prose strong { color: var(--text); font-weight: 700; }

.credentials {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.credentials > div {
  display: grid;
  grid-template-columns: 13ch 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.credentials dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.credentials dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 900px) {
  .coach { grid-template-columns: 1fr; }
  /* Lead with the bio on phones — photos follow the story */
  .coach__body { order: -1; }
}

/* =================================================================
   NEXT STEPS — numbered timeline
   ================================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 30px; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hi) 15%, var(--border-hi) 85%, transparent);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
}
.step__num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 32px -8px var(--accent-glow);
  font-family: var(--font);
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-2);
}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* =================================================================
   APPLY (form)
   ================================================================= */
.apply__form {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.apply__form-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.apply__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.apply__card .apply__form-eyebrow {
  width: 100%;
}
.apply__points {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 380px;
}
.apply__points li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  text-align: left;
  font-size: 0.98rem;
  color: var(--text-2);
}
.apply__points li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex: 0 0 auto;
}
.apply__card .btn { width: 100%; max-width: 380px; }

.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.field__optional {
  color: var(--text-3);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
  min-height: 46px;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C68A45' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-4);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #FF6B6B;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}
.field__error {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #FF8080;
}
.apply__form .btn { width: 100%; }
.apply__fineprint {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-3);
  text-align: center;
}
.apply__success {
  padding: 1.5rem;
  background: var(--accent-tint);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--text);
  margin-top: 1.5rem;
  text-align: center;
}
.apply__success strong { color: var(--accent); font-weight: 700; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 5vw, 5rem) var(--page-gutter) clamp(2rem, 3vw, 2.5rem);
  border-top: 1px solid var(--border);
}
.footer__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2.5rem;
}
.footer__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 1rem;
  font-weight: 600;
}
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
  max-width: 34ch;
}
.footer__block ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.25rem;
  font-size: 0.92rem;
}
.footer__block a {
  color: var(--text-2);
  transition: color 200ms var(--ease-out);
  /* Comfortable tap target on touch screens */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer__block a:hover, .footer__block a:focus-visible { color: var(--accent); }
.footer__meta {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  justify-content: space-between;
}

@media (max-width: 780px) {
  .footer__row { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
/* Content is visible by default; the hidden entrance state only applies
   once JS has loaded (js-loaded), so no-JS visitors and crawlers see everything */
.js-loaded [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}
.js-loaded [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
