:root {
  --sky: #11b9ef;
  --deep-sky: #028dd0;
  --ink: #151515;
  --paper: #fffdf0;
  --green: #3cbb31;
  --lime: #b8f13d;
  --yellow: #ffd84c;
  --orange: #ff9f1c;
  --red: #ff4a35;
  --blue: #287cff;
  --violet: #8157ff;
  --shadow: 0 16px 0 rgba(18, 61, 23, 0.22);
  --border: 4px solid var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 26rem),
    linear-gradient(180deg, var(--sky) 0%, #84e947 62%, #2fb62c 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 2px, transparent 2px);
  background-size: 24px 24px;
  mix-blend-mode: soft-light;
}

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

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

.page-shell {
  min-height: 100vh;
  padding: 18px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto 24px;
  padding: 12px 14px;
  border: var(--border);
  border-radius: 8px;
  background: rgba(255, 253, 240, 0.92);
  box-shadow: 0 8px 0 rgba(21, 21, 21, 0.16);
  backdrop-filter: blur(10px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  min-width: 0;
  font-family: "Luckiest Guy", "Bangers", cursive;
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
}

.nav-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 3px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.nav-links a:hover {
  border-color: var(--ink);
  background: var(--yellow);
}

.hero-section,
.core-section,
.meme-section,
.final-section {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-section {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  align-items: end;
  gap: 30px;
  min-height: calc(100vh - 118px);
  padding: clamp(110px, 16vh, 190px) clamp(18px, 4vw, 52px) clamp(42px, 8vh, 82px);
  border: var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 8px 12px 6px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  font-family: "Bangers", cursive;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 5px 5px 0 rgba(21, 21, 21, 0.2);
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-family: "Luckiest Guy", "Bangers", cursive;
  font-size: clamp(4rem, 8.6vw, 8rem);
  line-height: 0.88;
  word-break: keep-all;
  text-shadow:
    5px 5px 0 var(--paper),
    9px 9px 0 var(--ink);
}

h1 span {
  display: block;
  max-width: 100%;
}

h2 {
  font-family: "Luckiest Guy", "Bangers", cursive;
  font-size: clamp(2.65rem, 7vw, 6.4rem);
  line-height: 0.92;
  text-shadow: 4px 4px 0 rgba(255, 255, 255, 0.7);
}

h3 {
  font-family: "Bangers", cursive;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 0.95;
}

.hero-lede,
.core-copy > p,
.final-section > p {
  max-width: 610px;
  font-size: clamp(1.08rem, 2.3vw, 1.5rem);
  font-weight: 900;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px 11px;
  border: var(--border);
  border-radius: 8px;
  color: var(--ink);
  font-family: "Bangers", cursive;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1;
  box-shadow: 7px 7px 0 rgba(21, 21, 21, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 rgba(21, 21, 21, 0.22);
}

.button.primary {
  background: var(--lime);
}

.button.secondary {
  background: var(--paper);
}

.button.large {
  min-width: min(100%, 270px);
}

.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--sky);
  box-shadow: none;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(17, 185, 239, 0.5) 0%, rgba(17, 185, 239, 0.14) 44%, rgba(17, 185, 239, 0) 76%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.16));
}

.ticker-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: -10px auto 72px;
}

.ticker-strip div {
  min-width: 0;
  padding: 18px;
  border: var(--border);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(21, 21, 21, 0.18);
}

.ticker-strip span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker-strip strong {
  display: block;
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
}

.core-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: center;
  padding: 28px 0 86px;
}

.core-art {
  border: var(--border);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.core-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.mini-grid,
.card-grid {
  display: grid;
  gap: 16px;
}

.mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.mini-grid article,
.meme-card {
  min-width: 0;
  border: var(--border);
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(21, 21, 21, 0.16);
}

.mini-grid article {
  padding: 16px;
  background: var(--paper);
}

.mini-grid span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 9px 4px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--lime);
  font-family: "Bangers", cursive;
  font-size: 1.2rem;
  line-height: 1;
}

.mini-grid p,
.meme-card p {
  margin: 10px 0 0;
  font-weight: 900;
  line-height: 1.22;
}

.meme-section {
  padding: 16px 0 86px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 1.3fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 24px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.meme-card {
  min-height: 235px;
  padding: 24px;
}

.meme-card.red {
  background: var(--red);
  color: var(--paper);
}

.meme-card.yellow {
  background: var(--yellow);
}

.meme-card.green {
  background: var(--lime);
}

.meme-card.red h3 {
  text-shadow: 3px 3px 0 var(--ink);
}

.final-section {
  margin-bottom: 34px;
  padding: 44px 24px;
  border: var(--border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 74, 53, 0.8), rgba(255, 216, 76, 0.8), rgba(184, 241, 61, 0.8), rgba(40, 124, 255, 0.8), rgba(129, 87, 255, 0.8)),
    var(--paper);
  box-shadow: 12px 12px 0 rgba(21, 21, 21, 0.2);
  text-align: center;
}

.final-section .eyebrow,
.final-section p {
  margin-left: auto;
  margin-right: auto;
}

.final-section .button {
  margin-top: 18px;
  background: var(--paper);
}

@media (max-width: 980px) {
  .hero-section,
  .core-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: calc(100vh - 118px);
  }

  .hero-banner {
    order: initial;
  }

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

  .meme-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
  }

  .page-shell {
    width: 100%;
    max-width: 100vw;
    padding: 10px;
    overflow: hidden;
  }

  .site-header,
  .hero-section,
  .ticker-strip,
  .core-section,
  .meme-section,
  .final-section {
    width: 100%;
    max-width: calc(100vw - 20px);
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    gap: 4px;
    justify-content: space-between;
  }

  .nav-links a {
    flex: 1;
    padding-inline: 8px;
  }

  .hero-section {
    gap: 22px;
    min-height: calc(100vh - 150px);
    padding: 210px 14px 34px;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 3.45rem);
    text-shadow:
      3px 3px 0 var(--paper),
      5px 5px 0 var(--ink);
  }

  .hero-lede,
  .core-copy > p,
  .final-section > p {
    max-width: 100%;
  }

  .ticker-strip {
    grid-template-columns: 1fr;
    margin-bottom: 46px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .core-section,
  .meme-section {
    padding-bottom: 54px;
  }
}
