/* =========================================================
   The Silent Music Experience — A Random Matters Production
   Hi-fi component palette: anodized black, graphite, steel,
   smoked glass, brass, LED red.
   ========================================================= */

:root {
  --black: #000;
  --anodized: #0a0a0b;
  --graphite: #1b1c1e;
  --steel: #8c8f94;
  --glass: #14161a;
  --brass: #b08d57;
  --led: #ff2a1f;
  --print: #edebe6;
  --muted: rgba(237, 235, 230, 0.6);
  --faint: rgba(237, 235, 230, 0.36);
  --line: rgba(237, 235, 230, 0.12);

  --f-label: "eurostile-extended", "Helvetica Neue", Arial, sans-serif;
  --f-sans: "neue-haas-grotesk-display", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--anodized); }
body {
  margin: 0;
  background: transparent;
  color: var(--print);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html.intro-active, html.intro-active body { overflow: hidden; height: 100%; }
img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--led); outline-offset: 4px; border-radius: 3px; }
::selection { background: var(--led); color: #000; }

.led {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--led);
  box-shadow: 0 0 8px var(--led), 0 0 2px #fff inset;
  vertical-align: middle;
}

/* =========================================================
   OPENING
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  overflow: hidden;
}
.intro[hidden] { display: none; }

.intro-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

/* The frame is always exactly 16:9, so percentages inside it map onto the render. */
.intro-frame {
  position: relative;
  width: max(100vw, 177.78vh);
  aspect-ratio: 16 / 9;
  flex: none;
  transform-origin: 67.1% 52.7%; /* centre of the LED display */
  will-change: transform, filter;
}
.intro-frame > img,
.intro-frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-video { opacity: 0; transition: opacity 0.3s linear; }
.intro-end { opacity: 0; }

/* Portrait phones: show the whole player instead of cropping it */
@media (max-aspect-ratio: 1/1) {
  .intro-stage { padding-bottom: 22vh; }
  .intro-frame { width: 150vw; }
}

/* idle: the player breathes very slightly */
.intro[data-state="idle"] .intro-frame { animation: idle-drift 9s ease-in-out infinite alternate; }
@keyframes idle-drift { from { transform: scale(1); } to { transform: scale(1.025); } }

/* PLAY-button hotspot, positioned on the render's PLAY key */
.intro-hotspot {
  position: absolute;
  left: 52.1%;
  top: 64.9%;
  width: 4.3%;
  aspect-ratio: 2.1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 4px;
}
.hotspot-ring {
  position: absolute;
  inset: -40%;
  border-radius: 10px;
  border: 1px solid rgba(255, 42, 31, 0.0);
  box-shadow: 0 0 0 0 rgba(255, 42, 31, 0.0);
  animation: ring 2.4s var(--ease-out) infinite 1.6s;
}
@keyframes ring {
  0% { border-color: rgba(255, 42, 31, 0.7); box-shadow: 0 0 18px 2px rgba(255, 42, 31, 0.35); transform: scale(0.8); opacity: 1; }
  100% { border-color: rgba(255, 42, 31, 0); box-shadow: 0 0 30px 6px rgba(255, 42, 31, 0); transform: scale(1.35); opacity: 0; }
}
.intro-hotspot:hover .hotspot-ring,
.intro-hotspot:focus-visible .hotspot-ring { animation-duration: 1.2s; }

/* UI */
.intro-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(7vh, 40px);
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 0 16px;
  text-align: center;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.intro-kicker {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 26px 0 22px;
  border-radius: 3px;
  font-family: var(--f-label);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1a1a1c;
  /* satin aluminium key, like the player's own buttons */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 45%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.035) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #d9dade, #a7a9ae);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 -1px 0 rgba(0, 0, 0, 0.25) inset,
    0 10px 24px -8px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.6);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s;
}
.intro-cta:hover { filter: brightness(1.06); }
.intro-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 4px 10px -6px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6); }
.cta-glyph { color: var(--led); font-size: 13px; text-shadow: 0 0 6px rgba(255, 42, 31, 0.6); }
.intro-hint {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.intro-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.intro-skip {
  position: absolute;
  right: max(16px, 3vw);
  top: max(16px, 3vh);
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 8px 4px;
  transition: color 0.2s;
}
.intro-skip:hover { color: var(--print); }

.intro-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(255, 42, 31, 0.55), rgba(120, 10, 6, 0.35) 45%, #000 80%);
}

/* playing */
.intro[data-state="playing"] .intro-ui,
.intro[data-state="ending"] .intro-ui { opacity: 0; transform: translateY(12px); pointer-events: none; }
.intro[data-state="playing"] .intro-hotspot,
.intro[data-state="ending"] .intro-hotspot { display: none; }
.intro[data-state="playing"] .intro-video { opacity: 1; }

