/* ==================================================================
   cersuna — styles
   Change the accent here: --accent and the four --d-* dither colours.
   (For an orange look like devmax: #ff5a1f / #3a1205 #8a2a0c #ff5a1f #ff8a4d)
=================================================================== */

:root {
  --bg: #111111;
  --surface: #1b1b1b;
  --surface-2: #232323;
  --line: rgba(255, 255, 255, 0.07);
  --text: #f4f4f5;
  --text-2: #a3a3ab;
  --text-3: #66666e;

  --accent: #4f7dff;
  --accent-hover: #6b92ff;

  /* dither palette, dark to light */
  --d-deep: #0d1938;
  --d-mid: #1d3c98;
  --d-bright: #4f7dff;
  --d-hot: #7f9fff;

  --radius: 20px;
  --container: 1024px;
  --gutter: 24px;

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.ico { width: 14px; height: 14px; flex: none; }

/* ------------------------------------------------------------------
   Buttons & links
------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 46px;
  padding: 0 20px;
  border-radius: 11px;
  font: 600 15px/1 var(--font-display);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.2s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--light { background: #fff; color: #111; }
.btn--light:hover { box-shadow: 0 8px 30px -8px rgba(255, 255, 255, 0.35); }

.btn--accent { background: var(--accent); color: #fff; width: 100%; }
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 10px 34px -10px var(--accent); }

.btn--sm { height: 38px; padding: 0 15px; font-size: 14px; border-radius: 10px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 15px/1 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--text);
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover span { transform: translateX(3px); }

.accent-link { color: var(--accent-hover); font-weight: 600; }
.accent-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------
   Nav
------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(17, 17, 17, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}

.nav__inner {
  height: 62px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
}
.logo__mark { width: 24px; height: 24px; }
.logo__word {
  font: 700 17px/1 var(--font-display);
  letter-spacing: -0.04em;
}

.nav__links {
  margin-left: auto;
  display: flex;
  gap: 26px;
}
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav__links a:hover { color: #fff; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.8px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 22px;
}
.mobile-menu a:not(.btn) {
  padding: 12px 0;
  font: 600 20px/1.2 var(--font-display);
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 16px; }
.nav.is-open .mobile-menu { display: flex; }

/* ------------------------------------------------------------------
   Dither canvas
------------------------------------------------------------------- */
.dither {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(600px, 88vh, 840px);
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
}
.dither--hero {
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 98%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 17, 17, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font: 500 12.5px/1 var(--font-mono);
  letter-spacing: -0.01em;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s;
}
.eyebrow:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 125, 255, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(79, 125, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 125, 255, 0); }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  margin: 0 0 24px;
  font: 700 clamp(46px, 8.4vw, 96px)/0.96 var(--font-display);
  letter-spacing: -0.058em;
}
.hero__title .line { display: block; }
.grad {
  background: linear-gradient(100deg, #fff 10%, var(--d-hot) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.grad .word { background: inherit; -webkit-background-clip: text; background-clip: text; }

.hero__actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
}

/* word reveal */
.js [data-split] .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  filter: blur(10px);
  animation: wordIn 0.9s var(--ease) forwards;
  animation-delay: calc(var(--i) * 75ms + 120ms);
}
@keyframes wordIn {
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* ------------------------------------------------------------------
   Strip
------------------------------------------------------------------- */
.strip { padding: 8px 0 0; }
.strip__inner {
  display: flex;
  align-items: center;
  gap: 30px;
}
.strip__label {
  flex: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-3);
}
.strip__label strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}
.strip__track {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.strip__track.is-overflowing {
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__thumb {
  position: relative;
  flex: none;
  width: 180px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.3s var(--ease);
}
.strip__thumb:hover { transform: translateY(-3px); }
.strip__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------- */
.section { padding: 130px 0 40px; }
.section--tight { padding-top: 110px; }
.section--cta { padding-top: 120px; padding-bottom: 0; }

.h2 {
  margin: 0;
  font: 700 clamp(32px, 4.6vw, 46px)/1.06 var(--font-display);
  letter-spacing: -0.048em;
}
.h2 .dim { color: var(--text-3); }

/* reveal on scroll */
.js .reveal {
  transform: translateY(22px);
  transition: transform 0.9s var(--ease);
}
.js .reveal.is-in { transform: none; }

/* ------------------------------------------------------------------
   Showcase  (scroll: the row in view lights up)
------------------------------------------------------------------- */
/* the trailer's glow reaches 72px past it, so the gap above (heading → glow) and below
   (glow → next heading: 0 + the next section's 110px top) come out the same: 38px */
#games { padding-bottom: 0; }
.showcase {
  margin-top: 110px;
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vw, 110px);
}

.show-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 40px;
}
.show-row:nth-child(even) .stack { width: 64%; justify-self: end; }

