/* IMPEC ALIGNERS: homepage styles
   Built on Bootstrap 5.3.8 (reboot, offcanvas). Everything visual is defined here through tokens. */

:root {
  /* Colour */
  /* Client palette (3 Nov 2026): Butter Yellow #FDE68A, Muted Mauve #D4A5B5, Warm Terracotta #C96F56, Cream #FFF7E6.
     Token names are kept from the first palette so every rule below picks the new colours up. */
  --cloud: #FFF7E6;      /* cream: ground */
  --stone: #FBE7DC;      /* very light terracotta tint: second surface, aligner stage */
  --butter: #FDE68A;     /* butter yellow: sparing accent only */
  --mocha: #C96F56;      /* warm terracotta: detail */
  --gold: #9A4A35;       /* deep terracotta: small labels (5.8:1 on cream, 4.9:1 on butter) */
  --sage: #D4A5B5;       /* muted mauve: professional field (white text on it) */
  --ink: #5A2718;        /* very dark terracotta: all text that was black (11:1 on cream, 10:1 on the tint) */
  --olive: #C96F56;      /* warm terracotta: action + trust field (white text on it) */
  --on-action: #FFFFFF;  /* button text on terracotta */
  --action-deep: #9A4A35; /* deep terracotta: secondary button */
  --ink-soft: #7A3826;   /* secondary text: dark terracotta (8:1 on cream) */
  --mark: #F3D3DC;       /* placeholder highlight: light mauve */
  --line: #EBCFC0;       /* hairlines on cream */
  --on-olive: #FFFFFF;   /* text on terracotta: always white */
  --on-olive-soft: #FFF7E6;

  /* Type */
  --serif: "General Sans", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --sans: "General Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step-hero: clamp(3.4rem, 1rem + 8.6vw, 11rem);
  --step-display: clamp(2.75rem, 1.2rem + 5.4vw, 6rem);
  --step-h2: clamp(1.875rem, 1rem + 3.1vw, 4rem);          /* section headings: ~61px at 1440, 30px on phones */
  --step-lead: clamp(1.1875rem, 1rem + 0.55vw, 1.4375rem);
  --step-body: 1.125rem;
  --step-small: 0.875rem;
  --step-h3: clamp(1.5rem, 1.25rem + 0.95vw, 2.25rem);     /* subheadings: ~34px */
  --step-h1: clamp(2.4rem, 1.2rem + 4.4vw, 5rem);          /* page titles: ~83px, capped at 80 */
  --step-h4: clamp(1.1875rem, 1.05rem + 0.4vw, 1.5rem);    /* card titles: ~23px */

  /* Space */
  --margin: clamp(20px, 2.6vw, 40px);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(64px, 7vw, 112px);   /* one rhythm for every section: ~100px at 1440, 64px on phones */
  --header-h: 104px;
  --audience-h: 116px;

  /* Shape + motion */
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 140ms;
  --dur-ui: 220ms;

  /* Bootstrap variable overrides */
  --bs-body-font-family: var(--sans);
  --bs-body-font-size: var(--step-body);
  --bs-body-line-height: 1.55;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--cloud);
  --bs-link-color-rgb: 17, 24, 22;
  --bs-link-hover-color-rgb: 19, 48, 44;
  --bs-border-color: var(--line);
}

/* ---------- Base ---------- */
/* Bootstrap's reboot turns on scroll-behavior: smooth for the whole page. ScrollTrigger jumps the page to the top to
   measure and back again; smoothed, those jumps mis-measure the pinned film and leave an empty screen after it.
   In-page links still glide: main.js scrolls them smoothly itself. */
:root, html { scroll-behavior: auto !important; }
html { overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { background: var(--cloud); color: var(--ink); font-family: var(--sans); font-size: var(--step-body); line-height: 1.55; font-feature-settings: "ss01"; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
::selection { background: var(--sage); color: var(--ink); }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 2px; }
.trust :focus-visible { outline-color: var(--cloud); }
html { scrollbar-color: var(--mocha) var(--cloud); }

.frame { width: 100%; padding-inline: var(--margin); margin-inline: auto; max-width: 1840px; }

.skip-link { position: absolute; left: var(--margin); top: -100px; z-index: 2000; background: var(--olive); color: var(--on-action); padding: 12px 20px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Headings: one sentence per line where marked, and balanced line lengths so no word is left stranded */
h1, h2, h3, .dubai__statement { text-wrap: balance; }
.line { display: block; text-wrap: balance; }
.line--accent { color: var(--olive); }
.h-display { font-family: var(--serif); font-weight: 500; font-size: var(--step-h2); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.h-display--sm { font-size: var(--step-h2); }
.note { font-size: var(--step-small); color: var(--ink-soft); }

/* Placeholder content waiting for verified business facts. Remove the class when the real value is in. */
.to-confirm { background: var(--mark); color: var(--ink); padding: 0.05em 0.35em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
p.to-confirm { display: inline-block; font-size: var(--step-small); margin-top: 0.75em; }

/* ---------- Buttons + links ---------- */
.btn-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--radius-pill); border: 0; font: 600 1.0625rem/1 var(--sans); white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-ui) ease, color var(--dur-ui) ease; -webkit-tap-highlight-color: transparent; }
.btn-pill:active { transform: scale(0.97); }
.btn-pill--solid { background: var(--olive); color: var(--on-action); }
.btn-pill--ink { background: var(--action-deep); color: var(--on-action); }
.btn-pill--block { width: 100%; }
.btn-pill--ghost { gap: 8px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--olive) 55%, transparent); }
.btn-pill--ghost svg, .btn-pill--ghost .visit-card__ico { width: 16px; height: 16px; fill: none; stroke: var(--olive); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .btn-pill--ghost:hover { background: color-mix(in oklab, var(--olive) 10%, transparent); } }
@media (hover: hover) and (pointer: fine) {
  .btn-pill--solid:hover { background: var(--action-deep); color: var(--on-action); }
  .btn-pill--ink:hover { background: var(--olive); color: var(--on-action); }
}

.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 30px; bottom: 8px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-ui) var(--ease-out); }
.arrow { width: 20px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover::after { transform: scaleX(1); }
  .link-arrow:hover .arrow { transform: translateX(5px); }
}
.link-arrow:focus-visible .arrow { transform: translateX(5px); }
[data-placeholder-link] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Header: transparent over the hero, solid once you scroll ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; background: transparent; transition: background-color 300ms ease; }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); transition: height 300ms var(--ease-out); }
.site-header.is-compact { background: var(--cloud); }
.site-header.is-compact .site-header__inner { height: 84px; }

.wordmark { display: inline-flex; align-items: baseline; gap: 0.45em; margin: 0; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark__logo { display: block; width: auto; height: 64px; transition: height 300ms var(--ease-out); }
/* Header logo: all-white lockup over the film at the top, black-tagline lockup once the solid bar shows */
.site-header .wordmark__logo { height: 84px; }
.site-header .wordmark__logo--solid { display: none; }
.site-header.is-compact .wordmark__logo--hero { display: none; }
.site-header.is-compact .wordmark__logo--solid { display: block; }
.site-header.is-compact .wordmark__logo { height: 72px; }
.menu .wordmark__logo { height: 64px; }
@media (max-width: 767.98px) {
  .site-header .wordmark__logo { height: 64px; }
  .site-header.is-compact .wordmark__logo { height: 56px; }
}

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(16px, 1.8vw, 32px); list-style: none; margin: 0; padding: 0; }
.site-nav a { position: relative; display: inline-block; padding: 10px 0; font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover::after { transform: scaleX(1); } }
.site-nav a[aria-current]::after { transform: scaleX(1); }

.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; padding: 0; position: relative; border-radius: var(--radius-pill); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.8px; background: var(--ink); border-radius: 2px; }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 28px; }

.menu.offcanvas { --bs-offcanvas-width: min(420px, 100vw); --bs-offcanvas-bg: var(--cloud); --bs-offcanvas-padding-x: var(--margin); --bs-offcanvas-transition: transform 300ms var(--ease-out); border: 0 !important; }
.menu .offcanvas-header { height: var(--header-h); }
.menu-close { width: 48px; height: 48px; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink); border-radius: var(--radius-pill); }
.menu .offcanvas-body { display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
.menu__route { display: block; padding: 18px 0; text-decoration: none; }
.menu__route strong { display: block; font: 500 var(--step-h3)/1.05 var(--serif); }
.menu__route span { display: block; margin-top: 4px; color: var(--ink-soft); }
.menu__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.menu__links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; text-decoration: none; }
.menu__links a[aria-current="page"] { color: var(--olive); }
.menu__route[aria-current="page"] strong { color: var(--olive); }
.menu__contact { display: grid; gap: 6px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--step-small); color: var(--ink-soft); }
.menu__contact a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; color: var(--ink); text-decoration: none; }

