/* ==========================================================================
   Tovumo Studios — tovumostudios.com
   ========================================================================== */

:root {
  --ink: #08070f;
  --ink-2: #0f0c1f;
  --text: #f3f0ff;
  --muted: #a9a3c7;
  --faint: #6f6990;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(22, 18, 44, 0.48);
  --glass-hi: rgba(36, 30, 70, 0.55);

  --violet: #8b6cff;
  --violet-deep: #5b34ff;
  --cyan: #45e1ff;
  --magenta: #ff4fd8;
  --gold: #ffd98a;
  --gold-deep: #f2a93b;

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-brand: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  /* no background here: html carries it, so the z-index:-1 backdrop isn't painted over */
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

::selection { background: rgba(139, 108, 255, 0.45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   Backdrop
   -------------------------------------------------------------------------- */

.backdrop {
  position: fixed;
  top: 0; left: 0; right: 0;
  /* "large viewport" height: stays fixed while mobile toolbars slide during scroll,
     so the starfield canvas never resizes mid-scroll */
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  /* keep the whole backdrop on one isolated GPU layer so page scrolling never forces it to repaint */
  contain: strict;
  transform: translateZ(0);
  backface-visibility: hidden;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #1d1347 0%, rgba(29, 19, 71, 0) 60%),
    radial-gradient(90% 60% at 50% 120%, #10233f 0%, rgba(16, 35, 63, 0) 60%),
    var(--ink);
}

#stars { position: absolute; inset: 0; width: 100%; height: 100%; }

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora--a {
  width: 60vmax; height: 60vmax;
  left: -18vmax; top: -22vmax;
  background: radial-gradient(circle, rgba(91, 52, 255, 0.85), rgba(91, 52, 255, 0) 65%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.aurora--b {
  width: 52vmax; height: 52vmax;
  right: -20vmax; top: 8vh;
  background: radial-gradient(circle, rgba(69, 225, 255, 0.55), rgba(69, 225, 255, 0) 65%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.aurora--c {
  width: 46vmax; height: 46vmax;
  left: 20vw; bottom: -30vmax;
  background: radial-gradient(circle, rgba(255, 79, 216, 0.4), rgba(255, 79, 216, 0) 65%);
  animation: drift-c 38s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(12vw, 10vh, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-14vw, 16vh, 0) scale(0.9); } }
@keyframes drift-c { to { transform: translate3d(-10vw, -12vh, 0) scale(1.2); } }

.grain {
  position: absolute;
  inset: -50%;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
  pointer-events: none;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) var(--gutter) 14px;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 7, 15, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav__mark {
  width: 34px; height: 33px;
  color: #fff;
  filter: drop-shadow(0 0 14px rgba(139, 108, 255, 0.55));
  transition: transform 0.5s var(--ease-out);
}
.nav__brand:hover .nav__mark { transform: rotate(-8deg) scale(1.06); }
.nav__name {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav__name span {
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.55em;
}

.nav__link {
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav__link:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }

/* --------------------------------------------------------------------------
   Hero / Coming soon
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(96px + env(safe-area-inset-top)) var(--gutter) clamp(32px, 5vw, 56px);
  text-align: center;
}
.hero__inner { max-width: 960px; width: 100%; display: flex; flex-direction: column; align-items: center; }

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  text-align: center;
  margin: 0 0 8px;
  padding: 9px 18px 9px 14px;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box,
              linear-gradient(90deg, var(--gold), var(--magenta), var(--cyan), var(--gold)) border-box;
  background-size: 100% 100%, 300% 100%;
  border: 1px solid transparent;
  box-shadow: 0 0 30px rgba(139, 108, 255, 0.35);
  animation: chip-border 6s linear infinite;
}
@keyframes chip-border { to { background-position: 0 0, 300% 0; } }
.chip__sub { color: var(--gold); }
.chip__dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 217, 138, 0.7);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 217, 138, 0.7); }
  100% { box-shadow: 0 0 0 12px rgba(255, 217, 138, 0); }
}

/* Crystal emblem */
.emblem {
  position: relative;
  width: clamp(180px, 30vw, 260px);
  aspect-ratio: 1;
  margin: 10px 0 -26px;
  display: grid;
  place-items: center;
}
.emblem__halo {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 108, 255, 0.55), rgba(69, 225, 255, 0.15) 45%, transparent 70%);
  filter: blur(18px);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.8; } }
.emblem__crystal {
  position: relative;
  width: 34%;
  filter: drop-shadow(0 0 18px rgba(139, 108, 255, 0.9)) drop-shadow(0 0 40px rgba(69, 225, 255, 0.45));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px) rotate(2deg); } }
.emblem__ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
}
.emblem__ring ellipse { fill: none; stroke: rgba(200, 190, 255, 0.28); stroke-width: 1; }
.emblem__ring .orb { fill: var(--gold); filter: drop-shadow(0 0 6px var(--gold)); }
.emblem__ring .orb--b { fill: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); }
.emblem__ring--1 { transform: rotate(-16deg); animation: tilt-1 14s linear infinite; }
.emblem__ring--2 { transform: rotate(22deg); animation: tilt-2 19s linear infinite reverse; }
@keyframes tilt-1 { from { transform: rotate(-16deg) rotateY(0); } to { transform: rotate(-16deg) rotateY(360deg); } }
@keyframes tilt-2 { from { transform: rotate(22deg) rotateY(0); } to { transform: rotate(22deg) rotateY(360deg); } }

/* Title */
.title {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.title__line {
  display: block;
  font-size: clamp(30px, 11.5vw, 150px);
  background: linear-gradient(100deg,
    #fff6dc 0%, var(--gold) 22%, #fffaf0 38%, #c9b8ff 55%, var(--violet) 72%, #fff6dc 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
  filter: drop-shadow(0 6px 30px rgba(139, 108, 255, 0.35));
}
.title__line--world {
  font-size: clamp(24px, 8.4vw, 108px);
  letter-spacing: 0.32em;
  margin-right: -0.32em; /* optically re-centre tracked text */
  margin-top: 0.12em;
}
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.tagline {
  margin: clamp(22px, 3vw, 34px) 0 0;
  max-width: 34ch;
  font-size: clamp(18px, 2.3vw, 24px);
  font-weight: 500;
  color: var(--text);
  text-wrap: balance;
}
.byline {
  margin: 10px 0 0;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--muted);
  text-wrap: balance;
}
.byline strong { color: var(--text); font-weight: 600; }

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 40px);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.btn--primary {
  color: #120c2a;
  background: linear-gradient(120deg, #fff4d6, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 10px 30px -8px rgba(242, 169, 59, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(242, 169, 59, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.32); }
.btn:active { transform: translateY(0) scale(0.98); }


/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) var(--gutter);
  scroll-margin-top: 40px;
}
.section__head { text-align: center; max-width: 860px; margin: 0 auto clamp(36px, 5vw, 56px); }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
.section__title {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  /* Unbounded's lowercase j/y have stubby descenders that read as cropped; caps also match the wordmark */
  text-transform: uppercase;
  text-wrap: balance;
}
.section__lede {
  margin: 16px auto 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  text-wrap: balance;
}

/* Socials */
.socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.social {
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  /* every card carries its brand color at rest; hover turns it into a glow */
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(var(--glow-rgb), 0.3), transparent 65%),
    var(--glass);
  border: 1px solid rgba(var(--glow-rgb), 0.42);
  box-shadow: 0 18px 50px -34px rgba(var(--glow-rgb), 0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s var(--ease-out);
}

/* Brand palettes: --glow drives tint/glow, --tile is the icon background, --brand/--brand-2 the hover border */
.social--instagram {
  --glow: #e1306c; --glow-rgb: 225, 48, 108; --brand: #feda75; --brand-2: #962fbf;
  --tile: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.social--tiktok {
  --glow: #25f4ee; --glow-rgb: 37, 244, 238; --brand: #25f4ee; --brand-2: #fe2c55;
  --tile: #000;
}
.social--tiktok .social__icon svg { filter: drop-shadow(-1.5px -1.5px 0 #25f4ee) drop-shadow(1.5px 1.5px 0 #fe2c55); }
.social--x {
  --glow: #e7e9ea; --glow-rgb: 231, 233, 234; --brand: #ffffff; --brand-2: #71767b;
  --tile: #000;
}
.social--facebook {
  --glow: #1877f2; --glow-rgb: 24, 119, 242; --brand: #1877f2; --brand-2: #5fa8ff;
  --tile: #1877f2;
}
.social--youtube {
  --glow: #ff0033; --glow-rgb: 255, 0, 51; --brand: #ff0033; --brand-2: #ff6a6a;
  --tile: #ff0033;
}
/* cursor-tracked brand spotlight */
.social::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--glow-rgb), 0.32), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
/* gradient hairline border on hover */
.social::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--brand), transparent 45%, var(--brand-2));
  -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;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
