/* DJ Shalev Danino: one page, Hebrew, right to left, phone first.
   Colours come from the client's logo. Motion values follow the Taste skill (motion.md) and
   Emil Kowalski's rules (custom ease-out, press scale, hover only on a fine pointer). */

:root {
  --bg: #0F0A0D;
  --band: #191016;
  --field: #1E141A;
  --ink: #F7F2F4;
  --ink-2: rgba(247, 242, 244, .86);
  --muted: #B9ADB3;
  --line: rgba(247, 242, 244, .14);
  --line-strong: rgba(247, 242, 244, .28);

  --action: #C43870;          /* white text on it: 5.1:1 */
  --action-hover: #CF4A7D;
  --pink: #D34078;            /* logo, light end */
  --pink-deep: #9E2654;       /* logo, dark end */
  --pink-text: #EC6A98;       /* small pink text on the ground: 5.6:1 */
  --error: #FF9DBE;

  --font-display: "Secular One", "Rubik", system-ui, sans-serif;   /* one weight (400): never ask it for bold */
  --font-text: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);      /* Emil: strong ease-out for UI */
  --ease-enter: cubic-bezier(.22, 1, .36, 1);    /* Taste: an entrance settling */
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);   /* Emil: sheets and bars */
  --m-in: 150ms;
  --m-out: 120ms;
  --m-press: 100ms;
  --m-image: 600ms;
  --m-image-out: 400ms;

  /* tokens the Taste moments read (the moment.css files in assets/moments) */
  --accent: var(--pink-text);
  --surface: var(--band);
  --nav: 68px;
  --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px;
  --r-md: 6px; --r-lg: 8px;
  --t-small: 14px; --t-lead: 18px; --t-h3: 26px;
  --t-h2: clamp(2.1rem, 8.6vw, 4.2rem);
  --display-weight: 400;
  --display-tracking: 0;

  --radius: 6px;
  --gutter: 20px;
  --padt: 64px;    /* sections are as tall as what they hold (the user asked for no empty space) */
  --padb: 64px;
  --wrap: 1200px;
}

@media (max-width: 767px)  { :root { --bar: calc(76px + env(safe-area-inset-bottom)); } }   /* the phone action bar: the held photo-chapters stage keeps clear of it */
@media (min-width: 640px)  { :root { --gutter: 48px; } }
@media (min-width: 1024px) { :root { --padt: 72px; --padb: 72px; } }

/* ---------- club light: the ground changes tone section by section, smoothly ----------
   Impeccable overdrive: registered properties (@property) let the colours and the glow's place
   interpolate. Only the brand's own pinks and blacks (Impeccable bolder: no new colours). */
