/* ==========================================================================
   SUPER BANDIT ($SB) — comic-book superhero-heist one-pager
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --blue: #1552e0;
  --blue-600: #0f3fb8;
  --blue-800: #0a2878;
  --blue-900: #071a52;
  --sky: #cfe3ff;
  --red: #e3241b;
  --red-700: #b3140e;
  --gold: #ffc72c;
  --gold-600: #e9a800;
  --gold-100: #fff1c2;
  --paper: #fbf6ea;
  --paper-2: #f2e8d2;
  --manila: #ecd49b;
  --ink: #0d0f16;
  --ink-2: #1b1f2c;
  --white: #fff;

  --font-display: "Bangers", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font-body: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-type: "Courier Prime", "Courier New", ui-monospace, monospace;

  --header-h: 72px;
  --wrap: min(1200px, 100% - 2.5rem);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --focus: var(--ink);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
  body { overflow-x: clip; }
}

img,
svg { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; }

h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

section[id] { scroll-margin-top: calc(var(--header-h) - 2px); }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .75rem 1.1rem;
  font-weight: 800;
  background: var(--gold);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.icon--mask { width: 1.9em; height: .95em; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  --btn-shadow: var(--ink);
  --btn-offset: 5px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 50px;
  padding: .75em 1.35em;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--btn-offset) var(--btn-offset) 0 var(--btn-shadow);
  cursor: pointer;
  overflow: hidden;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: calc(var(--btn-offset) + 2px) calc(var(--btn-offset) + 2px) 0 var(--btn-shadow);
}

.btn:active {
  transform: translate(var(--btn-offset), var(--btn-offset));
  box-shadow: 0 0 0 var(--btn-shadow);
  transition-duration: .06s;
}

.btn--gold  { --btn-bg: var(--gold);  --btn-fg: var(--ink); }
.btn--red   { --btn-bg: var(--red);   --btn-fg: var(--white); }
.btn--blue  { --btn-bg: var(--blue);  --btn-fg: var(--white); }
.btn--ink   { --btn-bg: var(--ink);   --btn-fg: var(--white); }
.btn--paper { --btn-bg: var(--paper); --btn-fg: var(--ink); }

.btn--sm {
  --btn-offset: 3px;
  min-height: 42px;
  padding: .5em .95em;
  font-size: 1.1rem;
  border-width: 2.5px;
  border-radius: 10px;
}

.btn--lg {
  min-height: 58px;
  padding: .8em 1.5em;
  font-size: 1.45rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1rem;
}

/* Gold glint sweep */
.glint { position: relative; overflow: hidden; isolation: isolate; }
.glint::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -60%;
  width: 38%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .75), transparent);
  transform: skewX(-20deg);
  animation: glint 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glint {
  0%, 62% { left: -60%; }
  86%, 100% { left: 130%; }
}

/* ---------- Shared bits ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .3em .75em .3em .6em;
  font-family: var(--font-type);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
}

.status-pill__dot {
  width: .6em;
  height: .6em;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--ink);
  animation: blink 1.6s steps(2, jump-none) infinite;
}

.status-pill--red { background: var(--red); color: var(--white); }
.status-pill--red .status-pill__dot { background: var(--gold); }

@keyframes blink {
  50% { opacity: .25; }
}

.ticker-badge {
  display: inline-block;
  padding: .02em .38em .06em;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--ink);
  background: linear-gradient(180deg, #ffe07a, var(--gold) 55%, var(--gold-600));
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--red), 5px 5px 0 3px var(--ink);
  transform: rotate(-4deg);
}

.ticker-badge--sm {
  font-size: .8em;
  padding: .04em .3em;
  vertical-align: .1em;
  box-shadow: 3px 3px 0 var(--red), 3px 3px 0 2px var(--ink);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42em .85em;
  font-family: var(--font-type);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--ink);
  border-radius: 4px;
  transform: rotate(-1.5deg);
}

.kicker--gold { color: var(--ink); background: var(--gold); border: 2px solid var(--ink); }

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(6rem, 11vw, 9rem);
}

@supports (overflow: clip) {
  .section { overflow: clip; }
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title {
  margin: .35em 0 .15em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: .9;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--blue);
  text-shadow: 3px 3px 0 var(--ink), 6px 6px 0 var(--gold), 8px 8px 0 var(--ink);
}

.section-sub {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
}

.section-head--light { color: var(--white); }
.section-head--light .section-title {
  color: var(--white);
  text-shadow: 3px 3px 0 var(--ink), 6px 6px 0 var(--red), 8px 8px 0 var(--ink);
}

/* Torn-paper and comic zigzag transitions */
.tear {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  pointer-events: none;
}

.tear--torn {
  height: clamp(28px, 4vw, 48px);
  filter: drop-shadow(0 -4px 0 rgb(13 15 22 / .22));
}

