:root {
  --bg-0: #07090d;
  --bg-1: #0c1118;
  --bg-2: #101722;
  --panel: rgba(19, 25, 36, 0.72);
  --panel-strong: rgba(19, 25, 36, 0.9);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #eff2f8;
  --muted: #b8c2d4;
  --accent: #f2c468;
  --accent-2: #ff6d5f;
  --ice: #96d6ff;
  --emerald: #64d3b5;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-w: 1240px;
  --shell-gutter: 24px;
  --content-pad: clamp(16px, 2vw, 28px);
  --anchor-offset: 112px;
  --blob-size: min(30vw, 420px);
  --blob-x: 72vw;
  --blob-y: 78vh;
  --blob-rot: 0deg;
  --blob-alpha: 0.5;
  --blob-scale-x: 1;
  --blob-scale-y: 1;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  overflow-x: clip;
  background:
    radial-gradient(circle at 10% 10%, rgba(150, 214, 255, 0.1), transparent 45%),
    radial-gradient(circle at 90% 12%, rgba(255, 109, 95, 0.14), transparent 42%),
    radial-gradient(circle at 75% 80%, rgba(242, 196, 104, 0.08), transparent 40%),
    linear-gradient(180deg, #07090d 0%, #0a0f16 38%, #0a0d12 100%);
  min-height: 100vh;
}

html.splash-is-pending,
html.splash-is-live,
html.splash-is-closing {
  overflow: hidden;
}

html.splash-is-pending body,
html.splash-is-live body,
html.splash-is-closing body {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 100%);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 40px);
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 210, 142, 0.12), transparent 18%),
    linear-gradient(180deg, #22070d 0%, #13060b 36%, #070304 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 780ms ease, visibility 0s linear 780ms;
}

.splash-screen::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: clamp(92px, 10vw, 152px);
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 100%, rgba(0, 0, 0, 0.42), transparent 30%),
    radial-gradient(circle at 88% 100%, rgba(0, 0, 0, 0.42), transparent 30%),
    linear-gradient(180deg, rgba(84, 8, 20, 0.98), rgba(138, 16, 34, 0.96) 40%, rgba(74, 8, 20, 0.98) 78%, rgba(30, 3, 8, 0.99) 100%);
  box-shadow:
    inset 0 -18px 24px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 228, 188, 0.12),
    0 16px 30px rgba(0, 0, 0, 0.32);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 88% 82%, 72% 90%, 50% 96%, 28% 90%, 12% 82%, 0 72%);
}

html.splash-is-pending .splash-screen,
html.splash-is-live .splash-screen,
html.splash-is-closing .splash-screen {
  visibility: visible;
  transition-delay: 0s;
}

html.splash-is-pending .splash-screen,
html.splash-is-live .splash-screen {
  opacity: 1;
  pointer-events: auto;
}

html.splash-is-closing .splash-screen {
  opacity: 0;
  pointer-events: none;
}

.splash-screen__backdrop,
.splash-screen__grain,
.splash-screen__curtain,
.splash-screen__halo {
  position: absolute;
  inset: 0;
}

.splash-screen__backdrop {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 222, 170, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(19, 5, 10, 0.22), rgba(10, 4, 7, 0.54) 42%, rgba(5, 2, 3, 0.9) 100%);
}

.splash-screen__backdrop::before,
.splash-screen__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.splash-screen__backdrop::before {
  left: 50%;
  top: 0;
  bottom: auto;
  width: min(82vw, 640px);
  height: min(76vh, 760px);
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(255, 246, 218, 0.58), rgba(255, 233, 181, 0.2) 22%, rgba(255, 233, 181, 0.06) 48%, transparent 100%);
  clip-path: polygon(48.8% 0, 51.2% 0, 76% 100%, 24% 100%);
  filter: blur(22px);
  opacity: 0.7;
}

.splash-screen__backdrop::after {
  inset: auto 22% 6%;
  height: 140px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(72, 24, 16, 0.56), rgba(0, 0, 0, 0.18) 42%, transparent 74%);
  filter: blur(10px);
}

.splash-screen__grain {
  z-index: 1;
  opacity: 0.08;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08) 0 1px, transparent 1.2px),
    radial-gradient(circle at 78% 30%, rgba(255,255,255,0.07) 0 1px, transparent 1.2px),
    radial-gradient(circle at 34% 72%, rgba(255,255,255,0.05) 0 1px, transparent 1.1px),
    radial-gradient(circle at 64% 68%, rgba(255,255,255,0.04) 0 1px, transparent 1.2px);
  background-size: 180px 180px, 230px 230px, 190px 190px, 240px 240px;
  mix-blend-mode: screen;
}