.show-row__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: var(--text-3);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status--live { color: #57d38c; }
.status--dev { color: #f5b544; }

.show-row__title {
  margin: 0;
  font: 700 clamp(28px, 3.4vw, 38px)/1.08 var(--font-display);
  letter-spacing: -0.048em;
  color: var(--text-3);
  transition: color 0.5s var(--ease);
}
.show-row__blurb {
  max-width: 340px;
  margin-top: 14px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}
.show-row__cta {
  margin-top: 20px;
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}
.show-row__soon {
  display: inline-block;
  margin-top: 20px;
  font: 500 12.5px/1 var(--font-mono);
  color: var(--text-3);
}

.show-row.is-active .show-row__title { color: var(--text); }
.show-row.is-active .show-row__blurb,
.show-row.is-active .show-row__cta { opacity: 1; }

.stack {
  position: relative;
  display: block;
  isolation: isolate;
}
/* the halftone glow round each trailer, in the game's own colour */
.stack__aura {
  position: absolute;
  left: -72px;
  top: -72px;
  width: calc(100% + 144px);
  height: calc(100% + 144px);
  max-width: none;   /* overrides the global canvas cap so it can reach past the trailer */
  z-index: -1;
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  opacity: 0.35;
  transition: opacity 0.7s var(--ease);
}
.show-row.is-active .stack__aura { opacity: 1; }
#games { overflow-x: clip; }
.stack__img {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  filter: grayscale(1) brightness(0.62);
  transform: scale(0.985);
  transition: filter 0.7s var(--ease), transform 0.7s var(--ease), box-shadow 0.7s;
}
.stack__img img { width: 100%; height: 100%; object-fit: cover; }
.stack__img--video { position: relative; }
.stack__img--video video { display: block; width: 100%; height: 100%; object-fit: cover; background: #1b0849; }

.sound-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 17, 17, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 600 13px/1 var(--font-display);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.sound-btn:hover { background: rgba(17, 17, 17, 0.82); transform: translateY(-1px); }
.sound-btn__ico { width: 17px; height: 17px; }
.sound-btn__wave { display: none; }
.sound-btn.is-on .sound-btn__wave { display: inline; }
.sound-btn.is-on .sound-btn__x { display: none; }

.show-row.is-active .stack__img {
  filter: none;
  transform: none;
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.8);
}

/* ------------------------------------------------------------------
   About
------------------------------------------------------------------- */
.about-card {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
}

.about-card__media {
  position: relative;
  margin: 0;
  min-height: 440px;
  overflow: hidden;
  background: #d9d2c8;
}
.about-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about-card:hover .about-card__media img { transform: scale(1.035); }

.pill {
  position: absolute;
  top: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font: 600 13px/1 var(--font-display);
  letter-spacing: -0.01em;
  color: #fff;
}
.pill--tl { left: 16px; }
.pill--tr { right: 16px; background: rgba(255, 255, 255, 0.82); color: #111; }

.about-card__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 4.4vw, 48px);
  color: var(--text-2);
  font-size: 15.5px;
}
.about-card__lede {
  font: 600 clamp(20px, 2.2vw, 24px)/1.3 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--text);
}

