/* ============================================================
   styles.css — design tokens (light default + calm graphite dark),
   base, shared UI (eyebrows, chips, buttons, section headers, cards),
   global chrome (nav pill, mobile bar + tab bar), the hero incl. the
   portrait (cursor hides over the figure), the logo band, the stats strip and
   the shared dialog shell.
   Section styles (work → footer) live in css/sections.css; motion
   utilities (reveals, the intro, pause-animations) in fx.css; the
   theme toggle + wipe in css/theme.css.
   Breakpoints: phone ≤ 640 · tablet 641–1023 · desktop ≥ 1024
   (the nav switches at 900).
   ============================================================ */

/* ------------------------------------------------------------
   TOKENS — :root = LIGHT (the default), html[data-theme="dark"] =
   calm graphite. Widgets/demos read these with fallbacks.
   ------------------------------------------------------------ */
:root, [data-theme="light"] {
  color-scheme: light;
  --bg: #fcfbf9; --bg-soft: #f5f2ed; --panel: #ffffff; --panel-2: #f7f4f0;
  --line: #e6e0d8; --line-soft: #efeae3;
  --text: #151114; --muted: #5b545c; --muted-2: #716b75;          /* both ≥ 4.5:1 on bg + bg-soft */
  --fg-rgb: 21 17 20; --bg-rgb: 252 251 249;
  --glass: rgb(255 255 255 / .72); --glass-line: rgb(21 17 20 / .08);
  --shadow-sm: 0 1px 2px rgb(var(--fg-rgb) / .06);
  --shadow-card: 0 1px 2px rgb(var(--fg-rgb) / .05), 0 12px 32px -18px rgb(var(--fg-rgb) / .18);
  --shadow-lg: 0 30px 70px -34px rgb(40 20 30 / .28);
  --scrim: rgb(20 16 20 / .45);
  --paper: #f2ede5; --paper-2: #ffffff; --ink: #151114; --ink-muted: #5f5860; --paper-line: #e4dcd2;
  --accent: #c90f6e;                       /* eyebrows / small accent text (≥ 4.7:1 on bg, bg-soft and paper) */
  --grad-text: linear-gradient(90deg, #e3127f, #f2461f 58%, #e39200);
  --code-kw: #c90f6e; --code-str: #a85a00;
  --ok: #119c63; --ok-text: #0b7a4b;
  --hero-glow-1: rgb(255 27 141 / .14); --hero-glow-2: rgb(255 194 60 / .12);
  --glow: rgb(255 27 141 / .30);
  --blob-op: .05; --grain-op: 0;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0f12; --bg-soft: #121317; --panel: #16181c; --panel-2: #1c1e23;
  --line: #272a31; --line-soft: #1d1f24;
  --text: #ecedf0; --muted: #9ea2ab; --muted-2: #82868f;
  --fg-rgb: 236 237 240; --bg-rgb: 14 15 18;
  --glass: rgb(22 24 28 / .72); --glass-line: rgb(255 255 255 / .07);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --shadow-card: 0 1px 2px rgb(0 0 0 / .35), 0 16px 36px -22px rgb(0 0 0 / .75);
  --shadow-lg: 0 34px 70px -30px rgb(0 0 0 / .8);
  --scrim: rgb(0 0 0 / .66);
  --paper: #121317; --paper-2: #16181c;   /* calm dark: no cream block (sections.css uses its own graphite band) */
  --accent: #ff5a9e;
  --grad-text: var(--grad);
  --code-kw: #ff5a9e; --code-str: #ffc23c;
  --ok: #3ddc97; --ok-text: #3ddc97;
  --hero-glow-1: rgb(255 27 141 / .12); --hero-glow-2: rgb(255 194 60 / .05);
  --glow: rgb(255 27 141 / .16);
  --blob-op: .025; --grain-op: .025;
}
:root {
  --g1: #ff1b8d; --g2: #ff5a3c; --g3: #ffc23c;
  --grad: linear-gradient(90deg, var(--g1), var(--g2) 55%, var(--g3));
  --grad-diag: linear-gradient(135deg, var(--g1), var(--g2) 50%, var(--g3));
  --warn: #ffc23c; --err: #ff4d6d;
  /* native system stack (BrewedOps-like) — no web fonts */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;
  /* v1 names kept as aliases so nothing breaks (no serif / script / condensed styling any more) */
  --display: var(--sans); --body: var(--sans); --mega: var(--sans); --serif: var(--sans); --script: var(--sans);
  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 32px; --r-card: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  /* stacking order (widgets.css reads the --z-* it needs) */
  --z-nav: 60; --z-grain: 85; --z-chat: 90; --z-modal: 100; --z-palette: 110;
  --z-lightbox: 120; --z-toast: 130; --z-progress: 140; --z-preloader: 200;
}

/* ------------------------------------------------------------
   BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  overflow-x: clip;
}
/* Lenis drives smooth scrolling on desktop; .no-smooth = native fallback */
html.no-smooth { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 15.5px; line-height: 1.55; letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 1024px) { body { font-size: 16px; } }
/* desktop: room under the footer so the fixed soundtrack pill (bottom-left) never sits on
   the footer row at the end of the page (phones reserve space for the tab bar below) */
@media (min-width: 900px) { body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
body.modal-open { overflow: hidden; padding-right: var(--sbw, 0px); }
/* html has overflow-x:clip, so body's overflow no longer propagates to the viewport —
   lock the root too (covers no-smooth: touch, <900px, reduced motion, Lenis CDN failure) */
html:has(> body.modal-open) { overflow: hidden; }
html.intro, html.intro body { overflow: hidden; }
main, .footer { position: relative; z-index: 1; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }
kbd {
  font: 600 .8em/1 var(--sans); padding: 3px 7px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow-sm);
}
::selection { background: rgb(255 27 141 / .2); color: var(--text); }
:focus-visible { outline: 2px solid var(--g2); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: var(--z-preloader);
  padding: 12px 18px; border-radius: 99px; background: var(--text); color: var(--bg); font-weight: 600;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.section { position: relative; z-index: 1; padding-block: clamp(80px, 10vw, 140px); scroll-margin-top: 0; }

/* ------------------------------------------------------------
   AMBIENT BACKGROUND + GRAIN (both nearly invisible in v2)
   ------------------------------------------------------------ */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; opacity: var(--blob-op); animation: drift 30s var(--ease-io) infinite alternate; }
.blob.b1 { width: 60vmax; height: 60vmax; top: -24vmax; right: -20vmax; background: radial-gradient(circle, var(--g1), transparent 62%); }
.blob.b2 { width: 64vmax; height: 64vmax; bottom: -30vmax; left: -26vmax; background: radial-gradient(circle, var(--g3), transparent 62%); animation-delay: -9s; }
.blob.b3 { width: 44vmax; height: 44vmax; top: 38%; left: 46%; background: radial-gradient(circle, var(--g2), transparent 62%); opacity: calc(var(--blob-op) * .6); animation-delay: -15s; }
@keyframes drift { to { transform: translate3d(5vw, -4vh, 0) scale(1.12); } }

.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: var(--grain-op);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ------------------------------------------------------------
   SHARED UI: eyebrows, chips, icon tiles, buttons, headers, cards
   ------------------------------------------------------------ */
/* eyebrow (BrewedOps-like). `.mono-label` keeps its v1 name but is no longer mono. */
.eyebrow, .mono-label {
  font: 600 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow { color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li, .chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  padding: 7px 10px; border-radius: 99px;
  border: 1px solid var(--line); color: var(--muted); background: var(--panel-2);
}
.chips--light li { border-color: var(--paper-line); color: var(--ink-muted); background: var(--paper); }

.tile-ico {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-diag); color: #151114;
  box-shadow: 0 8px 20px -12px var(--glow);
}
.tile-ico .ico { width: 22px; height: 22px; }
.tile-ico--lg { width: 56px; height: 56px; border-radius: 16px; }
.tile-ico--lg .ico { width: 26px; height: 26px; }
.tile-ico--sm { width: 36px; height: 36px; border-radius: 10px; }
.tile-ico--sm .ico { width: 18px; height: 18px; }

/* generic neat card (sections may use it or copy the recipe) */
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .25s;
}
@media (hover: hover) { .card:hover { transform: translateY(-3px); } }