@media (min-width: 1200px) { #menu { display: none !important; } }
@media (max-width: 1199.98px) {
  .site-nav, .site-header__cta { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Hero: the aligner on stone, the headline split around it ---------- */
.hero { position: relative; background: var(--stone); min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.hero__stage { position: absolute; inset: 0 0 var(--audience-h, 116px) 0; z-index: 0; }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__canvas { opacity: 0; transition: opacity 900ms ease; }
.hero__poster { transform-origin: 60% 50%; will-change: transform; }
.hero__canvas.is-ready { opacity: 1; }

.hero__inner { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: var(--gap); padding-top: calc(var(--header-h) + clamp(16px, 3vh, 40px)); padding-bottom: clamp(24px, 4vh, 48px); }
.hero__title { grid-column: 1 / -1; grid-row: 1 / 4; display: grid; grid-template-rows: auto 1fr auto; margin: 0; font-family: var(--serif); font-weight: 500; pointer-events: none; }
.hero__line { display: block; font-family: var(--serif); font-size: var(--step-hero); line-height: 0.9; letter-spacing: -0.03em; white-space: nowrap; will-change: transform; }
.hero__line { overflow: hidden; padding: 0.04em 0.08em 0.24em; margin: -0.04em -0.08em -0.24em; }
.hero__line-inner { display: block; will-change: transform; }
.hero__line--1 { grid-row: 1; justify-self: start; }
.hero__line--2 { grid-row: 3; justify-self: end; align-self: end; }
.hero__intro { grid-column: 1 / span 4; grid-row: 2; align-self: end; max-width: 400px; padding-bottom: clamp(24px, 4vh, 56px); }
.hero__where { margin: 0 0 12px; font-size: var(--step-small); font-weight: 700; color: var(--gold); }
.hero__lead { margin: 0; font-size: var(--step-lead); line-height: 1.4; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.hero__toggle { position: absolute; right: var(--margin); top: calc(var(--header-h) + 16px); z-index: 2; background: rgba(255, 247, 230, 0.9); }
/* Desktop: the hero fits one screen. The headline lines sit on the hero grid's own rows (subgrid), so the intro can
   never slide under them, and the headline is capped by the viewport height as well as its width, so short laptop
   screens (browser chrome leaves ~600-700px) keep the text clear of the aligner. */
@media (min-width: 992px) {
  .hero__title { grid-template-rows: subgrid; }
  .hero__line { font-size: min(var(--step-hero), 15svh); }
  /* the poster may be scaled down to fit between the headline lines (main.js): soften its edges into the backdrop */
  .hero__poster {
    -webkit-mask-image: radial-gradient(ellipse 52% 56% at 58% 52%, #000 64%, transparent 98%);
    mask-image: radial-gradient(ellipse 52% 56% at 58% 52%, #000 64%, transparent 98%);
  } /* taste-skill-ignore: soft edge mask on the render, not a fill */
}
@media (min-width: 992px) and (max-height: 820px) {
  .hero { --audience-h: 96px; }
  .hero__inner { padding-top: calc(var(--header-h) + 4px); padding-bottom: 16px; }
  .hero__intro { max-width: 470px; padding-top: 12px; padding-bottom: 16px; }
  .hero__where { margin-bottom: 8px; }
  .hero__lead { font-size: 1.125rem; }
  .hero__actions { margin-top: 18px; }
  .audience__who { font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); }
}
@media (min-width: 992px) and (max-height: 640px) {
  .hero { --audience-h: 84px; }
  .hero__line { font-size: min(var(--step-hero), 13.5svh); }
  .hero__intro { padding-top: 8px; padding-bottom: 10px; }
  .hero__lead { font-size: 1.0625rem; }
}
/* ---------- Hero v2 (opt-in with .hero--v2 on the section) ----------
   Arch window for the aligner on the right, stacked headline on the left, three floating labels.
   Remove the class to get the original hero back; none of the original hero rules above are changed.
   Backup of the original: backups/hero-v1/ and git tag hero-v1. */
.hero__arch, .hero__archposter, .hero__chips { display: none; }
.hero--v2 { --arch-w: min(44vw, 760px); background: radial-gradient(90% 80% at 78% 45%, #FBE9DF 0%, var(--cloud) 62%); }
.hero--v2 .hero__poster { display: none; }
.hero--v2 .hero__archposter { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero--v2 .hero__line--2 .hero__line-inner { color: var(--olive); }
.hero--v2 .hero__inner { display: flex; flex-direction: column; align-items: flex-start; }
.hero--v2 .hero__title, .hero--v2 .hero__intro { align-self: flex-start; }
.hero--v2 .hero__where { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--olive) 10%, transparent); letter-spacing: 0.02em; }
.hero--v2 .hero__where::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
@media (min-width: 992px) {
  .hero--v2 .hero__arch, .hero--v2 .hero__stage { position: absolute; inset: auto; top: calc(var(--header-h) + clamp(12px, 2.5vh, 28px)); bottom: calc(var(--audience-h, 116px) + clamp(18px, 3vh, 40px)); right: var(--margin); width: var(--arch-w); border-radius: 999px 999px 28px 28px; }
  .hero--v2 .hero__arch { display: block; z-index: 0; background: #F9E8DF; box-shadow: 0 50px 90px -60px rgba(90, 39, 24, 0.55); }
  .hero--v2 .hero__arch::after { content: ""; position: absolute; inset: -16px; border-radius: 999px 999px 40px 40px; border: 1px solid color-mix(in oklab, var(--olive) 28%, transparent); pointer-events: none; }
  .hero--v2 .hero__stage { z-index: 0; overflow: hidden; }
  .hero--v2 .hero__inner { justify-content: center; padding-bottom: clamp(24px, 4vh, 48px); }
  .hero--v2 .hero__title { display: block; max-width: calc(100% - var(--arch-w) - 48px); }
  .hero--v2 .hero__line { font-size: min(clamp(3rem, 0.8rem + 5.2vw, 7rem), 12svh); justify-self: auto; }
  .hero--v2 .hero__intro { max-width: min(460px, calc(100% - var(--arch-w) - 64px)); margin-top: clamp(20px, 3.5vh, 40px); padding: 0; }
  .hero--v2 .hero__where { margin-bottom: 18px; }
  .hero--v2 .hero__toggle { top: auto; bottom: clamp(30px, 4vh, 52px); right: calc(var(--margin) + 18px); }
  .hero--v2 .hero__chips { display: block; position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; list-style: none; pointer-events: none; }
  .hero__chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: var(--radius-pill); background: rgba(255, 247, 230, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.75); box-shadow: 0 14px 30px -16px rgba(90, 39, 24, 0.45); font-size: 0.875rem; font-weight: 600; white-space: nowrap; animation: hero-float 7s ease-in-out infinite; }
  .hero__chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 4px color-mix(in oklab, var(--olive) 18%, transparent); }
  .hero__chip--a { right: calc(var(--margin) + var(--arch-w) - 64px); top: 32%; }
  .hero__chip--b { right: calc(var(--margin) - 14px); top: 56%; animation-delay: -2.3s; }
  .hero__chip--c { right: calc(var(--margin) + var(--arch-w) * 0.5); bottom: clamp(60px, 9vh, 110px); animation-delay: -4.6s; }
}
@keyframes hero-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .hero__chip { animation: none; } }
@media (max-width: 991.98px) {
  .hero--v2 { min-height: 0; }
  .hero--v2 .hero__title { display: block; }
  .hero--v2 .hero__line { font-size: clamp(2.75rem, 10vw, 5rem); }
  .hero--v2 .hero__line--2 { justify-self: start; }
  .hero--v2 .hero__inner { padding-bottom: 8px; }
  .hero--v2 .hero__intro { grid-column: 1 / -1; padding-bottom: 16px; }
  .hero--v2 .hero__stage { position: relative; inset: auto; order: 2; height: auto; aspect-ratio: 11 / 12; width: min(520px, calc(100% - 2 * var(--margin))); margin: 8px auto 28px; border-radius: 999px 999px 24px 24px; overflow: hidden; background: #F9E8DF; -webkit-mask-image: none; mask-image: none; }
  .hero--v2 .audience { order: 4; }
}

/* ---------- Hero film (opt-in with .hero--film on the section) ----------
   Full-bleed looping film under a warm cinematic veil and grain, headline on the left, film control bottom right.
   Switch to .hero--v2 or remove the class to go back; the other versions' rules are untouched. */
.hero__film, .hero__side, .hero__filmtoggle { display: none; }
.hero--film { background: #1B120D; color: #FFF7E6; }
.hero--film .hero__stage, .hero--film .hero__toggle { display: none; }
.hero--film .audience { color: var(--ink); }
.hero--film .hero__film { display: block; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; z-index: -1; background: #1B120D; }
.hero--film .hero__inner { isolation: isolate; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 100svh; padding-top: calc(var(--header-h) + clamp(16px, 3vh, 40px)); padding-bottom: calc(var(--audience-h, 116px) + clamp(28px, 5vh, 64px)); }
/* 12% wider than the screen and anchored left, so the face sits right of the headline with no gap on either edge.
   At full screen height the film is already height-bound, so the extra width costs no sharpness. */
.hero__video { position: absolute; top: 0; left: 0; width: 112%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__veil { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(27, 18, 13, 0.92) 0%, rgba(27, 18, 13, 0.72) 26%, rgba(27, 18, 13, 0.18) 52%, rgba(27, 18, 13, 0) 66%),
    linear-gradient(180deg, rgba(27, 18, 13, 0.55) 0%, rgba(27, 18, 13, 0) 22%, rgba(27, 18, 13, 0) 70%, rgba(27, 18, 13, 0.75) 100%),
    radial-gradient(120% 90% at 70% 40%, rgba(201, 111, 86, 0) 40%, rgba(201, 111, 86, 0.22) 100%); }
.hero__grain { position: absolute; inset: -50%; pointer-events: none; opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: hero-grain 0.9s steps(4) infinite; }
@keyframes hero-grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }
.hero--film .hero__title { display: block; max-width: 100%; }
.hero--film .hero__line { font-size: min(clamp(3rem, 0.9rem + 5.2vw, 6.5rem), 11svh); justify-self: auto; color: #FFF7E6; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero--film .hero__line--2 .hero__line-inner { color: #F2B49C; }
.hero--film .hero__intro { align-self: flex-start; max-width: 470px; margin-top: clamp(22px, 3.6vh, 40px); padding: 0; }
.hero--film .hero__where { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(255, 247, 230, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 247, 230, 0.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #FFF7E6; letter-spacing: 0.02em; }
.hero--film .hero__where::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F2B49C; box-shadow: 0 0 0 4px rgba(242, 180, 156, 0.25); }
.hero--film .hero__lead { color: rgba(255, 247, 230, 0.86); }
.hero--film .hero__actions .link-arrow { color: #FFF7E6; }
.hero--film :focus-visible { outline-color: #FFF7E6; }
.hero--film .hero__side { display: flex; align-items: center; gap: 14px; position: absolute; right: calc(var(--margin) - 6px); top: 50%; margin: 0; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.32em; color: rgba(255, 247, 230, 0.6); }
.hero--film .hero__side span { width: 1px; height: 40px; background: currentColor; }
.hero--film .hero__filmtoggle { display: inline-flex; align-items: center; gap: 12px; position: absolute; right: calc(var(--margin) + 28px); bottom: calc(var(--audience-h, 116px) + clamp(18px, 3vh, 32px)); padding: 6px 16px 6px 6px; border: 0; border-radius: var(--radius-pill); background: rgba(255, 247, 230, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 247, 230, 0.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #FFF7E6; font: 600 0.8125rem/1 var(--sans); cursor: pointer; transition: background-color var(--dur-ui) ease; }
@media (hover: hover) and (pointer: fine) { .hero--film .hero__filmtoggle:hover { background: rgba(255, 247, 230, 0.18); } }
.hero__filmring { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.hero__filmring svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 2; }
.hero__filmring .ring-track { stroke: rgba(255, 247, 230, 0.22); }
.hero__filmring .ring-bar { stroke: #F2B49C; stroke-linecap: round; stroke-dasharray: 138.23; stroke-dashoffset: 138.23; }
.hero__filmring .i-pause, .hero__filmring .i-play { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hero__filmring .i-play { display: none; fill: currentColor; stroke: none; }
.hero__filmtoggle[aria-pressed="true"] .i-play { display: block; }
.hero__filmtoggle[aria-pressed="true"] .i-pause { display: none; }
/* desktop: the routes bar floats over the bottom of the film as a dark frosted strip */
@media (min-width: 992px) {
  .hero--film { --audience-h: 132px; }
  .hero--film .audience__link { min-height: 0; padding-top: 28px; padding-bottom: 32px; }
  .hero--film .audience__row { padding-right: clamp(24px, 2.4vw, 44px); }
  .hero--film .audience { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: #FFF7E6; background: rgba(27, 18, 13, 0.42); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-top: 1px solid rgba(255, 247, 230, 0.16); }
  .hero--film .audience__num { color: #F2B49C; }
  .hero--film .audience__what { color: rgba(255, 247, 230, 0.72); }
  .hero--film .audience__link + .audience__link::before { background: rgba(255, 247, 230, 0.16); }
  .hero--film .audience__go { color: #FFF7E6; box-shadow: inset 0 0 0 1.5px rgba(255, 247, 230, 0.4); }
}
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .hero--film .audience__link:hover { background: rgba(255, 247, 230, 0.08); }
  .hero--film .audience__link:hover .audience__what { color: #FFF7E6; }
  .hero--film .audience__link:hover .audience__go { background: var(--olive); color: #FFFFFF; }
}
@media (min-width: 992px) and (max-height: 820px) { .hero--film { --audience-h: 118px; } .hero--film .audience__link { padding-top: 20px; padding-bottom: 24px; } }
/* header sits over the dark film until the page scrolls */
.film-hero .site-header:not(.is-compact) { color: #FFF7E6; }
.film-hero .site-header:not(.is-compact) .menu-toggle span { background: #FFF7E6; }
@media (prefers-reduced-motion: reduce) { .hero__grain { animation: none; } }
@media (max-width: 991.98px) {
  .hero--film { min-height: 0; }
  .hero--film .hero__inner { min-height: 100svh; justify-content: flex-end; padding-top: calc(var(--header-h) + 24px); padding-bottom: 96px; }
  .hero__video { width: 100%; object-position: 50% 30%; }
  .hero__veil { background: linear-gradient(180deg, rgba(27, 18, 13, 0.6) 0%, rgba(27, 18, 13, 0) 22%, rgba(27, 18, 13, 0.15) 45%, rgba(27, 18, 13, 0.82) 72%, rgba(27, 18, 13, 0.94) 100%); }
  .hero--film .hero__title { max-width: none; }
  .hero--film .hero__line { font-size: clamp(2.4rem, 10vw, 5rem); white-space: normal; text-wrap: balance; }
  .hero--film .hero__side { display: none; }
  .hero--film .hero__filmtoggle { right: var(--margin); bottom: 28px; }
  .hero--film .hero__intro { max-width: 520px; }
}
@media (max-width: 575.98px) {
  .hero--film .hero__actions .btn-pill { flex: 1 1 100%; }
  .hero--film .hero__filmtoggle { left: var(--margin); right: auto; }
}

.media-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; background: var(--cloud); border-radius: var(--radius-pill); font: 600 var(--step-small)/1 var(--sans); color: var(--ink); cursor: pointer; transition: background-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out); }
.media-toggle:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .media-toggle:hover { background: var(--cloud); } }
.media-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.media-toggle .i-play { display: none; fill: currentColor; stroke: none; }
.media-toggle[aria-pressed="true"] .i-play { display: block; }
.media-toggle[aria-pressed="true"] .i-pause { display: none; }

.audience { position: relative; z-index: 1; background: var(--cloud); }
.audience__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.audience { border-top: 1px solid var(--line); }
.audience__row { gap: 0; }
.audience__link { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; min-height: var(--audience-h, 116px); padding: 16px clamp(16px, 2vw, 32px); text-decoration: none; transition: background-color 400ms var(--ease-out), transform var(--dur-press) var(--ease-out); }
.audience__link + .audience__link::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.audience__row > .audience__link:first-child { padding-left: 0; }
.audience__link:active { transform: scale(0.99); }
.audience__num { align-self: start; margin-top: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--olive); }
.audience__text { display: grid; gap: 6px; min-width: 0; }
.audience__who { font: 500 clamp(1.375rem, 0.75rem + 1.25vw, 2.5rem)/1 var(--serif); letter-spacing: -0.02em; white-space: nowrap; }
.audience__what { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audience__what { font-size: var(--step-small); font-weight: 500; color: var(--ink-soft); transition: color var(--dur-ui) ease; }
.audience__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--olive) 45%, transparent); color: var(--olive); transition: background-color 400ms var(--ease-out), color 300ms ease, box-shadow 300ms ease; }
.audience__go .arrow { width: 18px; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .audience__link:hover { background: color-mix(in oklab, var(--olive) 7%, transparent); }
  .audience__link:hover .audience__what { color: var(--action-deep); }
  .audience__link:hover .audience__go { background: var(--olive); color: #FFFFFF; box-shadow: none; }
  .audience__link:hover .audience__go .arrow { transform: translateX(3px); }
}

@media (max-width: 991.98px) {
  .hero__intro { grid-column: 1 / span 7; }
}
@media (max-width: 767.98px) {
  .h-display { font-size: var(--step-h2); }
  .hero { min-height: 0; }
  .hero__title { display: block; }
  .hero__stage { position: relative; inset: auto; order: 2; height: auto; aspect-ratio: 5 / 4; margin-top: 8px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%); mask-image: linear-gradient(to bottom, transparent, #000 22%); } /* taste-skill-ignore: soft edge mask on the render, not a fill */
  .hero__poster { position: static; height: 100%; }
  .hero__inner { display: block; order: 1; padding-bottom: 0; }
  .hero__line { white-space: normal; }
  .hero__line--2 { margin-bottom: 28px; }
  .hero__intro { order: 3; max-width: none; padding: 0; }
  .hero__inner, .hero__stage { position: relative; }
  .audience { order: 4; }
  .audience__row { grid-template-columns: 1fr; gap: 0; padding-top: 16px; padding-bottom: 16px; }
  .audience__link { min-height: 76px; padding: 12px 0; }
  .audience__link + .audience__link::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .audience__go { width: 40px; height: 40px; }
}
@media (max-width: 575.98px) {
  .hero__actions .btn-pill { width: 100%; }
}

/* ---------- Product ---------- */
.product { padding-top: var(--section); overflow: hidden; }
.product__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.product__titlewrap { grid-column: 1 / -1; }
.product__titlewrap .h-display { font-size: var(--step-h2); }
.product__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.product__kicker::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.product__captions { grid-column: 5 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(32px, 4vw, 56px); }
.product__q { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(28px, 2.6vw, 40px); border-radius: 26px; background: #FFFDF8;
  border: 1px solid color-mix(in oklab, var(--olive) 16%, transparent); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 24px 50px -32px rgba(90, 39, 24, 0.35);
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .product__q:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 34px 60px -30px rgba(90, 39, 24, 0.42); } }
/* a large question mark sits in the corner as a quiet watermark */
.product__qmark { position: absolute; right: -6px; top: -34px; font: 500 clamp(9rem, 6rem + 6vw, 13rem)/1 var(--serif); color: color-mix(in oklab, var(--olive) 11%, transparent); pointer-events: none; }
.product__qnum { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.product__qnum::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.product__q h3 { position: relative; margin: 0 0 14px; font: 500 var(--step-h4)/1.08 var(--serif); letter-spacing: -0.025em; text-wrap: balance; }
.product__q p { position: relative; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem); line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }

.product__stage { position: relative; margin-top: clamp(48px, 6vw, 96px); background: var(--stone); height: clamp(440px, 56vw, 960px); }
.product__clip { position: absolute; inset: 0; overflow: hidden; }
.product__render { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; will-change: transform; transform-origin: 40% 60%; }
.product__portrait { position: absolute; right: var(--margin); bottom: calc(-1 * clamp(56px, 7vw, 120px)); width: clamp(180px, 21vw, 360px); z-index: 2; }
.product__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.product__notes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); padding-top: clamp(96px, 11vw, 200px); }
.product__summary { grid-column: 1 / span 4; }
/* client: the intro in light weight, split into a lead line and its detail */
.product__lede { margin: 0; max-width: 24ch; font: 300 clamp(1.5rem, 1.15rem + 0.9vw, 2rem)/1.25 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.product__summary p:not(.product__lede) { margin: 20px 0 0; max-width: 40ch; font: 300 var(--step-body)/1.6 var(--sans); color: var(--ink-soft); }
.product__trio { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto auto; column-gap: clamp(24px, 2.6vw, 44px); }
/* each note shares its rows with the others, so headings and paragraphs start on the same lines */
.product__note { grid-row: span 4; display: grid; grid-template-rows: subgrid; align-content: start; padding-top: 18px; border-top: 1px solid color-mix(in oklab, var(--olive) 40%, transparent); }
.product__num { margin-bottom: 18px; font: 600 0.8125rem/1 var(--sans); letter-spacing: 0.12em; color: var(--gold); }
.product__note h3 { margin: 0 0 14px; font: 500 var(--step-h4)/1.08 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.product__note p { margin: 0 0 14px; max-width: 34ch; text-wrap: pretty; }
.product__note p:last-child { margin-bottom: 0; }
.product__cta { grid-column: 6 / span 7; justify-self: start; }
@media (max-width: 1199.98px) and (min-width: 768px) {
  .product__summary { grid-column: 1 / -1; }
  .product__trio { grid-column: 1 / -1; }
  .product__cta { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
  .product__titlewrap, .product__captions { grid-column: 1 / -1; }
  .product__captions { margin-top: 12px; }
  .product__portrait { width: 38%; }
}
@media (max-width: 767.98px) {
  .product__captions { grid-template-columns: 1fr; gap: 16px; }
  .product__stage { height: 100vw; }
  .product__render { object-position: 30% 50%; }
  .product__portrait { width: 44%; bottom: -56px; }
  .product__notes { grid-template-columns: 1fr; padding-top: 96px; }
  .product__summary, .product__trio, .product__cta { grid-column: 1; }
  .product__trio { grid-template-columns: 1fr; row-gap: 40px; }
  .product__note { grid-row: auto; grid-template-rows: none; }
}

/* ---------- Journey ---------- */
/* ---------- Everyday: full-bleed film ---------- */
.ritual { position: relative; margin-top: var(--section); }
.ritual__stage { position: relative; overflow: hidden; background: var(--stone); }
.ritual__film { position: absolute; inset: 0; overflow: hidden; }
.ritual__video { width: 100%; height: 100%; object-fit: cover; object-position: 64% 38%; }
.ritual__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255, 247, 230, 0.95) 0%, rgba(255, 247, 230, 0.9) 34%, rgba(255, 247, 230, 0.6) 48%, rgba(255, 247, 230, 0) 64%); }
.ritual__copy { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-content: space-between; row-gap: 40px; min-height: 100svh; padding-block: calc(var(--header-h) + 40px) 48px; }
.ritual__title { grid-column: 1 / span 6; margin: 0; }
.ritual__beats { grid-column: 1 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--gap); margin: 0; padding: 0; list-style: none; }
.beat__when { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: var(--step-h3); line-height: 1.05; letter-spacing: -0.01em; }
.beat p { margin: 0; max-width: 34ch; }
.ritual__day { display: none; }
.ritual__foot { grid-column: 1 / span 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
.ritual__note { margin: 0; max-width: 40ch; color: var(--ink-soft); font-size: var(--step-small); }
.ritual__toggle { position: absolute; z-index: 2; right: var(--margin); bottom: 40px; }

/* moment icons (drawn line icons; still everywhere except the scene) */
.beat__icon { display: block; width: 64px; height: 64px; margin-bottom: 18px; color: var(--olive); }
.beat__icon svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.beat__icon .ic-dots { fill: currentColor; stroke: none; }
.beat__icon g, .beat__icon path, .beat__icon circle { transform-box: view-box; }
.beat .mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.04em 0.06em 0.16em; margin: -0.04em -0.06em -0.16em; }
.beat .mask > span { display: inline-block; }

/* scene mode (desktop, motion allowed; class added by main.js).
   Each moment has three states: ahead (below), active, past (above), so scrolling back reverses the direction. */
.ritual.is-scene .ritual__stage { height: 100svh; }
.ritual.is-scene .ritual__copy { height: 100svh; min-height: 0; }
.ritual.is-scene .ritual__beats { grid-template-columns: 1fr; grid-column: 1 / span 4; align-self: center; }
.ritual.is-scene .beat { grid-area: 1 / 1; visibility: hidden; transition: visibility 0s linear 700ms; }
.ritual.is-scene .beat.is-active { visibility: visible; transition-delay: 0s; }
.ritual.is-scene .beat__icon { width: 84px; height: 84px; margin-bottom: 26px; }
.ritual.is-scene .beat__when { font-size: var(--step-h3); margin-bottom: 18px; }
.ritual.is-scene .beat p { font-size: var(--step-lead); line-height: 1.5; }

.ritual.is-scene .beat__icon { opacity: 0; transform: translateY(40px) scale(0.7) rotate(-8deg); transition: opacity 400ms ease, transform 700ms var(--ease-out); }
.ritual.is-scene .beat .d { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms var(--ease-out) calc(150ms + var(--i, 0) * 110ms); }
.ritual.is-scene .beat .mask > span { transform: translateY(110%) rotate(3deg); transform-origin: 0 100%; transition: transform 800ms var(--ease-out); }
.ritual.is-scene .beat p { opacity: 0; transform: translateY(32px); filter: blur(8px); transition: opacity 500ms ease, transform 800ms var(--ease-out), filter 600ms ease; }
.ritual.is-scene .beat .ic-dots circle { opacity: 0; transition: opacity 300ms ease 600ms; }

.ritual.is-scene .beat.is-past .beat__icon { transform: translateY(-40px) scale(0.85) rotate(6deg); }
.ritual.is-scene .beat.is-past .mask > span { transform: translateY(-110%) rotate(-2deg); }
.ritual.is-scene .beat.is-past p { transform: translateY(-32px); }
.ritual.is-scene .beat:not(.is-active) .beat__icon, .ritual.is-scene .beat:not(.is-active) .mask > span, .ritual.is-scene .beat:not(.is-active) p { transition-duration: 450ms; transition-delay: 0s; }

.ritual.is-scene .beat.is-active .beat__icon { opacity: 1; transform: none; }
.ritual.is-scene .beat.is-active .d { stroke-dashoffset: 0; }
.ritual.is-scene .beat.is-active .mask > span { transform: none; transition-delay: calc(120ms + var(--w, 0) * 70ms); }
.ritual.is-scene .beat.is-active p { opacity: 1; transform: none; filter: none; transition-delay: 320ms; }
.ritual.is-scene .beat.is-active .ic-dots circle { opacity: 1; }

/* small loops while a moment is on screen */
.ritual.is-scene .beat.is-active .ic-rays { transform-origin: 32px 44px; animation: ic-rays 2.4s ease-in-out 1s infinite; }
.ritual.is-scene .beat.is-active .ic-fork { transform-origin: 11px 52px; animation: ic-tilt 2.2s ease-in-out 1s infinite; }
.ritual.is-scene .beat.is-active .ic-knife { transform-origin: 54px 52px; animation: ic-tilt 2.2s ease-in-out 2.1s infinite reverse; }
.ritual.is-scene .beat.is-active .ic-dots circle { animation: ic-dot 1.2s ease-in-out 1s infinite; }
.ritual.is-scene .beat.is-active .ic-dots circle:nth-child(2) { animation-delay: 1.15s; }
.ritual.is-scene .beat.is-active .ic-dots circle:nth-child(3) { animation-delay: 1.3s; }
.ritual.is-scene .beat.is-active .ic-moon { transform-origin: 30px 32px; animation: ic-rock 4s ease-in-out 1s infinite; }
.ritual.is-scene .beat.is-active .ic-stars path { transform-origin: center; transform-box: fill-box; animation: ic-twinkle 1.8s ease-in-out 1.2s infinite; }
.ritual.is-scene .beat.is-active .ic-stars path:nth-child(2) { animation-delay: 1.8s; }
.ritual.is-scene .beat.is-active .ic-stars path:nth-child(3) { animation-delay: 2.3s; }
@keyframes ic-rays { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes ic-tilt { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-9deg); } }
@keyframes ic-dot { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
@keyframes ic-rock { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-10deg); } }
@keyframes ic-twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.45); opacity: 0.35; } }

/* the day: a pill slides to the current moment */
.ritual.is-scene .ritual__day { grid-column: 1 / span 5; position: relative; display: inline-flex; justify-self: start; gap: 4px; padding: 5px; border-radius: var(--radius-pill); background: rgba(251, 231, 220, 0.85); font-weight: 600; font-size: var(--step-small); }
.ritual__day span:not(.ritual__pill) { position: relative; z-index: 1; padding: 9px 16px; color: var(--ink-soft); transition: color 350ms ease; }
.ritual__day span.is-on { color: var(--cloud); }
.ritual__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: var(--radius-pill); background: var(--ink); transition: transform 550ms var(--ease-out), width 550ms var(--ease-out); }

@media (max-width: 991.98px) {
  .ritual__stage { background: var(--cloud); }
  .ritual__film { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .ritual__scrim { display: none; }
  .ritual__copy { min-height: 0; padding-block: 44px 0; row-gap: 32px; }
  .ritual__title, .ritual__beats, .ritual__foot { grid-column: 1 / -1; }
  .ritual__toggle { top: calc(62.5vw - 60px); bottom: auto; right: 16px; }
}
@media (max-width: 767.98px) {
  .ritual__film { aspect-ratio: 4 / 5; }
  .ritual__toggle { top: calc(125vw - 60px); }
  .ritual__video { object-position: 58% 50%; }
  .ritual__beats { grid-template-columns: 1fr; gap: 28px; }
  .beat__when { font-size: var(--step-h3); margin-bottom: 6px; }
  .beat__icon { width: 48px; height: 48px; margin-bottom: 12px; }
}

.journey { padding: var(--section) 0; background: var(--stone); }

/* ---------- Stop motion: teeth shift into line, one frame per scroll step ---------- */
.motion { position: relative; background: #DCAE8D; color: var(--ink); }
.motion__sticky { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: var(--gap); padding: var(--section) var(--margin); overflow: hidden; }
.motion__media { position: relative; grid-column: 6 / -1; grid-row: 1; aspect-ratio: 16 / 9; }
.motion__still, .motion__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.motion__still { -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 62%, transparent 100%); }
.motion__canvas { opacity: 0; }
.motion__copy { grid-column: 1 / span 5; grid-row: 1; padding: 0; }

/* the panel */
.motion__panel { position: relative; max-width: 480px; padding: clamp(28px, 3vw, 44px); border-radius: 28px; background: rgba(255, 247, 230, 0.78); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 30px 60px -30px rgba(122, 56, 38, 0.35), 0 8px 20px -12px rgba(122, 56, 38, 0.2); }
.motion__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.motion__kicker::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.motion__title { margin: 0; font: 500 var(--step-h2)/1 var(--serif); letter-spacing: -0.035em; }
.motion__beat { display: block; }
.motion__beat em { font-style: normal; color: var(--olive); }
.motion__subs { position: relative; margin-top: 16px; }
.motion__sub { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-soft); }
.motion__sub:not([data-beat="2"]) { display: none; }
.motion__steps { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.motion__steps li { display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 0.9375rem; font-weight: 500; color: var(--ink); transition: color 400ms ease, opacity 400ms ease; }
.motion__steps span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; border: 1px solid color-mix(in oklab, var(--olive) 45%, transparent); color: var(--olive); transition: background-color 400ms ease, color 400ms ease, border-color 400ms ease; }
.motion__meter { display: none; }
.motion__cue { display: none; }

/* scroll-played version (JS + motion allowed): a tall track with the scene held on screen */
.motion.is-play { height: 340svh; }
.motion.is-play .motion__sticky { position: sticky; top: 0; height: 100svh; padding: 0 var(--margin); }
.motion.is-play .motion__media { position: absolute; inset: 0; grid-column: auto; aspect-ratio: auto; }
.motion.is-drawn .motion__canvas { opacity: 1; }                 /* the canvas shows once it holds a frame; until then the still stands in */
.motion.is-drawn .motion__still { opacity: 0; }
.motion.is-play .motion__copy { position: relative; z-index: 1; padding-top: calc(var(--header-h) * 0.6); }
.motion.is-play .motion__title { position: relative; height: 2em; }
.motion.is-play .motion__beat { position: absolute; left: 0; bottom: 0; }
.motion.is-play .motion__subs { min-height: 3em; }
.motion.is-play .motion__sub { position: absolute; left: 0; top: 0; display: block; }
.motion.is-play .motion__beat, .motion.is-play .motion__sub { opacity: 0; transform: translateY(0.3em); filter: blur(6px); transition: opacity 500ms ease, transform 700ms var(--ease-out), filter 500ms ease; }
.motion.is-play .motion__sub { transform: translateY(12px); }
.motion.is-play .motion__beat.is-on, .motion.is-play .motion__sub.is-on { opacity: 1; transform: none; filter: none; }
.motion.is-play .motion__steps li { opacity: 0.45; }
.motion.is-play .motion__steps li.is-on { opacity: 1; }
.motion.is-play .motion__steps li.is-on span { background: var(--olive); border-color: var(--olive); color: #FFFFFF; }
.motion.is-play .motion__steps li.is-past span { background: color-mix(in oklab, var(--olive) 16%, transparent); }
.motion.is-play .motion__meter { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.motion__bar { flex: 1; height: 3px; border-radius: 3px; background: color-mix(in oklab, var(--olive) 18%, transparent); overflow: hidden; }
.motion__bar i { display: block; height: 100%; background: var(--olive); border-radius: inherit; transform-origin: left; transform: scaleX(0); }
.motion__count b { color: var(--ink); }
.motion.is-play .motion__cue { position: absolute; left: 50%; bottom: clamp(18px, 3.5vh, 36px); display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; transform: translateX(-50%); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); transition: opacity 400ms ease; }
.motion__cue::after { content: ""; width: 1px; height: 28px; background: currentColor; transform-origin: top; animation: motion-cue 1.6s ease-in-out infinite; }
.motion.is-started .motion__cue { opacity: 0; }
@keyframes motion-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 991.98px) {
  .motion__media, .motion__copy { grid-column: 1 / -1; }
  .motion__copy { grid-row: 2; }
  .motion__panel { max-width: none; }
}
@media (max-width: 767.98px) {
  .motion.is-play { height: 300svh; }
  .motion.is-play .motion__sticky { display: block; }
  .motion.is-play .motion__copy { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 0; }
  .motion.is-play .motion__panel { padding: 22px 20px 18px; border-radius: 22px; }
  .motion__kicker { margin-bottom: 14px; }
  .motion.is-play .motion__title { height: 1em; font-size: clamp(1.875rem, 8vw, 2.5rem); }
  .motion.is-play .motion__beat { white-space: nowrap; }
  .motion__sub { font-size: 0.9375rem; }
  .motion.is-play .motion__subs { min-height: 2.9em; margin-top: 10px; }
  .motion__steps { margin-top: 16px; padding-top: 12px; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; }
  .motion__steps li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 0; font-size: 0.75rem; line-height: 1.2; }
  .motion.is-play .motion__meter { margin-top: 14px; }
  .motion.is-play .motion__cue { display: none; }
}
.journey__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.journey__title { grid-column: 1 / span 8; }
.journey__intro { grid-column: 9 / span 4; max-width: 40ch; font-size: var(--step-lead); line-height: 1.45; }
@media (max-width: 991.98px) { .journey__title, .journey__intro { grid-column: 1 / -1; } .journey__intro { margin-top: 20px; } }
.journey__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 6vw, 96px); }
.journey__media { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 24px); height: calc(100svh - var(--header-h) - 48px); max-height: 820px; overflow: hidden; background: var(--stone); }
.journey__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms ease; }
.journey__media > .is-active { opacity: 1; }
.journey__media > .journey__arch { object-fit: contain; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 96%); mask-image: linear-gradient(to bottom, #000 72%, transparent 96%); }  /* the arch fits whole: never cropped by the tall panel; its cut-off back teeth fade out */
.journey__aligner { display: grid; place-items: center; background: var(--cloud); }
.journey__aligner img { width: 120%; max-width: none; transform: rotate(-8deg); }
.journey__stages { grid-column: 8 / span 5; list-style: none; margin: 0; padding: 0; }
.stage { min-height: 74svh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.stage__name { font: 500 var(--step-h3)/0.95 var(--serif); letter-spacing: -0.02em; margin-bottom: 20px; transition: color 400ms ease; }
.stage p { font-size: var(--step-lead); line-height: 1.45; max-width: 30ch; }
.stage__img { display: none; }
.stage__close { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.stage__close .note { font-size: var(--step-small); max-width: 40ch; }
.js .stage:not(.is-active) .stage__name { color: #D9A595; }

@media (max-width: 991.98px) {
  .journey__media { display: none; }
  .journey__stages { grid-column: 1 / -1; }
  .stage { min-height: 0; padding: 0 0 64px; }
  .stage__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 24px; }
  .stage:nth-child(2) .stage__img { width: 72%; margin-left: auto; aspect-ratio: 4 / 5; }
  .stage:nth-child(4) .stage__img { width: 62%; aspect-ratio: 4 / 5; }
  .stage__img--aligner { background: var(--cloud); display: grid; place-items: center; overflow: hidden; }
  .stage__img--aligner img { width: 110%; max-width: none; }
  .js .stage:not(.is-active) .stage__name { color: inherit; }
  .stage__name { font-size: var(--step-h3); }
}

/* ---------- Clinic ---------- */
.clinic { position: relative; min-height: 100svh; display: flex; align-items: flex-start; }
.clinic__photo { position: absolute; inset: 0; }
.clinic__photo img, .clinic__photo video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.clinic__frame { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.visit-card { width: min(460px, 100%); padding: clamp(28px, 2.6vw, 40px); border-radius: 26px; background: rgba(255, 247, 230, 0.9); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.75); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 30px 60px -30px rgba(90, 39, 24, 0.45), 0 10px 24px -14px rgba(90, 39, 24, 0.25); }
.visit-card__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.visit-card__kicker::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.visit-card__title { font: 500 var(--step-h3)/1.02 var(--serif); letter-spacing: -0.025em; text-wrap: balance; }
.visit-card__intro { margin: 12px 0 0; color: var(--ink-soft); line-height: 1.55; text-wrap: pretty; }
.visit-card__ico { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.visit-card__name { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 0; padding: 14px 16px; border-radius: 16px; background: color-mix(in oklab, var(--olive) 9%, transparent); font-weight: 600; line-height: 1.3; }
.visit-card__name .visit-card__ico { width: 20px; height: 20px; margin-top: 1px; color: var(--olive); }
.visit-card__name small { display: block; margin-top: 3px; font-size: var(--step-small); font-weight: 500; color: var(--ink-soft); }
.visit-card__facts { margin: 18px 0 0; display: grid; }
.visit-card__facts > div { display: grid; grid-template-columns: 18px 64px 1fr; gap: 0 12px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.visit-card__facts > div:first-child { border-top: 0; }
.visit-card__facts .visit-card__ico { margin-top: 2px; color: var(--olive); }
.visit-card__facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.visit-card__facts dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; }
.visit-card__facts dd a { display: block; width: fit-content; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .visit-card__facts dd a:hover { background-size: 100% 1px; } }
.visit-card__hours { display: grid; gap: 2px; }
.hours { display: flex; justify-content: space-between; gap: 12px; padding: 3px 8px; margin: 0 -8px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.hours > :last-child { white-space: nowrap; color: var(--ink-soft); }
.hours.is-today { background: color-mix(in oklab, var(--olive) 12%, transparent); font-weight: 600; }
.hours.is-today > :last-child { color: var(--ink); }
.visit-card__actions { margin-top: 22px; display: grid; gap: 10px; }
@media (max-width: 767.98px) {
  .clinic { display: block; min-height: 0; }
  .clinic__photo { position: relative; height: 70svh; }
  .clinic__frame { margin-top: -80px; padding-top: 0; }
  .visit-card { width: 100%; padding: 26px 20px 22px; border-radius: 22px; }
  .visit-card__actions { grid-template-columns: 1fr; }
}

/* ---------- Professionals ---------- */
.pros { background: var(--sage); color: #FFFFFF; padding: var(--section) 0; } /* text on mauve: always white */
.pros :focus-visible { outline-color: #FFFFFF; }
.pros__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: end; }
.pros__titlewrap { grid-column: 1 / span 7; }
.pros__head .h-display { margin: 0; font-size: var(--step-h2); }
.pros__tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.pros__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FFFFFF; }
.pros__lead { grid-column: 9 / span 4; margin: 0; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.55); font-size: var(--step-lead); line-height: 1.5; }

.pros__detail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(56px, 7vw, 112px); align-items: stretch; }
.pros__object { grid-column: 1 / span 7; position: relative; margin: 0; min-height: 420px; overflow: hidden; background: var(--stone); }
.pros__object img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 50% 50%; }
.pros__caption { position: absolute; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(255, 247, 230, 0.85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ink); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.spec { grid-column: 8 / span 5; display: flex; flex-direction: column; background: var(--cloud); color: var(--ink); padding: clamp(28px, 3vw, 48px); }
.spec__kicker { margin: 0 0 14px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.spec h3 { margin: 0; font: 500 var(--step-h3)/1.05 var(--serif); letter-spacing: -0.015em; }
.spec__note { margin: 12px 0 24px; font-size: var(--step-small); color: var(--ink-soft); }
.spec__list { margin: auto 0 0; display: grid; }
.spec__list div { display: grid; grid-template-columns: minmax(120px, 0.8fr) 1.2fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: var(--step-small); }
.spec__list div:last-child { border-bottom: 1px solid var(--line); }
.spec__list dt { font-weight: 600; }
.spec__list dd { margin: 0; color: var(--ink-soft); }

.pros__pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: clamp(24px, 3vw, 56px); margin-top: clamp(72px, 8vw, 128px); }
.pros__pillar { grid-row: span 3; display: grid; grid-template-rows: subgrid; align-content: start; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.6); }
.pros__num { margin-bottom: 20px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; }
.pros__pillar h3 { margin: 0 0 14px; font: 500 var(--step-h4)/1.08 var(--serif); letter-spacing: -0.015em; }
.pros__pillar p { margin: 0; max-width: 36ch; }

.pros__panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: clamp(72px, 8vw, 128px); background: var(--cloud); color: var(--ink); }
.pros__panel :focus-visible { outline-color: var(--olive); }
.pros__panel .pros__tag { border-color: color-mix(in oklab, var(--olive) 55%, transparent); color: var(--gold); }
.pros__panel .pros__tag::before { background: var(--olive); }
.pros__panelbody > p:not(.pros__tag) { color: var(--ink-soft); }
.pros__pic { margin: 0; }
.pros__pic img { display: block; width: 100%; height: 100%; min-height: 320px; aspect-ratio: 4 / 5; object-fit: cover; }
.pros__panelbody { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px, 5vw, 80px); }
.pros__paneltitle { max-width: 22ch; margin: 0 0 18px; font: 500 var(--step-h3)/1.08 var(--serif); letter-spacing: -0.015em; }
.pros__panelbody > p:not(.pros__tag) { max-width: 46ch; margin: 0; }
.pros__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 32px; }
.pros__actions .link-arrow { color: var(--ink); }
@media (max-width: 991.98px) {
  .pros__titlewrap, .pros__lead, .pros__object, .spec { grid-column: 1 / -1; }
  .pros__lead { padding-left: 20px; }
  .pros__object { min-height: 0; aspect-ratio: 16 / 10; }
  .pros__pillars { grid-template-columns: 1fr; row-gap: 40px; }
  .pros__pillar { grid-row: auto; grid-template-rows: none; }
  .pros__panel { grid-template-columns: 1fr; }
  .pros__pic img { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 575.98px) {
  .spec__list div { grid-template-columns: 1fr; gap: 4px; }
  .pros__actions .btn-pill { width: 100%; padding: 0 18px; font-size: 1rem; }
  .pros__panelbody { padding: 32px 22px; }
  .pros__actions .btn-pill { padding: 0 14px; font-size: 0.9375rem; white-space: nowrap; }
}

/* ---------- Dubai: three legs of the trip, home → Dubai → home ---------- */
.dubai { padding: var(--section) 0; background: var(--stone); }
.dubai__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.dubai__head .h-display { grid-column: 1 / span 8; }
.dubai__lead { grid-column: 9 / span 4; margin: 0; font-size: var(--step-lead); line-height: 1.45; }

.dubai__route { list-style: none; margin: clamp(56px, 7vw, 112px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); align-items: start; }
.leg { margin: 0; }
.leg--mid { margin-top: 0; }   /* point 6: the three stages sit on one line */
.leg__pic { position: relative; overflow: hidden; background: var(--stone); }
.leg__pic img, .leg__pic video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 900ms var(--ease-out); }
.leg__pic figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .leg:hover .leg__pic img, .leg:hover .leg__pic video { transform: scale(1.04); } }
.leg__title { font: 500 var(--step-h3)/1.02 var(--serif); letter-spacing: -0.01em; margin: 28px 0 12px; }
.leg strong { font-weight: 700; color: var(--gold); }
.leg > p:last-child { max-width: 38ch; }

