@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Deer Food colors: forest at dusk, oats, corn and apple.
   Text needs a contrast of at least 4.5 to 1 against the color behind it. */
:root {
  --ink: #1b2a21;            /* text */
  --muted: #4a5a4f;          /* quieter text */
  --paper: #f7f1e4;          /* page background, oat cream */
  --card: #fffaf0;           /* cards */
  --line: #ddd0b6;           /* card borders */
  --forest: #1d3a2a;         /* hero, band and footer background */
  --on-forest: #f5ecd9;      /* text on forest */
  --on-forest-muted: #cfd8c9;
  --corn: #f0b93a;           /* main button (forest text on top) */
  --apple: #a63a26;          /* kickers and links on paper */
  --radius: 18px;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
  background: var(--paper);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--display);
  font-weight: 750;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 12vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 7vw, 2.9rem); }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; font-variation-settings: "SOFT" 50, "opsz" 36; }

p { margin: 0 0 1em; max-width: 38em; text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .16em; }
:focus-visible { outline: 3px solid var(--apple); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .band :focus-visible, .foot :focus-visible { outline-color: var(--corn); }

svg { display: block; }

.wrap { width: min(68rem, 100% - 2 * clamp(1rem, 5vw, 3rem)); margin-inline: auto; }

.skip {
  position: absolute;
  left: .75rem;
  top: -5rem;
  z-index: 10;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  font-weight: 700;
}
.skip:focus { top: .75rem; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.mark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 750;
  font-variation-settings: "SOFT" 50, "opsz" 36;
  font-size: 1.3rem;
  text-decoration: none;
}
.mark svg { width: 2.5rem; height: 2.5rem; flex: none; }
.top-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 700; text-align: right; }

/* Hero */
.hero { background: var(--forest); color: var(--on-forest); padding-block: clamp(2rem, 7vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(1.5rem, 5vw, 3rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: .3em .85em;
  border: 2px solid var(--corn);
  color: var(--corn);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lede { font-size: clamp(1.15rem, 3.6vw, 1.35rem); color: var(--on-forest); }
.hero-note { margin: 0; color: var(--on-forest-muted); font-size: 1rem; }
.scene { margin: 0; }
.scene svg { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 1.5rem 3rem -1.5rem rgb(0 0 0 / .6); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7em 1.3em;
  background: var(--corn);
  color: var(--forest);
  border: 2px solid var(--corn);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.btn:hover { background: #f6cb63; border-color: #f6cb63; }
.btn-ghost { background: transparent; color: var(--on-forest); border-color: var(--on-forest-muted); }
.btn-ghost:hover { background: rgb(255 255 255 / .08); border-color: var(--on-forest); }

/* Sections */
main { display: grid; gap: clamp(2.5rem, 8vw, 4.5rem); padding-bottom: clamp(2.5rem, 8vw, 4.5rem); }
.kicker { margin: 0 0 .4rem; color: var(--apple); font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.intro { color: var(--muted); }
.source { color: var(--muted); font-size: .95rem; }
.source a { color: var(--apple); }

.foods { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.food { padding: 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.food svg { width: 3rem; height: 3rem; margin-bottom: .6rem; }
.food h3 { margin-bottom: .25em; }
.food p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.none { font-weight: 700; }

.band { background: var(--forest); color: var(--on-forest); padding-block: clamp(2.5rem, 8vw, 4.5rem); }
.band .kicker { color: var(--corn); }
.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li { position: relative; padding: 1.1rem 1.1rem 1.1rem 4rem; border: 1px solid rgb(245 236 217 / .2); border-radius: var(--radius); counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--corn);
  color: var(--forest);
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
}
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--on-forest-muted); }

.split { display: grid; gap: .5rem 2.5rem; }
.split > * { min-width: 0; }

.rules { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; }
.rule { padding: 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.rule p:last-child { margin-bottom: 0; }

.faq { display: grid; gap: .6rem; margin-top: 1.5rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  align-items: center;
  padding: .8rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--apple); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 1.1rem 1.1rem; }
.faq a { color: var(--apple); }

/* Footer */
.foot { background: var(--forest); color: var(--on-forest-muted); padding-block: 2rem; font-size: 1rem; }
.foot p { margin: 0 0 .5em; }
.foot a { color: var(--on-forest); }

@media (min-width: 48rem) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; }
  .foods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr 1.6fr; align-items: start; }
  .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
