/* MTP – site styles.
   Palette sampled from the studio itself: wall greige (photo p01), logo sage (photo p06),
   reformer wood (sampled from the frames). One accent for actions: sage. Wood is used only
   for small non-text details (icons, hairlines). Radius system: media/tiles 22px,
   every interactive control is a full pill.
   Light theme only, by design: the brand is the studio's cream interior. */

:root {
  --wall: #eae4df;
  --surface: #f6f3f0;
  --sand: #ece2d4;
  --ink: #22231f;
  --ink-soft: #55574f;
  --sage: #5e6e5a;
  --sage-ink: #4c5a49;
  --wood: #8f6f57;
  --line: rgb(143 111 87 / 0.22);
  --on-dark: #fbfaf8;
  --radius: 22px;
  --display: "Frank Ruhl Libre", "Times New Roman", serif;
  --body: "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: 20px;
  --header-h: 72px;
  /* z-index scale */
  --z-header: 30;
  --z-menu: 40;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--wall);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.tnum { font-variant-numeric: tabular-nums; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: 10px 18px; border-radius: 999px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 96px); }

h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(36px, 7vw, 58px); line-height: 1.08; letter-spacing: -0.01em;
}
h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 60ch; margin-top: 16px; }

/* English brand words are set like "PILATES" on the studio wall */
.brand-word, .tile h3, .vibe-head h2 {
  font-family: var(--body); font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding-inline: 28px; border-radius: 999px; border: 0;
  font-family: var(--body); font-weight: 600; font-size: 17px; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--sage-ink); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.btn-ghost:hover { background: rgb(34 35 31 / .05); }
.btn .i { width: 22px; height: 22px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sage-ink);
  border-bottom: 1px solid currentColor; padding-block: 6px 2px;
}
.text-link:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: var(--z-header);
  height: var(--header-h);
  color: #fff;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header .bar {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter);
}
.site-header.is-solid {
  background: rgb(234 228 223 / .94); color: var(--ink);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.wordmark { display: inline-flex; align-items: center; padding-block: 6px; }
.wordmark .logo { display: block; height: 44px; width: auto; fill: currentColor; }
.nav-links { display: none; gap: 30px; font-weight: 500; font-size: 16px; }
.nav-links a { position: relative; padding-block: 6px; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.site-header .nav-cta { display: none; min-height: 44px; padding-inline: 22px; font-size: 16px; }
.menu-btn {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgb(255 255 255 / .55); border-radius: 999px; background: rgb(255 255 255 / .12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.menu-btn .i { width: 22px; height: 22px; }
.site-header.is-solid .menu-btn { border-color: var(--line); background: transparent; }

/* Mobile menu: a bottom sheet, within thumb reach */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; align-items: flex-end;
  background: rgb(20 21 18 / .45);
}
.menu[hidden] { display: none; }
.menu-card {
  width: 100%; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--wall); color: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 0 var(--gutter) max(20px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  box-shadow: 0 -20px 60px -30px rgb(20 21 18 / .5);
}
.menu-card::before {
  content: ""; display: block; width: 44px; height: 4px; border-radius: 999px;
  background: rgb(143 111 87 / .45); margin: 10px auto 0; flex: none;
}
.menu .menu-top { height: 64px; flex: none; display: flex; align-items: center; justify-content: space-between; }
.menu .menu-top .menu-btn { color: var(--ink); border-color: var(--line); background: transparent; }
.menu nav { display: grid; margin-top: 4px; }
.menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--display); font-weight: 300; font-size: 30px; padding-block: 10px;
  border-bottom: 1px solid var(--line);
}
.menu nav a::after { content: ""; width: 8px; height: 8px; border-inline-end: 1.5px solid var(--wood); border-bottom: 1.5px solid var(--wood); transform: rotate(45deg); }
.menu .menu-ctas { padding-top: 22px; display: grid; gap: 10px; }
.menu-social { display: flex; justify-content: center; gap: 10px; padding-top: 18px; }
.menu-social a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding-inline: 14px;
  border-radius: 999px; background: var(--sand); color: var(--ink); font-size: 15px; font-weight: 500;
}
.menu-social .i { width: 18px; height: 18px; color: var(--wood); }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) { animation: fade .3s var(--ease); }
  .menu:not([hidden]) .menu-card { animation: sheet .45s var(--ease); }
  @keyframes fade { from { background: rgb(20 21 18 / 0); } }
  @keyframes sheet { from { transform: translateY(40px); } }
}

