/* Slice Parlor: the strip-mall marquee on Montgomery Blvd at dusk. */

@font-face {
  font-family: "League Gothic";
  src: url("/fonts/league-gothic-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}

:root {
  --dusk: #1B1A30;
  --dusk-2: #232140;
  --dusk-3: #34315C;
  --night: #131226;
  --panel: #F6F2E4;
  --panel-edge: #E6DFC6;
  --letter: #141414;
  --red: #D7261E;
  --red-deep: #B51D16;
  --red-lit: #FF6A5C;
  --steel: #3A3A40;
  --steel-hi: #56565E;
  --felt: #181818;
  --white: #FFFFFF;
  --muted: #C9C5E0;
  --chalk: #DAD4C2;
  --go: #4ADE80;
  --off: #8C88AC;
  --dim: #A9A5C4;
  /* side gutter; on very wide screens it grows so content holds at ~1640px */
  --pad: max(clamp(16px, 4vw, 56px), calc((100vw - 1640px) / 2));
  --section: clamp(72px, 10vw, 136px);
  --display: "League Gothic", "Archivo", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--dusk); color: var(--white);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--panel); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--steel-hi) var(--night); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--steel-hi); border: 3px solid var(--night); border-radius: 8px; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--panel); color: var(--letter); padding: 10px 16px; border-radius: 4px; font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Headings */
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: .95; margin: 0 0 20px; }
h3 { font-size: 1.9rem; line-height: 1; margin: 0 0 8px; }
p { margin: 0 0 1em; text-wrap: pretty; }
a[href^="tel:"] { white-space: nowrap; }
.lede { color: var(--muted); font-size: 1.125rem; max-width: 46ch; }
.prose { max-width: 62ch; color: var(--muted); }
.prose strong { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 4px; cursor: pointer;
  font: 800 1rem/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 10px 22px -12px rgba(0,0,0,.65); }
.btn-red:hover { background: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn-ghost { box-shadow: inset 0 0 0 2px var(--panel); color: var(--panel); background: transparent; }
.btn-ghost:hover { background: var(--panel); color: var(--letter); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 26px; padding: 18px var(--pad); position: relative; z-index: 5; }
.nav .name { font: 400 1.9rem/1 var(--display); letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.nav nav { margin-left: auto; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 600; color: var(--muted); padding: 6px 0; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav .tel { font-weight: 800; text-decoration: none; }
.nav .btn { min-height: 46px; padding: 0 20px; }

/* Status */
.status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 800; }
.status .live:empty { display: none; }
.status .live:not(:empty) + span { font-weight: 600; color: var(--muted); }
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--off); flex: none; }
.status.is-open i { background: var(--go); box-shadow: 0 0 0 4px rgba(74,222,128,.18); }

