/*
 * Field — the storefront theme for Farm to Fork farms.
 * The farm's price board as a shop: every section is a piece of the stall's stationery (the board, the driver's
 * slip, the box ticket, the letter, the swing tag). Colours and lettering come from the theme settings as
 * :root variables printed by the layout (--ground, --paper, --surface, --ink, --muted, --accent, --field,
 * --band-1..4, --font-display, --font-text …). Square corners, one button shape, no rules, no shadows at rest.
 */

:root {
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-ui: 1rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --margin: clamp(16px, 2.6vw, 40px);
  --gap: clamp(16px, 2vw, 24px);
  --section: clamp(64px, 7.5vw, 112px);
  --max: 1560px;
  --top-h: 72px;
  --control: 52px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 140ms;
  --dur-pop: 200ms;
  --dur-sheet: 320ms;
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
svg.icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-thickness: 2px; } }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 0.98;
}
h1, h2 { font-size: var(--step-head); }
h3, h4 { font-weight: 600; font-size: var(--step-body); line-height: 1.25; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
/* Schibsted's tabular figures also widen the comma and point (J$4 , 500 . 00): keep proportional lining figures and align by the right edge. */
.num { font-variant-numeric: lining-nums; white-space: nowrap; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--margin); }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 46ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 16px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ controls */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--control); padding: 0 26px;
  border: 0; border-radius: 0;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-text); font-weight: 600; font-size: var(--step-ui); line-height: 1.1; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out), background-color 160ms ease, color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.on-field { background: var(--field-ink); color: var(--field); }
.btn.quiet { background: var(--surface); color: var(--ink); }
.btn-wide { width: 100%; }
.btn[disabled], .btn.is-busy { cursor: progress; }
.btn.is-busy { background: var(--muted); }
:where(.btn):focus-visible { outline-color: var(--ink); }
.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 0.22em; }
.text-btn { background: none; border: 0; padding: 8px 0; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; color: inherit; font-size: var(--step-small); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; transition: transform var(--dur-press) var(--ease-out); }
.icon-btn:active { transform: scale(0.94); }

.input, .select, .textarea {
  display: block; width: 100%;
  min-height: var(--control); padding: 12px 14px;
  border: 2px solid var(--muted); border-radius: 0;
  background: var(--paper); color: var(--ink);
  font-size: var(--step-ui); line-height: 1.3;
  transition: border-color 160ms ease;
}
.textarea { min-height: 112px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: none; cursor: pointer; max-width: 100%; text-overflow: ellipsis; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: #a3201a; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > label, .label { font-weight: 600; font-size: var(--step-ui); }
.hint { font-size: var(--step-small); color: var(--muted); margin: 0; }
.field-error { margin: 6px 0 0; font-size: var(--step-small); font-weight: 600; color: #a3201a; }
.row-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding-top: 10px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.notice { background: var(--surface); padding: 16px 18px; margin: 0 0 20px; }
.notice.is-error { background: #f6dcd6; color: #5e130f; }
.notice p:last-child { margin: 0; }

/* Quantity stepper: big targets, the number in the middle */
.stepper { display: inline-grid; grid-template-columns: 44px 56px 44px; height: 44px; background: var(--surface); }
.stepper .step { display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; color: var(--ink); transition: transform var(--dur-press) var(--ease-out); }
.stepper .step:active { transform: scale(0.88); }
.stepper .qty { width: 56px; border: 0; background: transparent; text-align: center; font-weight: 600; font-size: var(--step-ui); -moz-appearance: textfield; appearance: textfield; padding: 0; }
.stepper .qty::-webkit-outer-spin-button, .stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .qty:focus { outline: 3px solid var(--accent); outline-offset: -3px; }

.add-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; min-width: 44px; padding: 0 14px;
  border: 0; border-radius: 0; background: var(--ink); color: var(--paper);
  font-family: var(--font-text); font-weight: 600; font-size: var(--step-ui); line-height: 1; cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.add-btn:active { transform: scale(0.95); }
.add-btn.is-added { background: var(--accent); color: var(--accent-ink); }
.add-btn .icon { transition: transform 260ms var(--ease-out); }
.add-btn.is-added .icon { transform: rotate(90deg) scale(0.9); }

/* ------------------------------------------------------------------ header */

.announce { background: var(--ink); color: var(--paper); font-size: var(--step-small); font-weight: 600; }
.announce .wrap { min-height: 40px; display: flex; align-items: center; justify-content: center; text-align: center; }
.announce p { margin: 0; }
.top { position: relative; z-index: 30; color: var(--ink); }
.top-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: var(--top-h); }
.top-nav { justify-self: start; display: flex; align-items: center; }
.top-links { display: none; list-style: none; margin: 0; padding: 0; gap: 22px; }
.top-links a { font-weight: 600; font-size: var(--step-ui); text-decoration: none; padding: 10px 0; }
.top-links a[aria-current="page"], .top-links a:hover { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 0; border: 0; background: none; font-weight: 600; cursor: pointer; color: inherit; }
.wordmark { justify-self: center; text-decoration: none; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1; text-align: center; padding: 8px 0; }
.wordmark img { width: var(--logo-w, 120px); max-width: 40vw; height: auto; }
.top-tools { justify-self: end; display: flex; align-items: center; gap: 2px; }
.tool { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 8px; text-decoration: none; font-weight: 600; font-size: var(--step-ui); }
.tool-account span, .tool-label { display: none; }
.bag-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; transition: transform 260ms var(--ease-out); }
.bag-count.is-bumped { transform: scale(1.25); }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.secure { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--step-ui); }
.top.on-field { color: var(--field-ink); }
.top.on-field .bag-count { background: var(--field-ink); color: var(--field); }
@media (min-width: 1000px) {
  .menu-toggle { display: none; }
  .top-links { display: flex; }
  .tool-account span, .tool-label { display: inline; }
}
@media (max-width: 999px) { .menu-toggle span { display: none; } .back-link span { display: none; } }

.menu-sheet { position: fixed; inset: 0; z-index: 50; background: var(--field); color: var(--field-ink); padding-top: calc(var(--top-h) + 8px); transform: translateY(-100%); transition: transform var(--dur-sheet) var(--ease-drawer); }
.menu-sheet.is-open { transform: none; }
.menu-sheet ul { list-style: none; margin: 0; padding: 0; }
.menu-sheet a { display: block; padding: 10px 0; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(2rem, 9vw, 3rem); line-height: 1.05; text-decoration: none; }
body.menu-open .top { position: fixed; inset: 0 0 auto; z-index: 55; color: var(--field-ink); }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ section scaffolding */

.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 44px); }
.sec-head p { max-width: 46ch; margin: 0; }
.page-head { padding-block: clamp(40px, 6vw, 88px) clamp(28px, 3vw, 48px); }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: 20px; }