/* buttons — .btn/.btn-primary/.btn-ghost are also used by the booking wizard */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 22px; border-radius: 99px; border: 1px solid transparent;
  font: 600 14.5px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s, background-color .25s, color .25s;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn-primary {
  /* border-box origin: otherwise the gradient tiles into the 1px transparent border
     (a magenta sliver on the right edge, an amber one on the left) */
  background: var(--grad) border-box; color: #151114;
  box-shadow: 0 1px 2px rgb(var(--fg-rgb) / .08), 0 10px 24px -12px var(--glow);
}
.btn-primary::after {           /* very soft sheen on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .35) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-ghost {
  border-color: var(--line); color: var(--text); background: var(--panel);
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 2px rgb(var(--fg-rgb) / .08), 0 14px 30px -12px var(--glow); }
  .btn-primary:hover::after { transform: translateX(120%); }
  .btn-ghost:hover { transform: translateY(-1px); border-color: rgb(var(--fg-rgb) / .22); }
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn-xs { min-height: 40px; padding: 0 14px; font-size: 13px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--glass-line); background: var(--glass); color: var(--muted);
  transition: color .25s, border-color .25s, transform .3s var(--ease);
}
.icon-btn:hover { color: var(--text); }
.icon-btn .ico { width: 19px; height: 19px; }

/* theme toggle — base box only; the eclipse icon + its motion live in css/theme.css */
.theme-toggle {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--glass-line); background: var(--glass); color: var(--text); padding: 0;
}
.theme-toggle > svg { width: 20px; height: 20px; }

