/* ============================================================
   PAKPHANTOM — comic superhero stylesheet (v2, original layout)
   Not a copy of the portfolio — same energy, own anatomy.
   Phantom Ops (night) default + Daylight (chai) via body.chai
   ============================================================ */

:root {
  --red: #ff3131;
  --red-dark: #c81e1e;
  --ink: #ffd700;
  --paper: #060b18;
  --paper-dark: #02050d;
  --blue: #4a7dff;
  --gold: #ffd700;
  --green: #00ff88;
  --ghost: #0b1424;
  --blurple: #5865f2;
  --cream-ink: #1f1400;      /* dark text on gold */
  --font-display: "Anton", sans-serif;
  --font-comic: "Bangers", cursive;
  --font-hand: "Permanent Marker", cursive;
  --font-body: "Space Grotesk", sans-serif;
  --card-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
}

/* ---------- DAYLIGHT (chai) mode ---------- */
body.chai {
  --red: #d21f3c;
  --red-dark: #a4161a;
  --ink: #12264d;
  --paper: #f7f0dc;
  --paper-dark: #e9dcba;
  --blue: #2b3a9e;
  --gold: #ffd23e;
  --green: #0b7a3b;
  --ghost: #fff6e0;
  --cream-ink: #2a1b00;
  --card-shadow: 6px 6px 0 rgba(18, 38, 77, 0.28);
}
body.chai { background: var(--paper); }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-width: none; overflow-x: hidden; }
html::-webkit-scrollbar { display: none; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  transition: background 0.35s ease;
}
body::selection { background: var(--red); }
::selection { background: var(--red); color: var(--paper); }

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

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

/* halftone helper */
.halftone {
  background-image: radial-gradient(circle, var(--ink) 1.3px, transparent 1.4px);
  background-size: 16px 16px;
}

