/* =========================================================================
   LABNITY — Design system
   Aesthetic: light + playful · refined Neal.fun · curious workshop
   ========================================================================= */

:root {
  /* Color tokens — warm cream, ink, playful accents */
  --cream:    #F7F2E8;
  --cream-2:  #EFE8D6;
  --cream-3:  #E5DCC4;
  --paper:    #FBF7EE;
  --ink:      #1A1814;
  --ink-2:    #3D3830;
  --ink-3:    #6B6357;
  --ink-4:    #A39A88;
  --line:     #1A1814;
  --line-soft:#D9CFB8;

  /* Playful accent crayons — used sparingly, never together except as a set */
  --pop-red:    #E94B35;
  --pop-yellow: #FFC83D;
  --pop-blue:   #2E6BE6;
  --pop-green:  #1FA85C;
  --pop-pink:   #FF7AB6;
  --pop-purple: #6E4BD3;

  --hl-yellow: #FFE56B;
  --hl-green:  #B8F0CF;
  --hl-pink:   #FFC9DE;

  /* Type */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-hand:    "Caveat", "Comic Sans MS", cursive;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radii — slightly imperfect */
  --r-1: 6px; --r-2: 12px; --r-3: 18px; --r-4: 28px; --r-pill: 999px;

  /* Shadow style: hard offset, like a sticker on paper */
  --shadow-sticker: 4px 4px 0 var(--ink);
  --shadow-sticker-lg: 6px 6px 0 var(--ink);
  --shadow-soft: 0 14px 30px -16px rgba(26, 24, 20, 0.18);

  --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================================
   Reset
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--pop-yellow); color: var(--ink); }

/* Subtle paper texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Decorative dots in background corners */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(26,24,20,0.10) 1px, transparent 1.5px);
  background-size: 28px 28px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse at center, transparent 30%, black 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, black 75%);
  opacity: 0.5;
}

/* =========================================================================
   Container & utility
   ========================================================================= */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  position: relative;
  z-index: 1;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hand {
  font-family: var(--font-hand);
  font-weight: 500;
  color: var(--pop-blue);
  font-size: 1.4em;
  line-height: 1;
}

.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 7px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-1);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
  display: inline-block;
}

