:root {
  --cream: #f3efe3;
  --paper: #fbf8ef;
  --ink: #11110f;
  --yellow: #f4d75d;
  --red: #e9554d;
  --muted: #6f6a60;
  --soft-red: #f3b0ae;
  --soft-green: #bce8cc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.grain {
  position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .055;
  background-image: radial-gradient(#000 0.6px, transparent 0.6px);
  background-size: 5px 5px;
}

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 20;
  height: 74px; padding: 0 5vw;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(243, 239, 227, .94);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.brand {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  font-weight: 1000; font-size: 28px; letter-spacing: -1.5px;
}
.brand-logo { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: var(--ink); }
.navlinks { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 900; text-transform: uppercase; }
.navlinks a:not(.pill):hover { text-decoration: underline; text-decoration-thickness: 3px; }
.pill {
  padding: 10px 17px; background: var(--yellow); white-space: nowrap;
  border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink); transition: .15s;
}
.pill:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* ---------- Hero: full-bleed stage art, copy over a left-side shade ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex; align-items: center;
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  background: #0b0b0b;
}
.hero picture { display: contents; }
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, .88) 0%, rgba(5, 5, 5, .68) 38%, rgba(5, 5, 5, .12) 68%, rgba(5, 5, 5, .08) 100%);
}
.hero-copy {
  position: relative; z-index: 3;
  width: min(760px, 88vw);
  padding: 72px 0 72px 6vw;
  color: #fff;
}
.eyebrow {
  display: inline-block;
  padding: 8px 11px;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, .42);
  font-size: 14px; font-weight: 900;
  transform: rotate(-2deg);
  margin-bottom: 20px;
}
h1 {
  margin: 0;
  font-size: 170px;
  line-height: .78;
  letter-spacing: -9px;
  font-weight: 1000;
}
.hero h2 {
  margin: 28px 0 18px;
  font-size: 60px;
  line-height: .94; letter-spacing: -2.5px;
  max-width: 720px;
}
.hero p { font-size: 19px; line-height: 1.55; max-width: 620px; color: #e8e2d5; margin: 0; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn {
  border: 3px solid var(--ink);
  padding: 14px 20px;
  font-weight: 1000; text-transform: uppercase;
  transition: .16s;
}
.btn.primary { color: var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 #fff; }
.btn.secondary { background: #fff; color: var(--ink); box-shadow: 5px 5px 0 var(--yellow); }
.btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 transparent; }

/* ---------- Common ---------- */
section.block { padding: 96px 6vw; border-bottom: 3px solid var(--ink); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 35px; margin-bottom: 46px;
}
.section-head h3 {
  margin: 0;
  font-size: clamp(46px, 7vw, 95px);
  line-height: .86; letter-spacing: -4.5px;
}
.section-head p {
  max-width: 440px; margin: 0;
  color: var(--muted);
  font-size: 17px; line-height: 1.5; font-weight: 700;
}

/* ---------- Narrative ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card {
  border: 3px solid var(--ink);
  min-height: 280px;
  padding: 28px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}
.story-card:nth-child(2) { background: var(--yellow); }
.story-card .num {
  display: inline-block; padding: 6px 8px; border: 2px solid var(--ink);
  background: #fff; font-weight: 1000; font-size: 14px;
}
.story-card h4 { margin: 54px 0 15px; font-size: 36px; line-height: .98; letter-spacing: -1.6px; }
.story-card p { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 700; color: #454039; }
.story-card .huge-clap { font-size: 66px; margin-top: 20px; }

/* ---------- Memes: art fills the card, caption over a soft diagonal wash ---------- */
.memes { background: #ede7da; }
.meme-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.meme-card {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  min-height: 360px;
  background: #111;
}
.meme-media { position: absolute; inset: 0; }
.meme-media picture { display: contents; }
.meme-media img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover;
  transform: scale(1.14);
  filter: saturate(.98) contrast(1.02);
}
.pos1 { object-position: center 70%; }
.pos2 { object-position: center 72%; }
.pos3 { object-position: center 73%; }
.pos4 { object-position: center 69%; }

.meme-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-start; justify-content: flex-start;
  padding: 26px;
}
.meme-overlay::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.meme-card:nth-child(1) .meme-overlay::before {
  background: linear-gradient(115deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .85) 26%, rgba(255, 255, 255, .18) 52%, rgba(255, 255, 255, 0) 74%);
}
.meme-card:nth-child(2) .meme-overlay::before {
  background: linear-gradient(115deg, rgba(244, 215, 93, .96) 0%, rgba(244, 215, 93, .84) 26%, rgba(244, 215, 93, .18) 52%, rgba(244, 215, 93, 0) 74%);
}
.meme-card:nth-child(3) .meme-overlay::before {
  background: linear-gradient(115deg, rgba(243, 176, 174, .96) 0%, rgba(243, 176, 174, .84) 28%, rgba(243, 176, 174, .20) 55%, rgba(243, 176, 174, 0) 78%);
}
.meme-card:nth-child(4) .meme-overlay::before {
  background: linear-gradient(115deg, rgba(188, 232, 204, .96) 0%, rgba(188, 232, 204, .84) 28%, rgba(188, 232, 204, .20) 55%, rgba(188, 232, 204, 0) 78%);
}
.meme-copy { position: relative; z-index: 2; max-width: min(72%, 520px); }
.meme-copy h4 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: .92; letter-spacing: -2px; font-weight: 1000;
}
/* Punchline words: colour only, one per card */
.meme-copy .accent { display: block; margin-top: 4px; }
.hl-green { color: #17834a; }
.hl-red { color: #c62a1c; }
.hl-yellow { color: var(--yellow); }

/* ---------- Clap back: downloadable cat + stickers ---------- */
.asset-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: stretch; }
.asset-card {
  margin: 0; display: flex; flex-direction: column;
  border: 3px solid var(--ink); background: var(--paper); overflow: hidden; box-shadow: 7px 7px 0 var(--ink);
}
.asset-card.dark { background: #111; }
.asset-card > img { flex: 1; width: 100%; min-height: 0; object-fit: contain; }
.asset-card.sticker > img { padding: 18px; }
.asset-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px; border-top: 3px solid var(--ink); background: #fff;
  font-size: 14px; font-weight: 1000; letter-spacing: .5px;
}
.asset-bar .btn { box-shadow: 4px 4px 0 var(--ink); }

/* ---------- Join the audience: banner art as backdrop ---------- */
.join {
  position: relative; overflow: hidden; background: #0b0b0b; color: #fff;
  min-height: 560px; display: flex; align-items: center;
  border-bottom: 3px solid var(--ink);
}
.join picture { display: contents; }
/* cat-and-city half of the banner art on the right, its left edge fading into the black */
.join-bg {
  position: absolute; top: 0; right: 0; width: 62%; height: 100%; max-width: none;
  object-fit: cover; object-position: 30% center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
  mask-image: linear-gradient(to right, transparent 0%, #000 30%);
}
.join-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, .6) 0%, rgba(5, 5, 5, 0) 55%);
}
.join-copy { position: relative; z-index: 2; padding: 96px 6vw; max-width: 760px; }
.join-copy h3 { margin: 0; font-size: clamp(56px, 8vw, 110px); line-height: .86; letter-spacing: -4.5px; }
.join-copy p { margin: 22px 0 0; font-size: 20px; line-height: 1.5; color: #e8e2d5; max-width: 480px; }

/* ---------- Manifesto ---------- */
.manifesto {
  position: relative;
  text-align: center;
  background: #111; color: #fff;
  padding: 120px 7vw;
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
}
.manifesto::before {
  content: ""; position: absolute; inset: -30%;
  background: radial-gradient(circle, rgba(244, 215, 93, .18), transparent 43%);
}
.manifesto > * { position: relative; z-index: 2; }
.manifesto .small { color: var(--yellow); font-weight: 1000; letter-spacing: 3px; text-transform: uppercase; font-size: 14px; }
.manifesto blockquote {
  margin: 25px auto; max-width: 1150px;
  font-size: clamp(50px, 8.3vw, 120px);
  font-weight: 1000; line-height: .88; letter-spacing: -6px;
}
.manifesto p { color: #c9c4ba; font-size: 20px; }

/* ---------- Footer ---------- */
footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 20px; padding: 45px 6vw; font-weight: 1000;
}
footer .footbrand { font-size: 38px; display: flex; align-items: center; gap: 12px; white-space: nowrap; letter-spacing: -1px; }
footer .footbrand img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: var(--ink); }
footer .disclaimer { flex-basis: 100%; font-size: 14px; line-height: 1.5; font-weight: 700; color: var(--muted); }