/* the motto: gold with a soft glow; each word lights up in turn, on a loop */
.motto {
  font: 700 clamp(24px, 2.8vw, 30px)/1.15 var(--font-display);
  letter-spacing: -0.03em;
}
.motto span {
  display: inline-block;
  color: #e8b54a;
  text-shadow:
    0 0 5px rgba(255, 205, 90, 0.4),
    0 0 16px rgba(255, 175, 40, 0.28);
  animation: mottoGlow 3.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 1.2s);
}
@keyframes mottoGlow {
  0%, 42%, 100% {
    color: #e8b54a;
    text-shadow: 0 0 5px rgba(255, 205, 90, 0.4), 0 0 16px rgba(255, 175, 40, 0.28);
  }
  16% {
    color: #fff0b3;
    text-shadow:
      0 0 6px rgba(255, 228, 150, 0.95),
      0 0 22px rgba(255, 196, 70, 0.8),
      0 0 52px rgba(255, 160, 20, 0.6);
  }
}

.ico--brand { width: 15px; height: 15px; }

.facts {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}
.facts > div { padding: 14px 16px; background: var(--surface); }
.facts dt {
  font: 500 11px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 7px;
}
.facts dd { margin: 0; color: var(--text); font-size: 14.5px; font-weight: 500; line-height: 1.35; }

.socials { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: color 0.2s, background-color 0.2s, transform 0.25s var(--ease);
}
.socials a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------
   Now building
------------------------------------------------------------------- */
.now {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: start;
}
.now__copy { padding-top: 34px; }
.now__copy p {
  max-width: 380px;
  margin: 20px 0 26px;
  color: var(--text-2);
  font-size: 15.5px;
}

.now-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.now-card__label {
  font: 600 13px/1 var(--font-display);
  color: var(--text-2);
  margin-bottom: 14px;
}
.now-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.now-card__icon {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line);
}
.now-card__title {
  min-width: 0;
  font: 700 32px/1.05 var(--font-display);
  letter-spacing: -0.045em;
}
.now-card__title span {
  display: block;
  margin-top: 6px;
  font: 500 14px/1.3 var(--font-body);
  letter-spacing: 0;
  color: var(--text-3);
}

.progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.progress__bar {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.progress__bar span {
  display: block;
  height: 100%;
  width: var(--p);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--d-mid), var(--accent));
  transform-origin: left;
  transition: transform 1.4s var(--ease) 0.2s;
}
.js .now-card:not(.is-in) .progress__bar span { transform: scaleX(0); }
.progress__num { font: 500 12.5px/1 var(--font-mono); color: var(--text-2); }

.checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 14.5px;
}
.checklist li { display: flex; align-items: center; gap: 10px; color: var(--text-3); }
.checklist li.done { color: var(--text); }
.checklist svg { width: 15px; height: 15px; color: var(--accent-hover); flex: none; }
.todo {
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 50%;
  border: 1.6px solid var(--text-3);
}

/* ------------------------------------------------------------------
   FAQ
------------------------------------------------------------------- */
.faq {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.faq__head p { margin-top: 16px; color: var(--text-2); font-size: 15px; }

.faq__list { display: grid; gap: 8px; }

.qa {
  border-radius: 16px;
  background: var(--surface);
  transition: background-color 0.2s;
}
.qa:hover { background: #1f1f1f; }

.qa__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 22px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: 600 16px/1.35 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--text);
}
.qa__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.35s var(--ease), background-color 0.25s;
}
.qa__icon svg { width: 14px; height: 14px; }
.qa.is-open .qa__icon { transform: rotate(45deg); background: var(--accent); }

