/* ==========================================================================
   Mindful Nest — Yoga · Aerial · Pilates studio
   --------------------------------------------------------------------------
   Art direction: "Nest" — light, warm and quiet. Warm white, beige and brown
   with the studio's RAL 5019 / RAL 5021 blues; a light serif for headings,
   flowing lines from the logo's nest as the brand pattern.

   1. Fonts (self-hosted)        11. Programs
   2. Design tokens              12. The space
   3. Reset & base               13. Schedule (light section)
   4. Layout helpers             14. Coaches
   5. Typography                 15. Memberships
   6. Buttons, links, icons      16. Reviews
   7. Header & mobile menu       17. FAQ
   8. Hero                       18. Contact & form
   9. Marquee                    19. Footer
   10. Manifesto                 20. Motion · 21. Reduced motion
   ========================================================================== */


/* 1. FONTS ---------------------------------------------------------------
   Self-hosted (GDPR-friendly: no visitor IP is sent to Google).
   Variable fonts, only Greek + Latin subsets — ~205 KB in total.        */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/noto-serif-display-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/noto-serif-display-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: 'Noto Serif Display';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-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: 'Commissioner';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/commissioner-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/commissioner-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;
}


/* 2. DESIGN TOKENS -------------------------------------------------------- */
:root {
  /* Colour — warm and light: white, beige, brown + the studio's blues */
  --c-bg: #faf6f0;        /* warm white */
  --c-bg-2: #f5efe6;
  --c-surface: #f1e9dd;   /* beige */
  --c-surface-2: #e9dfd0;
  --c-surface-3: #ddcfbb;
  --c-line: rgb(61 42 33 / .12);
  --c-line-2: rgb(61 42 33 / .2);
  --c-line-3: rgb(61 42 33 / .34);
  --c-text: #3d2a21;      /* deep brown — 12.6:1 on --c-bg */
  --c-text-2: #66503f;    /*  7.0:1 */
  --c-text-3: #7c6554;    /*  4.9:1 — smallest text allowed */
  --c-text-4: #a28c7b;    /*  3.0:1 — large display text only */
  --c-danger: #b23a32;    /* functional colour for form errors only */
  --c-brown: #6b4a3a;     /* the logo's brown — also the «Δωρεάν δοκιμή» button (7.9:1 with white) */
  --c-brown-hover: #573b2e;
  --c-coral: #ee6b67;     /* from the logo — used sparingly */

  /* Buttons and selected controls: brown-beige (4.7:1 with white) */
  --c-action: #87705b;
  --c-action-hover: #715c49;

  /* RAL 5019 Capri blue = the featured package and the Reformer artwork ·
     RAL 5021 Water blue = highlights */
  --c-accent: #1b5583;
  --c-accent-2: #256d7b;

  /* Beige bands (timetable, footer) */
  --c-paper: #efe5d6;
  --c-paper-2: #e4d7c4;
  --c-ink: #3d2a21;
  --c-ink-2: #66503f;
  --c-ink-line: rgb(61 42 33 / .14);

  /* Header bar once the page scrolls (transparent over the hero video before that):
     matte, opaque light brown-beige with white type and logo; also the mobile menu.
     3.2:1 with white (nav set in 600 weight to stay crisp) — lighter than this and the
     white type starts to fade into the bar. */
  --c-header: #a38c74;

  /* Media treatment for photos — e.g. `grayscale(1)` for a monochrome look */
  --media-filter: none;

  /* Type */
  --font-display: 'Noto Serif Display', Georgia, 'Times New Roman', serif;
  --fw-display: 300;
  --font-sans: 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h2: clamp(2.5rem, 1.5rem + 3.4vw, 5rem);
  --fs-h3: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);
  --fs-statement: clamp(1.625rem, .9rem + 2.5vw, 3.375rem); /* manifesto, full width */
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-sm: .875rem;
  --fs-xs: .75rem;

  /* Space & layout */
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --container: 90rem;
  --grid-gap: clamp(1rem, 2vw, 1.5rem);
  --section-y: clamp(6rem, 4rem + 8vw, 11rem);
  --header-h: 4rem;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-ctl: 0px; /* buttons, chips, tabs, toggles, inputs — square by design (6px softens them) */

  /* Motion — no default `ease`; everything decelerates like a real mass */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.32, .72, 0, 1);

  /* Layers */
  --z-menu: 55;
  --z-header: 60;
  --z-grain: 70;

  interpolate-size: allow-keywords; /* lets <details> animate to height:auto */
}
@media (min-width: 960px) { :root { --header-h: 4.5rem; } } /* full-width bar gets a little more presence */


/* 3. RESET & BASE --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h); /* in-page links land flush under the bar */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Film grain — fixed, non-interactive, painted once */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
/* :where() keeps specificity at 0 so component classes can set their own margins */
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

::selection { background: var(--c-text); color: var(--c-bg); }

:focus-visible {
  outline: 2px solid var(--c-text);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-ctl);
  background: var(--c-action);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { display: none; }

html.menu-open { overflow: hidden; }


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

.section {
  position: relative;
  padding-block: var(--section-y);
}

/* Top-bar destinations (Μαθήματα … Επικοινωνία): each starts on a hairline and fills at least
   a full screen under the bar, so a click lands on that section alone — nothing of the one
   before or after shows. lvh = the screen with the mobile URL bar collapsed (its largest). */
.chapter {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100lvh - var(--header-h));
  border-top: 1px solid var(--c-line);
}