.splash-screen__curtain {
  z-index: 2;
  width: clamp(280px, 48vw, 760px);
  inset: 0 auto 0 0;
  background:
    linear-gradient(180deg, rgba(255, 233, 196, 0.12), transparent 12%, rgba(0, 0, 0, 0.12) 34%, rgba(0, 0, 0, 0.28) 100%),
    radial-gradient(circle at 82% 18%, rgba(255, 226, 182, 0.18), transparent 20%),
    linear-gradient(90deg, rgba(20, 0, 5, 0.88), rgba(83, 10, 20, 0.16) 14%, transparent 20%, rgba(255, 220, 170, 0.14) 28%, rgba(0, 0, 0, 0.2) 38%, transparent 56%, rgba(0, 0, 0, 0.56) 100%),
    repeating-linear-gradient(90deg, #2d020b 0 22px, #861326 22px 48px, #5d0917 48px 74px, #9f1b2f 74px 102px, #43050f 102px 126px);
  box-shadow:
    inset -42px 0 58px rgba(255, 220, 168, 0.1),
    inset 0 0 90px rgba(0, 0, 0, 0.4),
    18px 0 40px rgba(0, 0, 0, 0.32);
  border-inline-end: 1px solid rgba(255, 225, 184, 0.12);
  overflow: hidden;
  transform: translateX(0);
  transition: transform 1220ms cubic-bezier(.2, .94, .16, 1), opacity 780ms ease;
}

.splash-screen__curtain::before,
.splash-screen__curtain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.splash-screen__curtain::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 236, 196, 0.12) 0 2px, transparent 2px 18px, rgba(0, 0, 0, 0.08) 18px 22px, transparent 22px 44px),
    linear-gradient(180deg, rgba(255, 220, 165, 0.14), transparent 16%, transparent 78%, rgba(0, 0, 0, 0.22));
  mix-blend-mode: screen;
  opacity: 0.62;
}

.splash-screen__curtain::after {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 240, 214, 0.08), transparent 10%, transparent 88%, rgba(0, 0, 0, 0.14)),
    radial-gradient(circle at 100% 50%, rgba(0, 0, 0, 0.22), transparent 30%);
}

.splash-screen__curtain--right {
  inset: 0 0 0 auto;
  transform: scaleX(-1);
}

html.splash-is-live .splash-screen__curtain--left {
  transform: translateX(-62%);
}

html.splash-is-live .splash-screen__curtain--right {
  transform: translateX(62%) scaleX(-1);
}

html.splash-is-closing .splash-screen__curtain--left {
  transform: translateX(-70%);
}

html.splash-is-closing .splash-screen__curtain--right {
  transform: translateX(70%) scaleX(-1);
}

.splash-screen__inner {
  position: relative;
  z-index: 3;
  width: min(88vw, 700px);
  padding: clamp(50px, 8vh, 94px) 20px 28px;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  background: none;
  box-shadow: none;
  overflow: visible;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 900ms cubic-bezier(.19, 1, .22, 1), opacity 760ms ease;
}

html.splash-is-pending .splash-screen__inner,
html.splash-is-live .splash-screen__inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}

html.splash-is-closing .splash-screen__inner {
  transform: translateY(-14px) scale(0.98);
  opacity: 0;
}

.splash-screen__inner::before,
.splash-screen__inner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.splash-screen__inner::before {
  inset: auto 16% 68px;
  height: 54px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.18) 44%, transparent 74%);
  filter: blur(8px);
}

.splash-screen__inner::after {
  content: none;
}

.splash-screen__halo {
  inset: 10% 28% auto;
  z-index: 0;
  height: 260px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 236, 194, 0.74), rgba(255, 214, 148, 0.22) 34%, rgba(255, 214, 148, 0.04) 54%, transparent 72%);
  filter: blur(34px);
  opacity: 0.96;
}

.splash-screen__logo-shell {
  position: relative;
  z-index: 1;
  width: min(78vw, 520px);
  display: grid;
  place-items: center;
  padding: clamp(22px, 3vw, 32px);
  margin-top: 0;
  border: 1px solid rgba(255, 244, 220, 0.34);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 252, 245, 0.98), rgba(249, 242, 227, 0.98) 42%, rgba(228, 214, 189, 0.96) 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -12px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.splash-screen__logo-shell::before,
.splash-screen__logo-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.splash-screen__logo-shell::before {
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.48), transparent 42%);
}

.splash-screen__logo-shell::after {
  inset: auto 14% 10px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.14), transparent 72%);
}

.splash-screen__logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: min(52vh, 460px);
  object-fit: contain;
  filter:
    brightness(1.02)
    contrast(1.04)
    drop-shadow(0 14px 18px rgba(0, 0, 0, 0.16));
  transform: translateY(18px) scale(0.92);
  opacity: 0;
  transition: transform 980ms cubic-bezier(.16, 1, .3, 1), opacity 720ms ease;
}

