/* =====================================================================
   Buffer & Binds: "SHINE.OS" pixel theme
   Colours, fonts and the window chrome come from the Buffer_and_Binds_Intro video
   (navy desktop, pink title bar, blue status bar, pixel icons) and the chibi logo.
   Plain CSS, no inline styles needed (CSP-safe). Bump ?v= in welcome.blade.php after edits.
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink: #0a1139;          /* navy outline, sampled from the video */
  --night: #0b1442;        /* desktop */
  --night-2: #121c52;      /* raised panels */
  --night-3: #1a2563;      /* monitor bezel */
  --shade: #050a26;        /* hard drop shadows */
  --line: rgba(118, 192, 248, .085);

  --pink: #feaece;  --pink-2: #f3779e;  --pink-ink: #c8326f;
  --blue: #76c0f8;  --blue-2: #378ce5;  --blue-3: #1f5fbf;
  --yellow: #fcdf76; --yellow-2: #e5b94a;
  --silver: #d7dce9;
  --holo: #6fd3ff;
  --cream: #fff7fb;
  --text: #eef1ff;  --muted: #b3bfec;  --ink-2: #3b4577;

  --f-px: "Pixelify Sans", "DotGothic16", ui-monospace, monospace;
  --f-dot: "DotGothic16", "Pixelify Sans", ui-monospace, monospace;
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1320px;
  --gut: clamp(16px, 4vw, 32px);
  --bar: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --focus: var(--yellow);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  font: 500 1rem/1.6 var(--f-body);
  color: var(--text);
  background-color: var(--night);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--pink); color: var(--ink); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.px { shape-rendering: crispEdges; }
.g { flex: none; width: 1em; height: 1em; fill: currentColor; shape-rendering: crispEdges; }

.skip {
  position: absolute; left: var(--gut); top: -120px; z-index: 100;
  padding: 12px 18px; color: var(--ink); background: var(--yellow);
  font: 400 1rem/1 var(--f-dot); text-decoration: none; border: 3px solid var(--ink);
}
.skip:focus { top: 12px; }