.tear--torn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tear);
  clip-path: polygon(0 55%, 3% 38%, 6% 60%, 9% 42%, 12% 66%, 15% 35%, 19% 58%, 22% 44%, 26% 70%, 29% 40%, 33% 57%, 36% 34%, 40% 62%, 43% 45%, 47% 68%, 50% 38%, 54% 60%, 57% 36%, 61% 64%, 64% 42%, 68% 58%, 71% 33%, 75% 62%, 78% 46%, 82% 69%, 85% 39%, 89% 60%, 92% 43%, 96% 65%, 100% 45%, 100% 100%, 0 100%);
}

.tear--zig {
  height: 20px;
  background: conic-gradient(from 135deg at 50% 0, var(--tear) 90deg, transparent 0) 50% 100% / 40px 100% repeat-x;
}

/* ---------- Scroll reveal ---------- */
.evidence,
.step,
.idcard,
.quote,
.plan { transform: rotate(var(--r, 0deg)); }

.js .reveal {
  opacity: 0;
  transform: translateY(34px) rotate(var(--r, 0deg));
  transition: opacity .7s var(--ease-out) var(--d, 0s), transform .8s var(--ease-out) var(--d, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(var(--r, 0deg));
}

.draw {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease-out) .35s;
}

.is-visible .draw,
.casefile.is-visible .draw { stroke-dashoffset: 0; }

html:not(.js) .draw { stroke-dashoffset: 0; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(251 246 234 / .94);
  border-bottom: 3px solid var(--ink);
  transition: box-shadow .25s;
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgb(251 246 234 / .86);
    backdrop-filter: blur(10px) saturate(1.2);
  }
}

.site-header.is-scrolled { box-shadow: 0 6px 0 rgb(13 15 22 / .1); }

.header__inner {
  width: var(--wrap);
  height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
  border-radius: 10px;
  min-width: 0;
}

.brand__logo {
  width: 46px;
  height: 46px;
  flex: none;
  object-fit: cover;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--red);
  transition: transform .35s var(--ease-spring);
}

.brand:hover .brand__logo,
.brand:focus-visible .brand__logo { transform: rotate(-10deg) scale(1.06); }

.brand__name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: .04em;
  white-space: nowrap;
}

.brand__ticker {
  padding: .18em .55em .12em;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: .05em;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav__links {
  display: flex;
  gap: .15rem;
  padding: 0;
  list-style: none;
}

.nav__links a {
  position: relative;
  display: block;
  padding: .55em .8em;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: .8em;
  right: .8em;
  bottom: .3em;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}

.nav__links a:hover::after,
.nav__links a[aria-current="location"]::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  gap: .6rem;
}

.header__buy { display: none; }

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink);
  background: var(--gold);
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

.nav-toggle__bars {
  display: grid;
  gap: 5px;
  width: 22px;
}

.nav-toggle__bars span {
  display: block;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .2s;
}

.site-header.is-open .nav-toggle__bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.is-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  --focus: var(--gold);
  --mx: 0;
  --my: 0;
  --scroll: 0;
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(7rem, 12vw, 9.5rem);
  color: var(--white);
  background:
    radial-gradient(ellipse 55% 65% at 74% 46%, #4a86ff 0%, rgb(74 134 255 / 0) 62%),
    linear-gradient(158deg, var(--blue) 0%, var(--blue-600) 45%, var(--blue-800) 80%, var(--blue-900) 100%);
}

