:root {
  --paper: #ece8df;
  --paper-2: #ded8ce;
  --ink: #1d130f;
  --brown: #915d35;
  --brown-dark: #5f3b25;
  --brown-deep: #3a2419;
  --tan: #b07a5f;
  --cream: #fff8e9;
  --acid: #d7ff54;
  --line: rgba(29, 19, 15, 0.22);
  --shell: min(1180px, calc(100% - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(145,93,53,.18), transparent 30%),
    radial-gradient(circle at 85% 40%, rgba(95,59,37,.13), transparent 34%),
    linear-gradient(180deg, #f3f0e9 0%, var(--paper) 45%, #d8cdbf 100%);
  font-family: "Space Grotesk", system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

#stink-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
}

.grain {
  position: fixed;
  inset: -100%;
  z-index: 30;
  pointer-events: none;
  opacity: .065;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  animation: grain 9s steps(8) infinite;
}

@keyframes grain {
  0%,100% { transform: translate(0,0); }
  15% { transform: translate(4%, -7%); }
  35% { transform: translate(-8%, 5%); }
  55% { transform: translate(6%, 9%); }
  75% { transform: translate(-4%, -5%); }
}

.shell { width: var(--shell); margin: 0 auto; }

.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: -.04em;
  font-size: 18px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--brown);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 4px rgba(215,255,84,.22);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.25); box-shadow: 0 0 0 8px rgba(215,255,84,.04);} }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 50px;
  padding: 70px 0 90px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px dashed rgba(29,19,15,.22);
  border-radius: 50%;
  left: -220px;
  top: 100px;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-1deg);
  margin-bottom: 28px;
}
.eyebrow span, .eyebrow b {
  padding: 9px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.eyebrow b { background: var(--brown); color: var(--cream); border-left: 2px solid var(--ink); }

h1 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(86px, 11vw, 176px);
  line-height: .73;
  letter-spacing: -.095em;
  text-transform: uppercase;
}
h1 span { display: block; }
h1 .poo {
  color: var(--brown);
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 7px 8px 0 var(--ink);
  transform: rotate(-2deg);
}
h1 .pepe {
  margin-left: 8px;
  color: var(--paper);
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 7px 8px 0 var(--brown-dark);
  transform: rotate(1deg);
}

.hero-text {
  max-width: 640px;
  margin: 42px 0 28px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.35;
  font-weight: 600;
}

.cta-row { display: flex; gap: 12px; margin: 0 0 26px; }
.cta {
  min-width: 118px;
  height: 54px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  background: rgba(255,255,255,.52);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.cta:hover { transform: translate(2px,2px) rotate(-1deg); box-shadow: 2px 2px 0 var(--ink); background: var(--cream); }
.cta.primary { background: var(--brown); color: #fff6e8; }
.cta.primary:hover { background: var(--brown-dark); }

.ca-box {
  max-width: 620px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 13px 14px 13px 18px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--brown);
}
.ca-box > div { min-width: 0; }
.ca-label { display: block; font-size: 10px; opacity: .65; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 4px; }
.ca-box code { display: block; max-width: 450px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.ca-box button {
  flex: 0 0 auto;
  border: 0;
  padding: 10px 13px;
  background: var(--acid);
  font: 800 11px/1 "Space Grotesk", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-art { position: relative; min-height: 590px; display: grid; place-items: center; }
.image-card {
  width: min(520px, 92%);
  aspect-ratio: .97;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 43% 57% 42% 58% / 51% 39% 61% 49%;
  box-shadow: 14px 16px 0 var(--brown-dark);
  background: #ddd;
  position: relative;
  transform: rotate(2deg);
  animation: floaty 5.5s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: rotate(-1deg) translateY(-14px); } }
.image-card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.88) contrast(1.02); }
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.08), inset 0 0 80px rgba(0,0,0,.12);
  pointer-events: none;
}
.image-stamp {
  position: absolute;
  right: 12px;
  bottom: 34px;
  background: var(--acid);
  border: 2px solid var(--ink);
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-6deg);
  z-index: 2;
}
.art-shadow {
  position: absolute;
  width: 420px;
  height: 100px;
  border-radius: 50%;
  background: rgba(58,36,25,.25);
  filter: blur(18px);
  bottom: 55px;
}
.orbit {
  position: absolute;
  border: 1px dashed rgba(29,19,15,.45);
  border-radius: 50%;
  display: grid;
  place-items: start center;
  pointer-events: none;
}
.orbit span {
  margin-top: -12px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 5px 8px;
  font: 900 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: .12em;
}
.orbit-a { width: 585px; height: 585px; animation: spin 19s linear infinite; }
.orbit-b { width: 490px; height: 490px; animation: spin 13s linear infinite reverse; }
.doodle { position: absolute; font: 900 70px/1 serif; color: var(--brown-dark); }
.doodle-1 { top: 45px; right: 5px; transform: rotate(70deg); animation: wiggle 2.4s ease-in-out infinite; }
.doodle-2 { bottom: 60px; left: -12px; transform: rotate(-30deg); animation: wiggle 2.7s ease-in-out infinite reverse; }
.doodle-3 { top: 120px; left: 20px; color: var(--acid); text-shadow: 2px 2px 0 var(--ink); animation: pop 1.8s ease-in-out infinite; }
@keyframes wiggle { 50% { transform: rotate(55deg) translateY(-10px); } }
@keyframes pop { 50% { transform: scale(1.25) rotate(12deg); } }