/* section header pattern: eyebrow → sentence-case two-tone heading → lede */
.sh { max-width: 860px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sh-label {
  font: 600 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.sh-label span { font-weight: 700; }
.sh-title {
  font: 700 clamp(32px, 4.2vw, 56px)/1.06 var(--sans);
  letter-spacing: -.028em; text-wrap: balance; color: var(--text);
}
/* a short title sentence that should not be split by text-wrap: balance (it still wraps
   inside itself on narrow screens) */
.sh-keep { display: inline-block; }
.sh-sub {
  color: var(--muted); font-size: clamp(15px, 1.25vw, 17px); font-weight: 500; line-height: 1.55;
  max-width: 56ch; margin-top: 18px;
}
.sh--center { text-align: center; margin-inline: auto; }
.sh--center .sh-sub { margin-inline: auto; }
.sh-sub .sh-link {
  color: var(--text); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
  text-decoration-color: rgb(255 60 110 / .5);
}
.sh-sub .sh-link:hover { text-decoration-color: var(--g2); }
/* voice mode CTAs (js/voice.js): `hidden` must beat .btn's display until the voice line is on */
[data-voice][hidden], [data-voice-only][hidden] { display: none !important; }

/* the "accent phrase" is now BrewedOps' two-tone: the follow-up sentence in --muted */
:where(h1, h2, h3) em { font-style: normal; font-weight: 600; color: var(--muted); }
:where(h1, h2, h3) em .wi { color: inherit; }
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------
   NAV — desktop floating glass pill (≥ 900px)
   ------------------------------------------------------------ */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; justify-content: center; padding-inline: 16px; pointer-events: none;
  transition: transform .55s var(--ease), opacity .35s;
}
.nav.is-hidden { transform: translateY(calc(-100% - 28px)); opacity: 0; }
.nav-pill {
  pointer-events: auto; width: 100%; max-width: 960px; height: 56px;
  display: flex; align-items: center; gap: 8px; padding: 0 7px 0 8px;
  border-radius: 99px; border: 1px solid var(--glass-line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 2px rgb(var(--fg-rgb) / .04), 0 14px 40px -24px rgb(var(--fg-rgb) / .3);
  transition: box-shadow .4s;
}
.nav.is-scrolled .nav-pill { box-shadow: 0 1px 2px rgb(var(--fg-rgb) / .05), 0 18px 44px -22px rgb(var(--fg-rgb) / .38); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 15px; letter-spacing: -.015em; }
.brand-tile {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-diag); color: #151114; font: 800 13.5px/1 var(--sans); letter-spacing: -.03em;
  box-shadow: 0 6px 16px -8px var(--glow);
}
.brand-name { white-space: nowrap; }
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-links a {
  position: relative; z-index: 1; height: 40px; display: flex; align-items: center; padding: 0 14px;
  border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-ind {
  position: absolute; left: 0; top: 50%; height: 40px; width: 0; margin-top: -20px; border-radius: 99px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none;
  transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s;
}
.nav-right { display: flex; align-items: center; gap: 6px; }
.kbd-btn {
  height: 40px; padding: 0 12px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--glass-line); background: transparent; color: var(--muted);
  font: 600 12px/1 var(--sans); letter-spacing: .02em; transition: color .25s, border-color .25s;
}
.kbd-btn:hover { color: var(--text); border-color: rgb(var(--fg-rgb) / .2); }
/* 8 links (Work · Automation · AI · Tools · Services · About · Proof · FAQ): slightly
   tighter links below 1240px so the pill never crowds, whatever the system font */
@media (max-width: 1239px) { .nav-links a { padding: 0 12px; } }
@media (max-width: 1099px) { .nav .brand-name { display: none; } }
@media (max-width: 899px) { .nav { display: none; } }
/* touch tablets get the desktop pill at >=900px — keep 44px tap targets */
@media (pointer: coarse) {
  .nav-links a, .nav-ind { height: 44px; }
  .nav-ind { margin-top: -22px; }
  .kbd-btn, .nav .theme-toggle { height: 44px; }
  .nav .theme-toggle { width: 44px; }
  .btn-sm { min-height: 44px; }
}

/* ------------------------------------------------------------
   NAV — mobile top bar + bottom tab bar (< 900px)
   ------------------------------------------------------------ */
.mbar, .tabbar { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .mbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    height: calc(62px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
    background: rgb(var(--bg-rgb) / .8);
    -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--line-soft);
    transition: transform .45s var(--ease);
  }
  .mbar.is-hidden { transform: translateY(-100%); }
  .mbar .brand-tile { width: 34px; height: 34px; border-radius: 10px; font-size: 12.5px; }
  .mbar .brand-name { font-size: 15px; }
  .mbar-right { display: flex; align-items: center; gap: 6px; }
  .mbar .icon-btn, .mbar .theme-toggle { width: 44px; height: 44px; }
  .tabbar {
    position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: var(--z-nav);
    width: min(420px, 100% - 24px); height: 64px; transform: translateX(-50%);
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 0 6px;
    border-radius: 99px; border: 1px solid var(--glass-line);
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 1px 2px rgb(var(--fg-rgb) / .05), 0 16px 40px -18px rgb(var(--fg-rgb) / .35);
  }
  .tab {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    height: 56px; border-radius: 99px; color: var(--muted); font: 600 10.5px/1 var(--sans); letter-spacing: .01em;
    transition: color .25s;
  }
  .tab .ico { width: 22px; height: 22px; transition: transform .4s var(--ease), color .25s; }
  .tab.is-active { color: var(--text); }
  .tab.is-active .ico { color: var(--accent); transform: translateY(-1px); }
  .tab.is-active::after {
    content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
  }
  .tab-fab {
    justify-self: center; width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; border: 4px solid var(--bg);
    background: var(--grad-diag); color: #151114;
    transform: translateY(-14px); box-shadow: 0 12px 26px -10px var(--glow);
    transition: transform .35s var(--ease);
  }
  .tab-fab .ico { width: 24px; height: 24px; }
  .tab-fab:active { transform: translateY(-14px) scale(.94); }
}
@media (max-width: 379px) { .mbar .brand-name { display: none; } }