@property --tone { syntax: '<color>'; inherits: true; initial-value: #0F0A0D; }
@property --glow { syntax: '<color>'; inherits: true; initial-value: rgba(211, 64, 120, .16); }
@property --glow-x { syntax: '<percentage>'; inherits: true; initial-value: 80%; }
@property --glow-y { syntax: '<percentage>'; inherits: true; initial-value: 12%; }
html {
  --tone: #0F0A0D; --glow: rgba(211, 64, 120, .16); --glow-x: 80%; --glow-y: 12%;
  transition: --tone 1.4s var(--ease-out), --glow 1.4s var(--ease-out), --glow-x 1.8s var(--ease-out), --glow-y 1.8s var(--ease-out);
}
html[data-tone="events"]  { --tone: #13080F; --glow: rgba(211, 64, 120, .22); --glow-x: 14%; --glow-y: 34%; }
html[data-tone="story"]   { --tone: #0E080F; --glow: rgba(158, 38, 84, .32);  --glow-x: 86%; --glow-y: 62%; }
html[data-tone="set"]     { --tone: #120A0F; --glow: rgba(236, 106, 152, .24); --glow-x: 26%; --glow-y: 56%; }
html[data-tone="videos"]  { --tone: #0F090D; --glow: rgba(211, 64, 120, .16); --glow-x: 70%; --glow-y: 36%; }
html[data-tone="reviews"] { --tone: #140910; --glow: rgba(236, 106, 152, .2);  --glow-x: 50%; --glow-y: 50%; }
html[data-tone="gallery"] { --tone: #160C12; --glow: rgba(158, 38, 84, .22);  --glow-x: 18%; --glow-y: 72%; }
html[data-tone="contact"] { --tone: #0F0A0D; --glow: rgba(211, 64, 120, .2);  --glow-x: 76%; --glow-y: 84%; }
@media (prefers-reduced-motion: reduce) { html { transition-duration: .01ms; } }

/* ---------- base and browser surfaces ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: dark;
  background: var(--tone);
  scroll-padding-top: 0;
  scrollbar-color: #3A2732 var(--bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;   /* Emil mobile-native: no grey flash on a tap; every control has its own :active */
}
/* a tap fires at once (no double-tap wait); a long press on a control never selects its words or
   opens the image menu. Body text stays selectable */
a, button, select, label, summary { touch-action: manipulation; }
button, .btn, .ring__item, .rv__card, .setcard, .lb__fig {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
html.lb-open { overflow: hidden; }
body {
  margin: 0;
  background: transparent;   /* html paints the tone; a body background would cover the glow */
  color: var(--ink);
  font: 400 17px/1.65 var(--font-text);
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* the stage light behind everything: one fixed glow that drifts and recolours with the tone */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(70vmax 55vmax at var(--glow-x) var(--glow-y), var(--glow), transparent 70%);
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2 { margin: 0; font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
::selection { background: var(--pink); color: #fff; }
input, select, textarea { caret-color: var(--pink); }
:focus-visible { outline: 2px solid var(--pink-text); outline-offset: 2px; }
.ico { width: 20px; height: 20px; flex: none; fill: currentColor; }
.ico--ig { fill: #FF0069; }
.ico--yt { fill: #FF0000; }

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  /* a phone on its side: the words keep clear of the notch (viewport-fit=cover) */
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

/* ---------- type roles ---------- */
h1 {
  font-size: clamp(2.6rem, 12.8vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.9rem, 7.6vw, 3.3rem);
  line-height: 1.12;
  margin-block-end: 18px;
}
.lead {
  max-width: 34em;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.6;
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--action);
  color: #fff;
  font: 600 17px/1.2 var(--font-text);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 160ms var(--ease-out), background-color var(--m-out) ease;
}
.btn:active { transform: scale(.97); transition-duration: var(--m-press); }
.btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--sm .ico { width: 18px; height: 18px; }
.btn--block { display: flex; width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background-color: var(--action-hover); transform: translateY(-1px); transition-duration: var(--m-in); }
  .btn--ghost:hover { background-color: rgba(247, 242, 244, .08); }
  .btn:active { transform: translateY(1px) scale(.97); }
}

/* one link look: a faint hairline that an ink line draws over */
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background:
    linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px,
    linear-gradient(var(--line-strong), var(--line-strong)) no-repeat right bottom / 100% 1px;
  padding-block-end: 2px;
  transition: background-size var(--m-out) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 100% 1px, 100% 1px; transition-duration: 220ms; }
}

/* ---------- header ---------- */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: calc(68px + env(safe-area-inset-top, 0px));   /* the bar grows under the notch; its content keeps 68px */
  padding-inline: var(--gutter);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  padding-block-start: env(safe-area-inset-top, 0px);
  transition: background-color 200ms ease;
}
.nav.is-scrolled { background-color: rgba(15, 10, 13, .94); }
.nav__logo { display: block; padding-block: 10px; transition: opacity 200ms ease, visibility 0s linear 200ms; }
/* the big neon sign is the logo while the hero shows; the small one comes in once it has gone */
.js .nav:not(.show-logo) .nav__logo { opacity: 0; visibility: hidden; }
.nav.show-logo .nav__logo { transition: opacity 240ms ease, visibility 0s; }
.nav__logo img { height: 26px; width: auto; }
.nav__cta { display: none; }
.nav__end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }

/* the set button: four bars that dance only while the set plays */
.music {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(15, 10, 13, .55);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink);
  font: 600 15px/1 var(--font-text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 160ms var(--ease-out), background-color var(--m-out) ease, box-shadow 200ms ease;
}
.music:active { transform: scale(.97); transition-duration: var(--m-press); }
.music[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--pink), 0 0 18px rgba(211, 64, 120, .35); }
@media (hover: hover) and (pointer: fine) {
  .music:hover { background-color: rgba(247, 242, 244, .1); transform: translateY(-1px); transition-duration: var(--m-in); }
  .music:active { transform: translateY(1px) scale(.97); }
}
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; flex: none; }
.eq i { width: 3px; height: 100%; border-radius: 1px; background: var(--pink-text); transform-origin: 50% 100%; transform: scaleY(.3); }
.eq i:nth-child(2) { transform: scaleY(.6); }
.eq i:nth-child(3) { transform: scaleY(.45); }
.eq i:nth-child(4) { transform: scaleY(.75); }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .eq i { animation: eq 760ms cubic-bezier(.45, 0, .55, 1) infinite alternate; }
  .is-playing .eq i:nth-child(2) { animation-duration: 540ms; animation-delay: -200ms; }
  .is-playing .eq i:nth-child(3) { animation-duration: 880ms; animation-delay: -420ms; }
  .is-playing .eq i:nth-child(4) { animation-duration: 640ms; animation-delay: -100ms; }
}
@keyframes eq { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
@media (min-width: 768px) {
  .nav__cta { display: inline-flex; }
  .nav__logo img { height: 30px; }
}

/* ---------- sections ---------- */
.section, .closing {
  position: relative;
  padding-block: var(--padt) var(--padb);
}

/* hero: the photograph is the hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding-block: calc(120px + env(safe-area-inset-top, 0px)) calc(36px + env(safe-area-inset-bottom, 0px));
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 30%;
}
.hero__media::after {   /* a scrim so the words read over the photograph */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--tone) 0%, rgba(15, 10, 13, .9) 30%, rgba(15, 10, 13, .25) 58%, rgba(15, 10, 13, 0) 72%),
    linear-gradient(to bottom, rgba(15, 10, 13, .55) 0%, rgba(15, 10, 13, 0) 16%);
}
.hero { align-items: stretch; }
.hero__wrap { display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.hero h1 { margin-block-end: 2px; }

/* the neon sign: his logo lit like the DJSHALEV sign on his booth */
.neon img {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, .85))
    drop-shadow(0 0 9px rgba(236, 106, 152, .7))
    drop-shadow(0 0 30px rgba(211, 64, 120, .45));
}
.hero .neon { position: relative; isolation: isolate; width: min(100%, 560px); margin-block-end: auto; padding-block-start: 28px; }
/* the pink haze a lit sign throws on the wall behind it */
.hero .neon::before {
  content: "";
  position: absolute;
  inset: -20% -12% -35%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(211, 64, 120, .3), rgba(211, 64, 120, 0));
  pointer-events: none;
}
.line { display: block; overflow: hidden; padding-block: .08em; margin-block: -.08em; }
.line > span { display: inline-block; }
.hero__lead { font-size: 18px; }
.hero__actions { display: grid; gap: 12px; margin-block-start: 6px; }

