@import url("fonts.css");
/* ==========================================================================
   SNELLHEID INDUSTRIES™ — Corporate Identity Stylesheet v14.2 (post-reorg)
   ========================================================================== */

:root {
  /* sampled straight from the official logo */
  --teal: #3db0ad;
  --teal-2: #7fd8d4;
  --peach: #fab993;
  --peach-2: #ffd9c2;
  --black: #0a1a1a;
  --bg: #0c3534;
  --bg-2: #124746;
  --bg-3: #1b6664;
  --ink: #fff6ef;
  --hot: #ff3d7f;
  --volt: #ffe14d;
  --up: #46f28a;
  --down: #ff5c5c;
  --shadow: 6px 6px 0 var(--black);
  --radius: 14px;
  --display: "Squada One", "Impact", "Arial Narrow", sans-serif;
  --body: "Montserrat", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(-45deg, transparent 0 38px, rgba(61, 176, 173, .06) 38px 40px),
    radial-gradient(circle at 20% 0%, var(--bg-3), transparent 50%);
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
#site-header { position: sticky; top: 0; z-index: 50; }
img, svg, canvas { max-width: 100%; }
a { color: var(--peach); }
a:hover { color: var(--peach-2); }
::selection { background: var(--hot); color: #fff; }

/* ---- Language switching: both languages live in the markup ------------- */
html[data-lang="en"] [data-l="nl"],
html[data-lang="nl"] [data-l="en"] { display: none !important; }

/* ---- Typography --------------------------------------------------------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--peach);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(3rem, 10vw, 8rem); text-shadow: 4px 4px 0 var(--black), 8px 8px 0 var(--hot); }
h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); text-shadow: 3px 3px 0 var(--black); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 60ch; }
.mono { font-family: var(--mono); }
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  background: var(--hot);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 1rem;
  transform: rotate(-2deg);
}
.fine { font-size: .78rem; opacity: .75; }
.tm { font-size: .5em; vertical-align: super; }

/* ---- Layout ------------------------------------------------------------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
section { padding: clamp(48px, 8vw, 96px) 0; position: relative; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.band-peach { background: var(--peach); color: var(--black); }
.band-peach h2, .band-peach h3 { color: var(--black); text-shadow: 3px 3px 0 var(--hot); }
.band-peach a { color: var(--black); }
.band-hot { background: var(--hot); color: #fff; }
.band-teal { background: var(--teal); color: var(--black); }
.band-teal h2, .band-teal h3 { color: var(--black); text-shadow: 3px 3px 0 var(--peach); }
.band-teal a { color: var(--black); }
.band-teal .card { background: #e9fbfa; color: var(--black); border-color: var(--black); }
.band-hot h2, .band-hot h3 { color: #fff; text-shadow: 3px 3px 0 var(--black); }
.band-dark { background: var(--black); }

/* zig-zag edge between bands */
.zig { position: relative; }
.zig::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -15px; height: 16px;
  background: inherit;
  -webkit-mask: conic-gradient(from -45deg at bottom, #000 90deg, transparent 0) 50% / 30px 100%;
          mask: conic-gradient(from -45deg at bottom, #000 90deg, transparent 0) 50% / 30px 100%;
}

/* ---- Cards & stickers --------------------------------------------------- */
.card {
  background: var(--bg-2);
  border: 3px solid var(--peach);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.card:hover { transform: rotate(-.6deg) translateY(-4px); }
.card.tilt-l { transform: rotate(-1.2deg); }
.card.tilt-r { transform: rotate(1.2deg); }
.card.tilt-l:hover, .card.tilt-r:hover { transform: rotate(0) translateY(-4px); }
.band-peach .card { background: #fff1e8; color: var(--black); border-color: var(--black); }
.card h3 { margin-top: 0; }

.sticker {
  position: absolute;
  display: grid; place-items: center;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--hot);
  color: #fff;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1;
  text-align: center;
  padding: 14px;
  border: 3px dashed #fff;
  box-shadow: 0 0 0 4px var(--hot), var(--shadow);
  animation: wobble 4s ease-in-out infinite;
  z-index: 2;
}
.sticker.peach { background: var(--peach); color: var(--black); border-color: var(--black); box-shadow: 0 0 0 4px var(--peach), var(--shadow); }
@keyframes wobble { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(8deg) scale(1.06); } }

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--black);
  color: var(--peach);
  border: 1px solid var(--peach);
}
.badge.hot { background: var(--hot); color: #fff; border-color: #fff; }

/* ---- Buttons & forms ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--display);
  font-size: 1rem;
  text-decoration: none;
  color: var(--black);
  background: var(--peach);
  border: 3px solid var(--black);
  border-radius: 12px;
  padding: 12px 22px;
  box-shadow: 5px 5px 0 var(--black);
  cursor: pointer;
  transition: transform .08s, box-shadow .08s, background .2s;
  margin: 6px 8px 6px 0;
}
.btn:hover { background: var(--peach-2); color: var(--black); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--black); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--black); }
.btn.hot { background: var(--hot); color: #fff; }
.btn.ghost { background: transparent; color: var(--peach); border-color: var(--peach); box-shadow: 5px 5px 0 var(--peach); }
.btn.ghost:hover { background: var(--bg-2); color: var(--peach-2); }
.btn.small { font-size: .8rem; padding: 8px 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }

input, select, textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 3px solid var(--black);
  background: #fff1e8;
  color: var(--black);
}
label { font-weight: 700; display: block; margin-bottom: 6px; }
.field { margin-bottom: 16px; }

/* ---- Ticker ------------------------------------------------------------- */
.ticker {
  background: var(--black);
  border-bottom: 2px solid var(--peach);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: .82rem;
  position: relative;
  z-index: 60;
}
.ticker-track { display: inline-flex; gap: 32px; padding: 6px 0; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick b { color: var(--peach); margin-right: 6px; }
.tick .up { color: var(--up); }
.tick .down { color: var(--down); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: relative;
  background: rgba(12, 53, 52, .94);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--peach);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--peach); }
.logo img { width: 64px; height: auto; transition: transform .3s; }
.logo:hover img { transform: translateX(6px) rotate(-6deg); }
.logo-word { font-family: var(--display); font-size: 1.6rem; line-height: .85; color: var(--teal); text-shadow: 2px 2px 0 var(--black); }
.logo-word small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .32em; color: var(--ink); }
.site-nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap;
}
.site-nav a:hover { background: var(--bg-2); color: var(--peach); }
.site-nav a[aria-current="page"] { background: var(--peach); color: var(--black); }
.lang-toggle {
  font-family: var(--mono); font-weight: 700;
  background: var(--black); color: var(--ink);
  border: 2px solid var(--peach); border-radius: 999px;
  padding: 6px 4px; cursor: pointer; display: inline-flex; gap: 2px;
}
.lang-toggle span { padding: 2px 8px; border-radius: 999px; }
html[data-lang="en"] .lang-toggle .en, html[data-lang="nl"] .lang-toggle .nl { background: var(--peach); color: var(--black); }
.nav-toggle { display: none; background: none; border: 2px solid var(--peach); color: var(--peach); border-radius: 8px; font-size: 1.3rem; padding: 4px 10px; cursor: pointer; }

