/* =====================================================================
   Limepie Recipe - site stylesheet
   Identity: key lime + graham crust + meringue paper.
   Type: Young Serif (display) / Onest (text) / Azeret Mono (labels).
   Shapes: pie wedges, bitten corners, jar lids, crimped tins, receipts.
   ===================================================================== */

:root {
  --ink: #1f2a1a;
  --ink-2: #3d4a36;
  --ink-3: #69735f;
  --paper: #fbf8ee;
  --paper-2: #f3eedb;
  --card: #fffdf6;
  --lime: #a6d13b;
  --lime-2: #c6e27a;
  --lime-pale: #ebf4cb;
  --lime-deep: #4c7515;
  --crust: #c98f45;
  --crust-2: #b27631;
  --crust-pale: #f2e2c6;
  --berry: #a8345a;
  --berry-pale: #f7dde5;
  --line: rgba(31, 42, 26, .14);
  --line-2: rgba(31, 42, 26, .28);
  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --f-display: "Young Serif", Georgia, "Times New Roman", serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Azeret Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --shadow: 0 1px 0 rgba(31, 42, 26, .05), 0 18px 40px -26px rgba(31, 42, 26, .45);
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--lime-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.ico { flex: none; vertical-align: middle; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }

.kicker {
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime-deep);
  margin: 0 0 .7rem;
  display: flex; align-items: center; gap: .5em; flex-wrap: wrap;
}
.kicker .ico { width: 15px; height: 15px; }
.kicker-lock { color: var(--berry); display: inline-flex; align-items: center; gap: .3em; }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 1.35em;
  border-radius: 999px; border: 2px solid var(--ink);
  font-weight: 600; font-size: .95rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s, color .18s, box-shadow .18s;
}
.pill:hover { transform: translateY(-2px); color: inherit; }
.pill:active { transform: translateY(0); }
.pill .ico { width: 18px; height: 18px; }
.pill-lime { background: var(--lime); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.pill-lime:hover { box-shadow: 0 6px 0 var(--ink); background: var(--lime-2); }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ink:hover { background: var(--ink-2); color: var(--paper); }
.pill-line { background: transparent; color: var(--ink); }
.pill-line:hover { background: var(--ink); color: var(--paper); }
.pill-ghost { background: transparent; color: var(--paper); border-color: rgba(251, 248, 238, .55); }
.pill-ghost:hover { border-color: var(--paper); color: var(--paper); }
.pill-wide { width: 100%; }
.pill.is-static { cursor: default; transform: none; }

.round-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--card);
  cursor: pointer; text-decoration: none; transition: background .18s, border-color .18s;
}
.round-btn:hover { background: var(--lime-pale); border-color: var(--ink); color: var(--ink); }

/* ---------- zestline (top band) ---------- */
.zestline { background: var(--ink); color: var(--paper); font-size: .82rem; }
.zestline-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.zestline-msg { margin: 0; display: flex; align-items: center; gap: .5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zestline-msg .ico { width: 15px; height: 15px; color: var(--lime); }
.zestline-msg a { color: var(--lime); font-weight: 600; }
.zestline-links { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.zestline-links a { text-decoration: none; opacity: .85; }
.zestline-links a:hover { opacity: 1; color: var(--lime); }

/* ---------- masthead ---------- */
.mast { position: sticky; top: 0; z-index: 60; background: rgba(251, 248, 238, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mast-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 3vw, 36px); min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 46px; height: 46px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(60deg); }
.bm-rind { fill: var(--lime-deep); }
.bm-flesh { fill: var(--lime-2); }
.bm-slice { fill: var(--paper); }
.bm-seg path { stroke: var(--paper); stroke-width: 1.6; opacity: .75; }
.brand-word { font-family: var(--f-display); font-size: 1.55rem; line-height: .9; display: inline-flex; flex-direction: column; }
.brand-word small { font-family: var(--f-mono); font-size: .56rem; letter-spacing: .38em; text-transform: uppercase; color: var(--lime-deep); margin-top: 5px; }
.brand-word-lg { font-size: 2.3rem; color: var(--paper); }
.brand-word-lg small { color: var(--lime); font-size: .7rem; }

.seek { position: relative; display: flex; align-items: center; max-width: 560px; width: 100%; justify-self: center; background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 4px 4px 16px; }
.seek:focus-within { box-shadow: 0 0 0 4px var(--lime-pale); }
.seek-ico { display: grid; color: var(--ink-3); }
.seek input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 10px; outline: none; font-size: .98rem; }
.seek input::-webkit-search-cancel-button { display: none; }
.seek-go { border: 0; background: var(--lime); border-radius: 999px; padding: 0 18px; height: 38px; font-weight: 600; cursor: pointer; }
.seek-go:hover { background: var(--lime-2); }
.seek-drop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--card); border: 1.5px solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); padding: 8px; z-index: 70; }
.seek-drop a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; border-radius: 14px; text-decoration: none; }
.seek-drop a:hover, .seek-drop a.is-active { background: var(--lime-pale); color: var(--ink); }
.seek-drop img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.seek-drop b { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.seek-drop small { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.seek-drop .ico { width: 15px; height: 15px; color: var(--berry); }
.seek-drop .seek-all { display: block; text-align: center; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 10px; border-top: 1px dashed var(--line-2); margin-top: 6px; border-radius: 0; }
.seek-drop .seek-none { padding: 12px; font-size: .9rem; color: var(--ink-3); margin: 0; }

.mast-act { display: flex; align-items: center; gap: 10px; }
.mast-join { min-height: 42px; padding: 0 1.1em; box-shadow: 0 3px 0 var(--ink); }
.basket-count {
  position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 999px; background: var(--berry); color: #fff; font-family: var(--f-mono); font-size: .68rem; font-weight: 600;
  display: grid; place-items: center; border: 2px solid var(--paper); transition: transform .3s var(--ease);
}
.basket-count.is-zero { background: var(--ink-3); }
.basket-count.bump { transform: scale(1.35); }
.menu-btn { display: none; }

.rail { border-top: 1px dashed var(--line-2); }
.rail-list { list-style: none; margin: 0 auto; display: flex; justify-content: center; gap: clamp(8px, 2.4vw, 34px); }
.rail-list > li > a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: .93rem; text-decoration: none; position: relative; }
.rail-list > li > a::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); transform: translateX(-50%) scale(0); transition: transform .2s var(--ease); }
.rail-list > li > a:hover { color: var(--ink); }
.rail-list > li > a:hover::after, .rail-list > li:focus-within > a::after { transform: translateX(-50%) scale(1); }
.has-panel { position: relative; }
.panel {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); width: min(640px, 90vw);
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow); padding: 16px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.has-panel:hover .panel, .has-panel:focus-within .panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 14px; }
.panel-grid a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; text-decoration: none; font-size: .93rem; }
.panel-grid a:hover { background: var(--lime-pale); color: var(--ink); }
.panel-grid em { font-style: normal; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); }
.panel-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 10px; border-radius: 14px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: .9rem; }
.panel-all:hover { color: var(--lime); }