/* ending: push into the glowing display */
.intro[data-state="ending"] .intro-end { opacity: 1; }
.intro[data-state="ending"] .intro-frame {
  animation: push-in 1.7s cubic-bezier(.5, 0, .25, 1) forwards;
}
@keyframes push-in {
  0% { transform: scale(1); filter: blur(0) brightness(1); }
  100% { transform: scale(3.4); filter: blur(10px) brightness(1.35); }
}
.intro.is-leaving { animation: intro-out .7s var(--ease-out) forwards; }
@keyframes intro-out { to { opacity: 0; } }
/* the player dissolves straight into the site underneath: no colour flash */
.intro[data-state="ending"] { animation: intro-dissolve 1.7s cubic-bezier(.45, 0, .2, 1) forwards; pointer-events: none; }
@keyframes intro-dissolve { 0%, 30% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .intro[data-state="idle"] .intro-frame,
  .hotspot-ring { animation: none; }
  .intro[data-state="ending"] .intro-frame { animation: none; }
}

/* =========================================================
   HERO — charms on coiled cords
   ========================================================= */
.site { outline: none; }
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas, .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-canvas { opacity: 0; transition: opacity 1.2s var(--ease-out); touch-action: pan-y; z-index: 2; pointer-events: none; }
.hero.is-3d .hero-canvas { opacity: 1; }
.hero-fallback { object-fit: cover; object-position: 70% 30%; opacity: 0; transition: opacity .8s; }
.hero.no-3d .hero-fallback { opacity: .9; }
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  background:
    radial-gradient(55% 60% at 68% 28%, rgba(40,41,46,.6) 0%, rgba(18,18,20,.35) 55%, transparent 100%),
    linear-gradient(to right, rgba(10,10,11,.45), transparent 45%);
}

.hero-brand {
  position: absolute;
  z-index: 1;               /* on the wall, behind the charms */
  top: max(22px, 3.6vh);
  left: 50%; transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  text-decoration: none;
}
.hb-kicker {
  font-family: var(--f-label); font-weight: 500; font-size: 9px; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap;
  color: rgba(237,235,230,.32);
}
/* the white mark, small and faded so it reads as part of the wall */
.hb-mark {
  display: block; width: clamp(84px, 7vw, 108px); aspect-ratio: 1216 / 459;
  background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.14));
  -webkit-mask: url(../assets/random-matters-mark.png) center / contain no-repeat;
          mask: url(../assets/random-matters-mark.png) center / contain no-repeat;
}

.hero-content {
  position: absolute;
  z-index: auto;
  left: max(16px, 5vw);
  right: max(16px, 5vw);
  bottom: max(36px, 7vh);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  pointer-events: none;
}
.hero-content a { pointer-events: auto; }
.hero-kicker {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(52px, 8.4vw, 148px);
  line-height: .88;
  letter-spacing: -.045em;
  text-wrap: balance;
  /* brushed, lit-from-above lettering mounted on the wall */
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,.05) 1px 2px, transparent 2px 4px),
    linear-gradient(180deg, #f7f4ee 0%, #e2ded6 34%, #a29e97 52%, #cfcbc3 66%, #8d8a84 84%, #bdb9b1 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.12)) drop-shadow(0 18px 26px rgba(0,0,0,.55));
}
.hero-title span {
  display: inline-block; white-space: nowrap;
  font-weight: 400; font-style: italic; letter-spacing: -.03em;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #8f8c86 0%, #5f5c58 55%, #7a7771 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin: 22px 0 0;
  font-family: var(--f-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brass);
}
.hero-side { display: grid; gap: 22px; justify-items: end; padding-bottom: 6px; }
.hero-facts { margin: 0; display: flex; gap: 28px; }
.hero-facts div { display: grid; gap: 6px; text-align: right; }
.hero-facts dt {
  font-family: var(--f-label);
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero-facts dd { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--print); }
.hero-facts dd { white-space: nowrap; }
.hero-content { align-items: flex-end; }
/* the title lives on the wall behind the charms; the facts and RSVP stay in front */
.hero-main { flex: 1 1 auto; min-width: 0; position: relative; z-index: 1; }
.hero-side { flex: 0 0 auto; position: relative; z-index: 3; }

/* satin aluminium key, shared with the opening */
.key-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 26px 0 20px;
  border-radius: 3px;
  font-family: var(--f-label);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1a1c;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 45%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #d9dade, #a7a9ae);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -1px 0 rgba(0,0,0,.25) inset, 0 10px 24px -8px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6);
  transition: transform .12s ease, filter .2s;
}
.key-btn:hover { filter: brightness(1.06); }
.key-btn:active { transform: translateY(2px); }
.key-btn .cta-glyph { font-size: 10px; }

.hero-hint {
  margin: 0;
  font-family: var(--f-label);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
  opacity: 0;
  transition: opacity 1s 1.5s;
}
.hero.is-3d .hero-hint { opacity: 1; }