/* ------------------------------------------------------------
   HERO (#top) — desktop ≥ 1024: one airy viewport
   ------------------------------------------------------------ */
.hero {
  --mx: 0; --my: 0; --sp: 0;
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  min-height: 720px; min-height: clamp(720px, 100svh, 1000px);
}
.hero-glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 52% 50% at 50% 74%, var(--hero-glow-1), transparent 70%),
    radial-gradient(ellipse 26% 24% at 60% 60%, var(--hero-glow-2), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgb(var(--fg-rgb) / .04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--fg-rgb) / .04) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

/* giant word behind the portrait — system font 900 with a gradient fade */
.hero-word {
  position: absolute; left: 0; right: 0; top: max(86px, 10.5vh); z-index: 0;
  text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
  font: 900 clamp(7rem, 19.5vw, 23rem)/.8 var(--sans); text-transform: uppercase; letter-spacing: -.045em;
  transform: translate3d(calc(var(--mx) * 24px), calc(var(--my) * 14px + var(--sp) * 22vh), 0) scale(calc(1 + var(--sp) * .08));
  opacity: calc(1 - var(--sp) * 1.15);
}
.hero-word span {
  display: inline-block; padding-bottom: .06em;
  background: linear-gradient(180deg, var(--g1) 0%, var(--g2) 40%, rgb(255 90 60 / 0) 86%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform 1.1s var(--ease) calc(var(--i) * 70ms), opacity .9s var(--ease) calc(var(--i) * 70ms);
}
html[data-theme="dark"] .hero-word span {
  background-image: linear-gradient(180deg, rgb(255 27 141 / .92) 0%, rgb(255 90 60 / .8) 40%, rgb(255 90 60 / 0) 86%);
}

/* transparent cut-out portrait, in front of the word */
.hero-portrait {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; justify-content: center; pointer-events: none;
  transform: translate3d(calc(var(--mx) * -16px), calc(var(--my) * -10px + var(--sp) * 12vh), 0);
}
.hero-portrait-inner {
  height: min(74vh, 860px); height: min(74svh, 860px); aspect-ratio: 1100 / 1048; max-width: 100%;
  transition: opacity 1.1s var(--ease) .25s, transform 1.4s var(--ease) .25s;
}
.hero-portrait-inner > .lens { width: 100%; height: 100%; pointer-events: auto; }
.hero-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

/* ------------------------------------------------------------
   PORTRAIT (hero headshot + About figure). .lens is the focusable
   wrapper around the transparent cut-out (.lens-base). No hover lens:
   js/hero.js samples the cut-out's alpha and adds .is-over-figure while
   a mouse/pen pointer is over the opaque figure, which hides the cursor
   there only (it stays visible over the transparent area around him).
   The "code glow" (js/codelens.js + css/codelens.css) adds its canvases
   inside the same wrapper: where the cursor passes, his figure turns into
   glowing code.
   ------------------------------------------------------------ */
.lens {
  position: relative; display: block; outline: none; touch-action: pan-y;
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
}
.lens img { display: block; -webkit-user-drag: none; }
.lens.is-over-figure, .lens.is-over-figure * { cursor: none; }
.lens--hero .lens-base {
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
.lens:focus-visible { outline: none; }
.lens:focus-visible::after {   /* focus ring hugging the figure's box */
  content: ""; position: absolute; inset: 4px; border-radius: 28px; pointer-events: none;
  outline: 2px solid var(--g2); outline-offset: 2px;
}

/* glass chips floating around the portrait (big screens only) */
.hero-chips { display: none; }
@media (min-width: 1200px) and (min-height: 760px) {
  .hero-chips { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
}
.hchip {
  position: absolute; display: grid; gap: 4px; padding: 11px 15px; border-radius: 16px; max-width: 250px;
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--text);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-card);
  transform: translate3d(calc(var(--mx) * var(--d) * 1px), calc(var(--my) * var(--d) * 1px), 0);
  animation: bob 5s var(--ease-io) infinite alternate;
  transition: opacity .8s var(--ease), scale .9s var(--ease);
}
.hchip b { font: 600 14px/1.3 var(--sans); letter-spacing: -.01em; }
.hchip .mono-label { color: var(--accent); font-size: 10px; }
.hc1 { left: 24%; top: 40%; --d: 34; transition-delay: .95s; }
.hc2 { right: 11%; top: 38%; --d: -26; animation-delay: -1.6s; transition-delay: 1.05s; }
.hc3 { right: 23%; top: 55%; --d: 20; animation-delay: -3.1s; transition-delay: 1.15s; }
@keyframes bob { to { translate: 0 -10px; } }

/* left column: hello line, typed code line, h1, blurb, CTAs */
.hero-copy {
  position: absolute; left: max(24px, 4.5vw); bottom: 13vh; z-index: 3; width: min(380px, 31vw);
}
.hero-copy::before {           /* soft page-coloured halo keeps text readable over the portrait */
  content: ""; position: absolute; inset: -60px -70px -50px -90px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(var(--bg-rgb) / .82), rgb(var(--bg-rgb) / 0));
}
.hero-hey {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; border-radius: 99px;
  font: 600 13.5px/1 var(--sans); letter-spacing: -.005em; color: var(--text);
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-hey .wave { display: inline-block; transform-origin: 70% 75%; }
html.js .hero.is-in .hero-hey .wave { animation: wave 1.6s var(--ease) 1.2s 1; }
@keyframes wave { 0%, 60%, 100% { rotate: 0deg; } 10%, 30% { rotate: 16deg; } 20%, 40% { rotate: -8deg; } }
.hero-code {
  display: flex; align-items: center; margin: 16px 0 14px; white-space: nowrap;
  font: 500 13.5px/1.4 var(--mono); color: var(--muted);
}
.code-typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
.tk-kw { color: var(--code-kw); }
.tk-str { color: var(--code-str); }
.caret {
  display: inline-block; width: .55em; height: 1.15em; margin-left: 3px; border-radius: 1px;
  background: var(--accent); animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
.hero-title {
  font: 800 clamp(2rem, 2.7vw, 2.8rem)/1.04 var(--sans); letter-spacing: -.035em; margin-bottom: 14px;
  text-wrap: balance;
}
/* the key phrase keeps full weight + a hairline brand underline (not the muted two-tone) */
.hero-title em {
  color: var(--text); font-weight: inherit;
  background: var(--grad) left calc(100% - .02em) / 100% .08em no-repeat;
  padding-bottom: .02em;
}
.hero-blurb { color: var(--muted); font-size: 15.5px; font-weight: 500; max-width: 36ch; margin-bottom: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.roles-pill { display: none; }

/* role card with the slot-machine roller */
.role-card {
  position: absolute; right: 4.5vw; bottom: 16vh; z-index: 3; width: 300px;
  padding: 16px 20px 18px; border-radius: 20px;
  background: var(--panel); color: var(--text); border: 1px solid var(--line);
  rotate: -2deg; box-shadow: var(--shadow-lg);
  transition: rotate .55s var(--ease), translate .55s var(--ease);
}
.role-card:hover { rotate: 0deg; translate: 0 -4px; }
/* desktop: availability lives in the card (the standalone pill would collide with the giant word) */
.role-status {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft); font: 600 12px/1 var(--sans); color: var(--ok-text);
}
.role-card .mono-label { margin-bottom: 6px; }
.roller { --rh: 1.4em; display: block; height: var(--rh); overflow: hidden; line-height: var(--rh); }
.roller-track { display: block; transition: transform .7s var(--ease); }
.roller-item { display: block; height: var(--rh); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roller--card { font: 600 15px var(--sans); color: var(--accent); }

/* status pill under the nav */
.hero-status {
  position: absolute; top: 96px; right: max(24px, 4.5vw); z-index: 3;
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 99px;
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--text);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm);
  font: 600 12.5px/1 var(--sans);
  transition: opacity .8s var(--ease) .9s, transform .8s var(--ease) .9s;
}
/* desktop: the role card carries the status; must follow the base rule to win the cascade */
@media (min-width: 1024px) { .hero-status { display: none; } }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none;
  box-shadow: 0 0 0 0 rgb(61 220 151 / .55); animation: pulseOk 2s infinite;
}
@keyframes pulseOk {
  70% { box-shadow: 0 0 0 8px rgb(61 220 151 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(61 220 151 / 0); }
}

/* bottom bar: location · scroll cue · live Manila clock */
.hero-bar {
  position: absolute; left: max(24px, 4.5vw); right: max(24px, 4.5vw); bottom: 20px; z-index: 3;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  font: 600 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  transition: opacity .8s var(--ease) 1.1s;
}
/* margins keep the bar clear of the fixed soundtrack pill (bottom-left, up to ~325px wide
   while a long title plays) and the assistant launcher (bottom-right 24px, 58px). The
   location line only fits beside the pill on wide screens — below 1400px it is dropped
   (it's repeated in About + the footer) so the scroll cue stays centred. */
.hero-loc { margin-left: max(0px, 344px - max(24px, 4.5vw)); white-space: nowrap; }
.scroll-cue { grid-column: 2; }
.hero-clock { grid-column: 3; justify-self: end; white-space: nowrap; margin-right: max(0px, 92px - max(24px, 4.5vw)); }
@media (min-width: 1024px) and (max-width: 1399px) { .hero-loc { display: none; } }
.hero-clock time { color: var(--text); font-variant-numeric: tabular-nums; margin-left: 6px; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; min-height: 44px; justify-content: center; color: var(--muted); }
.scroll-cue:hover { color: var(--text); }
.mouse { width: 20px; height: 30px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.mouse i {
  position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px;
  background: var(--g2); animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* hero entrance timeline (JS adds #top.is-in after the intro) */
html.js .hero:not(.is-in) .hero-word span { transform: translateY(65%); opacity: 0; }
html.js .hero:not(.is-in) .hero-portrait-inner { opacity: 0; transform: translateY(48px) scale(.98); }
html.js .hero:not(.is-in) .hero-copy > * { opacity: 0; transform: translateY(22px); }
html.js .hero:not(.is-in) .hchip { opacity: 0; scale: .9; }
html.js .hero:not(.is-in) .role-card,
html.js .hero:not(.is-in) .hero-status { opacity: 0; }
html.js .hero:not(.is-in) .hero-bar { opacity: 0; }
html.js .hero .code-typed { width: 0; }
html.js .hero.is-in .code-typed { animation: typing 1.05s steps(28, end) 1s forwards; }
@keyframes typing { to { width: calc(var(--chars, 28) * 1ch); } }
.hero-copy > * { transition: opacity .8s var(--ease), transform .9s var(--ease); }
.hero-copy > :nth-child(1) { transition-delay: .55s; }
.hero-copy > :nth-child(2) { transition-delay: .64s; }
.hero-copy > :nth-child(3) { transition-delay: .73s; }
.hero-copy > :nth-child(4) { transition-delay: .82s; }
.hero-copy > :nth-child(5) { transition-delay: .91s; }
.hero-copy > :nth-child(6) { transition-delay: 1s; }
.hero.is-in .role-card { animation: popIn .9s var(--ease) .95s backwards; }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.92); } }

/* tablet + phone: stacked hero — word, portrait over it, copy below */
@media (max-width: 1023px) {
  .hero {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    min-height: 0; padding: calc(90px + env(safe-area-inset-top, 0px)) var(--gutter) 28px;
  }
  .hero-status { position: relative; top: auto; right: auto; order: 0; margin-bottom: 20px; }
  .hero-word { position: relative; top: auto; order: 1; font-size: 20vw; transform: none; opacity: 1; }
  .hero-portrait { position: relative; order: 2; width: 100%; margin-top: -11vw; transform: none; }
  .hero-portrait-inner { height: min(58vh, 640px); height: min(58svh, 640px); }
  .hero-copy { position: relative; left: auto; bottom: auto; order: 3; width: 100%; max-width: 560px; margin-top: -24px; }
  .hero-copy::before { display: none; }
  .hero-code { justify-content: center; }
  .hero-title { font-size: clamp(2.2rem, 5.2vw, 2.9rem); }
  .hero-blurb { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .roles-pill {
    display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 20px;
    padding: 9px 15px; border-radius: 99px; border: 1px solid var(--line);
    background: var(--panel); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 14px;
  }
  .roles-pill .mono-label { color: var(--accent); font-size: 10px; flex: none; }
  .roles-pill .roller { min-width: 0; text-align: left; }
  .role-card { display: none; }
  .hero-bar { position: relative; left: auto; right: auto; bottom: auto; order: 4; width: 100%; margin-top: 36px; display: flex; justify-content: space-between; flex-wrap: wrap; }
  .scroll-cue { display: none; }
  .hero-loc, .hero-clock { margin: 0; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(82px + env(safe-area-inset-top, 0px)); }
  .hero-status { margin-bottom: 16px; font-size: 12px; padding: 8px 13px; }
  .hero-word { font-size: clamp(4.2rem, 21vw, 8rem); }
  .hero-portrait { margin-top: -9vw; }
  .hero-portrait-inner { height: 44vh; height: 44svh; }
  .hero-copy { margin-top: -16px; }
  .hero-code { font-size: 12.5px; }
  .hero-title { font-size: clamp(1.95rem, 8.6vw, 2.5rem); }
  .hero-blurb { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; min-height: 50px; }
  .hero-bar { flex-direction: column; align-items: center; gap: 6px; margin-top: 30px; text-align: center; letter-spacing: .08em; }
  .hero-clock { justify-self: auto; }
}
/* small phones (320px): tighten the roles pill so the longest roles fit untruncated */
@media (max-width: 359px) {
  .roles-pill { gap: 8px; padding: 9px 12px; font-size: 13px; }
}

/* ------------------------------------------------------------
   LOGO BAND — "Daily drivers" (two velocity-linked rows; js/bands.js)
   Tiles bob on a travelling sine wave (CSS, phase by index), tilt
   with scroll velocity (--tilt per row, alternating per tile), spring
   up + glow in their brand colour on hover, burst dots on click.
   Logos show in full brand colour all the time (owner: "more fun").
   ------------------------------------------------------------ */
.band {
  position: relative; z-index: 2; padding: clamp(36px, 4.5vw, 52px) 0 clamp(18px, 3vw, 30px);
  border-block: 1px solid var(--line-soft); background: var(--bg-soft);
}
.band-head { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 10px; text-align: center; }
.band-head .eyebrow b { font-weight: 700; }
.band-head .band-sub { font: 500 14px/1.4 var(--sans); color: var(--muted); }
.band-row {
  --tilt: 0; position: relative; overflow-x: clip; padding: 50px 0 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.band-row + .band-row { margin-top: -22px; }
.band-track { display: flex; width: max-content; will-change: transform; }
/* no-JS fallback list (replaced by the tiles) */
.band-track:has(.band-plain) { width: auto; justify-content: center; }
.band-plain { flex-wrap: wrap; justify-content: center; max-width: 860px; padding: 0 var(--gutter); }
.band-group { display: flex; flex: none; gap: 20px; padding-right: 20px; }
.lt {
  --alt: 1; --c: var(--text);
  position: relative; flex: none; width: 64px; height: 64px; outline: none; cursor: pointer;
  animation: ltBob 3.4s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -.34s);
}
.lt:nth-child(even) { --alt: -1; }
@keyframes ltBob { 0%, 100% { translate: 0 -5px; } 50% { translate: 0 5px; } }
.lt-card {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--line); color: var(--c);
  box-shadow: var(--shadow-card);
  rotate: calc(var(--tilt) * var(--alt) * 1deg);
  transition: transform .55s var(--spring), translate .45s var(--ease), color .25s, box-shadow .35s, border-color .25s;
}
.lt-logo { position: absolute; display: grid; place-items: center; transition: opacity .25s, filter .3s; }
.lt-logo svg { width: 26px; height: 26px; }
.lt-mono.has-color { opacity: 0; }
.lt:is(:hover, :focus-visible) .lt-card {
  transform: translateY(-6px) scale(1.14); color: var(--c);
  border-color: color-mix(in srgb, var(--c) 30%, var(--line));
  box-shadow: var(--shadow-card), 0 12px 28px -12px color-mix(in srgb, var(--c) 60%, transparent);
}
.lt:is(:hover, :focus-visible) .lt-logo { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--c) 45%, transparent)); }
.lt:focus-visible .lt-card { outline: 2px solid var(--g2); outline-offset: 3px; }
/* neighbours nudge apart */
.lt:hover + .lt .lt-card { translate: 8px 0; }
.lt:has(+ .lt:hover) .lt-card { translate: -8px 0; }
.lt-name {
  position: absolute; left: 50%; bottom: calc(100% + 18px); z-index: 2;
  padding: 6px 10px; border-radius: 99px; white-space: nowrap; pointer-events: none;
  background: var(--text); color: var(--bg); font: 600 11.5px/1 var(--sans); letter-spacing: 0;
  box-shadow: var(--shadow-card);
  opacity: 0; transform: translate(-50%, 6px) scale(.92);
  transition: opacity .2s, transform .4s var(--spring);
}
.lt:is(:hover, :focus-visible) .lt-name { opacity: 1; transform: translate(-50%, 0) scale(1); }
.lt-dot {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%; background: var(--c); pointer-events: none;
  animation: ltBurst .7s var(--ease) forwards;
}
.lt-dot:nth-child(odd) { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 1.5px; }
@keyframes ltBurst {
  from { transform: translate(0, 0) scale(1); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) scale(.2) rotate(140deg); opacity: 0; }
}
@media (max-width: 640px) {
  .band-group { gap: 14px; padding-right: 14px; }
  .lt { width: 56px; height: 56px; }
  .lt-card { border-radius: 16px; }
  .lt-logo svg { width: 23px; height: 23px; }
}
/* reduced motion → one static, wrapped grid of tiles */
@media (prefers-reduced-motion: reduce) {
  .band-row { -webkit-mask-image: none; mask-image: none; padding-top: 36px; }
  .band-track { width: auto; transform: none !important; justify-content: center; padding-inline: var(--gutter); }
  .band-group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .lt { animation: none; }
}

