/* SOT90K — Struggles Of The 90s Kids
   Hand-built rebuild of the original Squarespace site. No frameworks. */

@font-face { font-family: "Rubik Iso"; src: url("../fonts/rubik-iso.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Rubik One"; src: url("../fonts/rubik-one.woff2") format("woff2"); font-display: swap; }

:root {
  --black: #0d0d0d;
  --ink: #000;
  --white: #fafaf9;
  --yellow: #ffda00;
  --beige: #d6d1c4;
  --brzy: #832c21;
  --gen: #3eb4e5;
  --game: #e82177;
  --red: #d7282f;
  --green: #459f41;
  --blue: #0075a8;
  --purple: #713088;
  --display: "Rubik Iso", "Rubik One", Impact, sans-serif;
  --pixel: "Rubik One", "Arial Black", sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 5vw, 64px);
  --header-h: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--body); font-size: 16px; line-height: 1.5; letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.05; margin: 0; letter-spacing: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--ink); height: var(--header-h);
  transition: transform .35s ease;
}
.site-header.hide { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav { display: flex; gap: 30px; }
.nav a, .pill {
  font-family: var(--pixel); font-size: 12px; text-transform: uppercase; text-decoration: none; letter-spacing: 0;
}
.nav a[aria-current="page"], .nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.logo img { width: 48px; height: auto; }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--white);
  border-radius: 999px; padding: 0 22px; height: 46px; font-family: var(--body); letter-spacing: -.04em; font-size: 12px;
  transition: background .2s, color .2s;
}
.pill:hover { background: var(--white); color: var(--ink); }
.burger { display: none; background: none; border: 0; color: var(--white); width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; background: var(--ink); z-index: 49; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px; transform: translateY(-110%); transition: transform .45s cubic-bezier(.7,0,.2,1);
}
.mobile-menu a { font-family: var(--display); font-size: clamp(34px, 10vw, 56px); text-decoration: none; text-transform: uppercase; }
.menu-open .mobile-menu { transform: none; }

@media (max-width: 780px) {
  :root { --header-h: 72px; }
  .nav, .header-right .pill { display: none; }
  .burger { display: block; }
  .site-header .wrap { grid-template-columns: 40px 1fr 40px; }
  .logo { justify-self: center; }
  .logo img { width: 40px; }
}