html.splash-is-pending .splash-screen__logo,
html.splash-is-live .splash-screen__logo {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.splash-screen__eyebrow,
.splash-screen__tagline {
  position: relative;
  z-index: 1;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 560ms ease, transform 760ms cubic-bezier(.19, 1, .22, 1);
}

html.splash-is-live .splash-screen__eyebrow,
html.splash-is-live .splash-screen__tagline,
html.splash-is-live .splash-screen__enter {
  opacity: 1;
  transform: translateY(0);
}

.splash-screen__eyebrow {
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: rgba(255, 226, 186, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.splash-screen__tagline {
  max-width: 28ch;
  color: rgba(255, 245, 226, 0.92);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.02rem, 1.9vw, 1.28rem);
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.54);
}

.splash-screen__enter {
  position: relative;
  z-index: 1;
  min-width: clamp(210px, 28vw, 280px);
  margin-top: 14px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 560ms ease, transform 760ms cubic-bezier(.19, 1, .22, 1);
}

html.splash-is-pending .site-shell,
html.splash-is-live .site-shell,
html.splash-is-pending .fx-blob-layer,
html.splash-is-live .fx-blob-layer,
html.splash-is-closing .site-shell,
html.splash-is-closing .fx-blob-layer {
  transition: filter 720ms ease, transform 820ms cubic-bezier(.19, 1, .22, 1), opacity 720ms ease;
}

html.splash-is-pending .site-shell,
html.splash-is-live .site-shell,
html.splash-is-pending .fx-blob-layer,
html.splash-is-live .fx-blob-layer {
  filter: blur(12px) saturate(0.72);
  transform: scale(1.02);
  opacity: 0.18;
}

html.splash-is-closing .site-shell,
html.splash-is-closing .fx-blob-layer {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
}

.site-shell {
  position: relative;
  z-index: 2;
  width: min(var(--max-w), calc(100% - var(--shell-gutter)));
  margin: 0 auto;
  padding: 14px 0 42px;
}

.fx-blob-layer {
  position: fixed;
  left: 50%;
  top: 0;
  width: min(var(--max-w), calc(100% - var(--shell-gutter)));
  height: 100dvh;
  transform: translateX(-50%);
  z-index: 34;
  pointer-events: none;
  overflow: clip;
}
.fx-blob-layer.is-topbar-clinging {
  z-index: 72;
}
.fx-blob-lens {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--blob-size);
  aspect-ratio: 1 / 1;
  border-radius: 46% 54% 52% 48% / 44% 52% 48% 56%;
  transform:
    translate3d(calc(var(--blob-x) - 50%), calc(var(--blob-y) - 50%), 0)
    rotate(var(--blob-rot))
    scale(var(--blob-scale-x), var(--blob-scale-y));
  transform-origin: center;
  opacity: var(--blob-alpha);
  mix-blend-mode: normal;
  box-shadow:
    0 0 0 1px rgba(171, 255, 207, 0.22) inset,
    0 16px 52px rgba(52, 200, 120, 0.22),
    0 0 96px rgba(38, 168, 100, 0.16);
  background:
    radial-gradient(circle at 32% 24%, rgba(241, 255, 247, 0.5), transparent 32%),
    radial-gradient(circle at 67% 72%, rgba(52, 230, 140, 0.58), transparent 46%),
    radial-gradient(circle at 52% 58%, rgba(31, 148, 89, 0.36), rgba(16, 66, 40, 0.2) 68%, transparent 100%);
  animation: blobMorphA 12.2s ease-in-out infinite;
  will-change: transform, opacity;
}
.fx-blob-lens::before,
.fx-blob-lens::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.fx-blob-lens::before {
  background: radial-gradient(circle at 40% 30%, rgba(247, 255, 251, 0.24), transparent 46%);
}
.fx-blob-lens::after {
  inset: 6%;
  border: 1px solid rgba(235, 255, 245, 0.14);
  opacity: 0.58;
  box-shadow: 0 0 0 1px rgba(40, 138, 86, 0.1) inset;
}
.fx-blob-fragments {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fx-blob-fragment {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 34% 28%, rgba(244,255,249,0.54), rgba(244,255,249,0.14) 34%, transparent 42%),
    radial-gradient(circle at 58% 64%, rgba(54, 237, 146, 0.48), rgba(37, 173, 104, 0.32) 48%, rgba(16, 58, 34, 0.08) 100%);
  border: 1px solid rgba(216, 255, 234, 0.18);
  box-shadow:
    0 0 0 1px rgba(45, 152, 94, 0.08) inset,
    0 8px 22px rgba(44, 200, 119, 0.12);
  will-change: transform, opacity;
}
.fx-blob-puddle {
  position: absolute;
  left: 0;
  top: 0;
  width: 220px;
  height: 34px;
  transform: translate3d(-9999px, -9999px, 0);
  transform-origin: center;
  border-radius: 52% 48% 50% 50% / 62% 58% 42% 38%;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 34% 30%, rgba(241,255,248,0.26), transparent 36%),
    radial-gradient(circle at 68% 74%, rgba(51, 225, 138, 0.42), transparent 52%),
    linear-gradient(180deg, rgba(70, 242, 153, 0.24), rgba(23, 116, 67, 0.22));
  border: 1px solid rgba(196, 255, 223, 0.14);
  box-shadow:
    0 0 0 1px rgba(44, 141, 87, 0.08) inset,
    0 18px 46px rgba(38, 177, 106, 0.12);
  will-change: transform, width, height, opacity;
  animation: blobPuddleMorph 6.4s ease-in-out infinite;
}
.fx-blob-puddle::before,
.fx-blob-puddle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.fx-blob-puddle::before {
  inset: 10% 6% 20% 8%;
  background:
    radial-gradient(circle at 30% 40%, rgba(234,255,245,0.22), transparent 42%),
    radial-gradient(circle at 74% 55%, rgba(66, 239, 154, 0.16), transparent 38%);
  filter: blur(3px);
  opacity: 0.9;
  animation: blobPuddleShimmer 7.4s ease-in-out infinite alternate;
}
.fx-blob-puddle::after {
  inset: auto 8% 4% 8%;
  height: 35%;
  background: radial-gradient(circle at 50% 50%, rgba(9, 33, 20, 0.18), transparent 74%);
  filter: blur(8px);
}
 