@media (min-width: 640px) {
  .hero__actions { display: flex; flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .hero { padding-block: 120px 80px; }
  .hero__wrap { justify-content: center; }
  .hero .neon { margin-block-end: 28px; padding-block-start: 0; }
  .hero__media { inset-inline-start: auto; width: 46%; }
  .hero__media::after {
    background:
      linear-gradient(to left, rgba(15, 10, 13, 0) 55%, var(--tone) 100%),
      linear-gradient(to top, var(--tone) 0%, rgba(15, 10, 13, 0) 22%);
  }
  .hero__wrap > * { max-width: 600px; }
  .hero__lead { font-size: 20px; }
}

/* events: Taste word-highlight. The words rest at half ink and light up as the statement crosses
   the screen; the closing line turns neon pink */
.statement__wrap { display: grid; gap: 28px; align-content: start; }
.statement h2 { margin: 0; }
.statement .mo-wh__text {
  font-size: var(--t-h2);
  line-height: 1.22;
  max-width: 18em;
  margin: 0;
}
.statement .lead { margin-block-start: 4px; }
/* smoother than the kit's 160ms: each word eases into the light, the pink words glow like the sign */
[data-moment="word-highlight"].mo-wh .mo-w { transition: color 520ms var(--ease-out), text-shadow 700ms var(--ease-out); }
[data-moment="word-highlight"].mo-wh strong .mo-w.is-on { text-shadow: 0 0 22px rgba(236, 106, 152, .45); }
/* 3D: a word waits tipped back and stands up as the light reaches it */
@media (prefers-reduced-motion: no-preference) {
  [data-moment="word-highlight"].mo-wh .mo-w {
    display: inline-block;
    transform-origin: 50% 90%;
    transform: perspective(520px) rotateX(38deg) translateY(.06em);
    transition: color 520ms var(--ease-out), text-shadow 700ms var(--ease-out), transform 800ms cubic-bezier(.16, 1, .3, 1);
  }
  [data-moment="word-highlight"].mo-wh .mo-w.is-on { transform: none; }
}

/* the chapters' wipe follows the scroll through two registered properties, so a wheel's steps glide */
@property --mo-c { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --mo-z { syntax: '<number>'; inherits: true; initial-value: 1; }
[data-moment="photo-chapters"].is-live .mo-ph__stage > .mo-ph__pic { transition: --mo-c 220ms linear, --mo-z 220ms linear; }

/* steps: three cards in 3D. One screen, no pinning. They turn into place once (a short cascade),
   then lean toward the pointer on a mouse (main.js, a spring; Emil: decorative tracking wants a spring) */
.steps__wrap { display: grid; gap: 30px; align-content: start; }
.steps__head h2 { margin-block-end: 12px; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; perspective: 1200px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 38% 1fr;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(26, 16, 22, .78);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(0, 0, 0, .35);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: box-shadow 320ms var(--ease-out);
}
.step__pic { margin: 0; overflow: hidden; }
.step__pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.step:nth-child(1) .step__pic img { object-position: 50% 45%; }
.step:nth-child(3) .step__pic img { object-position: 42% 50%; }
.step__body { position: relative; display: grid; gap: 6px; align-content: center; padding: 16px 18px; }
.step__num {
  font: 400 2.6rem/1 var(--font-display);
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 106, 152, .75);
}
.step h3 { margin: 0; font: 400 1.35rem/1.2 var(--font-display); }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .step:hover { box-shadow: 0 0 0 1px rgba(236, 106, 152, .45), 0 26px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(211, 64, 120, .18); }
}
@media (min-width: 640px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .step { grid-template-columns: 1fr; }
  .step__pic img { aspect-ratio: 4 / 3; }
  .step__body { align-content: start; padding: 20px 22px 24px; }
  .step__num { position: absolute; inset-inline-end: 18px; top: -34px; font-size: 3.6rem; }
}
@media (min-width: 1024px) {
  .step__pic img { aspect-ratio: 16 / 11; }
  .step h3 { font-size: 1.6rem; }
}
/* the entrance: from lying back and turned aside to upright, once, 110ms apart */
html.fx .steps__list:not(.is-in) .step {
  opacity: 0;
  transform: translateY(56px) rotateX(-32deg) rotateY(16deg) scale(.94);
}
html.fx .steps__list.is-in:not(.is-settled) .step {
  transition:
    opacity 700ms var(--ease-out) calc(var(--i) * 110ms),
    transform 1100ms cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 110ms),
    box-shadow 320ms var(--ease-out);
}

