/* ==========================================================================
   Adil & Hiba — a Kudumba Unit wedding
   Mobile first. One column, like a reel of film.
   ========================================================================== */

:root {
  --ink: #2a211b;
  --ink-2: #5b4a3b;
  --paper: #efe2c6;
  --paper-2: #e3cfa7;
  --cream: #f6e9cc;
  --teal: #3d7a75;
  --teal-d: #234a47;
  --terra: #b4532a;
  --terra-d: #7a3416;
  --marigold: #e2a11b;
  --rose: #e2a497;
  --henna: #8e9b55;
  --night: #151b29;
  --hall: #1a1513;
  --biro: #233f8f;
  --violet: #5a3e8e;
  --red-ink: #b3261e;

  --f-title: "Shrikhand", "Georgia", serif;
  --f-body: "Gelasio", "Georgia", serif;
  --f-type: "Courier Prime", "Courier New", monospace;
  --f-hand: "Kalam", "Comic Sans MS", cursive;
  --f-ml: "Manjari", "Noto Sans Malayalam", sans-serif;
  --f-ml-hand: "Chilanka", "Manjari", sans-serif;
  --f-ar: "Amiri", "Traditional Arabic", serif;

  --col: 480px;
  --gutter: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);

  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --speck: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='s'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='9' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .24  0 0 0 0 .14  0 0 0 1.1 -.5'/></filter><rect width='100%' height='100%' filter='url(%23s)'/></svg>");
  --fibre: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='.012 .08' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .25  0 0 0 0 .12  0 0 0 .22 -.06'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0f0c0b;
  color: var(--ink);
  font: 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-gated { overflow: hidden; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
[lang="ml"] { font-family: var(--f-ml); }
[lang="ar"] { font-family: var(--f-ar); }
.defs { position: absolute; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px dashed var(--marigold); outline-offset: 4px; }

/* film grain over everything — it never takes a tap */
.grain { position: fixed; inset: 0; z-index: 90; overflow: hidden; pointer-events: none; }
.grain::before {
  content: "";
  position: absolute;
  inset: -60%;
  background-image: var(--noise);
  opacity: .085;
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  17% { transform: translate(-6%, 3%); }
  33% { transform: translate(4%, -7%); }
  50% { transform: translate(-3%, 8%); }
  67% { transform: translate(7%, 2%); }
  83% { transform: translate(-8%, -4%); }
  100% { transform: translate(2%, 5%); }
}

/* ---------- the reel itself ---------- */
.film {
  position: relative;
  max-width: var(--col);
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 0 1px #000, 0 0 80px rgba(0, 0, 0, .7);
}
/* on bigger screens the column becomes a strip of film with sprocket holes */
@media (min-width: 640px) {
  body {
    background:
      radial-gradient(ellipse at 50% 0%, rgba(255, 214, 150, .08), transparent 60%),
      #0f0c0b;
  }
  .film::before, .film::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 30px;
    background:
      radial-gradient(5px 4px at 50% 50%, #3b322c 92%, transparent) 0 0 / 30px 22px repeat-y,
      #191412;
  }
  .film::before { right: 100%; }
  .film::after { left: 100%; }
}

.paper {
  background-color: var(--paper);
  background-image: var(--fibre), var(--speck);
}

.sec-head { text-align: center; padding: 0 var(--gutter); margin-bottom: 28px; }
.sec-head__ml {
  margin: 0 0 2px;
  font-family: var(--f-ml-hand);
  font-size: 19px;
  color: var(--terra);
}
.sec-head h2 {
  margin: 0;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(30px, 9vw, 40px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: .005em;
}
.sec-head--light .sec-head__ml { color: var(--marigold); }
.sec-head--light h2 { color: var(--cream); text-shadow: 2px 2px 0 rgba(0, 0, 0, .35); }

/* gentle entrances; only for things worth noticing */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Gate — the certificate card before the film
   ========================================================================== */
.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  padding: max(24px, env(safe-area-inset-top)) var(--gutter) calc(24px + var(--safe-b));
  background: radial-gradient(ellipse at 50% 40%, #2a2522 0%, #0d0b0a 70%);
  color: #e9e3d3;
  overflow-y: auto;
}
.gate:focus { outline: none; }
.cert { margin-top: auto; }
.gate__actions { margin-bottom: auto; }
.gate__leader {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(255, 255, 255, .05) 50%, transparent 50.4%),
    linear-gradient(transparent 49.6%, rgba(255, 255, 255, .05) 50%, transparent 50.4%);
  animation: flicker 3.2s infinite;
}
.cert {
  width: min(100%, 380px);
  padding: 8px;
  border: 1px solid rgba(233, 227, 211, .55);
  animation: weave 5s steps(40) infinite;
}
.cert__frame {
  border: 3px double rgba(233, 227, 211, .75);
  padding: 18px 18px 16px;
  text-align: center;
  font-family: var(--f-type);
  font-size: 13.5px;
  line-height: 1.45;
}
.cert__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cert__board { margin: 0; text-align: left; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; font-weight: 700; }
.cert__u {
  flex: none;
  margin: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  font: 700 26px/1 var(--f-type);
}
.cert__line { margin: 0; opacity: .82; }
.cert__title {
  margin: 8px 0 2px;
  font-family: var(--f-title);
  font-size: 30px;
  line-height: 1.1;
  color: #fff4dc;
}
.cert__title i { font-family: var(--f-body); font-size: 18px; font-weight: 400; }
.cert__ml { margin: 0 0 10px; font-size: 16px; opacity: .9; }
.cert__verdict {
  margin: 8px 0 14px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: 14px;
}
.cert__meta { margin: 0 0 14px; display: grid; gap: 4px; text-align: left; font-size: 12.5px; }
.cert__meta div { display: flex; gap: 8px; }
.cert__meta dt { flex: 0 0 106px; opacity: .65; }
.cert__meta dt::after { content: " :"; }
.cert__meta dd { margin: 0; }
.cert__sign { display: flex; flex-direction: column; align-items: flex-end; }
.cert__sig { font-family: var(--f-hand); font-size: 22px; line-height: 1; color: #fff; transform: rotate(-4deg); margin-bottom: 2px; }
.cert__chair { font-size: 11px; opacity: .7; border-top: 1px solid rgba(233, 227, 211, .4); padding-top: 3px; }

.gate__actions { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.gate__hint { margin: 2px 0 0; font-family: var(--f-hand); font-size: 17px; color: #cfc4ab; }
.gate__quiet {
  background: none; border: 0; padding: 10px 14px; min-height: 44px;
  font-family: var(--f-type); font-size: 13px; color: #a69a83;
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}

/* a chunky cassette-deck PLAY key */
.play-key {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 30px 15px 18px;
  min-height: 58px;
  border: 0;
  border-radius: 5px 5px 9px 9px;
  background: linear-gradient(#e9e5dc, #bdb7aa 70%, #a59f92);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -3px 0 rgba(0, 0, 0, .18),
    0 6px 0 #5f5a51,
    0 7px 0 #2b2824,
    0 14px 22px rgba(0, 0, 0, .55);
  color: #2b2824;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
  -webkit-tap-highlight-color: transparent;
}
.play-key:active, .play-key.is-down {
  transform: translateY(5px);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, .18), 0 1px 0 #5f5a51, 0 2px 0 #2b2824, 0 4px 8px rgba(0, 0, 0, .5);
}
.play-key__cap {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #d2513a, #9b2c1b);
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 255, 255, .6);
}
.play-key__cap svg { width: 16px; height: 16px; fill: #fbe9d0; margin-left: 2px; }
.play-key__label { font: 700 16px/1 var(--f-type); letter-spacing: .3em; text-transform: uppercase; }

.gate.is-leaving { animation: gate-out .75s ease forwards; }
@keyframes gate-out {
  0% { opacity: 1; filter: none; }
  12% { opacity: .35; }
  20% { opacity: 1; filter: brightness(2.2); }
  32% { opacity: .6; filter: brightness(1); }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes flicker { 0%, 100% { opacity: .9; } 47% { opacity: .9; } 48% { opacity: .5; } 50% { opacity: 1; } 80% { opacity: .8; } }
@keyframes weave {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(.4px, -.5px); }
  50% { transform: translate(-.3px, .4px); }
  75% { transform: translate(.3px, .2px); }
}

/* ==========================================================================
   Hero — title card on the terrace at dusk
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: max(100svh, 680px);
  overflow: hidden;
  background: var(--night);
  color: var(--cream);
  isolation: isolate;
}
.terrace { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.terrace .palms-far { fill: #3a3c52; stroke: #3a3c52; }
.terrace .palms-near { fill: #12141b; stroke: #12141b; }
.terrace .mosque { fill: #3b3c52; }
.terrace .houses { fill: #2a2431; }
.terrace .bulb circle:not(.glow) { fill: #ffd98a; }
.terrace .bulb { animation: twinkle 3.2s ease-in-out infinite; }
.terrace .star { animation: star 6s ease-in-out infinite; }
.terrace .palms-near { transform-box: fill-box; transform-origin: 50% 100%; animation: breeze 9s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 50% { opacity: .55; } 54% { opacity: 1; } 70% { opacity: .85; } }
@keyframes star { 0%, 100% { opacity: .9; } 50% { opacity: .3; } }
@keyframes breeze { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(.6deg); } }

.hero__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55) 100%),
    radial-gradient(ellipse 60% 40% at 88% 12%, rgba(255, 196, 120, .10), transparent 70%);
}
.hero__titles {
  padding: calc(34px + env(safe-area-inset-top)) var(--gutter) 0;
  text-align: center;
  animation: weave 6s steps(48) infinite;
}
.bismillah { margin: 0 0 22px; font-size: 21px; line-height: 1.6; color: #f0dfb6; opacity: .92; }
.presents { margin: 0 0 14px; display: flex; flex-direction: column; gap: 2px; }
.presents [lang="ml"] { font-size: 15px; color: #f0c98a; }
.presents span:last-child {
  font-family: var(--f-type);
  font-size: 11.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #d9cbb0;
}
.names {
  margin: 0;
  font-family: var(--f-title);
  font-weight: 400;
  line-height: .86;
  color: #f7e5bd;
  display: flex;
  flex-direction: column;
}
/* hand-painted, extruded poster lettering */
.names__one, .names__two {
  font-size: clamp(76px, 25vw, 120px);
  text-shadow:
    1px 1px 0 #c25b2f, 2px 2px 0 #c25b2f, 3px 3px 0 #b4532a, 4px 4px 0 #a74b26,
    5px 5px 0 #8f3e1e, 6px 6px 0 #7a3416, 8px 10px 18px rgba(0, 0, 0, .45);
}
.names__one { align-self: flex-start; margin-left: 4%; transform: rotate(-5deg); }
.names__two { align-self: flex-end; margin-right: 4%; transform: rotate(-5deg); }
.names__amp {
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--marigold);
  margin: -2px 0 -6px;
  transform: rotate(-8deg);
}
.tagline {
  margin: 18px 0 0;
  font-family: var(--f-type);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e9d8b6;
}
.tagline em { font-family: var(--f-hand); font-style: normal; font-size: 19px; letter-spacing: 0; text-transform: none; color: var(--marigold); }

/* painted on the parapet like an old wall advertisement */
.wallpaint {
  position: absolute;
  left: 22px; right: 22px;
  bottom: calc(10% + var(--safe-b));
  white-space: nowrap;
  margin: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  color: #f2e8d6;
  filter: url(#paint);
  opacity: .88;
  transform: rotate(-1deg);
  pointer-events: none;
}
.wallpaint__date { font-family: var(--f-title); font-size: clamp(32px, 10vw, 46px); line-height: 1; letter-spacing: .02em; }
.wallpaint__place { font-family: var(--f-type); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; margin-top: 6px; color: #e9c46a; }
.wallpaint__place [lang="ml"] { letter-spacing: 0; text-transform: none; font-size: 15px; }

.scrollcue {
  position: absolute;
  left: 14px;
  bottom: calc(8px + var(--safe-b));
  display: flex; align-items: center; gap: 4px;
  max-width: calc(100% - 110px);
  padding: 8px;
  font-family: var(--f-hand);
  font-size: 13.5px;
  line-height: 1.2;
  color: #d9cbb0;
  text-decoration: none;
}
.scrollcue svg { flex: none; width: 18px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ==========================================================================
   Verse
   ========================================================================== */
.verse { padding: 54px 28px 50px; text-align: center; position: relative; }
.verse::before {
  content: "";
  display: block;
  width: 70px; height: 12px;
  margin: 0 auto 22px;
  background: radial-gradient(circle, var(--terra) 2.2px, transparent 2.8px) 0 50% / 14px 12px repeat-x;
  opacity: .7;
}
.verse__ar { margin: 0 0 16px; font-size: 24px; line-height: 1.95; color: var(--teal-d); }
.verse__en { margin: 0 auto 10px; max-width: 34ch; font-style: italic; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.verse__ref { margin: 0; font-family: var(--f-type); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); }

/* ==========================================================================
   Starring — two cassettes on a lime-washed teal wall
   ========================================================================== */
.wall {
  background-color: var(--teal);
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 15%, rgba(255, 255, 255, .10), transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 70%, rgba(0, 0, 0, .14), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .0) 70%, rgba(20, 36, 34, .35)),
    var(--fibre), var(--speck);
}
.cast { padding: 56px 0 60px; color: var(--cream); }

.tapes { display: grid; gap: 30px; padding: 0 22px; }
.tape {
  --label: #f3ead6;
  --stripe: var(--terra);
  position: relative;
  aspect-ratio: 10 / 6.4;
  border-radius: 9px;
  padding: 6.5% 6% 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .10), transparent 40%),
    linear-gradient(#323036, #212024);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    inset 0 -6px 10px rgba(0, 0, 0, .35),
    0 2px 0 #121114,
    0 18px 26px -10px rgba(0, 0, 0, .55);
}
.tape--a { transform: rotate(-2.4deg); }
.tape--b { --label: #f1e5cb; --stripe: var(--teal-d); transform: rotate(1.8deg); margin-left: 4px; }
.tape.reveal { transform: translateY(16px) rotate(0deg); }
.tape--a.reveal.is-in { transform: rotate(-2.4deg); }
.tape--b.reveal.is-in { transform: rotate(1.8deg); transition-delay: .12s; }

.tape__label {
  position: relative;
  height: 71%;
  border-radius: 4px;
  padding: 3.4% 4.5% 0;
  background:
    linear-gradient(transparent 0 25%, var(--stripe) 25% 29%, transparent 29%),
    repeating-linear-gradient(transparent 0 calc(1.2em - 1px), rgba(35, 63, 143, .15) calc(1.2em - 1px) 1.2em),
    var(--label);
  background-size: 100% 100%, 100% 100%, auto;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), inset 0 0 18px rgba(120, 90, 40, .12);
  color: var(--biro);
  font-family: var(--f-hand);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.tape__name {
  margin: 0;
  display: flex; align-items: baseline; gap: 8px;
  font-weight: 700;
  font-size: clamp(18px, 5.6vw, 24px);
  line-height: 1.05;
  white-space: nowrap;
}
.tape__side {
  font-family: var(--f-type);
  font-weight: 700;
  font-size: .9em;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  padding: 0 4px;
  line-height: 1.1;
}
.tape__line { margin: 4.5% 0 0; font-size: clamp(13px, 3.8vw, 15.5px); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tape__mid { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-bottom: 3%; }
.tape__print { font-family: var(--f-type); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #6b6255; }
.tape__window {
  position: relative;
  flex: 0 0 58%;
  height: clamp(36px, 11vw, 46px);
  border-radius: 22px / 50%;
  background: linear-gradient(rgba(40, 32, 30, .9), rgba(20, 16, 15, .95));
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .7), 0 0 0 2px #2b2a2f;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 7%;
  overflow: hidden;
}
.tape__window::after {
  /* the strip of tape crossing between the spools */
  content: ""; position: absolute; left: 24%; right: 24%; bottom: 18%; height: 2px; background: #4a3122; opacity: .8;
}
.spool {
  --tape: 0px;
  position: relative;
  width: clamp(24px, 7.2vw, 30px); aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, #f1ece2 0 9%, transparent 9% 33.3%, #f1ece2 33.3% 42.3%, transparent 42.3% 66.6%, #f1ece2 66.6% 75.6%, transparent 75.6%) center / 46% 46% no-repeat,
    radial-gradient(circle, #f1ece2 0 30%, #6b4a33 31% 100%);
  box-shadow: 0 0 0 var(--tape) #5a3a26, 0 0 0 calc(var(--tape) + 1px) rgba(0, 0, 0, .4);
  animation: spool 2.4s linear infinite;
  animation-play-state: paused;
}
.spool--full { --tape: 5px; }
.is-playing .spool { animation-play-state: running; }
@keyframes spool { to { transform: rotate(-360deg); } }
.tape__place { margin: 2px 0 0; align-self: flex-end; font-size: clamp(12px, 3.4vw, 14px); line-height: 1.1; color: #4a5b8f; transform: rotate(-2deg); }
.tape__lip {
  position: absolute;
  left: 20%; right: 20%; bottom: 0;
  height: 19%;
  clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
  background: linear-gradient(#29282d, #1b1a1e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  display: flex; align-items: center; justify-content: space-evenly;
}
.tape__lip i { width: 9%; aspect-ratio: 1; border-radius: 50%; background: #0c0b0d; box-shadow: inset 0 1px 2px #000; }
.tape__lip i:nth-child(2), .tape__lip i:nth-child(3) { border-radius: 2px; width: 7%; }
.screw { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #8c8a90, #3f3d43); }
.screw::after { content: ""; position: absolute; inset: 3px 1px; background: #232226; transform: rotate(35deg); }
.s1 { left: 2.4%; top: 4%; } .s2 { right: 2.4%; top: 4%; } .s3 { left: 2.4%; bottom: 5%; } .s4 { right: 2.4%; bottom: 5%; } .s5 { left: calc(50% - 3.5px); bottom: 3.5%; }

.billing { margin: 40px auto 0; padding: 0 28px; max-width: 420px; text-align: center; }
.billing__small { margin: 0; font-family: var(--f-type); font-size: 12px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: #d6e4dc; }
.billing__big { margin: 10px 0; font-size: 19px; line-height: 1.45; font-style: italic; color: var(--cream); }
.billing__big b { font-style: normal; font-weight: 600; color: #fff3d6; white-space: nowrap; }

/* ==========================================================================
   Gossip — chits on the clothesline
   ========================================================================== */
.gossip { padding: 56px 0 34px; overflow: hidden; }
.clothesline { position: relative; }
.clothesline__rope { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 40px; pointer-events: none; z-index: 2; }
.clothesline__rope path { fill: none; stroke: #6f5a43; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.chits {
  list-style: none;
  margin: 0; padding: 14px var(--gutter) 26px;
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.chits::-webkit-scrollbar { display: none; }
.chits:focus-visible { outline-offset: -4px; }
.chit {
  --tilt: -1.5deg;
  position: relative;
  flex: 0 0 min(76%, 300px);
  scroll-snap-align: center;
  padding: 26px 18px 18px;
  min-height: 210px;
  transform-origin: 50% 0;
  transform: rotate(var(--tilt));
  animation: sway 6s ease-in-out infinite;
  box-shadow: 0 10px 16px -8px rgba(60, 40, 20, .35), 0 1px 1px rgba(60, 40, 20, .2);
  color: var(--biro);
  font-family: var(--f-hand);
}
.chit:nth-child(2n) { --tilt: 1.8deg; animation-delay: -2s; }
.chit:nth-child(3n) { --tilt: -.6deg; animation-delay: -3.4s; }
@keyframes sway { 0%, 100% { transform: rotate(var(--tilt)); } 50% { transform: rotate(calc(var(--tilt) * -0.6)); } }
.chit__peg {
  position: absolute; top: -10px; left: calc(50% - 6px);
  width: 12px; height: 34px;
  border-radius: 3px;
  background: linear-gradient(90deg, #a5753f, #c99a5c 45%, #8f6232);
  box-shadow: 1px 2px 2px rgba(0, 0, 0, .3);
}
.chit__peg::after { content: ""; position: absolute; left: 2px; right: 2px; top: 13px; height: 6px; border-radius: 50%; border: 1.5px solid #6e6a63; border-left: 0; border-right: 0; }
.chit__year { display: inline-block; font-family: var(--f-type); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--red-ink); margin-bottom: 6px; }
.chit__text { margin: 0 0 12px; font-size: 18.5px; line-height: 1.32; }
.chit__who { font-size: 15px; color: #5d4a3a; }
.chit__who::before { content: "— "; }

/* four kinds of paper from the same house */
.chit--note { background: repeating-linear-gradient(#f7f1e4 0 25px, #9fb6d6 25px 26px) 0 22px / 100% 100% no-repeat, #f7f1e4; }
.chit--note::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 1px; background: #d9867d; }
.chit--inland { background: #bcd0e2; color: #20326e; }
.chit--inland::after { content: "INLAND LETTER"; position: absolute; right: 10px; bottom: 8px; font: 700 8.5px/1 var(--f-type); letter-spacing: .2em; color: rgba(32, 50, 110, .45); }
.chit--memo { background: #f1d4c9; color: #3d2a6e; }
.chit--memo::after { content: "CASH MEMO · No. 0417"; position: absolute; left: 18px; top: 8px; font: 700 9px/1 var(--f-type); letter-spacing: .16em; color: rgba(150, 40, 30, .55); }
.chit--calendar { background: #fbf6ea; color: #2a211b; }
.chit--calendar::after { content: attr(data-day); position: absolute; right: 12px; bottom: 2px; font: 400 76px/1 var(--f-title); color: rgba(179, 38, 30, .12); }
.swipe-hint { margin: 0; padding: 0 var(--gutter); display: flex; justify-content: flex-end; align-items: center; gap: 6px; font-family: var(--f-hand); font-size: 15px; color: var(--ink-2); }
.swipe-hint svg { width: 34px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Showtimes — tickets in a dark hall
   ========================================================================== */
.shows {
  position: relative;
  padding: 60px 0 56px;
  background: var(--hall);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.shows__beam {
  position: absolute; z-index: -1;
  left: 50%; top: -40px;
  width: 140%; height: 90%;
  transform: translateX(-50%);
  background: conic-gradient(from 166deg at 50% 0%, transparent 0deg, rgba(255, 233, 190, .10) 12deg, rgba(255, 233, 190, .03) 22deg, transparent 28deg);
  filter: blur(6px);
  animation: beam 7s ease-in-out infinite;
}
@keyframes beam { 0%, 100% { opacity: .9; } 40% { opacity: .65; } 44% { opacity: 1; } }

.tickets { display: grid; gap: 22px; padding: 0 16px; }
.ticket {
  --stock: #e9dfc4;
  --print: #2e2620;
  --accent: var(--red-ink);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 62px;
  color: var(--print);
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .45));
}
.ticket:nth-child(odd) { transform: rotate(-.8deg); }
.ticket:nth-child(even) { transform: rotate(.9deg); }
.ticket--henna { --stock: #c9cf9a; --print: #2f3317; --accent: #6b2d1a; }
.ticket--cream { --stock: #ecdfbf; --print: #2b231a; --accent: var(--red-ink); }
.ticket--rose { --stock: #ecb7ab; --print: #3c1d17; --accent: #273e86; }

.ticket__main, .ticket__stub {
  background-color: var(--stock);
  background-image: var(--fibre), var(--speck);
  /* notches where the stub tears away */
  -webkit-mask: radial-gradient(circle 9px at 100% 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 9px at 100% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 9px at 100% 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 9px at 100% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket__stub {
  -webkit-mask: radial-gradient(circle 9px at 0 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 9px at 0 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 9px at 0 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 9px at 0 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  border-left: 2px dotted rgba(0, 0, 0, .35);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 16px 0;
  font-family: var(--f-type);
}
.ticket__main { position: relative; padding: 14px 16px 16px 18px; border-radius: 3px 0 0 3px; }
.ticket__house {
  margin: 0; display: flex; justify-content: space-between; gap: 8px;
  font: 700 10.5px/1.2 var(--f-type); letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 6px;
}
.ticket__house span:last-child { color: var(--accent); letter-spacing: .06em; }
.ticket__title { margin: 10px 0 0; font-family: var(--f-title); font-weight: 400; font-size: 28px; line-height: 1.05; }
.ticket__title [lang="ml"] { display: block; font-family: var(--f-ml); font-weight: 700; font-size: 15px; margin-top: 4px; opacity: .8; }
.ticket__note { margin: 4px 0 10px; font-family: var(--f-hand); font-size: 15.5px; line-height: 1.25; color: var(--accent); }
.ticket__grid { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-family: var(--f-type); }
.ticket__grid div { min-width: 0; }
.ticket__grid .wide { grid-column: 1 / -1; }
.ticket__grid dt { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.ticket__grid dd { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.25; }
.ticket__grid dd small { display: block; font-weight: 400; font-size: 12.5px; opacity: .85; }
.ticket__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-right: 84px; }
.tbtn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px; padding: 8px 11px;
  border: 1.5px solid currentColor; border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  font: 700 11.5px/1 var(--f-type); letter-spacing: .08em; text-transform: uppercase;
  color: inherit; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.tbtn:active { background: rgba(0, 0, 0, .08); transform: translateY(1px); }
.tbtn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ticket__stamp {
  position: absolute; right: 12px; bottom: 16px;
  padding: 3px 7px;
  border: 2px solid var(--violet); border-radius: 4px;
  color: var(--violet);
  font: 700 11px/1.1 var(--f-type); letter-spacing: .12em; text-transform: uppercase; text-align: center;
  transform: rotate(9deg);
  opacity: .78;
  filter: url(#ink);
  pointer-events: none;
}
.ticket__stub .vert { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.ticket__stub .vert b { font-size: 12.5px; }
.ticket__stub .serial { writing-mode: vertical-rl; transform: rotate(180deg); color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .1em; }
.ticket.reveal { opacity: 0; transform: translateX(40px) rotate(0); }
.ticket.reveal.is-in { opacity: 1; }
.ticket.reveal.is-in:nth-child(odd) { transform: rotate(-.8deg); }
.ticket.reveal.is-in:nth-child(even) { transform: rotate(.9deg); }

.shows__note { margin: 26px 0 0; text-align: center; font-family: var(--f-hand); font-size: 17px; color: #cdbf9f; }

/* the countdown on a bulb-lit marquee board */
.marquee {
  position: relative;
  margin: 40px 18px 0;
  padding: 16px;
  border-radius: 6px;
  background: linear-gradient(#5b1d14, #3f130d);
  box-shadow: inset 0 0 0 2px #2a0c08, 0 16px 30px rgba(0, 0, 0, .5);
}
.marquee__bulbs { position: absolute; inset: 0; pointer-events: none; }
.marquee__bulbs i {
  position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: #ffe2a3;
  box-shadow: 0 0 6px 2px rgba(255, 196, 92, .7);
  animation: chase 1.6s steps(1) infinite;
}
.marquee__bulbs i:nth-child(3n+2) { animation-delay: -.53s; }
.marquee__bulbs i:nth-child(3n) { animation-delay: -1.06s; }
@keyframes chase { 0% { opacity: 1; } 66% { opacity: .28; box-shadow: none; } }
.marquee__board {
  padding: 16px 12px 14px;
  border-radius: 3px;
  background: #f4ecd8;
  color: #1f1a17;
  text-align: center;
  box-shadow: inset 0 0 22px rgba(120, 80, 30, .25);
}
.marquee__kicker { margin: 0; font: 700 12px/1.3 var(--f-type); letter-spacing: .2em; text-transform: uppercase; }
.marquee__kicker [lang="ml"] { font-family: var(--f-ml); letter-spacing: 0; font-size: 15px; text-transform: none; }
.marquee__days { margin: 6px 0 0; font-family: var(--f-title); font-size: 64px; line-height: 1; color: var(--red-ink); }
.marquee__days small { font-family: var(--f-type); font-weight: 700; font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: #1f1a17; }
.marquee__clock { margin: 8px 0 0; font: 700 14px/1 var(--f-type); letter-spacing: .1em; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   RSVP — a page from the unit's attendance register
   ========================================================================== */
.rsvp { padding: 58px 14px calc(70px + var(--safe-b)); position: relative; overflow: hidden; }
.register {
  position: relative;
  padding: 18px 18px 22px 46px;
  background:
    linear-gradient(90deg, transparent 33px, #d8857c 33px 34px, transparent 34px 37px, #d8857c 37px 38px, transparent 38px),
    repeating-linear-gradient(transparent 0 33px, rgba(80, 110, 170, .13) 33px 34px) 0 10px,
    #fbf6e9;
  box-shadow: 0 1px 0 #d9ccb0, 0 2px 0 #fbf6e9, 0 3px 0 #d9ccb0, 0 4px 0 #f6efdd, 0 5px 0 #cdbf9f, 0 18px 30px -12px rgba(70, 50, 20, .45);
  transform: rotate(-.6deg);
}
.register::before {
  /* the punched binder holes */
  content: ""; position: absolute; left: 10px; top: 30px; bottom: 30px; width: 12px;
  background: radial-gradient(circle 5px, #d9cdb4 92%, transparent) 0 0 / 12px 90px repeat-y;
}
.register__head {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 8px;
  margin: 0 0 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  font: 700 11px/1.2 var(--f-type); letter-spacing: .14em; text-transform: uppercase;
}
.register__head span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 15px; letter-spacing: .1em; }
.register__head span:last-child { color: var(--red-ink); }

.field { display: block; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field__label { display: block; padding: 0; margin-bottom: 2px; font: 700 12px/1.3 var(--f-type); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field__label i { font-style: normal; letter-spacing: 0; text-transform: none; font-size: 14px; color: var(--terra); margin-left: 4px; }
.field__label small { font-weight: 400; letter-spacing: .04em; text-transform: none; }
.field__input {
  display: block; width: 100%;
  min-height: 46px;
  padding: 6px 2px 2px;
  border: 0; border-bottom: 1.5px dashed rgba(42, 33, 27, .55);
  border-radius: 0;
  background: transparent;
  font: 400 21px/1.35 var(--f-hand);
  color: var(--biro);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, background .2s;
}
.field__input:focus { outline: none; border-bottom: 2px solid var(--teal); background: linear-gradient(transparent 60%, rgba(226, 161, 27, .18) 60%); }
.field__input--area { resize: vertical; min-height: 96px; line-height: 34px; padding-top: 0; background: transparent; }
.field__input--area:focus { background: rgba(226, 161, 27, .08); }

.choice__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.stampopt { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.stampopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stampopt__face {
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  min-height: 84px; padding: 10px 10px;
  border: 2.5px solid currentColor; border-radius: 6px;
  color: rgba(42, 33, 27, .5);
  text-align: center;
  transition: color .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1), background .2s;
}
.stampopt__face b { font-family: var(--f-ml); font-weight: 700; font-size: 19px; line-height: 1.2; }
.stampopt__face small { font: 400 13.5px/1.2 var(--f-hand); }
.stampopt input:focus-visible + .stampopt__face { outline: 2px dashed var(--marigold); outline-offset: 3px; }
.stampopt--yes input:checked + .stampopt__face { color: #1d6b3c; transform: rotate(-3deg) scale(1.02); background: rgba(29, 107, 60, .07); filter: url(#ink); }
.stampopt--no input:checked + .stampopt__face { color: var(--red-ink); transform: rotate(2.5deg) scale(1.02); background: rgba(179, 38, 30, .06); filter: url(#ink); }

.if-yes { transition: opacity .3s; }
.if-yes[hidden] { display: none; }
.counter { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.counter__btn {
  width: 46px; height: 46px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  background: transparent;
  font: 700 24px/1 var(--f-type);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.counter__btn:active { background: rgba(42, 33, 27, .08); }
.counter__btn:disabled { opacity: .3; cursor: default; }
.counter__num { min-width: 64px; text-align: center; font: 700 34px/1 var(--f-hand); color: var(--biro); }

.picks__list { display: grid; gap: 4px; margin-top: 6px; }
.pick { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick__box { position: relative; flex: none; width: 26px; height: 26px; border: 1.5px solid var(--ink); background: #fffdf6; }
.pick__box svg { position: absolute; left: -2px; top: -8px; width: 34px; height: 32px; fill: none; stroke: var(--biro); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; transition: stroke-dashoffset .3s ease; }
.pick input:checked + .pick__box svg { stroke-dashoffset: 0; }
.pick input:focus-visible + .pick__box { outline: 2px dashed var(--marigold); outline-offset: 3px; }
.pick__text { font: 400 19px/1.2 var(--f-hand); color: var(--ink); }
.pick__text small { font-family: var(--f-type); font-size: 12px; color: var(--ink-2); margin-left: 4px; }

.form-error { margin: 0 0 14px; padding: 8px 10px; border-left: 3px solid var(--red-ink); background: rgba(179, 38, 30, .07); font: 400 16px/1.3 var(--f-hand); color: var(--red-ink); }

/* the submit button is a rubber stamp */
.rubber {
  position: relative;
  display: block;
  width: 100%;
  min-height: 60px;
  margin: 26px 0 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rubber__ink {
  display: flex; align-items: center; justify-content: center;
  min-height: 60px;
  padding: 10px 16px;
  border: 2px solid var(--red-ink);
  outline: 1.5px solid var(--red-ink); outline-offset: 3px;
  border-radius: 4px;
  font: 700 16px/1.1 var(--f-type); letter-spacing: .16em; text-transform: uppercase;
  color: #fbf1df;
  background: var(--red-ink);
  filter: url(#rough);
  transform: rotate(-1deg);
  transition: transform .12s ease, background .12s ease;
}
.rubber:hover .rubber__ink { background: #a1211a; }
.rubber:active .rubber__ink { transform: rotate(-1deg) scale(.97); background: #8f1d17; }
.rubber:focus-visible { outline: none; }
.rubber:focus-visible .rubber__ink { box-shadow: 0 0 0 6px rgba(226, 161, 27, .5); }
.rubber[disabled] { cursor: progress; }
.rubber[disabled] .rubber__ink { opacity: .55; }
.register__foot { margin: 14px 0 0; text-align: center; font: 400 15px/1.3 var(--f-hand); color: var(--ink-2); }

.received {
  position: absolute; left: 50%; top: 42%;
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 20px;
  border: 4px double #1d6b3c; border-radius: 10px;
  color: #1d6b3c;
  font: 700 30px/1 var(--f-type); letter-spacing: .2em; text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-12deg) scale(2.4);
  opacity: 0;
  filter: url(#ink);
  pointer-events: none;
}
.received [lang="ml"] { font-size: 22px; letter-spacing: 0; margin-top: 4px; }
.register.is-stamped .received { animation: stamp .42s cubic-bezier(.5, 0, .7, 1.4) forwards; }
@keyframes stamp {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2.4); }
  70% { opacity: .9; transform: translate(-50%, -50%) rotate(-12deg) scale(.96); }
  100% { opacity: .82; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
}
.register.is-stamped { animation: thud .3s .28s ease; }
@keyframes thud { 0%, 100% { transform: rotate(-.6deg); } 40% { transform: rotate(-.6deg) translateY(2px) scale(.995); } }

.rsvp-done {
  position: relative;
  margin-top: 24px;
  padding: 20px 18px;
  background: #fbf6e9;
  border: 1px solid #d9ccb0;
  text-align: center;
  transform: rotate(.5deg);
  box-shadow: 0 14px 24px -14px rgba(70, 50, 20, .5);
}
.rsvp-done:focus { outline: none; }
.rsvp-done__title { margin: 0 0 6px; font-family: var(--f-title); font-size: 26px; line-height: 1.1; color: var(--terra-d); }
.rsvp-done__text { margin: 0 0 14px; font: 400 18px/1.4 var(--f-hand); color: var(--biro); }
.rsvp-done__wa {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 16px;
  border: 1.5px solid #1d6b3c; border-radius: 3px;
  font: 700 12.5px/1 var(--f-type); letter-spacing: .14em; text-transform: uppercase;
  color: #1d6b3c; text-decoration: none;
}
.rsvp-done__wa[hidden] { display: none; }
.linkish { display: block; margin: 12px auto 0; min-height: 44px; padding: 8px 12px; border: 0; background: none; font: 400 13px/1 var(--f-type); color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ==========================================================================
   The STD booth
   ========================================================================== */
.booth {
  padding: 30px 18px 34px;
  background: #f2c230;
  background-image: var(--fibre), var(--speck);
  color: #1c1a17;
  text-align: center;
}
.booth__sign {
  margin: 0 auto 12px;
  display: inline-flex; gap: 0;
  border: 3px solid #1c1a17;
  font: 400 26px/1 var(--f-title);
}
.booth__sign span { padding: 8px 12px 6px; }
.booth__sign span:nth-child(2) { background: #c4231b; color: #f2c230; }
.booth__lead { margin: 0 0 14px; font: 400 18px/1.3 var(--f-hand); }
.booth__list { list-style: none; margin: 0 auto; padding: 0; max-width: 380px; text-align: left; }
.booth__list li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1.5px dashed rgba(28, 26, 23, .4); }
.booth__list li:last-child { border-bottom: 1.5px dashed rgba(28, 26, 23, .4); }
.booth__who { flex: 1; min-width: 0; font: 700 16px/1.2 var(--f-type); }
.booth__who small { display: block; font-weight: 400; font-size: 12.5px; letter-spacing: .06em; }
.booth__call {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px 14px;
  background: #1c1a17; color: #f2c230;
  border-radius: 3px;
  font: 700 12.5px/1 var(--f-type); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.booth__call svg { width: 15px; height: 15px; fill: currentColor; }

/* ==========================================================================
   End credits
   ========================================================================== */
.credits {
  padding: 60px 24px calc(104px + var(--safe-b));
  background: #0b0908;
  color: #d8cdb6;
  text-align: center;
}
.credits__roll { margin: 0 auto 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; max-width: 360px; }
.credits__roll dt { text-align: right; font: 400 11.5px/1.5 var(--f-type); letter-spacing: .16em; text-transform: uppercase; color: #8f8573; padding-top: 2px; }
.credits__roll dd { margin: 0; text-align: left; font-size: 15.5px; line-height: 1.4; }
.shubham { margin: 0; font-weight: 700; font-size: 64px; line-height: 1.1; color: #f3e6c4; letter-spacing: .02em; text-shadow: 0 0 22px rgba(255, 220, 160, .25); }
.shubham.is-in { animation: flicker 4s 1s infinite; }
.credits__end { margin: 10px 0 4px; font-family: var(--f-hand); font-size: 19px; color: var(--marigold); }
.credits__date { margin: 0; font: 400 12px/1 var(--f-type); letter-spacing: .3em; color: #7b715f; }

/* ==========================================================================
   The record player — music toggle
   ========================================================================== */
.deck {
  position: fixed;
  z-index: 70;
  right: max(14px, calc((100vw - var(--col)) / 2 + 14px));
  bottom: calc(16px + var(--safe-b));
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease .3s, transform .6s cubic-bezier(.2, .8, .2, 1) .3s;
  pointer-events: none;
}
body.is-open .deck { opacity: 1; transform: none; pointer-events: auto; }
.disc {
  position: relative;
  display: block;
  width: 68px; height: 68px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.disc:focus-visible { outline-offset: 6px; border-radius: 50%; }
.disc__shadow { position: absolute; inset: 2px; border-radius: 50%; box-shadow: 0 8px 18px rgba(0, 0, 0, .5), 0 2px 4px rgba(0, 0, 0, .4); }
.disc__record {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 29%, rgba(255, 255, 255, .05) 29.5% 30.5%, transparent 31% 52%, rgba(255, 255, 255, .06) 52.5% 53.2%, transparent 53.7% 75%, rgba(255, 255, 255, .05) 75.4% 76%, transparent 76.4%),
    repeating-radial-gradient(circle, #121112 0 .7px, #1d1b1d .7px 1.4px),
    #161516;
  box-shadow: inset 0 0 0 1.5px #0a0a0a, inset 0 0 0 3px #222;
  will-change: transform;
}
.disc__label { position: absolute; left: 30%; top: 30%; width: 40%; height: 40%; }
.disc__paper { fill: var(--terra); }
.disc__rule { fill: none; stroke: #f3e2bf; stroke-width: .5; opacity: .7; }
.disc__ring { font: 700 3.1px var(--f-type); letter-spacing: .18px; fill: #f6e9cc; }
.disc__a { font: 400 9px var(--f-title); fill: #f6e9cc; }
.disc__ml { font: 700 4.4px var(--f-ml); fill: #f6e9cc; }
.disc__hole { fill: #0d0c0d; }
.disc__sheen {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0 4%, rgba(255, 255, 255, .16) 10%, transparent 17% 50%, rgba(255, 255, 255, .11) 58%, transparent 66%);
  -webkit-mask: radial-gradient(circle, transparent 0 31%, #000 32%);
          mask: radial-gradient(circle, transparent 0 31%, #000 32%);
}
.disc__arm {
  position: absolute;
  width: 26px; height: 54px;
  right: -12px; top: -14px;
  overflow: visible;
  transform-origin: 73.5% 13%;
  transform: rotate(-11deg);
  transition: transform .9s cubic-bezier(.45, .05, .25, 1);
  filter: drop-shadow(1px 3px 2px rgba(0, 0, 0, .5));
}
.is-playing .disc__arm { transform: rotate(12deg); }
.arm__base { fill: #2f2b27; stroke: #8b8478; stroke-width: 1.2; }
.arm__pivot { fill: #c9c2b4; }
.arm__tube { fill: none; stroke: #d8d1c2; stroke-width: 2.4; stroke-linecap: round; }
.arm__head { fill: #2f2b27; stroke: #d8d1c2; stroke-width: 1; }

.deck__note {
  position: absolute;
  right: 74px; bottom: 30px;
  margin: 0;
  display: flex; align-items: flex-end; gap: 0;
  font: 700 17px/1 var(--f-hand);
  color: #f3e6c4;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
  white-space: nowrap;
  transform: rotate(-6deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
}
.deck__note svg { width: 30px; height: 26px; margin: 0 0 -10px 2px; transform: rotate(-4deg); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .8)); }
.deck__note.is-shown { opacity: 1; }

/* ==========================================================================
   Quieter motion when asked for
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain::before, .gate__leader, .cert, .hero__titles, .terrace .bulb, .terrace .star, .terrace .palms-near,
  .scrollcue svg, .chit, .shows__beam, .marquee__bulbs i, .shubham.is-in { animation: none !important; }
  .reveal, .ticket.reveal { opacity: 1; transform: none; transition: none; }
  .tape--a.reveal { transform: rotate(-2.4deg); }
  .tape--b.reveal { transform: rotate(1.8deg); }
  .ticket.reveal:nth-child(odd) { transform: rotate(-.8deg); }
  .ticket.reveal:nth-child(even) { transform: rotate(.9deg); }
  .disc__arm { transition-duration: .2s; }
}

/* short phones: keep the PLAY key on the first screen */
@media (max-height: 700px) {
  .gate { gap: 16px; }
  .cert__frame { padding: 12px 14px; font-size: 12px; line-height: 1.35; }
  .cert__top { margin-bottom: 8px; }
  .cert__u { width: 38px; height: 38px; font-size: 21px; }
  .cert__title { font-size: 25px; margin-top: 4px; }
  .cert__verdict { margin: 6px 0 8px; font-size: 12.5px; }
  .cert__meta { font-size: 11.5px; margin-bottom: 8px; }
  .cert__meta div:nth-child(3) { display: none; }
  .cert__sig { font-size: 19px; }
  .play-key { min-height: 52px; padding: 11px 26px 12px 16px; }
  .gate__hint { font-size: 15px; }
}