@supports (overflow: clip) {
  .hero { overflow: clip; }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(255 255 255 / .16) 1.2px, transparent 1.9px);
  background-size: 11px 11px;
  -webkit-mask-image: linear-gradient(118deg, #000 0%, transparent 52%);
  mask-image: linear-gradient(118deg, #000 0%, transparent 52%);
  pointer-events: none;
}

.hero__speed {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 0deg at 74% 46%, rgb(255 255 255 / .075) 0deg 1.6deg, transparent 1.6deg 8deg);
  -webkit-mask-image: radial-gradient(circle at 74% 46%, transparent 0 16%, #000 48%);
  mask-image: radial-gradient(circle at 74% 46%, transparent 0 16%, #000 48%);
  pointer-events: none;
}

.hero__cape {
  position: absolute;
  left: -6%;
  bottom: clamp(10px, 2vw, 26px);
  width: 112%;
  height: clamp(90px, 14vw, 190px);
  max-width: none;
  transform-origin: 50% 100%;
  animation: cape-flow 11s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__cape-back  { fill: var(--red-700); }
.hero__cape-front { fill: var(--red); }
.hero__cape-edge  { fill: none; stroke: var(--gold); stroke-width: 5; vector-effect: non-scaling-stroke; }

@keyframes cape-flow {
  0%   { transform: translateX(0) skewX(0) scaleY(1); }
  50%  { transform: translateX(-2.5%) skewX(-4deg) scaleY(1.08); }
  100% { transform: translateX(1.5%) skewX(3deg) scaleY(.94); }
}

.hero__grid {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas:
    "title stage"
    "body  stage";
  column-gap: clamp(1.5rem, 4vw, 4rem);
  min-height: min(calc(100svh - var(--header-h) - 10rem), 760px);
}

.hero__title-block { grid-area: title; align-self: end; }
.hero__body        { grid-area: body;  align-self: start; }
.hero__stage       { grid-area: stage; align-self: center; }

.case-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem .8rem;
}

.case-tag__file {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4em .8em;
  font-family: var(--font-type);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgb(7 26 82 / .7);
  border: 2px solid rgb(255 199 44 / .6);
  border-radius: 4px;
}

.hero__title {
  margin: .22em 0 .18em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.4rem, 11vw, 10rem);
  line-height: .84;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.hero__title span {
  display: block;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow:
    3px 3px 0 var(--ink),
    6px 6px 0 var(--red),
    9px 9px 0 var(--ink);
}

.hero__title-super { color: var(--white); }

.hero__title-bandit {
  color: var(--gold);
  padding-left: .18em;
}

.hero__hook {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.hero__hook span { display: block; }

.hero__hook-hl {
  width: fit-content;
  margin-top: .3em;
  padding: .12em .4em .16em;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1.5deg) skewX(-6deg);
}

.hero__support {
  margin: 1.4rem 0 1.8rem;
  max-width: 30em;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: rgb(255 255 255 / .92);
}

/* Contract address control */
.ca {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  margin-top: 1.6rem;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
}

.ca__label {
  display: grid;
  place-items: center;
  padding: 0 .8rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .08em;
  background: var(--gold);
  border-right: 3px solid var(--ink);
}

.ca__value {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: .7rem .8rem;
  font-family: var(--font-type);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  user-select: all;
}

.ca__copy {
  --focus: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  min-width: 6.2rem;
  min-height: 48px;
  padding: 0 .9rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .06em;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-left: 3px solid var(--ink);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.ca__copy:hover { background: var(--blue); }
.ca__copy:active { transform: translateY(1px); }
.ca__copy:focus-visible { outline-offset: -5px; }
.ca__copy.is-copied { background: var(--gold); color: var(--ink); }

.ca-note {
  margin-top: .8rem;
  font-size: .85rem;
  color: rgb(255 255 255 / .82);
}

.ca-note a { color: var(--gold); font-weight: 700; }

/* Hero stage: layered comic environment behind the character */
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 5;
  justify-self: center;
}

.stage__layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.stage__layer--panel {
  transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -8px + var(--scroll) * .05px), 0);
}

.stage__layer--burst {
  transform: translate3d(calc(var(--mx) * 16px), calc(var(--my) * 12px + var(--scroll) * .1px), 0);
}

.stage__layer--hero {
  z-index: 3;
  transform: translate3d(calc(var(--mx) * -6px), calc(var(--my) * -6px + var(--scroll) * -.06px), 0);
}

.stage__panel {
  position: absolute;
  inset: 9% 3% 8% 9%;
  background: var(--ink);
  clip-path: polygon(7% 0, 100% 4%, 94% 100%, 0 95%);
  filter: drop-shadow(10px 10px 0 rgb(7 26 82 / .7));
}

.stage__sky {
  position: absolute;
  inset: 5px;
  overflow: hidden;
  clip-path: polygon(7% 0, 100% 4%, 94% 100%, 0 95%);
  background:
    radial-gradient(circle, rgb(21 82 224 / .14) 1.2px, transparent 1.8px) 0 0 / 9px 9px,
    linear-gradient(180deg, #7fb4ff 0%, #bcd9ff 48%, #fff1c2 100%);
}

.stage__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  max-width: none;
}

.stage__beam {
  position: absolute;
  bottom: 12%;
  width: 34%;
  height: 110%;
  background: linear-gradient(to top, rgb(255 246 205 / .85), rgb(255 246 205 / 0) 78%);
  clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0);
  transform-origin: 50% 100%;
}

.stage__beam--a { left: 12%; animation: sweep 8s ease-in-out infinite alternate; }
.stage__beam--b { left: 52%; animation: sweep 9.5s ease-in-out -4s infinite alternate-reverse; }

@keyframes sweep {
  from { transform: rotate(-24deg); }
  to   { transform: rotate(20deg); }
}

.stage__burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background:
    radial-gradient(circle, #fff9e0 0 28%, rgb(255 241 194 / 0) 60%),
    repeating-conic-gradient(var(--gold) 0deg 10deg, #ffdf73 10deg 20deg);
  clip-path: polygon(50% 0, 57% 20%, 75% 7%, 71% 28%, 93% 25%, 80% 43%, 100% 50%, 80% 57%, 93% 75%, 71% 72%, 75% 93%, 57% 80%, 50% 100%, 43% 80%, 25% 93%, 29% 72%, 7% 75%, 20% 57%, 0 50%, 20% 43%, 7% 25%, 29% 28%, 25% 7%, 43% 20%);
  opacity: .92;
  animation: spin 60s linear infinite;
}

@keyframes spin {
  to { rotate: 360deg; }
}

.stage__trails {
  position: absolute;
  left: -6%;
  bottom: 6%;
  z-index: 2;
  width: 52%;
  height: 34%;
  background: repeating-linear-gradient(-28deg, transparent 0 16px, rgb(255 255 255 / .55) 16px 19px, transparent 19px 34px);
  -webkit-mask-image: linear-gradient(62deg, transparent 10%, #000 70%);
  mask-image: linear-gradient(62deg, transparent 10%, #000 70%);
  opacity: .7;
  pointer-events: none;
}

.stage__caption {
  position: absolute;
  top: 3%;
  left: 2%;
  z-index: 4;
  padding: .35em .7em .3em;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
}

.stage__sfx {
  position: absolute;
  right: 0;
  bottom: 4%;
  z-index: 4;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: .03em;
  color: var(--red);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--white), 5px 5px 0 var(--ink);
  transform: rotate(-9deg);
  animation: sfx-pop 3.2s var(--ease-spring) infinite;
}

@keyframes sfx-pop {
  0%, 70%, 100% { scale: 1; }
  80% { scale: 1.12; }
}

.stage__hero {
  position: absolute;
  inset: 3% 0 5%;
  width: 100%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgb(7 26 82 / .45));
  animation: fly 6s ease-in-out infinite;
  transform-origin: 50% 60%;
}

@keyframes fly {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-16px) rotate(1deg); }
}