/* Highlight marker pen */
.hl { background: var(--hl-yellow); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-green { background: var(--hl-green); padding: 0 .12em; }
.hl-pink  { background: var(--hl-pink); padding: 0 .12em; }

/* =========================================================================
   Navigation
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--s-4) 0;
  background: rgba(247, 242, 232, 0);
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
  border-bottom: 1.5px solid transparent;
}
.nav.scrolled {
  background: rgba(247, 242, 232, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--ink);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.brand__logo {
  width: 38px; height: 38px;
  transition: transform 380ms var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-14deg) scale(1.08); }
.brand__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand__name em {
  font-style: italic;
  color: var(--pop-red);
  font-variation-settings: "SOFT" 100;
}

.nav__links {
  display: flex; align-items: center;
  gap: var(--s-5);
  list-style: none;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 200ms ease;
  position: relative;
  padding: 6px 0;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--pop-red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 280ms var(--ease);
  border-radius: 2px;
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 11px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--ink);
  transition: transform 180ms var(--ease), box-shadow 200ms ease, background 200ms ease;
}
.nav__cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--pop-red);
}

.nav__burger { display: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 140px 0 var(--s-9);
  overflow: hidden;
}

/* Stickers floating in hero background */
.sticker {
  position: absolute;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  padding: 10px 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sticker);
  background: var(--paper);
  z-index: 1;
  user-select: none;
  white-space: nowrap;
}
.sticker--1 { top: 14%; left: 4%;  background: var(--pop-yellow); transform: rotate(-9deg);  animation: bob 6s ease-in-out infinite; }
.sticker--2 { top: 22%; right: 6%; background: var(--hl-pink);    transform: rotate(7deg);   animation: bob 5.5s ease-in-out infinite reverse; animation-delay: -1.2s; }
.sticker--3 { bottom: 12%; left: 8%; background: var(--hl-green); transform: rotate(-4deg);  animation: bob 6.8s ease-in-out infinite; animation-delay: -2.4s; }
.sticker--4 { bottom: 22%; right: 4%; background: var(--paper);   transform: rotate(11deg);  animation: bob 5.2s ease-in-out infinite reverse; animation-delay: -3s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -9deg)); }
  50%      { transform: translateY(-8px) rotate(calc(var(--rot, -9deg) + 2deg)); }
}
.sticker--1 { --rot: -9deg; }
.sticker--2 { --rot:  7deg; }
.sticker--3 { --rot: -4deg; }
.sticker--4 { --rot: 11deg; }

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 14px 6px 8px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--s-5);
  opacity: 0;
  animation: rise 700ms ease-out 100ms forwards;
  box-shadow: 3px 3px 0 var(--ink);
}
.hero__tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pop-red);
  box-shadow: 0 0 0 0 rgba(233, 75, 53, 0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(233, 75, 53, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(233, 75, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 75, 53, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  font-size: clamp(48px, 9vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 800ms var(--ease) forwards;
}
.hero h1 .line:nth-child(1) { animation-delay: 180ms; }
.hero h1 .line:nth-child(2) { animation-delay: 300ms; }
.hero h1 .line:nth-child(3) { animation-delay: 420ms; }

.hero h1 em {
  font-style: italic;
  color: var(--pop-red);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  display: inline-block;
  position: relative;
}
.hero h1 em.scribble::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%; bottom: -6px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' fill='none'><path d='M2 9 Q 30 2, 60 8 T 120 8 T 198 6' stroke='%23FFC83D' stroke-width='5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero__lede {
  margin: var(--s-5) auto 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 58ch;
  opacity: 0;
  animation: rise 800ms ease-out 560ms forwards;
}

.hero__cta-row {
  margin-top: var(--s-7);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: var(--s-4);
  opacity: 0;
  animation: rise 800ms ease-out 700ms forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--ink);
  transition: transform 180ms var(--ease), box-shadow 200ms ease, background 200ms ease;
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn--primary {
  background: var(--pop-red);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn--primary:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--ink);
}
.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--ghost:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--pop-yellow);
  background: var(--pop-yellow);
}
.btn--ghost:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--ink);
}

.btn .arrow {
  display: inline-block;
  transition: transform 240ms var(--ease);
}
.btn:hover .arrow { transform: translateX(4px) rotate(-2deg); }

/* Hint line */
.hero__hint {
  margin-top: var(--s-6);
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  opacity: 0;
  animation: rise 800ms ease-out 900ms forwards;
}

