/* God Run Studios — godrunstudios.com */

:root {
  --bg: #08080A;
  --bg-raised: #0F0F12;
  --surface: #141417;
  --surface-2: #1B1B1F;
  --line: #26262B;
  --line-strong: #3A3A42;

  --text: #F5F5F2;
  --text-muted: #A6A6AD;
  --text-faint: #8B8B93;

  --gold-hi: #FFDD73;
  --gold: #FFC42E;
  --gold-mid: #FECF4C;
  --gold-deep: #E8B02A;
  --gold-ink: #08080A;
  --gold-glow: rgba(255, 196, 46, 0.14);
  --gold-line: rgba(255, 196, 46, 0.35);
  --gold-grad: linear-gradient(180deg, #FFDD73 0%, #FECF4C 45%, #FFC42E 100%);

  --navy-deep: #060D1F;
  --navy: #0B1530;
  --navy-2: #122042;
  --navy-glow: rgba(26, 77, 204, 0.35);

  --focus: #FFDD73;

  --font-display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;
  --fs-button: 0.9375rem;

  --section-y: clamp(72px, 6vw + 48px, 144px);
  --gutter: clamp(16px, 4vw, 40px);
  --max-page: 1200px;
  --max-text: 62ch;
  --max-narrow: 760px;

  --r-sm: 8px;
  --r-lg: 20px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -24px rgba(0, 0, 0, 0.8);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 60px;
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h2 {
  font: 800 var(--fs-h2)/1.08 var(--font-display);
  letter-spacing: -0.015em;
  max-width: 18ch;
}
a { color: inherit; }
main:focus { outline: none; }

.container {
  width: min(100% - 2 * var(--gutter), var(--max-page));
  margin-inline: auto;
}

/* Text links */
.section-intro a,
.about-copy a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold-line);
  text-underline-offset: 4px;
  transition: text-decoration-color 200ms ease;
}
.section-intro a:hover { text-decoration-color: var(--gold); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: var(--gold-ink);
  font: 600 var(--fs-small)/1 var(--font-display);
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.skip-link:focus-visible { outline-offset: 4px; box-shadow: 0 0 0 4px var(--bg); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 10, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--bg); }
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 16px;
}
.header-logo {
  display: block;
  margin-right: auto;
  border-radius: 6px;
}
.header-logo img { width: auto; height: 30px; }
.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: 32px; }
.primary-nav a {
  color: var(--text-muted);
  font: 500 var(--fs-button)/1 var(--font-body);
  text-decoration: none;
  padding-block: 8px;
  border-radius: 4px;
  transition: color 200ms ease;
}
.primary-nav a:hover { color: var(--text); }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  height: 40px;
}
.lang-toggle button {
  min-width: 44px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: 600 0.75rem/1 var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}
.lang-toggle button:hover { color: var(--text); }
.lang-toggle button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--gold-ink);
  cursor: default;
}
.lang-toggle button:focus-visible { outline-offset: 2px; }

@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .header-logo img { height: 36px; }
  .primary-nav { display: block; }
  .lang-toggle {
    height: 32px;
    margin-left: 8px;
    position: relative;
  }
  .lang-toggle::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 5px;
    width: 1px;
    height: 20px;
    background: var(--line-strong);
  }
  .lang-toggle button { height: 24px; min-width: 40px; }
  .primary-nav + .lang-toggle { margin-left: 49px; }
}

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  padding-block: 72px 96px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 260px at 50% 34%, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Step 4 (2026-11-16): the hero says what the studio makes in five seconds. Headline, launch line and
   a button to the game, readable over the nebula: larger type, light body text and a soft ROUND shadow
   (an ellipse that fades to nothing behind the block, plus a glow on the letters), never a box. */
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  isolation: isolate;
}
.hero-copy::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 135%; height: 175%;
  translate: -50% -50%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(4, 6, 14, 0.62) 0%, rgba(4, 6, 14, 0.42) 45%, rgba(4, 6, 14, 0.14) 75%, transparent 100%);
  pointer-events: none;
}
.hero-line {
  margin-top: 20px;
  max-width: 18ch;
  color: var(--text);
  font: 650 clamp(1.75rem, 1.15rem + 2.6vw, 3rem)/1.12 var(--font-display);
  letter-spacing: -0.015em;
  text-wrap: balance;
  text-shadow: 0 0 2px rgba(4, 6, 14, 0.9), 0 0 18px rgba(4, 6, 14, 0.85), 0 0 44px rgba(4, 6, 14, 0.6);
}
.hero-lead {
  margin-top: 14px;
  max-width: 30ch;
  color: #EDEDF0;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
  text-shadow: 0 0 2px rgba(4, 6, 14, 0.9), 0 0 14px rgba(4, 6, 14, 0.85), 0 0 34px rgba(4, 6, 14, 0.6);
}
.hero-name { color: var(--gold-hi); font-weight: 600; white-space: nowrap; }
.hero-cta { margin-top: 28px; }
.scroll-cue { display: none; }

@media (min-width: 760px) {
  .hero {
    min-height: min(calc(92vh - var(--header-h)), 860px);
    display: grid;
    align-items: center;
    padding-block: 96px 120px;
  }
  .hero::before {
    background: radial-gradient(600px 400px at 50% 38%, var(--gold-glow), transparent 70%);
  }
  .hero-lead { max-width: 34ch; }
  .hero-line { margin-top: 28px; }
  .hero-cta { margin-top: 36px; }
  .scroll-cue {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 32px;
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent 0%, var(--gold) 50%, transparent 100%) 0 -48px / 1px 96px no-repeat,
                rgba(255, 196, 46, 0.14);
  }
}

/* Section bands */
.band {
  position: relative;
  padding-block: var(--section-y);
}
.band-raised {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
}
#soon { border-top: 1px solid var(--line); }
.section-intro {
  max-width: var(--max-text);
  margin-top: 16px;
  color: var(--text-muted);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

/* About */
.about-grid { display: grid; gap: 24px; }
.about-copy { display: grid; gap: 20px; max-width: var(--max-text); }
.about-copy p { color: var(--text-muted); }
.about-copy .lead {
  color: var(--text);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .about-copy { padding-top: 34px; }
}

/* Our Game */
.game {
  overflow: clip;
  background:
    radial-gradient(900px 520px at 72% 30%, var(--navy-glow), transparent 70%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 18%, var(--navy) 82%, var(--navy-deep) 100%);
}
.game-grid { display: grid; gap: 40px; }
.game-id {
  display: flex;
  align-items: center;
  gap: 16px;
}
.game-logo { width: auto; height: 64px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45)); }
.game-head h2 { margin-top: 24px; }
.game-lead {
  margin-top: 16px;
  max-width: var(--max-text);
  color: var(--text-muted);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.features { display: grid; gap: 18px; }
.features li {
  position: relative;
  padding-left: 22px;
}
.features li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.features h3 {
  font: 600 1.0625rem/1.4 var(--font-display);
  letter-spacing: 0;
  color: var(--text);
}
.features p { color: var(--text-muted); margin-top: 2px; }
.fine {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
  max-width: var(--max-text);
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .game-grid {
    grid-template-columns: 6fr 6fr;
    grid-template-areas: "head stack" "body stack";
    column-gap: 72px;
    row-gap: 32px;
    align-items: center;
  }
  .game-head { grid-area: head; align-self: end; }
  .game-body { grid-area: body; align-self: start; }
  .game-logo { height: 80px; }
}
@media (min-width: 520px) {
  .actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  font: 600 var(--fs-button)/1.25 var(--font-display);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn svg { flex: none; }
.btn-primary {
  background: var(--gold-grad);
  color: var(--gold-ink);
  box-shadow: 0 0 0 1px rgba(255, 221, 115, 0.5) inset, 0 10px 30px -10px rgba(255, 196, 46, 0.45);
}
.btn-primary .arrow { transition: transform 200ms var(--ease); }
.btn-primary:hover {
  background: var(--gold-hi);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 221, 115, 0.5) inset, 0 14px 36px -10px rgba(255, 196, 46, 0.6);
}
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-primary:active { background: var(--gold-deep); transform: translateY(0); }
.btn-primary:focus-visible {
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--navy);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 196, 46, 0.6);
}
.btn-secondary svg { color: var(--gold); }
/* The App Store date is information, not a control, so it never reacts to hover. */
.btn-static { cursor: default; }

