/* Gali Dash: a gali at night. Painted shop signs, festival bulbs, a tube light and a chase down the lane. */

:root {
  --night: #17123A;        /* the sky over the gali */
  --night-2: #201955;      /* far rooftops, panels */
  --night-3: #2C2370;      /* near rooftops, raised surfaces */
  --road: #262046;
  --haldi: #FFD447;        /* signboard yellow */
  --genda: #FFB627;        /* marigold bulbs, the main button */
  --rani: #E5307E;         /* rani pink, Mummy's sari */
  --sindoor: #C8102E;      /* sign-painter red */
  --patti: #1FA67A;        /* sari-border green */
  --teal: #2EC4C4;
  --chalk: #FFF3DC;        /* text */
  --mist: #BDB4E6;         /* quieter text */
  --line: rgba(255, 243, 220, 0.14);
  --wood: #3A1E0E;
  --on-haldi: #2A1206;

  --display: "Rozha One", Georgia, "Times New Roman", serif;
  --body: "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* type scale (Bringhurst's classic steps) */
  --t-14: 0.875rem;
  --t-16: 1rem;
  --t-18: 1.125rem;
  --t-21: 1.3125rem;
  --t-24: 1.5rem;
  --t-36: clamp(1.9rem, 4.2vw, 2.25rem);
  --t-48: clamp(2.3rem, 5.6vw, 3rem);
  --t-72: clamp(3rem, 8vw, 4.5rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; interpolate-size: allow-keywords; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--chalk);
  font-family: var(--body);
  font-size: var(--t-18);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--genda); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--genda); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rani); color: #fff; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: 0.005em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--genda); color: var(--on-haldi); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  font: 800 var(--t-18)/1.1 var(--body); text-decoration: none; letter-spacing: 0.01em;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--genda); color: var(--on-haldi); box-shadow: 0 4px 0 #A76A00, 0 10px 30px rgba(255, 182, 39, 0.28); }
.btn-primary:hover { box-shadow: 0 6px 0 #A76A00, 0 14px 36px rgba(255, 182, 39, 0.38); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 243, 220, 0.5); color: var(--chalk); background: rgba(23, 18, 58, 0.35); }
.btn-ghost:hover { border-color: var(--chalk); background: rgba(255, 243, 220, 0.08); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transition: none; transform: none; } }

/* ------------------------------------------------------------------ top bar */
.topbar { position: relative; z-index: 5; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; font-family: var(--display); font-size: var(--t-21); }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--mist); text-decoration: none; font-weight: 600; font-size: var(--t-16); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--chalk); }
.nav .nav-cta { color: var(--on-haldi); background: var(--genda); padding: 7px 16px; border-radius: 999px; font-weight: 800; }
.nav .nav-cta:hover { color: var(--on-haldi); background: var(--haldi); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .nav { gap: 14px; } }