/* ---------- drawer (mobile) ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; background: var(--lime); padding: 18px var(--gutter) 40px; overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer-head .brand-word small { color: var(--ink); }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav > a, .drawer-nav summary { font-family: var(--f-display); font-size: 1.9rem; padding: 10px 0; text-decoration: none; border-bottom: 1.5px solid rgba(31, 42, 26, .25); cursor: pointer; }
.drawer-nav summary { list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after { content: " +"; }
.drawer-nav details[open] summary::after { content: " -"; }
.drawer-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 12px 0; }
.drawer-cats a { text-decoration: none; font-weight: 500; }
body.drawer-open { overflow: hidden; }

/* ---------- notes / flashes ---------- */
.notes { padding-top: 16px; }
.note { padding: 12px 16px; border-radius: 14px; border: 1.5px solid; font-size: .94rem; margin: 0 0 12px; }
.note-success { background: var(--lime-pale); border-color: var(--lime-deep); }
.note-info { background: var(--crust-pale); border-color: var(--crust-2); }
.note-error { background: var(--berry-pale); border-color: var(--berry); }
.note-big { font-size: 1.02rem; padding: 16px 20px; }
.note[hidden] { display: none; }

/* ---------- sections ---------- */
.sect { padding: clamp(48px, 7vw, 96px) 0; }
.sect-tight { padding: clamp(28px, 4vw, 52px) 0; }
.sect-cream { background: var(--paper-2); }
.sect-crust { background: var(--crust-pale); }
.sect-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 20px; margin-bottom: clamp(24px, 3vw, 38px); }
.sect-head .kicker { grid-column: 1 / -1; margin: 0; }
.sect-head-center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sect-title { font-size: clamp(1.8rem, 3.6vw, 2.75rem); margin: 0; max-width: 22ch; }
.sect-head-center .sect-title { max-width: 26ch; }
.sect-title-sm { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 36px 0 16px; max-width: none; }
.sect-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .93rem; text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.sect-more .ico { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.sect-more:hover .ico { transform: translateX(4px); }

/* ================= HOME: pie hero ================= */
.pie-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.pie-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: var(--lime-pale); z-index: -1; }
.pie-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(28px, 5vw, 70px); }
.pie-title { font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: .98; margin-bottom: .35em; }
.pie-title em { font-style: normal; color: var(--lime-deep); position: relative; white-space: nowrap; }
.pie-title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .18em; background: var(--lime); z-index: -1; border-radius: 99px; transform: rotate(-1.2deg); }
.pie-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 46ch; }
.pie-search { display: flex; gap: 8px; margin: 26px 0 14px; max-width: 520px; }
.pie-search input { flex: 1; min-width: 0; height: 52px; border-radius: 999px; border: 2px solid var(--ink); background: var(--card); padding: 0 20px; font-size: 1rem; }
.pie-search input:focus { outline: none; box-shadow: 0 0 0 4px var(--lime-pale); }
.pie-search .pill { min-height: 52px; }
.pie-search-center { margin: 24px auto; }
.pie-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; margin: 0; }
.pie-chips span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pie-chips a { padding: 4px 12px; border: 1.5px dashed var(--line-2); border-radius: 999px; text-decoration: none; }
.pie-chips a:hover { border-style: solid; border-color: var(--ink); background: var(--lime-pale); color: var(--ink); }

.pie { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: center; margin: 28px; }
.pie::before { content: ""; position: absolute; inset: -5%; border-radius: 50%; background: repeating-conic-gradient(from 3deg, var(--crust) 0 6deg, var(--crust-2) 6deg 12deg); box-shadow: 0 30px 60px -30px rgba(31, 42, 26, .6); }
.pie::after { content: ""; position: absolute; inset: -1.5%; border-radius: 50%; background: var(--paper); }
.pie-dish { position: absolute; inset: 0; z-index: 1; }
.pie-slice { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; transition: transform .6s var(--ease); }
.pie-slice img { width: 100%; height: 100%; object-fit: cover; }
.pie-slice.s1 { clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 78.9%); transform: translate(16px, -10px); }
.pie-slice.s2 { clip-path: polygon(50% 50%, 100% 78.9%, 100% 100%, 0 100%, 0 78.9%); transform: translate(0, 5px); }
.pie-slice.s3 { clip-path: polygon(50% 50%, 0 78.9%, 0 0, 50% 0); transform: translate(-5px, -3px); }
.pie:hover .pie-slice.s1 { transform: translate(28px, -18px); }
.pie-label {
  position: absolute; z-index: 2; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 7px 12px; border-radius: 999px; white-space: nowrap;
}
.pie-label.l1 { top: 4%; right: -4%; background: var(--lime); color: var(--ink); }
.pie-label.l2 { bottom: 2%; left: 50%; transform: translateX(-50%); }
.pie-label.l3 { top: 22%; left: -8%; background: var(--card); color: var(--ink); border: 1.5px solid var(--ink); }

/* ribbon */
.ribbon { background: var(--lime); border-block: 2px solid var(--ink); overflow: hidden; }
.ribbon-track { display: flex; width: max-content; animation: ribbon 38s linear infinite; }
.ribbon span { font-family: var(--f-mono); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; padding: 14px 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px; }
.ribbon span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: conic-gradient(var(--ink) 0 120deg, transparent 120deg); border: 1.5px solid var(--ink); margin-left: 26px; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* lids (categories) */
.lids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 26px 12px; }
.lid a { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; position: relative; }
.lid-photo { width: 62%; aspect-ratio: 1; margin-top: 19%; border-radius: 50%; overflow: hidden; border: 3px solid var(--card); box-shadow: 0 0 0 2px var(--ink), var(--shadow); transition: transform .35s var(--ease); }
.lid-photo img { width: 100%; height: 100%; object-fit: cover; }
.lid-ring { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1; pointer-events: none; transition: transform .6s var(--ease); }
.lid-ring text { font-family: var(--f-mono); font-size: 13px; letter-spacing: 1.2px; fill: var(--lime-deep); font-weight: 600; }
.lid-name { font-family: var(--f-display); font-size: 1.02rem; line-height: 1.2; margin-top: 12px; }
.lid-count { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.lid a:hover .lid-photo { transform: scale(1.05); }
.lid a:hover .lid-ring { transform: rotate(-14deg); }
.lid a:hover { color: var(--ink); }

/* menu board */
.board { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.board-feature { position: relative; display: block; text-decoration: none; }
.board-feature:hover { color: var(--ink); }
.board-arch { display: block; border-radius: 999px 999px 26px 26px; overflow: hidden; aspect-ratio: 4 / 5; border: 2px solid var(--ink); }
.board-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.board-feature:hover .board-arch img { transform: scale(1.05); }
.board-stamp { position: absolute; top: 8%; right: -14px; width: 104px; height: 104px; border-radius: 50%; background: var(--crust); color: var(--card); display: grid; place-items: center; text-align: center; font-family: var(--f-mono); font-size: .66rem; line-height: 1.25; letter-spacing: .12em; text-transform: uppercase; transform: rotate(12deg); border: 2px dashed var(--card); outline: 3px solid var(--crust); }
.board-cap { position: relative; display: block; margin: -80px 18px 0; background: var(--card); border: 2px solid var(--ink); border-radius: 22px; padding: 20px 22px; box-shadow: var(--shadow); }
.board-name { display: block; font-family: var(--f-display); font-size: 1.55rem; line-height: 1.15; margin-bottom: 6px; }
.board-desc { display: block; color: var(--ink-2); font-size: .95rem; margin-bottom: 10px; }
.board-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .74rem; color: var(--ink-3); }
.board-menu .sect-title { margin-bottom: 22px; }
.menu { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: menu; }
.menu-row a { display: grid; grid-template-columns: auto 52px auto 1fr auto; align-items: center; gap: 14px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); counter-increment: menu; }
.menu-row a::before { content: counter(menu, decimal-leading-zero); font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); }
.menu-thumb { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid var(--ink); }
.menu-thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-name { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.2; }
.menu-dots { border-bottom: 2px dotted var(--line-2); height: 1px; align-self: center; margin-top: 8px; min-width: 20px; }
.menu-time { font-family: var(--f-mono); font-size: .8rem; white-space: nowrap; }
.menu-row a:hover .menu-name { color: var(--lime-deep); }
.lock-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--berry-pale); color: var(--berry); vertical-align: middle; }
.lock-dot .ico { width: 12px; height: 12px; }

