/* =========================================================
   GP Dave Physiotherapy Clinic — Design System
   Palette (from logo): Ink Navy #0B1D2E · Spine Blue #ACCADA · Accent Coral #FF6B3D
   Type: Unbounded (display) · Manrope (body) · DM Mono (labels) · Instrument Serif italic (accents)
   ========================================================= */
:root {
  --ink: #0b1d2e;
  --ink-2: #10283f;
  --ink-3: #1a3a57;
  --spine: #accada;
  --spine-600: #5e8fb5;
  --spine-100: #e4eef6;
  --spine-50: #f1f6fa;
  --paper: #f7f9fb;
  --white: #ffffff;
  --coral: #ff6b3d;
  --coral-600: #e9541f;
  --coral-100: #ffe6dc;
  --text: #0b1d2e;
  --muted: #5a6b7c;
  --line: rgba(11, 29, 46, 0.12);
  --line-dark: rgba(172, 202, 218, 0.18);

  --f-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --f-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-serif: 'Instrument Serif', Georgia, serif;

  --fs-hero: clamp(2.4rem, 1rem + 5.6vw, 6.4rem);
  --fs-h1: clamp(2.1rem, 1.2rem + 3.4vw, 4.4rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 2.4vw, 3.4rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.35vw, 1.3rem);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --wrap: 1320px;
  --gutter: clamp(1.1rem, 0.6rem + 2.4vw, 3rem);
  --sec: clamp(5rem, 3rem + 7vw, 10rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 50px -20px rgba(11, 29, 46, 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.06; }
p { margin: 0 0 1em; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 999; background: var(--coral); color: #fff; padding: 0.7rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sec); position: relative; }
.dark { background: var(--ink); color: #e8f0f6; }
.dark .muted { color: #9fb4c6; }
.muted { color: var(--muted); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: 1.12em; line-height: .9; }
.accent { color: var(--coral); }
.spine-c { color: var(--spine); }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 60ch; }

/* Eyebrow / mono labels (echo the wide-tracked logo lettering) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--spine-600);
}
.dark .eyebrow { color: var(--spine); }

.sec-head { display: grid; gap: 1.4rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head h2 { font-size: var(--fs-h2); max-width: 18ch; }
.sec-head.split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .sec-head.split { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }

/* ---------- Blueprint frame (from reference, refined) ---------- */
.blueprint { position: relative; }
.blueprint::before, .blueprint::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none; z-index: 1;
}
.blueprint::before { left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.blueprint::after { right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.dark.blueprint::before, .dark.blueprint::after { background: var(--line-dark); }
.hatch {
  background-image: repeating-linear-gradient(-45deg, transparent 0 9px, var(--line) 9px 10px);
}
.dark .hatch { background-image: repeating-linear-gradient(-45deg, transparent 0 9px, var(--line-dark) 9px 10px); }
.hline { height: 1px; background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent); }
.dark .hline { background: linear-gradient(90deg, transparent, var(--line-dark) 12%, var(--line-dark) 88%, transparent); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--coral); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .75rem; padding: 1rem 1.15rem 1rem 1.5rem;
  border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; letter-spacing: -.01em; line-height: 1;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; }
.btn--light:hover .ico { background: var(--coral); color: #fff; }
.btn--ghost:hover .ico { background: rgba(255,255,255,.22); }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(255,107,61,.6); }
.btn .ico { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); transition: transform .5s var(--ease); }
.btn:hover .ico { transform: rotate(-45deg); }
.btn .ico svg { width: 14px; height: 14px; }
.btn--ghost { --bg: transparent; --fg: currentColor; border: 1px solid currentColor; }
.btn--ghost::before { background: var(--coral); }
.btn--ghost:hover { color: #fff; border-color: var(--coral); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light .ico { background: var(--coral); color: #fff; }
.btn--ink { --bg: var(--ink); }
.btn--ink::before { background: var(--coral); }
.btn--sm { padding: .7rem .8rem .7rem 1.1rem; font-size: .92rem; }
.btn--sm .ico { width: 1.6rem; height: 1.6rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; transition: color .3s; }
.link-arrow:hover { color: var(--coral); }
.inline-link { color: var(--coral); font-weight: 600; }
.inline-link:hover { opacity: .8; }
.link-arrow svg { width: 14px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink); display: grid; place-items: center; color: var(--spine);
}
.preloader__inner { display: grid; justify-items: center; gap: 1.4rem; }
.preloader__logo { position: relative; width: clamp(170px, 22vw, 230px); aspect-ratio: 1; display: grid; place-items: center; }
.preloader__disc { width: 86%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); opacity: 0; }
.preloader__disc img { width: 92%; height: auto; }
.preloader__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.preloader__ring circle { fill: none; stroke: var(--coral); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 358.2; stroke-dashoffset: 358.2; }
.preloader__word { font-family: var(--f-mono); letter-spacing: .4em; font-size: .78rem; text-transform: uppercase; overflow: hidden; }
.preloader__word span { display: inline-block; }
.preloader__count { font-family: var(--f-mono); font-size: .8rem; color: var(--coral); }
html.loaded .preloader { pointer-events: none; }
.no-js .preloader, .reduced .preloader, .seen .preloader { display: none; }
.statement .word .serif, .statement .serif .word { color: inherit; }

/* Page transition curtain */
.curtain { position: fixed; inset: 0; z-index: 990; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain span { background: var(--ink); transform: scaleY(0); transform-origin: top; }
.curtain span:nth-child(odd) { background: var(--ink-2); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 1rem; transition: transform .5s var(--ease); will-change: transform; backface-visibility: hidden;
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .6rem .55rem 1rem; border-radius: 999px; transition: background .4s, box-shadow .4s, border-color .4s;
  border: 1px solid transparent;
}
.header.is-scrolled .header__bar {
  background: rgba(247, 249, 251, 0.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(11,29,46,.35);
}
.header.is-hidden { transform: translateY(-120%); }
.header.on-dark:not(.is-scrolled) { color: #fff; }
.brand { display: flex; align-items: center; gap: .75rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 2px; }
.brand small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.nav { display: none; gap: .3rem; }
.nav a { position: relative; padding: .55rem .9rem; border-radius: 999px; font-weight: 500; font-size: .96rem; transition: background .3s; }
.nav a:hover { background: rgba(127,160,190,.16); }
.nav a::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: 4px; height: 2px; border-radius: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(.4); }
.nav a[aria-current='page']::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: .5rem; }
.header__phone { display: none; font-family: var(--f-mono); font-size: .82rem; letter-spacing: .04em; padding: .5rem .8rem; }
.burger { width: 46px; height: 46px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--ink); color: #fff; }
.burger span { display: block; width: 18px; height: 1.6px; background: currentColor; transition: transform .4s var(--ease); }
.burger span + span { margin-top: 5px; }
.menu-open .burger span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .burger { display: none; }
  .header__phone { display: inline-block; }
}
@media (max-width: 560px) { .header__cta .btn { display: none; } .brand small { display: none; } }

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; padding: 7rem var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0% at calc(100% - 3rem) 3rem);
  visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu-open .mmenu { clip-path: circle(150% at calc(100% - 3rem) 3rem); visibility: visible; transition: clip-path .9s var(--ease); }