@media (min-width: 1024px) {
  .site-header { color: var(--ink); }
  .nav-links { display: flex; }
  .site-header .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: grid; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; background: #6d675f; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgb(20 21 18 / .28), rgb(20 21 18 / .28)),
    linear-gradient(to bottom, rgb(20 21 18 / .45), transparent 24%),
    linear-gradient(to top, rgb(20 21 18 / .85) 10%, rgb(20 21 18 / .4) 48%, transparent 72%);
}
.hero-copy {
  position: relative; z-index: 2; align-self: end;
  /* bottom padding leaves room for the floating accessibility button (48px + 12px) so it never covers the hero buttons */
  padding: calc(var(--header-h) + 64px) var(--gutter) calc(max(16px, env(safe-area-inset-bottom)) + 60px);
  display: grid; gap: 14px;
}
/* One line at every width: the title is ~7.45em wide, so size it to the available width (with a little margin). */
.hero h1 { font-family: var(--display); font-weight: 300; font-size: min(64px, calc((100vw - 2 * var(--gutter)) / 7.6)); line-height: 1.02; letter-spacing: -0.01em; }
.hero h1 .ltr { white-space: nowrap; }
.hero .ctas { display: grid; gap: 10px; margin-top: 8px; }
.hero .btn-ghost { color: #fff; background: rgb(255 255 255 / .08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(12px); animation: rise .6s var(--ease) forwards; }
  .rise.d1 { animation-delay: .05s; } .rise.d2 { animation-delay: .12s; } .rise.d3 { animation-delay: .2s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero .ctas { display: flex; flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .hero {
    color: var(--ink);
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center; gap: clamp(32px, 5vw, 88px);
    padding: calc(var(--header-h) + 24px) clamp(32px, 5vw, 80px) 40px;
    max-width: 1400px; margin-inline: auto;
  }
  .hero-media {
    position: relative; inset: auto; order: 2; justify-self: center;
    height: min(78dvh, 760px); aspect-ratio: 9 / 16;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 40px 80px -40px rgb(60 56 48 / .45);
  }
  .hero-media::after { display: none; }
    .hero-copy { order: 1; align-self: center; padding: 0; gap: 22px; max-width: 560px; }
  .hero h1 { font-size: clamp(52px, 5.4vw, 72px); line-height: 1; }
  .hero .ctas { display: flex; gap: 12px; margin-top: 10px; }
  .hero .btn-ghost { color: var(--ink); background: transparent; backdrop-filter: none; }
  .hero .btn-ghost:hover { background: rgb(34 35 31 / .05); }
}

/* ---------- Running text strip (decorative, once per page) ---------- */
.marquee { overflow: hidden; background: var(--sage-ink); color: var(--wall); padding-block: 16px; }
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; flex: none; }
.marquee span {
  font-family: var(--body); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .32em;
  padding-inline: 28px; white-space: nowrap; position: relative;
}
/* Separator between words: the logo symbol, tinted with the text colour via a mask */
.marquee span::after {
  content: ""; position: absolute; inset-inline-end: 0; top: 50%; width: 18px; height: 16px;
  background: currentColor; opacity: .85; transform: translate(50%, -50%);
  -webkit-mask: url(assets/img/logo-symbol.svg) center / contain no-repeat;
  mask: url(assets/img/logo-symbol.svg) center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 128s linear infinite; } /* 4x longer group, same speed as before */
  @keyframes marquee { to { transform: translateX(-50%); } }
}