/* bite cards (recipes) */
.bites { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.bite { position: relative; }
.bite-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.bite-link:hover { color: var(--ink); }
.bite-img { position: relative; }
.bite-img img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 6px; background: var(--paper-2);
  -webkit-mask: radial-gradient(circle 33px at calc(100% - 8px) 8px, transparent 32px, #000 33px);
  mask: radial-gradient(circle 33px at calc(100% - 8px) 8px, transparent 32px, #000 33px);
  transition: transform .5s var(--ease), filter .3s;
}
.bite-link:hover .bite-img img { transform: translateY(-4px); filter: saturate(1.08); }
.bite-score { position: absolute; top: -6px; right: -6px; width: 50px; height: 50px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--f-mono); font-size: .8rem; }
.bite-score b { font-weight: 600; }
.bite-lock { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; background: var(--berry); color: #fff; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px 5px 8px; border-radius: 999px; }
.bite-lock .ico { width: 13px; height: 13px; }
.bite-body { padding: 14px 4px 0; }
.bite-cat { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-deep); margin: 0 0 4px; }
.bite-title { font-size: 1.14rem; line-height: 1.22; margin: 0 0 8px; }
.bite-link:hover .bite-title { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.bite-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: .8rem; color: var(--ink-3); }
.bite-meta span { display: inline-flex; align-items: center; gap: 5px; }
.bite-meta .ico { width: 15px; height: 15px; }
.lvl i { display: inline-block; width: 6px; height: 12px; border-radius: 2px; background: var(--line-2); margin-right: 1px; }
.lvl i:nth-child(2) { height: 12px; }
.lvl-easy i:nth-child(1), .lvl-medium i:nth-child(-n+2), .lvl-hard i { background: var(--lime-deep); }
.lvl i:last-of-type { margin-right: 5px; }

/* wedge rating */
.wedges { display: inline-flex; align-items: center; gap: 2px; }
.wedge { width: 16px; height: 16px; }
.wedge path { fill: var(--lime); }
.wedge circle { stroke: var(--ink); stroke-width: 1.2; }
.wedges b { font-family: var(--f-mono); font-size: .78rem; font-weight: 600; margin-left: 6px; }

/* membership tin band */
.tin-band { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 110px) 0; overflow: hidden; }
.tin-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(30px, 6vw, 90px); }
.tin { position: relative; width: min(100%, 380px); aspect-ratio: 1; justify-self: center; }
.tin-crimp { position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(var(--crust) 0 7.5deg, var(--crust-2) 7.5deg 15deg); animation: spin 60s linear infinite; }
.tin-fill { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--lime-2), var(--lime) 60%, #8fbd2a); display: grid; place-content: center; text-align: center; color: var(--ink); box-shadow: inset 0 -12px 30px rgba(31, 42, 26, .25); }
.tin-price { font-family: var(--f-display); font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; }
.tin-small { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.tin-copy .kicker { color: var(--lime); }
.tin-copy .sect-title { color: var(--paper); max-width: 24ch; margin-bottom: 22px; }
.tin-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tin-band .pill-lime { box-shadow: 0 4px 0 var(--lime-deep); border-color: var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--lime); color: var(--ink); margin-top: 1px; }

/* shelf (products) */
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px clamp(16px, 2.4vw, 30px); }
.shelf-item { display: flex; flex-direction: column; }
.shelf-img { position: relative; display: block; background: var(--card); border-radius: 18px 18px 4px 4px; overflow: hidden; border-bottom: 12px solid var(--crust); box-shadow: 0 10px 0 -4px var(--crust-2); }
.shelf-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.shelf-item:hover .shelf-img img { transform: scale(1.05); }
.shelf-badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--lime); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.shelf-body { padding: 18px 2px 0; display: flex; flex-direction: column; flex: 1; }
.shelf-cat { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.shelf-name { font-size: 1.08rem; line-height: 1.25; margin: 0 0 12px; }
.shelf-name a { text-decoration: none; }
.shelf-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag-price {
  position: relative; display: inline-flex; align-items: baseline; gap: 6px;
  background: var(--lime-pale); padding: 5px 12px 5px 22px; font-family: var(--f-mono); font-weight: 600; font-size: .9rem;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
}
.tag-price::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--paper); }
.tag-price s { font-weight: 400; color: var(--ink-3); font-size: .78rem; }
.tag-price-lg { font-size: 1.35rem; padding: 8px 18px 8px 30px; clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%); }
.tag-price-lg::before { left: 13px; width: 8px; height: 8px; margin-top: -4px; }
.add-btn { border: 2px solid var(--ink); background: transparent; border-radius: 999px; height: 36px; padding: 0 14px; font-weight: 600; font-size: .84rem; cursor: pointer; white-space: nowrap; transition: background .15s; }
.add-btn:hover { background: var(--lime); }
.add-btn.is-added { background: var(--ink); color: var(--lime); }

/* lattice mosaic */
.lattice { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(90px, 12vw, 150px); gap: 12px; background: var(--crust); padding: 12px; border-radius: 26px; box-shadow: inset 0 0 0 3px var(--crust-2); }
.lat { margin: 0; overflow: hidden; border-radius: 14px; background: var(--crust-2); }
.lat img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lat:hover img { transform: scale(1.08); }
.lat-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.lat-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.lat-3 { grid-column: 4 / 5; grid-row: 1 / 3; }
.lat-4 { grid-column: 5 / 7; grid-row: 1 / 2; }
.lat-5 { grid-column: 3 / 4; grid-row: 2 / 3; }
.lat-6 { grid-column: 5 / 6; grid-row: 2 / 3; }
.lat-7 { grid-column: 6 / 7; grid-row: 2 / 4; }
.lat-8 { grid-column: 1 / 2; grid-row: 3 / 4; }
.lat-9 { grid-column: 2 / 4; grid-row: 3 / 4; }
.lat-10 { grid-column: 4 / 6; grid-row: 3 / 4; }

