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

:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --bg-alt: #eef1f4;
  --ink: #121922;
  --muted: #5b6a78;
  --accent: #1b8dbf;
  --accent-dark: #0b5f86;
  --card: #ffffff;
  --line: rgba(18, 25, 34, 0.12);
  --shadow: 0 12px 28px rgba(12, 18, 26, 0.08);
  --shadow-crisp: 0 6px 16px rgba(12, 18, 26, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --panel: #ffffff;
  --tint: #eef5f9;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Times New Roman", serif;
  --gutter: clamp(24px, 6vw, 96px);
  --section-pad: clamp(96px, 10vw, 140px);
  --section-pad-tight: clamp(72px, 8vw, 110px);
  --nav-offset: 72px;
  --panel-pad: clamp(24px, 3.5vw, 40px);
  --panel-pad-lg: clamp(32px, 4vw, 56px);
}

html {
  scroll-behavior: smooth;
  height: auto;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  min-height: 100%;
  height: auto;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-y: visible;
  padding-bottom: 48px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1,
h2 {
  text-wrap: balance;
}

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

::selection {
  background: rgba(27, 141, 191, 0.2);
  color: var(--ink);
}

.page {
  position: relative;
  z-index: 1;
  height: auto;
  overflow: visible;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #ffffff;
  transition: color 0.25s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.25s ease;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 2px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  transition: width 0.2s ease;
}

.site-header.nav-light .logo,
.site-header.nav-light .site-nav,
.site-header.nav-light .nav-toggle {
  color: var(--ink);
}

.site-header.nav-light .site-nav a::after {
  background: var(--accent-dark);
}

.site-header.nav-light {
  background: rgba(245, 246, 248, 0.92);
  border-bottom: 1px solid rgba(18, 25, 34, 0.08);
  box-shadow: 0 12px 24px rgba(12, 18, 26, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-nav .nav-enroll {
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-enroll::after {
  display: none;
}

.site-header.nav-light .site-nav .nav-enroll {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 76px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-icon {
  display: grid;
  gap: 5px;
  width: 16px;
}

.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.site-header.menu-open .nav-toggle-icon span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.menu-open .nav-toggle-icon span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.site-nav a:hover::after {
  width: 100%;
}

main section {
  padding: var(--section-pad) var(--gutter);
  scroll-margin-top: 90px;
}
.section-offwhite {
  background: #fbfbfc;
}

.section-aqua {
  background: #f1f6f9;
}

.section-warm {
  background: #f7f2ef;
}

.texture-grid {
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-top: calc(var(--nav-offset) * -1);
  padding: calc(var(--section-pad) + 64px) var(--gutter) var(--section-pad);
  text-align: center;
  justify-items: center;
  background: none;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/pool-hero-1920.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.12) contrast(1.08);
  transform: scale(1.02);
  z-index: 0;
}

.wave-line {
  position: absolute;
  top: 92px;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  opacity: 0.6;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 14, 20, 0.35) 0%,
    rgba(8, 14, 20, 0.6) 70%,
    rgba(8, 14, 20, 0.7) 100%
  );
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: var(--section-pad-tight) var(--gutter);
  border-top: 1px solid rgba(31, 42, 51, 0.12);
}

.process .trust-strip {
  padding: 0 0 var(--section-pad-tight);
  border-top: none;
}

.trust-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.trust-item p {
  color: var(--muted);
}

.bubble-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.18;
}

.bubble-layer span {
  position: absolute;
  bottom: -10%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.18),
    transparent 60%
  );
}

.hero-copy h1,
.hero-copy p,
.hero-actions,
.eyebrow {
  color: #ffffff;
}

.hero-copy .eyebrow {
  margin-top: 220px;
}

.hero-brand {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-media {
  display: none;
}

.hero-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(12px);
}

.hero-frame img {
  width: min(420px, 80vw);
  height: auto;
  display: block;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  line-height: 1.1;
  margin: 16px 0 24px;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.hero-copy p {
  font-size: 1.1rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 32px 0 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .btn.primary {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.hero .btn.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-crisp);
}

.btn.primary {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.btn.ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn.outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 25, 34, 0.25);
}