/* ------------------------------------------------------------------ hero: the gali at night */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: -66px; padding-top: 66px;
  min-height: max(700px, min(100svh, 1000px));
  background:
    radial-gradient(60% 45% at 30% 38%, rgba(255, 182, 39, 0.10), transparent 70%),
    radial-gradient(50% 40% at 80% 20%, rgba(229, 48, 126, 0.10), transparent 70%),
    linear-gradient(180deg, #120E30 0%, var(--night) 55%, #1C1650 100%);
  display: grid;
}
.lights { position: absolute; inset: 0 0 auto 0; width: 100%; height: 120px; z-index: 1; pointer-events: none; }
.lights .wire path { fill: none; stroke: #0B0920; stroke-width: 2.2; }
.bulb rect { fill: #3A3550; }
.bulb circle { fill: #4A4468; transition: fill 200ms; }
.b-genda { --c: #FFB627; } .b-rani { --c: #FF4FA3; } .b-teal { --c: #45E0E0; } .b-white { --c: #FFF1C9; }
.bulb circle { animation: bulb-on 260ms steps(1, end) both; animation-delay: calc(300ms + var(--i) * 45ms); }
@keyframes bulb-on { to { fill: var(--c); filter: drop-shadow(0 0 6px var(--c)) drop-shadow(0 0 14px var(--c)); } }

/* Desktop: sign and copy on the left, the phone standing on the road at the right, the street along the bottom. */
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); grid-template-rows: auto auto 1fr;
  column-gap: 48px; padding-top: 92px;
}
.hero-sign { grid-column: 1; grid-row: 1; position: relative; z-index: 2; min-width: 0; }
.hero-text { grid-column: 1; grid-row: 2; position: relative; z-index: 2; display: grid; gap: 14px; justify-items: start; padding-top: 20px; padding-bottom: 214px; min-width: 0; }
.phone-col { grid-column: 2; grid-row: 1 / span 3; align-self: end; position: relative; z-index: 3; margin-bottom: 50px; }
/* Short laptop screens: keep the road and the chase on the first screen. */
@media (min-width: 961px) and (max-height: 820px) {
  .hero-grid { padding-top: 80px; }
  .pitch { display: none; }
  .hero-text { padding-bottom: 184px; padding-top: 16px; }
  .street { height: 184px; }
  .skyline { bottom: 60px; height: 124px; }
  .road { height: 64px; }
  .road::after { top: 29px; }
  .chase { bottom: 18px; height: 150px; }
  .runner.gali { height: 114px; }
  .runner.mummy { height: 136px; }
  .phone-col { margin-bottom: 40px; }
  .phone-note { display: none; }
}

/* The shop sign: a painted tin board under a tube light. */
.sign { position: relative; width: min(100%, 560px); cursor: pointer; transform: rotate(-1.6deg); transform-origin: 50% 0; }
.tube {
  position: absolute; left: 14%; right: 14%; top: -26px; height: 9px; border-radius: 6px;
  background: #E9F4FF; box-shadow: 0 0 10px 2px rgba(220, 240, 255, 0.9), 0 0 40px 8px rgba(200, 230, 255, 0.35);
  animation: tube-on 1.3s linear 0.9s both;
}
.tube::before, .tube::after { content: ""; position: absolute; top: -12px; width: 3px; height: 14px; background: #0B0920; }
.tube::before { left: 12%; } .tube::after { right: 12%; }
.board {
  position: relative; background: var(--haldi); color: var(--sindoor);
  border: 9px solid var(--wood); border-radius: 6px;
  padding: 26px 30px 0; overflow: hidden;
  box-shadow: inset 0 0 0 3px var(--haldi), inset 0 0 0 6px var(--sindoor), 0 24px 50px rgba(5, 3, 20, 0.6);
  animation: board-on 1.3s linear 0.9s both;
}
.board::before { /* brush-painted texture and a little grime */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.35 0 0 0 0 0.05 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.board::after { /* rust bloom in one corner, as on every real tin sign */
  content: ""; position: absolute; right: -40px; bottom: 40px; width: 160px; height: 120px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(150, 60, 10, 0.22), transparent); mix-blend-mode: multiply;
}
.screw { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #D9D2C0, #6E6656 70%); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); z-index: 2; }
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 4px; height: 1.5px; background: #4A4436; transform: rotate(35deg); }
.s1 { left: 10px; top: 10px; } .s2 { right: 10px; top: 10px; } .s3 { left: 10px; bottom: 10px; } .s4 { right: 10px; bottom: 10px; }
.sign-title { display: grid; gap: 0; margin: 0; }
.sign-hi {
  font-family: var(--display); font-size: clamp(3.4rem, min(12vw, 10vh), 6.2rem); line-height: 1.12;
  color: var(--sindoor);
  text-shadow: 3px 3px 0 var(--on-haldi), 5px 5px 0 rgba(42, 18, 6, 0.25);
}
.sign-en {
  font-family: var(--display); font-size: clamp(1.7rem, min(5.4vw, 4.6vh), 2.8rem); line-height: 1; margin-top: -4px;
  color: #1B3FA0; text-shadow: 2px 2px 0 var(--on-haldi);
}
.strip {
  position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 22px -30px 0; padding: 10px 30px 12px; background: var(--rani); color: #FFF4F8;
}
.strip b { font-weight: 800; font-size: clamp(1rem, 2.4vw, 1.3rem); letter-spacing: 0.02em; }
.strip small { font-size: var(--t-14); font-weight: 600; opacity: 0.9; white-space: nowrap; }
.sign:hover .board { filter: brightness(1.04); }

@keyframes tube-on {
  0%, 9% { opacity: 0.08; } 10% { opacity: 1; } 13% { opacity: 0.1; } 22% { opacity: 1; } 25% { opacity: 0.25; } 34%, 100% { opacity: 1; }
}
@keyframes board-on {
  0%, 9% { filter: brightness(0.32) saturate(0.6); } 10% { filter: brightness(1); } 13% { filter: brightness(0.4); }
  22% { filter: brightness(1.05); } 25% { filter: brightness(0.55); } 34%, 100% { filter: none; }
}

.tagline { font-family: var(--display); font-size: clamp(1.75rem, 3.2vw, 2.15rem); line-height: 1.12; max-width: 22ch; }
.pitch { max-width: 46ch; color: var(--mist); font-size: var(--t-18); }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--t-16); color: var(--chalk); }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: #44D17A; box-shadow: 0 0 0 4px rgba(68, 209, 122, 0.18); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pp-badge { line-height: 0; opacity: 0.92; }
.pp-badge img { height: auto; }

/* The phone you can play */
.phone-col { display: grid; justify-items: center; gap: 12px; min-width: 0; }
.phone {
  position: relative; width: min(280px, 72vw, 31vh); aspect-ratio: 9 / 19.2;
  border-radius: 44px; padding: 11px; background: #0A0818;
  box-shadow: 0 0 0 2px #3B3466, 0 40px 80px rgba(3, 2, 15, 0.7), 0 0 120px rgba(255, 182, 39, 0.12);
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: #0A0818; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.screen img, .screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.play-btn {
  position: absolute; inset: 0; z-index: 2; display: grid; align-content: end; justify-items: center; gap: 12px; padding-bottom: 16%;
  background: linear-gradient(180deg, transparent 52%, rgba(10, 8, 24, 0.78) 100%);
  border: 0; color: var(--chalk); cursor: pointer; font: 800 var(--t-18)/1.2 var(--body);
}
.play-btn .disc {
  width: 92px; height: 92px; border-radius: 50%; background: var(--genda); display: grid; place-items: center;
  box-shadow: 0 6px 0 #A76A00, 0 0 0 10px rgba(255, 182, 39, 0.18);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.play-btn .disc svg { width: 34px; height: 34px; margin-left: 6px; fill: var(--on-haldi); }
.play-btn:hover .disc { transform: scale(1.06); box-shadow: 0 8px 0 #A76A00, 0 0 0 16px rgba(255, 182, 39, 0.2); }
.play-btn:active .disc { transform: scale(0.96); }
.play-btn .label { padding: 0 20px; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
.play-btn:focus-visible { outline-offset: -6px; border-radius: 34px; }
.screen.is-loading::after {
  content: "Loading the gali…"; position: absolute; inset: auto 0 18px; text-align: center; font-weight: 600; font-size: var(--t-14); color: var(--mist); z-index: 1;
}
.phone-note { font-size: var(--t-14); color: var(--mist); text-align: center; }
.phone-note a { color: var(--chalk); }

/* The street at the bottom of the hero: rooftops, the road, and the chase */
.street {
  position: absolute; z-index: 1; bottom: 0; left: calc(50% - 50vw); width: 100vw; height: 214px; pointer-events: none;
}
.skyline { position: absolute; left: 0; right: 0; bottom: 70px; width: 100%; height: 150px; }
.sky-far rect { fill: #1D1750; }
.sky-near rect, .sky-near path { fill: #251E5E; }
.sky-near .flag { fill: var(--genda); }
.sky-dish path { stroke: #251E5E; stroke-width: 3; }
.sky-dish ellipse { fill: #2E2670; }
.sky-win .w1 { fill: rgba(255, 182, 39, 0.55); }
.sky-win .w2 { fill: rgba(255, 79, 163, 0.5); }
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; background: var(--road); border-top: 6px solid #3A3270; }
.road::after { /* lane paint */
  content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 5px;
  background: repeating-linear-gradient(90deg, rgba(255, 243, 220, 0.32) 0 46px, transparent 46px 98px);
}
.chase { position: absolute; left: 0; right: 0; bottom: 22px; height: 180px; }
.pair { position: absolute; bottom: 0; left: 0; width: 480px; height: 100%; animation: cross 14s linear 2.4s infinite both; }
.runner { position: absolute; bottom: 0; background-repeat: no-repeat; background-size: 1200% 100%; animation: stride 0.58s steps(12) infinite; }
.runner.gali { right: 0; height: 134px; aspect-ratio: 252 / 407; background-image: url(/assets/art/gali-run-v3.webp); }
.runner.mummy { left: 0; height: 160px; aspect-ratio: 309 / 484; background-image: url(/assets/art/mummy-run.webp); animation: stride 0.62s steps(12) infinite, close-in 4.6s ease-in-out infinite; }
.runner::after { /* a soft shadow on the road */
  content: ""; position: absolute; left: 18%; right: 18%; bottom: -6px; height: 10px; border-radius: 50%; background: rgba(5, 3, 20, 0.45); filter: blur(3px); z-index: -1;
}
@keyframes stride { to { background-position: 109.0909% 0; } }
@keyframes cross { 0% { transform: translateX(-520px); } 34% { transform: translateX(calc(100vw + 40px)); } 100% { transform: translateX(calc(100vw + 40px)); } }
@keyframes close-in { 0%, 100% { translate: 0 0; } 50% { translate: 60px 0; } }

/* Reduced motion: the lights are simply on, the sign is lit, Gali and Mummy stand in the lane mid-chase. */
@media (prefers-reduced-motion: reduce) {
  .bulb circle { animation: none; fill: var(--c); }
  .tube, .board { animation: none; }
  .pair { animation: none; transform: translateX(clamp(16px, 28vw - 120px, 360px)); }
  .runner, .runner.mummy { animation: none; }
}

/* ------------------------------------------------------------------ sections */
main > section { position: relative; padding-block: clamp(72px, 10vw, 120px); }
.section-head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: var(--t-48); }
.section-head p { color: var(--mist); max-width: 56ch; }
.hi-sub { font-family: var(--display); color: var(--genda); font-size: var(--t-24); line-height: 1.3; }

/* One gali, five moods */
.moods { background: var(--mood-bg, #1B2350); transition: background-color 700ms var(--ease-out); }
.moods[data-mood="everyday"] { --mood-bg: #183B57; --mood-accent: #FFD447; }
.moods[data-mood="diwali"] { --mood-bg: #1A1240; --mood-accent: #FFB627; }
.moods[data-mood="holi"] { --mood-bg: #4A1550; --mood-accent: #FF5CB8; }
.moods[data-mood="monsoon"] { --mood-bg: #1E3240; --mood-accent: #7FD6FF; }
.moods[data-mood="village"] { --mood-bg: #24361E; --mood-accent: #B9E36A; }
.moods { background-color: var(--mood-bg); overflow: hidden; }
.moods-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px 64px; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; }
.tab {
  font: 800 var(--t-16)/1 var(--body); padding: 12px 18px; border-radius: 10px; cursor: pointer;
  background: rgba(255, 243, 220, 0.08); color: var(--chalk); border: 2px solid rgba(255, 243, 220, 0.18);
  transition: background-color 200ms, color 200ms, border-color 200ms, transform 160ms var(--ease-out);
}
.tab:hover { border-color: rgba(255, 243, 220, 0.5); }
.tab[aria-selected="true"] { background: var(--mood-accent); border-color: var(--mood-accent); color: #160E22; transform: rotate(-1.5deg); }
.mood-text { display: grid; gap: 10px; min-height: 9.5em; align-content: start; }
.mood-text h3 { font-size: var(--t-36); color: var(--mood-accent); transition: color 400ms; }
.mood-text p { max-width: 46ch; }
.mood-when { font-weight: 800; color: var(--chalk); }
.mood-when span { color: var(--mist); font-weight: 600; }
/* The mood's name painted big on the wall behind everything, in Hindi */
.moods .wrap { position: relative; z-index: 1; }
.mood-word {
  position: absolute; z-index: 0; left: -0.04em; bottom: -0.3em; white-space: nowrap; pointer-events: none;
  font-family: var(--display); font-size: clamp(9rem, 26vw, 24rem); line-height: 1;
  color: color-mix(in srgb, var(--mood-accent) 13%, transparent); transition: color 700ms;
}
.mood-shot { position: relative; justify-self: center; width: min(360px, 80vw); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 0 0 8px #0A0818, 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 90px color-mix(in srgb, var(--mood-accent) 30%, transparent); transition: box-shadow 700ms; }
.mood-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 520ms var(--ease-out), transform 900ms var(--ease-out); }
.mood-shot img.is-on { opacity: 1; transform: none; }
.rain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 500ms; pointer-events: none; }
.moods[data-mood="monsoon"] .rain { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .moods, .mood-shot img, .tab { transition: none; }
  .mood-shot img { transform: none; }
}

/* Meet the mohalla */
.cast { background: linear-gradient(180deg, var(--night) 0%, #1D1652 100%); }
.lineup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 0.8fr 1.1fr 1.4fr 1.3fr; gap: 28px; align-items: start; position: relative; }
.lineup::after { /* the pavement they stand on */
  content: ""; position: absolute; left: -24px; right: -24px; top: calc(var(--fig-h) + 2px); height: 10px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, #3A3270 0 70px, #332B66 70px 72px);
}
.lineup { --fig-h: 300px; }
.who { display: grid; grid-template-rows: var(--fig-h) auto; gap: 30px; align-items: start; }
.who figure { margin: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.who img { width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.45)); }
.who.gali img { height: 84%; }
.who.mummy img { height: 100%; }
.who.cow img { height: 66%; }
.who.baraat img { height: 100%; }
.plate {
  display: inline-block; font-family: var(--display); font-size: var(--t-24); line-height: 1; padding: 10px 16px 8px;
  border-radius: 4px; border: 3px solid currentColor; box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35); transform: rotate(var(--tilt, -1deg));
}
.who.gali .plate { background: var(--haldi); color: var(--sindoor); }
.who.mummy .plate { background: var(--rani); color: #FFF4F8; --tilt: 1.2deg; }
.who.cow .plate { background: var(--patti); color: var(--haldi); --tilt: -0.6deg; }
.who.baraat .plate { background: var(--night-3); color: var(--genda); --tilt: 0.8deg; }
.who-text { display: grid; gap: 10px; justify-items: start; }
.who-text p { color: var(--mist); font-size: var(--t-16); max-width: 32ch; }
.powerups { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-top: 64px; padding: 0; list-style: none; }
.powerups li:first-child { font-weight: 800; margin-right: 6px; color: var(--chalk); }
.powerups li:not(:first-child) { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: var(--t-16); background: rgba(255, 243, 220, 0.07); border: 1.5px dashed rgba(255, 243, 220, 0.3); }

/* Join the beta */
.beta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: rgba(255, 243, 220, 0.05); border: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--display); font-size: var(--t-24); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--genda); color: var(--on-haldi); }
.steps strong { display: block; font-size: var(--t-18); }
.steps a { overflow-wrap: anywhere; font-weight: 600; font-size: var(--t-16); }
.note { color: var(--mist); font-size: var(--t-16); margin-top: 16px; max-width: 56ch; }

.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 800; font-size: var(--t-18); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--genda); border-bottom: 3px solid var(--genda); transform: rotate(45deg) translate(-3px, -3px); transition: transform 220ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 260ms var(--ease-out), content-visibility 260ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq p { color: var(--mist); padding-bottom: 18px; max-width: 60ch; }
@media (prefers-reduced-motion: reduce) { .faq details::details-content, .faq summary::after { transition: none; } }

/* Latest news */
.latest-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.latest-list li { border-bottom: 1px solid var(--line); }
.latest-list a { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 24px; padding: 20px 0; color: var(--chalk); text-decoration: none; }
.latest-list time { color: var(--mist); font-weight: 600; font-size: var(--t-16); padding-top: 4px; }
.latest-list strong { font-family: var(--display); font-weight: 400; font-size: var(--t-24); line-height: 1.2; }
.latest-list span { grid-column: 2; color: var(--mist); font-size: var(--t-16); }
.latest-list a:hover strong { color: var(--genda); }
.more-link { margin-top: 20px; font-weight: 700; }
@media (max-width: 640px) { .latest-list a { grid-template-columns: minmax(0, 1fr); } .latest-list span { grid-column: 1; } }

/* Footer */
footer { border-top: 1px solid var(--line); background: #110D2C; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 36px 44px; color: var(--mist); font-size: var(--t-16); }
.bye { font-family: var(--display); font-size: var(--t-24); color: var(--chalk); }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer nav a { color: var(--mist); }
footer nav a:hover { color: var(--chalk); }
footer .pp-badge img { width: 200px; height: auto; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  /* Phones and tablets: the sign, then the street with the chase right under it, then the words, then the phone. */
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding-top: 104px; padding-bottom: 56px; }
  .hero-sign, .hero-text, .phone-col { grid-column: 1; grid-row: auto; }
  .street { position: relative; left: auto; bottom: auto; margin-left: calc(50% - 50vw); margin-top: 8px; height: 210px; }
  .hero-text { padding-top: 26px; padding-bottom: 0; }
  .phone-col { justify-self: center; align-self: start; margin: 48px 0 0; }
  .phone { width: min(280px, 72vw); }
  .moods-grid, .beta-grid { grid-template-columns: minmax(0, 1fr); }
  .mood-shot { width: min(320px, 78vw); }
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); --fig-h: 240px; row-gap: 56px; }
  .lineup::after { display: none; }
  .who { gap: 18px; }
  .who figure { border-bottom: 8px solid #3A3270; border-radius: 4px; padding-bottom: 2px; }
}
@media (max-width: 560px) {
  .board { padding: 20px 20px 0; border-width: 7px; }
  .strip { margin: 18px -20px 0; padding: 8px 20px 10px; }
  .hero-grid { padding-top: 92px; }
  .street { height: 178px; }
  .skyline { bottom: 62px; height: 130px; }
  .road { height: 66px; }
  .road::after { top: 30px; }
  .chase { bottom: 18px; height: 150px; }
  .pair { width: 330px; animation-name: cross-sm; }
  .runner.gali { height: 112px; }
  .runner.mummy { height: 134px; }
  .lineup { --fig-h: 190px; gap: 20px; row-gap: 44px; }
  .plate { font-size: var(--t-21); }
}
@keyframes cross-sm { 0% { transform: translateX(-360px); } 34% { transform: translateX(calc(100vw + 30px)); } 100% { transform: translateX(calc(100vw + 30px)); } }

/* ------------------------------------------------------------------ inner pages (news, privacy, 404) */
.page, .doc, .news-page { max-width: 760px; margin: 0 auto; padding-block: 56px 88px; }
.page h1, .doc h1 { font-size: var(--t-72); line-height: 1.02; margin-bottom: 14px; }
.inner-top { background: linear-gradient(180deg, #120E30, var(--night)); border-bottom: 4px solid var(--genda); }
.doc .meta, .page .lede { color: var(--mist); margin: 0 0 32px; }
.doc h2 { font-size: var(--t-24); margin: 40px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc p, .doc li { margin: 0 0 14px; max-width: 68ch; color: #EDE6D6; }
.doc ul { padding-left: 1.2em; }
.doc code { font-size: 0.92em; background: rgba(255, 243, 220, 0.08); padding: 1px 6px; border-radius: 4px; }
.news-page { display: grid; gap: 34px; }
.news-head { display: grid; gap: 10px; }
.news-head h1 { font-size: var(--t-72); }
.lede { color: var(--mist); }
.next-up { background: var(--haldi); color: var(--on-haldi); border: 7px solid var(--wood); border-radius: 6px; padding: 22px 24px; transform: rotate(-0.6deg); box-shadow: inset 0 0 0 3px var(--haldi), inset 0 0 0 5px var(--sindoor); }
.next-up h2 { font-size: var(--t-24); color: var(--sindoor); margin-bottom: 10px; }
.next-up ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.next-up strong { display: block; }
.next-up span { color: #5A3A10; }
.post { border-top: 1px solid var(--line); padding-top: 30px; scroll-margin-top: 20px; }
.post time { font-weight: 700; font-size: var(--t-16); color: var(--genda); }
.post h2 { font-size: var(--t-36); margin: 8px 0 12px; }
.post h2 a { color: inherit; text-decoration: none; }
.post h2 a:hover { color: var(--genda); }
.post p { margin: 0 0 14px; max-width: 66ch; color: #EDE6D6; }
.post .btn { margin-top: 6px; }
.post-shot { margin: 4px 0 18px; }
.post-shot img { display: block; width: 100%; max-width: 760px; height: auto; border-radius: 6px; border: 3px solid var(--line); }
.follow { border-top: 1px solid var(--line); padding-top: 30px; }
.follow h2 { font-size: var(--t-24); margin-bottom: 12px; }
.follow ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.lost { min-height: 70vh; display: grid; align-content: center; justify-items: start; gap: 18px; }