/* journal clips */
.notes-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.clip { position: relative; display: flex; flex-direction: column; text-decoration: none; }
.clip:hover { color: var(--ink); }
.clip-img { display: block; border-radius: 20px; overflow: hidden; }
.clip-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.clip:hover .clip-img img { transform: scale(1.04); }
.clip-date { position: absolute; top: 14px; left: 14px; width: 58px; height: 58px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); display: grid; place-content: center; text-align: center; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1; }
.clip-date b { font-family: var(--f-display); font-size: 1.2rem; font-weight: 400; letter-spacing: 0; }
.clip-title { font-family: var(--f-display); font-size: 1.28rem; line-height: 1.2; margin: 16px 0 6px; }
.clip:hover .clip-title { color: var(--lime-deep); }
.clip-ex { color: var(--ink-2); font-size: .93rem; margin-bottom: 8px; }
.clip-by { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; color: var(--ink-3); }

/* ================= inner page headers ================= */
.phead { padding: clamp(34px, 5vw, 64px) 0 clamp(24px, 4vw, 48px); border-bottom: 1px dashed var(--line-2); }
.phead-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.phead-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: .3em; max-width: 20ch; }
.phead-lead { font-size: 1.08rem; color: var(--ink-2); max-width: 60ch; margin: 0; }
.phead-lead a { font-weight: 600; }
.phead-disc { width: clamp(180px, 24vw, 300px); aspect-ratio: 1; border-radius: 50%; position: relative; }
.phead-disc::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px dashed var(--lime-deep); animation: spin 50s linear infinite; }
.phead-disc img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 14px 14px 0 var(--lime); }
.phead-plain { border-bottom: 0; padding-bottom: 12px; }
.center .phead-title, .center .phead-lead { margin-left: auto; margin-right: auto; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.crumbs-nav { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 18px; }
.crumbs-nav a { text-decoration: none; }
.crumbs-nav a:hover { color: var(--lime-deep); }

/* category jar */
.jar { padding: 26px 0 10px; }
.jar-frame { position: relative; }
.jar-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 8; border: 2px solid var(--ink); }
.jar-photo img { width: 100%; height: 100%; object-fit: cover; }
.jar-label {
  position: relative; margin: -110px 0 0 clamp(16px, 4vw, 48px); max-width: 560px; background: var(--card); border: 2px solid var(--ink);
  border-radius: 6px 6px 24px 24px; padding: 34px 28px 24px; box-shadow: var(--shadow);
}
.jar-label::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 14px; background: radial-gradient(circle at 10px 14px, var(--card) 9px, var(--ink) 10px, var(--ink) 11px, transparent 12px) 0 0 / 20px 14px repeat-x; }
.jar-title { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 4px; }
.jar-tagline { font-family: var(--f-display); color: var(--lime-deep); font-size: 1.1rem; margin-bottom: 10px; }
.jar-desc { color: var(--ink-2); margin: 0; }

.cat-rail { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding: 22px 0 12px; margin: 0; scrollbar-width: thin; }
.cat-rail a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); text-decoration: none; font-size: .88rem; white-space: nowrap; background: var(--card); }
.cat-rail a:hover { border-color: var(--ink); color: var(--ink); }
.cat-rail a.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* filter sieve */
.sieve { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; background: var(--paper-2); border-radius: 22px; padding: 16px 18px; margin: 8px 0 18px; border: 1px solid var(--line); }
.sieve-label { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.sieve select, .sieve input[type="search"] { height: 42px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); padding: 0 12px; min-width: 150px; }
.sieve-q { flex: 1 1 240px; }
.sieve-q input { width: 100%; }
.sieve-levels { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sieve-levels legend { padding: 0; float: left; width: 100%; }
.sieve-go { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.sieve-go .pill { min-height: 42px; }
.sieve-reset { font-size: .86rem; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); font-size: .88rem; }
.chip input:checked + span { background: var(--lime); border-color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--lime-deep); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-block; padding: 6px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; text-decoration: none; margin: 4px; font-size: .88rem; }
.count-line { font-family: var(--f-mono); font-size: .76rem; color: var(--ink-3); margin: 0 0 22px; }
.bites-wide { margin-bottom: 10px; }

/* empty states */
.empty { text-align: center; padding: 40px 16px 50px; max-width: 560px; margin: 0 auto; }
.empty h2 { font-size: 1.8rem; }
.empty p { color: var(--ink-2); }
.empty-plate { width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: inset 0 0 0 14px var(--paper-2), inset 0 0 0 16px var(--line-2); position: relative; }
.empty-plate::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: conic-gradient(var(--lime) 0 60deg, transparent 60deg); }
.empty-plate-lg { width: 180px; height: 180px; display: grid; place-items: center; font-family: var(--f-display); font-size: 2.4rem; }
.empty-plate-lg::after { display: none; }
.empty-try { margin-top: 12px; }

/* pagination */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 44px 0 70px; }
.pager-nums { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.pager-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); text-decoration: none; font-family: var(--f-mono); font-size: .86rem; background: var(--card); }
.pager-num:hover { border-color: var(--ink); color: var(--ink); }
.pager-num.is-on { background: conic-gradient(var(--lime) 0 300deg, var(--lime-deep) 300deg); border: 2px solid var(--ink); font-weight: 600; }
.pager-step { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.pager-step:hover { background: var(--ink); color: var(--paper); }
.pager-step.is-off { opacity: .35; border-color: var(--line-2); }
.pager-gap { align-self: center; color: var(--ink-3); }

/* ================= recipe detail ================= */
.dish-head { padding: clamp(24px, 4vw, 50px) 0 clamp(36px, 5vw, 64px); background: linear-gradient(180deg, var(--paper) 0, var(--paper) 60%, var(--paper-2) 60%); }
.dish-head-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.dish-title { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; margin-bottom: 14px; }
.dish-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; font-size: .84rem; color: var(--ink-3); }
.dish-rating .wedge { width: 20px; height: 20px; }
.dish-desc { font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; }
.dials { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0; padding: 0; }
.dial { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; }
.dial dd { order: 1; margin: 0; width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-size: .98rem; line-height: 1.05; padding: 8px; position: relative; }
.dial dd::before { content: ""; position: absolute; top: 5px; left: 50%; width: 2px; height: 9px; margin-left: -1px; background: var(--ink); border-radius: 2px; }
.dial dt { order: 2; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.dial-total dd { background: var(--lime); }
.dial-level.lvl-hard dd { background: var(--berry-pale); }
.dish-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dish-photo { margin: 0; position: relative; justify-self: center; width: min(100%, 520px); }
.dish-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 16px var(--card), 0 0 0 18px var(--line-2), 0 40px 60px -30px rgba(31, 42, 26, .6); }
.dish-tags { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: 90%; }
.dish-tags span { background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }

