/* ============================================================
   PROJECT VICE — GTA V roleplay community site,
   styled after the GTA VI reveal site
   ============================================================ */

:root {
  --bg: #0a0a0f;
  --ink: #f7f2ee;
  --muted: rgba(247, 242, 238, 0.62);
  --pink: #ff5fa2;
  --orange: #ffa14f;
  --purple: #a06bff;
  --grad-sunset: linear-gradient(120deg, #ffa14f 0%, #ff5fa2 45%, #a06bff 100%);
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.9s var(--ease-out), visibility 0.9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { text-align: center; }
.loader__grand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  color: var(--muted);
  animation: loaderPulse 1.6s ease-in-out infinite;
}
.loader__v {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(90px, 18vw, 200px);
  line-height: 1;
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: loaderPulse 1.6s ease-in-out infinite;
}
@keyframes loaderPulse { 50% { opacity: 0.45; } }

/* ============ GRAIN ============ */
.grain {
  position: fixed; inset: -50%; z-index: 150;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.7s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 56px);
  transition: background 0.5s, backdrop-filter 0.5s, padding 0.5s;
}
.header.is-scrolled {
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px;
}
.header__logo {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 0.08em;
  color: var(--ink); text-decoration: none;
}
.header__logo span {
  margin-left: 6px;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.header__nav { display: flex; gap: clamp(16px, 3vw, 40px); }
.header__nav a {
  color: var(--muted); text-decoration: none;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  transition: color 0.3s;
}
.header__nav a:hover { color: var(--ink); }
.header__nav a.header__login {
  color: var(--ink);
  border: 1px solid rgba(255, 95, 162, 0.45);
  border-radius: 999px;
  padding: 8px 18px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.header__nav a.header__login:hover {
  background: linear-gradient(100deg, var(--orange), var(--pink) 55%, var(--purple));
  border-color: transparent;
  color: #16101d;
}
.header__actions { display: flex; align-items: center; gap: 18px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(245, 240, 234, 0.35);
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  transition: border-color 0.35s, background 0.35s, transform 0.35s;
}
.btn:hover { border-color: var(--pink); background: rgba(239, 121, 165, 0.12); transform: translateY(-1px); }
.btn__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-sunset);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 50% { transform: scale(1.6); opacity: 0.6; } }
.btn--big { padding: 18px 36px; font-size: 14px; }

/* ---- background music control ---- */
.sound { position: relative; }
.sound__btn {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(247, 242, 238, 0.3);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.35s, background 0.35s;
}
.sound__btn:hover {
  border-color: var(--pink);
  background: rgba(255, 95, 162, 0.1);
}
.sound__bars {
  display: flex; align-items: flex-end; gap: 3px;
  height: 16px;
}
.sound__bars i {
  width: 3px;
  border-radius: 2px;
  background: var(--grad-sunset);
  animation: eq 1.1s ease-in-out infinite;
  transform-origin: bottom;
}
.sound__bars i:nth-child(1) { height: 60%; animation-delay: 0s; }
.sound__bars i:nth-child(2) { height: 100%; animation-delay: 0.25s; }
.sound__bars i:nth-child(3) { height: 45%; animation-delay: 0.5s; }
.sound__bars i:nth-child(4) { height: 80%; animation-delay: 0.12s; }
@keyframes eq { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.3); } }
/* muted / not yet playing: bars freeze low and dim */
.sound.is-muted .sound__bars i {
  animation: none;
  transform: scaleY(0.3);
  opacity: 0.45;
}
.sound__pop {
  position: absolute;
  top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(23, 18, 30, 0.95), rgba(14, 12, 20, 0.96)) padding-box,
    linear-gradient(150deg, rgba(255, 95, 162, 0.4), rgba(160, 107, 255, 0.18)) border-box;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, transform 0.35s var(--ease-out), visibility 0.35s;
}
.sound:hover .sound__pop,
.sound__pop:hover,
.sound:focus-within .sound__pop {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sound__pop input[type="range"] {
  width: 120px;
  accent-color: var(--pink);
  cursor: pointer;
}

.header__burger {
  display: flex; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.header__burger span {
  width: 26px; height: 2px; background: var(--ink);
  transition: transform 0.4s var(--ease-out);
}
.header__burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ============ MENU ============ */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__links { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.menu__links a {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.15;
  color: var(--ink); text-decoration: none;
  text-transform: uppercase;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s;
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: 0.05s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.1s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.15s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.2s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.25s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: 0.3s; }
.menu__links a:hover {
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.menu__foot {
  position: absolute; bottom: 32px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}

/* ============ HERO ============ */
.hero { height: 240vh; position: relative; }
.hero__sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: -6%; will-change: transform; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 14s var(--ease-out) forwards;
}
.hero__bg video {
  width: 100%; height: 100%; object-fit: cover;
  background: var(--bg);
}
@keyframes heroZoom { from { transform: scale(1.18); } to { transform: scale(1); } }
.hero__tint {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255, 95, 162, 0.34) 0%, rgba(255, 161, 79, 0.16) 45%, rgba(93, 56, 189, 0.5) 100%);
  mix-blend-mode: overlay;
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,15,0.55) 0%, transparent 30%, transparent 55%, var(--bg) 100%);
}
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 62%, rgba(255, 95, 162, 0.3), transparent 70%),
    radial-gradient(40% 40% at 80% 20%, rgba(160, 107, 255, 0.22), transparent 70%);
  mix-blend-mode: screen;
}
.hero__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 0 20px;
  will-change: transform, opacity;
}
.hero__kicker {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.5em; text-indent: 0.5em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(64px, 13vw, 190px);
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
}
body.is-loaded .hero__title .line:nth-child(1) > span { transition-delay: 0.10s; transform: none; }
body.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: 0.22s; transform: none; }
body.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: 0.34s; transform: none; }
.hero__five {
  font-style: normal;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 30px rgba(255, 95, 162, 0.35));
}
.hero__tag {
  margin-top: 26px;
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 17px);
}
.hero__scrollcue {
  position: absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.4em; text-indent: 0.4em; text-transform: uppercase;
  color: var(--muted);
  transition: opacity 0.5s;
}
.hero__scrollcue span {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--ink));
  animation: cueDrop 1.8s var(--ease-out) infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ EXPANDING VIDEO (signature VI effect) ============ */
.expand { height: 300vh; position: relative; }
.expand__sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; place-items: center;
  overflow: hidden;
}
.expand__label {
  position: absolute; z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 110px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  pointer-events: none;
  will-change: transform, opacity;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.expand__label em {
  font-style: normal;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.expand__frame {
  width: 100vw; height: 100vh;
  will-change: transform, border-radius;
  overflow: hidden;
  transform: scale(0.32);
  border-radius: 28px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.video-embed { position: relative; width: 100%; height: 100%; background: #000; }
.video-embed__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 1;
  transition: opacity 1.2s;
}
.video-embed.is-playing .video-embed__poster { opacity: 0; }
.video-embed iframe {
  position: absolute; top: 50%; left: 50%;
  /* oversize so the 16:9 frame cover-fills any viewport */
  width: max(100vw, 178vh); height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* scroll-scrubbed local video: scrolling drives the timeline */
.expand--scrub { height: 420vh; }
.scrub-video {
  width: 100%; height: 100%;
  object-fit: cover;
  background: #000;
}
.scrub-hint {
  position: absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.4em; text-indent: 0.4em; text-transform: uppercase;
  color: var(--muted);
  transition: opacity 0.6s;
  pointer-events: none;
}

/* ============ SECTION TYPE ============ */
.eyebrow {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
}
.display {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 150px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.display--sm { font-size: clamp(40px, 6vw, 88px); }
.display .word { display: inline-block; overflow: hidden; vertical-align: top; }
.display .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.display.in-view .word > span { transform: none; }
.lede {
  max-width: 560px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  margin-top: 22px;
}

/* generic fade-up reveal */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }

/* clip-mask image reveal */
.reveal-mask {
  position: relative;
  overflow: hidden;
  clip-path: inset(12% 6% 12% 6%);
  transition: clip-path 1.2s var(--ease-out);
  will-change: transform;
}
.reveal-mask.in-view { clip-path: inset(0 0 0 0); }
.reveal-mask figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(247, 242, 238, 0.9);
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(247, 242, 238, 0.16);
  border-radius: 999px;
  transition: border-color 0.4s, background 0.4s;
}
.reveal-mask figcaption::before {
  content: "";
  flex: 0 0 auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-sunset);
}
.reveal-mask figcaption b {
  font-weight: 700;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reveal-mask:hover figcaption {
  border-color: rgba(255, 95, 162, 0.5);
  background: rgba(10, 10, 15, 0.75);
}

/* scroll-scrubbed video inside a masked tile */
.reveal-mask video.scrub-video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  background: var(--bg);
}

/* slow Ken Burns zoom while in view */
.kenburns { overflow: hidden; height: 100%; }
.kenburns img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15);
  transition: transform 8s linear;
}
.in-view .kenburns img { transform: scale(1); }

/* ============ PLACE SECTIONS ============ */
.place { padding: clamp(90px, 14vh, 180px) clamp(20px, 5vw, 72px); }
.place__intro { max-width: 900px; margin: 0 auto 8vh; text-align: center; }
.place__intro .lede { margin-left: auto; margin-right: auto; }

/* ---- Welcome to Los Santos: layered cinematic collage ---- */
#city { position: relative; }
#city::before,
#city::after {
  content: "";
  position: absolute;
  width: 46vw; height: 46vw;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
#city::before {
  left: -14vw; top: 24%;
  background: radial-gradient(circle, rgba(255, 95, 162, 0.16), transparent 65%);
}
#city::after {
  right: -14vw; bottom: 2%;
  background: radial-gradient(circle, rgba(160, 107, 255, 0.16), transparent 65%);
}
.bgword {
  position: absolute;
  right: -4vw; top: 30%;
  font-family: var(--font-display);
  font-size: clamp(120px, 17vw, 270px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 242, 238, 0.14);
  pointer-events: none;
  z-index: 0;
}
.bgword--left { right: auto; left: -3vw; top: 8%; }

/* ---- editorial showcase rows: scrubbing video + explanatory text ---- */
.showcase {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  gap: clamp(70px, 14vh, 160px);
  max-width: 1400px;
  margin: 0 auto;
}
.show {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
  perspective: 1200px;
}
.show .reveal-mask { clip-path: inset(14% 8% 14% 8% round 32px); }
.show .reveal-mask.in-view { clip-path: inset(0 0 0 0 round 20px); }
.show__media {
  position: relative;
  grid-column: 1 / 8;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.6s var(--ease-out), clip-path 1.2s var(--ease-out);
  will-change: transform, clip-path;
  transform-style: preserve-3d;
}
.show__media:hover {
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65), 0 0 70px rgba(255, 95, 162, 0.22);
}
.show__media .scrub-video { transition: transform 0.9s var(--ease-out); }
.show__media:hover .scrub-video { transform: scale(1.05); }
.show--flip .show__media { grid-column: 6 / 13; }
.show__text { grid-column: 8 / 13; position: relative; z-index: 1; }
.show--flip .show__text { grid-column: 1 / 6; grid-row: 1; }
.show__num {
  position: absolute;
  top: -0.62em; left: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(110px, 12vw, 190px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 242, 238, 0.14);
  pointer-events: none;
  z-index: -1;
}
.show__text .lede { font-size: clamp(14px, 1.3vw, 16px); margin-top: 18px; }
.show__tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.show__tags span {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  padding: 9px 16px;
  border: 1px solid rgba(247, 242, 238, 0.16);
  border-radius: 999px;
  transition: border-color 0.35s, color 0.35s;
}
.show__tags span:hover { border-color: rgba(255, 95, 162, 0.55); color: var(--ink); }
.show__line.reveal {
  display: block;
  height: 2px; width: min(240px, 60%);
  margin-top: 30px;
  background: var(--grad-sunset);
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) 0.25s;
}
.show__line.reveal.in-view { transform: scaleX(1); }
/* video placeholder slot — hidden automatically once a real clip loads over it */
.show__media .scrub-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: transparent;
  /* a failed/missing source paints black in Chrome — stay hidden until
     the engine confirms real frames (adds .is-ready on loadedmetadata) */
  opacity: 0;
  transition: opacity 0.6s;
}
.show__media .scrub-video.is-ready { opacity: 1; }
.show__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  background:
    repeating-linear-gradient(-45deg, rgba(247, 242, 238, 0.025) 0 2px, transparent 2px 16px),
    radial-gradient(60% 60% at 50% 38%, rgba(255, 95, 162, 0.09), transparent 70%),
    linear-gradient(160deg, #17121f, #0d0b13);
}
.show__ph-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 95, 162, 0.45);
  color: var(--pink);
  font-size: 18px;
  text-indent: 3px;
  background: rgba(255, 95, 162, 0.08);
  animation: dotPulse 2.4s ease-in-out infinite;
}
.show__ph-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
}
.show__ph b {
  font-family: Consolas, monospace;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink);
  background: rgba(247, 242, 238, 0.07);
  border: 1px solid rgba(247, 242, 238, 0.14);
  border-radius: 8px;
  padding: 5px 12px;
}

/* scrub progress bar: fills as the clip plays with your scroll */
.show__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--grad-sunset);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 3;
}
.place--glow {
  background:
    radial-gradient(70% 40% at 80% 0%, rgba(255, 95, 162, 0.1), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(160, 107, 255, 0.1), transparent 70%),
    var(--bg);
}