.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.qa__a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.4s;
}
.qa__a p { padding: 0 22px 22px; color: var(--text-2); font-size: 15px; line-height: 1.65; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a > div { visibility: visible; transition-delay: 0s; }

/* ------------------------------------------------------------------
   CTA
------------------------------------------------------------------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--d-deep);
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 30px;
  padding: 56px 24px;
  text-align: center;
}
.cta__title {
  display: flex;
  align-items: center;
  gap: 18px;
  font: 700 clamp(38px, 6.2vw, 62px)/1 var(--font-display);
  letter-spacing: -0.058em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.cta__mark { width: 0.86em; height: 0.86em; flex: none; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.3)); }
.cta__mark--roblox { width: 0.72em; height: 0.72em; }

.cta-stack { display: flex; flex-direction: column; gap: 24px; }

/* the studio banner: the same halftone in violet, the blue's neighbour on the colour wheel */
.cta--violet {
  --d-deep: #1c0f45;
  --d-mid: #4a1f9e;
  --d-bright: #8b5cf6;
  --d-hot: #b9a3ff;
}

/* banner titles: white, with a soft glow that swells and fades */
.cta__title--glow {
  color: #fff;
  filter: drop-shadow(0 3px 0 rgba(6, 8, 24, 0.5)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
  animation: ctaGlow 3.2s ease-in-out infinite alternate;
}
.cta__title--glow .cta__mark { filter: none; }
#contact .cta__title--glow { animation-delay: -1.6s; }

@keyframes ctaGlow {
  from { filter: drop-shadow(0 3px 0 rgba(6, 8, 24, 0.5)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.08)); }
  to   { filter: drop-shadow(0 3px 0 rgba(6, 8, 24, 0.5)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.3)); }
}

/* the Roblox mark flips a quarter turn with a bounce, then rests (a quarter turn looks the same, so it loops) */
.cta__mark--roblox { animation: robloxFlip 2.6s cubic-bezier(0.3, 1.6, 0.5, 1) infinite; }
@keyframes robloxFlip {
  0%, 62% { transform: rotate(0deg); }
  86%, 100% { transform: rotate(90deg); }
}

/* the moon bobs and its star twinkles */
.cta__moon { animation: moonBob 3.2s ease-in-out infinite alternate; }
.cta__moon-star {
  transform-box: fill-box;
  transform-origin: center;
  animation: starTwinkle 1.6s ease-in-out infinite;
}
@keyframes moonBob {
  from { transform: translateY(-4px) rotate(-6deg); }
  to   { transform: translateY(5px) rotate(4deg); }
}
@keyframes starTwinkle {
  0%, 100% { transform: scale(0.65); opacity: 0.55; }
  50%      { transform: scale(1.25); opacity: 1; }
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
.footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
}
.footer__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer__links a { font-size: 14.5px; color: var(--text-2); transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__social { display: flex; justify-content: flex-end; gap: 14px; }
.footer__social a { color: var(--text-2); transition: color 0.2s; }
.footer__social a:hover { color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer__copy {
  margin-top: 26px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-3);
}

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .about-card { grid-template-columns: 1fr; }
  .about-card__media { min-height: 0; aspect-ratio: 1 / 1; }

  .now { grid-template-columns: 1fr; gap: 36px; }
  .now__copy { padding-top: 0; }

  .faq { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }

  .hero { min-height: 0; padding: 130px 0 80px; }

  .strip__inner { flex-direction: column; align-items: stretch; gap: 14px; }

  .section { padding-top: 96px; }
  .section--tight { padding-top: 84px; }
  .section--cta { padding-top: 88px; }

  .showcase { margin-top: 116px; }   /* 84px (next section's top) + the 32px glow */
  .show-row { grid-template-columns: 1fr; gap: 48px; }
  .show-row .stack,
  .show-row:nth-child(even) .stack { width: 100%; order: -1; }
  .stack__aura { left: -32px; top: -32px; width: calc(100% + 64px); height: calc(100% + 64px); }

  .facts { grid-template-columns: 1fr; }

  .now-card__title { font-size: 28px; }

  .cta { min-height: 300px; }
  .cta__title { flex-direction: column; gap: 14px; }

  .footer__row { grid-template-columns: 1fr; justify-items: center; }
  .footer__social { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-split] .word { opacity: 1; transform: none; filter: none; animation: none; }
  /* the motto only changes brightness, nothing moves, so it keeps running */
  .motto span { animation-duration: 3.6s !important; animation-iteration-count: infinite !important; }
  /* banner titles: the glow is brightness only, so it keeps running; the logos stay still */
  .cta__title--glow { animation-duration: 3.2s !important; animation-iteration-count: infinite !important; }
  .js .reveal { transform: none; }
}