.dish-body { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 5vw, 64px); padding-top: clamp(36px, 5vw, 60px); padding-bottom: clamp(48px, 7vw, 90px); align-items: start; }
.larder { position: sticky; top: 140px; }
.larder-card { background: var(--card); border: 2px solid var(--ink); border-radius: 8px 8px 26px 26px; padding: 22px 20px; background-image: repeating-linear-gradient(180deg, transparent 0 35px, rgba(166, 209, 59, .35) 35px 36px); background-position: 0 96px; box-shadow: 8px 8px 0 var(--lime); }
.larder-title { font-size: 1.7rem; margin-bottom: 2px; }
.larder-sub { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 14px; }
.larder-list { list-style: none; margin: 0; padding: 0; }
.larder-list label { display: grid; grid-template-columns: 22px auto 1fr; gap: 10px; align-items: baseline; padding: 6px 0; cursor: pointer; font-size: .95rem; line-height: 1.4; }
.larder-list input { appearance: none; width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 50%; margin: 0; position: relative; top: 4px; cursor: pointer; background: var(--card); }
.larder-list input:checked { background: conic-gradient(var(--lime) 0 360deg); }
.larder-list input:checked ~ span { text-decoration: line-through; text-decoration-color: var(--lime-deep); color: var(--ink-3); }
.ing-amt { font-family: var(--f-mono); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.ing-name em { color: var(--ink-3); }
.larder.is-locked .larder-list { -webkit-mask: linear-gradient(#000 40%, transparent); mask: linear-gradient(#000 40%, transparent); }
.larder-more { font-family: var(--f-mono); font-size: .76rem; color: var(--berry); margin: 8px 0 0; }

.method-title { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 24px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding-bottom: 26px; position: relative; }
.step::before { content: ""; position: absolute; left: 28px; top: 58px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
.step:last-child::before { display: none; }
.step-no { width: 58px; height: 58px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.5rem; }
.step p { margin: 0; padding-top: 14px; font-size: 1.04rem; }
.zest-note { margin-top: 16px; background: var(--ink); color: var(--paper); border-radius: 24px 24px 24px 6px; padding: 22px 24px; }
.zest-note .kicker { color: var(--lime); }
.zest-note p:last-child { margin: 0; font-size: 1.02rem; }

.gate { background: var(--card); border: 2px solid var(--ink); border-radius: 30px; padding: clamp(26px, 4vw, 44px); text-align: center; position: relative; box-shadow: var(--shadow); }
.gate .kicker { justify-content: center; color: var(--berry); }
.gate-lock { width: 74px; height: 74px; margin: -70px auto 16px; border-radius: 50%; background: var(--berry); color: #fff; display: grid; place-items: center; border: 4px solid var(--paper); }
.gate-lock .ico { width: 32px; height: 32px; }
.gate-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.gate > p { color: var(--ink-2); max-width: 50ch; margin-left: auto; margin-right: auto; }
.gate-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 460px; margin: 24px auto; }
.gate-plan { position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px 12px; border-radius: 20px; border: 2px solid var(--ink); text-decoration: none; transition: transform .2s var(--ease), background .2s; }
.gate-plan:hover { transform: translateY(-3px); color: var(--ink); background: var(--lime-pale); }
.gate-plan b { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; }
.gate-plan span { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.gate-plan-best { background: var(--lime); }
.gate-plan-best:hover { background: var(--lime-2); }
.gate-plan i { position: absolute; top: -12px; background: var(--ink); color: var(--lime); font-style: normal; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.gate-foot { font-size: .92rem; }

/* ================= membership ================= */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 26px; }
.plan { position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: 30px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.plan-best { background: var(--lime-pale); box-shadow: 10px 10px 0 var(--ink); }
.plan-flag { position: absolute; top: -16px; right: 24px; background: var(--berry); color: #fff; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.plan-name { font-size: 1.9rem; margin: 0; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-family: var(--f-display); font-weight: 400; font-size: 3.2rem; line-height: 1; }
.plan-price span { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-3); }
.plan-blurb { color: var(--ink-2); margin: 0; }
.plan .ticks { margin: 6px 0 10px; font-size: .95rem; }
.plan-currency { font-size: .78rem; color: var(--ink-3); margin: 0; text-align: center; }
.welcome-slice { width: 110px; height: 110px; margin: 0 auto 22px; border-radius: 50%; background: conic-gradient(var(--lime) 0 300deg, transparent 300deg), var(--crust-pale); border: 3px solid var(--ink); animation: spin 14s linear infinite; }

.folds { display: grid; gap: 10px; }
.fold { background: var(--card); border: 1.5px solid var(--line-2); border-radius: 18px; padding: 0 20px; }
.fold[open] { border-color: var(--ink); }
.fold summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 600; position: relative; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: conic-gradient(var(--lime) 0 90deg, var(--line) 90deg); transition: transform .3s var(--ease); }
.fold[open] summary::after { transform: rotate(270deg); background: conic-gradient(var(--lime) 0 360deg); }
.fold > p, .fold > ul { margin: 0 0 18px; color: var(--ink-2); }
.fold-sm { margin-bottom: 10px; }
.fold-sm summary em { font-style: normal; font-family: var(--f-mono); font-size: .76rem; color: var(--ink-3); }

/* ================= forms & payment ================= */
.pay-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { display: grid; gap: 16px; margin-top: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.form legend { font-family: var(--f-display); font-size: 1.35rem; margin-bottom: 8px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label, .field > legend { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--card); padding: 10px 14px; font-size: 1rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime-pale); }
.field input.is-bad { border-color: var(--berry); box-shadow: 0 0 0 4px var(--berry-pale); }
.field input.is-good { border-color: var(--lime-deep); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { grid-template-columns: 2fr 1fr 1fr; }
.field-err { color: var(--berry); font-size: .84rem; font-weight: 500; }
.field-err[hidden] { display: none; }
.card-box { background: var(--paper-2); border-radius: 22px; padding: 20px !important; border: 1.5px dashed var(--line-2) !important; }
.pay-secure { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; background: var(--card); border-radius: 12px; padding: 11px 13px; margin: 0 0 4px; border-left: 4px solid var(--lime-deep); }
.pay-secure .ico { width: 18px; height: 18px; color: var(--lime-deep); flex: none; margin-top: 1px; }
.pay-note { font-size: .86rem; color: var(--ink-3); margin: 0; }
.card-input { position: relative; }
.card-input input { padding-right: 110px; font-family: var(--f-mono); letter-spacing: .06em; }
.card-brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--lime); padding: 4px 8px; border-radius: 6px; }
.card-brand:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--lime-deep); flex: none; }
.fine { font-size: .84rem; color: var(--ink-3); }
.form-aside { margin: -6px 0 0; text-align: right; font-size: .9rem; }

.receipt {
  position: sticky; top: 140px; background: var(--card); padding: 26px 24px 34px; font-family: var(--f-mono); font-size: .86rem;
  border: 1.5px solid var(--line-2); border-bottom: 0; box-shadow: var(--shadow);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, transparent 90deg, #000 0) bottom / 20px 12px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, transparent 90deg, #000 0) bottom / 20px 12px repeat-x;
}
.receipt-head { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--ink-3); border-bottom: 1.5px dashed var(--line-2); padding-bottom: 12px; text-align: center; }
.receipt-plan { font-family: var(--f-display); font-size: 1.5rem; text-align: center; }
.receipt-lines { margin: 0 0 12px; }
.receipt-lines div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dotted var(--line-2); }
.receipt-lines dt { color: var(--ink-3); }
.receipt-lines dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; padding: 12px 0; border-bottom: 3px double var(--ink); }
.receipt-total b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; }
.receipt-note { color: var(--ink-3); font-size: .78rem; margin: 14px 0; font-family: var(--f-body); }
.receipt .pill { font-family: var(--f-body); margin-top: 8px; }
.receipt-switch { display: block; text-align: center; margin-top: 16px; font-family: var(--f-body); font-size: .88rem; }
.mini-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.mini-lines li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dotted var(--line-2); }
.mini-lines img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.mini-lines span { font-family: var(--f-body); font-size: .86rem; line-height: 1.3; }
.mini-lines small { display: block; color: var(--ink-3); font-family: var(--f-mono); }

