/* Nahed Shahine - "Paint that moves"
   Layout: a fixed WebGL canvas behind everything; six sticky beats walk through her night gallery to a dance floor;
   then chapters scroll over the parked floor: a pinned gallery wall with museum labels, live painting, Coach Nana,
   behind the lens, reels, about, booking. One dark theme: plum-black walls, terracotta rose, gilt, flamenco red, and
   Zumba fuchsia once the floor takes over (html[data-phase="floor"]). Copy over the scene sits on wall-label plates.
   Type: Syne (display, wide contemporary titling), Fraunces italic (emphasis), DM Sans (text and labels). */
:root {
  --night: #120b10;
  --plum: #1d1219;
  --plum-2: #2a1a24;
  --plum-3: #3a2431;
  --cream: #f6ece2;
  --rose: #d99a86;
  --gilt: #e2b56a;
  --red: #e23a2e;
  --pink: #ff3e8e;
  --ink: #1a0d0b;

  --bg: var(--night);
  --fg: var(--cream);
  --fg-2: rgba(246, 236, 226, 0.8);
  --fg-3: rgba(246, 236, 226, 0.58);
  --accent: var(--gilt);
  --line: rgba(226, 181, 106, 0.2);
  --line-2: rgba(226, 181, 106, 0.44);
  --plate: rgba(18, 11, 16, 0.84);
  --chapter: rgba(18, 11, 16, 0.93);
  --field: rgba(246, 236, 226, 0.05);
  --field-focus: rgba(246, 236, 226, 0.09);
  --pop: #24161f;
  --danger: #ffb0a4;
  --shadow: rgba(0, 0, 0, 0.6);

  --display: 'Syne', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --font: 'DM Sans', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --side: max(28px, calc((100vw - 1280px) / 2 + 28px));
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
html[data-phase="floor"] { --accent: #ff7ab0; }
.chapter, .footer, .palette { --accent: var(--gilt); }
.chapter-coach { --accent: #ff7ab0; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; background: var(--night); overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(15px, 0.35vw + 13.4px, 17px);
  line-height: 1.62;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, dt, figure, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--red); color: var(--cream); }
[lang="ar"] { font-family: 'Noto Naskh Arabic', 'Geeza Pro', 'Segoe UI', 'Tahoma', sans-serif; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--gilt); color: var(--ink); font-weight: 700; padding: 10px 16px; transition: top .3s; }
.skip:focus { top: max(12px, env(safe-area-inset-top, 0px)); }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: max(28px, var(--gutter-l)) max(28px, var(--gutter-r)); }
@media (max-width: 820px) { .wrap { padding-inline: var(--gutter-l) var(--gutter-r); } }

