/* Dalilla — trial lesson landing page: a dark stage, gold, and the colours of her costumes */
:root {
  --night: #12040c;
  --night-2: #1d0714;
  --night-3: #2c0d20;
  --ink: #f7ecd9;
  --ink-soft: #cdb9a6;
  --gold: #dcb65c;
  --gold-grad: linear-gradient(100deg, #f8e7a8 0%, #dcb65c 28%, #9c7426 52%, #efd58a 74%, #c0933a 100%);
  --green: #0b5a3e;
  --orange: #d4541a;
  --wine: #8b1029;

  --display: 'Heebo', system-ui, sans-serif;
  --text: 'Heebo', system-ui, sans-serif;

  --m: clamp(20px, 4vw, 56px);
  --gap: clamp(110px, 14vw, 220px);
  --bar: 72px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar); background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 1.1875rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: var(--m); top: -100px; background: var(--ink); color: var(--night); padding: 10px 16px; z-index: 60; }
.skip:focus { top: 10px; }

/* ---------- gold ---------- */
.gold {
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 9s ease-in-out infinite alternate;
}
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- type ---------- */
.headline {
  font: 900 clamp(2.75rem, 7.2vw, 6.75rem)/1.02 var(--display);
  letter-spacing: -0.035em; text-wrap: balance;
  padding-block: 0.08em;            /* room for the gold fill on tall letters */
}
.statement { font: 300 clamp(1.4rem, 2.3vw, 2.125rem)/1.35 var(--display); max-width: 24em; }

/* ---------- controls ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px;
  background: var(--gold-grad); background-size: 200% 100%; color: #1a0610;
  font: 700 1.1875rem/1 var(--text);
  text-decoration: none; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 40px -12px rgba(220, 182, 92, 0.55);
  transition: transform 160ms var(--ease-out), background-position 600ms var(--ease-out), box-shadow 300ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-small { min-height: 46px; padding: 0 22px; font-size: 1.0625rem; }
.btn-big { min-height: 66px; padding: 0 42px; font-size: 1.3125rem; }
.btn-dark { background: var(--night); color: var(--ink); box-shadow: 0 14px 40px -14px rgba(18, 4, 12, 0.8); }
.link { font-weight: 600; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--gold); transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background-position: 100% 50%; box-shadow: 0 14px 54px -10px rgba(220, 182, 92, 0.8); }
  .btn-dark:hover { box-shadow: 0 18px 50px -12px rgba(18, 4, 12, 0.95); }
  .link:hover, .bar-links a:hover, .foot a:hover { color: var(--gold); }
}

/* ---------- bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--bar); padding: 0 var(--m);
  display: flex; align-items: center; gap: 30px;
  transition: background-color 300ms ease, transform 400ms var(--ease-out);
}
.bar.is-solid { background: rgba(18, 4, 12, 0.92); }
.wordmark { font: 900 2rem/1.2 var(--display); text-decoration: none; margin-inline-end: auto; }
.bar-links { display: flex; gap: 30px; }
.bar-links a { text-decoration: none; font-weight: 600; font-size: 1.0625rem; transition: color 200ms ease; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 62%, #5d1239 0%, #2e0a1f 36%, var(--night) 72%);
}
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-glow {
  position: absolute; left: 50%; top: 58%; width: min(70vw, 90svh); aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(246, 208, 120, 0.34), rgba(214, 60, 130, 0.14) 55%, transparent 72%);
  pointer-events: none;
}
.hero-title {
  position: absolute; inset-inline: 0; top: calc(var(--bar) + 1svh);
  text-align: center; font: 900 min(18.5vw, 33svh)/0.98 var(--display); letter-spacing: -0.03em;
  padding-block: 0.06em;
}
.hl { display: block; white-space: nowrap; will-change: transform; }
.hero-dancer {
  position: absolute; left: 50%; bottom: -3svh; height: 86svh; width: auto; max-width: none;
  translate: -50% 0; will-change: transform;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.hero-foot {
  position: absolute; inset-inline: var(--m); bottom: clamp(24px, 5svh, 56px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.hero-pitch { max-width: 21em; display: grid; gap: 22px; justify-items: start; }
.hero-sub { font-size: clamp(1.1875rem, 1.5vw, 1.4375rem); line-height: 1.45; text-shadow: 0 2px 18px rgba(18, 4, 12, 0.8); }
.next-line {
  font: 700 clamp(1.0625rem, 1.4vw, 1.3125rem)/1.35 var(--display); text-align: end; max-width: 12em;
  color: var(--gold); text-shadow: 0 2px 18px rgba(18, 4, 12, 0.8);
}

/* ---------- yours ---------- */
.yours { padding: var(--gap) var(--m); display: grid; gap: clamp(28px, 4vw, 56px); }
.lit { font: 300 clamp(1.75rem, 4vw, 3.75rem)/1.28 var(--display); max-width: 22em; text-wrap: pretty; }

/* ---------- acts: the lesson, one costume colour at a time ---------- */
.act {
  --fg: var(--ink);
  position: relative; min-height: 100svh; overflow: hidden;
  color: var(--fg);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  padding: calc(var(--bar) + 20px) var(--m) 40px;
}
.act-green { background: var(--green); }
.act-orange { background: var(--orange); --fg: #1a0610; }
.act-wine { background: var(--wine); }
.act-word {
  position: absolute; inset-inline: 0; top: 50%; translate: 0 -54%;
  text-align: center; white-space: nowrap;
  font: 900 min(30vw, 62svh)/0.9 var(--display); letter-spacing: -0.04em;
  color: var(--fg); opacity: 0.13; pointer-events: none; will-change: transform;
}
.act-dancer {
  position: absolute; inset-inline-end: 4vw; bottom: 0; height: 94svh; width: auto; max-width: none;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35)); will-change: transform;
}
.act-green .act-dancer { inset-inline-end: 0; height: 100svh; }
.act-copy { position: relative; grid-column: 1; max-width: 30rem; }
.act-time { font: 900 clamp(1.75rem, 3vw, 2.75rem)/1 var(--display); font-variant-numeric: tabular-nums; margin-bottom: 12px; opacity: 0.85; }
.act-copy h2 { font: 900 clamp(3.5rem, 8.4vw, 8rem)/0.98 var(--display); letter-spacing: -0.02em; margin-bottom: 22px; padding-block: 0.04em; }
.act-copy p:last-child { font-size: clamp(1.25rem, 1.7vw, 1.625rem); line-height: 1.5; }

.acts.is-pinned .acts-stage { position: relative; height: 100svh; overflow: hidden; }
.acts.is-pinned .act { position: absolute; inset: 0; min-height: 0; }
.acts.is-pinned .act + .act { clip-path: circle(0% at 26% 58%); will-change: clip-path; }

/* ---------- dalilla ---------- */
.dalilla { position: relative; min-height: 110svh; display: grid; align-items: center; overflow: hidden; padding: var(--gap) var(--m); }
.dalilla-photo { position: absolute; inset-block: -6%; inset-inline: 34% 0; }
.dalilla-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.dalilla::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to left, var(--night) 0%, var(--night) 32%, rgba(18, 4, 12, 0.55) 48%, rgba(18, 4, 12, 0) 66%),
              linear-gradient(to bottom, var(--night) 0%, transparent 16%, transparent 84%, var(--night) 100%);
}
.dalilla-text { position: relative; z-index: 1; max-width: 36rem; display: grid; gap: 26px; }
.figure { display: flex; align-items: baseline; gap: 18px; }
.figure strong { font: 900 clamp(6rem, 13vw, 12rem)/0.85 var(--display); letter-spacing: -0.03em; padding-block: 0.04em; }
.figure span { font: 300 1.4375rem/1.2 var(--display); max-width: 8em; }