/* entrance once the intro hands over */
html:not(.intro-active) .hero-main > *,
html:not(.intro-active) .hero-side,
html:not(.intro-active) .hero-brand { animation: rise-c 1.1s var(--ease-out) both; }
@keyframes rise-c { from { opacity: 0; transform: translate(-50%, 24px); } }
html:not(.intro-active) .hero-main > :nth-child(2) { animation-delay: .08s; }
html:not(.intro-active) .hero-main > :nth-child(3) { animation-delay: .16s; }
html:not(.intro-active) .hero-side { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

@media (max-width: 820px) {
  .hero-content { flex-direction: column; align-items: flex-start; gap: 26px; }
  .hero-side { justify-items: start; }
  .hero-facts div { text-align: left; }
  .hero-hint { display: none; }
  .hero-vignette { background: linear-gradient(to top, rgba(10,10,11,.5) 0%, rgba(10,10,11,.35) 40%, transparent 66%); }
}
@media (max-width: 420px) {
  .hero-facts { gap: 14px 22px; flex-wrap: wrap; }
  .hero-facts dd { font-size: 16px; }
}

.section-placeholder {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

/* =========================================================
   SOUND CONTROL — small hardware-style pill, top right
   ========================================================= */
.sound {
  position: fixed;
  z-index: 60;
  top: max(20px, 3.4vh);
  right: max(16px, 5vw);
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 6px 0 14px;
  border-radius: 999px;
  background: rgba(14, 14, 16, .72);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .8s var(--ease-out) .6s, transform .8s var(--ease-out) .6s;
}
.sound[hidden] { display: none; }
.sound.is-in { opacity: 1; transform: none; }
.sound-led { width: 6px; height: 6px; border-radius: 50%; background: #3a3a3d; transition: background .3s, box-shadow .3s; }
.sound[data-playing="true"] .sound-led { background: var(--led); box-shadow: 0 0 8px var(--led); }
.sound-label {
  font-family: var(--f-label);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 64px;
}
.sound-btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--print);
  transition: background .2s;
}
.sound-btn:hover { background: rgba(237,235,230,.1); }
.sound-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.sound-btn[data-sound-skip] svg { fill: currentColor; stroke: none; width: 13px; }
.sound .i-on { display: none; }
.sound[data-playing="true"] .i-on { display: block; }
.sound[data-playing="true"] .i-off { display: none; }
@media (max-width: 420px) { .sound-label { display: none; } .sound { padding-left: 12px; } }

/* =========================================================
   SHARED SECTION PIECES
   ========================================================= */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 max(16px, 5vw); }