/* ================= store ================= */
.counter { padding: clamp(28px, 4vw, 54px) 0 12px; }
.counter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 60px); align-items: center; }
.counter-photo { border-radius: var(--r-xl) var(--r-xl) 6px 6px; overflow: hidden; border-bottom: 16px solid var(--crust); box-shadow: 0 12px 0 -6px var(--crust-2); }
.counter-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.store-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.store-bar .cat-rail { flex: 1; min-width: 0; }
.store-sort { display: flex; align-items: center; gap: 10px; }
.store-sort .sieve-label { margin: 0; }
.store-sort select { height: 40px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); padding: 0 10px; }
.shelf-wide { margin-bottom: 20px; }
.perks { background: var(--ink); color: var(--paper); margin-top: 40px; }
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 30px; padding-bottom: 30px; }
.perks-grid p { margin: 0; display: flex; flex-direction: column; }
.perks-grid b { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; color: var(--lime); }
.perks-grid span { font-size: .9rem; opacity: .85; }
.perks-grid a { color: var(--paper); }

.item-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.item-photo { margin: 0; position: sticky; top: 140px; background: var(--card); border-radius: 30px 30px 6px 6px; overflow: hidden; border-bottom: 18px solid var(--crust); box-shadow: 0 14px 0 -8px var(--crust-2); }
.item-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.item-name { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.item-price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; }
.item-price s { color: var(--ink-3); font-family: var(--f-mono); }
.item-save { font-family: var(--f-mono); font-size: .76rem; color: var(--berry); background: var(--berry-pale); padding: 4px 10px; border-radius: 999px; }
.item-short { font-size: 1.1rem; color: var(--ink-2); }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 8px; }
.buy-row .pill { min-height: 50px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; height: 50px; overflow: hidden; background: var(--card); }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: var(--lime-pale); }
.qty input { width: 48px; border: 0; text-align: center; background: transparent; font-family: var(--f-mono); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stock-line { font-family: var(--f-mono); font-size: .76rem; color: var(--lime-deep); }
.item-desc { margin-top: 26px; color: var(--ink-2); }
.specs { margin: 20px 0 0; border-top: 2px solid var(--ink); }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: .93rem; }
.specs dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.specs dd { margin: 0; }

.basket { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(26px, 4vw, 54px); align-items: start; margin-top: 20px; }
.basket-loading { font-family: var(--f-mono); color: var(--ink-3); padding: 20px 0; }
.lines { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px dashed var(--line-2); }
.line-img img { width: 96px; height: 96px; object-fit: cover; border-radius: 18px 18px 4px 4px; border-bottom: 6px solid var(--crust); }
.line-name { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.2; text-decoration: none; }
.line-cat { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.line-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.line-ctrl .qty { height: 38px; }
.line-ctrl .qty button { width: 34px; }
.line-ctrl .qty input { width: 36px; }
.line-remove { border: 0; background: none; text-decoration: underline; text-decoration-color: var(--berry); cursor: pointer; font-size: .86rem; color: var(--ink-2); }
.line-total { font-family: var(--f-mono); font-weight: 600; white-space: nowrap; }

.ticket { background: var(--card); border: 2px solid var(--ink); border-radius: 24px; margin-top: 30px; overflow: hidden; font-size: .94rem; }
.ticket-row { display: grid; grid-template-columns: 1fr 60px 110px; gap: 12px; align-items: center; padding: 12px 22px; border-bottom: 1px dashed var(--line-2); }
.ticket-row span:not(:first-child) { text-align: right; font-family: var(--f-mono); }
.ticket-head { background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.ticket-item { display: flex; align-items: center; gap: 12px; }
.ticket-thumb img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.ticket-sums { padding: 14px 22px; font-family: var(--f-mono); }
.ticket-sums p { display: flex; justify-content: space-between; margin: 0; padding: 4px 0; }
.ticket-total { border-top: 3px double var(--ink); margin-top: 8px !important; padding-top: 10px !important; font-weight: 600; font-size: 1.05rem; }
.ticket-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 18px 22px; background: var(--paper-2); }
.ticket-foot p { margin: 0; }

/* ================= auth & account ================= */
.auth { padding: clamp(28px, 4vw, 60px) 0 clamp(48px, 6vw, 90px); }
.auth-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: stretch; }
.auth-art { position: relative; border-radius: 999px 999px 30px 30px; overflow: hidden; min-height: 520px; border: 2px solid var(--ink); }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-quote { position: absolute; left: 18px; right: 18px; bottom: 18px; margin: 0; background: var(--card); border-radius: 20px; padding: 18px 20px; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.3; border: 2px solid var(--ink); }
.auth-quote span { display: block; font-family: var(--f-mono); font-size: .68rem; color: var(--ink-3); margin-top: 8px; }
.auth-panel { align-self: center; max-width: 520px; width: 100%; }
.auth-switch { margin-top: 20px; font-size: .95rem; }