/* ---------- About ---------- */
.about { background: var(--surface); }
.about .grid { display: grid; gap: 36px; align-items: center; }
.about figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #8b847a; }
.about figure img { width: 100%; height: 100%; object-fit: cover; }
.about .copy p + p { margin-top: 14px; }
.about .copy .lead { margin-top: 20px; }
.about h2 .big { display: block; font-size: clamp(56px, 15vw, 96px); line-height: .95; }
.about h2 .stat { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.about h2 .n { font-family: var(--display); font-weight: 300; font-size: clamp(72px, 20vw, 120px); line-height: .8; color: var(--sage); }
.about h2 .t { font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1.35; letter-spacing: .08em; color: var(--ink-soft); }
.about .lines { margin-top: 22px; max-width: none; line-height: 1.75; }
@media (min-width: 1024px) {
  .about .grid { grid-template-columns: 1fr 1.1fr; gap: 96px; }
  .about figure { order: 2; }
}

/* ---------- Classes bento ---------- */
.classes { background: var(--wall); }
.classes-head { max-width: 640px; margin-bottom: 36px; }
.bento { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 260px; color: #fff; isolation: isolate; display: flex; align-items: flex-end;
  background: #5b554d;
}
.tile picture, .tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile-stretch video { object-position: 50% 20%; }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(20 21 18 / .9), rgb(20 21 18 / .55) 50%, rgb(20 21 18 / .12) 85%);
}
.tile .body { padding: 18px; display: grid; gap: 6px; max-width: 46ch; }
.tile h3 { font-size: 18px; line-height: 1.3; }
.tile p { font-size: 15px; line-height: 1.5; }
.tile .levels { font-size: 14px; opacity: .92; margin-top: 4px; }
.tile-power, .tile.wide { grid-column: 1 / -1; }
.tile-power { min-height: 440px; }
.tile-power .body { padding: 24px; }
.tile-power h3 { font-size: 28px; }
.tile-power p { font-size: 17px; }
.tile.wide { color: var(--ink); background: var(--wall); display: grid; align-items: stretch; min-height: 0; }
.tile.wide::before { display: none; }
.tile.wide picture { position: relative; z-index: 0; aspect-ratio: 4 / 3; }
.tile.wide picture img { position: absolute; z-index: 0; }
.tile.wide .body { align-self: center; padding: 24px; }
.tile.wide p { color: var(--ink-soft); font-size: 17px; }
.tile.wide h3 { font-size: 24px; }
.tile-power img { object-position: 50% 30%; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .tile-power { grid-column: span 7; grid-row: span 2; min-height: 640px; }
  .tile-stretch, .tile-dance { grid-column: span 5; min-height: 312px; }
  .tile .body { padding: 26px; }
  .tile h3 { font-size: 22px; }
  .tile p { font-size: 17px; }
  .tile.wide { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .tile.wide picture { aspect-ratio: auto; min-height: 340px; }
  .tile.wide .body { padding: 36px; }
  .tile-power .body { padding: 36px; }
  .tile-power h3 { font-size: 32px; }
}

/* ---------- How it works ---------- */
.how { background: var(--sand); }
/* Three steps as "stations" on a curved sage line that snakes between them (path drawn by main.js).
   Mobile: one column that zigzags right-left-right. Desktop: three columns, the middle one lower. */
.steps-wrap { position: relative; margin-top: 52px; }
.steps-snake { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.steps-snake path { fill: none; stroke: var(--sage); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.steps { --node-y: 4px; list-style: none; padding: 0; display: grid; gap: 52px; position: relative; }
.steps li { position: relative; padding-inline-start: 32px; max-width: 30ch; }
.steps li:nth-child(2) { margin-inline-start: 22%; }
.steps li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: var(--node-y); width: 13px; height: 13px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 5px var(--sand);
}
.steps h3 { font-family: var(--body); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.steps p { color: var(--ink-soft); }
@media (min-width: 900px) {
  .steps { --node-y: 0px; grid-template-columns: repeat(3, 1fr); gap: 48px; align-items: start; }
  .steps li { padding-inline-start: 0; padding-top: 76px; max-width: 34ch; }
  .steps li:nth-child(2) { margin-inline-start: 0; margin-top: 52px; }
}

/* ---------- First-timer offers ---------- */
.offers { display: grid; gap: 14px; margin-top: 32px; }
.offer {
  background: var(--surface); border-radius: var(--radius); padding: 24px;
  display: grid; gap: 8px; align-content: start;
}
.offer h3 { font-size: 26px; }
.offer p { color: var(--ink-soft); }
.offer .price { color: var(--sage-ink); font-weight: 600; font-size: 16px; margin-top: 2px; }
.offer .btn { margin-top: 10px; width: 100%; }
.offers-note { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }
@media (min-width: 768px) {
  .offers { grid-template-columns: 1fr 1fr; max-width: 880px; }
  .offer .btn { width: auto; justify-self: start; }
}

/* ---------- Vibe strip ---------- */
.vibe { background: var(--surface); }
.vibe-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.vibe-head h2 { font-size: clamp(30px, 6vw, 40px); letter-spacing: .16em; }
.strip {
  --strip-pad: max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter)));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 320px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-inline: var(--strip-pad); padding-bottom: 14px; scrollbar-width: thin;
  scroll-padding-inline: var(--strip-pad);
}
.strip > * { position: relative; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #8b847a; }
.strip img, .strip video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
}