/* ==========================================================================
   STORY — case file
   ========================================================================== */
.story {
  background:
    radial-gradient(circle, rgb(13 15 22 / .07) 1.1px, transparent 1.6px) 0 0 / 12px 12px,
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.casefile {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
  background:
    radial-gradient(circle, rgb(120 84 20 / .12) 1px, transparent 1.6px) 0 0 / 7px 7px,
    var(--manila);
  border: 3px solid var(--ink);
  border-radius: 6px 18px 18px 18px;
  box-shadow: 12px 12px 0 var(--ink);
}

.casefile__tab {
  position: absolute;
  top: -44px;
  left: -3px;
  padding: .6rem 1.4rem .8rem;
  font-family: var(--font-type);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .16em;
  background: var(--manila);
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.casefile__string {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.casefile__string path {
  stroke: var(--red);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.evidence {
  position: relative;
  z-index: 1;
}

.evidence--page {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem) 4.4rem clamp(2.2rem, 4vw, 3.4rem);
  background:
    linear-gradient(90deg, transparent 0 calc(clamp(1.3rem, 2.6vw, 2.2rem) - 1px), rgb(227 36 27 / .45) 0 calc(clamp(1.3rem, 2.6vw, 2.2rem) + 1px), transparent 0),
    repeating-linear-gradient(180deg, transparent 0 35px, rgb(21 82 224 / .13) 35px 36px),
    #fffdf6;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgb(13 15 22 / .85);
}

.evidence--p1    { --r: -1.6deg; grid-column: 1 / span 6; grid-row: 1; align-self: start; }
.evidence--photo { --r: 2deg;    grid-column: 7 / span 6; grid-row: 1; align-self: start; margin-top: 2.5rem; }
.evidence--p2    { --r: .9deg;   grid-column: 2 / span 7; grid-row: 2; }
.evidence--note  { --r: 4deg;    grid-column: 9 / span 4; grid-row: 2; align-self: center; }

.evidence__label {
  margin-bottom: 1rem;
  font-family: var(--font-type);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}

.evidence__text {
  font-weight: 800;
  font-size: clamp(1.3rem, 2.3vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -.01em;
}

.evidence__text strong {
  font-weight: 900;
  color: var(--blue);
}

.evidence mark {
  color: inherit;
  background: linear-gradient(transparent 58%, var(--gold) 58%, var(--gold) 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  transition: background-size .9s var(--ease-out) .5s;
}

.evidence.is-visible mark,
html:not(.js) .evidence mark { background-size: 100% 100%; }

.evidence--photo {
  padding: .8rem .8rem 1rem;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgb(13 15 22 / .85);
}

.evidence--photo img {
  width: 100%;
  aspect-ratio: 2172 / 724;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.evidence--photo figcaption {
  margin-top: .8rem;
  font-family: var(--font-type);
  font-size: .92rem;
  line-height: 1.4;
}

.evidence__tag {
  display: inline-block;
  margin-right: .4rem;
  padding: .1em .5em;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--ink);
}

.evidence--note {
  padding: 1.6rem 1.4rem 1.4rem;
  font-family: var(--font-type);
  font-size: 1.05rem;
  line-height: 1.4;
  background: linear-gradient(180deg, #ffe07a, var(--gold));
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgb(13 15 22 / .85);
}

.evidence--note strong {
  display: inline-block;
  margin-top: .4rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.05;
}

/* Tape, pins, clips, stamps */
.tape {
  position: absolute;
  z-index: 2;
  width: 108px;
  height: 30px;
  background: rgb(255 244 200 / .82);
  border-left: 2px dashed rgb(13 15 22 / .12);
  border-right: 2px dashed rgb(13 15 22 / .12);
  box-shadow: 0 2px 4px rgb(13 15 22 / .15);
}

.tape--l { top: -14px; left: -22px; transform: rotate(-32deg); }
.tape--r { top: -12px; right: -24px; transform: rotate(28deg); }
.tape--c { top: -16px; left: 50%; translate: -50% 0; transform: rotate(-4deg); }

.pin {
  position: absolute;
  top: -11px;
  left: 50%;
  z-index: 2;
  width: 24px;
  height: 24px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8a84, var(--red) 55%, var(--red-700));
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 0 rgb(13 15 22 / .5);
}

.pin--blue { background: radial-gradient(circle at 35% 35%, #8fb3ff, var(--blue) 55%, var(--blue-800)); }

.paperclip {
  position: absolute;
  top: -22px;
  left: 30px;
  width: 22px;
  height: 62px;
  border: 4px solid #7d8698;
  border-radius: 12px;
  transform: rotate(8deg);
}

.paperclip::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 3px;
  width: 8px;
  height: 36px;
  border: 4px solid #7d8698;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.stamp {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  padding: .18em .6em .12em;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--red);
  border: 3px solid currentColor;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / .6), inset 0 0 0 4px currentColor;
  opacity: .88;
  transform: rotate(-12deg);
  pointer-events: none;
}

.stamp--blue { color: var(--blue); }
.stamp--big { font-size: clamp(1.2rem, 2.2vw, 1.7rem); }

.js .reveal .stamp {
  opacity: 0;
  scale: 1.8;
  transition: opacity .25s ease-out .6s, scale .35s var(--ease-spring) .6s;
}

.js .reveal.is-visible .stamp { opacity: .88; scale: 1; }

/* ==========================================================================
   THE HEIST — blueprint steps
   ========================================================================== */
.heist {
  --focus: var(--gold);
  color: var(--white);
  background:
    linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(ellipse 70% 60% at 30% 20%, #0f3196 0%, transparent 70%),
    var(--blue-900);
}

.heist__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}

.heist__map path,
.heist__map circle {
  fill: none;
  stroke: rgb(255 199 44 / .28);
  stroke-width: 3;
  stroke-dasharray: 10 12;
}

.heist__map .heist__map-x {
  stroke: rgb(227 36 27 / .6);
  stroke-width: 8;
  stroke-dasharray: none;
  stroke-linecap: round;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}

.step {
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 6px;
}

.step--1 { --r: -1.2deg; box-shadow: 10px 10px 0 var(--blue); }
.step--2 { --r: 1deg;    box-shadow: 10px 10px 0 var(--red);  margin-top: 5rem; }
.step--3 { --r: -.6deg;  box-shadow: 10px 10px 0 var(--gold); margin-top: 10rem; }

.step__art {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 1rem 1.25rem .5rem;
  border-bottom: 3px solid var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  margin-bottom: -1.2rem;
}

.step__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 0deg at 50% 55%, rgb(255 255 255 / .12) 0deg 4deg, transparent 4deg 12deg);
}

.step__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(13 15 22 / .18) 1.2px, transparent 1.8px);
  background-size: 8px 8px;
  -webkit-mask-image: linear-gradient(200deg, transparent 30%, #000);
  mask-image: linear-gradient(200deg, transparent 30%, #000);
}

.step__art--blue { background: var(--blue); }
.step__art--red  { background: var(--red); }
.step__art--gold { background: var(--gold); }

.step__art svg {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 280px;
  transition: transform .4s var(--ease-spring);
}

.step:hover .step__art svg { transform: scale(1.05) rotate(-2deg); }

.step__body {
  position: relative;
  padding: 2.2rem 1.6rem 1.9rem;
}

.marker {
  position: absolute;
  top: -1.9rem;
  right: 1.4rem;
  z-index: 2;
  display: grid;
  place-items: end center;
  width: 56px;
  height: 52px;
  padding-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink);
  background: var(--ink);
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
}

.marker::before {
  content: "";
  position: absolute;
  inset: 3px 3.5px;
  z-index: -1;
  background: linear-gradient(180deg, #ffe07a, var(--gold));
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
}

.step__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.2vw, 2.9rem);
  line-height: .95;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.step__num {
  display: block;
  font-size: .6em;
  letter-spacing: .08em;
  color: var(--red);
}

.step__text {
  margin-top: .8rem;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.4;
}

.step__note {
  position: absolute;
  left: -.6rem;
  top: -1.1rem;
  z-index: 3;
  padding: .3em .7em .25em;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 4px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-5deg);
}

.step__note--circle {
  background: var(--gold);
  border-radius: 999px;
  transform: rotate(4deg);
}

.step__arrow {
  position: absolute;
  top: 34%;
  right: calc(-1 * clamp(2.5rem, 5vw, 4.5rem) - 6px);
  z-index: 2;
  width: calc(clamp(2.5rem, 5vw, 4.5rem) + 16px);
  overflow: visible;
}

.step__arrow path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step__arrow-head {
  opacity: 0;
  transition: opacity .3s ease-out 1.5s;
}

.is-visible .step__arrow-head,
html:not(.js) .step__arrow-head { opacity: 1; }

/* ==========================================================================
   DOSSIER
   ========================================================================== */
.dossier {
  --focus: var(--gold);
  color: var(--white);
  background:
    radial-gradient(circle, rgb(13 15 22 / .16) 1.3px, transparent 2px) 0 0 / 12px 12px,
    radial-gradient(ellipse 60% 70% at 20% 30%, #f5463d 0%, transparent 70%),
    var(--red);
}

.dossier__speed {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 0deg at 0% 50%, rgb(255 255 255 / .07) 0deg 1.2deg, transparent 1.2deg 5deg);
  pointer-events: none;
}

.dossier__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.idcard {
  --r: -1.2deg;
  position: relative;
  color: var(--ink);
  background:
    radial-gradient(circle, rgb(21 82 224 / .07) 1.1px, transparent 1.6px) 0 0 / 10px 10px,
    var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 12px 12px 0 var(--ink);
  overflow: hidden;
}

.idcard__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1.3rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  border-bottom: 3px solid var(--ink);
}

