@font-face { font-family: 'Swim Sans'; src: url('./assets/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Swim Mono'; src: url('./assets/OhwSubsetMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --paper: #f1fafb; --ink: #19376b; --soft: #dfeef3; --accent: #244ea2; --on-accent: #fff; --rule: #889fb8; --control: #566a86; --body: 'Swim Sans', Arial, sans-serif; --display: var(--body); --label: 'Swim Mono', monospace; --heading-weight: 800; }

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--body); }
[hidden] { display: none !important; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
main:focus { outline: none; }
.skip-link { position: absolute; top: 0; left: 1rem; padding: .7rem 1rem; background: var(--ink); color: var(--paper); z-index: 5; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; font-weight: var(--heading-weight); margin: 0 0 1.1rem; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.6rem, 5.7vw, 5.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -.025em; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; min-width: 0; }
figcaption { font-size: .85rem; padding: 1rem 0; }
svg { display: block; }
.hero-art { width: 100%; height: auto; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.65; max-width: 43rem; }
.eyebrow, .number { font-family: var(--label); font-size: .73rem; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; margin-bottom: 1.1rem; }
.small { font-size: .88rem; line-height: 1.65; }
.site-header { padding-block: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--rule); }
.brand { display: block; font-family: var(--display); font-weight: var(--heading-weight); font-size: 2.3rem; line-height: 1.05; letter-spacing: -.04em; text-decoration: none; }
.brand span { display: block; font-family: var(--label); font-weight: 400; font-size: .61rem; line-height: 1.4; letter-spacing: .12em; margin-top: .6rem; }
#navigation { display: flex; align-items: center; gap: 1.5rem; }
#navigation a { display: inline-block; padding-block: .6rem; font-size: .9rem; text-decoration: none; border-bottom: 2px solid transparent; }
#navigation a:hover, #navigation [aria-current] { border-bottom-color: currentColor; }
.menu-toggle { display: none; font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; padding: .5rem .8rem; min-height: 44px; cursor: pointer; }
.text-link { display: inline-flex; align-items: center; gap: .75rem; padding-block: .5rem; line-height: 1.4; }
.arrow, .disclosure { flex: 0 0 24px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 52px; max-width: 100%; padding: 1rem 1.4rem; font: inherit; font-weight: 600; text-align: left; text-decoration: none; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); cursor: pointer; line-height: 1.4; }
.button:hover { text-decoration: underline; text-underline-offset: .25em; }
.button:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 5px var(--paper); }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.split > *, .form-layout > *, .process-layout > * { min-width: 0; }
.page-intro { padding-block: 4.5rem 2.5rem; }
.page-intro h1 { max-width: 18ch; }
.page-intro .lead { max-width: 46rem; }
.note { padding: clamp(1.5rem, 3vw, 2.75rem); background: var(--soft); }
.note h2 { font-size: 2rem; }
.price-row h3 { margin-bottom: .65rem; }
.price-row p { max-width: 43rem; }
.price { font-size: 1.6rem; font-weight: 600; line-height: 1.3; }
.price span { display: block; font-size: .78rem; font-weight: 400; line-height: 1.5; margin-top: .5rem; }
.process { padding: 0; margin: 1.5rem 0 0; list-style: none; counter-reset: steps; }
.process li { counter-increment: steps; position: relative; padding: 1.7rem 0 1.7rem 3.5rem; border-top: 1px solid var(--rule); }
.process li::before { content: counter(steps, decimal-leading-zero); position: absolute; top: 1.8rem; left: 0; font-family: var(--label); font-size: .9rem; }
.process h3 { font-size: 1.5rem; }
.questions h2 { margin-bottom: 1.75rem; }
details { border-top: 1px solid var(--rule); }
details:last-child { border-bottom: 1px solid var(--rule); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.4rem; list-style: none; cursor: pointer; font-weight: 600; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
details[open] .disclosure { transform: rotate(180deg); }
details > p { padding: 0 2rem 1.5rem 0; max-width: 48rem; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-block: 3rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.closing h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.closing p { max-width: 37rem; }
.closing .button { flex-shrink: 0; }
.site-footer { padding-block: 2.8rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; font-size: .85rem; }
.footer-name { font-family: var(--display); font-size: 1.5rem; font-weight: var(--heading-weight); }
.site-footer a { display: inline-block; min-height: 32px; }
.form-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; padding-top: 1rem; }
.form-layout aside h2 { font-size: 1.8rem; }
.demo-note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.demo-note h2 { font-family: var(--body); font-size: 1.08rem; line-height: 1.5; }
.form-panel { background: var(--soft); padding: clamp(1.25rem, 3vw, 2.5rem); }
fieldset { padding: 0; margin: 0; min-width: 0; border: 0; }
legend { font-family: var(--display); font-size: 1.7rem; line-height: 1.25; margin-bottom: 1.25rem; padding: 0; }
.field { margin-block: 1.25rem; }
label { display: block; font-weight: 600; margin-bottom: .45rem; line-height: 1.5; }
input, select, textarea { display: block; width: 100%; min-width: 0; max-width: 100%; font: inherit; font-size: 1rem; line-height: 1.5; border: 1px solid var(--control); border-radius: 0; color: #28212a; background: #fff; padding: .7rem .75rem; }
textarea { resize: vertical; }
.field .small { margin-top: .5rem; }
.form-panel .button { margin-top: .5rem; }
.confirmation { padding-block: 1rem; }
.confirmation h2 { font-size: 2rem; }
.prose { max-width: 50rem; margin-inline: auto; padding-top: 1rem; }
.prose section { margin-bottom: 2.5rem; }
.prose h2 { font-size: 2rem; }
ul { padding-left: 1.4rem; }
li { margin-bottom: .65rem; }
@media (max-width: 899px) {
  .site-header { flex-wrap: wrap; gap: 1rem; }
  .brand { max-width: calc(100% - 5.5rem); }
  #navigation { width: 100%; flex-wrap: wrap; gap: .2rem 1.5rem; }
  .has-menu .menu-toggle { display: block; }
  .has-menu #navigation { display: none; }
  .has-menu .menu-toggle[aria-expanded="true"] + #navigation { display: grid; grid-template-columns: 1fr 1fr; }
  #navigation a { width: fit-content; }
  .split, .form-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .closing { align-items: flex-start; flex-direction: column; gap: 1.7rem; }
  .form-layout { max-width: 45rem; }
}
@media (max-width: 599px) {
  .wrap { width: calc(100% - 2.5rem); }
  .site-header { padding-block: 1.2rem; }
  .brand { font-size: 1.9rem; }
  .brand span { font-size: .52rem; }
  .page-intro { padding-block: 3rem 1.5rem; }
  .site-footer { flex-direction: column; }
  .process li { padding-left: 2.6rem; }
  .closing .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.site-header { border-bottom: 0; }
.brand { font-size: 2.65rem; letter-spacing: -.065em; }
.brand span { font-family: var(--body); font-size: .57rem; letter-spacing: .04em; font-weight: 700; }
#navigation a { font-weight: 700; }
.menu-toggle { border-radius: 2rem; }
.swim-hero { text-align: center; padding-top: 2.5rem; }
.session-pill { display: inline-block; border-radius: 3rem; background: #f9d96f; padding: .65rem 1.3rem; font-size: .8rem; font-weight: 800; margin-bottom: 2.5rem; }
.swim-hero h1 { font-size: clamp(3.4rem, 8.8vw, 8rem); line-height: 1; letter-spacing: -.07em; margin-bottom: 1.5rem; }
.swim-hero h1 span { color: var(--accent); }
.swim-hero .lead { margin-inline: auto; }
.swim-hero .text-link { font-weight: 800; }
.pool-figure { margin-top: 2rem; }
.pool-figure figcaption { font-family: var(--label); font-size: .78rem; }
.swim-heading { text-align: center; margin-bottom: 2.5rem; }
.lesson-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.lesson-preview article { padding: 2rem; border-radius: 2rem; background: #dfeef3; }
.lesson-preview article:nth-child(2) { background: #ffdbc7; }
.lesson-preview article:nth-child(3) { background: #f9edbd; }
.lesson-preview h3 { line-height: 1.3; font-size: 1.65rem; }
.first-band { background: #ffdbc7; padding-block: 4rem; }
.closing { margin-block: 4rem; background: var(--ink); color: #fff; border: 0; padding: 3rem; border-radius: 2.5rem; }
.closing .button { background: #f9d96f; color: #19376b; border-color: #f9d96f; }
.button { border-radius: 2rem; }
.page-intro { text-align: center; }
.page-intro h1, .page-intro .lead { margin-inline: auto; }
.session-note { max-width: 62rem; text-align: center; border: 2px solid var(--ink); border-radius: 2rem; padding: 1.5rem; margin-top: 1rem; }
.session-note h2 { font-size: 1.4rem; line-height: 1.4; }
.lesson-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.lesson-grid article { position: relative; padding: 2.5rem; border-radius: 2rem; background: #dfeef3; }
.lesson-grid article:nth-child(2), .lesson-grid article:nth-child(3) { background: #ffdbc7; }
.level-number { display: inline-block; padding: .45rem .7rem; border: 1px solid currentColor; border-radius: 50%; font-family: var(--label); font-size: .85rem; margin-bottom: 2rem; }
.lesson-grid h3 { font-size: 2rem; }
.lesson-grid .price { margin-bottom: 1.5rem; font-size: 2.7rem; }
.lesson-grid .price span { font-family: var(--label); }
.class-time { padding-top: 1rem; border-top: 1px solid var(--rule); font-weight: 700; }
.first-lesson { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
.packing-list { background: #f9edbd; border-radius: 2rem; padding: 2.5rem; }
.packing-list h2 { font-size: 2rem; }
.packing-list li { padding-bottom: .5rem; }
.visit-note { background: #dfeef3; border-radius: 2rem; padding: 2.5rem; }
.form-panel { border-radius: 2rem; }
input, select, textarea { border-radius: .5rem; }
@media (max-width: 899px) {
  .lesson-preview, .first-lesson { grid-template-columns: 1fr; gap: 1.5rem; }
  .lesson-grid article { padding: 1.5rem; }
  .closing { padding: 2rem; }
}
@media (max-width: 599px) {
  .brand { font-size: 2.2rem; }
  .brand span { font-size: .48rem; }
  .swim-hero { padding-top: 1.5rem; }
  .session-pill { padding-inline: 1rem; margin-bottom: 2rem; }
  .swim-hero h1 { font-size: clamp(3.2rem, 15vw, 5.4rem); }
  .swim-hero .lead br { display: none; }
  .lesson-grid { grid-template-columns: 1fr; }
  .packing-list, .visit-note, .closing { padding: 1.5rem; border-radius: 1.5rem; }
  .pool-figure { margin-top: 1.3rem; }
}
html:not(.has-menu) .menu-toggle { display: none !important; }