/* ============ JOB / BUSINESS CARDS ============ */
#jobs { position: relative; }
.jobstats {
  display: flex; justify-content: center;
  gap: clamp(28px, 5vw, 70px);
  margin-top: 38px;
}
.jobstats__item { text-align: center; }
.jobstats__item b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.jobstats__label {
  display: block;
  margin-top: 8px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}

.cards {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px);
  max-width: 1400px;
  margin: 0 auto;
}
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: clamp(20px, 2.4vw, 32px);
  /* gradient ring border + soft interior wash */
  background:
    linear-gradient(160deg, rgba(23, 18, 30, 0.92), rgba(14, 12, 20, 0.94)) padding-box,
    linear-gradient(150deg, rgba(255, 95, 162, 0.4), rgba(160, 107, 255, 0.18) 45%, rgba(247, 242, 238, 0.07)) border-box;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out),
              opacity 0.9s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 50px rgba(255, 95, 162, 0.14);
}
/* cursor spotlight — --mx/--my are set by JS as the pointer moves */
.card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 50%),
              rgba(255, 95, 162, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
/* hover ring */
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 95, 162, 0.55);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
/* staircase rhythm on desktop */
.cards .card:nth-child(even) { margin-top: 30px; }
.card__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  margin-bottom: 18px;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card p { font-size: 14px; color: var(--muted); }
.card__meta {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(247, 242, 238, 0.1);
}
.card__meta b {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.14em;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card__meta span {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}

/* ============ JOB REEL: pinned horizontal film strip ============ */
.jobreel { height: 400vh; position: relative; }
.jobreel__sticky {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  perspective: 1400px;
}
/* ---- work-site backdrop: blueprint grid, industrial skyline, work lights ---- */
.jobreel__bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(to bottom,
    var(--bg) 0%, #14101f 40%, #241631 66%, #2b1a2e 78%, var(--bg) 100%);
}
/* drafting-table grid, slowly panning like an unrolled site plan */
.jobreel__blueprint {
  position: absolute; inset: -60px;
  background-image:
    linear-gradient(rgba(247, 242, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 238, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 95, 162, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 95, 162, 0.05) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px, 280px 280px, 280px 280px;
  -webkit-mask-image: radial-gradient(85% 75% at 50% 45%, black, transparent 90%);
  mask-image: radial-gradient(85% 75% at 50% 45%, black, transparent 90%);
  animation: bpPan 40s linear infinite;
}
@keyframes bpPan { from { transform: translate(0, 0); } to { transform: translate(56px, 56px); } }
.jobreel__cloud {
  position: absolute;
  height: 70px;
  border-radius: 50%;
  filter: blur(34px);
  will-change: transform;
}
.jobreel__cloud--1 {
  left: 8vw; top: 22%;
  width: 36vw;
  background: rgba(255, 161, 79, 0.1);
  animation: cloudDrift 46s ease-in-out infinite alternate;
}
.jobreel__cloud--2 {
  right: 4vw; top: 34%;
  width: 30vw;
  background: rgba(200, 190, 220, 0.08);
  animation: cloudDrift 58s ease-in-out infinite alternate-reverse;
}
.jobreel__cloud--3 {
  left: 34vw; top: 12%;
  width: 26vw;
  background: rgba(255, 95, 162, 0.09);
  animation: cloudDrift 52s ease-in-out infinite alternate;
}
@keyframes cloudDrift { from { transform: translateX(0); } to { transform: translateX(6vw); } }
/* sodium work-light glow rising off the yard */
.jobreel__glowband {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background:
    radial-gradient(40% 60% at 30% 100%, rgba(255, 170, 80, 0.16), transparent 70%),
    radial-gradient(36% 55% at 85% 100%, rgba(255, 95, 162, 0.1), transparent 70%),
    linear-gradient(to top, rgba(255, 150, 70, 0.08), transparent 65%);
}
/* industrial skyline: warehouses, cranes, pylon */
.jobreel__skyline {
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 30%;
  color: #0b0714;
  filter: drop-shadow(0 -6px 30px rgba(0, 0, 0, 0.6));
}
.jobreel__skyline .lamp {
  fill: #ff4457;
  animation: lampBlink 2.2s steps(2, start) infinite;
}
.jobreel__skyline .lamp--slow { animation-duration: 3.4s; }
@keyframes lampBlink { 50% { fill-opacity: 0.15; } }
.jobreel__skyline .win { fill: #ffb45c; fill-opacity: 0.5; }
.jobreel__skyline .win--b {
  fill-opacity: 0.35;
  animation: winFlicker 7s ease-in-out 1.2s infinite;
}
.jobreel__skyline .win--c {
  fill-opacity: 0.6;
  animation: winFlicker 9s ease-in-out 3.6s infinite;
}
@keyframes winFlicker {
  0%, 100% { fill-opacity: 0.55; }
  46% { fill-opacity: 0.55; }
  50% { fill-opacity: 0.1; }
  54% { fill-opacity: 0.55; }
}

/* cinematic edge fades: tiles emerge from darkness */
.jobreel__sticky::before,
.jobreel__sticky::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 14vw;
  z-index: 4;
  pointer-events: none;
}
.jobreel__sticky::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.jobreel__sticky::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
/* giant backdrop word counter-drifting behind the strip */
.jobreel__word {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(110px, 15vw, 240px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 242, 238, 0.1);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
/* live HUD: reel counter + progress rail */
.jobreel__hud {
  position: absolute;
  left: 50%; bottom: clamp(30px, 6vh, 60px);
  transform: translateX(-50%);
  display: flex; align-items: center;
  gap: clamp(16px, 2vw, 26px);
  z-index: 5;
}
.jobreel__count {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--font-display);
}
.jobreel__count b {
  font-weight: 400;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.jobreel__count i {
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.jobreel__rail {
  position: relative;
  width: clamp(140px, 18vw, 260px);
  height: 3px;
  border-radius: 3px;
  background: rgba(247, 242, 238, 0.14);
  overflow: hidden;
}
.jobreel__rail span {
  position: absolute; inset: 0;
  background: var(--grad-sunset);
  transform: scaleX(0);
  transform-origin: left;
}
/* intro caption: swaps as each shift takes focus */
.jobreel__intro {
  position: absolute;
  top: clamp(30px, 5vh, 56px);
  left: 50%;
  transform: translateX(-50%);
  width: min(94vw, 980px);
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
/* soft dark plate so the type pops against the sun */
.jobreel__intro::before {
  content: "";
  position: absolute;
  inset: -46px -70px;
  background: radial-gradient(62% 85% at 50% 42%, rgba(8, 6, 14, 0.72), transparent 75%);
  filter: blur(12px);
  z-index: -1;
}
.jobreel__intro-eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.44em; text-indent: 0.44em; text-transform: uppercase;
  color: var(--pink);
  text-shadow: 0 0 18px rgba(255, 95, 162, 0.6);
  margin-bottom: 12px;
}
.jobreel__intro-eyebrow::before,
.jobreel__intro-eyebrow::after {
  content: "";
  width: clamp(30px, 4vw, 60px);
  height: 1px;
}
.jobreel__intro-eyebrow::before {
  background: linear-gradient(to left, rgba(255, 95, 162, 0.8), transparent);
}
.jobreel__intro-eyebrow::after {
  background: linear-gradient(to right, rgba(255, 95, 162, 0.8), transparent);
}
.jobreel__intro-title {
  overflow: hidden;
  padding-bottom: 0.08em;
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: var(--ink);
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.35),
    0 12px 44px rgba(0, 0, 0, 0.85),
    0 0 70px rgba(255, 95, 162, 0.35);
}
/* words cascade with a springy overshoot; JS sets per-word delays */
.jobreel__intro-title .w {
  display: inline-block;
  transform: translateY(0) rotate(0);
  transition: transform 0.62s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}
.jobreel__intro-desc {
  margin-top: 10px;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  color: rgba(247, 242, 238, 0.88);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
  transition: opacity 0.45s, transform 0.5s var(--ease-out);
  transition-delay: 0.16s;
}
/* outgoing: words dive up through the mask, desc lifts away */
.jobreel__intro.is-out .jobreel__intro-title .w {
  transition: transform 0.34s var(--ease-out);
  transform: translateY(-135%) rotate(4deg);
}
.jobreel__intro.is-out .jobreel__intro-desc {
  opacity: 0;
  transform: translateY(-16px);
  transition-delay: 0s;
}
/* prep (no transition): park the new words below, tilted, ready to spring in */
.jobreel__intro.is-prep .jobreel__intro-title .w {
  transition: none;
  transform: translateY(135%) rotate(-6deg);
}
.jobreel__intro.is-prep .jobreel__intro-desc {
  transition: none;
  opacity: 0;
  transform: translateY(20px);
}

.jobreel__track {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  gap: clamp(22px, 3vw, 48px);
  padding: 0 12vw;
  will-change: transform;
}
.jobreel__item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(380px, 44vw, 640px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  will-change: transform, filter, clip-path;
}
.jobreel__item .scrub-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: transparent;
  opacity: 0;
  transition: opacity 0.6s;
}
.jobreel__item .scrub-video.is-ready { opacity: 1; }
.jobreel__idx {
  position: absolute;
  right: -6px; bottom: -24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(80px, 8vw, 120px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 242, 238, 0.16);
  pointer-events: none;
  z-index: 2;
}
.jobreel .reveal-mask { clip-path: inset(10% 6% 10% 6% round 28px); }
.jobreel .reveal-mask.in-view { clip-path: inset(0 0 0 0 round 20px); }

/* ---- crime reel: the rap sheet runs sideways under police-light glow ---- */
.jobreel--crime { height: 760vh; }
.jobreel--crime .jobreel__sticky {
  background:
    radial-gradient(48% 42% at 12% 18%, rgba(255, 64, 96, 0.11), transparent 70%),
    radial-gradient(46% 40% at 88% 78%, rgba(84, 128, 255, 0.09), transparent 70%),
    linear-gradient(160deg, #140d1a 0%, #0e0913 60%, var(--bg) 100%);
}
.jobreel--crime .jobreel__item { width: clamp(340px, 38vw, 560px); }
.jobreel--crime .jobreel__intro-eyebrow {
  color: #ff4457;
  text-shadow: 0 0 18px rgba(255, 68, 87, 0.55);
}
.jobreel--crime .jobreel__intro-eyebrow::before {
  background: linear-gradient(to left, rgba(255, 68, 87, 0.8), transparent);
}
.jobreel--crime .jobreel__intro-eyebrow::after {
  background: linear-gradient(to right, rgba(255, 68, 87, 0.8), transparent);
}
.jobreel--crime .show__bar {
  background: linear-gradient(90deg, #ff4457, #ff5fa2, #a06bff);
}
.jobreel--crime .jobreel__count b {
  background: linear-gradient(120deg, #ff4457, #ff5fa2);
  -webkit-background-clip: text; background-clip: text;
}
.jobreel--crime .jobreel__rail span {
  background: linear-gradient(90deg, #ff4457, #ff5fa2, #a06bff);
}

/* ============ CRIME / AFTER DARK ============ */
.place--crime {
  position: relative;
  background:
    radial-gradient(55% 40% at 12% 8%, rgba(255, 64, 96, 0.11), transparent 70%),
    radial-gradient(50% 42% at 90% 85%, rgba(160, 107, 255, 0.11), transparent 70%),
    var(--bg);
}
/* ---- evidence board: the whole docket slides sideways while pinned ---- */
.caseboard {
  height: 950vh;
  position: relative;
  /* break out of the section's padding: true edge-to-edge board */
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.caseboard__sticky {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1.6px),
    radial-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1.4px),
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(160deg, #161019 0%, #100b15 55%, #0c0810 100%);
  background-size: 26px 26px, 43px 43px, 100% 100%, 100% 100%;
}
/* giant classified watermark behind everything */
.caseboard__confidential {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--font-display);
  font-size: clamp(120px, 16vw, 240px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 68, 87, 0.07);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}
/* pinned background props: sticky notes, photos, a map fragment */
.caseboard__props { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.bprop {
  position: absolute;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
.bprop::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a95, #b81a2c 60%, #6e0d18);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}
.bprop--note {
  width: 110px; padding: 14px 12px;
  background: linear-gradient(170deg, rgba(216, 190, 110, 0.16), rgba(190, 160, 85, 0.1));
  border: 1px solid rgba(230, 205, 130, 0.12);
  font-family: Consolas, monospace;
  font-size: 10px; line-height: 1.6;
  letter-spacing: 0.06em;
  color: rgba(238, 224, 180, 0.42);
  text-transform: uppercase;
}
.bprop--photo {
  width: 96px; height: 112px;
  background:
    linear-gradient(180deg, rgba(200, 205, 215, 0.1) 0 76%, transparent 76%),
    rgba(16, 13, 20, 0.9);
  border: 5px solid rgba(222, 226, 232, 0.1);
}
.bprop--map {
  width: 150px; height: 104px;
  background:
    linear-gradient(rgba(255, 95, 162, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 95, 162, 0.08) 1px, transparent 1px),
    rgba(20, 16, 26, 0.85);
  background-size: 22px 22px, 22px 22px, 100% 100%;
  border: 1px solid rgba(247, 242, 238, 0.1);
}
/* caution tape across the lower board */
.caseboard__tape {
  position: absolute;
  left: -4%; right: -4%;
  bottom: 9%;
  transform: rotate(-2.4deg);
  padding: 9px 0;
  background: rgba(226, 190, 64, 0.13);
  border-top: 1px solid rgba(226, 190, 64, 0.2);
  border-bottom: 1px solid rgba(226, 190, 64, 0.2);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  color: rgba(20, 16, 8, 0.75);
  -webkit-text-stroke: 0.5px rgba(238, 210, 110, 0.4);
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}
.caseboard__track {
  position: relative;
  display: flex; align-items: center;
  gap: clamp(30px, 4vw, 64px);
  padding: 0 12vw;
  will-change: transform;
  z-index: 1;
}
/* the red thread travels with the board */
.caseboard__thread {
  position: absolute;
  top: 0; left: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.caseboard__thread path {
  stroke: #ff4457;
  stroke-width: 2.5px;
  filter: drop-shadow(0 3px 7px rgba(255, 68, 87, 0.45));
}
.caseboard__track .case--reel {
  position: relative;
  left: auto; top: auto; right: auto; bottom: auto;
  flex: 0 0 auto;
  width: clamp(380px, 42vw, 640px);
  z-index: 1;
  /* depth of field: unfocused files sit dim and soft on the board */
  filter: brightness(0.42) saturate(0.6) blur(2px);
  transition: filter 0.65s var(--ease-out), transform 0.65s var(--ease-out),
              box-shadow 0.65s, clip-path 1.2s var(--ease-out);
}
/* the focused file lifts off the board, straightens, and faces you */
.caseboard__track .case--reel.is-active {
  filter: brightness(1) saturate(1) blur(0);
  transform: rotate(0deg) scale(1.1) translateY(-12px);
  box-shadow:
    0 46px 110px rgba(0, 0, 0, 0.78),
    0 0 70px rgba(255, 68, 87, 0.22);
  z-index: 4;
}
.case--reel.is-active .case__media { border-color: rgba(255, 68, 87, 0.4); }
.case--reel.is-active .case__label {
  color: var(--ink);
  background: #221420;
  border-color: rgba(255, 68, 87, 0.3);
}
.case--reel .case__pin { transition: transform 0.5s var(--ease-out), box-shadow 0.5s; }
.case--reel.is-active .case__pin {
  transform: scale(1.3);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.65), 0 0 18px rgba(255, 68, 87, 0.8);
}
/* zigzag rhythm along the board */
.caseboard__track .case--reel:nth-of-type(even) { margin-top: 12vh; }
.caseboard__track .case--reel:nth-of-type(odd) { margin-bottom: 7vh; }
.caseboard__unit {
  position: absolute;
  top: 26px; left: clamp(20px, 4vw, 56px);
  font-family: Consolas, monospace;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(247, 242, 238, 0.45);
  z-index: 6;
}
/* detective flashlight, JS-steered toward the active case */
.caseboard__light {
  position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--lx, 20%) var(--ly, 24%),
    rgba(255, 244, 216, 0.14), rgba(255, 244, 216, 0.05) 42%, transparent 72%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}
.caseboard__string {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 3;
  pointer-events: none;
}
.caseboard__string path {
  stroke: #ff4457;
  stroke-width: 2.5px;
  filter: drop-shadow(0 3px 7px rgba(255, 68, 87, 0.45));
}
.case {
  position: absolute;
  width: clamp(300px, 30vw, 480px);
  left: 5%; top: 10%;
  transform: rotate(var(--rot, 0deg));
  filter: brightness(0.5) saturate(0.7);
  transition: filter 0.6s, transform 0.6s var(--ease-out), box-shadow 0.6s;
  z-index: 1;
}
.case--r { left: auto; right: 5%; top: 42%; }
.case--b { left: 20%; top: auto; bottom: 6%; }
.case.is-active {
  filter: brightness(1) saturate(1);
  transform: rotate(var(--rot, 0deg)) scale(1.05);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.7);
  z-index: 4;
}
/* taped corners */
.case::before,
.case::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 72px; height: 22px;
  background: rgba(247, 242, 238, 0.13);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  z-index: 5;
}
.case::before { left: -20px; transform: rotate(-38deg); }
.case::after { right: -20px; transform: rotate(38deg); }
.case__pin {
  position: absolute;
  top: -7px; left: 50%;
  width: 14px; height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a95, #d61f33 55%, #7e0f1c);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.65);
  z-index: 6;
}
.case__label {
  font-family: Consolas, monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(247, 242, 238, 0.8);
  background: #191320;
  border: 1px solid rgba(247, 242, 238, 0.12);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  padding: 9px 14px;
}
.case__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 238, 0.12);
  border-radius: 0 0 10px 10px;
  background: #000;
}
.case__media .scrub-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s;
}
.case__media .scrub-video.is-ready { opacity: 1; }
/* rubber stamp slams in when the case goes active */
.case__stamp {
  position: absolute;
  top: 44%; left: 50%;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: 0.22em; text-indent: 0.22em; text-transform: uppercase;
  color: #ff4457;
  border: 3px double #ff4457;
  border-radius: 8px;
  padding: 8px 20px;
  transform: translate(-50%, -50%) rotate(-12deg) scale(2.6);
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 5;
}
.case.is-active .case__stamp {
  animation: stampSlam 0.42s cubic-bezier(0.2, 1.4, 0.4, 1) 0.3s forwards;
}
@keyframes stampSlam {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2.6); }
  55% { opacity: 1; }
  to { opacity: 0.92; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
}
/* typewriter case note */
.casenote {
  position: absolute;
  right: 4%; top: 8%;
  width: min(360px, 27vw);
  padding: 20px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(27, 21, 32, 0.96), rgba(18, 13, 23, 0.97)) padding-box,
    linear-gradient(150deg, rgba(255, 68, 87, 0.45), rgba(160, 107, 255, 0.16) 60%, rgba(247, 242, 238, 0.07)) border-box;
  font-family: Consolas, monospace;
  z-index: 6;
  transition: opacity 0.3s, transform 0.35s var(--ease-out);
}
.casenote.is-swap { opacity: 0; transform: translateY(-12px); }
.casenote__file {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px dashed rgba(247, 242, 238, 0.22);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.casenote__file b { color: #ff4457; }
.casenote__file i { font-style: normal; color: var(--muted); }
.casenote__body {
  font-size: 13px; line-height: 1.75;
  color: rgba(247, 242, 238, 0.82);
}
.casenote__tags {
  margin-top: 12px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--pink);
}

.crime__note {
  max-width: 640px;
  margin: clamp(60px, 10vh, 110px) auto 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 2;
  color: rgba(247, 242, 238, 0.45);
}

/* ============ EMERGENCY SERVICES ============ */
.svcs {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 14vh, 180px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(160, 107, 255, 0.12), transparent 70%),
    var(--bg);
}
/* ambient lightbar: soft blue + red pulses on opposite corners */
.svcs::before,
.svcs::after {
  content: "";
  position: absolute;
  width: 44vw; height: 44vw;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.svcs::before {
  left: -14vw; top: 8%;
  background: radial-gradient(circle, rgba(84, 128, 255, 0.14), transparent 65%);
  animation: svcPulse 5.5s ease-in-out infinite;
}
.svcs::after {
  right: -14vw; bottom: 4%;
  background: radial-gradient(circle, rgba(255, 64, 96, 0.13), transparent 65%);
  animation: svcPulse 5.5s ease-in-out 2.75s infinite;
}
@keyframes svcPulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.svcs .place__intro { position: relative; z-index: 1; max-width: 900px; margin: 0 auto 6vh; text-align: center; }
.svcs .place__intro .lede { margin-left: auto; margin-right: auto; }
.svcs__list { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.svc {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(26px, 4.5vh, 44px) clamp(10px, 2vw, 28px);
  border-top: 1px solid rgba(247, 242, 238, 0.12);
  transition: background 0.5s var(--ease-out);
}
.svc:hover { background: linear-gradient(90deg, rgba(255, 95, 162, 0.07), transparent 70%); }
.svc:last-child { border-bottom: 1px solid rgba(247, 242, 238, 0.12); }
/* rows slide in from alternating sides */
.svcs__list > .reveal:not(.in-view) { transform: translateX(-46px); }
.svcs__list > .reveal:nth-child(even):not(.in-view) { transform: translateX(46px); }
.svc__idx {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: 0.1em;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.svc__arrow {
  flex: 0 0 auto;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1;
  color: var(--pink);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}
.svc:hover .svc__arrow { opacity: 1; transform: none; }
.svc__text {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 8px clamp(24px, 4vw, 60px);
}
.svc__name {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(247, 242, 238, 0.8);
  transition: color 0.5s;
}
.svc:hover .svc__name {
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 2px transparent;
  color: transparent;
}
.svc__desc { max-width: 420px; font-size: 15px; color: var(--muted); }
.svc__tag {
  flex: 0 0 auto;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(255, 95, 162, 0.4);
  border-radius: 999px;
  padding: 10px 18px;
  white-space: nowrap;
}
/* ---- live dispatch feed: HUD video + CAD log ---- */
.feed {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(16px, 2.5vw, 34px);
  align-items: stretch;
  max-width: 1240px;
  margin: 9vh auto 0;
  perspective: 1200px;
}
.feed__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  will-change: transform, clip-path;
}
.feed__frame .scrub-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: transparent;
  opacity: 0;
  transition: opacity 0.6s;
}
.feed__frame .scrub-video.is-ready { opacity: 1; }
.feed__hud {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  font-family: Consolas, monospace;
}
.feed__corner {
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid rgba(247, 242, 238, 0.5);
}
.feed__corner--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.feed__corner--tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.feed__corner--bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.feed__corner--br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.feed__rec {
  position: absolute; top: 22px; left: 56px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.3em;
  color: #ff5464;
}
.feed__rec i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ff3b4e;
  box-shadow: 0 0 10px rgba(255, 59, 78, 0.9);
  animation: recBlink 1.1s steps(2, start) infinite;
}
@keyframes recBlink { 50% { opacity: 0; } }
.feed__cam {
  position: absolute; top: 24px; right: 56px;
  font-size: 11px; letter-spacing: 0.24em;
  color: rgba(247, 242, 238, 0.75);
}
.feed__time {
  position: absolute; bottom: 26px; right: 56px;
  font-size: 12px; letter-spacing: 0.2em;
  color: rgba(247, 242, 238, 0.85);
}
.feed__scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom,
    rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}