/* ------------------------------------------------------------------ hero: the stack of crate tabs */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  /* Short of a full screen, so the front board and its button always show on the first screen. */
  min-height: calc(100svh - 104px);
  margin-top: calc(-1 * var(--top-h)); padding-top: var(--top-h);
  background: var(--field); color: var(--field-ink);
}
.hero-pic { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; animation: drift 24s var(--ease-in-out) infinite alternate; }
.hero-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.24)); } /* taste-skill-ignore: neutral scrim so the name reads on the photograph */
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero-caption { position: absolute; right: var(--margin); top: calc(var(--top-h) + 4px); margin: 0; font-size: var(--step-small); color: var(--field-ink); max-width: 32ch; text-align: right; }
@media (max-width: 699px) { .hero-caption { display: none; } }
.hero-head { text-align: center; padding-top: clamp(28px, 6vh, 96px); padding-bottom: clamp(28px, 5vh, 56px); }
.hero-title {
  font-family: var(--font-display); font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking); line-height: var(--display-leading);
  font-size: min(17vw, calc(300vw / var(--chars)));
  margin-inline: auto;
}
.hero-sentence { max-width: 44ch; margin: clamp(20px, 3vh, 36px) auto 0; font-size: var(--step-lead); line-height: 1.35; }
@media (min-width: 700px) { .hero-title { font-size: min(10vw, calc(150vw / var(--chars)), 11.5rem, 16vh); } }

.stack { margin-top: auto; width: 100%; padding-top: 40px; }
@media (min-width: 900px) { .stack { width: min(86%, 1320px); margin-inline: auto; } }
.folder {
  position: relative; display: block; height: 52px;
  background: var(--band); color: var(--band-ink); text-decoration: none;
  transition: transform 280ms var(--ease-out);
}
.folder.f1 { --band: var(--band-1); --band-ink: var(--band-1-ink); }
.folder.f2 { --band: var(--band-2); --band-ink: var(--band-2-ink); }
.folder.f3 { --band: var(--band-3); --band-ink: var(--band-3-ink); }
.folder.f4 { --band: var(--band-4); --band-ink: var(--band-4-ink); }
.folder-tab {
  position: absolute; bottom: 100%; left: var(--tab-x, 6%);
  display: flex; align-items: center; height: 34px; padding: 0 22px;
  background: inherit; color: inherit;
  font-weight: 600; font-size: 0.9375rem; white-space: nowrap;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
}
.folder.f1 .folder-tab { left: 4%; }
.folder.f2 .folder-tab { left: auto; right: 4%; }
.folder.f3 .folder-tab { left: 34%; }
.folder.f4 .folder-tab { left: 8%; }
.folder.front { --band: var(--paper); --band-ink: var(--ink); height: auto; padding: 22px var(--margin) 28px; }
.folder.front .folder-tab { left: auto; right: 6%; }
.folder.front.continues { padding-bottom: 8px; }
.front-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 28px; }
.front-row .btn { flex: 1 1 100%; }
.front-note { margin: 0; max-width: 56ch; }
@media (min-width: 700px) {
  .folder { height: 56px; }
  .folder-tab { height: 40px; padding: 0 28px; font-size: var(--step-ui); clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 100%, 0 100%); }
  .folder.f1 .folder-tab, .folder.f2 .folder-tab, .folder.f3 .folder-tab, .folder.f4 .folder-tab { left: var(--tab-x); right: auto; }
  .folder.front .folder-tab { left: auto; right: 4%; }
  .folder.front { padding: 28px 32px 32px; }
  .front-row .btn { flex: 0 0 auto; }
}
@media (hover: hover) and (pointer: fine) {
  .folder:not(.front):hover { transform: translateY(-10px); }
}

/* ------------------------------------------------------------------ the price board */