/* Coming Soon */
.locked-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 760px) {
  .locked-grid { grid-template-columns: 1fr 1fr; }
}
.locked {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 10px),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 400ms ease;
}
.locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 220px at 100% 100%, rgba(255, 196, 46, 0.12), transparent 70%);
  opacity: 0.58;
  transition: opacity 400ms ease;
  pointer-events: none;
}
@media (hover: hover) {
  .locked:hover { border-color: #30303A; }
  .locked:hover::after { opacity: 1; }
}
.locked-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.locked-name {
  color: var(--text-muted);
  font: 600 var(--fs-eyebrow)/1.4 var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold);
  font: 600 0.6875rem/1.2 var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
@media (min-width: 760px) {
  .locked { min-height: 340px; padding: 32px; }
}

/* Contact */
.contact { text-align: center; }
.contact h2 { margin-inline: auto; }
.contact .section-intro { margin-inline: auto; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-brand img { width: auto; height: 28px; }
.footer-brand p {
  color: var(--text-faint);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 24px;
}
.footer-links a {
  display: inline-block;
  padding-block: 10px;
  color: var(--text-muted);
  font-size: var(--fs-small);
  text-decoration: none;
  border-radius: 4px;
  transition: color 200ms ease;
}
.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-underline-offset: 4px;
}
@media (min-width: 760px) {
  .site-footer { padding-block: 48px 40px; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-brand { flex-direction: row; gap: 20px; }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-line { animation: rise-sm 700ms var(--ease) 150ms both; }
  .hero-lead { animation: rise-sm 700ms var(--ease) 300ms both; }
  .hero-cta { animation: rise-sm 700ms var(--ease) 450ms backwards; }
  .hero::before { animation: breathe 6s ease-in-out infinite; }
  .scroll-cue { animation: cue 2.4s linear 1.2s infinite; }

  /* Reveal only applies once script.js has marked the page as JS-enabled. */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

}
@keyframes rise-sm {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes breathe {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
@keyframes cue {
  from { background-position: 0 -48px, 0 0; }
  to { background-position: 0 48px, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero::before, .scroll-cue { animation: none !important; }
}

/* ── Animated hero logo (2026-11-15, v3 "more happening") ──────────────────────────────────────
   G, O, D drop in one by one · RUN STU slides in · the crown spins down and SLAMS onto the G ·
   shake + gold flash + sparks · D-I-O-S stamp in gold · light rays open behind and turn slowly ·
   the crown tips twinkle · a shine sweeps the gold every 5s. Reduced motion: the final logo, still. */
.hero-logo .logo-anim {
  position: relative; display: block; margin: 0 auto; isolation: isolate;
  width: clamp(220px, 64vw, 280px); aspect-ratio: 1680 / 1042;
}
@media (min-width: 768px) { .hero-logo .logo-anim { width: clamp(240px, 34vw, 440px); } }
.hero-logo .logo-anim img { position: absolute; inset: 0; width: 100%; height: 100%; animation: none; }
.l-dios-w { opacity: 0; }
.l-dios-g { filter: drop-shadow(0 0 10px rgba(254,207,76,0.45)); }
.l-rays {
  position: absolute; left: 50%; top: 50%; width: 190%; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(254,207,76,0.16) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,0.6) 30%, transparent 62%);
          mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,0.6) 30%, transparent 62%);
  opacity: 0.55; pointer-events: none; z-index: -1;
}
.l-burst {
  position: absolute; left: 3%; top: -12%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,221,115,0.95) 0%, rgba(254,207,76,0.45) 30%, transparent 68%);
  opacity: 0; pointer-events: none;
}
.l-sparks { position: absolute; left: 24%; top: 30%; width: 0; height: 0; pointer-events: none; }
.l-sparks i {
  position: absolute; width: var(--s); height: var(--s); border-radius: 50%; left: 0; top: 0;
  background: #FFE9A6; box-shadow: 0 0 8px 2px rgba(254,207,76,0.9); opacity: 0;
}
.l-twinkle {
  position: absolute; width: 7%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 8%, rgba(255,233,166,0.9) 14%, transparent 42%);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
}
.l-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,1) 50%, transparent 62%) no-repeat;
  background-size: 300% 100%; background-position: 150% 0;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  mix-blend-mode: screen; opacity: 0;
}
.l-shine-crown { -webkit-mask-image: url(img/logo-crown.png); mask-image: url(img/logo-crown.png); }
.l-shine-dios  { -webkit-mask-image: url(img/logo-dios-gold.png); mask-image: url(img/logo-dios-gold.png); }
.hero { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .logo-anim { animation: logoShake 460ms ease-out 1500ms both; }
  .l-burst { animation: burst 900ms ease-out 1480ms both; }
  .l-sparks i { animation: spark 900ms cubic-bezier(.1,.7,.3,1) calc(1500ms + var(--d)) both; }
  .l-rays { animation: raysIn 1200ms ease-out 2600ms both, raysSpin 40s linear 2600ms infinite; }
  .t1 { animation: twinkle 2.6s ease-in-out 3000ms infinite; }
  .t2 { animation: twinkle 2.6s ease-in-out 3700ms infinite; }
  .t3 { animation: twinkle 2.6s ease-in-out 4400ms infinite; }
  .l-shine-crown { animation: shine 5s ease-in-out 2900ms infinite; }
  .l-shine-dios  { animation: shine 5s ease-in-out 3150ms infinite; }
}
@keyframes logoShake {
  0% { transform: none; } 12% { transform: translate(-8px, 6px); } 26% { transform: translate(7px, -5px); }
  40% { transform: translate(-5px, 4px); } 56% { transform: translate(4px, -3px); } 75% { transform: translate(-2px, 1px); }
  100% { transform: none; }
}
@keyframes burst { 0% { opacity: 0; transform: scale(0.3); } 16% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
@keyframes spark {
  0% { opacity: 1; transform: translate(0,0) scale(1.3); }
  100% { opacity: 0; transform: translate(calc(var(--dx) * 4.4), calc(var(--dy) * 4.4)) scale(0.3); }
}
@keyframes diosGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(254,207,76,0.45)); }
  50%      { filter: drop-shadow(0 0 22px rgba(255,221,115,0.9)) brightness(1.14); }
}
@keyframes raysIn { from { opacity: 0; scale: 0.4; } to { opacity: 0.55; scale: 1; } }
@keyframes raysSpin { to { rotate: 360deg; } }
@keyframes twinkle { 0%, 70%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); } 80% { opacity: 1; transform: scale(1.2) rotate(45deg); } }
@keyframes shine {
  0% { opacity: 1; background-position: 150% 0; } 18% { opacity: 1; background-position: -50% 0; }
  19%, 100% { opacity: 0; background-position: -50% 0; }
}

/* ── v4 (2026-11-15): "it's GOD in the logo, He's almighty" — light from above, glory behind GOD,
   GOD's letters keep a soft holy light, golden motes rise forever. Reduced motion: still logo. ── */
.l-beam {
  position: absolute; left: 51%; bottom: 35%; width: 46%; height: 420%; translate: -50% 0;
  background: linear-gradient(to bottom, rgba(255,250,230,0) 0%, rgba(255,246,214,0.10) 35%, rgba(255,240,200,0.32) 85%, rgba(255,236,190,0.45) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent);
  filter: blur(6px); pointer-events: none; z-index: -2; opacity: 0.35;
}
.l-glory {
  position: absolute; left: 53%; top: 52%; width: 92%; aspect-ratio: 1.6; translate: -50% -50%;
  background: radial-gradient(ellipse at center, rgba(255,252,240,0.38) 0%, rgba(255,226,140,0.22) 32%, rgba(254,207,76,0.08) 55%, transparent 72%);
  pointer-events: none; z-index: -1; opacity: 0.8;
}
.l-g { filter: drop-shadow(0 0 8px rgba(255,248,225,0.35)); }

@media (prefers-reduced-motion: no-preference) {
  .l-beam  { animation: beamDown 1100ms cubic-bezier(.2,.7,.2,1) 0ms both, beamBreath 6s ease-in-out 2600ms infinite; }
  .l-glory { animation: gloryIn 1400ms ease-out 1500ms both, gloryBreath 5s ease-in-out 2900ms infinite; }
}
@keyframes beamDown {
  0%   { opacity: 0; transform: translateY(-40%) scaleX(0.3); }
  45%  { opacity: 1; transform: none; }
  100% { opacity: 0.35; transform: none; }
}
@keyframes beamBreath { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.6; } }
@keyframes gloryIn { from { opacity: 0; scale: 0.5; } to { opacity: 0.8; scale: 1; } }
@keyframes gloryBreath { 0%, 100% { opacity: 0.8; scale: 1; } 50% { opacity: 1; scale: 1.08; } }

/* ── v5 (2026-11-15): the crown "adjusts" itself every 8s after landing: lifts a hair, tilts,
   counter-tilts, and settles back on the G — like a hand straightening it. ── */
@keyframes crownAdjust {
  0%        { transform: none; }
  4%        { transform: translateY(-4%) rotate(-7deg); }
  9%        { transform: translateY(-3%) rotate(5deg); }
  13%       { transform: translateY(-1%) rotate(-2deg); }
  16%       { transform: translateY(0.6%) rotate(0.5deg) scale(1.02, 0.97); }
  19%, 100% { transform: none; }
}

/* v6 (2026-11-15): rotating rays hidden for review ("let me see it without it"). Delete this rule to bring them back. */
.l-rays { display: none; }

/* v6b: the beam used to END at full strength across GOD, a hard edge that read as a grey box (visible
   in the O) once the rays stopped hiding it. It now reaches below the letters and fades out on every side. */
.l-beam {
  bottom: -10%;
  background: linear-gradient(to bottom, rgba(255,250,230,0) 0%, rgba(255,246,214,0.10) 30%, rgba(255,240,200,0.30) 62%, rgba(255,236,190,0.18) 82%, rgba(255,236,190,0) 100%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 100%);
  filter: blur(14px);
}

/* v7 (2026-11-15): no light from above (founder). Hidden, not deleted: remove this rule to restore it. */
.l-beam { display: none; }

/* ── v8 (2026-11-15): the logo reacts — 3D tilt toward the pointer with layered depth, a tap-the-crown
   Easter egg, and a glossy-floor reflection. All motion is off under reduced motion. ── */