.feed__log {
  display: flex; flex-direction: column;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: clamp(20px, 2.2vw, 30px);
  background:
    linear-gradient(160deg, rgba(20, 16, 28, 0.92), rgba(12, 10, 18, 0.95)) padding-box,
    linear-gradient(150deg, rgba(84, 128, 255, 0.4), rgba(255, 64, 96, 0.3) 60%, rgba(247, 242, 238, 0.08)) border-box;
}
.feed__log-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(247, 242, 238, 0.1);
  margin-bottom: 8px;
}
.feed__live {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink);
}
.feed__live i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ff3b4e;
  box-shadow: 0 0 12px rgba(255, 59, 78, 0.9);
  animation: recBlink 1.1s steps(2, start) infinite;
}
.feed__freq {
  font-family: Consolas, monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--muted);
}
.feed__line {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(247, 242, 238, 0.07);
}
.feed__line:last-of-type { border-bottom: 0; }
.feed__stamp {
  font-family: Consolas, monospace;
  font-size: 11px;
  color: rgba(247, 242, 238, 0.5);
  padding-top: 2px;
}
.feed__unit {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(247, 242, 238, 0.25);
  color: var(--ink);
}
.feed__unit--pd { color: #7c9aff; border-color: rgba(124, 154, 255, 0.5); }
.feed__unit--ems { color: var(--pink); border-color: rgba(255, 95, 162, 0.5); }
.feed__unit--air { color: var(--purple); border-color: rgba(160, 107, 255, 0.5); }
.feed__unit--fire { color: var(--orange); border-color: rgba(255, 161, 79, 0.5); }
.feed__line p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.feed__cta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.feed__cta a {
  color: var(--pink);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 95, 162, 0.5);
  transition: color 0.3s;
}
.feed__cta a:hover { color: var(--ink); }

/* ============ BUSINESSES ============ */
#businesses { position: relative; }
.biz {
  position: relative; z-index: 1;
  perspective: 1200px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}
.biz__img {
  position: relative;
  grid-column: 1 / 7; grid-row: 1 / 3;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.6s var(--ease-out), clip-path 1.2s var(--ease-out);
  will-change: transform;
}
.biz__img:hover {
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65), 0 0 70px rgba(255, 95, 162, 0.2);
}
.biz__img .scrub-video { transition: opacity 0.6s, transform 0.9s var(--ease-out); }
.biz__img:hover .scrub-video { transform: scale(1.05); }
.biz .card:nth-of-type(1) { grid-column: 7 / 10; }
.biz .card:nth-of-type(2) { grid-column: 10 / 13; }
.biz .card:nth-of-type(3) { grid-column: 7 / 10; }
.biz .card:nth-of-type(4) { grid-column: 10 / 13; }
.biz__img--right { grid-column: 4 / 13; grid-row: auto; aspect-ratio: 21 / 9; margin-top: 4vh; }
.lede strong {
  font-weight: 700;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.place__intro--sub { margin: clamp(80px, 13vh, 150px) auto 5vh; }

/* glass stat bar */
.statbar {
  display: inline-flex;
  align-items: stretch;
  margin-top: 38px;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(23, 18, 30, 0.9), rgba(14, 12, 20, 0.92)) padding-box,
    linear-gradient(150deg, rgba(255, 95, 162, 0.4), rgba(160, 107, 255, 0.18) 55%, rgba(247, 242, 238, 0.07)) border-box;
}
.statbar__item {
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(18px, 2.4vw, 28px) clamp(22px, 3.4vw, 52px);
  text-align: center;
}
.statbar__item + .statbar__item { border-left: 1px solid rgba(247, 242, 238, 0.1); }
.statbar__item b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.statbar__item > span {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}