.idcard__bar span:last-child { color: var(--gold); }

.idcard__body {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
}

.idcard__photo {
  position: relative;
  padding: .7rem .7rem .4rem;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--gold), 6px 6px 0 3px var(--ink);
  transform: rotate(-3deg);
  transition: transform .4s var(--ease-spring);
}

.idcard__photo:hover { transform: rotate(2deg) scale(1.03); }

.idcard__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.idcard__photo figcaption {
  padding-top: .45rem;
  font-family: var(--font-type);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.idcard__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: .92;
  letter-spacing: .03em;
  color: var(--blue);
  text-shadow: 2px 2px 0 var(--ink), 4px 4px 0 var(--gold);
}

.idcard__fields {
  margin-top: 1.1rem;
  display: grid;
}

.idcard__fields > div {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 2px dotted rgb(13 15 22 / .35);
}

.idcard__fields dt {
  font-family: var(--font-type);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-700);
  padding-top: .2rem;
}

.idcard__fields dd {
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.3;
}

.idcard__strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem 1.3rem;
  font-family: var(--font-type);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  border-top: 3px solid var(--ink);
  background: var(--paper-2);
}

.idcard__barcode {
  flex: none;
  width: 110px;
  height: 28px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px);
}

.idcard .stamp {
  left: clamp(2rem, 4vw, 3.2rem);
  right: auto;
  bottom: 4.6rem;
  text-align: center;
  line-height: .95;
}

