@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Patrick+Hand&family=Source+Serif+4:opsz,wght@8..60,500;8..60,700&display=swap");

:root {
  color-scheme: light;
  --paper: #e9ece8;
  --card: #f3f0e8;
  --ink: #181a17;
  --red: #bd583a;
  --green: #315a4a;
  --fog: #cbd7d7;
  --rule: #24251f;
  --muted: #746e63;
  font-family: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }

html { background: #dfe3df; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 25% 10%, rgb(255 255 255 / 72%), transparent 35rem),
    repeating-linear-gradient(0deg, rgb(55 44 29 / 2%) 0 1px, transparent 1px 4px),
    var(--paper);
}

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

.page-shell {
  width: min(1100px, calc(100% - 34px));
  margin: 0 auto;
  padding: 46px 0 64px;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 168px;
  width: 100vw;
  margin-top: -46px;
  margin-left: calc(50% - 50vw);
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 4px solid var(--red);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -34px -10px 0;
  background:
    radial-gradient(circle at 20% 40%, rgb(203 215 215 / 45%), transparent 42%),
    linear-gradient(90deg, rgb(243 240 232 / 60%), rgb(233 236 232 / 72%));
  pointer-events: none;
}

.hero-art {
  position: absolute;
  z-index: -1;
  top: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  opacity: 0.63;
  pointer-events: none;
}

.hero-art--left {
  left: 0;
  object-position: left 44%;
  -webkit-mask-image: linear-gradient(to right, #000 18%, rgb(0 0 0 / 70%) 56%, transparent 100%);
  mask-image: linear-gradient(to right, #000 18%, rgb(0 0 0 / 70%) 56%, transparent 100%);
}

.hero-art--right {
  right: 0;
  object-position: 72% 48%;
  -webkit-mask-image: linear-gradient(to left, #000 25%, rgb(0 0 0 / 78%) 62%, transparent 100%);
  mask-image: linear-gradient(to left, #000 25%, rgb(0 0 0 / 78%) 62%, transparent 100%);
}

.hero::after {
  content: "★";
  position: absolute;
  bottom: -12px;
  left: 50%;
  padding: 0 10px;
  color: var(--red);
  background: var(--paper);
  transform: translateX(-50%);
}

h1, h2, h3, p { margin-top: 0; }

.note-label,
.meta,
.vibe,
.cat-number {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
.cat-intro h2,
.shared-card h2,
.section-title,
.fun-card h2,
.house-note h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
  font-size: clamp(4.4rem, 10vw, 8rem);
  line-height: 0.82;
  letter-spacing: -0.035em;
}

.sf-stamp {
  position: absolute;
  top: 0;
  left: 8px;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-8deg);
  opacity: 0.88;
}

.sf-stamp::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed currentColor;
  border-radius: inherit;
}

.sf-stamp strong { margin: -7px 0; font-size: 2.25rem; letter-spacing: 0.04em; }

.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 2px solid var(--rule);
  background: rgb(243 240 232 / 82%);
  box-shadow: 3px 3px 0 rgb(34 33 28 / 8%);
}

.cat-number {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 4px 12px 5px;
  color: #fff;
  background: var(--red);
  font-size: 1.35rem;
}

.cat-number--mercedes { background: var(--green); }

.cat-portrait { width: 100%; margin: 0; }

.cat-portrait img {
  width: 100%;
  aspect-ratio: 1;
  border-bottom: 5px solid var(--ink);
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) sepia(0.08);
}

.cat-intro { padding: 18px 16px 2px; }

.cat-intro h2 {
  margin-bottom: 7px;
  color: var(--red);
  font-size: clamp(2.5rem, 5vw, 3.65rem);
  line-height: 0.85;
}

.cat-card--mercedes .cat-intro h2 { color: var(--green); }

.cat-intro h2 span {
  display: inline;
  margin-left: 5px;
  color: var(--ink);
  font-size: 0.42em;
  letter-spacing: 0.025em;
}

.meta { margin: 0 0 8px; color: var(--muted); font-size: 0.78rem; }
.vibe { margin: 0 0 10px; font-size: 0.95rem; line-height: 1.05; }
.summary { margin: 0; font-size: 0.95rem; font-weight: 700; line-height: 1.35; }

.how-to-hang {
  margin: 14px 16px 0;
  padding: 12px 0 16px;
  border-top: 2px solid var(--rule);
}

.note-label { margin: 0 0 8px; color: var(--red); font-size: 1.1rem; }
.cat-card--mercedes .note-label { color: var(--green); }

.how-to-hang ul,
.shared-card ul,
.shared-card ol,
.fun-card ul,
.urgent-card ul { margin: 0; padding-left: 1.15rem; }

.how-to-hang li,
.shared-card li,
.fun-card li,
.urgent-card li { line-height: 1.45; }

.how-to-hang li + li,
.shared-card li + li,
.fun-card li + li,
.urgent-card li + li { margin-top: 6px; }