/* application steps — glass panel with circled milestones */
.steps {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 52px) clamp(16px, 2.5vw, 40px);
  border: 1px solid transparent;
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(23, 18, 30, 0.9), rgba(14, 12, 20, 0.92)) padding-box,
    linear-gradient(150deg, rgba(255, 95, 162, 0.35), rgba(160, 107, 255, 0.16) 55%, rgba(247, 242, 238, 0.07)) border-box;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 clamp(10px, 2vw, 30px);
}
.step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -16px; top: 28px;
  font-size: 24px;
  color: var(--pink);
  opacity: 0.7;
}
.step b {
  display: grid; place-items: center;
  width: 82px; height: 82px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 95, 162, 0.4);
  /* fill lives in the shadow so background-clip:text can't erase it */
  box-shadow: inset 0 0 0 100px rgba(255, 95, 162, 0.07);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h4 {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 14px 0 10px;
}
.step p { font-size: 14px; color: var(--muted); }

/* launch venue roster — bento grid, feature card fills the last row */
.venues {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 26px);
  max-width: 1200px;
  margin: 0 auto;
}
.venue {
  grid-column: span 2;
  display: flex; flex-direction: column;
  align-items: flex-start;
}
.venue__mono {
  position: absolute;
  right: -10px; bottom: -26px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(88px, 8vw, 124px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 242, 238, 0.09);
  pointer-events: none;
  z-index: 0 !important;
  transition: -webkit-text-stroke-color 0.5s;
}
.venue:hover .venue__mono { -webkit-text-stroke-color: rgba(255, 95, 162, 0.28); }
.venue__no {
  position: absolute;
  top: 18px; right: 20px;
  font-family: Consolas, monospace;
  font-size: 10px; letter-spacing: 0.2em;
  color: rgba(247, 242, 238, 0.4);
}
.venue h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-right: 44px;
}
.venue__meta {
  margin: 8px 0 0;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.venue__hook {
  margin: 12px 0 20px;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
}
.venue > .venue__status { margin-top: auto; }
.venue__status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(255, 95, 162, 0.45);
  border-radius: 999px;
  padding: 8px 14px;
}
.venue__status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-sunset);
  animation: dotPulse 2s ease-in-out infinite;
}
.venue__status--mgmt {
  color: var(--orange);
  border-color: rgba(255, 161, 79, 0.5);
}
.venue__note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.venue--special {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 36px);
  align-items: start;
  background:
    linear-gradient(160deg, rgba(30, 22, 16, 0.92), rgba(16, 12, 20, 0.94)) padding-box,
    linear-gradient(150deg, rgba(255, 161, 79, 0.55), rgba(160, 107, 255, 0.2) 55%, rgba(247, 242, 238, 0.07)) border-box;
}
.venue--special .venue__main { display: flex; flex-direction: column; align-items: flex-start; }
.venue--special .venue__main .venue__status { margin-top: 18px; }
.venue--special .venue__side .show__tags { margin-top: 16px; }
.venue--special:hover .venue__mono { -webkit-text-stroke-color: rgba(255, 161, 79, 0.3); }

/* ---- nightclub stage: neon sign, laser sweep, spotlight triptych ---- */
.bizstage {
  height: 380vh;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.bizstage__sticky {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3.5vh;
  background:
    radial-gradient(60% 50% at 50% 8%, rgba(255, 95, 162, 0.1), transparent 70%),
    linear-gradient(170deg, #130b19 0%, #0b0710 70%, var(--bg) 100%);
}
.bizstage__laser {
  position: absolute;
  top: -32%; left: -50vw;
  width: 200vw; height: 220vh;
  transform-origin: 50% 0;
  pointer-events: none;
  background: conic-gradient(from 0deg at 50% 0%,
    transparent 0deg, rgba(255, 95, 162, 0.055) 4deg, transparent 8deg,
    transparent 20deg, rgba(255, 95, 162, 0.04) 24deg, transparent 28deg);
  animation: laserSweep 11s ease-in-out infinite alternate;
}
.bizstage__laser--r {
  background: conic-gradient(from 0deg at 50% 0%,
    transparent 0deg, rgba(0, 229, 255, 0.05) 4deg, transparent 8deg,
    transparent 18deg, rgba(0, 229, 255, 0.035) 22deg, transparent 26deg);
  animation: laserSweepR 13s ease-in-out infinite alternate;
}
@keyframes laserSweep { from { transform: rotate(-20deg); } to { transform: rotate(16deg); } }
@keyframes laserSweepR { from { transform: rotate(18deg); } to { transform: rotate(-14deg); } }
.bizstage__glow {
  position: absolute;
  left: 50%; bottom: 4%;
  width: 64vw; height: 26vh;
  transform: translateX(-50%);
  background: radial-gradient(50% 60% at 50% 100%, rgba(255, 95, 162, 0.16), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.bizstage__head { position: relative; text-align: center; z-index: 2; padding: 0 20px; }
.bizstage__no {
  font-family: Consolas, monospace;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}
.bizstage__neon {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 108px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffdcec;
  text-shadow:
    0 0 6px rgba(255, 95, 162, 0.9),
    0 0 20px rgba(255, 95, 162, 0.7),
    0 0 48px rgba(255, 95, 162, 0.5),
    0 0 100px rgba(255, 45, 130, 0.42);
  animation: neonFlicker 5.4s infinite;
}
@keyframes neonFlicker {
  0%, 89%, 100% { opacity: 1; }
  90% { opacity: 0.5; }
  91% { opacity: 1; }
  95% { opacity: 0.72; }
  95.6% { opacity: 1; }
}
.bizstage__sub {
  max-width: 540px;
  margin: 12px auto 16px;
  font-size: clamp(13px, 1.3vw, 15px);
  color: var(--muted);
}
/* amenity cards: what an owner actually runs */
.bizstage__feats {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 16px);
  margin-top: 4px;
}
.bfeat {
  display: flex; flex-direction: column; align-items: center;
  gap: 5px;
  width: clamp(140px, 12vw, 172px);
  padding: 14px 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(26, 18, 32, 0.85), rgba(15, 11, 21, 0.9)) padding-box,
    linear-gradient(150deg, rgba(255, 95, 162, 0.4), rgba(160, 107, 255, 0.16) 60%, rgba(247, 242, 238, 0.06)) border-box;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, opacity 0.9s var(--ease-out);
}
.bfeat:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 34px rgba(255, 95, 162, 0.22);
}
.bfeat svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 95, 162, 0.45));
}
.bfeat b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}
.bfeat span {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
}
/* the ownership pitch: earn the keys, keep the keys */
.bizstage__apply {
  display: inline-flex; align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.bizstage__apply-pill {
  display: inline-flex; align-items: center; gap: 8px;
  flex: 0 0 auto;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(255, 95, 162, 0.5);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 0 22px rgba(255, 95, 162, 0.18);
}
.bizstage__apply-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-sunset);
  animation: dotPulse 2s ease-in-out infinite;
}
.bizstage__stage {
  position: relative;
  z-index: 2;
  width: min(94vw, 1280px);
  height: clamp(240px, 38vh, 400px);
  perspective: 1500px;
}
.bizstage__card {
  position: absolute;
  top: 0; left: 50%;
  width: clamp(320px, 40vw, 620px);
  aspect-ratio: 16 / 9;
  margin-left: calc(clamp(320px, 40vw, 620px) / -2);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 95, 162, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  transition: transform 0.85s var(--ease-out), filter 0.85s, border-color 0.85s;
  will-change: transform;
  /* dance-floor reflection */
  -webkit-box-reflect: below 14px linear-gradient(transparent 62%, rgba(255, 255, 255, 0.13));
}
.bizstage__card .scrub-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s;
}
.bizstage__card .scrub-video.is-ready { opacity: 1; }
.bizstage__card.is-center {
  transform: translateX(0) translateZ(0) rotateY(0);
  filter: brightness(1) saturate(1);
  border-color: rgba(255, 95, 162, 0.55);
  z-index: 3;
}
.bizstage__card.is-left {
  transform: translateX(-58%) translateZ(-240px) rotateY(28deg);
  filter: brightness(0.4) saturate(0.65);
  z-index: 1;
}
.bizstage__card.is-right {
  transform: translateX(58%) translateZ(-240px) rotateY(-28deg);
  filter: brightness(0.4) saturate(0.65);
  z-index: 1;
}
.bizstage__eq {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: 6px;
  height: 38px;
  opacity: 0.6;
  z-index: 2;
  pointer-events: none;
}
.bizstage__eq i {
  width: 5px; height: 100%;
  border-radius: 3px;
  background: linear-gradient(to top, var(--pink), var(--purple));
  transform-origin: bottom;
  animation: eqDance 0.9s ease-in-out infinite alternate;
}
.bizstage__eq i:nth-child(4n+1) { animation-duration: 0.7s; animation-delay: 0.1s; }
.bizstage__eq i:nth-child(4n+2) { animation-duration: 1.1s; animation-delay: 0.35s; }
.bizstage__eq i:nth-child(4n+3) { animation-duration: 0.8s; animation-delay: 0.55s; }
.bizstage__eq i:nth-child(5n) { animation-duration: 1.3s; animation-delay: 0.2s; }
@keyframes eqDance { from { transform: scaleY(0.12); } to { transform: scaleY(1); } }

