/* Lunges in Leggings website. Colours and fonts first, so a change of brand is a few lines here. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 800 900; font-display: swap; src: url(/fonts/inter-tight-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 800 900; font-display: swap; src: url(/fonts/inter-tight-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Dosis'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/dosis-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Dosis'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/dosis-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --navy: #0e007a;        /* headings, the old site's colour */
  --logo-navy: #001c80;   /* the logo square */
  --pink: #f924eb;        /* the bright accent */
  --pink-strong: #c40fb9; /* buttons and links: white on it passes the contrast check (5.1:1) */
  --mint: #6ee7c2;
  --ink: #1f1d2b;
  --text: #3a3a3a;
  --muted: #5f5f6b;
  --line: #e7e4f0;
  --tint: #f6f3ff;
  --paper: #ffffff;
  --max: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --heading: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --label: 'Dosis', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.7 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-strong); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: .4rem; }
.skip:focus { top: 1rem; }

/* ---------- Type ---------- */
h1, h2 { font-family: var(--heading); font-weight: 900; color: var(--navy); letter-spacing: -.015em; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.5vw, 4rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.2rem); }
h3 { font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .17em; font-size: .98rem; line-height: 1.5; color: var(--ink); margin: 1.6em 0 .6em; }
h3:first-child { margin-top: 0; }
/* .kicker: a paragraph styled like an h3, for a line that isn't a heading (write {.kicker} at its end) */
.kicker { font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .17em; font-size: .98rem; line-height: 1.6; color: var(--ink); }
h3 + h1 { margin-top: -.1em; }
h4 { font-family: var(--body); font-weight: 700; color: var(--ink); margin: 1.2em 0 .3em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .3em; }
li > ul { margin-top: .3em; }
strong { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.center { text-align: center; }
.small { font-size: .875rem; }
.lead { font-size: 1.125rem; }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 2.9rem; padding: .8em 1.7em; border-radius: 999px; background: var(--pink-strong); color: #fff; font: 700 .82rem/1.2 var(--body); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; text-align: center; transition: background .2s, transform .2s; }
.button:hover { background: var(--navy); color: #fff; }
.button:active { transform: scale(.98); }
.button.light { background: transparent; color: var(--pink-strong); box-shadow: inset 0 0 0 2px currentColor; }
.button.light:hover { color: var(--navy); background: transparent; }
.buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.center .buttons, .buttons.center { justify-content: center; }
a.arrow { font-weight: 600; text-decoration: none; }
a.arrow:hover { text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--pink-strong); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* ---------- Header and menu ---------- */
.site-header { position: relative; z-index: 50; background: var(--paper); }
.site-header.overlay { position: absolute; inset: 0 0 auto; background: transparent; }
.header-inner { max-width: 90rem; margin: 0 auto; padding: 1.1rem var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.brand img { width: 4.6rem; height: 4.6rem; }
.menu { flex: 1; }
.menu ul { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; margin: 0; padding: 0; }
.menu li { margin: 0; }
.menu a { font: 700 .95rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: .5rem 0; display: inline-block; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--pink-strong); border-color: currentColor; }
.overlay .menu a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.overlay .menu a:hover, .overlay .menu a[aria-current="page"] { color: #fff; border-color: #fff; }
.button.book { flex: none; box-shadow: 0 6px 20px -8px rgba(196,15,185,.7); }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .header-inner { gap: .75rem; padding-block: .8rem; }
  .brand img { width: 3.6rem; height: 3.6rem; }
  .menu { position: fixed; inset: 0; background: var(--navy); padding: 6.5rem var(--gutter) 2rem; display: none; overflow-y: auto; }
  .menu.open { display: block; }
  .menu ul { flex-direction: column; gap: .2rem; }
  .menu a, .overlay .menu a { color: #fff; font-size: 1.35rem; padding: .8rem 0; text-shadow: none; }
  .menu a:hover, .menu a[aria-current="page"], .overlay .menu a[aria-current="page"] { color: var(--mint); border-color: transparent; }
  .button.book { margin-left: auto; min-height: 2.6rem; padding: .7em 1.2em; font-size: .75rem; position: relative; z-index: 60; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 999px; background: var(--paper); color: var(--navy); cursor: pointer; position: relative; z-index: 60; }
  .overlay .menu-toggle { background: rgba(255,255,255,.92); }
  .bars, .bars::before, .bars::after { display: block; width: 1.25rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ''; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .menu-open .brand { position: relative; z-index: 60; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Page layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 47rem; }
.wrap.loose { padding-block: 2.5rem; }
.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band + .band:not(.tint):not(.navy) { padding-top: 0; }
.tint + .band, .navy + .band { padding-top: clamp(3rem, 7vw, 5.5rem) !important; }
.band.tint { background: var(--tint); }
.band.navy { background: var(--navy); color: #e9e6ff; }
.band.navy h1, .band.navy h2, .band.navy h3, .band.navy strong { color: #fff; }
.band.navy a:not(.button) { color: var(--mint); }
.page > .split, .page > .grid, .page > .gallery, .page > .banner, .page > .quotes, .page > .note, .page > .faq { max-width: var(--max); margin: clamp(2.5rem, 6vw, 4.5rem) auto; padding-inline: var(--gutter); }
.page > .banner { max-width: none; padding: 0; }
.wrap > :last-child { margin-bottom: 0; }

/* ---------- Photo beside words ---------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split.contain .split-photo img { object-fit: contain; aspect-ratio: auto; max-height: 40rem; margin-inline: auto; width: auto; }
.split-words > :last-child { margin-bottom: 0; }
.split.center .split-words { text-align: center; }
.split.center .buttons { justify-content: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide { grid-template-columns: 7fr 5fr; }
  .split.photo-right .split-photo { order: 2; }
  .split.photo-right.wide { grid-template-columns: 5fr 7fr; }
}

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.25rem); grid-template-columns: 1fr; margin: 2rem 0; }
@media (min-width: 640px) { .grid.cols-2, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.grid.center { text-align: center; }
.card { display: flex; flex-direction: column; }
.card > img:first-child, .card > p:first-child > img, .card > figure:first-child img { width: 100%; aspect-ratio: var(--ratio, 3 / 2); object-fit: cover; margin-bottom: 1.25rem; }
.card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.class-card p { margin-bottom: .7em; }
.class-card .when { color: var(--ink); }
.class-card .need { color: var(--muted); font-size: .94rem; }
.class-card p:last-child { margin-top: auto; padding-top: .3rem; }

/* ---------- Slideshow ---------- */
.slideshow { position: relative; height: min(92svh, 58rem); min-height: 26rem; background: var(--navy); overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity 1s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slideshow::before { content: ''; position: absolute; inset: 0 0 auto; height: 11rem; z-index: 1; background: linear-gradient(rgba(10,6,40,.55), rgba(10,6,40,0)); pointer-events: none; }
.slide-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 3rem; height: 3rem; border: 0; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); }
.slide-arrow:hover { background: rgba(255,255,255,.35); }
.slide-arrow.prev { left: 1rem; } .slide-arrow.next { right: 1rem; }
.slide-arrow svg, .slide-pause svg, .lightbox svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slide-controls { position: absolute; left: 0; right: 0; bottom: 1.1rem; z-index: 2; display: flex; justify-content: center; align-items: center; gap: .9rem; }
.slide-dots { display: flex; gap: .35rem; }
.slide-dot { width: 2.4rem; height: 1.6rem; border: 0; background: none; cursor: pointer; padding: 0; position: relative; }
.slide-dot::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.5); }
.slide-dot.is-active::after { background: #fff; }
.slide-pause { width: 2.2rem; height: 2.2rem; border: 0; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; cursor: pointer; }
.slide-pause svg { width: 1rem; height: 1rem; }
.slide-pause .i-play, .slideshow.paused .slide-pause .i-pause { display: none; }
.slideshow.paused .slide-pause .i-play { display: block; fill: currentColor; }
@media (max-width: 700px) { .slideshow { height: 72svh; } .slide-arrow { display: none; } .slide-dot { width: 1.6rem; } }

/* ---------- Gallery and lightbox ---------- */
.gallery { display: grid; gap: 4px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery.cols-3 { grid-template-columns: repeat(3, 1fr); } .gallery.cols-4 { grid-template-columns: repeat(4, 1fr); } .gallery.cols-5 { grid-template-columns: repeat(5, 1fr); } }
.gallery-item { display: block; overflow: hidden; background: var(--tint); }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(8,5,30,.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8,5,30,.94); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; padding: 3.5rem 4rem; }
.lightbox img { max-width: min(92vw, 80rem); max-height: 80vh; width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font-size: .9rem; color: #e9e6ff; font-style: normal; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 3rem; height: 3rem; border-radius: 999px; cursor: pointer; display: grid; place-items: center; font-size: 1.8rem; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox figure { padding: 4rem .5rem; } .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Banners, figures, quotes, notes ---------- */
figure { margin: 2rem 0; }
figcaption { font-size: .85rem; font-style: italic; color: var(--muted); text-align: center; margin-top: .6rem; }
.banner { margin: 2rem 0; }
.banner img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
@media (max-width: 700px) { .banner img { aspect-ratio: 4 / 3; } }
.quotes { text-align: center; }
.quotes blockquote { margin: 0 auto 1.1rem; max-width: 40rem; font: italic 500 clamp(1.1rem, 2.2vw, 1.3rem)/1.5 var(--body); color: var(--ink); }
.quotes blockquote p { margin: 0; }
.quotes blockquote::before { content: '“'; display: block; font: 900 3rem/0.8 var(--heading); color: var(--pink); margin-bottom: .1rem; }
blockquote { margin: 1.5rem 0; padding-left: 1rem; border-left: 3px solid var(--pink); }
.quotes blockquote { border: 0; padding: 0; }
.note { background: var(--tint); border-left: 4px solid var(--pink); padding: 1.1rem 1.3rem; border-radius: 0 .5rem .5rem 0; }
.page > .note { max-width: calc(47rem + 2 * var(--gutter)); }
.note > :last-child { margin-bottom: 0; }
.faq h3 { margin-top: 1.8em; }
.faq h3:first-child { margin-top: 0; }

/* ---------- Coaches ---------- */
.coaches { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 1.75rem 1.25rem; text-align: center; }
.coaches li { margin: 0; display: grid; justify-items: center; gap: .15rem; }
.coaches img { width: min(9.5rem, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: .6rem; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--mint); }
.coaches strong { font-family: var(--heading); font-weight: 900; font-size: 1.1rem; color: var(--navy); }
.coaches span { font-size: .86rem; line-height: 1.45; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--tint); padding: 3rem 0 2.5rem; text-align: center; }
.footer-nav { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.4rem; }
.footer-nav li { margin: 0; }
.footer-nav a { font: 700 .8rem/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: .55rem 0; display: inline-block; }
.footer-nav a:hover { color: var(--pink-strong); }
.social { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; justify-content: center; gap: .6rem; }
.social li { margin: 0; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: #fff; color: var(--navy); }
.social a:hover { background: var(--navy); color: #fff; }
.social svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.social svg .dot { fill: currentColor; stroke: none; }
.site-footer .small { color: var(--muted); margin: .35rem 0; }

/* ---------- Cookie banner (built by site.js) ---------- */
.cookie { position: fixed; z-index: 100; left: .75rem; right: .75rem; bottom: .75rem; margin: 0 auto; max-width: 28rem; background: var(--navy); color: #ecebff; border: 2px solid var(--pink); border-radius: 1rem; padding: 1.15rem 1.25rem 1.25rem; box-shadow: 0 0 40px -6px rgba(249,36,235,.55); animation: cookie-in .5s ease both; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
.cookie p { margin: 0 0 .35rem; font-size: .9rem; line-height: 1.5; }
.cookie .cookie-heading { font: 900 1.05rem/1.3 var(--heading); color: #fff; }
.cookie a { color: var(--mint); }
.cookie .cookie-buttons { display: flex; gap: .5rem; margin-top: .9rem; }
.cookie button { flex: 1; min-height: 2.75rem; border-radius: 999px; font: 700 .85rem/1 var(--body); cursor: pointer; }
.cookie .no { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45); }
.cookie .yes { background: var(--pink-strong); color: #fff; border: 2px solid var(--pink-strong); }
.cookie .yes:hover { background: var(--pink); border-color: var(--pink); color: var(--navy); }

/* ---------- Newsletter form (Sender's embed) ---------- */
.newsletter-form { margin: 1.5rem auto; max-width: 32rem; }

/* ---------- Page specifics ---------- */
.page-404 .wrap { min-height: 40vh; }
.col > img { margin: 1.5rem 0 2.25rem; }
@media (max-width: 859px) { .split.contain .split-photo img { max-height: 30rem; } }