.board-sec { padding-bottom: var(--section); background: var(--ground); }
.board-sec.after-hero { background: var(--field); }
@media (max-width: 899px) { .board-sec.after-hero { padding-top: 88px; } .folder.front.continues { padding-bottom: 28px; } }
.board-sec:not(.after-hero) { padding-top: var(--section); }
.board {
  width: 100%; margin-inline: auto;
  background: var(--paper); color: var(--ink);
  padding: 28px var(--margin) 40px;
  display: grid; gap: 32px;
}
@media (min-width: 900px) {
  .board { width: min(86%, 1320px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; padding: 40px 32px 56px; }
  .board-sec.after-hero .board { padding-top: 16px; }
  .board-side { position: sticky; top: 24px; }
}
.board-side { container-type: inline-size; }
.giant {
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking);
  display: inline-block; line-height: 0.8; margin: 0 0 28px; white-space: nowrap;
  font-size: 6rem;
  font-size: calc(100cqw / (var(--chars) * 0.58));
}
.board-sentence { font-size: var(--step-lead); line-height: 1.35; max-width: 30ch; }
.board-meta { color: var(--muted); }
.board-empty { background: var(--surface); padding: 20px; }
.bar { background: var(--surface); margin-bottom: 6px; }
.bar summary {
  list-style: none; display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 12px 0 18px; cursor: pointer; font-weight: 600;
  transition: background-color 160ms ease;
}
.bar summary::-webkit-details-marker { display: none; }
.bar-count { margin-left: auto; color: var(--muted); font-weight: 400; font-size: var(--step-small); }
.bar-sign { display: grid; place-items: center; width: 36px; height: 36px; }
.bar-sign .icon { transition: transform 260ms var(--ease-out); }
.bar[open] .bar-sign .icon { transform: rotate(45deg); }
.bar:not([open]) > .crops { display: none; }
.crops { list-style: none; margin: 0; padding: 0 18px 18px; }
.crop { padding: 14px 0 6px; }
.crop + .crop { margin-top: 4px; }
.crop-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 0 0 4px; }
.crop-name { font-weight: 600; font-size: var(--step-lead); line-height: 1.2; text-decoration: none; }
@media (hover: hover) { .crop-name:hover { text-decoration: underline; } }
.crop-picked { font-size: var(--step-small); color: var(--muted); }
.crop-low { font-size: var(--step-small); font-weight: 600; background: var(--band-3); color: var(--band-3-ink); padding: 2px 8px; }
.sizes { list-style: none; margin: 0; padding: 0; }
.size { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 14px; min-height: 52px; }
.size-unit { min-width: 0; }
.size-price { font-weight: 600; text-align: right; }
.size form { margin: 0; }
.size.is-out .size-unit, .size.is-out .size-price { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.size-out { font-size: var(--step-small); color: var(--muted); min-width: 64px; text-align: right; }
@media (max-width: 520px) { .size .add-btn span { display: none; } }

/* ------------------------------------------------------------------ delivery: the driver's slip */

.deliv { background: var(--band-4); color: var(--band-4-ink); padding-block: var(--section); }
.deliv-grid { display: grid; gap: 48px; }
.deliv-grid > * { min-width: 0; }
@media (min-width: 900px) {
  .deliv-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
  .deliv-copy { grid-column: 1 / 6; }
  .slip-wrap { grid-column: 7 / 12; }
}
.deliv-text { margin-top: 24px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.35; }
.area-form label { display: block; font-weight: 600; margin: 36px 0 10px; }
.area-row { display: flex; flex-wrap: wrap; gap: 8px; }
.area-row .select { flex: 1 1 260px; width: auto; min-width: 0; max-width: 100%; border-color: transparent; }
.area-row .btn.ink { background: var(--band-4-ink); color: var(--band-4); }
.area-answer { margin-top: 28px; min-height: 120px; }
.answer-day { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--step-head); line-height: 1; margin: 0 0 12px; }
.answer-text { max-width: 44ch; }
.deliv-pickup { margin-top: 24px; max-width: 46ch; }
.slip {
  --z: 14px;
  background: var(--paper); color: var(--ink);
  padding: 32px 28px calc(48px + var(--z));
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%; /* taste-skill-ignore: mask that cuts the slip's zigzag tear, not a fill */
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%; /* taste-skill-ignore: mask that cuts the slip's zigzag tear, not a fill */
}
.slip-title { font-size: var(--step-lead); margin-bottom: 4px; }
.slip-day { margin-top: 28px; font-size: var(--step-body); }
.slip-date { color: var(--muted); font-weight: 400; }
.slip-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.slip-row { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.slip-what { min-width: 0; }
.slip-row .dots { flex: 1 1 24px; min-width: 24px; border-bottom: 4px dotted color-mix(in srgb, var(--muted) 55%, transparent); transform: translateY(-4px); }
.slip-when { white-space: nowrap; }
.slip-row.is-full .slip-what, .slip-row.is-full .slip-when { color: var(--muted); }
.slip-row.is-mine .slip-what { font-weight: 600; }
.slip-row.is-mine { background: var(--surface); margin-inline: -8px; padding-inline: 8px; }
.slip-end { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 32px -28px 0; padding: 12px 28px; background: var(--ink); color: var(--paper); font-weight: 600; }

/* ------------------------------------------------------------------ tiles: prints with swing tags */

.feat { padding-block: var(--section) 0; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 8px; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 12px; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }
.tile { position: relative; }
.tile-link { display: block; color: inherit; text-decoration: none; }
.tile-pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.tile-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out), filter 300ms ease; }
@media (hover: hover) and (pointer: fine) { .tile-link:hover .tile-pic img { transform: scale(1.045); } .tile-link:hover .tile-name { text-decoration: underline; } }
.tile.is-out .tile-pic img { filter: grayscale(1); }
.tile-field { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; background: var(--field); color: var(--field-ink); }
.tile-field span { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 0.92; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); overflow-wrap: anywhere; }
.tone-1 .tile-field { background: var(--band-1); color: var(--band-1-ink); }
.tone-2 .tile-field { background: var(--band-4); color: var(--band-4-ink); }
.tone-3 .tile-field { background: var(--band-2); color: var(--band-2-ink); }
.tile-flag { position: absolute; left: 0; top: 0; background: var(--ink); color: var(--paper); padding: 6px 10px; font-size: var(--step-small); font-weight: 600; }
.tile-strip { display: grid; gap: 4px; min-height: 96px; padding: 12px; background: var(--strip); color: var(--strip-ink); align-content: start; }
.tone-0 { --strip: var(--paper); --strip-ink: var(--ink); }
.tone-1 { --strip: var(--band-1); --strip-ink: var(--band-1-ink); }
.tone-2 { --strip: var(--band-3); --strip-ink: var(--band-3-ink); }
.tone-3 { --strip: var(--field); --strip-ink: var(--field-ink); }
.tile-row1, .tile-row2, .tile-row3 { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 10px; margin: 0; flex-wrap: wrap; }
.tile-name { font-family: var(--font-text); font-size: var(--step-body); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.tile-price { font-weight: 600; }
.tile-row2, .tile-row3 { font-size: var(--step-ui); line-height: 1.35; }
.tile-low { font-weight: 600; }
.tile-add { position: absolute; right: 8px; top: 8px; margin: 0; }
.tile-add .add-btn { background: var(--paper); color: var(--ink); }
.tile-add .add-btn.is-added { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 520px) { .tile-add .add-btn span { display: none; } .tile-strip { padding: 10px; } }

/* ------------------------------------------------------------------ farm boxes: tickets */

.boxes { background: var(--surface); padding-block: var(--section); }
.boxes-head { align-items: end; }
.ticket {
  --notch: 28px; --cut: 68%;
  position: relative; display: grid; grid-template-columns: 1fr;
  background: var(--paper); color: var(--ink);
  margin-top: 32px;
}
.ticket::before, .ticket::after { content: ""; position: absolute; width: var(--notch); height: var(--notch); border-radius: 50%; background: var(--surface); left: -14px; top: var(--stub-top, 60%); transform: translateY(-50%); }
.ticket::after { left: auto; right: -14px; }
.ticket-main { padding: 28px 24px 24px; }
.ticket-name { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 0.95; font-size: var(--step-head); max-width: 14ch; }
.ticket-lines { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 6px 28px; }
.ticket-lines .t-what { grid-column: 1 / -1; }
.ticket-stub { display: grid; align-content: center; justify-items: stretch; text-align: center; padding: 56px 24px 24px; border-top: 6px dotted var(--surface); }
.ticket-main { padding-bottom: 32px; }
.ticket-price { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -0.02em; font-size: clamp(2rem, 0.5rem + 3.6vw, 4rem); line-height: 1; margin: 0; white-space: nowrap; }
.ticket-per { margin: 6px 0 18px; color: var(--muted); }
.ticket-action { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 20px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; transition: transform var(--dur-press) var(--ease-out); }
.ticket-action:active { transform: scale(0.97); }
.ticket-action.is-off { background: var(--surface); color: var(--muted); }
@media (min-width: 700px) {
  .ticket { grid-template-columns: 3fr 2fr; width: min(100%, max(64vw, 640px), 1040px); min-height: 300px; }
  .ticket::before, .ticket::after { left: 70%; top: -14px; transform: translateX(-50%); }
  .ticket::after { top: auto; bottom: -14px; right: auto; }
  .ticket.t1 { margin-left: auto; }
  .ticket.t2 { margin-inline: auto; }
  .ticket-main { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
  .ticket-lines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ticket-stub { border-top: 0; border-left: 6px dotted var(--surface); padding: 32px 28px; }
}

/* ------------------------------------------------------------------ about: a letter from the farm */

.about { background: var(--band-1); color: var(--band-1-ink); padding-block: clamp(80px, 11vw, 168px); }
.sheet-wrap { width: min(680px, calc(100% - 2 * var(--margin))); margin-inline: auto; }
.sheet { background: var(--paper); color: var(--ink); padding: clamp(28px, 6vw, 60px); }
.sheet-plate { width: calc(100% + 2 * clamp(28px, 6vw, 60px)); max-width: none; margin: calc(-1 * clamp(28px, 6vw, 60px)) calc(-1 * clamp(28px, 6vw, 60px)) 36px; aspect-ratio: 3 / 2; object-fit: cover; }
.sheet-h { margin-bottom: 28px; }
.letter p { line-height: 1.6; max-width: 62ch; }
.sign { font-style: italic; font-size: var(--step-lead); margin: 32px 0 2px; }
.sign-role { color: var(--muted); font-size: var(--step-small); margin: 0; }
.sheet-more { margin: 24px 0 0; }
.tearoff {
  --r: 9px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
  background: var(--paper); color: var(--ink);
  border-top: 5px dotted var(--band-1);
  padding: 22px 20px calc(22px + var(--r));
  font-weight: 600;
  -webkit-mask: radial-gradient(var(--r) at 50% 100%, #0000 98%, #000) 50% / calc(2 * var(--r)) 100%; /* taste-skill-ignore: mask that scallops the tear-off edge, not a fill */
  mask: radial-gradient(var(--r) at 50% 100%, #0000 98%, #000) 50% / calc(2 * var(--r)) 100%; /* taste-skill-ignore: mask that scallops the tear-off edge, not a fill */
}
.tearoff a { min-height: 44px; display: inline-flex; align-items: center; }

/* ------------------------------------------------------------------ picture with text: a square plate */

.plate { padding-block: var(--section); }
.plate-grid { display: grid; gap: 28px; }
.plate-pic { position: relative; margin: 0; width: 100%; align-self: start; aspect-ratio: 1 / 1; overflow: hidden; background: var(--field); }
.plate-caption { position: absolute; left: 0; bottom: 0; max-width: 90%; padding: 8px 12px; background: var(--paper); color: var(--ink); font-size: var(--step-small); }
.plate-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.plate-field { display: flex; align-items: flex-end; height: 100%; padding: 24px; color: var(--field-ink); font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(2.5rem, 6vw, 6rem); line-height: 0.9; }
.plate-copy { display: flex; flex-direction: column; gap: 24px; }
.plate-copy p { max-width: 36ch; font-size: var(--step-lead); line-height: 1.4; margin: 0; }
.plate-cells { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 8px; }
.cell { display: flex; align-items: center; min-height: 64px; padding: 0 22px; font-weight: 600; text-decoration: none; transition: transform var(--dur-press) var(--ease-out); }
.cell:active { transform: scale(0.98); }
.cell-ink { background: var(--ink); color: var(--paper); }
.cell-tone { background: var(--surface); color: var(--ink); }
@media (min-width: 700px) {
  .plate-grid { grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: stretch; }

  .plate-right .plate-pic { order: 2; }
  .plate-copy { justify-content: space-between; padding: 24px 0 0 clamp(16px, 4vw, 64px); }
  .plate-right .plate-copy { padding: 24px clamp(16px, 4vw, 64px) 0 0; }
  .plate-cells { grid-template-columns: 1fr 1fr; }
  .cell { min-height: 72px; }
}

/* ------------------------------------------------------------------ reviews: one long letter */

.reviews { padding-block: var(--section); }
.reviews-grid { display: grid; gap: 28px; }
.review-thumb { display: block; width: 120px; margin-top: 28px; }
.review-thumb img { width: 120px; height: 120px; object-fit: cover; }
.review-letter { margin: 0; }
.review-letter blockquote { margin: 0; }
.review-open { font-size: var(--step-lead); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; max-width: 30ch; }
.review-letter blockquote p:not(.review-open) { font-size: var(--step-body); line-height: 1.6; max-width: 38ch; }
.review-letter figcaption { margin-top: 36px; display: grid; gap: 2px; }
.who { font-weight: 600; }
.what { color: var(--muted); }
.review-more { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 28px; }
.review-more p { margin: 0 0 4px; max-width: 46ch; }
@media (min-width: 900px) {
  .reviews-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); }
  .reviews-side { grid-column: 1 / 5; grid-row: 1 / 3; }
  .review-letter { grid-column: 5 / 12; }
  .review-more { grid-column: 5 / 12; grid-template-columns: 1fr 1fr; gap: 32px var(--gap); }
}

/* ------------------------------------------------------------------ journal: index with preview */

.journal { padding-block: var(--section); background: var(--paper); }
.journal-grid { display: grid; gap: 36px; }
.index { list-style: none; margin: 0; padding: 0; }
.index-row { display: grid; gap: 8px; padding: 20px 0; text-decoration: none; color: inherit; transition: opacity 240ms ease; }
.index-title { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--step-head); line-height: 0.95; }
.index-meta { font-size: var(--step-small); color: var(--muted); }
.journal-more { margin: 24px 0 0; }
.index-inline { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 8px; }
.journal-frame { display: none; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.journal-frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity 240ms ease, transform 600ms var(--ease-out); }
.journal-frame img.is-swapping { opacity: 0; }
.frame-field { display: flex; align-items: flex-end; height: 100%; padding: 24px; background: var(--field); color: var(--field-ink); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-head); line-height: 0.95; }
@media (min-width: 900px) and (hover: hover) {
  .journal-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
  .journal-frame { display: block; position: sticky; top: 24px; }
  .index-inline { display: none; }
  .index:hover .index-row:not(:hover), .index:focus-within .index-row:not(:focus) { opacity: 0.4; }
}