/* ---- diner stage (restaurants): order rail, hanging tickets, warm light ---- */
.bizstage--diner { height: 560vh; }
.bizstage--diner .bizstage__sticky {
  background:
    radial-gradient(60% 50% at 50% 8%, rgba(255, 95, 162, 0.09), transparent 70%),
    linear-gradient(170deg, #170f1c 0%, #0f0a14 70%, var(--bg) 100%);
}
.bizstage__no--diner { color: var(--pink); }
.diner__sign {
  display: inline-block;
  padding: 10px 44px 14px;
  border: 2px solid rgba(255, 95, 162, 0.38);
  border-top-style: dotted; border-bottom-style: dotted;
  border-top-width: 7px; border-bottom-width: 7px;
  border-radius: 18px;
  background: rgba(22, 13, 23, 0.72);
  box-shadow: 0 0 40px rgba(255, 95, 162, 0.2), inset 0 0 30px rgba(160, 107, 255, 0.07);
  animation: signPulse 4.6s ease-in-out infinite;
}
@keyframes signPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(255, 95, 162, 0.2), inset 0 0 30px rgba(160, 107, 255, 0.07); }
  50% { box-shadow: 0 0 70px rgba(255, 95, 162, 0.34), inset 0 0 40px rgba(160, 107, 255, 0.12); }
}
.bizstage__neon--diner {
  color: #ffe6ef;
  text-shadow:
    0 0 6px rgba(255, 150, 130, 0.9),
    0 0 20px rgba(255, 95, 162, 0.7),
    0 0 48px rgba(255, 95, 162, 0.45),
    0 0 96px rgba(160, 107, 255, 0.4);
}
/* pendant light cones */
.diner__lamp {
  position: absolute;
  top: 0;
  width: 30vw; height: 62vh;
  background: linear-gradient(to bottom, rgba(255, 140, 190, 0.08), transparent 80%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0;
  pointer-events: none;
  animation: lampSway 8s ease-in-out infinite alternate;
}
.diner__lamp--l { left: 8%; }
.diner__lamp--r { right: 8%; animation-delay: 2.2s; animation-direction: alternate-reverse; }
@keyframes lampSway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
/* kitchen steam drifting up */
.diner__steam {
  position: absolute;
  bottom: 8%;
  width: 70px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 244, 0.06), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
  animation: steamRise 7s ease-in infinite;
}
.diner__steam--1 { left: 30%; }
.diner__steam--2 { left: 52%; animation-delay: 2.4s; }
.diner__steam--3 { left: 68%; animation-delay: 4.6s; }
@keyframes steamRise {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(-42vh) scale(1.5); opacity: 0; }
}
/* the order rail */
.bizstage__stage--rail { perspective: none; }
.diner__rail {
  position: absolute;
  top: 2px; left: 3%; right: 3%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(210, 214, 224, 0.28) 18%,
    rgba(210, 214, 224, 0.28) 82%, transparent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.bizstage--diner .bizstage__card {
  top: 34px;
  transform-origin: 50% -30px; /* pivot from the rail: cards hang and swing */
  -webkit-box-reflect: none;
  border-color: rgba(255, 95, 162, 0.28);
  overflow: visible;
}
.bizstage--diner .bizstage__card .scrub-video,
.bizstage--diner .bizstage__card .show__bar { border-radius: 0 0 13px 13px; }
.bizstage--diner .bizstage__card .scrub-video { border-radius: 13px; }
.bizstage--diner .bizstage__card.is-center {
  transform: translateX(0) rotate(0) scale(1);
  animation: ticketSway 5.5s ease-in-out infinite alternate;
  border-color: rgba(255, 95, 162, 0.55);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 60px rgba(255, 95, 162, 0.18);
}
@keyframes ticketSway { from { rotate: -0.5deg; } to { rotate: 0.5deg; } }
.bizstage--diner .bizstage__card.is-left {
  transform: translateX(-64%) rotate(-4.5deg) scale(0.84);
  filter: brightness(0.42) saturate(0.65);
}
.bizstage--diner .bizstage__card.is-right {
  transform: translateX(64%) rotate(4.5deg) scale(0.84);
  filter: brightness(0.42) saturate(0.65);
}
.bizstage--diner .bizstage__card.is-lfar {
  transform: translateX(-118%) rotate(-7deg) scale(0.7);
  filter: brightness(0.25) saturate(0.5);
  z-index: 0;
}
.bizstage--diner .bizstage__card.is-rfar {
  transform: translateX(118%) rotate(7deg) scale(0.7);
  filter: brightness(0.25) saturate(0.5);
  z-index: 0;
}
/* clothespins gripping the rail */
.diner__clip {
  position: absolute;
  top: -30px;
  width: 11px; height: 32px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(186, 178, 208, 0.5), rgba(104, 96, 128, 0.5));
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 3;
}
.diner__clip--l { left: 20%; }
.diner__clip--r { right: 20%; }
/* the paper order ticket header */
.diner__ticket {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 8px 14px;
  font-family: Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 224, 240, 0.85);
  background: rgba(26, 16, 27, 0.88);
  border-bottom: 1px dashed rgba(255, 95, 162, 0.32);
  border-radius: 13px 13px 0 0;
  z-index: 2;
}
/* diner checker strip along the floor */
.diner__checker {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30px;
  background: repeating-conic-gradient(rgba(247, 242, 238, 0.07) 0% 25%, transparent 0% 50%) 0 0 / 30px 30px;
  border-top: 1px solid rgba(247, 242, 238, 0.08);
  opacity: 0.7;
  pointer-events: none;
}
.bizstage--diner .show__bar {
  background: linear-gradient(90deg, #ffa14f, #ff7e58, #ff5fa2);
}

/* ---- garage stage (mechanics): steel plate, concrete bays, hydraulic lift ---- */
.bizstage--mech { height: 470vh; }
.bizstage--mech .bizstage__sticky {
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(255, 95, 162, 0.07), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1.5px),
    linear-gradient(175deg, #141018 0%, #0e0a13 65%, var(--bg) 100%);
  background-size: 100% 100%, 30px 30px, 100% 100%;
}
.bizstage__no--mech { color: var(--purple); }
/* concrete work floor with hazard chevrons and oil stains */
.mech__floor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 21vh;
  background:
    radial-gradient(160px 34px at 24% 40%, rgba(0, 0, 0, 0.5), transparent 75%),
    radial-gradient(220px 40px at 71% 66%, rgba(0, 0, 0, 0.42), transparent 75%),
    radial-gradient(120px 26px at 52% 24%, rgba(0, 0, 0, 0.36), transparent 75%),
    linear-gradient(to bottom, #1b1622 0%, #120e18 55%, var(--bg) 100%);
  z-index: 0;
}
.mech__floor::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 7px;
  background: repeating-linear-gradient(45deg,
    rgba(255, 95, 162, 0.28) 0 14px, rgba(14, 11, 18, 0.9) 14px 28px);
  opacity: 0.5;
}
/* brushed steel shop plate */
.mech__plate {
  position: relative;
  display: inline-block;
  padding: 14px clamp(30px, 4vw, 60px) 18px;
  border-radius: 10px;
  border: 1px solid rgba(210, 205, 226, 0.22);
  background:
    linear-gradient(100deg, #262330 0%, #3b3847 26%, #232028 52%, #363340 78%, #26232e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -2px 6px rgba(0, 0, 0, 0.5),
    0 18px 50px rgba(0, 0, 0, 0.55);
}
.mech__bolt {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d8d4e6, #8b8798 55%, #4e4a5c);
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.5);
}
.mech__bolt--tl { top: 7px; left: 8px; }
.mech__bolt--tr { top: 7px; right: 8px; }
.mech__bolt--bl { bottom: 7px; left: 8px; }
.mech__bolt--br { bottom: 7px; right: 8px; }
.bizstage__neon--mech {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  background: linear-gradient(180deg, #f4f2fa 20%, #b8b4c8 55%, #8d89a0 80%, #d8d4e6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  animation: none;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.55));
}
/* pink LED strip under the plate */
.mech__led {
  display: block;
  width: 62%;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: var(--grad-sunset);
  box-shadow: 0 0 16px rgba(255, 95, 162, 0.8), 0 0 40px rgba(255, 95, 162, 0.4);
  animation: ledPulse 3.4s ease-in-out infinite;
}
@keyframes ledPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(255, 95, 162, 0.8), 0 0 40px rgba(255, 95, 162, 0.4); opacity: 1; }
  50% { box-shadow: 0 0 26px rgba(255, 95, 162, 1), 0 0 60px rgba(160, 107, 255, 0.55); opacity: 0.85; }
}
/* the bays: four cards resting on the shop floor */
.bizstage__stage--bays {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(14px, 2vw, 30px);
  padding: 0 3vw 56px;
  position: relative;
  z-index: 1;
}
.mech__card {
  position: relative;
  top: auto; left: auto;
  margin-left: 0;
  -webkit-box-reflect: none;
  flex: 0 0 auto;
  width: clamp(230px, 22.5vw, 350px);
  aspect-ratio: 16 / 9;
  overflow: visible;
  border: 1px solid rgba(210, 205, 226, 0.16);
  border-radius: 12px;
  background: #0c0912;
  filter: brightness(0.5) saturate(0.7);
  transition:
    transform 0.75s cubic-bezier(0.3, 1.35, 0.45, 1),
    filter 0.6s var(--ease-out),
    border-color 0.6s, box-shadow 0.6s;
}
/* bays don't carousel — they hold their spot on the floor */
.mech__card.is-left,
.mech__card.is-right,
.mech__card.is-lfar,
.mech__card.is-rfar {
  transform: none;
  opacity: 1;
  filter: brightness(0.5) saturate(0.7);
}
.mech__card video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 11px;
  opacity: 0;
  transition: opacity 0.6s;
}
.mech__card video.is-ready { opacity: 1; }
.mech__card .show__bar { border-radius: 0 0 11px 11px; }
/* the hydraulic lift: focused bay rises on its posts, underglow kicks on */
.mech__card.is-center {
  transform: translateY(-52px);
  filter: brightness(1) saturate(1);
  border-color: rgba(255, 95, 162, 0.45);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7), 0 0 55px rgba(255, 95, 162, 0.14);
  z-index: 2;
}
.mech__post {
  position: absolute;
  top: 100%;
  width: 13px;
  height: 52px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #37343f 0%, #938fa2 45%, #4e4a5a 100%);
  box-shadow: inset 0 -6px 8px rgba(0, 0, 0, 0.5);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.75s cubic-bezier(0.3, 1.35, 0.45, 1);
}
.mech__post--l { left: 16%; }
.mech__post--r { right: 16%; }
.mech__card.is-center .mech__post { transform: scaleY(1); }
/* pink underglow beneath the lifted bay */
.mech__glow {
  position: absolute;
  left: 5%; right: 5%;
  bottom: -12px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 95, 162, 0.6), rgba(160, 107, 255, 0.25) 60%, transparent);
  filter: blur(9px);
  opacity: 0;
  transition: opacity 0.7s;
  pointer-events: none;
}
.mech__card.is-center .mech__glow { opacity: 1; }
.mech__baytag {
  position: absolute;
  top: -30px; left: 0;
  font-family: Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(238, 234, 248, 0.7);
  background: linear-gradient(100deg, #2a2733, #383542);
  border: 1px solid rgba(210, 205, 226, 0.18);
  border-radius: 6px;
  padding: 6px 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.mech__card.is-center .mech__baytag { opacity: 1; transform: none; }

/* market ticker */
.marquee--ticker {
  border: 0;
  padding: clamp(50px, 9vh, 90px) 0 0;
}
.marquee--ticker .marquee__track span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  -webkit-text-stroke: 0;
}
.marquee--ticker .marquee__track em {
  font-style: normal;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden;
  padding: clamp(30px, 6vh, 70px) 0;
  border-top: 1px solid rgba(245, 240, 234, 0.08);
  border-bottom: 1px solid rgba(245, 240, 234, 0.08);
}
.marquee__track {
  display: flex; white-space: nowrap;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 140px);
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 240, 234, 0.25);
  paint-order: stroke;
}