/* Instagram window: profile card + reels */
.ig-profile { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.ig-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: var(--wall) url(assets/img/logo-symbol.svg) 50% 46% / 58% no-repeat;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--sage);
}
.ig-id { display: grid; line-height: 1.3; }
.ig-id b { font-weight: 600; font-size: 17px; }
.ig-id > span { color: var(--ink-soft); font-size: 15px; }
.ig-follow { min-height: 44px; }
.reels { grid-auto-columns: min(60vw, 260px); }
.reels > * { aspect-ratio: 9 / 16; }
.reel { touch-action: manipulation; -webkit-user-select: none; user-select: none; color: #fff; }
.reel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgb(20 21 18 / .45), transparent 22%, transparent 70%, rgb(20 21 18 / .55));
}
.reel-top, .reel-bottom { position: absolute; z-index: 1; display: flex; align-items: center; font: 600 13px/1 var(--body); }
.reel-top { top: 12px; inset-inline-start: 12px; gap: 8px; }
.reel-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--surface) url(assets/img/logo-symbol.svg) 50% 46% / 60% no-repeat; }
.reel-bottom { bottom: 12px; inset-inline: 12px; justify-content: space-between; letter-spacing: .1em; }
.reel-like { position: relative; display: grid; }
.reel-like .i { width: 24px; height: 24px; grid-area: 1 / 1; }
.reel-like .on { opacity: 0; }
.reel.liked .reel-like .on { opacity: 1; }
.reel-pop {
  position: absolute; z-index: 2; top: 50%; left: 50%; width: 88px; height: 88px; pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) scale(0); filter: drop-shadow(0 6px 16px rgb(20 21 18 / .35));
}
.reel.pop .reel-pop { animation: like-pop .9s var(--ease) forwards; }
@keyframes like-pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  15% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
  30% { transform: translate(-50%, -50%) scale(.95); }
  45%, 75% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .reel.pop .reel-pop { animation: like-fade .9s linear forwards; }
  @keyframes like-fade { 0%, 70% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
}
@media (min-width: 1024px) {
  .reels { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- FAQ: rounded cards ---------- */
.faq { background: var(--surface); }
.faq .container { max-width: 820px; }
.faq-list { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--wall); border-radius: var(--radius); transition: background-color .25s; }
.faq details[open] { background: var(--sand); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i {
  width: 34px; height: 34px; padding: 8px; flex: none; border-radius: 999px;
  background: var(--surface); color: var(--wood); transition: transform .3s var(--ease);
}
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-soft); max-width: 62ch; }
.faq details p a { color: var(--sage-ink); border-bottom: 1px solid currentColor; font-weight: 600; }
.faq-cta { margin-top: 28px; text-align: center; color: var(--ink-soft); }
.faq-cta .text-link { margin-inline-start: 6px; }
@media (min-width: 1024px) {
  .faq .container { max-width: 1240px; display: grid; grid-template-columns: 1fr 1.6fr; grid-template-rows: auto 1fr; gap: 0 72px; align-items: start; }
  .faq h2 { position: sticky; top: calc(var(--header-h) + 32px); }
  .faq-list { margin-top: 0; grid-column: 2; grid-row: 1 / span 2; }
  .faq-cta { grid-column: 1; text-align: start; margin-top: 18px; }
}

