:root {
  --paper: #f4ecd2;
  --paper-deep: #e8dcb4;
  --ink: #17160f;
  --ink-soft: #3a3728;
  --olive: #6d8240;
  --olive-deep: #3d4a22;
  --moss: #738c4c;
  --gold: #f5c400;
  --gold-hot: #ffe14a;
  --gold-deep: #c89600;
  --tongue: #e24a32;
  --drool: #4ec4e8;
  --line: 4px;
  --shadow: 6px 7px 0 var(--ink);
  --font-display: "Luckiest Guy", "Comic Sans MS", cursive;
  --font-scratch: "Freckle Face", "Comic Sans MS", cursive;
  --font-round: "Chewy", "Comic Sans MS", cursive;
  --font-body: "Comic Neue", "Trebuchet MS", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  background: var(--paper);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.paper {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(245, 196, 0, 0.16), transparent 58%),
    radial-gradient(700px 480px at 92% 8%, rgba(115, 140, 76, 0.14), transparent 55%),
    linear-gradient(180deg, #f7f0d8 0%, #efe4c0 48%, #e8d7a8 100%);
}

.fiber {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(80, 70, 30, 0.035) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(80, 70, 30, 0.03) 4px);
}

.stain {
  position: absolute;
  border-radius: 60% 40% 55% 45%;
  filter: blur(2px);
  mix-blend-mode: multiply;
  animation: stain-drift 18s ease-in-out infinite;
}

.stain-a {
  width: 38vw;
  height: 28vw;
  left: -8vw;
  top: 18vh;
  background: radial-gradient(circle at 40% 40%, rgba(245, 196, 0, 0.28), rgba(200, 150, 0, 0.05) 70%);
}

.stain-b {
  width: 32vw;
  height: 26vw;
  right: -6vw;
  top: 42vh;
  background: radial-gradient(circle at 60% 50%, rgba(109, 130, 64, 0.22), transparent 72%);
  animation-delay: -6s;
}

.stain-c {
  width: 24vw;
  height: 20vw;
  left: 28vw;
  bottom: 8vh;
  background: radial-gradient(circle at 50% 50%, rgba(245, 196, 0, 0.18), transparent 68%);
  animation-delay: -11s;
}

.stain-d {
  width: 18vw;
  height: 16vw;
  right: 22vw;
  top: 8vh;
  background: radial-gradient(circle at 50% 50%, rgba(226, 74, 50, 0.08), transparent 70%);
  animation-delay: -3s;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 46%, rgba(40, 32, 10, 0.16) 100%);
}

.fx-canvas,
.splat-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.drip-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 42px;
  z-index: 40;
  pointer-events: none;
  display: flex;
  justify-content: space-around;
  padding: 0 4vw;
}

.drip-rail .drip {
  width: 10px;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold-hot));
  border: 2px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  transform-origin: top center;
  animation: drip-hang 3.6s ease-in-out infinite;
}

.leak-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px 18px;
  background:
    linear-gradient(180deg, rgba(244, 236, 210, 0.94), rgba(244, 236, 210, 0.78));
  border-bottom: var(--line) solid var(--ink);
  box-shadow: 0 10px 0 rgba(245, 196, 0, 0.28);
}

.puddle-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-drop {
  width: 58px;
  height: 58px;
  border-radius: 46% 54% 48% 52%;
  overflow: hidden;
  border: 3px solid var(--ink);
  background: #f3edd8;
  box-shadow: 4px 4px 0 var(--ink);
  animation: jiggle 3.4s ease-in-out infinite;
}

.brand-drop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.5px;
  text-shadow: 3px 3px 0 var(--gold);
  line-height: 1;
}

.brand-nick {
  display: block;
  font-family: var(--font-scratch);
  font-size: 14px;
  color: var(--olive-deep);
}

.nav-links {
  display: flex;
  gap: 22px;
  font-family: var(--font-round);
  font-size: 20px;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -6px;
  height: 7px;
  border-radius: 20px;
  background: var(--gold);
  border: 2px solid var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wet-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #fff8dc;
  border: 3px solid var(--ink);
  border-radius: 14px 16px 12px 15px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.2s ease;
}

.wet-icon:hover {
  transform: rotate(-6deg) scale(1.06);
}

.wet-icon img {
  width: 22px;
  height: 22px;
}

.icon-dex {
  filter: brightness(0);
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--gold);
  box-shadow: 3px 3px 0 var(--ink);
}

.menu-btn span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
}

.drawer {
  display: none;
}

.leak-ticker {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--olive-deep);
  color: var(--gold-hot);
}

.leak-ticker-track {
  display: flex;
  width: max-content;
  gap: 28px;
  padding: 8px 0;
  font-family: var(--font-display);
  letter-spacing: 1px;
  animation: ticker 22s linear infinite;
}