.acct-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.acct-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; align-items: start; }
.acct-card { background: var(--card); border: 2px solid var(--ink); border-radius: 26px; padding: 26px; }
.acct-member.is-active { background: var(--lime-pale); }
.acct-title { font-size: 1.6rem; }
.acct-status { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lime-deep); box-shadow: 0 0 0 4px rgba(76, 117, 21, .2); }
.status-dot.is-off { background: var(--ink-3); box-shadow: 0 0 0 4px var(--line); }
.acct-card .receipt-lines { font-family: var(--f-mono); font-size: .84rem; margin-bottom: 18px; }
.order-list { list-style: none; margin: 0; padding: 0; }
.order-li { padding: 14px 0; border-bottom: 1px dashed var(--line-2); }
.order-top { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.order-top > b { margin-left: auto; font-family: var(--f-mono); }
.order-top span { font-size: .86rem; color: var(--ink-3); }
.order-status { background: var(--lime); color: var(--ink) !important; font-family: var(--f-mono); font-size: .66rem !important; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px; }
.order-items { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; color: var(--ink-2); }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plain-list a { text-decoration: none; }
.plain-list a:hover { text-decoration: underline; }

/* ================= journal essay ================= */
.lead-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(22px, 4vw, 50px); align-items: center; text-decoration: none; margin-bottom: 50px; padding-bottom: 50px; border-bottom: 1px dashed var(--line-2); }
.lead-post:hover { color: var(--ink); }
.lead-post-img { border-radius: 30px 30px 30px 6px; overflow: hidden; display: block; }
.lead-post-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lead-post-copy { display: flex; flex-direction: column; }
.lead-post-title { font-family: var(--f-display); font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.08; margin-bottom: 14px; }
.lead-post:hover .lead-post-title { color: var(--lime-deep); }
.lead-post-ex { color: var(--ink-2); margin-bottom: 14px; }
.notes-grid { row-gap: 46px; }
.essay-head { max-width: 860px; padding-top: clamp(30px, 5vw, 60px); text-align: center; }
.essay-head .crumbs-nav, .essay-head .kicker { justify-content: center; }
.essay-title { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.essay-dek { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; margin: 0 auto 14px; }
.essay-by { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-3); }
.essay-photo { margin: 30px auto; max-width: 1100px; }
.essay-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-xl); }
.essay-body { max-width: 720px; padding-bottom: clamp(50px, 7vw, 90px); font-size: 1.1rem; line-height: 1.75; }
.essay-body > p:first-child::first-letter { font-family: var(--f-display); float: left; font-size: 4.2rem; line-height: .82; padding: 8px 12px 0 0; color: var(--lime-deep); }
.essay-body h2 { font-size: 1.9rem; margin-top: 1.6em; }
.essay-body h3 { font-size: 1.35rem; margin-top: 1.4em; }
.essay-body ul, .essay-body ol { padding-left: 1.3em; }
.essay-body li { margin-bottom: .4em; }
.essay-body li::marker { color: var(--lime-deep); }
.essay-body blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 6px solid var(--lime); background: var(--paper-2); border-radius: 0 20px 20px 0; font-family: var(--f-display); font-size: 1.25rem; line-height: 1.45; }
.essay-body blockquote p:last-child { margin: 0; }

/* ================= about / careers / faq / contact ================= */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.story-copy p { font-size: 1.06rem; color: var(--ink-2); }
.story-copy .sect-title { margin-bottom: 18px; }
.rules { list-style: none; counter-reset: rule; margin: 0; padding: 0; display: grid; gap: 14px; }
.rules li { counter-increment: rule; display: grid; grid-template-columns: 54px 1fr; gap: 4px 16px; background: var(--card); border: 1.5px solid var(--line-2); border-radius: 20px; padding: 16px 18px; }
.rules li::before { content: counter(rule); grid-row: span 2; width: 54px; height: 54px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.4rem; border: 2px solid var(--ink); }
.rules b { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; align-self: end; }
.rules span { color: var(--ink-2); font-size: .93rem; }
.crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(18px, 3vw, 30px); }
.crew-card { background: var(--card); border: 2px solid var(--ink); border-radius: 26px; padding: 14px 14px 22px; overflow: hidden; }
.crew-photo { border-radius: 18px; overflow: hidden; margin-bottom: 16px; background: var(--paper-2); }
.crew-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 25%; }
.crew-name { font-size: 1.35rem; margin: 0 6px 2px; }
.crew-role { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lime-deep); margin: 0 6px 10px; }
.crew-bio { font-size: .93rem; color: var(--ink-2); margin: 0 6px 10px; }
.crew-fav { font-size: .86rem; margin: 0 6px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.crew-fav span { font-family: var(--f-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; margin-bottom: 20px; }
.numbers p { margin: 0; display: flex; flex-direction: column; align-items: center; }
.numbers b { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; width: 1.9em; height: 1.9em; display: grid; place-items: center; border-radius: 50%; background: var(--lime-pale); margin-bottom: 10px; }
.numbers span { font-size: .9rem; color: var(--ink-2); }

.perks-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.perks-inline span { background: var(--lime-pale); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }
.jobs { display: grid; gap: 14px; margin-bottom: 26px; }
.job { background: var(--card); border: 2px solid var(--ink); border-radius: 24px; overflow: hidden; }
.job summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.job summary::-webkit-details-marker { display: none; }
.job[open] summary { background: var(--lime); }
.job-title { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.2; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-tags span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 10px; background: var(--card); }
.job-body { padding: 6px 24px 26px; }
.job-body h3 { font-size: 1.15rem; margin-top: 16px; }
.job-body ul { padding-left: 1.2em; color: var(--ink-2); }
.job-salary { font-family: var(--f-mono); font-size: .82rem; color: var(--lime-deep); margin-top: 14px; }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.faq-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(26px, 5vw, 60px); align-items: start; }
.faq-toc { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 6px; }
.faq-toc a:not(.pill) { padding: 10px 14px; border-radius: 14px; text-decoration: none; border: 1.5px solid transparent; }
.faq-toc a:not(.pill):hover { border-color: var(--line-2); background: var(--card); }
.faq-toc .pill { margin-top: 12px; }
.faq-group { scroll-margin-top: 140px; }
.faq-group:first-child .sect-title-sm { margin-top: 0; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px, 5vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: grid; grid-template-columns: 50px 1fr; column-gap: 14px; align-items: center; background: var(--card); border: 2px solid var(--ink); border-radius: 22px; padding: 16px 18px; text-decoration: none; }
.c-card:hover { color: var(--ink); background: var(--lime-pale); }
.c-ico { grid-row: span 4; width: 50px; height: 50px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; border: 2px solid var(--ink); }
.c-card .sieve-label { margin: 0; }
.c-card b { font-weight: 600; overflow-wrap: anywhere; }
.c-card small, .c-card address { font-style: normal; font-size: .88rem; color: var(--ink-2); }
.contact-form { background: var(--paper-2); border-radius: 30px; padding: clamp(20px, 3vw, 34px); }
.contact-form .form { margin-top: 0; }
.contact-form legend { font-family: var(--f-body); font-size: .9rem; font-weight: 600; margin-bottom: 6px; }

/* sitemap & legal */
.map-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 20px; }
.map-h { font-size: 1.25rem; margin-bottom: 10px; }
.map-cols { list-style: none; margin: 4px 0 18px; padding: 0; columns: 3 220px; column-gap: 24px; }
.map-cols li { break-inside: avoid; padding: 3px 0; font-size: .93rem; }
.map-cols a { text-decoration: none; }
.map-cols a:hover { text-decoration: underline; }
.map .fold summary a { text-decoration: none; }

.legal-date { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-3); margin: 0; }
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(26px, 5vw, 60px); align-items: start; }
.legal-nav { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 4px; }
.legal-nav > a { padding: 8px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; }
.legal-nav > a:hover { background: var(--card); }
.legal-nav > a.is-on { background: var(--ink); color: var(--paper); }
.legal-toc { margin: 16px 0 0; padding: 14px 0 0 1.4em; border-top: 1px dashed var(--line-2); font-size: .84rem; color: var(--ink-3); display: grid; gap: 4px; }
.legal-toc a { text-decoration: none; }
.legal-body { max-width: 760px; }
.legal-intro { font-size: 1.1rem; color: var(--ink-2); }
.legal-body section { padding: 12px 0; scroll-margin-top: 140px; }
.legal-body h2 { font-size: 1.5rem; margin-top: 12px; }
.legal-body h2 span { color: var(--lime-deep); }
.legal-body li { margin-bottom: .45em; }
.legal-contact { margin-top: 30px; padding: 18px 20px; background: var(--paper-2); border-radius: 18px; }

