/* =====================================================================
   STANDARD · "LA LAVAGNA"  (built from the real store)
   Hand-chalked boards with folk-floral corners in white frames,
   burgundy subway tile, oak slat counters, checkered tray paper,
   deli-scale price labels, take-a-number cart and a ticket rail.
   ===================================================================== */
:root {
  --felt: #191817;
  --letter: #f3f0e8;
  --tile: #2e7a59;
  --tile-l: #d4e9de;
  --grout: #e9f2ec;
  --red: #c1121f;
  --red-d: #970d17;
  --enamel: #f4f2ec;
  --kraft: #cfae7c;
  --kraft-l: #e3cba3;
  --ink: #1d1d1b;
  --mute: #5f5d57;
  --steel: #b9bcbf;
  --body: "Rubik", system-ui, sans-serif;
  --script: "Yesteryear", cursive;
  --chalk: "Cabin Sketch", "Rubik", sans-serif;
  --hand: "Caveat", cursive;
  --print: "Courier Prime", ui-monospace, monospace;
  --it: var(--print);
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--enamel); color: var(--ink); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 999; background: #000; color: #fff; padding: 10px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -.18em; flex: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; }

/* ---------- burgundy subway tile (the real back wall) ---------- */
.tiles-bg {
  background-color: #8a2c31;
  background-image:
    linear-gradient(90deg, #eadfd6 2px, transparent 2px),
    linear-gradient(#eadfd6 2px, transparent 2px),
    linear-gradient(100deg, rgba(255,255,255,.16) 0 12%, transparent 30%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 28px, rgba(255,255,255,.04) 28px 56px, rgba(0,0,0,.02) 56px 84px);
  background-size: 28px 84px, 28px 84px, 28px 84px, 84px 84px;
}
/* light oak slat panelling (the counters) */
.tiles-light { background-color: #d8c19b; background-image: repeating-linear-gradient(90deg, #e2cda9 0 20px, #c9ad83 20px 23px, #2d241e 23px 27px); }
/* red-and-white checkered tray paper */
.check-paper { background: conic-gradient(#d7262e 25%, #fff 0 50%, #d7262e 0 75%, #fff 0) 0 0 / 22px 22px; }

/* ---------- header (the white storefront sign) ---------- */
header.site { position: sticky; top: 0; z-index: 40; background: #fbf8f2; color: var(--ink); border-bottom: 14px solid transparent; border-image: linear-gradient(90deg, #8a2c31, #8a2c31) 1; box-shadow: 0 1px 0 #6b1f24; }
header.site .wrap { display: flex; align-items: center; gap: 18px; height: 84px; }
.logo { text-decoration: none; font: 400 48px/1 var(--script); color: #c1272d; white-space: nowrap; position: relative; }
.logo small { font: 500 14px/1 var(--body); color: var(--tile); display: block; text-align: right; margin-top: -4px; letter-spacing: .02em; }
nav.rail { display: flex; gap: 8px; margin-left: auto; }
nav.rail a { text-decoration: none; background: #23272a; color: #f4f1ea; font: 400 20px/1 var(--hand); font-weight: 700; padding: 8px 14px; border-radius: 3px; border: 3px solid #f4efe6; box-shadow: 0 3px 6px rgba(0,0,0,.25); transition: transform .12s; }
nav.rail a:hover { transform: translateY(-2px); }
nav.rail a[aria-current="page"] { background: #c1272d; }
.num-tkt { text-decoration: none; display: flex; align-items: center; background: var(--red); color: #fff; border-radius: 10px 4px 4px 10px; position: relative; box-shadow: 0 4px 0 var(--red-d); transition: transform .15s; }
.num-tkt:hover { transform: translateY(-2px) rotate(-1deg); }
.num-tkt .l { padding: 6px 12px 6px 14px; font: 600 11px/1.15 var(--body); text-transform: uppercase; letter-spacing: .06em; }
.num-tkt .n { font: 800 30px/1 var(--body); padding: 8px 14px; border-left: 2px dashed rgba(255,255,255,.6); font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; }
.num-tkt.bump { animation: bump .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes bump { 40% { transform: scale(1.14) rotate(-3deg); } }
.burger { display: none; margin-left: auto; background: var(--enamel); border: 0; border-radius: 3px; padding: 10px 14px; font: 700 15px var(--body); box-shadow: 0 3px 0 rgba(0,0,0,.35); cursor: pointer; }

/* ---------- chalkboard (la lavagna), white wood frame like in store ---------- */
.board { background-color: #1f2422; background-image: radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.07), transparent 55%), radial-gradient(ellipse at 80% 70%, rgba(255,255,255,.05), transparent 50%), radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.5px); background-size: auto, auto, 5px 5px; color: #f4f1ea; border: 14px solid #f3eee4; box-shadow: 0 0 0 2px #d6cfc2, 0 30px 60px -30px rgba(0,0,0,.55), inset 0 0 60px rgba(0,0,0,.55); position: relative; }
.board .orn { position: absolute; width: clamp(70px, 11vw, 150px); height: auto; pointer-events: none; opacity: .95; }
.board .orn.tl { left: 6px; top: 6px; }
.board .orn.tr { right: 6px; top: 6px; transform: scaleX(-1); }
.board .orn.bl { left: 6px; bottom: 6px; transform: scaleY(-1); }
.board .orn.br { right: 6px; bottom: 6px; transform: scale(-1, -1); }
.lb { font: 700 clamp(20px, 2.5vw, 34px)/1.25 var(--chalk); text-transform: uppercase; letter-spacing: .04em; margin: 0; text-shadow: 0 0 1px rgba(255,255,255,.6), 0 0 6px rgba(255,255,255,.12); }
.lb.script { font: 700 clamp(26px, 3.2vw, 44px)/1.15 var(--hand); text-transform: none; letter-spacing: 0; }
.lb .w { display: inline-block; white-space: nowrap; }
.lb .ch { display: inline-block; transform: rotate(var(--r, 0deg)) translateY(var(--y, 0)); }
.lb.anim .ch { opacity: 0; animation: chalk .28s calc(var(--i) * 18ms) ease-out forwards; }
@keyframes chalk { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
.lb.red { color: #ef6d6f; }
.lb.lime { color: #d9ef8f; }
.lb.pink { color: #f3b3c1; }
.lb.sm { font-size: clamp(16px, 1.9vw, 22px); }
.lb.xl { font-size: clamp(34px, 5vw, 66px); line-height: 1.05; margin-bottom: 10px; }
.lb-row { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.lb-row .dots { flex: 1; border-bottom: 3px dashed rgba(243, 240, 232, .45); transform: translateY(-.35em); }
.hero-board { padding: clamp(24px, 4vw, 52px); display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: center; }
.hero-board .pinned { position: relative; transform: rotate(3deg); }
.hero-board .pinned img { border: 10px solid #fff; border-bottom-width: 46px; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 18px 30px -10px rgba(0,0,0,.7); }
.hero-board .pinned figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 700 28px var(--hand); color: var(--ink); }
.clip { position: absolute; top: -16px; left: 50%; width: 70px; height: 26px; margin-left: -35px; background: linear-gradient(#dcdfe2, #8d9196); border-radius: 4px; box-shadow: 0 3px 4px rgba(0,0,0,.5); z-index: 2; }
.board-title { padding: 16px 24px; display: inline-block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font: 700 18px/1 var(--body); padding: 18px 26px; border-radius: 6px; border: 0; cursor: pointer; background: var(--red); color: #fff; box-shadow: 0 5px 0 var(--red-d); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--red-d); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--red-d); }
.btn.dark { background: var(--felt); box-shadow: 0 5px 0 #000; }
.btn.green { background: var(--tile); box-shadow: 0 5px 0 #1d5a40; }
.btn.paper { background: #fff; color: var(--ink); box-shadow: 0 5px 0 var(--steel); }
.btn.lg { font-size: 21px; padding: 22px 30px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- sections ---------- */
section { padding: 80px 0; }
.hero { padding: 44px 0 60px; }
.under-board { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.under-board p { margin: 0; font-size: 20px; max-width: 46ch; }
.open-sign { display: inline-flex; align-items: center; gap: 10px; font: 700 15px var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 10px 16px; border: 3px solid var(--ink); border-radius: 8px; background: #fff; }
.open-sign i { width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.open-sign.open { border-color: var(--tile); color: var(--tile); }
.open-sign.open i { background: #2ecc71; box-shadow: 0 0 0 4px rgba(46, 204, 113, .25), 0 0 12px #2ecc71; }
.big-h { font: 800 clamp(36px, 5vw, 64px)/1 var(--body); letter-spacing: -.02em; margin-bottom: 14px; }
.big-h .s { font: 700 1.1em var(--hand); color: var(--red); letter-spacing: 0; }
.say { font-size: 20px; color: var(--mute); max-width: 52ch; }

/* ---------- deli case ---------- */
.case { position: relative; background: linear-gradient(180deg, #e9eef0 0, #fbfcfc 18%, #f2f4f4 100%); border: 3px solid var(--steel); border-radius: 18px 18px 6px 6px; padding: 34px 0 0; overflow: hidden; }
.case::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 34px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.9) 30%, rgba(255,255,255,0) 60%), linear-gradient(#c9d2d6, #e8edef); border-bottom: 2px solid var(--steel); }
.case-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 26px 30px; scrollbar-width: thin; }
.case-item { scroll-snap-align: start; flex: 0 0 250px; position: relative; }
.case-item img { width: 250px; height: 200px; object-fit: cover; border-radius: 10px 10px 0 0; }
.case-shelf { height: 14px; background: conic-gradient(#d7262e 25%, #fff 0 50%, #d7262e 0 75%, #fff 0) 0 0 / 14px 14px; border-radius: 0 0 6px 6px; margin-bottom: 14px; }

/* deli scale label (the price sticker) */
.label { background: #fff; border: 1.5px solid #222; border-radius: 4px; padding: 10px 12px 8px; font-family: var(--body); box-shadow: 2px 3px 0 rgba(0,0,0,.08); position: relative; }
.label .top { display: flex; justify-content: space-between; font: 600 10px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid #222; padding-bottom: 4px; margin-bottom: 6px; }
.label h3 { font: 700 18px/1.15 var(--body); margin: 0 0 2px; }
.label .it { font: 700 14px/1.2 var(--it); letter-spacing: .08em; text-transform: uppercase; color: var(--tile); }
.label p { font-size: 14px; color: var(--mute); margin: 6px 0 8px; line-height: 1.35; }
.label .bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.label .price { font: 800 30px/1 var(--body); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.label .price small { font-size: .45em; vertical-align: top; margin-right: 1px; }
.barcode { height: 22px; width: 70px; background: repeating-linear-gradient(90deg, #222 0 1px, transparent 1px 3px, #222 3px 5px, transparent 5px 6px, #222 6px 7px, transparent 7px 10px); opacity: .85; }
.label .star { position: absolute; top: -12px; right: -8px; background: var(--red); color: #fff; font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 20px; transform: rotate(8deg); }
.add { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 0 var(--red-d); transition: transform .12s, background .2s; flex: none; font-size: 22px; }
.add:hover { transform: scale(1.08); }
.add.added { background: var(--tile); box-shadow: 0 3px 0 #1d5a40; }

/* menu page grid */
.cat { padding: 50px 0 10px; scroll-margin-top: 150px; }
.cat-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }
.cat-head .board { padding: 12px 22px; border-width: 8px; }
.cat-head p { margin: 0; color: var(--mute); max-width: 40ch; }
.labels { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 20px; }
.labels .with-img img { width: 100%; height: 170px; object-fit: cover; border-radius: 4px 4px 0 0; border: 1.5px solid #222; border-bottom: 0; }
.labels .with-img .label { border-radius: 0 0 4px 4px; }
.cat-jump { position: sticky; top: 84px; z-index: 20; background: var(--enamel); border-bottom: 2px solid var(--ink); display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; }
.cat-jump a { white-space: nowrap; text-decoration: none; font: 600 15px var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 10px 14px; background: var(--felt); color: var(--letter); border-radius: 4px; }
.cat-jump a:hover { background: var(--red); }
.sticker-note { display: inline-flex; gap: 10px; align-items: center; background: #fff7c7; border: 1.5px solid #222; padding: 12px 16px; border-radius: 4px; transform: rotate(-.6deg); margin-top: 18px; font-weight: 500; }
.sample { font-size: 14px; color: var(--mute); }

/* ---------- ticket stubs (real sequence) ---------- */
.stubs { display: grid; grid-template-columns: repeat(3, 1fr); }
.stub { background: #fff; padding: 26px 26px 30px; position: relative; border: 2px solid var(--ink); border-right-style: dashed; }
.stub:last-child { border-right-style: solid; }
.stub .n { font: 800 64px/1 var(--body); color: var(--red); font-variant-numeric: tabular-nums; }
.stub h3 { font: 700 24px var(--body); margin: 8px 0 6px; }
.stub p { margin: 0; color: var(--mute); }
.stub::before, .stub::after { content: ""; position: absolute; right: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--enamel); z-index: 1; border: 2px solid var(--ink); }
.stub::before { top: -11px; } .stub::after { bottom: -11px; }
.stub:last-child::before, .stub:last-child::after { display: none; }

/* ---------- kitchen ticket rail (reviews) ---------- */
.rail-wrap { position: relative; padding-top: 30px; }
.rail-bar { height: 18px; background: linear-gradient(#f1f3f4, #8f969a 60%, #c5cacd); border-radius: 9px; box-shadow: 0 6px 10px -4px rgba(0,0,0,.5); position: relative; z-index: 2; }
.slips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: -8px; padding: 0 20px; }
.slip { background: #fffef9; padding: 28px 22px 26px; font: 500 17px/1.45 var(--print); box-shadow: 0 14px 20px -12px rgba(0,0,0,.4); transform-origin: 50% 0; transform: rotate(var(--rot, 0deg)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); position: relative; }
.slip:hover { transform: rotate(0deg) translateY(4px); }
.slip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(-45deg, transparent 6px, #fffef9 6px) 0 0 / 12px 10px, linear-gradient(45deg, transparent 6px, #fffef9 6px) 0 0 / 12px 10px; }
.slip .hd { display: flex; justify-content: space-between; border-bottom: 1.5px dashed #555; padding-bottom: 8px; margin-bottom: 12px; font-size: 14px; }
.slip b { display: block; margin-top: 14px; font-size: 14px; }
.slip .stars { color: var(--red); letter-spacing: 2px; }

/* ---------- kraft panels / forms ---------- */
.kraft { background-color: var(--kraft-l); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .32 0 0 0 0 .16 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.panel { padding: 30px; border-radius: 4px; box-shadow: 0 20px 40px -24px rgba(60, 40, 10, .55); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: 400 18px var(--body); padding: 14px 15px; border: 2px solid var(--ink); border-radius: 4px; background: #fffdf7; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px rgba(193, 18, 31, .25); border-color: var(--red); }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 24px; height: 24px; flex: none; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.err { color: var(--red-d); font-weight: 700; margin-top: 8px; }

/* thermal receipt (cart) */
.receipt { background: #fff; padding: 26px 22px 34px; font-family: var(--print); position: relative; box-shadow: 0 20px 40px -24px rgba(0,0,0,.45); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: linear-gradient(-45deg, transparent 7px, #fff 7px) 0 0 / 14px 12px, linear-gradient(45deg, transparent 7px, #fff 7px) 0 0 / 14px 12px; }
.receipt .rh { text-align: center; border-bottom: 1.5px dashed #444; padding-bottom: 12px; margin-bottom: 12px; }
.receipt .rh b { font: 400 34px var(--script); display: block; color: var(--red); }
.cl { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1.5px dashed #bbb; }
.cl img { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; filter: saturate(1.1); }
.cl b { font-size: 16px; display: block; }
.cl small { color: var(--mute); }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 6px; background: #fff; overflow: hidden; font-family: var(--body); }
.stepper button { width: 38px; height: 38px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); font-size: 18px; }
.stepper button:hover { background: var(--tile-l); }
.stepper output { min-width: 30px; text-align: center; font-weight: 800; font-size: 18px; }
.tops { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; font-family: var(--body); }
.tops label { display: inline-flex; gap: 5px; align-items: center; font-size: 12.5px; font-weight: 500; margin: 0; padding: 4px 9px; border: 1.5px solid #bbb; border-radius: 4px; cursor: pointer; }
.tops input { width: 14px; height: 14px; accent-color: var(--red); }
.tops label:has(input:checked) { border-color: var(--red); background: #fdecee; }
.totals { display: flex; justify-content: space-between; font-size: 24px; font-weight: 700; margin-top: 14px; padding-top: 12px; border-top: 3px double #444; }
.empty { text-align: center; padding: 30px 10px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.quick button { display: flex; gap: 10px; align-items: center; font: 500 14px var(--body); text-align: left; border: 1.5px solid #222; border-radius: 4px; background: #fff; padding: 6px; cursor: pointer; }
.quick button:hover { background: var(--tile-l); }
.quick img { width: 38px; height: 38px; object-fit: cover; border-radius: 3px; }
.order-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }

/* wholesale */
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.wcard { transition: transform .2s; }
.wcard.on .label { border-color: var(--tile); box-shadow: 0 0 0 3px var(--tile); }
.wcard img { width: 100%; height: 150px; object-fit: cover; border: 1.5px solid #222; border-bottom: 0; border-radius: 4px 4px 0 0; }
.wcard .label { border-radius: 0 0 4px 4px; }
.days { display: flex; gap: 8px; flex-wrap: wrap; }
.days label { margin: 0; padding: 11px 14px; border: 2px solid var(--ink); border-radius: 4px; background: #fffdf7; cursor: pointer; font-weight: 700; }
.days input { position: absolute; opacity: 0; }
.days label:has(input:checked) { background: var(--tile); color: #fff; border-color: var(--tile); }

/* modal + toast */
.modal { position: fixed; inset: 0; background: rgba(15, 12, 10, .75); z-index: 100; display: none; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 30px 14px; }
.modal.show { display: flex; }
.modal-box { background: var(--enamel); border-radius: 8px; max-width: 800px; width: 100%; padding: 26px; animation: drop .5s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes drop { from { transform: translateY(-40px) rotate(-1deg); opacity: 0; } }
.modal-box .row { justify-content: space-between; margin-bottom: 14px; }
.demo-flag { background: #fff7c7; border: 1.5px solid #222; padding: 10px 14px; border-radius: 4px; font-size: 14px; margin-bottom: 14px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; background: var(--felt); color: var(--letter); padding: 14px 20px; border-radius: 6px; font-weight: 600; z-index: 90; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), opacity .2s, visibility .2s; display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast a { color: #ff8f8f; }

.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 0; border-bottom: 2px dotted rgba(243, 240, 232, .35); font: 600 clamp(16px, 2vw, 21px) var(--body); text-transform: uppercase; letter-spacing: .06em; }
.hours td:last-child { text-align: right; }
.hours .today td { color: #ff8f8f; }
.map { width: 100%; height: 420px; border: 3px solid var(--ink); border-radius: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.framed { border: 3px solid var(--ink); border-radius: 6px; aspect-ratio: 5/4; object-fit: cover; width: 100%; box-shadow: 10px 10px 0 var(--tile); }

footer.site { color: #fff; padding: 56px 0 30px; }
footer.site .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 26px; }
footer.site .card { background: var(--enamel); color: var(--ink); padding: 22px; border-radius: 4px; box-shadow: 0 5px 0 rgba(0,0,0,.3); }
footer.site .card h4 { margin: 0 0 8px; font: 700 14px var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--tile); }
footer.site .card a { display: block; padding: 2px 0; }
footer.site .logo { font-size: 54px; }
footer.site .fine { grid-column: 1/-1; text-align: center; font-size: 14px; background: rgba(0,0,0,.35); padding: 10px; border-radius: 4px; }

@media (max-width: 980px) {
  .hero-board { grid-template-columns: 1fr; }
  .hero-board .pinned { max-width: 260px; margin: 10px auto 0; }
  .split, .order-layout { grid-template-columns: 1fr; }
  .stubs, .slips { grid-template-columns: 1fr; }
  .stub { border-right-style: solid; border-bottom-style: dashed; }
  .stub::before, .stub::after { display: none; }
  .slips { gap: 40px; }
  footer.site .wrap { grid-template-columns: 1fr; }
  nav.rail { display: none; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; padding: 14px 20px 20px; background: var(--tile); }
  nav.rail.open { display: flex; }
  nav.rail a { font-size: 20px; padding: 14px; }
  .burger { display: block; }
  .num-tkt .l { display: none; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .logo { font-size: 36px; }
  .lb-row .dots { display: none; }
  .lb-row { flex-wrap: wrap; gap: 4px 14px; }
  section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .lb.anim .ch { opacity: 1; } }
@media print { body > *:not(.modal) { display: none !important; } .modal { position: static; background: none; padding: 0; display: block; } .modal-box { padding: 0; background: #fff; } .modal-box > :not(#ticketMount) { display: none !important; } }

/* ---------- buttons as take-a-number tickets (replaces the stock 3D button) ---------- */
.btn { border-radius: 0; box-shadow: none; padding: 15px 30px; flex-direction: column; gap: 2px; line-height: 1.05; text-transform: uppercase; letter-spacing: .04em; font-size: 17px;
  outline: 2px dashed rgba(255,255,255,.55); outline-offset: -7px;
  -webkit-mask: radial-gradient(circle 10px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 10px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat; }
.btn:hover { transform: rotate(-1.5deg); box-shadow: none; }
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn .ic { display: none; }
.btn .tk { font: 500 11px/1 var(--body); letter-spacing: .16em; opacity: .85; }
.btn.lg { font-size: 19px; padding: 17px 34px; }
.btn.dark, .btn.green, .btn.paper { box-shadow: none; }
.btn.paper { outline-color: rgba(0,0,0,.35); }
.btn.dark:hover, .btn.green:hover, .btn.paper:hover { box-shadow: none; }
.callnum { display: inline-flex; flex-direction: column; text-decoration: none; font: 800 24px/1.1 var(--body); color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.callnum small { font: 500 13px var(--body); color: var(--mute); letter-spacing: 0; margin-bottom: 2px; }
.callnum:hover { color: var(--red); }
.tiles-bg .callnum, .board .callnum { color: var(--letter); }
