:root {
  --paper: #ffffff;
  --bone: #f4f1ea;
  --ink: #0f1422;
  --ink-soft: #2b3243;
  --ink-mute: #7c8294;
  --rule: #0f14221a;
  --hairline: #0f14220d;
  --navy: #14224a;
  --navy-dk: #0a1133;
  --pop: #f4c542;
  --pop-dk: #d9a91d;
  --serif: "Iowan Old Style", "Hoefler Text", "Apple Garamond", Baskerville, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

html[data-theme="bone"] {
  --paper: #f4f1ea;
  --bone: #ebe6d8;
}

html[data-theme="court"] {
  --paper: #ffffff;
  --bone: #eef0e7;
  --navy: #1d3a2a;
  --navy-dk: #122518;
  --pop: #c9e25b;
  --pop-dk: #a3bc3b;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:target {
  animation: target-flash 1.6s ease-out 0.35s 1;
}

@keyframes target-flash {
  0%   { box-shadow: inset 0 0 0 0 rgba(244, 197, 66, 0); }
  18%  { box-shadow: inset 0 4px 0 0 var(--pop); }
  100% { box-shadow: inset 0 0 0 0 rgba(244, 197, 66, 0); }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}

p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
  color: #fff;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 17, 51, 0.55) 0%, rgba(10, 17, 51, 0.18) 60%, rgba(10, 17, 51, 0) 100%);
  transition: opacity .25s ease;
  z-index: -1;
}

.nav.solid::before,
.nav.is-open::before {
  opacity: 0;
}

.nav .nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  transition: padding .25s ease;
}

.nav.solid .nav-row {
  padding: 10px 24px;
}

.nav .brand img {
  transition: width .25s ease, height .25s ease;
}

.nav.solid .brand img {
  width: 32px;
  height: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: inherit;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 6px 2px;
  opacity: 0.92;
  transition: opacity .15s ease, color .15s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--pop);
  transition: right .25s cubic-bezier(.4, 0, .2, 1);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-links a.active {
  opacity: 1;
}

.nav.solid .nav-links a::after {
  background: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  transition: all .15s ease;
  white-space: nowrap;
}

.btn .lbl {
  transition: color .15s ease;
}

.btn:not(.solid):not(.pop):hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn.solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn.solid:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

.btn.pop {
  background: var(--pop);
  color: var(--navy);
  border-color: var(--pop);
  font-weight: 600;
}

.btn.pop:hover {
  background: var(--pop-dk);
  border-color: var(--pop-dk);
  color: var(--navy);
}

.btn.lg {
  padding: 16px 26px;
  font-size: 15px;
}

.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn[aria-disabled="true"]:hover .arr {
  transform: none;
}

.btn .arr {
  transition: transform .2s ease;
}

.btn:hover .arr {
  transform: translateX(3px);
}

/* nav: solid white state */
.nav.solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 6px 24px -18px rgba(15, 20, 34, 0.35);
}

.nav.solid .btn {
  border-color: var(--rule);
  color: var(--ink);
}

.nav.solid .btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.nav.solid .btn.pop {
  background: var(--pop);
  color: var(--navy);
  border-color: var(--pop);
}

.nav.solid .btn.pop:hover {
  background: var(--pop-dk);
  border-color: var(--pop-dk);
}

/* Header CTA hover refinement */
.nav .btn {
  transition: background .22s ease, border-color .22s ease,
              color .22s ease, transform .18s ease, box-shadow .22s ease;
  will-change: transform;
}

.nav .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.45);
}

.nav .btn:hover>* {
  color: #fff;
}

.nav .btn:hover .lbl {
  color: #fff;
}

.nav .btn.pop:hover {
  background: var(--pop);
  border-color: var(--pop);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -8px rgba(244, 197, 66, 0.55),
              0 2px 6px -2px rgba(217, 169, 29, 0.4);
}

.nav .btn.pop:hover>* {
  color: var(--navy);
}

.nav .btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.nav.solid .btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 22px -10px rgba(15, 20, 34, 0.4);
}

.nav.solid .btn:hover>* {
  color: var(--paper);
}

.nav.solid .btn.pop:hover {
  background: var(--pop-dk);
  border-color: var(--pop-dk);
  color: var(--navy);
  box-shadow: 0 10px 26px -8px rgba(217, 169, 29, 0.5);
}

.nav.solid .btn.pop:hover>* {
  color: var(--navy);
}

/* hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 999px;
  transition: background .15s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav.solid .nav-toggle:hover {
  background: rgba(15, 20, 34, 0.06);
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  margin-left: -11px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .15s ease, top .2s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  flex-direction: column;
  padding: 88px 32px 32px;
  background: rgba(20, 34, 74, 0.96);
  backdrop-filter: saturate(1.4) blur(20px);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 49;
}

.nav.solid ~ .nav-drawer {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
}

.nav-drawer a {
  padding: 12px 4px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color .15s ease, border-bottom-color .15s ease, padding-left .2s ease;
}

.nav-drawer > a:hover,
.nav-drawer > a.active {
  color: var(--pop);
  border-bottom-color: var(--pop);
  padding-left: 10px;
}

.nav.solid ~ .nav-drawer a {
  border-bottom-color: var(--rule);
}

.nav.solid ~ .nav-drawer > a:hover,
.nav.solid ~ .nav-drawer > a.active {
  color: var(--navy);
  border-bottom-color: var(--pop);
}

.nav-drawer .nav-drawer-cta {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  border-bottom: 0;
}

.nav-drawer .nav-drawer-cta .btn {
  flex: 1;
  justify-content: center;
}

.nav-drawer .nav-drawer-cta .btn:not(.pop) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.nav-drawer .nav-drawer-cta .btn:not(.pop):hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.nav.solid ~ .nav-drawer .nav-drawer-cta .btn:not(.pop) {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.nav.solid ~ .nav-drawer .nav-drawer-cta .btn:not(.pop):hover {
  background: var(--navy);
  border-color: var(--navy);
}

.nav-drawer.is-open {
  display: flex;
}

html:has(.nav-drawer.is-open) {
  overflow: hidden;
}

.nav.is-open:not(.solid) {
  background: rgba(20, 34, 74, 0.96);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}

@media (max-width: 1220px) {
  .nav-links {
    display: none;
  }

  .nav .nav-row {
    grid-template-columns: auto 1fr;
  }

  .nav-actions {
    justify-self: end;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions .btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav .nav-row {
    gap: 8px;
    padding: 14px 20px;
  }

  .nav.solid .nav-row {
    padding: 8px 20px;
  }

  .brand {
    font-size: 15px;
    gap: 10px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 380px) {
  .brand-name {
    display: none;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 880px;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #0a1133 0%, #14224a 45%, #1f3168 100%);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* image-feel placeholder layered to suggest a real photo */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 78% 28%, rgba(244, 197, 66, 0.18), transparent 60%),
    radial-gradient(900px 700px at 25% 80%, rgba(255, 255, 255, 0.10), transparent 60%);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(120deg, transparent 0 60px, rgba(255, 255, 255, 0.025) 60px 61px),
    repeating-linear-gradient(-30deg, transparent 0 90px, rgba(0, 0, 0, 0.12) 90px 91px);
}

.hero-photo-tag {
  position: absolute;
  bottom: 18px;
  left: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  z-index: 3;
}

.hero-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 17, 51, 0.65) 0%, rgba(20, 34, 74, 0.38) 40%, rgba(10, 17, 51, 0.75) 100%),
    rgba(20, 34, 74, 0.28);
  mix-blend-mode: normal;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 64px;
  padding-top: 120px;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(60px, 10vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--pop);
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-lede {
  font-size: 16.5px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.88);
  text-wrap: pretty;
}

@media (max-width: 960px) {
  .hero-foot {
    grid-template-columns: 1fr;
  }
}

.hero-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-cta-row .btn {
  border-color: rgba(255, 255, 255, 0.5);
  transition: background .22s ease, border-color .22s ease,
              color .22s ease, transform .18s ease, box-shadow .22s ease;
  will-change: transform;
}

.hero-cta-row .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.55);
}

.hero-cta-row .btn.pop {
  border-color: var(--pop);
}

.hero-cta-row .btn.pop:hover {
  background: var(--pop);
  border-color: var(--pop);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(244, 197, 66, 0.55),
              0 2px 6px -2px rgba(217, 169, 29, 0.4);
}

.hero-cta-row .btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.hero-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}

.hero-meta b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-transform: none;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 2;
  transition: all .2s ease;
}

.play-btn:hover {
  background: var(--pop);
  border-color: var(--pop);
  color: var(--navy);
  transform: translate(-50%, -50%) scale(1.05);
}

.play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}

@media (max-width: 720px) {
  .hero {
    min-height: 540px;
    max-height: 720px;
    height: 88vh;
  }

  .hero-foot {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .hero-meta {
    text-align: left;
  }

  .hero-inner {
    padding-bottom: 32px;
    padding-top: 88px;
  }

  .play-btn {
    width: 72px;
    height: 72px;
  }
}

/* ---------- INTRO STATEMENT ---------- */
.intro {
  padding: 120px 0 80px;
  background: var(--paper);
}

.intro-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.intro-row .intro-text {
  grid-column: 2;
}

.intro-text {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
}

.intro-text em {
  font-style: italic;
  color: var(--navy);
}

.intro-text .muted {
  color: var(--ink-mute);
}

@media (max-width: 900px) {
  .intro {
    padding: 80px 0 60px;
  }

  .intro-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* ---------- STATS STRIP ---------- */
.stats {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 36px 24px;
  border-right: 1px solid var(--rule);
}

.stat:last-child {
  border-right: none;
}

.stat b {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}

.stat span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 760px) {
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }
}

/* ---------- WAYS TO PLAY (alternating rows) ---------- */
.ways {
  padding: 120px 0;
}

.ways-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.ways-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 12ch;
}

.ways-head h2 em {
  font-style: italic;
  color: var(--navy);
}

.ways-head p {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 46ch;
  align-self: end;
  padding-bottom: 8px;
}

.way-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}

.way-row:last-child {
  border-bottom: 1px solid var(--rule);
}

.way-row.flip {
  grid-template-columns: 1fr 1.1fr;
}

.way-row.flip .way-media {
  order: 2;
}