.grid-12 { display: grid; gap: 2.5rem var(--grid-gap); }
@media (min-width: 960px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* Standard section header: title + lead aligned on a 12-col grid */
.section-head { display: grid; gap: 1.5rem; }
.section-head__lead { max-width: 30rem; }
@media (min-width: 960px) {
  .section-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
    row-gap: 2rem;
    align-items: end;
  }
  .section-head__title { grid-column: 1 / span 8; }
  .section-head__lead { grid-column: 9 / -1; justify-self: end; }
}


/* 5. TYPOGRAPHY ----------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  line-height: 1.06;
  letter-spacing: -.012em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
/* Second half of a heading: italic Water blue */
.display .muted { font-style: italic; color: var(--c-accent-2); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--c-text-2);
  text-wrap: pretty;
}


/* 6. BUTTONS, LINKS, ICONS ------------------------------------------------ */
.i {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  --btn-h: 3.25rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .875rem;
  height: var(--btn-h);
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-ctl);
  font: 500 .9375rem/1 var(--font-sans);
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color .35s var(--ease-out),
    color .35s var(--ease-out),
    border-color .35s var(--ease-out),
    transform .45s var(--ease-spring);
}
.btn:active { transform: scale(.97); }

/* "Button-in-button" trailing icon */
.btn__icon {
  display: grid;
  place-items: center;
  width: calc(var(--btn-h) - .625rem);
  height: calc(var(--btn-h) - .625rem);
  margin-right: -1.1875rem;
  border-radius: var(--radius-ctl);
  transition: transform .5s var(--ease-spring), background-color .35s var(--ease-out);
}
/* Square controls: rotate the glyph, never the box (a rotated square reads as a diamond). */
.btn__icon .i { width: 1rem; height: 1rem; stroke-width: 1.75; transition: transform .5s var(--ease-spring); }
.btn:hover .btn__icon { transform: translateX(.125rem); }
.btn:hover .btn__icon .i { transform: rotate(-45deg); }

.btn--primary { background: var(--c-action); color: #fff; }
.btn--primary .btn__icon { background: #fff; color: var(--c-action); }
.btn--primary:hover { background: var(--c-action-hover); }

/* «Δωρεάν δοκιμή» — the same brown on the landing, in the top bar and in the mobile menu */
.btn--brown { background: var(--c-brown); color: #fff; }
.btn--brown .btn__icon { background: #fff; color: var(--c-brown); }
.btn--brown:hover { background: var(--c-brown-hover); }

.btn--ghost { color: var(--c-text); border-color: var(--c-line-3); }
.btn--ghost:hover { background: rgb(61 42 33 / .05); border-color: var(--c-text); }

.btn--dark { background: var(--c-ink); color: var(--c-paper); }
.btn--dark .btn__icon { background: var(--c-paper); color: var(--c-ink); }
.btn--dark:hover { background: #57412f; }

/* White button for blue surfaces (featured package, mobile menu) */
.btn--light { background: #fff; color: var(--c-action); }
.btn--light .btn__icon { background: var(--c-action); color: #fff; }
.btn--light:hover { background: var(--c-paper); }

.btn--outline-dark { color: var(--c-ink); border-color: rgb(0 0 0 / .28); }
.btn--outline-dark:hover { background: rgb(0 0 0 / .06); }

.btn--sm { --btn-h: 2.5rem; padding: 0 1.125rem; font-size: .8125rem; }
.btn--sm .btn__icon { margin-right: -.8125rem; }
.btn--block { width: 100%; justify-content: space-between; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-block: .25rem;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-text);
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-arrow .i { width: 1rem; height: 1rem; transition: transform .45s var(--ease-spring); }
.link-arrow:hover { background-size: 0 1px; background-position: right bottom; }
.link-arrow:hover .i { transform: translateX(.25rem); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-ctl);
  border: 1px solid var(--c-line-2);
  background: transparent;
  color: var(--c-text);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s, opacity .3s;
}
.icon-btn:hover:not(:disabled) { background: var(--c-action); color: #fff; border-color: var(--c-action); }
.icon-btn:disabled { opacity: .3; cursor: default; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li {
  padding: .375rem .75rem;
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-ctl);
  font-size: .75rem;
  color: var(--c-text-2);
  white-space: nowrap;
}

.mono { filter: var(--media-filter); }

/* Open/closed status pill */
.status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 500;
  color: var(--c-text-2);
  white-space: nowrap;
}
.status__dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--c-text-4);
}
.status.is-open .status__dot { background: var(--c-text); animation: pulse 2.6s var(--ease-out) infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(255 255 255 / .5); }
  70%, 100% { box-shadow: 0 0 0 .5rem rgb(255 255 255 / 0); }
}

/* Brand artwork: the logo's flowing nest lines + a line icon on a palette colour.
   Stands in for photos until the studio's own arrive (swap the .art for an <img>). */
.art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--art-bg, var(--c-accent));
  color: var(--art-ink, #fff);
}
.art__waves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .26; }
.art__icon {
  position: relative;
  width: min(38%, 11rem);
  height: auto;
  aspect-ratio: 1;
  fill: none;
  stroke: currentColor;
  stroke-width: .32; /* the icon grid is 24 units: ≈2px lines at this size */
  stroke-linecap: round;
  stroke-linejoin: round;
}
.art--aerial { --art-bg: var(--c-accent-2); }
.art--mat { --art-bg: var(--c-surface-2); --art-ink: var(--c-brown); }
.art--reformer { --art-bg: var(--c-accent); }
.art--yoga { --art-bg: var(--c-brown); --art-ink: var(--c-paper); }
.art--kids { --art-bg: #f6efe5; --art-ink: var(--c-coral); }
.art--paper { --art-bg: var(--c-paper); --art-ink: var(--c-brown); }
.art--paper .art__waves { opacity: .4; }

/* Video play/pause switch — one page-wide state (html.videos-off), see main.js */
.video-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 2.25rem;
  padding: 0 .875rem 0 .625rem;
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-ctl);
  background: rgb(10 10 11 / .55);
  color: var(--c-text);
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.video-toggle:hover { background: rgb(10 10 11 / .8); border-color: var(--c-line-3); }
.video-toggle .i { width: .875rem; height: .875rem; }
.video-toggle .i-play, .videos-off .video-toggle .i-pause { display: none; }
.videos-off .video-toggle .i-play { display: block; }
.video-toggle--icon { width: 2.25rem; padding: 0; }


/* 7. HEADER & MOBILE MENU ------------------------------------------------- */
/* Full-width top bar; its content lines up with the page container */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: max(var(--gutter), (100% - var(--container)) / 2);
  border-bottom: 1px solid transparent;
  color: #fff; /* pure white in both states: it must read over moving footage */
  transition:
    background-color .5s var(--ease-out),
    border-color .5s var(--ease-out);
}
/* Over the video: a soft shadow keeps white type legible on bright frames */
.site-header:not(.is-scrolled) .nav a { text-shadow: 0 1px 14px rgb(0 0 0 / .45); }
.site-header:not(.is-scrolled) .brand__logo { filter: drop-shadow(0 1px 10px rgb(0 0 0 / .35)); }
/* Transparent on landing (the hero video plays behind it); from the first scroll
   on it turns flat, matte dark beige (no blur, no shadow) and stays put */
