/* ==========================================================
   נשימה — Design tokens (from Figma variables)
   ========================================================== */
@font-face { font-family: "Ploni"; src: url("../assets/fonts/ploni-light-aaa.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Ploni"; src: url("../assets/fonts/ploni-regular-aaa.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ploni"; src: url("../assets/fonts/ploni-medium-aaa.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Ploni"; src: url("../assets/fonts/ploni-demibold-aaa.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Ploni"; src: url("../assets/fonts/ploni-bold-aaa.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --white: #ffffff;
  --green-dark: #738f86;
  --green-light: #8ca9a0;
  --blue: #304562;
  --text: #455872;
  --beige-light: #fcf9f5;
  --beige-dark: #f3efe9;
  --line: rgba(140, 169, 160, 0.5);
  --shadow-100: 0 1px 4px rgba(12, 12, 13, 0.05);
  --shadow-300: 0 4px 4px -1px rgba(12, 12, 13, 0.1), 0 4px 4px -1px rgba(12, 12, 13, 0.05);

  /* desktop type scale */
  --fs-display: 60px; --lh-display: 1;
  --fs-h2: 40px;      --lh-h2: 1.1;
  --fs-h3: 32px;      --lh-h3: 1.2;
  --fs-h4: 22px;      --lh-h4: 1.4;
  --fs-lead: 22px;    --lh-lead: 1.4;
  --fs-body: 20px;    --lh-body: 1.5;
  --fs-small: 17px;   --lh-small: 1.4;
  --fs-caption: 15px; --lh-caption: 1;
  --fs-eyebrow: 16px;
  --fs-button: 17px;

  --gutter: 120px;
  --section-y: 96px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- Intro loader (first visit per session) ---------- */
.intro-curtain { display: none; }
html.intro .intro-curtain {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: var(--beige-light);
  animation: curtain-up 1s var(--ease-io) 1.5s forwards;
}
html.intro .intro-curtain img { width: clamp(180px, 24vw, 290px); height: auto; animation: logo-in 1.1s var(--ease-out) .1s both, logo-out .5s ease-in 1.3s forwards; }
html.intro body { overflow: hidden; }
html.intro.intro-done body { overflow: auto; }
html.intro.intro-done .intro-curtain { display: none; }
@keyframes logo-in { from { opacity: 0; transform: translateY(14px) scale(.94); filter: blur(4px); } }
@keyframes logo-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes curtain-up { to { transform: translateY(-100%); } }

/* ---------- Scroll reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Image zoom on hover ---------- */
.how-media figure img, .treat-media img, .clinic-img img { transition: transform .9s var(--ease-out); }
.how-media figure:hover img, .treat-media:hover img, .clinic-img:hover img { transform: scale(1.06); }
.clinic-img { display: block; width: 445px; max-width: 100%; overflow: hidden; border-radius: 48px 8px 48px 8px; }
.clinic .clinic-img img { width: 100%; border-radius: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Ploni", "Ploni ML v2 AAA", Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--beige-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green-light); outline-offset: 2px; }

.skip-link {
  position: absolute; top: -100px; right: 16px; z-index: 1000;
  background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography helpers ---------- */
.eyebrow { font-weight: 500; font-size: var(--fs-eyebrow); line-height: 1.4; color: var(--green-dark); }
.h2 { font-weight: 700; font-size: var(--fs-h2); line-height: var(--lh-h2); color: var(--blue); }
.h3 { font-weight: 700; font-size: var(--fs-h3); line-height: var(--lh-h3); color: var(--blue); }
.h4 { font-weight: 700; font-size: var(--fs-h4); line-height: var(--lh-h4); color: var(--blue); }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--blue); }
.body { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); }
.small { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text); }

.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head--center { align-items: center; text-align: center; }

.container { padding-inline: var(--gutter); }
.container-inner { max-width: 1200px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 28px; border-radius: 4px;
  font-weight: 500; font-size: var(--fs-button); line-height: 1.4; color: var(--white);
  white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  --btn-hover: #405d54;
  transition: color .35s var(--ease-out);
}
/* hover colour fills the button from right to left */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn--blue { background: var(--blue); --btn-hover: #172c49; }
.btn--green { background: var(--green-dark); }
.btn--light { background: var(--green-light); }
.btn--lg { height: 48px; }
.btn--block { width: 100%; }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; padding: 20px var(--gutter);
}
.logo { display: block; width: 90.588px; height: 40px; flex-shrink: 0; }
.logo img { width: 100%; height: 100%; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  position: relative; display: flex; align-items: center; height: 80px; margin-block: -20px;
  font-size: 20px; line-height: 1.5; color: var(--blue); white-space: nowrap;
  transition: color .3s;
}
/* link spans the full 80px header height, so the line sits on its bottom edge */
.main-nav a::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: 0; height: 4px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--green-dark); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-toggle img { width: 24px; height: 24px; }

/* Drawer (mobile) */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(48, 69, 98, 0.45);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.drawer {
  position: fixed; top: 0; right: 0; z-index: 100;
  width: 320px; max-width: 100%; height: 100%; height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--white); box-shadow: -8px 0 16px rgba(23, 43, 74, 0.25);
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s ease, visibility .3s;
}
body.menu-open .drawer { transform: none; visibility: visible; }
body.menu-open .drawer-overlay { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 12px 10px; }
.drawer-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.drawer-close img { width: 24px; height: 24px; }
.drawer-links { flex: 1; padding: 8px 20px; overflow-y: auto; }
.drawer-links a {
  display: flex; align-items: center; height: 56px; border-bottom: 1px solid var(--line);
  font-weight: 700; font-size: 20px; line-height: 1.4; color: var(--blue);
  position: relative; gap: 10px;
  transition: color .3s, padding .4s var(--ease-out);
}
/* hover / tap: text slides in, an arrow appears and the divider fills green from right to left */
.drawer-links a::before {
  content: "←"; order: 2; font-weight: 500; font-size: 18px; color: var(--green-dark);
  opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .4s var(--ease-out);
}
.drawer-links a::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: -1px; height: 2px; background: var(--green-light);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.drawer-links a:hover, .drawer-links a:focus-visible, .drawer-links a:active { color: var(--green-dark); padding-right: 8px; }
.drawer-links a:hover::before, .drawer-links a:focus-visible::before, .drawer-links a:active::before { opacity: 1; transform: none; }
.drawer-links a:hover::after, .drawer-links a:focus-visible::after, .drawer-links a:active::after { transform: scaleX(1); }
.drawer-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 20px 40px; }
.drawer-cta .btn { font-size: 16px; }
.drawer-cta p { font-size: 15px; line-height: 1.5; color: var(--text); text-align: center; }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative; min-height: 604px;
  padding: 64px var(--gutter);
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; width: 484px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-title { font-weight: 700; font-size: var(--fs-display); line-height: var(--lh-display); color: var(--blue); width: 452px; max-width: 100%; }
.hero-lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--blue); }

