:root {
  --paper: #f3ecdf;
  --paper-deep: #e7dcc8;
  --card: #fffaf2;
  --ink: #1c1712;
  --muted: #5c5348;
  --line: #d9cbb6;
  --pine: #0f5c3d;
  --pine-soft: #e5f2ea;
  --stamp: #8d2c2c;
  --stamp-soft: #f8e8e4;
  --gold: #8a5a22;
  --gold-soft: #f6ecd9;
  --shadow: 0 1px 0 rgba(28, 23, 18, 0.04);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(15, 92, 61, 0.08), transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--pine); }
a:hover { color: #083d28; }
:focus-visible { outline: 3px solid #1d7a52; outline-offset: 2px; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 5;
}
.skip:focus { top: 0.5rem; }

.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
header.site {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(243, 236, 223, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.brand { display: flex; gap: 0.7rem; align-items: center; text-decoration: none; color: inherit; }
.mark {
  width: 2.4rem;
  height: 2.4rem;
  border: 1.5px solid var(--ink);
  border-radius: 4px 10px 4px 4px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 650;
  background: var(--card);
}
.brand-name { display: flex; flex-direction: column; }
.brand-name strong { font-family: var(--serif); font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand-name span { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 0.85rem; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.nav a[aria-current="page"] { color: var(--pine); font-weight: 650; }
.menu { display: none; }

.hero { padding: 2.2rem 0 1rem; }
.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
}
h1, h2, h3, h4 { font-family: var(--serif); letter-spacing: -0.03em; line-height: 1.15; font-weight: 650; }
h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin: 0 0 0.8rem; max-width: 18ch; }
.lede { font-size: 1.15rem; max-width: 42rem; margin: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.stats li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.92rem;
}
.stats strong { font-variant-numeric: tabular-nums; }

section { margin: 1.6rem 0 2rem; }
section h2 { font-size: 1.8rem; margin: 0 0 0.4rem; }
.section-note { color: var(--muted); margin: 0 0 1rem; max-width: 46rem; }

.cards { display: grid; gap: 0.8rem; }
@media (min-width: 800px) { .cards.two { grid-template-columns: 1fr 1fr; } }

.offer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1rem 0.85rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.35rem;
}
.offer header { display: flex; gap: 0.8rem; align-items: flex-start; }
.amount {
  flex: 0 0 auto;
  min-width: 4.6rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--pine);
  font-variant-numeric: tabular-nums;
}
.offer h3 { margin: 0; font-size: 1.18rem; }
.meta { color: var(--muted); font-size: 0.92rem; margin: 0; }
.terms { margin: 0.2rem 0; }
.slip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  border-top: 1px dashed var(--line);
  margin-top: 0.4rem;
  padding-top: 0.55rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.slip a { font-family: var(--sans); font-size: 0.92rem; font-weight: 650; }
.pills { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.pill {
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--muted);
}
.pill.live { background: var(--pine-soft); color: var(--pine); border-color: transparent; }
.pill.soon { background: var(--stamp-soft); color: var(--stamp); border-color: transparent; }
.pill.ended { background: #eee; color: #555; }
.pill.later { background: var(--gold-soft); color: var(--gold); border-color: transparent; }
.pill.store { background: #efe7f6; color: #4d3570; border-color: transparent; }

.search {
  width: 100%;
  max-width: 28rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  margin: 0.4rem 0 1rem;
}

.slots { display: grid; gap: 0.8rem; }
@media (min-width: 800px) { .slots { grid-template-columns: 1fr 1fr; } }
.slot {
  border: 1.5px dashed var(--gold);
  background: repeating-linear-gradient(-45deg, var(--gold-soft), var(--gold-soft) 8px, #fbf7ee 8px, #fbf7ee 16px);
  border-radius: 14px;
  padding: 1rem;
}
.slot h3 { margin: 0.2rem 0; }
.slot p { margin: 0.3rem 0; }

.directory { display: grid; gap: 0.7rem; }
@media (min-width: 700px) { .directory { grid-template-columns: 1fr 1fr; } }
.directory a.tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.directory a.tile:hover { border-color: var(--pine); }
.directory h3 { margin: 0 0 0.25rem; font-size: 1.2rem; }
.directory p { margin: 0; color: var(--muted); }

table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 0.98rem; }
th, td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }

.prose { max-width: 44rem; }
.prose a, .slip a { overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.6rem; }
.prose li { margin: 0.3rem 0; }
.callout {
  background: var(--pine-soft);
  border-left: 4px solid var(--pine);
  padding: 0.8rem 1rem;
  border-radius: 0 10px 10px 0;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.foot a { color: var(--ink); }

@media (max-width: 860px) {
  .bar { flex-wrap: wrap; }
  .nav-desktop { display: none; }
  .menu { display: block; width: 100%; }
  .menu > summary { cursor: pointer; font-weight: 650; }
  .menu .nav { display: none; padding: 0.35rem 0 0.7rem; }
  .menu[open] .nav { display: flex; flex-direction: column; align-items: flex-start; }
  h1 { max-width: none; }
  .amount { min-width: 3.6rem; font-size: 1.45rem; }
}