.dubai__close { margin-top: clamp(64px, 8vw, 128px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap); align-items: center; background: var(--sage); color: #FFFFFF; padding: clamp(32px, 4vw, 64px); }
.dubai__close :focus-visible { outline-color: #FFFFFF; }
.dubai__close .link-arrow { color: #FFFFFF; }
.dubai__close .btn-pill { background: var(--cloud); color: var(--olive); }
@media (hover: hover) and (pointer: fine) { .dubai__close .btn-pill:hover { background: var(--stone); color: var(--action-deep); } }
.dubai__statement { grid-column: 1 / span 7; margin: 0; font: 500 clamp(1.5rem, 1.1rem + 1.1vw, 2.25rem)/1.18 var(--serif); letter-spacing: -0.01em; max-width: 42ch; }
.dubai__actions { grid-column: 8 / span 5; justify-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

@media (max-width: 991.98px) {
  .dubai__head .h-display, .dubai__lead { grid-column: 1 / -1; }
  .dubai__lead { margin-top: 20px; }
  .dubai__route { grid-template-columns: 1fr; gap: 56px; }
  .leg--mid { margin-top: 0; }
  .leg__pic img, .leg__pic video { aspect-ratio: 4 / 3; }
  .leg--mid .leg__pic video { aspect-ratio: 4 / 5; }
  .dubai__statement, .dubai__actions { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 575.98px) {
  .dubai__actions { flex-direction: column; align-items: stretch; width: 100%; }
}

/* ---------- Trust (consultation card) ---------- */
.trust { background: var(--olive); color: var(--on-olive); padding-top: var(--section); overflow: hidden; }
.trust__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.trust__text { grid-column: 1 / span 5; padding-bottom: var(--section); }
.trust__text > p { max-width: 42ch; margin-top: 28px; font-size: var(--step-lead); line-height: 1.45; color: var(--on-olive); }
.trust__status { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: clamp(32px, 3.4vw, 48px) 0 0; padding: 0 0 clamp(56px, 7vw, 112px) clamp(4px, 1vw, 12px); font-size: var(--step-body); color: var(--on-olive); }
.trust__status .link-arrow { color: var(--on-olive); }
.trust__status [data-picked-count] { font: 500 clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem)/1.2 var(--serif); letter-spacing: -0.01em; }
.trust__status .link-arrow { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
.trust__cardwrap { grid-column: 7 / span 6; position: relative; }
.qcard { background: var(--cloud); color: var(--ink); padding: clamp(28px, 3.6vw, 56px); transform: rotate(-1.5deg); transform-origin: 50% 0; }
.qcard__title { font: 500 var(--step-h3)/1.05 var(--serif); text-align: center; margin-bottom: 24px; }
.qcard__list { list-style: none; margin: 0; padding: 0 0 48px; display: grid; gap: 6px; }
.q { width: 100%; display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; text-align: left; padding: 12px 14px; border: 0; background: transparent; border-radius: 10px; font: 500 var(--step-body)/1.45 var(--sans); color: var(--ink); cursor: pointer; transition: background-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out); }
.q::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--stone); box-shadow: inset 0 0 0 1.5px var(--mocha); transition: background-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease; } /* taste-skill-ignore: checkbox ring of a control */
.q[aria-pressed="true"] { background: var(--stone); }
.q[aria-pressed="true"]::before { background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-7' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: none; } /* taste-skill-ignore: checkbox ring of a control */
.q:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .q:hover { background: var(--stone); } }
@media (max-width: 991.98px) {
  .trust__text { grid-column: 1 / -1; padding-bottom: 48px; }
  .trust__cardwrap { grid-column: 1 / -1; }
  .qcard { transform: rotate(-1deg); }
}

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.faq__col { grid-column: 1 / span 6; }
.faq__lead { max-width: 48ch; margin-top: 20px; color: var(--ink-soft); }
.faq__group { margin-top: 56px; }
.faq__cat { margin-bottom: 10px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.faq details { border-bottom: 1px solid var(--line); }
.faq__cat + details, .faq__cat + * details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: center; min-height: 56px; padding: 20px 0; font: 500 var(--step-h4)/1.25 var(--serif); letter-spacing: -0.01em; text-wrap: balance; cursor: pointer; transition: color var(--dur-ui) ease; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--action-deep); } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; justify-self: center; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-ui) var(--ease-out); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__a { padding: 0 40px 24px 0; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6; color: var(--ink-soft); }
.faq__a p { max-width: 60ch; }
.faq__pics { grid-column: 8 / span 5; position: relative; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.faq__tall img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faq__square { position: absolute; left: -12%; bottom: -40px; width: 38%; }
.faq__square img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 991.98px) {
  .faq__col { grid-column: 1 / -1; order: 2; }
  .faq__pics { grid-column: 1 / -1; order: 1; position: relative; top: 0; margin-bottom: 72px; }
  .faq__tall img { aspect-ratio: 4 / 5; }
  .faq__square { left: auto; right: 0; width: 38%; }
}