@keyframes blobMorphA {
  0%   { border-radius: 46% 54% 52% 48% / 44% 52% 48% 56%; }
  25%  { border-radius: 52% 48% 57% 43% / 46% 40% 60% 54%; }
  50%  { border-radius: 58% 42% 48% 52% / 58% 46% 54% 42%; }
  75%  { border-radius: 44% 56% 45% 55% / 40% 58% 42% 60%; }
  100% { border-radius: 46% 54% 52% 48% / 44% 52% 48% 56%; }
}
@keyframes blobPuddleShimmer {
  from { transform: translate3d(-2%, 0, 0) scale(0.98, 1.04); opacity: 0.7; }
  to { transform: translate3d(2%, 0, 0) scale(1.03, 0.97); opacity: 0.95; }
}
@keyframes blobPuddleMorph {
  0%   { border-radius: 52% 48% 50% 50% / 62% 58% 42% 38%; }
  25%  { border-radius: 58% 42% 46% 54% / 56% 62% 38% 44%; }
  50%  { border-radius: 46% 54% 58% 42% / 68% 52% 34% 46%; }
  75%  { border-radius: 56% 44% 48% 52% / 60% 54% 40% 48%; }
  100% { border-radius: 52% 48% 50% 50% / 62% 58% 42% 38%; }
}
@keyframes topbarSlimeDrift {
  0% { transform: translate3d(-1.2%, 0.8%, 0) scale(1.04, 0.98); }
  42% { transform: translate3d(0.7%, -0.6%, 0) scale(1.1, 1.03); }
  100% { transform: translate3d(1.4%, 0.9%, 0) scale(1.02, 1.08); }
}
@keyframes topbarSlimeBreath {
  0%, 100% { filter: saturate(1.04) brightness(1); }
  50% { filter: saturate(1.16) brightness(1.025); }
}
@keyframes topbarBlobBurst {
  0% {
    filter: saturate(1.12) brightness(1.02);
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow:
      0 10px 40px rgba(0, 0, 0, 0.28),
      0 0 0 1px rgba(132, 244, 184, 0.18) inset,
      0 0 34px rgba(58, 204, 126, 0.13);
  }
  48% {
    filter: saturate(1.2) brightness(1.035);
    transform: translate3d(0, 0, 0) scale(1.002, 1.006);
    box-shadow:
      0 10px 40px rgba(0, 0, 0, 0.28),
      0 0 0 1px rgba(174, 255, 210, 0.24) inset,
      0 0 48px rgba(73, 223, 143, 0.18);
  }
  100% {
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  }
}

main[id],
main > section[id] {
  scroll-margin-top: var(--anchor-offset);
}

.topbar {
  --topbar-blob-infusion: 0;
  --topbar-slime-spread: 0%;
  --topbar-blob-x: 50%;
  --topbar-blob-y: 50%;
  position: sticky;
  top: 10px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(74px, 1fr) auto minmax(74px, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 12% 50%, rgba(242, 196, 104, 0.08), transparent 30%),
    radial-gradient(circle at 88% 50%, rgba(255, 109, 95, 0.08), transparent 28%),
    rgba(10, 14, 21, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}
.topbar::before,
.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--topbar-blob-infusion);
}
.topbar::before {
  inset: -8px;
  background:
    radial-gradient(ellipse calc(22% + var(--topbar-slime-spread)) 175% at var(--topbar-blob-x) var(--topbar-blob-y), rgba(219, 255, 232, 0.34), rgba(110, 239, 155, 0.24) 24%, rgba(48, 168, 91, 0.14) 48%, rgba(18, 82, 49, 0.08) 68%, transparent 84%),
    radial-gradient(ellipse calc(18% + var(--topbar-slime-spread)) 128% at calc(var(--topbar-blob-x) - 16%) 54%, rgba(141, 255, 183, 0.13), rgba(42, 151, 84, 0.08) 52%, transparent 78%),
    radial-gradient(ellipse calc(16% + var(--topbar-slime-spread)) 118% at calc(var(--topbar-blob-x) + 18%) 48%, rgba(185, 255, 211, 0.12), rgba(34, 126, 76, 0.08) 48%, transparent 78%);
  box-shadow:
    0 0 0 1px rgba(150, 255, 190, 0.1) inset,
    0 0 78px rgba(57, 204, 123, 0.2) inset,
    0 0 46px rgba(71, 226, 139, 0.12);
  filter: blur(9px) saturate(1.08);
  transition: opacity 1500ms ease, filter 1800ms ease;
}
.topbar::after {
  inset: 9px 16px;
  background:
    radial-gradient(ellipse calc(14% + var(--topbar-slime-spread)) 82% at calc(var(--topbar-blob-x) - 10%) 56%, rgba(232, 255, 239, 0.16), rgba(112, 247, 157, 0.11) 36%, transparent 76%),
    radial-gradient(ellipse calc(12% + var(--topbar-slime-spread)) 68% at calc(var(--topbar-blob-x) + 12%) 42%, rgba(178, 255, 204, 0.13), rgba(45, 164, 88, 0.09) 42%, transparent 78%),
    radial-gradient(ellipse 34% 72% at var(--topbar-blob-x) 50%, rgba(69, 203, 122, 0.08), transparent 84%);
  mix-blend-mode: screen;
  filter: blur(13px) saturate(1.1);
  transform: translateX(0);
  transition: opacity 1900ms ease, filter 2200ms ease;
  animation: topbarSlimeDrift 13s ease-in-out infinite alternate;
}
.topbar > * {
  position: relative;
  z-index: 2;
}
.topbar.is-blob-injected {
  border-color: rgba(130, 239, 176, 0.24);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(102, 232, 153, 0.07) inset,
    0 0 42px rgba(58, 198, 118, 0.11);
  animation: topbarSlimeBreath 7.6s ease-in-out infinite;
}
.topbar.is-blob-injected .menu-toggle,
.topbar.is-blob-injected .language-switcher__button {
  border-color: rgba(146, 244, 190, 0.22);
  background: rgba(37, 112, 72, 0.12);
}
.topbar.is-blob-injected .topbar-title {
  text-shadow:
    0 0 16px rgba(122, 244, 178, 0.2),
    0 1px 0 rgba(0, 0, 0, 0.35);
}
.topbar.is-blob-burst {
  animation: topbarBlobBurst 2.8s cubic-bezier(.22, .72, .22, 1);
}