/* ============================================================
   PRELOADER — crest drops on a gold thread
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--paper);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.preloader__thread {
  position: absolute;
  top: 0; left: 50%;
  height: 42vh;
  color: var(--ink);
}
.preloader__thread line { stroke-dasharray: 300; stroke-dashoffset: 300; }
.preloader__crest {
  position: absolute;
  top: calc(42vh - 52px);
  left: 50%;
  width: 96px;
  transform: translate(-50%, 0) scale(0);
  color: var(--red);
  filter: drop-shadow(0 0 20px var(--red));
}
.preloader__crest svg { width: 100%; height: 100%; }
.preloader__count {
  font-family: var(--font-display);
  font-size: clamp(90px, 22vw, 220px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 3px var(--ink);
  letter-spacing: 0.04em;
  user-select: none;
}
.preloader__thwip {
  position: absolute;
  top: 18%;
  left: 58%;
  font-family: var(--font-comic);
  font-size: clamp(44px, 9vw, 110px);
  color: var(--red);
  text-shadow: 4px 4px 0 var(--ink);
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}
.preloader__credit {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 92vw;
  text-align: center;
  font-family: var(--font-hand);
  font-size: clamp(12px, 2.2vw, 17px);
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0;
  animation: creditIn 0.7s ease 1s forwards;
}
.preloader__credit b {
  font-family: var(--font-comic);
  letter-spacing: 0.1em;
  color: var(--red);
  font-size: 1.15em;
}
.preloader__credit span { font-family: var(--font-hand); font-size: 0.82em; opacity: 0.8; }
@keyframes creditIn { to { opacity: 0.95; } }

/* ============================================================
   CURSOR + CREST SPLAT
   ============================================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9997;
  pointer-events: none;
}
.cursor__ring {
  position: absolute;
  width: 38px; height: 38px;
  border: 2px solid var(--red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease;
}
.cursor__dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__label {
  position: absolute;
  left: 26px; top: 22px;
  font-family: var(--font-comic);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--cream-ink);
  background: var(--gold);
  border: 2px solid var(--cream-ink);
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
  opacity: 0;
  transform: rotate(-3deg);
  transition: opacity 0.15s ease;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; }
.cursor.is-hover .cursor__label { opacity: 1; }
.websplat {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  width: 90px; height: 90px;
  margin: -45px 0 0 -45px;
  color: var(--ink);
}
.websplat svg { width: 100%; height: 100%; }
@media (hover: none) { .cursor, .cursor * { display: none; } }

/* ============================================================
   HEADER — crest logo, nav, ADD BOT + daylight toggle
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4vw;
  background: linear-gradient(180deg, rgba(2, 5, 13, 0.9), transparent);
}
body.chai .header { background: linear-gradient(180deg, rgba(247, 240, 220, 0.92), transparent); }
.header__logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.header__logo-mark { display: grid; place-items: center; filter: drop-shadow(0 0 10px var(--red)); }
.header__nav { display: flex; gap: 20px; align-items: center; }
.header__nav a {
  font-family: var(--font-comic);
  font-size: 18px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
}
.header__cta {
  background: var(--red);
  color: var(--paper) !important;
  padding: 6px 16px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.header__cta:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.header__toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--ghost);
  color: var(--ink);
  font-size: 19px;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease;
}
.header__toggle:hover { transform: rotate(18deg); }
@media (max-width: 900px) {
  .header__nav a:not(.header__cta) { display: none; }
}
@media (max-width: 520px) {
  .header__nav { gap: 10px; }
  .header__nav a { font-size: 16px; padding: 5px 10px; }
}

/* ============================================================
   HERO — split: title wall + rotating crest seal
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 6vw 80px;
  background: var(--paper);
}
.hero__halftone {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  pointer-events: none;
}
.hero__speedlines {
  position: absolute;
  inset: -10% 0;
  background: repeating-linear-gradient(112deg,
    transparent 0 26px,
    rgba(255, 255, 255, 0.035) 26px 30px,
    transparent 30px 44px,
    rgba(255, 49, 49, 0.05) 44px 46px);
  pointer-events: none;
  transform: scaleX(-1);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.hero__kicker {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.24em;
  font-size: clamp(10px, 1.3vw, 13px);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hero__kicker span {
  background: var(--red);
  color: var(--paper);
  padding: 4px 12px;
  border-radius: 4px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(66px, 12.5vw, 168px);
  line-height: 0.9;
  text-transform: uppercase;
}
.hero__line { display: block; overflow: hidden; }
.hero__word { display: inline-block; will-change: transform; }
.hero__word--fill {
  background-image: radial-gradient(circle, var(--red) 2px, transparent 2.4px);
  background-size: 24px 24px;
  background-position: 50% 30%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.hero__word--outline {
  color: transparent;
  -webkit-text-stroke: 3px var(--ink);
}
.hero__sub {
  margin-top: 24px;
  font-size: clamp(16px, 1.9vw, 21px);
  font-weight: 500;
  max-width: 30ch;
}
.hero__sub em { font-style: normal; color: var(--red); }
.hero__ctas {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__chips {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__chip {
  font-family: var(--font-comic);
  font-size: 15px;
  letter-spacing: 0.06em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 14px;
  background: var(--ghost);
  box-shadow: 2px 2px 0 var(--ink);
}
/* crest seal */
.seal { position: relative; display: grid; place-items: center; }
.seal__rays {
  position: absolute;
  inset: -38%;
  background: repeating-conic-gradient(from 0deg,
    rgba(255, 215, 0, 0.14) 0deg 9deg,
    transparent 9deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 55%, transparent 70%);
  mask: radial-gradient(circle, #000 55%, transparent 70%);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.seal__crest {
  position: relative;
  width: clamp(220px, 24vw, 340px);
  filter: drop-shadow(0 0 34px rgba(255, 49, 49, 0.45));
  animation: hoverSeal 5s ease-in-out infinite;
}
.seal__ring {
  position: absolute;
  inset: -8%;
  border: 3px dashed var(--ink);
  border-radius: 50%;
  animation: spin 18s linear infinite reverse;
  opacity: 0.6;
}
.seal__chip {
  position: absolute;
  font-size: clamp(26px, 3.2vw, 40px);
  animation: hoverSeal 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}
.seal__chip--1 { top: -2%; left: 8%; animation-delay: 0.2s; }
.seal__chip--2 { top: 14%; right: 0; animation-delay: 1s; }
.seal__chip--3 { bottom: 6%; left: 2%; animation-delay: 1.8s; }
.seal__chip--4 { bottom: -4%; right: 10%; animation-delay: 2.6s; }
.seal__banner {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  font-family: var(--font-comic);
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 0.14em;
  background: var(--gold);
  color: var(--cream-ink);
  border: 3px solid var(--cream-ink);
  border-radius: 8px;
  padding: 5px 16px;
  box-shadow: 3px 3px 0 var(--cream-ink);
  white-space: nowrap;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hoverSeal {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

/* shared comic buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 4px solid var(--ink);
  border-radius: 12px;
  padding: 13px 26px;
  font-size: clamp(15px, 1.6vw, 19px);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn--red { background: var(--red); color: var(--paper); }
.btn--ghost { background: var(--ghost); color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--cream-ink); }

/* ============================================================
   MARQUEES
   ============================================================ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  user-select: none;
  position: relative;
  z-index: 3;
}
.marquee--red {
  background: var(--red);
  color: var(--paper);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  transform: rotate(-1.1deg) scale(1.03);
}
.marquee--ink {
  background: var(--ink);
  color: var(--paper);
  border-top: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
  transform: rotate(1.1deg) scale(1.03);
}
.marquee__track { display: inline-flex; }
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(19px, 3.2vw, 38px);
  letter-spacing: 0.05em;
  padding-right: 0.5em;
}

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */
.section {
  position: relative;
  padding: 9vh 6vw;
  overflow: hidden;
}
.section__head { text-align: center; margin-bottom: 7vh; }
.section__tag {
  display: inline-block;
  font-family: var(--font-comic);
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 4px 14px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 96px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-top: 16px;
}
.section__title .grad {
  background: linear-gradient(90deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__lead {
  font-family: var(--font-hand);
  font-size: clamp(15px, 2vw, 19px);
  margin-top: 12px;
  opacity: 0.85;
}

/* ============================================================
   STAT JUMBO — big split numbers on a comic plaque
   ============================================================ */
.jumbo { background: var(--paper-dark); position: relative; }
.jumbo .halftone-plaque {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--ink) 1.3px, transparent 1.4px);
  background-size: 14px 14px;
  opacity: 0.07;
  pointer-events: none;
}
.jumbo__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  border: 5px solid var(--ink);
  border-radius: 18px;
  background: var(--ghost);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
}
.jumbo__cell {
  padding: 44px 26px;
  text-align: center;
  position: relative;
}
.jumbo__cell + .jumbo__cell::before {
  content: "";
  position: absolute;
  left: 0; top: 14%; bottom: 14%;
  width: 3px;
  background: var(--ink);
  opacity: 0.5;
  transform: rotate(8deg);
}
.jumbo__num {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1;
  color: var(--red);
  display: block;
  text-shadow: 3px 3px 0 var(--ink);
}
.jumbo__label {
  font-family: var(--font-comic);
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-top: 8px;
}
@media (max-width: 800px) {
  .jumbo__grid { grid-template-columns: 1fr 1fr; }
  .jumbo__cell + .jumbo__cell::before { display: none; }
}

/* ============================================================
   ARSENAL — the 12 categories as collectible cards
   ============================================================ */
.arsenal { background: var(--paper); position: relative; z-index: 1; }
.arsenal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
  max-width: 1240px;
  margin: 0 auto;
}
.cat-card {
  position: relative;
  background: var(--ghost);
  border: 4px solid var(--ink);
  border-radius: 14px;
  padding: 20px 18px 18px;
  box-shadow: 7px 7px 0 var(--ink);
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}
.cat-card:nth-child(even) { transform: rotate(1.1deg); }
.cat-card:nth-child(odd) { transform: rotate(-0.9deg); }
.cat-card:nth-child(3n) { transform: rotate(0.6deg); }
.cat-card:hover { transform: rotate(0deg) translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.cat-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-card__num {
  position: absolute;
  top: -13px; right: 14px;
  font-family: var(--font-comic);
  font-size: 17px;
  background: var(--gold);
  color: var(--cream-ink);
  border: 3px solid var(--cream-ink);
  border-radius: 8px;
  padding: 1px 9px;
  box-shadow: 2px 2px 0 var(--cream-ink);
}
.cat-card__emoji {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-size: 30px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-dark);
  box-shadow: 3px 3px 0 var(--ink);
  flex: none;
}
.cat-card__name { font-family: var(--font-display); font-size: 25px; line-height: 1; text-transform: uppercase; }
.cat-card__count {
  font-family: var(--font-comic);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--red);
}
.cat-card__flags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cmd-chip {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper-dark);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 3px 8px;
  box-shadow: 2px 2px 0 var(--ink);
}
.arsenal__note {
  margin-top: 6vh;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 18px;
}
.arsenal__note a {
  font-family: var(--font-display);
  text-decoration: none;
  border-bottom: 3px solid var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   SHOWCASE — Discord-style embeds, zig-zag rows
   ============================================================ */
.showcase { background: var(--paper-dark); position: relative; }
.showcase__rows { display: grid; gap: 12vh; max-width: 1180px; margin: 0 auto; }
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.showcase-row--flip .showcase-row__talk { order: 2; }
.showcase-row__talk .sec-num {
  font-family: var(--font-comic);
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--red);
}
.showcase-row__talk h3 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 10px 0 14px;
}
.showcase-row__talk p { font-size: 16.5px; line-height: 1.55; opacity: 0.9; max-width: 44ch; }
.showcase-row__talk ul { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.showcase-row__talk li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-family: var(--font-hand);
  font-size: 16.5px;
}
.showcase-row__talk li::before { content: "⚡"; color: var(--red); }