/* ---------- Closing / enquiry ---------- */
.closing { padding: var(--section) 0; background: var(--stone); }
.closing__title { font-size: var(--step-h2); line-height: 0.98; padding-left: 3vw; }
.closing__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 6vw, 96px); }
.closing__pic { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.closing__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }
.closing__main { grid-column: 6 / span 7; }
.routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.route { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "who btn" "reply btn"; align-items: center; gap: 4px 24px; padding: 24px 0; }
.route__who { grid-area: who; margin: 0; font: 500 var(--step-h3)/1.05 var(--serif); }
.route__reply { grid-area: reply; margin: 0; color: var(--ink-soft); }
.route .btn-pill { grid-area: btn; }
.route.is-chosen .route__who { color: var(--olive); }

.enquiry { margin-top: 48px; background: var(--cloud); padding: clamp(24px, 3.4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; scroll-margin-top: calc(var(--header-h) + 24px); }
.enquiry__title { grid-column: 1 / -1; font: 500 var(--step-h3)/1 var(--serif); }
.enquiry__title:focus { outline: none; }
.enquiry .field:has(textarea), .enquiry fieldset, .enquiry > .btn-pill, .form-status, .enquiry .field:first-of-type { grid-column: 1 / -1; }
.field { margin: 0; min-width: 0; border: 0; padding: 0; }
.field label, .field legend { display: block; font-size: var(--step-small); font-weight: 600; margin-bottom: 8px; float: none; width: auto; padding: 0; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid #D9BFB2; border-radius: 10px; background: #FFFFFF; font: 400 var(--step-body)/1.4 var(--sans); color: var(--ink); transition: border-color var(--dur-ui) ease; }
.field select { appearance: none; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%235A2718' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--olive); outline: 2px solid var(--olive); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #9B3B2E; }
.field__error { margin: 8px 0 0; font-size: var(--step-small); font-weight: 600; color: #8A3226; }
.field__error::before { content: "Error: "; }
.field__hint { margin: 8px 0 0; font-size: var(--step-small); color: var(--ink-soft); }
.choices { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.choice { display: inline-flex !important; align-items: center; gap: 10px; min-height: 44px; font-weight: 500 !important; margin: 0 !important; cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--olive); }
.enquiry > .btn-pill { justify-self: start; }
.form-status:empty { display: none; }
.form-status { padding: 18px 20px; background: var(--stone); border-radius: 10px; }
.form-status strong { display: block; margin-bottom: 4px; }
@media (max-width: 991.98px) {
  .closing__pic { grid-column: 1 / -1; position: relative; top: 0; width: 60%; margin-left: auto; }
  .closing__main { grid-column: 1 / -1; }
  .closing__title { padding-left: 0; }
}
@media (max-width: 575.98px) {
  .route { grid-template-columns: 1fr; grid-template-areas: "who" "reply" "btn"; }
  .route .btn-pill { width: 100%; margin-top: 14px; }
  .enquiry { grid-template-columns: 1fr; }
  .enquiry > .btn-pill { width: 100%; }
}

/* ---------- Footer ---------- */
/* Magnet wordmark (main.js): each letter shies away from the pointer and springs back. main.js also sizes the line to
   the frame exactly; the font-size above is a safe fallback that never crops. */

/* ---------- Motion helpers ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; }
  .hero__stills img { transition: none; }
}

/* ---------- Rhythm adjustments ---------- */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .trust__text { grid-column: 1 / span 6; }
  .trust__cardwrap { grid-column: 7 / span 6; }
}
@media (max-width: 767.98px) {
  :root { --section: 72px; }
}

/* ============ PAGE LOADER ============
   Hidden unless <html> has .is-loading (set inline in <head>; never set with reduced motion or no JS).
   The white lockup builds in reading order: i-dot drops, letters rise, tagline follows; then a light sweep. */
.loader { display: none; }
.is-loading { overflow: hidden; }
.is-loading .loader, .loader.is-leaving {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 40%, #D07A61 0%, var(--olive) 55%, #B9614A 100%); color: #FFFFFF;
  clip-path: ellipse(120% 135% at 50% 0%);
}
.loader.is-leaving {
  clip-path: ellipse(120% 0% at 50% 0%);
  transition: clip-path 1s var(--ease-in-out);
  pointer-events: none;
}
.loader__inner { position: relative; display: grid; justify-items: center; gap: clamp(26px, 3.4vw, 40px); }
.loader.is-leaving .loader__inner {
  transform: translateY(-48px) scale(0.98); opacity: 0;
  transition: transform 0.8s var(--ease-in-out), opacity 0.45s ease 0.1s;
}
.loader__stage { position: relative; width: clamp(200px, 26vw, 340px); }
.loader__mark { display: block; width: 100%; height: auto; overflow: visible; }

/* timeline per piece (--d is set in the markup): i-dot drops, i rises, the m-line and p-line
   extend down into the aligners row, the other letters rise, then the tagline */
.ld { opacity: 0; transform: translateY(26px);
  animation: ld-rise 0.8s cubic-bezier(0.2, 0.85, 0.25, 1.12) var(--d) forwards; }
.ld--dot { transform: translateY(-120px) scale(0.6);
  animation: ld-drop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d) forwards; }
/* the extended lines grow from the impec row down to the aligners baseline */
.ld--line { opacity: 1; transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 0%;
  animation: ld-extend 0.7s cubic-bezier(0.65, 0, 0.35, 1) var(--d) forwards; }

/* one light sweep, clipped to the logo shape, after the lockup has settled */
.loader__shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.9) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 120% 0;
  -webkit-mask: url(../images/logo-white.svg) center / contain no-repeat;
          mask: url(../images/logo-white.svg) center / contain no-repeat;
  animation: ld-shine 1.1s ease-in-out 2.4s forwards;
}