/* story: Taste photo-chapters, turned for right to left (the panel sits at the stage's lower right) */
[dir="rtl"] [data-moment="photo-chapters"].is-live .mo-ph__panel { left: auto; right: var(--s-5); }
@media (max-width: 639px) {
  [dir="rtl"] [data-moment="photo-chapters"].is-live .mo-ph__panel { left: var(--s-3); right: var(--s-3); }
}
.chapters h2 { margin: 0; }
.chapters .mo-ph__head .lead { margin: 0; }
.chapters .mo-ph__ch h3 { margin: 0; }
.chapters .mo-ph__ch p { margin: 0; color: var(--ink-2); }
[data-moment="photo-chapters"].is-live .mo-ph__panel { box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
[data-moment="photo-chapters"] .mo-ph__ch:nth-child(1) .mo-ph__pic img { object-position: 50% 45%; }
[data-moment="photo-chapters"] .mo-ph__ch:nth-child(3) .mo-ph__pic img { object-position: 42% 50%; }

/* deck: the jog wheel. Turns with the scroll (main.js, eased so it glides and settles, no overshoot)
   and spins on its own while the set plays; the LED arc lights up with the music */
.deck { overflow: hidden; }
/* the record, simplified: the wheel, one button under it, then the playlist of his sets */
.deck__wrap { display: grid; gap: 20px; justify-items: center; }
.deck__text { order: 2; display: grid; justify-items: center; }
.deck__btn .eq i { background: #fff; }
.sets { order: 3; }
@media (min-width: 1024px) {
  /* wheel on one side, the button and the playlist on the other */
  .deck__wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "btn jog" "list jog";
    column-gap: 64px;
    row-gap: 18px;
    align-items: center;
  }
  .deck__text { grid-area: btn; justify-self: stretch; justify-items: start; align-self: end; }
  .sets { grid-area: list; align-self: start; justify-self: stretch; }
  .jog { grid-area: jog; }
}

/* the playlist: one row per set or remix; the chosen row glows, the playing one shows the bars */
.sets {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 560px;
  display: grid;
  gap: 8px;
  perspective: 900px;
}
.sets > li { transform-origin: 50% 0; }
.setcard {
  width: 100%;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 7px;
  padding-inline-end: 14px;
  border: 0;
  border-radius: 12px;
  background: rgba(26, 16, 22, .66);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 260ms var(--ease-out);
}
.setcard:active { transform: scale(.98); transition-duration: var(--m-press); }
.setcard__img { display: block; overflow: hidden; border-radius: 7px; aspect-ratio: 16 / 9; background: #000; }
.setcard__img img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; transition: transform 500ms var(--ease-out); }
.setcard__text { display: grid; gap: 3px; min-width: 0; }
/* dir="auto" in the page: an English name reads from the left (the dots fall at its end), still aligned right */
.setcard__title { font: 400 1.06rem/1.2 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
@media (max-width: 400px) { .setcard { grid-template-columns: 88px minmax(0, 1fr) 24px; gap: 12px; } }
@media (min-width: 640px) { .setcard__title { font-size: 1.14rem; } }
.setcard__meta { color: var(--muted); font-size: 13.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.setcard__state { position: relative; display: grid; place-items: center; width: 28px; height: 28px; }
.setcard__play { width: 18px; height: 18px; fill: var(--ink-2); transition: opacity 160ms ease, transform 200ms var(--ease-out); }
.setcard__state .eq { position: absolute; opacity: 0; transform: scale(.6); transition: opacity 160ms ease, transform 200ms var(--ease-out); }
.setcard.is-current {
  background: rgba(211, 64, 120, .13);
  box-shadow: inset 0 0 0 1px rgba(236, 106, 152, .55), 0 0 28px rgba(211, 64, 120, .16);
}
.setcard[aria-pressed="true"] .setcard__play { opacity: 0; transform: scale(.6); }
.setcard[aria-pressed="true"] .setcard__state .eq { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .setcard:hover { background: rgba(247, 242, 244, .07); }
  .setcard.is-current:hover { background: rgba(211, 64, 120, .18); }
  .setcard:hover .setcard__img img { transform: scale(1.07); }
  .setcard:hover .setcard__play { fill: var(--pink-text); }
}
/* the rows fold down into place one after another, once, when the playlist comes on screen */
html.fx .sets:not(.is-in) > li { opacity: 0; transform: translateY(18px) rotateX(-30deg); }
html.fx .sets.is-in > li {
  transition: opacity 520ms var(--ease-out) calc(var(--i) * 70ms), transform 760ms cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 70ms);
}
.jog {
  margin: 0 auto;
  width: min(100%, 520px);
  aspect-ratio: 1;
  perspective: 1400px;
}
/* 3D: the wheel is a disc with a thickness, seen from above at an angle that changes as it passes
   through the screen (and leans toward a mouse); main.js sets --jog-rx and --jog-ry */
.jog__body {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--jog-rx, 22deg)) rotateY(var(--jog-ry, 0deg));
}
.jog__edge {
  position: absolute;
  inset: .6%;
  border-radius: 50%;
  background: radial-gradient(circle, #1c1418 62%, #060405 100%);
  transform: translateZ(-24px);
  box-shadow: 0 40px 70px rgba(0, 0, 0, .6), 0 0 60px rgba(211, 64, 120, .12);
}
.jog svg { position: relative; display: block; width: 100%; height: 100%; overflow: visible; transform: translateZ(0); }
.jog__platter { transform-box: view-box; transform-origin: 50% 50%; }
.jog.is-live .jog__platter { will-change: transform; }
.jog__arc { stroke: var(--pink-text); opacity: .55; transition: opacity 600ms var(--ease-out); }
.jog__arc--glow { stroke: var(--pink); opacity: .14; }
.jog__cue { fill: var(--pink-text); }
.set-playing .jog__arc { opacity: 1; }
.set-playing .jog__arc--glow { opacity: .4; }
@media (min-width: 1024px) {
  .deck__wrap { gap: 24px; }
  .jog { width: min(100%, 560px, 66svh); }
}

/* reels: three vertical videos; a tap plays one with sound and stops the others */
.reels__wrap { display: grid; gap: 28px; }
.reels__head h2 { margin-block-end: 14px; }
.reels__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reel { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 9 / 16; background: #000; }
/* phone: the main video wide, two side by side, then the wedding wide again (full, half-half, full) */
.reel--lead, .reel--wide { grid-column: 1 / -1; aspect-ratio: auto; height: min(68svh, 600px); }
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: linear-gradient(to top, rgba(15, 10, 13, .5), rgba(15, 10, 13, 0) 50%);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 220ms var(--ease-out);
}
.reel__play svg {
  width: 64px;
  height: 64px;
  padding: 20px 18px 20px 22px;
  border-radius: 50%;
  fill: #fff;
  background: rgba(15, 10, 13, .55);
  box-shadow: 0 0 0 1px rgba(247, 242, 244, .4), 0 0 26px rgba(211, 64, 120, .45);
  transition: transform 180ms var(--ease-out), background-color 150ms ease;
}
.reel__play:active svg { transform: scale(.94); transition-duration: var(--m-press); }
@media (hover: hover) and (pointer: fine) {
  .reel__play:hover svg { transform: scale(1.06); background-color: var(--action); }
}
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; }
.reels__more { margin: 0; font-weight: 500; }
.reels__more .link { min-height: 44px; }
@media (min-width: 640px) {
  .reels__grid { grid-template-columns: repeat(4, 1fr); }
  .reel--lead, .reel--wide { grid-column: auto; aspect-ratio: 9 / 16; height: auto; }
}
@media (min-width: 1024px) {
  .reels__wrap { grid-template-columns: minmax(260px, .62fr) 2.38fr; grid-template-rows: auto 1fr; column-gap: 64px; row-gap: 20px; align-items: start; }
  .reels__head { grid-column: 1; grid-row: 1; }
  .reels__more { grid-column: 1; grid-row: 2; }
  .reels__grid { grid-column: 2; grid-row: 1 / span 2; gap: 14px; max-height: 70svh; }
  .reel { max-height: 70svh; }
}