/* ------------------------------------------------------------------ newsletter: a tear-off strip */

.news { padding-block: clamp(64px, 8vw, 128px); }
.strip { display: grid; gap: 24px; background: var(--paper); padding: 32px var(--margin); border-top: 6px dotted var(--ground); }
.strip-copy p { margin: 16px 0 0; max-width: 40ch; }
.news-form label:not(.hp) { display: block; font-weight: 600; margin-bottom: 8px; }
.news-row { display: flex; flex-wrap: wrap; gap: 8px; }
.news-row .input { flex: 1 1 240px; width: auto; }
@media (min-width: 900px) { .strip { grid-template-columns: 1fr 1fr; align-items: end; padding: 48px; } }

/* ------------------------------------------------------------------ one big word */

.cta-link { position: relative; display: block; min-height: 60svh; background: var(--accent); color: var(--accent-ink); text-decoration: none; overflow: hidden; }
.cta-sentence { position: absolute; left: var(--margin); top: 24px; max-width: 28ch; font-size: var(--step-lead); line-height: 1.3; }
.cta-arrow { position: absolute; right: var(--margin); top: 24px; transition: transform 240ms var(--ease-out); }
.cta-word { position: absolute; left: var(--margin); right: var(--margin); bottom: 24px; font-size: min(26vw, calc(170vw / var(--chars))); line-height: 0.8; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .cta-link:hover { background: var(--ink); color: var(--paper); }
  .cta-link:hover .cta-arrow { transform: translate(6px, -6px); }
}
.cta-link:focus-visible { background: var(--ink); color: var(--paper); outline-offset: -6px; }

/* ------------------------------------------------------------------ footer: the back of the board */