/* ---------- Buttons / small type ---------- */
.press {
  font-family: var(--display); color: var(--yellow); text-transform: uppercase; text-decoration: none;
  font-size: clamp(16px, 1.6vw, 21px); display: inline-block; transition: transform .2s;
}
.press:hover { transform: scale(1.08); }
.blink { animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* ---------- Marquee (SVG textPath, built by main.js) ---------- */
.marquee { width: 100%; overflow: hidden; position: relative; }
.marquee svg { width: 100%; height: auto; overflow: visible; }
.marquee text { font-family: var(--display); text-transform: uppercase; }
.banner { padding: 0; }
.banner--gen { background: var(--gen); }
.banner--game { background: var(--game); }
.banner--brzy { background: var(--brzy); }
.banner--beige { background: var(--beige); }

/* ---------- Hand-drawn highlights (Squarespace-style) ---------- */
.hl { position: relative; display: inline; white-space: nowrap; z-index: 0; --hl: var(--yellow); }
.hl-circle::after, .hl-under::after, .hl-strike::after, .hl-scribble::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; background: var(--hl);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.hl-circle::after {
  inset: -28% -9%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M112 6C60 2 8 12 5 31s50 26 102 24 90-10 88-28S150 3 70 8' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M112 6C60 2 8 12 5 31s50 26 102 24 90-10 88-28S150 3 70 8' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.hl-under::after {
  left: 0; right: 0; bottom: -.28em; height: .32em;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c40-5 90-6 196-3' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c40-5 90-6 196-3' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.hl-scribble::after {
  left: -2%; right: -2%; bottom: -.35em; height: .5em;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 12c30-8 60 6 95-2s70-6 99 1M8 16c50-6 120-8 186-6' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 12c30-8 60 6 95-2s70-6 99 1M8 16c50-6 120-8 186-6' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.hl-strike::after { left: -2%; right: -2%; top: 46%; height: .16em; -webkit-mask-image: none; mask-image: none; }
.hl-marker { background: linear-gradient(transparent 8%, var(--hl) 8%, var(--hl) 92%, transparent 92%); padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-hidden { color: var(--beige); background: var(--beige); padding: 0 .1em; }

/* ---------- Section dividers ---------- */
.curve { display: block; width: 100%; height: clamp(40px, 7vw, 110px); margin-bottom: -1px; }
.curve path { fill: currentColor; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blink { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- HOME ---------- */
.hero { background: var(--ink); text-align: center; padding: 0 0 clamp(40px, 7vw, 90px); position: relative; }
.crt { position: relative; width: 100%; height: min(78vw, 1080px); overflow: hidden; }
.crt-inner { position: absolute; left: 50%; top: 50%; width: min(130vw, 1800px); aspect-ratio: 4 / 3; transform: translate(-50%, -46%); }
.crt video { width: 100%; height: 100%; object-fit: cover; }
.crt-copy {
  position: absolute; left: 50%; transform: translateX(-50%); width: 40%; margin: 0; color: var(--ink);
  font-size: min(1.02vw, 14px); line-height: 1.35;
}
.crt-copy.one { top: 63.2%; }
.crt-copy.two { top: 68.6%; }
.crt-copy.two span { background: rgba(255,255,255,.55); padding: 0 .3em; }
.crt-copy b { font-weight: 700; }
@media (max-width: 700px) {
  .crt { height: 104vw; }
  .crt-inner { width: 205vw; }
  .crt-copy { font-size: 1.6vw; }
}
.hero .press { margin-top: 18px; }

.quests { background: var(--black); padding: clamp(50px, 8vw, 110px) 0 0; position: relative; }
.quests .marquee { margin-bottom: -2.5%; position: relative; z-index: 1; pointer-events: none; }
.quest-grid {
  display: grid; grid-template-columns: 1fr 1.25fr 1.25fr 1fr; align-items: center; gap: clamp(12px, 2vw, 28px);
}
.quest-grid .device { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.quest-grid a:hover .device { transform: translateY(-10px) rotate(-1.5deg); }
.quest-grid a:nth-of-type(2):hover .device { transform: translateY(-10px) rotate(1.5deg); }
.slogan { font-family: var(--body); font-style: italic; text-transform: uppercase; font-weight: 500; line-height: .98; letter-spacing: -.05em; font-size: clamp(24px, 3.3vw, 46px); }
.slogan .r { color: var(--red); display: block; }
.slogan .y { background: var(--yellow); color: var(--white); padding: 0 .08em; display: inline-block; font-style: italic; }
.slogan .w { display: block; font-style: normal; }
.slogan .g { color: var(--green); font-weight: 800; font-style: normal; font-size: 1.25em; }
.slogan .p { color: var(--game); display: block; font-style: normal; font-weight: 800; font-size: 1.2em; }
.slogan-cell { text-align: center; display: flex; flex-direction: column; align-items: center; gap: clamp(30px, 5vw, 70px); }
.slogan-cell.right { text-align: left; }
.lets-play .p { position: relative; }
.lets-play .p::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -.02em; height: .18em; background: var(--gen); border-radius: 40% 60% 50% 50%; transform: rotate(-1deg); z-index: -1; }

.avatar { background: var(--black); position: relative; padding-bottom: clamp(20px, 4vw, 40px); }
.avatar-marquee { position: absolute; left: 0; right: 0; top: clamp(20px, 4vw, 60px); z-index: 1; pointer-events: none; }
.avatar-grid { display: grid; grid-template-columns: 1fr minmax(200px, 330px) 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; padding-top: clamp(110px, 16vw, 230px); position: relative; z-index: 2; }
.avatar-grid .device-brzy { position: relative; }
.avatar-copy .made { font-family: var(--body); font-style: italic; text-transform: uppercase; font-size: clamp(30px, 3.9vw, 54px); line-height: 1; letter-spacing: -.05em; margin-bottom: 26px; }
.made .row2 { display: flex; gap: .15em; align-items: center; font-style: normal; font-weight: 700; margin-top: 4px; }
.made .heard { background: var(--beige); color: var(--beige); padding: 0 .1em; font-weight: 400; font-style: normal; }
.made .seen { --hl: var(--brzy); }
.made .seen::after { inset: -22% -12%; }
.avatar-copy p:not(.made) { font-size: 14px; max-width: 32ch; }
.avatar-copy .pron { font-size: 13px; }
.avatar-links { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.avatar-links a { font-family: var(--display); font-size: clamp(18px, 2vw, 26px); text-transform: uppercase; text-decoration: none; transition: color .2s; }
.avatar-links a:hover { color: var(--yellow); }
.avatar-links .hl { --hl: var(--brzy); }

@media (max-width: 860px) {
  /* zig-zag: each slogan sits beside its own device */
  .quest-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .quest-grid > :nth-child(1) { order: 1; }  /* Wrong answers  */
  .quest-grid > :nth-child(2) { order: 2; }  /* Gen device     */
  .quest-grid > :nth-child(3) { order: 3; }  /* Game device    */
  .quest-grid > :nth-child(4) { order: 4; }  /* Let's play     */
  .slogan-cell { flex-direction: row; justify-content: center; gap: 24px; }
  .avatar-grid { grid-template-columns: 1fr; text-align: center; }
  .avatar-grid .device-brzy { width: min(300px, 80%); margin: 0 auto; order: -1; }
  .avatar-copy p { margin-inline: auto; }
  .made .row2 { justify-content: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); padding: clamp(36px, 5vw, 60px) 0 36px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-mark { font-family: var(--display); font-size: 21px; line-height: 1; text-transform: uppercase; display: inline-grid; width: max-content; gap: 1px; }
.footer-mark span { display: flex; justify-content: space-between; gap: 10px; }
.footer-mark .y { color: var(--yellow); }
.footer-cols { display: flex; gap: clamp(32px, 6vw, 70px); }
.footer-col h2 { font-family: var(--pixel); font-size: 10px; margin-bottom: 10px; text-align: center; }
.footer-icons { display: flex; gap: 12px; justify-content: center; align-items: center; }
.footer-icons a { display: block; transition: transform .2s; }
.footer-icons a:hover { transform: translateY(-3px); }
.footer-icons svg { height: 18px; width: auto; fill: var(--white); }
.footer-icons .mail svg { height: 22px; }
.footer-legal { margin-top: 28px; font-size: 11px; line-height: 1.7; color: #8c8a85; }
.footer-legal .wrap { display: block; }

/* ---------- Page heads (inner pages) ---------- */
.page-hero { background: var(--black); text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.page-hero h1 { font-size: clamp(44px, 8vw, 108px); }
.strike { position: relative; display: inline-block; }
.strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 50%; height: .13em; background: var(--yellow); transform: translateY(-20%); }
.lede { max-width: 640px; margin: 36px auto 0; text-align: left; font-size: 13px; line-height: 1.55; }
.lede p { margin-bottom: .9em; }

/* ---------- Character select ---------- */
.team-photo { position: relative; background: var(--black); }
.team-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.team-photo .curve { position: absolute; left: 0; right: 0; bottom: -1px; color: var(--black); }
.fighters { padding: clamp(50px, 8vw, 100px) 0; }
.fighters .marquee { margin-bottom: 18px; }
.grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.grid6 img { border-radius: 10px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: filter .3s, transform .3s; filter: grayscale(.2); }
.grid6 img:hover { filter: none; transform: scale(1.03); }
@media (max-width: 760px) { .grid6 { grid-template-columns: repeat(3, 1fr); } }

.team { padding: clamp(40px, 6vw, 70px) 0; }
.team h2 { font-size: clamp(34px, 4.4vw, 58px); margin-bottom: 14px; white-space: nowrap; }
.team h2 .u { position: relative; }
.team h2 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: currentColor; opacity: .5; }
.team-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 12px; align-items: start; }
.team-layout.flip { grid-template-columns: 1fr 1.8fr; }
.team-feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cards.four { grid-template-columns: repeat(4, 1fr); max-width: 940px; margin-inline: auto; }
.card { position: relative; }
.card-img { border-radius: 10px 10px 0 0; overflow: hidden; aspect-ratio: 4 / 5; background: #1a1a1a; display: grid; place-items: center; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-img .ph { font-family: var(--display); font-size: 44px; color: #3a3a3a; }
.card-label {
  display: block; border-radius: 12px; margin-top: -14px; position: relative; padding: 15px 8px; text-align: center;
  font-family: var(--pixel); font-size: 10.5px; text-transform: uppercase; color: var(--ink); letter-spacing: 0;
}
.bg-yellow { background: var(--yellow); } .bg-white { background: var(--white); } .bg-beige { background: var(--beige); }
.bg-red { background: var(--red); } .bg-green { background: var(--green); } .bg-blue { background: var(--blue); }
.bg-gen { background: var(--gen); } .bg-purple { background: var(--purple); } .bg-pink { background: var(--game); }
.c-red { color: var(--red); } .c-green { color: var(--green); } .c-blue { color: var(--blue); } .c-yellow { color: var(--yellow); }
.c-gen { color: var(--gen); } .c-pink { color: var(--game); } .c-purple { color: var(--purple); }
.team-sot { text-align: center; }
.cards.stagger > :nth-child(2n) { margin-top: 0; }
.game-left { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
.game-left .col2 { display: grid; gap: 12px; }
.brzy-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
.brzy-cards .col2 { padding-top: 0; }
@media (max-width: 860px) {
  .team-layout, .team-layout.flip { grid-template-columns: 1fr; }
  .team h2 { white-space: normal; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .team-layout.flip .team-feature-wrap { order: -1; }
}

/* ---------- Quests hub ---------- */
.quest-head { background: var(--beige); color: var(--ink); text-align: center; padding: clamp(40px, 6vw, 70px) 0 0; }
.quest-head h1 { font-size: clamp(30px, 4.6vw, 62px); color: var(--white); -webkit-text-stroke: 0; }
.quest-head .curve { color: var(--black); margin-top: clamp(40px, 6vw, 80px); }
.quest-list { list-style: none; margin: 0; padding: clamp(40px, 7vw, 90px) 0 clamp(80px, 12vw, 160px); text-align: center; position: relative; }
.quest-list li + li { margin-top: clamp(30px, 5vw, 60px); }
.quest-list a { font-family: var(--display); text-transform: uppercase; text-decoration: none; font-size: clamp(30px, 4.6vw, 62px); position: relative; z-index: 2; transition: color .25s; }
.quest-list a:hover { color: var(--yellow); }
.quest-peek {
  position: fixed; top: 0; left: 0; width: clamp(220px, 26vw, 380px); pointer-events: none; z-index: 1;
  opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-4deg); transition: opacity .25s, transform .35s cubic-bezier(.2,.7,.2,1);
}
.quest-peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
.quest-peek img { display: none; }
.quest-peek img.on { display: block; }
.q-logo { display: none; }
/* touch screens / phones: no hover, so each logo sits above its own name */
@media (hover: none), (max-width: 780px) {
  .quest-peek { display: none; }
  .quest-list a { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; }
  .q-logo { display: block; width: min(46vw, 200px); height: auto; transition: transform .3s; }
  .quest-list a:active .q-logo { transform: scale(.95) rotate(-3deg); }
  .quest-list li + li { margin-top: clamp(44px, 12vw, 64px); }
}

/* ---------- Brand pages ---------- */
.brand-body { padding: clamp(40px, 6vw, 70px) 0 clamp(40px, 6vw, 80px); }
.brand-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.brand-grid h1, .brand-grid h2 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 18px; }
.brand-copy { font-size: 15px; max-width: 44ch; }
.brand-copy .hl { white-space: normal; }
.brand-photo img { width: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.socials { display: flex; align-items: center; gap: 10px; margin-top: 44px; }
.socials a { display: block; transition: transform .2s; }
.socials a:hover { transform: translateY(-4px) rotate(-3deg); }
.socials img { height: clamp(52px, 5.8vw, 86px); width: auto; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 30px var(--gutter) 10px; }
.pager a { font-family: var(--display); text-transform: uppercase; text-decoration: none; font-size: clamp(16px, 1.8vw, 24px); display: inline-flex; gap: 16px; align-items: center; }
.pager a:hover { color: var(--yellow); }
.pager .next { margin-left: auto; }
.pager svg { width: 12px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.brzy-intro { max-width: 1180px; }
.brzy-intro h1 { font-size: clamp(20px, 2vw, 28px); margin-bottom: 18px; display: inline-block; }
.brzy-intro p { font-size: 15px; font-weight: 500; }
.brzy-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); margin-top: 50px; }
.brzy-split .right { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.brzy-split .handdrawn img { border: 2px solid var(--white); }
.brzy-split .right p { font-size: 14px; max-width: 46ch; margin-left: auto; margin-right: auto; }
.cta-shop {
  display: inline-flex; align-items: center; gap: 12px; align-self: center; background: var(--brzy); color: var(--white); text-decoration: none;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(18px, 2vw, 24px); padding: 16px 30px; border-radius: 999px;
  transition: transform .2s, background .2s;
}
.cta-shop:hover { transform: translateY(-3px) rotate(-1deg); background: #9e3629; }
.brzy-split .socials { justify-content: center; margin-top: 0; }
@media (max-width: 780px) {
  .brand-grid, .brzy-split { grid-template-columns: 1fr; }
  .socials { justify-content: center; }
  .brand-grid > div:first-child { text-align: center; }
  .brand-copy { margin-inline: auto; }
}

/* ---------- Collab ---------- */
.collab-head { background: var(--yellow); color: var(--ink); text-align: center; padding: clamp(50px, 7vw, 90px) 0 0; }
.collab-head h1 { font-size: clamp(30px, 4.4vw, 58px); color: var(--white); }
.collab-head p { font-size: 15px; margin-top: 20px; }
.collab-head .curve { margin-top: clamp(40px, 6vw, 80px); }
.collab-body { background: var(--white); color: var(--ink); padding: clamp(30px, 5vw, 60px) 0 clamp(60px, 9vw, 110px); }
.collab-grid { display: grid; grid-template-columns: .75fr 1fr; gap: clamp(28px, 5vw, 70px); max-width: 980px; margin: 0 auto; align-items: start; }
.collab-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
form label { display: block; font-size: 12px; margin-bottom: 14px; }
form label small { font-size: 9px; color: #666; margin-left: 4px; }
form input, form select, form textarea {
  display: block; width: 100%; margin-top: 4px; border: 0; border-bottom: 1.5px solid var(--ink); background: var(--beige);
  font: 14px var(--body); padding: 10px; color: var(--ink); border-radius: 0; appearance: none;
}
form textarea { min-height: 96px; resize: vertical; }
form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M1 1l9 9 9-9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.yeet { border: 1.5px solid var(--ink); background: none; border-radius: 999px; padding: 12px 26px; font-family: var(--pixel); font-size: 11px; cursor: pointer; transition: background .2s, color .2s; }
.yeet:hover { background: var(--ink); color: var(--white); }
.form-note { font-size: 11px; color: #555; margin-top: 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.yeet:disabled { opacity: .5; cursor: wait; }
.form-status { font-size: 13px; color: var(--red); margin-top: 12px; min-height: 1em; }
.form-status:empty { display: none; }
.form-sent { align-self: center; text-align: left; }
.form-sent h2 { font-family: var(--display); font-size: clamp(36px, 5vw, 64px); text-transform: uppercase; margin: 0 0 10px; }
.form-sent p { margin: 0 0 22px; }
.form-sent:focus { outline: none; }
@media (max-width: 760px) { .collab-grid { grid-template-columns: 1fr; } .collab-grid img { aspect-ratio: 4 / 3; } }

/* ---------- 404 ---------- */
.notfound { background: var(--beige); color: var(--ink); min-height: 70vh; padding: 60px 0; }
.notfound .msg { max-width: 420px; margin: 40px auto 0; font-size: 12px; text-transform: uppercase; }
.notfound .msg a { font-family: var(--pixel); }

/* ---------- Mobile polish (15 Sep review) ---------- */
@media (max-width: 780px) {
  /* menu: keep long items centred and on screen */
  .mobile-menu { padding: 0 var(--gutter); text-align: center; gap: 22px; }
  .mobile-menu a { font-size: clamp(24px, 7.4vw, 40px); line-height: 1.1; max-width: 100%; }

  /* footer: centre everything like the rest of the mobile layout */
  .site-footer .wrap { flex-direction: column; align-items: center; text-align: center; gap: 28px; }
  .footer-cols { justify-content: center; }
  .footer-legal .wrap { text-align: center; }
}
@media (max-width: 860px) {
  /* home quests: slogan stacked over its button, centred */
  .slogan-cell, .slogan-cell.right { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .slogan-cell.right .slogan { text-align: center; }
  .quest-grid { row-gap: 36px; }
  /* character select BRZY: drop the desktop stagger so cards line up */
  .brzy-cards { align-items: center; }
  .brzy-cards .col2 { padding-top: 0; }
}

[hidden] { display: none !important; }
