:root {
  color-scheme: light;
  --bg: #f6f4f1;
  --bg-elevated: #fff;
  --ink: #1c1b19;
  --muted: #5f5a55;
  --accent: #1c1b19;
  --accent-ink: #fff;
  --line: #e4e0da;
  --danger: #8c3a32;
  --good: #2f6b4f;
  --bag: #f3e6df;
  --bag-ink: #1c1b19;
  --font-display: Outfit, sans-serif;
  --font-body: Outfit, sans-serif;
  --font-ui: Outfit, sans-serif;
  --radius: 18px;
  --shadow: 0 18px 50px rgb(28 27 25 / 8%);
  --max: 1120px;
}
[data-theme="bitter"] { color-scheme: dark; --radius: 2px; --shadow: none; }
[data-theme="retro"] { --radius: 4px; --shadow: 0 0 0 1px var(--ink); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body), Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(var(--line) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}
[data-theme="bitter"] body::before { opacity: 0.18; mix-blend-mode: screen; }
[data-theme="retro"] body::before { display: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.6rem 0.9rem;
  z-index: 5;
}
.skip:focus { top: 1rem; }
.announce {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 0.55rem 1rem;
  font-family: var(--font-ui), sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-theme="bitter"] .announce { background: var(--accent); color: var(--accent-ink); }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
header.site {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  z-index: 4;
}
.lockup { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; min-width: 0; flex: 1 1 auto; }
.lockup svg { width: 36px; height: 36px; flex: none; }
.wordmark {
  font-family: var(--font-display), sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-theme="bitter"] .wordmark { text-transform: uppercase; letter-spacing: -0.04em; font-size: 0.95rem; color: var(--ink); }