@keyframes ld-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes ld-extend { from { transform: scaleY(0); } to { transform: none; } }
@keyframes ld-drop { from { opacity: 0; transform: translateY(-120px) scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes ld-shine {
  0% { opacity: 0; background-position: 120% 0; }
  15% { opacity: 1; }
  100% { opacity: 0; background-position: -20% 0; }
}

@media (prefers-reduced-motion: reduce) { .loader { display: none !important; } }

/* ---------- Footer: the aligner frames the last call to action ---------- */
.footer { background: var(--stone); color: var(--ink); overflow: hidden; }
.footer__stage { position: relative; container-type: inline-size; width: min(1240px, 100%); margin: 0 auto; padding-top: clamp(40px, 6vw, 96px); }
.footer__aligner { display: block; width: 100%; height: auto; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.footer__hero { position: absolute; left: 50%; top: 34%; width: 44%; transform: translateX(-50%); text-align: center; }
.footer__eyebrow { margin: 0 0 1.6cqi; font: 600 max(11px, 0.95cqi)/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.footer__cta { margin: 0; font: 500 4.5cqi/1.02 var(--serif); letter-spacing: -0.03em; color: var(--ink); }
.footer__cta span { color: var(--olive); }
.footer__lede { max-width: 30ch; margin: 2cqi auto 0; font-size: max(14px, 1.35cqi); line-height: 1.5; color: var(--ink-soft); }
.footer__btn { margin-top: 2.6cqi; }

.footer__btns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 2.6cqi; }
.footer__btns .footer__btn { margin-top: 0; }
.footer__btns .link-arrow { color: var(--ink); font-size: max(14px, 1.2cqi); }
.footer__index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: clamp(24px, 4vw, 64px); }
.footer__index:has(> .footer__brand) { grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); }
.footer__brand { padding-top: 22px; border-top: 1px solid color-mix(in oklab, var(--olive) 35%, transparent); padding-right: clamp(0px, 3vw, 48px); }
.footer__brand .wordmark__logo { height: clamp(72px, 4rem + 2vw, 104px); }   /* client: bigger footer logo */
.footer__tag { margin: clamp(32px, 3vw, 48px) 0 12px; font: 500 clamp(1.25rem, 1.05rem + 0.5vw, 1.5rem)/1.15 var(--serif); letter-spacing: -0.015em; color: var(--olive); }
.footer__brand p { max-width: 34ch; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.footer__addr li a { padding: 4px 0; }
.footer__hours--sm { margin-top: 14px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; margin-top: clamp(32px, 3.5vw, 48px); padding-top: 18px; border-top: 1px solid color-mix(in oklab, var(--olive) 35%, transparent); font-size: var(--step-small); color: var(--ink-soft); }
.footer__legal p { margin: 0; max-width: 60ch; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; color: var(--ink); text-decoration: none; }
.footer__legal a[aria-current="page"] { color: var(--olive); }
.footer__clocks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer__col { padding-top: 22px; border-top: 1px solid color-mix(in oklab, var(--olive) 35%, transparent); }
.footer__label { display: flex; align-items: baseline; gap: 12px; margin: 0 0 20px; font: 600 var(--step-small)/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.footer__label span { font: 500 0.75rem/1 var(--sans); letter-spacing: 0.04em; color: var(--olive); }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li a { position: relative; display: inline-flex; align-items: center; min-height: 40px; font-size: 1rem; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; transition: color var(--dur-ui) ease, transform 400ms var(--ease-out); }
.footer__col li a::before { content: ""; position: absolute; left: -18px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--olive); transform: scale(0); transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .footer__col li a:hover { color: var(--action-deep); transform: translateX(14px); }
  .footer__col li a:hover::before { transform: scale(1); }
}
.footer__col p { max-width: 32ch; margin: 0; color: var(--ink-soft); }
.footer address { display: grid; gap: 4px; margin: 0; font-style: normal; }
.footer__hours { display: grid; gap: 6px; margin: 18px 0 0; font-size: var(--step-small); }
.footer__hours div { display: flex; justify-content: space-between; gap: 16px; max-width: 240px; padding-bottom: 6px; border-bottom: 1px dotted color-mix(in oklab, var(--ink) 25%, transparent); }
.footer__hours dt { font-weight: 600; }
.footer__hours dd { margin: 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.footer__contact a { font: 400 1rem/1.35 var(--sans); }
.footer__more { margin-top: 14px; color: var(--action-deep); font-size: 1rem; }

.footer__namewrap { margin-top: clamp(40px, 5vw, 72px); }
.footer__legal + .footer__namewrap { margin-top: clamp(32px, 4vw, 56px); }
.footer__name { margin: 0; font: 500 clamp(2.5rem, 10.6vw, 15rem)/0.85 var(--serif); letter-spacing: -0.03em; white-space: nowrap; text-align: center; color: var(--olive); }
.footer__name.is-magnet { cursor: default; touch-action: pan-y; user-select: none; -webkit-user-select: none; padding-block: 0.12em; margin-block-start: -0.12em; }
.footer__name .fl { display: inline-block; transform-origin: 50% 80%; will-change: transform; color: color-mix(in oklab, var(--olive), var(--action-deep) calc(var(--heat, 0) * 100%)); }
.footer__name .fl--space { width: 0.26em; }
.footer__base { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px 24px; margin-top: 24px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid color-mix(in oklab, var(--olive) 35%, transparent); font-size: var(--step-small); color: var(--ink-soft); }
.footer__base p { margin: 0; }
.footer__clock { font-variant-numeric: tabular-nums; }
.footer__clock time { font-weight: 600; color: var(--ink); }
.footer__clock time::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 4px; border-radius: 50%; background: var(--olive); animation: footer-pulse 2.4s ease-in-out infinite; }
.footer__clock abbr { text-decoration: none; }
.footer__top { justify-self: end; font-weight: 600; color: var(--ink); text-decoration: none; }
.footer__top span { display: inline-block; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .footer__top:hover span { transform: translateY(-4px); } }
@keyframes footer-pulse { 50% { opacity: 0.25; } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .footer__aligner { animation: footer-aligner linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .footer__hero { animation: footer-hero linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
  }
}
@keyframes footer-aligner { from { transform: translateY(14%) scale(0.86) rotate(-4deg); opacity: 0; } }
@keyframes footer-hero { from { opacity: 0; translate: 0 40px; } }

@media (max-width: 1199.98px) and (min-width: 992px) {
  .footer__index:has(> .footer__brand) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
  .footer__index, .footer__index:has(> .footer__brand) { grid-template-columns: 1fr 1fr; gap: 40px var(--gap); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .footer__stage { width: 150vw; margin-left: -25vw; }
  .footer__hero { top: 35%; width: 48%; }
}
@media (max-width: 575.98px) {
  .footer__index { grid-template-columns: 1fr; gap: 32px; }
  .footer__name { font-size: 11vw; }
  .footer__base { grid-template-columns: 1fr; justify-items: start; }
  .footer__top { justify-self: start; }
  .footer__clocks { justify-content: flex-start; }
  .footer__btns .footer__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .footer__clock time::before { animation: none; } }

/* ---------- Header: "More" dropdown (Bootstrap dropdown) ---------- */
.site-nav ul { align-items: center; }
.site-nav__btn { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; border: 0; background: none; color: inherit; font: 500 0.9375rem/1.55 var(--sans); cursor: pointer; }
.site-nav__btn::after { content: ""; position: absolute; left: 0; right: 18px; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .site-nav__btn:hover::after { transform: scaleX(1); } }
.site-nav__btn.is-current::after, .site-nav__btn[aria-expanded="true"]::after { transform: scaleX(1); }
.site-nav__chev { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-ui) var(--ease-out); }
.site-nav__btn[aria-expanded="true"] .site-nav__chev { transform: rotate(180deg); }
.site-nav .site-nav__menu { display: none; min-width: 220px; padding: 8px; border: 1px solid color-mix(in oklab, var(--olive) 18%, transparent); border-radius: 18px; background: var(--cloud); box-shadow: 0 24px 50px -24px rgba(90, 39, 24, 0.4); }
.site-nav .site-nav__menu.show { display: grid; gap: 2px; }
.site-nav__menu .dropdown-item { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.site-nav__menu .dropdown-item::after { display: none; }
.site-nav__menu .dropdown-item:hover, .site-nav__menu .dropdown-item:focus-visible { background: color-mix(in oklab, var(--olive) 10%, transparent); color: var(--ink); }
.site-nav__menu .dropdown-item[aria-current="page"] { background: color-mix(in oklab, var(--olive) 14%, transparent); color: var(--olive); }
/* the email address breaks only before the @, at a size that fits the column */
.footer__contact a.footer__email { overflow-wrap: normal; word-break: normal; }
/* comfortable tap target for the back-to-top link on phones */
.footer__top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* ===== Homepage content, November 2026 brief ===== */
/* eyebrows on sections that had none: same look as the existing kickers */
.ritual__kicker, .dubai__kicker, .faq__kicker, .closing__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.ritual__kicker::before, .dubai__kicker::before, .faq__kicker::before, .closing__kicker::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.closing__kicker { padding-left: 3vw; }

/* hero supporting points */
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; font-size: var(--step-small); font-weight: 500; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
.hero--film .hero__points { color: rgba(255, 247, 230, 0.86); }
/* the brief's longer intro: wider and a step smaller on desktop, so the route bar stays on the first screen */
@media (min-width: 992px) { .hero--film .hero__intro { max-width: 620px; } .hero--film .hero__lead { font-size: 1.1875rem; line-height: 1.45; } .hero--film .hero__actions { margin-top: 22px; } }

/* route bar: the card description shows only where the bar has room for it */
.audience__desc { display: none; }
@media (min-width: 1400px) and (min-height: 1000px) {
  .audience__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.8125rem; line-height: 1.35; color: var(--ink-soft); max-width: 46ch; }
  .hero--film .audience__desc { color: rgba(255, 247, 230, 0.6); }
  .hero--film { --audience-h: 170px; }
}

/* lifestyle: eyebrow + title + intro travel together in the pinned scene */
.ritual__head { grid-column: 1 / span 6; }
.ritual__head .ritual__title { margin: 0; }
.ritual__lead { margin: 18px 0 0; max-width: 46ch; font-size: var(--step-body); line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 991.98px) { .ritual__head { grid-column: 1 / -1; } }

.motion__cta { margin-top: 22px; }

/* clinic card: three locations */
.visit-card__places { display: grid; gap: 6px; }
.visit-card__places strong { display: block; font-weight: 600; }

/* Smile & Stay advantage, in the sage panel */
.dubai__perks { grid-column: 1 / span 7; }
.dubai__perkstitle { margin: 0 0 16px; font: 500 var(--step-h3)/1.15 var(--serif); letter-spacing: -0.01em; }
.dubai__perks ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.dubai__perks li { display: flex; gap: 10px; align-items: baseline; font-size: 0.9375rem; line-height: 1.4; }
.dubai__perks li::before { content: ""; flex: none; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 991.98px) { .dubai__perks { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .dubai__perks ul { grid-template-columns: 1fr; } }

.faq__all { margin-top: 28px; }

.closing__lead { margin: 18px 0 0; padding-left: 3vw; max-width: 60ch; font-size: var(--step-lead); line-height: 1.45; color: var(--ink-soft); }

/* enquiry: WhatsApp as the secondary action */
.enquiry__wa { margin: 22px 0 10px; font-size: var(--step-small); color: var(--ink-soft); }

/* fixes after the visual check */
.dubai__kicker { grid-column: 1 / -1; }
.visit-card__facts > div { grid-template-columns: 18px 104px 1fr; }
@media (min-width: 992px) { .hero--film .audience__who { font-size: clamp(1.375rem, 0.9rem + 0.9vw, 2rem); } }

/* seven top-level links (About and Contact moved out of "More"): keep them on one line on smaller desktops */
.site-nav a { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1359.98px) {
  .site-nav ul { gap: 14px; }
  .site-nav a { font-size: 0.875rem; }
}

/* client: more air between the bigger footer logo and the text ('.footer__brand p' outranks '.footer__tag') */
.footer__brand .footer__tag { margin: clamp(28px, 2.6vw, 44px) 0 10px; }

/* Client point 9, mobile */
@media (max-width: 575.98px) {
  /* clinic card: labels above their values, so nothing runs off a 360px screen */
  .visit-card__facts > div { grid-template-columns: 18px minmax(0, 1fr); }
  .visit-card__facts dd { grid-column: 2; margin-top: 6px; }
  /* 44px tap targets for footer links */
  .footer__col li a { min-height: 44px; }
}

/* footer (client): columns hug their content and the free space is shared equally, so every gap between columns
   is the same instead of equal-width columns with ragged text inside */
@media (min-width: 1200px) {
  .footer__index:has(> .footer__brand) { grid-template-columns: fit-content(340px) repeat(4, fit-content(260px)); justify-content: space-between; column-gap: clamp(32px, 3vw, 56px); }
  .footer__brand { padding-right: 0; }
}

/* the three intro cards keep their own height instead of stretching to the taller intro beside them
   (the stretch was spreading ~70px gaps between number, title and text) */
.product__trio { align-self: start; align-content: start; }