.ticker { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--brown); color: var(--cream); overflow: hidden; transform: rotate(-1deg) scale(1.01); }
.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 15px 0;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: -.02em;
  font-size: 19px;
  animation: marquee 21s linear infinite;
}
.ticker-track i { color: var(--acid); font-style: normal; -webkit-text-stroke: 1px var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 70px;
  padding: 150px 0 90px;
}
.section-kicker { font-weight: 800; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(29,19,15,.58); }
.section-content h2, .chart-head h2, .final-cta h2 {
  margin: 0 0 32px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(46px, 6vw, 88px);
  line-height: .94;
  letter-spacing: -.055em;
}
.section-content h2 span, .chart-head h2 span, .final-cta h2 span { color: var(--brown); -webkit-text-stroke: 1px var(--ink); }
.section-content p { font-size: 20px; line-height: 1.5; max-width: 820px; margin: 0 0 22px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 10px 0 130px;
}
.meme-card {
  min-height: 360px;
  padding: 28px;
  border: 2px solid var(--ink);
  background: rgba(255,255,255,.45);
  box-shadow: 8px 8px 0 var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.meme-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 12px 14px 0 var(--brown-dark); }
.meme-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  background: var(--brown);
  border-radius: 50%;
  right: -90px;
  top: -90px;
  opacity: .13;
}
.card-index { font: 900 11px/1 "Space Grotesk"; opacity: .45; }
.card-emoji { font-size: 64px; margin: 48px 0 28px; filter: grayscale(.2); }
.meme-card h3 { font-family: "Archivo Black"; font-size: 23px; margin: 0 0 14px; letter-spacing: -.03em; }
.meme-card p { font-size: 16px; line-height: 1.45; margin: 0; }