[data-theme="bitter"] .lockup .wordmark { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
[data-theme="retro"] .wordmark { font-size: 1.35rem; font-weight: 680; }
nav.desktop { display: none; gap: 1.1rem; margin-left: auto; font-family: var(--font-ui), sans-serif; }
nav.desktop a { text-decoration: none; }
.cart-link, summary.menu-button {
  margin-left: auto;
  flex: none;
  text-decoration: none;
  font-family: var(--font-ui), sans-serif;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-elevated);
}
nav.desktop + .cart-link { margin-left: 0; }
details.menu { margin-left: 0.4rem; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
details.menu nav { display: grid; gap: 0.7rem; padding: 0.8rem 0; }
@media (min-width: 860px) {
  nav.desktop { display: flex; }
  details.menu { display: none; }
  .cart-link { margin-left: 0; }
}
main { padding-bottom: 4rem; }
.hero { padding: 2.2rem 0 1rem; }
.kicker {
  font-family: var(--font-ui), sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.8rem;
}
h1, h2, h3 { font-family: var(--font-display), sans-serif; line-height: 0.95; letter-spacing: -0.035em; font-weight: 560; }
h1 { font-size: clamp(3.1rem, 12vw, 7rem); margin: 0 0 1rem; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 0.8rem; }
.lede { font-size: 1.2rem; max-width: 38rem; }
.note { color: var(--muted); max-width: 36rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  font-family: var(--font-ui), sans-serif;
}
.button.secondary, button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
[data-theme="bitter"] .button { border-radius: 0; font-family: var(--font-ui), monospace; text-transform: uppercase; letter-spacing: 0.06em; }
[data-theme="retro"] .button { border-radius: 2px; box-shadow: 3px 3px 0 var(--ink); }
.hero-grid, .split, .facts, .grid { display: grid; gap: 1rem; }
.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
[data-theme="bitter"] .hero-art {
  background: var(--accent);
  color: var(--accent-ink);
  min-height: 280px;
  display: grid;
  place-items: center;
  transform: rotate(-1.5deg);
}
[data-theme="retro"] .frame {
  border: 2px solid var(--ink);
  padding: 1.2rem;
  box-shadow: 8px 8px 0 var(--accent);
  background: var(--bg-elevated);
}
[data-theme="basic"] {
  --radius: 0;
  --shadow: none;
}
[data-theme="basic"] body::before { display: none; }
[data-theme="basic"] body { font-family: Archivo, sans-serif; }
[data-theme="basic"] .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[data-theme="basic"] header.site {
  background: var(--bg);
  backdrop-filter: none;
  border-bottom: 2px solid var(--ink);
}
[data-theme="basic"] .stamp { width: min(168px, 46vw); height: auto; color: var(--ink); }
[data-theme="basic"] .stamp-hero { width: min(420px, 100%); margin-inline: auto; }
[data-theme="basic"] .stamp-footer { width: min(220px, 70%); }
[data-theme="basic"] .stamp-empty { width: min(260px, 80%); }
[data-theme="basic"] h1, [data-theme="basic"] h2, [data-theme="basic"] h3 {
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
[data-theme="basic"] h1 { font-size: clamp(2.4rem, 8vw, 4.6rem); line-height: 0.95; }
[data-theme="basic"] .kicker { color: var(--ink); letter-spacing: 0.22em; }
[data-theme="basic"] .announce { letter-spacing: 0.16em; }
[data-theme="basic"] .button, [data-theme="basic"] button.button {
  border-radius: 0;
  border-width: 2px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: Anton, sans-serif;
  font-weight: 400;
}
[data-theme="basic"] .button.secondary, [data-theme="basic"] button.secondary { border-color: var(--ink); }
[data-theme="basic"] .cart-link, [data-theme="basic"] summary.menu-button {
  border-radius: 0;
  border: 2px solid var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: Anton, sans-serif;
  background: var(--bg);
}
[data-theme="basic"] .card, [data-theme="basic"] .panel {
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
}
[data-theme="basic"] .hero-art {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
[data-theme="basic"] .fact, [data-theme="basic"] footer.site { border-color: var(--ink); }
[data-theme="basic"] input, [data-theme="basic"] select, [data-theme="basic"] textarea {
  border-radius: 0;
  border: 2px solid var(--ink);
  background: var(--bg);
}
[data-theme="basic"] .hero { padding-top: 2rem; }
[data-theme="basic"] .hero-grid { align-items: center; }
[data-theme="basic"] .aisles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.6rem 0 0.75rem;
  border-bottom: 2px solid var(--ink);
  font-family: Anton, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
[data-theme="basic"] .aisles a { text-decoration: none; }
[data-theme="basic"] .chip {
  border-radius: 0;
  border-width: 2px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: Anton, sans-serif;
}
[data-theme="basic"] .stamp-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 0.9rem;
  border: 3px solid var(--ink);
  background: var(--bg);
}
[data-theme="basic"] .stamp-name {
  margin: 0;
  font-family: Anton, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.05;
}
[data-theme="basic"] .stamp-volume {
  margin: 0;
  font-family: Archivo, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}
[data-theme="basic"] .product-art { background: transparent; padding: 0; }
.grid { grid-template-columns: 1fr; margin: 1rem 0 2rem; padding: 0; list-style: none; }
.card {
  display: grid;
  gap: 0.45rem;
  text-decoration: none;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem;
  height: 100%;
}
.card:hover { border-color: var(--ink); }
.card .art, .product-art .art { width: 100%; height: auto; }
.eyebrow { font-family: var(--font-ui), sans-serif; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.price { font-family: var(--font-ui), sans-serif; font-weight: 600; }
.section { padding: 1.5rem 0; }
.facts { grid-template-columns: 1fr; }
.fact { border-top: 1px solid var(--line); padding-top: 0.8rem; }
.fact h3 { font-size: 1.3rem; margin: 0 0 0.3rem; }
footer.site {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  display: grid;
  gap: 1rem;
}
footer a { color: var(--ink); }
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.chip {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-ui), sans-serif;
  font-size: 0.9rem;
}
.chip[aria-current="true"] { background: var(--ink); color: var(--bg); }
.product {
  display: grid;
  gap: 1.2rem;
}
.product-art { background: var(--bag); border-radius: var(--radius); padding: 1rem; }
label { display: grid; gap: 0.3rem; font-family: var(--font-ui), sans-serif; font-size: 0.92rem; }
input, select, textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  width: 100%;
}
[data-theme="bitter"] input, [data-theme="bitter"] select { border-radius: 0; }
.stack { display: grid; gap: 0.8rem; }
.cart-line, .order {
  display: grid;
  gap: 0.6rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.totals { display: grid; gap: 0.3rem; justify-items: end; }
.muted { color: var(--muted); }
.error { color: var(--danger); }
.good { color: var(--good); }
table { width: 100%; border-collapse: collapse; }
.legal h2 { font-size: 1.6rem; margin-top: 1.6rem; }
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-family: var(--font-ui), sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
[data-theme="retro"] .badge { background: var(--accent); color: var(--accent-ink); border-color: var(--ink); }
details.notice { background: var(--bg-elevated); border: 1px solid var(--line); padding: 0.6rem 0.8rem; }
pre.plain { white-space: pre-wrap; font-family: var(--font-ui), monospace; font-size: 0.82rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (min-width: 720px) {
  .hero-grid { grid-template-columns: 1.3fr 0.7fr; align-items: end; }
  .grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .product { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .split { grid-template-columns: 1.2fr 0.8fr; }
}
@media (min-width: 1000px) {
  .grid.catalog { grid-template-columns: 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
.brand-logo { width: min(180px, 46vw); height: auto; }
.footer-logo { width: min(140px, 50vw); }
.banner { margin: 1rem 0 0; }
.banner-photo, .card-photo, .sunset-photo, .gallery img, .mascot { width: 100%; height: auto; }
.hero-product { display: block; text-decoration: none; }
.hero-after { padding-top: 1.2rem; }
.sunset-band { margin: 0.5rem 0 1rem; background: var(--sand, var(--bg-elevated)); display: flex; justify-content: center; }
.sunset-photo, .card-photo, .hero-product img, .product-art img {
  object-fit: contain;
  object-position: center;
  height: auto;
  max-width: 100%;
}
.sunset-photo { width: min(100%, 720px); }
.mascots { grid-template-columns: 1fr; align-items: end; }
.mascots figure { margin: 0; }
.mascots figcaption { font-family: var(--font-ui), sans-serif; margin-top: 0.4rem; }
.story-band { background: var(--sand, transparent); color: #111111; padding: 1.4rem; border-radius: var(--radius); }
.story-band a { color: #111111; }
[data-theme="retro"] .story-band { background: #111; color: #f7f1e8; }
.story-band .fact { border-top-color: currentColor; }
.gallery, .quotes { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.quotes li { border-top: 1px solid var(--line); padding-top: 0.8rem; }
.quotes blockquote { margin: 0; font-family: var(--font-display), serif; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; }
.newsletter { border: 1px solid var(--line); padding: 1rem; border-radius: var(--radius); }
.empty { display: grid; gap: 0.8rem; justify-items: start; }
.empty .mascot { max-width: 220px; }
[data-theme="bitter"] .card { background: #1a100c; }
[data-theme="bitter"] .announce { background: var(--rust, var(--accent)); color: #f6f1ea; }
@media (min-width: 720px) {
  .mascots { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  .gallery { grid-template-columns: 1fr 1fr 1fr; }
}