.site-header.is-scrolled {
  background: var(--c-header);
  border-bottom-color: rgb(255 255 255 / .14);
}
.menu-open .site-header { background: transparent; border-bottom-color: transparent; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: inherit;
}
.brand__logo { display: block; width: auto; height: 3rem; }
@media (min-width: 960px) { .brand__logo { height: 3.5rem; } }

.nav { display: none; margin-inline: auto; gap: 2rem; }
.nav a {
  position: relative;
  padding-block: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: .125rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
/* Links are already white, so the underline carries hover and the active section */
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 1100px) { .nav { display: flex; } }

.header__actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
@media (min-width: 1100px) { .header__actions { margin-left: 0; } }
.header__cta { display: none; gap: .625rem; color: #fff; border-color: rgb(255 255 255 / .55); }
.header__cta:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.header__cta .i, .menu__foot .btn--ghost .i { width: 1.125rem; height: 1.125rem; }
.menu__foot .btn--ghost { justify-content: center; gap: .625rem; }
@media (min-width: 600px) { .header__cta { display: inline-flex; } }

/* «Δωρεάν δοκιμή» in the bar, right of the login: takes over once the landing's button has
   scrolled away (.has-trial, set by main.js). Hidden with visibility, not display, so its slot
   is always reserved and the nav never moves. On the landing the login button stands in that
   slot (--trial-slot = its width + gap, measured by main.js) and slides left when it arrives. */
.js:not(.reveal-all) .site-header:not(.has-trial) .header__cta { transform: translateX(var(--trial-slot, 0px)); }
.header__cta { transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), transform .7s var(--ease-spring); }
.js .header__trial {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-.375rem);
  transition: opacity .35s var(--ease-out), transform .6s var(--ease-spring), visibility 0s linear .6s;
}
.js .has-trial .header__trial {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease-out), transform .7s var(--ease-spring), visibility 0s;
}
/* The open mobile menu carries its own button */
.menu-open .has-trial .header__trial { visibility: hidden; opacity: 0; transition: none; }
.reveal-all .header__trial { visibility: visible; opacity: 1; transform: none; }