.foot { display: flex; flex-direction: column; overflow: hidden; background: var(--field); color: var(--field-ink); }
.foot-inner { display: grid; gap: 40px; padding-top: clamp(64px, 9vw, 128px); }
.foot-invite h2 { font-size: var(--step-head); max-width: 11ch; line-height: 0.95; }
.foot-invite p { margin: 18px 0 28px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.35; }
.foot-h3 { font-size: var(--step-ui); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot ul a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
@media (hover: hover) { .foot ul a:hover { text-decoration: underline; } }
.foot-addr { margin-top: 12px; color: var(--field-muted); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; padding-top: 64px; padding-bottom: 20px; font-size: var(--step-ui); color: var(--field-ink); }
.foot-legal p { margin: 0; }
.foot-legal a { color: var(--field-ink); }
.foot-credits { flex: 1 1 100%; order: 3; max-width: 70ch; }
.foot-name { margin: 0; padding-inline: var(--margin); white-space: nowrap; line-height: 0.78; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 34vw; transform: translateY(26%); pointer-events: none; user-select: none; }
@media (min-width: 600px) and (max-width: 899px) { .foot-inner { grid-template-columns: 1fr 1fr; } .foot-invite { grid-column: 1 / 3; } }
@media (min-width: 900px) {
  .foot-inner { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
  .foot-invite { grid-column: 1 / 8; }
  .foot-links { grid-column: 8 / 11; }
  .foot-menu { grid-column: 11 / 13; }
  .foot-name { font-size: 27vw; }
}
.foot-min { padding-block: 32px; font-size: var(--step-small); color: var(--muted); }
.foot-min p { margin: 0; }

/* ------------------------------------------------------------------ the bag drawer */

.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(15, 12, 10, 0.42); opacity: 0; transition: opacity 280ms ease; }
.drawer-scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(460px, 100vw); display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.14); /* taste-skill-ignore: the drawer floats over the page */
  transform: translateX(100%); transition: transform var(--dur-sheet) var(--ease-drawer);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 24px; min-height: var(--top-h); }
.drawer-head h2 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.drawer-notice { margin: 0 24px 12px; padding: 12px 14px; background: var(--band-3); color: var(--band-3-ink); font-weight: 600; font-size: var(--step-small); }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 24px; overscroll-behavior: contain; }
.drawer-empty { padding: 24px 0; color: var(--muted); }
.drawer-foot { padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); background: var(--surface); display: grid; gap: 10px; }
.drawer-note { margin: 0; font-size: var(--step-small); color: var(--muted); }
.drawer-foot .text-link { justify-self: center; min-height: 44px; display: inline-flex; align-items: center; }
.sums { margin: 0; display: grid; gap: 4px; }
.sums > div { display: flex; justify-content: space-between; gap: 16px; }
.sums dt, .sums dd { margin: 0; }
.sums dd { font-weight: 600; text-align: right; }
.sums .is-total { font-size: var(--step-lead); padding-top: 8px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; transition: opacity 220ms ease, transform 220ms var(--ease-out); }
.line.is-leaving { opacity: 0; transform: translateX(16px); }
.line-img { display: block; width: 64px; height: 64px; background: var(--field); overflow: hidden; position: relative; }
.line-img img { width: 64px; height: 64px; object-fit: cover; }
.line-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--field-ink); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.75rem; }
.line-title { font-weight: 600; text-decoration: none; }
.line-unit { margin: 2px 0 8px; font-size: var(--step-small); color: var(--muted); }
.line-problem { margin: 0 0 8px; font-size: var(--step-small); font-weight: 600; color: #a3201a; }
.line-end { display: grid; justify-items: end; align-content: start; }
.line-total { margin: 0; font-weight: 600; }

/* ------------------------------------------------------------------ toasts */

.toasts { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 80; display: grid; gap: 8px; width: min(520px, calc(100vw - 32px)); transform: translateX(-50%); pointer-events: none; }
.toast { margin: 0; padding: 14px 18px; background: var(--ink); color: var(--paper); font-weight: 600; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18); transition: opacity 300ms ease, transform 300ms var(--ease-out); pointer-events: auto; } /* taste-skill-ignore: toasts float */
.toast.is-error { background: #7d1a14; color: #fff; }
.toast.is-entering, .toast.is-leaving { opacity: 0; transform: translateY(16px); }
body.has-sticky-buy .toasts { bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ------------------------------------------------------------------ motion: entrances (only when the script runs) */

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-title, .js .hero-sentence, .js .stack > * { animation: rise 900ms var(--ease-out) both; }
.js .hero-sentence { animation-delay: 90ms; }
.js .stack > :nth-child(1) { animation-delay: 160ms; }
.js .stack > :nth-child(2) { animation-delay: 220ms; }
.js .stack > :nth-child(3) { animation-delay: 280ms; }
.js .stack > :nth-child(4) { animation-delay: 340ms; }
.js .stack > :nth-child(5) { animation-delay: 400ms; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .js [data-reveal] { transform: none; transition: opacity 300ms ease; }
  .js .hero-title, .js .hero-sentence, .js .stack > * { animation: fade 300ms ease both; }
  .hero-pic img, .js .gallery-main img { animation: none; }
  .folder, .tile-pic img, .plate-pic img, .drawer, .menu-sheet, .toast, .line, .journal-frame img, .add-btn .icon, .bar-sign .icon, .btn, .add-btn, .cell, .ticket-action, .stepper .step, .cta-arrow { transition-property: opacity, background-color, color !important; }
  .drawer:not(.is-open) { opacity: 0; }
  .menu-sheet:not(.is-open) { opacity: 0; }
  .folder:not(.front):hover, .btn:active, .add-btn:active { transform: none !important; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.reveal-all [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ================================================================== shop pages */

.empty-board { background: var(--paper); padding: clamp(28px, 5vw, 56px); margin: 0 0 40px; }
.empty-board h2, .empty-board h3 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); margin-bottom: 12px; }
.empty-board .lead { margin-bottom: 24px; }
.prose { max-width: 66ch; }
.prose p, .prose li { line-height: 1.6; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); margin: 1.4em 0 0.5em; }
.prose h3 { margin: 1.2em 0 0.4em; }
.prose img { margin: 1.5em 0; }
.pre { white-space: pre-line; }
.sec-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); margin: 56px 0 28px; }

/* crate tabs: the hero's folder tabs as a row of links */
.tab-row { display: flex; flex-wrap: wrap; gap: 10px 8px; align-items: flex-end; }
.crate-tab { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; text-decoration: none; font-weight: 600; background: var(--surface); color: var(--ink); clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 100%, 0 100%); transition: transform 240ms var(--ease-out), background-color 160ms ease; }
.crate-tab.b1 { background: var(--band-1); color: var(--band-1-ink); }
.crate-tab.b2 { background: var(--band-2); color: var(--band-2-ink); }
.crate-tab.b3 { background: var(--band-3); color: var(--band-3-ink); }
.crate-tab.b4 { background: var(--band-4); color: var(--band-4-ink); }
.crate-tab.b0 { background: var(--ink); color: var(--paper); }
.crate-tab.is-on { background: var(--paper); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .crate-tab:hover { transform: translateY(-4px); } }
.tab-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 8px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); font-size: 0.8125rem; }