/* ============ CHARACTERS ============ */
.chars { position: relative; }
.chars__heading {
  text-align: center;
  padding: clamp(90px, 14vh, 180px) 20px clamp(60px, 10vh, 120px);
}
.char {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
}
.char__media { position: absolute; inset: 0; will-change: transform; }
.char__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.char__media video {
  width: 100%; height: 100%; object-fit: cover;
  background: var(--bg);
}
.char__dim {
  position: absolute; inset: 0;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
}
.char__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 10, 15, 0.92) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(10, 10, 15, 0.5) 0%, transparent 25%);
}
.char__name {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 17vw, 260px);
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(245, 240, 234, 0.85);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
  will-change: transform;
}
.char__info {
  position: absolute; left: clamp(20px, 6vw, 90px); bottom: clamp(40px, 9vh, 90px);
  max-width: 560px;
  will-change: transform, opacity;
}
.char__quote {
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.35;
  font-style: italic;
}
.char__bio { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* ============ GALLERY STRIP ============ */
.strip { overflow: hidden; padding: clamp(40px, 8vh, 100px) 0; }
.strip__track {
  display: flex; gap: clamp(14px, 2vw, 28px);
  will-change: transform;
  padding-left: 4vw;
}
.strip__track figure {
  flex: 0 0 auto;
  width: clamp(260px, 30vw, 460px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
}
.strip__track img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.strip__track figure:hover img { transform: scale(1.06); }

/* ============ FOOTER ============ */
.footer {
  position: relative;
  padding: clamp(120px, 20vh, 240px) 20px clamp(60px, 8vh, 100px);
  text-align: center;
  overflow: hidden;
}
.footer__bg { position: absolute; inset: -8%; z-index: 0; }
.footer__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.1);
}
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(10, 10, 15, 0.35) 50%, var(--bg) 100%);
}
.footer__inner { position: relative; z-index: 2; }
.footer__platforms {
  margin: 20px 0 34px;
  font-size: 14px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
}
.footer__cta {
  display: flex; justify-content: center; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.btn--solid {
  background: var(--grad-sunset);
  border-color: transparent;
  color: #16060f;
  font-weight: 700;
  text-decoration: none;
}
.btn--solid:hover { background: var(--grad-sunset); filter: brightness(1.12); }
.footer__connect {
  margin-top: 30px;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.footer__connect code {
  font-family: Consolas, monospace;
  text-transform: none; letter-spacing: 0;
  color: var(--ink);
  background: rgba(247, 242, 238, 0.08);
  border: 1px solid rgba(247, 242, 238, 0.15);
  border-radius: 8px;
  padding: 6px 12px;
}
.footer__legal {
  margin-top: 70px;
  max-width: 640px; margin-left: auto; margin-right: auto;
  font-size: 12px; line-height: 1.8;
  color: rgba(245, 240, 234, 0.4);
}

/* ============ MODAL ============ */
.modal {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(5, 5, 8, 0.96);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__frame {
  width: min(92vw, 1280px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.8);
  transform: scale(0.94);
  transition: transform 0.5s var(--ease-out);
}
.modal.is-open .modal__frame { transform: scale(1); }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
/* trailer placeholder until the real cut drops */
.modal__soon {
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(60% 55% at 50% 20%, rgba(255, 95, 162, 0.14), transparent 70%),
    radial-gradient(50% 45% at 80% 90%, rgba(160, 107, 255, 0.12), transparent 70%),
    #0b0812;
  border: 1px solid rgba(255, 95, 162, 0.22);
  border-radius: 10px;
}
.modal__soon-eyebrow {
  font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--pink);
}
.modal__soon-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.95;
  text-transform: uppercase;
  background: linear-gradient(100deg, #f7f2ee 20%, var(--pink) 55%, var(--purple) 85%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.modal__soon-sub { color: var(--muted); font-size: 15px; }
/* ---------- portal: citizen ID card + tabs ---------- */
.portal__id {
  position: relative;
  display: flex; align-items: center; gap: 20px;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 26px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(23, 18, 30, 0.94), rgba(14, 12, 20, 0.96)) padding-box,
    linear-gradient(120deg, rgba(255, 161, 79, 0.5), rgba(255, 95, 162, 0.45) 45%, rgba(160, 107, 255, 0.35)) border-box;
}
.portal__id::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 90% at 88% 10%, rgba(255, 95, 162, 0.12), transparent 70%);
  pointer-events: none;
}
.portal__avatar {
  width: 72px; height: 72px;
  border-radius: 18px;
  border: 2px solid rgba(255, 95, 162, 0.4);
}
.portal__welcome {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 4px;
}
.portal__username {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.portal__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.portal__chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(247, 242, 238, 0.14);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(10, 8, 15, 0.55);
}
.portal__dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.portal__seal {
  position: absolute; right: clamp(16px, 3vw, 34px); top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 95, 162, 0.25);
  pointer-events: none;
}
.portal__tabs {
  display: flex; gap: 6px;
  border: 1px solid rgba(247, 242, 238, 0.12);
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 30px;
  background: rgba(14, 12, 20, 0.8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.portal__tabbtn {
  flex: 1 1 auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  background: none; border: 0; cursor: pointer;
  border-radius: 999px;
  padding: 12px 20px;
  white-space: nowrap;
  transition: color 0.25s, background 0.25s;
}
.portal__tabbtn:hover { color: var(--ink); }
.portal__tabbtn.is-on {
  color: #16101d;
  background: linear-gradient(100deg, var(--orange), var(--pink) 55%, var(--purple));
}
.portal__badge {
  font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  padding: 0 5px;
  background: rgba(247, 242, 238, 0.16);
  color: var(--ink);
}
.portal__tabbtn.is-on .portal__badge { background: rgba(22, 16, 29, 0.3); color: #16101d; }
.portal__badge--hot { background: #ff4457; color: #fff; }
.portal__lede { color: var(--muted); margin-bottom: 24px; max-width: 560px; }
.portal__empty {
  color: var(--muted);
  border: 1px dashed rgba(247, 242, 238, 0.2);
  border-radius: 14px;
  padding: 34px;
  text-align: center;
}
.portal__subsection { margin-bottom: 30px; }
.portal__subsection .eyebrow { margin-bottom: 12px; }

/* ---------- crew (gang) panel + invite mailbox ---------- */
.gang__card {
  border: 1px solid transparent;
  border-radius: 18px;
  padding: clamp(20px, 2.4vw, 30px);
  background:
    linear-gradient(160deg, rgba(23, 18, 30, 0.92), rgba(14, 12, 20, 0.94)) padding-box,
    linear-gradient(150deg, rgba(255, 95, 162, 0.4), rgba(160, 107, 255, 0.18) 55%, rgba(247, 242, 238, 0.07)) border-box;
}
.gang__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.gang__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gang__count {
  font-family: Consolas, monospace;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(247, 242, 238, 0.16);
  border-radius: 999px;
  padding: 7px 14px;
}
.gang__count--ready {
  color: #7dffa9;
  border-color: rgba(125, 255, 169, 0.4);
}
.gang__roster { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.gang__member {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(247, 242, 238, 0.14);
  border-radius: 999px;
  background: rgba(10, 8, 15, 0.6);
  font-size: 14px;
}
.gang__member--pending { border-style: dashed; color: var(--muted); }
.gang__avatar { width: 22px; height: 22px; border-radius: 50%; }
.gang__tag {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pink);
}
.gang__kick {
  background: none; border: 0; cursor: pointer;
  color: var(--muted); font-size: 16px; line-height: 1;
  padding: 0 2px;
  transition: color 0.25s;
}
.gang__kick:hover { color: #ff4457; }
.gang__form { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.gang__input {
  flex: 1 1 220px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: rgba(10, 8, 15, 0.7);
  border: 1px solid rgba(247, 242, 238, 0.16);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.gang__input:focus {
  border-color: rgba(255, 95, 162, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 95, 162, 0.12);
}
.gang__hint { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 10px; }
.gang__leave { margin-top: 16px; }
/* founding form */
.gang__formtitle {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 6px;
}
.gang__field { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
/* inside a column field the row flex-basis would become height — neutralize it */
.gang__field .gang__input { flex: initial; width: 100%; }
.gang__label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247, 242, 238, 0.6);
}
.gang__textarea { min-height: 92px; resize: vertical; font-family: var(--font-body); }
.gang__swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.gang__swatch {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.gang__swatch:hover { transform: scale(1.12); }
.gang__swatch.is-on {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25), 0 0 18px rgba(255, 95, 162, 0.35);
  transform: scale(1.12);
}
.gang__logorow { display: flex; align-items: center; gap: 14px; }
.gang__filebtn {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  background: rgba(10, 8, 15, 0.7);
  border: 1px dashed rgba(247, 242, 238, 0.3);
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
  transition: border-color 0.25s;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gang__filebtn:hover { border-color: rgba(255, 95, 162, 0.6); }
.gang__logopreview {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(247, 242, 238, 0.2);
}
.gang__create { margin-top: 22px; }
/* crew identity on the card */
.gang__ident { display: flex; align-items: center; gap: 16px; }
.gang__logo {
  width: 58px; height: 58px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--crew, rgba(255, 95, 162, 0.5));
}
.gang__disc {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  color: #16101d;
}
.gang__colorline {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.gang__story {
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid rgba(247, 242, 238, 0.1);
  padding-top: 16px;
  margin-bottom: 18px;
}
.gang__storyrow { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.gang__storylabel {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--crew, var(--pink));
  padding-top: 2px;
}
.gang__storytext { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
@media (max-width: 620px) {
  .gang__storyrow { grid-template-columns: 1fr; gap: 4px; }
  .portal__seal { display: none; }
  .portal__avatar { width: 56px; height: 56px; }
}
.gang__mailbtn { padding: 9px 18px; font-size: 12px; }
.app-card__locked {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed rgba(247, 242, 238, 0.25);
  border-radius: 999px;
  padding: 9px 16px;
}
/* ---------- broadcast panel ---------- */
.bc__toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.bc__toolbar button {
  font-family: var(--font-body);
  font-size: 13px;
  min-width: 34px;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(10, 8, 15, 0.7);
  border: 1px solid rgba(247, 242, 238, 0.16);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.bc__toolbar button:hover { border-color: rgba(255, 95, 162, 0.55); background: rgba(255, 95, 162, 0.08); }
.bc__previewwrap { margin-top: 18px; }
.bc__previewwrap .field__label { display: block; margin-bottom: 8px; }
.bc__dm {
  border: 1px solid rgba(247, 242, 238, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #313338; /* Discord DM backdrop */
}
.bc__dmhead {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 6px;
}
.bc__dmavatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}
.bc__dmname { color: #f2f3f5; font-weight: 600; font-size: 15px; }
.bc__dmbot {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  color: #fff; background: #5865f2; border-radius: 4px; padding: 1px 5px;
}
.bc__preview {
  padding: 2px 16px 16px 60px;
  color: #dbdee1; font-size: 15px; line-height: 1.4;
  word-break: break-word;
}
.bc__previewempty { color: #949ba4; font-style: italic; }
.bc__preview strong { color: #fff; }
.bc__preview a { color: #00a8fc; text-decoration: none; }
.bc__preview a:hover { text-decoration: underline; }
.bc__preview code {
  font-family: Consolas, monospace; font-size: 13px;
  background: #1e1f22; border-radius: 4px; padding: 1px 4px;
}
.bc__preview pre {
  font-family: Consolas, monospace; font-size: 13px;
  background: #1e1f22; border: 1px solid #232428; border-radius: 5px;
  padding: 8px 10px; margin: 4px 0; white-space: pre-wrap;
}
.bc__quote {
  display: block; position: relative;
  padding-left: 12px; margin: 2px 0;
  color: #dbdee1;
}
.bc__quote::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 2px;
  width: 4px; border-radius: 4px; background: #4e5058;
}
.bc__bullet { display: block; padding-left: 16px; position: relative; }
.bc__bullet::before { content: "•"; position: absolute; left: 4px; color: #dbdee1; }
.bc__pimg {
  display: block; max-width: 300px; max-height: 220px;
  border-radius: 8px; margin: 6px 0;
}
.bc__actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-top: 18px;
}
.bc__estimate { font-size: 12.5px; color: var(--muted); flex: 1 1 220px; }
.bc__item {
  border: 1px solid rgba(247, 242, 238, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.bc__itemhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.bc__status {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 11px;
}
.bc__status--sending, .bc__status--expanding { color: #ffd94f; background: rgba(255, 217, 79, 0.12); }
.bc__status--done { color: #7dffa9; background: rgba(125, 255, 169, 0.12); }
.bc__status--failed { color: #ff8091; background: rgba(255, 68, 87, 0.12); }
.bc__msg {
  font-size: 13.5px; color: var(--muted); line-height: 1.55;
  margin-bottom: 12px; white-space: pre-wrap;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bc__bar {
  height: 7px; border-radius: 999px; overflow: hidden;
  background: rgba(247, 242, 238, 0.1); margin-bottom: 8px;
}
.bc__bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--pink) 55%, var(--purple));
  transition: width 0.5s var(--ease-out);
}
.bc__meta { font-size: 12px; color: var(--muted); }
.bc__ctl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bc__recipwrap {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(247, 242, 238, 0.1);
}
.bc__filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.bc__filter {
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(10, 8, 15, 0.6);
  border: 1px solid rgba(247, 242, 238, 0.14);
  border-radius: 999px; padding: 6px 12px; cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.bc__filter:hover { color: var(--ink); }
.bc__filter.is-on {
  color: #16101d;
  background: linear-gradient(100deg, var(--orange), var(--pink) 55%, var(--purple));
  border-color: transparent;
}
.bc__recips { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; }
.bc__recip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(247, 242, 238, 0.08);
  border-radius: 10px;
}
.bc__recipwho { display: flex; align-items: center; gap: 9px; min-width: 0; }
.bc__recipwho b { font-size: 13.5px; }
.bc__recipside { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.bc__rstatus {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px; padding: 3px 9px;
}
.bc__rstatus--sent { color: #7dffa9; background: rgba(125, 255, 169, 0.12); }
.bc__rstatus--failed { color: #ff8091; background: rgba(255, 68, 87, 0.12); }
.bc__rstatus--pending { color: #ffd94f; background: rgba(255, 217, 79, 0.12); }
.bc__more { margin-top: 10px; }
.bc__log {
  border-left: 3px solid rgba(247, 242, 238, 0.2);
  padding: 8px 0 8px 14px;
  margin-bottom: 10px;
}
.bc__log--info { border-left-color: #7dffa9; }
.bc__log--warning { border-left-color: #ffd94f; }
.bc__log--error { border-left-color: #ff4457; }
.bc__logtop { display: flex; align-items: center; gap: 10px; }
.bc__logtop b { font-size: 13.5px; }
.bc__logdot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.bc__log--info .bc__logdot { color: #7dffa9; }
.bc__log--warning .bc__logdot { color: #ffd94f; }
.bc__log--error .bc__logdot { color: #ff4457; }
.bc__logdetail { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-top: 4px; }
.vip-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
}
.vip-badge--diamond {
  color: #9ff2ff;
  background: rgba(79, 195, 255, 0.12);
  border: 1px solid rgba(79, 195, 255, 0.45);
}
.vip-badge--gold {
  color: #ffd94f;
  background: rgba(255, 217, 79, 0.1);
  border: 1px solid rgba(255, 217, 79, 0.4);
}
.vip-badge--silver {
  color: #d9dee6;
  background: rgba(217, 222, 230, 0.1);
  border: 1px solid rgba(217, 222, 230, 0.35);
}
.multi__err {
  flex-basis: 100%;
  font-size: 12px;
  color: #ff8091;
}
.field__input.is-bad {
  border-color: rgba(255, 68, 87, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 68, 87, 0.12);
}
.field__count { color: var(--muted); transition: color 0.3s; }
.field__count.is-met { color: #7dffa9; }
.apply__early {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}
.modal__soon-date {
  font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(255, 95, 162, 0.35);
  border-radius: 999px;
  padding: 8px 18px;
}
.modal__soon-count {
  font-family: Consolas, monospace;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-shadow: 0 0 26px rgba(255, 95, 162, 0.45);
  font-variant-numeric: tabular-nums;
}
.modal__close {
  position: absolute; top: 22px; right: 30px;
  background: none; border: none;
  font-size: 44px; line-height: 1;
  color: var(--ink); cursor: pointer;
  transition: transform 0.3s, color 0.3s;
}
.modal__close:hover { transform: rotate(90deg); color: var(--pink); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .card:nth-child(even) { margin-top: 0; }
  .venues { grid-template-columns: repeat(2, 1fr); }
  .venue { grid-column: span 1; }
  .venue--special { grid-column: span 2; }
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .show__media,
  .show--flip .show__media,
  .show__text,
  .show--flip .show__text { grid-column: 1 / 13; grid-row: auto; }
  .show__text { padding-top: 28px; }
  .char__info { left: 20px; right: 20px; bottom: 40px; }
  .svc { flex-direction: column; align-items: flex-start; }
  .feed { grid-template-columns: 1fr; }
  .caseboard { height: auto; }
  .caseboard__sticky { position: static; height: auto; padding: 20px; overflow: visible; display: block; }
  .caseboard__thread, .caseboard__light, .caseboard__unit { display: none; }
  .caseboard__track { flex-direction: column; transform: none !important; padding: 0; }
  .case, .case--reel {
    position: static;
    width: 100%;
    margin: 0 0 26px;
    transform: none;
    filter: none;
  }
  .casenote { position: static; width: 100%; margin-bottom: 26px; }
  .bizstage { height: auto; width: auto; margin-left: 0; }
  .bizstage__sticky { position: static; height: auto; padding: 40px 0; overflow: visible; }
  .bizstage__laser, .bizstage__eq { display: none; }
  .bizstage__stage { height: auto; }
  .bizstage__card, .bizstage__card.is-left, .bizstage__card.is-right, .bizstage__card.is-center,
  .bizstage__card.is-lfar, .bizstage__card.is-rfar {
    position: static;
    width: 100%;
    margin: 0 0 22px;
    transform: none;
    filter: none;
  }
  .diner__lamp, .diner__steam, .diner__rail, .diner__checker { display: none; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .step:not(:last-child)::after { content: "\2193"; right: auto; left: 50%; top: auto; bottom: -30px; }
  .venue--special { grid-template-columns: 1fr; }
  .biz__img, .biz__img--right, .biz .card:nth-of-type(n) { grid-column: 1 / 13; grid-row: auto; margin-top: 0; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .venues { grid-template-columns: 1fr; }
  .venue, .venue--special { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============ APPLY PAGE: City Hall application portal ============ */
.is-hidden { display: none !important; }
.apply-page {
  min-height: 100vh;
  background:
    radial-gradient(60% 40% at 80% 0%, rgba(255, 95, 162, 0.08), transparent 70%),
    radial-gradient(50% 40% at 10% 100%, rgba(160, 107, 255, 0.08), transparent 70%),
    var(--bg);
}
.apply {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(120px, 18vh, 180px) clamp(20px, 4vw, 40px) 120px;
}
.apply__hero { text-align: center; max-width: 640px; margin: 6vh auto 0; }
.apply__hero .lede { margin-left: auto; margin-right: auto; }
.apply__code {
  font-family: Consolas, monospace;
  font-size: 0.9em;
  color: var(--ink);
  background: rgba(247, 242, 238, 0.08);
  border: 1px solid rgba(247, 242, 238, 0.15);
  border-radius: 6px;
  padding: 2px 8px;
}
.apply__discord { margin-top: 34px; }
.apply__discord-ico { width: 22px; height: 22px; }
.apply__fine {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(247, 242, 238, 0.45);
}
.apply__userbar {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 7vh;
}
.apply__avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 95, 162, 0.5);
  box-shadow: 0 0 24px rgba(255, 95, 162, 0.25);
}
.apply__welcome {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.apply__username {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
}
.apply__section { margin-top: 7vh; }
.apply__section .display--sm { margin: 6px 0 26px; }
.apply__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.app-card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: clamp(20px, 2.4vw, 30px);
  background:
    linear-gradient(160deg, rgba(23, 18, 30, 0.92), rgba(14, 12, 20, 0.94)) padding-box,
    linear-gradient(150deg, rgba(255, 95, 162, 0.4), rgba(160, 107, 255, 0.18) 55%, rgba(247, 242, 238, 0.07)) border-box;
}
.app-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.app-card__desc { margin: 10px 0 20px; font-size: 14px; color: var(--muted); }
.app-card__foot { margin-top: auto; }
.app-card__btn { font-size: 12px; padding: 13px 24px; }
.app-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 999px;
  padding: 9px 15px;
  border: 1px solid rgba(247, 242, 238, 0.25);
  color: var(--muted);
}
.app-status::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.app-status--pending { color: var(--orange); border-color: rgba(255, 161, 79, 0.45); }
.app-status--reviewing { color: var(--purple); border-color: rgba(160, 107, 255, 0.5); }
.app-status--approved { color: #6fdd8b; border-color: rgba(111, 221, 139, 0.45); }
.app-status--denied { color: #ff5464; border-color: rgba(255, 84, 100, 0.5); }
.apply__list { display: flex; flex-direction: column; gap: 12px; }
.app-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  border: 1px solid rgba(247, 242, 238, 0.1);
  border-radius: 14px;
  padding: 16px 20px;
  background: rgba(20, 16, 26, 0.6);
}
.app-row__main { display: flex; align-items: baseline; gap: 14px; }
.app-row__main b { font-family: var(--font-display); letter-spacing: 0.04em; font-size: 17px; }
.app-row__date { font-size: 12px; color: var(--muted); }
.app-row__note { width: 100%; order: 3; font-size: 13px; color: var(--muted); }
.app-row__side { display: flex; align-items: center; gap: 12px; }
.app-row__withdraw {
  background: none; border: none; cursor: pointer;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(247, 242, 238, 0.5);
  border-bottom: 1px solid rgba(247, 242, 238, 0.3);
  padding: 2px 0;
}
.app-row__withdraw:hover { color: #ff5464; border-color: rgba(255, 84, 100, 0.6); }
/* form modal */
.modal__frame--form {
  aspect-ratio: auto;
  max-height: 84vh;
  overflow-y: auto;
  width: min(92vw, 720px);
  background:
    linear-gradient(160deg, rgba(23, 18, 30, 0.98), rgba(14, 12, 20, 0.99)) padding-box,
    linear-gradient(150deg, rgba(255, 95, 162, 0.4), rgba(160, 107, 255, 0.18) 55%, rgba(247, 242, 238, 0.07)) border-box;
  border: 1px solid transparent;
  padding: clamp(24px, 3.5vw, 44px);
}
.apply-form__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.apply-form__desc { margin: 8px 0 26px; font-size: 14px; color: var(--muted); }
.apply-form__fields { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(247, 242, 238, 0.75);
}
.field__input {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: rgba(10, 8, 15, 0.7);
  border: 1px solid rgba(247, 242, 238, 0.16);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field__input:focus {
  border-color: rgba(255, 95, 162, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 95, 162, 0.12);
}
select.field__input { appearance: auto; }
textarea.field__input { resize: vertical; min-height: 110px; }
.field--check { flex-direction: row; align-items: center; gap: 12px; cursor: pointer; }
.field--check input { width: 17px; height: 17px; accent-color: var(--pink); }
.apply-form__submit { margin-top: 28px; width: 100%; justify-content: center; }
/* toast */
.toast {
  position: fixed;
  left: 50%; bottom: 34px;
  transform: translateX(-50%) translateY(16px);
  max-width: min(92vw, 480px);
  background:
    linear-gradient(160deg, rgba(23, 18, 30, 0.97), rgba(14, 12, 20, 0.98)) padding-box,
    linear-gradient(150deg, rgba(255, 95, 162, 0.5), rgba(160, 107, 255, 0.25)) border-box;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 14px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, transform 0.35s var(--ease-out), visibility 0.35s;
  z-index: 400;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast.is-error {
  background:
    linear-gradient(160deg, rgba(32, 14, 18, 0.97), rgba(20, 10, 14, 0.98)) padding-box,
    linear-gradient(150deg, rgba(255, 84, 100, 0.6), rgba(160, 107, 255, 0.2)) border-box;
}
@media (max-width: 760px) {
  .apply__grid { grid-template-columns: 1fr; }
}

/* armed withdraw confirmation */
.app-row__withdraw.is-arm {
  color: #ff5464;
  border-color: rgba(255, 84, 100, 0.7);
  font-weight: 700;
  animation: dotPulse 1s ease-in-out infinite;
}

/* ============ ADMIN REVIEW DESK ============ */
.admin__scope {
  margin-left: auto;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(160, 107, 255, 0.45);
  border-radius: 999px;
  padding: 9px 16px;
}
.admin__filters {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 26px;
}
.admin__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.admin__tab {
  display: inline-flex; align-items: center; gap: 9px;
  background: none; cursor: pointer;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(247, 242, 238, 0.16);
  border-radius: 999px;
  padding: 10px 16px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.admin__tab b {
  font-size: 11px;
  color: var(--ink);
  background: rgba(247, 242, 238, 0.1);
  border-radius: 999px;
  padding: 2px 8px;
}
.admin__tab:hover { color: var(--ink); }
.admin__tab.is-on {
  color: var(--ink);
  border-color: rgba(255, 95, 162, 0.55);
  background: rgba(255, 95, 162, 0.1);
}
.admin__formsel { max-width: 260px; }
.app-row--click { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; transition: border-color 0.3s, background 0.3s; }
.app-row--click:hover { border-color: rgba(255, 95, 162, 0.45); background: rgba(26, 18, 30, 0.8); }
.admin__rowavatar { width: 34px; height: 34px; border-radius: 50%; }
.admin__empty { text-align: center; color: var(--muted); margin-top: 40px; font-size: 14px; }
.admin__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.admin__head .app-status { margin-left: auto; }
.admin__avatar { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(160, 107, 255, 0.5); }
.admin__meta { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; margin-top: 4px; }
.admin__answers {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 22px;
  max-height: 42vh;
  overflow-y: auto;
  padding-right: 6px;
}
.admin__answer {
  border: 1px solid rgba(247, 242, 238, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  background: rgba(10, 8, 15, 0.5);
}
.admin__q {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(247, 242, 238, 0.55);
  margin-bottom: 6px;
}
.admin__a { font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.admin__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.admin__act { flex: 1; justify-content: center; font-size: 12px; }
.admin__act--approve {
  border-color: rgba(111, 221, 139, 0.5);
  color: #6fdd8b;
}
.admin__act--approve:hover { background: rgba(111, 221, 139, 0.12); border-color: #6fdd8b; }
.admin__act--deny {
  border-color: rgba(255, 84, 100, 0.5);
  color: #ff5464;
}
.admin__act--deny:hover { background: rgba(255, 84, 100, 0.12); border-color: #ff5464; }

/* god-tier badge */
.admin__scope--god {
  color: var(--ink);
  border-color: transparent;
  background:
    linear-gradient(160deg, rgba(23, 18, 30, 0.95), rgba(14, 12, 20, 0.96)) padding-box,
    var(--grad-sunset) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 24px rgba(255, 95, 162, 0.25);
}

/* key choice chip on application rows (department / venue) */
.app-row__detail {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(255, 95, 162, 0.4);
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
}

/* locked identity field in application forms */
.field--locked .field__input {
  color: rgba(247, 242, 238, 0.65);
  background: rgba(247, 242, 238, 0.05);
  border-style: dashed;
  cursor: not-allowed;
}
.field--locked .field__input:focus { border-color: rgba(247, 242, 238, 0.16); box-shadow: none; }
.field__hint {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--purple);
}

/* ============ STAFF & DEPARTMENTS (god panel) ============ */
.admin__sections { display: flex; gap: 8px; margin-bottom: 30px; }
.staff__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}
.staff__card {
  border: 1px solid transparent;
  border-radius: 18px;
  padding: clamp(20px, 2.4vw, 30px);
  background:
    linear-gradient(160deg, rgba(23, 18, 30, 0.92), rgba(14, 12, 20, 0.94)) padding-box,
    linear-gradient(150deg, rgba(160, 107, 255, 0.35), rgba(255, 95, 162, 0.16) 55%, rgba(247, 242, 238, 0.07)) border-box;
}
.staff__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.staff__hint { margin: 8px 0 18px; font-size: 13px; color: var(--muted); }
.staff__sub {
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase;
  margin: 22px 0 10px;
  color: rgba(247, 242, 238, 0.8);
}
.staff__list { display: flex; flex-direction: column; gap: 10px; }
.staff__none { font-size: 13px; color: var(--muted); padding: 8px 2px; }
.staff__new { display: flex; gap: 10px; margin-top: 16px; }
.staff__new .field__input { flex: 1; }
.staff__newbtn, .staff__minibtn { font-size: 11px; padding: 11px 18px; flex: 0 0 auto; }
.staff__row { padding: 12px 16px; }
.dept {
  border: 1px solid rgba(247, 242, 238, 0.1);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(20, 16, 26, 0.6);
}
.dept__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dept__head b { font-family: var(--font-display); letter-spacing: 0.05em; font-size: 16px; }
.dept__mode { max-width: 170px; padding: 8px 10px; font-size: 12px; }
.dept__desks { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.dept__chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(247, 242, 238, 0.14);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
}
.dept__chip input { accent-color: var(--pink); }
.dept__chip:has(input:checked) {
  color: var(--ink);
  border-color: rgba(255, 95, 162, 0.5);
  background: rgba(255, 95, 162, 0.08);
}
.dept__foot { display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 900px) {
  .staff__grid { grid-template-columns: 1fr; }
}

/* ============ BACK OFFICE: tables ============ */
.apply--wide { max-width: 1240px; }
.staff__card--wide { margin-bottom: 26px; }
.staff__deptrules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.roster__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.roster__rules {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--purple);
}
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  text-align: left;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(247, 242, 238, 0.45);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(247, 242, 238, 0.12);
}
.tbl td {
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid rgba(247, 242, 238, 0.06);
  vertical-align: middle;
}
.tbl tbody tr { transition: background 0.25s; }
.tbl tbody tr:hover { background: rgba(255, 95, 162, 0.04); }
.tbl__user { display: flex; align-items: center; gap: 10px; }
.tbl__user b { font-family: var(--font-display); letter-spacing: 0.05em; font-size: 15px; }
.tbl__dim { color: var(--muted); font-size: 13px; }
.profile__stats { display: flex; gap: 12px; margin-bottom: 8px; }
.profile__stat {
  flex: 1;
  text-align: center;
  border: 1px solid rgba(247, 242, 238, 0.1);
  border-radius: 12px;
  padding: 14px 10px;
  background: rgba(10, 8, 15, 0.5);
}
.profile__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.profile__stat span {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}

/* statistics tab */
.stats__tiles .profile__stat { padding: 20px 12px; }
.stats__live b { position: relative; }
.stats__live b::after {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: #6fdd8b;
  box-shadow: 0 0 12px rgba(111, 221, 139, 0.9);
  animation: dotPulse 2s ease-in-out infinite;
  vertical-align: middle;
}
.stats__barcell { width: 45%; }
.stats__bar {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--grad-sunset);
  box-shadow: 0 0 14px rgba(255, 95, 162, 0.35);
  min-width: 6px;
}

/* repeatable platform rows in application forms */
.multi__rows { display: flex; flex-direction: column; gap: 10px; }
.multi__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.multi__row select { flex: 0 0 160px; }
.multi__row input { flex: 1; }
.multi__rm {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(247, 242, 238, 0.2);
  background: none;
  color: var(--muted);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.multi__rm:hover { color: #ff5464; border-color: rgba(255, 84, 100, 0.6); }
.multi__add {
  align-self: flex-start;
  margin-top: 10px;
  background: none; border: none; cursor: pointer;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pink);
  border-bottom: 1px solid rgba(255, 95, 162, 0.5);
  padding: 2px 0;
  transition: color 0.3s;
}
.multi__add:hover { color: var(--ink); }

/* clickable table rows */
.tbl tbody tr.tbl__click { cursor: pointer; }

/* ---- job board conveyors: two counter-scrolling rows ---- */
.jobreel { height: 520vh; }
.jobreel__rows {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(18px, 3.5vh, 34px);
  height: 100%;
  padding-bottom: 13vh;
}
.jobreel__row {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  padding: 0 6vw;
  will-change: transform;
}
/* cards shrink so both conveyors fit under the title card */
.jobreel__rows .jobreel__item {
  width: clamp(220px, 24vw, 380px);
  margin: 0 !important;   /* no zigzag on the board */
}
.jobreel__rows .jobreel__idx {
  font-size: clamp(52px, 5vw, 78px);
  right: -4px; bottom: -16px;
}
/* the focused card gets its chrome (arc FX already scales/brightens it) */
.jobreel__rows .jobreel__item::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 95, 162, 0.55);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
  z-index: 3;
}
.jobreel__rows .jobreel__item.is-focus::after { opacity: 1; }
.jobreel__rows .jobreel__item.is-focus {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(255, 95, 162, 0.18);
}

/* the waiting conveyor sits back until its act */
.jobreel__row {
  transition: opacity 0.6s var(--ease-out);
}
.jobreel__row.is-idle { opacity: 0.35; }

/* ============ JOBS BOARD: split-flap now-hiring departures ============ */
.bizstage--jobs { height: 1050vh; }
.bizstage--jobs .bizstage__sticky {
  display: flex;
  align-items: center;
  justify-content: center;
}
.jobsboard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  width: min(94vw, 1360px);
}
/* --- the screen: cards flip like departure flaps --- */
.jobsboard__screenwrap { perspective: 1400px; }
.jobsboard__plate {
  display: inline-block;
  font-family: Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247, 242, 238, 0.55);
  border: 1px solid rgba(247, 242, 238, 0.16);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  padding: 9px 16px;
  background: rgba(18, 14, 24, 0.85);
}
.jobsboard__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0 14px 14px 14px;
  border: 1px solid rgba(255, 95, 162, 0.25);
  background: #0b0812;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
  perspective: 1400px;
  transform-style: preserve-3d;
}
.jobsboard__card {
  position: absolute;
  inset: 0;
  width: auto;
  margin: 0;
  border-radius: 13px;
  overflow: hidden;
  opacity: 0;
  transform: none;
  -webkit-box-reflect: none;
  /* hidden cards linger until the wipe has covered them — no black gap */
  transition: opacity 0.3s 0.6s, filter 0.5s;
  pointer-events: none;
}
/* the club carousel's side positions must never leak onto the board */
.jobsboard__card.is-left,
.jobsboard__card.is-right,
.jobsboard__card.is-rfar,
.jobsboard__card.is-lfar {
  transform: none;
}
.jobsboard__card.is-rfar,
.jobsboard__card.is-lfar {
  opacity: 0;
  z-index: 0;
}
/* the neighbours hold flat underneath, dimmed — the wipe lands on them */
.jobsboard__card.is-left,
.jobsboard__card.is-right {
  opacity: 1;
  z-index: 1;
  filter: brightness(0.5) saturate(0.75);
  transition: opacity 0.3s, filter 0.45s;
}
.jobsboard__card.is-center {
  opacity: 1;
  z-index: 2;
  filter: none;
  animation: cardReveal 0.65s cubic-bezier(0.6, 0.05, 0.25, 1) both;
}
@keyframes cardReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
/* the scan bar that sweeps the new feed in */
.jobsboard__screen::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 11%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 95, 162, 0.35) 35%,
    rgba(255, 236, 245, 0.85) 50%,
    rgba(160, 107, 255, 0.35) 65%,
    transparent);
  filter: blur(2px);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}
.bizstage--jobs.is-swap .jobsboard__screen::after {
  animation: scanSweep 0.65s cubic-bezier(0.6, 0.05, 0.25, 1) both;
}
@keyframes scanSweep {
  0% { transform: translateX(-120%); opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateX(1020%); opacity: 0; }
}
/* faint CRT flicker on the incoming feed */
.bizstage--jobs.is-swap .jobsboard__card.is-center video.is-ready {
  animation: swapFlick 0.4s steps(3) both;
}
@keyframes swapFlick {
  0% { filter: brightness(1.35) saturate(1.4); }
  60% { filter: brightness(0.92) saturate(0.9); }
  100% { filter: none; }
}
.jobsboard__card video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
}
.jobsboard__card video.is-ready { opacity: 1; }
.jobsboard__idx {
  position: absolute;
  right: 10px; bottom: -6px;
  font-family: var(--font-display);
  font-size: clamp(70px, 7vw, 110px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 242, 238, 0.22);
  z-index: 2;
  pointer-events: none;
}
.jobsboard__card .show__bar { border-radius: 0 0 13px 13px; z-index: 3; }
/* --- the hiring board --- */
.jobsboard__panel {
  border: 1px solid transparent;
  border-radius: 18px;
  padding: clamp(16px, 1.8vw, 26px);
  background:
    linear-gradient(160deg, rgba(19, 15, 26, 0.95), rgba(11, 9, 16, 0.97)) padding-box,
    linear-gradient(150deg, rgba(255, 95, 162, 0.35), rgba(160, 107, 255, 0.16) 55%, rgba(247, 242, 238, 0.07)) border-box;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.jobsboard__head {
  display: flex; align-items: center; gap: 10px;
  font-family: Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px dashed rgba(247, 242, 238, 0.15);
}
.jobsboard__head b { color: var(--pink); }
.jobsboard__head i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6fdd8b;
  box-shadow: 0 0 12px rgba(111, 221, 139, 0.9);
  animation: dotPulse 2s ease-in-out infinite;
}
.jobsboard__rows {
  display: flex;
  flex-direction: column;
  max-height: 62vh;
  overflow: hidden;
}
.jobsboard__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 12px;
  padding: 8px 6px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(247, 242, 238, 0.06);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background 0.35s;
}
.jobsboard__row:hover { background: rgba(255, 95, 162, 0.05); }
.jobsboard__row.is-on { background: rgba(255, 95, 162, 0.08); }
.jobsboard__no {
  font-family: Consolas, monospace;
  font-size: 10px;
  color: rgba(247, 242, 238, 0.4);
}
.jobsboard__row.is-on .jobsboard__no { color: var(--pink); }
.jobsboard__name { display: flex; gap: 2px; flex-wrap: wrap; }
.jobsboard__tile {
  display: inline-grid;
  place-items: center;
  min-width: 15px;
  height: 20px;
  padding: 0 1px;
  font-family: Consolas, monospace;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: rgba(247, 242, 238, 0.55);
  background: linear-gradient(180deg, #201a2b 48%, #171221 52%);
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}
.jobsboard__row.is-on .jobsboard__tile {
  color: var(--ink);
  background: linear-gradient(180deg, #3a2237 48%, #2b1830 52%);
  animation: flapTile 0.45s calc(var(--i) * 45ms) both;
}
@keyframes flapTile {
  0% { transform: rotateX(90deg); }
  60% { transform: rotateX(-18deg); }
  100% { transform: rotateX(0); }
}
.jobsboard__status {
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 242, 238, 0.35);
}
.jobsboard__row.is-on .jobsboard__status {
  color: #6fdd8b;
  text-shadow: 0 0 12px rgba(111, 221, 139, 0.6);
}
/* the active row unfolds its description */
.jobsboard__desc {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  transition: max-height 0.5s var(--ease-out), padding 0.5s;
  padding: 0 0 0 26px;
}
.jobsboard__row.is-on .jobsboard__desc { max-height: 64px; padding: 6px 0 4px 26px; }

@media (max-width: 980px) {
  .jobsboard { grid-template-columns: 1fr; }
  .jobsboard__rows { max-height: 34vh; overflow-y: auto; }
}

/* ============ MOBILE PASS: fast + designed for phones ============ */

/* fix the stacked-layout height bug: the diner/mech/jobs stage heights are
   declared after the 900px collapse rules, so they were leaving thousands of
   pixels of empty scroll under each stacked section on phones */
@media (max-width: 900px) {
  .bizstage--diner, .bizstage--mech { height: auto; }
  .bizstage--diner .bizstage__sticky, .bizstage--mech .bizstage__sticky {
    display: block; height: auto; padding: 40px 0;
  }
  .caseboard__tape, .caseboard__confidential, .caseboard__string { display: none; }
  .diner__sign, .diner__clip, .diner__ticket, .mech__floor { display: none; }
  .bizstage__glow { width: 130vw; height: 60vh; filter: blur(60px); }

  /* the jobs board keeps its pinned split-flap show, just shorter */
  .bizstage--jobs { height: 520vh; }
  .bizstage--jobs .bizstage__sticky {
    position: sticky; top: 0; height: 100vh;
    padding: 84px 0 12px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .jobsboard { width: 94vw; gap: 14px; align-content: center; }
  .jobsboard__rows { max-height: 30vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  /* the generic stacked-card collapse above must not knock the board's
     cards out of the screen frame — they stay layered */
  .jobsboard__card, .jobsboard__card.is-left, .jobsboard__card.is-right,
  .jobsboard__card.is-center, .jobsboard__card.is-lfar, .jobsboard__card.is-rfar {
    position: absolute; inset: 0; width: auto; margin: 0;
  }
}

@media (max-width: 820px) {
  /* ---- speed: drop the chrome phones pay for but can't show off ---- */
  html, body { overflow-x: clip; }
  .grain { animation: none; opacity: 0.035; }
  .bgword, .scrub-hint, .jobreel__cloud { display: none; }
  .card::before { display: none; }
  .bizstage__card, .mech__card { -webkit-box-reflect: none; }
  .bizstage__laser, .bizstage__eq, .diner__lamp, .diner__steam,
  .caseboard__light { display: none; }

  /* shorter pinned runways — phone scrolling is thumb work */
  .hero { height: 165vh; }
  .expand { height: 190vh; }
  .expand--scrub { height: 240vh; }
  .bizstage--jobs { height: 440vh; }

  /* ---- design: tighter rhythm, bigger media, no dead air ---- */
  .container { padding-left: 18px; padding-right: 18px; }
  .show__num { font-size: clamp(64px, 22vw, 110px); top: -26px; }
  .show__text { padding-top: 18px; }
  .char__info { left: 16px; right: 16px; bottom: 30px; }

  .statbar { display: flex; flex-wrap: wrap; gap: 10px; }
  .statbar__item { flex: 1 1 calc(50% - 10px); min-width: 130px; }

  .jobsboard__plate { font-size: 9px; padding: 7px 10px; letter-spacing: 0.22em; }
  .jobsboard__rows { max-height: 26vh; }
  .jobsboard__desc { font-size: 12px; }

  .bizstage__sticky { padding: 28px 0; }
  .bizstage__card:not(.jobsboard__card),
  .bizstage__card.is-left:not(.jobsboard__card),
  .bizstage__card.is-right:not(.jobsboard__card),
  .bizstage__card.is-center:not(.jobsboard__card),
  .bizstage__card.is-lfar:not(.jobsboard__card),
  .bizstage__card.is-rfar:not(.jobsboard__card) {
    animation: none; clip-path: none;
  }
  /* case files: kill the desktop zigzag offsets and corner tape, breathe evenly.
     the depth-of-field dim/blur and active-case zoom are desktop tricks — on a
     stacked phone layout every case reads full brightness at natural size */
  .caseboard__sticky { padding: 24px 14px; }
  .caseboard__track .case--reel,
  .caseboard__track .case--reel.is-active {
    transform: none; filter: none; box-shadow: none;
  }
  .case, .case--reel { margin: 0 0 18px; }
  .caseboard__track .case--reel:nth-of-type(even) { margin-top: 0; }
  .caseboard__track .case--reel:nth-of-type(odd) { margin-bottom: 18px; }
  .case::before, .case::after { display: none; }
  .casenote { margin: 0 0 18px; }

  /* compact header: the pill was eating a third of the screen */
  .header { padding: 12px 16px; }
  .header__logo { font-size: 21px; }
  .header__actions { gap: 10px; }
  .btn--trailer { padding: 9px 14px; font-size: 10.5px; letter-spacing: 0.14em; white-space: nowrap; }

  .footer__cta { flex-wrap: wrap; }
}

/* stable viewport units where supported: no jump when the URL bar hides */
@supports (height: 1svh) {
  @media (max-width: 900px) {
    .hero__sticky, .expand__sticky, .char,
    .bizstage--jobs .bizstage__sticky { height: 100svh; }
  }
}