/* ---------- voices ---------- */
.voices { padding: var(--gap) var(--m) 0; }
.quotes { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.quotes blockquote { background: var(--night-2); border-radius: 28px; padding: clamp(26px, 3vw, 44px); }
.quotes blockquote p { font: 300 clamp(1.25rem, 1.65vw, 1.5625rem)/1.5 var(--display); }
.quotes blockquote p::before { content: '״'; display: block; font: 900 5rem/0.55 var(--display); color: var(--gold); margin-bottom: 4px; }
.clips { margin-top: clamp(16px, 2vw, 28px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.clip {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 13; padding: 0; border: 0; cursor: pointer;
  background: var(--night-2); color: #fff; overflow: hidden; border-radius: 28px; font: inherit;
  transition: transform 220ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.clip:active { transform: scale(0.98); }
.clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.36); transition: transform 700ms var(--ease-out); }
.clip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 4, 12, 0.85), transparent 46%); }
.clip-name { position: absolute; z-index: 1; inset-inline-start: 22px; bottom: 22px; font: 900 clamp(1.5rem, 2.4vw, 2.25rem)/1 var(--display); }
.play { position: absolute; z-index: 1; inset-inline-end: 18px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-grad); }
.play::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #1a0610; transform: translateX(2px); }
@media (hover: hover) and (pointer: fine) {
  .clip:hover { transform: translateY(-6px); }
  .clip:hover img { transform: scale(1.46); }
}

