
:root {
  --ink: #141414;
  --paper: #fff7d1;
  --white: #ffffff;
  --yellow: #ffd23f;
  --orange: #ff8c1a;
  --red: #ff3b3f;
  --blue: #4db9ff;
  --green: #90d942;
  --purple: #8f5cff;
  --shadow: 8px 8px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20px 20px, rgba(20,20,20,.12) 2px, transparent 3px),
    linear-gradient(135deg, #ccefff, #fff4bd 45%, #ffe3f0);
  background-size: 24px 24px, auto;
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--white);
  border: 3px solid var(--ink);
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  left: 10px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: var(--yellow);
  border-bottom: 5px solid var(--ink);
}

.brand {
  text-decoration: none;
  font-weight: 1000;
  font-size: clamp(1.2rem, 4vw, 1.75rem);
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  display: inline-block;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 1000;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 3px 3px 0 var(--ink);
}

.nav a:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.wrap {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  align-items: center;
  padding: 48px 0 34px;
}

.kicker,
.badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 12px;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-2deg);
  font-weight: 1000;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 10vw, 7.8rem);
  line-height: .82;
  text-transform: uppercase;
  letter-spacing: -0.08em;
  text-shadow:
    4px 4px 0 var(--yellow),
    8px 8px 0 rgba(20,20,20,.18);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}

.hero-text {
  background: rgba(255,255,255,.86);
  border: 6px solid var(--ink);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-text p {
  font-size: 1.15rem;
  font-weight: 800;
}

.hero-art {
  position: relative;
  background: var(--white);
  border: 6px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 16px;
  transform: rotate(1deg);
}

.hero-art img,
.comic-image img,
.feature-image img,
.gallery-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.burst {
  position: absolute;
  z-index: 4;
  right: -18px;
  top: -26px;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  color: var(--white);
  background: var(--red);
  border: 5px solid var(--ink);
  clip-path: polygon(
    50% 0%, 61% 30%, 95% 18%, 72% 45%, 100% 60%, 65% 62%,
    78% 95%, 50% 72%, 22% 95%, 35% 62%, 0% 60%, 28% 45%,
    5% 18%, 39% 30%
  );
  font-weight: 1000;
  font-size: 1.35rem;
  transform: rotate(12deg);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
  font-weight: 1000;
  box-shadow: 5px 5px 0 var(--ink);
}

.btn:nth-child(2n) {
  background: var(--white);
}

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

.section {
  margin: 26px 0;
  padding: 26px;
  background: var(--white);
  border: 6px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  min-height: 260px;
  padding: 18px;
  background: var(--paper);
  border: 5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
  text-decoration: none;
  overflow: hidden;
}

.card:hover {
  transform: translate(-2px, -2px) rotate(-.5deg);
  box-shadow: 8px 8px 0 var(--ink);
}

.card .emoji {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 14px;
  background: var(--yellow);
  border: 5px solid var(--ink);
  border-radius: 50%;
  font-size: 2.8rem;
}

.card p {
  font-weight: 800;
}

.comic-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 9px;
  background: var(--blue);
  color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 1000;
}

.splash {
  display: grid;
  place-items: center;
  min-height: 380px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(255,210,63,.95), rgba(255,140,26,.78) 34%, rgba(77,185,255,.28) 35%, rgba(77,185,255,.28) 46%, rgba(255,255,255,.95) 47%);
  border: 6px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 30px;
  overflow: hidden;
}

.splash-inner {
  background: rgba(255,255,255,.88);
  border: 5px solid var(--ink);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 6px 6px 0 var(--ink);
}

.splash-emoji {
  font-size: clamp(5rem, 15vw, 9rem);
  line-height: 1;
  filter: drop-shadow(7px 10px 0 rgba(20,20,20,.18));
}

.comic-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 24px;
  align-items: start;
}

.info-panel {
  background: var(--paper);
  border: 5px solid var(--ink);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 6px 6px 0 var(--ink);
}

.info-panel p,
.info-panel li {
  font-weight: 800;
}

.comic-image,
.feature-image,
.gallery-image {
  background: var(--white);
  border: 6px solid var(--ink);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.safety {
  background: #eafff3;
}

.footer {
  width: min(1180px, calc(100% - 28px));
  margin: 26px auto 0;
  padding: 24px 0 42px;
  text-align: center;
  font-weight: 1000;
}

@media (max-width: 920px) {
  .hero,
  .comic-layout {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-art {
    transform: rotate(0deg);
  }
}

@media (max-width: 650px) {
  .topbar {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .section,
  .hero-text,
  .comic-image,
  .feature-image,
  .gallery-image,
  .splash {
    border-width: 4px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  h1 {
    font-size: 3.5rem;
  }

  .burst {
    right: -8px;
    top: -20px;
    width: 100px;
    height: 100px;
    font-size: 1rem;
  }
}
