@font-face {
  font-family: Archivo;
  src: url(fonts/archivo.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --orange: #ff6a13;
  --deep: #b84300;
  --peel: #fff1e6;
  --rind: #ffd9bd;
  --ink: #2b1608;
  --soft: #6e5442;
  --green: #1b6b42;
  --red: #b3261e;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1rem/1.5 Archivo, system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1 { font-weight: 800; font-stretch: 112%; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); line-height: 1.06; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-weight: 750; font-stretch: 108%; font-size: 1.4rem; line-height: 1.15; }
a { color: var(--deep); text-underline-offset: .18em; }
small { display: block; color: var(--soft); font-size: .875rem; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 68rem; margin-inline: auto; padding-inline: 1rem; }
.narrow { max-width: 40rem; }
.page { padding-block: 2rem 4rem; }
.page > h1 { margin-bottom: 1.25rem; }
.page > h2 { margin: 2.5rem 0 1rem; }
.row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.amt, .price, .sums { font-variant-numeric: tabular-nums; }
.empty { color: var(--soft); padding-block: 1rem; }

.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 1.15rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; }
nav a, .linkish { color: var(--ink); text-decoration: none; font: inherit; font-weight: 550; padding: .4rem 0; background: none; border: 0; cursor: pointer; }
nav a:hover, .linkish:hover { color: var(--deep); }
nav a[aria-current] { box-shadow: inset 0 -3px var(--orange); }
.foot { border-top: 1px solid var(--rind); color: var(--soft); font-size: .9rem; padding-block: 1.25rem; }

.board { background: var(--orange); }
.board .wrap { padding-block: clamp(2rem, 6vw, 4rem); }
.state { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; }
.board .state { margin-top: 1rem; }
.state::before { content: ""; flex: none; width: .75rem; height: .75rem; border-radius: 50%; background: var(--green); border: 2px solid #fff; }
.state.is-closed::before { background: var(--red); }

.combo { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; padding-block: 2rem; border-bottom: 1px solid var(--rind); align-items: center; }
.combo:last-child { border-bottom: 0; }
.combo-num { font-weight: 900; font-stretch: 125%; font-size: clamp(6.5rem, 24vw, 13rem); line-height: .8; letter-spacing: -.05em; color: var(--orange); min-width: .72em; font-variant-numeric: tabular-nums; }
/* Equal-width digits leave every card's picture the same room; photos and drawings share one 4:3 box. */
.combo-art { justify-self: end; width: min(100%, 20rem); aspect-ratio: 4 / 3; object-fit: contain; }
.combo-art.photo { object-fit: cover; border-radius: 6px; }
.combo-info, .combo-buy { grid-column: 1 / -1; }
.combo-info p { margin-top: .25rem; max-width: 46ch; }
.combo-info .cal { color: var(--soft); }
.combo-buy { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-top: .5rem; }
.combo-buy label { flex: 1 1 9rem; }
.combo-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: 1 1 100%; }
.price { font-weight: 800; font-stretch: 110%; font-size: 1.75rem; }
@media (min-width: 56rem) {
  .combo { grid-template-columns: 12rem 20rem 1fr; column-gap: 2rem; }
  .combo-num { font-size: 12rem; }
  .combo-num, .combo-art { grid-row: 1 / 3; }
  .combo-info, .combo-buy { grid-column: 3; }
  .combo-info { align-self: end; }
  .combo-buy { align-self: start; }
}

.btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; border: 2px solid var(--deep); background: var(--deep); color: #fff; padding: .65rem 1.25rem; border-radius: 6px; min-height: 44px; }
.btn:hover { background: #963600; border-color: #963600; }
.btn:disabled { background: #efe6df; border-color: #efe6df; color: #79675a; cursor: not-allowed; }
.btn.quiet { background: #fff; color: var(--deep); }
.btn.quiet:hover { background: var(--peel); }
.btn.big { width: 100%; font-size: 1.1rem; padding-block: .9rem; }
.btn.small { padding: .35rem .8rem; font-size: .9rem; min-height: 40px; }
.cartbar { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; padding: 1rem max(1rem, calc((100% - 66rem) / 2)); background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.cartbar span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.toast { position: fixed; inset: auto 1rem 5rem; width: fit-content; margin-inline: auto; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 6px; font-weight: 600; z-index: 6; pointer-events: none; }
.toast:empty { display: none; }

label, legend { font-weight: 600; }
legend { padding: 0; }
.opt { font-weight: 400; color: var(--soft); }
input, select, textarea { display: block; width: 100%; margin-top: .25rem; font: inherit; font-weight: 450; color: inherit; background: #fff; border: 2px solid #c9ab95; border-radius: 6px; padding: .55rem .7rem; min-height: 44px; }
input:focus, select:focus, textarea:focus { border-color: var(--deep); }
input[type=radio], input[type=checkbox] { display: inline-block; width: 1.2rem; height: 1.2rem; min-height: 0; margin: 0 .35rem 0 0; accent-color: var(--deep); vertical-align: -.2rem; }
fieldset { border: 0; padding: 0; margin: 0; }
.radio { display: inline-block; font-weight: 450; padding: .5rem 1.25rem .5rem 0; }
.stack { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.pair { display: grid; gap: 1.1rem; }
@media (min-width: 36rem) { .pair { grid-template-columns: 1fr 1fr; } .pair.three { grid-template-columns: repeat(3, 1fr); } }
.error { color: var(--red); font-weight: 600; }
.notice { background: var(--peel); border-left: 5px solid var(--orange); padding: .85rem 1rem; margin-bottom: 1.25rem; }

.ticket { background: var(--peel); padding: 1.1rem 1.1rem 1.6rem; margin-block: 1.25rem; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; }
.ticket .empty { padding: 0; }
.lines li { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; padding-block: .6rem; }
.lines .ctl { grid-column: 2 / -1; display: flex; align-items: center; gap: .5rem; }
.ctl button { font: inherit; font-weight: 700; width: 44px; height: 44px; border: 2px solid #c9ab95; border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer; }
.ctl .remove { width: auto; padding-inline: .75rem; margin-left: auto; }
.chip { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding-inline: .4rem; background: var(--orange); color: var(--ink); font-weight: 850; font-stretch: 115%; border-radius: 4px; }
.sums { border-top: 2px dashed #d9a986; margin-top: .6rem; padding-top: .6rem; }
.sums div { display: flex; justify-content: space-between; }
.sums .total { font-weight: 800; font-size: 1.2rem; }
.facts div { padding-block: .7rem; border-bottom: 1px solid var(--rind); }
.facts dt { color: var(--soft); font-size: .9rem; }
.facts dd { font-weight: 550; overflow-wrap: anywhere; }
.facts + .row { margin-top: 1.5rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 1.25rem; }
.steps li { border-top: 8px solid var(--rind); padding-top: .4rem; font-size: .9rem; color: var(--soft); }
.steps .done, .steps .now { border-color: var(--orange); color: var(--ink); }
.steps .now { font-weight: 800; }
.pay { font-size: 1.15rem; font-weight: 550; }

.history a { display: grid; grid-template-columns: 1fr auto auto; gap: 1.25rem; align-items: center; padding-block: .9rem; border-bottom: 1px solid var(--rind); color: var(--ink); text-decoration: none; }
.history a:hover { background: var(--peel); }
.queue li { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; padding: 1rem; border-left: 5px solid var(--orange); background: var(--peel); margin-bottom: .6rem; overflow-wrap: anywhere; }
.queue .past { background: #fff; border-color: var(--rind); }
.queue .row { grid-column: 1 / -1; }
.item { border-bottom: 1px solid var(--rind); }
.item summary { cursor: pointer; padding-block: .8rem; font-weight: 600; }
.item summary .amt { margin-inline: .75rem; font-weight: 400; }
.item .edit { margin: .5rem 0 1.5rem; }