/* Discord mock window */
.discord {
  background: #0b0f16;
  border: 4px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 9px 9px 0 var(--ink);
  transform: rotate(-1deg);
}
.discord__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #131a24;
  border-bottom: 3px solid var(--ink);
}
.discord__dot { width: 12px; height: 12px; border-radius: 50%; }
.discord__dot:nth-child(1) { background: #ff5f57; }
.discord__dot:nth-child(2) { background: #febc2e; }
.discord__dot:nth-child(3) { background: #28c840; }
.discord__title {
  margin-left: 8px;
  font-size: 12px;
  color: #93a1b5;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}
.discord__body { padding: 16px 16px 18px; background: var(--paper); }
.d-msg { display: flex; gap: 12px; align-items: flex-start; }
.d-avatar {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  background: var(--ghost);
  border: 2px solid var(--ink);
}
.d-msg__author { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.d-msg__author .bot {
  font-size: 10px;
  font-weight: 700;
  background: var(--blurple);
  color: #fff;
  border-radius: 4px;
  padding: 1px 5px;
  letter-spacing: 0.05em;
}
.d-msg__cmd { font-family: "JetBrains Mono", monospace; font-size: 13.5px; color: var(--ink); opacity: 0.85; }
/* embed */
.embed {
  margin-top: 8px;
  background: var(--ghost);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  position: relative;
  font-size: 13.5px;
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}
.embed::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  border-radius: 8px 0 0 8px;
  background: var(--embed-color, var(--red));
}
.embed__title { font-weight: 700; font-size: 15px; }
.embed__row { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.embed__row b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.embed__row span { font-size: 13.5px; }
.embed__foot { margin-top: 8px; font-size: 11.5px; opacity: 0.6; }
.embed--gold::before { --embed-color: #ffd700; }
.embed--islam::before { --embed-color: #00ff88; }

/* ============================================================
   GUILD CHATTER — live feed panel
   ============================================================ */
.feed-section { background: var(--paper); position: relative; }
.feed-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--ink) 1.3px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0.05;
}
.feed-panel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: #0a0e15;
  border: 4px solid var(--ink);
  border-radius: 16px;
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
}
body.chai .feed-panel { background: #101828; }
.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  background: var(--red);
  color: var(--paper);
  border-bottom: 4px solid var(--ink);
  flex-wrap: wrap;
}
.feed-head__name { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.08em; display: flex; gap: 10px; align-items: center; }
.feed-head__chan { opacity: 0.75; font-family: var(--font-comic); font-size: 14px; letter-spacing: 0.1em; }
.feed-head__online {
  display: flex;
  gap: 7px;
  align-items: center;
  font-family: var(--font-comic);
  font-size: 14px;
  letter-spacing: 0.1em;
}
.ping-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.6);
  animation: ping 1.6s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.55); }
  100% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
}
.feed-body { padding: 12px 18px 16px; min-height: 280px; }
.feed-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  padding: 4px 0;
  opacity: 0;
  transform: translateY(8px);
  color: #b9f0cf;
  animation: feedIn 0.45s ease forwards;
}
body.chai .feed-line { color: #0f5132; }
.feed-line b { color: var(--gold); font-weight: 700; }
body.chai .feed-line b { color: #b8860b; }
.feed-line .t { color: #6b7a92; flex: none; }
.feed-line.new { color: var(--green); }
@keyframes feedIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PREMIUM GOLD band
   ============================================================ */
.premium {
  background:
    repeating-linear-gradient(-45deg,
      var(--paper) 0 18px,
      var(--paper-dark) 18px 36px);
  position: relative;
  text-align: center;
}
.premium__box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--gold);
  color: var(--cream-ink);
  border: 5px solid var(--cream-ink);
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--cream-ink);
  padding: 46px 30px;
  transform: rotate(-0.6deg);
  position: relative;
}
.premium__box::before {
  content: "👑";
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
  font-size: 54px;
  filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, 0.3));
}
.premium__tag {
  font-family: var(--font-comic);
  font-size: 20px;
  letter-spacing: 0.22em;
}
.premium__title { font-family: var(--font-display); font-size: clamp(38px, 7vw, 78px); line-height: 0.95; text-transform: uppercase; margin-top: 8px; }
.premium__lead {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(14px, 1.8vw, 17px);
  max-width: 52ch;
  margin: 12px auto 0;
  line-height: 1.5;
}
.premium__prices {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.price-chip {
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--cream-ink);
  border-radius: 12px;
  padding: 10px 20px;
  box-shadow: 4px 4px 0 var(--cream-ink);
  min-width: 150px;
}
.price-chip b { font-family: var(--font-display); font-size: 26px; display: block; }
.price-chip span { font-family: var(--font-comic); font-size: 14px; letter-spacing: 0.1em; }
.premium__fine {
  margin-top: 18px;
  font-family: var(--font-hand);
  font-size: 16px;
}
.premium__soon {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--paper);
  border: 3px solid var(--cream-ink);
  border-radius: 999px;
  padding: 7px 22px;
  box-shadow: 3px 3px 0 var(--cream-ink);
}