.leak-ticker-track span {
  white-space: nowrap;
}

main,
.leak-nav,
.leak-ticker,
.wet-foot {
  position: relative;
  z-index: 3;
}

.street-hero {
  padding: 54px 7vw 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 40px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.leak-stage {
  position: relative;
  min-height: 520px;
}

.mascot-plate {
  position: relative;
  margin: 0 auto;
  width: min(420px, 100%);
  padding: 10px 10px 22px;
  background: #f6efd4;
  border: 5px solid var(--ink);
  border-radius: 46% 54% 42% 58% / 40% 44% 56% 60%;
  box-shadow: 8px 10px 0 var(--ink);
  animation: blob-idle 7s ease-in-out infinite;
}

.mascot {
  width: 100%;
  animation: breathe 3.8s ease-in-out infinite;
  transform-origin: 50% 80%;
}

.puddle {
  position: absolute;
  left: 14%;
  right: 12%;
  bottom: -10px;
  height: 48px;
  background: radial-gradient(ellipse at 50% 50%, #ffe14a 0%, #f5c400 46%, #c89600 78%, transparent 79%);
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 0 8px 0 rgba(23, 22, 15, 0.15);
  animation: puddle-breathe 2.6s ease-in-out infinite;
}

.ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 8px;
  border: 2px solid rgba(23, 22, 15, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 2.4s ease-out infinite;
}

.ripple.r2 { animation-delay: 0.7s; }
.ripple.r3 { animation-delay: 1.4s; }

.fly-deco {
  position: absolute;
  width: 18px;
  height: 12px;
  background: #111;
  border-radius: 50%;
  z-index: 2;
}

.fly-deco::before,
.fly-deco::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 10px;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #111;
  border-radius: 50%;
}

.fly-deco::before { left: -6px; }
.fly-deco::after { right: -6px; }

.f1 { top: 8%; left: 16%; animation: buzz 2.8s ease-in-out infinite; }
.f2 { top: 18%; right: 10%; animation: buzz 3.4s ease-in-out infinite reverse; }
.f3 { top: 42%; left: 4%; animation: buzz 2.2s ease-in-out infinite 0.4s; }

.leak-cam {
  margin: 18px auto 0;
  width: min(320px, 90%);
  border: 4px solid var(--ink);
  border-radius: 18px 22px 16px 20px;
  box-shadow: var(--shadow);
  background: #111;
}

.street-copy {
  max-width: 620px;
}

.crumb {
  margin: 0 0 8px;
  font-family: var(--font-scratch);
  color: var(--olive-deep);
  font-size: 20px;
}

.drip-title {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0 0 18px;
  line-height: 0.86;
}

.drip-title .letter {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 108px);
  color: var(--ink);
  text-shadow:
    4px 4px 0 var(--gold),
    7px 8px 0 #111;
  animation: letter-wobble 3s ease-in-out infinite;
}

.drip-title .letter:nth-child(2n) { animation-delay: 0.15s; }
.drip-title .letter:nth-child(3n) { animation-delay: 0.3s; }

.drip-title .letter i {
  position: absolute;
  left: 42%;
  top: 86%;
  width: 11px;
  height: 18px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  animation: letter-drip 2.4s ease-in-out infinite;
}

.drip-title .letter:nth-child(odd) i { animation-delay: 0.4s; height: 22px; }
.drip-title .letter:nth-child(3n) i { left: 58%; }

.say-bubble {
  position: relative;
  display: inline-block;
  margin: 0 0 16px;
  padding: 16px 20px;
  background: #fffdf3;
  border: 4px solid var(--ink);
  border-radius: 28px 34px 26px 32px;
  box-shadow: 5px 6px 0 var(--ink);
  font-family: var(--font-round);
  font-size: 22px;
}

.say-bubble::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -16px;
  border-width: 0 16px 16px 0;
  border-style: solid;
  border-color: transparent var(--ink);
}

.say-bubble p {
  margin: 0;
}

.lede {
  margin: 0 0 20px;
  max-width: 34em;
  font-size: 20px;
  font-weight: 700;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-round);
  box-shadow: 3px 3px 0 var(--ink);
}

.chip-sol {
  background: #111;
  color: #fff;
}

.chip-sol img {
  height: 16px;
  width: auto;
}

.wet-ca {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 12px;
  background: #fff8dc;
  border: 3px dashed var(--ink);
  border-radius: 16px;
}

.ca-tag {
  font-family: var(--font-scratch);
  color: var(--olive-deep);
}

.wet-ca code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.copy-btn {
  padding: 8px 12px;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 10px;
  font-family: var(--font-round);
  box-shadow: 2px 2px 0 var(--ink);
}