/* ==========================================================
   Signup form (short)
   ========================================================== */
.signup-wrap { position: relative; z-index: 2; padding-inline: var(--gutter); margin-top: -107px; margin-bottom: -107px; }
.signup-wrap--static { margin: 0; padding-top: 32px; padding-bottom: 96px; background: var(--beige-light); }
.signup {
  max-width: 996px; margin-inline: auto;
  background: var(--blue); color: var(--white);
  border-radius: 48px 8px 48px 8px; /* tl tr br bl (physical) */
  box-shadow: var(--shadow-100);
  padding: 48px;
  display: flex; gap: 48px; align-items: center;
}
.signup-text { width: 352px; flex-shrink: 1; min-width: 300px; display: flex; flex-direction: column; gap: 8px; }
.signup-title { font-weight: 700; font-size: 32px; line-height: 1.2; }
.signup-desc { font-size: 17px; line-height: 1.4; }
.signup-form { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.signup-row { display: flex; gap: 12px; width: 100%; align-items: center; }
.signup-row .field { flex: 1; min-width: 0; height: 40px; }
.signup-row .btn { background: var(--green-light); flex-shrink: 0; }
.signup-note { font-size: 15px; line-height: 1; }
.signup-form.is-sent { justify-content: center; align-items: stretch; }
.signup-success { align-items: center; gap: 20px; width: 100%; }
.signup-form.is-sent .signup-success { display: flex; }
.signup-success:focus { outline: none; }
.signup-success .success-icon { flex-shrink: 0; width: 64px; height: 64px; border-radius: 32px; background: rgba(255, 255, 255, 0.12); }
.signup-success-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; line-height: 1.4; color: var(--white); font-weight: 400; }
.signup-success-text .eyebrow { color: var(--green-light); }
.signup-success-text strong { font-weight: 700; font-size: 22px; }
.signup-success-text span:last-child { font-size: 17px; }