/* The pole sign */
.pole { position: relative; display: grid; justify-items: center; }
.cabinet {
  width: 46%; background: var(--steel); padding: 12px; border-radius: 6px 6px 0 0;
  box-shadow: inset 0 2px 0 var(--steel-hi);
}
.cabinet img { width: 100%; }
.sign {
  width: 100%; background: var(--steel); padding: clamp(10px, 1.2vw, 16px); border-radius: 6px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.85), inset 0 2px 0 var(--steel-hi);
}
.panel {
  position: relative; padding: clamp(14px, 2vw, 26px) clamp(12px, 2vw, 26px);
  background: radial-gradient(120% 90% at 50% 45%, #FFFDF4 0%, var(--panel) 55%, var(--panel-edge) 100%);
  border-radius: 2px; display: grid; gap: clamp(6px, .9vw, 12px);
  box-shadow: 0 0 80px -10px rgba(255,248,220,.22);
}
.track {
  display: flex; justify-content: center; gap: .07em; min-height: 1.08em;
  font: 400 var(--fs, 3.6rem)/1 var(--display); color: var(--letter);
  white-space: nowrap; overflow: hidden;
  padding: .06em 0 .02em; border-bottom: 2px solid rgba(80,70,40,.18);
}
.track:last-child { border-bottom: 0; }
.l {
  display: inline-block; min-width: .26em; text-align: center; padding: 0 .025em;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .3s ease-out;
}
.l.sp { box-shadow: none; }
.l.out { opacity: 0; transform: translateY(-.4em) rotate(var(--r, 0deg)); transition-duration: .22s; }
.l.in { opacity: 0; transform: translateY(.45em) rotate(calc(var(--r, 0deg) * 4)); transition: none; }
.legs { display: flex; justify-content: space-between; width: 40%; height: clamp(26px, 7vh, 64px); }
.legs i { width: 22px; background: linear-gradient(90deg, #2c2c31, #4a4a52 50%, #2c2c31); }
.sign-ctl {
  position: absolute; right: 0; bottom: 0;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px;
  background: transparent; color: var(--muted); border: 0; border-radius: 4px; cursor: pointer;
  font: 600 .875rem/1 var(--body);
}
.sign-ctl:hover { color: var(--white); background: rgba(255,255,255,.06); }
.sign-ctl svg { width: 14px; height: 14px; }

/* Home hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px);
  align-items: center; padding: 8px var(--pad) clamp(40px, 6vw, 72px); min-height: calc(100svh - 82px);
}
.hero h1 { font-size: clamp(3rem, 5.6vw, 5.6rem); line-height: .92; margin: 18px 0 18px; }
.hero .lede { margin-bottom: 28px; }
.nap { margin-top: 26px; font-size: .98rem; color: var(--muted); font-style: normal; }
.nap strong { color: var(--white); }

/* Full-bleed photo with a sign-strip caption */
.bleed { position: relative; margin: 0; }
.bleed img { width: 100%; height: min(72vh, 760px); object-fit: cover; }
.bleed figcaption {
  position: absolute; left: var(--pad); bottom: 28px; background: var(--panel); color: var(--letter);
  padding: 10px 18px 8px; font: 400 clamp(1.6rem, 3vw, 2.6rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em;
  box-shadow: 0 0 0 8px var(--steel), 0 20px 40px -20px rgba(0,0,0,.8);
  border-radius: 2px;
}

/* Steel photo frames */
.steel {
  margin: 0; background: var(--steel); padding: 10px; border-radius: 6px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.85), inset 0 2px 0 var(--steel-hi);
}
.steel img { width: 100%; border-radius: 2px; }
.steel figcaption { color: var(--muted); font-size: .9rem; padding: 10px 4px 2px; }

/* Made in the back */
.made {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px);
  padding: var(--section) var(--pad); align-items: start;
}
.made .steps { list-style: none; padding: 0; margin: 28px 0 40px; display: grid; gap: 22px; max-width: 54ch; }
.made .steps li { padding-top: 18px; border-top: 1px solid var(--dusk-3); color: var(--muted); }
.made .steps b { display: block; font: 400 1.7rem/1 var(--display); text-transform: uppercase; color: var(--white); margin-bottom: 6px; letter-spacing: .02em; }
.made .toss { margin-top: clamp(0px, 8vw, 120px); }

/* Specialty pies: the sign that spells your pick */
.specials { background: var(--dusk-2); padding: var(--section) var(--pad); }
.specials .head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.specials .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.specials .stage { position: sticky; top: 24px; }
.specials .stage .actions { margin-top: 22px; }
.pies { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.pies li { display: flex; }
.pies button {
  width: 100%; text-align: left; display: grid; align-content: start; gap: 2px; padding: 14px 16px 15px; cursor: pointer;
  background: transparent; color: var(--white); border: 0; border-bottom: 1px solid var(--dusk-3); border-radius: 3px;
  font: inherit; transition: background-color .2s, color .2s;
}
.pies button:hover { background: rgba(255,255,255,.05); }
.pies .n { font: 400 1.75rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.pies .d { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.pies .v { color: var(--go); font-weight: 700; font-size: .85rem; }
.pies button[aria-pressed="true"] { background: var(--panel); color: var(--letter); border-bottom-color: transparent; }
.pies button[aria-pressed="true"] .d { color: #4A4637; }
.pies button[aria-pressed="true"] .v { color: #166534; }

/* The menu: a grooved felt letterboard */
.menu { padding: var(--section) var(--pad); }
.menu .head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: 32px; }
.menu .head p { color: var(--muted); max-width: 44ch; margin: 0; }
.board-frame {
  padding: 12px; border-radius: 6px;
  background: linear-gradient(160deg, #C9C9D0 0%, #8A8A92 38%, #B4B4BB 62%, #6F6F77 100%);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9);
}
.board {
  --row: 30px;
  background-color: var(--felt);
  background-image: repeating-linear-gradient(to bottom,
    rgba(255,255,255,.012) 0, rgba(255,255,255,.012) calc(var(--row) - 3px),
    rgba(0,0,0,.6) calc(var(--row) - 3px), rgba(0,0,0,.6) calc(var(--row) - 1px),
    rgba(255,255,255,.05) calc(var(--row) - 1px), rgba(255,255,255,.05) var(--row));
  padding: var(--row) clamp(18px, 3vw, 44px);
  border-radius: 2px;
  column-count: 3; column-gap: clamp(28px, 4vw, 56px);
  font: 500 15px/var(--row) var(--body); font-stretch: 85%; color: var(--chalk);
}
.board section { break-inside: avoid; margin: 0 0 var(--row); }
.board h3 {
  font: 400 26px/var(--row) var(--display); color: var(--red-lit); letter-spacing: .06em; margin: 0;
}
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { margin: 0; }
.board b { color: var(--white); font-weight: 650; text-transform: uppercase; letter-spacing: .07em; font-stretch: 80%; margin-right: .45em; }
.board .note { color: var(--chalk); font-style: italic; }
.board .run { color: var(--white); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; font-stretch: 80%; }
.board ul.run li { display: inline; white-space: nowrap; }
.board ul.run li:not(:last-child)::after { content: " /"; color: var(--chalk); }
.board a { color: var(--white); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); padding: var(--section) var(--pad); border-top: 1px solid var(--dusk-3); }
.faq details { border-bottom: 1px solid var(--dusk-3); }
.faq details:first-child { border-top: 1px solid var(--dusk-3); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font: 400 1.75rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6A5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:hover { color: var(--panel); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 60ch; }

/* Visit */
.visit { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: var(--section) var(--pad); background: var(--night); }
.visit address { font-style: normal; font-size: 1.25rem; line-height: 1.5; margin-bottom: 18px; }
/* The at-a-glance facts, a compact cousin of .spec */
.glance { margin: 0 0 28px; display: grid; }
.glance div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 4px 20px; padding: 11px 0; border-top: 1px solid var(--dusk-3); }
.glance div:last-child { border-bottom: 1px solid var(--dusk-3); }
.glance dt { font: 400 1.35rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.glance dd { margin: 0; color: var(--muted); }
.glance strong { color: var(--white); }

/* Page hero for subpages */
.page-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px);
  align-items: center; padding: 16px var(--pad) clamp(56px, 8vw, 104px);
}
.page-hero h1 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: .93; margin: 16px 0 18px; }
.page-hero .pole .sign { max-width: 640px; }

.band { padding: var(--section) var(--pad); }
.band.alt { background: var(--dusk-2); }
.band.night { background: var(--night); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.top { align-items: start; }

/* A two-or-three entry spec list, used instead of cards */
.spec { list-style: none; margin: 0; padding: 0; display: grid; }
.spec li { display: grid; grid-template-columns: minmax(8rem, .55fr) 1fr; gap: 8px 28px; padding: 20px 0; border-top: 1px solid var(--dusk-3); }
.spec li:last-child { border-bottom: 1px solid var(--dusk-3); }
.spec .k { font: 400 1.75rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.spec .v { color: var(--muted); }
.spec .v strong { color: var(--white); }

/* Warning plate on the gluten-free page */
.warn {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(20px, 4vw, 56px); align-items: start;
  background: var(--panel); color: var(--letter); border-radius: 4px; padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 0 0 10px var(--steel), 0 30px 60px -30px rgba(0,0,0,.85);
}
.warn h2 { color: #A3150F; margin: 0; }
.warn p { max-width: 60ch; color: #2A2824; }

/* Order pad */
.pad { display: grid; gap: 20px; }
.stepper { display: inline-flex; align-items: stretch; border-radius: 4px; box-shadow: inset 0 0 0 2px var(--panel); width: max-content; }
.stepper button { width: 56px; min-height: 56px; background: transparent; color: var(--panel); border: 0; cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: rgba(246,242,228,.1); }
.stepper button:active { background: rgba(246,242,228,.18); }
.stepper button:disabled { color: var(--off); background: transparent; cursor: not-allowed; }
.stepper button svg { width: 20px; height: 20px; }
.stepper input {
  width: 4.5ch; text-align: center; background: transparent; color: var(--white); border: 0;
  border-left: 2px solid var(--panel); border-right: 2px solid var(--panel);
  font: 400 2.2rem/1 var(--display); font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pad output { display: block; color: var(--muted); }
.pad output strong { color: var(--white); }

/* Street sketch */
.sketch { width: 100%; height: auto; }
.sketch .st { stroke: #4C4970; stroke-width: 10; stroke-linecap: round; }
.sketch .st.main { stroke: #6B6799; stroke-width: 16; }
.sketch text { font-family: var(--display); fill: var(--muted); font-size: 26px; letter-spacing: .04em; }
.sketch .pin { fill: var(--red); }
.sketch .shop { fill: var(--white); font-size: 30px; }

/* Contact form */
.form { display: grid; gap: 18px; max-width: 640px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 4px; border: 2px solid var(--dusk-3);
  background: var(--night); color: var(--white); font: 400 1rem/1.4 var(--body); caret-color: var(--red-lit);
}
.form textarea { min-height: 150px; resize: vertical; }
.form select {
  appearance: none; cursor: pointer; padding-right: 44px;
  background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6A5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.form input::placeholder, .form textarea::placeholder { color: var(--dim); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 0; border-color: var(--panel); }
.form [aria-invalid="true"], .form [aria-invalid="true"]:focus-visible { border-color: var(--red-lit); }
.form .err { color: var(--red-lit); font-weight: 700; font-size: .95rem; min-height: 1.4em; margin: 0; }
.form .hint { color: var(--muted); font-size: .95rem; margin: 0; }

/* Links onward */
.onward { padding: clamp(56px, 7vw, 96px) var(--pad); border-top: 1px solid var(--dusk-3); }
.onward ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 28px; }
.onward a { display: block; padding: 16px 0; border-bottom: 1px solid var(--dusk-3); text-decoration: none; }
.onward a b { display: block; font: 400 1.6rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.onward a span { color: var(--muted); font-size: .95rem; }
.onward a:hover b { color: var(--panel); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Footer */
.foot { background: var(--night); padding: clamp(56px, 7vw, 88px) var(--pad) 32px; border-top: 1px solid var(--dusk-3); }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.foot .brand { font: 400 2.6rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 14px; }
.foot address { font-style: normal; color: var(--muted); line-height: 1.75; }
.foot address strong { color: var(--white); }
.foot h2 { font-size: 1.5rem; margin: 0 0 10px; letter-spacing: .04em; }
.foot ul { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.foot ul a { color: var(--muted); text-decoration: none; }
.foot ul a:hover { color: var(--white); text-decoration: underline; }
.foot .fine { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--dusk-3); color: var(--dim); font-size: .9rem; }

/* Phone quick bar */
.mbar { display: none; }

@media (max-width: 1080px) {
  .nav ul { gap: 18px; }
  .nav .tel { display: none; }
  .pies { grid-template-columns: 1fr; }
  .board { column-count: 2; }
}

@media (max-width: 860px) {
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav nav { display: none; }
  .nav .btn { display: none; }
  .warn { grid-template-columns: 1fr; }
  .hero, .page-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 0; gap: 20px; }
  .hero h1 { font-size: 3rem; margin-top: 8px; }
  .page-hero h1 { font-size: 2.9rem; margin-top: 8px; }
  .hero .actions .btn-ghost, .page-hero .actions .btn-ghost { display: none; }
  .bleed img { height: 56vh; }
  .made, .faq, .visit, .split { grid-template-columns: 1fr; }
  .made .toss { margin-top: 0; max-width: 420px; }
  .specials .grid { grid-template-columns: 1fr; gap: 16px; }
  .specials .stage { top: 0; z-index: 2; background: var(--dusk-2); padding: 8px 0 10px; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); box-shadow: 0 14px 20px -14px rgba(0,0,0,.6); }
  .specials .stage .btn { min-height: 46px; }
  .specials .stage .actions { margin-top: 12px; }
  .board { column-count: 1; --row: 28px; font-size: 15px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .foot .cols > :first-child { grid-column: 1 / -1; }
  .form .row { grid-template-columns: 1fr; }
  .spec li { grid-template-columns: 1fr; }
  body { padding-bottom: 76px; }
  .mbar {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; position: fixed; inset: auto 0 0 0; z-index: 9;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--dusk-2);
    box-shadow: 0 -12px 24px -12px rgba(0,0,0,.6);
  }
  .mbar a {
    min-height: 50px; display: grid; place-items: center; border-radius: 4px; text-decoration: none;
    font-weight: 800; box-shadow: inset 0 0 0 2px var(--panel);
  }
  .mbar a:first-child { background: var(--red); box-shadow: none; }
  .mbar a:active { background: var(--dusk-3); }
  .mbar a:first-child:active { background: var(--red-deep); }
}

@media (max-width: 420px) {
  .nav .name { font-size: 1.7rem; }
  .nav .btn { padding: 0 16px; }
}

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