/* =========================================================
   YODHAS CALIPARK — premium light design system
   Ivory · Charcoal · Oxblood
   ========================================================= */
:root {
  --bg: #f5f2ed;
  --bg-2: #ece7df;
  --paper: #ffffff;
  --ink: #16181b;
  --ink-2: #3a3d42;
  --muted: #6e6a63;
  --line: rgba(22, 24, 27, .10);
  --line-2: rgba(22, 24, 27, .18);
  --accent: #9c1c22;
  --accent-2: #c0272f;
  --accent-soft: #f4e3e1;
  --oxblood: #4a0d11;
  --oxblood-2: #2c0709;
  --ok: #1f8a5b;
  --warn: #b7791f;

  --f-head: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 84px;
  --wrap: 1280px;
  --shadow: 0 1px 2px rgba(22, 24, 27, .04), 0 18px 48px -18px rgba(22, 24, 27, .18);
  --shadow-lg: 0 40px 90px -40px rgba(60, 12, 16, .35);
  --on-ink: #ffffff;
  --nav-glass: rgba(245, 242, 237, .84);
  --ts: 1;
}
html[data-text="sm"] { --ts: .92; }
html[data-text="lg"] { --ts: 1.1; }
html[data-text="xl"] { --ts: 1.2; }

/* ---------- Dark theme (graphite, not pure black) ---------- */
html[data-theme="dark"] {
  --bg: #121214;
  --bg-2: #18181c;
  --paper: #1f1f24;
  --ink: #f2eee8;
  --ink-2: #cfc9c0;
  --muted: #9b958c;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --accent: #e2474f;
  --accent-2: #f0656c;
  --accent-soft: rgba(226, 71, 79, .15);
  --on-ink: #16181b;
  --nav-glass: rgba(18, 18, 20, .82);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 48px -18px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: calc((16px) * var(--ts, 1)); line-height: 1.65; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(var(--wrap), 100% - 56px); margin-inline: auto; }
