/* ==========================================================================
   Roop Pilates – shared styles
   Design width 1600px, container 1140px. Breakpoints (match Framer):
   desktop 1200+, tablet 810-1199, mobile 809 and below.
   ========================================================================== */

/* ---- Fonts (self-hosted Manrope, variable 200–800) ---------------------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-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: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --dark: #352c23;
  --peach: #ffdfc0;
  --cream: #fff3e7;
  --orange: #ffaa3b;
  --text-light: #ffe5ca;
  --logo-tint: #cbb198;
  --divider: #b98c58;
  --line-dark: rgba(53, 44, 35, 0.75);
  --ctrl-bg: rgba(53, 44, 35, 0.25);

  --nav-h: 56px;
  /* mobile content column (logo width): 380px, never wider than viewport - 30px */
  --col: min(380px, 100% - 30px);
  --logo-mask: url("data:image/svg+xml,%3Csvg id=%22Layer_1%22 xmlns=%22http://www.w3.org/2000/svg%22 version=%221.1%22 viewBox=%220 0 1155.7 335.2%22%3E%3Cdefs%3E%3Cstyle%3E .st0 %7B fill: %23fff; %7D %3C/style%3E%3C/defs%3E%3Cpath class=%22st0%22 d=%22M154.5,329l-74.6-104.3h-.9v104.3H0V6.2h105.6c33.6,0,59.3,4.4,76.4,11.8,34.9,15.7,59.3,53.6,59.3,99.4s-30.5,92.9-80.3,101.6l87.7,110h-94.3ZM109.6,168.4c32.7,0,52.8-15.3,52.8-46.3s-21-43.6-52-43.6h-31.4v89.9h30.6Z%22/%3E%3Cpath class=%22st0%22 d=%22M235.2,174.9C235.2,75,307.2,0,405.3,0s170.6,72.8,170.6,165.4-74.2,169.8-166.7,169.8-174.1-64.6-174.1-160.1h0ZM493.5,168c0-50.6-36.2-95.6-88.1-95.6s-87.7,43.2-87.7,94.3,36.2,96,89,96,86.8-43.2,86.8-94.7h0Z%22/%3E%3Cpath class=%22st0%22 d=%22M572.1,174.9C572.1,75,644.2,0,742.3,0s170.6,72.8,170.6,165.4-74.2,169.8-166.7,169.8-174.1-64.6-174.1-160.1h0ZM830.4,168c0-50.6-36.2-95.6-88.1-95.6s-87.7,43.2-87.7,94.3,36.2,96,89,96,86.8-43.2,86.8-94.7h0Z%22/%3E%3Cpath class=%22st0%22 d=%22M912.6,329V6.2h109.1c34.5-.4,60.2,4.4,77.3,12.2,34.9,16.2,56.7,53.2,56.7,96.9s-33.2,112.6-125.7,112.6h-38.4v101.2h-79ZM1026.9,155.4c33.2,0,49.8-11.3,49.8-38.8s-16.1-38-52.8-38h-32.3v76.8h35.4,0Z%22/%3E%3C/svg%3E");
  --container: 1140px;
  --gutter: 24px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text-light);
  font: 500 20px/1.4 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--dark); padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* ---- Text styles (Framer): H1 60/1.1, H2 40/1.2, H3 24/1.3, body 20/1.4,
        eyebrow 14/1.6, button 18/1.3, small 15/1.3, footer 14/1.3, big 110/1.2 */
h1, h2, h3 { font-weight: 700; }
h1 { font-size: 60px; line-height: 1.1; }
h2 { font-size: 40px; line-height: 1.2; }
h3 { font-size: 24px; line-height: 1.3; }