.way-media {
  aspect-ratio: 5/4;
  border-radius: 6px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      var(--bone) 0 14px,
      color-mix(in oklch, var(--bone) 90%, var(--ink) 4%) 14px 28px);
  border: 1px solid var(--rule);
  position: relative;
  display: flex;
  align-items: flex-end;
}

.way-media::after {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 12px 16px;
}

.way-media.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.way-media.has-photo::after {
  display: none;
}

.way-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.way-num {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.way-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 400;
}

.way-title em {
  font-style: italic;
  color: var(--navy);
}

.way-desc {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 48ch;
}

.way-meta {
  display: flex;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.way-meta div b {
  font-family: var(--serif);
  font-size: 22px;
  display: block;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}

.way-meta div span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.way-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color .2s ease, border-color .2s ease;
}

.way-cta::after {
  content: "→";
  display: inline-block;
  transition: transform .2s ease;
}

.way-cta:hover {
  color: var(--navy);
  border-color: var(--pop);
}

.way-cta:hover::after {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .ways {
    padding: 80px 0;
  }

  .ways-head {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .way-row,
  .way-row.flip {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }

  .way-row.flip .way-media {
    order: 0;
  }
}

/* ---------- PULL QUOTE ---------- */
.quote {
  background: var(--navy);
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.quote::before {
  content: "";
  position: absolute;
  top: 0;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--pop) 0%, transparent 60%);
  opacity: 0.18;
  pointer-events: none;
}

.quote-inner {
  position: relative;
  z-index: 1;
}

.quote-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pop);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-tag::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--pop);
}

.quote-text {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 22ch;
}

.quote-text em {
  font-style: italic;
  color: var(--pop);
}

.quote-attr {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-attr b {
  color: #fff;
  font-weight: 500;
}

.quote-attr::before {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

/* ---------- MEMBERSHIPS ---------- */
.members {
  padding: 120px 0;
  background: var(--paper);
}

.members-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.members-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 12ch;
}

.members-head h2 em {
  font-style: italic;
  color: var(--navy);
}

.members-head p {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 44ch;
  align-self: end;
  padding-bottom: 8px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.plans-aux-head {
  margin-top: 48px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

.plans-aux-head h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0;
  max-width: 16ch;
}

.plans-aux-head p {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0;
  padding-bottom: 4px;
}

@media (max-width: 860px) {
  .plans-aux-head {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 36px;
  }
}

.plans-aux {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 0;
  align-items: stretch;
}

.plan-mini {
  background: var(--bone);
  border-radius: 6px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}

.plan-mini--stack {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.plan-mini--stack .plan-mini-list {
  min-width: 180px;
}

.plan-mini-desc strong {
  color: var(--ink);
  font-weight: 600;
}

.plan-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
  white-space: nowrap;
}

.plan-mini-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.3;
}

.plan-mini-list li em {
  font-style: italic;
  color: var(--ink);
  font-size: 14px;
}

.plan-mini-list li span:last-child {
  font-size: 17px;
  text-align: right;
}

.plan-mini-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-mini-name {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.plan-mini-desc {
  font-size: 13.5px;
  color: var(--ink-mute);
  max-width: 48ch;
}

.plan-mini-price {
  text-align: right;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  white-space: nowrap;
}

.plan-mini-price small {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

@media (max-width: 720px) {
  .plans-aux {
    grid-template-columns: 1fr;
  }

  .plan-mini {
    grid-template-columns: 1fr;
  }

  .plan-mini--stack {
    grid-template-columns: 1fr;
  }

  .plan-mini-price {
    text-align: left;
  }

  .plan-mini-list {
    text-align: left;
  }

  .plan-mini-list li {
    justify-content: space-between;
  }
}

.plan {
  background: var(--bone);
  padding: 36px 32px 32px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 540px;
  position: relative;
}

.plan.feature {
  background: var(--navy);
  color: #fff;
}

.plan.feature .plan-list li {
  color: rgba(255, 255, 255, 0.85);
}

.plan.feature .plan-list li::before {
  background: var(--pop);
}

.plan.feature .divider {
  background: rgba(255, 255, 255, 0.18);
}

.plan.feature .plan-foot {
  color: rgba(255, 255, 255, 0.6);
}

.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.plan-name {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  font-weight: 400;
}

.plan-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
}

.plan.feature .plan-tag {
  background: var(--pop);
  color: var(--navy);
}

.plan-tags {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.plan-tags .plan-tag {
  font-size: 9.5px;
  padding: 5px 9px;
}

.plan-price {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin-top: 8px;
}

.plan-price small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 12px;
  font-weight: 400;
}

.plan.feature .plan-price small {
  color: rgba(255, 255, 255, 0.6);
}

.divider {
  height: 1px;
  background: var(--rule);
}

.plan-toggle {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: rgba(15, 20, 34, 0.06);
  border: 1px solid var(--rule);
  align-self: flex-start;
}

.plan.feature .plan-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.plan-toggle-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, opacity .18s ease;
}

.plan-toggle-btn:hover {
  opacity: 0.9;
}

.plan-toggle-btn.is-active {
  background: var(--pop);
  color: var(--navy);
  opacity: 1;
}

.plan-variant-toggle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
  margin-bottom: 12px;
}

.plan-variant-toggle-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.plan.feature .plan-variant-toggle-label {
  color: rgba(255, 255, 255, 0.6);
}