/* collection */
.coll-head { display: grid; gap: 20px 48px; align-items: end; }
.coll-head h1 { font-size: clamp(2.75rem, 1.6rem + 5vw, 6.5rem); max-width: 12ch; line-height: 0.92; }
.coll-intro .lead { margin: 0 0 8px; }
.coll-intro .lead p { margin: 0; }
@media (min-width: 900px) { .coll-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; background: var(--surface); padding: 16px; margin-bottom: 28px; }
.filter { display: grid; gap: 6px; min-width: 160px; flex: 1 1 160px; }
.filter > label { font-weight: 600; font-size: var(--step-small); }
.filter .select { min-height: 48px; border-color: transparent; }
.filter-checks { display: flex; flex-wrap: wrap; gap: 0 18px; flex: 0 1 auto; min-width: 0; }
.filter-checks .check { padding-top: 0; align-items: center; }
.filter-sort { flex: 0 1 220px; }
.filter-clear { align-self: center; min-height: 44px; display: inline-flex; align-items: center; }
.pager { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 48px 0 0; }
.pager p { margin: 0; color: var(--muted); }
.more-colls { padding-block: max(var(--section), 104px) clamp(64px, 8vw, 120px); }
.more-colls h2 { margin-bottom: 32px; }
.all-link { margin-top: 40px; }

/* product */
.product { padding-bottom: var(--section); }
.product-grid { display: grid; gap: 24px; padding-top: 12px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; padding-top: 24px; } .tag-col { position: sticky; top: 16px; } }
.gallery-main { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.js .gallery-main img { animation: settle 1400ms var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.gallery-field { display: flex; align-items: flex-end; height: 100%; padding: clamp(20px, 4vw, 48px); background: var(--field); color: var(--field-ink); font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(3rem, 2rem + 6vw, 8rem); line-height: 0.88; overflow-wrap: anywhere; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumb { flex: none; width: 80px; height: 80px; padding: 0; border: 0; background: var(--surface); cursor: pointer; opacity: 0.7; transition: opacity 160ms ease; }
.thumb[aria-current="true"] { opacity: 1; outline: 3px solid var(--ink); outline-offset: -3px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: relative; background: var(--paper); color: var(--ink);
  padding: 44px clamp(20px, 3vw, 36px) 32px;
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px);
}
.tag::before { content: ""; position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ground); }
.product-title { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); line-height: 0.95; }
.tag-line { margin: 14px 0 0; max-width: 36ch; font-size: var(--step-lead); line-height: 1.3; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 22px 0 0; }
.price { font-size: var(--step-lead); font-weight: 700; }
.price-unit { color: var(--muted); }
.price-was { color: var(--muted); }
.tag-note { margin: 6px 0 0; font-weight: 600; color: var(--accent); }
.tag-tax { margin: 4px 0 0; font-size: var(--step-small); color: var(--muted); }
.buy { margin-top: 24px; }
.pick { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.pick legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.pick-list { display: grid; gap: 6px; }
.pick-opt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; background: var(--surface); cursor: pointer; transition: background-color 160ms ease, transform var(--dur-press) var(--ease-out); }
.pick-opt:active { transform: scale(0.99); }
.pick-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pick-opt:has(input:checked) { background: var(--ink); color: var(--paper); }
.pick-opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.pick-opt.is-out { color: var(--muted); cursor: not-allowed; }
.pick-opt.is-out .pick-name, .pick-opt.is-out .pick-price { text-decoration: line-through; }
.pick-name { font-weight: 600; }
.pick-price { font-weight: 600; }
.pick-left { font-size: var(--step-small); min-width: 52px; text-align: right; }
.buy-row { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.buy-row .stepper { height: var(--control); grid-template-columns: 48px 56px 48px; }
.buy-btn { flex: 1 1 200px; }
.buy-btn[disabled] { background: var(--surface); color: var(--muted); cursor: not-allowed; }
.buy-btn.is-added { background: var(--ink); color: var(--paper); }
.stock-line { margin: 14px 0 0; font-weight: 600; }
.preorder { margin: 12px 0 0; background: var(--band-3); color: var(--band-3-ink); padding: 10px 12px; }
.facts { display: grid; gap: 0; margin: 28px 0 0; }
.facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 8px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.deliver-to { margin-top: 24px; background: var(--surface); padding: 16px; }
.deliver-to p { margin: 0 0 12px; }
.area-mini { display: flex; gap: 8px; flex-wrap: wrap; }
.area-mini > label { flex: 1 1 100%; font-weight: 600; font-size: var(--step-small); }
.area-mini .select-wrap { flex: 1 1 220px; }
.product-story, .product-reviews, .related { padding-top: max(var(--section), 104px); }
.story-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .story-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); } }
.review-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 24px; }
.review-list p { margin: 0 0 4px; max-width: 58ch; }
.review-rating { font-size: var(--step-small); color: var(--muted); }
.review-form-wrap > summary { list-style: none; display: inline-flex; }
.review-form-wrap:not([open]) > .review-form { display: none; }
.review-form-wrap > summary::-webkit-details-marker { display: none; }
.review-form { margin-top: 20px; background: var(--paper); padding: 24px; max-width: 640px; }
.rating { border: 0; padding: 0; margin: 0 0 18px; }
.rating legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rate { position: relative; }
.rate input { position: absolute; opacity: 0; }
.rate span { display: grid; place-items: center; width: 44px; height: 44px; background: var(--surface); font-weight: 600; cursor: pointer; transition: background-color 160ms ease; }
.rate input:checked + span { background: var(--ink); color: var(--paper); }
.rate input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.rating-row .hint { margin-left: 8px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12); transform: translateY(110%); transition: transform 300ms var(--ease-drawer); padding-bottom: env(safe-area-inset-bottom); } /* taste-skill-ignore: sticky buy bar floats */
.sticky-buy.is-shown { transform: none; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; }
.sticky-inner p { margin: 0; min-width: 0; }
.sticky-name { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* content pages and journal */
.doc { padding-block: clamp(32px, 5vw, 72px) var(--section); }
.doc-head { max-width: 900px; margin-bottom: 32px; }
.doc-head h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); line-height: 0.95; }
.doc-head p { margin: 16px 0 0; }
.doc-plate { width: 100%; max-height: 70svh; object-fit: cover; margin-bottom: 32px; }
.doc-sheet { background: var(--paper); padding: clamp(24px, 5vw, 64px); max-width: 880px; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.post-row a { display: grid; gap: 16px; text-decoration: none; color: inherit; }
.post-pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); position: relative; }
.post-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .post-row a:hover img { transform: scale(1.03); } .post-row a:hover .index-title { text-decoration: underline; } }
.post-text { display: grid; gap: 8px; align-content: start; }
.post-meta { font-size: var(--step-small); color: var(--muted); }
.post-excerpt { max-width: 52ch; }
@media (min-width: 900px) { .post-row a { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); } }
.more-posts { padding-bottom: var(--section); }
.more-posts h2 { margin-bottom: 20px; }
.search-form { display: flex; gap: 8px; margin-top: 24px; max-width: 640px; }
.search-form .input { flex: 1; }
.search-pages { padding-top: 48px; }
.link-list { list-style: none; padding: 0; margin: 16px 0 0; }
.link-list a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }

/* farm boxes page and sign-up */
.boxes-page { padding-top: 0; background: var(--ground); }
.boxes-page .ticket::before, .boxes-page .ticket::after { background: var(--ground); }
.boxes-page .ticket-stub { border-color: var(--ground); }
.ticket-desc { margin: 16px 0 0; max-width: 44ch; }
.how { padding-block: var(--section); }
.how h2 { margin-bottom: 32px; }
.how-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: none; }
.how-list li { background: var(--paper); padding: 24px; max-width: 70ch; }
@media (min-width: 900px) { .how-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .how-list li:nth-child(2) { margin-top: 40px; } .how-list li:nth-child(3) { margin-top: 80px; } }
.box-head h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 5.5rem); }
.box-grid { display: grid; gap: 32px; padding-bottom: var(--section); }
@media (min-width: 900px) { .box-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; } .box-aside { position: sticky; top: 16px; } }

/* forms laid out as sheets */
.sheet-form { background: var(--paper); padding: clamp(20px, 4vw, 40px); margin-bottom: 24px; }
.sheet-form h3 { margin: 8px 0 16px; }
.form-block { border: 0; margin: 0 0 12px; padding: clamp(20px, 3.5vw, 36px); background: var(--paper); min-width: 0; }
.form-block legend { float: left; width: 100%; padding: 0; margin-bottom: 20px; }
.form-block legend + * { clear: left; }
.form-block legend h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.sub-block { margin-top: 24px; }
.sub-block h3 { margin-bottom: 12px; }
.choice-row { display: grid; gap: 8px; }
@media (min-width: 640px) { .choice-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--surface); cursor: pointer; transition: background-color 160ms ease; }
.choice input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.choice > span { display: grid; gap: 2px; }
.choice:has(input:checked) { background: var(--ink); color: var(--paper); }
.choice:has(input:checked) .hint { color: var(--paper); opacity: 0.85; }
.choice.wide { margin-bottom: 8px; }
.days { margin-top: 16px; }
.days-zone { margin: 0 0 8px; }
.day-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.day { position: relative; display: grid; gap: 2px; padding: 12px 14px; background: var(--surface); cursor: pointer; min-height: 64px; transition: background-color 160ms ease, transform var(--dur-press) var(--ease-out); }
.day input { position: absolute; opacity: 0; }
.day-name { font-weight: 600; }
.day-cut { font-size: var(--step-small); color: var(--muted); }
.day:has(input:checked) { background: var(--ink); color: var(--paper); }
.day:has(input:checked) .day-cut { color: var(--paper); }
.day:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.day:active { transform: scale(0.98); }
.day.is-full { cursor: not-allowed; color: var(--muted); }
.day.is-full .day-name { text-decoration: line-through; }
.windows { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 8px; }
.zone-msg { margin: 0 0 18px; padding: 12px 14px; background: var(--surface); font-weight: 600; }
.zone-msg.is-error { background: #f6dcd6; color: #5e130f; }
.gift { margin-top: 24px; }
.gift > label { display: block; font-weight: 600; margin-bottom: 8px; }
.bank { background: var(--surface); padding: 16px; }
.card .notice { background: var(--band-3); color: var(--band-3-ink); }
.place-btn { margin: 8px 0 24px; min-height: 60px; font-size: var(--step-body); }
.form-acts { display: flex; align-items: center; gap: 16px; margin: 8px 0 0; }

/* bag page */
.page-cart .page-head { padding-bottom: 24px; }
.bag-grid { display: grid; gap: 32px; padding-bottom: var(--section); }
@media (min-width: 1000px) { .bag-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap); align-items: start; } .bag-receipt { position: sticky; top: 16px; } }
.bag-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.bag-table th { text-align: left; font-size: var(--step-small); font-weight: 600; color: var(--muted); padding: 14px 12px; }
.bag-table th.n, .bag-table td.n { text-align: right; }
.bag-table th.c, .bag-table td.c { text-align: center; }
.bag-table td { padding: 14px 12px; vertical-align: middle; border-top: 1px solid var(--surface); }
.bag-img { width: 96px; }
.bag-img img, .bag-img .line-ph { width: 80px; height: 80px; object-fit: cover; position: static; display: grid; background: var(--field); }
.bag-item { display: table-cell; }
.bag-item .line-title, .bag-item .line-unit, .bag-item .line-problem { display: block; }
.bag-item .text-btn { padding: 4px 0; min-height: 36px; }
tr.has-problem td { background: #fbeee9; }
.bag-actions { display: flex; align-items: center; gap: 20px; margin: 16px 0; }
.js .bag-actions .btn { display: none; }
.bag-note { margin-top: 24px; max-width: 560px; }
@media (max-width: 699px) {
  .bag-table thead { display: none; }
  .bag-table, .bag-table tbody, .bag-table tr, .bag-table td { display: block; }
  .bag-table tr { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px; border-top: 6px solid var(--ground); }
  .bag-table td { padding: 0; border: 0; }
  .bag-img { grid-row: 1 / 3; width: auto; }
  .bag-img img, .bag-img .line-ph { width: 72px; height: 72px; }
  .bag-item { grid-column: 2 / 4; }
  .bag-table td.n[data-label="Price"] { display: none; }
  .bag-table td.c { grid-column: 2; text-align: left; }
  .bag-table td.line-total { grid-column: 3; align-self: center; font-weight: 600; }
}
.receipt { padding-bottom: calc(40px + var(--z)); }
.receipt .sums { margin: 18px 0; }
.receipt .sums > div { padding: 4px 0; }
.receipt .is-total { border-top: 4px dotted color-mix(in srgb, var(--muted) 50%, transparent); margin-top: 6px; padding-top: 10px !important; font-weight: 700; }
.receipt-note { font-size: var(--step-small); color: var(--muted); margin: 12px 0; }
.receipt-note.is-error { color: #a3201a; font-weight: 600; }
.code-form { margin: 18px 0; }
.code-form > label, .area-mini > label { display: block; font-weight: 600; margin-bottom: 8px; }
.code-on { margin: 0; }
.receipt .area-mini { margin-top: 18px; }

/* checkout */
.page-checkout .top-row { min-height: 64px; }
.co-head { padding-block: 24px 20px; }
.co-head h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem); }
.co-head .lead { margin-top: 8px; }
.checkout { padding-bottom: var(--section); }
.co-grid { display: grid; gap: 16px; }
@media (min-width: 1000px) { .co-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; } .co-side { position: sticky; top: 16px; } }
@media (max-width: 999px) { .co-side { order: -1; } }
.co-lines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.co-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.co-img { position: relative; width: 56px; height: 56px; background: var(--field); }
.co-img img, .co-img .line-ph { width: 56px; height: 56px; object-fit: cover; }
.co-img .line-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.25rem; }
.co-qty { position: absolute; right: -8px; top: -8px; min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 0.8125rem; font-weight: 700; }
.co-name { display: block; font-weight: 600; line-height: 1.3; }
.co-each { display: block; font-weight: 400; font-size: var(--step-small); color: var(--muted); }
.co-total { font-weight: 600; }
.notice ul { margin: 8px 0 0; padding-left: 20px; }
.notice a { font-weight: 600; }