.copy-btn:hover {
  transform: translate(-1px, -1px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.splat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-family: var(--font-round);
  font-size: 20px;
  border: 3px solid var(--ink);
  border-radius: 18px 22px 16px 20px;
  box-shadow: 4px 5px 0 var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.splat-btn img {
  width: 22px;
  height: 22px;
}

.splat-btn-gold,
.splat-btn-nav {
  background: linear-gradient(180deg, var(--gold-hot), var(--gold));
}

.splat-btn-ink {
  background: #fff8dc;
}

.splat-btn:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: 6px 7px 0 var(--ink);
}

.splat-break {
  height: 84px;
  margin: 10px 0 20px;
  filter: url(#inkbleed);
  background:
    radial-gradient(ellipse 80px 36px at 12% 50%, var(--gold) 0 60%, transparent 61%),
    radial-gradient(ellipse 120px 44px at 38% 60%, var(--moss) 0 58%, transparent 59%),
    radial-gradient(ellipse 90px 34px at 64% 40%, var(--gold-hot) 0 60%, transparent 61%),
    radial-gradient(ellipse 110px 40px at 88% 55%, #c8d48a 0 58%, transparent 59%);
  opacity: 0.85;
}

.section-head {
  max-width: 1240px;
  margin: 0 auto 28px;
  padding: 0 7vw;
}

.drip-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 1px;
  text-shadow: 4px 4px 0 var(--gold), 7px 7px 0 #111;
}

.comic-about,
.buy-alley,
.chart-pane,
.join-poster {
  padding: 36px 0 70px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto 28px;
  padding: 0 7vw;
}

.stain-note {
  padding: 22px 22px 26px;
  background: #fff8dc;
  border: 4px solid var(--ink);
  border-radius: 28px 36px 24px 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.stain-note::before {
  content: "";
  position: absolute;
  inset: 10px auto auto 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--ink);
}

.tilt-left { transform: rotate(-2deg); }
.tilt-right { transform: rotate(2.2deg); }
.featured { background: linear-gradient(180deg, #fff1a8, #ffe14a); }

.note-label {
  margin: 8px 0 6px;
  font-family: var(--font-scratch);
  color: var(--olive-deep);
}

.stain-note h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 32px;
}

.stain-note p:last-child {
  margin: 0;
  font-weight: 700;
}

.leak-meter {
  position: relative;
  margin-top: 16px;
  height: 16px;
  background: #fff8dc;
  border: 3px solid var(--ink);
  border-radius: 999px;
  overflow: visible;
}

.meter-fill {
  display: block;
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--olive), var(--gold), var(--gold-hot));
  animation: meter 3.2s ease-in-out infinite;
}

.meter-drip {
  position: absolute;
  right: 16%;
  top: 100%;
  width: 8px;
  height: 14px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  animation: letter-drip 1.6s ease-in-out infinite;
}

.street-plaque {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 820px;
  margin: 10px auto 0;
  padding: 16px 22px;
  background: var(--olive-deep);
  color: #fff8dc;
  border: 4px solid var(--ink);
  border-radius: 30px;
  box-shadow: 7px 8px 0 var(--gold);
}

.street-plaque img {
  width: 92px;
  animation: jiggle 3s ease-in-out infinite;
}

.street-plaque blockquote {
  margin: 0;
  font-family: var(--font-round);
  font-size: 26px;
}

.street-plaque cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-scratch);
  font-size: 16px;
  font-style: normal;
  color: var(--gold-hot);
}

.step-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 7vw;
}

.step-blob {
  position: relative;
  padding: 26px 18px 22px;
  background: #fff8dc;
  border: 4px solid var(--ink);
  border-radius: 42% 58% 46% 54% / 48% 42% 58% 52%;
  box-shadow: 5px 6px 0 var(--ink);
  text-align: center;
  animation: blob-idle 5s ease-in-out infinite;
}

.step-blob:nth-child(2n) {
  animation-delay: -1.4s;
  background: #fff1a8;
}

.step-num {
  position: absolute;
  top: -12px;
  left: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 8px auto 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
}

.step-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.sol-mark {
  background: #111;
  padding: 8px;
}

.sol-mark img {
  width: 100%;
  height: auto;
}

.step-blob h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
}

.step-blob p {
  margin: 0;
  font-weight: 700;
}

.chart-frame {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px;
  background: linear-gradient(180deg, var(--gold-hot), var(--gold-deep));
  border: 5px solid var(--ink);
  border-radius: 28px 34px 24px 30px;
  box-shadow: 8px 10px 0 var(--ink);
}

.chart-frame iframe {
  width: 100%;
  height: 640px;
  border: 4px solid var(--ink);
  border-radius: 18px;
  background: #0b1210;
}

.frame-drip {
  position: absolute;
  top: 100%;
  width: 14px;
  height: 28px;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  animation: letter-drip 2s ease-in-out infinite;
}