.plan-toggle--variant {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  gap: 22px;
}

.plan.feature .plan-toggle--variant {
  background: transparent;
  border: 0;
}

.plan-toggle--variant .plan-toggle-btn {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  padding: 2px 0 4px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  opacity: 0.65;
  font-weight: 500;
}

.plan-toggle--variant .plan-toggle-btn:hover {
  opacity: 0.9;
}

.plan-toggle--variant .plan-toggle-btn.is-active {
  background: transparent;
  color: inherit;
  border-bottom-color: var(--pop);
  opacity: 1;
}

.plan-variant-toggle.is-invalid .plan-toggle--variant .plan-toggle-btn {
  animation: plan-toggle-shake .35s ease;
}

.plan-variant-toggle.is-invalid .plan-variant-toggle-label {
  color: #c2410c;
}

@keyframes plan-toggle-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.plan-apply-msg {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.plan-apply-msg.is-error {
  color: #c2410c;
}

.plan-period-toggle {
  display: flex;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  align-self: stretch;
}

.plan.feature .plan-period-toggle {
  border-color: rgba(255, 255, 255, 0.22);
}

.period-btn {
  flex: 1;
  min-height: 52px;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 8px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-right: 1px solid var(--rule);
  transition: background .18s ease, color .18s ease;
  text-align: center;
}

.period-btn:disabled {
  cursor: default;
}

.period-btn:last-child {
  border-right: 0;
}

.plan.feature .period-btn {
  border-right-color: rgba(255, 255, 255, 0.22);
}

.period-btn-label {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.period-btn-meta {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.plan.feature .period-btn-meta {
  color: rgba(255, 255, 255, 0.6);
}

.period-btn:hover:not(.is-active) {
  background: rgba(15, 20, 34, 0.04);
}

.plan.feature .period-btn:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.06);
}

.period-btn.is-active {
  background: var(--ink);
  color: var(--paper);
}

.period-btn.is-active .period-btn-meta {
  color: var(--pop);
}

.plan.feature .period-btn.is-active {
  background: var(--pop);
  color: var(--navy);
}

.plan.feature .period-btn.is-active .period-btn-meta {
  color: var(--navy);
  opacity: 0.7;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.plan-list[hidden] {
  display: none;
}

.plan-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.plan-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
  transform: translateY(-2px);
}

.plan-list li:has(strong) {
  margin-bottom: 4px;
}

.plan-list li:has(strong)::before {
  display: none;
}

.plan-list strong {
  color: var(--ink);
  font-weight: 600;
}

.plan .btn {
  align-self: flex-start;
  margin-top: auto;
}

.plan.feature .btn {
  border-color: var(--pop);
  color: var(--pop);
}

.plan.feature .btn:hover {
  background: var(--pop);
  color: var(--navy);
}

.plan-foot {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .members {
    padding: 80px 0;
  }

  .members-head {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .plan {
    min-height: auto;
  }
}

/* ---------- COACHES ---------- */
.coaches-sec {
  padding: 120px 0;
  background: var(--bone);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.coaches-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.coaches-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 14ch;
}

.coaches-head h2 em {
  font-style: italic;
  color: var(--navy);
}

.coaches-head p {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 46ch;
  align-self: end;
  padding-bottom: 8px;
}

.coaches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.coach {
  background: var(--paper);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
}

.coach-photo {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg,
      #e5e0d2 0 12px,
      #d6d1c2 12px 24px);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.coach-photo.has-photo {
  display: block;
  background: none;
  aspect-ratio: auto;
  overflow: hidden;
  min-width: 0;
}

.coach-photo.has-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.coach-photo.has-photo::after {
  display: none;
}

.coach-photo::after {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 12px 16px;
}

.coach-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.coach-name {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.coach-role {
  font-size: 14px;
  color: var(--ink-mute);
}

.coach-bio {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.coach-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.coach-contact a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease, color .2s ease;
  overflow-wrap: anywhere;
}

.coach-contact a:hover {
  color: var(--navy);
  text-decoration-color: var(--pop);
}

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

@media (max-width: 900px) {
  .coaches-sec {
    padding: 80px 0;
  }

  .coaches-head {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
}

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

  .coach-photo {
    aspect-ratio: 5 / 4;
  }
}

/* ---------- SCHEDULE ---------- */
.sched-sec {
  padding: 120px 0;
  background: var(--paper);
}

.sched-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.sched-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 14ch;
}

.sched-head h2 em {
  font-style: italic;
  color: var(--navy);
}

.sched-head p {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 46ch;
  align-self: end;
  padding-bottom: 8px;
}

@media (max-width: 900px) {
  .sched-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .sched-head p {
    padding-bottom: 0;
  }
}

.sched-table {
  border-top: 1px solid var(--rule);
}

.cr-widget {
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.cr-widget iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
}

.sched-row {
  display: grid;
  grid-template-columns: 130px 1fr 200px 140px 80px;
  align-items: center;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--rule);
  transition: background .2s ease, padding .2s ease;
}

.sched-row:hover {
  background: var(--bone);
  padding-left: 20px;
  padding-right: 20px;
}

.sched-time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
}

.sched-name {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.sched-name small {
  display: block;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-mute);
  letter-spacing: 0;
  margin-top: 4px;
  line-height: 1.4;
}

