:root {
  --soil: #2a1810;
  --soil-deep: #140c08;
  --russet: #8a4a24;
  --russet-hot: #c4783a;
  --sack: #d7c4a4;
  --sack-dark: #b79a72;
  --paper: #e6d7bc;
  --mint: #7dcdc0;
  --mint-deep: #3d8f86;
  --mint-glass: #b7ebe3;
  --fluoro: #eef4ee;
  --wood: #6b4423;
  --wood-dark: #3d2614;
  --chalk: #eae6d8;
  --slate: #1c2420;
  --ice: #d7ece8;
  --ink: #1a120c;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --stencil: "Stardos Stencil", "Impact", sans-serif;
  --type: "Special Elite", "Courier New", monospace;
  --serif: "Fraunces", "Times New Roman", serif;
  --chalk-font: "Caveat", "Segoe Script", cursive;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--soil-deep);
}

html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--paper);
  font-family: var(--sans);
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.05rem);
  line-height: 1.45;
  background:
    radial-gradient(1200px 600px at 50% -10%, #3a2418 0%, transparent 55%),
    var(--soil-deep);
  letter-spacing: 0.01em;
}

img { max-width: 100%; height: auto; display: block; }
button, a { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

::selection {
  background: var(--mint);
  color: var(--soil-deep);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 50;
  padding: 0.55rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.4  0 0 0 0 0.22  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* sticky branded P — potato skin, not a logo bar */
.mark {
  position: fixed;
  top: max(0.8rem, env(safe-area-inset-top));
  left: max(0.8rem, env(safe-area-inset-left));
  z-index: 30;
  width: 3.35rem;
  height: 3.35rem;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--mint-deep);
  box-shadow:
    0 0 0 3px #2a1810,
    0 8px 20px #0008;
}
.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}
.mark[hidden] { display: none; }

.bays {
  position: fixed;
  top: 4.6rem;
  left: max(0.8rem, env(safe-area-inset-left));
  z-index: 30;
  width: min(16rem, calc(100vw - 2rem));
  padding: 0.85rem 1rem 1rem;
  background: #e8d7b4;
  color: var(--ink);
  box-shadow: 4px 8px 0 #0005;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.bays[hidden] { display: none; }
.bays-kicker,
.bays-note {
  margin: 0 0 0.45rem;
  font-family: var(--type);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a5436;
}
.bays-note { margin: 0.7rem 0 0; text-transform: none; letter-spacing: 0; }
.bays a {
  display: block;
  padding: 0.28rem 0;
  font-family: var(--type);
  border-bottom: 1px dashed #cbb896;
}
.bays a:hover { color: var(--mint-deep); }

.notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  max-width: 16rem;
  padding: 0.7rem 0.9rem 0.8rem;
  background: #e8d7b4;
  color: var(--ink);
  font-family: var(--type);
  box-shadow: 3px 4px 0 #0005;
}
.notice[hidden] { display: none; }