.shared-card {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  margin: 28px 0 0;
  padding: 22px 24px;
  border-top: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
  background: transparent;
}

.section-icon {
  grid-row: 1 / span 4;
  align-self: start;
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.shared-card h2 {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 2.4rem;
  line-height: 0.9;
}

.shared-card--green h2 { color: var(--green); }
.shared-lede { margin-bottom: 12px; font-weight: 700; line-height: 1.45; }
.shared-card ol, .shared-card ul { margin-bottom: 12px; }

.callout {
  margin: 5px 0 0;
  padding: 9px 12px;
  border-left: 5px solid var(--red);
  background: rgb(189 46 37 / 8%);
  font-family: "Patrick Hand", cursive;
  font-size: 1.12rem;
  line-height: 1.25;
}

.section-title {
  margin: 42px 0 16px;
  font-size: 2.8rem;
  line-height: 0.9;
  text-align: center;
}

.house-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 2px solid var(--rule);
}

.house-note { padding: 20px; }
.house-note:nth-child(odd) { border-right: 1px solid var(--rule); }
.house-note:nth-child(-n + 2) { border-bottom: 1px solid var(--rule); }

.house-note h3 {
  margin-bottom: 7px;
  color: var(--green);
  font-size: 1.6rem;
  line-height: 1;
}

.house-note p { margin: 0; line-height: 1.5; }

.fun-card {
  margin-top: 30px;
  padding: 22px 24px;
  color: #f8f4ea;
  background: var(--green);
  box-shadow: 4px 4px 0 rgb(28 30 24 / 15%);
}

.fun-card h2 { margin-bottom: 10px; font-size: 2.25rem; line-height: 0.9; }

.urgent-card {
  margin-top: 30px;
  padding: 24px;
  border: 3px solid var(--red);
  background: rgb(243 240 232 / 72%);
}

.urgent-card .section-title { margin: 0 0 12px; color: var(--red); text-align: left; }

.vet-card { margin-top: 30px; border: 2px solid var(--rule); background: rgb(243 240 232 / 72%); }
.vet-card > h2, .vet-instruction { padding-inline: 24px; }
.vet-card > h2 { margin: 22px 0 8px; color: var(--green); font-size: 2.25rem; line-height: 0.9; }
.vet-instruction { margin: 0 0 20px; font-weight: 700; line-height: 1.45; }
.vet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.vet-grid section { padding: 20px 24px; }
.vet-grid section + section { border-left: 1px solid var(--rule); }
.vet-grid h3 { margin: 6px 0; font-size: 1.35rem; line-height: 1.1; }
.vet-grid p { margin: 0 0 4px; }
.vet-grid .vet-aside { margin-bottom: 10px; color: var(--muted); font-style: italic; }
.vet-grid a { color: var(--red); font-weight: 800; }

.footer-note {
  margin: 30px 0 0;
  padding: 18px;
  color: #fff;
  background: var(--green);
  text-align: center;
  font-family: "Patrick Hand", cursive;
  font-size: 1.42rem;
  line-height: 1.15;
}

@media (max-width: 800px) {
  .page-shell { width: min(100% - 20px, 580px); padding-top: 28px; }
  h1 { font-size: clamp(4.5rem, 22vw, 6.6rem); }
  .cats-grid { grid-template-columns: 1fr; }
  .cat-intro h2 { font-size: clamp(2.2rem, 10vw, 3.1rem); }
  .shared-card { grid-template-columns: 52px 1fr; padding: 19px 14px; }
  .section-icon { grid-row: auto; width: 44px; height: 44px; }
  .shared-card h2 { align-self: center; }
  .shared-card > :not(.section-icon):not(h2) { grid-column: 1 / -1; }
  .shared-card > .shared-lede { margin-top: 14px; }
  .hero { min-height: 158px; margin-top: -28px; }
  .sf-stamp { top: -2px; left: 0; width: 70px; height: 70px; font-size: 0.5rem; }
  .sf-stamp strong { font-size: 1.65rem; }
}

@media (max-width: 440px) {
  .cat-card {
    padding: 0;
  }
  .cat-number { margin-bottom: 10px; font-size: 1.1rem; }
  .cat-intro h2 { font-size: 2.25rem; }
  .meta { font-size: 0.7rem; }
  .vibe, .summary { font-size: 0.84rem; }
  .how-to-hang { font-size: 0.94rem; }
  .house-grid { grid-template-columns: 1fr; }
  .house-note:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--rule); }
  .house-note:last-child { border-bottom: 0; }
  .vet-grid { grid-template-columns: 1fr; }
  .vet-grid section + section { border-top: 1px solid var(--rule); border-left: 0; }
  .hero { min-height: 154px; }
  .sf-stamp { width: 58px; height: 58px; opacity: 0.72; }
  .sf-stamp strong { font-size: 1.35rem; }
  .sf-stamp span { font-size: 0.42rem; }
}