.sched-level {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.sched-cost {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
}

.sched-cta {
  justify-self: end;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.sched-cta::after {
  content: " →";
  transition: transform .2s ease;
  display: inline-block;
}

.sched-row:hover .sched-cta::after {
  transform: translateX(4px);
}

@media (max-width: 880px) {
  .sched-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 20px 0;
  }

  .sched-cta {
    justify-self: start;
    margin-top: 6px;
  }
}

/* ---------- VISIT ---------- */
.visit-sec {
  padding: 120px 0;
  background: var(--bone);
  border-top: 1px solid var(--rule);
}

.visit-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.visit-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 12ch;
}

.visit-head h2 em {
  font-style: italic;
  color: var(--navy);
}

.visit-head p {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 46ch;
  align-self: end;
  padding-bottom: 8px;
}

.amenities-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 64px;
}

.amenity {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.amenity-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.amenity-title {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.amenity-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 4px;
  max-width: 36ch;
}

@media (max-width: 720px) {
  .amenities-row {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}

.visit-grid > * {
  min-width: 0;
}

.visit-map {
  min-height: 520px;
  border-radius: 6px;
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
  background: var(--bone);
  isolation: isolate;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  display: block;
  filter: grayscale(0.6) contrast(1) brightness(1.02);
}

.visit-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--navy);
  mix-blend-mode: color;
  opacity: 0.32;
}

.visit-info {
  background: var(--paper);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.visit-block h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}

.visit-block .big {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.visit-block a {
  transition: color .15s ease, text-decoration-color .15s ease;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.visit-block a:hover {
  color: var(--navy);
  text-decoration-color: var(--pop);
}

@media (max-width: 480px) {
  .visit-block .big {
    font-size: 17px;
  }
}

.visit-maps-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: flex-start;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dotted var(--rule);
}

.hours-list div span:last-child {
  font-family: var(--mono);
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .visit-sec {
    padding: 80px 0;
  }

  .visit-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .visit-head p {
    padding-bottom: 0;
  }

  .visit-grid {
    grid-template-columns: 1fr;
  }

  .visit-map {
    min-height: 320px;
  }

  .visit-info {
    padding: 28px;
  }
}

/* ---------- CORPORATE ---------- */
.corp {
  padding: 120px 0;
  background: var(--paper);
}

.corp-flip {
  perspective: 2000px;
  /* Isolate paint/composite so blur/backdrop-filter from nav doesn't interfere */
  isolation: isolate;
}

.corp-flip-inner {
  display: grid;
  grid-template-areas: "card";
  transition: transform .85s cubic-bezier(.4, 0, .2, 1);
  transform-style: preserve-3d;
  will-change: transform;
  /* Force a compositor layer so transform animates on the GPU */
  transform: translateZ(0);
}

.corp-flip.is-flipped .corp-flip-inner {
  transform: rotateY(180deg) translateZ(0);
}

.corp-flip.is-flipped .corp-flip-inner {
  transform: rotateY(180deg);
}

.corp-card {
  grid-area: card;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 72px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  position: relative;
  /* Promote each face to its own compositor layer */
  will-change: transform;
  transform: translateZ(0);
  /* Keep paint scoped to this element during flip */
  contain: layout paint;
}

.corp-card--back {
  transform: rotateY(180deg) translateZ(0);
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 80px 56px 56px;
  align-items: stretch;
}

.corp-flip:not(.is-flipped) .corp-card--back {
  pointer-events: none;
}

.corp-flip.is-flipped .corp-card--front {
  pointer-events: none;
}

.corp-flip-back {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  appearance: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s ease, border-color .15s ease;
}

.corp-flip-back:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

.corp-flip-back svg {
  width: 14px;
  height: 14px;
}

.corp-form-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 24px;
}

.corp-form-intro h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 8px 0 10px;
}

.corp-form-intro p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
  max-width: 44ch;
}

.corp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.corp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.corp-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.corp-form label > span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.corp-form input[type="text"],
.corp-form input[type="email"],
.corp-form input[type="tel"],
.corp-form input[type="date"],
.corp-form textarea {
  appearance: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
  color-scheme: dark;
}

.corp-form input::placeholder,
.corp-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.corp-form input:focus,
.corp-form textarea:focus {
  border-color: var(--pop);
  background: rgba(255, 255, 255, 0.1);
}

.corp-form textarea {
  resize: vertical;
  min-height: 64px;
  font-family: var(--sans);
}

.corp-form-radio {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.corp-form-radio legend {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 0;
  margin-bottom: 2px;
}

.corp-form-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.corp-form-radio-group > label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .2s ease;
  text-align: center;
}

.corp-form-radio-group > label:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.corp-form-radio-group > label > span {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.corp-form-radio-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.corp-form-radio-group > label:has(input:checked) {
  background: var(--pop);
  border-color: var(--pop);
  box-shadow: 0 6px 18px -8px rgba(244, 197, 66, 0.6);
}

.corp-form-radio-group > label:has(input:checked) > span {
  color: var(--navy);
}

.corp-form-radio-group > label:focus-within {
  outline: 2px solid var(--pop);
  outline-offset: 2px;
}

.corp-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.corp-form-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.corp-form-foot .btn.pop {
  border-color: var(--pop);
}

.corp-form-foot .btn.pop:hover {
  background: var(--pop-dk);
  border-color: var(--pop-dk);
}

.corp-form-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.corp-form-status.is-error {
  color: #ffb4b4;
}

.corp-form-status.is-success {
  color: var(--pop);
}

.corp-form-aside {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
}

.corp-form-image {
  flex: 1;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.04);
}