.quote {
  --r: 1.5deg;
  position: relative;
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 10px 10px 0 var(--ink);
}

.quote::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 38%;
  width: 46px;
  height: 40px;
  background: var(--ink);
  clip-path: polygon(0 60%, 100% 0, 100% 100%);
}

.quote::after {
  content: "";
  position: absolute;
  left: -25px;
  top: calc(38% + 7px);
  width: 36px;
  height: 26px;
  background: var(--white);
  clip-path: polygon(0 58%, 100% 0, 100% 100%);
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.3vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.quote__hl {
  color: var(--white);
  background: var(--blue);
  padding: 0 .18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.quote figcaption {
  margin-top: 1.2rem;
  font-family: var(--font-type);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--red-700);
}

/* ==========================================================================
   CHART
   ========================================================================== */
.chart {
  --focus: var(--gold);
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgb(21 82 224 / .35), transparent 70%),
    var(--ink);
}

.monitor {
  overflow: hidden;
  background: var(--ink-2);
  border: 3px solid var(--paper);
  border-radius: 18px;
  box-shadow: 12px 12px 0 var(--blue), 12px 12px 0 3px var(--paper);
}

.monitor__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1.1rem;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 3px solid var(--ink);
}

.monitor__dots { display: flex; gap: 6px; flex: none; }
.monitor__dots i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.monitor__dots i:nth-child(1) { background: var(--red); }
.monitor__dots i:nth-child(2) { background: var(--gold); }
.monitor__dots i:nth-child(3) { background: var(--blue); }

.monitor__url {
  flex: 1;
  min-width: 0;
  padding: .35rem .8rem;
  font-family: var(--font-type);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.monitor__screen {
  position: relative;
  aspect-ratio: 16 / 8;
  min-height: 440px;
}

.monitor__screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  text-align: center;
  background:
    repeating-linear-gradient(180deg, rgb(255 255 255 / .03) 0 2px, transparent 2px 4px),
    linear-gradient(rgb(79 134 255 / .12) 1px, transparent 1px) 0 0 / 100% 20%,
    linear-gradient(90deg, rgb(79 134 255 / .12) 1px, transparent 1px) 0 0 / 10% 100%,
    radial-gradient(ellipse at center, #0f1f55 0%, #070c22 80%);
}

.chart-placeholder__line {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 62%;
  height: 0;
  border-top: 3px dashed rgb(255 199 44 / .45);
}

.chart-placeholder__line::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgb(255 199 44 / .25), 0 0 18px var(--gold);
  animation: scan 7s ease-in-out infinite alternate;
}

@keyframes scan {
  to { left: calc(100% - 15px); }
}

.chart-placeholder__content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  display: grid;
  justify-items: center;
  gap: .9rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: rgb(7 12 34 / .78);
  border: 2px solid rgb(255 255 255 / .18);
  border-radius: 16px;
}

.chart-placeholder__mask {
  width: 72px;
  height: 36px;
  color: var(--gold);
}

.chart-placeholder__eyebrow {
  font-family: var(--font-type);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.chart-placeholder__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: .9;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--red), 5px 5px 0 var(--ink);
}