.menu-toggle {
  justify-self: start;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(242, 196, 104, 0.28);
  outline: none;
}
.menu-toggle:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 3px rgba(242, 196, 104, 0.18);
}
.menu-toggle.is-open {
  border-color: rgba(255, 216, 142, 0.62);
  background: linear-gradient(135deg, var(--accent), #ffd48f 52%, var(--accent-2));
  color: #15110d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 24px rgba(255, 109, 95, 0.16),
    0 0 28px rgba(242, 196, 104, 0.18);
}
.menu-toggle.is-open:hover,
.menu-toggle.is-open:focus-visible {
  border-color: rgba(255, 230, 174, 0.78);
  background: linear-gradient(135deg, #ffd276, #ffe0a0 48%, #ff7a65);
}
.menu-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}
.menu-toggle.is-open .menu-toggle__bar {
  height: 2.25px;
  background: #19120d;
  box-shadow: none;
}
.menu-toggle.is-open .menu-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.is-open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open .menu-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.brand-link {
  text-decoration: none !important;
  text-decoration-line: none !important;
  -webkit-text-decoration-line: none !important;
  color: inherit;
  cursor: pointer;
}
.brand-link:link,
.brand-link:visited,
.brand-link:active {
  text-decoration: none !important;
  text-decoration-line: none !important;
  -webkit-text-decoration-line: none !important;
  color: inherit;
}
.brand-link,
.brand-link * {
  text-decoration: none !important;
  text-decoration-line: none !important;
  -webkit-text-decoration-line: none !important;
}
.brand-link .eyebrow,
.brand-link .brand-title {
  text-decoration: none !important;
  text-decoration-line: none !important;
  -webkit-text-decoration-line: none !important;
}
.brand-link:hover,
.brand-link:focus-visible {
  text-decoration: none !important;
  text-decoration-line: none !important;
  -webkit-text-decoration-line: none !important;
}
.brand-link:focus-visible {
  outline: 2px solid rgba(242, 196, 104, 0.7);
  outline-offset: 4px;
  border-radius: 12px;
}

.topbar-title {
  justify-self: center;
  min-width: 0;
  max-width: min(520px, 52vw);
  display: block;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.topbar-title span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
}
.eyebrow.accent { color: var(--accent); }

.topnav {
  position: absolute;
  left: 14px;
  top: calc(100% + 8px);
  z-index: 60;
  display: grid;
  gap: 4px;
  min-width: min(260px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 14, 21, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}
.topnav[hidden] {
  display: none;
}
.topnav a {
  display: block;
  min-height: 40px;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--muted);
  border-radius: 10px;
  border: 1px solid transparent;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,0.05);
  outline: none;
}
.topnav a[aria-current="page"] {
  color: var(--text);
  background: linear-gradient(135deg, rgba(242, 196, 104, 0.16), rgba(255, 109, 95, 0.08));
  border-color: rgba(242, 196, 104, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 24px rgba(0, 0, 0, 0.16);
}

.language-switcher {
  position: relative;
  justify-self: end;
  z-index: 61;
}

.language-switcher__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 78px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.language-switcher__button::-webkit-details-marker {
  display: none;
}
.language-switcher__button::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 1px;
  border-inline: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.72;
  transition: transform 180ms ease;
}
.language-switcher[open] .language-switcher__button,
.language-switcher__button:hover,
.language-switcher__button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(242, 196, 104, 0.28);
  outline: none;
}
.language-switcher__button:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 3px rgba(242, 196, 104, 0.18);
}
.language-switcher[open] .language-switcher__button::after {
  transform: rotate(180deg);
}
.language-current {
  display: none;
  align-items: center;
  gap: 6px;
}
html[lang="fr"] .language-current--fr,
html[lang="en"] .language-current--en,
html[lang="es"] .language-current--es {
  display: inline-flex;
}

