@font-face {
  font-family: Marcellus;
  src: url('/fonts/marcellus-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/fonts/worksans-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #f5efe5;
  --surface: #f9f6f1;
  --text: #2e2519;
  --muted: #6c6053;
  --border: #d8cbbb;
  --olive: #53572c;
  --terracotta: #984729;
  --rose: #edd9ce;
  --cart-border: #a8917c;
  --sand: #c7ae92;
  --sage: #7f7c62;
  --display: Marcellus, Georgia, serif;
  --body: 'Work Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 1rem/1.65 var(--body); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font: 400 1.6rem/1.25 var(--display); }
a { color: var(--terracotta); }
button, input, select { font: inherit; }
button, summary, a { touch-action: manipulation; }
button:disabled { opacity: .5; cursor: default; }
a:focus, button:focus, select:focus, input:focus, summary:focus { outline: 2px solid var(--olive); outline-offset: 3px; }

.brand-bar { border-bottom: 1px solid var(--border); }
.brand-bar > div { max-width: 74rem; margin: 0 auto; padding: .8rem 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.brand-lockup { display: inline-flex; align-items: center; min-height: 3.6rem; mix-blend-mode: multiply; }
.brand-lockup img { display: block; width: auto; filter: brightness(1.06); }
.brand-lockup .brand-symbol { height: 3.6rem; margin-right: .25rem; }
.brand-lockup .brand-wordmark { height: 3.15rem; }
.section-links { display: flex; flex-wrap: wrap; }
.section-links button { min-height: 48px; margin: .12rem; padding: .45rem .65rem; border: 1px solid transparent; border-radius: 100px; color: var(--muted); background: transparent; cursor: pointer; }
.section-links button:hover, .section-links button[aria-pressed='true'] { color: var(--terracotta); border-color: var(--cart-border); background: var(--surface); }
.order-shell { max-width: 54rem; margin: 0 auto; padding: .85rem 1.4rem 1.5rem; font-size: 1.0625rem; }
.is-kiosk .order-shell { max-width: 75rem; padding-top: 1.65rem; }
.order-builder { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; grid-gap: 2.6rem; }
.order-builder.receipt-view { display: block; max-width: 35rem; margin: 0 auto; }
.is-kiosk .receipt-view .order-paper { position: relative; top: auto; max-height: none; overflow: visible; }
.kiosk-welcome { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 10rem); max-width: 56rem; margin: 0 auto; padding: 1rem 0 2.5rem; }
.kiosk-welcome h1 { margin-bottom: 1.55rem; text-align: center; font-size: 2.35rem; }
.welcome-choices { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 -.5rem; }
.welcome-choice { display: flex; flex: 1 1 18rem; flex-direction: column; align-items: stretch; min-width: 0; margin: .5rem; padding: 0; overflow: hidden; border: 1px solid transparent; border-radius: 18px; color: var(--surface); box-shadow: 0 4px 0 rgba(46, 37, 25, .13); font: 400 2.5rem/1.2 var(--display); cursor: pointer; }
.welcome-choice span { display: block; padding: 1rem .75rem; }
.welcome-photo { display: block; width: 100%; height: 17rem; background: var(--sand); object-fit: cover; }
.welcome-admission .welcome-photo { object-position: 68% 65%; }
.welcome-cafe .welcome-photo { object-position: 50% 59%; }
.welcome-admission { background: var(--terracotta); }
.welcome-admission:hover { background: #863e24; }
.welcome-cafe { background: var(--olive); }
.welcome-cafe:hover { background: #434722; }
.welcome-cart { align-self: center; margin-top: 1.3rem; }
.order-fields { display: grid; grid-gap: 2rem; min-width: 0; }
.order-group { min-width: 0; margin: 0 0 2rem; padding: 0; border: 0; }
@supports (display: grid) { .order-group { margin-bottom: 0; } }
.form-label, .paper-kicker { padding: 0; font: 500 .8125rem/1.4 var(--body); letter-spacing: .15em; text-transform: uppercase; }
.form-label { margin: 0 0 .85rem; color: var(--olive); }
.form-copy { margin: .6rem 0 0; font-size: .9375rem; color: var(--muted); }
.form-label + .form-copy { margin: 0 0 .65rem; }
.availability { margin-top: .5rem; color: var(--olive); font-size: .89rem; }
.availability.is-error { color: var(--terracotta); }
.child-list { display: flex; flex-wrap: wrap; margin: 0 0 .55rem; }
.child-list:empty { display: none; }
.child-chip { display: inline-flex; align-items: center; margin: 0 .5rem .35rem 0; padding: .32rem .7rem; min-height: 2.4rem; border: 1px solid var(--cart-border); border-radius: 100px; background: var(--surface); color: var(--text); cursor: pointer; font-size: .9375rem; }
.child-chip span { color: var(--muted); margin-left: .6rem; }
.child-chip:hover { background: var(--rose); }
.reference-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: .75rem 1.35rem; border: 1px solid transparent; border-radius: 100px; font: 500 1rem/1.45 var(--body); letter-spacing: .01em; text-align: center; text-decoration: none; cursor: pointer; }
.reference-outline { border-color: var(--terracotta); color: var(--terracotta); background: transparent; }
.reference-outline:hover { background: var(--rose); }
.reference-primary { color: var(--surface); background: var(--terracotta); box-shadow: 0 2px 0 rgba(46, 37, 25, .12); }
.reference-primary:hover:not(:disabled) { background: #863e24; }
.admission-price { display: flex; align-items: baseline; justify-content: space-between; padding: .72rem .9rem; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.admission-price strong, .order-option strong { color: var(--terracotta); font-weight: 500; font-variant-numeric: tabular-nums; }
.booking-controls { display: flex; flex-wrap: wrap; margin: .85rem -.24rem 0; }
.booking-controls label { flex: 1 1 8.5rem; min-width: 0; margin: 0 .24rem .25rem; color: var(--muted); font-size: .875rem; }
.booking-controls input, .booking-controls select, .cafe-menu select { display: block; width: 100%; min-width: 0; min-height: 44px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: .65rem; padding: .45rem .55rem; }
.order-options { padding: 0; border: 0; margin: 0; min-width: 0; }
.order-option { display: flex; align-items: flex-start; margin: 0 0 .5rem; padding: .72rem .9rem; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); cursor: pointer; }
.order-option.selected { border-color: var(--terracotta); background: var(--rose); }
.order-option input { flex: 0 0 auto; width: 17px; height: 17px; margin: .24rem .7rem 0 0; accent-color: var(--terracotta); }
.order-option strong, .order-option small { display: block; margin-top: .15rem; }
.order-option small { color: var(--muted); font-size: .89rem; }
.office-stepper { display: flex; flex-wrap: wrap; align-items: center; margin-top: .3rem; color: var(--muted); font-size: .9375rem; }
.office-stepper > * { margin-right: .45rem; }
.office-stepper button { width: 44px; height: 44px; padding: 0; border: 1px solid var(--cart-border); border-radius: 50%; color: var(--text); background: var(--surface); cursor: pointer; }
.office-stepper output { min-width: 2ch; text-align: center; color: var(--text); }
.order-paper { position: sticky; top: 1rem; min-width: 0; margin: .55rem 0 1rem; padding: 1.55rem 1.55rem 1.35rem; border-right: 1px solid var(--border); border-left: 1px solid var(--border); background: var(--surface); box-shadow: 0 14px 40px rgba(46, 37, 25, .09); }
.order-paper::before, .order-paper::after { position: absolute; left: -1px; right: -1px; height: 12px; background: radial-gradient(circle at 6px 0, transparent 6px, var(--surface) 6px) repeat-x 0 0 / 12px 12px; filter: drop-shadow(0 -1px 0 var(--border)); content: ''; pointer-events: none; }
.order-paper::before { bottom: 100%; }
.order-paper::after { top: 100%; transform: scaleY(-1); }
.paper-head { margin-bottom: 1.1rem; padding-bottom: .92rem; border-bottom: 1px dashed var(--cart-border); text-align: center; }
.paper-title { margin-bottom: .45rem; font-size: 1.35rem; }
.paper-kicker, .paper-line-copy { color: var(--muted); }
.paper-lines { margin-bottom: 1.55rem; }
.paper-line { padding-left: .61rem; margin-bottom: .52rem; border-left: 3px solid var(--sage); font-size: .9375rem; }
.paper-admission { border-left-color: var(--sand); }
.paper-addon { border-left-color: var(--terracotta); }
.paper-line-top, .paper-total { display: flex; align-items: baseline; justify-content: space-between; }
.paper-line-top > span { min-width: 0; padding-right: .5rem; overflow-wrap: break-word; }
.paper-line-top strong, .paper-total output { flex: 0 0 auto; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.paper-line-copy, .paper-rules { font-size: .83rem; }
.receipt-remove { margin: .15rem 0; padding: .15rem .4rem; border: 0; color: var(--terracotta); background: transparent; text-decoration: underline; font-size: .82rem; cursor: pointer; }
.paper-total { margin: 0 0 1rem; padding-top: .72rem; border-top: 1px dashed var(--cart-border); font-size: 1.25rem; font-family: var(--display); }
.paper-total output { color: var(--terracotta); font: 500 1.58rem/1.35 var(--body); }
.paper-rules { list-style: none; margin: 0 0 .9rem; padding: 0; color: var(--muted); }
.paper-rules li { position: relative; margin-bottom: .3rem; padding-left: 1.1rem; }
.paper-rules li::before { position: absolute; top: .58em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); content: ''; }
.paper-note, .paper-availability { margin: .6rem 0 .8rem; color: var(--muted); font-size: .79rem; text-align: center; }
.payment-flow { text-align: center; }
.payment-flow > p { margin-bottom: .55rem; font-size: .9rem; }
.payment-error { color: var(--terracotta); }
.order-reference { overflow-wrap: break-word; font-variant-numeric: tabular-nums; }
.ticket-list { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: .65rem -.18rem; padding: 0; }
.ticket-list li { margin: .2rem; padding: .2rem .55rem; border: 1px solid var(--border); border-radius: .35rem; font-variant-numeric: tabular-nums; }
.paper-actions .reference-action { margin: .25rem .14rem; }
.mobile-receipt { display: none; }

.cafe-menu select { margin-top: .3rem; font-family: var(--display); font-size: 1.15rem; }
.category-label, .menu-hours { font-size: .89rem; }
.category-label { font-weight: 600; }
.menu-hours { margin: .25rem 0 .6rem; min-height: 1em; color: var(--muted); text-align: right; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-column-gap: .7rem; border-top: 1px solid var(--border); padding: .65rem 0; }
.menu-item h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.menu-item .form-copy, .menu-modifiers p { margin: .22rem 0 0; font-size: .88rem; line-height: 1.45; }
.menu-action { text-align: right; }
.menu-action output { display: block; margin-bottom: .25rem; color: var(--terracotta); white-space: nowrap; font-weight: 600; }
.menu-action button { padding: .3rem .64rem; font-size: .85rem; }
.menu-modifiers { grid-column: 1 / -1; margin-top: .2rem; color: var(--muted); font-size: .89rem; }
.menu-modifiers summary { min-height: 44px; padding: .53rem 0; color: var(--olive); font-weight: 600; cursor: pointer; }
.modifier-list { display: flex; flex-wrap: wrap; margin: .15rem 0 0; padding: 0; border: 0; }
.modifier-list label { flex: 1 1 45%; display: flex; align-items: center; min-height: 44px; padding: .2rem .5rem .2rem 0; cursor: pointer; }
.modifier-list input { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; margin: 0 .48rem 0 0; accent-color: var(--olive); }
.modifier-list small { margin-left: auto; white-space: nowrap; }
.demo-shell { max-width: 75rem; margin: 0 auto; padding: 1rem 1.4rem 2rem; }
.demo-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: .8rem 0 1.45rem; }
.demo-header h1 { font-size: 2.6rem; margin-bottom: .6rem; }
.demo-nav a { margin: .2rem .06rem; }
.demo-shell > h2 { margin-bottom: .65rem; }
.demo-frame { display: block; width: 100%; min-height: 59rem; border: 1px solid var(--border); border-radius: .65rem; }

.is-kiosk .reference-action, .is-kiosk .child-chip, .is-kiosk .receipt-remove { min-height: 48px; }
.is-kiosk .order-option input { width: 21px; height: 21px; }
.is-kiosk .paper-lines { margin-bottom: 1rem; }
.is-kiosk .order-paper { max-height: calc(100vh - 3rem); max-height: calc(100dvh - 3rem); overflow-y: auto; }

@media (orientation: portrait) and (min-width: 621px) {
  .is-kiosk .order-shell { padding: 1.3rem 1.6rem 2rem; }
  .is-kiosk .order-builder { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); grid-gap: 1.55rem; }
  .is-kiosk .order-paper { padding-right: 1.25rem; padding-left: 1.25rem; }
}

@media (max-width: 620px) {
  .order-shell { padding: .7rem .95rem 5.7rem; }
  .is-kiosk .order-shell { padding: 1rem .95rem 5.7rem; }
  .is-kiosk.kiosk-start .order-shell { padding-bottom: .65rem; }
  .brand-bar > div { padding: .65rem .95rem; }
  .brand-lockup { min-height: 2.9rem; }
  .brand-lockup .brand-symbol { height: 2.9rem; }
  .brand-lockup .brand-wordmark { height: 2.45rem; }
  .section-links button { padding: .45rem .55rem; }
  .kiosk-welcome { min-height: calc(100vh - 7rem); padding: 1.1rem 0 1.65rem; }
  .kiosk-welcome h1 { margin-bottom: 1rem; font-size: 1.95rem; }
  .welcome-choice { font-size: 2.15rem; }
  .welcome-choice span { padding: .65rem; }
  .welcome-photo { height: 8.5rem; }
  .order-builder { display: block; }
  .order-paper, .is-kiosk .order-paper { position: relative; top: auto; max-height: none; overflow: visible; margin-top: 1.5rem; padding: 1.25rem 1.1rem; }
  .mobile-receipt { z-index: 2; position: fixed; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; background: var(--surface); border-top: 1px solid var(--border); padding: .5rem .95rem; }
  .mobile-receipt strong { margin-left: .2rem; color: var(--terracotta); }
  .mobile-receipt .reference-action { padding: .45rem .9rem; }
  .demo-frame { min-height: 54rem; }
}
