/* White, black, one deep teal-green. Hard corners everywhere, hairline rules, no soft shadows.
   The accent is sampled from Fran's jumper (the photographed knit measures about #093445, which is
   --accent-d; --accent is the same hue lifted a little so it reads as a colour next to black).
   Deliberately no pink and no yellow: red is a true brick red, and nothing is tinted cream.
   To change the accent, change --accent and --accent-d. */
:root {
  --bg: #ffffff;
  --tint: #f4f4f2;
  --ink: #0e0e0e;
  --muted: #666666;
  --line: #d6d6d6;
  --accent: #0e4a5e;
  --accent-d: #093445;
  --red: #b3261e;
  --head: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-d); }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.05; margin: 0 0 0.45em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 8vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(560px, 100% - 32px); margin-inline: auto; }
.mid { width: min(820px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.pre { white-space: pre-line; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.tight { margin: 0; }
.mb-xl { margin-bottom: 40px; }
.bad { color: var(--red); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { font-family: var(--head); font-size: 1.1rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.top nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { padding: 8px 12px; color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 600; border-bottom: 2px solid transparent; }
.top nav a:hover { border-bottom-color: var(--accent); }
.top nav a.cart-link { background: var(--ink); color: #fff; border-bottom-color: var(--ink); margin-left: 6px; }
.top nav a.cart-link:hover { background: var(--accent); border-bottom-color: var(--accent); }
.cart-count { display: inline-block; min-width: 1.5em; padding: 0 5px; margin-left: 4px; background: #fff; color: var(--ink); font-weight: 800; font-size: 0.78rem; text-align: center; }
.top form { margin: 0; }
.linklike { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 12px; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.linklike:hover { border-bottom-color: var(--ink); }

/* flash */
.flash { width: min(1120px, 100% - 32px); margin: 16px auto 0; padding: 12px 16px; font-weight: 600; background: #fff; border: 1px solid var(--ink); border-left-width: 6px; }
.flash-ok { border-color: var(--accent); color: var(--accent); }
.flash-error { border-color: var(--red); color: var(--red); }
.flash-info { background: var(--tint); }

/* buttons + forms */
.btn {
  display: inline-block; border: 1px solid var(--ink); cursor: pointer; text-decoration: none;
  padding: 11px 22px; font: 700 0.85rem var(--sans); letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--ink); color: #fff; transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn[disabled], .btn.disabled { background: #bbb; border-color: #bbb; color: #fff; cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-danger { background: #fff; color: var(--red); border-color: var(--red); }
.btn-danger:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 0.72rem; }
.btn-lg { padding: 15px 30px; font-size: 0.95rem; }
.btn-block { display: block; width: 100%; text-align: center; }

label { display: block; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 5px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url],
input[type=datetime-local], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--ink); background: #fff; font: inherit; color: var(--ink); appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; }
textarea { min-height: 96px; resize: vertical; }
.field { margin-bottom: 18px; }
.hint { color: var(--muted); font-size: 0.85rem; margin-top: 5px; }
.row { display: grid; gap: 16px; }
@media (min-width: 640px) { .row.two { grid-template-columns: 1fr 1fr; } .row.three { grid-template-columns: 1fr 1fr 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { padding: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.check {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0; text-transform: none; border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent); color: #fff; }
.check:has(input:checked) .muted { color: #cde0e6; }
.error { border: 1px solid var(--red); border-left-width: 6px; color: var(--red); background: #fff; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; }
.error .check { color: var(--ink); }
.error ul { margin: 6px 0; padding-left: 20px; }

.panel { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 24px; margin-bottom: 24px; }
.panel h2, .panel h3 { margin-bottom: 0.6em; }
.page { padding: 36px 0 56px; }

/* hero */
.hero { padding: 64px 0 44px; border-bottom: 1px solid var(--ink); }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; font-weight: 800; margin-bottom: 18px; }
.hero .eyebrow::before { content: ""; width: 40px; height: 4px; background: var(--accent); }
.hero h1 { max-width: 15ch; margin-bottom: 0.4em; }
.hero p.lead { font-size: 1.1rem; max-width: 54ch; color: #333; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; font-weight: 700; font-size: 0.88rem; background: #fff; border: 1px solid var(--ink); }
.dot { width: 10px; height: 10px; background: #999; }
.status.open .dot { background: var(--accent); }
.status.upcoming .dot { background: var(--ink); }
.status.closed .dot, .status.preview .dot { background: var(--red); }

/* video */
.video { padding: 40px 0 0; }
.video-frame { background: #000; aspect-ratio: 16 / 9; border: 1px solid var(--ink); }
.video-frame video, .video-frame iframe { width: 100%; height: 100%; border: 0; object-fit: contain; }
.caption { color: var(--muted); margin-top: 10px; font-size: 0.88rem; }

/* menu */
.menu-head { padding: 48px 0 8px; }
.pickup { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pickup li { border: 1px solid var(--ink); padding: 6px 14px; font-size: 0.88rem; font-weight: 600; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); padding: 24px 0 48px; }
.card { background: #fff; border: 1px solid var(--ink); display: flex; flex-direction: column; transition: transform 0.12s, box-shadow 0.12s; }
.card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.card-img { aspect-ratio: 4 / 3; background: var(--tint); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--ink); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .ph { font: 800 5rem var(--head); color: #cfcfcf; text-transform: uppercase; }
.card.soldout .card-img img { filter: grayscale(1) opacity(0.6); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-head h3 { margin: 0; }
.price { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.desc { margin: 0; color: #333; font-size: 0.93rem; white-space: pre-line; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 2px 8px; border: 1px solid var(--ink); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: #fff; }
.tag-green { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag-amber { background: var(--tint); }
.tag-red { background: #fff; border-color: var(--red); color: var(--red); }
.clash { margin: 0; padding: 8px 12px; border: 1px solid var(--red); border-left-width: 5px; color: var(--red); font-size: 0.86rem; font-weight: 700; background: #fff; }
.add { margin-top: auto; display: flex; gap: 8px; align-items: stretch; }
.add input[type=number] { width: 72px; text-align: center; padding: 10px 6px; }
.add .btn { flex: 1; }
.empty { text-align: center; padding: 72px 16px; color: var(--muted); }
.empty h2 { color: var(--ink); }
.nudge { border: 1px solid var(--ink); border-left-width: 6px; padding: 14px 18px; margin-bottom: 8px; }

/* cart + tables */
.lines { width: 100%; border-collapse: collapse; }
.lines th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 8px; border-bottom: 2px solid var(--ink); }
.lines td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lines td.num, .lines th.num { text-align: right; }
.lines tfoot td { border-bottom: 0; font-weight: 800; font-size: 1.1rem; border-top: 2px solid var(--ink); }
.inline-form { display: inline-flex; gap: 6px; align-items: stretch; margin: 0; }
.inline-form input[type=number] { width: 64px; padding: 6px; text-align: center; }
.scroll { overflow-x: auto; }
.pill { display: inline-block; padding: 2px 10px; border: 1px solid var(--ink); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: #fff; }
.pill.confirmed { background: var(--ink); color: #fff; }
.pill.ready { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill.collected, .pill.paid { border-color: var(--accent); color: var(--accent); }
.pill.cancelled, .pill.unpaid { border-color: var(--red); color: var(--red); }
.pill.pending { border-color: var(--muted); color: var(--muted); }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); margin-bottom: 8px; cursor: pointer; background: #fff; text-transform: none; letter-spacing: 0; }
.radio-card input { margin-top: 4px; accent-color: var(--accent); }
.radio-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card span { font-weight: 400; font-size: 0.9rem; color: var(--muted); display: block; }
.radio-card b { font-weight: 800; font-size: 1rem; color: var(--ink); }

.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cl-main { grid-column: 1; grid-row: 1; min-width: 0; }
.cl-total { grid-column: 2; grid-row: 1; font-weight: 800; white-space: nowrap; }
.cl-qty { grid-column: 1 / -1; grid-row: 2; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; font-size: 1.2rem; border-top: 2px solid var(--ink); margin-top: -1px; }
/* the bakes and the voucher, above the total, when a voucher takes money off */
.cart-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line, #d6d6d6); }
.cart-voucher { color: var(--accent); font-weight: 700; }
.voucher-on, .voucher-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.voucher-form label { display: block; margin-bottom: 6px; }
.voucher-form .inline-form input { width: 14em; max-width: 100%; text-transform: uppercase; }
/* My account: each voucher, what is left, and the orders it went on */
.voucher-list { list-style: none; margin: 0 0 18px; padding: 0; }
.voucher-card { padding: 12px 0; border-bottom: 1px solid var(--line); }
.voucher-card:last-child { border-bottom: 0; }
.vc-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.vc-left { font-size: 1.15rem; }
.vc-uses { margin: 6px 0 0; padding-left: 18px; }
.vc-uses li { margin: 2px 0; }
.voucher-checked { margin-top: 14px; padding: 4px 14px; border-left: 4px solid var(--accent); background: var(--glass-hi, #f3f8f8); }
.voucher-checked .kicker { margin: 10px 0 0; }
.voucher-covers { padding: 12px 14px; border-left: 4px solid var(--accent); background: var(--glass-hi, #f3f8f8); }
@media (min-width: 560px) {
  .cart-line { grid-template-columns: 1fr auto 96px; }
  .cl-qty { grid-column: 2; grid-row: 1; }
  .cl-total { grid-column: 3; text-align: right; }
}

/* admin */
.adminbar { background: var(--ink); }
.adminbar .wrap { display: flex; gap: 2px; flex-wrap: wrap; padding: 6px 0; }
.adminbar a { color: #fff; text-decoration: none; padding: 6px 14px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.adminbar a:hover { background: #333; color: #fff; }
.adminbar a.on { background: #fff; color: var(--ink); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.toolbar h1 { margin: 0; }
.attach { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.attach .opts { grid-column: 2; display: none; gap: 10px; }
.attach:has(input.on:checked) .opts { display: flex; flex-wrap: wrap; }
.attach .opts label { font-weight: 600; font-size: 0.8rem; display: flex; align-items: center; gap: 6px; margin: 0; }
.attach .opts input { width: 90px; padding: 6px 8px; }
.thumb { width: 56px; height: 56px; object-fit: cover; background: var(--tint); border: 1px solid var(--line); }
.bake { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 16px; }
.bake div { border: 1px solid var(--ink); padding: 10px 14px; }
.bake b { font-size: 2rem; font-family: var(--head); font-weight: 800; margin-right: 8px; }
.order-card { border: 1px solid var(--line); border-left: 4px solid var(--ink); padding: 14px 16px; margin-bottom: 12px; background: #fff; }
.order-card header { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.diet-note { border: 1px solid var(--ink); background: var(--tint); font-size: 0.88rem; font-weight: 700; padding: 6px 12px; margin: 8px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.actions form { margin: 0; }

footer { border-top: 1px solid var(--ink); background: var(--tint); padding: 28px 0; margin-top: 24px; font-size: 0.85rem; color: #333; }
footer p { margin: 0 0 8px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; font-weight: 700; z-index: 50; max-width: calc(100% - 32px); }
.toast.bad { background: var(--red); }

/* phones */
@media (max-width: 559px) {
  .panel { padding: 18px; }
  .hero { padding: 40px 0 32px; }
  .top { position: static; }
  .top .wrap { flex-wrap: wrap; gap: 2px; padding: 10px 0 6px; }
  .top nav { justify-content: flex-start; width: 100%; margin-left: -8px; flex-wrap: nowrap; }
  .top nav a, .linklike { padding: 8px 8px; font-size: 0.82rem; white-space: nowrap; }
  .top nav a.cart-link { margin-left: auto; margin-right: -8px; }
  .top nav a:first-child { display: none; }
  .lines .hide-sm { display: none; }
  table.stack, .stack tbody, .stack tr, .stack td { display: block; }
  .stack thead, .stack tfoot { display: none; }
  .stack tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .stack td { border: 0; padding: 2px 0; text-align: left !important; }
  .stack td.hide-sm { display: none; }
  .stack td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 0.8rem; }
  .stack .inline-form { margin-top: 6px; }
  .stack .thumb { margin-bottom: 4px; }
}

@media print {
  .top, .adminbar, footer, .no-print, .actions, .flash { display: none !important; }
  .panel, .order-card { border-color: #999; break-inside: avoid; }
  .card:hover { transform: none; box-shadow: none; }
}

::selection { background: var(--accent); color: #fff; }

/* optional About photo beside the headline */
.hero-grid { display: grid; gap: 32px; align-items: center; }
.about-photo { margin: 0; border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); background: var(--tint); }
.about-photo img { width: 100%; height: auto; }
.preview-photo { width: 100%; max-width: 360px; height: auto; border: 1px solid var(--ink); margin-bottom: 10px; }
@media (min-width: 860px) {
  .hero-grid.has-photo { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}
@media (max-width: 859px) {
  .about-photo { margin-right: 8px; }
}

/* ===== Glass layer =====
   Frosted, translucent surfaces over a soft cool teal-green wash, still with hard corners.
   Deliberately cool only (teal, green, white, grey): no warm, pink or yellow tints anywhere.
   It overrides the rules above; --accent / --accent-2 drive every green highlight. */
:root {
  --accent-2: #0f5a4f;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-hi: rgba(255, 255, 255, 0.8);
  --glass-line: rgba(14, 74, 94, 0.24);
  --blur: blur(18px) saturate(150%);
  --glow: 0 10px 32px rgba(14, 74, 94, 0.14);
  --shine: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --green-grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --deep: linear-gradient(135deg, #0b3a4a, #0c4a40);
}

body { background: #f3f8f8; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(14, 74, 94, 0.22), transparent 62%),
    radial-gradient(760px 520px at -8% 34%, rgba(15, 90, 79, 0.16), transparent 60%),
    radial-gradient(820px 620px at 70% 108%, rgba(14, 74, 94, 0.16), transparent 60%);
}

.top, .card, .panel, .status, .nudge, .about-photo, .btn-ghost, .tag, .pickup li, .check, .radio-card,
.flash, .order-card, .diet-note, .stat, .bake div, .error, .clash {
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}

/* header */
.top { background: rgba(255, 255, 255, 0.66); border-bottom: 1px solid var(--glass-line); box-shadow: var(--shine), var(--glow); }
.top nav a.cart-link { background: var(--green-grad); border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: var(--shine), 0 6px 16px rgba(14, 74, 94, 0.3); }
.top nav a.cart-link:hover { filter: brightness(1.15); }
.cart-count { background: rgba(255, 255, 255, 0.92); color: var(--accent); }

/* hero */
.hero { border-bottom: 1px solid var(--glass-line); }
.hero .eyebrow {
  display: inline-flex; padding: 7px 14px; color: #fff; background: var(--green-grad);
  box-shadow: var(--shine), 0 6px 16px rgba(14, 74, 94, 0.25);
}
.hero .eyebrow::before { display: none; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 { background: linear-gradient(135deg, #0a1d24 15%, var(--accent-2) 115%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.status { background: var(--glass-hi); border: 1px solid var(--glass-line); box-shadow: var(--shine), var(--glow); }
.status.open .dot { background: var(--accent-2); box-shadow: 0 0 0 4px rgba(15, 90, 79, 0.22); }

/* surfaces */
.card { background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shine), var(--glow); }
.card:hover { box-shadow: 6px 6px 0 var(--accent), var(--shine); }
.card-img { border-bottom: 1px solid var(--glass-line); }
.panel { background: var(--glass-hi); border: 1px solid var(--glass-line); border-top: 3px solid var(--accent); box-shadow: var(--shine), var(--glow); }
.about-photo { padding: 10px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 8px 8px 0 var(--accent), var(--shine); }
.video-frame { border: 1px solid var(--glass-line); box-shadow: var(--glow); }
.nudge { background: var(--glass-hi); border: 1px solid var(--glass-line); border-left: 6px solid var(--accent); box-shadow: var(--shine); }
.flash { background: var(--glass-hi); border-color: var(--glass-line); box-shadow: var(--shine), var(--glow); }
.flash-ok { border-left-color: var(--accent-2); }
.order-card { background: var(--glass-hi); border: 1px solid var(--glass-line); border-left: 4px solid var(--accent); box-shadow: var(--shine); }
.diet-note { background: rgba(14, 74, 94, 0.08); border-color: var(--glass-line); }
.bake div { background: var(--glass-hi); border: 1px solid var(--glass-line); box-shadow: var(--shine); }
.pickup li { background: var(--glass-hi); border: 1px solid var(--glass-line); box-shadow: var(--shine); }

/* buttons and tags */
.btn { background: var(--green-grad); border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: var(--shine), 0 6px 16px rgba(14, 74, 94, 0.28); }
.btn:hover { background: var(--green-grad); border-color: rgba(255, 255, 255, 0.4); filter: brightness(1.14); }
.btn[disabled], .btn.disabled { background: #b9c3c4; border-color: #b9c3c4; box-shadow: none; filter: none; }
.btn-ghost { background: var(--glass-hi); color: var(--accent); border: 1px solid var(--glass-line); box-shadow: var(--shine); }
.btn-ghost:hover { background: var(--green-grad); color: #fff; border-color: transparent; filter: none; }
.btn-danger { background: var(--glass-hi); color: var(--red); border: 1px solid var(--red); box-shadow: var(--shine); }
.btn-danger:hover { background: var(--red); color: #fff; filter: none; }
.tag { background: var(--glass-hi); border-color: var(--glass-line); }
.tag-green { background: var(--green-grad); border-color: transparent; color: #fff; }
.tag-amber { background: rgba(14, 74, 94, 0.08); }
.tag-red { background: var(--glass-hi); border-color: var(--red); }
.pill { background: var(--glass-hi); border-color: var(--glass-line); }
.pill.confirmed { background: var(--deep); border-color: transparent; color: #fff; }
.pill.ready { background: var(--green-grad); border-color: transparent; }

/* forms */
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url],
input[type=datetime-local], input[type=date], input[type=time], input[type=search], select, textarea { background-color: rgba(255, 255, 255, 0.78); border: 1px solid var(--glass-line); box-shadow: var(--shine); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(14, 74, 94, 0.55); border-color: var(--accent); }
.check { background: rgba(255, 255, 255, 0.7); border: 1px solid var(--glass-line); }
.check:has(input:checked) { background: var(--green-grad); border-color: transparent; color: #fff; }
.radio-card { background: rgba(255, 255, 255, 0.7); border: 1px solid var(--glass-line); }
.radio-card:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), var(--shine); background: rgba(255, 255, 255, 0.9); }
.error { background: var(--glass-hi); }
.clash { background: var(--glass-hi); }

/* deep green bands */
footer { background: var(--deep); color: #dcebec; border-top: 1px solid rgba(255, 255, 255, 0.18); }
footer .muted, footer a { color: #a9c9cc; }
.adminbar { background: var(--deep); }
.adminbar a:hover { background: rgba(255, 255, 255, 0.14); }
.adminbar a.on { background: rgba(255, 255, 255, 0.92); color: var(--accent); }
.toast { background: var(--green-grad); box-shadow: var(--glow); }
.lines th { border-bottom: 2px solid var(--accent); }
.lines tfoot td, .cart-total { border-top: 2px solid var(--accent); }
/* a voucher is a plain line above the total, not a second total */
.lines tfoot .voucher-row td { font-weight: 600; font-size: 1rem; border-top: 1px solid var(--line); color: var(--accent); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top, .card, .panel, .status, .nudge, .about-photo, .flash, .order-card, .pickup li { background: rgba(255, 255, 255, 0.95); }
}
@media (prefers-reduced-transparency: reduce) {
  .top, .card, .panel, .status, .nudge, .about-photo, .btn-ghost, .tag, .pickup li, .check, .radio-card,
  .flash, .order-card, .diet-note, .stat, .bake div, .error, .clash { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}
@media print {
  body::before { display: none; }
  .top, .card, .panel, .about-photo { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; box-shadow: none; }
  footer, .adminbar { background: #fff; color: #000; }
}

/* ===== Mediterranean layer =====
   Fran is Sicilian and loves blue-water beaches and the Amalfi coast. So: turquoise water in the wash,
   a white stepped-cliff edge (Scala dei Turchi) closing the hero, sharp majolica-tile motifs, and a
   little Italian. Nothing lemon-yellow and nothing pastel-pink, on purpose. Shapes are inline SVG. */
:root {
  --sea: #1aa3b5;
  --foam: #e3f4f6;
}
body::before {
  background:
    radial-gradient(900px 560px at 90% -10%, rgba(26, 163, 181, 0.30), transparent 62%),
    radial-gradient(760px 520px at -10% 30%, rgba(15, 90, 79, 0.18), transparent 60%),
    radial-gradient(900px 640px at 65% 110%, rgba(26, 163, 181, 0.20), transparent 60%);
}

/* hero: the page's sea edge */
.hero { position: relative; padding-bottom: 92px; border-bottom: 0; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='48' viewBox='0 0 160 48'%3E%3Cpath d='M0 48V40H24V33H48V26H72V33H96V40H120V33H144V40H160V48Z' fill='%23ffffff'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='48' viewBox='0 0 160 48'%3E%3Cpath d='M0 48V32H32V24H64V16H96V24H128V32H160V48Z' fill='%231aa3b5' fill-opacity='.30'/%3E%3C/svg%3E");
  background-repeat: repeat-x, repeat-x; background-position: left bottom, left bottom; background-size: 160px 48px, 160px 48px;
}
.hero .eyebrow .en { font-weight: 600; letter-spacing: 0.1em; opacity: 0.9; margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.45); }

/* menu heading */
.menu-head { padding-top: 28px; }
.menu-head::before { content: ""; display: block; height: 14px; margin-bottom: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14' viewBox='0 0 30 14'%3E%3Cg fill='none' stroke='%230e4a5e' stroke-opacity='.45' stroke-width='1.2'%3E%3Cpath d='M15 1L26 7L15 13L4 7Z'/%3E%3C/g%3E%3Crect x='13.5' y='5.5' width='3' height='3' fill='%231aa3b5'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-size: 30px 14px; }
.kicker { margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; font-weight: 800; color: var(--accent-2); }

/* footer: deep green with a faint tile pattern */
footer { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.11' stroke-width='1.2'%3E%3Crect x='.6' y='.6' width='42.8' height='42.8'/%3E%3Cpath d='M22 4L40 22L22 40L4 22Z'/%3E%3Cpath d='M22 13L31 22L22 31L13 22Z'/%3E%3Crect x='19' y='19' width='6' height='6'/%3E%3C/g%3E%3C/svg%3E"), var(--deep); background-size: 44px 44px, auto; }
footer .note { font-family: var(--head); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; color: #fff; margin: 0 0 10px; }

@media (max-width: 559px) { .hero { padding-bottom: 76px; } .hero .eyebrow .en { display: none; } }
@media print { .hero::after, .menu-head::before { display: none; } footer { background-image: none; } }

/* ===== Hero photograph =====
   A Sicilian coast (white stepped cliff over turquoise water), washed to white on the left so the headline
   stays readable. AI-generated placeholder in public/img/hero-coast.webp: swap for one of Fran's own. */
.hero {
  background-image: linear-gradient(90deg, rgba(243, 248, 248, 0.96) 0%, rgba(243, 248, 248, 0.86) 34%, rgba(243, 248, 248, 0.28) 66%, rgba(243, 248, 248, 0) 100%), url("/static/img/hero-coast.webp");
  background-size: cover; background-position: center right; background-repeat: no-repeat;
}
@media (max-width: 859px) {
  .hero { background-image: linear-gradient(180deg, rgba(243, 248, 248, 0.94), rgba(243, 248, 248, 0.78)), url("/static/img/hero-coast.webp"); background-position: 72% center; }
}
@media print { .hero { background-image: none; } }

/* ===== About the Baker ===== */
.hero-grid { display: block; }
.about { padding: 8px 0 64px; }
.about-grid { display: grid; gap: 32px; align-items: center; }
.about-text h2 { margin-bottom: 0.5em; }
.about-text p { font-size: 1.08rem; max-width: 54ch; color: #26343a; }
.about-photo { max-width: 640px; }
@media (min-width: 860px) {
  .about-grid.has-photo { grid-template-columns: 1.1fr 1fr; gap: 56px; }
}

/* About page */
.about-page { padding-top: 56px; padding-bottom: 80px; }
.about-text h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.5em; }

/* ===== Gallery showcase: the bakes, big, on the landing page =====
   Three across on a monitor with the middle column stepped down. Each picture is a plate that tilts toward the pointer and
   catches the light, arrives with a wipe as you scroll to it, and drifts a little as you scroll past. A frosted-glass card
   pops out of it on a single line (hover, keyboard focus, or a tap on a phone): app.js picks above or below and nudges the
   card back on screen, and the card is sized in em off --u so it stays in proportion to the picture. All of it is decoration:
   without scripts the page is complete. */
.gallery { width: min(1400px, 100% - 32px); padding: 76px 0 28px; }
.gallery-head { margin-bottom: 36px; }
.gallery-head .kicker { font-size: 0.82rem; }
.gallery-title { margin: 0; font-size: clamp(2.7rem, 9vw, 6.4rem); line-height: 0.94; letter-spacing: -0.045em; color: #08242c; }
.gallery-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.05em 0.1em 0; }
.gallery-title .wi { display: inline-block; }
.gallery-title .hl { background: linear-gradient(120deg, var(--accent) 10%, var(--sea) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gallery-head::after { content: ""; display: block; height: 2px; margin-top: 24px; background: linear-gradient(90deg, var(--accent), var(--sea) 46%, transparent); }
.js .gallery-head .wi { transform: translateY(112%); transition: transform 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s; }
.js .gallery-head .w:nth-child(2) .wi { transition-delay: 0.2s; }
.js .gallery-head .w:nth-child(3) .wi { transition-delay: 0.3s; }
.js .gallery-head.in .wi { transform: none; }
.js .gallery-head::after { transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s; }
.js .gallery-head.in::after { transform: scaleX(1); }

/* the grid: two across on a phone, three on anything bigger; a lone last picture (or a last pair) sits in the middle */
.gallery-strip { --stag: 0px; display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.tile { grid-column: span 2; }
.tile:last-child:nth-child(odd) { grid-column: 2 / span 2; }
@media (min-width: 640px) {
  .gallery-strip { gap: 22px; grid-template-columns: repeat(6, 1fr); }
  .tile:last-child:nth-child(odd) { grid-column: span 2; }
  .tile:last-child:nth-child(3n + 1) { grid-column: 3 / span 2; }
  .tile:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
}
@media (min-width: 900px) {
  .gallery-strip { --stag: clamp(32px, 4.4vw, 64px); gap: 26px; }
  .gallery-strip[data-n="6"] { padding-bottom: var(--stag); }
  .gallery-strip[data-n="6"] .tile:nth-child(3n + 2) { translate: 0 var(--stag); }
}

/* a tile is the hover target; --u sizes its glass card, --gap is the length of the line to it */
.tile { --u: 1rem; --gap: calc(var(--u) * 2.4); position: relative; margin: 0; aspect-ratio: 1 / 1; cursor: default; z-index: 0; }
@media (min-width: 900px) { .tile { --u: 1.12rem; } }
@media (min-width: 1280px) { .tile { --u: 1.25rem; } }
@media (min-width: 1700px) { .tile { --u: 1.35rem; } }
.tile:hover, .tile:focus-within, .tile.open { z-index: 40; }
.tile:focus-visible { outline: 3px solid var(--sea); outline-offset: 5px; }
.tile:nth-child(odd) { --tilt: -1.6deg; --hero-tilt: 11deg; }
.tile:nth-child(even) { --tilt: 1.3deg; --hero-tilt: -11deg; }

/* the plate: it tilts toward the pointer (app.js sets --px and --py, 0 to 1), lifts, and catches the light */
.tile .pic { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shine), var(--glow);
  transform: perspective(1200px) rotateX(calc((0.5 - var(--py, 0.5)) * 11deg)) rotateY(calc((var(--px, 0.5) - 0.5) * 13deg)) scale(var(--lift, 1));
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s, filter 0.4s, opacity 0.4s; }
.tile:hover .pic { transition: transform 0.2s ease-out, box-shadow 0.3s, filter 0.4s, opacity 0.4s; }
/* the photograph sits on a layer a little bigger than the plate that drifts as you scroll (app.js sets --par, -1 to 1) */
.tile .ph { position: absolute; inset: -8%; display: block; transform: translate3d(0, calc(var(--par, 0) * 6.5%), 0); will-change: transform; }
.tile .pic img { width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(calc((0.5 - var(--px, 0.5)) * 4%), calc((0.5 - var(--py, 0.5)) * 4%), 0) scale(var(--zoom, 1)); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover, .tile:focus-within, .tile.open { --lift: 1.03; --zoom: 1.1; }
.tile:hover .pic, .tile:focus-within .pic, .tile.open .pic { box-shadow: var(--shine), 9px 9px 0 var(--accent), 0 26px 50px rgba(8, 52, 69, 0.28); }
.tile .pic::before, .tile .pic::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* a glint crosses each picture once it has landed, and light follows the pointer */
.tile .pic::before { opacity: 0; transform: translateX(-130%) skewX(-18deg); background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%); }
.js .tile.in .pic::before { animation: tile-glint 1.2s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--i, 0) * 110ms + 1.25s) 1 both; }
@keyframes tile-glint { from { opacity: 1; transform: translateX(-130%) skewX(-18deg); } to { opacity: 1; transform: translateX(130%) skewX(-18deg); } }
.tile .pic::after { opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(60% 60% at calc(var(--px, 0.5) * 100%) calc(var(--py, 0.5) * 100%), rgba(255, 255, 255, 0.42), transparent 70%); }
.tile:hover .pic::after, .tile:focus-within .pic::after, .tile.open .pic::after { opacity: 1; }
/* point at one and the rest step back */
@media (hover: hover) {
  .gallery-strip:has(.tile:hover) .tile:not(:hover) .pic { filter: saturate(0.4) brightness(0.97); opacity: 0.72; }
}
.gallery-strip:has(.tile:focus-within) .tile:not(:focus-within) .pic, .gallery-strip:has(.tile.open) .tile:not(.open) .pic { filter: saturate(0.4) brightness(0.97); opacity: 0.72; }

/* arriving: each picture wipes in (from the left, from below, from the right by column) while it settles from a zoom */
.js .tile.reveal .ph img { clip-path: inset(0 100% 0 0); transform: scale(1.32);
  transition: clip-path 1.05s cubic-bezier(0.7, 0, 0.2, 1) calc(var(--i, 0) * 110ms + 0.1s), transform 1.7s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--i, 0) * 110ms + 0.1s); }
.js .tile.reveal:nth-child(3n + 2) .ph img { clip-path: inset(100% 0 0 0); }
.js .tile.reveal:nth-child(3n) .ph img { clip-path: inset(0 0 0 100%); }
.js .tile.reveal.in .ph img { clip-path: inset(0); transform: translate3d(calc((0.5 - var(--px, 0.5)) * 4%), calc((0.5 - var(--py, 0.5)) * 4%), 0) scale(var(--zoom, 1)); }
.js .tile.reveal.done .ph img { clip-path: none; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }

/* the glass card: it pops out on a single line, a little surprise. JS picks up or down (data-pop) and sideways (--dx). */
.tile::before, .tile::after { content: ""; position: absolute; left: 50%; pointer-events: none; }
.tile::before { top: -6px; width: 11px; height: 11px; margin-left: -5.5px; z-index: 5; background: var(--sea); opacity: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92), 0 4px 10px rgba(14, 74, 94, 0.35); transform: rotate(45deg) scale(0);
  transition: transform 0.18s ease-in, opacity 0.12s; }
.tile::after { bottom: 100%; width: 2px; height: var(--gap); margin-left: -1px; z-index: 4; background: linear-gradient(to top, var(--sea), var(--accent)); opacity: 0;
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.14s ease-in, opacity 0.1s; }
.tile[data-pop="down"]::before { top: auto; bottom: -6px; }
.tile[data-pop="down"]::after { bottom: auto; top: 100%; transform-origin: 50% 0; }

.tile .tip { position: absolute; left: 50%; bottom: calc(100% + var(--gap)); z-index: 6; width: max-content; min-width: 13.4em; max-width: min(17em, calc(100vw - 100px));
  font-size: var(--u); padding: 0.94em 1.06em 0.88em; text-align: left; color: #10242c; pointer-events: none; --shift: 1em;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5)); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9); border-top: 0.19em solid var(--accent); box-shadow: var(--shine), 0 1.4em 2.8em rgba(8, 52, 69, 0.34);
  opacity: 0; transform-origin: 50% 100%;
  transform: translate(calc(-50% + var(--dx, 0px)), var(--shift)) scale(0.7) rotate(calc(var(--tilt, 0deg) * -3));
  transition: opacity 0.14s ease, transform 0.18s ease-in; }
.tile[data-pop="down"] .tip { bottom: auto; top: calc(100% + var(--gap)); transform-origin: 50% 0; --shift: -1em; }
.tile .tip strong { display: block; margin-bottom: 0.3em; font: 800 1.08em/1.15 var(--head); letter-spacing: -0.01em; }
.tile .tip span { display: block; font-size: 0.9em; line-height: 1.42; color: #1c3039; }
.tile .tip em { display: inline-block; margin-top: 0.85em; padding: 0.3em 0.85em; font-style: normal; font-size: 0.66em; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--green-grad); }

.tile:hover::before, .tile:focus-within::before, .tile.open::before { opacity: 1; transform: rotate(45deg) scale(1); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.12s; }
.tile:hover::after, .tile:focus-within::after, .tile.open::after { opacity: 1; transform: scaleY(1); transition: transform 0.2s ease-out 0.06s, opacity 0.1s 0.06s; }
.tile:hover .tip, .tile:focus-within .tip, .tile.open .tip { opacity: 1; transform: translate(calc(-50% + var(--dx, 0px)), 0) scale(1) rotate(var(--tilt, 0deg));
  transition: opacity 0.16s ease 0.2s, transform 0.46s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s; }

/* the hero ingredient: a cut-out that sits half on, half off the glass card and springs into place after it */
.tile .tip .ing { position: absolute; top: -3.25em; right: -1.9em; z-index: 2; width: auto; height: auto; max-width: 6.75em; max-height: 6.75em; pointer-events: none;
  filter: drop-shadow(0 0.55em 0.5em rgba(8, 52, 69, 0.34)); opacity: 0; transform-origin: 50% 70%; transform: translateY(0.6em) scale(0.25) rotate(-40deg);
  transition: transform 0.18s ease-in, opacity 0.1s; }
.tile:nth-child(even) .tip .ing { right: auto; left: -1.9em; transform: translateY(0.6em) scale(0.25) rotate(40deg); }
.tile[data-pop="down"] .tip .ing { top: auto; bottom: -3.25em; }
.tile .tip.has-hero strong { padding-right: 3.2em; }
.tile:nth-child(even) .tip.has-hero strong { padding-right: 0; padding-left: 3.2em; }
.tile:hover .tip .ing, .tile:focus-within .tip .ing, .tile.open .tip .ing { opacity: 1; transform: rotate(var(--hero-tilt, 10deg));
  transition: transform 0.55s cubic-bezier(0.34, 1.75, 0.5, 1) 0.42s, opacity 0.12s ease 0.42s; }

@media (prefers-reduced-motion: reduce) {
  .tile::before, .tile::after, .tile .tip, .tile .tip .ing, .tile .pic, .tile .pic img, .tile .pic::after, .js .gallery-head .wi, .js .gallery-head::after { transition: opacity 0.01s !important; transition-delay: 0s !important; }
  .tile .tip, .tile:hover .tip, .tile:focus-within .tip, .tile.open .tip { transform: translate(calc(-50% + var(--dx, 0px)), 0) scale(1) rotate(0deg); }
  .tile .tip .ing, .tile:nth-child(even) .tip .ing { transform: rotate(var(--hero-tilt, 10deg)); }
  .tile::before, .tile:hover::before, .tile:focus-within::before, .tile.open::before { transform: rotate(45deg) scale(1); }
  .tile::after, .tile:hover::after, .tile:focus-within::after, .tile.open::after { transform: scaleY(1); }
  .tile .pic, .tile .ph, .tile .pic img { transform: none; }
  .tile .pic::before { display: none; }
  .js .gallery-head .wi, .js .gallery-head::after { transform: none; }
}
@media print {
  .tile .tip, .tile::before, .tile::after, .tile .pic::before, .tile .pic::after { display: none; }
  .tile .pic, .tile .ph, .tile .pic img { transform: none !important; }
  .gallery-head::after { display: none; }
}

/* ===== Landing page: the 'wow' layer =====
   Cinematic hero (parallax, drifting light, headline rising word by word), live countdown, outlined-type
   marquee, a dietary filter that lights up what fits, tilting glass cards, steps, and a big closing band.
   Animated states only apply under .js (set by boot.js), so without scripts the page is fully visible. */
:root { --tile-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.10' stroke-width='1.2'%3E%3Crect x='.6' y='.6' width='42.8' height='42.8'/%3E%3Cpath d='M22 4L40 22L22 40L4 22Z'/%3E%3Cpath d='M22 13L31 22L22 31L13 22Z'/%3E%3Crect x='19' y='19' width='6' height='6'/%3E%3C/g%3E%3C/svg%3E"); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none;
  background: linear-gradient(90deg, var(--accent-2), var(--sea)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* hero */
.hero { background: none; display: flex; align-items: center; min-height: 94vh; min-height: min(94svh, 900px);
  padding: 96px 0 150px; overflow: hidden; isolation: isolate; }
.hero::after { z-index: 3; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #cfe6ea; }
.hero-bg img { position: absolute; inset: -4% -2%; width: 104%; height: 108%; object-fit: cover; object-position: 68% 45%;
  transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--sy, 0) * 0.28px + var(--my, 0) * -10px), 0) scale(1.1); will-change: transform; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(243, 248, 248, 0.95) 0%, rgba(243, 248, 248, 0.78) 34%, rgba(243, 248, 248, 0.16) 68%, rgba(243, 248, 248, 0) 100%),
              linear-gradient(180deg, rgba(243, 248, 248, 0) 72%, rgba(243, 248, 248, 0.92) 100%); }
.caustic { position: absolute; inset: -20%; pointer-events: none; mix-blend-mode: soft-light; opacity: 0.8;
  background: radial-gradient(40% 30% at 30% 42%, rgba(255, 255, 255, 0.6), transparent 62%), radial-gradient(34% 24% at 68% 62%, rgba(255, 255, 255, 0.45), transparent 62%);
  animation: drift 15s ease-in-out infinite alternate; }
.caustic.c2 { opacity: 0.6; transform: scaleX(-1); animation-duration: 21s; animation-direction: alternate-reverse; }
.shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0.9;
  background: radial-gradient(520px circle at calc(50% + var(--mx, 0) * 42%) calc(42% + var(--my, 0) * 38%), rgba(255, 255, 255, 0.5), transparent 62%); }
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(4%, 3%, 0) scale(1.08); } }

.hero-text { position: relative; z-index: 2; max-width: 780px;
  transform: translate3d(0, calc(var(--sy, 0) * -0.1px), 0); opacity: calc(1 - var(--sy, 0) / 640); }
.hero h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); line-height: 0.96; letter-spacing: -0.04em; max-width: none; margin: 0 0 28px; color: #08242c;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; }
.split .wi { display: inline-block; }
.split .hl { background: linear-gradient(120deg, var(--accent) 10%, var(--sea) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .split .wi { transform: translateY(108%); animation: rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; animation-delay: calc(var(--n, 0) * 110ms + 250ms); }
.split .w:nth-child(1) .wi { --n: 0; } .split .w:nth-child(2) .wi { --n: 1; } .split .w:nth-child(3) .wi { --n: 2; }
.split .w:nth-child(4) .wi { --n: 3; } .split .w:nth-child(5) .wi { --n: 4; } .split .w:nth-child(6) .wi { --n: 5; }
.split .w:nth-child(7) .wi { --n: 6; } .split .w:nth-child(8) .wi { --n: 7; } .split .w:nth-child(9) .wi { --n: 8; }
.split .w:nth-child(10) .wi { --n: 9; } .split .w:nth-child(11) .wi { --n: 10; } .split .w:nth-child(12) .wi { --n: 11; }
@keyframes rise { to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .hero .wordmark { animation: fadeup 1s 0.05s both; }
.js .hero .eyebrow { animation: fadeup 0.8s 0.2s both; }
.js .hero .status { animation: fadeup 0.8s 1s both; }
.js .hero .cta-row { animation: fadeup 0.8s 1.2s both; }
.status .cd { font-variant-numeric: tabular-nums; color: var(--accent-2); margin-left: 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-light { background: rgba(255, 255, 255, 0.94); color: var(--accent); border-color: #fff; box-shadow: var(--shine), 0 10px 30px rgba(0, 0, 0, 0.25); }
.btn-light:hover { background: #fff; color: var(--accent-2); border-color: #fff; filter: none; transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--sea); }
.scroll-cue { position: absolute; left: 50%; bottom: 66px; z-index: 4; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--accent); text-decoration: none; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 800; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); transform-origin: top; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* outlined-type marquee */
.marquee { overflow: hidden; padding: 24px 0; background-image: var(--tile-white), var(--deep); background-size: 44px 44px, auto;
  border-block: 1px solid rgba(255, 255, 255, 0.16); }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: 38px; padding-right: 38px; }
.marquee span { font: 800 clamp(2rem, 6vw, 4.4rem) / 1 var(--head); text-transform: uppercase; letter-spacing: -0.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.92); }
.marquee span.f { color: #fff; -webkit-text-stroke: 0; }
.marquee i { flex: none; width: 16px; height: 16px; background: var(--sea); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* reveals */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.done { transition: transform 0.12s, box-shadow 0.12s, opacity 0.3s, filter 0.3s; transition-delay: 0s; }
.js .reveal .card-img img { clip-path: inset(0 0 100% 0); transform: scale(1.14);
  transition: clip-path 0.95s cubic-bezier(0.7, 0, 0.2, 1) 0.15s, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s; }
.js .reveal.in .card-img img { clip-path: inset(0); transform: scale(1); }
.js .reveal.done .card-img img { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.done:hover .card-img img { transform: scale(1.06); }

/* glass cards: tilt and glare */
.card { position: relative; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card:hover { transform: perspective(1000px) translate(-3px, -3px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.js .card.reveal { transform: perspective(1000px) translateY(30px); }
.js .card.reveal.in { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.js .card.reveal.in.done:hover { transform: perspective(1000px) translate(-3px, -3px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.25s;
  background: radial-gradient(280px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.5), transparent 62%); }
.card:hover::after { opacity: 1; }

/* the dietary filter */
.diet-bar { margin: 6px 0 26px; padding: 22px 24px 18px; background: var(--glass-hi); border: 1px solid var(--glass-line); border-left: 6px solid var(--accent);
  box-shadow: var(--shine), var(--glow); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.diet-bar h3 { font-size: clamp(1.2rem, 3vw, 1.7rem); margin-bottom: 14px; }
.diet-bar .row { display: flex; flex-wrap: wrap; gap: 8px; }
.diet-chip { font: 700 0.78rem var(--sans); letter-spacing: 0.05em; text-transform: uppercase; padding: 10px 15px; cursor: pointer; color: var(--ink);
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--glass-line); box-shadow: var(--shine); transition: background 0.15s, color 0.15s, transform 0.12s; }
.diet-chip:hover { transform: translateY(-2px); border-color: var(--accent); }
.diet-chip[aria-pressed="true"] { background: var(--green-grad); color: #fff; border-color: transparent; box-shadow: var(--shine), 0 6px 16px rgba(14, 74, 94, 0.28); }
.diet-status { margin: 14px 0 0; min-height: 1.5em; font-weight: 700; color: var(--accent); }
.card.dim, .js .card.reveal.in.dim { opacity: 0.32; filter: grayscale(0.9) saturate(0.6); }
.card.dim:hover, .js .card.reveal.in.dim:hover { opacity: 0.7; }
.card { transition: transform 0.12s, box-shadow 0.12s, opacity 0.3s, filter 0.3s; }

/* how it works */
.how { padding: 84px 0 64px; }
.how h2 { font-size: clamp(1.8rem, 5vw, 3.2rem); max-width: none; }
.how h2 .nb { display: inline-block; }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { position: relative; padding: 34px 28px 32px; background: var(--glass-hi); border: 1px solid var(--glass-line); border-top: 3px solid var(--accent);
  box-shadow: var(--shine), var(--glow); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.step .num { position: absolute; top: 8px; right: 18px; font: 800 4.6rem / 1 var(--head); color: transparent; -webkit-text-stroke: 1.5px rgba(14, 74, 94, 0.3); }
.step svg { width: 46px; height: 46px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linejoin: miter; margin-bottom: 18px; }
.step h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
.step h3 small { margin-left: 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.step p { margin: 0; color: #26343a; }

/* the closing band */
.finale { position: relative; overflow: hidden; margin-top: 40px; padding: 110px 0 124px; color: #fff;
  background-image: var(--tile-white), var(--deep); background-size: 44px 44px, auto; }
.finale::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -45%; height: 85%; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 100%, rgba(26, 163, 181, 0.5), transparent 70%); }
.finale .wrap { position: relative; }
.kicker.light { color: #8fd8e0; }
.finale .giant { font: 800 clamp(3.6rem, 14vw, 12rem) / 0.88 var(--head); text-transform: uppercase; letter-spacing: -0.04em; margin: 0 0 30px;
  color: transparent; -webkit-text-stroke: 2px #fff; transition: color 0.4s; }
.finale:hover .giant { color: #fff; -webkit-text-stroke: 0; }
.finale-line { font-size: 1.2rem; font-weight: 600; color: #cfe6ea; margin-bottom: 24px; }
.finale-line .cd { color: #fff; font-variant-numeric: tabular-nums; }

@media (max-width: 859px) {
  .hero { min-height: 88vh; min-height: 88svh; padding-bottom: 130px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(243, 248, 248, 0.9), rgba(243, 248, 248, 0.5) 55%, rgba(243, 248, 248, 0.92)); }
}
@media (max-width: 559px) {
  .scroll-cue { display: none; }
  .hero h1 { font-size: clamp(2.5rem, 12.5vw, 3.6rem); }
  .diet-bar { padding: 18px 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .caustic, .marquee-track, .scroll-cue i, .js .split .wi, .js .hero .wordmark, .js .hero .eyebrow, .js .hero .status, .js .hero .cta-row { animation: none !important; }
  .js .split .wi { transform: none; }
  .js .reveal, .js .reveal .card-img img, .js .tile.reveal .ph img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js .card.reveal { transform: none; }
  .hero-bg img, .hero-text { transform: none !important; opacity: 1 !important; }
  .progress { display: none; }
}
@media print { .marquee, .progress, .scroll-cue, .finale, .hero-bg { display: none; } .hero { min-height: 0; padding: 24px 0; } }

/* ===== Script wordmark =====
   Mrs Saint Delafield (SIL Open Font License, from Google Fonts), self-hosted so the CSP stays 'self'.
   It is a thin signature hand with a tiny x-height and is hard to read, so it is used for the name
   "It's a Francesca" and NOTHING else. Everything you actually read stays sans. */
@font-face { font-family: "Mrs Saint Delafield"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/mrs-saint-delafield-latin.woff2") format("woff2"); }
:root { --script: "Mrs Saint Delafield", "Snell Roundhand", "Segoe Script", cursive; }
.brand { font-family: var(--script); font-size: 3.7rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1; padding: 2px 0 6px; }
.wordmark { margin: 0; font-family: var(--script); font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 0.9; }
.brand .ap, .wordmark .ap { margin: 0 -0.13em 0 -0.1em; }
.hero .wordmark { font-size: clamp(5rem, 13vw, 9.5rem); margin: 0 0 6px -0.04em; padding: 0.04em 0.1em 0.14em 0.04em; color: var(--accent);
  -webkit-text-stroke: 1.2px var(--accent); text-shadow: 0 0 30px rgba(255, 255, 255, 0.85); }
footer .wordmark { font-size: clamp(4.5rem, 12vw, 8rem); color: #fff; -webkit-text-stroke: 0.8px #fff; margin: 0 0 4px; padding: 0.04em 0.1em 0.12em 0; }
@media (max-width: 559px) { .brand { font-size: 2.8rem; } }


/* ===== Requests (polls), invites ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.bar { position: relative; height: 10px; background: rgba(14, 74, 94, 0.1); border: 1px solid var(--glass-line); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--pct, 0%); background: var(--green-grad); transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1); }

.poll { padding: 70px 0 20px; }
.poll h2 { font-size: clamp(1.8rem, 5vw, 3.2rem); max-width: 22ch; }
.poll-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); padding: 22px 0 14px; }
.poll .opt.mine { border-top: 3px solid var(--accent-2); }
.poll .opt.leading { border-top: 3px solid var(--sea); box-shadow: 0 0 0 1px var(--sea), var(--shine), var(--glow); }
.poll .tally { display: grid; gap: 6px; font-weight: 700; color: var(--accent); }
.poll .tally .muted { font-weight: 500; }
.poll .btn[disabled] { opacity: 0.7; cursor: default; }

.result-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.result-row:last-of-type { border-bottom: 0; }
.result-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.result-row p { margin: 6px 0 0; }
.add-to-menu { margin-top: 8px; }
.add-to-menu select { padding: 6px; max-width: 14rem; }
.copy-link { width: 100%; min-width: 16rem; font-size: 0.8rem; padding: 6px 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.poll-note { margin: 16px 0 0; padding: 8px 16px; border-left: 4px solid var(--sea); background: var(--glass); font-size: 0.95rem; color: #26343a; max-width: 62ch; }

/* ===== About the Baker: a personal scrapbook on the table =====
   The fixed table photograph is the surface. On it lie a letter on ruled paper, old photographs held on with
   masking tape, a shopping-list notepad, a note off the pantry door, and a postcard. Handwriting is Caveat for
   the writing and Covered By Your Grace (a marker) for captions and the big line. Paper is a plain colour plus a
   fine grain, the ruled lines, tape, ticks and hearts are SVG or gradients, so nothing here is a raster except
   the photographs and the table. */
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/static/fonts/caveat-latin.woff2") format("woff2"); }
@font-face { font-family: "Covered By Your Grace"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/covered-by-your-grace-latin.woff2") format("woff2"); }
:root {
  --hand: "Caveat", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --marker: "Covered By Your Grace", "Caveat", "Segoe Print", cursive;
  --pen: #1d2c47;
  --pen-soft: #3b5075;
  --paper: #fcfcfa;
  --rule: rgba(88, 128, 184, 0.32);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32  0 0 0 0 .30  0 0 0 0 .26  0 0 0 .55 -.22'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E");
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='14' viewBox='0 0 170 14'%3E%3Cpath d='M2 8 C 18 1, 34 14, 51 7 S 85 1, 102 8 S 136 14, 153 7 S 166 4, 168 6' fill='none' stroke='%231aa3b5' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --lift: 0 1px 1px rgba(18, 10, 4, 0.4), 0 14px 24px rgba(18, 10, 4, 0.4);
}
body:has(.table-bg) { background: #241810; }
body:has(.table-bg)::before { display: none; }
.table-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #241810 url("/static/img/table-wide.webp") center / cover no-repeat; }
@media (max-aspect-ratio: 1 / 1) { .table-bg { background-image: url("/static/img/table-tall.webp"); } }
.about-scene { overflow-x: clip; }
.about-page { padding-top: 68px; padding-bottom: 24px; }

/* masking tape */
.about-photo::before, .about-photo::after, .side-photo::before, .side-photo::after, .postcard-front::before,
.note::before, .letter::before {
  content: ""; position: absolute; z-index: 3; width: 112px; height: 30px; pointer-events: none;
  background-color: rgba(205, 219, 230, 0.6);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px 7px);
  clip-path: polygon(0 12%, 3.5% 0, 1.5% 26%, 4.5% 52%, 1% 76%, 3.5% 100%, 96.5% 100%, 99% 76%, 95.5% 52%, 98.5% 26%, 96.5% 0, 100% 12%); }
.about-photo::before { top: -13px; left: 9%; rotate: -33deg; }
.about-photo::after { top: -13px; right: 9%; rotate: 31deg; }
.side-photo::before { top: -13px; left: 9%; rotate: 32deg; }
.side-photo::after { top: -13px; right: 9%; rotate: -34deg; }
.postcard-front::before { top: -12px; left: 50%; margin-left: -56px; rotate: -4deg; }
.note::before { top: -16px; left: 50%; margin-left: -62px; width: 124px; rotate: 2.5deg; }
.letter::before { top: -14px; left: 12%; rotate: -5deg; }

/* old photographs: a paper border, a thicker bottom edge for the handwriting, a faded print */
.about-photo, .side-photo, .postcard-front { position: relative; margin: 0; background-color: var(--paper); background-image: var(--grain);
  border: 1px solid rgba(0, 0, 0, 0.07); box-shadow: var(--lift); -webkit-backdrop-filter: none; backdrop-filter: none; }
.about-photo, .side-photo { padding: 14px 14px 68px; }
.about-photo img, .side-photo img { display: block; width: 100%; height: auto; filter: sepia(0.12) saturate(0.94) contrast(0.96); }
.about-photo { rotate: -2.6deg; max-width: 500px; justify-self: center; }
.side-photo { rotate: 2.2deg; max-width: 520px; justify-self: center; }
.about-photo figcaption, .side-photo figcaption { position: absolute; left: 0; right: 0; bottom: 14px; padding: 0 14px; text-align: center;
  font: 400 2.3rem/1 var(--marker); letter-spacing: 0; text-transform: none; color: var(--pen); rotate: -1.2deg; }

/* the letter: ruled paper with punched holes */
.about-grid.has-photo { align-items: center; }
@media (min-width: 900px) { .about-grid.has-photo { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
.about-scene .letter { --ln: 2.15rem; position: relative; rotate: 0.7deg; padding: 34px 40px 30px 76px; max-width: none; background-color: var(--paper);
  background-image:
    radial-gradient(circle at 26px 18%, rgba(0, 0, 0, 0.5) 0 8px, rgba(0, 0, 0, 0.16) 9px, transparent 10px),
    radial-gradient(circle at 26px 50%, rgba(0, 0, 0, 0.5) 0 8px, rgba(0, 0, 0, 0.16) 9px, transparent 10px),
    radial-gradient(circle at 26px 82%, rgba(0, 0, 0, 0.5) 0 8px, rgba(0, 0, 0, 0.16) 9px, transparent 10px),
    var(--grain),
    repeating-linear-gradient(180deg, transparent 0 calc(var(--ln) - 1px), var(--rule) calc(var(--ln) - 1px) var(--ln));
  background-position: 0 0, 0 0, 0 0, 0 0, 0 calc(34px + 0.3rem);
  border: 1px solid rgba(0, 0, 0, 0.06); box-shadow: var(--lift); }
.about-scene .letter h1 { margin: 0 0 var(--ln); padding: 0 0 8px; font: 700 clamp(3rem, 6.2vw, 4rem)/1 var(--hand); letter-spacing: 0; text-transform: none; color: var(--pen);
  background: var(--squiggle) left bottom / 170px 14px repeat-x; display: inline-block; }
.about-scene .letter p { max-width: none; margin: 0 0 var(--ln); font: 400 1.66rem/var(--ln) var(--hand); color: var(--pen); }
.about-scene .letter p.sign { margin: 0 0 calc(var(--ln) * 0.5); font: 700 2.5rem/var(--ln) var(--hand); }
.about-scene .letter p.sign::after { content: ""; display: inline-block; width: 30px; height: 28px; margin-left: 10px; vertical-align: -4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='28' viewBox='0 0 30 28'%3E%3Cpath d='M15 25 C 3 15, 2 8, 8 4 C 12 2, 15 5, 15 8 C 15 5, 19 2, 23 4 C 29 8, 27 15, 15 25 Z' fill='none' stroke='%231aa3b5' stroke-width='2.6' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.about-scene .letter p.letter-cta { margin: 0; line-height: 1.2; }

/* a note off the pantry door */
.pantry { padding: 64px 0 56px; }
.pantry .wrap { max-width: 900px; filter: drop-shadow(0 16px 16px rgba(18, 10, 4, 0.42)) drop-shadow(0 1px 1px rgba(18, 10, 4, 0.4)); }
.pantry .note { position: relative; margin: 0 auto; max-width: 780px; padding: 50px 54px 62px; rotate: -1.1deg; background-color: var(--paper); background-image: var(--grain);
  clip-path: polygon(-60px -60px, calc(100% + 60px) -60px, calc(100% + 60px) 100%, 100.00% calc(100% - 7px), 97.73% calc(100% - 8px), 95.45% calc(100% - 7px), 93.18% calc(100% - 7px), 90.91% calc(100% - 8px), 88.64% calc(100% - 9px), 86.36% calc(100% - 3px), 84.09% calc(100% - 2px), 81.82% calc(100% - 8px), 79.55% calc(100% - 7px), 77.27% calc(100% - 9px), 75.00% calc(100% - 2px), 72.73% calc(100% - 1px), 70.45% calc(100% - 7px), 68.18% calc(100% - 4px), 65.91% calc(100% - 2px), 63.64% calc(100% - 1px), 61.36% calc(100% - 8px), 59.09% calc(100% - 0px), 56.82% calc(100% - 9px), 54.55% calc(100% - 6px), 52.27% calc(100% - 7px), 50.00% calc(100% - 9px), 47.73% calc(100% - 2px), 45.45% calc(100% - 9px), 43.18% calc(100% - 0px), 40.91% calc(100% - 8px), 38.64% calc(100% - 1px), 36.36% calc(100% - 0px), 34.09% calc(100% - 0px), 31.82% calc(100% - 3px), 29.55% calc(100% - 3px), 27.27% calc(100% - 9px), 25.00% calc(100% - 0px), 22.73% calc(100% - 7px), 20.45% calc(100% - 5px), 18.18% calc(100% - 7px), 15.91% calc(100% - 9px), 13.64% calc(100% - 3px), 11.36% calc(100% - 8px), 9.09% calc(100% - 3px), 6.82% calc(100% - 4px), 4.55% calc(100% - 7px), 2.27% calc(100% - 0px), -0.00% calc(100% - 1px), -60px 100%); }
.pantry .q { margin: 0 0 18px; max-width: none; font: 400 clamp(2.5rem, 6.4vw, 4.1rem)/1.06 var(--marker); letter-spacing: 0; color: var(--pen);
  background: none; -webkit-text-fill-color: currentColor; padding: 0;
  text-decoration: underline wavy #1aa3b5 3px; text-underline-offset: 0.17em; text-decoration-skip-ink: none; }
.pantry .q-sub { margin: 0; max-width: 36em; font: 400 1.9rem/1.25 var(--hand); color: var(--pen-soft); }

/* the shopping list: a notepad with a printed header, ticked items and a torn bottom */
.facts { padding: 72px 0 56px; }
.facts.with-photo { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .facts.with-photo { grid-template-columns: 1fr 1fr; gap: 72px; } }
.facts-main { justify-self: center; width: 100%; max-width: 470px; rotate: -1.4deg; filter: drop-shadow(0 16px 16px rgba(18, 10, 4, 0.42)) drop-shadow(0 1px 1px rgba(18, 10, 4, 0.4)); }
.notepad { --ln: 2.5rem; position: relative; padding: 0 0 38px; background-color: var(--paper); background-image: var(--grain); clip-path: polygon(-60px -60px, calc(100% + 60px) -60px, calc(100% + 60px) 100%, 100.00% calc(100% - 4px), 97.50% calc(100% - 1px), 95.00% calc(100% - 0px), 92.50% calc(100% - 4px), 90.00% calc(100% - 6px), 87.50% calc(100% - 6px), 85.00% calc(100% - 8px), 82.50% calc(100% - 5px), 80.00% calc(100% - 2px), 77.50% calc(100% - 3px), 75.00% calc(100% - 4px), 72.50% calc(100% - 7px), 70.00% calc(100% - 0px), 67.50% calc(100% - 3px), 65.00% calc(100% - 7px), 62.50% calc(100% - 0px), 60.00% calc(100% - 1px), 57.50% calc(100% - 1px), 55.00% calc(100% - 7px), 52.50% calc(100% - 6px), 50.00% calc(100% - 0px), 47.50% calc(100% - 8px), 45.00% calc(100% - 6px), 42.50% calc(100% - 5px), 40.00% calc(100% - 0px), 37.50% calc(100% - 3px), 35.00% calc(100% - 0px), 32.50% calc(100% - 5px), 30.00% calc(100% - 2px), 27.50% calc(100% - 3px), 25.00% calc(100% - 5px), 22.50% calc(100% - 5px), 20.00% calc(100% - 4px), 17.50% calc(100% - 5px), 15.00% calc(100% - 1px), 12.50% calc(100% - 7px), 10.00% calc(100% - 2px), 7.50% calc(100% - 7px), 5.00% calc(100% - 7px), 2.50% calc(100% - 2px), 0.00% calc(100% - 2px), -60px 100%); }
.notepad .kicker { margin: 0; padding: 17px 26px 15px; font: 800 0.8rem/1 var(--head); letter-spacing: 0.22em; text-transform: uppercase; color: #fff; background: var(--green-grad); }
.notepad .pad-lines { padding: 14px 26px 6px 60px; background-image: repeating-linear-gradient(180deg, transparent 0 calc(var(--ln) - 1px), var(--rule) calc(var(--ln) - 1px) var(--ln));
  background-position: 0 6px; }
.notepad .fact-tiles { list-style: none; margin: 0; padding: 0; display: block; }
.notepad .fact-tile { position: relative; display: block; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  font: 700 2rem/var(--ln) var(--hand); color: var(--pen); }
.notepad .fact-tile::after { content: none; }
.notepad .fact-tile::before { content: ""; position: absolute; left: -44px; top: 3px; width: 34px; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M4 6 L24 4 L25 24 L5 26 Z' fill='none' stroke='%231d2c47' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'/%3E%3Cpath d='M8 15 L14 22 L29 3' fill='none' stroke='%230f5a4f' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.notepad .fact-tile .big, .notepad .fact-tile .lab { display: inline; padding: 0; margin: 0; font: inherit; letter-spacing: 0; text-transform: none; color: inherit;
  background: none; -webkit-text-fill-color: currentColor; -webkit-text-stroke: 0; }
.notepad .fact-tile .big { margin-right: 0.35ch; }
.notepad .fact-tile .big.sym { font-size: 1.3em; line-height: 0.6; vertical-align: -0.12em; }
.notepad .fact-tile .lab { font-weight: 400; }
.notepad .fact-list { list-style: none; margin: 0; padding: 0; max-width: none; columns: auto; }
.notepad .fact-list li { position: relative; margin: 0; padding: 0; break-inside: avoid; font: 400 1.85rem/var(--ln) var(--hand); color: var(--pen); }
.notepad .fact-list li::before { content: ""; position: absolute; left: -44px; top: 0.6rem; width: 32px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='28' viewBox='0 0 30 28'%3E%3Cpath d='M15 25 C 3 15, 2 8, 8 4 C 12 2, 15 5, 15 8 C 15 5, 19 2, 23 4 C 29 8, 27 15, 15 25 Z' fill='none' stroke='%231aa3b5' stroke-width='2.6' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* the photo of Foxy, taped down with a marker caption */
.facts .side-photo { rotate: 2.4deg; }

/* the postcard: picture side and message side */
.heritage { display: grid; gap: 52px; align-items: center; padding: 48px 0 104px; }
@media (min-width: 900px) { .heritage { grid-template-columns: 1fr 1.3fr; gap: 56px; } }
.postcard-front { padding: 12px; rotate: -3.2deg; max-width: 520px; justify-self: center; }
.postcard-front img { display: block; width: 100%; height: auto; }
.postcard-back { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; min-height: 340px; rotate: 1.2deg; background-color: var(--paper); background-image: var(--grain);
  border: 1px solid rgba(0, 0, 0, 0.07); box-shadow: var(--lift); }
.pc-message { padding: 30px 28px 26px 34px; border-right: 2px solid rgba(29, 44, 71, 0.22); }
.pc-message .kicker { margin: 0 0 4px; font: 400 1.7rem/1 var(--marker); letter-spacing: 0; text-transform: none; color: var(--pen-soft); }
.pc-message h2 { margin: 0 0 12px; max-width: none; font: 700 clamp(2.4rem, 4.4vw, 3.2rem)/1 var(--hand); letter-spacing: 0; color: var(--pen); }
.pc-message p:not(.kicker) { margin: 0; max-width: none; font: 400 1.6rem/1.28 var(--hand); color: var(--pen); }
.pc-address { position: relative; padding: 24px 22px 24px 26px; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; gap: 0; }
.pc-address .stamp { position: absolute; top: 18px; right: 18px; width: 78px; height: auto; rotate: 3deg; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)); }
.pc-address .postmark { position: absolute; top: 16px; right: 68px; width: 118px; height: auto; rotate: -14deg; opacity: 0.78; mix-blend-mode: multiply; }
.pc-address .to { margin: 0 0 4px; font: 400 1.55rem/1.4 var(--hand); color: var(--pen); }
.pc-address .line { height: 30px; border-bottom: 1.5px solid rgba(29, 44, 71, 0.3); }
@media (max-width: 640px) {
  .postcard-back { grid-template-columns: 1fr; }
  .pc-message { border-right: 0; border-bottom: 2px solid rgba(29, 44, 71, 0.22); padding: 26px 22px 22px; }
  .pc-address { min-height: 262px; }
}

/* a few tweaks for small screens */
@media (max-width: 899px) {
  .about-page { padding-top: 44px; }
  .about-scene .letter { padding: 28px 22px 26px 56px; }
  .about-scene .letter { background-position: 0 0, 0 0, 0 0, 0 0, 0 calc(28px + 0.3rem); }
  .pantry .note { padding: 40px 28px 52px; }
  .facts { padding-top: 52px; }
  .heritage { padding-bottom: 72px; }
}
/* pieces straighten a little when you point at them */
.js .about-scene .reveal.done { transition: transform 0.12s, rotate 0.3s ease, opacity 0.3s; }
@media (hover: hover) {
  .about-photo:hover, .side-photo:hover, .postcard-front:hover, .postcard-back:hover, .about-scene .letter:hover { rotate: 0deg; }
}
@media print {
  .table-bg { display: none; } body:has(.table-bg) { background: #fff; }
  .about-photo, .side-photo, .postcard-front, .postcard-back, .about-scene .letter { rotate: 0deg; box-shadow: none; }
  .pantry .wrap, .facts-main { filter: none; }
}

/* choosing it in the item form */
.hero-pick { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.hero-opt { position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 92px; padding: 10px 6px 8px; cursor: pointer;
  background: rgba(255, 255, 255, 0.72); border: 1px solid var(--glass-line); text-align: center; }
.hero-opt input { position: absolute; top: 8px; left: 8px; width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.hero-opt img { width: auto; height: 46px; max-width: 80px; object-fit: contain; }
.hero-opt .nm { font-size: 0.78rem; font-weight: 700; }
.hero-opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); background: #fff; }

/* ===== Password boxes: a Show / Hide button inside the right edge ===== */
.pw { position: relative; }
.pw input { padding-right: 84px; }
.pw-toggle { position: absolute; top: 0; right: 0; bottom: 0; min-width: 72px; padding: 0 14px; border: 0; border-left: 1px solid var(--glass-line, var(--line));
  background: rgba(255, 255, 255, 0.6); color: var(--accent); font: 800 0.72rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.pw-toggle:hover, .pw-toggle:focus-visible { background: var(--accent); color: #fff; }
.pw-toggle[hidden] { display: none; }

/* ===== Best-in-class batch (Oct 2026): ordering, notifications, logging in, Fran's tools =====
   Same rules as everything above: white, black hairlines, the one teal, hard corners, no pink or yellow. */
/* Anything the scripts hide stays hidden, whatever display a button or panel style gives it. */
[hidden] { display: none !important; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.plain-list { list-style: none; margin: 0 0 12px; padding: 0; }
.plain-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 0; }
.btn-danger-text { color: var(--red); border-color: var(--red); }
.narrow-field input { max-width: 140px; }
.panel h3 { margin-top: 18px; }
.panel h3:first-child { margin-top: 0; }

/* "Same as last time?" over the menu, and the waitlist on a sold-out bake */
.again { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--accent); background: var(--glass-hi, #fff); box-shadow: 6px 6px 0 var(--accent); }
.waitlist { margin-top: 12px; display: grid; gap: 8px; justify-items: start; }

/* PayID box on the order page */
.payid { margin: 18px 0; padding: 16px; border: 1px solid var(--accent); box-shadow: 6px 6px 0 var(--accent); background: #fff; }
.payid dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 10px; align-items: center; }
.payid dt { color: var(--muted); font-size: 0.85rem; }
.payid dd { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* "How was it?": a hard-edged heart toggle per bake */
.fb-row { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: end; margin-bottom: 4px; }
.heart { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); background: #fff; cursor: pointer; margin-bottom: 18px; }
.heart input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.heart span[aria-hidden] { width: 22px; height: 20px; background: var(--ink); clip-path: path("M11 20 L1.6 10.4 C-0.5 8.2 -0.5 4.6 1.6 2.4 C3.7 0.3 7.1 0.3 9.2 2.4 L11 4.2 L12.8 2.4 C14.9 0.3 18.3 0.3 20.4 2.4 C22.5 4.6 22.5 8.2 20.4 10.4 Z"); opacity: 0.18; transition: opacity 0.15s, transform 0.15s; }
.heart:has(input:checked) { border-color: var(--red); }
.heart:has(input:checked) span[aria-hidden] { background: var(--red); opacity: 1; transform: scale(1.1); }
.heart:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.heart-on { color: var(--red); font-weight: 800; }
.order-actions { display: grid; gap: 14px; }
.order-actions form { margin: 0; }
.order-actions .hint { margin: 6px 0 0; }

/* My account: notifications, install, passkeys, two-step */
.push-box, .install-box { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.passkey-add { display: grid; gap: 8px; justify-items: start; margin: 8px 0 4px; }
.passkey-add .field { width: 100%; max-width: 360px; }
.passkey-login { text-align: center; }
.code-input { font-size: 1.6rem; letter-spacing: 0.3em; text-align: center; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; max-width: 260px; }
.qr { width: min(240px, 100%); margin: 8px 0 12px; border: 1px solid var(--ink); background: #fff; }
.qr svg { display: block; width: 100%; height: auto; }
.codes { columns: 2; gap: 24px; font-size: 1.05rem; margin: 0 0 16px; padding-left: 1.4em; }
.codes li { padding: 3px 0; }
.inline-form input[type=password] { width: auto; max-width: 180px; padding: 6px 8px; margin-right: 6px; }

/* Admin: to-do strip, menu tools, pickup slot rows */
.todo { border-color: var(--accent); box-shadow: 6px 6px 0 var(--accent); }
.todo-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.todo-row:last-child { border-bottom: 0; }
.toolbar .tools { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.slots .slot-head, .slots .slot-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 2fr) minmax(0, 0.8fr); gap: 8px; }
.slots .slot-head { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 6px 0 4px; }
.slots .slot-row { margin-bottom: 8px; }
.slots .slot-row label { min-width: 0; }
.slots .slot-row input { width: 100%; min-width: 0; max-width: 100%; }
@media (max-width: 639px) {
  .slots .slot-head { display: none; }
  /* on a phone: where, then when it starts, then the end time and the most orders side by side */
  .slots .slot-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 10px 0; border-bottom: 1px solid var(--line); }
  .slots .slot-row label:nth-of-type(3) { grid-column: 1 / -1; order: -2; }
  .slots .slot-row label:nth-of-type(1) { grid-column: 1 / -1; order: -1; }
  /* the column headings are gone, so each box shows its own name */
  .slots .slot-row label .sr-only { position: static; width: auto; height: auto; margin: 0 0 3px; clip: auto; overflow: visible; white-space: normal; display: block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
}
.slot-use li span:first-child { min-width: 0; }
/* the bakes on the menu form: on a phone the limit and position boxes go under the name */
@media (max-width: 639px) {
  .attach { grid-template-columns: minmax(0, 1fr); }
  .attach .opts { grid-column: 1; }
}

/* Bake sheet */
.checklist { list-style: none; margin: 0 0 10px; padding: 0; }
.checklist li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); }
.checklist .box { flex: none; width: 14px; height: 14px; border: 1.5px solid var(--ink); transform: translateY(2px); }
.sheet-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.big { font-family: var(--head); font-size: 1.8rem; font-weight: 800; }
@media print {
  .bake-sheet .panel { box-shadow: none; background: #fff; }
  .sheet-grid { grid-template-columns: 1fr 1fr; }
}

/* Labels: A4 sheets of 14, 99.1 x 38.1 mm (the Avery L7163 layout), printed at exact size */
.sheets { overflow-x: auto; padding-bottom: 12px; }
.label-sheet { page: labels; width: 210mm; height: 297mm; padding: 15.15mm 4.65mm; display: grid; grid-template-columns: 99.1mm 99.1mm; grid-template-rows: repeat(7, 38.1mm); column-gap: 2.5mm; background: #fff; border: 1px solid var(--line); margin: 0 auto 16px; break-after: page; overflow: hidden; }
.label { padding: 3mm 4mm; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 0.6mm; font: 8.5pt/1.25 var(--sans); color: #000; outline: 1px dashed #ccc; outline-offset: -1px; overflow: hidden; }
.label.empty { outline-color: #eee; background: repeating-linear-gradient(45deg, #fff 0 6px, #f6f6f6 6px 12px); }
.l-top { display: flex; justify-content: space-between; align-items: baseline; }
.l-brand { font-family: var(--script); font-size: 15pt; line-height: 1; }
.l-brand .ap { margin: 0 -0.13em 0 -0.1em; }
.l-ref { font-size: 7pt; color: #444; letter-spacing: 0.04em; }
.l-name { font: 800 11.5pt/1.1 var(--head); }
.l-items { overflow: hidden; }
.l-contains { font-weight: 700; }
.l-foot { font-size: 7pt; color: #333; border-top: 0.3mm solid #000; padding-top: 0.6mm; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@page labels { size: A4 portrait; margin: 0; }
@media print {
  body:has(.label-sheet) main, body:has(.label-sheet) .page { padding: 0 !important; margin: 0 !important; width: auto !important; }
  body:has(.label-sheet) { background: #fff !important; }
  body:has(.label-sheet)::before, body:has(.label-sheet)::after { display: none !important; }
  .label-sheet { border: 0; margin: 0; }
  .label, .label.empty { outline: 0; background: none; }
  .sheets { overflow: visible; padding: 0; }
}

.offline-mark { margin: 0 auto 14px; border: 1px solid var(--ink); }

/* The everyday range and this week's specials, as two headed groups on the menu */
.lineup-head { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.lineup-head::after { content: ""; flex: 1; height: 1px; background: var(--ink); opacity: 0.25; }
.lineup-head + .grid { padding-top: 14px; }
.tag-line { border-color: var(--accent); color: var(--accent); }
.tick-tools { margin: 0 0 10px; display: flex; gap: 6px; flex-wrap: wrap; }

/* Type-to-find on the admin lists */
.find { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.find input { max-width: 320px; }

/* "What's in it" on menu cards, the recipe as read on the item page, pictures on the bake sheet */
.whats-in { margin: 10px 0 4px; border-top: 1px solid var(--line); padding-top: 8px; }
.whats-in summary { cursor: pointer; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); list-style: none; }
.whats-in summary::-webkit-details-marker { display: none; }
.whats-in summary::after { content: " +"; }
.whats-in[open] summary::after { content: " \2212"; }
.whats-in ul, .reads ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.whats-in li, .reads li { display: flex; align-items: center; gap: 6px; padding: 3px 8px 3px 3px; border: 1px solid var(--line); background: #fff; font-size: 0.8rem; }
.whats-in img, .reads img { width: 30px; height: 30px; object-fit: cover; display: block; }
.no-pic { width: 30px; height: 30px; background: var(--tint); display: block; }
.reads { margin: 8px 0; padding: 10px; border: 1px solid var(--line); background: #fff; }
.reads li { font-size: 0.82rem; }
.checklist .pic { width: 28px; height: 28px; object-fit: cover; flex: none; align-self: center; }

/* Items: list or grid */
.view-switch { display: inline-flex; margin-right: 6px; }
.view-switch .btn + .btn { margin-left: -1px; }
.grid-head { display: flex; align-items: baseline; gap: 8px; font-size: 1.1rem; margin: 22px 0 10px; }
.grid-head:first-of-type { margin-top: 4px; }
.item-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.item-tile { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.item-tile:hover { border-color: var(--accent); }
.tile-pic { display: block; aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.tile-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.item-tile:hover .tile-pic img { transform: scale(1.04); }
.tile-pic .no-photo { display: grid; place-items: center; height: 100%; font: 800 2.4rem var(--head); color: var(--muted); }
.tile-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1; }
.tile-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; line-height: 1.25; }
.tile-head a { color: var(--ink); text-decoration: none; }
.tile-head a:hover { color: var(--accent); }
.tile-actions { margin-top: auto; display: flex; gap: 6px; padding-top: 4px; }
@media (prefers-reduced-motion: reduce) { .tile-pic img { transition: none; } }
@media (max-width: 639px) {
  .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile-body { padding: 8px; gap: 4px; }
  .tile-head { flex-direction: column; gap: 2px; font-size: 0.85rem; }
  .item-tile .tags .tag { font-size: 0.6rem; padding: 1px 5px; }
  .tile-actions { flex-wrap: wrap; }
  .item-tile p.small { font-size: 0.72rem; line-height: 1.35; }
}

/* Menu form: the bakes as a list (with a small photo) or a grid of photo cards to tick */
.pick-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.pick-bar .find { margin: 0; }
.pick-head { margin: 18px 0 4px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.pick-pic { flex: none; width: 36px; height: 36px; overflow: hidden; background: var(--tint); display: grid; place-items: center; }
.pick-pic img { width: 100%; height: 100%; object-fit: cover; }
.pick-pic b { font: 800 1rem var(--head); color: var(--muted); }
.pick.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); align-items: start; }
.pick.grid .pick-head { grid-column: 1 / -1; margin-bottom: 0; }
.pick.grid .attach { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; }
.pick.grid .attach > .check { position: relative; flex-direction: column; align-items: stretch; gap: 8px; padding: 0 0 10px; }
.pick.grid .check input.on { position: absolute; top: 8px; left: 8px; z-index: 1; width: 22px; height: 22px; background: #fff; }
.pick.grid .pick-pic { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.pick.grid .pick-pic b { font-size: 2rem; }
.pick.grid .pick-name { padding: 0 10px; line-height: 1.25; }
.pick.grid .attach:has(input.on:checked) .pick-pic img { opacity: 0.92; }
.pick.grid .opts { padding: 0 2px; gap: 6px; }
.pick.grid .opts input { width: 64px; }
@media (max-width: 639px) {
  .pick.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pick.grid .pick-name { padding: 0 8px; font-size: 0.82rem; }
}

/* Orders: a list or a grid of order cards; the grid shows the bakes' photos along the top */
.order-pics, .print-only { display: none; }
.order-list.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); align-items: start; }
.order-list.grid .order-card { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.order-list.grid .order-pics { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 3px; margin: -14px -16px 8px; }
.order-list.grid .order-pics[data-n="1"] { --n: 1; }
.order-list.grid .order-pics[data-n="2"] { --n: 2; }
.order-list.grid .order-pics[data-n="3"] { --n: 3; }
.order-list.grid .order-pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.order-list.grid .order-pics[data-n="1"] img { aspect-ratio: 16 / 7; }
.order-list.grid .order-card .actions { margin-top: auto; padding-top: 6px; }
.order-menu { margin-bottom: 4px; }
@media (max-width: 639px) { .order-list.grid { grid-template-columns: minmax(0, 1fr); } }
@media print {
  .order-list.grid { display: block; }
  .order-list.grid .order-pics { display: none; }
  .print-only { display: block; }
}

/* Profile pictures: a drawn one, their photo, or their initials, always a circle */
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; overflow: hidden; background: var(--accent); color: #fff; font-family: var(--head); font-weight: 700; line-height: 1; letter-spacing: 0.02em; vertical-align: middle; user-select: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.avatar-sm { width: 26px; height: 26px; font-size: 0.66rem; }
.avatar-md { width: 56px; height: 56px; font-size: 1.1rem; }
.avatar-lg { width: 96px; height: 96px; font-size: 1.9rem; }
.top nav a.account-link { display: inline-flex; align-items: center; gap: 7px; }
.who { display: flex; align-items: center; gap: 10px; }
.order-card header .who { align-self: center; }
.avatar-now { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.avatar-now p { margin: 0; }
.avatar-picks { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 12px 8px; justify-items: center; }
.avatar-pick { position: relative; display: block; cursor: pointer; border-radius: 50%; }
.avatar-pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.avatar-pick .avatar { transition: transform 0.12s ease, box-shadow 0.12s ease; }
.avatar-pick:hover .avatar { transform: scale(1.06); }
.avatar-pick input:checked + .avatar { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent); }
.avatar-pick input:focus-visible + .avatar { outline: 2px solid var(--accent); outline-offset: 7px; }
@media (max-width: 559px) {
  .top nav.has-admin .account-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .avatar-picks { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
  .avatar-picks .avatar-md { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .avatar-pick .avatar { transition: none; } }

/* A link to #somewhere lands below the sticky header, not under it (on phones the header scrolls away) */
html { scroll-padding-top: 88px; }
@media (max-width: 559px) { html { scroll-padding-top: 12px; } }

/* Ribbons across the corner of a bake's picture: hers in teal, "Sold out" and "Sorry, not available" in black */
.card-img, .tile-pic { position: relative; }
.ribbon { position: absolute; z-index: 2; top: 14px; left: 0; max-width: calc(100% - 20px); padding: 6px 20px 6px 12px; background: var(--rb, var(--accent)); color: var(--rf, #fff); font: 800 0.72rem/1.15 var(--head); letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%); }
.ribbon-out { background: #161616; }
.tile .pic .ribbon { font-size: 0.66rem; }
.item-tile .ribbon { font-size: 0.6rem; }
.item-tile .ribbon-flag { top: 10px; padding: 4px 16px 4px 9px; }
.tag-ribbon { background: var(--rb, var(--accent)); border-color: var(--rb, var(--accent)); color: var(--rf, #fff); }
.ribbon-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.ribbon-pick select, .ribbon-pick input { flex: 1 1 140px; min-width: 0; }
.label-like { display: block; margin-bottom: 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

/* Prices and availability: one row per bake */
.quick-find { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 14px; }
.quick-find input[type=search] { flex: 1 1 220px; max-width: 360px; }
.quick-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.quick-head, .quick-row { display: grid; grid-template-columns: 26px minmax(180px, 1fr) 118px 170px minmax(180px, 230px); gap: 8px 14px; align-items: center; }
.quick-head.has-week, .quick-row.has-week { grid-template-columns: 26px minmax(180px, 1fr) 118px 170px minmax(180px, 230px) 130px; }
.quick-head { padding: 0 8px 6px; border-bottom: 1px solid var(--line); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.quick-row { padding: 8px; border-bottom: 1px solid var(--line); }
.quick-row:last-child { border-bottom: 0; }
.quick-row.ticked { background: rgba(14, 74, 94, 0.05); }
.quick-row.changed { box-shadow: inset 4px 0 0 var(--accent); background: rgba(141, 184, 144, 0.14); }
.quick-row.has-error { box-shadow: inset 4px 0 0 var(--red); }
.quick-name { display: flex; align-items: center; gap: 10px; min-width: 0; grid-column: 2; } /* column 1 stays the tick's, even when there is none */
.quick-name .thumb { width: 56px; height: 42px; flex: none; object-fit: cover; }
.quick-name a { color: inherit; }
.quick-label { display: none; }
.quick-tick { display: flex; align-items: center; justify-content: center; }
.quick-tick input { width: 18px; height: 18px; margin: 0; }
.money-in { display: flex; align-items: center; gap: 4px; }
.money-in input { width: 100%; min-width: 0; text-align: right; }
.limit-in { width: 100%; }
.quick-off { line-height: 1.2; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; position: relative; font-size: 0.85rem; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 40px; height: 22px; flex: none; border-radius: 11px; background: #b9b9b9; position: relative; transition: background 0.15s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform 0.15s; }
.switch input:checked + .switch-ui { background: var(--accent); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch .switch-on, .switch input:checked ~ .switch-off { display: none; }
.switch input:checked ~ .switch-on { display: inline; }
.switch-off { color: var(--red); }
.quick-save { position: sticky; bottom: 0; z-index: 5; margin-top: 14px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--ink); box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08); }
.quick-save-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.quick-save-row [data-changed] { flex: 1 1 200px; }
.quick-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.bulk-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bulk-group select { width: auto; max-width: 100%; }
.bulk-group input { width: 80px; }
@media (max-width: 899px) {
  .quick-head { display: none; }
  .quick-row, .quick-row.has-week { grid-template-columns: 26px 1fr 1fr; grid-template-areas: "tick name name" ". price avail" ". ribbon ribbon" ". week week"; padding: 12px 4px; align-items: start; }
  .quick-row > .quick-tick { grid-area: tick; align-self: start; padding-top: 12px; }
  .quick-row > .quick-name { grid-area: name; }
  .quick-row > .qc-price { grid-area: price; }
  .quick-row > .qc-avail { grid-area: avail; }
  .quick-row > .qc-ribbon { grid-area: ribbon; }
  .quick-row > .qc-week { grid-area: week; }
  .quick-label { display: block; margin-bottom: 4px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .quick-save { padding: 8px 10px; }
  .quick-save input { padding: 6px 8px; font-size: 0.9rem; }
  .quick-save select { padding: 6px 30px 6px 8px; font-size: 0.9rem; }
  .quick-bulk { gap: 6px 10px; padding-bottom: 8px; margin-bottom: 8px; }
  .quick-save-row [data-changed] { flex: 1 1 100%; }
  .quick-save-row [data-changed].idle { display: none; }
  .quick-save-row .btn { padding-left: 12px; padding-right: 12px; white-space: nowrap; }
  .quick-save-row .btn[type=submit] { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .switch-ui, .switch-ui::after { transition: none; } }

/* Ribbon styles. Flag is the base .ribbon above; the rest reshape it. Colours come from /ribbons.css (--rb, --rf). */
.ribbon-tag, .ribbon-pill, .ribbon-sash, .ribbon-sticker, .ribbon-strip { clip-path: none; }
.ribbon-tag { top: 12px; left: 12px; padding: 6px 12px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.ribbon-pill { top: 12px; left: 12px; padding: 6px 14px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.ribbon-sash { top: 40px; left: -50px; width: 224px; max-width: none; padding: 6px 34px; text-align: center; transform: rotate(-45deg); font-size: 0.64rem; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.ribbon-sticker { top: 12px; right: 12px; left: auto; width: 78px; height: 78px; max-width: none; padding: 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; white-space: normal; line-height: 1.1; font-size: 0.64rem; transform: rotate(-10deg); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25); }
.ribbon-strip { top: auto; bottom: 0; left: 0; right: 0; max-width: none; padding: 8px 12px; text-align: center; }
.item-tile .ribbon-sticker, .tile .pic .ribbon-sticker { width: 58px; height: 58px; font-size: 0.5rem; padding: 6px; }
.item-tile .ribbon-sash { top: 28px; left: -56px; width: 196px; font-size: 0.52rem; }
.item-tile .ribbon-tag, .item-tile .ribbon-pill { top: 8px; left: 8px; padding: 4px 9px; }

/* The Ribbons page */
.rb-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; margin-bottom: 28px; }
.rb-card { margin: 0; }
.rb-card.rb-new { border-style: dashed; }
.rb-title { margin: 0 0 10px; }
.rb-preview { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 14px; background: var(--tint); border: 1px solid var(--line); }
.rb-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rb-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rb-style { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; border: 1px solid var(--line); cursor: pointer; text-align: center; font-size: 0.72rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
.rb-style input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rb-style:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: rgba(14, 74, 94, 0.05); }
.rb-style:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.rb-style-name { line-height: 1.15; }
.rb-shape { position: relative; display: block; width: 56px; height: 40px; overflow: hidden; background: #e7ecec; }
.rb-shape::after { content: ""; position: absolute; background: var(--rb, var(--accent)); }
.rb-shape-flag::after { top: 6px; left: 0; width: 30px; height: 9px; clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 50%, 100% 100%, 0 100%); }
.rb-shape-tag::after { top: 5px; left: 5px; width: 26px; height: 9px; }
.rb-shape-pill::after { top: 5px; left: 5px; width: 28px; height: 9px; border-radius: 5px; }
.rb-shape-sash::after { top: 8px; left: -14px; width: 50px; height: 8px; transform: rotate(-45deg); }
.rb-shape-sticker::after { top: 4px; right: 4px; width: 18px; height: 18px; border-radius: 50%; }
.rb-shape-strip::after { left: 0; right: 0; bottom: 0; height: 9px; }
.rb-colour { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rb-colour input[type=color] { width: 52px; height: 36px; padding: 2px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.rb-colour input[type=color]:disabled { opacity: 0.45; cursor: default; }
.rb-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.rb-swatch { width: 24px; height: 24px; padding: 0; border: 1px solid rgba(0, 0, 0, 0.25); border-radius: 50%; cursor: pointer; }
.rb-swatch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rb-sw-0e4a5e { background: #0e4a5e; } .rb-sw-8db890 { background: #8db890; } .rb-sw-0f5a4f { background: #0f5a4f; }
.rb-sw-1f3a5f { background: #1f3a5f; } .rb-sw-b3261e { background: #b3261e; } .rb-sw-c9822b { background: #c9822b; }
.rb-sw-5b3a6b { background: #5b3a6b; } .rb-sw-161616 { background: #161616; } .rb-sw-ffffff { background: #ffffff; }
.rb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rb-delete { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }

/* ===== Change an order (the customer's page; Fran's uses the same list in admin.css) ===== */
.edit-items { margin: 0 0 14px; padding: 0; list-style: none; }
.edit-items li { display: grid; grid-template-columns: minmax(0, 1fr) 88px; grid-template-areas: "name qty" "price qty"; gap: 2px 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.edit-items li > label { grid-area: name; margin: 0; font-size: 1rem; text-transform: none; letter-spacing: 0; }
.edit-items li > .small { grid-area: price; }
.edit-items li > input { grid-area: qty; width: 88px; text-align: center; }

/* ===== Simpler shop, November 2026 =====
   Members get a short band at the top instead of the full-screen hero, the menu straight after it, pickup as one line,
   the dietary filter folded into one bar, and the account page with the settings folded away. */
.hero.hero-slim { min-height: 0; padding: 40px 0 64px; }
.hero.hero-slim h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); margin-bottom: 18px; }
.hero.hero-slim .cta-row { margin-top: 18px; }
.hero.hero-slim .hero-text { transform: none; opacity: 1; }
@media (max-width: 559px) { .hero.hero-slim { padding: 28px 0 56px; } }

.pickup-line { margin: 10px 0 0; }

details.diet-bar { padding: 0; }
details.diet-bar > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 16px 22px; cursor: pointer; list-style: none;
  font: 800 1rem var(--head); }
details.diet-bar > summary::-webkit-details-marker { display: none; }
details.diet-bar > summary, details.fold > summary { position: relative; padding-right: 52px !important; }
details.diet-bar > summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; line-height: 1; color: var(--accent); }
details.diet-bar[open] > summary::after { content: "\2212"; }
details.diet-bar > summary span { font: 600 0.9rem var(--sans); color: #4b5b60; }
details.diet-bar > .row, details.diet-bar > p { margin-left: 22px; margin-right: 22px; }
details.diet-bar > p:last-child { margin-bottom: 16px; }
@media (max-width: 559px) {
  details.diet-bar { padding: 0; }
  details.diet-bar > summary { padding: 14px 16px; }
  details.diet-bar > .row, details.diet-bar > p { margin-left: 16px; margin-right: 16px; }
}

.account-head { align-items: center; }
.fold-kicker { margin-top: 36px; }
details.fold { padding: 0; }
details.fold > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: 18px 24px; cursor: pointer; list-style: none; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary h2 { margin: 0; font-size: 1.15rem; }
details.fold > summary .fold-hint { color: #4b5b60; font-size: 0.88rem; }
details.fold > summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; line-height: 1; color: var(--accent); }
details.fold[open] > summary::after { content: "\2212"; }
details.fold > :not(summary) { margin: 0 24px 24px; }
@media (max-width: 559px) {
  details.fold > summary { padding: 16px 18px; }
  details.fold > :not(summary) { margin: 0 18px 18px; }
}

/* ===== Simpler ordering, November 2026 =====
   The menu as a list (default) or tiles, the add button that turns into a minus / plus stepper, the bar along the bottom
   with the order count and total, and the cart lines with the same stepper. */
.menu-tools { display: flex; justify-content: flex-end; margin: 4px 0 0; }
.view-switch { display: inline-flex; border: 1px solid var(--glass-line); background: #fff; }
.view-switch .btn { border: 0; box-shadow: none; min-height: 36px; padding: 6px 14px; }
.view-switch .btn-ghost { background: #fff; color: var(--accent); }

.menu-items:not(.grid) > .grid { display: flex; flex-direction: column; gap: 12px; padding: 14px 0 28px; }
.menu-items:not(.grid) .card { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: stretch; }
.menu-items:not(.grid) .card, .menu-items:not(.grid) .card:hover, .js .menu-items:not(.grid) .card.reveal,
.js .menu-items:not(.grid) .card.reveal.in, .js .menu-items:not(.grid) .card.reveal.in.done:hover { transform: none; }
.menu-items:not(.grid) .card:hover { box-shadow: var(--shine), var(--glow); }
.menu-items:not(.grid) .card::after { display: none; }
.menu-items:not(.grid) .card-img { aspect-ratio: auto; min-height: 112px; border-bottom: 0; border-right: 1px solid var(--glass-line); }
.menu-items:not(.grid) .card-img .ribbon { transform: scale(0.8); transform-origin: top left; }
.menu-items:not(.grid) .card-body { padding: 12px 14px; gap: 6px; }
.menu-items:not(.grid) .card-head h3 { font-size: 1.02rem; }
.menu-items:not(.grid) .desc { margin: 0; font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-items:not(.grid) .whats-in { margin: 2px 0 0; padding-top: 6px; }
.menu-items:not(.grid) .add { margin-top: 4px; }
@media (min-width: 760px) {
  .menu-items:not(.grid) .card { grid-template-columns: 168px minmax(0, 1fr); }
  .menu-items:not(.grid) .card-body { display: grid; grid-template-columns: minmax(0, 1fr) 240px; column-gap: 20px; align-content: start; }
  .menu-items:not(.grid) .card-body > * { grid-column: 1; }
  .menu-items:not(.grid) .card-body > .add, .menu-items:not(.grid) .card-body > .waitlist { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; }
}
@media (max-width: 559px) {
  .menu-items:not(.grid) .card { grid-template-columns: 96px minmax(0, 1fr); }
  .menu-items:not(.grid) .card-img { min-height: 96px; }
  .menu-items:not(.grid) .card-body { padding: 10px 12px; }
  .menu-items:not(.grid) .tags .tag { font-size: 0.62rem; }
  .menu-items:not(.grid) .whats-in { display: none; }
}

.add .add-btn { flex: 1; }
.add .stepper { flex: 1; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper .step { width: 44px; height: 44px; flex: none; display: grid; place-items: center; font: 800 1.35rem/1 var(--head); color: #fff; cursor: pointer;
  background: var(--green-grad); border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: var(--shine); }
.stepper .step { padding: 0; min-height: 0; min-width: 0; line-height: 1; text-transform: none; letter-spacing: 0; }
.stepper .step:disabled { opacity: 0.35; cursor: default; }
.stepper .step-n { flex: 1; text-align: center; font-size: 0.92rem; }
.stepper .step-n b { font-size: 1.15rem; }
.add.in .stepper { background: rgba(14, 74, 94, 0.07); padding: 0; }

.cart-bar { position: fixed; left: 50%; bottom: 14px; z-index: 45; transform: translateX(-50%); width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; color: #fff; text-decoration: none;
  background: var(--green-grad); border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: var(--shine), 0 10px 30px rgba(8, 36, 44, 0.35); }
.cart-bar[hidden] { display: none; }
.cart-bar .cart-bar-go { font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem; white-space: nowrap; }
.cart-bar .cart-bar-go::after { content: " \2192"; }
body:has(.cart-bar:not([hidden])) footer { padding-bottom: 96px; }
body:has(.cart-bar:not([hidden])) .toast { bottom: 92px; }

.cart-line .cl-qty { display: flex; align-items: center; gap: 14px; }
.cart-line .cl-qty .stepper { flex: none; }
.cart-line .cl-qty .step { width: 38px; height: 38px; font-size: 1.15rem; }
.cart-line .cl-qty .step-n { min-width: 26px; font-size: 1.05rem; }
.cl-remove { font-size: 0.85rem; text-decoration: underline; padding: 6px 4px; }
.cart-voucher-box { margin-top: 14px; }
.mini-fold { margin: 10px 0; }
.mini-fold > summary { cursor: pointer; color: var(--accent); font-weight: 700; font-size: 0.92rem; text-decoration: underline; list-style: none; }
.mini-fold > summary::-webkit-details-marker { display: none; }
.mini-fold[open] > summary { margin-bottom: 8px; }
.pay-one { margin: 6px 0 16px; padding: 12px 14px; border-left: 4px solid var(--accent); background: rgba(14, 74, 94, 0.06); }
.order-facts { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; gap: 6px; }
