/* $HENRY — black / white / yellow tabloid theme */
:root {
  --black: #0a0a0a;
  --ink: #141414;
  --line: #2a2a2a;
  --white: #ffffff;
  --muted: #a8a8a8;
  --yellow: #ffd400;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--black); color: var(--white); line-height: 1.5; overflow-x: clip; }
h1, h2, h3, .display { font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .5px; line-height: .95; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

/* highlighter-marker stroke behind words */
.hl { display: inline-block; background: var(--yellow); color: var(--black); padding: .06em .18em 0; border-radius: 4px; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: "Anton", Impact, sans-serif; text-transform: uppercase; letter-spacing: .6px; font-size: 18px; padding: 12px 22px; border-radius: 10px; border: 0; background: var(--white); color: var(--black); transition: background .15s, color .15s; white-space: nowrap; }
.btn:hover { background: #e6e6e6; }
.btn:active { transform: scale(.97); }
.btn.y { background: var(--yellow); }
.btn.y:hover { background: #ffe14d; }
.btn.dark { background: var(--white); color: var(--black); }
.btn.sm { font-size: 15px; padding: 8px 14px; border-width: 2px; }
.btn.big { font-size: clamp(20px, 2.4vw, 26px); padding: 14px 28px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--black); border-bottom: 3px solid var(--yellow); }
.topbar-in { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 18px; }
.wordmark { font-family: "Anton", Impact, sans-serif; font-size: 28px; color: var(--yellow); margin-right: auto; letter-spacing: 1px; }
.topbar nav { display: flex; gap: 4px; }
.topbar nav a { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; padding: 8px 12px; border-radius: 8px; color: var(--muted); }
.socials { display: flex; gap: 8px; }
.socials .btn { padding: 7px 11px; font-size: 13px; }
.topbar nav a:hover { color: var(--white); background: var(--ink); }

/* ---------- header / hero ---------- */
.hero { min-height: calc(100vh - 66px); min-height: calc(100dvh - 66px); display: flex; align-items: center; position: relative; overflow: hidden;
  background: var(--black); }
.hero-in { width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(18px, 4vh, 48px) 16px; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-in > * { min-width: 0; }
.tag { display: inline-block; background: var(--yellow); color: var(--black); font-family: "Anton", Impact, sans-serif; letter-spacing: 2px; font-size: 15px; padding: 5px 12px; margin-bottom: 14px; }
.tag.red { background: var(--white); }
.hero h1 { font-size: clamp(76px, min(13vw, 17vh), 190px); color: var(--white); }
.hero .kicker { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: clamp(26px, min(3.6vw, 5vh), 46px); line-height: 1.15; margin: 14px 0 14px; }
.hero .kicker .hl { margin-top: 6px; }
.hero .lead { color: #d8d8d8; font-size: clamp(15px, 2vh, 18px); max-width: 520px; margin-bottom: clamp(14px, 2.6vh, 26px); }
.hero .lead b { color: var(--yellow); }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.ca { display: flex; align-items: center; gap: 10px; background: var(--white); color: var(--black); border: 0; border-radius: 12px; padding: 6px 6px 6px 14px; max-width: 560px; margin-bottom: clamp(14px, 2.4vh, 22px); }
.ca b { font-family: "Anton", Impact, sans-serif; font-size: 18px; }
.ca code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.ca button { background: var(--black); color: var(--yellow); font-family: "Anton", Impact, sans-serif; letter-spacing: 1px; font-size: 15px; padding: 8px 14px; border-radius: 8px; }

/* the main meme */
.mainmeme { position: relative; }
.bigmeme { display: grid; grid-template-columns: 1fr 1fr; border: 5px solid var(--white); background: var(--black); }
.bigmeme figure { position: relative; aspect-ratio: 4/5; max-height: 68vh; overflow: hidden; }
.bigmeme figure + figure { border-left: 5px solid var(--white); }
.bigmeme img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bigmeme .cap, .meme-cap { position: absolute; left: 0; right: 0; padding: 10px; text-align: center; color: #fff; font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: clamp(18px, min(2.6vw, 3.8vh), 36px); line-height: 1.05; -webkit-text-stroke: 2px #000; paint-order: stroke fill; text-shadow: 0 3px 0 #000; }
.bigmeme .cap.top { top: 0; } .bigmeme .cap.bot { bottom: 0; }
.sticker { font-family: "Anton", Impact, sans-serif; font-size: clamp(18px, 2vw, 26px); background: var(--yellow); color: var(--black); border: 3px solid var(--black); padding: 6px 14px; }

.badges { display: flex; gap: 10px; justify-content: center; margin-bottom: 14px; }
.sticker.s2 { background: var(--white); }

/* ---------- hazard divider ---------- */
.hazard { height: 22px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 22px, var(--black) 22px 44px); border-top: 3px solid var(--black); border-bottom: 3px solid var(--black); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 10vh, 110px) 16px; }
.section.yellow { background: var(--yellow); color: var(--black); }
.section.white { background: var(--white); color: var(--black); }
.wrap { max-width: 1240px; margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: clamp(32px, 5vh, 54px); }
.sec-head .num { display: inline-block; font-family: "Anton", Impact, sans-serif; font-size: 15px; letter-spacing: 3px; background: var(--black); color: var(--yellow); padding: 4px 12px; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(48px, 8vw, 104px); }
.sec-head p { font-size: clamp(16px, 2vw, 20px); margin-top: 10px; opacity: .8; font-weight: 600; }

/* section 1: numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.stat .n { font-family: "Anton", Impact, sans-serif; font-size: clamp(48px, 6vw, 76px); color: var(--yellow); line-height: 1; }
.stat .k { font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin-top: 10px; color: #ddd; }
.punch { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; text-align: center; font-size: clamp(28px, 4.4vw, 54px); line-height: 1.05; margin-top: clamp(36px, 6vh, 60px); }

/* section 2: story */
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: beat; }
.beat { background: var(--ink); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.beat:hover { border-color: var(--yellow); transform: translateY(-4px); }
.beat .pic { position: relative; aspect-ratio: 499/438; background: #1c1c1c; border-bottom: 2px solid var(--line); }
.beat .pic::before { content: attr(data-em); position: absolute; inset: 0; display: grid; place-items: center; font-size: 96px; }
.beat .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.beat .no { position: absolute; top: 12px; left: 12px; font-family: "Anton", Impact, sans-serif; font-size: 30px; line-height: 1; background: var(--yellow); color: var(--black); padding: 6px 10px; border-radius: 6px; }
.beat .body { padding: 18px 22px 22px; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.beat h3 { font-size: 30px; margin-bottom: 8px; }
.beat p { color: #cfcfcf; font-size: 15px; }
.beat.final { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.beat.final .pic { border-bottom-color: var(--black); }
.beat.final p { color: #222; }
.beat.final .no { background: var(--black); color: var(--yellow); }

/* section 3: memes */
.memes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.meme { background: var(--black); border: 4px solid var(--black); border-radius: 10px; overflow: hidden; transition: transform .15s; cursor: zoom-in; aspect-ratio: 1/1; padding: 0; }
.meme:hover { transform: translateY(-4px); }
.meme img { width: 100%; height: 100%; object-fit: cover; }
.meme.loading { background: repeating-linear-gradient(-45deg, #111 0 14px, #1b1b1b 14px 28px); }
.memes-note { text-align: center; margin-top: 26px; font-weight: 700; }

/* ---------- final buy block + footer ---------- */
.final-buy { text-align: center; }
.final-buy h2 { font-size: clamp(54px, 9vw, 120px); color: var(--yellow); }
.final-buy p { color: var(--muted); margin: 10px 0 26px; font-size: 18px; }
.final-buy .ca { margin: 0 auto 22px; }
.final-buy .buy-row { justify-content: center; }
footer { border-top: 3px solid var(--yellow); padding: 26px 16px 90px; text-align: center; color: #8a8a8a; font-size: 12px; }
footer p { max-width: 720px; margin: 0 auto; }

/* ---------- sticky buy bar ---------- */
.stickybar { position: fixed; left: 50%; bottom: 14px; z-index: 50; display: flex; align-items: center; gap: 14px; background: var(--black); border: 3px solid var(--yellow); border-radius: 999px; padding: 6px 6px 6px 8px; box-shadow: 0 10px 30px rgba(0,0,0,.6); transform: translate(-50%, 140%); opacity: 0; transition: transform .25s, opacity .25s; }
.stickybar.show { transform: translate(-50%, 0); opacity: 1; }
.stickybar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 2px solid var(--white); }
.stickybar .t { font-family: "Anton", Impact, sans-serif; font-size: 20px; line-height: 1; }
.stickybar .t small { display: block; font-family: "Inter"; font-size: 11px; color: var(--muted); font-weight: 700; margin-top: 3px; }
.stickybar .btn { border-radius: 999px; box-shadow: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; flex-direction: column; gap: 18px; padding: 20px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(640px, 100%); max-height: calc(100vh - 140px); border: 5px solid var(--yellow); }
.lightbox .row { display: flex; gap: 12px; }

/* ---------- toast ---------- */
.toast { position: fixed; top: 74px; left: 50%; z-index: 80; transform: translate(-50%, -20px); opacity: 0; background: var(--yellow); color: var(--black); border: 3px solid var(--black); font-family: "Anton", Impact, sans-serif; letter-spacing: 1px; font-size: 18px; padding: 10px 20px; transition: transform .2s, opacity .2s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- fade in ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .story, .memes { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-in { grid-template-columns: 1fr; text-align: center; padding-top: 28px; padding-bottom: 56px; }
  .hero .lead, .ca { margin-left: auto; margin-right: auto; }
  .buy-row { justify-content: center; }
  .mainmeme { max-width: 560px; width: 100%; margin: 16px auto 0; }
  .bigmeme figure { max-height: none; }
}
@media (max-width: 600px) {
  .topbar nav { display: none; }
  .topbar-in { gap: 8px; }
  .socials { gap: 4px; }
  .socials .btn { padding: 5px 7px; font-size: 12px; }
  .story, .memes { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 20px 12px; }
  .bigmeme { border-width: 3px; }
  .bigmeme figure + figure { border-left-width: 3px; }
  .bigmeme .cap { -webkit-text-stroke: 1.2px #000; padding: 6px 4px; font-size: clamp(14px, 4.6vw, 22px); }
  .sticker { font-size: 15px; padding: 4px 10px; }

  .buy-row .btn.big { font-size: 19px; padding: 12px 18px; }
  .buy-row .btn.dark { font-size: 16px; padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- story + memes: each fits one screen on desktop ---------- */
@media (min-width: 601px) {
  #story, #memes { min-height: calc(100vh - 66px); min-height: calc(100dvh - 66px); display: flex; align-items: center; padding-top: clamp(24px, 4.5vh, 56px); padding-bottom: clamp(24px, 4.5vh, 56px); }
  #story .wrap, #memes .wrap { width: 100%; }
  #story .sec-head, #memes .sec-head { margin-bottom: clamp(14px, 3vh, 30px); }
  #story .sec-head h2, #memes .sec-head h2 { font-size: clamp(40px, 8vh, 84px); }
  #story .sec-head .num, #memes .sec-head .num { margin-bottom: 8px; }
  #story .sec-head p, #memes .sec-head p { margin-top: 6px; font-size: clamp(15px, 2vh, 19px); }
  /* 3 x 2 square memes sized so both rows fit under the heading */
  .memes { max-width: calc((100vh - 66px - 250px) / 2 * 3 + 44px); max-width: calc((100dvh - 66px - 250px) / 2 * 3 + 44px); margin: 0 auto; }
}
/* story: all 6 beats in one row on wide screens */
@media (min-width: 1001px) {
  .story { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .beat .body { padding: 14px 12px 16px; }
  .beat h3 { font-size: clamp(19px, 1.7vw, 24px); }
  .beat p { font-size: 13.5px; line-height: 1.45; }
  .beat .no { font-size: 22px; padding: 4px 8px; top: 8px; left: 8px; }
}

/* hero text column centered */
.hero-in > div:first-child { text-align: center; }
.hero .lead, .hero .ca { margin-left: auto; margin-right: auto; }
.hero .buy-row { justify-content: center; }

/* logo buttons */
.btn .ico { width: 18px; height: 18px; flex: none; object-fit: contain; }
.btn img.ico { border-radius: 4px; background: #000; }
.icon-btn { width: 36px; height: 34px; padding: 0 !important; }
.links-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.links-row .btn { font-size: 16px; padding: 10px 18px; }

/* hero buttons: same size side by side */
.hero .buy-row { display: grid; grid-template-columns: 1fr 1fr; max-width: 520px; margin: 0 auto; }
.hero .buy-row .btn { font-size: clamp(18px, 2.2vw, 24px); padding: 14px 16px; }
@media (max-width: 600px) { .hero .buy-row .btn { font-size: 17px; padding: 12px 10px; } }