.menu-toggle {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-ctl);
  border: 1px solid rgb(255 255 255 / .4);
  background: transparent;
  color: inherit;
}
.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.125rem;
  height: 1.5px;
  margin-left: -.5625rem;
  background: currentColor;
  transition: transform .55s var(--ease-spring);
}
.menu-toggle span:first-child { transform: translateY(-3.5px); }
.menu-toggle span:last-child { transform: translateY(3.5px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
@media (min-width: 1100px) { .menu-toggle { display: none; } }

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(var(--header-h) + 3rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--c-header);
  color: #fff;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.menu.is-open { opacity: 1; }
.menu__nav ol { counter-reset: none; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: .25rem;
  overflow: hidden;
  text-decoration: none;
}
.menu__label {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(2.25rem, 9vw, 4rem);
  line-height: 1.1;
  transform: translateY(110%);
  transition: transform .8s var(--ease-out) var(--d, 0s), color .3s;
}
.menu__nav a:hover .menu__label { color: rgb(255 255 255 / .7); }
.menu.is-open .menu__label { transform: none; }
.menu__foot {
  display: grid;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .6s var(--ease-out) .35s, transform .8s var(--ease-out) .35s;
}
.menu.is-open .menu__foot { opacity: 1; transform: none; }
/* The menu shares the bar's dark beige: plain white type (any transparency would drop it
   below 4.5:1 on this background), white outline button, the brown trial button */
.menu__contact { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9375rem; color: #fff; }
.menu .btn--ghost { color: #fff; border-color: rgb(255 255 255 / .6); }
.menu .btn--ghost:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.menu .status { color: #fff; }
.menu .status__dot { background: rgb(255 255 255 / .45); }
.menu .status.is-open .status__dot { background: #fff; }
.menu :focus-visible { outline-color: #fff; }
.menu__contact a { text-decoration: none; }


/* 8. HERO ----------------------------------------------------------------- */
/* The landing is exactly one screen: the video fills everything above the disciplines
   strip (which keeps its own solid band, never over the footage), with one centred CTA.
   Horizontal footage fills every screen: the 16:9 file on landscape screens, a centre
   9:16 slice of it on portrait ones. */
.hero {
  display: flex;
  flex-direction: column;
  min-height: max(100svh, 34rem);
  background: var(--c-bg);
}
.hero__stage {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  /* Dark, warm frame: the footage opens out of it, and the white top bar stays
     legible during the entrance (the page itself is light) */
  background: #2a1f19;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #2a1f19; }
.hero__bg img,
.hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Very wide screens trim a little top/bottom: keep the trim mostly below her face */
@media (orientation: landscape) {
  .hero__bg img, .hero__bg video { object-position: 50% 30%; }
}
/* The poster is the first frame; the video fades in only once it really plays */
.hero__video { opacity: 0; transition: opacity .9s var(--ease-out); }
.hero__video.is-ready { opacity: 1; }
/* A light band up top for the nav, a soft floor under the CTA */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(10 10 11 / .55) 0%, rgb(10 10 11 / 0) 18%),
    linear-gradient(0deg, rgb(10 10 11 / .5) 0%, rgb(10 10 11 / 0) 30%);
}
/* Gentle parallax: the footage drifts slower than the page while the hero scrolls away */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg img, .hero__bg video { translate: 0 calc(var(--p, 0) * 22%); }
}

.hero__cta { display: flex; justify-content: center; padding: 0 var(--gutter) clamp(1.75rem, 5svh, 3.25rem); }
.hero__cta .btn { --btn-h: 3.5rem; padding-inline: 1.75rem; font-size: 1rem; }

/* Pause switch (WCAG 2.2.2): kept for keyboard users, only drawn while focused */
.hero__toggle { position: absolute; z-index: 1; top: calc(var(--header-h) + 1.25rem); right: var(--gutter); }
.hero__toggle:not(:focus-visible) {
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}


/* 9. MARQUEE -------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding-block: clamp(1.25rem, 2.2vw, 2rem);
  border-block: 1px solid var(--c-line);
  user-select: none;
}
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-right: clamp(1.5rem, 3vw, 3rem); }
.marquee__item {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem);
  line-height: 1.1;
  white-space: nowrap;
}
.marquee__item--alt { font-style: italic; color: var(--c-accent-2); }
/* Explicit square size: an <svg> without a viewBox would default to 150px tall and inflate the strip */
.marquee__sep { --sep: clamp(.875rem, 1.4vw, 1.375rem); width: var(--sep); height: var(--sep); color: var(--c-accent-2); }
@keyframes marquee { to { transform: translateX(-50%); } }


/* 10. MANIFESTO ----------------------------------------------------------- */
/* The page's one Water-blue band (RAL 5021, the marquee's italic colour): white type
   only (5.9:1). A small dictionary entry on top, the statement across the full width. */
.manifesto { background: var(--c-accent-2); color: #fff; }
.manifesto ::selection { background: #fff; color: var(--c-accent-2); }

.lexicon {
  display: grid;
  gap: .375rem 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgb(255 255 255 / .3);
}
.lexicon__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .875rem; }
.lexicon__word { font-family: var(--font-display); font-weight: var(--fw-display); font-style: italic; font-size: 1.375rem; line-height: 1.2; }
.lexicon__meta { font-size: .75rem; letter-spacing: .06em; }
.lexicon__def { max-width: 46rem; font-size: .875rem; line-height: 1.55; }

.statement {
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  font-family: var(--font-display);
  font-size: var(--fs-statement);
  font-weight: var(--fw-display);
  line-height: 1.22;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
/* Scroll-linked reading highlight: --p (0→1) is set by JS, --i / --n per word */
.statement .w { opacity: calc(.3 + .7 * clamp(0, (var(--p, 0) * (var(--n) + 3) - var(--i)) / 3, 1)); }

@media (min-width: 960px) {
  /* one quiet line: word · pronunciation | definition */
  .lexicon { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; }
}


/* 11. PROGRAMS ------------------------------------------------------------ */
.programs__layout { display: grid; gap: 3rem; margin-top: clamp(3rem, 6vw, 5rem); }
.programs__aside { display: none; }

.programs__list { border-top: 1px solid var(--c-line); }
.program { border-bottom: 1px solid var(--c-line); }
.program__trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 0;
  border: 0;
  background: none;
  text-align: left;
}
.program__title {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.25rem);
  line-height: 1.1;
  color: var(--c-text-4);
  transition: color .45s var(--ease-out), transform .6s var(--ease-out);
}
.program.is-active .program__title, .program__trigger:hover .program__title { color: var(--c-text); }
.program__trigger:hover .program__title { transform: translateX(.375rem); }
.program__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-ctl);
  transition: background-color .3s, color .3s, border-color .3s;
}
.program__icon .i { width: 1rem; height: 1rem; transition: transform .6s var(--ease-spring); }
.program.is-open .program__icon { background: var(--c-action); color: #fff; border-color: var(--c-action); }
.program.is-open .program__icon .i { transform: rotate(45deg); }

.program__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .65s var(--ease-out); }
.program.is-open .program__panel { grid-template-rows: 1fr; }
.program__panel > div { overflow: hidden; }
.program__body { display: grid; gap: 1.25rem; padding: 0 0 2rem; max-width: 36rem; }
.program__body p { color: var(--c-text-2); }
.program__art { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); } /* works as <div class="art …"> or <img> */

@media (min-width: 960px) {
  .programs__layout { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: start; }
  /* After the list in the DOM (the video switch comes right after the programs when
     tabbing), placed in the left column by the grid */
  .programs__aside {
    position: sticky;
    top: 6.5rem;
    grid-column: 1 / span 5;
    grid-row: 1;
    display: block;
  }
  .programs__media {
    position: relative;
    height: min(76vh, 46rem);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--c-surface);
  }
  .programs__media :is(img, video, .art) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity .8s var(--ease-out), transform 1.4s var(--ease-out);
  }
  .programs__media .is-active { opacity: 1; transform: none; }
  .programs__list { grid-column: 7 / -1; grid-row: 1; }
  .program__art { display: none; }
}


