/* Rolf's Pork Store: shared styles for every public page (the counter panel builds on this too).
   Palette from the shop itself: butcher red, black and gold, white tile, cream butcher paper,
   and a slate chalkboard for the price list. */
@font-face { font-family: 'Zilla Slab'; src: url('/fonts/zilla-slab-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Zilla Slab'; src: url('/fonts/zilla-slab-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Libre Franklin'; src: url('/fonts/libre-franklin-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Libre Franklin'; src: url('/fonts/libre-franklin-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('/fonts/caveat-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'UnifrakturMaguntia'; src: url('/fonts/unifrakturmaguntia-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --red: #9b1c1c;
  --red-deep: #6f1414;
  --red-ink: #8a1717;
  --ink: #1c1714;
  --ink-2: #2b231e;
  --muted: #5a5048;
  --paper: #f7f2e9;
  --paper-2: #efe6d6;
  --tile: #fbf9f4;
  --white: #fff;
  --line: #dccfbb;
  --line-2: #c9b99f;
  --gold: #c9962b;
  --gold-light: #e7bf5f;
  --board: #1e2421;
  --board-2: #262d29;
  --board-ink: #f1efe6;
  --chalk-muted: #b8bdb2;
  --wood: #5a3820;
  --wood-2: #3a2314;
  --ok: #1d6b3a;
  --warn-bg: #fff3d1;
  --focus: #1d4fc4;

  --slab: 'Zilla Slab', 'Rockwell', Georgia, serif;
  --sans: 'Libre Franklin', 'Franklin Gothic Book', 'Arial Narrow', Arial, sans-serif;
  --chalk: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --fraktur: 'UnifrakturMaguntia', 'Old English Text MT', Georgia, serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-ui: 220ms;
  --t-enter: 800ms;

  --r: 6px;
  --r-lg: 10px;
  --shadow-sm: 0 1px 0 rgba(28, 23, 20, .06), 0 2px 6px -2px rgba(28, 23, 20, .12);
  --shadow: 0 1px 0 rgba(28, 23, 20, .05), 0 14px 34px -18px rgba(28, 23, 20, .45);
  --gutter: 16px;
  --header-h: 68px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--red-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--t-ui) var(--ease), text-decoration-color var(--t-ui) var(--ease); }
a:hover { color: var(--red-deep); text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.1; text-wrap: balance; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--red); color: #fff; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.2rem); line-height: 1.6; max-width: 38rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--ink); color: #fff; padding: .7rem 1.1rem; z-index: 60; border-radius: var(--r); font-weight: 600; text-decoration: none; transition: top var(--t-ui) var(--ease); }
.skip:focus { top: 1rem; color: #fff; }
.num, .price { font-variant-numeric: tabular-nums; }

/* ---------- header: the red sign over the door ---------- */
.sign {
  position: sticky; top: 0; z-index: 40; background: var(--red); color: #fff;
  transition: background-color var(--t-ui) var(--ease), box-shadow 300ms var(--ease);
}
.sign.scrolled { background: var(--red-deep); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .55); }
.sign-inner { display: flex; align-items: center; gap: 1rem 1.5rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; line-height: 1; flex: none; }
.logo:hover { color: #fff; }
.logo-mark { width: 42px; height: 42px; flex: none; transition: transform 500ms var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg); }
.logo-text { font-family: var(--slab); font-weight: 700; font-size: 1.4rem; letter-spacing: -.01em; }
.logo small { display: block; font-family: var(--sans); font-weight: 400; font-size: .74rem; letter-spacing: .03em; opacity: .9; margin-top: .3rem; }
.sign nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.sign nav a {
  position: relative; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .55rem .7rem; border-radius: var(--r); white-space: nowrap;
}
.sign nav a::after {
  content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px; background: var(--gold-light);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease);
}
.sign nav a:hover::after, .sign nav a[aria-current="page"]::after { transform: scaleX(1); }
.sign nav a:focus-visible { outline-color: #fff; }
.sign nav .nav-call { margin-left: .4rem; border: 1.5px solid rgba(255, 255, 255, .55); padding-inline: .9rem; transition: background-color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease); }
.sign nav .nav-call::after { display: none; }
.sign nav .nav-call:hover { background: #fff; color: var(--red); border-color: #fff; }

/* scalloped awning edge under the header */
.awning {
  height: 18px; position: relative; z-index: 2;
  background: linear-gradient(180deg, transparent 35%, rgba(60, 10, 10, .16)), repeating-linear-gradient(90deg, var(--red) 0 32px, var(--white) 32px 64px);
  -webkit-mask: radial-gradient(16px 18px at 50% 0, #000 98%, transparent 100%) 0 0 / 32px 18px repeat-x;
  mask: radial-gradient(16px 18px at 50% 0, #000 98%, transparent 100%) 0 0 / 32px 18px repeat-x;
}

.notice { background: var(--warn-bg); border-bottom: 1px solid #ead79f; padding: .7rem 0; font-weight: 600; }
p.notice { border: 1px solid #ead79f; border-radius: var(--r); padding: .9rem 1.1rem; margin: 1rem 0 2rem; }

/* ---------- buttons + forms ---------- */
.btn {
  --b: var(--red); --b-hover: var(--red-deep); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem; border: 2px solid var(--b); border-radius: var(--r);
  background: var(--b); color: var(--fg); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 6px 16px -10px rgba(111, 20, 20, .8);
  transition: transform var(--t-ui) var(--ease), background-color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
.btn:hover { background: var(--b-hover); border-color: var(--b-hover); color: var(--fg); transform: translateY(-2px); text-decoration: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 12px 22px -12px rgba(111, 20, 20, .9); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: 80ms; }
.btn .arrow { display: inline-block; transition: transform var(--t-ui) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { --b: transparent; --b-hover: var(--ink); --fg: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn.ghost:hover { color: #fff; }
.btn.gold { --b: var(--gold-light); --b-hover: #f0cd78; --fg: var(--ink); box-shadow: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; }
label { font-weight: 600; display: block; margin-bottom: .35rem; }
input, select, textarea {
  font: inherit; color: inherit; width: 100%; min-height: 46px; padding: .65rem .8rem;
  border: 1px solid #a2968a; border-radius: var(--r); background: #fff;
  transition: border-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: #7c7066; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(155, 28, 28, .2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
textarea { min-height: 5.5rem; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: 1.15rem; height: 1.15rem; min-height: 0; accent-color: var(--red); }
.field { margin-bottom: 1.1rem; }
.hint { font-size: .88rem; color: var(--muted); font-weight: 400; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: .3rem; flex: none; }
.consent { font-size: .9rem; color: var(--muted); }
.error { color: #a00d0d; font-weight: 600; }
.error:empty { display: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- motion: reveal on scroll (only hidden once JS has said it can show them again) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero [data-hero] { opacity: 0; animation: rise var(--t-enter) var(--ease) forwards; }
.js .hero [data-hero="1"] { animation-delay: 80ms; }
.js .hero [data-hero="2"] { animation-delay: 200ms; }
.js .hero [data-hero="3"] { animation-delay: 320ms; }
.js .hero [data-hero="4"] { animation-delay: 440ms; }
.js .hero [data-hero="5"] { animation-delay: 620ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- home: hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero::before {
  /* white butcher-shop tile, fading into the paper */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-color: var(--tile);
  background-image:
    linear-gradient(rgba(150, 132, 108, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 132, 108, .16) 1px, transparent 1px);
  background-size: 46px 46px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .3em; }
.hero h1 .h1-small { display: block; font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--red-ink); margin-top: .35em; line-height: 1.25; }
.hero .lede { margin-bottom: 1.8rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 1.8rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hero-facts a:hover { color: var(--red-ink); text-decoration: underline; }
.hero-facts .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

.sign-stage { position: relative; display: grid; justify-items: center; gap: 0; }
.shop-sign { width: min(100%, 470px); height: auto; overflow: visible; display: block; }
.shop-sign .sg-fraktur { font-family: var(--fraktur); }
.shop-sign .sg-slab { font-family: var(--slab); font-weight: 700; }
.shop-sign .sg-swing { transform-box: view-box; transform-origin: 260px 52px; }
html:not(.js) .shop-sign .sg-swing { animation: sway 5.5s var(--ease-io) infinite alternate; }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
.js .shop-sign .sg-drop { opacity: 0; transform: translateY(-28px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
.js .shop-sign.is-in .sg-drop { opacity: 1; transform: none; }

/* the hours plaque under the sign: white enamel with screws */
.hours {
  position: relative; width: min(100%, 400px); margin-top: -.4rem;
  background: linear-gradient(#fff, #fbf8f2); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 1.15rem 1.3rem 1rem; box-shadow: var(--shadow);
}
.hours::before, .hours::after {
  content: ''; position: absolute; top: 12px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e9e2d6, #8d8173); box-shadow: 0 1px 0 #fff;
}
.hours::before { left: 12px; }
.hours::after { right: 12px; }
.hours-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .4rem; padding-inline: .6rem; }
.hours h2 { font-size: 1.35rem; margin: 0; }
.open-now { margin: 0; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); }
.open-now:empty { display: none; }
.open-now::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #9b8f84; flex: none; }
.open-now.is-open { color: var(--ok); }
.open-now.is-open::before { background: #2f9a58; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 154, 88, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(47, 154, 88, 0); } }
.hours table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours td { padding: .45rem .6rem; border-top: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours tr.today td { font-weight: 600; background: #fdf3e0; }
.hours tr.today td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.closed-days { padding: .6rem .6rem 0; }
.closed-days p { margin: 0; }
.closed-list { margin: .3rem 0 0; padding-left: 1.1rem; font-size: .95rem; }

/* ---------- sections ---------- */
.band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 34rem; justify-self: end; }

/* holiday lists: paper order tickets on butcher red */
.band.holidays { background: var(--red); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.band.holidays::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 33.33%, var(--red-deep) 0 66.66%, var(--gold) 0 100%); opacity: .9; }
.holidays h2 { color: #fff; margin-bottom: 1.4rem; }
#holidays { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; }
.holiday {
  position: relative; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 1.4rem 1.5rem 1.5rem 2rem;
  box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .6);
  transition: transform 300ms var(--ease);
}
.holiday::before {
  /* torn ticket stub edge */
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 12px;
  background: radial-gradient(circle at 0 50%, var(--red) 5px, transparent 5.5px) 0 0 / 12px 16px repeat-y;
  border-right: 1.5px dashed var(--line-2);
}
.holiday h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.holiday p { color: var(--muted); }
.holiday p:last-of-type { color: var(--ink); font-weight: 600; }

/* ---------- the chalkboard price list ---------- */
.band.board-band { background: var(--ink-2); color: var(--board-ink); overflow: hidden; }
.band.board-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 140px),
    linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 30%);
}
.board-band .section-head h2 { color: #fff; }
.board-band .section-head p { color: var(--chalk-muted); }
.board-band a { color: var(--gold-light); }
.board-band a:hover { color: #f6d58a; }
.board-frame {
  position: relative; border-radius: 8px; padding: clamp(10px, 1.6vw, 16px);
  background: linear-gradient(135deg, #7a4d2c, var(--wood) 30%, #6a4426 60%, var(--wood-2));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 0 rgba(0, 0, 0, .3);
}
.board {
  position: relative; border-radius: 3px; padding: clamp(1.4rem, 4vw, 3rem) clamp(1.1rem, 4vw, 3.25rem);
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .06), transparent 60%),
    radial-gradient(90% 70% at 90% 100%, rgba(255, 255, 255, .04), transparent 60%),
    var(--board);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5), inset 0 8px 24px rgba(0, 0, 0, .45);
  columns: 2 24rem; column-gap: clamp(2rem, 5vw, 4.5rem); column-rule: 1px dashed rgba(241, 239, 230, .14);
}
.board > p { color: var(--chalk-muted); column-span: all; margin: 0; font-family: var(--chalk); font-size: 1.5rem; }
.board-group { break-inside: avoid; margin-bottom: 2.2rem; }
.board-group:last-child { margin-bottom: 0; }
.board-group h3 {
  font-family: var(--chalk); font-weight: 600; font-size: 2.1rem; letter-spacing: .01em; line-height: 1;
  color: var(--gold-light); margin-bottom: .2rem; padding-bottom: .55rem; position: relative;
}
.board-group h3::after {
  /* a hand-drawn chalk underline */
  content: ''; position: absolute; left: 0; bottom: 0; width: min(100%, 12rem); height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5.5C40 2 80 6.5 120 3.5S180 3 198 4.5' fill='none' stroke='%23e7bf5f' stroke-width='2.4' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  transform-origin: left;
}
.board-group > p { color: var(--chalk-muted); font-size: .95rem; margin: .5rem 0 .6rem; }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: baseline; gap: .55rem; padding: .32rem 0; }
.board li .name { flex: 0 1 auto; min-width: 0; }
.board li .dots { flex: 1 1 1rem; min-width: 1rem; border-bottom: 2px dotted rgba(241, 239, 230, .3); transform: translateY(-.3rem); transform-origin: left; }
.board li .price { position: relative; flex: none; font-family: var(--chalk); font-weight: 600; font-size: 1.45rem; line-height: 1; color: #fff; white-space: nowrap; }
.board li.out .name { text-decoration: line-through; text-decoration-color: rgba(241, 239, 230, .6); color: var(--chalk-muted); }
.board li .tag { font-family: var(--sans); font-size: .75rem; font-weight: 600; background: var(--gold-light); color: var(--ink); padding: .12rem .45rem; border-radius: 3px; display: inline-block; transform: rotate(-3deg); }
.board .desc { display: block; font-size: .85rem; color: var(--chalk-muted); }
/* prices "write in": a slate-coloured cover wipes away left to right, staggered per line */
.js .board.chalk li .price::after {
  content: ''; position: absolute; inset: -4px -6px; background: var(--board); transform-origin: right;
  transition: transform 520ms var(--ease-io); transition-delay: calc(var(--i, 0) * 55ms + 200ms);
}
.js .board.chalk li .dots { transform: translateY(-.3rem) scaleX(0); transition: transform 600ms var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js .board.chalk .board-group h3::after { transform: scaleX(0); transition: transform 700ms var(--ease) 100ms; }
.js .board.chalk .board-group.in li .price::after { transform: scaleX(0); }
.js .board.chalk .board-group.in li .dots { transform: translateY(-.3rem) scaleX(1); }
.js .board.chalk .board-group.in h3::after { transform: scaleX(1); }
.board-note { color: var(--chalk-muted); font-size: .95rem; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; }

/* ---------- imports + venison ---------- */
.shelf-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.shelf-tags { display: flex; flex-wrap: wrap; gap: .7rem .6rem; list-style: none; margin: 1.5rem 0 1.25rem; padding: 0; }
.shelf-tags li {
  position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 4px 14px 14px 4px;
  padding: .55rem 1rem .55rem 1.65rem; font-weight: 600; font-size: .98rem; box-shadow: var(--shadow-sm);
  transition: transform var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
.shelf-tags li::before { content: ''; position: absolute; left: .6rem; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.shelf-tags li:nth-child(3n+1) { transform: rotate(-1deg); }
.shelf-tags li:nth-child(3n+2) { transform: rotate(.8deg); }
.shelf-tags li:hover { transform: translateY(-2px) rotate(0); box-shadow: var(--shadow); }
.paper-panel {
  position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem); box-shadow: var(--shadow);
}
.paper-panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: repeating-linear-gradient(90deg, var(--red) 0 18px, #fff 18px 36px); }
.stamp {
  display: inline-block; font-family: var(--slab); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red-ink); border: 2px solid currentColor; border-radius: 4px; padding: .3rem .6rem; transform: rotate(-4deg); margin: .25rem 0 1rem;
}
.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.text-link .arrow { transition: transform var(--t-ui) var(--ease); }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- visit: the shop door ---------- */
.band.visit { background: var(--paper-2); border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: stretch; }
.door {
  position: relative; border-radius: 10px 10px 4px 4px; padding: clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(160deg, #2f3a36, #1a201d 60%); color: var(--board-ink);
  border: 10px solid var(--wood-2); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .06);
  display: flex; flex-direction: column; justify-content: space-between; min-height: 20rem; overflow: hidden;
}
.door::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .07) 45%, transparent 55%); pointer-events: none; }
.door-number { font-family: var(--slab); font-weight: 700; font-size: clamp(6rem, 16vw, 9.5rem); line-height: .85; color: var(--gold-light); letter-spacing: -.03em; margin: 0; text-shadow: 0 2px 0 #8a6519; }
.door address { font-style: normal; font-size: 1.2rem; line-height: 1.45; margin-top: 1.25rem; }
.door address strong { font-family: var(--slab); font-size: 1.6rem; display: block; }
.door a { color: var(--gold-light); }
.visit-info { display: grid; gap: 0; align-content: start; }
.visit-info h2 { margin-bottom: 1.25rem; }
.visit-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .5rem 1.25rem; padding: 1.1rem 0; border-top: 1px solid var(--line-2); }
.visit-row:last-child { border-bottom: 1px solid var(--line-2); }
.visit-row h3 { font-family: var(--sans); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: .3rem 0 0; }
.visit-row p { margin: 0; }
.big-phone { font-family: var(--slab); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.1; }
.big-phone a { color: var(--ink); text-decoration: none; }
.big-phone a:hover { color: var(--red-ink); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #ddd5ca; font-size: .95rem; position: relative; }
.flagline { height: 6px; background: linear-gradient(90deg, #000 0 33.33%, var(--red) 0 66.66%, var(--gold) 0); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 1.5rem 3rem; padding: clamp(2.25rem, 5vw, 3.25rem) 0 1.5rem; }
.footer p { margin: 0 0 .35rem; }
.footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.footer a:hover { color: var(--gold-light); }
.foot-name { font-family: var(--fraktur); font-size: 2rem; color: #fff; line-height: 1.1; margin-bottom: .5rem !important; }
.footer nav { display: flex; flex-direction: column; gap: .35rem; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1rem 0 1.5rem; font-size: .85rem; color: #b9b0a5; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }

/* ---------- inner pages: shared page header ---------- */
.page-hero { position: relative; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line); background: var(--tile); overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(150, 132, 108, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 132, 108, .13) 1px, transparent 1px);
  background-size: 46px 46px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to right, transparent 30%, #000); mask-image: linear-gradient(to right, transparent 30%, #000);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); margin-bottom: .3em; }
.page-hero .lede { margin: 0; color: var(--ink-2); }
.crumb { font-size: .9rem; margin: 0 0 .8rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--red-ink); text-decoration: underline; }

/* ---------- order page ---------- */
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 22.5rem; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding: clamp(1.75rem, 4vw, 2.75rem) 0 4rem; }
fieldset.lists { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; }
fieldset.lists legend { padding: 0; margin-bottom: .9rem; }
fieldset.lists legend h2 { font-size: 1.45rem; margin: 0; }
#lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .75rem; }
.list-choice {
  position: relative; display: flex; gap: .8rem; align-items: flex-start; border: 2px solid var(--line); border-radius: var(--r-lg);
  padding: 1rem 1.1rem; background: #fff; cursor: pointer; font-weight: 400;
  transition: border-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease), transform var(--t-ui) var(--ease);
}
.list-choice:hover { border-color: var(--line-2); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.list-choice input { width: auto; margin-top: .25rem; flex: none; }
.list-choice:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 3px rgba(155, 28, 28, .12); }
.list-choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.list-choice strong { display: block; font-family: var(--slab); font-size: 1.15rem; }
#catalog:empty::before { content: 'Loading the counter…'; display: block; color: var(--muted); padding: 2rem 0; }
.cat { margin-bottom: 2.25rem; }
.cat h2 { font-size: 1.55rem; display: flex; align-items: center; gap: .8rem; margin-bottom: .35rem; }
.cat h2::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, var(--ink), transparent); }
.cat > p { margin-bottom: .5rem; }
.prod {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1rem; align-items: center;
  padding: .8rem .75rem; margin-inline: -.75rem; border-bottom: 1px solid var(--line); border-radius: var(--r);
  transition: background-color var(--t-ui) var(--ease);
}
.prod:hover { background: rgba(255, 255, 255, .7); }
.prod:has(input:not(:placeholder-shown)) { background: #fff; box-shadow: inset 3px 0 0 var(--red); }
.prod .pname { font-weight: 600; }
.prod .pmeta { font-size: .9rem; color: var(--muted); }
.qty { display: flex; align-items: center; gap: .3rem; }
.qty button {
  width: 2.5rem; height: 2.5rem; border: 1px solid #a2968a; background: #fff; border-radius: 50%;
  font: 600 1.2rem/1 var(--sans); cursor: pointer; color: var(--ink);
  transition: background-color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), transform 120ms var(--ease), color var(--t-ui) var(--ease);
}
.qty button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.qty button:active { transform: scale(.9); }
.qty input { width: 4.6rem; min-height: 2.5rem; text-align: center; padding: .4rem .3rem; font-variant-numeric: tabular-nums; }
.qty .u { font-size: .85rem; color: var(--muted); min-width: 2.6rem; }
.prod.soldout .pname { text-decoration: line-through; color: var(--muted); }

/* the summary: a butcher's ticket with a torn top edge */
.summary {
  position: sticky; top: calc(var(--header-h) + 1rem); background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 1.6rem 1.4rem 1.3rem; box-shadow: var(--shadow); border: 1px solid var(--line-2); border-top: 0;
}
.summary::before {
  content: ''; position: absolute; left: -1px; right: -1px; top: -10px; height: 10px;
  background: radial-gradient(circle at 8px 10px, #fff 7px, transparent 7.5px) 0 0 / 16px 10px repeat-x;
}
.summary h2 { font-size: 1.4rem; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); }
.summary ul { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .95rem; }
.summary li { display: flex; justify-content: space-between; gap: .75rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); animation: slip-in 300ms var(--ease); }
.summary li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary li.muted { justify-content: center; padding: 1.25rem 0; font-style: italic; animation: none; }
@keyframes slip-in { from { opacity: 0; transform: translateX(-6px); } }
.summary .est-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.summary .est { font-family: var(--slab); font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.estimate-note { font-size: .88rem; color: var(--muted); }
.checkout { border-top: 4px double var(--ink); padding-top: 1.75rem; margin-top: 1.25rem; max-width: 42rem; }
.checkout h2 { font-size: 1.55rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

/* ---------- private order page ---------- */
.track { max-width: 46rem; padding: clamp(1.75rem, 4vw, 3rem) 0 4rem; }
.ticket { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.ticket::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: repeating-linear-gradient(90deg, var(--red) 0 18px, #fff 18px 36px); }
.ticket h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.ticket-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.skeleton { display: grid; gap: .7rem; margin-top: 1.25rem; }
.skeleton span { display: block; height: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--paper-2), #f8f3ea, var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton span:nth-child(2) { width: 80%; }
.skeleton span:nth-child(3) { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.steps { list-style: none; padding: 0; margin: 1.5rem 0 1.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; counter-reset: step; }
.steps li { position: relative; padding: .8rem .2rem 0; font-size: .9rem; color: var(--muted); counter-increment: step; }
.steps li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 3px; background: var(--line); }
.steps li::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease); }
.steps li.done { color: var(--ink); font-weight: 600; }
.steps li.done::after { transform: scaleX(1); }
.steps li:nth-child(2)::after { transition-delay: 120ms; }
.steps li:nth-child(3)::after { transition-delay: 240ms; }
.steps li:nth-child(4)::after { transition-delay: 360ms; }
.lines { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; font-size: .97rem; }
.lines th { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.lines th, .lines td { text-align: left; padding: .6rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.lines td.num, .lines th.num { text-align: right; font-variant-numeric: tabular-nums; }
.total-line { font-family: var(--slab); font-size: 1.5rem; font-weight: 700; margin-bottom: .25rem; }
.status-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .75rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .88rem; }
.status-pill:empty { display: none; }
.status-pill.cancelled { background: #6b6460; }
.status-pill.packed, .status-pill.picked_up { background: var(--ok); }
.ticket-foot { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px dashed var(--line-2); }

/* ---------- legal pages ---------- */
.legal { max-width: 46rem; padding: clamp(2rem, 5vw, 3rem) 0 4.5rem; }
.legal h2 { font-size: 1.45rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .45rem; }
.legal li::marker { color: var(--red); }

/* ---------- venison ---------- */
.venison-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; padding: clamp(2rem, 5vw, 3rem) 0 4.5rem; }
.rules h2, .prices h2 { font-size: 1.5rem; }
.vtable { width: 100%; border-collapse: collapse; margin: .5rem 0 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.vtable th, .vtable td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.vtable thead th { background: var(--ink); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.vtable tbody tr { transition: background-color var(--t-ui) var(--ease); }
.vtable tbody tr:hover { background: #fdf6ea; }
.vtable tbody tr:last-child > * { border-bottom: 0; }
.vtable td.num, .vtable th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- 404 / 500 ---------- */
.error-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(2.5rem, 7vw, 5.5rem) 0; }
.error-page .lede { margin-bottom: 1.75rem; }
.mini-sign { width: min(100%, 340px); justify-self: center; overflow: visible; }
.mini-sign .sg-swing { transform-box: view-box; transform-origin: 170px 30px; animation: sway 4.5s var(--ease-io) infinite alternate; }
.mini-sign .sg-slab { font-family: var(--slab); font-weight: 700; }
.mini-sign .sg-fraktur { font-family: var(--fraktur); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .sign nav a:not(.nav-call) { padding-inline: .5rem; }
  .sign nav a::after { left: .5rem; right: .5rem; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .sign-stage { display: contents; }
  .shop-sign { order: -1; width: min(100%, 280px); justify-self: center; margin-bottom: -.75rem; }
  .hours { justify-self: stretch; width: auto; max-width: 30rem; margin-top: 0; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .shelf-grid, .visit-grid, .venison-grid, .error-page { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer nav { flex-direction: row; flex-wrap: wrap; gap: .4rem 1.2rem; grid-column: 1 / -1; }
  .mini-sign { order: -1; width: min(100%, 260px); }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .sign-inner { flex-wrap: wrap; gap: 0; padding-top: .55rem; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text { font-size: 1.25rem; }
  .sign nav {
    margin: 0 calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); padding: .25rem var(--gutter) .45rem;
    overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .sign nav::-webkit-scrollbar { display: none; }
  .sign nav a { padding: .45rem .55rem; font-size: .92rem; }
  .sign nav .nav-call { margin-left: .25rem; }
  html { scroll-padding-top: 120px; }
  .summary { top: auto; }
}
@media (max-width: 560px) {
  .two { grid-template-columns: 1fr; }
  .prod { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .board { columns: 1; }
  .board li .price { font-size: 1.3rem; }
  .visit-row { grid-template-columns: 1fr; gap: .2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps li { font-size: .78rem; }
  .lines th, .lines td { padding: .5rem .25rem; font-size: .9rem; }
  .hours-top { flex-direction: column; gap: .25rem; }
}

/* ---------- reduced motion: everything visible, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero [data-hero], .js .shop-sign .sg-drop { opacity: 1 !important; transform: none !important; animation: none !important; }
  html:not(.js) .shop-sign .sg-swing, .mini-sign .sg-swing { animation: none !important; }
  .js .board.chalk li .price::after { display: none; }
  .js .board.chalk li .dots { transform: translateY(-.3rem) !important; }
  .js .board.chalk .board-group h3::after { transform: none !important; }
}

@media print {
  .sign nav, .awning, .footer, .btn, .skip, .sign-stage { display: none !important; }
  .sign { position: static; }
  body { background: #fff; }
}