/* Big silly flask illustration below CTAs */
.hero__flask {
  margin: var(--s-8) auto 0;
  width: 180px;
  opacity: 0;
  animation: rise 1000ms ease-out 800ms forwards;
}
.hero__flask svg { width: 100%; height: auto; filter: drop-shadow(6px 6px 0 var(--ink)); }
.flask__liquid { animation: slosh 4s ease-in-out infinite; transform-origin: center 75%; }
@keyframes slosh {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}
.flask__bubble { opacity: 0.85; }
.bubble-1 { animation: bub 3.2s ease-in infinite; }
.bubble-2 { animation: bub 3.2s ease-in 1.0s infinite; }
.bubble-3 { animation: bub 3.2s ease-in 1.9s infinite; }
@keyframes bub {
  0%   { transform: translateY(0)    scale(0.4); opacity: 0; }
  25%  { opacity: 0.95; }
  100% { transform: translateY(-40px) scale(1.1); opacity: 0; }
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   Marquee — endless ticker
   ========================================================================= */
.marquee {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: var(--s-4) 0;
  position: relative;
  z-index: 1;
}
.marquee__track {
  display: flex; gap: var(--s-7);
  width: max-content;
  animation: scroll 32s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  color: var(--cream);
  white-space: nowrap;
}
.marquee__item .glyph {
  color: var(--pop-yellow);
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 18px;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* =========================================================================
   Sections
   ========================================================================= */
section { padding: var(--s-10) 0; position: relative; }

.section__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-8);
}
.section__head .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pop-red);
  font-weight: 500;
}
.section__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 50;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-top: var(--s-3);
  max-width: 16ch;
}
.section__head h2 em {
  font-style: italic;
  color: var(--pop-red);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.section__head p {
  color: var(--ink-2);
  max-width: 38ch;
  font-size: 17px;
}

/* =========================================================================
   Experiments grid
   ========================================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
}

.card {
  position: relative;
  border: 2px solid var(--ink);
  background: var(--paper);
  border-radius: var(--r-3);
  overflow: hidden;
  transition: transform 280ms var(--ease), box-shadow 280ms ease;
  min-height: 280px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sticker);
}
.card:hover {
  transform: translate(-3px, -3px) rotate(-0.4deg);
  box-shadow: 8px 8px 0 var(--ink);
}

.card__body {
  padding: var(--s-5) var(--s-5) var(--s-6);
  display: flex; flex-direction: column; height: 100%;
  gap: var(--s-3);
  position: relative;
  z-index: 2;
}
.card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.card__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.018em;
  font-variation-settings: "SOFT" 50;
}
.card__title em {
  font-style: italic;
  color: var(--pop-red);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.card__desc {
  font-size: 15px;
  color: var(--ink-2);
  margin-top: auto;
  line-height: 1.5;
}

.card__status {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ink);
  background: var(--cream-2);
  color: var(--ink-2);
  font-weight: 500;
  z-index: 3;
}
.card__status.live  { background: var(--pop-green); color: var(--paper); }
.card__status.queue { background: var(--pop-yellow); color: var(--ink); }

/* Card color variants */
.card.tint-1 { background: var(--hl-pink); }
.card.tint-2 { background: var(--hl-yellow); }
.card.tint-3 { background: var(--hl-green); }
.card.tint-4 { background: var(--paper); }

/* Spans */
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-12 { grid-column: span 12; }

/* Featured card */
.card--featured {
  min-height: 420px;
}
.card--featured .card__title { font-size: 48px; }
.card--featured .card__visual {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 280px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}
.card--featured .card__visual svg { width: 100%; height: auto; }

/* Open-call card */
.card--open {
  background: var(--ink);
  color: var(--cream);
}
.card--open .card__num { color: var(--pop-yellow); }
.card--open .card__title { color: var(--cream); }
.card--open .card__title em { color: var(--pop-yellow); }
.card--open .card__desc { color: var(--cream-3); }
.card--open .btn--ghost { background: var(--paper); }

/* =========================================================================
   Manifesto
   ========================================================================= */
.manifesto {
  background: var(--cream-2);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.manifesto__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-9);
  align-items: start;
}
.manifesto h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 92px);
  font-weight: 400;
  font-variation-settings: "SOFT" 50;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-top: var(--s-3);
}
.manifesto h2 em {
  font-style: italic;
  color: var(--pop-red);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.manifesto__body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}
.manifesto__body p + p { margin-top: var(--s-4); }
.manifesto__body strong { color: var(--ink); font-weight: 600; }

.principles {
  margin-top: var(--s-7);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.principle {
  padding: var(--s-5);
  border: 2px solid var(--ink);
  border-radius: var(--r-3);
  background: var(--paper);
  box-shadow: var(--shadow-sticker);
  transition: transform 200ms var(--ease);
}
.principle:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 6px 6px 0 var(--ink); }
.principle:nth-child(2):hover { transform: translate(-2px, -2px) rotate(1deg); }
.principle__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--pop-red);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.principle h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  margin-top: var(--s-2);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.principle p {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: var(--s-2);
  line-height: 1.55;
}

/* =========================================================================
   Roadmap (timeline)
   ========================================================================= */
.timeline {
  position: relative;
  padding-left: var(--s-7);
  max-width: 760px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 16px; top: 8px; bottom: 8px;
  width: 2.5px;
  background: var(--ink);
  border-radius: 2px;
}
.tl-item {
  position: relative;
  padding-bottom: var(--s-7);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -38px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--ink);
}
.tl-item.now::before { background: var(--pop-red); }
.tl-item.now::after {
  content: "";
  position: absolute;
  left: -44px; top: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--pop-red);
  opacity: 0.3;
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.tl-item__date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.tl-item.now .tl-item__date { color: var(--pop-red); }
.tl-item h4 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  font-variation-settings: "SOFT" 50;
  margin-top: var(--s-2);
}
.tl-item p {
  color: var(--ink-2);
  margin-top: var(--s-2);
  font-size: 16px;
  max-width: 56ch;
  line-height: 1.55;
}