.language-switcher__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 62;
  display: grid;
  width: 150px;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 14, 21, 0.97);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}
.language-switcher:not([open]) .language-switcher__menu {
  display: none;
}
.lang-switch button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}
.lang-switch button:hover,
.lang-switch button:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}
.lang-switch button.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
.btn-solid {
  color: #121212;
  background: linear-gradient(135deg, var(--accent), #ffd48f 52%, var(--accent-2));
  box-shadow: 0 10px 28px rgba(242, 196, 104, 0.18);
}
.btn-outline {
  background: rgba(255,255,255,0.03);
  border-color: var(--line-strong);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 18px;
}

.hero-copy,
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 27, 40, 0.72), rgba(15, 19, 27, 0.84));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(20px, 4vw, 34px);
  overflow: hidden;
}
.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% 20%;
  height: 220px;
  background: radial-gradient(circle, rgba(150,214,255,0.14), transparent 70%);
  pointer-events: none;
}

.hero h1 {
  margin: 8px 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0;
  color: var(--muted);
  max-width: 55ch;
  line-height: 1.55;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
}
.term-cabarock {
  font-style: italic;
}

.blob-word {
  position: relative;
  display: inline-block;
  z-index: 0;
  isolation: isolate;
  padding-inline: 0.01em;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background:
    linear-gradient(
      180deg,
      #f4fff8 0%,
      #beffd7 16%,
      #71f4a8 38%,
      #36d97c 58%,
      #178950 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  transform-origin: center 60%;
  filter:
    drop-shadow(0 0 0.02em rgba(244, 255, 248, 0.75))
    drop-shadow(0 0 0.16em rgba(102, 244, 166, 0.42))
    drop-shadow(0 0 0.36em rgba(24, 139, 79, 0.34));
  will-change: transform, filter;
  animation: blobWordTremor 4.8s cubic-bezier(0.24, 0.74, 0.35, 1) infinite;
}

.blob-word::before,
.blob-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob-word::before {
  z-index: 1;
  color: transparent;
  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0) 6%,
      rgba(255, 255, 255, 0.88) 20%,
      rgba(219, 255, 232, 0.92) 28%,
      rgba(255, 255, 255, 0) 40%
    );
  background-size: 220% 100%;
  background-position: 112% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  mix-blend-mode: screen;
  opacity: 0.95;
  animation: blobWordSheen 2.7s ease-in-out infinite;
}

.blob-word::after {
  z-index: -1;
  color: rgba(102, 244, 166, 0.48);
  filter: blur(0.075em);
  opacity: 0.78;
  transform: translate3d(0.012em, 0.05em, 0) scale(1.085, 0.88);
}

@keyframes blobWordTremor {
  0%, 24%, 58%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    filter:
      drop-shadow(0 0 0.02em rgba(244, 255, 248, 0.75))
      drop-shadow(0 0 0.16em rgba(102, 244, 166, 0.42))
      drop-shadow(0 0 0.36em rgba(24, 139, 79, 0.34));
  }
  8% {
    transform: translate3d(-0.018em, 0.012em, 0) rotate(-1.4deg) scale(1.04, 0.955);
    filter:
      drop-shadow(0 0 0.03em rgba(247, 255, 250, 0.82))
      drop-shadow(0 0 0.22em rgba(126, 250, 181, 0.5))
      drop-shadow(0 0 0.44em rgba(30, 154, 91, 0.4));
  }
  12% {
    transform: translate3d(0.04em, -0.015em, 0) rotate(1.85deg) scale(0.972, 1.04);
  }
  16% {
    transform: translate3d(-0.032em, 0.024em, 0) rotate(-2.15deg) scale(1.055, 0.94);
  }
  20% {
    transform: translate3d(0.022em, -0.018em, 0) rotate(1.2deg) scale(0.988, 1.022);
  }
  34% {
    transform: translate3d(-0.016em, 0.014em, 0) rotate(-1.2deg) scale(1.03, 0.97);
    filter:
      drop-shadow(0 0 0.028em rgba(247, 255, 250, 0.8))
      drop-shadow(0 0 0.2em rgba(118, 248, 176, 0.48))
      drop-shadow(0 0 0.4em rgba(28, 148, 87, 0.38));
  }
  39% {
    transform: translate3d(0.038em, -0.014em, 0) rotate(1.75deg) scale(0.976, 1.036);
  }
  44% {
    transform: translate3d(-0.03em, 0.021em, 0) rotate(-2deg) scale(1.048, 0.946);
  }
  49% {
    transform: translate3d(0.019em, -0.015em, 0) rotate(0.95deg) scale(0.992, 1.018);
  }
  53% {
    transform: translate3d(-0.008em, 0.006em, 0) rotate(-0.28deg) scale(1.01);
  }
}