.stink-map { padding: 30px 0 150px; }
.map-wrap { margin-top: 42px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.map-line { position: absolute; left: 8%; right: 8%; height: 3px; top: 14px; background: var(--ink); opacity: .25; }
.map-step { position: relative; padding: 0 30px 0 0; }
.step-dot { display: block; width: 30px; height: 30px; border: 3px solid var(--ink); background: var(--brown); border-radius: 50%; box-shadow: 3px 3px 0 var(--ink); margin-bottom: 22px; position: relative; z-index: 2; }
.map-step:nth-child(3) .step-dot, .map-step:nth-child(5) .step-dot { background: var(--acid); }
.map-step b { display: block; font-family: "Archivo Black"; font-size: 24px; margin-bottom: 8px; }
.map-step small { display: block; font-size: 14px; line-height: 1.4; max-width: 210px; }

.chart { padding: 20px 0 140px; }
.chart-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.chart-head h2 { margin-top: 14px; margin-bottom: 0; max-width: 780px; }
.chart-pill { padding: 8px 10px; border: 1px solid var(--ink); background: rgba(255,255,255,.45); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.chart-frame {
  min-height: 620px;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--brown-dark);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.chart-frame iframe { width: 100%; height: 620px; border: 0; display: block; }
.chart-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
  color: var(--paper);
  padding: 30px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 30px),
    var(--ink);
}
.chart-placeholder .toilet { font-size: 68px; }
.chart-placeholder strong { font-family: "Archivo Black"; font-size: clamp(22px,3vw,38px); }
.chart-placeholder span { opacity: .65; }

.final-cta {
  margin-bottom: 120px;
  min-height: 540px;
  padding: 70px 40px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 3px solid var(--ink);
  background: var(--brown);
  color: var(--cream);
  box-shadow: 12px 12px 0 var(--ink);
  position: relative;
  overflow: hidden;
}
.final-cta::before, .final-cta::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 2px dashed rgba(255,255,255,.35);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}
.final-cta::before { left: -150px; top: -90px; }
.final-cta::after { right: -160px; bottom: -110px; animation-direction: reverse; }
.final-poo { font-size: 68px; animation: bounce 1.5s ease-in-out infinite; }
@keyframes bounce { 50% { transform: translateY(-9px) rotate(-5deg); } }
.final-cta p { margin: 10px 0 15px; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.final-cta h2 { margin: 0; color: var(--cream); }
.final-cta h2 span { color: var(--acid); -webkit-text-stroke: 1px var(--ink); }
.cta.giant { min-width: 230px; height: 62px; margin-top: 28px; background: var(--acid); color: var(--ink); }

.footer {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 60px; padding-top: 60px; }
  .hero-copy { text-align: center; }
  .eyebrow { margin-inline: auto; }
  .hero-text, .ca-box { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-art { min-height: 560px; }
  .section-grid { grid-template-columns: 1fr; gap: 24px; }
  .cards { grid-template-columns: 1fr; }
  .meme-card { min-height: 290px; }
  .map-wrap { grid-template-columns: 1fr 1fr; gap: 46px 20px; }
  .map-line { display: none; }
  .chart-head { align-items: start; flex-direction: column; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 24px, 1180px); }
  .nav { height: 68px; }
  .nav-right { display: none; }
  .hero { padding: 48px 0 75px; }
  h1 { font-size: clamp(72px, 25vw, 112px); }
  h1 .poo, h1 .pepe { -webkit-text-stroke-width: 2px; text-shadow: 5px 5px 0 var(--ink); }
  .hero-text { margin-top: 34px; font-size: 17px; }
  .cta-row { gap: 8px; }
  .cta { min-width: 0; width: 33.333%; height: 50px; padding: 0 8px; font-size: 12px; }
  .ca-box { align-items: stretch; flex-direction: column; text-align: left; }
  .ca-box button { width: 100%; }
  .hero-art { min-height: 420px; }
  .orbit-a { width: 420px; height: 420px; }
  .orbit-b { width: 350px; height: 350px; }
  .image-stamp { font-size: 9px; bottom: 18px; }
  .doodle { font-size: 46px; }
  .section-grid { padding: 105px 0 70px; }
  .section-content h2, .chart-head h2, .final-cta h2 { font-size: clamp(42px, 14vw, 66px); }
  .section-content p { font-size: 17px; }
  .cards { padding-bottom: 100px; }
  .map-wrap { grid-template-columns: 1fr; }
  .stink-map { padding-bottom: 110px; }
  .chart-frame, .chart-frame iframe { min-height: 520px; height: 520px; }
  .chart { padding-bottom: 105px; }
  .final-cta { min-height: 470px; padding: 56px 18px; margin-bottom: 80px; }
  .footer { padding: 25px 0; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