.hero-logo { perspective: 900px; margin-bottom: clamp(36px, 7vw, 80px); }
.hero-logo .logo-anim {
  --tx: 0deg; --ty: 0deg; --px: 0; --py: 0;
  transform-style: preserve-3d;
}
.l-crown-hit {
  position: absolute; left: 9%; top: 6%; width: 29%; height: 38%;
  background: none; border: 0; padding: 0; cursor: pointer; border-radius: 40%;
  -webkit-tap-highlight-color: transparent;
}
.l-crown-hit, .l-crown-hit:focus, .l-crown-hit:focus-visible { outline: none; }   /* v83: no ring around the crown (founder) */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo { transition: none; }
  .l-sparks  { translate: calc(var(--px) * 16px) calc(var(--py) * 12px); }

  /* Tap the crown: two alternating classes so a second tap restarts everything */
  .logo-anim.poke-b .l-crown { animation-name: crownHop2; }
  .logo-anim.poke-a .l-sparks i { animation: spark 900ms cubic-bezier(.1,.7,.3,1) calc(520ms + var(--d)) both; }
  .logo-anim.poke-b .l-sparks i { animation: spark2 900ms cubic-bezier(.1,.7,.3,1) calc(520ms + var(--d)) both; }
  .logo-anim.poke-a .l-burst { animation: burst 800ms ease-out 500ms both; }
  .logo-anim.poke-b .l-burst { animation: burst2 800ms ease-out 500ms both; }
  .logo-anim.poke-b .l-dios-g { animation: diosFlash2 700ms ease-out 560ms both; }
}
@keyframes crownHop2 { 0% { transform: none; } 30% { transform: translateY(-55%) rotate(200deg) scale(1.15); } 55% { transform: translateY(-20%) rotate(360deg); } 62% { transform: translateY(0) rotate(360deg) scale(1.08, 0.85); } 80% { transform: translateY(-4%) rotate(362deg); } 100% { transform: rotate(360deg); } }
@keyframes spark2 { 0% { opacity: 1; transform: translate(0,0) scale(1.3); } 100% { opacity: 0; transform: translate(calc(var(--dx) * 4.4), calc(var(--dy) * 4.4)) scale(0.3); } }
@keyframes burst2 { 0% { opacity: 0; transform: scale(0.3); } 16% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
@keyframes diosFlash { 0% { filter: drop-shadow(0 0 10px rgba(254,207,76,.45)); } 30% { filter: brightness(1.9) drop-shadow(0 0 26px rgba(255,221,115,1)); } 100% { filter: drop-shadow(0 0 10px rgba(254,207,76,.45)); } }
@keyframes diosFlash2 { 0% { filter: drop-shadow(0 0 10px rgba(254,207,76,.45)); } 30% { filter: brightness(1.9) drop-shadow(0 0 26px rgba(255,221,115,1)); } 100% { filter: drop-shadow(0 0 10px rgba(254,207,76,.45)); } }
.tilt-wrap { position: relative; display: block; width: fit-content; margin: 0 auto; }
@media (prefers-reduced-motion: no-preference) {
  .logo-anim.poke-b .l-crown { animation: crownHop2 900ms cubic-bezier(.3,.9,.3,1) both, crownAdjust 8s ease-in-out 4000ms infinite; }
  .logo-anim.poke-a .l-dios-g { animation: diosFlash 700ms ease-out 560ms both, diosGlow 3.2s ease-in-out 1300ms infinite; }
  .logo-anim.poke-b .l-dios-g { animation: diosFlash2 700ms ease-out 560ms both, diosGlow 3.2s ease-in-out 1300ms infinite; }
}
/* The logo canvas has ~8.6% of its WIDTH of empty space under the letters; the reflection mirrors it,
   so it is pulled up by twice that to sit right under RUN STUDIOS. Width tracks the clamp() above. */
.hero-logo { margin-bottom: clamp(16px, 4vw, 44px); }

/* ── v9 (2026-11-15): the logo's light fills the whole hero and flows behind the text ─────────────
   A wide gold aura centred on the logo that reaches the section's edges, and gold dust rising
   through the ENTIRE hero (60 motes, already mid-flight on load via negative delays). The logo's
   own small motes are retired in favour of this. Content sits above it. ── */
.hero-ambient { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero-aura {
  position: absolute; left: 50%; top: 34%; width: 170vmax; height: 120vmax; translate: -50% -50%;
  background:
    radial-gradient(closest-side, rgba(255,236,170,0.20) 0%, rgba(254,207,76,0.11) 22%, rgba(254,196,46,0.05) 45%, transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-aura { animation: auraIn 1800ms ease-out 1300ms both, auraBreath 7s ease-in-out 3100ms infinite; }
}
@keyframes auraIn { from { opacity: 0; scale: 0.4; } to { opacity: 1; scale: 1; } }
@keyframes auraBreath { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; scale: 1.06; } }

/* the Star of Bethlehem's orbit turns with the sky (v13) */
@keyframes skyTurn { to { rotate: 360deg; } }

/* v16 (2026-11-15): THE STAR OF BETHLEHEM replaces the made-up constellations (founder: "the one when
   Jesus was born"). One radiant star, fixed in the upper sky while the heavens turn around it; four long
   beams, the lowest pointing down the longest, as in nativity art. A slow pulse; still under reduced motion. */
.bethlehem {
  position: absolute; left: 78%; top: 6%; width: clamp(110px, 12vw, 200px); height: auto;
  z-index: 0; overflow: visible; filter: drop-shadow(0 0 14px rgba(255,236,170,0.55));
}
@media (max-width: 767px) { .bethlehem { left: 80%; top: 3%; width: 96px; } }
@media (prefers-reduced-motion: no-preference) {
  .bethlehem .bh-glow { animation: bhPulse 5s ease-in-out 5800ms infinite; transform-origin: 0 0; }
  .bethlehem .bh-rays { animation: bhRays 5s ease-in-out 5800ms infinite; transform-origin: 0 0; }
}
@keyframes bhIn { from { opacity: 0; scale: 0.4; } to { opacity: 1; scale: 1; } }
@keyframes bhPulse { 0%, 100% { opacity: 0.85; scale: 1; } 50% { opacity: 1; scale: 1.15; } }
@keyframes bhRays { 0%, 100% { opacity: 0.9; scale: 1; } 50% { opacity: 1; scale: 1.06; } }

/* v17 (2026-11-15): the Star of Bethlehem turns WITH the heavens (same pivot and speed as the near
   sky) while counter-rotating itself so its long beam always points down. */
.bethlehem-orbit {
  position: absolute; left: 50%; top: 34%; width: 190vmax; height: 190vmax; translate: -50% -50%;
  pointer-events: none; z-index: 0;
}
.bethlehem-spot { position: absolute; left: 64.5%; top: 40.5%; width: 0; height: 0; }
.bethlehem-orbit .bethlehem { position: absolute; left: 0; top: 0; translate: -50% -38%; }
@media (max-width: 767px) { .bethlehem-spot { left: 61%; top: 44%; } }
@media (prefers-reduced-motion: no-preference) {
  .bethlehem-orbit { animation: skyTurn 180s linear infinite; }
}
/* v17b: counter-rotate the zero-size point at the Star's centre (an exact pivot), not the SVG box. */
@media (prefers-reduced-motion: no-preference) {
  .bethlehem-orbit .bethlehem { animation: bhIn 2600ms ease-out 3200ms both; }
  .bethlehem-spot { animation: skyTurn 180s linear infinite reverse; }
}

/* v19 (2026-11-15): founder switched to crown A ("A reshape fullsize"): the original crown at full size
   and original position, base reshaped to wrap the G's corner then run flat. Anchors back to the
   original crown's geometry. (Crown B is kept at kit/crown_B_installed_backup.png.) */
.l-crown { transform-origin: 25% 30%; }
.l-sparks { left: 24%; top: 30%; }
.l-burst { left: 3%; top: -12%; }
.t1 { left: 21.6%; top: 8%; } .t3 { left: 9.7%; top: 23.4%; }

/* v20 (2026-11-15): crown A widened 11.5% so it reaches the G's right edge (base re-fitted, gap 21-28px).
   Founder: "remove the movement from the crown" — no periodic adjusting, and it no longer drifts with the
   pointer tilt. It still lands with the slam on load, and still answers a tap. */
.l-crown { translate: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .logo-anim.poke-b .l-crown { animation: crownHop2 900ms cubic-bezier(.3,.9,.3,1) both; }
}

/* ── v21 (2026-11-15): THE CROWN NEVER TOUCHES THE G (founder: "never allow the crown to hit the G,
   respect the curvature of the G"). Rule for every crown motion: it may only be AT or ABOVE its resting
   seat, never lower, never tilted while near the G, never squashed. All spinning finishes while the crown
   is still high; the last stretch is a straight vertical descent into the seat; the only bounce is UP.
   The letters also stop drifting with the pointer, so the 21-28px channel can never narrow. ── */
.l-g, .l-run, .l-dios-w, .l-dios-g { translate: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .logo-anim.poke-a .l-crown { animation: crownTapUp 1000ms cubic-bezier(.3,.9,.3,1) both; }
  .logo-anim.poke-b .l-crown { animation: crownTapUp2 1000ms cubic-bezier(.3,.9,.3,1) both; }
}
@keyframes crownTapUp {
  0%   { transform: none; }
  25%  { transform: translateY(-45%) rotate(-180deg); }
  55%  { transform: translateY(-30%) rotate(-360deg); }
  85%  { transform: translateY(-3%) rotate(-360deg); }
  100% { transform: translateY(0) rotate(-360deg); }
}
@keyframes crownTapUp2 {
  0%   { transform: none; }
  25%  { transform: translateY(-45%) rotate(180deg); }
  55%  { transform: translateY(-30%) rotate(360deg); }
  85%  { transform: translateY(-3%) rotate(360deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* v22 (2026-11-15): founder: remove the little explosion of light (the gold flash when the crown lands,
   on load and on tap). */
.l-burst { display: none !important; }

/* v23: the crown's right end lines up with the G's TOP right edge (x=650), not the G's widest point. */
.t2 { left: 38.7%; top: 9.1%; }
.l-crown-hit { left: 9%; top: 6%; width: 30%; height: 38%; }

/* v24: the dodge offset rides on the same wrapper as the tilt; a springy ease so it scoots, then glides home. */
@media (prefers-reduced-motion: no-preference) {
  .tilt-wrap {
    transform: translate(var(--dx, 0px), var(--dy, 0px)) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
    transition: transform 520ms cubic-bezier(.2,1.25,.4,1);
  }
}

/* v29: floating mute, bottom-right, always reachable; quiet until hovered. */
.mute-btn {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(8,8,10,0.72); color: rgba(245,245,242,0.8);
  border: 1px solid rgba(254,207,76,0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.mute-btn:hover { color: #FFDD73; border-color: #FECF4C; }
.mute-btn:focus-visible { outline: 2px solid #FECF4C; outline-offset: 3px; }
.mute-btn .ico-off { display: none; }
.mute-btn[aria-pressed="true"] .ico-on { display: none; }
.mute-btn[aria-pressed="true"] .ico-off { display: block; }
.mute-btn[aria-pressed="true"] { color: rgba(245,245,242,0.55); }

/* v30 (2026-11-15): every dodge, G-O-D illuminate in the crown's gold with a glow, then fade back to white. */
.l-godgold { opacity: 0; filter: drop-shadow(0 0 14px rgba(255,221,115,0.75)); pointer-events: none; }

/* v31: the first-click sound hint, beside the mute button. */
.sound-hint {
  position: fixed; right: calc(max(16px, env(safe-area-inset-right)) + 54px); bottom: calc(max(16px, env(safe-area-inset-bottom)) + 8px);
  z-index: 50; padding: 7px 12px; border-radius: 999px; pointer-events: none;
  background: rgba(8,8,10,0.78); color: #FFDD73; border: 1px solid rgba(254,207,76,0.4);
  font: 500 12.5px/1.1 Inter, system-ui, sans-serif; letter-spacing: 0.01em; white-space: nowrap;
  opacity: 0; translate: 8px 0; transition: opacity 400ms ease, translate 400ms ease;
}
.sound-hint.show { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: no-preference) { .sound-hint.show { animation: hintPulse 2.4s ease-in-out 600ms 3; } }
@keyframes hintPulse { 0%,100% { box-shadow: 0 0 0 rgba(254,207,76,0); } 50% { box-shadow: 0 0 16px rgba(254,207,76,0.45); } }

/* v30b: lit while dodging (fast in), fades back to white when the chase pauses. Replaces the v30 keyframes. */
.l-godgold { opacity: 0; transition: opacity 700ms ease; }
.logo-anim.god-lit .l-godgold { opacity: 1; transition: opacity 140ms ease-out; }

/* v33: the dodge sparkle trail. */
.dodge-spark {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 3; translate: -50% -50%;
  background: #FFF3CC; box-shadow: 0 0 6px 2px rgba(255,221,115,0.85);
}

/* v42: the blinking "Click to activate sound" prompt, centred at the bottom of the screen. */
.sound-hint {
  position: fixed; left: 50%; right: auto; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 10px);
  translate: -50% 12px; z-index: 50; cursor: pointer; pointer-events: auto;
  padding: 11px 22px; border-radius: 999px; white-space: nowrap;
  background: rgba(8,8,10,0.82); color: #FFDD73; border: 1px solid rgba(254,207,76,0.7);
  font: 600 14px/1 Inter, system-ui, sans-serif; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 0 22px rgba(254,207,76,0.35), 0 8px 24px rgba(0,0,0,0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 400ms ease, translate 400ms ease;
}
.sound-hint.show { opacity: 1; translate: -50% 0; animation: hintBlink 1.4s ease-in-out infinite; }
.sound-hint:focus-visible { outline: 2px solid #FECF4C; outline-offset: 3px; }
@keyframes hintBlink { 0%, 100% { opacity: 1; box-shadow: 0 0 26px rgba(254,207,76,0.55), 0 8px 24px rgba(0,0,0,0.5); } 50% { opacity: 0.35; box-shadow: 0 0 6px rgba(254,207,76,0.1), 0 8px 24px rgba(0,0,0,0.5); } }
@media (prefers-reduced-motion: reduce) { .sound-hint.show { animation: none; } }

/* v43: the prompt sits UNDER THE LOGO, in the hero's flow (not fixed to the screen). */
.sound-hint {
  position: relative; left: auto; right: auto; bottom: auto; translate: 0 6px;
  display: inline-block; margin: 0 auto 26px; z-index: 2;
}
.sound-hint.show { translate: 0 0; }

.space-credit { font-size: 11px; opacity: 0.55; margin-bottom: 6px; }

/* v45: chase heat, gold first; the logo hides while the implosion owns the sky.
   Step 5 (2026-11-16): overheat glows WHITE-HOT with a gold halo, never red (red read as an error). The hot layer is
   the white GOD drawing (the same file as .l-g, already loaded) over the gold one, with a white core glow and a
   wide gold halo. */
.l-godhot { opacity: 0; transition: opacity 400ms ease; pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255,252,240,0.95)) drop-shadow(0 0 22px rgba(255,221,115,0.85)); }
.logo-anim.god-hot .l-godhot { opacity: 0.85; transition: opacity 250ms ease-out; }
.logo-anim.god-hot { animation: heatShake 0.12s linear infinite; }
@keyframes heatShake { 0%,100% { translate: 0 0; } 25% { translate: calc(var(--heat,0) * 2px) 0; } 75% { translate: calc(var(--heat,0) * -2px) 0; } }
.tilt-wrap.is-exploded { opacity: 0; transition: opacity 80ms linear !important; }
@media (prefers-reduced-motion: reduce) { .logo-anim.god-hot { animation: none; } }

/* THE UNIVERSE (v46-v68, consolidated): one huge round sky, the wheel, whose centre sits below the screen so
   one galaxy at a time turns past the logo. script.js ("v57 THE WHEEL") sets its rotate directly every frame. */
.space-journey { position: absolute; inset: 0; z-index: -3; overflow: visible; }
.universe.wheel {
  --wheel: 0deg; --size: 236vmax;
  position: absolute; left: 50%; top: calc(100% + 34vmax); width: var(--size); height: var(--size);
  translate: -50% -50% !important; rotate: var(--wheel) !important; transform: none !important;
  animation: none !important; transition: none !important;
}
@media (max-width: 767px) { .universe.wheel { --size: 300vmax; } }

/* v60 (2026-11-15): THE STAR OF BETHLEHEM IS THE REWARD (founder): hidden until the logo explodes; it shines
   out with the explosion and fades as the logo returns. */
.bethlehem-orbit { opacity: 0; transition: opacity 1400ms ease; }

/* v62: stop the black flashes. The wheel was being repainted every frame and split into six huge
   layers (~2.3 GB of tiles); Chrome dropped tiles and showed them black. Keep it one finished layer
   that the GPU only turns, and give the logo a permanent layer so heat/dodge never rebuild it. */
.universe.wheel { will-change: transform; }
.tilt-wrap { will-change: transform; }
.hero-aura {
  width: 130vmax; height: 90vmax;
  background: radial-gradient(closest-side, rgba(255,236,170,0.20) 0%, rgba(254,207,76,0.11) 29%, rgba(254,196,46,0.05) 60%, transparent 93%);
}

/* v64: THE IMPLOSION. A black veil over the whole page (the particle canvas, z 60, and the star clone,
   z 61, sit above it), and the Star of Bethlehem clone that is the first light in the black. */
.implode-star { position: fixed; z-index: 61; pointer-events: none; margin: 0; translate: none; rotate: none; animation: none; opacity: 0; will-change: opacity; }

/* v66 (2026-11-15): GALAXIES MELT INTO A STARRY SKY (founder: "they just abruptly end ... add starry skies to get
   the mix"; "expand the area ... not restrained to a small chunk"). One continuous star sky covers the whole
   wheel; every galaxy is bigger and thins out into it with soft, wide edges (no straight seams, no photo
   edges), and neighbours cross-fade over 26 degrees through the stars. No rectangles anywhere: the universe
   is a soft-edged disc, and nothing clips it to a box while it implodes or is reborn. */
.hero-ambient { overflow: visible; }

/* v68 (2026-11-15): ONE SKY, KEYED BY ITS OWN LIGHT (founder: "make it feel like the universe", "blend universes
   together the right way", "avoid straight lines", "make the thing big"). The seven galaxies are no longer
   slices and boxes: they were composited offline into ONE round image (img/space/wheel-4k.webp). Every photo was
   keyed by its own luminance, so its dark falls away and only glowing gas and stars remain; each one's edge is
   a noise-warped cloud whose reach grows with brightness (the bright filaments carry furthest), and neighbours
   overlap deeply, light adding to light. A faint warped veil and a few dust lanes run all the way round, and
   the rim thins into the page's own black. Under the light lie two seamless star tiles of different periods
   (their repeat never lines up), dimmed where the gas is dense by a soft mask (wheel-mask.jpg), so the stars
   sit behind the clouds. One element, one layer, no masks, no conic edges, no photo frames: nothing in the
   sky can draw a straight line. Layers, top to bottom: light (screen) / star mask (multiply) / stars / stars. */
.universe.wheel {
  border-radius: 50%;
  -webkit-mask-image: none; mask-image: none;
  background-color: #000;
  background-image: url(img/space/wheel-lo.webp?v=69), url(img/space/wheel-mask.jpg?v=69), url(img/space/stars-a.jpg?v=69), url(img/space/stars-b.jpg?v=69);
  background-size: 100% 100%, 100% 100%, 1024px 1024px, 1280px 1280px;
  background-position: center, center, 0 0, 0 0;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-blend-mode: screen, multiply, screen, normal;
}
.universe.wheel > * { display: none !important; }
/* a light copy paints at once; the full sky swaps in once it is downloaded AND decoded (script.js v68).
   v76 (one universe in memory): every screen takes the 4096 px sky (a third of the decode memory of the old 6144
   one), and once the living sky (cine.js) has taken over, script.js drops .sky-hi so this hidden copy is released. */
.universe.wheel.sky-hi { background-image: url(img/space/wheel.webp?v=69), url(img/space/wheel-mask.jpg?v=69), url(img/space/stars-a.jpg?v=69), url(img/space/stars-b.jpg?v=69); }
/* v85 (founder: "feels shorter, like we're missing universes"): desktop is back on the 6144 px sky. The wheel is
   3568 CSS px wide, ~7100 device px at dpr 2: the 4096 copy was magnified 1.75x and smeared the small background
   galaxies and the fine stars between the seven big ones. Phones keep the 4096 sky. */
@media (max-width: 767px) {
  .universe.wheel.sky-hi { background-image: url(img/space/wheel-4k.webp?v=69), url(img/space/wheel-mask.jpg?v=69), url(img/space/stars-a.jpg?v=69), url(img/space/stars-b.jpg?v=69); }
}

/* v68 (2026-11-15): THE EVENT HORIZON. One full-screen WebGL canvas draws the implosion and the rebirth (the sky
   itself, bent into the logo's point); the Star of Bethlehem clone (.implode-star, z 61) sits above it. */
.eh-canvas { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }

/* v69 (2026-11-15, integration): on phones the wheel's centre moves up so the band of galaxy hearts (0.6 R) passes
   behind the phone's logo instead of its rim. */
@media (max-width: 767px) {
  .universe.wheel { top: calc(100% + 40vmax); }
}
/* v69b: the hero's sky ends in the colour of the band below it (#0F0F12), not in a darker black (the bottom fade
   is the TOP layer, so the corner vignette cannot darken it again), and that band
   drops its 1px top rule there: no straight horizontal step between the sky and "01 - About" (desktop or phone).
   The GL implosion paints the same three layers (script.js VIG_LINEAR), so its first frames match the page. */
.space-journey::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(8,8,10,0.2), rgba(8,8,10,0) 30%, rgba(8,8,10,0) 58%, rgba(12,12,14,0.55) 76%, rgba(15,15,18,0.93) 92%, rgb(15,15,18) 100%),
    radial-gradient(ellipse 55% 45% at 50% 40%, rgba(8,8,10,0.5), transparent 70%),
    radial-gradient(ellipse at center, transparent 45%, rgba(8,8,10,0.85) 100%);
}
.hero + .band-raised { border-top-color: transparent; }
/* Step 5 (2026-11-16): the header stays visible through the implosion (founder: "header stays visible, no full
   blackout"). It sits above the implosion canvas (z 60) and the star clone (z 61). html.eh-hold is still set while
   the screen is dark; it only pauses the sky's visitors now. */
.site-header { z-index: 62; }
.mute-btn { z-index: 63; }                       /* the mute stays reachable during the implosion too */

/* Step 5: the mute button never covers text. Wherever the page column reaches the screen edge (below 1360 px:
   the 1200 px column plus room for the button on each side) it sits IN the header bar, right of EN/ES; on wide
   screens it stays floating bottom-right, in the empty margin beside the column. */
@media (max-width: 1359px) {
  .header-inner { padding-right: 52px; }
  .mute-btn {
    top: calc((var(--header-h) - 40px) / 2); bottom: auto;
    right: max(var(--gutter), env(safe-area-inset-right), (100vw - var(--max-page)) / 2);
    width: 40px; height: 40px; z-index: 63;
    box-shadow: none; background: transparent; border-color: var(--line-strong);
  }
}

/* ==========================================================================================================
   v70 showcase (2026-11-15): GUESS THE PLATE, APPLE-STYLE (founder: "we should be able to point at the images
   and they need to expand, show us all the screen ... let's make it epic"). Replaces the three fanned phones.
   One list of six screens (two full-screen shots in phone frames, four partial shots as glass cards at their
   true shape, never cropped) drives three layouts, picked by script.js ("v70 showcase") on <html>:
     .sc-desk   (>= 1024px, motion OK)  a pinned scroll cinematic: the fan opens, each screen comes forward
                                        in turn with a big caption, then the lineup settles.
     (default)  phones/tablets, no JS   a swipeable scroll-snap strip; the centred screen is full size.
     .sc-still  (>= 1024px, reduced motion)  a still grid.
   Every screen opens dialog.sc-viewer (full screen, arrows / keys / swipe). Only transform and opacity move.
   ========================================================================================================== */
.game.sc {
  background:
    radial-gradient(900px 520px at 72% 260px, var(--navy-glow), transparent 70%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 6%, var(--navy) 94%, var(--navy-deep) 100%);
}
.sc .game-grid { display: block; }

/* --- shared frames -------------------------------------------------------------------------------------- */
.sc-item { position: relative; }
.sc-hit {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none;
  color: inherit; font: inherit; cursor: zoom-in; isolation: isolate; -webkit-tap-highlight-color: transparent;
}
.sc-hit:focus-visible { outline: none; }
.sc-hit:focus-visible .sc-frame { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--focus); }
.sc-tilt { display: block; transform-origin: 50% 50%; transition: transform 600ms var(--ease); }
.sc-frame { position: relative; display: block; overflow: hidden; isolation: isolate; }
.sc-frame img { display: block; width: 100%; height: auto; background: var(--navy-2); }
.sc-phone .sc-frame {
  --bz: 9px; --rr: 38px;
  padding: var(--bz); border-radius: var(--rr);
  background: linear-gradient(155deg, #3a3a40 0%, #17171a 22%, #0b0b0d 60%, #232327 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16), inset 0 0 0 2px #000, inset 0 0 0 3px rgba(255,255,255,0.05);
}
.sc-phone .sc-frame img { border-radius: calc(var(--rr) - var(--bz)); }
.sc-card .sc-frame {
  padding: 6px; border-radius: 24px;
  background: linear-gradient(150deg, rgba(255,255,255,0.26), rgba(255,255,255,0.06) 38%, rgba(255,255,255,0.03) 62%, rgba(255,255,255,0.16));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), inset 0 1px 0 rgba(255,255,255,0.35);
}
.sc-card .sc-frame img { border-radius: 18px; }
.sc-shadow {
  position: absolute; left: 10%; right: 10%; top: 8%; bottom: -3%; z-index: -1; border-radius: 40px;
  background: rgba(0, 0, 0, 0.7); filter: blur(26px); transform: translateY(18px);
  transition: transform 600ms var(--ease); pointer-events: none;
}
.sc-sheen, .sc-glare, .sc-dim { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.sc-sheen {
  background: linear-gradient(104deg, transparent 30%, rgba(255,226,140,0.10) 42%, rgba(255,240,200,0.38) 50%, rgba(255,226,140,0.10) 58%, transparent 70%);
  mix-blend-mode: screen; opacity: 0; transform: translateX(-120%);
}
.sc-glare { overflow: hidden; mix-blend-mode: screen; opacity: 0; transition: opacity 400ms ease; }
.sc-glare i {
  position: absolute; left: -50%; top: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.30), rgba(255,255,255,0.12) 16%, rgba(255,255,255,0) 40%);
}
.sc-dim { background: #040814; opacity: 0; }
.sc-hit.is-hover .sc-glare { opacity: 1; }
.sc-hit.is-hover .sc-tilt { transition: transform 140ms linear; }
.sc-hit.is-hover .sc-shadow { transition: transform 140ms linear; }

.sc-glow, .sc-rail, .sc-caps { display: none; }

/* --- default: the swipeable strip (phones, tablets, no JS) ---------------------------------------------- */
.sc-track { margin-top: 40px; }
.sc-items {
  display: flex; align-items: center; gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 28px 12vw 34px; -webkit-overflow-scrolling: touch;
}
.sc-items::-webkit-scrollbar { display: none; }
.sc-item { flex: none; scroll-snap-align: center; scroll-snap-stop: always; }
.sc-phone { width: min(64vw, 290px, calc(60svh * var(--ar))); }
.sc-card { width: min(80vw, 360px); }
.sc-phone .sc-frame { --bz: 8px; --rr: 34px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sc-items > .sc-item { animation: scStrip linear both; animation-timeline: view(inline); }
  }
}
@keyframes scStrip {
  0%   { transform: scale(0.88); opacity: 0.45; }
  42%, 58% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.88); opacity: 0.45; }
}
.sc-mcap { text-align: center; padding: 0 var(--gutter); max-width: 560px; margin: 0 auto; min-height: 128px; }
.sc-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.sc-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.22); transition: background-color 250ms ease, transform 250ms ease; }
.sc-dots i.on { background: var(--gold); transform: scale(1.25); }
.sc-mcap-head { font: 700 clamp(1.5rem, 1.1rem + 2vw, 2rem)/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--text); }
.sc-mcap-sub { margin-top: 8px; color: var(--text-muted); font-size: 1rem; line-height: 1.5; }
.js .sc-mcap-head:empty { min-height: 1.15em; }
.sc-after { margin-top: 48px; }