.eyebrow {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 21px; border-radius: 6px;
  background: var(--orange); color: var(--dark);
  font-weight: 700; font-size: 18px; line-height: 1.3; white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover, .btn:focus-visible { background: #ffc47a; box-shadow: inset 0 0 0 2px #c4720c; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.offer-note { font-size: 15px; line-height: 1.3; color: #f0dcc7; }

/* ---- Navigation --------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h); background: var(--nav-bg); color: var(--dark); --nav-bg: var(--cream);
}
.nav__inner {
  width: min(var(--container), 100% - var(--gutter) * 2);
  height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: flex-start;
  gap: clamp(24px, 15.5vw, 248px);
}
.nav__links { display: contents; }
.nav__logo {
  display: block; width: 124px; aspect-ratio: 1155.7 / 335.2; background: var(--dark);
  -webkit-mask: var(--logo-mask) center / contain no-repeat; mask: var(--logo-mask) center / contain no-repeat;
}
.nav--page { --nav-bg: #fff; }
.nav a {
  font-weight: 600; font-size: 15.5px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 0; white-space: nowrap; transition: opacity 0.15s ease;
}
.nav a:hover { opacity: 0.6; }
.nav__current, .nav__toggle, .nav__home { display: none; }
html.menu-open { overflow: hidden; }

/* ---- Hero ---------------------------------------------------------------
   The stage is a fixed 1600px canvas centred in the
   hero, so the logo keeps its fixed width (1140 / 760 / 360). The logo drifts
   down slowly on scroll; the athlete scrolls with the page. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 900px;
  background: #4d4337 url("../img/hero-backdrop.webp") center / cover no-repeat;
}
.hero__stage {
  position: absolute; top: 0; left: calc(50% - 800px); height: 100%;
  width: 1600px; /* no transform here: it would isolate the logo's blend mode */
}
.hero__logo {
  position: absolute; z-index: 1;
  left: 230px; top: 24px;
  width: 1140px; aspect-ratio: 1155.7 / 335.2;
  /* white logo blended with the backdrop: matches the original's translucent look */
  background: #fff; mix-blend-mode: overlay; opacity: 0.85;
  -webkit-mask: var(--logo-mask) center / contain no-repeat;
          mask: var(--logo-mask) center / contain no-repeat;
  /* Parallax: --py (set by main.js) lets the logo trail behind the page scroll */
  transform: translate3d(0, calc(var(--py, 0) * 1px), 0);
  will-change: transform;
}
.hero__cutout {
  position: absolute; z-index: 2; pointer-events: none;
  left: 330px; top: -9px; width: 1456px; max-width: none; height: auto;
}
.hero__copy {
  position: absolute; z-index: 3;
  left: 230px; top: 403px;
}
.hero__copy h1 { font-size: 40px; line-height: 1.2; color: var(--text-light); }
.hero__copy .eyebrow { margin-top: 27px; }
.hero__copy .offer-title { margin-top: 7px; font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--text-light); }
.hero__copy .btn { margin-top: 20px; }
.hero__copy .offer-note { margin-top: 14px; max-width: 156px; }

/* ---- Intro / about ------------------------------------------------------ */
.intro { padding: 149px 0 152px; }

.feature { position: relative; aspect-ratio: 1; overflow: hidden; background: #8a7a69; }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature__text {
  position: absolute; left: 62px; top: calc(50% - 16px); transform: translateY(-50%);
  font-weight: 300; font-size: 110px; line-height: 1.2; letter-spacing: -0.01em;
  color: #ffe3c7;
}

.about { display: grid; grid-template-columns: 421px 1fr; margin-top: 66px; }
.about h3 { color: var(--orange); max-width: 333px; }

.pillars { display: grid; grid-template-columns: 330fr 370fr 326fr; margin-top: 64px; }
.pillar:first-child { padding-right: 42px; }
.pillar + .pillar { border-left: 1px solid var(--divider); padding-left: 42px; }
.pillar .eyebrow { margin-bottom: 12px; }

.gallery {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px;
  aspect-ratio: 1140 / 993; margin-top: 67px;
}
.gallery > * { min-height: 0; min-width: 0; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; background: #1f1a15; }
.gallery__video { grid-row: 1 / 3; }

/* ---- Testimonials ------------------------------------------------------- */
.light { background: var(--peach); color: var(--dark); }

.testimonials { position: relative; padding: 118px 0 0; text-align: center; overflow: hidden; }
.testimonials .eyebrow { color: var(--dark); }
.testimonials h2 { margin-top: 11px; }

.stars { display: flex; justify-content: center; margin-top: 27px; color: var(--orange); }
.stars svg { width: 26px; height: 26px; margin: 0 -1px; fill: currentColor; }

/* Carousel: quotes slide in from the right and out to the left (JS drives the
   motion with the Web Animations API; slides stack in one grid cell). */
.slider { display: grid; overflow: hidden; width: min(var(--container), 100% - var(--gutter) * 2); margin: 37px auto 0; }
.slide {
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center;
  visibility: hidden;
}
.slide.is-active, .slide.is-leaving { visibility: visible; }
.slide blockquote { max-width: 710px; line-height: 1.4; text-wrap: pretty; }
.slide figcaption { display: flex; flex-direction: column; align-items: center; }
.slide__name { display: block; margin-top: 31px; }
.slide__avatar { width: 91px; height: 91px; margin-top: 30px; border-radius: 50%; object-fit: cover; }

.slider__nav { display: contents; }
.slider__arrow {
  position: absolute; top: 471px; width: 37px; height: 37px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--ctrl-bg); color: #fff; transition: background 0.15s ease;
}
.slider__arrow:hover { background: rgba(53, 44, 35, 0.4); }
.slider__arrow svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slider__arrow--prev { left: 6.2%; }
.slider__arrow--next { right: 6.2%; }