a.social:hover,
a.social:focus-visible,
a.social:active {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(var(--glow-rgb), 0.55),
    0 26px 60px -20px rgba(var(--glow-rgb), 0.75),
    0 0 46px -8px rgba(var(--glow-rgb), 0.55);
}
a.social:hover::before,
a.social:hover::after,
a.social:active::after,
a.social:focus-visible::before,
a.social:focus-visible::after { opacity: 1; }

.social__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--tile);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 22px -10px rgba(var(--glow-rgb), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s ease;
}
.social__icon svg { width: 26px; height: 26px; fill: #fff; }
a.social:hover .social__icon,
a.social:focus-visible .social__icon,
a.social:active .social__icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 28px -2px rgba(var(--glow-rgb), 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social__text { display: flex; flex-direction: column; margin-top: auto; }
.social__name {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 600;
}
.social__handle {
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.social__arrow {
  position: absolute;
  top: 24px; right: 22px;
  width: 22px; height: 22px;
  fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.45s var(--ease-out), stroke 0.3s ease;
}
a.social:hover .social__arrow { stroke: #fff; transform: translate(3px, -3px); }

.social.is-pending { cursor: default; }
.social__badge {
  position: absolute;
  top: 22px; right: 20px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 217, 138, 0.08);
  border: 1px solid rgba(255, 217, 138, 0.3);
}

/* Support */
.support {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 76px) clamp(22px, 6vw, 72px);
  text-align: center;
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(160deg, var(--glass-hi), rgba(14, 11, 30, 0.6));
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 120px -40px rgba(91, 52, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.support__glow {
  position: absolute;
  z-index: -1;
  width: 520px; height: 520px;
  left: 50%; top: -340px;
  margin-left: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 108, 255, 0.55), transparent 65%);
  filter: blur(30px);
}
.support__email {
  display: inline-block;
  margin-top: clamp(24px, 4vw, 34px);
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: clamp(14px, 4.3vw, 34px);
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #fff, #d9ceff 50%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 6px;
  transition: border-color 0.3s ease;
}
.support__email:hover { border-color: var(--cyan); }
.support__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(26px, 4vw, 36px);
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px var(--gutter) calc(48px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer__wordmark { width: min(200px, 50vw); height: auto; opacity: 0.9; }
.footer p { margin: 0; font-size: 13px; color: var(--faint); }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 50;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #120c2a;
  background: var(--gold);
  box-shadow: 0 14px 40px -10px rgba(242, 169, 59, 0.7);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.3s ease;
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* --------------------------------------------------------------------------
   Reveal on scroll (only when JS is running, so no-JS still shows content)
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .socials { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .socials li { grid-column: span 2; }
  .socials li:nth-child(4) { grid-column: 2 / span 2; }
  .socials li:nth-child(5) { grid-column: 4 / span 2; }
}

@media (max-width: 680px) {
  .nav__name span { display: none; }
  .nav__link { padding: 9px 14px; font-size: 11px; }

  .chip { font-size: 11px; letter-spacing: 0.2em; padding: 9px 16px 9px 12px; }

  .emblem { margin-bottom: -18px; }

  /* phones: hero hugs its content so the socials follow right after the buttons */
  .hero { min-height: 0; }

  .socials { grid-template-columns: 1fr; gap: 12px; }
  .socials li,
  .socials li:nth-child(4),
  .socials li:nth-child(5) { grid-column: auto; }

  .social {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
  }
  .social__icon { width: 50px; height: 50px; border-radius: 14px; flex: none; }
  .social__icon svg { width: 24px; height: 24px; }
  .social__text { margin-top: 0; min-width: 0; }
  .social__name { font-size: 16px; }
  .social__arrow,
  .social__badge { position: static; margin-left: auto; flex: none; }
  a.social:hover, a.social:focus-visible { transform: translateY(-3px); }

  .cta .btn, .support__actions .btn { flex: 1 1 100%; max-width: 360px; }
}

@media (max-width: 360px) {
  .btn { padding: 0 18px; font-size: 12px; letter-spacing: 0.04em; }
  .chip { font-size: 10px; letter-spacing: 0.16em; gap: 10px; border-radius: 20px; }
  .chip__sub { display: block; }
}

@media (hover: none) {
  .social::before { display: none; }
}

/* Touch devices: phone GPUs re-rasterize heavy fixed layers lazily mid-scroll, which made the
   starfield flicker/jump while scrolling. Drop the costly blur + blend on the aurora (the
   radial gradients are already soft) and freeze the grain; desktop keeps the full effect. */
@media (hover: none), (pointer: coarse) {
  .aurora { filter: none; mix-blend-mode: normal; opacity: 0.42; }
  .aurora--a { background: radial-gradient(circle, rgba(91, 52, 255, 0.75), rgba(91, 52, 255, 0.25) 35%, rgba(91, 52, 255, 0) 70%); }
  .aurora--b { background: radial-gradient(circle, rgba(69, 225, 255, 0.45), rgba(69, 225, 255, 0.14) 35%, rgba(69, 225, 255, 0) 70%); }
  .aurora--c { background: radial-gradient(circle, rgba(255, 79, 216, 0.35), rgba(255, 79, 216, 0.1) 35%, rgba(255, 79, 216, 0) 70%); }
  .grain { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