/* ================= footer ================= */
.foot { position: relative; background: var(--ink); color: var(--paper); padding: 70px 0 0; overflow: hidden; margin-top: 0; }
.foot-slice { position: absolute; right: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: conic-gradient(from 30deg, var(--lime) 0 300deg, transparent 300deg); opacity: .14; }
.foot-grid { position: relative; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 34px; padding-bottom: 50px; }
.foot-brand p { color: rgba(251, 248, 238, .75); margin: 18px 0; max-width: 36ch; font-size: .95rem; }
.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ico { color: var(--lime); margin-top: 2px; }
.foot-contact a { text-decoration: none; }
.foot-contact a:hover { color: var(--lime); }
.foot-h { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.foot-links a { text-decoration: none; color: rgba(251, 248, 238, .85); }
.foot-links a:hover { color: var(--lime); }
.foot-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; padding-bottom: 26px; border-top: 1px dashed rgba(251, 248, 238, .25); font-family: var(--f-mono); font-size: .72rem; color: rgba(251, 248, 238, .6); }
.foot-base p { margin: 0; }

/* ================= cookie notice + toast ================= */
.crumbs {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 460px; width: calc(100% - 32px);
  display: flex; align-items: center; gap: 16px; background: var(--card); border: 2px solid var(--ink); border-radius: 22px;
  padding: 14px 14px 14px 18px; box-shadow: 8px 8px 0 var(--lime); font-size: .86rem; line-height: 1.45;
}
.crumbs[hidden] { display: none; }
.crumbs p { margin: 0; flex: 1; min-width: 0; }
.crumbs-ok { flex: none; white-space: nowrap; min-height: 42px; padding: 0 20px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 110; background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-size: .92rem; box-shadow: var(--shadow); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast[hidden] { display: none; }
.toast a { color: var(--lime); margin-left: 8px; }

/* ================= responsive ================= */
@media (max-width: 1120px) {
  .lids { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .bites, .shelf { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .dish-body { grid-template-columns: 320px 1fr; }
}
@media (max-width: 920px) {
  .mast-row { grid-template-columns: auto 1fr auto; min-height: 66px; }
  .seek { grid-column: 1 / -1; grid-row: 2; max-width: none; margin-bottom: 12px; }
  .rail { display: none; }
  .menu-btn { display: inline-grid; }
  .mast-join { display: none; }
  .zestline-links { display: none; }
  .pie-hero-grid, .board, .tin-grid, .dish-head-grid, .pay-grid, .counter-grid, .item-grid, .basket, .auth-grid, .acct-grid, .story, .contact-grid, .lead-post { grid-template-columns: 1fr; }
  .pie { width: min(86vw, 440px); margin: 30px auto 10px; }
  .phead-grid { grid-template-columns: 1fr; }
  .phead-disc { display: none; }
  .dish-body { grid-template-columns: 1fr; }
  .larder, .receipt, .item-photo, .faq-toc, .legal-nav { position: static; }
  .dish-head { background: var(--paper); }
  .dish-photo { order: -1; width: min(80vw, 420px); }
  .faq-grid, .legal { grid-template-columns: 1fr; }
  .faq-toc { flex-direction: row; flex-wrap: wrap; }
  .faq-toc .pill { margin-top: 0; }
  .legal-toc { display: none; }
  .legal-nav { flex-direction: row; flex-wrap: wrap; }
  .notes-row { grid-template-columns: repeat(2, 1fr); }
  .map-top { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .auth-art { min-height: 260px; border-radius: 30px; }
  .jar-photo { aspect-ratio: 16 / 9; }
  .jar-label { margin: -40px 12px 0; }
  .board-cap { margin-top: -60px; }
  .tin { width: min(70vw, 300px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .zestline-msg { font-size: .76rem; }
  .brand-word { font-size: 1.3rem; }
  .brand-mark { width: 38px; height: 38px; }
  .mast-act { gap: 6px; }
  .round-btn { width: 40px; height: 40px; }
  .seek-go { padding: 0 14px; }
  .bites, .shelf { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .bite-title { font-size: 1rem; }
  .bite-score { width: 42px; height: 42px; font-size: .72rem; }
  .bite-img img { -webkit-mask: radial-gradient(circle 28px at calc(100% - 7px) 7px, transparent 27px, #000 28px); mask: radial-gradient(circle 28px at calc(100% - 7px) 7px, transparent 27px, #000 28px); }
  .bite-lock { font-size: 0; padding: 6px; gap: 0; }
  .bite-meta { font-size: .74rem; }
  .shelf-foot { flex-direction: column; align-items: flex-start; }
  .add-btn { width: 100%; }
  .lids { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .lid { flex: 0 0 140px; scroll-snap-align: start; }
  .pie-search { flex-direction: column; }
  .pie-search input { flex: none; width: 100%; }
  .pie-label { font-size: .6rem; padding: 5px 9px; }
  .pie-label.l3 { left: -2%; }
  .pie-label.l1 { right: -2%; }
  .menu-row a { grid-template-columns: 44px 1fr auto; }
  .menu-row a::before, .menu-dots { display: none; }
  .menu-thumb { width: 44px; height: 44px; }
  .lattice { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 8px; padding: 8px; }
  .lat { grid-column: auto !important; grid-row: auto !important; }
  .lat-1, .lat-7 { grid-row: span 2 !important; }
  .notes-row { grid-template-columns: 1fr; }
  .sect-head { grid-template-columns: 1fr; }
  .sieve { padding: 14px; }
  .sieve-field, .sieve select { width: 100%; }
  .sieve-go { margin-left: 0; width: 100%; justify-content: space-between; }
  .dials { gap: 8px; }
  .dial dd { width: 64px; height: 64px; font-size: .8rem; }
  .gate-plans, .plans { grid-template-columns: 1fr; }
  .field-row, .field-row-3, .job-cols, .ticket-foot { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .line { grid-template-columns: 72px 1fr; }
  .line-img img { width: 72px; height: 72px; }
  .line-total { grid-column: 2; }
  .ticket-row { grid-template-columns: 1fr 34px 80px; padding: 10px 14px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .map-top { grid-template-columns: 1fr 1fr; }
  .crumbs { left: 10px; bottom: 10px; width: calc(100% - 20px); gap: 10px; padding: 12px; font-size: .8rem; box-shadow: 5px 5px 0 var(--lime); }
  .pager-num { width: 38px; height: 38px; }
  .pager-step { padding: 0 12px; }
  .essay-photo img { aspect-ratio: 4 / 3; }
  .jar-label { padding: 28px 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .zestline, .mast, .drawer, .foot, .crumbs, .toast, .dish-actions, .sect, .notes { display: none !important; }
  body { background: #fff; }
  .dish-head { background: #fff; padding: 0; }
  .dish-head-grid, .dish-body { grid-template-columns: 1fr; }
  .dish-photo { width: 240px; }
  .larder { position: static; }
  .larder-card { box-shadow: none; background-image: none; }
}