/* ---------- fixed layers ---------- */
.scene { position: fixed; inset: 0; width: 100%; height: 100%; height: 100lvh; z-index: 0; display: block; background: var(--night); }
.paint-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .045; background-size: 160px 160px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(5) infinite; }
@keyframes grain { 0% { background-position: 0 0; } 20% { background-position: -37px 23px; } 40% { background-position: 29px -41px; } 60% { background-position: -19px -13px; } 80% { background-position: 43px 31px; } 100% { background-position: 0 0; } }
/* a brush tip: a small paint drop that grows into a soft blot over anything clickable */
.cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 12px; height: 12px; background: var(--red); border-radius: 50% 50% 50% 8%; pointer-events: none; transform: translate(-50%, -50%) rotate(-45deg); opacity: 0; transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), background-color .35s, border-radius .35s; mix-blend-mode: screen; }
.cursor.is-on { opacity: .95; }
.cursor.is-hover { width: 42px; height: 42px; border-radius: 50%; background: rgba(226, 58, 46, 0.35); }
html[data-phase="floor"] .cursor { background: var(--pink); }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--night); padding-inline: var(--gutter-l) var(--gutter-r); transition: opacity 1.1s var(--ease), visibility 1.1s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-inner { width: min(300px, 100%); display: grid; justify-items: center; text-align: center; }
.loader-mark { width: 64px; height: 64px; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; transform: scale(.97); } }
.loader-eyebrow { margin-block: 20px 22px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-3); }
.loader-bar { width: 100%; height: 3px; background: var(--line); overflow: hidden; border-radius: 3px; }
.loader-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gilt)); transition: width .35s var(--ease); }
.loader-hint { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--fg-2); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; transition: transform .6s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }
.nav::before { content: ""; position: absolute; inset: 0 0 -30px; background: linear-gradient(to bottom, rgba(18, 11, 16, 0.7), rgba(18, 11, 16, 0)); pointer-events: none; }
.nav-inner { position: relative; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gutter-l) var(--gutter-r); padding-top: env(safe-area-inset-top, 0px); }
@media (min-width: 821px) { .nav-inner { padding-inline: var(--side); } }
.logo { display: inline-flex; align-items: center; }
.logo-img { width: 210px; height: auto; }
.nav-links { display: flex; gap: 30px; font-size: 13px; letter-spacing: .04em; color: var(--fg-2); }
.nav-links a { position: relative; padding-block: 6px; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 1px; height: 5px; background: var(--red); border-radius: 3px 6px 2px 5px; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); z-index: -1; opacity: .8; }
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(226, 181, 106, 0.1); }
.nav-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gilt), var(--pink)); transform: scaleX(0); transform-origin: left; }
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 820px) { .nav .logo-img { width: 160px; } }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4vw, 62px); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.display em, .hero-line em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }
.display-xl { font-size: clamp(42px, 5.6vw, 88px); }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 26px; height: 6px; border-radius: 4px 7px 3px 6px; background: var(--red); }
.body { color: var(--fg-2); max-width: 48ch; }
.source { margin-top: 18px; font-size: 12px; line-height: 1.5; color: var(--fg-3); max-width: 64ch; }
.inline-link { color: var(--accent); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; display: inline-flex; align-items: center; gap: 6px; transition: background-size .5s var(--ease); }
.inline-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.ar-line { font-size: clamp(20px, 1.6vw + 10px, 28px); line-height: 1.6; color: var(--rose); }

/* line reveal: each line of a heading rises out of its own clip */
[data-lines] .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
[data-lines] .ln > span { display: block; transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-lines].is-in .ln > span { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- buttons: a squared brush-swatch shape, red, pink or hairline ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding-inline: 24px; border-radius: 6px 14px 6px 14px; font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), background-color .4s, color .4s, border-color .4s; }
.btn-red { background: var(--red); color: #fff7ef; box-shadow: 0 16px 40px -18px rgba(226, 58, 46, 0.9); }
.btn-pink { background: var(--pink); color: #22040f; box-shadow: 0 16px 40px -18px rgba(255, 62, 142, 0.9); }
.btn-red::after, .btn-pink::after { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--gilt); clip-path: polygon(0 0, 0 0, -10% 100%, -10% 100%); transition: clip-path .7s var(--ease); }
.btn-red:hover::after, .btn-pink:hover::after { clip-path: polygon(0 0, 110% 0, 100% 100%, -10% 100%); }
.btn-red:hover, .btn-pink:hover { color: var(--ink); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--fg); background: rgba(18, 11, 16, 0.35); }
.btn-ghost:hover { border-color: var(--gilt); color: var(--gilt); }
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 42px; padding-inline: 18px; font-size: 13px; }
.ico { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -4px; color: inherit; }
.ico-lead { width: 19px; height: 19px; }
.ico-flip { transform: scaleX(-1); }

/* ---------- story beats ---------- */
.story { position: relative; z-index: 2; }
.beat { position: relative; height: 170vh; }
.beat-hero { height: 160vh; }
#b-red { height: 190vh; }
.beat-last { height: 180vh; }
.beat-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* the dark floor under the hero copy, from the left on wide screens and from the bottom on phones */
.beat-hero .beat-sticky::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 11, 16, 0.86) 0%, rgba(18, 11, 16, 0.55) 34%, rgba(18, 11, 16, 0) 58%); }
@media (max-width: 820px), (max-aspect-ratio: 82/100) {
  .beat-hero .beat-sticky::before { background: linear-gradient(0deg, rgba(18, 11, 16, 0.95) 0%, rgba(18, 11, 16, 0.75) 40%, rgba(18, 11, 16, 0) 64%); }
}