.chart-placeholder__text {
  color: rgb(255 255 255 / .85);
  font-weight: 600;
}

.chart-placeholder__content .btn { margin-top: .4rem; }

.chart-placeholder__rec {
  position: absolute;
  top: 1.2rem;
  left: 1.6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-type);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .8);
}

.chart-placeholder__rec::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.4s steps(2, jump-none) infinite;
}

.cctv {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 0 solid rgb(255 255 255 / .55);
}

.cctv--tl { top: .8rem;    left: .8rem;   border-top-width: 3px;    border-left-width: 3px; }
.cctv--tr { top: .8rem;    right: .8rem;  border-top-width: 3px;    border-right-width: 3px; }
.cctv--bl { bottom: .8rem; left: .8rem;   border-bottom-width: 3px; border-left-width: 3px; }
.cctv--br { bottom: .8rem; right: .8rem;  border-bottom-width: 3px; border-right-width: 3px; }

/* ==========================================================================
   GETAWAY PLAN
   ========================================================================== */
.getaway {
  background:
    radial-gradient(circle, rgb(13 15 22 / .12) 1.3px, transparent 2px) 0 0 / 12px 12px,
    radial-gradient(ellipse 50% 60% at 78% 50%, #fff1c2 0%, transparent 70%),
    var(--gold);
}

.getaway__speed {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 0deg at 78% 50%, rgb(13 15 22 / .07) 0deg 1.5deg, transparent 1.5deg 7deg);
  pointer-events: none;
}

.getaway__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.plan {
  --focus: var(--gold);
  --r: -1deg;
  position: relative;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--white);
  background:
    radial-gradient(circle, rgb(255 255 255 / .05) 1.2px, transparent 1.8px) 0 0 / 10px 10px,
    var(--ink);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 12px 12px 0 var(--red), 12px 12px 0 3px var(--ink);
  overflow: hidden;
}

.plan .btn { --btn-shadow: var(--red); }
.plan .btn--paper { --btn-shadow: var(--blue); }

.plan__tape {
  position: absolute;
  top: 18px;
  right: -46px;
  width: 200px;
  padding: .35rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink);
  background: repeating-linear-gradient(-45deg, var(--gold) 0 14px, #ffdd6b 14px 28px);
  border-block: 2px solid var(--ink);
  transform: rotate(35deg);
}

.plan__title {
  margin: .35em 0 .1em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 8.5vw, 7rem);
  line-height: .86;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--gold);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--red), 7px 7px 0 var(--blue);
}

.plan__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: .04em;
  line-height: 1;
}

.plan__ca { margin: 1.8rem 0 2rem; }

.plan__ca-label {
  font-family: var(--font-type);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.ca--lg { margin-top: .6rem; box-shadow: 5px 5px 0 var(--blue); border-color: var(--paper); }
.ca--lg .ca__value { font-size: .95rem; padding-inline: .9rem; }
.ca--lg .ca__label { border-right-color: var(--ink); }

.getaway__art {
  position: relative;
  aspect-ratio: 2 / 3;
  width: 100%;
  max-width: 420px;
  justify-self: center;
}

.getaway__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--white) 0 40%, rgb(255 255 255 / 0) 70%);
  border: 4px dashed rgb(13 15 22 / .35);
  animation: spin 40s linear infinite;
}

.getaway__art img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px rgb(13 15 22 / .3));
  animation: fly 5s ease-in-out -2s infinite;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  --focus: var(--gold);
  color: var(--white);
  background: var(--ink);
  padding: 3rem 0 3.5rem;
}

.footer__inner {
  display: grid;
  justify-items: center;
  gap: .8rem;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: .08em;
  color: var(--gold);
}

.footer__line {
  font-weight: 700;
  font-style: italic;
  color: rgb(255 255 255 / .85);
}

.footer__x {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .5rem 1rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid rgb(255 255 255 / .35);
  border-radius: 999px;
  transition: background-color .2s, border-color .2s, color .2s;
}