/* Fields */
.field {
  width: 100%; height: 48px; padding: 0 16px;
  background: var(--white); border: 1px solid var(--green-dark); border-radius: 4px;
  font: inherit; font-size: 17px; line-height: 1.4; color: var(--blue); text-align: right;
}
.field::placeholder { color: var(--green-dark); opacity: 1; }
.field:focus { outline: 2px solid var(--green-light); outline-offset: 1px; }
.field[aria-invalid="true"] { border-color: #b4483f; }
.consent { display: flex; align-items: flex-start; gap: 6px; font-size: 15px; line-height: 1; cursor: pointer; }
.consent input {
  appearance: none; -webkit-appearance: none; flex-shrink: 0;
  color: inherit; width: 16px; height: 16px; margin: -1px 0 0; border: 1.5px solid currentColor; border-radius: 1px; background: transparent; cursor: pointer;
  display: grid; place-content: center;
}
/* checked state: a ✓ drawn from two borders */
.consent input::before {
  content: ""; width: 5px; height: 9px; margin-top: -2px;
  border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0); transition: transform .2s var(--ease-out);
}
.consent input:checked::before { transform: rotate(45deg) scale(1); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.consent.is-invalid { color: #e8a39c; }
.form-success {
  display: none; font-size: 17px; line-height: 1.4; font-weight: 500;
}
form.is-sent > :not(.form-success) { display: none !important; }
form.is-sent .form-success { display: block; }

/* ==========================================================
   Who is it for
   ========================================================== */
.who { background: var(--beige-light); padding: 153px var(--gutter) var(--section-y); }
.who .section-head { align-items: flex-start; margin-bottom: 32px; }
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fit-card {
  background: var(--white); border-radius: 24px 24px 8px 8px;
  padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: box-shadow .25s ease;
}

.fit-card img { width: 72px; height: 72px; }
.fit-card h3 { font-weight: 700; font-size: 22px; line-height: 1.4; color: var(--blue); text-align: center; }
.fit-card p { font-size: 17px; line-height: 1.4; color: var(--text); text-align: right; width: 100%; }
.show-more {
  display: none; width: 100%; height: 44px; margin-top: 24px; padding: 0 20px;
  border: 1px solid var(--blue); border-radius: 4px;
  align-items: center; justify-content: center; gap: 8px;
  font-weight: 500; font-size: 17px; line-height: 1.55; color: var(--blue);
}
.show-more img { width: 20px; height: 20px; transition: transform .2s; }
.show-more[aria-expanded="true"] img { transform: rotate(180deg); }
.who-cta { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.who-cta p { font-weight: 500; font-size: 20px; line-height: 1.5; color: var(--text); }

/* ==========================================================
   How it works
   ========================================================== */
.how { background: var(--beige-dark); padding: var(--section-y) var(--gutter); }
.how-top { display: flex; gap: 64px; align-items: flex-end; }
.how-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.how-text .section-head { align-items: flex-start; }
.how-text .body p + p { margin-top: 30px; }
.how-media { width: 500px; flex-shrink: 0; display: flex; flex-direction: column; gap: 7.692px; align-items: flex-end; }
.how-media figure { width: 100%; aspect-ratio: 500 / 325; overflow: hidden; border-radius: 38.462px 7.692px 38.462px 7.692px; }
.how-media figure img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.dots { display: flex; gap: 7.692px; align-items: center; }
.dots span { display: block; width: 16px; height: 8px; border-radius: 2px; background: var(--white); }
.dots span.is-active { width: 20px; background: var(--green-dark); }
.how-bottom { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.how-card {
  background: var(--white); border-radius: 24px 24px 8px 8px; padding: 24px;
  display: flex; flex-direction: column; gap: 10px; min-height: 199px;
  transition: box-shadow .25s ease;
}

.how-card h4 { font-weight: 700; font-size: 22px; line-height: 1.4; color: var(--green-dark); }
.how-card p { font-size: 17px; line-height: 1.4; color: var(--text); }

/* ==========================================================
   Our story
   ========================================================== */
.story { background: var(--beige-light); padding: var(--section-y) var(--gutter); }
.story .section-head { margin-bottom: 32px; }
.story-body { max-width: 1116px; margin-inline: auto; display: flex; flex-direction: column; gap: 48px; }
.story-row { display: flex; gap: 40px; align-items: flex-start; }
.story-intro { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }
.story-intro .body { width: 100%; }
.story-video { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.story-video .placeholder {
  width: 100%; aspect-ratio: 671 / 377.4375; background: #dbdbdb;
  border-radius: 48px 8px 48px 8px;
}
.story-video a { font-size: 17px; line-height: 1.4; color: var(--text); }
.values-row { display: flex; gap: 32px; align-items: flex-start; padding-bottom: 32px; }
.values { width: 478px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.values ul { display: flex; flex-direction: column; gap: 24px; }
.values li { display: flex; flex-direction: column; gap: 4px; }
.clinic { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.clinic img { width: 445px; max-width: 100%; aspect-ratio: 445 / 297; object-fit: cover; border-radius: 48px 8px 48px 8px; }
.clinic figcaption { width: 445px; max-width: 100%; font-size: 17px; line-height: 1.4; color: var(--text); }

/* ==========================================================
   Treatments (tabs)
   ========================================================== */
.treat { background: var(--beige-dark); padding: var(--section-y) var(--gutter) 24px; }
.treat .section-head { margin-bottom: 32px; }
.tabs-scroller { display: flex; justify-content: center; margin-bottom: 32px; }
.tabs { display: flex; gap: 10px; }
.tab {
  padding: 12px 22px; border-radius: 999px; background: var(--white);
  font-weight: 500; font-size: 20px; line-height: 1.5; color: var(--blue); white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color .2s, color .35s var(--ease-out), padding .3s var(--ease-out);
}
/* hover colour fills the pill from right to left, like the buttons */
.tab::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green-light);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.tab:not([aria-selected="true"]):hover::before, .tab:not([aria-selected="true"]):focus-visible::before { transform: scaleX(1); }
.tab:not([aria-selected="true"]):hover { color: var(--white); padding-inline: 24px; }
.tab[aria-selected="true"] { background: var(--blue); color: var(--white); padding-inline: 24px; }
.treat-panel {
  max-width: 1200px; margin-inline: auto;
  background: var(--white); border-radius: 64px 8px 64px 8px;
  padding: 48px; display: flex; gap: 56px; align-items: center;
}
.treat-panel[hidden] { display: none; }
.treat-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.treat-fit { font-weight: 500; font-size: 20px; line-height: 1.5; color: var(--text); }
.checklist { display: flex; flex-direction: column; gap: 4px; font-size: 20px; line-height: 1.5; color: var(--text); }
.checklist li { display: flex; gap: 12px; }
.checklist li::before { content: "✓"; color: var(--green-light); width: 17px; flex-shrink: 0; }
.treat-media { width: 500px; height: 420px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.treat-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   Contact (fit call)
   ========================================================== */
.contact { background: var(--beige-dark); padding: 24px var(--gutter) var(--section-y); }
.contact-card {
  max-width: 1200px; margin-inline: auto;
  background: var(--blue); border-radius: 28px; padding: 48px;
  display: flex; gap: 48px; align-items: center;
}
.steps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; color: var(--white); }
.steps h2 { font-weight: 700; font-size: 40px; line-height: 1.1; }
.steps ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.steps li { display: flex; gap: 16px; align-items: center; }
.step-num {
  width: 40px; height: 40px; border-radius: 20px; flex-shrink: 0; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 20px; line-height: 1.5; color: var(--blue);
}
.step-text { display: flex; flex-direction: column; line-height: 1.4; }
.step-text strong { font-weight: 700; font-size: 22px; }
.step-text span { font-size: 17px; }
.contact-form {
  width: 488px; flex-shrink: 0; background: var(--beige-light); border-radius: 4px;
  padding: 24px 28px; display: flex; flex-direction: column; gap: 12px;
}
.contact-form h3 { font-weight: 700; font-size: 22px; line-height: 1.4; color: var(--blue); }
.contact-form .consent { color: var(--text); }
.contact-form.is-sent { justify-content: center; }
.contact-form .form-success { flex-direction: column; align-items: center; gap: 8px; padding: 4px 0; text-align: center; font-weight: 400; }
.contact-form.is-sent .form-success { display: flex; }
.contact-form .form-success:focus { outline: none; }
.contact-form .success-icon { width: 64px; height: 64px; border-radius: 32px; margin-bottom: 4px; }

/* ==========================================================
   Success stories
   ========================================================== */
.stories { background: var(--beige-light); padding: var(--section-y) var(--gutter); }
.stories .section-head { margin-bottom: 32px; }
.videos { max-width: 1200px; margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card { display: flex; flex-direction: column; gap: 14px; }
.video-thumb {
  position: relative; width: 100%; height: 217px; border-radius: 8px; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.video-thumb img { width: 72px; height: 72px; transition: transform .2s; }
button.video-thumb:hover img { transform: scale(1.08); }
.video-thumb--empty { background: #dbdbdb; }
.video-card h3 { font-weight: 700; font-size: 22px; line-height: 1.4; color: var(--blue); }
.quotes-wrap { max-width: 1200px; margin: 32px auto 0; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote {
  background: var(--white); border-radius: 40px 8px 40px 8px; padding: 24px 20px;
  display: flex; flex-direction: column; justify-content: center; gap: 16px; line-height: 1.4;
}
.quote blockquote { margin: 0; font-size: 20px; color: var(--blue); }
.quote figcaption { font-weight: 700; font-size: 22px; color: var(--green-dark); }
.quotes-dots { display: none; justify-content: center; margin-top: 24px; }
.quotes-dots .dots span { border-radius: 8px; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { background: var(--beige-dark); padding: var(--section-y) var(--gutter); }
.faq-inner { max-width: 1200px; margin-inline: auto; display: flex; gap: 64px; align-items: flex-start; }
.faq-intro { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.faq-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white); border-radius: 4px; padding: 12px 24px;
  transition: border-radius .5s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s, transform .2s;
}
.faq-item.is-open { border-radius: 24px 4px 24px 4px; box-shadow: none; }
.faq-item.is-bump { animation: faq-bump .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes faq-bump { 30% { transform: scale(.985); } 100% { transform: none; } }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: right; color: var(--blue);
}
.faq-q span:first-child { font-weight: 500; font-size: 20px; line-height: 1.5; }
/* +/− drawn as two bars: the vertical bar spins flat when open */
.faq-sign { position: relative; width: 14px; height: 14px; flex-shrink: 0; font-size: 0; color: var(--blue); }
.faq-sign::before, .faq-sign::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 14px; height: 2px; margin-top: -1px; border-radius: 2px;
  background: currentColor; transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), background-color .3s;
}
.faq-sign::after { transform: rotate(90deg); }
.faq-q:hover .faq-sign { color: var(--green-dark); }
.faq-item.is-open .faq-sign::before { transform: rotate(180deg); }
.faq-item.is-open .faq-sign::after { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .4s var(--ease-out); }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; transition: opacity .45s .12s, transform .55s var(--ease-out) .12s; }
.faq-a p { padding-top: 4px; font-size: 17px; line-height: 1.4; color: var(--text); }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--blue); color: var(--white); padding: var(--section-y) var(--gutter); }
.footer-inner { max-width: 1200px; margin-inline: auto; display: flex; flex-direction: column; gap: 40px; }
.footer-cols { display: flex; gap: 48px; align-items: flex-start; }
.footer-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col h2 { font-weight: 500; font-size: 20px; line-height: 1.5; }
.footer-col p, .footer-col a { font-size: 17px; line-height: 1.4; }
.footer-brand { gap: 20px; }
.footer-brand .brand-top { display: flex; flex-direction: column; gap: 8px; }
.socials { display: flex; gap: 12px; }
.socials a { position: relative; width: 40px; height: 40px; border-radius: 50%; }
.socials img { width: 40px; height: 40px; }
/* hover state fills in from right to left, like the buttons */
.socials img.is-hover {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 100%); transition: clip-path .5s var(--ease-out);
}
.socials a:hover img.is-hover, .socials a:focus-visible img.is-hover { clip-path: inset(0 0 0 0); }
.footer-contact-group { flex: 2; display: flex; gap: 48px; }
.footer-contact-group .footer-col { flex: 1; }
.footer-divider { display: none; height: 1px; background: var(--text); opacity: .6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; line-height: 1; }

/* ==========================================================
   Legal pages (privacy / accessibility)
   ========================================================== */
.page-head { background: var(--beige-dark); padding: 80px var(--gutter); }
.page-head-inner { max-width: 1200px; margin-inline: auto; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.crumbs { font-size: 15px; line-height: 1; color: var(--text); }
.crumbs ol { list-style: none; padding: 0; display: flex; gap: 0; }
.crumbs li + li::before { content: "/"; padding-inline: 8px; white-space: pre; }
.page-title { font-weight: 700; font-size: 60px; line-height: 1; color: var(--blue); }
.page-lead { width: 796px; max-width: 100%; font-size: 22px; line-height: 1.4; color: var(--blue); }
.page-updated { font-size: 15px; line-height: 1; color: var(--text); }

.bottom-line { background: var(--beige-light); padding: 64px var(--gutter) 0; }
.bottom-line-inner { max-width: 1200px; margin-inline: auto; display: flex; flex-direction: column; gap: 24px; }
.bl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; counter-reset: bl; }
.bl-card { background: var(--beige-dark); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; counter-increment: bl; }
.bl-card::before { content: counter(bl, decimal-leading-zero); font-weight: 300; font-size: 35px; line-height: 1; color: var(--green-dark); }
.bl-card h3 { font-weight: 700; font-size: 22px; line-height: 1.4; color: var(--blue); }
.bl-card p { font-size: 17px; line-height: 1.4; color: var(--text); }

.legal { background: var(--beige-light); padding: 64px var(--gutter) 0; }
.legal--pb { padding-bottom: 32px; }
.legal-inner { max-width: 1200px; margin-inline: auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.legal-sections { width: 796px; min-width: 0; counter-reset: sec; }
.legal-sec { border-bottom: 1px solid var(--line); padding: 40px 0; display: flex; flex-direction: column; gap: 16px; counter-increment: sec; }
.legal-sec:first-child { padding-top: 0; }
.legal-sec:last-child { border-bottom: 0; }
.legal-sec h2 { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 32px; line-height: 1.2; color: var(--blue); }
.legal-sec h2::before { content: counter(sec, decimal-leading-zero); font-weight: 300; font-size: 35px; line-height: 1; color: var(--green-dark); }
.legal-sec p, .legal-sec li { font-size: 20px; line-height: 1.5; color: var(--text); }
.legal-sec h3 { font-weight: 500; font-size: 20px; line-height: 1.5; color: var(--blue); }
.legal-sec ul { display: flex; flex-direction: column; gap: 16px; }
.legal-sec ul li { display: flex; gap: 12px; }
.legal-sec ul li::before { content: "•"; flex-shrink: 0; width: 10px; }
.legal-sec a { text-decoration: underline; text-underline-offset: 3px; }
.contact-lines { display: flex; flex-direction: column; gap: 8px; }
.contact-lines p { font-weight: 500; color: var(--blue); }
.contact-lines--pad { padding-inline: 24px; }

.toc {
  position: sticky; top: 104px; width: 285px; flex-shrink: 0; order: -1;
  background: var(--white); border-radius: 6px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.toc h2 { font-weight: 700; font-size: 22px; line-height: 1.4; color: var(--blue); }
.toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 17px; line-height: 1.4; white-space: nowrap; transition: color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-size: 15px; line-height: 1; }
.toc a:hover, .toc a.is-active { color: var(--green-dark); }

/* ==========================================================
   Fit-check modal
   ========================================================== */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(48, 69, 98, 0.6); animation: fade-in .2s ease; }
.modal-dialog {
  position: relative; width: 560px; max-width: 100%; max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--white); border-radius: 32px 8px 32px 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  padding: 48px 48px 40px; animation: pop-in .25s ease;
}
.modal-grabber { display: none; }
.modal-close {
  position: absolute; top: 20px; left: 20px; width: 40px; height: 40px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; background: var(--white);
}
.modal-close img { width: 24px; height: 24px; }
.modal-close:hover { background: var(--beige-dark); }
.modal-step { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.modal-step[hidden] { display: none; }
.modal-title { font-weight: 700; font-size: 32px; line-height: 1.2; color: var(--blue); }
.modal-text { font-size: 20px; line-height: 1.5; color: var(--text); }
.modal-form { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.modal-form .consent { color: var(--text); }
.modal-alt { width: 100%; text-align: center; font-size: 15px; line-height: 1; color: var(--text); }
.modal-step--success { align-items: center; text-align: center; padding-top: 8px; }
.modal-step--success .modal-title:focus { outline: none; }
.success-icon {
  width: 72px; height: 72px; border-radius: 36px; background: rgba(140, 169, 160, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.success-icon img { width: 36px; height: 36px; }
.modal-back { width: 240px; }
body.modal-open { overflow: hidden; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes sheet-in { from { transform: translateY(100%); } }

/* ==========================================================
   Cookie banner
   ========================================================== */
.cookie {
  position: fixed; z-index: 150; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 1200px; max-width: calc(100% - 32px);
  display: flex; align-items: flex-end; gap: 32px;
  padding: 28px 24px 28px 32px;
  background: var(--white); border: 1px solid var(--beige-dark); border-radius: 24px;
  box-shadow: 0 2px 3px rgba(23, 44, 73, 0.06), 0 16px 24px rgba(23, 44, 73, 0.12);
  animation: cookie-in .35s ease;
}
.cookie[hidden] { display: none; }
@keyframes cookie-in { from { opacity: 0; transform: translate(-50%, 16px); } }
.cookie-icon { width: 88px; height: 88px; border-radius: 44px; background: var(--beige-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cookie-icon img { width: 68px; height: 68px; }
.cookie-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cookie-title { font-weight: 700; font-size: 22px; line-height: 1.4; color: var(--blue); }
.cookie-body { font-size: 17px; line-height: 1.4; color: var(--text); }
.cookie-body a { color: var(--blue); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { padding: 0 24px; }
.cookie-accept { background: var(--green-light); }
.cookie-essential { border: 1px solid var(--blue); color: var(--blue); background: transparent; }
.cookie-essential { --btn-hover: var(--blue); }
.cookie-essential:hover { color: var(--white); }
.cookie-close { position: absolute; top: 11px; left: 11px; width: 32px; height: 32px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.cookie-close:hover { background: var(--beige-dark); }
.cookie-close img { width: 16px; height: 16px; }

/* ==========================================================
   Responsive — tablet
   ========================================================== */
@media (max-width: 1360px) {
  :root { --gutter: clamp(20px, 6vw, 120px); }
  .main-nav ul { gap: clamp(14px, 1.6vw, 28px); }
  .main-nav a { font-size: clamp(16px, 1.4vw, 20px); }
}
@media (max-width: 1180px) {
  .fit-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-media { width: 42%; }
  .story-intro { width: 40%; }
  .values { width: 48%; }
  .treat-media { width: 42%; height: auto; aspect-ratio: 500 / 420; }
  .tabs-scroller { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tabs-scroller::-webkit-scrollbar { display: none; }
  .tabs { margin-inline: auto; }
  .contact-form { width: 44%; }
  .legal-sections { width: auto; flex: 1; }
  .faq-intro { width: 300px; }
}

/* ==========================================================
   Responsive — mobile (Figma 393)
   ========================================================== */
@media (max-width: 900px) {
  :root {
    --fs-h2: 28px; --lh-h2: 1.2;
    --fs-h3: 24px; --lh-h3: 1.25;
    --fs-h4: 20px;
    --fs-lead: 18px; --lh-lead: 1.5;
    --fs-body: 17px; --lh-body: 1.55;
    --fs-small: 15px; --lh-small: 1.5;
    --fs-eyebrow: 14px;
    --fs-button: 16px;
    --gutter: 20px;
    --section-y: 56px;
  }
  html { scroll-padding-top: 64px; }

  /* header */
  .header-bar { height: 64px; padding: 12px 20px; }
  .header-bar .main-nav, .header-bar .header-cta { display: none; }
  .menu-toggle { display: flex; order: 2; }
  .header-bar .logo { order: 1; }

  .btn { height: 48px; }
  .section-head--m-center { align-items: center; text-align: center; }

  /* hero */
  .hero { min-height: 0; padding: 0; background: var(--beige-light); display: block; }
  .hero-media { position: relative; height: 320px; }
  .hero-content { width: auto; padding: 0; gap: 0; }
  .hero-title {
    position: absolute; top: -296px; right: 20px; width: 231px;
    font-size: 38px; line-height: 1.1;
  }
  .hero-lead { padding: 28px 20px 36px; }
  .hero-content .btn { display: none; }

  /* signup */
  .signup-wrap { margin: 0; padding-inline: 20px; background: var(--beige-light); }
  .signup { flex-direction: column; align-items: stretch; padding: 32px 20px; gap: 20px; border-radius: 48px 8px 48px 8px; }
  .signup-text { width: auto; }
  .signup-row .btn { flex: none; }
  .signup-success { gap: 16px; }
  .signup-success .success-icon { width: 56px; height: 56px; border-radius: 28px; }
  .signup-success-text strong { font-size: 20px; }
  .signup-success-text span:last-child { font-size: 15px; line-height: 1.5; }
  .signup-title { font-size: 24px; line-height: 1.25; }
  .signup-desc { font-size: 15px; line-height: 1.5; }
  .signup-form { gap: 12px; }
  .signup-row { flex-direction: column; gap: 12px; }
  .signup-row .field { flex: none; height: 48px; border-color: var(--white); font-size: 15px; line-height: 1.5; }
  .signup-row .btn { width: 100%; }
  .signup-note, .signup .consent { font-size: 13px; line-height: 1.35; }

  /* who */
  .who { padding: var(--section-y) 20px; }
  .who .section-head { margin-bottom: 24px; }
  .fit-grid { grid-template-columns: 1fr; gap: 12px; }
  .fit-card h3 { font-size: 20px; }
  .fit-card p { font-size: 15px; line-height: 1.5; }
  .show-more { display: none; }
  .who-cta { flex-direction: column-reverse; align-items: stretch; gap: 16px; margin-top: 24px; }
  .who-cta p { font-size: 17px; line-height: 1.55; text-align: center; }

  /* how */
  .how { padding: var(--section-y) 20px; }
  .how-top { flex-direction: column; align-items: stretch; gap: 24px; }
  .how-text .eyebrow { align-self: center; }
  .how-text .how-paras { font-size: 17px; line-height: 1.55; }
  .how-text .body p + p { margin-top: 26px; }
  .how-media { width: 100%; align-items: center; }
  .how-media figure { aspect-ratio: 353 / 229.45; }
  .how-bottom { margin-top: 24px; }
  .how-bottom > .h3 { font-size: 24px; }
  .how-grid { grid-template-columns: 1fr; gap: 12px; }
  .how-card { min-height: 155px; }
  .how-card h4 { font-size: 20px; }
  .how-card p { font-size: 15px; line-height: 1.5; }

  /* story */
  .story { padding: var(--section-y) 20px; }
  .story .section-head { margin-bottom: 24px; }
  .story-body { gap: 40px; }
  .story-row { flex-direction: column; gap: 24px; }
  .story-intro { width: 100%; }
  .story-video { width: 100%; }
  .story-video .placeholder { aspect-ratio: 353 / 199; }
  .story-video a { font-size: 15px; line-height: 1.5; }
  .values-row { flex-direction: column; gap: 24px; padding-bottom: 0; }
  .values { width: 100%; gap: 16px; }
  .values .h4 { font-size: 20px; }
  .clinic { width: 100%; }
  .clinic img, .clinic figcaption { width: 100%; }
  .clinic img { aspect-ratio: 353 / 236; }
  .clinic figcaption { font-size: 15px; line-height: 1.5; }

  /* treatments */
  .treat { padding: var(--section-y) 20px 16px; }
  .treat .section-head { margin-bottom: 24px; }
  .tabs-scroller { margin: 0 -20px 24px; padding-inline: 20px; justify-content: flex-start; }
  .tabs { margin-inline: 0; }
  .tab { font-size: 17px; line-height: 1.55; }
  .treat-panel { flex-direction: column; align-items: stretch; padding: 24px 20px; gap: 24px; }
  .treat-text .eyebrow { align-self: center; }
  .treat-fit, .checklist { font-size: 17px; line-height: 1.55; }
  .treat-text .btn { width: 100%; }
  .treat-media { width: 100%; height: 263px; aspect-ratio: auto; }

  /* contact */
  .contact { padding: 16px 20px var(--section-y); }
  .contact-card { flex-direction: column; align-items: stretch; padding: 28px 20px; gap: 28px; }
  .steps h2 { font-size: 28px; line-height: 1.2; }
  .steps li { gap: 16px; }
  .step-num { width: 26px; height: 26px; font-size: 17px; line-height: 1.55; }
  .step-text strong { font-size: 20px; }
  .step-text span { font-size: 15px; line-height: 1.5; }
  .contact-form { width: 100%; padding: 20px 16px; }
  .contact-form h3 { font-size: 20px; }
  .contact-form .field { font-size: 15px; line-height: 1.5; }
  .contact-form .consent { font-size: 13px; line-height: 1.35; }
  .contact-form.is-sent { padding: 20px 16px; }
  .contact-form .success-icon { width: 56px; height: 56px; border-radius: 28px; }

  /* stories */
  .stories { padding: var(--section-y) 20px; }
  .stories .section-head { margin-bottom: 24px; }
  .videos { grid-template-columns: 1fr; gap: 32px; }
  .video-card--empty { display: none; }
  .video-thumb { height: 198px; }
  .video-card h3 { font-size: 20px; }
  .quotes-wrap { margin: 24px -20px 0; }
  .quotes {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-inline: 20px; scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { flex: 0 0 300px; scroll-snap-align: start; }
  .quote blockquote { font-size: 17px; line-height: 1.5; }
  .quote figcaption { font-size: 20px; }
  .quote:nth-child(1) { order: 2; }
  .quote:nth-child(2) { order: 3; }
  .quote:nth-child(3) { order: 1; }
  .quotes-dots { display: flex; }

  /* faq */
  .faq { padding: var(--section-y) 20px; }
  .faq-inner { flex-direction: column; gap: 32px; }
  .faq-intro { width: 100%; align-items: center; text-align: center; gap: 16px; }
  .faq-intro .lead { display: none; }
  .faq-intro .btn { width: 100%; }
  .faq-q span:first-child { font-size: 17px; line-height: 1.55; }
  .faq-sign, .faq-sign::before, .faq-sign::after { width: 12px; }
  .faq-a p { font-size: 15px; line-height: 1.5; }

  /* footer */
  .site-footer { padding: 48px 20px 32px; }
  .footer-inner { gap: 32px; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .footer-brand { width: 100%; }
  .footer-brand p { font-size: 15px; line-height: 1.5; }
  .footer-mobile-row { display: flex; gap: 16px; width: 100%; }
  .footer-contact-group { flex: 1; flex-direction: column; gap: 24px; }
  .footer-nav { flex: none; width: 130px; }
  .fc-contact { order: -1; }
  .footer-col h2 { font-size: 17px; line-height: 1.55; }
  .footer-col p, .footer-col a { font-size: 15px; line-height: 1.5; }
  .footer-divider { display: block; }
  .footer-bottom { flex-direction: column; font-size: 13px; line-height: 1.35; gap: 0; }

  /* legal */
  .page-head { padding: 40px 20px; }
  .page-title { font-size: 38px; line-height: 1.1; }
  .page-lead { font-size: 18px; line-height: 1.5; }
  .bottom-line { padding: 40px 20px 0; }
  .bl-cards { grid-template-columns: 1fr; gap: 12px; }
  .bl-card { padding: 24px; }
  .bl-card::before { font-size: 28px; }
  .bl-card h3 { font-size: 20px; }
  .bl-card p { font-size: 15px; line-height: 1.5; }
  .legal { padding: 40px 20px 0; }
  .legal-inner { flex-direction: column; gap: 32px; }
  .toc { position: static; width: 100%; padding: 24px; }
  .toc a { white-space: normal; }
  .legal-sec { padding: 32px 0; gap: 12px; }
  .legal-sec h2 { font-size: 24px; line-height: 1.25; gap: 12px; }
  .legal-sec h2::before { font-size: 28px; }
  .legal-sec p, .legal-sec li { font-size: 17px; line-height: 1.55; }
  .legal-sec h3 { font-size: 17px; }
  .legal-sec ul { gap: 10px; }
  .contact-lines--pad { padding-inline: 0; }
  .signup-wrap--static { padding: 16px 20px 56px; }

  /* cookie banner */
  .cookie {
    bottom: 16px; width: 361px; max-width: calc(100% - 32px);
    display: grid; grid-template-columns: auto 1fr; gap: 16px 12px; align-items: center;
    padding: 20px; border-radius: 20px;
  }
  .cookie-text { display: contents; }
  .cookie-icon { width: 64px; height: 64px; border-radius: 32px; }
  .cookie-icon img { width: 49.455px; height: 49.455px; }
  .cookie-title { font-size: 20px; padding-left: 28px; }
  .cookie-body, .cookie-actions { grid-column: 1 / -1; }
  .cookie-body { font-size: 15px; line-height: 1.5; }
  .cookie-br { display: none; }
  .cookie-actions { flex-direction: column; gap: 8px; }
  .cookie-actions .btn { height: 48px; width: 100%; font-size: 16px; }
  .cookie-close { top: 7px; left: 7px; }

  /* modal → bottom sheet */
  .modal { align-items: flex-end; padding: 0; }
  .modal-dialog {
    width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0;
    padding: 36px 20px 32px; animation: sheet-in .3s ease;
  }
  .modal-grabber { display: block; position: absolute; top: 10px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: #d9dde3; }
  .modal-close { top: 12px; left: 12px; width: 44px; height: 44px; }
  .modal-step { gap: 12px; }
  .modal-title { font-size: 24px; line-height: 1.25; }
  .modal-text { font-size: 17px; line-height: 1.55; }
  .modal-form { gap: 12px; }
  .modal-form .field { font-size: 15px; line-height: 1.5; }
  .modal-form .consent { font-size: 13px; line-height: 1.35; }
  .modal-alt { font-size: 13px; line-height: 1.35; }
  .modal-step--success { padding-top: 20px; gap: 16px; }
  .modal-back { width: 100%; margin-top: 8px; }
}
@media (min-width: 901px) {
  .footer-mobile-row { display: contents; }
}

@media (prefers-reduced-motion: reduce) {
  html.intro .intro-curtain { display: none; }
  html.intro body { overflow: auto; }
  html.js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Text links: underline draws in from right to left ---------- */
.story-video a, .footer-col a, .footer-bottom a, .crumbs a, .modal-alt a, .cookie-body a {
  background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out);
  padding-bottom: 1px;
}
.story-video a:hover, .footer-col a:hover, .footer-bottom a:hover, .crumbs a:hover, .modal-alt a:hover, .cookie-body a:hover,
.story-video a:focus-visible, .footer-col a:focus-visible, .footer-bottom a:focus-visible, .crumbs a:focus-visible, .modal-alt a:focus-visible, .cookie-body a:focus-visible {
  background-size: 100% 1px;
}
.footer-col a { align-self: flex-start; }

/* ---------- Oxygen bubbles on the "how it works" image ---------- */
.how-media figure { position: relative; }
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles i {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,.95) 0 9%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 50% 55%, rgba(180,210,235,.06) 0 45%, rgba(150,190,225,.18) 75%, rgba(240,247,255,.75) 100%);
  box-shadow: inset 0 0 0 .75px rgba(255,255,255,.75), inset 0 -4px 8px rgba(120,165,210,.1), 0 4px 12px rgba(48,69,98,.12);
  backdrop-filter: blur(1.5px);
  animation: bubble-float calc(var(--t) * .7) ease-in-out var(--dl) infinite alternate;
}
/* positions keep clear of the face (centre-right of the photo) */
.bubbles i:nth-child(1) { --x: 5%;  --y: 14%; --s: 26px; --t: 4.7s; --dl: 0s; }
.bubbles i:nth-child(2) { --x: 13%; --y: 48%; --s: 44px; --t: 6.0s;   --dl: -1.5s; }
.bubbles i:nth-child(3) { --x: 27%; --y: 26%; --s: 18px; --t: 4.1s; --dl: -.8s; }
.bubbles i:nth-child(4) { --x: 6%;  --y: 74%; --s: 20px; --t: 5.3s; --dl: -2.4s; }
.bubbles i:nth-child(5) { --x: 33%; --y: 6%;  --s: 34px; --t: 5.8s; --dl: -3s; }
.bubbles i:nth-child(6) { --x: 82%; --y: 6%;  --s: 22px; --t: 4.4s; --dl: -1s; }
.bubbles i:nth-child(7) { --x: 89%; --y: 28%; --s: 38px; --t: 6.3s; --dl: -4s; }
.bubbles i:nth-child(8) { --x: 86%; --y: 72%; --s: 26px; --t: 5.1s;   --dl: -2s; }
.bubbles i:nth-child(9) { --x: 23%; --y: 70%; --s: 16px; --t: 3.9s; --dl: -.4s; }
@keyframes bubble-float {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(4px, -10px) scale(1.04); }
  100% { transform: translate(-3px, -18px) scale(.97); }
}
@media (prefers-reduced-motion: reduce) { .bubbles i { animation: none; } }

/* ---------- Fit-card icon animations (play on card hover) ---------- */
.fit-card .fit-icon { width: 72px; height: 72px; overflow: visible; }
.fit-icon * { transform-box: fill-box; }

/* sleep: stars twinkle and spin */
.fi-sleep .star { transform-origin: center; }
.fit-card:hover .fi-sleep .s1 { animation: twinkle 1.2s var(--ease-out); }
.fit-card:hover .fi-sleep .s2 { animation: twinkle 1.2s var(--ease-out) .2s; }
@keyframes twinkle { 0% { transform: none; } 40% { transform: rotate(90deg) scale(1.35); opacity: .5; } 70% { transform: rotate(160deg) scale(.85); opacity: 1; } 100% { transform: rotate(180deg); } }

/* focus: brain glows / pulses */
.fi-focus .brain { transform-origin: center; }
.fit-card:hover .fi-focus .brain { animation: brain 1.2s var(--ease-out); }
@keyframes brain { 0%, 100% { transform: none; } 30% { transform: scale(1.12); } 55% { transform: scale(.96); } 75% { transform: scale(1.05); } }

/* surgery: bandage wiggles into place */
.fi-surgery .band { transform-origin: center; }
.fit-card:hover .fi-surgery .band { animation: wiggle 1s var(--ease-out); }
@keyframes wiggle { 0%, 100% { transform: none; } 20% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 70% { transform: rotate(-5deg); } }

/* sport: dumbbell lifted twice */
.fit-card:hover .fi-sport .bell { animation: lift 1.2s var(--ease-out); }
@keyframes lift { 0%, 50%, 100% { transform: none; } 25%, 75% { transform: translateY(-9px); } }

/* immune: heart beats twice */
.fi-shield .heart { transform-origin: center; }
.fit-card:hover .fi-shield .heart { animation: beat 1.1s ease-in-out; }
@keyframes beat { 0%, 50%, 100% { transform: none; } 20%, 70% { transform: scale(1.22); } }

/* vitality: only the ground at first; the stem draws up from it, each leaf unfolds once the stem reaches it, then the leaves sway */
.fi-plant .stem { stroke-dasharray: 1; stroke-dashoffset: 0; }
.fi-plant .l1 { transform-origin: 100% 100%; }
.fi-plant .l2 { transform-origin: 0% 100%; }
.fit-card:hover .fi-plant .stem { animation: grow 1.4s cubic-bezier(.45, 0, .25, 1) both; }
.fit-card:hover .fi-plant .l1 { animation: leaf-in .6s var(--ease-out) 1s both, sway-l 1.2s var(--ease-out) 1.9s; }
.fit-card:hover .fi-plant .l2 { animation: leaf-in .6s var(--ease-out) 1.35s both, sway-r 1.2s var(--ease-out) 2.1s; }
@keyframes grow { from { stroke-dashoffset: 1; } }
@keyframes leaf-in { from { opacity: 0; transform: scale(0); } }
@keyframes sway-l { 0%, 100% { transform: none; } 35% { transform: rotate(-10deg); } 70% { transform: rotate(4deg); } }
@keyframes sway-r { 0%, 100% { transform: none; } 35% { transform: rotate(10deg); } 70% { transform: rotate(-4deg); } }

/* long covid: battery drains to one bar that blinks */
.fit-card:hover .fi-battery .b2 { animation: drain 1.6s steps(1) forwards; }
.fit-card:hover .fi-battery .b1 { animation: blink 1.6s steps(1); }
@keyframes drain { 0% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
@keyframes blink { 0%, 30% { opacity: 1; } 45% { opacity: 0; } 60% { opacity: 1; } 75% { opacity: 0; } 90%, 100% { opacity: 1; } }

/* pain: pulse line redraws */
.fi-pain .pulse { stroke-dasharray: 1; stroke-dashoffset: 0; }
.fit-card:hover .fi-pain .pulse { animation: grow 1.2s var(--ease-out); }

@media (prefers-reduced-motion: reduce) { .fit-icon * { animation: none !important; } }

/* card hover: green bottom bar draws in from right to left */
.fit-card, .how-card { position: relative; overflow: hidden; }
.fit-card::after, .how-card::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: 0; height: 6px; background: var(--green-light);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out);
}
.fit-card:hover::after, .how-card:hover::after { transform: scaleX(1); }

/* ---------- Mobile menu: hamburger morphs into X ---------- */
.burger { position: relative; display: block; width: 22px; height: 16px; }
.burger i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--blue);
  transition: transform .45s cubic-bezier(.68, -0.4, .27, 1.4), opacity .25s, top .3s var(--ease-out);
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 7px; }
.burger i:nth-child(3) { top: 14px; }
body.menu-open .burger i:nth-child(1) { top: 7px; transform: rotate(45deg); }
body.menu-open .burger i:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.menu-open .burger i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  /* header (logo + X) stays on top of the full-width drawer while it is open */
  body.menu-open .site-header { z-index: 110; }
  .drawer { width: 100%; padding-top: calc(64px + var(--announce-h, 0px)); }
  .drawer-top { display: none; }
}

/* ==========================================================
   CMS: device visibility, announcement bar, video player
   ========================================================== */
@media (min-width: 901px) { .cms-hd { display: none !important; } }
@media (max-width: 900px) { .cms-hm { display: none !important; } }
.cms-pending main, .cms-pending .main-nav, .cms-pending .drawer-links, .cms-pending .site-footer { visibility: hidden; }
html { scroll-padding-top: calc(80px + var(--announce-h, 0px)); }
@media (max-width: 900px) { html { scroll-padding-top: calc(64px + var(--announce-h, 0px)); } }
picture { display: contents; }

.announce { position: relative; display: grid; background: var(--blue); color: var(--white); text-align: center; font-size: 16px; line-height: 1.4; }
.announce-item { grid-area: 1 / 1; padding: 8px var(--gutter); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility .5s; }
.announce-item.is-on { opacity: 1; visibility: visible; transform: none; }
.announce a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: var(--beige-dark); }
@media (max-width: 900px) { .announce { font-size: 14px; } .announce-item { padding: 6px 20px; } }

.cms-video { cursor: pointer; border: 0; background-color: var(--blue); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.story-video .cms-video img, .video-thumb.cms-video img { width: 72px; height: 72px; transition: transform .2s; }
.cms-video:hover img { transform: scale(1.08); }
.video-thumb[style*="background-image"] { background-size: cover; background-position: center; }
.cms-iframe { display: block; width: 100%; border: 0; background: #000; }
.story-video .cms-iframe { aspect-ratio: 671 / 377.4375; border-radius: 48px 8px 48px 8px; }
.video-thumb.cms-iframe { height: 217px; border-radius: 8px; }
@media (max-width: 900px) { .story-video .cms-iframe { aspect-ratio: 353 / 199; } .video-thumb.cms-iframe { height: 198px; } }
.cms-media-img { overflow: hidden; display: block; }
.cms-media-img img { width: 100%; height: 100%; object-fit: cover; }
.cms-transcript { font-size: 15px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.how-slides { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 38.462px 7.692px 38.462px 7.692px; }
.how-slides::-webkit-scrollbar { display: none; }
.how-slides figure { flex: 0 0 100%; scroll-snap-align: start; }
.cms-dots { display: flex; gap: 6px; justify-content: center; width: 100%; margin-top: 8px; }
.cms-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .3s, width .3s; }
.cms-dots span.is-active { width: 20px; border-radius: 4px; background: var(--green-dark); }

.form-error { margin: 0; font-size: 15px; line-height: 1.4; color: #b3261e; }
form.is-sent .form-error { display: none; }
.cms-sample { outline: 2px dashed #d9b26f; outline-offset: 4px; }
.cms-frame .reveal { opacity: 1 !important; transform: none !important; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; z-index: 90; bottom: 24px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 4px 10px rgba(23, 44, 73, .18), 0 12px 28px rgba(23, 44, 73, .16);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  animation: wa-in .6s var(--ease-out) 1s both;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 14px rgba(23, 44, 73, .22), 0 16px 32px rgba(23, 44, 73, .2); }
.wa-float:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
body:has(#cookie-banner:not([hidden])) .wa-float, body.menu-open .wa-float, body.modal-open .wa-float, .intro:not(.intro-done) .wa-float { opacity: 0; visibility: hidden; }
@keyframes wa-in { from { opacity: 0; transform: translateY(16px) scale(.8); } }
@media (max-width: 900px) { .wa-float { width: 48px; height: 48px; bottom: 16px; right: 16px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* Play icon hover: soft fill + ripple ring */
.video-thumb:not(.video-thumb--empty), .cms-video { position: relative; overflow: hidden; isolation: isolate; }
.video-thumb:not(.video-thumb--empty) img, .cms-video img { position: relative; z-index: 2; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.video-thumb:not(.video-thumb--empty)::before, .cms-video::before,
.video-thumb:not(.video-thumb--empty)::after, .cms-video::after {
  content: ""; position: absolute; z-index: 1; top: 50%; left: 50%;
  width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; pointer-events: none;
}
.video-thumb:not(.video-thumb--empty)::before, .cms-video::before { background: rgba(255, 255, 255, .22); transform: scale(.6); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; }
.video-thumb:not(.video-thumb--empty)::after, .cms-video::after { border: 1.5px solid rgba(255, 255, 255, .7); opacity: 0; }
.video-thumb:not(.video-thumb--empty):hover img, .cms-video:hover img, .cms-video:focus-visible img { transform: scale(1.12); }
.video-thumb:not(.video-thumb--empty):hover::before, .cms-video:hover::before, .cms-video:focus-visible::before { transform: scale(1.12); opacity: 1; }
.video-thumb:not(.video-thumb--empty):hover::after, .cms-video:hover::after, .cms-video:focus-visible::after { animation: play-ripple 1.4s var(--ease-out) infinite; }
@keyframes play-ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .video-thumb::after, .cms-video::after { animation: none !important; } }