.section { padding: clamp(88px, 11vw, 160px) 0; position: relative; }
.section--tight { padding-top: 0; }
.section--sand { background: var(--bg-2); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
.display { font-size: calc((clamp(52px, 9vw, 148px)) * var(--ts, 1)); letter-spacing: -.05em; line-height: .92; font-weight: 600; }
.h1 { font-size: calc((clamp(44px, 6.6vw, 104px)) * var(--ts, 1)); letter-spacing: -.045em; line-height: .96; }
.h2 { font-size: calc((clamp(36px, 4.8vw, 72px)) * var(--ts, 1)); }
.h3 { font-size: calc((clamp(24px, 2.4vw, 34px)) * var(--ts, 1)); letter-spacing: -.025em; }
.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.accent { color: var(--accent); }
.label {
  display: inline-flex; align-items: center; gap: 10px; font-size: calc((12px) * var(--ts, 1)); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.label--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.lead { font-size: calc((clamp(17px, 1.35vw, 20px)) * var(--ts, 1)); line-height: 1.6; color: var(--ink-2); max-width: 54ch; margin: 0; }
.muted { color: var(--muted); }
.head-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.head-row .label { margin-bottom: 22px; }
@media (max-width: 860px) { .head-row { grid-template-columns: 1fr; } }

/* logo per background */
.on-dark .logo-light-bg { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent; overflow: hidden;
  font-weight: 500; font-size: calc((15px) * var(--ts, 1)); letter-spacing: -.01em; white-space: nowrap; isolation: isolate;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: var(--on-ink); }
.btn--dark:hover { background: var(--accent); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--oxblood); }
.btn--line { border-color: var(--line-2); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: calc((14px) * var(--ts, 1)); }
.btn--lg { --h: 60px; padding: 0 32px; font-size: calc((16px) * var(--ts, 1)); }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
/* text roll on hover */
.roll { display: inline-block; height: 1.3em; overflow: hidden; line-height: 1.3; }
.roll > span { display: block; transition: transform .5s var(--ease); }
.roll > span::after { content: attr(data-t); display: block; }
.btn:hover .roll > span { transform: translateY(-50%); }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: calc((11.5px) * var(--ts, 1)); font-weight: 500; letter-spacing: .02em; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--paper); }
.tag--member { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.tag--pending { color: var(--warn); border-color: rgba(183, 121, 31, .3); background: #fbf4e8; }
.tag--pending::before, .tag--approved::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--pending::before { animation: pulse 1.6s infinite; }
.tag--approved, .tag--active { color: var(--ok); border-color: rgba(31, 138, 91, .25); background: #eaf6f0; }
.tag--rejected, .tag--cancelled { color: var(--muted); }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; transition: height .4s var(--ease), background .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.is-scrolled { height: 68px; background: var(--nav-glass); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; }
.brand__txt { display: grid; line-height: 1.05; }
.brand__txt b { font-family: var(--f-head); font-weight: 600; font-size: calc((17px) * var(--ts, 1)); letter-spacing: -.03em; }
.brand__txt small { font-size: calc((10.5px) * var(--ts, 1)); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; font-size: calc((15px) * var(--ts, 1)); color: var(--ink-2); padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__user { font-size: calc((14px) * var(--ts, 1)); color: var(--muted); display: flex; align-items: center; gap: 12px; }
.nav__user form { margin: 0; }
.link { background: none; border: 0; padding: 0; color: var(--ink-2); font-size: calc((14px) * var(--ts, 1)); border-bottom: 1px solid var(--line-2); }
.link:hover { color: var(--accent); border-color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease); }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 24px; }
.menu-open .burger i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg); padding: 120px 28px 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu a.menu__big { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-head); font-size: calc((clamp(38px, 11vw, 64px)) * var(--ts, 1)); font-weight: 600; letter-spacing: -.04em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu a.menu__big small { font-family: var(--f-body); font-size: calc((13px) * var(--ts, 1)); color: var(--muted); letter-spacing: 0; }
.menu__foot { display: flex; justify-content: space-between; font-size: calc((13px) * var(--ts, 1)); color: var(--muted); }
@media (max-width: 1020px) { .nav__links, .hide-md { display: none !important; } .burger { display: block; } }

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 200; right: 24px; bottom: 24px; display: grid; gap: 10px; width: min(420px, calc(100vw - 48px)); }
.toast { display: flex; gap: 14px; align-items: start; justify-content: space-between; padding: 16px 18px; background: var(--ink); color: var(--on-ink); border-radius: 16px; font-size: calc((14px) * var(--ts, 1)); box-shadow: var(--shadow-lg); animation: tIn .7s var(--ease) both; }
.toast::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--ok); }
.toast--error::before { background: var(--accent-2); }
.toast--info::before, .toast--warning::before { background: #e0a43c; }
.toast span { flex: 1; }
.toast button { background: none; border: 0; color: rgba(255, 255, 255, .6); font-size: calc((18px) * var(--ts, 1)); line-height: 1; padding: 0; }
@keyframes tIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Motion helpers (hidden only when GSAP is running) ---------- */
.js-motion [data-reveal], .js-motion [data-stagger] > * { opacity: 0; }
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > span { display: block; will-change: transform; }

/* HERO: see bottom of file */

/* video reel that expands on scroll */
.reel-wrap { padding: clamp(48px, 7vw, 96px) 0 0; }
.reel {
  position: relative; width: min(var(--wrap), 100% - 56px); margin-inline: auto; aspect-ratio: 16 / 8;
  border-radius: var(--r-lg); overflow: hidden; background: var(--oxblood-2);
}
.reel > video, .reel__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__fallback { position: absolute; inset: 0; background: radial-gradient(70% 90% at 75% 20%, #8e1a20, transparent 60%), radial-gradient(60% 80% at 10% 100%, #5a1015, transparent 60%), linear-gradient(135deg, #2c0709, #160405); }
.reel__fallback img { opacity: .55; mix-blend-mode: luminosity; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(20, 4, 6, .65)); }
.reel__cap { position: absolute; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 44px); z-index: 2; color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.reel__cap h2 { font-size: calc((clamp(28px, 4vw, 56px)) * var(--ts, 1)); max-width: 16ch; }
.reel__cap .label { color: rgba(255, 255, 255, .7); }
.reel__logo { position: absolute; top: clamp(20px, 3vw, 36px); left: clamp(20px, 4vw, 48px); z-index: 2; width: 54px; opacity: .9; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-head); font-weight: 500; font-size: calc((clamp(44px, 5vw, 76px)) * var(--ts, 1)); letter-spacing: -.05em; line-height: 1; }
.stat b sup { font-size: calc((.4em) * var(--ts, 1)); color: var(--accent); top: -1.1em; margin-left: 4px; }
.stat > span { display: block; margin-top: 12px; color: var(--muted); font-size: calc((14px) * var(--ts, 1)); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }

/* ---------- Statement ---------- */
.statement { font-family: var(--f-head); font-size: calc((clamp(30px, 4.2vw, 62px)) * var(--ts, 1)); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; max-width: 22ch; margin: 0; }
.statement .serif { color: var(--accent); }
.statement .w { opacity: .14; }

/* ---------- Facility showcase ---------- */
.facility { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; min-height: 300px; color: #fff; background: linear-gradient(140deg, #6b1419, #2c0709); }
.tile img { position: absolute; inset: 0; width: 100%; height: 118%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(18, 5, 6, .78)); }
.tile__in { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; }
.tile__in span { font-size: calc((12px) * var(--ts, 1)); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.tile__in h3 { font-size: calc((clamp(22px, 2.2vw, 30px)) * var(--ts, 1)); margin-top: 8px; }
.tile__in p { margin: 8px 0 0; font-size: calc((14px) * var(--ts, 1)); opacity: .8; max-width: 40ch; }
.tile--a { grid-column: span 7; min-height: 460px; }
.tile--b { grid-column: span 5; min-height: 460px; }
.tile--c { grid-column: span 4; }
.tile--d { grid-column: span 4; }
.tile--e { grid-column: span 4; }
@media (max-width: 900px) { .tile--a, .tile--b, .tile--c, .tile--d, .tile--e { grid-column: span 12; min-height: 300px; } }

/* =========================================================
   ANATOMY EXPLORER
   ========================================================= */
.explorer { display: grid; grid-template-columns: 210px 1fr 400px; gap: 20px; align-items: start; }
.mlist { display: grid; gap: 2px; position: sticky; top: 96px; }
.mlist button {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left;
  border: 0; background: transparent; padding: 11px 14px; border-radius: 12px; font-size: calc((14.5px) * var(--ts, 1)); color: var(--ink-2);
  transition: background .3s, color .3s;
}
.mlist button small { font-size: calc((11.5px) * var(--ts, 1)); color: var(--muted); font-variant-numeric: tabular-nums; }
.mlist button:hover { background: var(--paper); }
.mlist button.is-active { background: var(--ink); color: var(--on-ink); }
.mlist button.is-active small { color: rgba(255, 255, 255, .6); }

.an-stage {
  position: relative; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); padding: 26px 18px 18px;
  background-image: radial-gradient(60% 55% at 50% 45%, #faf7f2, #fff 70%);
}
.an-stage__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; padding: 0 8px; }
.an-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.an-fig { text-align: center; }
.an-fig svg { width: 100%; height: auto; max-height: 600px; margin-inline: auto; overflow: visible; }
.an-fig figcaption { font-size: calc((11px) * var(--ts, 1)); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.seg { display: none; padding: 4px; border-radius: 999px; background: var(--bg-2); }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-size: calc((13px) * var(--ts, 1)); color: var(--muted); }
.seg button.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.an-tip { position: absolute; z-index: 5; pointer-events: none; padding: 6px 12px; border-radius: 8px; background: var(--ink); color: var(--on-ink); font-size: calc((12.5px) * var(--ts, 1)); font-weight: 500; transform: translate(-50%, -150%); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.an-tip.is-on { opacity: 1; }

/* anatomy colours */
.an-skin { stroke: #a59d92; stroke-width: 1; }
.skin-a { stop-color: #efe9e1; } .skin-b { stop-color: #ddd5c9; }
.mus-a { stop-color: #dcd4c9; } .mus-b { stop-color: #bdb3a6; }
.hot-a { stop-color: #d1373f; } .hot-b { stop-color: #861219; }
.an-muscle { cursor: pointer; }
.an-fill { fill: var(--mus); stroke: #8b8277; stroke-width: .75; transition: fill .35s; }
.an-fiber { opacity: .32; pointer-events: none; }
.fib { stroke: #6f675d; stroke-width: .45; }
.an-muscle:hover .an-fill { fill: #cbb8b0; }
.an-muscle.is-hot .an-fill { fill: var(--hot); stroke: #640d12; }
.an-muscle.is-hot .fib { stroke: #fff; }
.an-muscle.is-hot .an-fiber { opacity: .22; }
.an-line { fill: none; stroke: #a59d92; stroke-width: .8; pointer-events: none; }
.an-hair { fill: #958c80; }
.an-shadow { fill: rgba(22, 24, 27, .07); }

.ex-panel { position: sticky; top: 96px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); padding: 30px; min-height: 560px; }
.ex-panel__head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.ex-panel__head h3 { font-size: calc((34px) * var(--ts, 1)); margin: 10px 0 2px; }
.ex-panel__head .serif { font-size: calc((20px) * var(--ts, 1)); color: var(--accent); }
.ex-count { text-align: right; }
.ex-count b { display: block; font-family: var(--f-head); font-weight: 500; font-size: calc((40px) * var(--ts, 1)); line-height: 1; letter-spacing: -.04em; }
.ex-count span { font-size: calc((12px) * var(--ts, 1)); color: var(--muted); }
.ex-panel__blurb { color: var(--muted); font-size: calc((14.5px) * var(--ts, 1)); margin: 14px 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ex-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.ex-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ex-row:last-child { border-bottom: 0; }
.ex-row__n { font-family: var(--f-head); font-size: calc((13px) * var(--ts, 1)); color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.ex-row__name { font-weight: 600; font-size: calc((15.5px) * var(--ts, 1)); letter-spacing: -.01em; }
.ex-row__meta { display: flex; gap: 12px; font-size: calc((12.5px) * var(--ts, 1)); color: var(--muted); margin-top: 3px; }
.lvl { display: inline-flex; align-items: center; gap: 6px; }
.lvl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.lvl--intermediate::before { background: var(--warn); }
.lvl--advanced::before { background: var(--accent-2); }
.ex-row__cue { margin: 8px 0 0; font-size: calc((13.5px) * var(--ts, 1)); color: var(--ink-2); line-height: 1.5; }
.ex-row__video { display: inline-block; margin-top: 6px; font-size: calc((13px) * var(--ts, 1)); color: var(--accent); }
.ex-row__sets { font-family: var(--f-head); font-weight: 500; font-size: calc((14px) * var(--ts, 1)); white-space: nowrap; padding-top: 1px; }
.ex-row--locked > * { filter: blur(4.5px); opacity: .55; user-select: none; }
.unlock { margin-top: 18px; padding: 24px; border-radius: var(--r); color: #fff; display: grid; gap: 18px; background: radial-gradient(120% 140% at 100% 0%, #8e1a20, transparent 55%), linear-gradient(140deg, var(--oxblood), var(--oxblood-2)); }
.unlock .label { color: rgba(255, 255, 255, .65); }
.unlock strong { display: block; font-family: var(--f-head); font-size: calc((21px) * var(--ts, 1)); font-weight: 600; letter-spacing: -.02em; margin-top: 8px; }
.unlock p { margin: 6px 0 0; font-size: calc((13.5px) * var(--ts, 1)); color: rgba(255, 255, 255, .72); }
.unlock .btn { justify-self: start; }

@media (max-width: 1200px) {
  .explorer { grid-template-columns: 1fr 380px; }
  .mlist { position: static; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
  .mlist button { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; }
  .mlist button small { display: none; }
}
@media (max-width: 900px) {
  .explorer { grid-template-columns: 1fr; }
  .ex-panel { position: static; min-height: 0; }
  .seg { display: inline-flex; }
  .an-figs { grid-template-columns: 1fr; }
  .an-fig { display: none; }
  .an-fig.is-shown { display: block; }
  .an-fig svg { max-height: 520px; }
}

/* =========================================================
   PROGRAMMES
   ========================================================= */
.prog-list { border-top: 1px solid var(--line-2); }
.prog {
  position: relative; display: grid; grid-template-columns: 70px 1.2fr 1fr 180px 40px; gap: 24px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line-2); cursor: default; transition: padding .5s var(--ease);
}
.prog::before { content: ""; position: absolute; inset: 0 -28px; background: var(--paper); border-radius: var(--r); opacity: 0; transform: scaleY(.6); transition: opacity .4s, transform .5s var(--ease); z-index: -1; }
.prog:hover::before { opacity: 1; transform: scaleY(1); }
.prog__n { font-family: var(--f-head); color: var(--muted); font-size: calc((14px) * var(--ts, 1)); }
.prog__t h3 { font-size: calc((clamp(24px, 2.4vw, 34px)) * var(--ts, 1)); }
.prog__t p { margin: 6px 0 0; color: var(--muted); font-size: calc((14.5px) * var(--ts, 1)); }
.prog__hl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: calc((14px) * var(--ts, 1)); color: var(--ink-2); }
.prog__hl li::before { content: "— "; color: var(--accent); }
.prog__meta { display: grid; gap: 6px; font-size: calc((13.5px) * var(--ts, 1)); color: var(--muted); }
.prog__meta b { color: var(--ink); font-weight: 500; }
.prog__icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, border-color .4s; }
.prog__icon svg { width: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.prog:hover .prog__icon { background: var(--accent); border-color: var(--accent); }
.prog:hover .prog__icon svg { stroke: #fff; }
@media (max-width: 900px) { .prog { grid-template-columns: 40px 1fr; } .prog__hl, .prog__meta { grid-column: 2; } .prog__icon { display: none; } }

/* =========================================================
   PROCESS (sticky stacking cards)
   ========================================================= */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); }
.process__intro { position: sticky; top: 130px; align-self: start; }
.process__intro .lead { margin-top: 24px; }
.steps { display: grid; gap: 18px; }
.step { position: sticky; top: 130px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); padding: 36px; display: grid; grid-template-columns: 64px 1fr; gap: 22px; min-height: 190px; }
.step:nth-child(2) { top: 150px; } .step:nth-child(3) { top: 170px; } .step:nth-child(4) { top: 190px; }
.step__n { font-family: var(--f-serif); font-style: italic; font-size: calc((54px) * var(--ts, 1)); line-height: .9; color: var(--accent); }
.step h3 { font-size: calc((26px) * var(--ts, 1)); margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); }
.step--dark { background: linear-gradient(140deg, var(--oxblood), var(--oxblood-2)); color: #fff; }
.step--dark p { color: rgba(255, 255, 255, .72); }
.step--dark .step__n { color: #f0a6aa; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process__intro, .step { position: relative; top: 0 !important; } }

/* ---------- Slots preview ---------- */
.schedule { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sched { border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); padding: 30px; }
.sched h3 { font-size: calc((22px) * var(--ts, 1)); display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sched-row { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: calc((15px) * var(--ts, 1)); transition: padding .4s var(--ease), color .3s; }
.sched-row:last-child { border-bottom: 0; }
.sched-row b { font-family: var(--f-head); font-weight: 500; }
.sched-row span { color: var(--muted); }
.sched-row:hover { padding-left: 8px; color: var(--accent); }
@media (max-width: 800px) { .schedule { grid-template-columns: 1fr; } }

/* =========================================================
   PLANS
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; transition: transform .6s var(--ease); }
.plan:hover { transform: translateY(-6px); }
.plan__top { display: flex; justify-content: space-between; align-items: center; }
.plan__name { font-family: var(--f-head); font-size: calc((20px) * var(--ts, 1)); font-weight: 600; letter-spacing: -.02em; }
.plan__tag { font-size: calc((14px) * var(--ts, 1)); color: var(--muted); margin-top: -14px; }
.plan__price { font-family: var(--f-head); font-weight: 500; font-size: calc((clamp(48px, 4.6vw, 64px)) * var(--ts, 1)); letter-spacing: -.05em; line-height: 1; padding: 22px 0; border-block: 1px solid var(--line); }
.plan__price sup { font-size: calc((.38em) * var(--ts, 1)); top: -1.15em; margin-right: 4px; }
.plan__price small { font-family: var(--f-body); font-size: calc((14px) * var(--ts, 1)); font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: calc((14.5px) * var(--ts, 1)); }
.plan li { display: flex; gap: 12px; align-items: start; }
.plan li svg { flex: none; width: 16px; margin-top: 4px; fill: none; stroke: var(--accent); stroke-width: 2; }
.plan form, .plan > .btn { margin-top: auto; }
.plan--featured { background: linear-gradient(160deg, #5a1015, var(--oxblood-2) 70%); color: #fff; box-shadow: var(--shadow-lg); }
.plan--featured .plan__tag, .plan--featured .plan__price small { color: rgba(255, 255, 255, .65); }
.plan--featured .plan__price { border-color: rgba(255, 255, 255, .14); }
.plan--featured li svg { stroke: #f0a6aa; }
.plan--featured .tag { background: rgba(255, 255, 255, .12); color: #fff; border-color: transparent; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); padding: 8px 28px; }
.compare { width: 100%; border-collapse: collapse; font-size: calc((15px) * var(--ts, 1)); min-width: 620px; }
.compare th, .compare td { padding: 18px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--f-head); font-weight: 600; font-size: calc((16px) * var(--ts, 1)); }
.compare .y { color: var(--accent); font-weight: 600; } .compare .n { color: var(--muted); }

.faq { display: grid; border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; font-family: var(--f-head); font-size: calc((clamp(18px, 1.6vw, 22px)) * var(--ts, 1)); font-weight: 500; letter-spacing: -.02em; }
.faq__q i { position: relative; width: 18px; height: 18px; flex: none; margin-top: 4px; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease); }
.faq__q i::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q i::after { transform: rotate(0); }
.faq__a { display: none; padding: 0 0 26px; color: var(--muted); max-width: 70ch; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* =========================================================
   INNER PAGE HERO
   ========================================================= */
.page-hero { padding: calc(var(--nav-h) + clamp(56px, 8vw, 120px)) 0 clamp(48px, 6vw, 80px); }
.page-hero .label { margin-bottom: 26px; }
.page-hero__row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.page-hero .h1 .serif { color: var(--accent); }
@media (max-width: 860px) { .page-hero__row { grid-template-columns: 1fr; } }

/* =========================================================
   BOOKING
   ========================================================= */
.book { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.book__main { border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }
.book__step { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--f-head); font-weight: 600; font-size: calc((18px) * var(--ts, 1)); letter-spacing: -.02em; }
.book__step i { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-style: normal; font-size: calc((13px) * var(--ts, 1)); }
.dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 40px; }
.date { text-align: center; padding: 14px 4px; border-radius: 16px; border: 1px solid var(--line); transition: all .35s var(--ease); }
.date small { display: block; font-size: calc((11px) * var(--ts, 1)); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.date b { display: block; font-family: var(--f-head); font-weight: 500; font-size: calc((26px) * var(--ts, 1)); letter-spacing: -.03em; margin: 2px 0; }
.date span { font-size: calc((12px) * var(--ts, 1)); color: var(--muted); }
.date:hover { border-color: var(--ink); }
.date.is-active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.date.is-active small, .date.is-active span { color: rgba(255, 255, 255, .65); }
@media (max-width: 640px) { .dates { display: flex; overflow-x: auto; } .date { flex: none; width: 76px; } }
.slot-group + .slot-group { margin-top: 28px; }
.slot-group h4 { font-family: var(--f-body); font-size: calc((12px) * var(--ts, 1)); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.slot { position: relative; text-align: left; display: grid; gap: 10px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); width: 100%; }
.slot:hover:not([disabled]) { border-color: var(--ink); transform: translateY(-2px); }
.slot.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.slot[disabled] { opacity: .5; cursor: not-allowed; background: var(--bg); }
.slot__time { font-family: var(--f-head); font-weight: 600; font-size: calc((19px) * var(--ts, 1)); letter-spacing: -.02em; }
.slot__label { font-size: calc((13px) * var(--ts, 1)); color: var(--muted); margin-top: -6px; }
.slot__bar { height: 4px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.slot__bar i { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.slot__bar i.is-low { background: var(--accent); }
.slot__foot { display: flex; justify-content: space-between; font-size: calc((12.5px) * var(--ts, 1)); color: var(--muted); }
.slot__foot .hot { color: var(--accent); }
.slot__radio { position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.slot.is-selected .slot__radio { border: 5px solid var(--accent); }

.summary { position: sticky; top: 96px; display: grid; gap: 18px; }
.card { border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); padding: 28px; }
.card h3 { font-size: calc((20px) * var(--ts, 1)); margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: calc((14.5px) * var(--ts, 1)); }
.sum-row span { color: var(--muted); }
.sum-row b { font-weight: 500; text-align: right; }
.summary textarea { width: 100%; resize: none; margin: 16px 0; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); outline: none; font-size: calc((14px) * var(--ts, 1)); }
.summary textarea:focus { border-color: var(--ink); }
.summary .note { font-size: calc((12.5px) * var(--ts, 1)); color: var(--muted); margin: 12px 0 0; }
.mb { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.mb:last-child { border-bottom: 0; }
.mb__d { text-align: center; border-radius: 12px; background: var(--bg); padding: 6px 0; }
.mb__d b { display: block; font-family: var(--f-head); font-size: calc((20px) * var(--ts, 1)); font-weight: 600; line-height: 1.1; }
.mb__d small { font-size: calc((10.5px) * var(--ts, 1)); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.mb__t { font-size: calc((14px) * var(--ts, 1)); font-weight: 500; }
.mb__s { display: flex; gap: 10px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.mb__s form { margin: 0; }
.empty { color: var(--muted); font-size: calc((14px) * var(--ts, 1)); }
@media (max-width: 1020px) { .book { grid-template-columns: 1fr; } .summary { position: static; } }

/* =========================================================
   FORMS / AUTH / CONTACT
   ========================================================= */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: calc((13px) * var(--ts, 1)); font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22, 24, 27, .06); }
.errorlist { list-style: none; margin: 0; padding: 0; color: var(--accent); font-size: calc((13px) * var(--ts, 1)); }
.helptext { font-size: calc((12.5px) * var(--ts, 1)); color: var(--muted); }
.helptext ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.contact__list { margin-top: 40px; border-top: 1px solid var(--line-2); }
.contact__list a, .contact__list div { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-2); transition: color .3s, padding .4s var(--ease); }
.contact__list a:hover { color: var(--accent); padding-left: 8px; }
.contact__list span { color: var(--muted); font-size: calc((14px) * var(--ts, 1)); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* =========================================================
   CTA + FOOTER
   ========================================================= */
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); color: #fff; padding: clamp(48px, 8vw, 110px) clamp(28px, 6vw, 90px); background: radial-gradient(70% 120% at 100% 0%, #8e1a20, transparent 55%), linear-gradient(150deg, var(--oxblood), var(--oxblood-2)); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.cta h2 { font-size: calc((clamp(40px, 5.6vw, 86px)) * var(--ts, 1)); letter-spacing: -.045em; }
.cta .serif { color: #f0a6aa; }
.cta p { color: rgba(255, 255, 255, .72); margin: 0 0 28px; }
.cta__mark { position: absolute; right: -60px; top: -40px; width: 340px; opacity: .07; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

.footer { overflow: hidden; padding: clamp(80px, 9vw, 120px) 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-2); }
.footer__brand img { width: 120px; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); max-width: 30ch; font-size: calc((14.5px) * var(--ts, 1)); margin: 0; }
.footer h4 { font-family: var(--f-body); font-size: calc((12px) * var(--ts, 1)); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer__grid a, .footer__grid p { display: block; margin: 0 0 10px; font-size: calc((15px) * var(--ts, 1)); color: var(--ink-2); }
.footer__grid a:hover { color: var(--accent); }
.footer__word { font-family: var(--f-head); font-weight: 600; font-size: calc((clamp(44px, 11.4vw, 176px)) * var(--ts, 1)); letter-spacing: -.06em; line-height: .85; padding: 50px 0 24px; color: var(--ink); white-space: nowrap; }
.footer__word .serif { color: var(--accent); font-weight: 400; letter-spacing: -.03em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; font-size: calc((13px) * var(--ts, 1)); color: var(--muted); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- utils ---------- */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

/* =========================================================
   v3 — PREMIUM ADDITIONS
   ========================================================= */

/* ---------- Page transition curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  background: linear-gradient(150deg, var(--oxblood), var(--oxblood-2));
  display: grid; place-items: center; transform: translateY(0); transition: transform .9s var(--ease);
}
.curtain img { width: 64px; opacity: .95; transition: opacity .4s, transform .9s var(--ease); }
.curtain.is-up { transform: translateY(-100%); }
.curtain.is-up img { opacity: 0; transform: translateY(40px); }
.curtain.is-down { transform: translateY(0); transition-duration: .7s; }
.no-js .curtain { display: none; }

/* ---------- Section index label ---------- */
.idx { font-family: var(--f-serif); font-style: italic; font-size: calc((15px) * var(--ts, 1)); color: var(--accent); letter-spacing: 0; text-transform: none; margin-right: 4px; }

/* ---------- Nav extras ---------- */
.portal-link { display: inline-flex; align-items: center; gap: 8px; font-size: calc((14px) * var(--ts, 1)); color: var(--ink-2); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); transition: all .35s var(--ease); }
.portal-link:hover { border-color: var(--ink); color: var(--ink); }
.portal-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.member-chip { display: inline-flex; align-items: center; gap: 8px; font-size: calc((13px) * var(--ts, 1)); padding: 8px 14px; border-radius: 999px; background: #eaf6f0; color: var(--ok); }
.member-chip a { color: var(--muted); text-decoration: underline; }

/* ---------- Open now badge ---------- */
.open-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); font-size: calc((13.5px) * var(--ts, 1)); }
.open-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.open-badge.is-open i { background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 138, 91, .15); animation: pulse 2s infinite; }

/* ---------- HERO (v3) ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(28px, 4vw, 56px)); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; min-height: calc(100svh - var(--nav-h) - 40px); }
.hero__meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 34px; }
.hero h1 { font-size: calc((clamp(56px, 8.4vw, 136px)) * var(--ts, 1)); }
.hero h1 .serif { color: var(--accent); }
.hero .lead { margin: 32px 0 36px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 0; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.trust div { padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--line); }
.trust div:last-child { border-right: 0; margin-right: 0; }
.trust b { display: block; font-family: var(--f-head); font-weight: 500; font-size: calc((28px) * var(--ts, 1)); letter-spacing: -.04em; line-height: 1.1; }
.trust span { font-size: calc((13px) * var(--ts, 1)); color: var(--muted); }

.wall { position: relative; height: min(720px, 82svh); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.wall__col { overflow: hidden; }
.wall__track { display: grid; gap: 14px; animation: wallUp 46s linear infinite; }
.wall__col--rev .wall__track { animation-name: wallDown; animation-duration: 52s; }
.wall:hover .wall__track { animation-play-state: paused; }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@keyframes wallDown { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }
.wc { position: relative; border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); padding: 22px; }
.wc .label { font-size: calc((11px) * var(--ts, 1)); }
.wc--photo { padding: 0; aspect-ratio: 4 / 5; color: #fff; background: linear-gradient(150deg, #7a1a1f, #2c0709); }
.wc--photo.tall { aspect-ratio: 3 / 4.6; }
.wc--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wc--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 5, 6, .7)); }
.wc--photo figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; font-family: var(--f-head); font-weight: 500; font-size: calc((17px) * var(--ts, 1)); letter-spacing: -.02em; }
.wc--photo figcaption small { display: block; font-family: var(--f-body); font-size: calc((11px) * var(--ts, 1)); letter-spacing: .16em; text-transform: uppercase; opacity: .75; font-weight: 400; }
.wc--stat b { display: block; font-family: var(--f-head); font-weight: 500; font-size: calc((64px) * var(--ts, 1)); letter-spacing: -.05em; line-height: 1; margin: 18px 0 6px; }
.wc--stat p { margin: 0; font-size: calc((14px) * var(--ts, 1)); color: var(--muted); }
.wc--next h4 { font-size: calc((26px) * var(--ts, 1)); margin: 14px 0 2px; }
.wc--next p { margin: 0 0 14px; font-size: calc((13.5px) * var(--ts, 1)); color: var(--muted); }
.wc--next .slot__bar { margin-bottom: 8px; }
.wc--next small { font-size: calc((12.5px) * var(--ts, 1)); color: var(--muted); }
.wc--anat { text-align: center; }
.wc--anat svg { width: 70%; margin: 10px auto 4px; }
.wc--anat p { margin: 0; font-size: calc((13.5px) * var(--ts, 1)); color: var(--muted); }
.wc--skill h4 { font-size: calc((20px) * var(--ts, 1)); margin: 12px 0 14px; }
.wc--skill ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: calc((13.5px) * var(--ts, 1)); }
.wc--skill li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.wc--skill li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; }
.wc--skill li.done { color: var(--ink); }
.wc--skill li.done::before { background: var(--accent); border-color: var(--accent); }
.wc--quote { background: var(--bg-2); box-shadow: none; }
.wc--quote p { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: calc((26px) * var(--ts, 1)); line-height: 1.15; }
.wc--brand { background: linear-gradient(150deg, var(--oxblood), var(--oxblood-2)); color: #fff; display: grid; place-items: center; text-align: center; aspect-ratio: 1; }
.wc--brand img { width: 46%; margin: 0 auto 12px; }
.wc--brand span { font-size: calc((11px) * var(--ts, 1)); letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .wall { height: 460px; }
  .trust { flex-wrap: wrap; gap: 16px 0; }
}
@media (max-width: 560px) { .wall { grid-template-columns: 1fr; height: 420px; } .wall__col--rev { display: none; } }

/* ---------- Marquee (serif) ---------- */
.ticker { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.ticker__track { display: flex; width: max-content; gap: 56px; animation: tick 40s linear infinite; }
.ticker span { font-family: var(--f-serif); font-style: italic; font-size: calc((clamp(28px, 3vw, 42px)) * var(--ts, 1)); white-space: nowrap; display: flex; gap: 56px; align-items: center; color: var(--ink-2); }
.ticker span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Skill path (pinned horizontal) ---------- */
.skillpath { position: relative; overflow: hidden; background: var(--bg-2); }
.skillpath__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 20px) 0 60px; }
.skillpath__track { display: flex; gap: 18px; width: max-content; padding: 0 max(28px, calc((100vw - var(--wrap)) / 2)); }
.sk { width: min(380px, 78vw); flex: none; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); padding: 30px; display: grid; gap: 18px; position: relative; }
.sk__top { display: flex; justify-content: space-between; align-items: baseline; }
.sk__n { font-family: var(--f-serif); font-style: italic; font-size: calc((48px) * var(--ts, 1)); color: var(--accent); line-height: 1; }
.sk h3 { font-size: calc((28px) * var(--ts, 1)); }
.sk p { margin: 0; color: var(--muted); font-size: calc((14.5px) * var(--ts, 1)); }
.sk__req { border-top: 1px solid var(--line); padding-top: 16px; font-size: calc((13.5px) * var(--ts, 1)); }
.sk__req b { display: block; font-size: calc((11px) * var(--ts, 1)); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.sk__bar { height: 3px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.sk__bar i { display: block; height: 100%; background: var(--accent); }
.sk--final { background: linear-gradient(150deg, var(--oxblood), var(--oxblood-2)); color: #fff; }
.sk--final p, .sk--final .sk__req b { color: rgba(255, 255, 255, .7); }
.sk--final .sk__n { color: #f0a6aa; }
.sk--final .sk__req { border-color: rgba(255, 255, 255, .15); }
.skillpath__progress { width: min(var(--wrap), 100% - 56px); margin: 36px auto 0; height: 1px; background: var(--line-2); }
.skillpath__progress i { display: block; height: 100%; width: 0; background: var(--ink); }
@media (max-width: 860px) {
  .skillpath__pin { min-height: 0; padding: 90px 0; }
  .skillpath__track { flex-direction: column; width: auto; padding: 0 28px; }
  .sk { width: 100%; }
  .skillpath__progress { display: none; }
}

/* ---------- Programme hover preview ---------- */
.prog-preview { position: fixed; z-index: 60; left: 0; top: 0; width: 260px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; pointer-events: none;
  background: linear-gradient(150deg, #7a1a1f, #2c0709) center / cover; box-shadow: var(--shadow-lg); opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-4deg); transition: opacity .35s, transform .5s var(--ease); }
.prog-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
@media (hover: none) { .prog-preview { display: none; } }

/* ---------- Programme finder ---------- */
.finder { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.finder__card { border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); padding: clamp(24px, 3.4vw, 44px); min-height: 440px; position: relative; }
.finder__progress { display: flex; gap: 6px; margin-bottom: 30px; }
.finder__progress i { flex: 1; height: 3px; border-radius: 3px; background: var(--bg-2); transition: background .4s; }
.finder__progress i.on { background: var(--accent); }
.q { display: none; }
.q.is-on { display: block; animation: qIn .6s var(--ease) both; }
@keyframes qIn { from { opacity: 0; transform: translateX(24px); } }
.q h3 { font-size: calc((clamp(24px, 2.4vw, 32px)) * var(--ts, 1)); margin-bottom: 22px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--paper); transition: border-color .3s, background .3s, transform .4s var(--ease); }
.opt b { display: block; font-weight: 600; font-size: calc((15.5px) * var(--ts, 1)); }
.opt span { font-size: calc((13px) * var(--ts, 1)); color: var(--muted); }
.opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.opt.is-picked { border-color: var(--accent); background: var(--accent-soft); }
.finder__back { margin-top: 22px; }
.result__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.result h3 { font-size: calc((clamp(30px, 3vw, 42px)) * var(--ts, 1)); margin: 10px 0 8px; }
.result p { color: var(--muted); margin: 0 0 18px; }
.result ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.result li::before { content: "— "; color: var(--accent); }
.result__meta { display: flex; gap: 24px; padding: 16px 0; border-block: 1px solid var(--line); margin-bottom: 24px; font-size: calc((14px) * var(--ts, 1)); color: var(--muted); }
.result__meta b { display: block; color: var(--ink); font-family: var(--f-head); font-size: calc((20px) * var(--ts, 1)); font-weight: 500; }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .opts { grid-template-columns: 1fr; } }

/* ---------- Booking form (summary) ---------- */
.summary .field input, .summary .field textarea { background: var(--bg); padding: 13px 14px; }
.summary .form { gap: 12px; margin-top: 18px; }
.check { display: flex; gap: 10px; align-items: center; font-size: calc((14px) * var(--ts, 1)); color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; }
.field .errorlist { margin-top: 2px; }

/* ---------- Confirmation / status ---------- */
.confirm { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.ticket { position: relative; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.ticket__top { padding: clamp(26px, 3.4vw, 44px); background: linear-gradient(150deg, var(--oxblood), var(--oxblood-2)); color: #fff; display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.ticket__top img { width: 52px; }
.ticket__ref { font-family: var(--f-head); font-weight: 500; font-size: calc((clamp(32px, 4vw, 52px)) * var(--ts, 1)); letter-spacing: .02em; line-height: 1; margin-top: 10px; }
.ticket__top .label { color: rgba(255, 255, 255, .65); }
.ticket__body { padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; }
.ticket__body div span { display: block; font-size: calc((12px) * var(--ts, 1)); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ticket__body div b { font-family: var(--f-head); font-weight: 500; font-size: calc((20px) * var(--ts, 1)); letter-spacing: -.02em; }
.ticket__cut { position: relative; border-top: 2px dashed var(--line-2); margin: 0 26px; }
.ticket__cut::before, .ticket__cut::after { content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); }
.ticket__cut::before { left: -40px; } .ticket__cut::after { right: -40px; }
.ticket__actions { padding: 24px clamp(22px, 3vw, 40px) 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.timeline-v { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline-v li { position: relative; padding: 0 0 24px 34px; }
.timeline-v li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--paper); }
.timeline-v li::after { content: ""; position: absolute; left: 12px; top: 22px; bottom: 2px; width: 1px; background: var(--line-2); }
.timeline-v li:last-child::after { display: none; }
.timeline-v li.done::before { background: var(--accent); border-color: var(--accent); }
.timeline-v li.now::before { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline-v b { display: block; font-size: calc((15px) * var(--ts, 1)); }
.timeline-v span { font-size: calc((13.5px) * var(--ts, 1)); color: var(--muted); }
@media (max-width: 900px) { .confirm { grid-template-columns: 1fr; } .ticket__body { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; justify-content: space-between; align-items: center; gap: 10px;
    padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(22, 24, 27, .92); backdrop-filter: blur(12px); color: #fff; box-shadow: var(--shadow-lg);
    transform: translateY(140%); transition: transform .6s var(--ease); }
  .mobile-cta.is-on { transform: none; }
  .mobile-cta span { font-size: calc((14px) * var(--ts, 1)); }
  .toasts { bottom: 90px; }
}

/* ---------- Video clips ---------- */
.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.wc--photo .clip, .tile .clip { z-index: 0; }
.tile .clip { transition: transform 1.2s var(--ease); }
.tile:hover .clip { transform: scale(1.04); }
.reel .clip { z-index: 1; }
.reel::after { z-index: 1; }
.reel__cap, .reel__logo { z-index: 3; }
.wc--photo figcaption, .tile__in { z-index: 2; }
.wc--photo::after, .tile::after { z-index: 1; }
.clip-chip { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: calc((11px) * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .28); backdrop-filter: blur(6px); }
.clip-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff4a54; animation: pulse 1.6s infinite; }
a.mb { color: inherit; }
a.mb:hover .mb__t { color: var(--accent); }

/* =========================================================
   v4 additions — toolbar, modal, pricing lock, map, merch
   ========================================================= */
html[data-theme="dark"] .tag--pending { background: rgba(183, 121, 31, .14); }
html[data-theme="dark"] .tag--approved, html[data-theme="dark"] .tag--active, html[data-theme="dark"] .member-chip { background: rgba(31, 138, 91, .16); }
html[data-theme="dark"] .an-stage { background-image: radial-gradient(60% 55% at 50% 45%, #26262c, var(--paper) 70%); }
html[data-theme="dark"] .an-line { stroke: #6f685f; }
html[data-theme="dark"] .btn--light { background: #f2eee8; color: #16181b; }
html[data-theme="dark"] .footer__brand img { filter: brightness(1.25); }
html.theme-anim, html.theme-anim *, html.theme-anim *::before { transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease) !important; }

/* Hindi typography */
html[lang="hi"] body { font-family: "Noto Sans Devanagari", var(--f-body); }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] .statement, html[lang="hi"] .faq__q { font-family: "Noto Sans Devanagari", var(--f-head); letter-spacing: -.01em; line-height: 1.18; }
html[lang="hi"] .serif { font-family: "Tiro Devanagari Hindi", var(--f-serif); }
html[lang="hi"] .display, html[lang="hi"] .h1 { line-height: 1.08; }

/* ---------- Preferences toolbar (theme · text size · language) ---------- */
.prefs { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); }
.prefs button { border: 0; background: transparent; height: 32px; min-width: 32px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); display: inline-grid; place-items: center; transition: background .3s, color .3s; }
.prefs button:hover { background: var(--bg-2); color: var(--ink); }
.prefs button.is-on { background: var(--ink); color: var(--on-ink); }
.prefs .sep { width: 1px; height: 18px; background: var(--line-2); margin: 0 2px; }
.prefs svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.prefs .i-sun { display: none; }
html[data-theme="dark"] .prefs .i-sun { display: block; }
html[data-theme="dark"] .prefs .i-moon { display: none; }
.prefs__lang { font-family: var(--f-body); }
.prefs--menu { margin-top: 26px; align-self: flex-start; }
@media (max-width: 1240px) { .nav .prefs .txt-ctrl { display: none; } }
@media (max-width: 1020px) { .nav .prefs { display: none; } }

.nav__links a.is-new::before { content: "New"; position: absolute; top: -12px; right: -18px; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* ---------- Modal (lead form) ---------- */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__scrim { position: absolute; inset: 0; background: rgba(12, 6, 7, .55); backdrop-filter: blur(10px) saturate(1.2); opacity: 0; transition: opacity .5s var(--ease); }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__box {
  position: relative; width: min(920px, 100%); max-height: calc(100svh - 40px); overflow: auto; border-radius: 28px; background: var(--paper);
  display: grid; grid-template-columns: .9fr 1.1fr; box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .6);
  clip-path: inset(50% 0 50% 0 round 28px); opacity: 0; transform: translateY(30px) scale(.98);
  transition: clip-path .8s var(--ease), opacity .4s, transform .8s var(--ease);
}
.modal.is-open .modal__box { clip-path: inset(0 0 0 0 round 28px); opacity: 1; transform: none; }
.modal__side { position: relative; color: #fff; padding: 40px 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow: hidden;
  background: radial-gradient(90% 70% at 100% 0%, #8e1a20, transparent 60%), linear-gradient(160deg, var(--oxblood), var(--oxblood-2)); }
.modal__side img { width: 56px; }
.modal__side h3 { font-size: calc((34px) * var(--ts, 1)); letter-spacing: -.035em; margin-top: 18px; }
.modal__side h3 .serif { color: #f0a6aa; }
.modal__side p { color: rgba(255, 255, 255, .72); font-size: calc((14.5px) * var(--ts, 1)); margin: 12px 0 0; }
.modal__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: calc((14px) * var(--ts, 1)); }
.modal__perks li { display: flex; gap: 10px; align-items: center; }
.modal__perks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a6aa' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.modal__main { padding: 38px 36px 32px; position: relative; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); font-size: 20px; line-height: 1; color: var(--ink); transition: transform .4s var(--ease), background .3s; z-index: 2; }
.modal__close:hover { transform: rotate(90deg); background: var(--bg-2); }
.modal__main h4 { font-family: var(--f-head); font-size: calc((24px) * var(--ts, 1)); letter-spacing: -.02em; margin: 0 0 6px; }
.modal__main > p { color: var(--muted); margin: 0 0 22px; font-size: calc((14.5px) * var(--ts, 1)); }
.modal .form { gap: 14px; }
.modal .field input, .modal .field select, .modal .field textarea { background: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: calc((13.5px) * var(--ts, 1)); transition: all .3s var(--ease); }
.chips input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field .err { color: var(--accent); font-size: calc((12.5px) * var(--ts, 1)); min-height: 0; }
.field.has-err input { border-color: var(--accent); }
.consent { font-size: calc((12px) * var(--ts, 1)); color: var(--muted); margin: 2px 0 0; }
.modal__success { display: none; text-align: center; padding: 30px 6px; }
.modal.is-done .modal__form { display: none; }
.modal.is-done .modal__success { display: block; }
.tick { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.tick svg { width: 40px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.modal.is-done .tick svg { animation: draw .8s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.modal__success h4 { font-size: calc((28px) * var(--ts, 1)); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
html.modal-open, html.modal-open body { overflow: hidden; }
@media (max-width: 760px) { .modal__box { grid-template-columns: 1fr; } .modal__side { padding: 28px 24px; } .modal__side .modal__perks { display: none; } .modal__main { padding: 28px 22px; } }

/* ---------- Locked pricing ---------- */
.price-lock { position: relative; }
.price-lock .plan__price .amt { filter: blur(9px); user-select: none; transition: filter .9s var(--ease); display: inline-block; }
.price-lock .plan__price .unlock-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.plan__price { position: relative; }
.unlock-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-family: var(--f-body); font-size: calc((13.5px) * var(--ts, 1)); font-weight: 500; letter-spacing: 0; box-shadow: var(--shadow); transition: transform .4s var(--ease), background .3s; }
.unlock-btn:hover { transform: translate(-50%, -50%) scale(1.04); background: var(--accent); color: #fff; }
.unlock-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.plan--featured .unlock-btn { background: #fff; color: #16181b; }
.is-unlocked .plan__price .amt { filter: none; }
.is-unlocked .unlock-btn { display: none; }
.pricing-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 28px; font-size: calc((14px) * var(--ts, 1)); color: var(--muted); }
.pricing-note svg { width: 16px; fill: none; stroke: var(--accent); stroke-width: 2; }
.is-unlocked .pricing-note { display: none; }

/* ---------- Page CTA strip (every page) ---------- */
.cta-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 26px; border-radius: 22px; background: var(--paper); box-shadow: var(--shadow); }
.cta-strip b { font-family: var(--f-head); font-size: calc((20px) * var(--ts, 1)); letter-spacing: -.02em; }
.cta-strip span { color: var(--muted); font-size: calc((14px) * var(--ts, 1)); }

/* ---------- Hero CTA row tweak ---------- */
.hero__ctas .btn--plans { background: var(--paper); box-shadow: var(--shadow); color: var(--ink); }
.hero__ctas .btn--plans:hover { background: var(--ink); color: var(--on-ink); }
.hero__note { margin-top: 14px; font-size: calc((13px) * var(--ts, 1)); color: var(--muted); display: flex; gap: 8px; align-items: center; }
.hero__note svg { width: 14px; fill: none; stroke: var(--accent); stroke-width: 2; }

/* ---------- Skill path: swipe / drag carousel (no scroll-jacking) ---------- */
.skillpath { padding: clamp(88px, 10vw, 140px) 0; }
.skillpath__pin { min-height: 0; padding: 0; display: block; }
.skillpath__track {
  width: auto; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-behavior: smooth;
  padding: 10px max(28px, calc((100vw - var(--wrap)) / 2)) 30px; scrollbar-width: none; cursor: grab; user-select: none;
}
.skillpath__track::-webkit-scrollbar { display: none; }
.skillpath__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.skillpath__track .sk { scroll-snap-align: start; }
.skillpath__track.is-dragging .sk { pointer-events: none; }
.sk-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(var(--wrap), 100% - 56px); margin: 18px auto 0; }
.sk-nav .skillpath__progress { flex: 1; margin: 0; width: auto; }
.sk-arrows { display: flex; gap: 8px; }
.sk-arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.sk-arrows button:hover { background: var(--ink); color: var(--on-ink); transform: scale(1.05); }
.sk-arrows button:disabled { opacity: .35; pointer-events: none; }
.sk-arrows svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.sk-hint { font-size: calc((12.5px) * var(--ts, 1)); color: var(--muted); white-space: nowrap; }
@media (max-width: 700px) { .sk-hint { display: none; } }

/* ---------- Programme hover preview: designed card + clip ---------- */
.prog-preview { width: 280px; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--oxblood), var(--oxblood-2)); color: #fff; }
.prog-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; mix-blend-mode: screen; filter: grayscale(.3) contrast(1.1); }
.prog-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44, 7, 9, .15), rgba(44, 7, 9, .9)); }
.pp__in { position: absolute; z-index: 2; inset: auto 22px 22px; }
.pp__icon { position: absolute; z-index: 2; top: 20px; left: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; }
.pp__icon svg { width: 20px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pp__in small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #f0a6aa; }
.pp__in b { display: block; font-family: var(--f-head); font-size: 24px; letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 10px; }
.pp__in span { font-size: 13px; color: rgba(255, 255, 255, .75); }

/* ---------- Map / location ---------- */
.locate { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; }
.locate__card { border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.locate__card address { font-style: normal; font-size: calc((19px) * var(--ts, 1)); line-height: 1.5; font-family: var(--f-head); letter-spacing: -.01em; }
.locate__rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.locate__rows a, .locate__rows div { display: flex; justify-content: space-between; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: calc((15px) * var(--ts, 1)); }
.locate__rows span { color: var(--muted); }
.locate__rows a:hover b { color: var(--accent); }
.locate__map { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.locate__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
html[data-theme="dark"] .locate__map iframe { filter: grayscale(.6) invert(.9) hue-rotate(180deg) contrast(.9); }
.locate__pin { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); font-size: 13.5px; }
.locate__pin img { width: 30px; }
@media (max-width: 900px) { .locate { grid-template-columns: 1fr; } .locate__map { min-height: 320px; } }

/* ---------- Merchandise ---------- */
.merch-hero { position: relative; overflow: hidden; }
.merch-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.merch-filter button { border: 1px solid var(--line-2); background: transparent; padding: 9px 16px; border-radius: 999px; font-size: calc((14px) * var(--ts, 1)); transition: all .3s; }
.merch-filter button.is-on, .merch-filter button:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.product { position: relative; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .5s; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product__img img { transform: scale(1.06); }
.product__badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 2; }
.soon { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(22, 24, 27, .86); color: #fff; backdrop-filter: blur(6px); }
.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f0a6aa; animation: pulse 1.6s infinite; }
.product__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product__cat { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.product h3 { font-size: calc((22px) * var(--ts, 1)); letter-spacing: -.025em; }
.product p { margin: 0; color: var(--muted); font-size: calc((14px) * var(--ts, 1)); }
.product__price { font-family: var(--f-head); font-size: calc((22px) * var(--ts, 1)); font-weight: 500; letter-spacing: -.03em; display: flex; gap: 10px; align-items: baseline; }
.product__price s { font-size: calc((15px) * var(--ts, 1)); color: var(--muted); font-weight: 400; }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.sizes span { min-width: 34px; height: 30px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; color: var(--ink-2); }
.product__foot { margin-top: auto; padding-top: 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.product__foot .btn[disabled] { opacity: 1; background: var(--bg-2); color: var(--muted); }
.merch-banner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); color: #fff; background: radial-gradient(70% 120% at 100% 0%, #8e1a20, transparent 55%), linear-gradient(150deg, var(--oxblood), var(--oxblood-2)); }
.merch-banner h3 { font-size: clamp(26px, 3vw, 40px); }
.merch-banner p { color: rgba(255, 255, 255, .72); margin: 10px 0 0; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay-row span { padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2); font-size: 12px; color: rgba(255, 255, 255, .8); }
@media (max-width: 800px) { .merch-banner { grid-template-columns: 1fr; } }

/* ---------- Scroll progress bar (subtle) ---------- */
.progressbar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
html[lang="hi"] .hero h1 { font-size: calc(clamp(44px, 6.4vw, 104px) * var(--ts, 1)); }
html[lang="hi"] .h1 { font-size: calc(clamp(38px, 5.6vw, 88px) * var(--ts, 1)); }
html[lang="hi"] .h2 { font-size: calc(clamp(32px, 4.2vw, 62px) * var(--ts, 1)); }
html[lang="hi"] .label { letter-spacing: .04em; }

/* ---------- Skill path v5: Owl carousel, CTA + arrows in the header ---------- */
.skillpath { padding: clamp(80px, 9vw, 130px) 0; overflow: hidden; }
.sk-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.sk-head .label { margin-bottom: 22px; }
.sk-head__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.sk-owl .sk { width: auto; height: 100%; margin: 0; box-shadow: 0 1px 2px rgba(22, 24, 27, .04), 0 12px 30px -16px rgba(22, 24, 27, .2); }
.sk-owl .owl-stage { display: flex; padding: 6px 0 18px; }
.sk-owl .owl-item { display: flex; }
.sk-owl .owl-stage-outer { overflow: visible; }
.sk-owl.owl-grab { cursor: grab; }
.sk-owl.owl-grab:active { cursor: grabbing; }
.sk-owl .owl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.sk-owl .owl-dot span { display: block; width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); transition: width .4s var(--ease), background .3s; }
.sk-owl .owl-dot.active span { width: 28px; background: var(--accent); }
.sk-owl.is-fallback { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 16px; }
.sk-owl.is-fallback .sk { flex: 0 0 min(360px, 82vw); scroll-snap-align: start; }
.sk-progress { height: 2px; background: var(--line); margin-top: 16px; border-radius: 2px; overflow: hidden; }
.sk-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .9s var(--ease); }
@media (max-width: 860px) { .sk-head { grid-template-columns: 1fr; } }

/* ---------- Anatomy chart style (coloured muscle groups + labels) ---------- */
.an-stage { background: #ecebe8; background-image: radial-gradient(70% 60% at 50% 40%, #f6f5f2, #e7e5e1 75%); }
html[data-theme="dark"] .an-stage { background: #1b1b1f; background-image: radial-gradient(70% 60% at 50% 40%, #26262b, #18181c 75%); }
.an-chart .an-skin { fill: #f4f2ee; stroke: #8f8a83; stroke-width: 1.1; }
html[data-theme="dark"] .an-chart .an-skin { fill: #d9d4cc; }
.an-chart .an-fill { fill: var(--mc, #c9a49b); stroke: rgba(40, 20, 20, .45); stroke-width: .8; transition: fill .3s, opacity .35s, filter .35s, stroke .3s; }
.an-chart .fib { stroke: #fff; stroke-width: .5; }
.an-chart .an-fiber { opacity: .28; }
.an-chart .an-muscle:hover .an-fill { fill: var(--mc); filter: brightness(1.08) saturate(1.15); }
.an-chart .an-muscle.is-hot .an-fill { fill: var(--mc); stroke: #2a0a0c; stroke-width: 1.4; filter: brightness(1.05) saturate(1.3) drop-shadow(0 0 6px color-mix(in srgb, var(--mc) 70%, transparent)); }
.an-chart .an-muscle.is-hot .an-fiber { opacity: .4; }
.an-figs.has-hot .an-chart .an-muscle:not(.is-hot) .an-fill { opacity: .45; filter: saturate(.55); }
.an-chart .an-line { stroke: #8f8a83; }
.an-label { cursor: pointer; }
.an-leader { fill: none; stroke: #3b3b40; stroke-width: .7; opacity: .55; transition: stroke .3s, opacity .3s, stroke-width .3s; }
html[data-theme="dark"] .an-leader { stroke: #cfc9c0; }
.an-dot { fill: #fff; stroke: #3b3b40; stroke-width: 1; transition: r .3s, fill .3s; }
.an-ltxt { font-family: var(--f-head); font-weight: 600; font-size: 13.5px; letter-spacing: -.01em; fill: var(--ink); transition: fill .3s; }
.an-lsub { font-family: "Noto Sans Devanagari", var(--f-body); font-size: 10.5px; fill: var(--muted); }
.an-lbar { fill: var(--mc); }
.an-label:hover .an-ltxt, .an-label.is-hot .an-ltxt { fill: var(--accent); }
.an-label.is-hot .an-leader { stroke: var(--accent); stroke-width: 1.4; opacity: 1; }
.an-label.is-hot .an-dot { fill: var(--accent); stroke: #fff; r: 4.5; }
.an-figs.has-hot .an-label:not(.is-hot) { opacity: .5; }
.an-fig svg.an-chart { max-height: 640px; }
.explorer { grid-template-columns: 190px 1fr 380px; }
@media (max-width: 1200px) { .explorer { grid-template-columns: 1fr 360px; } }
@media (max-width: 900px) { .explorer { grid-template-columns: 1fr; } }
@media (max-width: 1100px) and (min-width: 901px) { .an-label .an-lsub { display: none; } }
@media (max-width: 560px) { .an-label { display: none; } .an-fig svg.an-chart { max-height: 520px; } }
/* chart layout: muscle chips on top, big figures, details panel on the right */
.explorer { grid-template-columns: 1fr 380px; }
.explorer .mlist { position: static; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.explorer .mlist button { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; }
.explorer .mlist button small { display: none; }
.an-figs.has-hot .an-chart .an-muscle:not(.is-hot) .an-fill { opacity: 1; filter: none; }
.an-figs.has-hot .an-label:not(.is-hot) { opacity: 1; }
.an-ltxt { font-size: 17px; }
.an-lsub { font-size: 12.5px; }
.an-figs { gap: 0; }
.an-fig svg.an-chart { max-height: 700px; }
@media (max-width: 1100px) { .explorer { grid-template-columns: 1fr; } .ex-panel { position: static; min-height: 0; } }
.an-figs { column-gap: 18px; }

/* =========================================================
   v6 — tidy navbar + tighter, more professional spacing
   ========================================================= */
/* navbar: one line, never wraps, does not grow with the text-size control */
.nav .wrap { width: min(1440px, 100% - 48px); gap: 20px; }
.nav, .nav * { white-space: nowrap; }
.brand { flex: none; gap: 10px; }
.brand img { width: 36px; }
.brand__txt b { font-size: 16.5px; }
.brand__txt small { font-size: 9.5px; letter-spacing: .2em; }
.nav__links { flex: 1 1 auto; justify-content: center; gap: clamp(16px, 1.9vw, 32px); min-width: 0; }
.nav__links a { font-size: 14.5px; }
.nav__links a.is-new::before { top: -10px; right: -16px; }
.nav__right { flex: none; gap: 10px; }
.nav .prefs button { font-size: 12.5px; height: 30px; min-width: 30px; padding: 0 8px; }
.nav .portal-link { font-size: 14px; padding: 9px 14px; }
.nav .btn--sm { font-size: 14px; }
.menu .prefs button { font-size: 13px; }

/* step down gracefully instead of squeezing */
@media (max-width: 1380px) { .nav .portal-link { display: none; } }
@media (max-width: 1260px) { .nav .prefs .txt-ctrl, .nav .prefs .txt-ctrl + .sep { display: none; } .brand__txt small { display: none; } }
@media (max-width: 1180px) {
  .nav__links, .nav .hide-md, .nav .prefs { display: none !important; }
  .burger { display: block; }
}

/* spacing: fewer empty bands between sections */
.section { padding: clamp(64px, 7.5vw, 112px) 0; }
.section--tight { padding-top: 0; }
.page-hero { padding: calc(var(--nav-h) + clamp(36px, 5vw, 72px)) 0 clamp(36px, 4vw, 56px); }
.head-row { margin-bottom: clamp(32px, 4vw, 56px); }
.skillpath { padding: clamp(64px, 7.5vw, 112px) 0; }
.reel-wrap { padding-top: clamp(32px, 5vw, 64px); }
.mt-l { margin-top: 48px; }
.footer { padding-top: clamp(56px, 7vw, 96px); }

/* anatomy: figure stays in view while the exercise list scrolls – no empty column */
.explorer { align-items: start; }
.explorer .an-stage { position: sticky; top: 88px; }
.ex-panel { min-height: 0; padding: 26px; }
.ex-panel__blurb { margin: 10px 0 14px; padding-bottom: 14px; }
.ex-row { padding: 13px 0; }
.unlock { margin-top: 12px; padding: 20px; gap: 14px; }
.unlock .flex, .unlock > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1100px) { .explorer .an-stage { position: relative; top: 0; } }
.nav .wrap { width: min(var(--wrap), 100% - 48px); }
/* sections sharing the same sand background shouldn't stack two paddings */
.section--sand + .skillpath { padding-top: 0; }
.skillpath + .section { padding-top: clamp(64px, 7.5vw, 112px); }

/* =========================================================
   Floating coach widget (bottom-right, always visible)
   ========================================================= */
.cw { position: fixed; right: 22px; bottom: 22px; z-index: 300; display: flex; align-items: flex-end; gap: 12px; pointer-events: none; }
.cw > * { pointer-events: auto; }
.cw__avatar {
  position: relative; width: 68px; height: 68px; border-radius: 50%; padding: 0; border: 0; background: transparent; flex: none;
  transition: transform .5s var(--ease); animation: cwIn .9s 1.2s var(--ease) both;
}
.cw__avatar:hover { transform: translateY(-3px) scale(1.05); }
.cw__media { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #2c0709; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px var(--accent), 0 18px 40px -12px rgba(60, 10, 14, .55); }
.cw__vid, .cw__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cw__vid { transform: scale(1.35); filter: contrast(1.05) saturate(1.05); }
.cw__ring { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: cwRing 2.4s 2s infinite; }
.cw__live { position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); padding: 2px 7px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 8.5px; font-weight: 700; letter-spacing: .12em; box-shadow: 0 0 0 2px var(--paper); }
.cw__live::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #fff; vertical-align: 1px; animation: pulse 1.2s infinite; }
.cw__badge { position: absolute; top: -2px; right: -2px; width: 20px; height: 20px; border-radius: 50%; background: #1f8a5b; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--paper); transition: transform .3s; }
.cw.is-seen .cw__badge { transform: scale(0); }
/* animated fallback athlete: pull-ups */
.cw__lifter { animation: cwPull 1.6s ease-in-out infinite; transform-origin: 40px 16px; }
@keyframes cwPull { 0%, 100% { transform: translateY(8px); } 45%, 55% { transform: translateY(-1px); } }

.cw__bubble {
  position: relative; width: 252px; padding: 14px 16px 14px; margin-bottom: 8px; border-radius: 18px 18px 6px 18px;
  background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 22px 50px -18px rgba(22, 24, 27, .35);
  border: 1px solid var(--line); transform-origin: 100% 100%;
  opacity: 0; transform: translateY(10px) scale(.92); transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.cw.is-talking .cw__bubble { opacity: 1; transform: none; }
.cw.is-hidden .cw__bubble { opacity: 0 !important; transform: translateY(10px) scale(.92) !important; pointer-events: none; }
.cw__from { display: flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; padding-right: 18px; }
.cw__from i { width: 6px; height: 6px; border-radius: 50%; background: #1f8a5b; box-shadow: 0 0 0 3px rgba(31, 138, 91, .18); }
.cw__msg { margin: 0 0 12px; font-family: var(--f-head); font-weight: 600; font-size: 15.5px; line-height: 1.35; letter-spacing: -.015em; min-height: 42px; }
.cw__caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cw__cta { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; transition: background .3s, gap .3s var(--ease); }
.cw__cta:hover { background: var(--oxblood); gap: 12px; }
.cw__cta svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.cw__x { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--muted); font-size: 14px; line-height: 1; display: grid; place-items: center; }
.cw__x:hover { color: var(--ink); }
@keyframes cwIn { from { opacity: 0; transform: translateY(24px) scale(.6); } }
@keyframes cwRing { 0% { opacity: .7; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
html.modal-open .cw { opacity: 0; pointer-events: none; }
html[lang="hi"] .cw__msg { font-family: "Noto Sans Devanagari", var(--f-head); }
@media (max-width: 760px) {
  .cw { right: 14px; bottom: 84px; }          /* sits above the mobile "Book" bar */
  .cw__avatar { width: 58px; height: 58px; }
  .cw__bubble { width: 220px; }
  .cw__msg { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .cw__lifter, .cw__ring { animation: none; } }
@media (max-width: 760px) { .cw__brand { display: none; } }

/* =========================================================
   Coaches
   ========================================================= */
.coaches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.coaches--page { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.coach { border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .5s; }
.coach:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.coach__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, #5a1015, var(--oxblood-2)); }
.coach__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.coach:hover .coach__media img { transform: scale(1.05); filter: brightness(.55); }
.coach__mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-serif); font-style: italic; font-size: 92px; color: rgba(255, 255, 255, .9); background: radial-gradient(80% 60% at 70% 20%, #8e1a20, transparent 60%), linear-gradient(160deg, #5a1015, var(--oxblood-2)); }
.coach__demo { position: absolute; top: 14px; left: 14px; z-index: 3; }
.coach__certs { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px 20px 20px; color: #fff; background: linear-gradient(180deg, transparent, rgba(20, 4, 6, .92) 35%); transform: translateY(101%); transition: transform .6s var(--ease); }
.coach:hover .coach__certs, .coach__media:focus-visible .coach__certs { transform: none; }
.coach__certs .label { color: #f0a6aa; margin-bottom: 10px; }
.coach__certs p { margin: 0 0 9px; font-size: 13px; line-height: 1.35; }
.coach__certs b { display: block; font-weight: 600; }
.coach__certs span { color: rgba(255, 255, 255, .65); font-size: 12px; }
.coach__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.coach__top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.coach h3 { font-size: calc((21px) * var(--ts, 1)); letter-spacing: -.025em; }
.coach h3 a:hover { color: var(--accent); }
.coach__role { display: block; font-size: calc((13.5px) * var(--ts, 1)); color: var(--accent); margin-top: 3px; }
.coach__exp { text-align: right; line-height: 1; }
.coach__exp b { display: block; font-family: var(--f-head); font-size: 24px; font-weight: 500; letter-spacing: -.04em; }
.coach__exp small { font-size: 11px; color: var(--muted); }
.coach__skills { display: flex; flex-wrap: wrap; gap: 6px; }
.coach__skills span { padding: 4px 10px; border-radius: 999px; background: var(--bg-2); font-size: calc((12px) * var(--ts, 1)); color: var(--ink-2); }
.coach__skills--lg span { padding: 7px 14px; font-size: calc((13.5px) * var(--ts, 1)); }
.coach__certline { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: calc((13px) * var(--ts, 1)); color: var(--muted); }
.coach__certline svg { width: 16px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
@media (max-width: 1100px) { .coaches { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .coaches { grid-template-columns: 1fr; } }

/* coach profile */
.profile { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.profile__media { position: sticky; top: 96px; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--oxblood-2); }
.profile__media img { width: 100%; height: 100%; object-fit: cover; }
.profile__media .coach__mono { font-size: 160px; }
.profile__body .label { margin-bottom: 18px; }
.profile__body .lead { margin-top: 18px; }
.profile__stats { display: flex; flex-wrap: wrap; gap: 0; margin: 30px 0 10px; border-top: 1px solid var(--line); }
.profile__stats div { padding: 18px 26px 0 0; margin-right: 26px; }
.profile__stats div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.profile__stats b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 34px; letter-spacing: -.04em; line-height: 1.1; }
.profile__stats span { font-size: 13px; color: var(--muted); }
.profile__bio { color: var(--ink-2); max-width: 64ch; margin-top: 18px; }
.profile__h { font-family: var(--f-body); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 30px 0 12px; }
.certs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 680px; }
.certs li { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.certs svg { width: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; justify-self: center; }
.certs b { display: block; font-weight: 600; font-size: 15px; }
.certs span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile__media { position: relative; top: 0; max-width: 420px; } }

/* =========================================================
   Events
   ========================================================= */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.events--past { opacity: .72; }
.event { border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .5s; }
.event:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.event__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.event:hover .event__media img { transform: scale(1.05); }
.event__art { position: absolute; inset: 0; background:
  radial-gradient(60% 90% at 85% 10%, rgba(240, 166, 170, .35), transparent 60%),
  repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px),
  linear-gradient(150deg, #6b1419, var(--oxblood-2)); }
.event__date { position: absolute; left: 16px; bottom: 16px; z-index: 2; width: 58px; padding: 8px 0; border-radius: 14px; background: var(--paper); text-align: center; box-shadow: var(--shadow); }
.event__date b { display: block; font-family: var(--f-head); font-size: 24px; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.event__date small { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.event__kind { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255, 255, 255, .92); color: #16181b; border: 0; }
.event__demo { position: absolute; top: 14px; right: 14px; z-index: 2; }
.event__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event__when { font-size: calc((12.5px) * var(--ts, 1)); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.event h3 { font-size: calc((22px) * var(--ts, 1)); letter-spacing: -.025em; }
.event h3 a:hover { color: var(--accent); }
.event p { margin: 0; color: var(--muted); font-size: calc((14px) * var(--ts, 1)); }
.event__host { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.event__host img, .event__host > span { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--oxblood); color: #fff; font-size: 11px; font-weight: 600; }
.event__host small { color: var(--muted); font-size: 13px; }
.event__host b { color: var(--ink); font-weight: 600; }
.event__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.event__price { font-family: var(--f-head); font-weight: 600; font-size: 19px; letter-spacing: -.02em; display: grid; line-height: 1.15; }
.event__price small { font-family: var(--f-body); font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.event--featured { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (max-width: 1000px) { .events { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .events { grid-template-columns: 1fr; } }

.ev-detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ev-cover { position: relative; aspect-ratio: 16 / 8; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; }
.host-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); max-width: 640px; }
.host-card img, .host-card .coach__mono { position: static; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; font-size: 26px; }
.host-card b { display: block; font-size: 17px; }
.host-card > div > span { font-size: 13px; color: var(--muted); display: block; margin-bottom: 8px; }
@media (max-width: 1000px) { .ev-detail { grid-template-columns: 1fr; } }

/* navbar now has one more link – compact a little earlier */
@media (max-width: 1320px) { .nav .prefs .txt-ctrl, .nav .prefs .txt-ctrl + .sep { display: none; } .brand__txt small { display: none; } }
@media (max-width: 1440px) { .nav .portal-link { display: none; } }