/* 12. THE SPACE ----------------------------------------------------------- */
/* Cover: the nest lines are the whole background, exactly one screen under the top bar
   (that is where «Ο χώρος» in the nav lands), with the words in a clearing at the centre */
.space { padding-top: 0; }
.space__cover {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  text-align: center;
}
.space__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.08 - .08 * var(--p, 1))); /* settles as the cover arrives */
}
/* The lines thin out behind the words, like a nest around its centre */
.space__bg .art__waves {
  -webkit-mask-image: radial-gradient(ellipse 50% 42% at 50% 50%, rgb(0 0 0 / .18) 20%, #000 100%);
  mask-image: radial-gradient(ellipse 50% 42% at 50% 50%, rgb(0 0 0 / .18) 20%, #000 100%);
}
.space__cover-text { padding-block: clamp(4rem, 10svh, 7rem); }
.space__cover-text .h2 { max-width: 18ch; margin-inline: auto; font-size: clamp(2.75rem, 1.4rem + 4.4vw, 6rem); }
.space__cover-text .h2 .muted { display: block; } /* the italic half gets its own line */
.space__cover-text .lead { max-width: 30rem; margin: 1.75rem auto 0; }

.space__body { display: grid; gap: 3rem; margin-top: var(--section-y); }
.space__aside :is(img, .art) { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius-lg); }
.space__intro { margin-bottom: 1rem; }
.space__intro .h3 { max-width: 14ch; }
.space__intro p { margin-top: 1.25rem; max-width: 34rem; }

.facilities { display: grid; column-gap: 2.5rem; }
.facility { padding: 1.75rem 0 2rem; border-top: 1px solid var(--c-line); }
.facility .i { width: 1.75rem; height: 1.75rem; stroke-width: 1.25; }
.facility h4 { margin: 1.25rem 0 .5rem; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.facility p { font-size: .9375rem; line-height: 1.55; color: var(--c-text-2); }

@media (min-width: 600px) {
  .facilities { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .space__body { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: start; }
  .space__aside { grid-column: 1 / span 5; position: sticky; top: 6.5rem; }
  .space__content { grid-column: 7 / -1; }
}


/* 13. SCHEDULE (light section) ------------------------------------------- */
.on-light { background: var(--c-paper); color: var(--c-ink); }
.on-light .lead { color: var(--c-ink-2); }
.on-light :focus-visible { outline-color: var(--c-ink); }
.on-light ::selection { background: var(--c-ink); color: var(--c-paper); }

.sched__controls { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.days {
  display: flex;
  gap: .375rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) .25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.days::-webkit-scrollbar { display: none; }
.day {
  flex: 0 0 auto;
  display: grid;
  gap: .25rem;
  min-width: 4.5rem;
  padding: .75rem .875rem .625rem;
  border: 1px solid var(--c-ink-line);
  border-radius: var(--radius-ctl);
  background: transparent;
  text-align: center;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s;
}
.day:hover { border-color: var(--c-line-3); }
.day__name { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.day__date { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 1.875rem; line-height: 1; font-variant-numeric: tabular-nums; }
.day[aria-selected="true"] { background: var(--c-action); color: #fff; border-color: var(--c-action); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  height: 2.375rem;
  padding: 0 1rem;
  border: 1px solid var(--c-ink-line);
  border-radius: var(--radius-ctl);
  background: transparent;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--c-ink-2);
  transition: background-color .3s var(--ease-out), color .3s, border-color .3s;
}
.chip:hover { border-color: var(--c-line-3); color: var(--c-ink); }
.chip[aria-pressed="true"] { background: var(--c-accent-2); color: #fff; border-color: var(--c-accent-2); }

.sched__summary { margin-top: 2rem; font-size: .8125rem; color: var(--c-ink-2); }
.sched__list { margin-top: .75rem; border-top: 1px solid var(--c-ink); }
.sched__row {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-ink-line);
}
.sched__row.is-past { opacity: .42; }
.sched__time strong {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sched__time span { font-size: .75rem; color: var(--c-ink-2); }
.sched__name { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.sched__meta { margin-top: .25rem; font-size: .8125rem; color: var(--c-ink-2); }
.sched__coach, .sched__spots { display: none; }
.sched__done { font-size: .75rem; font-weight: 500; color: var(--c-ink-2); }
.spots { display: block; width: 100%; max-width: 7rem; height: 3px; border-radius: 3px; background: var(--c-ink-line); overflow: hidden; }
.spots i { display: block; height: 100%; width: calc(var(--fill) * 100%); background: var(--c-ink); }
.sched__empty {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 3rem 0;
  color: var(--c-ink-2);
  text-align: center;
  border-bottom: 1px solid var(--c-ink-line);
}

@media (min-width: 960px) {
  .days { margin: 0; padding: 0; }
  .sched__row { grid-template-columns: 7rem minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1fr) 8.5rem; gap: 1.5rem; padding: 1.5rem 0; }
  .sched__time strong { font-size: 2.5rem; }
  .sched__inline { display: none; }
  .sched__coach { display: block; font-size: .9375rem; }
  .sched__coach span { display: block; font-size: .8125rem; color: var(--c-ink-2); }
  .sched__spots { display: grid; gap: .5rem; font-size: .8125rem; color: var(--c-ink-2); }
  .sched__action { justify-self: end; }
}
@media (min-width: 1280px) {
  .sched__controls { grid-template-columns: auto 1fr; align-items: center; gap: 2rem; }
  .chips { justify-content: flex-end; }
}


/* 14. COACHES ------------------------------------------------------------- */
.coaches__layout { display: grid; gap: 3rem; }
.coaches__intro .lead { margin-top: 1.5rem; }
.coaches__intro .btn { margin-top: 2rem; }
.pt-card {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-top: 3rem;
  padding: .75rem 1.25rem .75rem .75rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}
.pt-card :is(img, .art) { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.pt-card__art .art__icon { width: 56%; stroke-width: .75; }
.pt-card__label { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text-3); }
.pt-card__title { margin-top: .25rem; font-weight: 600; }
.pt-card__price { font-size: .875rem; color: var(--c-text-2); }

.roster { border-top: 1px solid var(--c-line); }
.coach {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--c-line);
}
.coach__avatar {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--c-line-2);
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-surface-2);
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: 1.25rem;
  letter-spacing: .04em;
  color: var(--c-text-2);
}
.coach__avatar img { width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.coach__name {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem);
  line-height: 1.15;
  text-wrap: balance;
  transition: transform .6s var(--ease-out);
}
.coach:hover .coach__name { transform: translateX(.375rem); }
.coach__role { margin-top: .375rem; font-size: .875rem; color: var(--c-text-2); }
.coach__creds { display: none; max-width: 12rem; font-size: .8125rem; color: var(--c-text-3); text-align: right; }
.coach__link { width: 2.75rem; height: 2.75rem; }
.coach__link .i { width: 1rem; height: 1rem; }

@media (min-width: 960px) {
  .coaches__layout { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: start; }
  .coaches__intro { grid-column: 1 / span 5; position: sticky; top: 6.5rem; }
  .roster { grid-column: 7 / -1; }
}
@media (min-width: 1280px) {
  .coach { grid-template-columns: 3.5rem minmax(0, 1fr) auto auto; gap: 1.5rem; }
  .coach__creds { display: block; }
}


/* 15. MEMBERSHIPS --------------------------------------------------------- */
.billing {
  display: inline-flex;
  min-width: 0;
  padding: .25rem;
  margin: 2.5rem 0 0;
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-ctl);
  background: var(--c-surface);
}
.billing__opt { position: relative; }
.billing__opt input { position: absolute; opacity: 0; pointer-events: none; }
.billing__opt span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 2.5rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-ctl);
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-text-2);
  cursor: pointer;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.billing__opt input:checked + span { background: var(--c-action); color: #fff; }
.billing__opt input:focus-visible + span { outline: 2px solid var(--c-text); outline-offset: 2px; }
.billing__save { padding: .125rem .5rem; border-radius: var(--radius-ctl); background: var(--c-surface-3); color: var(--c-text); font-size: .6875rem; font-style: normal; }
.billing__opt input:checked + span .billing__save { background: var(--c-bg); }

.plans { display: grid; gap: 1rem; margin-top: 2.5rem; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  transition: border-color .4s var(--ease-out), transform .6s var(--ease-out);
}
.plan:hover { border-color: var(--c-line-3); }
.plan__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: .375rem .75rem;
  border-radius: var(--radius-ctl);
  background: #fff;
  color: var(--c-accent);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.plan__name { font-size: clamp(2.25rem, 1.8rem + 1vw, 2.75rem); }
.plan__desc { margin-top: .625rem; font-size: .9375rem; color: var(--c-text-2); }
.plan__price { display: flex; align-items: baseline; gap: .375rem; margin-top: 2.25rem; }
.plan__amt {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(4rem, 3rem + 2.6vw, 5.5rem);
  line-height: .9;
  font-variant-numeric: tabular-nums;
  transition: opacity .25s var(--ease-out), transform .45s var(--ease-out);
}
.plan__amt.is-updating { opacity: 0; transform: translateY(.25em); }
.plan__cur { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 2rem; line-height: 1; }
.plan__per { font-size: .875rem; color: var(--c-text-2); }
.plan__note { min-height: 1.25rem; margin-top: .75rem; font-size: .8125rem; color: var(--c-text-3); }
.plan__features {
  display: grid;
  align-content: start;
  gap: .875rem;
  flex: 1;
  margin: 2rem 0 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-line);
}
.plan__features li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .75rem; font-size: .9375rem; line-height: 1.45; }
.plan__features .i { width: 1.125rem; height: 1.125rem; margin-top: .125rem; stroke-width: 2; }