.mmenu nav a { font-family: var(--f-display); display: flex; align-items: baseline; gap: 1rem; font-size: clamp(2.2rem, 9vw, 3.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.mmenu nav a small { font-family: var(--f-mono); font-size: .75rem; color: var(--coral); letter-spacing: .1em; }
.mmenu__foot { display: grid; gap: 1rem; color: var(--spine); font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { width: 100%; height: 115%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 80% 20%, rgba(11,29,46,.25), rgba(11,29,46,.82) 60%),
    linear-gradient(180deg, rgba(11,29,46,.55) 0%, rgba(11,29,46,.2) 35%, rgba(11,29,46,.92) 100%);
}
.hero__grid { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 120px 120px; mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 75%); opacity: .45;
}
.hero__spine { position: absolute; z-index: 1; right: clamp(-2rem, 4vw, 8vw); top: 12%; height: 78%; opacity: .2; pointer-events: none; filter: drop-shadow(0 0 40px rgba(172,202,218,.35)); }
.hero__content { position: relative; z-index: 2; padding-top: 9rem; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.hero h1 { font-size: var(--fs-hero); line-height: 1; letter-spacing: -.045em; margin: 1.6rem 0 1.6rem; font-weight: 500; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .serif { color: var(--spine); }
.hero__row { display: grid; gap: 2rem; align-items: end; }
.hero__lead { font-size: var(--fs-lead); color: #c9d8e4; max-width: 46ch; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.choice-cards { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.choice {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem;
  background: rgba(11,29,46,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .4s;
}
.choice:hover { background: rgba(255,107,61,.16); }
.choice small { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--spine); margin-bottom: .35rem; }
.choice b { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.choice .arr { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: transform .5s var(--ease), background .4s; }
.choice:hover .arr { background: var(--coral); border-color: var(--coral); transform: rotate(-45deg); }
.hero__meta { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); }
.hero__meta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--spine); }
.scroll-cue { display: inline-flex; align-items: center; gap: .6rem; }
.scroll-cue i { width: 1px; height: 26px; background: linear-gradient(var(--coral), transparent); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 980px) { .hero__row { grid-template-columns: 1.25fr 1fr; gap: 4rem; } }

/* Page hero (inner pages) */
.phero { position: relative; padding: clamp(9rem, 14vw, 13rem) 0 clamp(3.5rem, 6vw, 6rem); background: var(--ink); color: #fff; overflow: hidden; }
.phero h1 { font-size: var(--fs-h1); max-width: 16ch; margin: 1.4rem 0; }
.phero .lead { color: #c3d3e0; }
.phero__bg { position: absolute; inset: 0; opacity: .32; }
.phero__bg img { width: 100%; height: 120%; object-fit: cover; }
.phero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 25%, rgba(11,29,46,.45)); }
.phero .wrap { position: relative; z-index: 2; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--spine); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); padding-block: 1.3rem; }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--f-display); display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; font-size: clamp(1.3rem, 1rem + 1.2vw, 2.1rem); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.marquee__item svg { width: 22px; height: 22px; color: var(--coral); flex: none; }
.marquee--dark { background: var(--coral); color: #fff; border: 0; }
.marquee--dark .marquee__item svg { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement (scroll-filled text) ---------- */
.statement p { font-family: var(--f-display); font-size: clamp(1.45rem, .9rem + 2.2vw, 2.9rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 500; max-width: 24ch; margin: 0; }
.statement .word { color: rgba(11,29,46,.14); transition: color .2s; }
.statement .serif { font-size: 1.05em; }
.statement__aside { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 900px) { .statement__aside { grid-template-columns: repeat(3, 1fr); } }
.mini { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.mini b { display: block; font-size: 1.1rem; margin-bottom: .3rem; letter-spacing: -.02em; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 1rem; min-height: 330px; padding: 2rem 1.8rem 1.8rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; background: var(--paper);
  transition: color .5s var(--ease);
}
.svc-card__img { position: absolute; inset: 0; z-index: -1; opacity: 0; transform: scale(1.12); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,29,46,.35), rgba(11,29,46,.92)); }
.svc-card:hover, .svc-card:focus-visible { color: #fff; }
.svc-card:hover .svc-card__img, .svc-card:focus-visible .svc-card__img { opacity: 1; transform: scale(1); }
.svc-card__top { display: flex; justify-content: space-between; align-items: center; }
.svc-card__no { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .14em; color: var(--spine-600); }
.svc-card:hover .svc-card__no { color: var(--spine); }
.svc-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--spine-100); color: var(--ink); transition: background .5s, color .5s; }
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card:hover .svc-card__icon { background: var(--coral); color: #fff; }
.svc-card h3 { font-size: var(--fs-h3); margin-top: auto; max-width: 14ch; }
.svc-card p { color: var(--muted); font-size: .98rem; margin: 0; transition: color .5s; }
.svc-card:hover p { color: #d3e0ea; }
.svc-card__go { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; }
.svc-card__go svg { width: 14px; transition: transform .45s var(--ease); }
.svc-card:hover .svc-card__go svg { transform: translateX(6px) rotate(-45deg); }
.svc-card .tag { position: absolute; top: 1.9rem; right: 5.6rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; background: var(--coral); color: #fff; padding: .3rem .55rem; border-radius: 999px; }
.svc-card--cta { background: var(--ink); color: #fff; justify-content: space-between; }
.svc-card--cta .btn { align-self: flex-start; }
.svc-card--cta h3 { margin-top: 0; }
.svc-card--cta p { color: #b9cad8; }

/* ---------- Care options (auto-advancing tabs) ---------- */
.tabs { display: grid; gap: 2rem; }
@media (min-width: 980px) { .tabs { grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: stretch; } }
.tabs__list { display: grid; align-content: start; border-top: 1px solid var(--line-dark); }
.tab { position: relative; text-align: left; padding: 1.6rem 0 1.6rem; border-bottom: 1px solid var(--line-dark); display: grid; gap: .5rem; color: #8fa6b9; transition: color .4s; }
.tab[aria-selected='true'] { color: #fff; }
.tab__head { font-family: var(--f-display); display: flex; align-items: baseline; gap: 1rem; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); font-weight: 500; letter-spacing: -.035em; }
.tab__head small { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; color: var(--coral); }
.tab__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.tab__body > div { overflow: hidden; color: #b9cad8; max-width: 46ch; }
.tab[aria-selected='true'] .tab__body { grid-template-rows: 1fr; }
.tab__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; }
.tabs__media { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; }
.tabs__media figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.tabs__media figure.is-active { opacity: 1; transform: scale(1); }
.tabs__media img { width: 100%; height: 100%; object-fit: cover; }
.tabs__media figcaption { position: absolute; left: 1.4rem; bottom: 1.2rem; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.tabs__media figure::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(11,29,46,.7)); }
.tabs__media figcaption { z-index: 2; }

/* ---------- Why choose ---------- */
.why { display: grid; gap: 3rem; }
@media (min-width: 980px) { .why { grid-template-columns: 1fr 1.2fr; gap: 5rem; } .why__sticky { position: sticky; top: 7rem; align-self: start; } }
.why__big { font-family: var(--f-display); font-size: clamp(5rem, 3rem + 7vw, 10rem); line-height: .85; letter-spacing: -.07em; font-weight: 500; color: var(--ink); }
.why__big sup { font-size: .4em; color: var(--coral); vertical-align: top; position: relative; top: .25em; }
.why__list { display: grid; }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 1.4rem; padding: 1.7rem 0; border-top: 1px solid var(--line); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-item .check { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--coral-100); color: var(--coral-600); }
.why-item .check svg { width: 18px; }
.why-item h3 { font-size: 1.35rem; letter-spacing: -.025em; margin-bottom: .35rem; }
.why-item p { margin: 0; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 2rem 1.4rem; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat__num { font-family: var(--f-display); font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: #fff; }
.stat__num .unit { color: var(--coral); }
.stat p { margin: .8rem 0 0; color: #9fb4c6; font-size: .95rem; max-width: 22ch; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; gap: 0; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process__line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.process__line i { position: absolute; inset: 0; background: var(--coral); transform: scaleX(0); transform-origin: left; }
.step { position: relative; padding: 2.4rem 1.6rem 1rem 0; }
.step__no { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .14em; color: var(--coral); }
.step h3 { font-size: 1.6rem; margin: 1rem 0 .6rem; }
.step p { color: var(--muted); margin: 0; max-width: 28ch; }
.step::before { content: ''; position: absolute; top: -6px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--coral); }
@media (max-width: 899px) { .process__line { display: none; } .step { border-top: 1px solid var(--line); } }

/* ---------- Founder ---------- */
.founder { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .founder { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }
.founder__photo { position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.founder__photo img { width: 100%; height: 115%; object-fit: cover; }
.founder__ring { position: absolute; left: 1rem; top: 1rem; width: 110px; height: 110px; animation: spin 18s linear infinite; }
.founder__ring text { font-family: "DM Mono", monospace; font-size: 8.4px; letter-spacing: 1px; text-transform: uppercase; fill: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.founder blockquote { margin: 1.6rem 0; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; }
.founder blockquote::before { content: '“'; display: block; font-family: var(--f-serif); font-size: 3em; line-height: .8; height: .45em; color: var(--coral); }
.founder__sig { display: flex; align-items: center; gap: 1rem; }
.founder__sig b { display: block; font-size: 1.1rem; }
.founder__sig small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Parallax band ---------- */
.band { position: relative; height: clamp(420px, 78vh, 820px); overflow: hidden; color: #fff; display: grid; place-items: center; text-align: center; }
.band__img { position: absolute; inset: -15% 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(11,29,46,.35), rgba(11,29,46,.8)); }
.band__text { font-family: var(--f-display); position: relative; z-index: 2; font-size: clamp(2.6rem, 1rem + 7vw, 8rem); line-height: .95; letter-spacing: -.055em; font-weight: 500; }
.band__text .serif { color: var(--spine); }

/* ---------- Detail pages ---------- */
.detail { display: grid; gap: 3rem; }
@media (min-width: 980px) { .detail { grid-template-columns: 1.4fr 1fr; gap: 5rem; } .detail aside { position: sticky; top: 7rem; align-self: start; } }
.detail h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); margin: 0 0 1.2rem; }
.detail__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 3rem; }
.detail__img img { width: 100%; height: 115%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 3rem; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; }
.chips li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.ticks { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .9rem; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; }
.ticks svg { width: 22px; height: 22px; color: var(--coral); margin-top: 2px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.4rem); }
.card--ink { background: var(--ink); color: #fff; border: 0; }
.card--ink .muted { color: #a8bccc; }
.price-tag { display: inline-block; margin-top: 1rem; font-family: var(--f-mono); letter-spacing: .1em; background: var(--coral-100); color: var(--coral-600); padding: .5rem .8rem; border-radius: 999px; font-size: .8rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { padding: 2rem 0; display: grid; gap: .4rem; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 1.5rem; }
.pager small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager b { font-family: var(--f-display); font-size: clamp(1.1rem, .9rem + 1vw, 1.7rem); letter-spacing: -.03em; font-weight: 500; }
.pager a:hover b { color: var(--coral); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 3rem; }
@media (min-width: 980px) { .faq { grid-template-columns: 1fr 1.5fr; gap: 5rem; } }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; text-align: left; padding: 1.5rem 0; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; }
.faq__q small { font-family: var(--f-mono); font-size: .75rem; color: var(--coral); letter-spacing: .1em; }
.faq__q i { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .4s, transform .5s var(--ease); }
.faq__q i::before, .faq__q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq__q[aria-expanded='true'] i { background: var(--coral); color: #fff; border-color: var(--coral); }
.faq__q[aria-expanded='true'] i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 3.5rem 1.6rem 2.6rem; color: var(--muted); margin: 0; }
.faq__q[aria-expanded='true'] + .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); color: #fff; padding: clamp(2.5rem, 6vw, 5.5rem); isolation: isolate;
  clip-path: inset(0 round var(--r-lg)); }
/* Rounded boxes with moving (parallax / animated) images inside: keep the corners rounded.
   Chrome/Safari stop applying overflow:hidden + border-radius to a child that gets its own GPU layer, so the
   corners turned sharp a moment after load (often only the bottom ones). will-change gives the box its own
   layer (Chrome) and the mask forces the rounded clip on that layer (Safari). Tested 390 / 768 / 1440 px. */
.cta, .detail__img, .founder__photo, .article__cover {
  will-change: transform;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}
.cta__bg { position: absolute; inset: 0; z-index: -1; opacity: .38; }
.cta__bg img { width: 100%; height: 120%; object-fit: cover; }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--ink) 30%, rgba(11,29,46,.5)); }
.cta h2 { font-size: var(--fs-h2); max-width: 14ch; margin: 1.2rem 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.cta__blob { position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,61,.55), transparent 65%); filter: blur(30px); z-index: -1; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.05rem; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--text);
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--spine-600); box-shadow: 0 0 0 4px rgba(94,143,181,.18); }
.field.has-error input, .field.has-error select { border-color: #d93a3a; }
.field .err { color: #d93a3a; font-size: .85rem; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--spine-100); gap: 4px; }
.seg label { cursor: pointer; position: relative; font-family: var(--f-sans); letter-spacing: 0; text-transform: none; color: inherit; font-size: inherit; }
.seg input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: .6rem 1.1rem; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: background .3s, color .3s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--coral); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: .3rem; accent-color: var(--coral); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; }
.form__status { font-weight: 500; }
.form__status.ok { color: #138a4e; }
.form__status.bad { color: #d93a3a; }
.form-success { text-align: center; display: grid; justify-items: center; gap: .8rem; padding: 2rem 0; }
.form-success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 2rem; }
@media (min-width: 980px) { .contact { grid-template-columns: 1fr 1.3fr; gap: 3rem; } }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; }
.info-list li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line-dark); }
.info-list .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(172,202,218,.12); color: var(--spine); display: grid; place-items: center; }
.info-list .ic svg { width: 20px; }
.info-list small { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--spine); margin-bottom: .2rem; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; background: var(--spine-100); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- Legal ---------- */
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.6rem; margin: 2.6rem 0 .8rem; }
.legal h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--coral-600); font-weight: 600; }
.legal a:hover { opacity: .8; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c9d8e4; padding-top: clamp(4rem, 8vw, 6.5rem); overflow: hidden; position: relative; }
.footer__top { display: grid; gap: 3rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { font-family: var(--f-mono); font-size: .74rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--spine); margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--coral); }
.footer__logo { display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: #fff; margin-bottom: 1.6rem; box-shadow: 0 16px 40px -18px rgba(0,0,0,.6); }
.footer__logo img { width: 104px; height: 104px; }
.footer__brand p { max-width: 34ch; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.footer__social a:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.footer__social svg { width: 18px; }
.footer__word { display: block; width: 100%; height: auto; margin: 0 0 .6rem; overflow: visible; }
.footer__word text { font-family: 'Unbounded', sans-serif; font-weight: 500; font-size: 86px; letter-spacing: -3px; fill: transparent; stroke: rgba(172,202,218,.32); stroke-width: 1.1; }
.footer__word .dot { fill: var(--coral); stroke: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.4rem 1.6rem; border-top: 1px solid var(--line-dark); font-size: .88rem; color: #8fa6b9; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* ---------- Floating & sticky CTAs ---------- */
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    position: fixed; left: .7rem; right: .7rem; bottom: .7rem; z-index: 85; display: grid; grid-template-columns: 1fr 1.4fr; gap: .4rem;
    padding: .4rem; border-radius: 999px; background: rgba(11,29,46,.92); backdrop-filter: blur(14px); box-shadow: 0 16px 40px -14px rgba(0,0,0,.5);
    transform: translateY(150%); transition: transform .6s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .8rem .4rem; border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 600; }
  .mbar svg { width: 17px; }
  .mbar .go { background: var(--coral); }
}

/* ---------- Modal (CTA popup / booking) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__scrim { position: absolute; inset: 0; background: rgba(6,16,26,.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__panel {
  position: relative; width: min(100%, 980px); max-height: calc(100svh - 2rem); overflow: auto; border-radius: var(--r-lg); background: var(--paper);
  display: grid; transform: translateY(40px) scale(.97); opacity: 0; transition: transform .7s var(--ease), opacity .5s;
}
.modal.is-open .modal__panel { transform: none; opacity: 1; }
@media (min-width: 820px) { .modal__panel--split { grid-template-columns: .9fr 1.1fr; } }
.modal__side { position: relative; background: var(--ink); color: #fff; padding: 2.2rem; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 220px; }
.modal__side img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.modal__side > * { position: relative; }
.modal__side h3 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); line-height: 1; }
.modal__body { padding: clamp(1.5rem, 3vw, 2.4rem); }
.modal__close { position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 16px; }
.modal--promo .modal__panel { width: min(100%, 860px); }
.offer-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; background: var(--coral); color: #fff; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 999px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 1rem; z-index: 150; width: min(100% - 1.4rem, 980px); transform: translate(-50%, 140%);
  background: var(--ink); color: #dce7ef; border: 1px solid var(--line-dark); border-radius: 22px; padding: 1.1rem 1.2rem;
  display: grid; gap: 1rem; align-items: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); transition: transform .8s var(--ease);
}
.cookie.is-visible { transform: translate(-50%, 0); }
.cookie p { margin: 0; font-size: .93rem; }
.cookie p b { color: #fff; }
.cookie a { color: var(--spine); font-weight: 600; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie__actions .btn { padding: .75rem 1.2rem; font-size: .9rem; }
.cookie__ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,107,61,.15); color: var(--coral); display: none; place-items: center; }
@media (min-width: 760px) { .cookie { grid-template-columns: auto 1fr auto; } .cookie__ic { display: grid; } }
@media (max-width: 760px) { .cookie { bottom: .7rem; } }

/* ---------- Cursor (desktop) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; mix-blend-mode: normal; display: none; }
.cursor__dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--coral); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s; display: grid; place-items: center; }
.cursor__dot span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; color: #fff; text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.cursor.is-view .cursor__dot { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor.is-view .cursor__dot span { opacity: 1; }
.cursor.is-link .cursor__dot { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: rgba(255,107,61,.25); }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { display: block; } }

/* ---------- Reveal defaults (JS enhances) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-reveal='fade'] { transform: none; }
.js [data-reveal='clip'] { opacity: 1; transform: none; clip-path: inset(100% 0% 0% 0% round var(--r-lg)); }
.reduced [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}

.footer__bottom button { color: inherit; font-size: inherit; padding: 0; }
.footer__bottom button:hover { color: var(--coral); }
@media (max-width: 760px) { .cookie-open .mbar { transform: translateY(150%) !important; } }
@media (max-width: 560px) { .stats--words { grid-template-columns: 1fr; } }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .4rem; height: 42px; padding: 0 .8rem; border-radius: 999px; border: 1px solid currentColor; border-color: rgba(127,160,190,.35); font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; }
.lang__btn svg { width: 16px; }
.lang__menu { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 190px; list-style: none; margin: 0; padding: .4rem; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .3s var(--ease); z-index: 5; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; gap: .7rem; align-items: center; padding: .65rem .8rem; border-radius: 10px; font-size: .95rem; }
.lang__menu a b { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; min-width: 2.4em; color: var(--spine-600); }
.lang__menu a:hover, .lang__menu a[aria-current] { background: var(--spine-50); }
.lang__menu a[aria-current] b { color: var(--coral); }
@media (max-width: 560px) { .header__cta .lang { display: none; } }
.mmenu__langs { display: flex; flex-wrap: wrap; gap: .4rem; }
.mmenu__langs a { padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .9rem; }
.mmenu__langs a[aria-current] { background: var(--coral); border-color: var(--coral); color: #fff; }

/* ---------- Hero rating ---------- */
.stars-mini { color: #ffc24b; letter-spacing: .1em; }
@media (max-width: 760px) { .hero__rating { order: -1; width: 100%; } .scroll-cue { display: none; } }

/* ---------- Video showcase ---------- */
.vids { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .vids { grid-template-columns: repeat(3, 1fr); } }
.vid { text-align: left; display: grid; gap: 1rem; color: inherit; }
.vid__media { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.vid__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.vid:hover .vid__media video { transform: scale(1.1); }
.vid__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,29,46,.75)); }
.vid__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.35); color: #fff; transition: transform .5s var(--ease), background .4s; }
.vid__play svg { width: 26px; margin-left: 4px; }
.vid:hover .vid__play { transform: scale(1.12); background: var(--coral); border-color: var(--coral); }
.vid__play::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); animation: ring 2.6s infinite; }
.vid__meta { display: grid; gap: .3rem; }
.vid__meta small { font-family: var(--f-mono); color: var(--coral); font-size: .74rem; letter-spacing: .12em; }
.vid__meta b { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; letter-spacing: -.02em; }
.vid__meta span { color: #9fb4c6; font-size: .95rem; }
.modal--video .modal__panel { background: #000; width: min(100%, 1100px); }
.modal--video video { width: 100%; max-height: 80svh; background: #000; }

/* ---------- Rating card & reviews ---------- */
.rating-card { display: grid; gap: 2rem; align-items: center; padding: clamp(1.6rem, 4vw, 3rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11,29,46,.4); }
@media (min-width: 900px) { .rating-card { grid-template-columns: auto 1fr; gap: 4rem; } }
.rating-card__score { display: flex; align-items: center; gap: 1.4rem; padding-right: 2rem; }
@media (min-width: 900px) { .rating-card__score { border-right: 1px solid var(--line); padding-right: 4rem; } }
.g-logo { width: 64px; height: 64px; border-radius: 18px; background: var(--spine-50); display: grid; place-items: center; flex: none; }
.g-logo svg { width: 34px; }
.rating-card__num { font-family: var(--f-display); font-size: clamp(3rem, 2rem + 3vw, 4.6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; margin-top: .4rem; }
.rating-card__num small { font-size: .35em; color: var(--muted); letter-spacing: 0; margin-left: .2em; }
.stars { display: flex; gap: 3px; margin-top: .5rem; }
.star { width: 20px; height: 20px; color: #d7dee5; }
.star svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.star.on { color: #fbbc04; }
.star.half { color: #fbbc04; clip-path: inset(0 50% 0 0); position: relative; }
.reviews { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 1.6rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: grid; gap: 1rem; align-content: start; }
.review blockquote { margin: 0; font-size: .98rem; }
.review figcaption b { display: block; }
.review figcaption small { color: var(--muted); font-family: var(--f-mono); font-size: .72rem; }

/* ---------- About facts & languages ---------- */
.facts { margin-top: 1.5rem; padding: 1.6rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.facts h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.facts dl { margin: 0; display: grid; }
.facts dl div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .15rem; }
.facts dd { margin: 0; font-weight: 600; }
.langs-line { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; font-weight: 600; }
.langs-line svg { width: 20px; color: var(--coral); flex: none; }
.stat__num--word { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem) !important; }

/* ---------- Animated avatar ---------- */
.avatar { width: 100%; height: 100%; display: block; }
.av-body { animation: av-breathe 4.5s ease-in-out infinite; transform-origin: 240px 600px; }
.av-head { animation: av-sway 6s ease-in-out infinite; transform-origin: 240px 320px; }
.av-eyes { animation: av-blink 5s infinite; transform-origin: 240px 236px; }
.av-hand { animation: av-wave 2.6s ease-in-out infinite; transform-origin: 378px 470px; }
.av-orbit { animation: spin 40s linear infinite; transform-origin: 240px 250px; }
.av-glow { animation: av-pulse 6s ease-in-out infinite; transform-origin: center; }
.av-float { animation: av-float 6s ease-in-out infinite; }
.av-f2 { animation-delay: -1.5s; } .av-f3 { animation-delay: -3s; } .av-f4 { animation-delay: -4.5s; }
.av-shine { animation: av-shine 4s ease-in-out infinite; }
@keyframes av-breathe { 50% { transform: scaleY(1.012) translateY(-2px); } }
@keyframes av-sway { 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }
@keyframes av-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes av-wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
@keyframes av-pulse { 50% { opacity: .65; transform: scale(1.06); } }
@keyframes av-float { 50% { transform: translateY(-14px); } }
@keyframes av-shine { 0%, 70% { transform: translateX(0); opacity: 0; } 75% { opacity: .25; } 100% { transform: translateX(60px); opacity: 0; } }

/* ---------- Tamil & Chinese typography ---------- */
:lang(ta) body, :lang(ta) { --f-display: 'Noto Sans Tamil', 'Latha', 'Nirmala UI', 'Tamil MN', 'Manrope', sans-serif; --f-sans: 'Manrope', 'Noto Sans Tamil', 'Latha', 'Nirmala UI', 'Tamil MN', sans-serif; }
:lang(zh) body, :lang(zh) { --f-display: 'Unbounded', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif; --f-sans: 'Manrope', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif; }
:lang(ta) h1, :lang(ta) h2, :lang(ta) h3, :lang(ta) .marquee__item, :lang(ta) .tab__head, :lang(ta) .band__text, :lang(ta) .statement p,
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) .marquee__item, :lang(zh) .tab__head, :lang(zh) .band__text, :lang(zh) .statement p { letter-spacing: 0; font-weight: 700; }
:lang(ta) { --fs-hero: clamp(2rem, .9rem + 4.2vw, 4.6rem); --fs-h1: clamp(1.8rem, 1rem + 2.6vw, 3.4rem); --fs-h2: clamp(1.5rem, 1rem + 1.8vw, 2.6rem); --fs-h3: clamp(1.05rem, .95rem + .4vw, 1.3rem); }
:lang(ta) h1, :lang(ta) h2, :lang(ta) h3, :lang(ta) .hero h1, :lang(ta) .statement p { line-height: 1.35; }
:lang(ta) .statement p { font-size: clamp(1.2rem, .9rem + 1.4vw, 2rem); }
:lang(ta) .band__text { font-size: clamp(1.8rem, .8rem + 4vw, 4.4rem); line-height: 1.3; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) .hero h1 { line-height: 1.2; }
:lang(ta) .serif, :lang(zh) .serif { font-family: inherit; font-style: normal; font-size: 1em; color: inherit; }
:lang(ta) .hero h1 .serif, :lang(zh) .hero h1 .serif, :lang(ta) .accent.serif, :lang(zh) .accent.serif { color: var(--coral); }
:lang(ta) .hero h1 .serif, :lang(zh) .hero h1 .serif { color: var(--spine); }
:lang(ta) .spine-c.serif, :lang(zh) .spine-c.serif { color: var(--spine); }
:lang(ta) .svc-card h3, :lang(ta) .why-item h3 { line-height: 1.4; }

/* ---------- Breathing room inside blueprint frames ---------- */
main .wrap, .footer > .wrap { padding-inline: clamp(1.25rem, 2.6vw, 2.75rem); }
.header > .wrap { padding-inline: clamp(.25rem, 1.2vw, 1.4rem); }
@media (max-width: 760px) { main .wrap, .footer > .wrap { padding-inline: .9rem; } }
.hero__eyebrow { color: var(--spine); }

/* ---------- Custom select ---------- */
.field select { appearance: none; -webkit-appearance: none; padding-right: 3rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1D2E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 16px; }
.cselect { position: relative; }
.cselect select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.cselect__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: .95rem 1.05rem; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--text); transition: border-color .3s, box-shadow .3s; min-height: 52px; }
.cselect__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__btn svg { width: 16px; flex: none; transition: transform .35s var(--ease); color: var(--ink); }
.cselect.is-open .cselect__btn, .cselect__btn:focus-visible { outline: none; border-color: var(--spine-600); box-shadow: 0 0 0 4px rgba(94,143,181,.18); }
.cselect.is-open .cselect__btn svg { transform: rotate(180deg); }
.cselect__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 280px; overflow: auto; margin: 0; padding: .4rem; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(11,29,46,.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease); overscroll-behavior: contain; }
.cselect.is-open .cselect__list { opacity: 1; visibility: visible; transform: none; }
.cselect__list li { padding: .7rem .85rem; border-radius: 10px; cursor: pointer; display: flex; justify-content: space-between; gap: .6rem; align-items: center; font-size: .97rem; }
.cselect__list li:hover, .cselect__list li.is-active { background: var(--spine-50); }
.cselect__list li[aria-selected='true'] { color: var(--coral-600); font-weight: 600; }
.cselect__list li[aria-selected='true']::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
.field input[type='date'] { min-height: 52px; color: var(--text); }
.field input[type='date']::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: #95a3b1; }

/* ---------- Contact page ---------- */
.qcards { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .qcards { grid-template-columns: repeat(3, 1fr); } }
.qcard { position: relative; display: grid; gap: .9rem; align-content: start; padding: 1.6rem 1.6rem 1.5rem; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); backdrop-filter: blur(10px); transition: background .4s, transform .5s var(--ease), border-color .4s; color: #fff; }
a.qcard:hover { background: rgba(255,107,61,.12); border-color: rgba(255,107,61,.45); transform: translateY(-4px); }
.qcard__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--coral); color: #fff; }
.qcard__ic svg { width: 22px; }
.qcard small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--spine); }
.qcard b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); letter-spacing: -.02em; line-height: 1.25; }
.qcard span { color: #b9cad8; font-size: .95rem; }
.qcard .go { position: absolute; top: 1.4rem; right: 1.4rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: .4s var(--ease); }
.qcard .go svg { width: 14px; }
a.qcard:hover .go { background: var(--coral); border-color: var(--coral); transform: rotate(-45deg); }
.status { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #9fb4c6; }
.status.is-open i { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.18); }
.status.is-open { color: #7ff0b0; }
.status.is-closed { color: #ffb199; }
.status.is-closed i { background: var(--coral); }
.contact2 { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1000px) { .contact2 { grid-template-columns: 1.55fr 1fr; gap: 2rem; } .contact2 aside { position: sticky; top: 7rem; } }
.formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3.5vw, 3rem); box-shadow: 0 40px 80px -50px rgba(11,29,46,.45); }
.formcard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.6rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.formcard__head h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin-top: .8rem; }
.formcard__note { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); }
.formcard__note svg { width: 16px; color: var(--coral); }
.sidecard { border-radius: var(--r-lg); padding: 1.8rem; background: var(--ink); color: #dce7ef; position: relative; overflow: hidden; }
.sidecard + .sidecard { margin-top: 1rem; }
.sidecard h3 { font-size: 1.25rem; margin: .8rem 0 .6rem; color: #fff; }
.sidecard p { color: #b9cad8; margin: 0; }
.sidecard--light { background: #fff; color: var(--text); border: 1px solid var(--line); }
.sidecard--light h3 { color: var(--ink); }
.sidecard--light p { color: var(--muted); }
.sidecard .ticks { margin: 1rem 0 0; }
.sidecard .ticks li { font-size: .95rem; }
.sidecard img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.sidecard > *:not(.bg) { position: relative; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.hours-table td { padding: .55rem 0; border-top: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.is-today td { color: var(--coral-600); }

/* ---------- Founder cut-out photo ---------- */
.founder__photo--cutout { background: radial-gradient(90% 70% at 50% 35%, #2a5274 0%, #10283f 55%, #0b1d2e 100%); }
.founder__photo--cutout::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(172,202,218,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(172,202,218,.08) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 80%); }
.founder__glow { position: absolute; left: 50%; top: 22%; width: 70%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,107,61,.35), transparent 65%); filter: blur(20px); animation: av-pulse 7s ease-in-out infinite; }
.founder__photo--cutout img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: center bottom; }
.spec { display: grid; gap: 2rem; align-items: center; padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
@media (min-width: 980px) { .spec { grid-template-columns: 1fr 1.6fr; gap: 3rem; } }

/* ---------- Articles ---------- */
.agrid { display: grid; gap: 1.4rem; }
@media (min-width: 700px) { .agrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .agrid { grid-template-columns: repeat(3, 1fr); } }
.acard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.acard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(11,29,46,.45); }
.acard[hidden] { display: none; }
.acard__img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--spine-100); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.acard:hover .acard__img img { transform: scale(1.06); }
.acard__body { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem 1.5rem 1.5rem; }
.acard__meta { display: flex; justify-content: space-between; gap: .8rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.acard__cat { color: var(--coral-600); }
.acard__title { font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.acard__ex { color: var(--muted); font-size: .95rem; }
.acard__go { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.acard__go svg { width: 14px; transition: transform .4s var(--ease); }
.acard:hover .acard__go svg, .afeature:hover .acard__go svg { transform: translateX(6px); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: .93rem; transition: .3s; }
.chip-btn small { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-btn.is-active small { color: var(--spine); }
.afeature { display: grid; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; margin-bottom: 1.4rem; }
.afeature[hidden] { display: none; }
@media (min-width: 900px) { .afeature { grid-template-columns: 1.2fr 1fr; } }
.afeature__img { display: block; min-height: 300px; overflow: hidden; }
.afeature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.afeature:hover .afeature__img img { transform: scale(1.05); }
.afeature__body { display: flex; flex-direction: column; gap: 1rem; justify-content: center; padding: clamp(1.6rem, 4vw, 3rem); }
.afeature__body b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); line-height: 1.15; letter-spacing: -.03em; }
.afeature__body .muted { color: #b9cad8; }
.afeature .acard__go { color: #fff; }
.article-h1 { max-width: 22ch; }
.ameta { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); color: #dce7ef; }
.ameta small { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--spine); margin-bottom: .2rem; }
.ameta__author { display: flex; align-items: center; gap: .8rem; }
.ameta__av { width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.article-layout { display: grid; gap: 3rem; }
@media (min-width: 1080px) { .article-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4.5rem; } .article-aside { position: sticky; top: 7rem; align-self: start; } }
.article { min-width: 0; }
.article__cover { margin: 0 0 2.4rem; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.answer { padding: 1.6rem 1.8rem; border-radius: var(--r); background: var(--spine-50); border-left: 4px solid var(--coral); margin-bottom: 1.6rem; }
.answer p { margin: .7rem 0 0; font-size: 1.12rem; line-height: 1.6; color: var(--ink); }
.takeaways { padding: 1.6rem 1.8rem; border-radius: var(--r); border: 1px solid var(--line); background: #fff; margin-bottom: 2.6rem; }
.takeaways__title { font-size: 1.15rem; margin-bottom: 1rem; }
.takeaways .ticks { margin: 0; }
.prose { font-size: 1.08rem; line-height: 1.75; color: #22374b; max-width: 72ch; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); margin: 2.6rem 0 1rem; color: var(--ink); scroll-margin-top: 7rem; line-height: 1.2; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; color: var(--ink); }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--coral); }
.prose strong { color: var(--ink); }
.article__faq { margin-top: 3rem; }
.article__faq h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); margin-bottom: 1rem; }
.article__disc { margin-top: 2.4rem; font-size: .9rem; color: var(--muted); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.toc { padding: 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.toc ol { list-style: none; counter-reset: toc; margin: 1rem 0 0; padding: 0; display: grid; gap: .2rem; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 2rem 1fr; padding: .45rem 0; font-size: .92rem; color: var(--muted); transition: color .3s; line-height: 1.4; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: .72rem; color: var(--coral); padding-top: .15rem; }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.svc-mini { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .3s; }
.svc-mini:hover { border-color: var(--coral); }
.svc-mini > svg { width: 16px; margin-left: auto; flex: none; }
.svc-mini small { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc-mini b { font-size: .98rem; }

/* ---------- Live Google reviews (auto-scroll) ---------- */
a.rating-card__score { color: inherit; border-radius: var(--r); transition: background .3s; }
a.rating-card__score:hover .rating-card__num { color: var(--coral-600); }
.rating-card__score > span:last-child { display: grid; }
.rating-card__count { margin-top: .4rem; font-size: .92rem; }
.live-note { display: inline-flex; align-items: center; gap: .55rem; margin: 0; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rv-marquee { margin-top: 1.6rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-marquee.is-empty { display: none; }
.rv-track { display: flex; gap: 1.2rem; width: max-content; padding: .4rem 0 1rem; animation: rv-scroll var(--rv-dur, 60s) linear infinite; }
.rv-marquee:hover .rv-track, .rv-marquee:focus-within .rv-track { animation-play-state: paused; }
@keyframes rv-scroll { to { transform: translateX(calc(-50% - .6rem)); } }
.review { margin: 0; width: min(360px, 82vw); flex: none; padding: 1.5rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: grid; gap: .9rem; align-content: start; box-shadow: 0 20px 40px -34px rgba(11,29,46,.5); }
.review__top { display: grid; grid-template-columns: 40px 1fr auto; gap: .8rem; align-items: center; }
.review__av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--spine-100); color: var(--ink); display: grid; place-items: center; font-weight: 700; }
.review__av img { width: 100%; height: 100%; object-fit: cover; }
.review__top b { display: block; font-size: .98rem; line-height: 1.2; }
.review__top small { color: var(--muted); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; }
.review__g { width: 20px; color: #4285f4; }
.review__g svg { width: 20px; }
.review blockquote { margin: 0; font-size: .96rem; line-height: 1.6; color: #2b3f52; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review--ph { border-style: dashed; background: var(--spine-50); }
.review--ph blockquote { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .rv-track { animation: none; } .rv-marquee { overflow-x: auto; } }
a.hero__rating:hover { color: #fff; }

/* ---------- Audit fixes ---------- */
/* SplitText line masks must not clip descenders */
[data-split] .split-line-mask, [data-split] .split-line { padding-bottom: .2em; margin-bottom: -.2em; }
/* grid columns can shrink (no horizontal overflow) */
.contact2 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .contact2 { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.cselect, .cselect__btn { min-width: 0; }
@media (min-width: 640px) { .form .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phone icon stays upright on hover */
.btn[href^="tel:"]:hover .ico { transform: none; }
/* status dot on brand colours */
.status.is-open i { background: var(--coral); box-shadow: 0 0 0 4px rgba(255,107,61,.2); }
.status.is-open { color: var(--spine); }
/* frame lines on every section */
.section::before, .section::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none; z-index: 1; }
.section::before { left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.section::after { right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.section.dark::before, .section.dark::after { background: var(--line-dark); }
/* rounded grids */
.svc-grid { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.svc-grid .svc-card { margin: -1px 0 0 -1px; }
.stats { border-radius: 24px; overflow: hidden; border: 1px solid var(--line-dark); }
.stats .stat { margin: -1px 0 0 -1px; }
/* footer slogan: solid fill, no outline artefacts */
.footer__word text { font-size: 80px; letter-spacing: 0; fill: rgba(172,202,218,.13); stroke: none; }
@media (max-width: 600px) { .footer__word text { fill: rgba(172,202,218,.22); } }
/* mobile bar: Book only, footer links stay visible */

/* Tamil / Chinese labels */
:lang(ta) .eyebrow, :lang(zh) .eyebrow, :lang(ta) .acard__meta, :lang(zh) .acard__meta, :lang(ta) .field label, :lang(zh) .field label, :lang(ta) .qcard small, :lang(zh) .qcard small, :lang(ta) .facts dt, :lang(zh) .facts dt { letter-spacing: .02em; text-transform: none; font-family: var(--f-sans); }
/* custom checkbox */
.consent input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1.5px solid #b9c6d2; border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: .2s; margin-top: .15rem; }
.consent input::after { content: ''; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.consent input:checked { background: var(--coral); border-color: var(--coral); }
.consent input:checked::after { opacity: 1; }
.consent input:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
/* pager spacing, filters on mobile, process in narrow columns, hero label */
.pager a:first-child { padding-right: 1rem; }
@media (max-width: 760px) { .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -.9rem; padding: 0 .9rem .3rem; } .filters::-webkit-scrollbar { display: none; } .chip-btn { flex: none; } }
.detail .process { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .detail .process { grid-template-columns: 1fr; } }
.detail .process .process__line { display: none; }
.detail .step { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.detail .step::before { top: -7px; }
.hero__eyebrow { flex-wrap: nowrap; }
.prose a { color: var(--coral-600); font-weight: 600; }
.prose a:hover { opacity: .8; }

/* dropdown: flip upward + scrollable list */
.cselect.is-up .cselect__list { top: auto; bottom: calc(100% + 6px); transform: translateY(6px); }
.cselect.is-up.is-open .cselect__list { transform: none; }
.cselect__list { scrollbar-width: thin; scrollbar-color: #c9d6e1 transparent; }
.cselect__list::-webkit-scrollbar { width: 6px; } .cselect__list::-webkit-scrollbar-thumb { background: #c9d6e1; border-radius: 6px; }
.contact-note { margin: -.2rem 0 0; font-size: .86rem; color: var(--muted); }
.contact-note.is-error { color: #d93a3a; }

/* ---- Mobile polish (Dec 2026) ---- */
/* 1+2: menu — languages on one line, languages + Book button pinned to the bottom */
.mmenu__foot { margin-top: auto; padding-top: 2rem; }
.mmenu__foot .btn { width: 100%; justify-content: center; }
.mmenu__langs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: clamp(.25rem, 1.2vw, .45rem); flex-wrap: nowrap; }
.mmenu__langs a { white-space: nowrap; text-align: center; font-size: clamp(.68rem, 3.1vw, .9rem); padding: .45em clamp(.5em, 2.2vw, .85em); }
@media (max-width: 380px) { .mmenu__langs { grid-template-columns: repeat(4, minmax(0, auto)); } }
/* 4: rating card — every eyebrow starts at the left edge on mobile */
@media (max-width: 899px) {
  .rating-card { grid-template-columns: minmax(0, 1fr); }
  .rating-card > * { min-width: 0; }
  /* Google logo sits to the left of the 4.7 number; eyebrow, stars and count run full width */
  .rating-card__score { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; row-gap: 0; align-items: center; padding-right: 0; }
  .rating-card__score > span:last-child { display: contents; }
  .rating-card__score .eyebrow { grid-column: 1 / -1; grid-row: 1; margin-bottom: .7rem; }
  .rating-card__score .g-logo { grid-column: 1; grid-row: 2; width: 52px; height: 52px; border-radius: 15px; }
  .rating-card__score .g-logo svg { width: 28px; }
  .rating-card__num { grid-column: 2; grid-row: 2; margin-top: 0; }
  .rating-card__score .stars { grid-column: 1 / -1; grid-row: 3; margin-top: .7rem; }
  .rating-card__count { grid-column: 1 / -1; grid-row: 4; }
  .rating-card__text h2 { overflow-wrap: anywhere; }
}
/* 6: footer legal links — one line, smaller */
@media (max-width: 760px) {
  .footer__bottom { flex-direction: column; gap: .8rem; }
  .footer__bottom nav { flex-wrap: nowrap; gap: clamp(.55rem, 2.6vw, 1.1rem); white-space: nowrap; font-size: clamp(.64rem, 2.9vw, .82rem); }
  .footer__bottom nav a, .footer__bottom nav button { white-space: nowrap; font-size: inherit; }
}

/* Eyebrows & live note (text only, no dot): text kept on one line and scaled to the screen (app.js fitLines) */
.eyebrow, .live-note { flex-wrap: nowrap; max-width: 100%; }
@media (max-width: 760px) {
  .eyebrow, .live-note { white-space: nowrap; letter-spacing: .1em; font-size: clamp(.58rem, 2.9vw, .78rem); }
  .eyebrow.is-wrap, .live-note.is-wrap { white-space: normal; align-items: flex-start; }
}

/* Page transition: keep the curtain closed from the first paint of the next page (no flash), and keep the
   old page on screen until the new one is ready in browsers that support cross-document view transitions. */
html.nav-in { background: var(--ink); }
html.nav-in .curtain span { transform: scaleY(1); transform-origin: bottom; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }

/* Visit-type toggle: two equal halves that fill the track, no empty space */
.seg { display: flex; width: 100%; max-width: 420px; }
.seg label { flex: 1 1 0; min-width: 0; }
.seg span { text-align: center; white-space: nowrap; padding-inline: .6rem; }
/* Grid children may shrink below their content width (prevents sideways overflow on very narrow phones) */
.founder > *, .contact2 > *, .split > *, .detail > * { min-width: 0; }
@media (max-width: 899px) { .founder { grid-template-columns: minmax(0, 1fr); } }