.btn.outline:hover {
  border-color: rgba(18, 25, 34, 0.45);
}

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

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(27, 141, 191, 0.4);
  outline-offset: 3px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
  padding: var(--section-pad-tight) var(--gutter);
}

.hero-stats span {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
}

.hero-stats small {
  color: var(--muted);
}

.hero .hero-stats span,
.hero .hero-stats small {
  color: #ffffff;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  position: relative;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.manifesto-grid p {
  font-size: 1.05rem;
  color: var(--muted);
}

.manifesto-side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.stepper {
  display: grid;
  gap: 12px;
  padding-left: 18px;
  border-left: 2px solid rgba(31, 42, 51, 0.15);
}

.stepper-item {
  font-size: 0.98rem;
  color: var(--muted);
  position: relative;
}

.stepper-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(31, 42, 51, 0.3);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  padding: var(--panel-pad);
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card-focus {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
}

.classes-video {
  margin-top: 24px;
  padding: var(--panel-pad);
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.classes-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-crisp);
}

.mobile-lessons-block {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: var(--panel-pad);
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-lessons-copy h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  line-height: 1.2;
  margin: 8px 0 12px;
}

.mobile-lessons-copy > p:not(.card-kicker) {
  color: var(--muted);
  max-width: 680px;
}

.mobile-lessons-copy .btn {
  margin-top: 24px;
}

.mobile-lessons-highlights {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.mobile-lessons-highlights li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--tint);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.mobile-lessons-highlights li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.process-rail {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.progress-bar {
  height: 6px;
  background: rgba(31, 42, 51, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent);
}

.process-note {
  color: var(--muted);
  max-width: 320px;
  margin-top: 16px;
}

.rail-list {
  display: grid;
  gap: 40px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  padding: var(--panel-pad);
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--line);
}

.step span {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
}

.step h3 {
  margin: 8px 0 12px;
  font-size: 1.2rem;
}

.step p {
  color: var(--muted);
}