.corp-form-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.corp-card::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--pop) 0%, transparent 60%);
  opacity: 0.18;
  pointer-events: none;
}

.corp-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.corp-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pop);
  display: flex;
  align-items: center;
  gap: 14px;
}

.corp-eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--pop);
}

.corp h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 400;
  max-width: 14ch;
}

.corp h2 em {
  font-style: italic;
  color: var(--pop);
}

.corp-lede {
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
}

.corp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.corp-cta .btn {
  border-color: rgba(255, 255, 255, 0.5);
  transition: background .22s ease, border-color .22s ease,
              color .22s ease, transform .18s ease, box-shadow .22s ease;
}

.corp-cta .btn:not(.pop):hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translateY(-1px);
}

.corp-cta .btn.pop {
  border-color: var(--pop);
}

.corp-cta .btn.pop:hover {
  background: var(--pop-dk);
  border-color: var(--pop-dk);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -8px rgba(217, 169, 29, 0.5);
}

.corp-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.corp-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.corp-list b {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pop);
  font-weight: 500;
}

.corp-list span {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 960px) {
  .corp {
    padding: 80px 0;
  }

  .corp-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px;
  }

  .corp-card--back {
    padding: 80px 32px 32px;
    grid-template-columns: 110px 1fr;
    grid-template-areas:
      "image intro"
      "form  form";
    gap: 18px 18px;
  }

  .corp-form-aside {
    grid-area: image;
    order: 0;
    max-width: none;
    margin: 0;
  }

  .corp-form-image {
    min-height: 0;
    aspect-ratio: 1;
  }

  .corp-form-wrap {
    display: contents;
  }

  .corp-form-intro {
    grid-area: intro;
    align-self: center;
  }

  .corp-form {
    grid-area: form;
  }

  .corp-form-intro h3 {
    margin: 4px 0 6px;
    font-size: clamp(22px, 6vw, 28px);
  }

  .corp-form-intro p {
    font-size: 13.5px;
    line-height: 1.4;
  }
}

@media (max-width: 600px) {
  .corp-card {
    padding: 32px 24px;
    border-radius: 6px;
  }

  .corp-card--back {
    padding: 78px 24px 28px;
  }

  .corp-form-row {
    grid-template-columns: 1fr;
  }

  .corp-list li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .corp-list b {
    font-size: 10.5px;
  }
}

/* ---------- FAQs ---------- */
.faq-sec {
  padding: 120px 0;
  background: var(--bone);
  border-top: 1px solid var(--rule);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 120px;
}

.faq-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.faq-head h2 em {
  font-style: italic;
  color: var(--ink-soft);
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  color: var(--ink);
  transition: color .2s ease;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary:hover {
  color: var(--ink-soft);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
  transition: background .25s ease, border-color .25s ease, transform .35s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .35s ease, opacity .25s ease;
}

.faq-icon::before {
  width: 11px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 11px;
}

.faq-item[open] > summary .faq-icon {
  background: var(--ink);
  border-color: var(--ink);
  transform: rotate(180deg);
}

.faq-item[open] > summary .faq-icon::before {
  background: var(--paper);
}

.faq-item[open] > summary .faq-icon::after {
  opacity: 0;
}

.faq-body {
  padding: 0 0 28px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 62ch;
}

.faq-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pop);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease, color .2s ease;
}

.faq-body a:hover {
  color: var(--navy);
  text-decoration-color: var(--pop-dk);
}

@media (max-width: 960px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-head {
    position: static;
  }
}

@media (max-width: 720px) {
  .intro,
  .ways,
  .quote,
  .members,
  .coaches-sec,
  .sched-sec,
  .visit-sec,
  .faq-sec {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .intro {
    padding-bottom: 36px;
  }

  .faq-sec {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .faq-grid {
    gap: 24px;
  }
}

/* ---------- SPONSORS ---------- */
.sponsors-sec {
  background: #fff;
  padding: 96px 0 104px;
  border-top: 1px solid var(--hairline);
}

.sponsors-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
  text-align: center;
  align-items: center;
}

.sponsors-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.sponsors-sec h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.sponsors-sec h2 em {
  font-style: italic;
  color: var(--ink-soft);
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px 72px;
  max-width: 1080px;
  margin: 0 auto;
}

.sponsor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.sponsor:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.sponsor img {
  max-height: 62px;
  max-width: 198px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 720px) {
  .sponsors-sec {
    padding: 72px 0 80px;
  }

  .sponsors-grid {
    gap: 36px 44px;
  }

  .sponsor img {
    max-height: 48px;
    max-width: 154px;
  }
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 88px 0 32px;
}

.foot-top {
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: 1fr minmax(0, 540px);
  gap: 48px;
  align-items: center;
}

.foot-top h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.6vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 400;
  max-width: 22ch;
}