.footer__x:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.footer__fine {
  margin-top: .6rem;
  max-width: 36em;
  font-size: .8rem;
  color: rgb(255 255 255 / .6);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .ca {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
    max-width: 520px;
  }

  .ca__value { word-break: break-all; }

  .ca__copy {
    grid-column: 1 / -1;
    min-height: 52px;
    border-left: 0;
    border-top: 3px solid var(--ink);
  }

  .hero__body .btn--lg {
    min-height: 54px;
    padding: .7em 1.05em;
    font-size: 1.25rem;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
    max-width: 760px;
    margin-inline: auto;
  }

  .step,
  .step--2,
  .step--3 {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    width: 90%;
    margin-top: 0;
  }

  .step--2 { margin-left: auto; }

  .step__art {
    aspect-ratio: auto;
    min-height: 100%;
    border-bottom: 0;
    border-right: 3px solid var(--ink);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    margin: 0 -1.5rem 0 0;
  }

  .step__body {
    align-self: center;
    padding: 2.2rem 1.6rem 2rem 2.4rem;
  }

  .marker { top: -1.6rem; }

  .step__arrow { display: none; }

  .step + .step::before {
    content: "";
    position: absolute;
    top: -3.5rem;
    left: 50%;
    width: 0;
    height: 3.5rem;
    border-left: 4px dashed var(--gold);
    opacity: .7;
  }

  .dossier__grid { grid-template-columns: minmax(0, 1fr); }
  .quote { max-width: 760px; margin-left: 2.5rem; }
  .quote::before { left: 18%; top: -34px; width: 44px; height: 36px; clip-path: polygon(30% 0, 100% 100%, 0 100%); }
  .quote::after  { left: calc(18% + 8px); top: -22px; width: 30px; height: 25px; clip-path: polygon(30% 0, 100% 100%, 0 100%); }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }

  .nav-toggle { display: grid; }
  .header__buy { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    padding: 1.2rem 1.25rem 1.5rem;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
    box-shadow: 0 10px 0 rgb(13 15 22 / .12);
  }

  .site-header.is-open .nav { display: flex; }

  .nav__links { flex-direction: column; gap: .2rem; }
  .nav__links a { padding: .85em .6em; font-size: 1.05rem; }
  .nav__links a::after { left: .6em; right: auto; width: 3rem; }

  .nav__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav__actions .btn { min-height: 50px; font-size: 1.2rem; }

  .casefile { grid-template-columns: minmax(0, 1fr); }
  .evidence--p1,
  .evidence--photo,
  .evidence--p2,
  .evidence--note { grid-column: 1; grid-row: auto; margin-top: 0; }
  .evidence--note { justify-self: end; max-width: 320px; }
  .casefile__string { display: none; }

  .getaway__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); }
}

@media (max-width: 760px) {
  .hero { padding-top: 1.6rem; }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "stage"
      "body";
    min-height: 0;
    text-align: left;
  }

  .hero__title { font-size: clamp(3.7rem, 19vw, 6.5rem); }

  .hero__stage {
    max-width: 480px;
    margin: 1rem auto 0;
  }

  .stage__caption { top: 1%; }

  .hero__hook { margin-top: 1rem; }

  .hero__body .btn-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .btn--lg { min-height: 60px; width: 100%; }

  .step,
  .step--2,
  .step--3 {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin-left: 0;
  }

  .step__art {
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 3px solid var(--ink);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    margin: 0 0 -1.2rem;
  }

  .step__body { padding: 2.2rem 1.4rem 1.8rem; }

  .quote { margin-left: 0; }

  .getaway__grid { grid-template-columns: minmax(0, 1fr); }
  .getaway__art { order: -1; max-width: 260px; margin-bottom: -2rem; }
  .plan .btn-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .plan__tape { right: -58px; top: 14px; }
}

@media (max-width: 520px) {
  :root { --wrap: min(1200px, 100% - 1.75rem); }

  .brand__name { font-size: 1.3rem; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__ticker { display: none; }

  .case-tag__file { font-size: .72rem; letter-spacing: .1em; }

  .casefile { padding: 2.4rem 1rem 2rem; box-shadow: 7px 7px 0 var(--ink); }
  .casefile__tab { font-size: .72rem; padding-inline: 1rem; }

  .evidence--page { padding: 1.9rem 1.1rem 4rem 1.9rem; }
  .evidence--page .stamp { right: .8rem; bottom: .8rem; font-size: 1.1rem; }
  .evidence--note { justify-self: stretch; max-width: none; }

  .idcard__bar { font-size: 1.1rem; }
  .idcard__body { grid-template-columns: minmax(0, 1fr); }
  .idcard__photo { max-width: 300px; }
  .idcard .stamp { position: relative; display: block; width: fit-content; margin: 0 auto 1.4rem; left: auto; bottom: auto; }
  .idcard__fields > div { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .idcard__strip { font-size: .66rem; letter-spacing: .08em; }
  .idcard__barcode { width: 70px; }

  .monitor__bar { flex-wrap: wrap; gap: .6rem; }
  .monitor__url { order: 3; flex-basis: 100%; }
  .monitor__bar .status-pill { margin-left: auto; }
  .monitor__screen { aspect-ratio: auto; min-height: 480px; }

  .ca--lg .ca__value { font-size: .95rem; padding-inline: .8rem; }

  .section-title { text-shadow: 2px 2px 0 var(--ink), 4px 4px 0 var(--gold), 6px 6px 0 var(--ink); }
  .section-head--light .section-title { text-shadow: 2px 2px 0 var(--ink), 4px 4px 0 var(--red), 6px 6px 0 var(--ink); }
}

@media (hover: none) {
  .btn:hover { transform: none; box-shadow: var(--btn-offset) var(--btn-offset) 0 var(--btn-shadow); }
  .btn:active {
    transform: translate(var(--btn-offset), var(--btn-offset));
    box-shadow: 0 0 0 var(--btn-shadow);
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal { opacity: 1; transform: rotate(var(--r, 0deg)); }
  .js .reveal .stamp { opacity: .88; scale: 1; }
  .step__arrow-head { opacity: 1; }
  .draw { stroke-dashoffset: 0; }
  .evidence mark { background-size: 100% 100%; }
  .stage__layer { transform: none !important; }
}