/* ============================================================
   FINAL CTA — up, up & away
   ============================================================ */
.away { text-align: center; background: var(--paper-dark); position: relative; }
.away__halo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(70vw, 700px);
  height: min(70vw, 700px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 49, 49, 0.16), transparent 65%);
  pointer-events: none;
}
.away__crest { width: clamp(90px, 9vw, 140px); margin: 0 auto 8px; filter: drop-shadow(0 0 26px var(--red)); }
.away__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 11vw, 150px);
  line-height: 0.9;
  text-transform: uppercase;
}
.away__title .small {
  font-size: 0.42em;
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.away__lead {
  font-family: var(--font-hand);
  font-size: clamp(15px, 2vw, 20px);
  margin: 18px auto 0;
  max-width: 46ch;
}
.away__btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.away__mini {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.away__mini a {
  font-family: var(--font-comic);
  font-size: 17px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 3px solid var(--red);
  padding-bottom: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 5px solid var(--ink);
  padding: 7vh 6vw 4vh;
  background: var(--paper);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand-name { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.05em; }
.footer__blurb { margin-top: 14px; font-size: 14.5px; line-height: 1.6; opacity: 0.85; max-width: 40ch; }
.footer h4 {
  font-family: var(--font-comic);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a {
  text-decoration: none;
  font-size: 14.5px;
  opacity: 0.85;
  border-bottom: 2px solid transparent;
}
.footer ul a:hover { border-bottom-color: var(--red); opacity: 1; }
.footer__socials { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.footer__socials a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  font-size: 17px;
  text-decoration: none;
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--ghost);
}
.footer__socials a:hover { transform: translate(-2px, -2px); }
.footer__stamp {
  margin-top: 6vh;
  padding-top: 22px;
  border-top: 3px solid var(--ink);
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PIP — the hero assistant
   ============================================================ */
.pip-fab {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid var(--ink);
  background: var(--red);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}
.pip-fab:hover { transform: translateY(-3px) rotate(-4deg); }
.pip-fab svg { width: 32px; height: 32px; }
.pip-fab__ping {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  animation: pingRing 1.6s ease-out infinite;
}
@keyframes pingRing {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.pip-hello {
  position: fixed;
  bottom: 94px;
  left: 26px;
  z-index: 199;
  background: var(--ghost);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 9px 13px;
  font-family: var(--font-hand);
  font-size: 14.5px;
  max-width: 250px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-2deg);
}
.pip {
  position: fixed;
  bottom: 94px;
  left: 22px;
  z-index: 210;
  width: min(360px, calc(100vw - 44px));
  background: var(--ghost);
  border: 4px solid var(--ink);
  border-radius: 16px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
  text-align: left;
}
.pip__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  background: var(--red);
  color: var(--paper);
  border-bottom: 4px solid var(--ink);
}
.pip__title { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.08em; }
.pip__role { font-family: var(--font-comic); font-size: 13px; letter-spacing: 0.12em; opacity: 0.92; }
.pip__close {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 8px;
  width: 30px; height: 30px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}
.pip__log {
  height: 220px;
  overflow-y: auto;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
}
.pip__msg {
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-size: 13.8px;
  line-height: 1.45;
}
.pip__msg--bot { background: var(--paper-dark); align-self: flex-start; border-bottom-left-radius: 3px; }
.pip__msg--user { background: var(--red); color: var(--paper); align-self: flex-end; border-bottom-right-radius: 3px; }
.pip__msg p + p { margin-top: 6px; }
.pip__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 13px;
  border-top: 3px solid var(--ink);
}
.pip__chips button {
  font-family: var(--font-comic);
  font-size: 13px;
  letter-spacing: 0.06em;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  color: var(--ink);
}
.pip__chips button:hover { background: var(--gold); color: var(--cream-ink); }
.pip__form {
  display: flex;
  gap: 8px;
  padding: 11px 13px;
  border-top: 3px solid var(--ink);
  background: var(--paper-dark);
}
.pip__input {
  flex: 1;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
}
.pip__input:focus { outline: none; border-color: var(--red); }
.pip__send {
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 10px;
  width: 42px;
  cursor: pointer;
  color: var(--paper);
  display: grid;
  place-items: center;
}
.pip__send svg { width: 17px; height: 17px; }

/* ============================================================
   RESPONSIVE + REDUCED MOTION
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__ctas, .hero__chips { justify-content: center; }
  .seal { margin-top: 30px; }
  .showcase-row { grid-template-columns: 1fr; gap: 30px; }
  .showcase-row--flip .showcase-row__talk { order: 0; }
  .hero { padding-top: 110px; }
}
@media (max-width: 640px) {
  .section { padding: 8vh 5vw; }
  .jumbo__cell { padding: 30px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}