.foot-top h3 em {
  font-style: italic;
  color: var(--pop);
}

.foot-top form {
  position: relative;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px;
  border-radius: 999px;
}

.foot-top form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 18px;
  font: inherit;
  font-size: 16px;
  outline: none;
  color: var(--paper);
}

.foot-top form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.foot-subscribe-status {
  position: absolute;
  top: 100%;
  left: 18px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.foot-subscribe-status:empty {
  display: none;
}

.foot-subscribe-status.is-error {
  color: #ffb4a8;
}

.foot-subscribe-status.is-success {
  color: #c9e25b;
}

@media (max-width: 720px) {
  .foot-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .foot-top form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
  }

  .foot-top form input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 14px 22px;
  }

  .foot-top form button {
    align-self: flex-start;
  }
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding: 64px 0;
}

.foot-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
  font-weight: 500;
}

.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
}

.foot-grid ul a:hover {
  color: var(--pop);
}

.foot-brand-name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 12px;
}

.foot-brand-name em {
  font-style: italic;
  color: var(--pop);
}

.foot-blurb {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  max-width: 38ch;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.foot-bottom .socials {
  display: flex;
  gap: 12px;
}

.foot-bottom .socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  transition: all .15s ease;
}

.foot-bottom .socials a:hover {
  background: var(--pop);
  color: var(--ink);
  border-color: var(--pop);
}

.foot-bottom .socials a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

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

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

@media (max-width: 720px) {
  .foot-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }
}

.foot-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.foot-legal > span {
  margin-right: 14px;
}

.foot-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color .15s ease;
}

.foot-legal a:hover {
  color: var(--pop);
}

/* ---------- LEGAL / POLICY PAGES ---------- */
.legal-top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.legal-top .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.legal-top .brand img {
  height: 30px;
  width: auto;
  display: block;
}

.legal-top .brand span {
  font-family: var(--serif);
  font-size: 18px;
  transition: color .15s ease;
}

.legal-top .brand:hover span {
  color: var(--pop);
}

.legal-back {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  white-space: nowrap;
}

.legal-back:hover {
  color: var(--pop);
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.legal h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.05;
  margin: 0.4em 0 0.25em;
}

.legal-meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0 0 24px;
}

.legal-intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.legal h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 44px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.legal h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 8px;
  color: var(--ink);
}

.legal p {
  line-height: 1.7;
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal li {
  line-height: 1.7;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.legal a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s ease;
}

.legal a:hover {
  color: var(--pop-dk);
  text-decoration-color: var(--pop-dk);
}

.legal strong {
  color: var(--ink);
}

.legal-foot {
  padding: 24px clamp(24px, 5vw, 48px);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.legal-foot a {
  color: var(--ink-mute);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}

.legal-foot a:hover {
  color: var(--pop-dk);
  text-decoration-color: var(--pop-dk);
}

/* ---------- TWEAKS ---------- */
#tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 18px;
  border-radius: 14px;
  min-width: 260px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  display: none;
}

#tweaks-panel.open {
  display: block;
}

#tweaks-panel h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#tweaks-panel h4 button {
  border: none;
  background: none;
  color: var(--ink-mute);
  font-size: 18px;
  line-height: 1;
  padding: 0;
}

.swatch-row {
  display: flex;
  gap: 10px;
}

.swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.swatch {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease;
}

.swatch.active {
  border-color: var(--ink);
}

.swatch:hover {
  transform: translateY(-2px);
}

.swatch-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Dark bg while a modal is open — prevents white flash during same-tab nav */
html:has(body.modal-open),
body.modal-open {
  background: #0a0e1c;
}

/* When the user clicks a modal link, flatten the backdrop so any viewport
   shift during navigation reads as one uniform dark surface — no visible bar. */
html.cr-nav-pending,
html.cr-nav-pending body {
  background: #0a0e1c;
}

html.cr-nav-pending .cr-modal-backdrop {
  background: #0a0e1c;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html.cr-nav-pending .cr-modal-card {
  /* Prevent any transform-driven repaint that could flash through. */
  transform: none;
  transition: none;
}

/* Spinner shared keyframes */
@keyframes cr-spin {
  to { transform: rotate(360deg); }
}

/* Inline loading state on modal buttons */
.cr-modal .btn.is-loading,
.cr-modal-foot a.is-loading {
  pointer-events: none;
  cursor: default;
}

.cr-modal .btn.is-loading {
  position: relative;
}

.cr-modal .btn.is-loading > .lbl,
.cr-modal .btn.is-loading > .arr {
  visibility: hidden;
}

.cr-modal .btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  opacity: 0.7;
  animation: cr-spin .8s linear infinite;
}

/* Inline loading state on the footer 'Sign in' link */
.cr-modal-foot a.is-loading {
  color: var(--ink-mute);
  border-bottom-color: transparent;
}

.cr-modal-foot a.is-loading > span {
  display: none;
}

.cr-modal-foot a.is-loading::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: cr-spin .8s linear infinite;
}

/* B#2: CourtReserve interstitial modal */
.cr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  /* Cover the dynamic viewport so the URL bar collapsing on mobile doesn't expose body bg. */
  min-height: 100vh;
  min-height: 100dvh;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.cr-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 28, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cr-modal-card {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 36px 32px 28px;
  box-shadow: 0 30px 80px rgba(10, 14, 28, 0.35);
  transform: translateY(8px);
  transition: transform .2s ease;
}