@keyframes blobWordSheen {
  0% {
    background-position: 118% 50%;
    opacity: 0.72;
  }
  32% {
    background-position: 72% 50%;
    opacity: 0.96;
  }
  58% {
    background-position: 50% 50%;
    opacity: 0.84;
  }
  100% {
    background-position: -30% 50%;
    opacity: 0.7;
  }
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fact-strip {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fact-pill {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
}
.fact-value {
  display: block;
  font-weight: 700;
  color: var(--text);
}
.fact-label {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-visual {
  aspect-ratio: 1938 / 2000;
  padding: 0;
  display: block;
  overflow: hidden;
}
.hero-visual--poster {
  aspect-ratio: 1400 / 1980;
}
.hero-visual::before {
  content: none;
}
.poster-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.poster-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-visual--poster .poster-frame img {
  object-fit: contain;
  background: #050303;
}

.floating-note {
  position: absolute;
  max-width: 260px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(11, 15, 22, 0.8);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 26px rgba(0,0,0,0.28);
}
.floating-note p:last-child {
  margin: 4px 0 0;
  color: var(--text);
  line-height: 1.35;
  font-size: 0.86rem;
}
.floating-note-a { left: 22px; bottom: 90px; }
.floating-note-b { right: 22px; bottom: 26px; }

.section {
  margin-bottom: 20px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(14,19,28,0.76), rgba(12,16,23,0.88));
  box-shadow: var(--shadow);
}

.section-head { margin-bottom: 16px; }
.section-head.compact { margin-bottom: 12px; }
.section-head h2 {
  margin: 8px 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}
.section-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 74ch;
}

.synopsis-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.panel h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
}
.panel p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.52;
}
.panel p:last-child { margin-bottom: 0; }
.panel-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.feature-list li {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  line-height: 1.42;
}
.feature-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline-end: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  vertical-align: middle;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.date-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  min-height: 180px;
}
.date-card.featured {
  background:
    radial-gradient(circle at 10% 0%, rgba(242,196,104,0.14), transparent 55%),
    rgba(255,255,255,0.03);
  border-color: rgba(242,196,104,0.22);
}
.date-card.muted { opacity: 0.92; }
.date-card h3 {
  margin: 8px 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.05;
}
.date-card p { margin: 0; color: var(--muted); line-height: 1.45; }
.date-card .venue { color: var(--text); margin-bottom: 8px; }
.card-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.date-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #111;
  background: linear-gradient(135deg, var(--accent), #f8d693);
}
.date-badge.alt { background: linear-gradient(135deg, #83d9c0, #98d6ff); }
.date-badge.subtle { background: rgba(255,255,255,0.08); color: var(--muted); }

.scene-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 12px;
}
.scene-card {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c1218;
}
.scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-card.zocalo img {
  object-fit: contain;
  object-position: center center;
  background: radial-gradient(circle at 20% 18%, rgba(150,214,255,0.12), transparent 58%), #0b1017;
}
.scene-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(4,6,10,0.88));
}
.scene-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 14px;
  z-index: 1;
  display: grid;
  gap: 4px;
}
.scene-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
}
.scene-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.3;
}
.scene-card.tall { grid-row: span 2; }
.scene-card.wide { grid-column: span 2; }