/* ------------------------------------------------------------
   STATS STRIP
   ------------------------------------------------------------ */
.stats { position: relative; z-index: 2; border-bottom: 1px solid var(--line-soft); background: var(--bg); }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: clamp(28px, 3.6vw, 44px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line-soft); min-width: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  display: flex; align-items: baseline;
  font: 700 clamp(2.2rem, 4vw, 3.2rem)/1 var(--sans); letter-spacing: -.045em;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.stat-suf { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: .03em; padding-right: .05em; }
.stat-l { color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.45; margin-top: 10px; max-width: 26ch; }
@media (max-width: 760px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 14px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .stat-l { font-size: 13px; }
}

/* ------------------------------------------------------------
   DIALOG SHELL (#modal-root) — service modal + booking popup.
   booking.css relies on .modal-root/.modal/.modal-bg/.modal-close.
   ------------------------------------------------------------ */
.modal-root {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-root.open { display: flex; }
.modal-bg {
  position: absolute; inset: 0; background: var(--scrim);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: fadeIn .35s var(--ease);
}
.modal {
  position: relative; z-index: 1; width: 100%; max-width: 760px; max-height: min(88vh, 920px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  animation: modalIn .5s var(--ease);
}
.modal:focus { outline: none; }
.modal::-webkit-scrollbar { width: 8px; }
.modal::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.modal-root.is-closing .modal-bg { animation: fadeOut .26s var(--ease) forwards; }
.modal-root.is-closing .modal { animation: modalOut .26s var(--ease) forwards; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), border-color .25s;
}
.modal-close .ico { width: 18px; height: 18px; }
.modal-close:hover { transform: rotate(90deg); border-color: rgb(var(--fg-rgb) / .25); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes modalOut { to { opacity: 0; transform: translateY(14px) scale(.98); } }
/* shared keyframe some older markup (booking) still references */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .modal-root { padding: 12px; align-items: flex-end; }
  .modal { max-height: 92vh; max-height: 92svh; border-radius: 22px; }
}