/* Featured package: Capri blue, white type */
.plan--featured { background: var(--c-accent); color: #fff; border-color: transparent; }
.plan--featured:hover { border-color: transparent; }
.plan--featured .plan__desc, .plan--featured .plan__per, .plan--featured .plan__note { color: rgb(255 255 255 / .8); }
.plan--featured .plan__features { border-top-color: rgb(255 255 255 / .22); }
.plan--featured :focus-visible { outline-color: #fff; }

.pricing__extras {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-line);
  font-size: .875rem;
  color: var(--c-text-2);
}
.pricing__perks { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.pricing__perks li { display: inline-flex; align-items: center; gap: .5rem; }
.pricing__perks .i { width: 1rem; height: 1rem; stroke-width: 2; color: var(--c-text); }
.pricing__packs strong { color: var(--c-text); font-weight: 600; }

@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* `translate` (not `transform`) so it doesn't fight the scroll-reveal transform */
  .plan--featured { translate: 0 -.75rem; }
}


/* 16. REVIEWS ------------------------------------------------------------- */
.reviews { background: var(--c-bg-2); overflow: hidden; }
.reviews__head { display: grid; gap: 2rem; align-items: end; }
.rating { display: flex; align-items: center; gap: 1.25rem; }
.rating__score { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 5rem; line-height: .8; }
.rating__stars { display: flex; gap: .125rem; color: var(--c-accent-2); }
.rating__stars .i { width: 1rem; height: 1rem; }
.rating__text { margin-top: .5rem; font-size: .8125rem; color: var(--c-text-2); }

.reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(86%, 27rem);
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 21rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  scroll-snap-align: start;
}
.review blockquote p { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; letter-spacing: -.01em; text-wrap: pretty; }
.review__mark { display: block; height: 2rem; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 4.5rem; line-height: 1; color: var(--c-text-4); }
.review__who { display: flex; align-items: center; gap: .875rem; }
.review__avatar {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--c-surface-3);
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: 1rem;
  color: var(--c-text-2);
}
.review__name { font-weight: 600; font-style: normal; }
.review__since { font-size: .8125rem; color: var(--c-text-3); }
.reviews__nav { display: flex; gap: .5rem; }