.sec { position: relative; padding: clamp(44px, 5.5vw, 84px) 0; }
.sec-label {
  display: flex; align-items: center; gap: 14px; margin: 0 0 36px;
  font-family: var(--f-label); font-weight: 500; font-size: 12.5px; line-height: 1.2; letter-spacing: .26em; text-transform: uppercase; color: rgba(237,235,230,.82);
}
.sec-label span { color: var(--led); padding-right: 14px; border-right: 1px solid var(--line); }
.sec-title {
  margin: 0; font-weight: 600; font-size: clamp(44px, 6.4vw, 104px); line-height: .92; letter-spacing: -.04em;
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.key-dark {
  color: var(--print);
  background: linear-gradient(180deg, #2b2c30, #17181a);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 0 0 1px rgba(0,0,0,.7), 0 10px 24px -10px rgba(0,0,0,.9);
}
.key-wide { width: 100%; justify-content: center; height: 54px; }

/* =========================================================
   LED TICKER
   ========================================================= */
.ticker {
  overflow: hidden; background: transparent; padding: 14px 0; margin-top: clamp(18px, 3.2vw, 46px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker-set { display: flex; align-items: center; gap: 34px; padding-right: 34px; flex: none; }
.ticker span {
  font-family: var(--f-label); font-weight: 900; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap;
  color: #ff3b2f; text-shadow: 0 0 6px rgba(255, 42, 31, .75), 0 0 18px rgba(255, 42, 31, .35);
}
.ticker i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 42, 31, .5); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* =========================================================
   EXPERIENCE — tracks fly from the deck into the sentence
   ========================================================= */
.experience { background: transparent; }
.deck {
  position: relative; border-radius: 14px; padding: 22px 24px 18px;
  background: linear-gradient(180deg, #17181b, #0f1012);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.05) inset;
}
.deck-head { display: flex; justify-content: space-between; margin-bottom: 18px;
  font-family: var(--f-label); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.deck-head span:first-child { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.deck-tracks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.deck-track {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 10px 12px; align-items: center;
  padding: 12px; border-radius: 10px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.04);
}
.deck-no { font-family: var(--f-label); font-size: 10px; letter-spacing: .14em; color: var(--led); align-self: start; }
.deck-slot { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 1; width: clamp(76px, 8vw, 112px); justify-self: end; }
.deck-no { grid-column: 1; grid-row: 1; }
.deck-name { grid-column: 1; grid-row: 2; }
.deck-name { font-family: var(--f-label); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); align-self: end; }
.tile {
  margin: 0; width: 100%; aspect-ratio: 1; border-radius: 18%; overflow: hidden; position: relative;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08);
  transform-origin: center; will-change: transform;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 18px 30px -18px rgba(255,255,255,.18); }
.deck-progress { margin-top: 16px; height: 2px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; }
.deck-progress i { display: block; height: 100%; width: 0; background: var(--led); box-shadow: 0 0 8px var(--led); transition: width .2s linear; }

.statement {
  margin: clamp(80px, 11vw, 150px) auto 0; max-width: 22ch; text-align: center;
  font-weight: 600; font-size: clamp(34px, 5vw, 76px); line-height: 1.06; letter-spacing: -.035em;
}
.slot { display: inline-block; width: .84em; height: .84em; margin: 0 .14em; vertical-align: -0.09em; border-radius: 18%; }
.exp-copy {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; max-width: 860px; margin: clamp(56px, 7vw, 96px) auto 0;
  color: var(--muted); font-size: 18px; line-height: 1.6;
}
.exp-copy p { margin: 0; }

/* =========================================================
   DETAILS — spec sheet
   ========================================================= */
.details { background: transparent; }
.details-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.specs { margin: 0; border-top: 1px solid var(--line-strong, rgba(237,235,230,.22)); }
.spec { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec dt { font-family: var(--f-label); font-weight: 500; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.spec dd { margin: 0; font-size: clamp(20px, 2vw, 28px); font-weight: 400; letter-spacing: -.01em; }
.details .note { max-width: 46ch; }
.ears { margin-top: 8px; padding: 22px 24px; border-left: 2px solid var(--brass); background: rgba(176,141,87,.05); max-width: 44ch; }
.ears-title { margin: 0 0 8px; font-weight: 600; font-size: 20px; }
.ears p:last-child { margin: 0; color: var(--muted); }

/* =========================================================
   PLAYLIST — sphere of discs
   ========================================================= */
.playlist { background: transparent; }
.playlist-head { display: block; margin-bottom: 8px; }
.playlist-intro { margin: 0; max-width: 42ch; color: var(--muted); }
.lens { position: relative; height: min(84vh, 800px); }
.lens-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent); }
.lens.is-engaged .lens-canvas { cursor: pointer; }
.lens-ring { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px 0 0 -43px; pointer-events: none; transition: opacity .4s; }
.lens-ring i, .lens-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(237,235,230,.22);
}
.lens-ring i { animation: lens-breathe 2.8s ease-in-out infinite; border-color: rgba(255,42,31,.45); }
.lens-ring::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); }
@keyframes lens-breathe { 0%, 100% { transform: scale(.7); opacity: 0; } 40% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.lens-info {
  position: absolute; z-index: 2; left: max(16px, 5vw); top: 12px; opacity: 0; display: grid; gap: 6px; max-width: min(520px, 80vw); pointer-events: none;
}
.lens-info.swap > * { animation: li-in .45s var(--ease-out) both; }
.lens-info.swap > :nth-child(2) { animation-delay: .04s; }
.lens-info.swap > :nth-child(3) { animation-delay: .08s; }
@keyframes li-in { from { opacity: 0; transform: translateY(8px); } }
.li-no { font-family: var(--f-label); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--led); }
.li-title { font-weight: 600; font-size: clamp(30px, 4vw, 58px); line-height: .95; letter-spacing: -.035em; }
.li-artist { font-size: clamp(15px, 1.4vw, 19px); color: var(--muted); }
.li-open { margin-top: 6px; font-family: var(--f-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.playlist.no-3d .lens { display: none; }
.playlist-foot { display: grid; justify-items: center; gap: 22px; }
.tracklist { width: 100%; max-width: 900px; }
.tracklist summary {
  list-style: none; cursor: pointer; text-align: center; padding: 10px;
  font-family: var(--f-label); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.tracklist summary::-webkit-details-marker { display: none; }
.tracklist summary::after { content: " +"; }
.tracklist[open] summary::after { content: " −"; }
.tracklist ol { columns: 2; column-gap: 48px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: t; }
.tracklist li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; }
.tracklist li::before { counter-increment: t; content: counter(t, decimal-leading-zero); font-family: var(--f-label); font-size: 10px; color: var(--led); padding-top: 3px; }
.tracklist li span { color: var(--faint); font-size: 13px; }
.tracklist a { color: inherit; text-decoration: none; }
.tracklist a:hover { color: #fff; }

/* =========================================================
   RSVP — remaining-time unit + form
   ========================================================= */
.rsvp { background: transparent; }
.rsvp-head { display: block; margin-bottom: 48px; }
.rsvp-head .note { max-width: 560px; }
.rsvp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: stretch; }
.unit {
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  padding: clamp(22px, 3vw, 34px); border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #232427, #141517);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 40px 80px -40px rgba(0,0,0,.95);
}
.unit-top { display: flex; justify-content: space-between; gap: 16px; font-family: var(--f-label); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.unit-status { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.unit-glass {
  border-radius: 8px; padding: clamp(18px, 3vw, 30px) clamp(14px, 2.5vw, 26px) 16px;
  background: radial-gradient(120% 140% at 30% 0%, #1a0b0a, #090404 60%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.9), inset 0 2px 18px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
.unit-glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.07), transparent 38%); pointer-events: none; }
.seg { display: flex; justify-content: space-between; align-items: center; gap: 2%; }
.seg { gap: 1.2%; }
.seg svg { overflow: visible; display: block; }
.seg .digit { flex: 1 1 0; min-width: 0; width: 100%; height: auto; aspect-ratio: 64 / 104; }
.seg .colon-svg { flex: 0 0 2.6%; width: 2.6%; height: auto; aspect-ratio: 14 / 104; }
.seg .on { fill: #ff2a1f; filter: drop-shadow(0 0 4px rgba(255,42,31,.85)) drop-shadow(0 0 12px rgba(255,42,31,.35)); }
.seg .off { fill: rgba(255,42,31,.07); }
.seg .colon { fill: #ff2a1f; filter: drop-shadow(0 0 4px rgba(255,42,31,.8)); }
.seg-units { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; text-align: center;
  font-family: var(--f-label); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,42,31,.55); }
.unit-foot { margin: 0; font-family: var(--f-label); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.form-card { padding: clamp(22px, 3vw, 40px); border-radius: 12px; border: 1px solid var(--line); background: #0f1012; display: flex; flex-direction: column; justify-content: center; }
#rsvp-form { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--f-label); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field label em { font-style: normal; color: var(--faint); letter-spacing: .1em; text-transform: none; font-family: var(--f-sans); font-size: 12px; margin-left: 6px; }
.field input {
  width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid rgba(237,235,230,.22); border-radius: 0;
  background: transparent; color: var(--print); font: 400 22px/1.2 var(--f-sans); letter-spacing: -.01em;
  transition: border-color .25s;
}
.field input:focus { outline: none; border-bottom-color: var(--led); }
.field.invalid input { border-bottom-color: var(--led); }
.field .err { font-size: 13px; color: #ff6b62; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.3em; font-size: 14px; color: #ff6b62; }
.key-btn[disabled] { opacity: .6; cursor: progress; }
.form-done h3, .form-closed h3, .form-destroyed h3 { margin: 14px 0; font-weight: 600; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -.03em; }
.form-done p, .form-closed p, .form-destroyed p { margin: 0; color: var(--muted); max-width: 40ch; }
.done-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--f-label); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted) !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative; padding: 40px 0 104px;
  /* a recessed plate: the page steps down into a darker floor with a brass under-glow */
  background:
    radial-gradient(60% 70% at 50% 100%, rgba(176,141,87,.08), transparent 70%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.18) 22%, rgba(0,0,0,.42) 55%, rgba(0,0,0,.55));
}
.footer-inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.footer-eos {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.07); border-radius: 999px; background: rgba(255,255,255,.02);
  font-family: var(--f-label); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(237,235,230,.5);
}
.footer-eos .led { width: 6px; height: 6px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); animation: eos 2.4s ease-in-out infinite; }
@keyframes eos { 50% { opacity: .25; } }
.footer-rewind {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
  font-family: var(--f-label); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(237,235,230,.45);
  text-decoration: none; transition: color .3s;
}
.footer-rewind span { font-size: 9px; letter-spacing: -.1em; color: var(--led); }
.footer-rewind:hover { color: var(--print); }
.footer-kicker { margin: 0; font-family: var(--f-label); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.footer-logo { width: min(230px, 62%); height: auto; }
.footer-note { margin: 8px 0 0; font-size: 13px; color: var(--faint); }

/* =========================================================
   FLOATING MENU
   ========================================================= */
.dock {
  position: fixed; z-index: 55; left: 50%; bottom: max(18px, 3vh);
  display: flex; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(14,14,16,.78); border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.9);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .7s var(--ease-out), opacity .5s;
}
.dock.is-in { transform: translate(-50%, 0); opacity: 1; }
.dock a {
  white-space: nowrap;
  position: relative; padding: 10px 16px 10px 22px; border-radius: 999px; text-decoration: none;
  font-family: var(--f-label); font-weight: 500; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transition: color .2s, background .2s;
}
.dock a::before { content: ""; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: transparent; transition: background .2s, box-shadow .2s; }
.dock a:hover { color: var(--print); }
.dock a.active { color: var(--print); background: rgba(255,255,255,.06); }
.dock a.active::before { background: var(--led); box-shadow: 0 0 6px var(--led); }
.dock .dock-rsvp { color: #1a1a1c; background: linear-gradient(180deg, #d9dade, #a7a9ae); font-weight: 900; }
.dock .dock-rsvp.active, .dock .dock-rsvp:hover { color: #1a1a1c; background: linear-gradient(180deg, #e6e7ea, #b4b6bb); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .deck-tracks { grid-template-columns: repeat(2, 1fr); }
  .exp-copy { grid-template-columns: 1fr; }
  .details-grid, .rsvp-head, .rsvp-grid { grid-template-columns: 1fr; }
  .tracklist ol { columns: 1; }
  .lens { height: min(82vh, 160vw); }
}
@media (max-width: 560px) {
  .deck { padding: 16px; }
  .deck-track { grid-template-columns: 1fr; grid-template-rows: auto; }
  .deck-slot { grid-column: 1; grid-row: auto; justify-self: stretch; width: 100%; }
  .deck-no, .deck-name { grid-column: 1; grid-row: auto; }
  .spec { grid-template-columns: 1fr; gap: 6px; }
  .dock { width: calc(100vw - 24px); justify-content: space-between; }
  /* labels never wrap; they shrink with the screen instead */
  .dock a { padding: 9px clamp(5px, 1.8vw, 8px) 9px clamp(11px, 3.4vw, 14px); font-size: clamp(6.5px, 2.25vw, 8.5px); letter-spacing: clamp(.04em, .5vw, .1em); white-space: nowrap; }
  .dock a::before { left: 6px; }
  .statement { font-size: clamp(30px, 8.6vw, 44px); }
}


/* =========================================================
   RSVP DECK — one hi-fi unit: display + form
   ========================================================= */
.deck2 {
  position: relative; border-radius: 16px; padding: 18px clamp(14px, 2vw, 24px) 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 18%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #26272b, #151618 70%, #111214);
  box-shadow:
    0 1px 0 rgba(255,255,255,.14) inset, 0 -1px 0 rgba(0,0,0,.6) inset,
    0 0 0 1px rgba(0,0,0,.8), 0 60px 120px -50px rgba(0,0,0,1), 0 30px 60px -30px rgba(255,42,31,.08);
}
.deck2-top, .deck2-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 8px 14px; }
.deck2-brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-label); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.deck2-brand img { height: 20px; width: auto; opacity: .9; }
.deck2-brand b { color: var(--muted); font-weight: 500; }
.deck2-status { display: flex; align-items: center; gap: 10px; font-family: var(--f-label); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.deck2-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.deck2-foot { padding: 14px 8px 2px; font-family: var(--f-label); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.screw { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8d9096, #2a2b2e 70%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.6); position: relative; }
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 1.5px; margin-top: -.75px; background: rgba(0,0,0,.6); transform: rotate(35deg); }

/* display window */
.deck2-display {
  position: relative; overflow: hidden; border-radius: 10px;
  padding: clamp(16px, 2.4vw, 26px) clamp(14px, 2.4vw, 28px) clamp(14px, 2vw, 22px);
  background: radial-gradient(130% 140% at 30% 0%, #1b0b0a, #080303 62%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.95), inset 0 3px 24px rgba(0,0,0,.95), 0 1px 0 rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 14px;
}
.deck2-display .seg { margin-top: auto; }
.deck2-display .disp-bottom { margin-top: auto; padding-top: 18px; }
.disp-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(255,255,255,.08), transparent 32%), repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); }
.disp-modes { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--f-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,42,31,.18); }
.disp-modes .m-on { color: #ff3b2f; text-shadow: 0 0 6px rgba(255,42,31,.8); }
.disp-modes .m-rec { display: inline-flex; align-items: center; gap: 6px; }
.disp-modes .m-rec i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,42,31,.18); }
.rsvp.is-recording .disp-modes .m-rec { color: #ff3b2f; text-shadow: 0 0 6px rgba(255,42,31,.8); }
.rsvp.is-recording .disp-modes .m-rec i { background: #ff2a1f; box-shadow: 0 0 8px #ff2a1f; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* digits: changing digits flare for a moment, colons pulse with the seconds */
.seg .digit { transition: filter .25s; }
.seg .digit.flip { animation: flare .45s ease-out; }
@keyframes flare { 0% { filter: brightness(1.9) drop-shadow(0 0 6px rgba(255,90,70,.9)); } 100% { filter: none; } }
.seg .colon-svg { animation: colon 1s steps(1) infinite; }
@keyframes colon { 50% { opacity: .25; } }

.disp-bottom { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
/* dot-matrix marquee */
.matrix { overflow: hidden; height: 26px; border-radius: 4px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px rgba(255,42,31,.08); position: relative; }
.matrix-track { display: flex; width: max-content; height: 100%; align-items: center; animation: marquee-l 26s linear infinite; }
.matrix-track span {
  flex: none; padding-right: 48px; white-space: nowrap;
  font-family: var(--f-label); font-weight: 900; font-size: 15px; letter-spacing: .26em; text-transform: uppercase;
  color: #ff3b2f; text-shadow: 0 0 6px rgba(255,42,31,.7);
  -webkit-mask-image: radial-gradient(circle, #000 1.05px, transparent 1.35px); mask-image: radial-gradient(circle, #000 1.05px, transparent 1.35px);
  -webkit-mask-size: 3px 3px; mask-size: 3px 3px;
}
@keyframes marquee-l { to { transform: translateX(-50%); } }
/* VU meter */
.vu { display: grid; gap: 4px; }
.vu-row { display: flex; align-items: center; gap: 3px; }
.vu-row b { font-family: var(--f-label); font-size: 8px; letter-spacing: .1em; color: rgba(255,42,31,.5); width: 9px; }
.vu-row i { width: 8px; height: 12px; border-radius: 1px; background: rgba(255,170,90,.08); transition: background .06s; }
.vu-row i.on { background: #ffb35c; box-shadow: 0 0 5px rgba(255,179,92,.7); }
.vu-row i.hot.on { background: #ff2a1f; box-shadow: 0 0 6px rgba(255,42,31,.9); }

/* form side of the deck */
.deck2-form { border-radius: 10px; background: #0d0e10; border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), inset 0 2px 14px rgba(0,0,0,.7); }
.tape { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.tape-label, .tape-pct { font-family: var(--f-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.tape-pct { min-width: 4ch; text-align: right; color: var(--muted); }
.tape-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.tape-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #b3140c, #ff2a1f); box-shadow: 0 0 8px rgba(255,42,31,.7); transition: width .5s var(--ease-out); }
.rec-dot { color: var(--led); }
.rsvp.is-recording .rec-dot { animation: blink 1s steps(2, start) infinite; }

@media (max-width: 900px) {
  .deck2-body { grid-template-columns: 1fr; }
  .disp-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .deck2-brand, .deck2-status { white-space: nowrap; font-size: 9px; letter-spacing: .12em; }
  .deck2-top { padding: 4px 4px 12px; }
  .deck2-brand img { display: none; }
  .matrix-track span { font-size: 13px; }
}

/* =========================================================
   TITLES — light italic accent word
   ========================================================= */
.sec-title em { font-style: italic; font-weight: 400; color: rgba(237,235,230,.62); letter-spacing: -.03em; }

/* =========================================================
   NOTES — Side A / Side B / Reserve
   ========================================================= */
.exp-copy { gap: 20px; max-width: 980px; }
.note {
  position: relative; padding: clamp(20px, 2.4vw, 30px); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 0 1px rgba(255,255,255,.035);
}
.note::before { content: ""; position: absolute; left: clamp(20px, 2.4vw, 30px); top: 0; width: 36px; height: 2px; background: var(--led); box-shadow: 0 0 10px var(--led); border-radius: 2px; }
.note-side { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-label); font-weight: 500; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.note-side i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,42,31,.55); color: var(--led); font-size: 10px; letter-spacing: 0; }
.note p { margin: 16px 0 0; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.42; letter-spacing: -.01em; color: rgba(237,235,230,.6); }
.note strong { color: var(--print); font-weight: 600; }
.note em { color: var(--print); font-style: italic; font-weight: 400; }

/* =========================================================
   AMBIENT — a faint red glow drifting behind the whole site
   ========================================================= */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(40px);
  background: radial-gradient(closest-side, rgba(196,38,30,.05), rgba(150,30,24,.018) 55%, transparent 75%); }
/* tonal light falloff + film grain so the black reads as a surface, not a void */
.ambient::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 50% -12%, rgba(236,228,214,.045), transparent 62%),
    radial-gradient(90% 60% at 50% 115%, rgba(176,141,87,.035), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.012), rgba(0,0,0,.18)); }
.ambient::after { content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px; opacity: .07; mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(-1%, 4%); } }
.ambient i:nth-child(1) { left: -20vmax; top: -15vmax; animation: drift-a 46s ease-in-out infinite alternate; }
.ambient i:nth-child(2) { right: -25vmax; top: 25vh; animation: drift-b 58s ease-in-out infinite alternate; opacity: .8; }
.ambient i:nth-child(3) { left: 20vw; bottom: -35vmax; animation: drift-c 70s ease-in-out infinite alternate; opacity: .7; }
@keyframes drift-a { to { transform: translate(38vw, 46vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-46vw, -30vh) scale(.9); } }
@keyframes drift-c { to { transform: translate(-24vw, -55vh) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .ambient i, .ambient::after { animation: none; } }

/* narrow screens: logo first, then "Production" */
@media (max-width: 600px) {
  /* phones: the logo sits up top with "Production" beneath it */
  .hero-brand { top: max(20px, 2.6vh); gap: 8px; }
  .hb-pre { display: none; }
  .hb-kicker { order: 2; font-size: 8px; letter-spacing: .34em; }
  .hb-mark { order: 1; width: 86px; }
}

/* =========================================================
   RSVP — live guest count on the deck
   ========================================================= */
.deck2-top { position: relative; }
.deck2-count { display: flex; align-items: center; gap: 12px; margin-left: auto; margin-right: 18px; font-family: var(--f-label); text-transform: uppercase; }
.deck2-count[hidden] { display: none; }
.count-num { display: flex; align-items: baseline; gap: 2px; font-weight: 900; letter-spacing: .06em; color: #ff3b2f; text-shadow: 0 0 6px rgba(255,42,31,.7), 0 0 16px rgba(255,42,31,.3); }
.count-num b { font-size: 20px; font-weight: 900; }
.count-num > span { font-size: 11px; color: rgba(255,59,47,.6); text-shadow: none; }
.count-meta { display: grid; gap: 5px; min-width: 120px; }
.count-label { font-size: 8.5px; letter-spacing: .26em; color: var(--faint); }
.count-bar { position: relative; display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.count-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #8a1a14, var(--led)); box-shadow: 0 0 8px rgba(255,42,31,.6); transition: width 1.2s var(--ease-out); }
.count-left { font-size: 9px; letter-spacing: .2em; color: var(--muted); }
.deck2-count.is-low .count-left { color: #ff5a4f; }
@media (max-width: 640px) {
  .deck2-top { flex-wrap: wrap; }
  .deck2-count { order: 3; width: 100%; margin: 10px 0 0; }
  .count-meta { flex: 1; }
}

/* =========================================================
   RSVP — the self-destructing confirmation
   ========================================================= */
.form-done, .form-destroyed { position: relative; }
.destruct { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06); }
.destruct-line { display: flex; align-items: baseline; gap: 12px; margin: 0 !important; max-width: none !important; font-family: var(--f-label); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted) !important; }
.destruct-line b { min-width: 2ch; font-size: 26px; font-weight: 900; letter-spacing: .02em; color: #ff3b2f; text-shadow: 0 0 8px rgba(255,42,31,.8), 0 0 22px rgba(255,42,31,.35); }
.destruct-fuse { position: relative; height: 2px; margin-top: 12px; background: rgba(255,255,255,.06); border-radius: 2px; }
.destruct-fuse i { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(90deg, #5a1310, #ff2a1f 85%, #ffd2a0); box-shadow: 0 0 10px rgba(255,42,31,.7); }
.destruct-fuse i::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #fff3dc; box-shadow: 0 0 10px #ffb070, 0 0 20px #ff2a1f; animation: spark .18s steps(2) infinite; }
@keyframes spark { 50% { transform: scale(.6); opacity: .6; } }
.form-done.is-critical .destruct-line b { animation: crit .5s ease-in-out infinite; }
@keyframes crit { 50% { opacity: .35; } }
.form-done.is-critical { animation: tremor .12s linear infinite; }
@keyframes tremor { 25% { transform: translate(.6px, -.4px); } 50% { transform: translate(-.5px, .5px); } 75% { transform: translate(.4px, .3px); } }
.form-done.is-destroying { animation: none; visibility: hidden; }
.form-destroyed .done-kicker { color: #ff5a4f !important; }
.form-destroyed { animation: settle 1.2s var(--ease-out) both; }
@keyframes settle { from { opacity: 0; filter: blur(6px); transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .form-done.is-critical, .form-done.is-critical .destruct-line b, .form-destroyed { animation: none; } }
.deck2.is-shaking { animation: deck-shake .55s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes deck-shake {
  10%, 90% { transform: translate(-1px, 1px); } 20%, 80% { transform: translate(3px, -2px); }
  30%, 50%, 70% { transform: translate(-5px, 2px); } 40%, 60% { transform: translate(5px, -1px); } }
/* the explosion draws on a canvas laid over the deck */
.blast { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 70; }

/* =========================================================
   WARM UP — the hidden track (Facebook group)
   ========================================================= */
.bonus {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 36px);
  width: 100%; max-width: 900px; margin-top: 18px; padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 36px);
  border-radius: 14px; text-decoration: none; color: var(--print);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)), #0e0f11;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.06), 0 20px 40px -24px rgba(0,0,0,.8);
  transition: box-shadow .35s, transform .35s var(--ease-out);
}
.bonus::before { content: ""; position: absolute; left: clamp(20px, 3vw, 36px); top: 0; width: 36px; height: 2px; background: var(--led); box-shadow: 0 0 10px var(--led); border-radius: 2px; }
.bonus:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255,42,31,.35), inset 0 1px 0 rgba(255,255,255,.08), 0 26px 50px -24px rgba(0,0,0,.9); }
.bonus-no { font-family: var(--f-label); font-weight: 900; font-size: clamp(34px, 4vw, 52px); letter-spacing: .02em; line-height: 1;
  color: #ff3b2f; text-shadow: 0 0 8px rgba(255,42,31,.75), 0 0 26px rgba(255,42,31,.3); }
.bonus-body { display: grid; gap: 8px; min-width: 0; }
.bonus-side { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-label); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.bonus-title { font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.025em; }
.bonus-title em { font-style: italic; font-weight: 400; color: rgba(237,235,230,.62); }
.bonus-copy { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.bonus-cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; white-space: nowrap;
  font-family: var(--f-label); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #1a1a1c;
  background: linear-gradient(180deg, #e2e3e6, #a9abb0); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 6px 16px -6px rgba(0,0,0,.8); }
.bonus-cta b { font-weight: 900; color: var(--led); }
.bonus.is-pending { pointer-events: none; }
.bonus.is-pending .bonus-cta { background: rgba(255,255,255,.06); color: var(--faint); box-shadow: none; }
@media (max-width: 640px) {
  .bonus { grid-template-columns: auto 1fr; }
  .bonus-cta { grid-column: 1 / -1; justify-self: start; }
}

/* confirmation headline: the guest's name in the light italic accent */
.form-done h3 em { font-style: italic; font-weight: 400; letter-spacing: -.03em; color: rgba(237,235,230,.62); }
/* the note left behind after the self-destruct */
.form-destroyed .destroyed-note { margin: 16px 0 0; max-width: 34ch; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.42; letter-spacing: -.01em; color: rgba(237,235,230,.72); }
.form-destroyed .destroyed-note strong { font-weight: 600; color: var(--print); }
.form-destroyed .destroyed-note em { font-style: italic; font-weight: 400; color: var(--print); }