/* warehouse aisle markers */
.aisle {
  margin: 0;
  padding: 0.55rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background:
    repeating-linear-gradient(90deg, #5a3a22 0 18px, #4a2e1a 18px 19px),
    #4a2e1a;
  color: #e6d2b0;
  font-family: var(--stencil);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: inset 0 8px 16px #0006, inset 0 -8px 16px #0004;
}
.aisle span {
  color: var(--mint);
  letter-spacing: 0.28em;
}
.aisle-dark { background: #24160f; color: #cbb896; }
.aisle-cold {
  background: #1a2a2a;
  color: #c9ddd8;
  box-shadow: inset 0 8px 18px #0007;
}

/* ---------- 1. CRATE LID ---------- */
.lid {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: stretch;
  padding: 0 0 0;
  background: #3a2818;
  overflow: hidden;
}
.lid-well {
  position: relative;
  width: 100%;
  min-height: 100svh;
}
.lid-photo {
  width: 100%;
  height: 100svh;
  object-fit: cover;
  object-position: 50% 48%;
}
.stencil {
  position: absolute;
  left: 14%;
  right: 14%;
  margin: 0;
  font-family: var(--stencil);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-align: center;
  text-transform: uppercase;
  color: #2a160c;
  opacity: 0.78;
  pointer-events: none;
  -webkit-text-stroke: 0.4px #2a160c;
}
.stencil-top {
  top: 7%;
  font-size: clamp(1.15rem, 3.2vw, 2.4rem);
}
.stencil-bot {
  bottom: 24%;
  font-size: clamp(1rem, 2.8vw, 2rem);
}
.lot-stamp {
  position: absolute;
  left: 3.5%;
  top: 38%;
  margin: 0;
  font-family: var(--stencil);
  letter-spacing: 0.18em;
  color: #d7c4a4;
  opacity: 0.55;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(0.7rem, 1.4vw, 0.95rem);
  pointer-events: none;
}

.tag {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 11.5rem;
  padding: 0.85rem 1.05rem 0.9rem 1.2rem;
  background:
    linear-gradient(180deg, #f3e6c8, #e2cc9a);
  color: var(--ink);
  font-family: var(--type);
  box-shadow:
    2px 3px 0 #0004,
    inset 0 0 0 1px #cbb07a;
  transform: rotate(-3deg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tag:hover { transform: rotate(-1deg) translateY(-2px); }
.tag-hole {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid #8a6a3a;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff8, transparent 50%), #c4a56a;
  transform: translateX(-50%);
}
.tag-kicker {
  margin-top: 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a5436;
}
.tag-title {
  font-size: 1.05rem;
}
.tag-meta {
  font-size: 0.72rem;
  color: #6a5436;
}
.tag-string {
  position: absolute;
  top: -2.4rem;
  left: 50%;
  width: 2px;
  height: 2.4rem;
  background: #cbb896;
  transform: translateX(-50%);
}
.take {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  z-index: 2;
  transform: translateX(-50%) rotate(-4deg);
}
.take:hover { transform: translateX(-50%) rotate(-1deg) translateY(-3px); }
.lid.is-taken .take { opacity: 0.55; }
.lid.is-taken .lid-photo { filter: saturate(0.86) brightness(0.92); }

/* ---------- 2. SEED PACKET ---------- */
.packet-bay {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 4.5rem 1rem 5rem;
  overflow: hidden;
  background: #cbb896;
}
.table-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.packet-bay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1a120c55 0%, #1a120c18 32%, #1a120c40 100%);
  pointer-events: none;
}
.packet-stage {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
}
.catalog-kicker {
  margin: 0;
  font-family: var(--type);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 1px 8px #000a;
}

.packet {
  width: min(22.5rem, 86vw);
  aspect-ratio: 3 / 4.35;
  perspective: 1400px;
  background: none;
  filter: drop-shadow(0 22px 28px #0007);
}
.packet-3d {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.85s var(--ease);
}
.packet.is-flipped .packet-3d { transform: rotateY(180deg); }
.face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background:
    radial-gradient(circle at 20% 10%, #f0e2c4, #c9a56e 55%, #b48a52);
  border: 1px solid #8a6a3a;
  box-shadow: inset 0 0 0 6px #e6d2b088;
}
.back { transform: rotateY(180deg); }

.flap {
  position: absolute;
  top: -0.7rem;
  left: 8%;
  right: 8%;
  height: 1.4rem;
  background: linear-gradient(#e8d3a8, #c9a56e);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  box-shadow: 0 2px 0 #0002;
}
.front-head,
.front-foot {
  padding: 1.15rem 1rem 0.7rem;
  text-align: center;
  color: var(--ink);
}
.front-brand {
  display: block;
  font-family: var(--type);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6a5436;
}
.front-variety {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.02em;
}
.window {
  flex: 1;
  margin: 0 0.85rem;
  overflow: hidden;
  border: 1px solid #6a5436;
  box-shadow: inset 0 0 0 3px #ead9b6;
}
.window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.front-ticker {
  display: block;
  font-family: var(--stencil);
  letter-spacing: 0.18em;
  font-size: 1.15rem;
}
.front-hint,
.back-hint {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--type);
  font-size: 0.68rem;
  color: #6a5436;
}

.back {
  padding: 1.4rem 1.15rem 1rem;
  color: var(--ink);
  background:
    repeating-linear-gradient(#0000 0 27px, #b89a6844 27px 28px),
    linear-gradient(#f0e2c4, #d4b888);
}
.back-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}
.notes {
  margin: 0.9rem 0 0.7rem;
  display: grid;
  gap: 0.35rem;
}
.notes div {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 0.4rem;
  font-family: var(--type);
  font-size: 0.92rem;
}
.notes dt { color: #6a5436; }
.notes dd { margin: 0; }
.back-lore,
.back-rule {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  line-height: 1.4;
}
.back-rule { font-family: var(--type); color: #5a4028; }

/* ---------- 3. SPROUT CHART ---------- */
.sprout {
  position: relative;
  min-height: 220vh;
  background: #120c08;
}
.sprout-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.sprout-well {
  position: relative;
  height: 100%;
}
.sprout-well .stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 55%;
}
.stage-1,
.stage-2 { opacity: 0; transition: opacity 0.2s linear; }
.sprout.is-mid .stage-1 { opacity: 1; }
.sprout.is-end .stage-2 { opacity: 1; }

.eyes {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.eye {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.eye.is-on { opacity: 1; }
.eye i {
  display: block;
  width: 0.95rem;
  height: 0.7rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, #5a3a22, #1a100c 70%);
  box-shadow:
    inset 0 -2px 3px #0008,
    0 0 0 4px #3a241666;
}
.eye span {
  display: block;
  margin-top: 0.28rem;
  font-family: var(--type);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--paper);
  text-shadow: 0 1px 6px #000c;
  white-space: nowrap;
}
.eye-lock i {
  width: 1.15rem;
  height: 0.85rem;
  background: #6a5436;
  box-shadow: 0 0 0 3px #cbb89655;
}
.eye-lock span {
  padding: 0.12rem 0.4rem;
  background: #e8d7b4;
  color: var(--ink);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.sprout-caption {
  position: absolute;
  left: var(--gutter);
  bottom: 1.2rem;
  margin: 0;
  font-family: var(--type);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--paper);
  text-shadow: 0 1px 8px #000c;
}

/* ---------- 4. GRADE BOARD ---------- */
.grade {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 3.5rem 1rem;
  background: #2a2e28;
  overflow: hidden;
}
.board-photo-wrap {
  position: absolute;
  inset: 0;
}
.board-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 45%;
  filter: saturate(0.9);
}
.slate {
  position: relative;
  z-index: 1;
  width: min(38rem, 78vw);
  padding: 2.2rem 2.1rem 1.8rem;
  color: var(--chalk);
  font-family: var(--chalk-font);
  text-align: left;
  transform: rotate(-0.6deg);
}
.slate-head {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-shadow: 0 1px 0 #fff2, 1px 2px 0 #0006;
}
.slate-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}
.slate-rows li {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.6rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  border-bottom: 1px dotted #eae6d844;
  padding-bottom: 0.15rem;
}
.slate-rows span { opacity: 0.72; }
.slate-rows b { font-weight: 600; }
.slate-rule {
  margin: 1rem 0 0.5rem;
  border-top: 2px solid #eae6d855;
  height: 0;
}
.slate-wt {
  margin: 0.15rem 0 0;
  font-size: 1.35rem;
  text-align: center;
  opacity: 0.9;
}

.clips { display: none; }

/* ---------- 5. SACK WALL + DOCK LOG ---------- */
.sacks {
  position: relative;
  background: #0e181c;
  overflow-x: clip;
}
.sacks-scene {
  position: relative;
  height: min(78svh, 820px);
  overflow: hidden;
}
.sacks-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 50%;
  filter: saturate(0.92) contrast(1.04);
}
.sacks-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0e181c88 0%, transparent 28%),
    linear-gradient(180deg, transparent 58%, #0e181ce8 100%);
  pointer-events: none;
}
.sacks-kicker {
  position: absolute;
  left: var(--gutter);
  bottom: 1.1rem;
  z-index: 1;
  margin: 0;
  font-family: var(--type);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
  text-shadow: 0 1px 8px #000c;
}

.sacks-floor {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.1rem, 3vw, 2.2rem);
  align-items: start;
  padding: 1.6rem var(--gutter) 2.6rem;
  background:
    radial-gradient(800px 280px at 80% 0%, #1a3336 0%, transparent 55%),
    #101a1e;
}
.sacks-floor > * { min-width: 0; }

.dock-log {
  position: relative;
  padding: 1.35rem 1.4rem 1.2rem 1.55rem;
  background:
    repeating-linear-gradient(#0000 0 28px, #b89a6833 28px 29px),
    linear-gradient(180deg, #f0e2c4, #d7be8e);
  color: var(--ink);
  box-shadow:
    6px 10px 0 #0004,
    inset 0 0 0 1px #cbb07a;
  transform: rotate(-0.4deg);
}
.dock-log::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 1.3rem;
  width: 1.35rem;
  height: 1.1rem;
  background: #8a9aa0;
  border-radius: 2px 2px 1px 1px;
  box-shadow: 0 2px 0 #0003;
}
.log-stamp {
  margin: 0;
  font-family: var(--stencil);
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  color: var(--mint-deep);
}
.log-meta {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--type);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #6a5436;
}
.dock-log h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  overflow-wrap: break-word;
}
.log-body p {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}
.log-body p:last-child { margin-bottom: 0; }
.log-sign {
  margin: 0.85rem 0 0;
  font-family: var(--type);
  font-size: 0.78rem;
  color: #6a5436;
}

.sack-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.sack-card {
  position: relative;
  overflow: hidden;
  background: #0a1214;
  box-shadow: 3px 5px 0 #0005;
  transform: rotate(var(--tilt, -1deg));
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.sack-card:nth-child(2) { --tilt: 1.2deg; }
.sack-card:nth-child(3) { --tilt: 0.6deg; }
.sack-card:nth-child(4) { --tilt: -1.4deg; }
.sack-card img {
  width: 100%;
  aspect-ratio: 3 / 3.4;
  object-fit: cover;
  object-position: 50% 46%;
  filter: saturate(0.92);
}
.sack-card:nth-child(1) img { object-position: 38% 58%; }
.sack-card:nth-child(2) img { object-position: 58% 52%; }
.sack-card:nth-child(3) img { object-position: 50% 18%; }
.sack-card:nth-child(4) img { object-position: 48% 42%; }
.sack-card b {
  position: absolute;
  top: 0.45rem;
  left: 0.5rem;
  padding: 0.12rem 0.4rem 0.08rem;
  background: #e8d7b4;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.sack-card span {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.4rem;
  display: block;
  width: auto;
  padding: 0.32rem 0.4rem 0.36rem;
  background: #e8d7b4;
  color: var(--ink);
  font-family: var(--type);
  font-size: 0.74rem;
  line-height: 1.25;
  white-space: normal;
  box-shadow: 2px 3px 0 #0004;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.sack-card:hover,
.sack-card:focus-visible,
.sack-card.is-on {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 4px 10px 0 #0005;
}
.sack-card:hover span,
.sack-card:focus-visible span,
.sack-card.is-on span {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 6. COLD ROOM ---------- */
.cooler {
  position: relative;
  min-height: 100svh;
  background: #081014;
  overflow: hidden;
}
.cooler-photo {
  width: 100%;
  height: 100svh;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.92);
}
.cooler-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6rem var(--gutter) 2rem;
  background: linear-gradient(180deg, transparent, #081014f0 55%);
  display: grid;
  justify-items: start;
  gap: 0.85rem;
}
.cooler-line {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: var(--ice);
  text-shadow: 0 2px 18px #000a;
}
.door {
  display: inline-block;
  padding: 0.7rem 1.1rem 0.75rem;
  border: 1px solid var(--mint);
  color: var(--mint-glass);
  font-family: var(--stencil);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #0e2422cc;
  box-shadow: inset 0 0 0 1px #7dcdc044, 0 8px 18px #0006;
}
.door:hover { background: #1a3a36; }

.metal {
  margin: 0.2rem 0 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.35rem 0.7rem 0.4rem;
  background: linear-gradient(180deg, #c5c8c4, #8e9490);
  color: #1a1c1a;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 #fff8,
    inset 0 -1px 0 #0004,
    0 2px 0 #0005;
}
.metal span { opacity: 0.65; font-size: 0.68rem; }
.cooler-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.tag.mini {
  min-width: 0;
  padding: 0.55rem 0.75rem 0.5rem;
  transform: rotate(-1deg);
  font-size: 0.82rem;
}
.tag.mini.is-wait {
  cursor: not-allowed;
  opacity: 0.8;
}
.fan {
  margin: 0.2rem 0 0;
  font-family: var(--type);
  font-size: 0.78rem;
  color: #9eb8b2;
}

/* ---------- MOBILE ---------- */
@media (max-width: 720px) {
  .stencil-top { top: 8%; letter-spacing: 0.16em; }
  .stencil-bot { bottom: 26%; }
  .lot-stamp { display: none; }
  .take { bottom: 1.4rem; }

  .packet { width: min(20.5rem, 88vw); }

  .sprout { min-height: 200vh; }
  .sprout-well .stage { object-position: 30% 60%; }
  .eye span { font-size: 0.64rem; }

  .board-photo-wrap,
  .slate { display: none; }

  .grade {
    background:
      repeating-linear-gradient(#3a2a1c 0 12px, #322418 12px 13px);
    place-items: stretch;
    padding: 4.6rem 1rem 2.2rem;
  }
  .clips {
    display: grid;
    gap: 0.7rem;
    width: min(26rem, 100%);
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }
  .clips li {
    position: relative;
    padding: 0.75rem 0.9rem 0.7rem 1.1rem;
    background: #e8d7b4;
    color: var(--ink);
    font-family: var(--type);
    box-shadow: 3px 4px 0 #0005;
  }
  .clips li::before {
    content: "";
    position: absolute;
    top: -0.45rem;
    left: 1.1rem;
    width: 1.1rem;
    height: 0.9rem;
    background: #8a9aa0;
    border-radius: 2px 2px 1px 1px;
    box-shadow: 0 2px 0 #0003;
  }
  .clips span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6a5436;
  }
  .clip-wt { background: #d7c4a4; }

  .sacks-scene { height: min(62svh, 520px); }
  .sacks-photo { object-position: 18% 50%; }
  .sacks-floor {
    grid-template-columns: 1fr;
    padding: 1.2rem 1rem 2rem;
  }
  .dock-log { transform: none; padding: 1.15rem 1rem 1.1rem; }
  .sack-card span { opacity: 1; transform: none; font-size: 0.72rem; }

  .cooler-photo { height: 100svh; object-position: 50% 38%; }
  .cooler-copy { padding: 5rem 1rem 1.4rem; }
  .cooler-tags { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .packet-3d,
  .stage-1,
  .stage-2,
  .eye,
  .sack-card,
  .sack-card span { transition: none; }
}

/* headless shot isolation */
html[data-shot] .lid,
html[data-shot] .aisle,
html[data-shot] .packet-bay,
html[data-shot] .sprout,
html[data-shot] .grade,
html[data-shot] .sacks,
html[data-shot] .cooler { display: none !important; }
html[data-shot="lid"] .lid { display: grid !important; }
html[data-shot="packet"] .packet-bay { display: grid !important; }
html[data-shot="sprout"] .sprout {
  display: block !important;
  min-height: 100svh;
}
html[data-shot="sprout"] .sprout-pin { position: relative; height: 100svh; }
html[data-shot="grade"] .grade { display: grid !important; }
html[data-shot="sacks"] .sacks,
html[data-shot="log"] .sacks { display: block !important; }
html[data-shot="log"] .sacks-scene { display: none; }
html[data-shot="cooler"] .cooler { display: block !important; }
html.is-grown .stage-1,
html.is-grown .stage-2 { opacity: 1; }
html.is-grown .eye { opacity: 1; }