@media (min-width: 960px) {
  .reviews__head { grid-template-columns: 1fr auto auto; gap: 3rem; }
}


/* 17. FAQ ----------------------------------------------------------------- */
.faq__layout { display: grid; gap: 3rem; }
.faq__intro .lead { margin-top: 1.5rem; }
.faq__intro .link-arrow { margin-top: 1.5rem; }
.faq__list { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  display: grid;
  place-items: center;
  flex: 0 0 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-ctl);
  transition: background-color .3s, color .3s, border-color .3s;
}
.faq__icon .i { width: .875rem; height: .875rem; transition: transform .5s var(--ease-spring); }
.faq__item[open] .faq__icon { background: var(--c-action); color: #fff; border-color: var(--c-action); }
.faq__item[open] .faq__icon .i { transform: rotate(45deg); }
.faq__item summary:hover .faq__icon { border-color: var(--c-line-3); }
.faq__answer { padding: 0 3.75rem 1.75rem 0; max-width: 62ch; color: var(--c-text-2); }
.faq__item::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }

@media (min-width: 960px) {
  .faq__layout { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: start; }
  .faq__intro { grid-column: 1 / span 4; position: sticky; top: 6.5rem; }
  .faq__list { grid-column: 6 / -1; }
}


/* 18. CONTACT & FORM ------------------------------------------------------ */
.contact__layout { display: grid; gap: 3.5rem; }
.contact__info .lead { margin-top: 1.5rem; max-width: 32rem; }

.info-list { margin-top: 2.5rem; border-top: 1px solid var(--c-line); }
.info-item {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-line);
}
.info-item > .i { margin-top: .125rem; color: var(--c-text-2); }
.info-item__label { font-size: .6875rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text-3); }
.info-item__value { margin-top: .375rem; font-size: 1.0625rem; }
.info-item__value a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.info-item__value a:hover { background-size: 100% 1px; }

.hours { width: 100%; max-width: 22rem; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.hours th { padding: .1875rem 0; font-weight: 400; text-align: left; color: var(--c-text-2); }
.hours td { padding: .1875rem 0; text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--c-text); font-weight: 600; }

.map {
  position: relative;
  margin-top: 2rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--c-line) 1px, transparent 1px) 0 0 / 2.5rem 2.5rem,
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px) 0 0 / 2.5rem 2.5rem,
    var(--c-surface);
}
.map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
}
.map__pin {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--c-text);
  color: var(--c-bg);
  box-shadow: 0 0 0 .75rem rgb(61 42 33 / .06), 0 0 0 1.75rem rgb(61 42 33 / .03);
}
.map__note { max-width: 22rem; font-size: .8125rem; color: var(--c-text-3); }
.map__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.25rem; align-items: center; }
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.35) sepia(.12) contrast(.95);
}
.map.is-loaded .map__placeholder { display: none; }

.form-card {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}
.form-card__title { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); }
.form-card__sub { margin-top: .75rem; font-size: .9375rem; color: var(--c-text-2); }
.form-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.field { display: grid; gap: .5rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field > label, .field legend { font-size: .8125rem; font-weight: 500; color: var(--c-text-2); }
.field legend { padding: 0; margin-bottom: .5rem; }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.req { color: var(--c-text-3); }
.input {
  width: 100%;
  height: 3.25rem;
  padding: 0 1rem;
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-ctl);
  background: var(--c-bg);
  font-size: 1rem; /* ≥16px: no zoom-on-focus in iOS Safari */
  transition: border-color .25s var(--ease-out), background-color .25s;
}
.input::placeholder { color: var(--c-text-4); }
.input:hover { border-color: var(--c-line-3); }
.input:focus { outline: none; border-color: var(--c-text); }
textarea.input { height: auto; min-height: 7rem; padding: .875rem 1rem; resize: vertical; }
select.input {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c6554' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.125rem;
}
.field__error { display: none; align-items: center; gap: .375rem; font-size: .8125rem; color: var(--c-danger); }
.field__error .i { width: .875rem; height: .875rem; stroke-width: 2; }
.is-invalid .field__error { display: flex; }
.is-invalid .input { border-color: var(--c-danger); }