.cast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cast-card {
  display: grid;
  grid-template-columns: minmax(210px, 230px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: 12px;
}
.cast-art {
  width: 100%;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0c1117;
  aspect-ratio: 720 / 860;
  min-height: 250px;
}
.cast-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cast-card[data-cast-id="machine"] .cast-art img {
  object-position: center top;
}

.cast-body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.72), rgba(6, 10, 17, 0.58));
}
.cast-role {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--ice);
  background: rgba(150,214,255,0.06);
  font-size: 0.82rem;
}
.cast-name {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.78), 0 0 8px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 0.25px rgba(0, 0, 0, 0.5);
}
.cast-meta {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.74), 0 0 8px rgba(0, 0, 0, 0.48);
  -webkit-text-stroke: 0.2px rgba(0, 0, 0, 0.45);
}
.cast-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.72), 0 0 7px rgba(0, 0, 0, 0.45);
  -webkit-text-stroke: 0.16px rgba(0, 0, 0, 0.4);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 12px;
}
.media-tile {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  display: grid;
  grid-template-rows: auto 1fr;
}
.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.media-meta { padding: 14px; }
.media-meta h3 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
}
.media-meta p { margin: 0; color: var(--muted); line-height: 1.42; }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(242,196,104,0.2);
  background:
    radial-gradient(circle at 0% 0%, rgba(242,196,104,0.12), transparent 48%),
    rgba(255,255,255,0.02);
}
.contact-label { margin: 0; color: var(--muted); }
.contact-mail {
  display: inline-block;
  margin-top: 4px;
  text-decoration: none;
  font-size: clamp(1.05rem, 2.1vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.site-footer {
  padding: 14px 4px 0;
  color: var(--muted);
}
.site-footer__inner {
  display: grid;
  gap: 2px;
  max-width: 78ch;
}
.site-footer p { margin: 0; }
.footer-line {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.84rem;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.footer-legal {
  display: inline-block;
  margin-inline-start: 0.38rem;
  color: rgba(242, 196, 104, 0.96);
  font-size: 0.95em;
  font-weight: 600;
  opacity: 1;
}
.footer-link {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}
.footer-link:hover,
.footer-link:focus-visible {
  color: inherit;
  text-decoration: none;
}
.footer-link:focus-visible {
  border-radius: 4px;
  outline: 1px solid currentColor;
  outline-offset: 0.16em;
}

.is-blob-warped {
  filter: saturate(1.08) contrast(1.05) brightness(1.02);
  transform:
    translate3d(var(--blob-jitter-x, 0px), var(--blob-jitter-y, 0px), 0)
    rotate(var(--blob-jitter-rot, 0deg))
    scale(var(--blob-jitter-scale, 1));
  transform-origin: center;
  will-change: transform;
  transition: transform 100ms linear, filter 130ms linear;
}
.is-blob-jitter {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 16px rgba(80, 224, 182, 0.1);
  transition: transform 12ms linear, filter 42ms linear;
}
html.is-ios .is-blob-warped {
  filter: saturate(1.1) contrast(1.06) brightness(1.03);
  transition: transform 110ms linear, filter 130ms linear;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 320ms ease;
}
html.reveals-enabled .reveal {
  opacity: 0;
}
html.reveals-enabled .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* RTL readiness */
[dir="rtl"] .topbar,
[dir="rtl"] .hero,
[dir="rtl"] .synopsis-grid,
[dir="rtl"] .date-grid,
[dir="rtl"] .cast-card,
[dir="rtl"] .media-grid,
[dir="rtl"] .contact-panel,
[dir="rtl"] .site-footer {
  direction: rtl;
}
[dir="rtl"] .topnav { direction: rtl; }
[dir="rtl"] .topnav {
  left: auto;
  right: 14px;
}
[dir="rtl"] .language-switcher__menu {
  right: auto;
  left: 0;
}

@media (max-width: 1100px) {
  :root { --anchor-offset: 96px; }
  :root { --blob-size: min(34vw, 340px); }

  .hero { grid-template-columns: 1fr; }
  .hero-visual {
    width: min(100%, 640px);
    justify-self: center;
  }
  .poster-frame img { height: 100%; }
  .floating-note { position: static; max-width: none; }

  .synopsis-grid { grid-template-columns: 1fr; }
  .date-grid { grid-template-columns: 1fr; }
  .scene-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }
  .scene-card.tall { grid-row: span 1; }
  .scene-card.wide { grid-column: span 2; }
  .cast-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-actions { justify-content: flex-start; }

  .splash-screen__curtain {
    width: clamp(240px, 44vw, 520px);
  }
}

@media (max-width: 720px) {
  :root { --anchor-offset: 86px; }
  :root { --blob-size: min(42vw, 220px); }
  :root { --shell-gutter: 12px; }

  .site-shell { width: min(var(--max-w), calc(100% - 12px)); padding-top: 8px; }
  .topbar {
    top: 6px;
    border-radius: 14px;
    padding: 10px;
    gap: 10px;
    grid-template-columns: minmax(58px, 1fr) auto minmax(58px, 1fr);
    min-height: 58px;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  .topbar-title {
    max-width: 54vw;
    font-size: 1.12rem;
  }
  .topnav {
    left: 10px;
    top: calc(100% + 7px);
    min-width: min(250px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
  }
  [dir="rtl"] .topnav {
    right: 10px;
  }
  .language-switcher__button {
    min-width: 66px;
    min-height: 40px;
    padding: 0 9px;
  }
  .language-switcher__menu {
    width: min(150px, calc(100vw - 20px));
  }

  .hero-copy,
  .hero-visual,
  .section {
    border-radius: 18px;
  }
  .fact-strip { grid-template-columns: 1fr; }
  .poster-frame { border-radius: inherit; }
  .poster-frame img { height: 100%; }

  .scene-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }
  .scene-card.wide { grid-column: auto; }

  .cast-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }
  .cast-art img { min-height: 230px; }
  .cast-art { min-height: 230px; }

  .cast-card[data-cast-id="didier"] .cast-art img {
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.72) 10%, rgba(0,0,0,1) 20%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.72) 10%, rgba(0,0,0,1) 20%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }

  .contact-mail {
    font-size: 1.05rem;
    overflow-wrap: anywhere;
  }

  .fx-blob-layer { z-index: 34; }

  .splash-screen {
    padding: 14px;
  }

  .splash-screen__curtain {
    width: 54vw;
    opacity: 0.94;
  }

  .splash-screen__inner {
    width: min(100%, 520px);
    gap: 8px;
    padding: 46px 16px 22px;
  }

  .splash-screen__logo-shell {
    width: min(86vw, 330px);
  }

  .splash-screen__tagline {
    max-width: 20ch;
    font-size: 1rem;
  }

  .splash-screen__enter {
    min-width: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .fx-blob-layer {
    display: none;
  }
  .is-blob-warped {
    filter: none !important;
  }
  .splash-screen,
  .splash-screen__inner,
  .splash-screen__logo,
  .splash-screen__eyebrow,
  .splash-screen__tagline,
  .splash-screen__enter,
  .splash-screen__curtain,
  .site-shell,
  .fx-blob-layer {
    transition: none !important;
    animation: none !important;
  }
  html.splash-is-pending .site-shell,
  html.splash-is-live .site-shell,
  html.splash-is-pending .fx-blob-layer,
  html.splash-is-live .fx-blob-layer {
    filter: none;
    transform: none;
    opacity: 1;
  }
}