/* ---------- pixel buttons: notched border + raised bottom edge ---------- */
.btn {
  --bg: var(--pink); --fg: var(--ink); --edge: var(--pink-2); --bd: var(--ink); --hi: rgba(255, 255, 255, .5);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 4px 20px 8px;
  font: 400 1.1rem/1.1 var(--f-dot); letter-spacing: .02em; white-space: nowrap; text-decoration: none;
  color: var(--fg); background: var(--bg);
  border: 0; border-radius: 0; cursor: pointer;
  box-shadow:
    inset 0 -4px 0 var(--edge), inset 0 3px 0 var(--hi),
    0 -3px 0 var(--bd), -3px 0 0 var(--bd), 3px 0 0 var(--bd), 0 6px 0 var(--bd);
  transition: transform .12s steps(2), filter .12s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active {
  transform: translateY(3px);
  box-shadow:
    inset 0 -2px 0 var(--edge), inset 0 3px 0 var(--hi),
    0 -3px 0 var(--bd), -3px 0 0 var(--bd), 3px 0 0 var(--bd), 0 3px 0 var(--bd);
}
.btn:focus-visible { outline-offset: 8px; }
.btn .g { width: 18px; height: 18px; }
.btn--sm { min-height: 44px; padding: 3px 14px 7px; font-size: 1.02rem; }
.btn--lg { min-height: 56px; padding: 5px 26px 9px; font-size: 1.2rem; }
.btn--ink { --bg: var(--ink); --fg: #fff; --edge: #000; --bd: var(--ink); --hi: rgba(255, 255, 255, .16); }
.btn--ghost { --bg: var(--night-2); --fg: #fff; --edge: #0a1240; --bd: var(--blue); --hi: rgba(255, 255, 255, .1); }
.btn--paper { --bg: #fff; --fg: var(--ink); --edge: var(--silver); --bd: var(--ink); --hi: rgba(255, 255, 255, 0); }

/* ---------- top bar: the video's pink title bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  color: var(--ink); background: var(--pink);
  box-shadow: inset 0 -3px 0 var(--pink-2), 0 3px 0 var(--ink);
}
.topbar__in { display: flex; align-items: center; gap: 14px; height: var(--bar); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand__logo { width: 40px; height: auto; filter: drop-shadow(2px 2px 0 var(--pink-2)); }
.brand__name { font: 400 1.2rem/1 var(--f-dot); letter-spacing: .05em; white-space: nowrap; }
.brand__ext { opacity: .72; }
.nav { display: flex; align-items: center; }
.nav__menu { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__menu a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 400 .95rem/1 var(--f-dot); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--ink);
}
.nav__menu a:hover, .nav__menu a[aria-current="true"] { color: var(--pink); background: var(--ink); }
.nav__menu a:focus-visible { outline-color: var(--ink); outline-offset: 2px; }
.nav__toggle { display: none; }
.topbar .btn:focus-visible, .nav__toggle:focus-visible, .brand:focus-visible { outline-color: var(--ink); }

@media (max-width: 899px) {
  .nav { order: 3; }
  .nav__toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
    color: var(--ink); background: #fff; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
  }
  .nav__toggle .g { width: 20px; height: 16px; }
  .nav__ic-close, .nav__toggle[aria-expanded="true"] .nav__ic-open { display: none; }
  .nav__toggle[aria-expanded="true"] .nav__ic-close { display: block; }
  .js .nav__menu {
    position: absolute; top: calc(100% + 3px); left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    padding: 8px var(--gut) 18px; background: var(--cream);
    border-bottom: 3px solid var(--ink); box-shadow: 0 10px 0 rgba(5, 10, 38, .55);
  }
  .js .nav__menu.is-open { display: flex; }
  .js .nav__menu a {
    position: relative; width: 100%; min-height: 54px; padding: 0 12px 0 34px; font-size: 1.02rem;
    border-bottom: 2px dashed rgba(10, 17, 57, .16);
  }
  .js .nav__menu li:last-child a { border-bottom: 0; }
  .js .nav__menu a::before {
    content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 14px; margin-top: -7px;
    background: currentColor; opacity: 0;
    clip-path: polygon(0 0, 25% 0, 25% 14%, 50% 14%, 50% 28%, 75% 28%, 75% 43%, 100% 43%, 100% 57%, 75% 57%, 75% 72%, 50% 72%, 50% 86%, 25% 86%, 25% 100%, 0 100%);
  }
  .js .nav__menu a:hover::before, .js .nav__menu a:focus-visible::before, .js .nav__menu a[aria-current="true"]::before { opacity: 1; }
  /* without JS the menu is a scrollable row under the bar */
  html:not(.js) .nav__toggle { display: none; }
  html:not(.js) .topbar__in { flex-wrap: wrap; height: auto; row-gap: 2px; padding-block: 10px 4px; }
  html:not(.js) .nav { order: 4; width: 100%; overflow-x: auto; }
  html:not(.js) .nav__menu { flex-wrap: nowrap; }
}
@media (max-width: 559px) {
  .brand__ext { display: none; }
  .brand__name { font-size: 1.08rem; }
  .topbar__cta { padding-inline: 12px; }
}
@media (max-width: 359px) { .brand__name { display: none; } }

/* ---------- hero: navy desktop + monitor ---------- */
.hero { position: relative; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 52% 58% at 70% 46%, rgba(44, 64, 170, .55), rgba(44, 64, 170, 0) 72%),
    radial-gradient(ellipse 40% 40% at 12% 18%, rgba(254, 174, 206, .08), rgba(254, 174, 206, 0) 70%);
}
.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: min(860px, calc(100vh - var(--bar) - 51px));
  padding-block: clamp(40px, 6vw, 80px);
}
@supports (height: 100svh) { .hero__in { min-height: min(860px, calc(100svh - var(--bar) - 51px)); } }
/* wide screens: a bigger banner monitor */
@media (min-width: 1280px) { .hero__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.eyebrow { margin: 0 0 18px; font: 400 .95rem/1.3 var(--f-dot); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow__caret { margin-right: 4px; color: var(--pink); }
.shine { color: var(--pink); background: linear-gradient(90deg, var(--pink), var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__title {
  margin: 0 0 20px;
  font: 700 clamp(2.6rem, 1.7rem + 3.3vw, 4.3rem)/1.04 var(--f-px); letter-spacing: -.01em; font-variant-ligatures: none;
  color: #fff; text-shadow: 4px 4px 0 var(--shade); text-wrap: balance;
}
.hero__title .hl { color: var(--pink); }
.hero__title::after {
  content: ""; display: inline-block; width: .42em; height: .78em; margin-left: .1em; vertical-align: -.03em;
  background: var(--pink); box-shadow: 4px 4px 0 var(--shade); animation: blink 1.1s steps(1) infinite;
}
.hero__title.is-typing::after { visibility: hidden; }
.js:not(.rm) .hero__title[data-type]:not(.is-typing):not(.is-typed) { visibility: hidden; }
.is-typing .ch { opacity: 0; }
.is-typing .ch.on { opacity: 1; }
.ch.cur { position: relative; }
.ch.cur::after {
  content: ""; position: absolute; left: 100%; top: .12em; width: .42em; height: .78em; margin-left: .04em;
  background: var(--pink);
}
@keyframes blink { 50% { opacity: 0; } }

.hero__lead { max-width: 44ch; margin: 0 0 30px; font: 600 clamp(1.05rem, 1rem + .3vw, 1.2rem)/1.6 var(--f-body); color: var(--muted); }

/* RPG choice menu */
.menu {
  max-width: 440px; margin: 0; padding: 10px; list-style: none;
  background: var(--night-2); border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--ink), 9px 9px 0 3px var(--shade);
}
.menu li + li { border-top: 2px dashed rgba(255, 255, 255, .13); }
.menu__item {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 6px 14px 6px 40px;
  font: 400 1.25rem/1.2 var(--f-dot); color: #fff; text-decoration: none;
}
.menu__item:hover, .menu__item:focus-visible { background: rgba(118, 192, 248, .14); }
.menu__item:focus-visible { outline-offset: -3px; }
.menu__item.is-primary { color: var(--pink); }
.menu__cursor { position: absolute; left: 14px; top: 50%; width: 12px; height: 21px; margin-top: -10.5px; color: var(--pink); opacity: 0; }
.menu__item:hover .menu__cursor,
.menu__item:focus-visible .menu__cursor,
.menu:not(:hover):not(:focus-within) .is-primary .menu__cursor { opacity: 1; animation: nudge .9s steps(2) infinite; }
@keyframes nudge { 50% { transform: translateX(3px); } }
.menu__icon { width: 26px; height: 26px; margin-left: auto; }
.menu__item.is-primary .menu__icon { width: 24px; height: 22px; }

/* monitor */
.hero__stage { position: relative; }
.monitor {
  position: relative; z-index: 1;
  padding: 14px 14px 0;
  background: var(--night-3); border: 3px solid var(--ink);
  box-shadow: inset 0 0 0 3px #2a3784, 12px 12px 0 var(--shade);
}
.monitor__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); border: 3px solid var(--ink); }
.monitor__video { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.monitor__scan {
  position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(5, 10, 38, .14) 0 1px, rgba(5, 10, 38, 0) 1px 3px),
    radial-gradient(ellipse at center, rgba(5, 10, 38, 0) 62%, rgba(5, 10, 38, .32));
}
.monitor__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px;
  font: 400 1.15rem/1 var(--f-dot); color: #fff; background: var(--ink);
  border: 3px solid #fff; box-shadow: 0 0 0 3px var(--ink), 8px 8px 0 3px rgba(5, 10, 38, .6); cursor: pointer;
}
.monitor__play .g { width: 18px; height: 18px; color: var(--pink); }
/* shown while the browser keeps the sound off (no interaction yet): one tap turns it on */
.monitor__unmute {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  font: 400 1rem/1 var(--f-dot); letter-spacing: .04em; color: #fff; background: var(--ink);
  border: 3px solid #fff; box-shadow: 0 0 0 3px var(--ink), 6px 6px 0 3px rgba(5, 10, 38, .55); cursor: pointer;
}
.monitor__unmute .g { width: 18px; height: 16px; color: var(--pink); animation: blink 1.2s steps(1) infinite; }
.monitor__unmute:hover { background: #17225e; }
.monitor__play:hover { background: #17225e; }
.monitor__chin { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 8px 0; }
.monitor__brand { font: 400 .8rem/1 var(--f-dot); letter-spacing: .3em; color: var(--muted); }
.monitor__brand span { color: var(--pink); }
.monitor__led { width: 9px; height: 9px; background: #3b2550; box-shadow: 0 0 0 2px var(--ink); }
.monitor.is-playing .monitor__led { background: var(--pink); box-shadow: 0 0 0 2px var(--ink), 0 0 10px 2px rgba(254, 174, 206, .75); }
.monitor__ctrls { display: flex; gap: 10px; margin-left: auto; }
.ctl {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  font: 400 .85rem/1 var(--f-dot); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--night-2); border: 3px solid var(--ink);
  box-shadow: inset 0 -3px 0 #090f36, inset 0 3px 0 rgba(255, 255, 255, .08); cursor: pointer;
}
.ctl:hover { background: #1d2a74; }
.ctl:active { box-shadow: inset 0 3px 0 #090f36; }
.ctl .g { width: 14px; height: 16px; }
.ctl__play, .ctl__sound { display: none; }
.monitor.is-paused .ctl__pause { display: none; }
.monitor.is-paused .ctl__play { display: block; }
.ctl[aria-pressed="true"] { color: var(--ink); background: var(--pink); box-shadow: inset 0 -3px 0 var(--pink-2); }
.ctl[aria-pressed="true"] .ctl__mute { display: none; }
.ctl[aria-pressed="true"] .ctl__sound { display: block; }

/* pixel items floating around the monitor (as in the video) */
.floaters { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.floater {
  position: absolute; width: 64px; height: 64px;
  filter: drop-shadow(0 0 2px #3c4fb6) drop-shadow(0 0 12px rgba(118, 192, 248, .35));
}
.floater .px { width: 100%; height: 100%; animation: bob 2.4s steps(4) infinite alternate; }
.floater--a { left: -30px; top: -38px; }
.floater--b { right: -26px; top: 12%; width: 56px; height: 56px; }
.floater--b .px { animation-delay: -1.1s; }
.floater--c { left: -36px; bottom: 30%; width: 52px; height: 52px; }
.floater--c .px { animation-delay: -.5s; }
.floater--d { right: -28px; bottom: -34px; }
.floater--d .px { animation-delay: -1.7s; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* twinkles */
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.tw { position: absolute; width: 12px; height: 12px; opacity: .8; animation: twinkle 2.2s steps(2) infinite; }
.tw::before, .tw::after { content: ""; position: absolute; background: var(--c, var(--yellow)); }
.tw::before { left: 4px; top: 0; width: 4px; height: 12px; }
.tw::after { left: 0; top: 4px; width: 12px; height: 4px; }
/* twinkles sit in the gutters and the gap between the columns, never on text */
.tw--1 { left: 3%; top: 6%; }
.tw--2 { left: 44%; top: 6%; --c: var(--pink); animation-delay: -.7s; }
.tw--3 { left: 97%; top: 12%; --c: var(--blue); animation-delay: -1.3s; }
.tw--4 { left: 26%; top: 93%; --c: var(--blue); animation-delay: -.3s; }
.tw--5 { left: 62%; top: 91%; animation-delay: -1.8s; }
.tw--6 { left: 1%; top: 72%; --c: var(--pink); animation-delay: -1s; }
.tw--7 { left: 98%; top: 62%; animation-delay: -.5s; }
.tw--8 { left: 46.5%; top: 48%; --c: var(--pink); animation-delay: -1.5s; scale: .66; }
@keyframes twinkle { 50% { opacity: .15; transform: scale(.5); } }

/* ticker: the video's blue status bar */
.ticker {
  position: relative; z-index: 2;
  display: flex; align-items: center; height: 48px; overflow: hidden;
  font: 400 1rem/1 var(--f-dot); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--blue);
  box-shadow: inset 0 3px 0 var(--blue-2), 0 -3px 0 var(--ink), 0 3px 0 var(--ink);
}
.ticker__label {
  position: relative; z-index: 1; flex: none;
  display: flex; align-items: center; gap: 10px; height: 100%;
  padding: 3px 22px 0 max(var(--gut), calc((100% - var(--max)) / 2));
  background: var(--blue); box-shadow: 3px 0 0 var(--ink);
}
.ticker__label b { margin-left: 10px; font-weight: 400; }
.ticker__track { display: flex; width: max-content; padding-top: 3px; animation: marquee 40s linear infinite; }
.ticker__run { display: flex; }
.ticker__run span { display: inline-flex; align-items: center; gap: 22px; padding-left: 22px; white-space: nowrap; }
.ticker__run span::after { content: ""; width: 8px; height: 8px; background: var(--pink-2); box-shadow: 0 0 0 2px var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(76px, 10vw, 132px); overflow-x: clip; }
.sec-head { max-width: 680px; margin: 0 auto clamp(34px, 5vw, 58px); text-align: center; }
.sec-head--left { margin-inline: 0; text-align: left; }
.label {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font: 400 .95rem/1 var(--f-dot); letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.label .g { width: 8px; height: 14px; color: var(--pink); }
.sec h2 {
  margin: 0; font: 700 clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem)/1.06 var(--f-px); font-variant-ligatures: none;
  color: #fff; text-shadow: 4px 4px 0 var(--shade); text-wrap: balance;
}
.sec-head__sub { max-width: 52ch; margin: 16px auto 0; font: 600 1.075rem/1.6 var(--f-body); color: var(--muted); text-wrap: pretty; }
.sec-head--left .sec-head__sub { margin-left: 0; }

/* ---------- windows ---------- */
.win { position: relative; color: var(--ink); background: var(--cream); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--shade); }
.win__bar {
  display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px;
  font: 400 .95rem/1 var(--f-dot); letter-spacing: .08em; text-transform: uppercase;
  background: var(--pink); border-bottom: 3px solid var(--ink); box-shadow: inset 0 -3px 0 var(--pink-2);
}
.win--blue .win__bar { background: var(--blue); box-shadow: inset 0 -3px 0 var(--blue-2); }
.win__btns { display: flex; gap: 6px; }
.win__btns i { width: 15px; height: 15px; background: #fff; border: 2px solid var(--ink); }
.win__btns i:nth-child(2) { background: var(--blue); }
.win__btns i:nth-child(3) { background: var(--yellow); }
.win--blue .win__btns i:nth-child(2) { background: var(--pink); }
.win__title { font-size: 1rem; }
.win__meta { margin-left: auto; font-size: .85rem; }
.win__body { position: relative; padding: clamp(32px, 4vw, 48px) clamp(16px, 3vw, 36px) clamp(20px, 3vw, 36px); }
.paper {
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(118, 192, 248, .24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(254, 174, 206, .36) 1px, transparent 1px);
  background-size: 24px 24px;
}
/* spiral binding across the top of a window body: the "Binds" motif */
.spiral {
  position: absolute; left: 22px; right: 22px; top: -15px; height: 28px; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 10px, var(--silver) 10px 16px, transparent 16px) 0 3px / 30px 22px repeat-x,
    linear-gradient(90deg, transparent 7px, var(--ink) 7px 19px, transparent 19px) 0 0 / 30px 28px repeat-x;
}

/* ---------- products: inventory ---------- */
.inv__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.slot {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 16px 16px 14px; color: var(--ink); background: #fff; text-decoration: none;
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  transition: transform .15s steps(2), box-shadow .15s steps(2);
}
.slot:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.slot:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.slot:focus-visible { outline: 3px solid var(--blue-3); outline-offset: 5px; }
.slot__icon { display: grid; place-items: center; width: 80px; height: 80px; margin-bottom: 8px; background: #f4eefb; box-shadow: inset 0 0 0 3px #e2d8f1; }
.slot__icon .px { width: 64px; height: 64px; }
.slot:hover .slot__icon .px { animation: hop .45s steps(3); }
@keyframes hop { 50% { transform: translateY(-8px); } }
.slot__name { font: 400 1.3rem/1.2 var(--f-dot); }
.slot__desc { flex: 1; font: 600 .95rem/1.45 var(--f-body); color: var(--ink-2); }
.slot__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font: 400 .85rem/1 var(--f-dot); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-3); }
.slot__cta .g { width: 6px; height: 10px; }
.slot:hover .slot__cta { color: var(--pink-ink); }
@media (max-width: 1023px) { .inv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) {
  .inv__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .slot { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; align-items: start; padding: 12px; }
  .slot__icon { grid-row: 1 / span 3; width: 72px; height: 72px; margin: 0; }
  .slot__icon .px { width: 56px; height: 56px; }
  .slot__cta { margin-top: 4px; }
}

/* ---------- studio ---------- */
.studio__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.studio__view {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: clamp(20px, 3vw, 32px); color: #fff;
  background: radial-gradient(ellipse 85% 62% at 50% 36%, #2b3c9e, var(--night-2) 72%);
  border-right: 3px solid var(--ink);
}
.stage { position: relative; display: grid; justify-items: center; align-content: center; flex: 1; min-height: 320px; padding: 34px 0 10px; }
.stage__item { position: relative; z-index: 1; width: min(68%, 240px); aspect-ratio: 1; container-type: inline-size; animation: bob 2.6s steps(4) infinite alternate; }
.studio__px { display: none; width: 100%; height: 100%; shape-rendering: crispEdges; filter: drop-shadow(0 0 2px #4054c0) drop-shadow(0 0 16px rgba(118, 192, 248, .3)); }
.studio__px .m { fill: var(--m, #feaece); }
.studio__px .s { fill: var(--s, #f3779e); }
.stage[data-item="notebook"] .studio__px[data-item="notebook"],
.stage[data-item="planner"] .studio__px[data-item="planner"],
.stage[data-item="pen"] .studio__px[data-item="pen"],
.stage[data-item="keychain"] .studio__px[data-item="keychain"],
.stage[data-item="sticker"] .studio__px[data-item="sticker"],
.stage[data-item="print3d"] .studio__px[data-item="print3d"],
.stage[data-item="book"] .studio__px[data-item="book"],
.stage[data-item="gift"] .studio__px[data-item="gift"] { display: block; }
.stage__motif { position: absolute; right: -8%; top: -6%; width: 34%; height: 34%; shape-rendering: crispEdges; filter: drop-shadow(0 0 2px #4054c0); }
.stage[data-motif="none"] .stage__motif { display: none; }
.stage__label {
  position: absolute; left: 50%; bottom: 13%; max-width: 94%;
  padding: 4px 10px 5px; background: #fff; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transform: translateX(-50%) rotate(-3deg);
}
.stage__name { display: block; overflow: hidden; font: 400 clamp(13px, 9cqi, 22px)/1.2 var(--f-dot); color: var(--ink); white-space: nowrap; text-overflow: ellipsis; }
.stage__name.is-empty { color: #646c94; }
.stage__pedestal {
  position: relative; z-index: 0; width: min(64%, 230px); height: 26px; margin-top: 4px;
  background: #2b3a96; border: 3px solid var(--ink); box-shadow: inset 0 4px 0 #4053c0, 0 6px 0 var(--ink);
}
.stage__pedestal::after {
  content: ""; position: absolute; left: -16%; right: -16%; top: 100%; height: 30px; margin-top: 8px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(118, 192, 248, .45), rgba(118, 192, 248, 0));
}
.stage__pedestal::before {
  content: ""; position: absolute; left: 13%; right: 13%; top: -15px; height: 12px;
  background: #4053c0; border: 3px solid var(--ink); border-bottom: 0;
}
.stage__burst i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; background: var(--yellow); box-shadow: 0 0 0 2px var(--ink); opacity: 0; }
.stage__burst i:nth-child(2n) { background: var(--pink); }
.stage__burst i:nth-child(3n) { background: #fff; }
.stage__burst i:nth-child(1) { --x: -90px; --y: -60px; }
.stage__burst i:nth-child(2) { --x: 95px; --y: -70px; }
.stage__burst i:nth-child(3) { --x: -110px; --y: 30px; }
.stage__burst i:nth-child(4) { --x: 110px; --y: 40px; }
.stage__burst i:nth-child(5) { --x: -20px; --y: -110px; }
.stage__burst i:nth-child(6) { --x: 30px; --y: 105px; }
.stage.is-burst .stage__burst i { animation: burst .6s steps(5) forwards; }
@keyframes burst {
  0% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))); }
}
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--ink); }
.stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; padding: 11px 12px; border-bottom: 2px dashed rgba(255, 255, 255, .13); }
.stats div:nth-child(odd) { border-right: 2px dashed rgba(255, 255, 255, .13); }
.stats div:nth-last-child(-n+2) { border-bottom: 0; }
.stats dt { font: 400 .8rem/1.2 var(--f-dot); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.stats dd { min-width: 0; margin: 0; overflow: hidden; font: 400 1rem/1.2 var(--f-dot); color: #fff; text-align: right; white-space: nowrap; text-overflow: ellipsis; }

.studio__form { display: flex; flex-direction: column; gap: 22px; margin: 0; padding: clamp(20px, 3vw, 32px); --focus: var(--blue-3); }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label {
  display: flex; align-items: baseline; gap: 10px; width: 100%; margin: 0 0 10px; padding: 0;
  font: 400 .9rem/1.2 var(--f-dot); letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.field__value { margin-left: auto; font: 400 1rem/1 var(--f-dot); letter-spacing: 0; text-transform: none; color: var(--pink-ink); }
.select { position: relative; display: block; }
.select select {
  width: 100%; min-height: 48px; padding: 0 44px 0 14px; appearance: none; -webkit-appearance: none;
  font: 400 1.1rem/1.2 var(--f-dot); color: var(--ink); background: #fff;
  border: 3px solid var(--ink); border-radius: 0; box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
}
.select__arrow { position: absolute; right: 18px; top: 50%; width: 8px; height: 14px; margin-top: -7px; color: var(--ink); transform: rotate(90deg); pointer-events: none; }
.swatches, .chips { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch, .chip { position: relative; }
.swatch input, .chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch__chip { position: relative; display: block; width: 44px; height: 44px; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.swatch__chip[data-c="pink"] { background: #feaece; }
.swatch__chip[data-c="blue"] { background: #76c0f8; }
.swatch__chip[data-c="lavender"] { background: #cdb8ff; }
.swatch__chip[data-c="mint"] { background: #a8ead6; }
.swatch__chip[data-c="yellow"] { background: #fcdf76; }
.swatch__chip[data-c="peach"] { background: #ffc6a8; }
.swatch__chip[data-c="navy"] { background: #3446a8; }
.swatch__chip[data-c="white"] { background: #fff; }
.swatch input:checked + .swatch__chip { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ink); }
.swatch input:checked + .swatch__chip::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: #fff; box-shadow: 0 0 0 3px var(--ink);
}
.swatch input:focus-visible + .swatch__chip { outline: 3px solid var(--blue-3); outline-offset: 8px; }
.chip__box {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  font: 400 1.05rem/1 var(--f-dot); color: var(--ink); background: #fff;
  border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.chip__box .px { width: 22px; height: 22px; }
.chip input:checked + .chip__box { color: #fff; background: var(--ink); box-shadow: 3px 3px 0 var(--pink-2); }
.chip input:focus-visible + .chip__box { outline: 3px solid var(--blue-3); outline-offset: 4px; }
.field--row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 20px; }
.input {
  width: 100%; min-height: 48px; padding: 0 14px;
  font: 400 1.1rem/1.2 var(--f-dot); color: var(--ink); background: #fff;
  border: 3px solid var(--ink); border-radius: 0; box-shadow: 4px 4px 0 var(--ink);
}
.input::placeholder { color: #646c94; opacity: 1; }
.stepper { display: inline-flex; vertical-align: top; box-shadow: 4px 4px 0 var(--ink); }
.stepper button { display: grid; place-items: center; width: 46px; min-height: 48px; padding: 0; color: var(--ink); background: var(--blue); border: 3px solid var(--ink); cursor: pointer; }
.stepper button:hover { background: #9ad1fb; }
.stepper button:active { background: var(--blue-2); }
.stepper button .g { width: 15px; height: 15px; }
.stepper .input { width: 76px; text-align: center; border-left: 0; border-right: 0; box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
.stepper .input::-webkit-inner-spin-button, .stepper .input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.studio__actions { display: flex; flex-wrap: wrap; gap: 18px 22px; padding-top: 6px; }
.studio__status { min-height: 1.4em; margin: -6px 0 0; font: 700 .98rem/1.4 var(--f-body); color: #1b6e45; }
.studio__status.is-error { color: #b42318; }
.studio__text summary {
  display: inline-flex; align-items: center; min-height: 32px; cursor: pointer;
  font: 400 .85rem/1 var(--f-dot); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-3);
}
.studio__text pre {
  margin: 10px 0 0; padding: 14px; overflow-wrap: anywhere; white-space: pre-wrap;
  font: 600 .92rem/1.55 var(--f-body); color: var(--ink); background: #fff; border: 3px dashed rgba(10, 17, 57, .32);
}
@media (max-width: 899px) {
  .studio__body { grid-template-columns: minmax(0, 1fr); }
  .studio__view { border-right: 0; border-bottom: 3px solid var(--ink); }
  .stage { min-height: 260px; }
}
@media (max-width: 459px) { .field--row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 559px) {
  .btn { white-space: normal; text-align: center; }
  .studio__actions .btn { width: 100%; }
  .stats div { flex-direction: column; align-items: flex-start; gap: 3px; }
  .stats dd { max-width: 100%; text-align: left; white-space: normal; }
}

/* ---------- photobooth partner ---------- */
.booth { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.booth__art { position: relative; display: grid; place-items: center; padding: 48px 0 32px; }
.strip {
  position: relative; display: grid; gap: 12px; width: min(260px, 72vw); padding: 14px 14px 8px;
  background: #fff; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--shade); transform: rotate(-4deg);
}
.strip__frame { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f3ebf6; border: 3px solid var(--ink); }
.strip__frame img { position: absolute; max-width: none; height: auto; }
.strip__frame[data-crop="face"] img { width: 301%; left: -98.8%; top: -97.6%; }
.strip__frame[data-crop="note"] img { width: 232.7%; left: -54.5%; top: -103%; }
.strip__frame[data-crop="word"] img { width: 69.2%; left: 15.4%; top: 0; }
.strip__frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.strip__frame.has-px img { visibility: hidden; }
.strip__foot { display: block; padding: 2px 0 4px; text-align: center; font: 400 .7rem/1.4 var(--f-dot); letter-spacing: .1em; color: var(--ink); }
.strip__foot b { font-weight: 400; color: var(--pink-ink); }
.booth__cam { position: absolute; top: 4px; right: 6%; z-index: 2; width: 84px; height: 84px; transform: rotate(8deg); filter: drop-shadow(0 0 2px #3c4fb6) drop-shadow(0 0 14px rgba(254, 174, 206, .35)); }
.booth__cam .px { width: 100%; height: 100%; animation: bob 2.2s steps(4) infinite alternate; }
.booth__flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 70% 20%, #fff, rgba(255, 255, 255, 0) 55%); }
.booth__art.is-shot .booth__flash { animation: flash .5s steps(3); }
@keyframes flash { 30% { opacity: .95; } 100% { opacity: 0; } }
.ticks { display: grid; gap: 14px; margin: 0 0 34px; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: center; gap: 16px; font: 600 1.06rem/1.45 var(--f-body); }
.ticks .g { width: 22px; height: 17px; padding: 4px; box-sizing: content-box; color: var(--ink); background: var(--yellow); box-shadow: 0 0 0 3px var(--ink); }
.booth__ctas { display: flex; flex-wrap: wrap; gap: 18px 22px; }
.booth__ctas .btn--pink .g { width: 8px; height: 14px; }
@media (max-width: 899px) {
  .booth { grid-template-columns: minmax(0, 1fr); }
  .booth__art { order: 2; padding-top: 24px; }
}

/* ---------- how to order: quest ---------- */
.quest { position: relative; }
.quest__steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.quest__path {
  position: absolute; left: 12.5%; right: 12.5%; top: 33px; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(118, 192, 248, .45) 0 12px, transparent 12px 22px);
}
.quest__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: repeating-linear-gradient(90deg, var(--pink) 0 12px, transparent 12px 22px); }
.quest__hero { position: absolute; left: calc(var(--p, 0) * 100%); bottom: 14px; z-index: 2; width: 48px; height: 48px; margin-left: -24px; image-rendering: pixelated; filter: drop-shadow(3px 3px 0 var(--shade)); }
.quest__step { text-align: center; }
.qblock {
  position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px;
  font: 700 2rem/1 var(--f-px); color: var(--ink); background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: inset 4px 4px 0 #fff2b0, inset -4px -4px 0 var(--yellow-2), 6px 6px 0 var(--shade);
}
.qblock::before {
  content: ""; position: absolute; left: 6px; top: 6px; width: 4px; height: 4px; background: var(--ink);
  box-shadow: 50px 0 var(--ink), 0 50px var(--ink), 50px 50px var(--ink);
}
.qblock::after {
  content: ""; position: absolute; left: 50%; top: -6px; width: 6px; height: 6px; margin-left: -3px; opacity: 0;
  background: transparent; color: var(--pink);
  box-shadow:
    -6px 0, 6px 0, -12px 6px, -6px 6px, 0 6px, 6px 6px, 12px 6px,
    -12px 12px, -6px 12px, 0 12px, 6px 12px, 12px 12px, -6px 18px, 0 18px, 6px 18px, 0 24px;
}
.quest__step.is-lit .qblock { animation: bump .5s steps(4); background: #ffe98f; }
.quest__step.is-lit .qblock::after { animation: pop 1s steps(6) forwards; }
@keyframes bump { 40% { transform: translateY(-14px); } }
@keyframes pop { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-46px); } }
.quest__step h3 { margin: 0 0 6px; font: 400 1.4rem/1.2 var(--f-dot); color: #fff; }
.quest__step p { max-width: 24ch; margin: 0 auto; font: 600 1rem/1.5 var(--f-body); color: var(--muted); }
@media (max-width: 759px) {
  .quest__steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .quest__step { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; align-items: center; text-align: left; }
  .qblock { grid-row: 1 / span 2; margin: 0; }
  .quest__step h3 { align-self: end; }
  .quest__step p { align-self: start; max-width: none; margin: 0; }
  .quest__path { left: 33px; right: auto; top: 36px; bottom: 36px; width: 6px; height: auto; background: repeating-linear-gradient(180deg, rgba(118, 192, 248, .45) 0 12px, transparent 12px 22px); }
  .quest__fill { right: 0; bottom: auto; width: auto; height: calc(var(--p, 0) * 100%); background: repeating-linear-gradient(180deg, var(--pink) 0 12px, transparent 12px 22px); }
  .quest__hero { display: none; }
}
.also { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; margin-top: clamp(52px, 7vw, 84px); }
.also__label { margin: 0; font: 400 .9rem/1 var(--f-dot); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.also__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.also__list li { padding: 8px 14px; font: 600 .95rem/1.3 var(--f-body); color: #fff; background: var(--night-2); border: 3px solid #2d3a8c; }

/* ---------- contact: holo link (the video's hologram scene) ---------- */
.sec--holo { overflow: clip; padding-bottom: clamp(100px, 12vw, 164px); }
.holo__bokeh { position: absolute; inset: 0; pointer-events: none; }
.holo__bokeh i { position: absolute; width: var(--d, 260px); height: var(--d, 260px); border-radius: 50%; background: radial-gradient(circle, var(--c, rgba(254, 174, 206, .2)) 0%, transparent 68%); animation: drift 16s ease-in-out infinite alternate; }
.holo__bokeh i:nth-child(1) { left: -4%; top: 6%; --d: 340px; }
.holo__bokeh i:nth-child(2) { left: 28%; top: -6%; --d: 300px; --c: rgba(118, 192, 248, .16); animation-delay: -4s; }
.holo__bokeh i:nth-child(3) { right: 6%; top: 4%; --d: 360px; animation-delay: -9s; }
.holo__bokeh i:nth-child(4) { left: 8%; bottom: 8%; --d: 280px; --c: rgba(118, 192, 248, .16); animation-delay: -2s; }
.holo__bokeh i:nth-child(5) { right: 22%; bottom: 14%; --d: 240px; animation-delay: -12s; }
.holo__bokeh i:nth-child(6) { right: -6%; bottom: -4%; --d: 320px; --c: rgba(118, 192, 248, .16); animation-delay: -7s; }
@keyframes drift { to { transform: translate(30px, -24px); } }
.holo__floor {
  position: absolute; left: -30%; right: -30%; bottom: 0; height: 44%; pointer-events: none;
  background-image: linear-gradient(rgba(118, 192, 248, .3) 2px, transparent 2px), linear-gradient(90deg, rgba(118, 192, 248, .3) 2px, transparent 2px);
  background-size: 72px 72px;
  transform: perspective(320px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 88%); mask-image: linear-gradient(to top, #000 10%, transparent 88%);
  animation: floor 3.5s linear infinite;
}
@keyframes floor { to { background-position: 0 72px, 0 0; } }
.holo { position: relative; z-index: 1; }
.holo__hud { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: clamp(28px, 4vw, 52px); }
.hud {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px;
  font: 400 .8rem/1 var(--f-dot); letter-spacing: .18em; color: #a9e6ff;
  background: rgba(10, 17, 57, .55); border: 2px solid var(--holo);
  box-shadow: 0 0 12px rgba(111, 211, 255, .4), inset 0 0 10px rgba(111, 211, 255, .16);
}
.hud__dot { width: 8px; height: 8px; background: #ff6b8b; box-shadow: 0 0 8px #ff6b8b; animation: blink 1.4s steps(1) infinite; }
.holo__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(36px, 5vw, 76px); }
.holo__proj { position: relative; display: grid; justify-items: center; padding: 10px 0 44px; }
.holo__fig { position: relative; z-index: 1; width: min(100%, 360px); filter: drop-shadow(0 0 18px rgba(111, 211, 255, .5)); animation: float 4s ease-in-out infinite alternate; }
.holo__fig img { width: 100%; opacity: .92; filter: grayscale(1) sepia(1) hue-rotate(165deg) saturate(2.6) brightness(1.08) contrast(1.05); animation: flicker 5s steps(1) infinite; }
/* scanlines masked to the logo; only once revealed, so the mask image is not fetched at page load */
.holo__proj.is-in .holo__fig::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(10, 17, 57, .34) 0 2px, rgba(10, 17, 57, 0) 2px 5px);
  -webkit-mask: url("/images/brand/logo-sticker-512.webp") center / 100% 100% no-repeat;
  mask: url("/images/brand/logo-sticker-512.webp") center / 100% 100% no-repeat;
}
@keyframes flicker { 0%, 100% { opacity: .92; } 47% { opacity: .92; } 48% { opacity: .5; } 49% { opacity: .92; } 81% { opacity: .78; } 82% { opacity: .92; } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.holo__beam {
  position: absolute; left: 50%; bottom: 34px; width: 84%; height: 74%; pointer-events: none;
  background: linear-gradient(to top, rgba(111, 211, 255, .3), rgba(111, 211, 255, 0));
  clip-path: polygon(32% 100%, 68% 100%, 100% 0, 0 0); transform: translateX(-50%);
}
.holo__pad {
  position: absolute; left: 50%; bottom: 18px; width: 62%; height: 34px; border-radius: 50%; transform: translateX(-50%);
  background: rgba(111, 211, 255, .12); border: 2px solid var(--holo);
  box-shadow: 0 0 22px rgba(111, 211, 255, .65), inset 0 0 14px rgba(111, 211, 255, .45);
}
.wave { position: absolute; right: -2%; top: 42%; display: flex; align-items: center; gap: 4px; height: 56px; }
.wave i { width: 5px; height: 30%; background: var(--holo); box-shadow: 0 0 8px rgba(111, 211, 255, .8); animation: wave .9s steps(4) infinite alternate; }
.wave i:nth-child(3n) { animation-delay: -.3s; }
.wave i:nth-child(3n+1) { animation-delay: -.6s; }
.wave i:nth-child(4n) { animation-duration: .7s; }
.wave i:nth-child(5n) { animation-duration: 1.1s; }
@keyframes wave { from { height: 16%; } to { height: 100%; } }
.holo__ctas { display: flex; flex-wrap: wrap; gap: 18px 22px; }
.subtitle {
  margin: 34px 0 0; padding: 14px 18px; text-align: center;
  font: 800 1.05rem/1.35 var(--f-body); color: #e3f7ff; text-shadow: 0 0 10px rgba(111, 211, 255, .8);
  background: rgba(10, 17, 57, .55); border: 2px solid var(--holo);
  box-shadow: 0 0 14px rgba(111, 211, 255, .35), inset 0 0 12px rgba(111, 211, 255, .14);
}
.js:not(.rm) .subtitle:not(.is-typing):not(.is-typed) .subtitle__text { visibility: hidden; }
.subtitle.is-typing .ch { opacity: 0; }
.subtitle.is-typing .ch.on { opacity: 1; }
.holo__by { margin: 18px 0 0; font: 600 .95rem/1.5 var(--f-body); color: var(--muted); }
@media (max-width: 899px) {
  .holo__grid { grid-template-columns: minmax(0, 1fr); }
  .holo__proj { order: 2; width: 100%; max-width: 360px; margin-inline: auto; }
}

/* ---------- footer: the video's end card ---------- */
.end {
  position: relative; overflow: clip; color: var(--ink); border-top: 3px solid var(--ink);
  background: radial-gradient(ellipse 75% 70% at 50% 40%, #fbf2f8 0%, #f3ebf6 42%, #e2e5f2 72%, #c9cfe3 100%);
  --focus: var(--blue-3);
}
.end__in { display: flex; flex-direction: column; align-items: center; padding-block: clamp(64px, 9vw, 112px) clamp(36px, 5vw, 56px); text-align: center; }
.end__logo { position: relative; width: min(400px, 72vw); filter: drop-shadow(0 18px 22px rgba(10, 17, 57, .18)); }
.end__logo img { width: 100%; }
.end__logo canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.end__logo.has-px img { visibility: hidden; }
.end__tag { margin: 26px 0 0; padding-left: .38em; font: 900 clamp(1rem, .85rem + .8vw, 1.45rem)/1.3 var(--f-body); letter-spacing: .38em; text-transform: uppercase; color: #1c2a6b; }
.end .shine { color: #d93d78; background-image: linear-gradient(90deg, #d93d78, #1f6fd6); }
.end__social { display: flex; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.end__social a {
  display: grid; place-items: center; width: 52px; height: 52px;
  color: var(--ink); background: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s steps(2), box-shadow .12s steps(2);
}
.end__social a:hover { background: var(--pink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.end__social .g { width: 24px; height: 22px; }
.end__small { margin: 28px 0 0; font: 600 .95rem/1.5 var(--f-body); color: var(--ink-2); }
.end__small a { font-weight: 800; color: var(--blue-3); }

/* ---------- entrances (only with JS, never with reduced motion) ---------- */
.js:not(.rm) [data-reveal] { opacity: 0; translate: 0 18px; transition: opacity .55s var(--ease), translate .7s var(--ease); transition-delay: var(--d, 0s); }
.js:not(.rm) [data-reveal].is-in { opacity: 1; translate: none; }
/* windows draw top-down in 8 steps; the observer watches the unclipped wrapper (a fully clipped box never "intersects") */
.js:not(.rm) .reveal-win[data-reveal] { opacity: 1; translate: none; }
.js:not(.rm) .reveal-win > .win { clip-path: inset(-24px -24px 100% -24px); transition: clip-path .6s steps(8); }
.js:not(.rm) .reveal-win.is-in > .win { clip-path: inset(-24px); }
.js:not(.rm) .inv .slot { opacity: 0; scale: .7; }
.js:not(.rm) .is-in > .inv .slot { animation: pop-in .36s steps(4) both; animation-delay: calc(var(--i, 0) * 70ms + .45s); }
@keyframes pop-in { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
/* a slot reached by keyboard shows at once, even mid-animation */
.js:not(.rm) .inv .slot:focus-visible { opacity: 1; scale: 1; animation: none; }

/* pause looping animations in sections that are off screen */
.is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* konami easter egg */
.rain { position: fixed; inset: 0; z-index: 90; overflow: hidden; pointer-events: none; }
.rain i { position: absolute; top: -40px; left: var(--x); width: 28px; height: 24px; color: var(--c); animation: fall var(--t) linear var(--w) forwards; }
.rain .g { width: 100%; height: 100%; filter: drop-shadow(2px 2px 0 var(--ink)); }
@keyframes fall { to { transform: translateY(calc(100vh + 80px)) rotate(var(--r)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__title::after { animation: none; }
}
@media (max-width: 899px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 36px; padding-block: 28px 56px; }
  .hero__stage { order: -1; }
  .tw--2, .tw--4, .tw--5, .tw--8 { display: none; }
  .floater--a { left: -16px; top: -22px; }
  .menu { max-width: none; }
}
@media (max-width: 559px) {
  .monitor { padding: 10px 10px 0; box-shadow: inset 0 0 0 3px #2a3784, 8px 8px 0 var(--shade); }
  .monitor__brand { display: none; }
  .monitor__unmute { right: 10px; top: 14px; padding: 0 10px; font-size: .92rem; }
  .monitor__chin { min-height: 60px; }
  .floater { width: 44px; height: 44px; }
  .floater--a { left: -8px; top: -14px; }
  .floater--b { right: -6px; top: -12px; width: 40px; height: 40px; }
  .floater--c, .floater--d { display: none; }
  .ticker { font-size: .88rem; }
  .ticker__label { gap: 6px; padding-right: 14px; }
  .ticker__label b { margin-left: 6px; }
}
