/* :root {
  --ink: #1c140c;
  --paper: #f3e6c9;
  --paper-2: #e8d4a8;
  --lime: #d6ff3c;
  --coral: #ff5a3c;
  --muted: #8a7354;
  --shadow: 0.18rem 0.22rem 0 var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #ffe08a 0%, transparent 55%),
    radial-gradient(900px 420px at 110% 0%, #ffb199 0%, transparent 50%),
    var(--paper);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.05rem;
  line-height: 1.55;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 10;
}

.skip:focus {
  top: 1rem;
}

.top,
main,
footer {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 6vw 0;
}

.mark {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  gap: 1.25rem;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  border-bottom-color: var(--coral);
}

.hero {
  padding: 8vh 6vw 4vh;
  max-width: 56rem;
}

.page-hero {
  padding-top: 6vh;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  line-height: 0.95;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--muted);
  text-transform: lowercase;
}

h1 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(4.2rem, 16vw, 9.5rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.tilt {
  display: inline-block;
  color: var(--coral);
  transform: rotate(-8deg);
}

.lede {
  max-width: 38rem;
  margin: 1.75rem 0 1.5rem;
  font-size: 1.05rem;
}

.stamp {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.7rem;
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.panel {
  padding: 2rem 6vw 4rem;
}

h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 1.25rem;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.cards li {
  background: #fff8e8;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem 1.3rem;
}

.num {
  color: var(--coral);
  font-size: 0.85rem;
}

.cards h3 {
  font-family: Fraunces, Georgia, serif;
  margin: 0.35rem 0 0.5rem;
  font-size: 1.35rem;
}

.cards h3 a,
.link-stamp {
  color: inherit;
  text-decoration: none;
}

.cards h3 a:hover,
.cards h3 a:focus-visible {
  color: var(--coral);
}

.cards p {
  margin: 0;
  color: #3b2c1a;
}

.notes blockquote p {
  margin: 0;
  color: var(--paper);
}

.notes {
  max-width: 44rem;
}

blockquote {
  margin: 0;
  padding: 1.25rem 1.4rem;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 0.18rem 0.22rem 0 var(--coral);
}

blockquote p {
  color: var(--paper);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 6vw 2rem;
  border-top: 2px solid var(--ink);
  font-size: 0.9rem;
}

.fine {
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .top {
    flex-direction: column;
    gap: 0.5rem;
  }

  footer {
    flex-direction: column;
  }
}

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

  .tilt {
    transform: none;
  }
} */