/* hero: her name in wide capitals, the framed artist stands on the right in the 3D panel */
.hero-copy { position: absolute; left: var(--side); top: 50%; transform: translateY(-46%); width: min(720px, 54vw); display: grid; gap: 18px; z-index: 2; }
.kicker { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--rose); }
.hero-name { display: grid; font-family: var(--display); font-weight: 800; line-height: .86; letter-spacing: -0.03em; font-size: clamp(44px, 4.8vw, 92px); }
.hero-name .nm { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero-name .nm-2 { color: transparent; -webkit-text-stroke: 1.5px var(--cream); }
.hero-name .ch { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(600ms + var(--i) * 55ms); }
.nm-2 .ch { transition-delay: calc(900ms + var(--i) * 55ms); }
html.is-intro .hero-name .ch { transform: none; }
.hero-line { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; }
.hero-line em { color: var(--gilt); }
.hero-lede { color: var(--fg-2); max-width: 46ch; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-label { position: absolute; right: calc(var(--side) + 2vw); bottom: 13vh; display: grid; gap: 2px; padding: 12px 16px; max-width: 280px; background: #f4eadf; color: #2a1a1f; border-radius: 2px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8); z-index: 2; }
.hl-t { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.hl-d { font-size: 12px; line-height: 1.4; color: #5b4249; }
.scroll-cue { position: absolute; left: 50%; bottom: max(22px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-3); z-index: 2; }
.scroll-cue .ico { animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 50% { transform: translateY(6px); } }
html:not(.is-intro) [data-intro] { opacity: 0; }

@media (max-width: 820px), (max-aspect-ratio: 82/100) {
  .hero-copy { left: var(--gutter-l); right: var(--gutter-r); width: auto; top: auto; bottom: max(64px, calc(env(safe-area-inset-bottom, 0px) + 56px)); transform: none; gap: 12px; }
  .hero-name { font-size: clamp(40px, 12.6vw, 78px); }
  .hero-line { font-size: 24px; }
  .hero-lede { font-size: 15px; }
  .hero-label, .kicker { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .scroll-cue { display: none; }
}
@media (max-width: 820px) and (max-height: 760px) { .hero-lede { display: none; } }

/* beat copy: a museum wall label (a pale plate with a hard shadow) low on the left; on phones, a plate across the bottom */
.beat-copy { position: absolute; left: var(--side); bottom: 11vh; width: min(500px, 42vw); padding: 26px 28px 28px; background: var(--plate); border-left: 3px solid var(--red); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); display: grid; gap: 14px; z-index: 2; }
html[data-phase="floor"] .beat-copy-floor { border-left-color: var(--pink); }
.label-no { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); }
.beat-copy .display { font-size: clamp(30px, 2.9vw, 46px); }
/* a brush stroke paints itself under the emphasised words as the label arrives */
.brush { position: relative; display: inline; --wipe: 1; background-image: linear-gradient(100deg, rgba(226, 58, 46, 0) 0%, rgba(226, 58, 46, 0.55) 6%, rgba(226, 58, 46, 0.45) 94%, rgba(226, 58, 46, 0) 100%); background-repeat: no-repeat; background-position: 0 88%; background-size: calc(var(--wipe) * 100%) .28em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html[data-phase="floor"] .brush { background-image: linear-gradient(100deg, rgba(255, 62, 142, 0) 0%, rgba(255, 62, 142, 0.6) 6%, rgba(255, 62, 142, 0.5) 94%, rgba(255, 62, 142, 0) 100%); }
.beat-copy .body { font-size: 15.5px; }
@media (max-width: 820px), (max-aspect-ratio: 82/100) {
  .beat-copy { left: var(--gutter-l); right: var(--gutter-r); width: auto; bottom: max(18px, env(safe-area-inset-bottom, 0px)); padding: 18px 18px 20px; gap: 10px; }
  .beat-copy .display { font-size: clamp(26px, 7.4vw, 36px); }
  .beat-copy .body { font-size: 14.5px; }
  .beat-copy .hero-cta .btn { flex: 1 1 auto; height: 48px; padding-inline: 16px; }
}

/* ---------- chapters over the parked floor ---------- */
.chapter { position: relative; z-index: 3; background: var(--chapter); padding-block: clamp(80px, 10vw, 140px); }
.chapter + .chapter { border-top: 1px solid var(--line); }
.ch-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 4vw, 56px); }
.ch-head-split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: end; gap: 40px; }
@media (max-width: 820px) { .ch-head-split { grid-template-columns: 1fr; gap: 22px; } }
.rail-btn { width: 50px; height: 50px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: border-color .3s, color .3s, background-color .3s; }
.rail-btn:hover { border-color: var(--gilt); color: var(--gilt); }

/* the gallery wall: plum wall, canvases in gilt frames, a pale museum label under each; pinned and walked on desktop */
.chapter-wall { padding-block: 0; background: linear-gradient(180deg, #24151e, #1a0f16); }
.gallery-wall { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: clamp(22px, 2.6vw, 38px); padding-block: calc(var(--nav-h) + 12px) 28px; overflow: hidden; }
.wall-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: end; gap: 40px; }
.wall-side { display: grid; gap: 18px; justify-items: start; }
.wall-nav { display: none; gap: 10px; }
.wall-track { justify-self: start; display: flex; align-items: flex-end; gap: clamp(36px, 4.5vw, 72px); padding-inline: var(--side); width: max-content; will-change: transform; }
.work { flex: none; display: grid; gap: 16px; justify-items: start; }
.work-fig { position: relative; padding: 14px; background: linear-gradient(135deg, #f0cf8e, #b8873f 30%, #f3d699 52%, #9c6d2c 78%, #e8c37e); box-shadow: 0 34px 60px -26px rgba(0, 0, 0, 0.9), inset 0 0 0 2px rgba(60, 35, 10, 0.4); }
.work-fig::after { content: ""; position: absolute; inset: 14px; box-shadow: inset 0 0 0 3px rgba(40, 22, 6, 0.55), inset 0 6px 14px rgba(0, 0, 0, 0.45); pointer-events: none; }
.work-fig img { height: clamp(220px, 40vh, 440px); width: auto; }
.work-label { width: min(260px, 100%); padding: 10px 14px 12px; background: #f4eadf; color: #2a1a1f; border-radius: 2px; }
.work-label h3 { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: -.01em; }
.work-label h3 [lang="ar"] { display: block; font-weight: 400; font-size: 15px; color: #6b4a52; margin-top: 2px; }
.wl-m { font-size: 12px; color: #6b4a52; margin-top: 2px; }
.wl-d { font-size: 13px; line-height: 1.45; color: #3c2a2f; margin-top: 6px; font-family: var(--serif); font-style: italic; }
.work-end { align-self: center; }
.work-cta { width: min(340px, 80vw); display: grid; gap: 16px; justify-items: start; padding: 28px; border: 1px dashed var(--line-2); }
.work-cta .display { font-size: clamp(34px, 3vw, 48px); }
@media (max-width: 820px) {
  .wall-head { grid-template-columns: 1fr; gap: 20px; }
  .wall-nav { display: flex; }
  .wall-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline-start: var(--gutter-l); padding-inline: var(--gutter-l) var(--gutter-r); padding-bottom: 12px; scrollbar-width: none; }
  .wall-track::-webkit-scrollbar { display: none; }
  .work { scroll-snap-align: start; }
  .work-fig { padding: 10px; }
  .work-fig::after { inset: 10px; }
  .work-fig img { height: auto; width: auto; max-height: min(52vh, 380px); max-width: calc(100vw - 2 * var(--gutter-l) - 24px); }
}
html.rm .wall-head { grid-template-columns: 1fr; gap: 20px; }
html.rm .wall-nav { display: flex; }
html.rm .wall-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline-start: var(--gutter-l); padding-inline: var(--gutter-l) var(--gutter-r); padding-bottom: 12px; scrollbar-width: none; }
html.rm .wall-track::-webkit-scrollbar { display: none; }
html.rm .work { scroll-snap-align: start; }
html.rm .work-fig { padding: 10px; }
html.rm .work-fig::after { inset: 10px; }
html.rm .work-fig img { height: auto; width: auto; max-height: min(52vh, 380px); max-width: calc(100vw - 2 * var(--gutter-l) - 24px); }

/* live painting */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.live-copy { display: grid; gap: 22px; justify-items: start; position: sticky; top: calc(var(--nav-h) + 20px); }
.steps { display: grid; gap: 0; width: 100%; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-block: 16px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.st-n { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; color: var(--red); }
.steps h3 { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.steps p { color: var(--fg-3); font-size: 15px; margin-top: 4px; }
.live-media { display: grid; gap: 22px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-item { position: relative; overflow: hidden; border-radius: 4px; }
.ba-item img { width: 100%; height: auto; aspect-ratio: 720 / 1024; object-fit: cover; }
.ba-tag { position: absolute; left: 10px; top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 5px 9px; background: #f4eadf; color: #2a1a1f; }
.ba-item + .ba-item .ba-tag { background: var(--red); color: #fff7ef; }
.ba figcaption { margin-top: 10px; font-family: var(--serif); font-style: italic; color: var(--fg-3); font-size: 15px; }
.sketches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sketches img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
@media (max-width: 820px) { .live-grid { grid-template-columns: 1fr; } .live-copy { position: static; } }

/* Coach Nana: the floor colours, a disc that keeps the beat */
.chapter-coach { background: radial-gradient(120% 90% at 20% 30%, rgba(255, 62, 142, 0.16), transparent 60%), var(--chapter); overflow: hidden; --beat: 0; }
.coach-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.coach-fig { position: relative; display: grid; justify-items: center; align-items: end; }
.coach-disc { position: absolute; left: 50%; bottom: 6%; width: 92%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%) scale(calc(1 + var(--beat) * 0.035)); background: radial-gradient(circle at 40% 35%, #ff6aa8, var(--pink) 45%, #a3124f 100%); box-shadow: 0 0 calc(30px + var(--beat) * 40px) rgba(255, 62, 142, 0.45); }
.coach-fig img { position: relative; width: min(100%, 520px); height: auto; }
.coach-copy { display: grid; gap: 20px; justify-items: start; }
.chapter-coach .display em { color: var(--pink); }
.chapter-coach .eyebrow { color: #ff7ab0; }
.chapter-coach .eyebrow::before { background: var(--pink); }
.pass { width: 100%; display: grid; border: 1px solid rgba(255, 62, 142, 0.35); border-radius: 4px; overflow: hidden; }
.pass li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 18px; }
.pass li + li { border-top: 1px dashed rgba(255, 62, 142, 0.3); }
.ps-k { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ff7ab0; padding-top: 3px; }
.ps-v { color: var(--fg-2); font-size: 15px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2vw, 32px); line-height: 1.2; }
.quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 820px) { .coach-grid { grid-template-columns: 1fr; } .coach-fig { max-width: 420px; margin-inline: auto; } .pass li { grid-template-columns: 1fr; gap: 4px; } }

/* behind the lens */
.lens-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.lens-copy { display: grid; gap: 20px; justify-items: start; }
.lens-photos { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.lens-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; aspect-ratio: 1; }
.lens-photos img:first-child { grid-row: 1 / span 2; aspect-ratio: auto; }
@media (max-width: 820px) { .lens-grid { grid-template-columns: 1fr; } }

/* reels: tall cards, muted previews, a coloured tag per world */
.reels-side { display: grid; gap: 18px; justify-items: start; }
.reels-nav { display: flex; gap: 10px; }
.reels-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline-start: var(--side); padding-inline: var(--side); padding-bottom: 14px; scrollbar-width: none; cursor: grab; }
.reels-track::-webkit-scrollbar { display: none; }
.reels-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel { position: relative; flex: none; width: clamp(220px, 21vw, 290px); aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; scroll-snap-align: start; background: var(--plum-2); }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel video { opacity: 0; transition: opacity .6s; }
.reel.is-playing video { opacity: 1; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 5, 8, 0.88) 0%, rgba(10, 5, 8, 0) 46%); pointer-events: none; }
.reel-tag { position: absolute; z-index: 2; left: 12px; top: 12px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; background: var(--gilt); color: var(--ink); }
.reel-live .reel-tag { background: var(--red); color: #fff7ef; }
.reel-zumba .reel-tag { background: var(--pink); color: #22040f; }
.reel-meta { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 6px; }
.reel-cap { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.2; }
.reel-ig { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 820px) { .reels-track { padding-inline: var(--gutter-l) var(--gutter-r); scroll-padding-inline-start: var(--gutter-l); } .reel { width: 62vw; } }

/* about: the cutout stands in a gilt oval on the rose of her rooms */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-figure { position: relative; display: grid; justify-items: center; align-items: end; padding-top: 4%; }
.about-oval { position: absolute; left: 50%; top: 0; bottom: 0; width: 82%; transform: translateX(-50%); border-radius: 50% 50% 46% 46% / 40% 40% 4% 4%; background: radial-gradient(circle at 50% 35%, #e7b09c, var(--rose) 50%, #8a4f4a 100%); box-shadow: inset 0 0 0 10px #c9a05a, inset 0 0 0 13px #7a5a2a, 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.about-figure img { position: relative; width: 82%; height: auto; border-radius: 0 0 4px 4px; }
.about-copy { display: grid; gap: 20px; justify-items: start; }
.spec { width: 100%; display: grid; }
.spec div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding-block: 12px; border-top: 1px solid var(--line); }
.spec div:last-child { border-bottom: 1px solid var(--line); }
.spec dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.spec dd { color: var(--fg-2); }
.link-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.link-pills a { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding-inline: 16px; border: 1px solid var(--line-2); border-radius: 6px 12px 6px 12px; font-size: 14px; font-weight: 600; transition: border-color .3s, color .3s; }
.link-pills a:hover { border-color: var(--gilt); color: var(--gilt); }
.lp-sub { font-weight: 400; font-size: 12px; color: var(--fg-3); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-figure { max-width: 420px; margin-inline: auto; width: 100%; } .spec div { grid-template-columns: 1fr; gap: 2px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-copy { display: grid; gap: 22px; justify-items: start; }
.ways { display: grid; gap: 8px; width: 100%; }
.ways a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; transition: border-color .3s, background-color .3s; }
.ways a:hover { border-color: var(--line-2); background: var(--field); }
.well { flex: none; width: 18px; height: 18px; border-radius: 50% 46% 52% 44%; box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.18); }
.well-red { background: var(--red); }
.well-gold { background: var(--gilt); }
.well-pink { background: var(--pink); }
.contact-links { display: grid; gap: 12px; }
.contact-links-label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: clamp(20px, 2.6vw, 34px); border: 1px solid var(--line-2); border-top: 3px solid var(--red); border-radius: 4px; background: rgba(36, 22, 31, 0.97); position: relative; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--fg); background: var(--field); border: 1px solid var(--line); border-radius: 4px; padding: 13px 14px; transition: border-color .3s, background-color .3s; min-width: 0; }
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--field-focus); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .dd-btn { border-color: var(--danger); }
.form-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.form-note { font-size: 13px; color: var(--fg-3); }
.form-legal { font-size: 12px; color: var(--fg-3); }
.form-success { grid-column: 1 / -1; display: grid; gap: 10px; text-align: center; padding-block: 24px; }
.form-success .display { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(42px, 5vw, 64px); color: var(--gilt); }
.form.is-sent .field, .form.is-sent .form-foot, .form.is-sent .form-legal { display: none; }
.field-error { font-size: 12px; line-height: 1.4; color: var(--danger); }
.field label .opt { margin-left: 6px; font-size: 10px; letter-spacing: .1em; text-transform: none; color: var(--fg-3); font-weight: 400; }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-count { font-size: 11px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.field-count.is-near { color: var(--accent); }
.hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

.phone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.dd { position: relative; min-width: 0; }
.dd-btn { width: 100%; min-height: 50px; display: flex; align-items: center; gap: 9px; text-align: left; font: inherit; color: var(--fg); background: var(--field); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; transition: border-color .3s, background-color .3s; }
.dd-btn:hover, .dd-btn[aria-expanded="true"] { border-color: var(--accent); background: var(--field-focus); }
.dd-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dd-val.is-placeholder { color: var(--fg-3); }
.dd-iso { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; color: var(--ink); background: var(--gilt); border-radius: 3px; padding: 1px 5px; }
.dd-chev { flex: none; width: 7px; height: 7px; margin-left: 2px; border-right: 1px solid var(--fg-2); border-bottom: 1px solid var(--fg-2); transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.dd-btn[aria-expanded="true"] .dd-chev { transform: translateY(1px) rotate(-135deg); }
.dd-pop { position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); min-width: 100%; background: var(--pop); border: 1px solid var(--line-2); border-radius: 6px; box-shadow: 0 26px 60px -18px var(--shadow); overflow: hidden; }
.dd-country .dd-pop { width: min(320px, 84vw); }
.field .dd-search { width: 100%; font-size: 14px; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); background: var(--field); padding: 12px 14px; }
.field .dd-search:focus { outline: none; background: var(--field-focus); }
.dd-list { position: relative; max-height: 248px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; outline: none; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.dd-opt { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 4px; font-size: 14px; color: var(--fg-2); cursor: pointer; }
.dd-opt.is-active, .dd-opt:hover { background: var(--field-focus); color: var(--fg); }
.dd-opt[aria-selected="true"] { color: var(--accent); }
.dd-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-dial { flex: none; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.dd-empty { padding: 12px 10px; font-size: 13px; color: var(--fg-3); }

/* footer */
.footer { position: relative; z-index: 3; background: #0d080b; border-top: 1px solid var(--line); padding-block: 56px max(34px, calc(env(safe-area-inset-bottom, 0px) + 24px)); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
.footer-meta { margin-top: 16px; font-size: 13px; color: var(--fg-3); max-width: 56ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--fg-2); }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.footer-links a:hover { color: var(--gilt); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-legal { font-size: 12px; color: var(--fg-3); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal-links a { transition: color .3s; }
.footer-legal-links a:hover { color: var(--gilt); }
.plain .footer-id { margin: 0 0 18px; }

/* the palette button: her face in a painter's palette with three wells of paint, a small menu above it */
.palette { position: fixed; z-index: 45; right: max(18px, var(--gutter-r)); bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px)); display: grid; justify-items: end; gap: 10px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.palette.is-on { opacity: 1; transform: none; pointer-events: auto; }
.palette-menu { display: grid; gap: 4px; padding: 8px; min-width: 240px; background: var(--pop); border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 26px 60px -18px var(--shadow); }
.palette-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 5px; font-size: 14px; font-weight: 600; transition: background-color .3s; }
.palette-menu a:hover, .palette-menu a:focus-visible { background: var(--field-focus); }
.palette-btn { display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; background: rgba(36, 22, 31, 0.96); border: 1px solid var(--line-2); border-radius: 999px 999px 999px 999px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9); }
.palette-shape { position: relative; width: 58px; height: 52px; border-radius: 52% 48% 46% 54% / 56% 50% 50% 44%; background: #e9d7c2; display: block; }
.palette-shape img { position: absolute; left: 4px; top: 4px; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.pw { position: absolute; width: 11px; height: 11px; border-radius: 50%; }
.pw-1 { right: 4px; top: 6px; background: var(--red); }
.pw-2 { right: 7px; top: 22px; background: var(--gilt); }
.pw-3 { right: 16px; bottom: 3px; background: var(--pink); }
.palette.is-open .pw, .palette-btn:hover .pw { animation: well 1s var(--ease) infinite alternate; }
.pw-2 { animation-delay: .15s !important; } .pw-3 { animation-delay: .3s !important; }
@keyframes well { to { transform: scale(1.25); } }
.palette-label { font-size: 14px; font-weight: 600; }
@media (max-width: 560px) { .palette-label { display: none; } .palette-btn { padding: 5px; } }

/* ---------- legal and error pages (no scene) ---------- */
.plain { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--night); }
.plain-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.plain main { flex: 1; }
.legal { max-width: 760px; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.legal-updated { font-size: 12px; letter-spacing: .08em; color: var(--fg-3); }
.legal h1 { margin-top: 10px; font-family: var(--display); font-weight: 800; line-height: 1.02; font-size: clamp(42px, 5.4vw, 68px); letter-spacing: -.02em; }
.legal-intro { margin-top: 18px; font-size: clamp(17px, 1.2vw + 10px, 20px); color: var(--fg-2); }
.legal section { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal h2 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -.01em; }
.legal p, .legal li { margin-top: 12px; color: var(--fg-2); }
.legal ul { list-style: disc; padding-left: 20px; }
.notfound { display: grid; gap: 22px; justify-items: start; padding-block: clamp(60px, 12vw, 140px); }
.notfound .display { font-size: clamp(48px, 7vw, 104px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-lines] .ln > span, .hero-name .ch { transform: none; }
}