/* =========================================================================
   CTA banner
   ========================================================================= */
.cta-banner {
  text-align: center;
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(50px, 10vw, 144px);
  font-weight: 400;
  font-variation-settings: "SOFT" 50;
  line-height: 0.94;
  letter-spacing: -0.032em;
  max-width: 14ch;
  margin: 0 auto;
  color: var(--cream);
}
.cta-banner h2 em {
  font-style: italic;
  color: var(--pop-yellow);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.cta-banner p {
  margin: var(--s-5) auto 0;
  color: var(--cream-3);
  font-size: 18px;
  max-width: 52ch;
}
.cta-form {
  margin-top: var(--s-6);
  display: inline-flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  justify-content: center;
}
.cta-form input {
  padding: 14px 20px;
  min-width: 280px;
  border-radius: var(--r-pill);
  border: 2px solid var(--cream);
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-size: 15px;
}
.cta-form input::placeholder { color: var(--ink-4); }
.cta-form input:focus { outline: none; border-color: var(--pop-yellow); }
.cta-form .btn--primary {
  background: var(--pop-yellow);
  color: var(--ink);
  border-color: var(--pop-yellow);
  box-shadow: 4px 4px 0 var(--cream);
}
.cta-form .btn--primary:hover {
  box-shadow: 6px 6px 0 var(--cream);
  background: var(--cream);
  border-color: var(--cream);
}

/* =========================================================================
   Footer
   ========================================================================= */
footer {
  border-top: 2px solid var(--ink);
  padding: var(--s-8) 0 var(--s-6);
  background: var(--cream);
}
.foot__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
}
.foot__brand p {
  margin-top: var(--s-3);
  color: var(--ink-2);
  font-size: 15px;
  max-width: 32ch;
  line-height: 1.5;
}
.foot__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: var(--s-4);
}
.foot__col ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.foot__col a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: color 200ms ease;
  position: relative;
}
.foot__col a:hover { color: var(--pop-red); }

.foot__bottom {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1.5px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.foot__bottom .pulse {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-2);
  font-weight: 500;
}
.foot__bottom .pulse::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pop-green);
  animation: pulse-soft 1.8s ease-out infinite;
}
@keyframes pulse-soft {
  0%   { box-shadow: 0 0 0 0 rgba(31, 168, 92, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(31, 168, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 168, 92, 0); }
}

/* =========================================================================
   Reveal on scroll
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms ease-out, transform 800ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 960px) {
  .section__head { grid-template-columns: 1fr; gap: var(--s-4); }
  .manifesto__inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .span-7, .span-5, .span-6, .span-4 { grid-column: span 12; }
  .principles { grid-template-columns: 1fr; }
  .sticker--1, .sticker--2, .sticker--3, .sticker--4 { display: none; }
  .card--featured .card__visual { width: 200px; right: -30px; bottom: -30px; opacity: 0.6; }
}

@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger {
    display: inline-flex; flex-direction: column; gap: 5px;
    padding: 10px;
    border: 2px solid var(--ink);
    border-radius: var(--r-2);
    background: var(--paper);
    box-shadow: 3px 3px 0 var(--ink);
  }
  .nav__burger span {
    width: 18px; height: 2px;
    background: var(--ink);
    display: block;
    border-radius: 2px;
  }
  section { padding: var(--s-8) 0; }
  .hero { padding-top: 110px; min-height: auto; }
  .marquee__item { font-size: 22px; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .cta-form input { min-width: 0; width: 100%; }
}

/* =========================================================================
   THE HUB — three superset cards
   ========================================================================= */
.hub {
  padding: var(--s-10) 0;
  position: relative;
  z-index: 1;
}

.hub__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--s-8);
}
.hub__head .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pop-red);
  font-weight: 500;
}
.hub__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 50;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin-top: var(--s-3);
}
.hub__head h2 em {
  font-style: italic;
  color: var(--pop-red);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hub__head p {
  margin-top: var(--s-4);
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
}

.hub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

/* ---------- Card base ---------- */
.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  border: 2.5px solid var(--ink);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 280ms var(--ease), box-shadow 280ms ease;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
}
.hub-card:nth-child(1) { transform: rotate(-0.6deg); }
.hub-card:nth-child(2) { transform: rotate( 0.5deg); }
.hub-card:nth-child(3) { transform: rotate(-0.4deg); }
.hub-card:hover {
  transform: translate(-4px, -4px) rotate(0deg) !important;
  box-shadow: 10px 10px 0 var(--ink);
}
.hub-card:active {
  transform: translate(2px, 2px) rotate(0deg) !important;
  box-shadow: 2px 2px 0 var(--ink);
}