/* ---------- worries ---------- */
.worries { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.worries .headline { position: sticky; top: calc(var(--bar) + 32px); }
.worry-list { display: grid; gap: 10px; }
.worry-list details { background: var(--night-2); border-radius: 22px; transition: background-color 250ms ease; }
.worry-list details[open] { background: var(--night-3); }
.worry-list summary {
  list-style: none; cursor: pointer; padding: 26px 30px;
  font: 700 clamp(1.3125rem, 1.9vw, 1.75rem)/1.25 var(--display);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.worry-list summary::-webkit-details-marker { display: none; }
.worry-list summary::after {
  content: ''; flex: none; width: 14px; height: 14px;
  border-inline-end: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform 260ms var(--ease-out);
}
.worry-list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.worry-list details p { padding: 0 30px 28px; max-width: 36em; color: var(--ink-soft); }

/* ---------- offer: the ticket ---------- */
.offer { padding: var(--gap) var(--m); display: grid; justify-items: center; gap: clamp(36px, 5vw, 64px); text-align: center; }
.ticket-wrap { width: min(100%, 980px); perspective: 1400px; }
.ticket {
  --mx: 50%; --my: 50%;
  position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  background: var(--gold-grad); background-size: 160% 100%; color: #1a0610; text-align: start;
  border-radius: 34px; overflow: hidden;
  box-shadow: 0 50px 120px -40px rgba(220, 182, 92, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  transform-style: preserve-3d; will-change: transform;
}
.ticket-main { padding: clamp(28px, 4vw, 52px); }
.ticket-stub {
  position: relative; padding: clamp(28px, 4vw, 52px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  border-inline-start: 4px dotted rgba(26, 6, 16, 0.45);
}
.ticket-stub::before, .ticket-stub::after {      /* the punched notches of a real ticket */
  content: ''; position: absolute; inset-inline-start: -20px; width: 36px; height: 36px; border-radius: 50%; background: var(--night);
}
.ticket-stub::before { top: -18px; }
.ticket-stub::after { bottom: -18px; }
.ticket-sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.55), transparent 60%);
  mix-blend-mode: soft-light;
}
.ticket.is-hot .ticket-sheen { opacity: 1; }
.ticket-kicker { font: 700 1.25rem/1.2 var(--display); }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; direction: rtl; }
.price strong { font: 900 clamp(7rem, 15vw, 13rem)/0.86 var(--display); letter-spacing: -0.04em; }
.price span { font: 900 clamp(2.5rem, 4vw, 4rem)/1 var(--display); }
.days { margin-top: 22px; }
.days legend { font-weight: 700; margin-bottom: 10px; }
.days-row { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: rgba(26, 6, 16, 0.16); border-radius: 999px; }
.day {
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: #1a0610; font: 600 1.125rem/1 var(--text);
  transition: background-color 220ms ease, color 220ms ease, transform 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.day b { font-weight: 700; font-variant-numeric: tabular-nums; margin-inline-start: 4px; }
.day:active { transform: scale(0.97); }
.day[aria-pressed='true'] { background: var(--night); color: var(--ink); }
.next { margin-top: 16px; font: 700 clamp(1.25rem, 1.7vw, 1.5625rem)/1.3 var(--display); min-height: 2.6em; }
.facts { display: grid; gap: 10px; font-weight: 600; }
.facts li { padding-inline-start: 24px; position: relative; }
.facts li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: #1a0610; }
.ticket-stub .btn { width: 100%; }

/* ---------- footer ---------- */
.foot { padding: 0 var(--m) clamp(40px, 5vw, 64px); overflow: hidden; }
.foot-name { font: 900 clamp(7rem, 33vw, 32rem)/0.92 var(--display); letter-spacing: -0.03em; text-align: center; white-space: nowrap; padding-block: 0.04em; }
.foot-grid { margin-top: clamp(32px, 4vw, 64px); display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 32px clamp(32px, 5vw, 80px); }
.foot-title { font: 700 1.5rem/1.2 var(--display); margin-bottom: 10px; }
.foot p { margin-top: 6px; }
.foot a { text-underline-offset: 4px; transition: color 200ms ease; }
.foot-phone { font: 900 clamp(2rem, 3.4vw, 3rem)/1 var(--display); text-decoration: none; }
.foot-legal p:last-child { margin-top: 18px; color: var(--ink-soft); font-size: 1rem; }

/* ---------- phone dock ---------- */
.dock { display: none; }

/* ---------- player ---------- */
.player { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; }
.player[open] { display: grid; place-items: center; }
.player::backdrop { background: rgba(10, 2, 7, 0.92); }
.player-frame { width: min(92vw, 50dvh); aspect-ratio: 9 / 16; background: #000; border-radius: 24px; overflow: hidden; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-close { position: fixed; top: 18px; inset-inline-end: 18px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--night); font: 700 1.0625rem/1 var(--text); cursor: pointer; }

/* ---------- legal pages ---------- */
.doc { padding-top: calc(var(--bar) + 40px) !important; }
.doc .headline { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- pre-animation states (only while the script is about to run) ---------- */
.js .hero-title, .js .hero-dancer, .js .hero-foot { visibility: hidden; }

/* ---------- tablet & phone ---------- */
@media (max-width: 1020px) {
  .bar-links { display: none; }
}
@media (max-width: 860px) {
  :root { --bar: 62px; }
  body { font-size: 1.125rem; padding-bottom: 0; }
  .bar .btn-small { display: none; }
  .hero { min-height: 560px; }
  .hero-title { font-size: min(24vw, 18svh); top: calc(var(--bar) + 6px); }
  .hero-dancer { height: 66svh; bottom: 12svh; }
  .hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 46svh; background: linear-gradient(to top, var(--night) 22%, transparent); pointer-events: none; }
  .hero-foot { z-index: 1; flex-direction: column; align-items: stretch; gap: 12px; bottom: 20px; }
  .hero-pitch { max-width: none; gap: 14px; justify-items: stretch; text-align: center; }
  .hero-sub { font-size: 1.125rem; }
  .next-line { text-align: center; max-width: none; font-size: 1rem; }
  .lit { font-size: clamp(1.625rem, 7.2vw, 2.5rem); }
  .act { grid-template-columns: 1fr; align-items: start; padding-top: calc(var(--bar) + 12px); }
  .act-word { top: 62%; font-size: 34vw; }
  .act-dancer, .act-green .act-dancer { height: 58svh; inset-inline-end: 50%; translate: -50% 0; }
  .act-copy h2 { font-size: clamp(3.25rem, 17vw, 5rem); margin-bottom: 12px; }
  .act-copy p:last-child { font-size: 1.1875rem; }
  .acts.is-pinned .act + .act { clip-path: circle(0% at 50% 70%); }
  .dalilla { min-height: 0; padding-top: 62svh; align-items: end; }
  .dalilla-photo { inset: 0 0 auto 0; height: 78svh; }
  .dalilla-photo img { object-position: 50% 30%; }
  .dalilla::after { background: linear-gradient(to bottom, var(--night) 0%, transparent 10%, transparent 36%, var(--night) 62%); }
  .quotes { grid-template-columns: 1fr; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .worries { grid-template-columns: 1fr; }
  .worries .headline { position: static; }
  .ticket { grid-template-columns: 1fr; border-radius: 28px; }
  .ticket-stub { border-inline-start: 0; border-top: 4px dotted rgba(26, 6, 16, 0.45); }
  .ticket-stub::before { top: -20px; inset-inline-start: -18px; }
  .ticket-stub::after { top: -20px; bottom: auto; inset-inline-start: auto; inset-inline-end: -18px; }
  .days-row { display: grid; }
  .day { padding: 0 8px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot { padding-bottom: 96px; }
  .dock {
    display: flex; position: fixed; z-index: 45; inset-inline: 12px; bottom: 12px;
    min-height: 58px; align-items: center; justify-content: center;
    background: var(--gold-grad); color: #1a0610; font: 700 1.125rem/1 var(--text);
    text-decoration: none; border-radius: 999px; box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.7);
    transform: translateY(150%); transition: transform 420ms var(--ease-out);
  }
  .dock.is-on { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 1ms !important; animation: none !important; }
  .js .hero-title, .js .hero-dancer, .js .hero-foot { visibility: visible; }
}
@media (prefers-contrast: more) {
  :root { --ink-soft: #f7ecd9; }
  .act-word { opacity: 0.06; }
}

/* ---------- type v3: one modern family, heavy against hairline ---------- */
.hero-title { letter-spacing: -0.045em; line-height: 0.92; }
.hl-2 { font-weight: 200; letter-spacing: -0.03em; }
.act-word, .act-copy h2, .foot-name, .price strong, .figure strong { letter-spacing: -0.05em; }
.lit { font-weight: 300; letter-spacing: -0.02em; line-height: 1.22; }
.lit strong, .statement strong { font-weight: 900; }
.statement { letter-spacing: -0.01em; }
.quotes blockquote p { font-weight: 300; }
.wordmark { letter-spacing: -0.04em; }
.next, .next-line, .ticket-kicker, .clip-name, .worry-list summary, .foot-title { letter-spacing: -0.015em; }

/* ---------- hero v3 (desktop): the title reads whole, she stands beside it and overlaps only its tail ---------- */
@media (min-width: 861px) {
  .hero-title { text-align: start; inset-inline: var(--m); top: calc(var(--bar) + 3svh); font-size: min(15.6vw, 30svh); }
  .hero-dancer { left: 25%; height: 93svh; bottom: -4svh; }
  .hero-glow { left: 25%; top: 56%; }
  .hero-foot { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 18px; }
  .next-line { text-align: start; max-width: none; }
}
@media (max-width: 860px) {
  .hero-title { font-size: min(20.5vw, 17svh); }
}

/* =====================================================================
   v4 — quiet luxury: ivory on near-black, hairline serif, one flat gold
   ===================================================================== */
:root {
  --night: #0d0409;
  --night-2: #170810;
  --night-3: #22101a;
  --ink: #f3ead8;
  --ink-soft: #b9aa98;
  --gold: #c8a66a;
  --display: 'Noto Serif Hebrew', 'Times New Roman', serif;
  --text: 'Heebo', system-ui, sans-serif;
}
body { font-weight: 300; }
.headline { font-weight: 300; letter-spacing: -0.01em; line-height: 1.08; color: var(--ink); font-size: clamp(2.5rem, 5.6vw, 5.25rem); }
.statement, .lit { font-weight: 300; letter-spacing: 0; }
.lit { font-size: clamp(1.625rem, 3.3vw, 3.1rem); line-height: 1.35; }
.wordmark { font: 400 1.75rem/1.2 var(--display); letter-spacing: 0; color: var(--ink); }
.bar-links a { font-weight: 400; font-size: 1rem; letter-spacing: 0.02em; }
.bar.is-solid { background: rgba(13, 4, 9, 0.94); }

/* buttons: flat ivory, no glow */
.btn { background: var(--ink); color: var(--night); font-weight: 500; box-shadow: none; letter-spacing: 0.01em;
  transition: transform 160ms var(--ease-out), background-color 300ms ease, color 300ms ease; }
.btn-dark { background: var(--night); color: var(--ink); box-shadow: none; }
.link { font-weight: 400; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--gold); box-shadow: none; }
  .btn-dark:hover { background: #2a1420; box-shadow: none; }
}

/* ---------- opening screen: the arch ---------- */
.intro {
  position: relative; min-height: 100svh; padding: calc(var(--bar) + 2svh) var(--m) 4svh;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 110px); align-items: center;
  background: var(--night);
}
.arch-defs { position: absolute; }
.intro-text { max-width: 38rem; }
.intro-place { font: 400 0.9375rem/1 var(--text); letter-spacing: 0.32em; color: var(--gold); margin-bottom: clamp(22px, 3.4svh, 40px); }
.intro-title { font: 300 clamp(2.9rem, 5.5vw, 5.9rem)/1.1 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.il { display: block; }
.intro-rule { display: block; width: 84px; height: 1px; background: var(--gold); margin: clamp(26px, 4svh, 44px) 0; transform-origin: right center; }
.intro-sub { font-size: clamp(1.125rem, 1.35vw, 1.3125rem); line-height: 1.65; max-width: 27em; color: var(--ink); }
.intro-actions { margin-top: clamp(28px, 4.4svh, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.intro .next-line { font: 400 1rem/1.4 var(--text); color: var(--ink-soft); text-shadow: none; text-align: start; max-width: none; letter-spacing: 0.01em; }
.arch-wrap { position: relative; justify-self: center; width: min(34vw, 58svh); height: min(84svh, 860px); }
.arch { position: absolute; inset: 0; clip-path: url(#arch); overflow: hidden; background: var(--night-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; will-change: transform; }
.arch-line {
  position: absolute; inset: -18px -18px 0 -18px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0.4,100 L0.4,36 C0.4,19 20,10 50,0.5 C80,10 99.6,19 99.6,36 L99.6,100' fill='none' stroke='%23c8a66a' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.js .intro-text, .js .arch-wrap { visibility: hidden; }

/* ---------- the rest, quieter ---------- */
.act-word { font-weight: 600; letter-spacing: -0.02em; opacity: 0.1; }
.act-copy h2 { font-weight: 300; letter-spacing: -0.01em; font-size: clamp(3.25rem, 7.4vw, 7rem); }
.act-time { font: 400 clamp(1.125rem, 1.5vw, 1.375rem)/1 var(--text); letter-spacing: 0.24em; margin-bottom: 18px; opacity: 0.9; }
.act-copy p:last-child { font-weight: 300; }
.act-green { background: #0a4a35; }
.act-orange { background: #c0501c; }
.act-wine { background: #6f0d22; }
.figure strong { font-weight: 200; letter-spacing: -0.02em; color: var(--gold); }
.figure span { font-weight: 300; }
.quotes blockquote { background: var(--night-2); border-radius: 2px; }
.quotes blockquote p { font-weight: 300; }
.quotes blockquote p::before { color: var(--gold); font-weight: 300; }
.clip { border-radius: 2px; }
.clip-name { font: 300 clamp(1.5rem, 2.2vw, 2.125rem)/1 var(--display); letter-spacing: 0; }
.play { background: var(--ink); width: 48px; height: 48px; }
.worry-list details { border-radius: 2px; }
.worry-list summary { font: 400 clamp(1.25rem, 1.7vw, 1.5625rem)/1.3 var(--display); letter-spacing: 0; }
.worry-list summary::after { border-width: 0 1.5px 1.5px 0; border-color: var(--gold); border-style: solid; }

/* the ticket: heavy cream card instead of gold foil */
.ticket { background: #efe5d2; border-radius: 4px; box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.9); }
.ticket-kicker { font: 400 0.9375rem/1 var(--text); letter-spacing: 0.24em; }
.price strong { font-weight: 200; letter-spacing: -0.03em; }
.price span { font-weight: 200; }
.next { font: 400 clamp(1.1875rem, 1.5vw, 1.375rem)/1.4 var(--display); letter-spacing: 0; }
.facts { font-weight: 400; }
.facts li::before { width: 6px; height: 6px; top: 0.72em; background: #8a6a2e; }
.ticket-stub { border-inline-start: 1px dashed rgba(26, 6, 16, 0.4); }
.days-row { background: rgba(26, 6, 16, 0.08); }
.day { font-weight: 400; }
.ticket-sheen { display: none; }

.foot-name { font-weight: 200; letter-spacing: -0.02em; color: var(--ink); }
.foot-title { font: 400 1.375rem/1.3 var(--display); letter-spacing: 0; }
.foot-phone { font: 300 clamp(2rem, 3.2vw, 2.875rem)/1 var(--display); letter-spacing: 0; }
.dock { background: var(--ink); color: var(--night); font-weight: 500; }
.doc .headline { background: none; color: var(--ink); }

@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; gap: 26px; padding: calc(var(--bar) + 8px) var(--m) 28px; align-content: start; text-align: center; }
  .arch-wrap { order: -1; width: min(70vw, 40svh); height: 46svh; margin-top: 10px; }
  .arch-line { inset: -12px -12px 0 -12px; }
  .intro-text { max-width: none; }
  .intro-place { margin-bottom: 16px; font-size: 0.8125rem; }
  .intro-title { font-size: clamp(2.25rem, 10.4vw, 3.25rem); }
  .intro-rule { margin: 18px auto; transform-origin: center; width: 64px; }
  .intro-sub { font-size: 1.0625rem; margin-inline: auto; }
  .intro-actions { margin-top: 22px; flex-direction: column; gap: 12px; }
  .intro-actions .btn { width: 100%; }
  .intro .next-line { text-align: center; }
  .ticket-stub { border-inline-start: 0; border-top: 1px dashed rgba(26, 6, 16, 0.4); }
  .headline { font-size: clamp(2.25rem, 9.6vw, 3.25rem); }
  .act-copy h2 { font-size: clamp(3rem, 15vw, 4.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .js .intro-text, .js .arch-wrap { visibility: visible; }
}

/* ---------- the ticket stays gold foil (Dvir liked it as it was) ---------- */
.ticket { background: var(--gold-grad); background-size: 160% 100%; border-radius: 34px;
  box-shadow: 0 50px 120px -40px rgba(220, 182, 92, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.ticket-sheen { display: block; }
.ticket-kicker { font: 700 1.25rem/1.2 var(--text); letter-spacing: -0.015em; }
.price strong { font: 900 clamp(7rem, 15vw, 13rem)/0.86 var(--text); letter-spacing: -0.05em; }
.price span { font: 900 clamp(2.5rem, 4vw, 4rem)/1 var(--text); }
.next { font: 700 clamp(1.25rem, 1.7vw, 1.5625rem)/1.3 var(--text); letter-spacing: -0.015em; }
.facts { font-weight: 600; }
.facts li::before { width: 10px; height: 10px; top: 0.62em; background: #1a0610; }
.ticket-stub { border-inline-start: 4px dotted rgba(26, 6, 16, 0.45); }
.days-row { background: rgba(26, 6, 16, 0.16); }
.day { font-weight: 600; }
@media (max-width: 860px) {
  .ticket { border-radius: 28px; }
  .ticket-stub { border-inline-start: 0; border-top: 4px dotted rgba(26, 6, 16, 0.45); }
}

/* ---------- the lesson v5: three softly lit niches, same arch as the opening ---------- */
.lesson { padding: var(--gap) var(--m) 0; background: var(--night); color: var(--ink); margin: 0; }
.lesson-head { display: grid; gap: 18px; justify-items: center; text-align: center; margin-bottom: clamp(48px, 6vw, 96px); }
.lesson-kicker { font: 400 0.9375rem/1 var(--text); letter-spacing: 0.32em; color: var(--gold); }
.niches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 5vw, 88px); max-width: 1320px; margin-inline: auto; }
.niche { text-align: center; display: grid; justify-items: center; align-content: start; }
.niche-frame { position: relative; width: min(100%, 340px); aspect-ratio: 3 / 4.5; margin-bottom: clamp(26px, 3vw, 40px); }
.niche-frame .arch-line { inset: -14px -14px 0 -14px; opacity: 0.75; }
.niche-glass { position: absolute; inset: 0; clip-path: url(#arch); overflow: hidden; transition: filter 600ms ease; }
.niche-green .niche-glass { background: radial-gradient(90% 70% at 50% 34%, #1c7355 0%, #0b4733 46%, #04211a 100%); }
.niche-amber .niche-glass { background: radial-gradient(90% 70% at 50% 34%, #c26a26 0%, #86400f 46%, #331405 100%); }
.niche-wine .niche-glass { background: radial-gradient(90% 70% at 50% 34%, #a0203c 0%, #5f0c20 46%, #26040c 100%); }
.niche-glass::after { content: ''; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to top, rgba(13, 4, 9, 0.75), transparent); pointer-events: none; }
.niche-glass img { position: absolute; left: 50%; bottom: 0; height: 90%; width: auto; max-width: none; translate: -50% 0; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)); will-change: transform; }
.niche-green .niche-glass img { height: 118%; bottom: -30%; translate: -47% 0; }
.niche-wine .niche-glass img { height: 94%; translate: -52% 0; }
.niche .act-time { font: 400 0.9375rem/1 var(--text); letter-spacing: 0.3em; color: var(--gold); margin-bottom: 14px; opacity: 1; font-variant-numeric: tabular-nums; }
.niche h3 { font: 300 clamp(2.25rem, 3.4vw, 3.25rem)/1.1 var(--display); margin-bottom: 14px; }
.niche-text { max-width: 20em; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.65; }
@media (hover: hover) and (pointer: fine) {
  .niches:hover .niche-glass { filter: brightness(0.6) saturate(0.8); }
  .niches .niche:hover .niche-glass { filter: brightness(1.08); }
}
@media (max-width: 860px) {
  .niches { grid-template-columns: 1fr; gap: 64px; }
  .niche-frame { width: min(72vw, 300px); }
}
.niche-green .niche-glass img { height: 96%; bottom: 0; translate: -46% 0; }

/* =====================================================================
   v6 — the stage. The opening is the stage itself; nothing sits in a frame.
   ===================================================================== */
.opening { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #050104; }
.stage {
  position: absolute; left: 41%; bottom: 0; translate: -50% 0;
  width: max(122vw, calc(100svh * 1.95)); aspect-ratio: 2400 / 1343;
}
.stage picture { position: absolute; inset: 0; }
.stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, filter; }
.stage-dancer {
  position: absolute; left: 50%; bottom: 3.2%; height: 93.8%; width: auto; max-width: none; translate: -50% 0;
  filter: drop-shadow(0 0 26px rgba(255, 200, 116, 0.42)) saturate(1.04) contrast(1.05); will-change: transform;
}
.stage-shadow {
  position: absolute; left: 52.3%; top: 88.8%; width: 17%; height: 2.8%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.85), transparent); pointer-events: none;
}
.opening-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to left, rgba(5, 1, 4, 0.82) 0%, rgba(5, 1, 4, 0.55) 26%, rgba(5, 1, 4, 0) 50%),
              linear-gradient(to bottom, rgba(5, 1, 4, 0.55) 0%, rgba(5, 1, 4, 0) 18%, rgba(5, 1, 4, 0) 82%, var(--night) 100%);
}
.opening-text {
  position: absolute; inset-inline-start: var(--m); top: 50%; translate: 0 -46%;
  width: min(34rem, 38vw);
}
.opening .intro-title { font-size: clamp(2.5rem, 4.3vw, 4.75rem); text-shadow: 0 2px 30px rgba(5, 1, 4, 0.8); }
.opening .intro-sub { text-shadow: 0 1px 18px rgba(5, 1, 4, 0.9); }
.opening .next-line { font: 400 1rem/1.4 var(--text); color: var(--ink); opacity: 0.85; text-shadow: 0 1px 14px rgba(5, 1, 4, 0.9); text-align: start; max-width: none; }
.js .stage, .js .opening-text { visibility: hidden; }

/* ---------- the lesson v6: three spotlights on a dark floor, no frames ---------- */
.lights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 56px); max-width: 1360px; margin-inline: auto; }
.light { text-align: center; display: grid; justify-items: center; align-content: start; }
.light-gold { --beam: 255, 200, 116; }
.light-rose { --beam: 226, 70, 160; }
.light-blue { --beam: 70, 120, 255; }
.light-spot { position: relative; width: 100%; height: clamp(360px, 44vw, 600px); margin-bottom: clamp(22px, 2.6vw, 36px); }
.beam {
  position: absolute; left: 50%; top: -14%; width: 84%; height: 112%; translate: -50% 0;
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom, rgba(var(--beam), 0.6) 0%, rgba(var(--beam), 0.22) 55%, rgba(var(--beam), 0.04) 100%);
  filter: blur(16px);
}
.pool {
  position: absolute; left: 50%; bottom: -1%; width: 92%; height: 11%; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(var(--beam), 0.6), rgba(var(--beam), 0.16) 60%, transparent);
}
.light-spot img {
  position: absolute; left: 50%; bottom: 3.5%; height: 88%; width: auto; max-width: none; translate: -50% 0;
  filter: drop-shadow(0 0 22px rgba(var(--beam), 0.35)); will-change: filter, opacity;
}
.light-gold .light-spot img {
  height: 96%; bottom: 0; translate: -47% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 97%); mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
}
.light .act-time { font: 400 0.9375rem/1 var(--text); letter-spacing: 0.3em; color: var(--gold); margin-bottom: 14px; opacity: 1; font-variant-numeric: tabular-nums; }
.light h3 { font: 300 clamp(2.25rem, 3.4vw, 3.25rem)/1.1 var(--display); margin-bottom: 14px; }
.light-text { max-width: 20em; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.65; }

@media (max-width: 860px) {
  .opening { min-height: 600px; }
  .stage { left: 50%; width: max(100vw, calc(100svh * 0.7534)); aspect-ratio: 880 / 1168; }
  .stage-dancer { bottom: 7.2%; height: 78.4%; }
  .stage-shadow { left: 51.5%; top: 86.2%; width: 34%; height: 3%; }
  .opening-shade { background: linear-gradient(to bottom, rgba(5, 1, 4, 0.9) 0%, rgba(5, 1, 4, 0.35) 24%, rgba(5, 1, 4, 0) 40%, rgba(5, 1, 4, 0) 58%, rgba(5, 1, 4, 0.93) 80%, var(--night) 100%); }
  .opening-text { position: absolute; inset: calc(var(--bar) + 6px) var(--m) 22px; top: calc(var(--bar) + 6px); translate: none; width: auto;
    display: flex; flex-direction: column; align-items: center; text-align: center; }
  .opening .intro-place { margin-bottom: 10px; }
  .opening .intro-title { font-size: clamp(2rem, 9.4vw, 2.875rem); }
  .opening .intro-rule { display: none; }
  .opening .intro-sub { margin-top: auto; font-size: 1.0625rem; }
  .opening .intro-actions { margin-top: 14px; width: 100%; }
  .opening .next-line { text-align: center; }
  .lights { grid-template-columns: 1fr; gap: 56px; }
  .light-spot { height: 420px; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .stage, .js .opening-text { visibility: visible; }
}

/* ---------- v6.1 fix: the stage is sized by the screen height, so she always stands whole inside the spotlight ---------- */
.stage {
  left: 40%; width: calc(100svh * 1.787); aspect-ratio: 2400 / 1343; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
}
.stage-dancer { left: 50%; translate: none; transform: translateX(-50%); height: 82%; bottom: 4.2%; }
.opening-text { width: min(31rem, 34vw); }
.opening .intro-title { font-size: clamp(2.25rem, 3.5vw, 4rem); }
.beam { left: 8%; translate: none; }
.pool { left: 4%; translate: none; }
@media (max-width: 860px) {
  .stage { left: 50%; width: max(100vw, calc(100svh * 0.7534)); aspect-ratio: 880 / 1168; -webkit-mask-image: none; mask-image: none; }
  .stage-dancer { height: 78.4%; bottom: 7.2%; }
  .opening-text { width: auto; }
}

/* ---------- v6.2: soft light instead of hard cones, figures at one scale ---------- */
.lesson-head { margin-bottom: clamp(24px, 3vw, 48px); }
.light-spot { height: clamp(420px, 42vw, 620px); }
.beam { top: 0; left: 6%; width: 88%; height: 100%; clip-path: none; background: none; filter: blur(26px); opacity: 0.85; }
.beam::before {
  content: ''; position: absolute; inset: 0;
  clip-path: polygon(46% 0, 54% 0, 92% 100%, 8% 100%);
  background: linear-gradient(to bottom, rgba(var(--beam), 0.5) 0%, rgba(var(--beam), 0.2) 50%, rgba(var(--beam), 0.03) 100%);
}
.pool { bottom: 0; height: 9%; left: 10%; width: 80%; filter: blur(6px); }
.light-spot img, .light-gold .light-spot img {
  height: 78%; bottom: 4%; translate: -50% 0;
  -webkit-mask-image: none; mask-image: none;
}
.lesson { padding-bottom: clamp(72px, 9vw, 140px); }
.day[aria-pressed='false'] { color: #1a0610; opacity: 0.8; }

/* ---------- v6.3: gold for the name, the headline and the buttons; white for the supporting text ---------- */
.wordmark, .opening .il {
  background: var(--gold-grad); background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.opening .il { padding-block: 0.06em; }
.opening .intro-title { text-shadow: none; filter: drop-shadow(0 2px 18px rgba(5, 1, 4, 0.75)); }
.btn { background: var(--gold-grad); background-size: 200% 100%; color: #1a0610; font-weight: 600;
  transition: transform 160ms var(--ease-out), background-position 600ms var(--ease-out); }
.btn-dark { background: var(--night); color: var(--ink); }
.dock { background: var(--gold-grad); color: #1a0610; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--gold-grad); background-size: 200% 100%; background-position: 100% 50%; }
  .btn-dark:hover { background: #2a1420; }
  .bar-links a:hover { color: var(--gold); }
}
.bar-links a { color: #fff; }
.opening .intro-place, .opening .intro-sub, .opening .next-line { color: #fff; opacity: 1; }

/* ---------- v6.4 top bar: a real surface once the page scrolls, so it never looks like it cuts the text ---------- */
.bar { border-bottom: 1px solid transparent; transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease; }
.bar.is-solid {
  background: rgba(8, 2, 6, 0.97);
  border-bottom-color: rgba(200, 166, 106, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}
@supports (backdrop-filter: blur(1px)) {
  .bar.is-solid { background: rgba(8, 2, 6, 0.95); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}

/* =====================================================================
   v7 — the opening is film: Dalilla really dancing in her studio, with her students.
   Computer: the film fills the left of the screen edge to edge, the words sit on warm plum.
   Phone: the film fills the screen, the words sit on soft plum shades above and below her.
   ===================================================================== */
.film {
  --plum: #2a0a20; --plum-deep: #160510;
  display: grid; grid-template-columns: minmax(0, 1fr) min(52vw, calc(100svh * 0.64));
  background:
    radial-gradient(90% 75% at 0% 52%, rgba(196, 44, 140, 0.30) 0%, rgba(196, 44, 140, 0) 60%),
    radial-gradient(70% 60% at 85% 18%, rgba(200, 166, 106, 0.10) 0%, rgba(200, 166, 106, 0) 70%),
    linear-gradient(160deg, #3a0f2c 0%, var(--plum) 48%, var(--plum-deep) 100%);
}
.film-reel { grid-column: 2; grid-row: 1; position: relative; overflow: hidden; height: 100%; }
.film-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  display: block; background: var(--plum-deep); will-change: transform, clip-path;
}
/* the film melts into the plum on its inner edge instead of ending on a hard line */
.film-reel::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to left, var(--plum) 0%, rgba(42, 10, 32, 0.55) 7%, rgba(42, 10, 32, 0) 20%),
              linear-gradient(to bottom, rgba(22, 5, 16, 0.55) 0%, rgba(22, 5, 16, 0) 16%, rgba(22, 5, 16, 0) 86%, rgba(22, 5, 16, 0.6) 100%);
}
.film .opening-shade { display: none; }
.film .opening-text {
  grid-column: 1; grid-row: 1; position: relative; inset: auto; translate: none; top: auto;
  align-self: center; justify-self: start; width: min(36rem, 100%);
  padding-inline: var(--m) clamp(28px, 4vw, 72px); padding-top: var(--bar);
}
.film .intro-title { font-size: clamp(2.6rem, 4.4vw, 5rem); filter: drop-shadow(0 2px 22px rgba(10, 2, 8, 0.45)); }
.film .intro-sub { text-shadow: none; max-width: 25em; }
.film .next-line { text-shadow: none; }
.js .film-reel, .js .film .opening-text { visibility: hidden; }

@media (max-width: 860px) {
  .film { display: block; height: 100svh; min-height: 620px; background: var(--plum-deep); }
  .film-reel { position: absolute; inset: 0; }
  .film-video { object-position: 50% 35%; }
  .film-reel::after {
    background: linear-gradient(to bottom,
      rgba(22, 5, 16, 0.88) 0%, rgba(22, 5, 16, 0.62) 17%, rgba(22, 5, 16, 0) 33%,
      rgba(22, 5, 16, 0) 52%, rgba(22, 5, 16, 0.78) 70%, rgba(22, 5, 16, 0.96) 84%, var(--night) 100%);
  }
  .film .opening-text {
    position: absolute; inset: calc(var(--bar) + 4px) var(--m) 22px; padding: 0; width: auto;
    display: flex; flex-direction: column; align-items: center; text-align: center;
  }
  .film .intro-title { font-size: clamp(2rem, 9.4vw, 2.875rem); }
  .film .intro-sub { margin-top: auto; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .js .film-reel, .js .film .opening-text { visibility: visible; }
}
/* v7.1: menu stays readable over the bright studio wall; the title keeps to two lines */
@media (min-width: 861px) {
  .film-reel::after {
    background: linear-gradient(to left, var(--plum) 0%, rgba(42, 10, 32, 0.55) 7%, rgba(42, 10, 32, 0) 20%),
                linear-gradient(to bottom, rgba(22, 5, 16, 0.9) 0%, rgba(22, 5, 16, 0.55) 9%, rgba(22, 5, 16, 0) 20%, rgba(22, 5, 16, 0) 86%, rgba(22, 5, 16, 0.6) 100%);
  }
  .film .opening-text { width: min(46rem, 100%); }
  .film .intro-title { font-size: clamp(2.5rem, 3.9vw, 4.6rem); }
}
/* v7.2 phone: the words stretch from the top shade to the bottom shade (abspos ignores nothing — reset the grid centring) */
@media (max-width: 860px) {
  .film .opening-text { align-self: auto; justify-self: auto; }
}
@media (max-width: 860px) {
  .film-reel::after {
    background: linear-gradient(to bottom,
      rgba(22, 5, 16, 0.94) 0%, rgba(22, 5, 16, 0.78) 18%, rgba(22, 5, 16, 0.35) 27%, rgba(22, 5, 16, 0) 36%,
      rgba(22, 5, 16, 0) 54%, rgba(22, 5, 16, 0.78) 71%, rgba(22, 5, 16, 0.96) 84%, var(--night) 100%);
  }
  .film .intro-title { font-size: clamp(1.9rem, 8.8vw, 2.6rem); }
}
/* v7.3: the opening melts into the page below instead of ending on a straight line */
.film { position: relative; }
.film::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 22%; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, rgba(13, 4, 9, 0) 0%, rgba(13, 4, 9, 0.7) 60%, var(--night) 100%);
}
.film .opening-text { z-index: 2; }
/* v7.4: the film fades out by transparency (not by painting a colour over it), so it melts into whatever is behind — no seam */
@media (min-width: 861px) {
  .film { grid-template-columns: minmax(0, 1fr) min(58vw, calc(100svh * 0.8)); }
  .film-reel { overflow: visible; }
  .film-reel::after {
    background: linear-gradient(to bottom, rgba(22, 5, 16, 0.85) 0%, rgba(22, 5, 16, 0.45) 9%, rgba(22, 5, 16, 0) 20%);
  }
  .film-video {
    -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,0.25) 12%, rgba(0,0,0,0.75) 26%, #000 40%);
            mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,0.25) 12%, rgba(0,0,0,0.75) 26%, #000 40%);
    object-position: 35% 30%;
  }
}
/* v7.5: browsers ignore a mask on the <video> itself, so the soft fade lives on its wrapper */
@media (min-width: 861px) {
  .film-video { -webkit-mask-image: none; mask-image: none; }
  .film-reel {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,0.2) 10%, rgba(0,0,0,0.6) 22%, rgba(0,0,0,0.92) 34%, #000 44%);
            mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,0.2) 10%, rgba(0,0,0,0.6) 22%, rgba(0,0,0,0.92) 34%, #000 44%);
  }
}

/* =====================================================================
   v8 — light and warm: cream and plum take turns. No black anywhere.
   Plum sections: ivory words. Cream sections: plum words, deeper gold.
   ===================================================================== */
:root {
  --night: #3a1131; --night-2: #4a1a3f; --night-3: #58224b;
  --ink: #f6eee3; --ink-soft: #dcc8cf; --gold: #d8b46e;
  --cream: #f6efe4; --cream-2: #ece1d1; --cream-3: #e3d4bf; --plum-ink: #3a1131; --plum-soft: #6b4a5f; --gold-deep: #94702c;
}
html, body { background: var(--night); }
.yours, .lesson, .dalilla, .voices, .worries, .offer, .foot { background: var(--night); color: var(--ink); }
.tone-cream {
  --night: var(--cream); --night-2: var(--cream-2); --night-3: var(--cream-3);
  --ink: var(--plum-ink); --ink-soft: var(--plum-soft); --gold: var(--gold-deep);
  background: var(--cream); color: var(--plum-ink);
}
/* the opening hands over to the plum below without a line */
.film::after { background: linear-gradient(to bottom, rgba(58, 17, 49, 0) 0%, rgba(58, 17, 49, 0.7) 60%, var(--night) 100%); }
.film { --plum: #3a1131; --plum-deep: #2a0b23; }
.film { background:
    radial-gradient(90% 75% at 0% 52%, rgba(214, 64, 160, 0.32) 0%, rgba(214, 64, 160, 0) 60%),
    radial-gradient(70% 60% at 85% 18%, rgba(216, 180, 110, 0.14) 0%, rgba(216, 180, 110, 0) 70%),
    linear-gradient(160deg, #4f1741 0%, #3a1131 55%, #2e0d27 100%); }
/* the top bar becomes plum, not black */
.bar.is-solid { background: rgba(58, 17, 49, 0.97); border-bottom-color: rgba(216, 180, 110, 0.45); box-shadow: 0 10px 28px rgba(40, 8, 32, 0.35); }
@supports (backdrop-filter: blur(1px)) { .bar.is-solid { background: rgba(58, 17, 49, 0.93); } }
/* Dalilla's photo melts into cream */
.dalilla.tone-cream::after {
  background: linear-gradient(to left, var(--cream) 0%, var(--cream) 32%, rgba(246, 239, 228, 0.6) 48%, rgba(246, 239, 228, 0) 66%),
              linear-gradient(to bottom, var(--cream) 0%, transparent 14%, transparent 86%, var(--cream) 100%);
}
@media (max-width: 860px) {
  .dalilla.tone-cream::after { background: linear-gradient(to bottom, var(--cream) 0%, transparent 10%, transparent 40%, var(--cream) 64%); }
}
/* cards and questions on cream: soft paper, plum text */
.tone-cream .quotes blockquote, .tone-cream .worry-list details { background: #fffaf2; box-shadow: 0 1px 0 rgba(58, 17, 49, 0.06), 0 12px 30px -18px rgba(58, 17, 49, 0.25); }
.tone-cream .worry-list details[open] { background: #fff; }
.tone-cream .btn-dark, .tone-cream .day[aria-pressed='true'] { background: var(--plum-ink); color: var(--cream); }
.tone-cream .foot-name { color: var(--plum-ink); }
.tone-cream a:hover { color: var(--gold-deep); }
/* a little more air between neighbouring colours */
.yours, .voices, .worries { padding-bottom: var(--gap); }
/* v8.1: Dalilla's stage photo sits on a slightly deeper plum so the blue light reads as theatre, not haze */
.tone-deep { --night: #2f0d28; --night-2: #3d1434; --night-3: #4a1a3f; background: var(--night); }
.dalilla.tone-deep::after {
  background: linear-gradient(to left, var(--night) 0%, var(--night) 32%, rgba(47, 13, 40, 0.55) 48%, rgba(47, 13, 40, 0) 66%),
              linear-gradient(to bottom, var(--night) 0%, transparent 16%, transparent 84%, var(--night) 100%);
}
@media (max-width: 860px) {
  .dalilla.tone-deep::after { background: linear-gradient(to bottom, var(--night) 0%, transparent 10%, transparent 36%, var(--night) 62%); }
}
/* the ticket on cream: a soft shadow so the gold lifts off the paper */
.tone-cream .ticket { box-shadow: 0 30px 60px -28px rgba(58, 17, 49, 0.45); }
.tone-cream .clip { box-shadow: 0 16px 34px -20px rgba(58, 17, 49, 0.5); }
.offer { padding-bottom: var(--gap); }

/* ---------- v9: name as the headline, two-paragraph "yours", imagined hour, live timetable window ---------- */
.film .intro-title .intro-role {
  display: block; margin-top: 0.5em; max-width: 19em;
  font: 400 clamp(1.125rem, 1.55vw, 1.6rem)/1.35 var(--text); letter-spacing: 0;
  background: none; color: var(--ink); -webkit-text-fill-color: var(--ink);
}
.lit-more { max-width: 40em; font-size: clamp(1.125rem, 1.45vw, 1.375rem); line-height: 1.75; color: var(--ink-soft); text-wrap: pretty; }
.lesson-intro { max-width: 34em; font-size: clamp(1.125rem, 1.45vw, 1.375rem); line-height: 1.7; color: var(--ink-soft); text-wrap: pretty; }
.lesson-head .headline { max-width: 16em; text-wrap: balance; }
.lesson-end {
  max-width: 30em; margin: clamp(48px, 6vw, 88px) auto 0; text-align: center; text-wrap: balance;
  font: 300 clamp(1.375rem, 2.3vw, 2.125rem)/1.45 var(--display); color: var(--ink);
}
.sched {
  margin-top: 22px; padding: 16px 18px 14px; border-radius: 18px;
  background: rgba(42, 9, 34, 0.9); color: #f6eee3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 30px -18px rgba(30, 5, 22, 0.8);
}
.sched-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 1rem; }
.sched-dot { width: 8px; height: 8px; border-radius: 50%; background: #7fd49a; box-shadow: 0 0 0 0 rgba(127, 212, 154, 0.6); animation: schedPulse 2.4s ease-out infinite; }
@keyframes schedPulse { 70% { box-shadow: 0 0 0 7px rgba(127, 212, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 212, 154, 0); } }
.sched-live { margin-inline-start: auto; font-weight: 400; font-size: 0.8125rem; color: #cdb6c4; }
.sched-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.sched-list li {
  display: grid; grid-template-columns: 6.2em 1fr auto; align-items: baseline; gap: 4px 12px;
  padding: 9px 0; border-top: 1px solid rgba(246, 238, 227, 0.12); font-size: 1rem;
}
.s-day { font-weight: 600; }
.s-type { color: #dcc8cf; }
.s-time { font-weight: 700; font-variant-numeric: tabular-nums; direction: ltr; }
.s-next { grid-column: 1 / -1; justify-self: start; font-size: 0.8125rem; font-weight: 600; color: #2a0922; background: var(--gold); padding: 2px 10px; border-radius: 999px; }
.sched-all { display: inline-block; margin-top: 8px; font-size: 0.9375rem; font-weight: 600; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .sched-dot { animation: none; } }
@media (max-width: 860px) {
  .film .intro-title .intro-role { font-size: clamp(1rem, 4.4vw, 1.2rem); margin-top: 0.45em; }
  .sched-list li { grid-template-columns: 1fr auto; gap: 2px 10px; }
  .s-day { grid-row: 1; grid-column: 1; }
  .s-time { grid-row: 1; grid-column: 2; }
  .s-type { grid-row: 2; grid-column: 1 / -1; font-size: 0.9375rem; }
  .s-next { grid-row: 3; }
  .sched-live { margin-inline-start: 0; flex-basis: 100%; }
}
/* v9.1: status dot only when the timetable is really live; readable sizes; light gold link on the dark card */
.sched .sched-dot { display: none; }
.sched.is-live .sched-dot { display: inline-block; }
.sched-live { font-size: 0.875rem; }
.s-next { font-size: 0.875rem; }
.sched-list li { padding: 7px 0; }
.sched-all { color: #e2c486; }
/* v9.2: reviewers' fixes */
.mid-cta { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 64px); }
.cta-note { margin-top: 10px; font-size: 0.9375rem; text-align: center; color: #3a1131; }
.price strong { font: 300 clamp(6.5rem, 12vw, 10rem)/0.9 'Noto Serif Hebrew', serif; letter-spacing: -0.02em; color: #3a1131; }
.price span { font: 300 clamp(2.25rem, 3.4vw, 3.25rem)/1 'Noto Serif Hebrew', serif; color: #3a1131; }
.facts { font-weight: 500; }
.facts li::before { width: 7px; height: 7px; top: 0.7em; background: #3a1131; }
.ticket { background: linear-gradient(115deg, #f3dfa6 0%, #e2c27f 45%, #d8b46e 70%, #e9cf8e 100%); }
.ticket-stub { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.ticket-stub .facts { margin: 0; }
.dalilla-photo::after { content: ''; position: absolute; inset: 0; background: #5a1a4a; mix-blend-mode: color; opacity: 0.55; pointer-events: none; }
.foot-name { font-size: clamp(4.5rem, 14vw, 12rem); padding-top: 0.18em; opacity: 0.85; }
@media (max-width: 860px) { .mid-cta .btn { width: 100%; } }
/* v10: the gold title is Dalilla's role; on phones it flows in two lines above her head */
@media (max-width: 860px) {
  .film .intro-title { font-size: clamp(1.6rem, 7vw, 2.1rem); line-height: 1.25; max-width: 15em; }
  .film .intro-title .il { display: inline; }
}
/* v11: the whole title in gold, exactly "דלילה כהן | רקדנית, מורה וכוריאוגרפית לריקודי בטן" */
.film .intro-title { text-wrap: balance; }
.film .intro-title .il { display: inline; }
.film .intro-title .bar-sep { font-weight: 200; opacity: 0.7; padding-inline: 0.05em; }
@media (min-width: 861px) {
  .film .opening-text { width: min(54rem, 100%); }
  .film .intro-title { font-size: clamp(2.3rem, 3.2vw, 3.9rem); line-height: 1.18; }
}
/* v13: gold "הסטודיו האוריינטלי מודיעין"; Dalilla's name and role in white under it */
.film .intro-title { text-wrap: wrap; }
.film .intro-title .il { display: block; }
.film .intro-who { color: #fff; font-size: clamp(1.25rem, 1.6vw, 1.625rem); line-height: 1.45; max-width: 26em; }
@media (min-width: 861px) { .film .intro-title { font-size: clamp(2.6rem, 4.2vw, 4.9rem); line-height: 1.12; } }
@media (max-width: 860px) {
  .film .intro-title { font-size: clamp(2rem, 9vw, 2.75rem); }
  .film .intro-who { font-size: clamp(1.0625rem, 4.6vw, 1.25rem); }
}
.film .intro-who { text-wrap: balance; }
/* v14: Dalilla's own symbols — her gold script logo in the bar, her gold half-mandala rising behind the words */
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { display: block; height: 50px; width: auto; }
.film-mandala {
  position: absolute; z-index: 1; pointer-events: none; bottom: 0;
  inset-inline-start: clamp(12px, 4vw, 80px); width: min(36vw, 620px); height: auto; opacity: 0.2;
}
@media (max-width: 860px) {
  .wordmark img { height: 34px; }
  .film-mandala { inset-inline-start: 50%; translate: 50% 0; width: 96vw; opacity: 0.16; }
}

/* v15: Dalia's own "about me" */
.dalilla-text { max-width: 38rem; gap: 22px; }
.about-list { display: grid; gap: 18px; margin: 4px 0 0; }
.about-list div { display: grid; gap: 4px; padding-inline-start: 16px; border-inline-start: 2px solid rgba(216, 180, 110, 0.55); }
.about-list dt { font-weight: 700; color: var(--gold, #d8b46e); font-size: 1.0625rem; }
.about-list dd { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.about-invite { font: 400 clamp(1.2rem, 1.7vw, 1.5rem)/1.4 var(--display); }
.dalilla .headline span[aria-hidden] { font-size: 0.6em; vertical-align: 0.15em; }
@media (max-width: 860px) {
  .dalilla.tone-deep::after { background: linear-gradient(to bottom, var(--night) 0, transparent 7svh, transparent 34svh, var(--night) 60svh); }
}
.nowrap { white-space: nowrap; }