/* --- reduced motion on a big screen: a still grid -------------------------------------------------------- */
html.sc-still .sc-items { max-width: 1000px; margin-inline: auto; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 36px 32px; overflow: visible; padding: 32px var(--gutter) 8px; scroll-snap-type: none; }
html.sc-still .sc-phone { width: calc(460px * var(--ar)); }
html.sc-still .sc-card { width: calc(380px * var(--ar)); }
html.sc-still .sc-mcap { display: none; }

/* --- desktop cinematic ----------------------------------------------------------------------------------- */
html.sc-desk .game.sc { padding-bottom: clamp(72px, 6vw + 40px, 128px); }
html.sc-desk .sc .game-head { text-align: center; max-width: 900px; margin-inline: auto; }
html.sc-desk .sc .game-id { justify-content: center; }
html.sc-desk .sc .game-lead { margin-inline: auto; }
html.sc-desk .sc-track { position: relative; height: 440vh; margin-top: 8px; }
html.sc-desk .sc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
html.sc-desk .sc-items { display: block; position: absolute; inset: 0; padding: 0; overflow: visible; perspective: 1400px; perspective-origin: 50% 54%; scroll-snap-type: none; }
html.sc-desk .sc-item { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; animation: none; }
html.sc-desk .sc-item.is-lift { z-index: 300 !important; }   /* the screen under the pointer rises above its neighbours */
html.sc-desk .sc-mcap { display: none; }
html.sc-desk .sc-caps { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 400; }
html.sc-desk .sc-cap {
  position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center;
  left: max(var(--gutter), calc(50% - var(--max-page) / 2 + var(--gutter)));
  width: min(31vw, 430px); padding-top: var(--sc-hh, 72px);
  opacity: 0; visibility: hidden; will-change: transform, opacity;
}
html.sc-desk .sc-cap.sc-cap-wide {
  left: 0; right: 0; width: auto; bottom: auto; text-align: center; align-items: center;
  padding: calc(var(--sc-hh, 72px) + 4.5vh) var(--gutter) 0;
}
.sc-kicker {
  font: 600 0.8125rem/1.3 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sc-head {
  margin-top: 14px; font: 700 clamp(2.4rem, 0.9rem + 3.1vw, 4.4rem)/1.02 var(--font-display); letter-spacing: -0.035em;
  background: linear-gradient(180deg, #FFFFFF 0%, #E9ECF4 55%, #B9C2D6 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em; text-wrap: balance;
}
.sc-cap-wide .sc-head { font-size: clamp(2.8rem, 1rem + 3.6vw, 5.2rem); }
.sc-sub { margin-top: 18px; color: var(--text-muted); font-size: clamp(1.0625rem, 0.9rem + 0.4vw, 1.3125rem); line-height: 1.5; max-width: 34ch; text-wrap: pretty; }
.sc-cap-wide .sc-sub { max-width: 52ch; }
html.sc-desk .sc-glow { display: block; position: absolute; left: 50%; top: 50%; pointer-events: none; opacity: 0; will-change: transform, opacity; }
html.sc-desk .sc-glow-focus {
  width: 1000px; height: 1000px; margin: -500px 0 0 -500px;
  background: radial-gradient(closest-side, rgba(255,196,46,0.30), rgba(255,170,40,0.12) 42%, rgba(255,170,40,0.04) 62%, transparent 76%);
}
html.sc-desk .sc-glow-fan {
  width: 1500px; height: 760px; margin: -380px 0 0 -750px;
  background: radial-gradient(closest-side, rgba(60,110,255,0.30), rgba(255,196,46,0.10) 48%, transparent 78%);
}
html.sc-desk .sc-rail {
  display: flex; gap: 8px; position: absolute; left: 50%; bottom: max(26px, 3.4vh); transform: translateX(-50%);
  opacity: 0; z-index: 400; will-change: opacity;
}
.sc-rail i { width: 24px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.18); }
.sc-rail b { position: absolute; left: 0; top: 0; width: 24px; height: 3px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 10px rgba(255,196,46,0.7); will-change: transform; }
html.sc-desk .sc-after { margin-top: 0; }
@media (min-width: 1024px) {
  .sc-after .features { grid-template-columns: repeat(4, 1fr); column-gap: 36px; }
  .sc-after .fine { max-width: none; }
}

/* --- the full-screen viewer -------------------------------------------------------------------------------- */
.sc-viewer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--text); overflow: hidden; touch-action: pinch-zoom; overscroll-behavior: contain;
}
.sc-viewer::backdrop { background: transparent; }
html.sc-lock { overflow: hidden; scrollbar-gutter: stable; }
.sc-veil {
  position: absolute; inset: 0; opacity: 0; transition: opacity 420ms ease;
  background: radial-gradient(ellipse at 50% 45%, rgba(18,32,66,0.62), rgba(4,7,16,0.86) 70%);
  -webkit-backdrop-filter: blur(22px) saturate(130%); backdrop-filter: blur(22px) saturate(130%);
}
.sc-viewer.is-open .sc-veil { opacity: 1; }
.sc-vbar, .sc-vcap, .sc-prev, .sc-next { opacity: 0; transition: opacity 300ms ease; }
.sc-viewer.is-open .sc-vbar, .sc-viewer.is-open .sc-vcap, .sc-viewer.is-open .sc-prev, .sc-viewer.is-open .sc-next { opacity: 1; transition-delay: 160ms; }
.sc-vbar {
  position: absolute; top: max(16px, env(safe-area-inset-top)); left: max(20px, env(safe-area-inset-left)); right: max(20px, env(safe-area-inset-right));
  display: flex; align-items: center; justify-content: space-between; z-index: 2;
}
.sc-count {
  padding: 8px 14px; border-radius: 999px; font: 600 0.875rem/1 var(--font-display); font-variant-numeric: tabular-nums;
  color: var(--text-muted); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
}
.sc-count-n { color: var(--text); }
.sc-vbtn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0;
  color: var(--text); background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease, transform 200ms var(--ease), opacity 300ms ease;
}
.sc-vbtn:hover { color: var(--gold-hi); border-color: rgba(255,196,46,0.6); background: rgba(255,196,46,0.10); }
.sc-vbtn:active { transform: scale(0.94); }
.sc-vbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sc-prev, .sc-next { position: absolute; top: 50%; margin-top: -24px; z-index: 2; }
.sc-prev { left: max(24px, 4vw); }
.sc-next { right: max(24px, 4vw); }
.sc-vstage { position: absolute; inset: 0; display: grid; place-items: center; padding: 76px 0 104px; pointer-events: none; }
.sc-vfig { margin: 0; pointer-events: auto; will-change: transform; transform-origin: 50% 50%; filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6)); }
.sc-vfig .sc-frame { width: 100%; height: 100%; }
.sc-vfig.is-phone .sc-frame {
  padding: var(--bz); border-radius: var(--rr);
  background: linear-gradient(155deg, #3a3a40 0%, #17171a 22%, #0b0b0d 60%, #232327 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16), inset 0 0 0 2px #000, inset 0 0 0 3px rgba(255,255,255,0.05);
}
.sc-vfig.is-phone .sc-frame img { border-radius: calc(var(--rr) - var(--bz)); }
.sc-vfig.is-card .sc-frame {
  padding: 6px; border-radius: 24px;
  background: linear-gradient(150deg, rgba(255,255,255,0.26), rgba(255,255,255,0.06) 38%, rgba(255,255,255,0.03) 62%, rgba(255,255,255,0.16));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), inset 0 1px 0 rgba(255,255,255,0.35);
}
.sc-vfig.is-card .sc-frame img { border-radius: 18px; }
.sc-vcap {
  position: absolute; left: 50%; bottom: max(30px, calc(env(safe-area-inset-bottom) + 18px)); transform: translateX(-50%);
  width: min(92vw, 760px); text-align: center; font-size: 1.0625rem; line-height: 1.45; color: var(--text-muted); z-index: 2;
}
.sc-vcap b { color: var(--text); font: 600 1.0625rem/1.45 var(--font-display); }
@media (max-width: 767px) {
  .sc-vstage { padding: 72px 0 168px; }
  .sc-prev, .sc-next { top: auto; margin: 0; bottom: max(22px, calc(env(safe-area-inset-bottom) + 10px)); }
  .sc-prev { left: calc(50% - 64px); }
  .sc-next { right: calc(50% - 64px); }
  .sc-vcap { bottom: calc(max(22px, calc(env(safe-area-inset-bottom) + 10px)) + 64px); font-size: 0.9375rem; }
  .sc-vcap b { font-size: 0.9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-veil, .sc-vbar, .sc-vcap, .sc-prev, .sc-next { transition-duration: 150ms; transition-delay: 0s !important; }
  .sc-tilt, .sc-shadow { transition: none; }
}

/* v70b: In Development cards carry a platform tease instead of redaction bars */
.tease { position: relative; z-index: 1; margin-top: auto; padding-top: 48px; }
.tease-platform { color: var(--gold); font: 600 var(--fs-eyebrow)/1.4 var(--font-display); letter-spacing: 0.22em; text-transform: uppercase; }
.tease-title { margin-top: 12px; color: var(--text, #F5F5F0); font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--font-display); letter-spacing: -0.02em; }
.tease-line { margin-top: 14px; max-width: 34ch; color: var(--text-muted); font-size: 1rem; line-height: 1.55; }

/* v71 (2026-11-15): sky traffic (script.js) — one canvas over the sky, under the logo. */
.sky-traffic { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* v71f: DIOS rests white after the intro and flashes gold now and then (script.js toggles the classes) */
.logo-anim.dios-rest .l-dios-w { opacity: 1 !important; }
.logo-anim.dios-rest .l-dios-g { opacity: 0 !important; transition: opacity 900ms ease-in-out; }
.logo-anim.dios-rest.dios-flash .l-dios-g { opacity: 1 !important; transition: opacity 220ms ease-out; }

/* v74: Contact redesigned: a soft piece of the sky, a heading that invites, two glass cards with a gold edge */
.contact2 { position: relative; overflow: hidden; padding-block: clamp(96px, 14vw, 168px); text-align: center; }
.contact2-sky {
  position: absolute; inset: -10% -10%; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(255, 196, 46, 0.10), transparent 70%),
    radial-gradient(45% 50% at 22% 70%, rgba(70, 110, 255, 0.12), transparent 70%),
    radial-gradient(40% 45% at 80% 30%, rgba(190, 80, 200, 0.10), transparent 70%),
    url("img/space/stars-a.jpg") center / 900px auto repeat;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side at 50% 50%, #000 55%, transparent 100%);
}
.contact2-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.contact2 h2 { max-width: 16ch; margin-inline: auto; font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 30%, #f3dfa6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact2-lead { margin-top: 18px; max-width: 46ch; color: var(--text-muted); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.6; }
.contact2-cards { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: min(760px, 100%); }
.c2card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 28px 28px 24px; text-align: left;
  border-radius: 26px; text-decoration: none; color: inherit; isolation: isolate;
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02) 60%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform 380ms cubic-bezier(.22,1,.36,1), border-color 380ms ease, box-shadow 380ms ease;
}
.c2card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity 380ms ease;
  background: radial-gradient(120% 90% at 0% 0%, rgba(255,196,46,0.18), transparent 60%); }
.c2card-main { border-color: rgba(255,196,46,0.35); }
.c2card-main::before { opacity: 0.6; }
.c2-k { color: var(--gold); font: 600 0.72rem/1.3 var(--font-display); letter-spacing: 0.2em; text-transform: uppercase; }
.c2-v { color: #fff; font: 700 clamp(1.15rem, 2.2vw, 1.45rem)/1.25 var(--font-display); letter-spacing: -0.01em; word-break: break-word; }
.c2-cta { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.95rem; transition: color 300ms ease; }
.c2-cta svg { transition: transform 380ms cubic-bezier(.22,1,.36,1); }
@media (hover: hover) {
  .c2card:hover { transform: translateY(-4px); border-color: rgba(255,196,46,0.55); box-shadow: 0 30px 70px -28px rgba(255,170,40,0.35), inset 0 1px 0 rgba(255,255,255,0.08); }
  .c2card:hover::before { opacity: 1; }
  .c2card:hover .c2-cta { color: #fff; }
  .c2card:hover .c2-cta svg { transform: translateX(4px); }
}
.c2card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.c2-copy { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid rgba(255,255,255,0.14); color: var(--text-muted); font: 500 0.85rem/1 var(--font-body, inherit); transition: color 250ms ease, border-color 250ms ease; }
.c2-copy:hover, .c2-copy:focus-visible { color: #fff; border-color: rgba(255,196,46,0.5); }
.c2-copy.is-done { color: var(--gold); border-color: rgba(255,196,46,0.6); }
@media (max-width: 640px) { .contact2-cards { grid-template-columns: 1fr; } .c2card { padding: 24px; } }

/* v74g (founder: "define what GOD RUN means in popular culture"): the hero's copy is a dictionary entry */
.hero-def { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 14px; margin: 0; }
.hero-def .def-word { font: 600 italic clamp(1.9rem, 3.6vw, 2.6rem)/1.1 Georgia, "Times New Roman", serif; color: #fff; letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.75); }
.hero-def .def-ipa { font: 400 clamp(1rem, 1.6vw, 1.15rem)/1.2 Georgia, serif; color: rgba(255,255,255,0.72); text-shadow: 0 1px 10px rgba(0,0,0,0.8); }
.hero-def .def-pos { font: 600 0.72rem/1.2 var(--font-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.hero-def-text { margin: 12px auto 0; max-width: 34ch; font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.55; color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 14px rgba(0,0,0,0.85); }
.hero-def-senses { margin: 14px auto 0; padding: 0; max-width: 46ch; list-style: none; counter-reset: sense; text-align: left; }
.hero-def-senses li { position: relative; padding-left: 30px; margin-top: 8px; font-size: clamp(1rem, 1.55vw, 1.15rem); line-height: 1.5; color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 14px rgba(0,0,0,0.85); counter-increment: sense; }
.hero-def-senses li::before { content: counter(sense); position: absolute; left: 0; top: 0.05em; font: 600 italic 1.05em/1.4 Georgia, serif; color: var(--gold); }
.hero-def-senses .def-ex { display: block; margin-top: 6px; font: italic 400 0.95em/1.5 Georgia, serif; color: rgba(255,255,255,0.7); }

/* Step 9 (2026-11-16): the sky carries down the page, so About, Our Game, In Development and Contact read as the
   same world as the hero (founder rule: no straight lines or rectangles).
   - One faint starfield (img/space/stars-faint.webp: the hero's own stars-a, dimmed into an alpha tile) sits behind
     every band in a z-index:-1 ::before. It fades in and out through CURVED edges: a dome at the top and the bottom
     (an ellipse as wide as the band) joined by a band of full strength, so no star edge is ever a straight line.
   - About keeps the hero's closing colour (#0F0F12) at its top and lets it go in an ellipse, not a ruled border.
   - Our Game's navy moved into the same ::before with the same curved mask, so it rises out of the dark as an arc.
   - The 1px rules (About, In Development, footer) are gone.
   The layers are static (no animation), so they rasterise once; the pinned showcase is untouched. */
:root { --sky-edge: clamp(140px, 18vw, 260px); }
.band { isolation: isolate; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/space/stars-faint.webp?v=1") 0 0 / 1024px auto repeat;
  -webkit-mask-image:
    radial-gradient(100% var(--sky-edge) at 50% var(--sky-edge), #000 55%, transparent 100%),
    radial-gradient(100% var(--sky-edge) at 50% calc(100% - var(--sky-edge)), #000 55%, transparent 100%),
    linear-gradient(transparent var(--sky-edge), #000 var(--sky-edge), #000 calc(100% - var(--sky-edge)), transparent calc(100% - var(--sky-edge)));
          mask-image:
    radial-gradient(100% var(--sky-edge) at 50% var(--sky-edge), #000 55%, transparent 100%),
    radial-gradient(100% var(--sky-edge) at 50% calc(100% - var(--sky-edge)), #000 55%, transparent 100%),
    linear-gradient(transparent var(--sky-edge), #000 var(--sky-edge), #000 calc(100% - var(--sky-edge)), transparent calc(100% - var(--sky-edge)));
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.band-raised {
  border-top: 0;
  background:
    radial-gradient(70% 420px at 50% 0%, rgba(40, 60, 140, 0.10), transparent 100%),
    radial-gradient(150% 100% at 50% 0%, #0F0F12 45%, rgba(15, 15, 18, 0) 100%);
}
#soon { border-top: 0; }
.site-footer { border-top: 0; }
.game, .game.sc { background: none; }
.game::before {
  background:
    url("img/space/stars-faint.webp?v=1") 0 0 / 1024px auto repeat,
    radial-gradient(900px 520px at 72% 300px, var(--navy-glow), transparent 70%),
    var(--navy);
}
.contact2::before { opacity: 0.6; }

/* v84: the hero copy steps aside while someone plays */
.hero-copy { transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,1,.36,1); }
.hero-copy.is-hidden { opacity: 0; transform: translateY(10px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero-copy { transition: opacity 200ms linear; } .hero-copy.is-hidden { transform: none; } }

/* v87 (2026-11-16): BALLOON POP. The loose balloon sits under the logo (the crown visibly pierces it); the pop's
   shreds fly over it. Both are drawn by script.js, positioned with transforms, never clickable. */
.grs-balloon, .grs-pop-fx { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.grs-balloon { z-index: 1; }
.grs-pop-fx { z-index: 2; }
.hero-logo.grs-pop-flying { position: relative; z-index: 5; }   /* the flying logo passes OVER the text column */
.grs-balloon.grs-front { z-index: 3; }   /* slipped right of the logo: it floats in front until it is clear, then drops back under */

/* v88 (2026-11-16, founder: "merge this text with the images"): the showcase intro IS the section's headline on desktop;
   the header keeps only the logo there (the h2 + line stay for screen readers and for the phone / still layouts) */
html.sc-desk .sc .game-head h2, html.sc-desk .sc .game-head .game-lead {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sc-close { text-align: center; margin: 0 auto 28px; }
.sc-close .sc-head { font-size: clamp(2rem, 1rem + 2.4vw, 3.2rem); }
.sc-close .sc-sub { margin-inline: auto; }
html.sc-desk .sc-close { display: none; }
.sc-after .actions { justify-content: center; }
/* v88b (founder: "doesn't look right"): on desktop the old header block is gone entirely; the logo sits in the
   showcase intro right above the headline, and the intro is fully visible as the section arrives */
html.sc-desk .sc .game-grid { display: none; }
.sc-logo { display: none; }
html.sc-desk .sc-logo { display: block; width: auto; height: clamp(64px, 3vw + 40px, 92px); margin: 0 auto 6px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45)); }

/* v90 (2026-11-16, editor pass): order is Hero > Our Game > Studio (#about) > What's next (#soon) > Contact.
   One heading scale, centred section heads, compact project cards, tighter rhythm. The hero game is untouched;
   only its copy column gains one tagline line. */
:root { --fs-h2: clamp(2.25rem, 1.2rem + 3vw, 4rem); }
h2 {
  letter-spacing: -0.03em; line-height: 1.04;
  background: linear-gradient(180deg, #FFFFFF 0%, #E9ECF4 55%, #B9C2D6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em;
}
.hero-tagline {
  margin: 12px auto 0; max-width: 52ch; color: var(--gold);
  font: 600 clamp(0.92rem, 1.2vw, 1rem)/1.35 var(--font-display); letter-spacing: 0.01em;
  text-shadow: 0 1px 14px rgba(0,0,0,0.85);
}
.hero-tagline + .hero-cta { margin-top: 20px; }   /* keeps the CTA above the fold at 1440x900 with the tagline added */

/* Studio: one centred statement, then What's next follows as part of the same block */
.about-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; }
.about-grid h2 { margin-inline: auto; max-width: 18ch; text-wrap: balance; }
.about-copy { padding-top: 0; max-width: 44ch; }
.about-copy .lead { font: 500 clamp(1.15rem, 0.9rem + 0.9vw, 1.6rem)/1.5 var(--font-body); color: var(--text); text-wrap: pretty; }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-copy { padding-top: 0; }
}
#about { padding-bottom: clamp(32px, 3vw + 16px, 64px); }
#soon { padding-top: clamp(32px, 3vw + 16px, 64px); padding-bottom: clamp(56px, 4vw + 32px, 104px); }
.soon-head { text-align: center; }
.soon-head h2, .soon-head .section-intro { margin-inline: auto; }
html.sc-desk .game.sc { padding-bottom: clamp(48px, 3vw + 24px, 80px); }

/* What's next: compact cards in the same card language as Contact */
.locked { min-height: 0; padding: 28px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015) 60%),
              repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 10px), var(--surface);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06); }
@media (min-width: 760px) { .locked { min-height: 0; padding: 36px 36px 40px; } }
.tease { margin-top: 0; padding-top: 28px; }
.tease-title { margin-top: 0; }

/* Our Game head on phones / tablets: one centred column like the strip below it */
@media (max-width: 1023px) {
  .game-head { text-align: center; }
  .game-id { justify-content: center; }
  .game-lead, .game-head h2 { margin-inline: auto; }
}

/* Buttons keep their pill shape on phones */
.sc-after .actions { align-items: center; }
.sc-after .actions .btn { width: auto; min-width: 240px; }

/* Swipe strip: the active dot is a pill (paging cue) */
.sc-dots i { width: 8px; height: 8px; border-radius: 4px; transition: width 250ms ease, background-color 250ms ease; }
.sc-dots i.on { width: 22px; transform: none; }

/* Contact: less void below the cards; the copy button meets the 44px tap minimum */
.contact2 { padding-block: clamp(72px, 7vw, 112px) clamp(56px, 6vw, 96px); }
.c2-copy { min-height: 44px; padding: 0 18px; }

/* Footer: logo, credit and copyright stacked on the left; links on one line on the right */
@media (min-width: 760px) {
  .footer-inner { align-items: center; gap: 32px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-links { flex-wrap: nowrap; white-space: nowrap; }
}

/* Phones: a reachable nav (Studio, Contact) in the existing bar, and a tighter section rhythm */
@media (max-width: 899px) {
  .primary-nav { display: block; }
  .primary-nav ul { gap: 16px; }
  .primary-nav a { display: inline-flex; align-items: center; min-height: 40px; font-size: 0.875rem; white-space: nowrap; }
  .primary-nav + .lang-toggle { margin-left: 4px; }
}
@media (max-width: 559px) { .primary-nav .nav-game { display: none; } }
@media (max-width: 759px) {
  :root { --section-y: 56px; --sky-edge: 110px; }
  .contact2 { padding-block: 72px 56px; }
}

/* v91 (2026-11-16) designers: flow between the bands + a catchier Studio section. Nothing here touches the hero
   game or the showcase (.hero, .sc-*, .game*). Founder rule kept: no straight rules or rectangles between bands;
   every new divider is a radial glow or a curve. */

/* Nav jumps land the heading ~24px under the header instead of ~230px down. --land = the section's padding-top. */
html { scroll-padding-top: var(--header-h); }
#about { --land: clamp(48px, 3vw + 32px, 96px); padding-top: var(--land); padding-bottom: clamp(24px, 2vw + 12px, 48px); }
#contact { --land: clamp(72px, 7vw, 112px); }
@media (max-width: 759px) { #contact { --land: 72px; } }
#about, #contact { scroll-margin-top: calc(24px - var(--land)); }

/* The game band's blue is handed to Studio: a navy + gold horizon glows from the top of About (::after, so the
   starfield in ::before stays). Radial only, so it has no edge. */
#about::after {
  content: ""; position: absolute; inset: 0 0 auto; height: min(560px, 80%); z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(26, 77, 204, 0.18), transparent 70%),
    radial-gradient(26% 55% at 50% 0%, rgba(255, 196, 46, 0.07), transparent 70%);
  /* fades in from the top, so the glow never draws the seam it is meant to hide */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,0.35) 90px, #000 220px);
          mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,0.35) 90px, #000 220px);
}

/* One gold phrase per heading, on purpose (same in EN and ES) */
.h-gold {
  background: linear-gradient(180deg, #FFF3CC 0%, #FFDD73 45%, #E8B02A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Studio: short lead, three pillars, a gold closing line */
.about-grid { gap: 20px; }
.about-copy { max-width: 40ch; }
.pillars {
  list-style: none; margin: clamp(16px, 2vw, 28px) 0 0; padding: 8px 0; width: min(100%, 980px); text-align: left;
  display: grid; gap: 0; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015) 60%), var(--surface);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06);
}
.pillar { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 14px 20px; }
.pillar-ic {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--gold);
  background: rgba(255, 196, 46, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 196, 46, 0.24), 0 0 24px -8px rgba(255, 196, 46, 0.45);
}
.pillar-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar-h { margin: 0; font: 700 1.15rem/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--text); }
.pillar-p { margin: 4px 0 0; color: var(--text-muted); font-size: 0.98rem; line-height: 1.5; }
.about-close { margin: clamp(8px, 1.5vw, 16px) auto 0; max-width: 40ch; color: var(--gold-hi); text-wrap: balance;
  font: 600 clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem)/1.4 var(--font-display); letter-spacing: -0.005em; }
@media (min-width: 760px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; background: none; box-shadow: none; }
  .pillar {
    grid-template-columns: 1fr; gap: 18px; padding: 28px 26px 30px; border-radius: 26px; overflow: hidden;
    background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015) 60%), var(--surface);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 20px 50px -24px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06);
  }
  .pillar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(240px 160px at 0% 0%, rgba(255, 196, 46, 0.10), transparent 70%); }
  .pillar-ic { width: 52px; height: 52px; border-radius: 15px; }
  .pillar-ic svg { width: 26px; height: 26px; }
  .pillar-h { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.015em; }
  .pillar-p { margin-top: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  /* the gold icons draw themselves once as each pillar arrives */
  .js .pillar .pillar-ic path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .pillar.is-in .pillar-ic path { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease) calc(var(--i, 0) * 60ms + 200ms); }
}