/* ---------- Card visual top ---------- */
.hub-card__bg {
  position: relative;
  height: 220px;
  border-bottom: 2.5px solid var(--ink);
  overflow: hidden;
}
.hub-card__bg svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 600ms var(--ease);
}
.hub-card:hover .hub-card__bg svg { transform: scale(1.06); }

/* ---------- Card body ---------- */
.hub-card__body {
  flex: 1;
  padding: var(--s-5) var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  background: var(--paper);
}
.hub-card__body--dark {
  background: var(--ink);
  color: var(--cream);
}

.hub-card__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.hub-card__body--dark .hub-card__count { color: #B8F0CF; }

.hub-card__title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.hub-card--games .hub-card__title       { color: var(--pop-blue); }
.hub-card--fun .hub-card__title         { color: var(--ink); }
.hub-card--experiments .hub-card__title { color: #B8F0CF; }

.hub-card__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: var(--s-1);
  max-width: 30ch;
}
.hub-card__body--dark .hub-card__desc { color: var(--cream-3); }

.hub-card__cta {
  margin-top: auto;
  padding-top: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.hub-card__body--dark .hub-card__cta { color: var(--cream); }
.hub-card__cta .arrow {
  display: inline-block;
  transition: transform 280ms var(--ease);
}
.hub-card:hover .hub-card__cta .arrow { transform: translateX(6px) rotate(-4deg); }

/* ---------- Card badge (top-right) ---------- */
.hub-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ink);
  background: var(--pop-yellow);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.hub-card__badge--dark {
  background: var(--pop-yellow);
  color: var(--ink);
}
.hub-card__badge--live {
  background: var(--pop-green);
  color: var(--paper);
}

/* ---------- Variant: GAMES (arcade blue) ---------- */
.hub-card--games {
  background: #E6F0FF;
}
.hub-card--games .hub-card__bg { background: var(--pop-blue); }

/* ---------- Variant: FUN (sunshine yellow) ---------- */
.hub-card--fun {
  background: #FFF5DC;
}
.hub-card--fun .hub-card__bg { background: var(--pop-yellow); }

/* ---------- Variant: EXPERIMENTS (lab dark) ---------- */
.hub-card--experiments {
  background: #0E1B14;
}
.hub-card--experiments .hub-card__bg { background: #0E1B14; }

/* ---------- Footnote ---------- */
.hub__footnote {
  margin-top: var(--s-7);
  text-align: center;
  font-size: 16px;
  color: var(--ink-3);
  font-family: var(--font-body);
}
.hub__footnote .hand {
  color: var(--pop-red);
  margin-left: 4px;
  font-size: 24px;
  vertical-align: -3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hub__grid { grid-template-columns: 1fr; gap: var(--s-5); max-width: 480px; margin: 0 auto; }
  .hub-card { min-height: 420px; transform: none !important; }
  .hub-card:hover { transform: translate(-3px, -3px) !important; }
  .hub-card__bg { height: 180px; }
  .hub-card__title { font-size: 38px; }
}

@media (max-width: 480px) {
  .hub-card__bg { height: 160px; }
  .hub-card__title { font-size: 34px; }
  .hub-card__body { padding: var(--s-4); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