.frame-drip.d1 { left: 12%; }
.frame-drip.d2 { left: 38%; animation-delay: 0.3s; height: 36px; }
.frame-drip.d3 { left: 61%; animation-delay: 0.7s; }
.frame-drip.d4 { left: 84%; animation-delay: 0.15s; height: 24px; }

.banner-board {
  position: relative;
  max-width: 1080px;
  margin: 0 auto 22px;
  padding: 10px;
  background: #fff8dc;
  border: 5px solid var(--ink);
  border-radius: 18px;
  box-shadow: 10px 12px 0 rgba(23, 22, 15, 0.85);
  transform: rotate(-0.6deg);
}

.banner-board img {
  width: 100%;
  border-radius: 10px;
  border: 3px solid var(--ink);
}

.tape {
  position: absolute;
  width: 72px;
  height: 24px;
  background: rgba(255, 225, 74, 0.72);
  border: 2px solid rgba(23, 22, 15, 0.35);
  z-index: 2;
}

.t-tl { top: -8px; left: 24px; transform: rotate(-12deg); }
.t-tr { top: -6px; right: 28px; transform: rotate(10deg); }
.t-bl { bottom: -8px; left: 36px; transform: rotate(8deg); }
.t-br { bottom: -7px; right: 22px; transform: rotate(-9deg); }

.join-line {
  text-align: center;
  font-family: var(--font-round);
  font-size: 26px;
  margin: 8px 7vw 22px;
}

.join-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 7vw;
}

.join-card {
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 22px;
  background: #fff8dc;
  border: 4px solid var(--ink);
  border-radius: 22px 28px 20px 26px;
  box-shadow: 5px 6px 0 var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  transition: transform 0.18s ease;
}

.join-card:hover {
  transform: rotate(-2deg) translateY(-4px);
}

.join-card img {
  width: 28px;
  height: 28px;
}

.wet-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  background: var(--olive-deep);
  color: var(--gold-hot);
  border-top: 5px solid var(--ink);
  font-family: var(--font-round);
  font-size: 22px;
}

.wet-foot img {
  width: 48px;
  animation: jiggle 3s ease-in-out infinite;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  padding: 10px 16px;
  background: var(--ink);
  color: var(--gold-hot);
  border-radius: 999px;
  font-family: var(--font-round);
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.splat-pop {
  position: absolute;
  width: 34px;
  height: 26px;
  margin: -13px 0 0 -17px;
  background: radial-gradient(circle at 40% 40%, var(--gold-hot), var(--gold-deep));
  border: 3px solid var(--ink);
  border-radius: 60% 40% 55% 45%;
  animation: splat-fade 700ms ease forwards;
}

@keyframes stain-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(18px, -14px) rotate(8deg); }
}

@keyframes drip-hang {
  0%, 100% { height: 16px; }
  45% { height: 34px; }
  70% { height: 10px; }
}

@keyframes jiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(3deg); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1) rotate(-1deg); }
  50% { transform: scale(1.03) rotate(1.4deg); }
}

@keyframes puddle-breathe {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.06); }
}

@keyframes ripple {
  0% { width: 16px; height: 6px; opacity: 0.7; }
  100% { width: 90px; height: 22px; opacity: 0; }
}

@keyframes buzz {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(12px, -10px) rotate(12deg); }
  50% { transform: translate(-8px, 8px) rotate(-8deg); }
  75% { transform: translate(10px, 4px) rotate(6deg); }
}

@keyframes letter-wobble {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-2deg); }
}

@keyframes letter-drip {
  0%, 100% { transform: scaleY(0.7); opacity: 0.85; }
  50% { transform: scaleY(1.25); opacity: 1; }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes meter {
  0%, 100% { width: 70%; }
  50% { width: 92%; }
}

@keyframes blob-idle {
  0%, 100% { border-radius: 42% 58% 46% 54% / 48% 42% 58% 52%; }
  50% { border-radius: 54% 46% 58% 42% / 42% 58% 42% 58%; }
}

@keyframes splat-fade {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 980px) {
  .nav-links,
  .splat-btn-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .drawer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: fixed;
    top: 88px;
    right: 14px;
    left: 14px;
    padding: 18px;
    background: #fff8dc;
    border: 4px solid var(--ink);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    z-index: 60;
  }

  .drawer.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .hero-grid,
  .about-grid,
  .step-row {
    grid-template-columns: 1fr;
  }

  .leak-stage {
    min-height: 0;
  }

  .chart-frame iframe {
    height: 480px;
  }

  .street-plaque {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .leak-nav {
    padding: 10px 12px 14px;
  }

  .brand-name {
    font-size: 22px;
  }

  .drip-title .letter {
    font-size: 54px;
  }

  .wet-icon:nth-child(2),
  .wet-icon:nth-child(3) {
    display: none;
  }

  .chart-frame iframe {
    height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
