@font-face {
  font-family: Newsreader;
  src: url("./fonts/newsreader-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("./fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("./fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
:root {
  --paper: #f7f3eb;
  --ink: #30271f;
  --muted: #6d6257;
  --line: #d8cfc1;
  --packet: #f0e6d2;
  --packet-edge: #a39783;
  --gold: #705b31;
  --sky: #416573;
  --font-body: Inter, Arial, sans-serif;
  --font-story: Newsreader, Georgia, serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body[data-kind="archive"] {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--font-body);
}
h1,
h2,
p,
ol,
li {
  margin: 0;
}
h1,
h2 {
  font-family: var(--font-story);
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 6px;
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px;
  z-index: 5;
}
.skip:focus {
  top: 16px;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
}
.small-note {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
}
.archive-shell {
  max-width: 1184px;
  padding: 0 48px 64px;
  margin: auto;
}
.archive-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  border-bottom: 1px solid var(--line);
  padding: 32px 0 24px;
}
.brand {
  font: 1.85rem/1.1 var(--font-story);
}
.brand span {
  display: block;
  margin-top: 4px;
  font: 600 0.6rem/2 var(--font-body);
  letter-spacing: 0.22em;
}
.house-note {
  color: var(--muted);
  font-size: 0.78rem;
}
.today-door {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 352px);
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.today-door .eyebrow {
  color: var(--muted);
}
.door-date {
  margin: 24px 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
}
.today-door h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.2vw, 4.75rem);
  letter-spacing: -0.035em;
}
.door-teaser {
  margin: 20px 0 16px;
  max-width: 34ch;
  font: 1.3rem/1.45 var(--font-story);
  color: var(--muted);
}
.packet-shelf-wrap {
  padding: 48px 0 56px;
}
.packet-shelf-wrap h2 {
  font-size: 2rem;
}
.list-lead {
  margin: 12px 0 32px;
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.92rem;
}
.packet-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 40px;
  list-style: none;
  padding: 0;
}
.seed-packet {
  min-width: 0;
}
/* Keep the link unclipped so the keyboard outline surrounds the whole packet. */
.seed-packet-link {
  display: block;
  width: 100%;
  max-width: 336px;
  text-decoration: none;
  filter: drop-shadow(0 3px 2px rgb(48 39 31 / 5%))
    drop-shadow(0 8px 10px rgb(48 39 31 / 8%));
  transition: transform 160ms ease-out;
}
.seed-packet-link:hover {
  transform: translateY(-2px);
}
.door-packet {
  max-width: 352px;
}
.packet-face {
  position: relative;
  display: block;
  background: var(--packet);
  padding: 32px 16px 18px;
  box-shadow: inset 0 0 0 1px #c6b99f;
  /* Fine pinking shears at the glued edge; only this inner sheet is clipped. */
  clip-path: polygon(
    0 5px,
    2% 0,
    4% 5px,
    6% 0,
    8% 5px,
    10% 0,
    12% 5px,
    14% 0,
    16% 5px,
    18% 0,
    20% 5px,
    22% 0,
    24% 5px,
    26% 0,
    28% 5px,
    30% 0,
    32% 5px,
    34% 0,
    36% 5px,
    38% 0,
    40% 5px,
    42% 0,
    44% 5px,
    46% 0,
    48% 5px,
    50% 0,
    52% 5px,
    54% 0,
    56% 5px,
    58% 0,
    60% 5px,
    62% 0,
    64% 5px,
    66% 0,
    68% 5px,
    70% 0,
    72% 5px,
    74% 0,
    76% 5px,
    78% 0,
    80% 5px,
    82% 0,
    84% 5px,
    86% 0,
    88% 5px,
    90% 0,
    92% 5px,
    94% 0,
    96% 5px,
    98% 0,
    100% 5px,
    100% 100%,
    0 100%
  );
}
.packet-face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%236d6257' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.packet-seal {
  position: absolute;
  inset: 0 0 auto;
  height: 21px;
  border-bottom: 1px solid #c6b99f;
  background: repeating-linear-gradient(90deg, #e7dcc4 0 1px, #eae0cb 1px 3px);
}
.packet-print {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--packet-edge);
  padding: 14px;
  text-align: center;
}
.packet-house {
  margin: 0 0 14px;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.packet-window {
  display: block;
  border: 1px solid var(--packet-edge);
  padding: 3px;
  background: #f9f3e6;
}
.packet-window img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 58%;
}
.packet-window.is-typeface {
  display: grid;
  min-height: 160px;
  place-items: center;
  background: #e8deca;
}
.packet-type {
  padding: 24px 12px;
  font: 2.2rem/1.1 var(--font-story);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.packet-cultivar {
  margin: 20px 0 10px;
  font: 2rem/1.05 var(--font-story);
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.packet-note {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}
.packet-small-print {
  display: block;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--packet-edge);
  font-size: 0.7rem;
  line-height: 1.65;
  color: var(--muted);
}
/* Shelf packets share their row height; the door keeps its natural height. */
.seed-packet,
.seed-packet .seed-packet-link,
.seed-packet .packet-face {
  display: grid;
}
.seed-packet .packet-note {
  margin-bottom: 20px;
}
.seed-packet .packet-small-print {
  margin-top: auto;
}
.packet-small-print time {
  white-space: nowrap;
}
.packet-mark {
  align-self: center;
  margin-top: 12px;
  padding: 3px 10px 2px;
  border: 1px solid #a58a52;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.archive-footer {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}
.archive-footer .small-note {
  margin-top: 8px;
}
@media (max-width: 999px) {
  .packet-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .today-door {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: 32px;
  }
}
@media (max-width: 639px) {
  .archive-shell {
    padding: 0 24px 48px;
  }
  .archive-header {
    padding-top: 24px;
  }
  .today-door {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 32px 0 40px;
  }
  .today-door h1 {
    font-size: 3rem;
  }
  .seed-packet-link {
    max-width: 336px;
  }
  .packet-shelf {
    grid-template-columns: minmax(0, 1fr);
  }
  .packet-shelf-wrap {
    padding: 40px 0;
  }
}
@media (max-width: 359px) {
  .archive-shell {
    padding-inline: 20px;
  }
  .packet-print {
    padding: 12px;
  }
  .packet-cultivar {
    font-size: 1.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
