:root {
  --bg: #fbfaf7;
  --ink: #151515;
  --muted: #5f6469;
  --line: #e7e1d9;
  --paper: #ffffff;
  --red: #d92525;
  --red-dark: #9d1717;
  --blue: #e8f0f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 12px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
}

.actions,
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.primary-button {
  border: 1px solid var(--red-dark);
  background: var(--red);
  color: white;
  box-shadow: 0 12px 24px rgba(217, 37, 37, 0.15);
}

.ghost-button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

button.primary-button,
button.ghost-button {
  cursor: not-allowed;
}

a.ghost-button {
  cursor: pointer;
}

.large {
  min-height: 52px;
  padding: 0 24px;
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 44px 0 72px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 8.4vw, 118px);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 620px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.hero-art {
  position: relative;
  margin: 0;
}

.hero-art::before {
  position: absolute;
  inset: 18% 5% -8% 20%;
  content: "";
  background: var(--blue);
  border-radius: 50%;
  filter: blur(0);
}

.hero-art img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  filter: drop-shadow(0 28px 50px rgba(21, 21, 21, 0.12));
}

.statement {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.statement p {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
  font-size: clamp(28px, 4.8vw, 64px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.memes {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-heading .eyebrow {
  margin: 0;
  flex: 0 0 auto;
}

h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
  text-align: right;
  text-wrap: balance;
}

.meme-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.meme-card {
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.meme-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.meme-card p {
  margin: 0;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meme-card.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.meme-card.wide img {
  height: calc(100% - 47px);
}

.quote-card {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 260px;
  padding: 22px;
}

.quote-card strong {
  max-width: 420px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: 0;
}

.quote-card span {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.ticker-band {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 5vw, 72px);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 46px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-band span:nth-child(2) {
  color: var(--red);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .actions {
    justify-content: flex-end;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 46px;
  }

  .hero-art {
    width: 100%;
    justify-self: center;
    order: -1;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  h2 {
    text-align: left;
  }

  .meme-grid {
    grid-template-columns: 1fr;
  }

  .meme-card.wide {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(100% - 24px, 1180px);
    padding-top: 14px;
  }

  .brand {
    font-size: 16px;
  }

  .actions {
    gap: 8px;
  }

  .actions .primary-button,
  .actions .ghost-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .hero {
    width: min(100% - 24px, 1180px);
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 74px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .large {
    width: 100%;
  }

  .statement p {
    width: min(100% - 24px, 980px);
    padding: 42px 0;
  }

  .ticker-band {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }
}