/* ---------- Visit ---------- */
.visit .grid { display: grid; gap: 48px; }
.address { display: flex; align-items: center; gap: 8px; font-size: clamp(18px, 2.2vw, 21px); font-weight: 600; color: var(--ink); margin-top: 16px; }
.address .i { width: 22px; height: 22px; flex: none; color: var(--sage); }
.visit .note { color: var(--ink-soft); margin-top: 12px; }
.visit .nav-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.visit .nav-btns .btn { min-height: 48px; padding-inline: 22px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 12px 28px; margin-top: 18px; }
.hours dt { font-weight: 600; }
.hours dd { color: var(--ink-soft); }
.hours-note { color: var(--ink-soft); font-size: 15px; margin-top: 14px; }
.contact-list { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 4px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; padding-block: 8px; font-weight: 500; }
.contact-list a:hover { color: var(--sage-ink); }
.contact-list .i { width: 22px; height: 22px; color: var(--sage); }
.label { font-size: 15px; font-weight: 600; color: var(--sage-ink); }
@media (min-width: 1024px) { .visit .grid { grid-template-columns: 1.2fr 1fr; gap: 96px; } }

/* ---------- Closing ---------- */
.closing { text-align: center; background: var(--sand); }
.closing h2 { font-size: clamp(42px, 9vw, 84px); }
.closing p { color: var(--ink-soft); margin: 14px auto 0; max-width: 46ch; }
.closing .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px; font-size: 15px; color: var(--ink-soft); }
.site-footer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; }
.site-footer .wordmark { color: var(--ink); }
.site-footer .wordmark .logo { height: 76px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer nav a, .site-footer p a { display: inline-block; padding-block: 10px; }
.site-footer nav a:hover { color: var(--ink); }

/* ---------- Floating WhatsApp / Instagram buttons ---------- */
.fab {
  position: fixed; z-index: 25; inset-inline-end: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; gap: 10px;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.fab.is-managed:not(.is-visible) { opacity: 0; transform: translateY(12px); visibility: hidden; pointer-events: none; }
.fab-btn {
  width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center;
  box-shadow: 0 10px 28px -10px rgb(20 21 18 / .45);
  transition: transform .2s var(--ease);
}
.fab-btn:active { transform: scale(.94); }
.fab-btn .i { width: 26px; height: 26px; }
.fab-wa { background: var(--sage-ink); color: #fff; }
.fab-ig { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 10px 28px -10px rgb(20 21 18 / .35); }
@media (max-width: 767.98px) { .site-footer { padding-bottom: 140px; } }
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }

/* ---------- Trial invitation (slides up from the bottom; above the floating buttons, below the menu) ---------- */
.invite {
  position: fixed; z-index: 35; inset-inline: 12px; bottom: max(12px, env(safe-area-inset-bottom)); max-width: 420px; margin-inline: auto;
  padding: 14px 22px 20px; color: var(--ink); border-radius: var(--radius);
  /* Studio still under a cream veil so the text stays readable */
  background: linear-gradient(180deg, rgb(246 243 240 / .80) 0%, rgb(246 243 240 / .45) 100%), url(assets/img/invite-bg.webp) 30% 45% / cover no-repeat, var(--surface);
  box-shadow: 0 0 0 1px var(--line), 0 28px 60px -24px rgb(34 35 31 / .5);
  transform: translateY(calc(100% + 32px));
}
.invite.show { transform: none; }
@media (prefers-reduced-motion: no-preference) { .invite { transition: transform .55s var(--ease); } }
.invite-grip { display: block; width: 44px; height: 4px; border-radius: 999px; background: var(--line); margin: 0 auto 14px; }
.invite-x {
  position: absolute; top: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border: 0; border-radius: 999px;
  display: grid; place-items: center; background: rgb(34 35 31 / .06); color: var(--ink); cursor: pointer;
}
.invite-x .i { width: 18px; height: 18px; }
.invite h2 { font-size: 26px; line-height: 1.15; padding-inline: 44px; text-align: center; }
.invite p { color: var(--ink-soft); margin-top: 8px; text-align: center; text-wrap: balance; }
.invite .btn { width: 100%; margin-top: 16px; }
.invite-wa { display: block; width: fit-content; margin: 12px auto 0; font-size: 15px; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
@keyframes snake-draw { from { stroke-dashoffset: var(--len, 0); } to { stroke-dashoffset: 0; } }
@keyframes steps-light { from { opacity: .12; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  /* Steps: the snake draws itself, then the three steps rise one after another */
  .js .steps-wrap.reveal { opacity: 1; transform: none; }
  .js .steps-snake path { stroke-dasharray: var(--len, 0) var(--len, 0); transition: stroke-dashoffset 1.6s var(--ease); }
  .js .steps-wrap:not(.in) .steps-snake path { stroke-dashoffset: var(--len, 0); }
  .js .steps li { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .steps-wrap.in li { opacity: 1; transform: none; }
  .js .steps-wrap.in li:nth-child(1) { transition-delay: .2s; }
  .js .steps-wrap.in li:nth-child(2) { transition-delay: .7s; }
  .js .steps-wrap.in li:nth-child(3) { transition-delay: 1.2s; }
  /* Where scroll-driven animation is supported, the snake draws with the scroll (and back), lighting each step as it arrives */
  @supports (animation-timeline: view()) {
    .js .steps-wrap { view-timeline: --steps block; }
    .js .steps-snake path { transition: none; animation: snake-draw linear both; animation-timeline: --steps; animation-range: entry 10% cover 50%; }
    .js .steps li { transition: none; animation: steps-light linear both; animation-timeline: --steps; }
    .js .steps li:nth-child(1) { animation-range: entry 12% cover 22%; }
    .js .steps li:nth-child(2) { animation-range: cover 22% cover 36%; }
    .js .steps li:nth-child(3) { animation-range: cover 36% cover 50%; }
  }
}

/* ---------- Legal pages ---------- */
.legal { padding-top: calc(var(--header-h) + 48px); padding-bottom: 80px; }
.legal .container { max-width: 760px; }
.legal h1 { font-family: var(--display); font-weight: 300; font-size: clamp(38px, 7vw, 56px); line-height: 1.1; }
.legal h2 { font-size: 28px; margin-top: 40px; margin-bottom: 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-inline-start: 22px; display: grid; gap: 6px; }
.legal .updated { margin-top: 10px; font-size: 15px; }
.legal a:not(.btn) { color: var(--sage-ink); border-bottom: 1px solid currentColor; }
.legal .btn { margin-top: 28px; }
.draft-banner {
  margin-top: 24px; padding: 16px 20px; border-radius: 16px;
  background: #f3e9d2; color: #5a4512; font-weight: 600;
}
.todo { background: #f3e9d2; color: #5a4512; padding-inline: 4px; border-radius: 4px; }
.page-header { position: absolute; color: var(--ink); }

/* ---------- Accessibility menu: floating button at the inline-start bottom (the WhatsApp/Instagram stack is on the other side) ---------- */
.a11y { position: fixed; z-index: 29; inset-inline-start: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
.a11y-toggle {
  width: 48px; height: 48px; border: 0; border-radius: 999px; display: grid; place-items: center; cursor: pointer;
  background: var(--sage-ink); color: #fff; box-shadow: 0 10px 28px -10px rgb(20 21 18 / .45);
  transition: transform .2s var(--ease);
}
.a11y-toggle:active { transform: scale(.94); }
.a11y-toggle .i { width: 28px; height: 28px; }
/* Double ring (light, then dark) so the focus mark shows over both the hero video and the pale sections */
.a11y-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 2px #fff, 0 10px 28px -10px rgb(20 21 18 / .45); }
.a11y-panel {
  position: absolute; inset-inline-start: 0; bottom: calc(100% + 10px);
  width: min(300px, calc(100vw - 32px)); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain;
  display: grid; gap: 8px; padding: 16px; color: var(--ink);
  background: var(--surface); border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -24px rgb(20 21 18 / .5);
}
.a11y-panel[hidden] { display: none; }
.a11y-title { font-weight: 600; font-size: 18px; padding-inline: 6px; }
.a11y-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px;
  padding-inline: 20px; border: 0; border-radius: 999px; cursor: pointer; text-align: start;
  font-weight: 600; font-size: 16px; background: var(--wall); color: var(--ink);
  transition: background-color .2s, color .2s;
}
/* Ring when off, ticked disc when on, so the state does not rely on colour alone */
.a11y-opt::after {
  content: ""; width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-size: 14px; line-height: 1; box-shadow: inset 0 0 0 2px currentColor;
}
.a11y-opt[aria-pressed="true"] { background: var(--sage-ink); color: #fff; }
.a11y-opt[aria-pressed="true"]::after { content: "\2713"; background: #fff; color: var(--sage-ink); box-shadow: none; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 6px; margin-top: 4px; }
.a11y-reset {
  min-height: 44px; padding-inline: 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; box-shadow: inset 0 0 0 1px currentColor; font-weight: 600; font-size: 15px;
}
.a11y-reset:hover { background: rgb(34 35 31 / .05); }

/* ---------- Accessibility modes: classes on <html>, switched in the menu (see main.js) ---------- */
/* Stop motion: everything that moves on its own stops and content shows at once (videos are paused in main.js). */
.a11y-still, .a11y-still *, .a11y-still *::before, .a11y-still *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
.a11y-still .marquee-track { animation: none; }
.a11y-still .rise, .a11y-still .reveal, .a11y-still .steps li { opacity: 1; transform: none; }
.a11y-still .steps-snake path { stroke-dashoffset: 0 !important; }

/* High contrast: body text in full ink, darker sage, white surfaces, firmer lines, darker overlays under white text */
:root.a11y-contrast {
  --ink-soft: var(--ink);
  --sage: #3a4a36;
  --sage-ink: #2a3627;
  --wood: #6b4f3a;
  --surface: #fff;
  --line: rgb(34 35 31 / .45);
}
.a11y-contrast :focus-visible { outline-width: 3px; }
.a11y-contrast .tile::before { background: linear-gradient(to top, rgb(20 21 18 / .95), rgb(20 21 18 / .75) 55%, rgb(20 21 18 / .4)); }
@media (max-width: 1023.98px) {
  .a11y-contrast .hero-media::after {
    background:
      linear-gradient(rgb(20 21 18 / .5), rgb(20 21 18 / .5)),
      linear-gradient(to top, rgb(20 21 18 / .92) 12%, rgb(20 21 18 / .65) 55%, transparent 80%);
  }
}

/* Highlight links: underline every link in the content and the footer (links that already have a rule get a thicker one) */
.a11y-links main a, .a11y-links .site-footer a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.a11y-links .text-link, .a11y-links .faq details p a, .a11y-links .legal a:not(.btn) { text-decoration: none; border-bottom-width: 2px; }

/* Plain font: the display serif becomes the body sans */
:root.a11y-plain { --display: var(--body); }