@media (max-width: 1120px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--black); border-bottom: 3px solid var(--peach);
    padding: 12px 16px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; font-size: 1.05rem; }
  .lang-toggle { align-self: flex-start; margin-top: 8px; }
  .logo-word { font-size: 1rem; }
  .logo img { width: 52px; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero { padding-top: clamp(40px, 7vw, 90px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6.4rem); overflow-wrap: anywhere; }
.hero-art { position: relative; max-width: 520px; justify-self: center; width: 100%; }
.hero-art img { width: 100%; filter: drop-shadow(10px 10px 0 var(--black)); animation: hover 3s ease-in-out infinite; }
.hero-art .sticker { top: -10px; right: 0; }
@keyframes hover { 0%, 100% { transform: translate(0, 0) rotate(-2deg); } 50% { transform: translate(8px, -14px) rotate(2deg); } }
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .sticker { width: 100px; height: 100px; font-size: .95rem; }
}
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.page-hero h1 { font-size: clamp(2.2rem, 7vw, 5rem); }

/* ---- Marquee band ------------------------------------------------------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  background: var(--hot); color: #fff;
  font-family: var(--display); font-size: clamp(1.2rem, 3vw, 2rem);
  border-block: 4px solid var(--black);
  transform: rotate(-1.5deg);
  margin: 0 -20px;
  padding: 10px 0;
  position: relative; z-index: 3;
}
.marquee.peach { background: var(--peach); color: var(--black); transform: rotate(1deg); }
.marquee-track { display: inline-block; animation: marquee 25s linear infinite; }
.marquee-track span { margin: 0 .6em; }

/* ---- Stats -------------------------------------------------------------- */
.stat { text-align: center; }
.stat .num { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.4rem); color: var(--peach); display: block; line-height: 1; text-shadow: 3px 3px 0 var(--black); }
.band-peach .stat .num { color: var(--black); text-shadow: 3px 3px 0 var(--hot); }
.stat .label { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---- Quote (Dirk) ------------------------------------------------------- */
.dirk-quote {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  line-height: 1.1;
  color: var(--peach);
  min-height: 2.4em;
  margin: 0;
}
.dirk-quote::before { content: "“"; color: var(--hot); }
.dirk-quote::after { content: "”"; color: var(--hot); }
.speech {
  position: relative; background: #fff; color: var(--black);
  border: 3px solid var(--black); border-radius: 18px; padding: 16px 20px;
  box-shadow: var(--shadow); font-weight: 700;
}
.speech::after {
  content: ""; position: absolute; left: 28px; bottom: -18px;
  border: 10px solid transparent; border-top-color: var(--black); border-left-color: var(--black);
}

/* ---- Timeline ----------------------------------------------------------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 6px; background: repeating-linear-gradient(var(--peach) 0 14px, transparent 14px 24px); }
.timeline li { position: relative; padding: 0 0 32px 72px; }
.timeline .yr {
  position: absolute; left: 0; top: 0;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--hot); color: #fff; font-family: var(--display); font-size: .7rem;
  border: 3px solid var(--black);
}
.timeline h3 { margin-bottom: .25em; }

/* ---- People ------------------------------------------------------------- */
.person { text-align: center; }
.person .avatar { width: 160px; height: 160px; margin: -8px auto 12px; display: block; border-radius: 50%; background: var(--peach); border: 4px solid var(--black); box-shadow: var(--shadow); }
.person .title { font-family: var(--mono); font-size: .8rem; color: var(--peach); text-transform: uppercase; letter-spacing: .08em; }
.person .acr { position: absolute; top: 12px; right: 12px; }
.person blockquote { margin: 12px 0 0; font-style: italic; opacity: .9; }
.orgchart-wrap { overflow-x: auto; background: #fff1e8; border: 3px solid var(--black); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; }
.orgchart-wrap svg { min-width: 760px; width: 100%; height: auto; display: block; }

/* ---- Products ----------------------------------------------------------- */
.product { display: flex; flex-direction: column; }
.product .icon { font-size: 3rem; line-height: 1; margin-bottom: 12px; display: inline-block; }
.product:hover .icon { animation: spin .6s ease; }
.product .price { font-family: var(--display); color: var(--peach); font-size: 1.4rem; margin-top: auto; padding-top: 12px; }
.product ul { padding-left: 1.1em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Investor chart ----------------------------------------------------- */
.chart-card { background: var(--black); }
.chart-card svg { width: 100%; height: auto; display: block; }
.seg { display: inline-flex; border: 2px solid var(--peach); border-radius: 10px; overflow: hidden; }
.seg button { background: none; border: 0; color: var(--peach); font-family: var(--mono); font-weight: 700; padding: 6px 12px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--peach); color: var(--black); }
.transcript p { margin-bottom: .7em; }
.transcript b { font-family: var(--mono); color: var(--peach); }
.band-peach .transcript b { color: var(--hot); }
.risk { columns: 2 280px; column-gap: 32px; font-size: .9rem; }
.risk li { break-inside: avoid; margin-bottom: .6em; }

/* ---- Accordion (jobs) --------------------------------------------------- */
details.job { background: var(--bg-2); border: 3px solid var(--peach); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; }
details.job summary { cursor: pointer; padding: 18px 22px; list-style: none; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
details.job summary::-webkit-details-marker { display: none; }
details.job summary h3 { margin: 0; flex: 1 1 260px; }
details.job summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; color: var(--peach); transition: transform .2s; }
details.job[open] summary::after { transform: rotate(45deg); }
details.job .job-body { padding: 0 22px 22px; }

/* ---- Modal -------------------------------------------------------------- */
.modal { position: fixed; inset: 0; background: rgba(10, 26, 26, .85); display: none; place-items: center; z-index: 200; padding: 16px; }
.modal.open { display: grid; }
.modal .card { max-width: 520px; width: 100%; background: var(--peach); color: var(--black); border-color: var(--black); max-height: 90vh; overflow: auto; }
.modal .card h2 { color: var(--black); text-shadow: 3px 3px 0 var(--hot); }
.modal .close { position: absolute; top: 10px; right: 12px; background: var(--black); color: var(--peach); border: 0; border-radius: 50%; width: 36px; height: 36px; font-size: 1.2rem; cursor: pointer; }
.runaway { position: relative; transition: transform .15s ease-out; }

/* ---- Toys: generic ------------------------------------------------------ */
.toy { background: var(--black); border: 4px solid var(--peach); border-radius: 20px; box-shadow: 10px 10px 0 var(--hot); padding: clamp(18px, 3vw, 32px); }
.toy-output {
  background: #fff1e8; color: var(--black); border: 3px dashed var(--black); border-radius: 12px;
  padding: 20px; min-height: 120px; font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 700; margin: 16px 0;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs button { font-family: var(--mono); font-weight: 700; background: var(--bg-2); color: var(--ink); border: 2px solid var(--peach); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--peach); color: var(--black); }

/* Meeting simulator */
.meeting { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.meeting .call-window { min-height: 480px; }
@media (max-width: 860px) { .meeting { grid-template-columns: 1fr; } }
.call-window { background: #1b1f24; border-radius: 14px; border: 3px solid var(--peach); overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
.call-bar { background: #2b3038; padding: 8px 12px; display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: .8rem; flex-wrap: wrap; }
.call-bar .rec { color: var(--down); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; }
.tile { aspect-ratio: 16/10; background: #2b3038; border-radius: 8px; display: grid; place-items: center; font-size: .72rem; font-family: var(--mono); position: relative; text-align: center; padding: 4px; border: 2px solid transparent; }
.tile.speaking { border-color: var(--up); }
.tile .ini { font-family: var(--display); font-size: 1.4rem; color: var(--peach); display: block; }
.tile .muted { position: absolute; bottom: 4px; right: 6px; }
.chat { flex: 1; overflow-y: auto; padding: 10px 12px; font-size: .92rem; max-height: 220px; }
.chat p { margin: 0 0 .5em; }
.chat b { color: var(--peach); }
.choices { padding: 10px; background: #2b3038; min-height: 64px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.choices .prompt { width: 100%; font-weight: 700; color: var(--peach); }
.meters { display: grid; gap: 10px; margin-bottom: 14px; }
.meter { height: 18px; background: var(--bg-2); border: 2px solid var(--peach); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--up); transition: width .3s, background .3s; }
.bingo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bingo button {
  min-height: 64px; font: 700 clamp(.62rem, 1.4vw, .8rem)/1.1 var(--body); padding: 4px;
  background: #fff1e8; color: var(--black); border: 2px solid var(--black); border-radius: 8px; cursor: pointer;
  overflow-wrap: break-word; hyphens: auto;
}
.bingo button.heard { background: var(--peach-2); box-shadow: inset 0 0 0 3px var(--hot); }
.bingo button.marked { background: var(--hot); color: #fff; }

/* Flappy */
.game-frame { position: relative; max-width: 480px; margin: 0 auto; border: 4px solid var(--peach); border-radius: 16px; overflow: hidden; box-shadow: 10px 10px 0 var(--hot); background: #0d5c40; touch-action: manipulation; }
.game-frame canvas { display: block; width: 100%; height: auto; cursor: pointer; }

/* Performance review certificate */
.review-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }
.review-doc { background: #fffdf2; color: #222; border-radius: 6px; padding: 28px; font-family: Georgia, serif; box-shadow: var(--shadow); border: 1px solid #ccc; position: relative; }
.review-doc h3 { font-family: var(--display); color: var(--bg); text-shadow: none; }
.review-doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-family: var(--body); font-size: .9rem; }
.review-doc td { border-bottom: 1px dashed #bbb; padding: 6px 4px; vertical-align: top; }
.review-doc td:last-child { text-align: right; font-weight: 700; }
.review-doc .stamp { position: absolute; right: 16px; top: 16px; transform: rotate(12deg); border: 4px solid var(--down); color: var(--down); font-family: var(--display); padding: 4px 10px; border-radius: 8px; opacity: .85; font-size: .9rem; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--black); border-top: 4px solid var(--peach); padding: 48px 0 32px; margin-top: 0; }
.site-footer .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer h4 { font-family: var(--display); color: var(--peach); margin: 0 0 10px; font-weight: 400; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--peach); }
.site-footer .legal { margin-top: 32px; padding-top: 20px; border-top: 1px dashed var(--bg-3); font-size: .78rem; opacity: .75; }

/* ---- Toasts, confetti, flyers ------------------------------------------ */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 300; display: grid; gap: 8px; max-width: min(360px, calc(100vw - 32px)); }
.toast {
  background: var(--black); border: 3px solid var(--peach); border-radius: 12px; padding: 12px 14px;
  box-shadow: 5px 5px 0 var(--hot); font-size: .9rem; animation: toastIn .35s cubic-bezier(.3, 1.6, .5, 1);
}
.toast b { color: var(--peach); font-family: var(--mono); }
.toast .up { color: var(--up); } .toast .down { color: var(--down); }
@keyframes toastIn { from { transform: translateX(120%) rotate(8deg); } }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 250; }
.flyer { position: fixed; z-index: 260; pointer-events: none; font-size: 64px; left: -200px; animation: fly 3s linear forwards; }
.flyer img { width: 180px; }
@keyframes fly { to { transform: translateX(calc(100vw + 400px)); } }
.shout {
  position: fixed; inset: 0; display: grid; place-items: center; z-index: 270; pointer-events: none;
  font-family: var(--display); font-size: clamp(2.5rem, 10vw, 8rem); color: var(--peach);
  text-shadow: 5px 5px 0 var(--hot), 10px 10px 0 var(--black); text-align: center; padding: 16px;
  animation: shout 1.8s ease forwards;
}
@keyframes shout { 0% { transform: scale(.2) rotate(-20deg); opacity: 0; } 20% { transform: scale(1.1) rotate(3deg); opacity: 1; } 80% { opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

/* Turbo mode (Konami) */
html.turbo body { animation: hue 3s linear infinite; }
html.turbo .card { animation: wobble 1.2s ease-in-out infinite; }
html.turbo h1, html.turbo h2 { animation: jitter .15s infinite; }
@keyframes hue { to { filter: hue-rotate(360deg); } }
@keyframes jitter { 50% { transform: translate(1px, -1px) rotate(-.5deg); } }
html.synergy main > * { animation: merge 1.4s ease-in-out; }
@keyframes merge { 50% { transform: scale(.85) skewX(8deg); filter: blur(1px); } }

/* ---- Portal ------------------------------------------------------------- */
.vault-door { max-width: 520px; margin: 0 auto; text-align: center; }
.vault-door .dial { font-size: 5rem; display: inline-block; transition: transform .6s; }
.vault-door.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }
[hidden] { display: none !important; }

/* ---- Utilities ---------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.spacer { flex: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .ticker-track, .marquee-track { animation: none !important; }
}

/* ---- Comparison table --------------------------------------------------- */
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 2px dashed rgba(10, 26, 26, .25); text-align: center; font-size: 1.05rem; }
.compare thead th { font-family: var(--display); font-weight: 400; font-size: 1.3rem; background: var(--black); color: var(--peach); }
.compare thead th:nth-child(2) { background: var(--hot); color: #fff; }
.compare tbody th { text-align: left; font-weight: 700; }
.compare td:nth-child(2) { background: rgba(255, 61, 127, .12); font-weight: 800; }
#soundboard { display: flex; flex-wrap: wrap; gap: 4px; }
#soundboard .btn { font-size: .85rem; }

/* ---- Leaderboard -------------------------------------------------------- */
.leaderboard ol { list-style: none; padding: 0; margin: 12px 0 0; counter-reset: none; }
.leaderboard li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-bottom: 1px dashed var(--bg-3); }
.leaderboard li:nth-child(-n+3) { font-weight: 800; }
.leaderboard li.me { background: rgba(255, 61, 127, .18); border-radius: 8px; }
.leaderboard .pos { width: 2em; text-align: center; }
.leaderboard .who { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard b { font-family: var(--display); font-size: 1.4rem; color: var(--peach); font-weight: 400; }
#lb-form { margin-top: 16px; max-width: 480px; margin-inline: auto; }
#lb-form input { flex: 1 1 180px; }

/* ---- Newsroom ----------------------------------------------------------- */
.feed { display: grid; gap: 24px; max-width: 680px; margin: 0 auto; }
.post { background: #fff6ef; color: var(--black); border-color: var(--black); }
.post:hover { transform: none; }
.post .fine { opacity: .7; }
.post-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; line-height: 1.3; }
.post-avatar svg { width: 56px; height: 56px; display: block; border-radius: 50%; border: 2px solid var(--black); }
.post-flag { margin-left: auto; flex: none; }
.post h3 { color: var(--black); text-shadow: none; margin-bottom: .4em; }
.post-body { white-space: pre-line; }
.post-body.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.post .more { background: none; border: 0; padding: 4px 0; color: var(--bg-3); font-weight: 700; cursor: pointer; }
.post-stats { border-bottom: 1px solid rgba(10, 26, 26, .15); padding: 10px 0; margin-top: 8px; }
.post-actions { display: flex; gap: 4px; flex-wrap: wrap; padding: 6px 0; }
.post-actions button { flex: 1; background: none; border: 0; border-radius: 8px; padding: 8px; font: 700 .9rem var(--body); color: var(--black); cursor: pointer; }
.post-actions button:hover { background: rgba(61, 176, 173, .15); }
.post-actions button.on { color: var(--hot); }
.post-source { margin: 8px 0 0; }
.post-source a { color: var(--bg-3); }
.post-share { background: none; border: 0; padding: 6px 0 0; font: 700 .9rem var(--body); color: var(--bg-3); cursor: pointer; }
.post-share:hover { color: var(--hot); }
.post.post-focus { box-shadow: 0 0 0 4px var(--hot), 10px 10px 0 var(--black); }