.gallery {
  min-height: auto;
  padding-bottom: var(--section-pad);
  background: var(--tint);
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.gallery-card {
  padding: var(--panel-pad);
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-card h3 {
  margin-bottom: 8px;
}

.gallery-card p {
  color: var(--muted);
}

.lesson-videos {
  display: grid;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.lesson-video-heading {
  max-width: 640px;
}

.lesson-video-heading .card-kicker {
  margin-bottom: 8px;
}

.lesson-video-heading h3 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.lesson-video-heading > p:last-child {
  color: var(--muted);
}

.lesson-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lesson-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.lesson-video-frame {
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.lesson-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lesson-video-card figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.testimonials {
  padding: var(--section-pad-tight) var(--gutter);
  background: var(--bg-alt);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: var(--panel-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.testimonial-card blockquote {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.75;
}

.testimonial-card figcaption {
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact {
  padding: var(--section-pad) var(--gutter);
  background: var(--bg);
}

.contact-inner {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: var(--panel-pad-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-inner h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

.contact-inner p {
  color: var(--muted);
  margin-bottom: 32px;
}

.site-footer {
  padding: 32px var(--gutter) 48px;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--bg-alt);
}

.enroll-body {
  background-image: linear-gradient(
      180deg,
      rgba(8, 14, 20, 0.45) 0%,
      rgba(8, 14, 20, 0.62) 100%
    ),
    url("assets/images/pool-hero-1920.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding-bottom: 0;
}

.enroll-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.enroll-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  color: #ffffff;
}

.enroll-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-pad-tight) var(--gutter);
}

.enroll-panel {
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: var(--panel-pad-lg);
  border: 1px solid rgba(31, 42, 51, 0.12);
  box-shadow: var(--shadow);
}

.enroll-panel .eyebrow {
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.enroll-panel h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.enroll-panel p {
  color: var(--muted);
  margin-bottom: 24px;
}

.enroll-panel .service-area-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: -8px 0 24px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-block {
  display: grid;
  gap: 12px;
  padding: var(--panel-pad);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(248, 249, 251, 0.92);
}

.pricing-block p {
  margin: 0;
}

.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-block h2 {
  font-size: 1.05rem;
}

.pricing-hint {
  color: var(--muted);
}

.pricing-options,
.duration-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-option,
.duration-option {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(18, 25, 34, 0.2);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pricing-option {
  display: grid;
  flex: 1 1 175px;
  gap: 4px;
  min-height: 64px;
  font-family: inherit;
  text-align: left;
}

.option-title {
  font-size: 0.72rem;
  font-weight: 700;
}

.option-meta {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.pricing-option.is-active .option-meta {
  color: rgba(255, 255, 255, 0.82);
}

.duration-option {
  min-height: 44px;
}

.pricing-option:hover,
.duration-option:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-crisp);
}

.pricing-option.is-active,
.duration-option.is-active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  box-shadow: var(--shadow-crisp);
}

.pricing-display {
  font-weight: 600;
  color: var(--ink);
}

.pricing-display.is-warning {
  color: var(--accent-dark);
}

.duration-block {
  display: grid;
  gap: 10px;
}

.duration-hint {
  color: var(--muted);
}

.duration-display {
  font-weight: 600;
  color: var(--ink);
}

.duration-display.is-warning {
  color: var(--accent-dark);
}

.swimmer-count-field {
  margin-top: 2px;
}

.pricing-actions {
  display: flex;
  justify-content: flex-start;
}

.package-block {
  display: grid;
  gap: 10px;
}

.package-hint {
  color: var(--muted);
}

.package-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.package-option {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 25, 34, 0.2);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.package-option:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-crisp);
}

.package-option.is-active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  box-shadow: var(--shadow-crisp);
}

.package-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.package-price {
  font-size: 0.95rem;
  color: var(--muted);
}

.package-option.is-active .package-price {
  color: #ffffff;
}

.package-display {
  font-weight: 600;
  color: var(--ink);
}

.package-display.is-warning {
  color: var(--accent-dark);
}

.pricing-notes {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.policy-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}

.enroll-form {
  display: grid;
  gap: 16px;
}

.enroll-form[hidden] {
  display: none;
}

.enroll-fields {
  display: grid;
  gap: 20px;
  margin-top: 4px;
}

.enroll-fields[hidden] {
  display: none;
}

.form-section {
  display: grid;
  gap: 16px;
  padding: var(--panel-pad);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(248, 249, 251, 0.92);
}

.form-section-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.form-section-heading h2 {
  font-size: 1.15rem;
}

.enroll-field {
  display: grid;
  gap: 6px;
}

.enroll-field label,
.enroll-field legend {
  font-size: 0.85rem;
  color: var(--muted);
}

.enroll-field legend {
  padding: 0;
}

.enroll-field input,
.enroll-field select,
.enroll-field textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 1rem;
  scroll-margin-top: 88px;
}

.enroll-field input:not([type="checkbox"]),
.enroll-field select {
  min-height: 48px;
}

.enroll-field input:focus,
.enroll-field select:focus,
.enroll-field textarea:focus {
  outline: 2px solid rgba(27, 141, 191, 0.25);
  outline-offset: 1px;
  border-color: var(--accent);
}

.enroll-field textarea {
  min-height: 96px;
  resize: vertical;
}

.enroll-field .field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.swimmers-list {
  display: grid;
  gap: 16px;
}

.swimmer-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.swimmer-card legend {
  padding: 0 8px;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.choice-field {
  min-width: 0;
  padding: 0;
  border: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.choice-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
}

.choice-option input,
.confirmation-field input {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  padding: 0;
  accent-color: var(--accent-dark);
}

.choice-option span {
  color: var(--ink);
}

.choice-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--tint);
}

.confirmation-field {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--tint);
}

.confirmation-field label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  cursor: pointer;
}

.confirmation-field input {
  margin-top: 0.25em;
}

.field-error {
  margin: 0;
  color: #9f2f2f;
  font-size: 0.82rem;
  line-height: 1.5;
}

.enroll-actions {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.enroll-actions .request-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.5;
}

.form-status.is-error {
  border-color: rgba(159, 47, 47, 0.28);
  background: rgba(159, 47, 47, 0.07);
  color: #842727;
}

