:root {
  color-scheme: light;
  --paper: oklch(96% 0.018 88);
  --paper-deep: oklch(92% 0.025 85);
  --ink: oklch(25% 0.025 65);
  --ink-soft: oklch(41% 0.025 65);
  --orange: oklch(68% 0.18 35);
  --orange-dark: oklch(45% 0.14 35);
  --lemon: oklch(87% 0.13 103);
  --line: oklch(81% 0.025 80);
  --white: oklch(99% 0.008 90);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-height: 100vh;
  padding:
    env(safe-area-inset-top)
    max(22px, env(safe-area-inset-right))
    env(safe-area-inset-bottom)
    max(22px, env(safe-area-inset-left));
}

button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { transform: translateY(0); }

.topbar, main, .footer {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark, .top-link, .text-link, .footer a {
  text-decoration: none;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.wordmark-mark, .footer-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
}

.top-link {
  padding: 12px 0 12px 12px;
  color: var(--ink-soft);
  font-size: 13px;
}
.top-link span, .text-link span { color: var(--orange-dark); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: 570px;
  padding: 74px 7.5% 90px;
  border-bottom: 1px solid var(--line);
}

.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: oklch(63% 0.14 145);
  box-shadow: 0 0 0 4px oklch(63% 0.14 145 / 16%);
}

h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 23px;
  font-size: clamp(4.5rem, 9.5vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.095em;
  line-height: 0.88;
}
h1 span {
  color: var(--orange-dark);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.09em;
}

.hero-intro {
  max-width: 390px;
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}
.text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.text-link:hover, .footer a:last-child:hover { color: var(--orange-dark); }

.doodle-spark {
  position: absolute;
  top: 4px;
  left: min(360px, 72%);
  color: var(--orange);
  font-size: 42px;
  transform: rotate(-12deg);
}

.portrait-wrap {
  position: relative;
  justify-self: end;
  width: min(100%, 350px);
  margin: 0 12px 4px 20px;
  transform: rotate(3deg);
}
.portrait-frame {
  overflow: hidden;
  aspect-ratio: 1;
  border: 9px solid var(--white);
  background: var(--lemon);
  box-shadow: 12px 15px 0 oklch(25% 0.025 65 / 12%);
}
.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-note {
  position: absolute;
  top: -30px;
  right: 12px;
  z-index: 1;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  transform: rotate(-8deg);
}
.portrait-note span { display: inline-block; transform: rotate(25deg); }
.portrait-sticker {
  position: absolute;
  right: -24px;
  bottom: 20px;
  display: grid;
  width: 86px;
  height: 86px;
  place-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--lemon);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transform: rotate(12deg);
}
.hero-footnote {
  position: absolute;
  right: 7.5%;
  bottom: 28px;
  display: flex;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-footnote span + span::before { content: "·"; margin-right: 9px; }

.meme-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  grid-template-areas: "head card" "evidence card";
  grid-template-rows: auto 1fr;
  justify-content: space-between;
  gap: 40px 72px;
  padding: 95px 7.5% 100px;
  background: var(--lemon);
}
.meme-heading { grid-area: head; }
.meme-heading h2 {
  margin-bottom: 0;
  letter-spacing: -0.075em;
  line-height: 0.98;
}
.meme-heading .eyebrow { margin-bottom: 17px; }
.meme-heading h2 { font-size: clamp(2.65rem, 5vw, 4rem); }
.meme-heading > p:last-of-type {
  max-width: 280px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.period { color: var(--orange-dark); }
.meme-card, .meme-evidence {
  width: 100%;
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}
.meme-card { grid-area: card; align-self: start; padding: 18px 18px 22px; }
.meme-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 62%;
  border-radius: 2px;
}
.meme-warning { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.meme-card figcaption { margin-top: 16px; font-size: clamp(1.1rem, 2.2vw, 1.35rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.meme-card strong { color: var(--orange-dark); }
.meme-evidence { grid-area: evidence; align-self: start; max-width: 340px; padding: 12px; transform: rotate(-1.5deg); }
.meme-evidence img { display: block; width: 100%; height: auto; }
.meme-evidence figcaption { margin-top: 10px; color: var(--ink-soft); font-family: var(--serif); font-size: 14px; font-style: italic; }
.footer {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 12px;
}
.footer-mark { flex: 0 0 auto; text-decoration: none; }
.footer p { margin: 0; }
.footer p span { color: var(--orange-dark); }
.footer a:last-child { padding: 12px 0 12px 12px; }
@media (max-width: 760px) {
  body { padding-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right)); }
  .topbar { min-height: 70px; }
  .top-link { max-width: 170px; font-size: 11px; text-align: right; }
  .hero {
    grid-template-columns: 1fr 0.72fr;
    min-height: 510px;
    padding: 70px 3% 82px;
  }
  h1 { font-size: clamp(4.3rem, 12vw, 6rem); }
  .hero-intro { max-width: 320px; font-size: 15px; }
  .portrait-wrap { width: min(100%, 270px); margin-right: 4px; }
  .portrait-frame { border-width: 7px; }
  .portrait-sticker { right: -15px; width: 72px; height: 72px; font-size: 9px; }
  .meme-section { grid-template-columns: minmax(0, 460px); grid-template-areas: "head" "card" "evidence"; grid-template-rows: none; justify-content: start; gap: 32px; padding: 75px 5%; }
}

@media (max-width: 560px) {
  body { padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
  .topbar { min-height: 64px; }
  .wordmark { font-size: 13px; }
  .wordmark-mark { width: 31px; height: 31px; }
  .top-link { max-width: 145px; line-height: 1.35; }
  .hero {
    grid-template-columns: 1fr;
    gap: 39px;
    min-height: auto;
    padding: 68px 3% 72px;
  }
  .hero-copy { padding-right: 4px; }
  .hero .eyebrow { margin-bottom: 18px; font-size: 10px; }
  h1 { margin-bottom: 17px; font-size: clamp(4.8rem, 22vw, 6.7rem); }
  .hero-intro { max-width: 34ch; font-size: 16px; }
  .doodle-spark { top: 1px; left: 73%; font-size: 34px; }
  .portrait-wrap { width: min(72%, 275px); justify-self: center; margin: 8px 0 13px; }
  .portrait-note { top: -25px; font-size: 16px; }
  .portrait-sticker { right: -26px; bottom: 14px; }
  .hero-footnote { right: 3%; bottom: 23px; font-size: 9px; }
  .meme-section { grid-template-columns: 1fr; padding: 65px 5% 68px; }
  .meme-heading h2 { font-size: clamp(2.8rem, 13vw, 3.8rem); }
  .meme-warning { font-size: 11px; }
  .meme-card { padding: 14px 14px 18px; }
  .footer { min-height: 100px; flex-wrap: wrap; justify-content: flex-start; gap: 8px 14px; padding-block: 20px; }
  .footer p { flex: 1; }
  .footer a:last-child { width: 100%; padding: 4px 0; }
}

@media (max-width: 360px) {
  .hero-footnote { gap: 5px; }
  .hero-footnote span + span::before { margin-right: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