/* About -> What's next: one point of light instead of a gap (no ruled line) */
#soon { padding-top: clamp(24px, 2vw + 12px, 48px); padding-bottom: clamp(48px, 3vw + 24px, 88px); }
.chapter-glint {
  display: block; width: min(420px, 60%); height: 24px; margin: 0 auto clamp(28px, 3vw, 44px);
  background: radial-gradient(50% 1.5px at 50% 50%, rgba(255, 196, 46, 0.6), transparent),
              radial-gradient(4px 4px at 50% 50%, #FFF3CC, transparent);
}

/* What's next: the empty right half of each card carries a line-art platform glyph (desktop and tablet only) */
.locked-top { flex-wrap: wrap; row-gap: 10px; }
.locked-art {
  position: absolute; right: 32px; bottom: 30px; z-index: 0; width: clamp(110px, 11vw, 150px); pointer-events: none;
  fill: none; stroke: var(--gold-line); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 400ms ease;
}
@media (hover: hover) { .locked:hover .locked-art { stroke: rgba(255, 196, 46, 0.7); } }
@media (min-width: 760px) { .locked .tease-line { max-width: 28ch; } }
@media (max-width: 759px) { .locked-art { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .locked .locked-art * { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .locked.is-in .locked-art * { stroke-dashoffset: 0; transition: stroke-dashoffset 1200ms var(--ease) 250ms; }
}

/* Contact: the shared heading scale and silver (the gold is now the explicit span), icon tiles, equal cards, less void */
.contact2 h2 { font-size: var(--fs-h2); background: linear-gradient(180deg, #FFFFFF 0%, #E9ECF4 55%, #B9C2D6 100%);
  -webkit-background-clip: text; background-clip: text; }
.contact2 h2 .h-gold { -webkit-background-clip: text; background-clip: text; }
.contact2 h2 { text-wrap: balance; }
.contact2-lead { max-width: 52ch; text-wrap: balance; }
.contact2 { padding-block: clamp(72px, 7vw, 112px) clamp(40px, 4vw, 64px); }
.c2-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 12px;
  background: rgba(255, 196, 46, 0.08); border: 1px solid var(--gold-line); color: var(--gold); }
.c2-ico svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.c2card .c2-cta { margin-top: auto; padding-top: 14px; }
@media (max-width: 759px) { .contact2 { padding-block: 72px 40px; } }

/* Nav: the section on screen is gold; 44px tap targets on phones */
.primary-nav a { transition: color 250ms ease; }
.primary-nav a[aria-current] { color: var(--gold-hi); }
@media (max-width: 899px) { .primary-nav a { min-height: 44px; } }

/* Reveals: shorter and lighter, so nothing is ever seen half-faded */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transform: translateY(12px); transition: opacity 480ms var(--ease), transform 560ms var(--ease);
    transition-delay: calc(var(--i, 0) * 60ms); }
}

/* Footer: a curved gold horizon closes the page; tagline, Back to top, legal line underneath */
.site-footer { position: relative; padding-block: clamp(48px, 5vw, 72px) 28px;
  background: radial-gradient(60% 160px at 50% 0%, rgba(255, 196, 46, 0.06), transparent 100%); }
.site-footer::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 70px; pointer-events: none;
  border-top: 1px solid rgba(255, 196, 46, 0.28); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.footer-inner { flex-wrap: wrap; }
.footer-brand .footer-tag { color: var(--text); font: 600 1rem/1.4 var(--font-display); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
.to-top { gap: 6px; }
.to-top svg { color: var(--gold); }
.footer-legal { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 8px; text-align: center; }
.footer-legal p { color: var(--text-faint); font-size: 0.8125rem; line-height: 1.5; }
.footer-legal .space-credit { font-size: 0.75rem; max-width: 60ch; }
@media (min-width: 760px) {
  .footer-brand { flex-direction: row; align-items: center; gap: 16px; }
  .footer-legal { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 24px; text-align: left; }
  .footer-legal .space-credit { text-align: right; }
}
@media (max-width: 759px) {
  .footer-links { gap: 0 16px; }
  .footer-legal .space-credit { max-width: 36ch; }
}
@media (prefers-reduced-motion: reduce) { .primary-nav a { transition: none; } }
#about-title .h-gold { white-space: nowrap; }   /* "No shortcuts." / "Sin atajos." never split across lines */

/* v92: What's next in the nav (hidden on narrow phones like Guess The Plate, the bar has no room there) */
@media (max-width: 559px) { .primary-nav .nav-soon { display: none; } }

/* v93: the logo's laser (fixed to the viewport, above everything, no pointer events) */
.grs-laser {
  position: fixed; height: 5px; margin-top: -2.5px; transform-origin: 0 50%; pointer-events: none; z-index: 2147483000;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255,214,64,0) 0%, #ffd640 22%, #fffbe6 50%, #ffd640 78%, rgba(255,214,64,0) 100%);
  box-shadow: 0 0 10px 2px rgba(255,200,40,0.85), 0 0 26px 6px rgba(255,170,20,0.45);
}
.grs-laser-hit {
  position: fixed; width: 90px; height: 90px; pointer-events: none; z-index: 2147483001; border-radius: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, #fffbe6 0%, rgba(255,214,64,0.9) 30%, rgba(255,170,20,0.35) 60%, rgba(255,170,20,0) 100%);
}

/* v96: after the sound click the prompt becomes the challenge, "Strike our Logo!" */
.sound-hint.strike { pointer-events: none; letter-spacing: 0.08em; }

/* v97 (founder: "a light around the borders of both of these once every 30 seconds"): a gold glint runs once around
   each project card's border every 30 s (the second card follows 0.7 s behind); starts once the card has been revealed. */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.locked::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--sweep), transparent 0deg, transparent 290deg, rgba(255, 196, 46, 0.55) 325deg, #FFF3C4 350deg, rgba(255, 196, 46, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(255, 200, 60, 0.8));
}
@media (prefers-reduced-motion: no-preference) {
  .locked.is-in::before { animation: lockedGlint 30s linear 1.2s infinite; }
  .locked.is-in + .locked.is-in::before, .locked-grid > .locked.is-in:nth-child(2)::before { animation-delay: 1.9s; }
}
@keyframes lockedGlint {
  0% { --sweep: 0deg; opacity: 0; }
  1% { opacity: 1; }
  9% { opacity: 1; }
  10% { --sweep: 360deg; opacity: 0; }
  100% { --sweep: 360deg; opacity: 0; }
}