.form-status.is-pending {
  border-color: rgba(27, 141, 191, 0.28);
  color: var(--accent-dark);
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.request-success {
  display: grid;
  gap: 14px;
  padding: var(--panel-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--tint);
}

.request-success[hidden] {
  display: none;
}

.request-success h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.request-success p {
  margin: 0;
}

.request-success .eyebrow {
  color: var(--accent-dark);
}

.request-reference {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.enroll-submit {
  width: 100%;
}

.policy-main {
  align-items: flex-start;
  padding: var(--section-pad-tight) var(--gutter);
}

.policy-panel {
  width: min(880px, 100%);
  padding: var(--panel-pad);
}

.policy-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.policy-item h2 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.policy-item ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.policy-item li {
  margin-bottom: 3px;
}

@media (max-width: 900px) {
  :root {
    --gutter: clamp(18px, 6vw, 32px);
    --section-pad: 80px;
    --section-pad-tight: 64px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .hero-copy .eyebrow {
    margin-top: 80px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .manifesto-grid,
  .card-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-rail {
    position: relative;
    top: auto;
  }

  .gallery-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .mobile-lessons-block {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    padding: var(--panel-pad);
  }

  .enroll-main {
    padding: var(--section-pad-tight) var(--gutter);
  }

  .enroll-panel {
    padding: var(--panel-pad);
  }

  .policy-main {
    padding: var(--section-pad-tight) var(--gutter);
  }

  .policy-panel {
    padding: var(--panel-pad);
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .site-header {
    min-height: 64px;
    padding: 10px var(--gutter);
  }

  .site-header .logo {
    max-width: calc(100% - 92px);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    line-height: 1.2;
  }

  .site-header.nav-ready .nav-toggle {
    display: inline-flex;
  }

  .site-header.nav-ready.menu-open {
    background: rgba(245, 246, 248, 0.97);
    border-bottom-color: rgba(18, 25, 34, 0.08);
    box-shadow: 0 12px 24px rgba(12, 18, 26, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .site-header.nav-ready.menu-open .logo,
  .site-header.nav-ready.menu-open .nav-toggle {
    color: var(--ink);
  }

  .site-header.nav-ready .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: var(--gutter);
    left: var(--gutter);
    display: grid;
    gap: 4px;
    width: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-crisp);
    color: var(--ink);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease,
      visibility 0.18s ease;
  }

  .site-header.nav-ready .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header.nav-ready .site-nav a {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border-radius: var(--radius-sm);
  }

  .site-header.nav-ready .site-nav a::after {
    display: none;
  }

  .site-header.nav-ready .site-nav .nav-enroll {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #ffffff;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: clamp(16px, 5vw, 24px);
    --section-pad: 64px;
    --section-pad-tight: 52px;
    --nav-offset: 64px;
    --panel-pad: 20px;
    --panel-pad-lg: 24px;
  }

  body {
    line-height: 1.62;
    padding-bottom: 32px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    margin-top: calc(var(--nav-offset) * -1);
    padding: 108px var(--gutter) 48px;
    gap: 20px;
  }

  .hero::before {
    background-image: url("assets/images/pool-hero-1280.jpg");
    background-position: 52% center;
  }

  .hero-copy .eyebrow {
    margin-top: 0;
  }

  .hero-brand {
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    letter-spacing: 0.11em;
    line-height: 1.08;
  }

  .hero-copy h1 {
    margin: 14px auto 20px;
    max-width: 520px;
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    line-height: 1.06;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 320px);
    gap: 10px;
    margin: 24px auto 0;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  main section {
    padding: var(--section-pad) var(--gutter);
    scroll-margin-top: 76px;
  }

  .section-head {
    gap: 8px;
    margin-bottom: 26px;
  }

  .section-head h2 {
    font-size: clamp(1.8rem, 8.5vw, 2.25rem);
    line-height: 1.12;
  }

  .manifesto-grid,
  .card-grid,
  .process-grid,
  .gallery-track,
  .lesson-video-grid,
  .testimonial-grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .manifesto-grid {
    gap: 24px;
  }

  .card,
  .step,
  .gallery-card,
  .testimonial-card,
  .mobile-lessons-block {
    padding: 20px;
  }

  .classes-video {
    margin-top: 18px;
    padding: 10px;
  }

  .mobile-lessons-block {
    gap: 22px;
    margin-top: 18px;
  }

  .mobile-lessons-copy .btn {
    width: 100%;
    margin-top: 20px;
  }

  .mobile-lessons-highlights {
    gap: 8px;
  }

  .mobile-lessons-highlights li {
    padding: 12px 14px 12px 40px;
  }

  .process-rail {
    gap: 24px;
  }

  .rail-list {
    gap: 20px;
  }

  .process-steps {
    gap: 14px;
  }

  .process-note {
    margin-top: 0;
  }

  .lesson-videos {
    gap: 18px;
    margin-top: 34px;
    padding-top: 28px;
  }

  .lesson-video-card figcaption {
    padding: 12px 14px;
  }

  .testimonials {
    padding: var(--section-pad-tight) var(--gutter);
  }

  .testimonial-card {
    gap: 18px;
  }

  .testimonial-card blockquote {
    line-height: 1.62;
  }

  .contact-inner p {
    margin-bottom: 24px;
  }

  .contact-inner .btn {
    width: 100%;
  }

  .site-footer {
    padding: 26px var(--gutter) 34px;
  }

  .enroll-body {
    background-image: linear-gradient(
        180deg,
        rgba(8, 14, 20, 0.45) 0%,
        rgba(8, 14, 20, 0.62) 100%
      ),
      url("assets/images/pool-hero-1280.jpg");
  }

  .enroll-header {
    min-height: 64px;
    gap: 10px;
    padding: 10px 16px;
  }

  .enroll-header .logo {
    flex: 1;
    min-width: 0;
    font-size: 0.68rem;
    letter-spacing: 0.11em;
    line-height: 1.2;
  }

  .enroll-header .btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 9px 13px;
    font-size: 0.66rem;
    letter-spacing: 0.11em;
    white-space: nowrap;
  }

  .enroll-main {
    align-items: flex-start;
    padding: 24px 10px 44px;
  }

  .enroll-panel {
    padding: 18px;
  }

  .enroll-panel h1 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    line-height: 1.08;
  }

  .enroll-panel > p:not(.eyebrow):not(.service-area-note) {
    margin-bottom: 16px;
  }

  .enroll-panel .service-area-note {
    margin: -2px 0 18px;
  }

  .policy-main {
    padding: 24px 10px 44px;
  }

  .policy-panel {
    padding: 18px;
  }

  .policy-panel h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.3rem);
    line-height: 1.08;
  }

  .policy-list {
    gap: 12px;
  }

  .policy-item h2 {
    font-size: 1.08rem;
  }

  .policy-item ul {
    padding-left: 18px;
    line-height: 1.55;
  }
}

@media (max-width: 640px) {
  .enroll-main {
    padding-inline: 10px;
  }

  .enroll-panel {
    padding: 16px;
  }

  .pricing-block,
  .form-section {
    gap: 13px;
    padding: 14px;
  }

  .pricing-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .pricing-option,
  .pricing-actions .btn {
    width: 100%;
  }

  .pricing-option {
    min-height: 58px;
    padding: 9px 14px;
  }

  .duration-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .duration-option {
    width: 100%;
    min-height: 48px;
    padding-inline: 10px;
  }

  .package-options,
  .address-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .package-option {
    min-height: 72px;
    padding: 11px 13px;
  }

  .pricing-actions .btn,
  .enroll-submit {
    min-height: 48px;
  }

  .policy-cta {
    align-items: stretch;
  }

  .policy-cta .btn {
    width: 100%;
  }

  .enroll-fields {
    gap: 14px;
  }

  .swimmer-card {
    gap: 12px;
    padding: 12px;
  }

  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .choice-option,
  .confirmation-field {
    min-height: 48px;
  }

  .choice-option {
    gap: 8px;
    padding: 10px;
  }

  .confirmation-field {
    padding: 12px;
  }
}

@media (min-width: 361px) and (max-width: 640px) {
  .package-options,
  .address-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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