/* Zero the Black Lab — comic-book hero styles */
:root {
  --blue: #1d3fc4;
  --blue-deep: #142e96;
  --navy: #0b1640;
  --gold: #f4b63f;
  --gold-deep: #d9951c;
  --cream: #fff7e6;
  --paper: #fffdf7;
  --ink: #111318;
  --muted: #4a4f5c;
  --red: #e5383b;
  --ig1: #f58529; --ig2: #dd2a7b; --ig3: #8134af;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 14px;
  --display: "Bangers", "Impact", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); padding: 8px 14px; border: var(--line); font-weight: 800; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Halftone dots */
.halftone { position: relative; isolation: isolate; }
.halftone::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(17,19,24,.13) 1.4px, transparent 1.6px);
  background-size: 14px 14px;
}
.halftone--light::before { background-image: radial-gradient(rgba(255,255,255,.12) 1.4px, transparent 1.6px); }

/* Buttons */
.btn {
  --bg: var(--paper); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--display); font-size: 1.35rem; letter-spacing: .06em;
  padding: .55em 1.15em .5em; border: var(--line); border-radius: 999px;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; }
.btn svg .fill { fill: currentColor; stroke: none; }
.btn--gold { --bg: var(--gold); }
.btn--blue { --bg: var(--blue); --fg: #fff; }
.btn--ig { background: linear-gradient(120deg, var(--ig1), var(--ig2) 55%, var(--ig3)); color: #fff; }
.btn--sm { font-size: 1.1rem; padding: .4em .9em .35em; box-shadow: 3px 3px 0 var(--ink); }
.btn--lg { font-size: 1.6rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Kickers & titles */
.kicker {
  display: inline-block; font-family: var(--display); letter-spacing: .08em; font-size: 1.15rem;
  background: var(--gold); color: var(--ink); border: var(--line); border-radius: 8px;
  padding: .15em .65em .05em; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-2deg); margin-bottom: 18px;
}
.kicker--blue { background: var(--blue); color: #fff; }
.kicker--ink { background: var(--ink); color: var(--gold); box-shadow: 3px 3px 0 var(--blue); }
.title {
  font-family: var(--display); font-weight: 400; letter-spacing: .03em;
  font-size: clamp(2.4rem, 5.2vw, 4rem); color: var(--blue);
  text-shadow: 3px 3px 0 var(--ink);
  -webkit-text-stroke: 1.5px var(--ink);
}
.title--light { color: #fff; }
.title--ink { color: var(--ink); -webkit-text-stroke: 0; text-shadow: 3px 3px 0 #fff; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__badge {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: var(--gold); border: 3px solid var(--gold);
  box-shadow: 0 0 0 3px var(--ink); font-family: var(--display); font-size: 1.6rem; line-height: 1;
  padding-top: 3px;
}
.brand__name { font-family: var(--display); font-size: 1.75rem; letter-spacing: .05em; line-height: .9; color: var(--ink); }
.brand__name small { display: block; font-size: .62em; letter-spacing: .12em; color: var(--blue); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name small { color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links > a:not(.btn) { font-weight: 800; text-decoration: none; position: relative; }
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

/* Hero */
.hero { background: linear-gradient(180deg, #e8eeff 0%, var(--cream) 100%); border-bottom: var(--line); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 64px 0 80px; }
.hero__title { font-family: var(--display); font-weight: 400; letter-spacing: .03em; font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: .95; margin-bottom: 22px; }
.hero__title .line { display: block; color: var(--blue); -webkit-text-stroke: 2px var(--ink); text-shadow: 5px 5px 0 var(--ink); }
.hero__title .line--gold { color: var(--gold); }
.hero__lede { font-size: 1.2rem; max-width: 34ch; color: var(--muted); font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__panel { position: relative; margin: 0; }
.panel { border: 4px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 10px 10px 0 var(--ink); }
.panel--tilt { transform: rotate(2deg); }
.panel--round { border-radius: 50%; aspect-ratio: 1; box-shadow: 8px 8px 0 var(--blue), 8px 8px 0 4px var(--ink); }
.panel--round img { width: 100%; height: 100%; object-fit: cover; }

/* Speech bubbles */
.bubble {
  position: absolute; background: #fff; border: var(--line); border-radius: 22px;
  padding: 12px 18px; font-weight: 800; font-size: 1.05rem; line-height: 1.25; box-shadow: var(--shadow-sm);
  max-width: 220px;
}
.bubble::after {
  content: ""; position: absolute; width: 22px; height: 22px; background: #fff;
  border-right: var(--line); border-bottom: var(--line);
}
.bubble strong { color: var(--blue); font-family: var(--display); font-size: 1.4em; letter-spacing: .04em; font-weight: 400; }
.bubble--hero { top: -18px; left: -36px; transform: rotate(-4deg); }
.bubble--hero::after { bottom: -13px; right: 34px; transform: rotate(45deg); }
.bubble--left { bottom: 6%; right: -8%; transform: rotate(3deg); }
.bubble--left::after { top: -13px; left: 30px; transform: rotate(-135deg); }

/* Starburst */
.burst {
  position: absolute; display: grid; place-items: center; text-align: center;
  width: 150px; aspect-ratio: 1; background: var(--red); color: #fff;
  clip-path: polygon(50% 0%, 61% 18%, 82% 8%, 80% 30%, 100% 35%, 85% 50%, 100% 65%, 80% 70%, 82% 92%, 61% 82%, 50% 100%, 39% 82%, 18% 92%, 20% 70%, 0% 65%, 15% 50%, 0% 35%, 20% 30%, 18% 8%, 39% 18%);
  filter: drop-shadow(3px 3px 0 var(--ink));
}
.burst span { font-family: var(--display); font-size: 1.9rem; letter-spacing: .05em; line-height: .95; -webkit-text-stroke: 1px var(--ink); transform: rotate(-10deg); }
.burst--hero { right: -22px; bottom: -26px; animation: pop 2.6s ease-in-out infinite; }
@keyframes pop { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.08) rotate(6deg); } }

/* Ticker */
.ticker { background: var(--ink); color: var(--gold); border-bottom: var(--line); overflow: hidden; padding: 12px 0 8px; }
.ticker__track { display: flex; gap: 26px; width: max-content; animation: ticker 32s linear infinite; font-family: var(--display); font-size: 1.5rem; letter-spacing: .08em; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; border-bottom: var(--line); }
.section--blue { background: var(--blue); color: #fff; }
.section--navy { background: var(--navy); color: #fff; }
.section--gold { background: var(--gold); }
.section__head { text-align: center; margin-bottom: 52px; }
.section__head--light .title { color: #fff; }

/* Origin strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.strip__panel { position: relative; background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 8px; }
.strip__panel:nth-child(2) { transform: translateY(18px); }
.strip__panel h3 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; letter-spacing: .04em; color: var(--blue); margin: 16px 0 8px; }
.strip__panel p { color: var(--muted); }
.caption {
  position: absolute; top: -14px; left: 16px; z-index: 2; background: var(--gold); border: var(--line);
  font-family: var(--display); letter-spacing: .08em; padding: 2px 10px 0; font-size: 1.05rem;
}
.strip__art { aspect-ratio: 4/3; border: var(--line); border-radius: 8px; display: grid; place-items: center; overflow: hidden; position: relative; }
.strip__art--sky {
  background: radial-gradient(circle at 70% 30%, #fff6 0 12%, transparent 13%), linear-gradient(180deg, #6fa0ff, #c7dbff);
}
.paw { font-size: 4.6rem; line-height: 1; filter: drop-shadow(3px 3px 0 var(--ink)); transform: rotate(-12deg); }
.strip__art--cape {
  background:
    repeating-conic-gradient(from 0deg, var(--gold) 0 10deg, #ffd27a 10deg 20deg);
}
.strip__art--hero { background: var(--blue); }
.strip__art--hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.sfx {
  position: absolute; bottom: 12px; right: 12px; font-family: var(--display); font-size: 1.5rem; letter-spacing: .05em;
  color: #fff; -webkit-text-stroke: 1px var(--ink); text-shadow: 2px 2px 0 var(--ink); transform: rotate(-6deg);
}
.emblem {
  display: grid; place-items: center; width: 110px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a63ff, var(--blue) 60%, var(--blue-deep));
  border: 6px solid #e9c67a; box-shadow: 0 0 0 4px var(--ink), 6px 6px 0 4px var(--ink);
  font-family: var(--display); font-size: 4.2rem; color: #f3dfb5; -webkit-text-stroke: 1.5px var(--ink); padding-top: 6px;
}

/* Powers */
.powers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.power { background: var(--paper); color: var(--ink); border: var(--line); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--navy), 6px 6px 0 3px var(--ink); padding: 24px; transition: transform .15s ease; }
.power:hover { transform: translateY(-4px) rotate(-.5deg); }
.power__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; background: var(--gold); border: var(--line); margin-bottom: 14px; }
.power h3 { font-family: var(--display); font-weight: 400; font-size: 1.75rem; letter-spacing: .04em; color: var(--blue); margin-bottom: 8px; }
.power p { color: var(--muted); font-size: 1rem; }
.meter { height: 16px; border: var(--line); border-radius: 999px; background: #e7ebf7; overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--v); background: repeating-linear-gradient(-45deg, var(--gold) 0 10px, var(--gold-deep) 10px 20px); border-right: var(--line); }

/* Code */
.code { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.code__portrait { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.oath { list-style: none; counter-reset: oath; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.oath li {
  counter-increment: oath; position: relative; padding: 14px 18px 14px 70px; background: #fff;
  border: var(--line); border-radius: 12px; box-shadow: var(--shadow-sm);
}
.oath li::before {
  content: counter(oath); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--gold); border: 3px solid var(--ink);
  font-family: var(--display); font-size: 1.4rem; padding-top: 3px;
}
.oath strong { color: var(--blue); }

/* Merch */
.merch { position: relative; text-align: center; max-width: 760px; margin-inline: auto; background: var(--paper); border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--ink); padding: 56px 32px 44px; }
.merch .title { color: var(--blue); -webkit-text-stroke: 1.5px var(--ink); text-shadow: 3px 3px 0 var(--ink); }
.merch__lede { max-width: 52ch; margin: 18px auto 26px; color: var(--muted); font-weight: 700; }
.burst--merch { top: -54px; right: -38px; width: 140px; transform: rotate(10deg); }
.burst--merch span { font-size: 1.55rem; }
.merch__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Contact signal card */
.signal { display: grid; gap: 14px; }
.signal__label { margin: 0; font-family: var(--display); font-size: 1.3rem; letter-spacing: .06em; color: var(--muted); }
.signal__email {
  font-family: var(--display); font-size: clamp(1.5rem, 4.4vw, 2.3rem); letter-spacing: .03em; line-height: 1.1;
  color: var(--blue); text-decoration: none; overflow-wrap: anywhere;
}
.signal__email:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 4px; }
.signal__hint { margin: 4px 0 0; font-weight: 800; }
.signal__topics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.topic {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--paper);
  border: var(--line); border-radius: 10px; font-weight: 900; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.topic span { font-size: 1.2rem; }
.topic:hover { background: #fff3d4; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--gold), 4px 4px 0 2px var(--ink); }

/* Instagram */
.ig { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.ig__lede { color: #c8d2f5; font-size: 1.15rem; max-width: 44ch; margin: 18px 0 28px; }
.ig__lede strong { color: var(--gold); }
.ig__card { display: block; background: #fff; color: var(--ink); text-decoration: none; border: 4px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 10px 10px 0 var(--gold), 10px 10px 0 4px var(--ink); transform: rotate(-2deg); transition: transform .2s ease; max-width: 420px; justify-self: center; }
.ig__card:hover { transform: rotate(0) scale(1.02); }
.ig__card-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 2px solid #eee; }
.ig__card-head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; padding: 2px; background: linear-gradient(120deg, var(--ig1), var(--ig2), var(--ig3)); }
.ig__card-head strong { display: block; font-weight: 900; }
.ig__card-head span { font-size: .85rem; color: var(--muted); }
.ig__card-img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.ig__card-foot { display: flex; justify-content: space-between; padding: 12px 14px; font-weight: 800; font-size: .95rem; }
.ig__card-foot span:last-child { color: var(--blue); }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__copy > p:not(.kicker) { color: var(--muted); font-weight: 700; margin-top: 18px; }
.contact__list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.contact__list li { display: flex; gap: 12px; align-items: flex-start; }
.contact__list .dot { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); border: 2px solid var(--ink); font-size: .85rem; margin-top: 2px; }
.contact__alt a { color: var(--blue); font-weight: 900; }
.card { background: #fff; border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--blue), 10px 10px 0 4px var(--ink); padding: 28px; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 900; font-size: .95rem; }
.opt { font-weight: 600; color: var(--muted); }
input, select, textarea {
  font: inherit; font-weight: 600; width: 100%; padding: 12px 14px; border: var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); transition: box-shadow .12s ease, transform .12s ease;
}
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--gold); transform: translate(-1px, -1px); }
textarea { resize: vertical; min-height: 130px; }
.form-status { margin: 0; font-weight: 800; min-height: 1.4em; }
.form-status.is-ok { color: #157a3c; }
.form-status.is-err { color: var(--red); }

/* Footer */
.footer { background: var(--ink); color: #c9cdd8; padding: 48px 0 36px; }
.footer__inner { display: grid; justify-items: center; text-align: center; gap: 14px; }
.footer__tag { margin: 0; font-weight: 700; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: var(--gold); font-weight: 800; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__copy { margin: 0; font-size: .9rem; color: #8a90a0; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; padding: 48px 0 72px; gap: 56px; }
  .hero__panel { max-width: 520px; justify-self: center; width: 100%; }
  .bubble--hero { left: -6px; }
  .burst--hero { right: -6px; }
  .strip, .powers { grid-template-columns: 1fr 1fr; }
  .strip__panel:nth-child(2) { transform: none; }
  .code, .ig, .contact { grid-template-columns: 1fr; gap: 48px; }
  .code__portrait { max-width: 340px; }
  .bubble--left { right: -4%; }
}
@media (max-width: 820px) {
  .nav__toggle {
    display: grid; gap: 5px; width: 46px; height: 42px; place-content: center; background: var(--gold);
    border: var(--line); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
  }
  .nav__toggle span:not(.sr-only) { display: block; width: 20px; height: 3px; background: var(--ink); border-radius: 2px; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: var(--line); padding: 8px 16px 18px; display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a:not(.btn) { padding: 12px 4px; border-bottom: 2px dashed #d9dbe3; }
  .nav__links .btn { margin-top: 14px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .section { padding: 72px 0; }
  .strip, .powers, .signal__topics { grid-template-columns: 1fr; }
  .hero__title .line { text-shadow: 3px 3px 0 var(--ink); -webkit-text-stroke: 1.5px var(--ink); }
  .bubble { font-size: .92rem; max-width: 180px; padding: 10px 14px; }
  .bubble--hero { top: -30px; left: 0; }
  .burst { width: 110px; }
  .burst span { font-size: 1.4rem; }
  .burst--merch { top: -46px; right: -8px; width: 104px; }
  .burst--merch span { font-size: 1.2rem; }
  .merch { padding: 56px 20px 32px; }
  .card { padding: 20px; }
  .panel { box-shadow: 6px 6px 0 var(--ink); }
  .brand__name { font-size: 1.5rem; }
  .btn--lg { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