/* order status */
.order-head h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 5.5rem); }
.order-grid { display: grid; gap: 32px; padding-bottom: var(--section); }
@media (min-width: 1000px) { .order-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; } }
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.step-item { display: grid; gap: 6px; align-content: start; }
.step-bar { display: block; height: 14px; background: var(--surface); }
.step-item.is-done .step-bar { background: var(--accent); }
.step-bar { position: relative; overflow: hidden; }
.step-item.is-current .step-bar::after { content: ""; position: absolute; inset: 0 55% 0 0; background: var(--accent); }
.step-label { font-weight: 600; line-height: 1.25; }
.step-when { font-size: var(--step-small); color: var(--muted); }
.steps.is-cancelled .step-bar { background: var(--surface); }
@media (max-width: 599px) { .steps { grid-template-columns: 1fr; gap: 2px; } .step-item { grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 44px; } .step-bar { height: 100%; min-height: 44px; } }
.hand, .pay-transfer { background: var(--paper); padding: clamp(20px, 3.5vw, 36px); margin-bottom: 12px; }
.hand h2, .pay-transfer h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 14px; }
.hand-day { font-size: var(--step-lead); font-weight: 600; }
.order-account, .order-help { margin: 20px 0 0; }

/* accounts */
.auth { padding-block: clamp(32px, 6vw, 96px) var(--section); }
.auth-sheet { max-width: 560px; margin-inline: auto; background: var(--paper); padding: clamp(24px, 5vw, 48px); }
.auth-sheet h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); }
.auth-sheet .lead { margin: 16px 0 28px; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 24px 0 0; }
.acct-head h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 5rem); }
.acct-tabs { margin-top: 8px; }
.acct-panel { background: var(--paper); padding: clamp(20px, 4vw, 44px); margin-bottom: var(--section); }
.panel-h { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 24px; }
.acct-table { width: 100%; border-collapse: collapse; }
.acct-table th { text-align: left; font-size: var(--step-small); color: var(--muted); font-weight: 600; padding: 10px 12px 10px 0; }
.acct-table td { padding: 14px 12px 14px 0; border-top: 1px solid var(--surface); vertical-align: middle; }
.acct-table .n { text-align: right; }
.acct-table td > a.line-title, .acct-table .line-unit { display: block; }
.acct-table .acts { text-align: right; }
.acct-table form { margin: 0; }
@media (max-width: 699px) {
  .acct-table thead { display: none; }
  .acct-table, .acct-table tbody, .acct-table tr, .acct-table td { display: block; }
  .acct-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 0; border-top: 6px solid var(--ground); }
  .acct-table td { border: 0; padding: 0; }
  .acct-table td.acts { grid-column: 1 / 3; text-align: left; margin-top: 8px; }
}
.box-row { display: grid; gap: 16px; padding: 20px; background: var(--surface); margin-bottom: 8px; }
.box-row.is-off { opacity: 0.75; }
.box-row h3 { font-size: var(--step-lead); }
.box-when { font-weight: 600; margin: 6px 0 4px; }
.box-acts { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; }
.box-acts form { margin: 0; }
.pause-form { display: flex; gap: 8px; }
.pause-form .select { min-height: 52px; }
.cancel-box > summary { list-style: none; }
.cancel-box > summary::-webkit-details-marker { display: none; }
.cancel-box form { display: grid; gap: 8px; margin-top: 8px; max-width: 360px; }
@media (min-width: 900px) { .box-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.addr-grid { display: grid; gap: 8px; margin-bottom: 24px; }
@media (min-width: 700px) { .addr-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.addr { background: var(--surface); padding: 20px; }
.addr.is-main { background: var(--ink); color: var(--paper); }
.addr.is-main .muted, .addr.is-main .hint { color: var(--paper); opacity: 0.85; }
.addr h3 { margin-bottom: 8px; }
.addr-acts { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.addr-acts form { margin: 0; }
.acct-panel .sheet-form { background: var(--surface); }
.details-grid { display: grid; gap: 16px; }
@media (min-width: 1000px) { .details-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }

/* errors and the locked shop */
.error-sec, .locked { padding-block: clamp(48px, 8vw, 120px) var(--section); }
.error-board { display: grid; gap: 24px; background: var(--paper); padding: clamp(24px, 5vw, 64px); }
.error-code { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(5rem, 3rem + 10vw, 12rem); line-height: 0.8; color: var(--field); }
.error-board h1 { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4.5rem); }
.error-board .lead { margin: 18px 0 28px; }
.error-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.error-debug { white-space: pre-wrap; font-size: 13px; margin-top: 24px; background: var(--paper); padding: 16px; overflow: auto; }
@media (min-width: 900px) { .error-board { grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: end; } }
.shop-pass { margin-top: 24px; max-width: 520px; }
.shop-pass label { display: block; font-weight: 600; margin-bottom: 8px; }

.credit-list { padding-left: 20px; }
.credit-list li { margin-bottom: 8px; }

/* ------------------------------------------------------------------ phones and tablets: shorter page, same content */
@media (max-width: 899px) {
  .index-row { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .index-inline { grid-row: 1 / 3; width: 112px; height: 112px; aspect-ratio: auto; margin: 0; }
}
@media (max-width: 699px) {
  :root { --section: 48px; }
  .tile-pic { aspect-ratio: 1 / 1; }
  .size { min-height: 46px; }
  .slip-day { margin-top: 18px; }
  .slip-row { padding: 4px 0; }
  .ticket-lines li:nth-child(n+3) { display: none; }
  .area-answer { min-height: 0; }
  .slip-day:nth-of-type(n+5), .slip-rows:nth-of-type(n+5) { display: none; }
  .about { padding-block: var(--section); }
  .plate-cells { grid-template-columns: 1fr 1fr; }
  .cell { min-height: 56px; padding: 0 14px; }
  .crop { padding-top: 10px; }
  .strip { padding: 24px var(--margin); }
  .ticket-stub { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; text-align: left; column-gap: 16px; padding: 28px 20px 20px; }
  .ticket-price { grid-row: 1; grid-column: 1; font-size: 2.25rem; }
  .ticket-per { grid-row: 2; grid-column: 1; margin: 2px 0 0; }
  .ticket-action { grid-row: 1 / 3; grid-column: 2; margin: 0; }
  .ticket-lines { margin-top: 18px; }
  .index-row { grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; }
  .index-inline { width: 88px; height: 88px; }
  .index-title { font-size: clamp(1.5rem, 1rem + 2.4vw, 2rem); }
  .review-more li:nth-child(n+3) { display: none; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .foot-invite { grid-column: 1 / 3; }
  .foot-legal { padding-top: 40px; }
  .plate-copy { gap: 18px; }
  .sheet-plate { aspect-ratio: 16 / 10; }
}
@media (max-width: 999px) { .co-side [data-place] { display: none; } }