.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  height: 3.25rem;
  padding: 0 1rem;
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-ctl);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .3s var(--ease-out), color .3s, border-color .3s;
}
.choice small { font-size: .6875rem; font-weight: 400; color: var(--c-text-3); }
.choice span:hover { border-color: var(--c-line-3); }
.choice input:checked + span { background: var(--c-action); color: #fff; border-color: var(--c-action); }
.choice input:checked + span small { color: rgb(255 255 255 / .75); }
.choice input:focus-visible + span { outline: 2px solid var(--c-text); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 1.25rem 1fr; gap: .875rem; align-items: start; font-size: .875rem; color: var(--c-text-2); }
.consent input {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: .125rem 0 0;
  border: 1px solid var(--c-line-3);
  border-radius: var(--radius-ctl);
  background: var(--c-bg) center / .875rem no-repeat;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.consent input:checked {
  background-color: var(--c-text);
  border-color: var(--c-text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.consent.is-invalid input { border-color: var(--c-danger); }
.consent .field__error { grid-column: 2; }
.consent a { color: var(--c-text); }

.form__error { margin-top: 1.5rem; font-size: .875rem; color: var(--c-danger); }
.form__submit { margin-top: 1.5rem; }
.form__submit.is-loading { pointer-events: none; opacity: .75; }
.form__submit.is-loading .btn__icon .i { display: none; }
.form__submit.is-loading .btn__icon::after {
  content: '';
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.form__submit.is-loading:hover .btn__icon { transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__fineprint { margin-top: 1rem; font-size: .75rem; color: var(--c-text-3); }

.form-success { padding-block: 1rem; }
.form-success:focus { outline: none; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--c-text);
  color: var(--c-bg);
}
.form-success__icon .i { width: 1.5rem; height: 1.5rem; stroke-width: 2; }
.form-success h3 { margin-top: 1.5rem; }
.form-success p { margin-top: 1rem; color: var(--c-text-2); max-width: 30rem; }
.form-success .btn { margin-top: 2rem; }

@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .contact__layout { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: start; }
  .contact__info { grid-column: 1 / span 5; }
  .form-card { grid-column: 7 / -1; }
}


/* 19. FOOTER -------------------------------------------------------------- */
.footer { padding-top: clamp(4.5rem, 8vw, 7rem); background: var(--c-paper); border-top: 1px solid var(--c-line); overflow: hidden; }
.footer__top { display: grid; gap: 3.5rem; }
.newsletter__title { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); }
.newsletter p { margin-top: 1rem; color: var(--c-text-2); max-width: 26rem; }
.newsletter__form {
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 30rem;
  margin-top: 2rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--c-line-3);
}
.newsletter__form input {
  flex: 1;
  min-width: 0;
  height: 3rem;
  border: 0;
  background: transparent;
  font-size: 1.125rem;
}
.newsletter__form input::placeholder { color: var(--c-text-4); }
.newsletter__form input:focus { outline: none; }
.newsletter__form:focus-within { border-bottom-color: var(--c-text); }
.newsletter__msg { margin-top: .75rem; min-height: 1.25rem; font-size: .8125rem; color: var(--c-text-2); }

.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.footer__col h3 { margin-bottom: 1.125rem; font-size: .6875rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text-3); }
.footer__col li + li { margin-top: .625rem; }
.footer__col address + ul { margin-top: .875rem; }
.footer__col a, .footer__col address { font-size: .9375rem; font-style: normal; color: var(--c-text-2); text-decoration: none; transition: color .25s; }
.footer__col a:hover { color: var(--c-text); }
.footer__social a { display: inline-flex; align-items: center; gap: .625rem; }
.footer__social .i { width: 1.125rem; height: 1.125rem; }

.footer__mark {
  margin-top: clamp(4rem, 8vw, 6rem);
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(3.5rem, 15vw, 16rem);
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgb(61 42 33 / .2), rgb(61 42 33 / .03) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--c-line);
  font-size: .8125rem;
  color: var(--c-text-3);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__bottom a { text-decoration: none; transition: color .25s; }
.footer__bottom a:hover { color: var(--c-text); }

@media (min-width: 600px) {
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .footer__top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); }
  .newsletter { grid-column: 1 / span 5; }
  .footer__cols { grid-column: 7 / -1; }
}


/* 20. MOTION -------------------------------------------------------------- */
/* Hero entrance (only when JS is running; `is-loaded` is set after fonts load):
   the footage opens like an aperture to full-bleed, then the CTA and the strip rise */
.js .hero__bg { clip-path: inset(12% 7% 26% round var(--radius-lg)); }
.js .hero__bg :is(img, video) { scale: 1.16; }
.is-loaded .hero__bg { clip-path: inset(0 round 0px); transition: clip-path 1.8s var(--ease-out); }
.is-loaded .hero__bg :is(img, video) { scale: 1; transition: scale 2.6s var(--ease-out), opacity .9s var(--ease-out); }
.js .hero__cta, .js .hero .marquee {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
}
.is-loaded .hero__cta, .is-loaded .hero .marquee {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease-out) var(--d, .2s), transform 1.1s var(--ease-out) var(--d, .2s);
}
.is-loaded .hero__cta { --d: .9s; }
.is-loaded .hero .marquee { --d: 1.05s; }

/* Scroll reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 2rem, 0);
  transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-out) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Safety net: if main.js never runs, nothing stays hidden */
.reveal-all [data-reveal], .reveal-all .hero__cta, .reveal-all .hero .marquee {
  opacity: 1;
  transform: none;
}
.reveal-all .hero__bg { clip-path: none; }
.reveal-all .hero__bg :is(img, video) { scale: none; }


/* 21. REDUCED MOTION ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .marquee__track { animation: none; }
  .js .hero__bg { clip-path: none; }
  .js .hero__bg :is(img, video) { scale: none; }
  .js [data-reveal], .js .hero__cta, .js .hero .marquee {
    opacity: 1;
    transform: none;
  }
}