/* the set player: YouTube's player in a small dock, slides up when opened */
.player {
  position: fixed;
  z-index: 18;
  inset-inline-end: 16px;
  inset-block-end: 16px;
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 10px;
  background: var(--band);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px var(--line), 0 0 34px rgba(211, 64, 120, .18);
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transform-origin: 0 100%;
  transition: transform 200ms var(--ease-out), opacity 160ms ease;
}
.player.is-open { opacity: 1; transform: none; transition: transform 380ms var(--ease-drawer), opacity 240ms ease; }
.player__bar { display: flex; align-items: center; gap: 10px; padding-inline: 14px 4px; min-height: 48px; }
.player__title { flex: 1; min-width: 0; margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.player__title span { color: var(--muted); font-weight: 400; }
.player__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; }
.player__close svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .player__close:hover { background: rgba(247, 242, 244, .1); } }
.player__frame { aspect-ratio: 16 / 9; min-height: 200px; background: #000; }
.player__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.player__fallback {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  height: 100%;
  padding: 20px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-2);
}
.player__fallback .ico { fill: #FF0000; }
.player__fallback .btn { background: var(--ink); color: var(--bg); }
@media (max-width: 767px) {
  .player { inset-inline: 12px; inset-block-end: calc(var(--bar) + 8px); width: auto; }
  .music__label { font-size: 14px; }
}

/* gallery: a darker band, two more photographs and the links */
.gallery { background: transparent; overflow-x: clip; }   /* the ring's side photographs never widen the page */
.gallery__wrap { display: grid; gap: 32px; }
.gallery__links { display: grid; gap: 14px; margin-block-start: 22px; font-weight: 500; }
.gallery__links .link, .gallery__links a { min-height: 44px; }
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.shot {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--bg);
}
.shot { display: block; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--m-image-out) var(--ease-out); }
.shot--tee img { object-position: 50% 40%; }
.shot--day img { object-position: 50% 40%; }
@media (hover: hover) and (pointer: fine) {
  .m-zoom:hover img { transform: scale(1.03); transition-duration: var(--m-image); }
}
@media (min-width: 1024px) {
  .gallery__head { display: grid; grid-template-columns: 1fr auto; column-gap: 72px; align-items: end; }
  .gallery__head h2, .gallery__head .lead { grid-column: 1; }
  .gallery__links { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}

/* the photo ring: a stage carousel in CSS 3D. At rest (no script, reduced motion) a plain grid */
/* twelve photographs, 30 degrees apart; the radius keeps a small gap between neighbours
   (2 * r * sin 15deg is a little more than the width) */
.ring { --w: 140px; --r: 290px; --step: 30deg; position: relative; }
.ring__spin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ring__item { position: relative; display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 3 / 4; background: #000; }
.ring__item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; transition: opacity 120ms ease; }
.ring__item:active img { opacity: .82; }
.ring__item:focus-visible { outline: 2px solid var(--pink-text); outline-offset: 3px; }
@media (min-width: 640px) { .ring { --w: 180px; --r: 370px; } .ring__spin { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .ring { --w: 220px; --r: 460px; } .ring__spin { grid-template-columns: repeat(6, 1fr); } }

.ring.is-3d .ring__stage {
  position: relative;
  height: calc(var(--w) * 1.333 + 90px);
  perspective: 1200px;
  perspective-origin: 50% 35%;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.ring.is-3d .ring__stage.is-dragging { cursor: grabbing; }
/* the stage floor the ring stands on: a soft pink pool of light */
.ring.is-3d .ring__stage::after {
  content: "";
  position: absolute;
  inset-inline: 8%;
  bottom: 0;
  height: 70px;
  background: radial-gradient(closest-side, rgba(211, 64, 120, .28), transparent);
  pointer-events: none;
}
.ring.is-3d .ring__spin {
  position: absolute;
  inset: 0;
  display: block;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--r) * -1)) rotateX(-6deg) rotateY(var(--turn, 0deg));
}
.ring.is-3d .ring__item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--w);
  margin-left: calc(var(--w) / -2);
  margin-top: calc(var(--w) * -.72);
  transform: rotateY(calc(var(--k) * var(--step))) translateZ(var(--r));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(247, 242, 244, .12), 0 26px 50px rgba(0, 0, 0, .55);
}
/* the photographs turned away from the front sit in shade (main.js sets --shade per photograph) */
.ring.is-3d .ring__item::after { content: ""; position: absolute; inset: 0; background: #0b070a; opacity: var(--shade, 0); pointer-events: none; }

/* ---------- couples recommend: their WhatsApp messages on a curved wall that drifts ----------
   At rest (no script, reduced motion) a plain row that scrolls sideways and snaps.
   Live (main.js): the cards stand on a concave curve, drift slowly, rise and fall on a wave as they
   pass, a finger or a mouse drags the wall 1:1 and it coasts on release (Emil gestures). */
.reviews { overflow-x: clip; }
.reviews h2 { margin: 0; }
.rv { --cw: min(228px, 62vw); --gap: 14px; position: relative; margin-block-start: 22px; }
@media (min-width: 640px)  { .rv { --cw: 236px; --gap: 20px; } }
@media (min-width: 1024px) { .rv { --cw: 268px; --gap: 24px; margin-block-start: 30px; } }
.rv__track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding: 10px var(--gutter) 22px;
  scrollbar-width: none;
}
.rv__track::-webkit-scrollbar { display: none; }
.rv__card {
  position: relative;
  flex: none;
  width: var(--cw);
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0b070a;
  box-shadow: 0 0 0 1px rgba(247, 242, 244, .16), 0 24px 50px rgba(0, 0, 0, .5);
  cursor: pointer;
  scroll-snap-align: center;
}
.rv__card img { width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; transition: transform 140ms var(--ease-out); }
.rv__card:active img { transform: scale(.97); transition-duration: var(--m-press); }
.rv__card:focus-visible { outline: 2px solid var(--pink-text); outline-offset: 4px; }
.rv__card::after { content: ""; position: absolute; inset: 0; background: #0b070a; opacity: var(--shade, 0); pointer-events: none; }

.rv.is-live {
  height: calc(var(--cw) * 1.47 + 70px);
  perspective: 1100px;
  perspective-origin: 50% 45%;
  touch-action: pan-y;          /* the browser keeps the page's scroll, the wall takes the sideways drag */
  cursor: grab;
}
.rv.is-live.is-dragging { cursor: grabbing; }
/* the track is a flat plane in the 3D scene: it must never catch a tap meant for a message at its depth */
.rv.is-live .rv__track { position: absolute; inset: 0; display: block; overflow: visible; padding: 0; transform-style: preserve-3d; pointer-events: none; }
.rv.is-live .rv__card { pointer-events: auto; }
.rv.is-live .rv__card {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: calc(var(--cw) / -2);
  translate: 0 -50%;
  cursor: inherit;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
/* the floor light under the wall */
.rv.is-live::after {
  content: "";
  position: absolute;
  inset-inline: 10%;
  bottom: -6px;
  height: 60px;
  background: radial-gradient(closest-side, rgba(211, 64, 120, .26), transparent);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .rv:not(.is-live) .rv__card:hover { box-shadow: 0 0 0 1px rgba(236, 106, 152, .55), 0 24px 50px rgba(0, 0, 0, .5), 0 0 34px rgba(211, 64, 120, .22); }
}

/* the viewer: one message large. It opens by growing from 96% and fading in (200ms, ease-out) */
.lb {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 5, 7, .93);
  color: var(--ink);
  overflow: hidden;
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity 160ms ease;
}
.lb::backdrop { background: transparent; }
.lb.is-open { opacity: 1; transition-duration: 220ms; }
.lb__fig {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: calc(70px + env(safe-area-inset-top, 0px)) 16px calc(96px + env(safe-area-inset-bottom, 0px));
  touch-action: pan-y pinch-zoom;   /* sideways is the swipe, a pinch still zooms the words */
  transform: scale(.96);
  transition: transform 200ms var(--ease-out);
}
.lb.is-open .lb__fig { transform: none; transition-duration: 240ms; }
.lb__img {
  width: auto;
  height: auto;
  max-width: min(560px, 100%);
  max-height: calc(100svh - 166px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(247, 242, 244, .14);
  -webkit-user-drag: none;
}
.lb__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 242, 244, .1);
  box-shadow: inset 0 0 0 1px rgba(247, 242, 244, .2);
  color: var(--ink);
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 150ms ease;
}
.lb__btn svg { width: 22px; height: 22px; }
.lb__btn:active { transform: scale(.92); transition-duration: var(--m-press); }
.lb__close { top: calc(12px + env(safe-area-inset-top, 0px)); inset-inline-end: 12px; }
.lb__close svg { width: 20px; height: 20px; }
/* right to left: the previous message waits on the right, the next one on the left (the wall drifts the same way) */
.lb__prev, .lb__next { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.lb__prev { inset-inline-start: 20px; }
.lb__next { inset-inline-end: 20px; }
.lb__next svg { transform: scaleX(-1); }
.lb__count {
  position: absolute;
  left: 50%;
  bottom: calc(34px + env(safe-area-inset-bottom, 0px));
  translate: -50% 0;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}
@media (hover: hover) and (pointer: fine) {
  .lb__btn:hover { background: rgba(247, 242, 244, .2); }
}
@media (min-width: 768px) {
  .lb__fig { padding-inline: 96px; }
  .lb__prev, .lb__next { top: 50%; bottom: auto; translate: 0 -50%; }
  .lb__prev { inset-inline-start: 28px; }
  .lb__next { inset-inline-end: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .lb__fig, .lb.is-open .lb__fig { transform: none; }
}

/* ---------- depth: layers that move apart (mouse) and as the page scrolls ---------- */
.hero__bg { transform: translate3d(calc(var(--h-mx, 0) * -14px), calc(var(--h-p, 0) * 70px + var(--h-my, 0) * -10px), 0) scale(calc(1.06 + var(--h-p, 0) * .06)); }
.hero .neon {
  transform: perspective(800px)
    translate3d(calc(var(--h-mx, 0) * 12px), calc(var(--h-p, 0) * -40px), 0)
    rotateY(calc(var(--h-mx, 0) * 9deg))
    rotateX(calc(var(--h-my, 0) * -7deg + var(--h-p, 0) * 22deg));
}
html.fx .reel,
html.fx .close__photo,
html.fx .foot__sign { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
/* inside a step card the words float above the photograph, the photograph shifts behind them */
.step { overflow: visible; }
.step__pic { border-start-start-radius: 10px; border-end-start-radius: 10px; }
.step__body { transform: translateZ(26px); }
.step__num { transform: translateZ(22px); }
.step__pic img { transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -14px), 0) scale(1.1); }
@media (min-width: 640px) {
  .step__pic { border-radius: 10px 10px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero .neon, .step__body, .step__num, .step__pic img { transform: none; }
}

/* closing: the form, the portrait, then the footer row */
.closing { padding-block-end: calc(var(--padb) + env(safe-area-inset-bottom)); }
.closing__wrap { display: grid; gap: 72px; }
.close { display: grid; gap: 28px; }
.close__photo {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.close__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.close__body .lead { margin-block-end: 26px; }
@media (min-width: 1024px) {
  .closing__wrap { gap: 40px; }
  .close { grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
  .close__photo { order: 2; aspect-ratio: 540 / 352; margin-block-start: 8px; }
  .close__body { order: 1; }
  .close__body .lead { margin-block-end: 20px; }
  .form { gap: 14px; }
}

.form { display: grid; gap: 18px; max-width: 520px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 16px; }
.field__opt { color: var(--muted); font-weight: 400; }
.field input, .field select {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--field);
  color: var(--ink);
  font: 400 17px/1.3 var(--font-text);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field select {
  appearance: none;
  padding-inline-end: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: 22px 50%, 16px 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field select:invalid { color: var(--muted); }
.field select option { color: var(--ink); background: var(--field); }
.field input:focus-visible, .field select:focus-visible {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(211, 64, 120, .35);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: 15px; font-weight: 500; }
.form .btn { margin-block-start: 6px; }
.form__note { color: var(--muted); font-size: 15px; line-height: 1.5; }
.form__status { color: var(--ink-2); font-size: 15px; }
.form__status:empty { display: none; }

.foot {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-block-start: 36px;
  border-block-start: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.foot__sign { width: 100%; padding-block: 8px 4px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-2); }
.foot__links a { min-height: 44px; }
@media (min-width: 1024px) {
  .closing__wrap { gap: 22px; }
  .foot { grid-template-columns: 280px 1fr auto; align-items: center; gap: 40px; padding-block-start: 22px; }
}

/* phone action bar: shows once the hero's buttons are gone, hides at the form */
.actionbar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 15;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 10, 13, .96);
  border-block-start: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 220ms var(--ease-drawer);
}
.actionbar.is-visible { transform: none; transition-duration: 320ms; }
@media (min-width: 768px) { .actionbar { display: none; } }

/* ---------- the hero's entrance, once on load ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* the sign switches on (three short flickers, then it holds), then the words rise and settle */
  html.m-enter:not(.m-enter-done) .hero .neon img { animation: neon-on 900ms cubic-bezier(.4, 0, .2, 1) both; }
  html.m-enter:not(.m-enter-done) .hero .neon::before { animation: bloom 1100ms var(--ease-out) 300ms both; }
  html.m-enter:not(.m-enter-done) .hero .line > span { animation: rise 700ms var(--ease-enter) 260ms both; }
  html.m-enter:not(.m-enter-done) .hero .line:nth-child(2) > span { animation-delay: 340ms; }
  html.m-enter:not(.m-enter-done) .hero__lead { animation: fade-up 520ms var(--ease-enter) 620ms both; }
  html.m-enter:not(.m-enter-done) .hero__actions > :nth-child(1) { animation: fade-up 520ms var(--ease-enter) 680ms both; }
  html.m-enter:not(.m-enter-done) .hero__actions > :nth-child(2) { animation: fade-up 520ms var(--ease-enter) 740ms both; }
  html.m-enter:not(.m-enter-done) .hero__bg { animation: settle 1100ms var(--ease-enter) both; }
}
/* a softer switch-on: two eased flutters, then the tube holds and the haze blooms behind it */
@keyframes neon-on {
  0%   { opacity: 0; }
  14%  { opacity: .7; }
  22%  { opacity: .18; }
  36%  { opacity: .92; }
  44%  { opacity: .5; }
  60%  { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes bloom { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1.06); } }

/* under reduced motion everything stands; colour changes stay */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:active, .actionbar { transition-property: background-color, opacity; }
  .btn:active { transform: none; }
}