/* ---------- Desktop hero tiers (fixed sizes; copy above the fold on common full-size windows) ---------- */
@media (min-width: 901px) and (max-width: 1279px) {
  .hero-copy { width: 600px; padding: 56px 0 56px 6vw; }
  h1 { font-size: 112px; letter-spacing: -6px; }
  .hero h2 { font-size: 40px; margin: 22px 0 14px; letter-spacing: -1.5px; }
  .hero p { font-size: 17px; }
  .actions { margin-top: 26px; }
}
@media (min-width: 1280px) and (max-width: 1599px) {
  .hero-copy { width: 720px; padding: 56px 0 56px 6vw; }
  h1 { font-size: 128px; letter-spacing: -7px; }
  .hero h2 { font-size: 46px; margin: 22px 0 14px; letter-spacing: -2px; }
  .hero p { font-size: 18px; }
  .actions { margin-top: 26px; }
}

/* ---------- Tablet / phone ---------- */
@media (max-width: 900px) {
  nav { padding: 0 18px; }
  .navlinks a:not(.pill) { display: none; }
  /* Phones / portrait tablets: the stage art becomes a plain image at the top (no overlay),
     the copy sits below it on black. Cropped 4:3 toward the right so the cat is the focus. */
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero picture { display: block; }
  .hero-bg {
    position: static; display: block; width: 100%; height: auto;
    aspect-ratio: 4 / 3; object-position: 100% 50%;
    border-bottom: 3px solid var(--ink);
  }
  .hero-shade { display: none; }
  .hero-copy { width: 100%; padding: 36px 18px 56px; }
  h1 { font-size: clamp(80px, 13vw, 120px); letter-spacing: -0.03em; }
  .hero h2 { font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -0.01em; line-height: 1.02; }
  /* Looser tracking so the heavy display type stays legible on small screens */
  .section-head h3 { letter-spacing: -0.02em; line-height: .95; }
  .story-card h4 { letter-spacing: -0.01em; }
  .meme-copy h4 { letter-spacing: -0.01em; line-height: 1; }
  .manifesto blockquote { letter-spacing: -0.02em; line-height: .95; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .how-grid, .meme-grid, .asset-grid { grid-template-columns: 1fr; }
  .meme-card { min-height: 320px; }
  .meme-copy { max-width: 80%; }
  .join { min-height: 0; }
  .join-bg { width: 100%; object-position: 40% center; opacity: .55; -webkit-mask-image: none; mask-image: none; }
  .join-shade { background: linear-gradient(90deg, rgba(5, 5, 5, .9) 0%, rgba(5, 5, 5, .6) 100%); }
  .join-copy { padding: 80px 18px; }
  .join-copy h3 { letter-spacing: -0.02em; line-height: .95; }
  footer { flex-direction: column; align-items: flex-start; }
}
/* Portrait tablets: cap the top image so the buttons stay above the fold */
@media (min-width: 601px) and (max-width: 900px) {
  .hero-bg { height: 440px; aspect-ratio: auto; object-position: 85% 50%; }
}
@media (max-width: 480px) {
  .brand { font-size: 18px; letter-spacing: -0.02em; gap: 8px; }
  .brand-logo { width: 36px; height: 36px; }
  .pill { padding: 8px 12px; }
  section.block { padding: 72px 16px; }
  .hero-copy { padding: 28px 16px 48px; }
  .btn { padding: 12px; font-size: 14px; white-space: nowrap; }
  .actions { flex-wrap: nowrap; gap: 10px; }
  .story-card h4 { font-size: 28px; }
  footer .footbrand { font-size: 24px; }
  footer .footbrand img { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
