:root {
  --ink: #12151a;
  --paper: #f4efe4;
  --muted: #3d4450;
  --blue: #2540ff;
  --mango: #ff7a00;
  --lemon: #ffe500;
  --mint: #00c2a8;
  --magenta: #ff2f86;
  --lilac: #d7c6ff;
  --coral: #ff5a36;
  --aqua: #39e7ff;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --text: Sora, "Avenir Next", "Segoe UI", sans-serif;
  --edge: 3px solid var(--ink);
  --offset: 8px 8px 0 var(--ink);
  --frame: 1000px;
  --gutter: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(18, 21, 26, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; line-height: 0.95; margin: 0 0 0.45em; }
p { margin: 0 0 0.8rem; }
a { color: inherit; }
::selection { background: var(--lemon); color: var(--ink); }

.sr, .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 0.8rem;
  top: -4rem;
  background: var(--lemon);
  color: var(--ink);
  border: var(--edge);
  padding: 0.45rem 0.7rem;
  z-index: 20;
  font-weight: 700;
}
.skip:focus { top: 0.6rem; }

.tone-mango { --tone: var(--mango); --on: var(--ink); }
.tone-blue { --tone: var(--blue); --on: #fff; }
.tone-lemon { --tone: var(--lemon); --on: var(--ink); }
.tone-mint { --tone: var(--mint); --on: var(--ink); }
.tone-magenta { --tone: var(--magenta); --on: #fff; }
.tone-lilac { --tone: var(--lilac); --on: var(--ink); }
.tone-coral { --tone: var(--coral); --on: var(--ink); }
.tone-aqua { --tone: var(--aqua); --on: var(--ink); }
.tone-ink { --tone: var(--ink); --on: var(--paper); }
.fill { background: var(--tone); color: var(--on); }

.top { position: relative; z-index: 2; border-bottom: var(--edge); }
.brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  background: var(--blue);
  color: #fff;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--lemon);
  border: var(--edge);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0.25rem 0.7rem 0.25rem 0.3rem;
  transform: rotate(-1.5deg);
}
.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lemon);
  font-family: var(--display);
  font-size: 1.25rem;
}
.brand-name { font-family: var(--display); font-size: 1.45rem; letter-spacing: 0.04em; }
.tag { margin: 0; font-weight: 600; flex: 1; }
.find { display: flex; background: #fff; color: var(--ink); border: var(--edge); }
.find input { border: 0; background: transparent; padding: 0.55rem 0.75rem; width: 12rem; }
.find button { border: 0; border-left: var(--edge); background: var(--lemon); padding: 0.55rem 0.8rem; font-weight: 700; cursor: pointer; }
.menu-btn {
  display: none;
  border: var(--edge);
  background: #fff;
  color: var(--ink);
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.menu { background: var(--ink); border-top: var(--edge); }
.menu ul { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.menu li { flex: 1 1 auto; }
.menu-link {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 0.72rem 0.7rem;
  font-weight: 700;
  background: var(--tone);
  color: var(--on);
  border-right: var(--edge);
  border-bottom: var(--edge);
}
.menu-link.is-current { outline: 3px solid #fff; outline-offset: -6px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.85fr);
  width: min(var(--frame), calc(100% - 2 * var(--gutter)));
  margin: 1.15rem auto 0;
  min-height: 26rem;
  border: var(--edge);
}
.hero-copy { padding: clamp(1.1rem, 3vw, 2.2rem); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 12ch; }
.hero h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.hero h2 a { text-decoration: none; }
.hero h2 a:hover { text-decoration: underline; text-underline-offset: 0.12em; }
.kicker, .eyebrow {
  font-family: var(--text);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.6rem;
}
.dek { font-size: 1.15rem; max-width: 38rem; }
.hero-recipe { margin-top: 1.2rem; padding-top: 1rem; border-top: var(--edge); max-width: 38rem; }
.hero-photo { border-left: var(--edge); background: rgba(0, 0, 0, 0.08); }
.hero-photo a { display: block; height: 100%; }
.hero-photo img, .hero-photo .photo-fallback { width: 100%; height: 100%; min-height: 22rem; object-fit: cover; }

.nine, .band, .shelf, .mast, .sheet, .recipe-wrap, .contact-wrap {
  width: min(var(--frame), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.nine, .band {
  margin-top: 1.15rem;
  padding: 1.25rem 1rem 1.45rem;
  border: var(--edge);
}
.nine .section-head, .band .section-head, .nine .rack, .band .rack { width: 100%; margin: 0; }
.rack { padding: 0 8px 8px 0; }
.section-head { margin-bottom: 1rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); max-width: 16ch; }
.section-head p { max-width: 38rem; }
.go a, .go-link {
  display: inline-block;
  margin-top: 0.35rem;
  background: var(--ink);
  color: var(--lemon);
  border: var(--edge);
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 4px 4px 0 #fff;
}
.go-link:hover, .go a:hover { background: var(--lemon); color: var(--ink); }

.rack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.tile { min-width: 0; background: var(--tone); color: var(--on); border: var(--edge); box-shadow: var(--offset); }
.tile a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.shot { display: block; aspect-ratio: 1; overflow: hidden; background: rgba(0, 0, 0, 0.12); }
.shot img, .shot .photo-fallback { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback { display: grid; place-items: center; background: rgba(255, 255, 255, 0.28); color: inherit; font-family: var(--display); font-size: 3rem; }
.hero-photo .photo-fallback { background: rgba(0, 0, 0, 0.12); color: var(--on); font-size: 7rem; }
.pad { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem 0.8rem 0.9rem; min-height: 7.2rem; }
.tile .name, .stripe .name { font-family: var(--display); font-size: 1.15rem; line-height: 1.05; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile:hover { transform: translate(-3px, -3px); }

.shelf { padding: 1.5rem 0 2.4rem; }
.ledger { display: flex; flex-direction: column; border-top: var(--edge); }
.stripe { background: var(--tone); color: var(--on); border-bottom: var(--edge); border-left: var(--edge); border-right: var(--edge); }
.stripe a { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); text-decoration: none; color: inherit; min-height: 11.5rem; }
.stripe .shot { aspect-ratio: auto; height: 100%; }
.stripe .pad { justify-content: center; padding: 1rem 1.15rem; }
.stripe .excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.mast { margin-top: 1.15rem; border: var(--edge); }
.mast-copy { width: auto; padding: 1.35rem 1.15rem 1.25rem; }
.mast h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 16ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.45rem; align-items: center; margin-bottom: 0.7rem; font-weight: 700; }
.crumbs a { text-underline-offset: 0.15em; }

.recipe-wrap { padding: 1.4rem 0 2rem; }
.still { margin: 0 0 1.2rem; background: #fff; border: var(--edge); box-shadow: 10px 10px 0 var(--blue); }
.still img { width: 100%; max-height: 42rem; object-fit: cover; }
.still figcaption { padding: 0.65rem 0.85rem 0.8rem; color: var(--muted); }
.sheet { padding-bottom: 2.4rem; }
.prose { font-size: 1.06rem; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.4rem; }
.prose h2 { font-size: 1.8rem; }
.prose h3 { font-size: 1.35rem; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
.prose ul, .prose ol { background: #fff; border: var(--edge); box-shadow: 6px 6px 0 var(--blue); padding: 0.8rem 0.9rem 0.8rem 2.1rem; }
.prose li { margin: 0.28rem 0; }
.prose img { width: 100%; border: var(--edge); box-shadow: 8px 8px 0 var(--ink); margin: 0.8rem 0; }
.prose table { width: 100%; border-collapse: collapse; background: #fff; border: var(--edge); }
.prose th, .prose td { border: 2px solid var(--ink); padding: 0.45rem 0.55rem; text-align: left; }
.prose blockquote { margin: 1rem 0; padding: 0.8rem 1rem; background: var(--lemon); border: var(--edge); }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0.4rem 0 0; margin: 0; }
.tags a { display: inline-block; background: var(--lemon); border: var(--edge); padding: 0.3rem 0.55rem; text-decoration: none; font-weight: 700; }

.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0 0.7rem;
  text-decoration: none;
  font-weight: 700;
  background: #fff;
  color: var(--ink);
  border: var(--edge);
}
.page-link.is-current { background: var(--ink); color: var(--lemon); }
.page-link:hover { background: var(--lemon); color: var(--ink); }

.contact-wrap { margin-top: 1.25rem; margin-bottom: 3rem; }
.contact-copy { margin-bottom: 1.2rem; }
.note {
  display: grid;
  gap: 0.85rem;
  background: #fff;
  border: var(--edge);
  box-shadow: 10px 10px 0 var(--blue);
  padding: 1.2rem 1.2rem 1.4rem;
}
.note h2 { font-size: 1.8rem; margin-bottom: 0.2rem; }
.note label { display: grid; gap: 0.35rem; font-weight: 700; }
.note input, .note textarea {
  width: 100%;
  border: var(--edge);
  background: var(--paper);
  padding: 0.7rem 0.75rem;
}
.note button {
  justify-self: start;
  border: var(--edge);
  background: var(--lemon);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
}
.note button:hover { background: var(--mango); }
.captcha { overflow: auto; }
.notice, .errors, .empty { background: #fff; border: var(--edge); padding: 0.8rem 0.9rem; }
.errors { background: #ffe1ea; }

.foot { background: var(--ink); color: var(--paper); padding: 2rem 1.1rem 1.2rem; }
.foot-grid { width: min(var(--frame), calc(100% - 2 * var(--gutter))); margin: 0 auto; display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 1.2rem; }
.foot h2 { font-size: 1.15rem; color: var(--lemon); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0.25rem 0; }
.foot-link { color: #fff; text-decoration: none; font-weight: 600; }
.foot-link:hover { color: var(--lemon); }
.foot .brand { margin-bottom: 0.7rem; }
.legal { width: min(var(--frame), calc(100% - 2 * var(--gutter))); margin: 1.2rem auto 0; padding-top: 0.8rem; border-top: 2px solid rgba(255, 255, 255, 0.2); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { border-left: 0; border-top: var(--edge); }
  .hero-photo img, .hero-photo .photo-fallback { min-height: 16rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .tag { display: none; }
  .brand-row { flex-wrap: wrap; }
  .find { flex: 1 1 14rem; min-width: 0; }
  .find input { width: 100%; min-width: 0; }
}
@media (max-width: 720px) {
  :root { --gutter: 0.75rem; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .menu { display: none; }
  .menu.is-open { display: block; }
  .brand-row { padding: 0.65rem 0.75rem; gap: 0.55rem; }
  .brand-name { font-size: 1.15rem; }
  .find { order: 3; flex: 1 1 100%; }
  .hero-copy { padding: 1rem; }
  .dek { font-size: 1rem; }
  .rack { gap: 6px; padding-right: 4px; padding-bottom: 4px; }
  .tile { box-shadow: 4px 4px 0 var(--ink); }
  .tile .name { font-size: 0.78rem; }
  .pad { min-height: 5.1rem; padding: 0.4rem; }
  .stripe a { grid-template-columns: 6.4rem minmax(0, 1fr); min-height: 6.4rem; }
  .stripe .excerpt { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .note, .still, .prose ul, .prose ol { box-shadow: 5px 5px 0 var(--blue); }
  .note input, .note textarea, .find input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile:hover { transform: none; }
}