.slider__dots {
  display: flex; gap: 11px; width: max-content; margin: 68px auto 0;
  padding: 7px 10px; border-radius: 999px; background: var(--ctrl-bg);
}
.slider__dot { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transition: background 0.2s ease; }
.slider__dot[aria-current="true"] { background: #fffffd; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { padding: 202px 0 89px; text-align: center; }
.faq .eyebrow { color: var(--dark); }
.faq h2 { margin-top: 15px; }

.faq__list { width: min(742px, 100% - var(--gutter) * 2); margin: 62px auto 0; text-align: left; }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 87px; padding: 21px 0 11px; list-style: none; cursor: pointer;
  font-size: 24px; font-weight: 700; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative; flex: none; width: 31px; height: 31px; border-radius: 6px; background: var(--orange);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 1px;
  transform: translate(-50%, -50%); transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq__icon::before { width: 13px; height: 2px; }
.faq__icon::after { width: 2px; height: 13px; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__answer { margin-top: -6px; padding: 0 40px 22px 0; font-size: 20px; }
.faq__answer p + p { margin-top: 12px; }

/* ---- Call to action ----------------------------------------------------- */
.cta { padding: 120px 0; text-align: center; }
.cta h2 { margin-top: 12px; color: var(--text-light); }
.cta .btn { margin-top: 33px; }
.cta .offer-note { margin: 16px auto 0; }

/* ---- Footer ------------------------------------------------------------- */
.footer {
  isolation: isolate;
  background: linear-gradient(rgba(20, 14, 8, 0.14), rgba(20, 14, 8, 0.14)), url("../img/hero-backdrop.webp") center / cover no-repeat #4d4337;
  padding: 60px 0 49.5px; color: var(--text-light);
  font-size: 14px; line-height: 1.3; font-weight: 400;
}
.footer__inner { width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
.footer__logo { display: block; width: 100%; aspect-ratio: 1155.7 / 335.2; background: #fff; mix-blend-mode: overlay; opacity: 0.85; -webkit-mask: var(--logo-mask) center / contain no-repeat; mask: var(--logo-mask) center / contain no-repeat; }
.footer__row {
  display: grid; grid-template-columns: 373px 1fr auto; align-items: end; gap: 0;
  margin-top: 40px;
}
.footer address { font-style: normal; display: grid; gap: 10px; }
.footer__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 3px; }
.footer__phone svg, .footer__social svg { flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.footer__phone svg { width: 16px; height: 16px; stroke-width: 1.6; }
.footer__links { list-style: none; padding: 0; display: grid; gap: 24px; justify-self: start; }
.footer__social { display: flex; align-items: center; gap: 52px; list-style: none; padding: 0; margin-bottom: -3px; }
.footer__social a { display: inline-flex; align-items: center; gap: 11px; }
.footer__social svg { width: 22px; height: 22px; stroke-width: 1.7; }
.footer a:hover { opacity: 0.7; }

/* ---- Pricing page ------------------------------------------------------- */
.pbtn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  padding: 15px 22px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 700; font-size: 18px; line-height: 1.3; text-align: center; white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.pbtn--solid { background: var(--orange); color: var(--dark); }
.pbtn--outline { background: transparent; border-color: var(--dark); color: var(--dark); }
.pbtn--solid:hover, .pbtn--solid:focus-visible { background: #ffc47a; border-color: #c4720c; box-shadow: inset 0 0 0 1px #c4720c; transform: translateY(-1px); }
.pbtn--outline:hover, .pbtn--outline:focus-visible { background: rgba(53, 44, 35, 0.08); box-shadow: inset 0 0 0 1px var(--dark); transform: translateY(-1px); }
.pbtn--hero { width: auto; border-radius: 6px; padding: 15px 34px; }
.pbtn--drop { width: auto; border-radius: 6px; padding: 15px 53px; }

.phero {
  position: relative; height: 670px; color: var(--text-light);
  background:
    linear-gradient(rgba(132, 121, 110, 0.15), rgba(132, 121, 110, 0.15)),
    url("../img/pricing-hero.webp") center -477px / 2364px auto no-repeat,
    #50443a;
}
.phero__inner { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; padding-top: 100.5px; }
.phero h1 { margin-top: 28px; font-size: 60px; line-height: 67px; color: var(--text-light); }
.phero__lead { margin-top: 26.5px; max-width: 520px; font-size: 20px; line-height: 1.4; color: #f6dfc7; }
.phero__cta { display: flex; align-items: center; gap: 21px; margin-top: 27.5px; }
.textlink { color: var(--orange); font-weight: 700; font-size: 18px; line-height: 1.3; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.textlink:hover { opacity: 0.8; }

.plans { padding: 100px 0 119.5px; text-align: center; scroll-margin-top: var(--nav-h); }
.plans--cream { background: var(--cream); }
.plans--peach { background: var(--peach); }
.plans h2 { color: var(--dark); }
.plans__sub { margin-top: 21px; color: var(--dark); }
.plans__grid {
  width: min(var(--container), 100% - var(--gutter) * 2); margin: 45px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left;
}
.plans__sub + .plans__grid { margin-top: 44px; }
.phero .eyebrow, .dropcard .eyebrow { letter-spacing: 0.18em; }

.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fffbf5; border: 1px solid rgba(53, 44, 35, 0.08); border-radius: 10px;
  padding: 33px 28px 25px 26.5px; color: var(--dark);
}
.card > * { max-width: 275px; }
.card--white { background: #fff; }
.plans--cream .card:not(.card--rec) { border: 2px solid #facc91; }
.card--rec { background: #fff; border-color: var(--orange); box-shadow: 0 10px 28px rgba(53, 44, 35, 0.1); padding-top: 28px; }
.card__flag {
  margin: -28px -28px 0 -26.5px; max-width: none; padding: 6px 10px; text-align: center;
  background: var(--orange); color: var(--dark);
  font-weight: 700; font-size: 14px; line-height: 1.6; letter-spacing: 0.2em; text-transform: uppercase;
}
.card__flag--green { background: #e3ebcf; margin-top: -33px; }
.card__flag + .card__title { margin-top: 21px; }
.card--rec .card__price, .card--rec .badge { margin-top: 21.7px; }
.card--rec .card__list { margin-top: 23.5px; }
.card--rec .card__list + .pbtn { margin-top: 22.5px; }
.card__title { font-size: 24px; line-height: 1.3; font-weight: 700; }
.card__price { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.card__price .price { font-size: 40px; line-height: 1.2; font-weight: 700; }
.card__price .per { font-size: 15px; line-height: 1.3; font-weight: 500; }
.card__price s { font-size: 24px; font-weight: 700; margin-right: -4px; text-decoration-thickness: 2px; }
.badge {
  align-self: flex-start; margin-top: 22px; padding: 7px 12px; border: 1px solid; border-radius: 4px;
  font-size: 15px; line-height: 1.3; font-weight: 500;
}
.badge--green { background: #e8efd6; border-color: #9db36a; }
.badge--orange { background: #ffe7cc; border-color: var(--orange); }
.card__list { list-style: none; padding: 0; margin: 22.5px 0 0; font-size: 15px; line-height: 1.3; font-weight: 500; }
.card__list li { display: flex; gap: 6px; margin-top: 20px; }
.card__list li:first-child { margin-top: 0; }
.card__list li::before { content: "\2713"; flex: none; font-weight: 700; }
.card .pbtn { margin-top: auto; }
.card__list + .pbtn { margin-top: 21.5px; }
.card__body { display: flex; flex-direction: column; flex: 1; }

.plans--peach { padding-bottom: 100px; }
.dropcard {
  width: min(var(--container), 100% - var(--gutter) * 2); margin: 20px auto 0; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: var(--dark); border-radius: 10px; padding: 44px 56px; text-align: left; scroll-margin-top: var(--nav-h);
}
.dropcard .eyebrow { margin: 0; }
.dropcard__title { margin: 12px 0 0; font-size: 36px; line-height: 1.2; font-weight: 700; color: var(--text-light); }
.dropcard__text { margin: 12px 0 0; max-width: 560px; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: 0.12px; color: var(--peach); }
.dropcard .pbtn { flex: none; margin: 0; padding: 15px 40px; }

/* ---- Timetable page ----------------------------------------------------- */
.tt { background: var(--cream); padding: 52.5px 0 74px; color: var(--dark); }
.tt__inner { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.tt .eyebrow { color: var(--dark); letter-spacing: 0.18em; }
.tt h1 { margin-top: 31px; font-size: 60px; line-height: 67px; }
.tt__lead { margin-top: 28.5px; max-width: 520px; font-size: 20px; line-height: 1.4; }

.instructor { display: flex; align-items: center; margin-top: 30px; }
.instructor__photo { flex: none; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.instructor__rule { flex: none; align-self: stretch; width: 1px; margin: 0 22px; background: #cfc9c4; }
.instructor__text { flex: none; width: 250px; }
.instructor__label { font-size: 15px; line-height: 1.3; font-weight: 500; text-transform: uppercase; color: var(--orange); }
.instructor__name { margin-top: 3px; font-size: 24px; line-height: 1.3; font-weight: 700; }
.instructor__bio { margin-top: 6px; font-size: 15px; line-height: 1.3; font-weight: 600; }
.instructor__length { display: flex; align-items: center; gap: 12px; margin-left: 75px; align-self: flex-end; font-size: 20px; line-height: 1.4; }
.instructor__length svg { flex: none; width: 28px; height: 28px; fill: none; stroke: #997052; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 56.5px; }
.day { display: flex; flex-direction: column; background: #fff; border: 1px solid #efe9e6; border-radius: 6px; padding: 0 9px 8.5px; }
.day__name { padding-top: 21px; text-align: center; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.day__name abbr { text-decoration: none; }
.day__name::after { content: ""; display: block; width: 20px; height: 1px; margin: 14.5px auto 0; background: #997052; }
.day__slots { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 14.5px; }
.slot { display: flex; flex-direction: column; gap: 9px; padding: 13.3px 14px 12.3px 13px; background: var(--peach); border: 1px solid #f5d4b5; border-radius: 6px; }
.slot__time { font-size: 18px; line-height: 1.3; font-weight: 600; }
.slot__name { font-size: 15px; line-height: 1.3; font-weight: 600; }
.day__none { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 122.5px; font-size: 15px; line-height: 1.3; font-weight: 500; }
.day__none p { margin-top: 19.5px; max-width: 100px; }
.day__icon { width: 36px; height: 40px; fill: none; stroke: #997052; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.book { margin-top: 57px; text-align: center; }
.book__line { display: flex; align-items: center; gap: 20px; padding-inline: 8px; font-size: 24px; line-height: 1.3; font-weight: 700; }
.book__line::before, .book__line::after { content: ""; flex: 1; height: 1px; background: #cfc9c4; }
.book__line svg { flex: none; width: 24px; height: 26px; margin-right: 1.5px; fill: none; stroke: var(--dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pbtn--live { width: auto; margin-top: 17.4px; gap: 22px; padding: 15px 28px 15px 25px; border-radius: 6px; }
.pbtn--live svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.cta--page { padding: 110px 0 110px; }
.cta--page .eyebrow { letter-spacing: 0.18em; }
.cta--page h2 { margin-top: 16px; }
.cta--page .cta__text { margin-top: 16px; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: 0.12px; color: var(--peach); }
.cta--page .pbtn { margin-top: 23.5px; }
.cta--page .pbtn--drop { padding-inline: 21px; }

/* ---- Studio page -------------------------------------------------------- */
.studio { background: var(--cream); padding: 76.3px 0 30px; color: var(--dark); }
.studio__inner { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.studio__top { display: grid; grid-template-columns: 450px 1fr; align-items: start; }
.studio .eyebrow { color: var(--dark); letter-spacing: 0.18em; }
.studio h1 { margin-top: 22px; font-size: 40px; line-height: 1.2; }
.studio__lead { margin-top: 22.5px; max-width: 360px; font-size: 20px; line-height: 1.4; }
.studio__label { margin-top: 34px; font-size: 14px; line-height: 1.6; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.studio__address { margin-top: 16.5px; font-style: normal; font-size: 20px; line-height: 1.5; font-weight: 500; }
.pbtn--dir { width: auto; margin-top: 16.5px; padding: 15px 23px; border-radius: 6px; }
.studio__label--fac { margin-top: 34.5px; }
.facilities { list-style: none; padding: 0; margin: 22px 0 0; }
.facilities li { display: flex; align-items: center; gap: 20px; height: 23px; margin-top: 24px; font-size: 15px; line-height: 1.3; font-weight: 500; }
.facilities li:first-child { margin-top: 0; }
.facilities svg { flex: none; width: 24px; height: 23px; fill: none; stroke: var(--dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.studio__map { border: 1px solid #d9d9d9; aspect-ratio: 1; background: #fdfdfd; }
.studio__map picture, .studio__map img { display: block; width: 100%; height: 100%; object-fit: cover; }

.studio__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 51px; }
.studio__gallery img, .studio__gallery video { display: block; width: 100%; object-fit: cover; background: #1b1511; }
.studio__gallery img { height: auto; aspect-ratio: 366.67 / 315.9; }
.g-ext { grid-area: 1 / 1; }
.g-props { grid-area: 1 / 2; object-position: 50% 48%; }
.g-video { grid-area: 1 / 3 / 3 / 4; aspect-ratio: 9 / 16; height: auto; }
.g-class { grid-area: 2 / 1; object-position: 50% 58%; }
.g-wall { grid-area: 2 / 2; object-position: 50% 41%; }

/* ---- Legal pages -------------------------------------------------------- */
.legal { padding: 96px 0 120px; }
.legal__body { width: min(720px, 100% - var(--gutter) * 2); margin-inline: auto; }
.legal h1 { font-size: 44px; line-height: 1.15; margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin-top: 40px; margin-bottom: 10px; color: var(--orange); }
.legal p, .legal li { font-size: 17px; line-height: 1.6; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal p + p { margin-top: 12px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { opacity: 0.7; font-size: 15px; }

/* ==========================================================================
   Tablet (810–1199): logo 760, hero 75vh
   ========================================================================== */
@media (max-width: 1199px) {
  :root { --gutter: 30px; }
  body { font-size: 18px; }
  h1 { font-size: 50px; }
  h2 { font-size: 35px; }
  h3 { font-size: 22px; }
  .eyebrow { letter-spacing: 0.18em; }
  .btn { height: auto; padding: 16px 22px; line-height: 1.3; }
  .offer-note { font-size: 14px; }

  .nav__inner { width: min(760px, 100% - var(--gutter) * 2); justify-content: space-between; gap: 0; }

  .hero { height: 75vh; min-height: 560px; }
  .hero__stage { left: 0; width: 100%; }
  .hero__logo { left: calc(50% - 380px); top: 31px; width: 760px; }
  .hero__cutout { left: calc(50% - 729px); top: auto; bottom: -379px; width: 1709px; }
  .hero__copy { left: calc(50% - 391.5px); top: 41.7%; }
  .hero__copy h1 { font-size: 35px; }
  .hero__copy .eyebrow { margin-top: 23.5px; }
  .hero__copy .offer-title { margin-top: 5.5px; font-size: 22px; }
  .hero__copy .btn { margin-top: 18px; }
  .hero__copy .offer-note { margin-top: 12px; }

  .feature__text { font-size: 76px; left: 5.4%; }
  .faq__item summary { font-size: 22px; }
  .faq__answer { font-size: 18px; }
  .gallery { gap: 14px; }
  .footer { background-size: auto, auto 160%; background-position: 0 0, center 12%; }
  .footer__row { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__social { grid-column: 1 / -1; }

  /* pricing */
  .phero { height: 75vh; min-height: 560px; background-size: auto, 1908px auto, auto; background-position: 0 0, left calc(62vw - 954px) bottom -190px, 0 0; }
  .phero__inner { width: min(760px, 100% - var(--gutter) * 2); padding-top: 12vh; }
  .phero__lead { max-width: 440px; }
  .plans { padding: 80px 0 90px; }
  .plans__grid { width: min(1140px, 100% - var(--gutter) * 2); }
  .card { padding-inline: 22px; }
  .card > * { max-width: none; }
  .card__flag { margin-inline: -22px; }
  .plans--peach { padding-bottom: 90px; }
  .dropcard { width: min(1140px, 100% - var(--gutter) * 2); }

  /* timetable */
  .tt h1 { font-size: 50px; line-height: 1.1; }
  .tt__lead { font-size: 18px; }
  .tt__inner { width: min(760px, 100% - var(--gutter) * 2); }
  .week { grid-template-columns: repeat(4, 1fr); }
  .instructor__length { font-size: 18px; margin-left: 40px; }
  .book__line { font-size: 22px; }
  .day__none { padding-top: 60px; padding-bottom: 40px; }
}

@media (min-width: 810px) and (max-width: 959px) {
  .plans__grid { grid-template-columns: 1fr; width: min(520px, 100% - var(--gutter) * 2); }
  .dropcard { width: min(520px, 100% - var(--gutter) * 2); flex-direction: column; align-items: stretch; gap: 26px; padding: 40px 36px; }
}

/* ==========================================================================
   Mobile (≤809): burger nav, hero fills the viewport below the nav
   ========================================================================== */
@media (max-width: 809px) {
  :root { --gutter: 15px; }
  h1 { font-size: 41px; }
  h2 { font-size: 31px; }
  h3 { font-size: 20px; }
  .container { width: var(--col); }

  /* burger navigation: current page left, menu button right */
  .nav__inner { width: var(--col); justify-content: space-between; }
  .nav__current {
    display: block; font-weight: 600; font-size: 15.5px; line-height: 1;
    letter-spacing: 0.1em; text-transform: uppercase;
  }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 8px;
    width: 36px; height: 36px; padding: 0; border: 0; background: none; color: var(--dark);
  }
  .nav__toggle span { display: block; height: 2px; width: 100%; background: currentColor; border-radius: 1px; transition: transform 0.22s ease, opacity 0.18s ease; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

  .nav__home { display: block; }
  .nav__links {
    display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0;
    height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px calc(50% - var(--col) / 2) 40px; overflow-y: auto;
    background: var(--nav-bg); border-top: 1px solid rgba(53, 44, 35, 0.12);
    visibility: hidden; opacity: 0;
    transition: opacity 0.2s ease, visibility 0s 0.2s;
  }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav__links a { display: block; width: 100%; padding: 18px 0; }

  /* hero fills the viewing area below the nav; copy sits lower down */
  .hero { height: calc(100vh - var(--nav-h)); min-height: 560px; }
  .hero__logo { left: calc(50% - var(--col) / 2); top: 25px; width: var(--col); }
  .hero__cutout { left: calc(50% - 415px); top: max(223px, calc(100% - 600px)); bottom: auto; width: 1000px; }
  .hero__copy { left: calc(50% - var(--col) / 2); top: 200px; }
  .hero__copy h1 { font-size: 31px; }
  .hero__copy .eyebrow { margin-top: 23.5px; }
  .hero__copy .offer-title { margin-top: 5.5px; font-size: 20px; }
  .hero__copy .btn { margin-top: 17.5px; }
  .hero__copy .offer-note { margin-top: 12.5px; }

  .intro { padding: 72px 0; }
  .feature__text { font-size: 51px; left: 7%; }
  .about { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .about h3 { max-width: none; }
  .pillars { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .pillar:first-child { padding-right: 0; }
  .pillar + .pillar { border-left: 0; padding-left: 0; border-top: 1px solid var(--divider); padding-top: 24px; }
  /* studio images stack in one column */
  .gallery { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; aspect-ratio: auto; }
  .gallery > * { width: 100%; }
  .gallery img, .gallery video { height: auto; }
  .gallery__video { aspect-ratio: 9 / 16; }
  .gallery img:nth-of-type(1) { aspect-ratio: 1444 / 1089; }
  .gallery img:nth-of-type(2) { aspect-ratio: 1086 / 1448; }

  .testimonials { padding-top: 72px; }
  .stars svg { width: 22px; height: 22px; }
  .slider { margin-top: 28px; }
  .slide blockquote { max-width: none; }
  .slide__avatar { width: 72px; height: 72px; }
  .slider__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
  .slider__arrow { position: static; flex: none; width: 33px; height: 33px; }
  .slider__dots { margin: 0; }

  .faq { padding: 80px 0 56px; }
  .faq__item summary { font-size: 20px; min-height: 68px; }
  .faq__answer { padding-right: 0; font-size: 18px; }
  .faq__list { width: var(--col); }

  .cta { padding: 72px 0; }
  .cta--page { padding: 110px 0; }
  .footer { padding: 34px 0 40px; }
  .footer__inner { width: calc(100% - 41px); }
  .footer__row { grid-template-columns: 1fr; gap: 32px; margin-top: 47px; }
  .footer__links { gap: 16px; }
  .footer__social { flex-wrap: wrap; gap: 16px 32px; }

  .legal { padding: 56px 0 80px; }
  .legal h1 { font-size: 34px; }

  /* pricing */
  .phero { height: 643.5px; min-height: 0; background-size: auto, 1619px auto, auto; background-position: 0 0, center -88px, 0 0; }
  .phero__inner { width: var(--col); padding-top: 41px; }
  .phero h1 { margin-top: 20px; font-size: 41px; line-height: 1.1; }
  .phero__lead { margin-top: 20px; max-width: 300px; font-size: 18px; }
  .phero__cta { flex-direction: column; align-items: flex-start; width: fit-content; gap: 21px; margin-top: 20px; }
  .textlink { align-self: flex-start; }
  .plans { padding: 56px 0 54.6px; }
  .plans__sub { margin-top: 14px; padding-inline: 20px; }
  .plans__grid, .plans__sub + .plans__grid { grid-template-columns: 1fr; width: calc(100% - 48px); margin-top: 32px; }
  .card { padding: 24.2px 21px 25px; }
  .card .pbtn { padding-block: 16px; }
  .card__list + .pbtn { margin-top: 22px; }
  .card__flag { margin-inline: -21px; }
  .card__flag, .card__flag--green { margin-top: -24.2px; }
  .card__title { font-size: 20.8px; line-height: 1.25; }
  .card__price { margin-top: 20.2px; }
  .card__price .price { font-size: 33px; }
  .badge { margin-top: 23px; padding: 7.7px 12.5px; font-size: 15.25px; }
  .plans--peach { padding-bottom: 56px; }
  .dropcard { width: calc(100% - 48px); flex-direction: column; align-items: stretch; gap: 26px; padding: 36px 24px 28px; }
  .dropcard__title { font-size: 30px; }
  .dropcard .pbtn { padding: 16px 22px; }

  /* timetable */
  .tt { padding: 40.5px 0 40px; }
  .tt__inner { width: var(--col); }
  .tt h1 { margin-top: 20px; font-size: 41px; line-height: 1.1; }
  .tt__lead { margin-top: 20px; max-width: 305px; font-size: 18px; }
  .instructor { flex-wrap: wrap; margin-top: 19.5px; }
  .instructor__photo { width: 72px; height: 72px; }
  .instructor__rule { align-self: center; height: 72px; margin: 0 16px; }
  .instructor__text { flex: 1; width: auto; min-width: 0; }
  .instructor__name { font-size: 20px; }
  .instructor__length { flex-basis: 100%; margin: 23px 0 0; align-self: auto; font-size: 18px; }
  .week { grid-template-columns: 1fr; gap: 13px; margin-top: 35.5px; }
  .day { padding-bottom: 21.2px; }
  .slot__name { white-space: nowrap; }
  .day__none { padding-top: 32px; padding-bottom: 16px; }
  .day__none p { max-width: none; }
  .book { margin-top: 35.5px; }
  .book__line { flex-direction: column; gap: 19px; padding: 0; font-size: 20px; }
  .book__line::before, .book__line::after { display: none; }
  .book__line svg { margin: 0; }
  .book__line span { max-width: 260px; }
  .pbtn--live { width: 100%; margin-top: 20px; }

  .footer__inner { text-align: center; }
  .footer__row { justify-items: center; }
  .footer address { justify-items: center; }
  .footer__links { gap: 22px; justify-self: center; }
  .footer__social { flex-direction: column; gap: 22px; margin: 0; }
  .footer__social a { flex-direction: column; gap: 10px; }

  /* Studio */
  .studio { padding: 40px 0 30px; }
  .studio__inner { width: var(--col); }
  .studio__top { display: block; }
  .studio h1 { margin-top: 20px; font-size: 31px; line-height: 1.2; }
  .studio__lead { margin-top: 19px; max-width: 313px; font-size: 18px; line-height: 1.4; }
  .studio__label { margin-top: 32px; }
  .studio__address { margin-top: 16px; font-size: 18px; line-height: 1.5; }
  .pbtn--dir { margin-top: 19px; padding: 15px 23px; }
  .studio__label--fac { margin-top: 28px; }
  .facilities { margin-top: 21px; }
  .facilities li { font-size: 16px; margin-top: 22px; }
  .facilities li:first-child { margin-top: 0; }
  .studio__map { margin-top: 47px; width: 100%; }
  .studio__gallery { display: flex; flex-direction: column; gap: 11px; margin-top: 45px; }
  .studio__gallery img, .studio__gallery video { width: 100%; height: auto; }
  .g-ext { order: 1; aspect-ratio: 1 / 1 !important; }
  .g-class { order: 2; aspect-ratio: 3 / 4 !important; }
  .g-props { order: 3; aspect-ratio: 3 / 4 !important; }
  .g-wall { order: 4; aspect-ratio: 4 / 5 !important; }
  .g-video { order: 5; aspect-ratio: 9 / 16; }
}

/* Studio – tablet: copy beside the map, three-up gallery */
@media (min-width: 810px) and (max-width: 1199px) {
  .studio { padding: 64px 0 30px; }
  .studio__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .studio__lead { max-width: 340px; }
  .studio__gallery { gap: 16px; margin-top: 44px; }
}

/* ---- Legal pages --------------------------------------------------------- */
.legal { background: var(--cream); color: var(--dark); padding: 72px 0 100px; }
.legal__inner { width: min(760px, 100% - var(--gutter) * 2); margin-inline: auto; }
.legal h1 { text-transform: none; letter-spacing: 0; font-size: 40px; line-height: 1.2; font-weight: 700; margin: 0 0 8px; }
.legal__date { font-size: 15px; line-height: 1.5; opacity: 0.75; }
.legal h2 { color: var(--dark); text-transform: none; letter-spacing: 0; margin: 32px 0 8px; font-size: 21px; line-height: 1.3; font-weight: 700; }
.legal p { margin: 0 0 8px; font-size: 16px; line-height: 1.55; font-weight: 500; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { font-size: 16px; line-height: 1.55; font-weight: 500; margin-bottom: 4px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 809px) {
  .legal { padding: 44px 0 72px; }
  .legal__inner { width: var(--col); }
  .legal h1 { font-size: 31px; }
  .legal h2 { margin-top: 28px; font-size: 19px; }
}

/* ---- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__logo { transform: none !important; will-change: auto; }
  .nav__links, .nav__toggle span { transition: none; }
  .btn, .faq__icon::before, .faq__icon::after { transition: none; }
}