.cr-modal.is-open .cr-modal-card {
  transform: translateY(0);
}

.cr-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--ink-mute);
  cursor: pointer;
  padding: 4px 8px;
}

.cr-modal-close:hover {
  color: var(--ink);
}

.cr-modal-eyebrow {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.cr-modal-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ink);
}

.cr-modal-title em {
  font-style: italic;
  color: var(--navy);
}

.cr-modal-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.cr-modal-foot {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  text-align: center;
  font-size: 14px;
  color: var(--ink-mute);
}

.cr-modal-foot a {
  margin-left: 6px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}

.cr-modal-foot a span {
  display: inline-block;
  margin-left: 2px;
  transition: transform .2s ease;
}

.cr-modal-foot a:hover {
  color: var(--navy-dk);
  border-bottom-color: var(--navy-dk);
}

.cr-modal-foot a:hover span {
  transform: translateX(3px);
}

.cr-modal-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 14px 16px;
  background: color-mix(in oklch, var(--bone) 70%, transparent);
  border-radius: 12px;
  display: grid;
  gap: 8px;
}

.cr-modal-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.cr-modal-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}

.cr-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cr-modal-actions .btn {
  color: var(--ink);
  justify-content: center;
  text-align: center;
}

.cr-modal-actions .btn.pop {
  color: var(--ink);
  background: var(--pop);
  border-color: var(--pop);
}

.cr-modal-actions .btn.pop:hover {
  background: var(--pop-dk);
  border-color: var(--pop-dk);
}

/* App store badges (FAQ, footer, mobile nav) */
.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--navy);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.app-badge:hover {
  background: var(--navy-dk);
  border-color: var(--navy-dk);
  transform: translateY(-1px);
}

.app-badge-icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.app-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.app-badge-pre {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .85;
  white-space: nowrap;
}

.app-badge-name {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

/* Inverse badge for dark surfaces (footer, nav drawer) */
.app-badge--inverse {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.app-badge--inverse:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

.foot-apps-label {
  margin: 22px 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--paper);
}

.nav-drawer-apps-label {
  margin: 28px 0 12px;
  padding: 0;
  border-bottom: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.nav.solid ~ .nav-drawer .nav-drawer-apps-label {
  color: var(--ink-mute);
}

.nav-drawer-apps {
  margin-bottom: 8px;
  flex-wrap: nowrap;
}

/* Match the full-width Book CTA above: split the row evenly, centre content. */
.nav-drawer-apps .app-badge {
  flex: 1 1 0;
  justify-content: center;
}

/* Tight phones: claw back drawer side padding so the two badges have room. */
@media (max-width: 400px) {
  .nav-drawer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-drawer-apps {
    gap: 8px;
  }

  .nav-drawer-apps .app-badge {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* On the solid (white) drawer state, swap inverse badges to the dark fill */
.nav.solid ~ .nav-drawer .app-badge--inverse {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.nav.solid ~ .nav-drawer .app-badge--inverse:hover {
  background: var(--navy);
  border-color: var(--navy);
}

/* FAQ: badges sit inside .faq-body, whose link styles would recolour/underline
   them — pin white text, no underline, and space them off the answer text. */
.faq-body .app-badges {
  margin-top: 16px;
}

.faq-body .app-badge,
.faq-body .app-badge:hover {
  color: #fff;
  text-decoration: none;
}

/* Nav drawer: .nav-drawer a sets a serif face, 22px size and a bottom rule —
   reset those on the badge so it renders as a pill, not a menu link. */
.nav-drawer .app-badge {
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.nav-drawer .app-badge:hover {
  padding-left: 14px;
  color: #fff;
}

.nav.solid ~ .nav-drawer .app-badge--inverse,
.nav.solid ~ .nav-drawer .app-badge--inverse:hover {
  color: var(--paper);
}

.cr-modal--intro .cr-modal-card {
  max-width: 900px;
  max-height: 92vh;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  overflow: hidden;
}

.intro-modal-figure {
  margin: 0;
  background: #143f4d;
  overflow: hidden;
  align-self: stretch;
}

.intro-modal-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intro-modal-content {
  padding: 40px 36px 28px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.intro-modal-content .cr-modal-foot {
  margin-top: auto;
}

.intro-modal-steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: intro-step;
}

.intro-modal-steps li {
  position: relative;
  padding-left: 38px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  counter-increment: intro-step;
}

.intro-modal-steps li::before {
  content: counter(intro-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.intro-modal-steps li strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 720px) {
  .cr-modal--intro .cr-modal-card {
    display: block;
    overflow-y: auto;
  }
  .intro-modal-figure {
    max-height: none;
    align-self: auto;
  }
  .intro-modal-figure img {
    height: auto;
  }
  .intro-modal-content {
    overflow-y: visible;
    padding: 28px 24px 22px;
  }
}

@media (max-width: 480px) {
  .cr-modal-card {
    padding: 30px 22px 22px;
  }
  .cr-modal-title {
    font-size: 22px;
  }
  .cr-modal--intro .cr-modal-card {
    padding: 0;
    max-height: 94vh;
  }
}
