@font-face {
  font-family: Zalando;
  src: url(assets/zalando.woff2) format("woff2");
  font-display: swap;
  font-weight: 300 700;
}
@font-face {
  font-family: Aboreto;
  src: url(assets/aboreto-ext.woff2) format("woff2");
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F;
}
@font-face {
  font-family: Aboreto;
  src: url(assets/aboreto.woff2) format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: dark;
  --header-height: 72px;
  --ink: #12100e;
  --panel: #1b1815;
  --field: #25211d;
  --bone: #ede8dc;
  --muted: #b3aa9b;
  --bronze: #c49a6c;
  --line: #3e362e;
  --display: Aboreto, Georgia, serif;
  --body: Zalando, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-height) + 62px); }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 16px/1.55 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
p, h1, h2, h3, h4 { margin: 0; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 8; top: 10px; left: 10px; background: var(--bone); color: var(--ink); padding: 9px 15px; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.header { position: sticky; z-index: 4; top: 0; background: var(--ink); border-bottom: 1px solid var(--line); }
.header-inner { min-height: calc(var(--header-height) - 1px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.guest-page .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; max-width: 1030px; }
.guest-page .header-inner > a.icon-button { justify-self: end; }
.icon-button { display: grid; place-items: center; color: var(--bone); background: transparent; border: 0; width: 44px; height: 44px; padding: 0; }
.icon-button:hover { color: var(--bronze); }
.logo { flex-shrink: 0; display: inline-flex; padding-block: 8px; }
.main-nav { display: flex; gap: clamp(12px, 3vw, 38px); align-items: stretch; align-self: stretch; }
.main-nav a { display: flex; align-items: center; text-decoration: none; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--bone); }
.main-nav a[aria-current] { border-bottom-color: var(--bronze); }

.eyebrow { color: var(--bronze); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.16; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 16px; border: 1px solid transparent; border-radius: 2px; gap: 10px; font-weight: 550; text-decoration: none; }
.filled { background: var(--bone); color: var(--ink); }
.filled:hover { background: #f9f4e9; }
.filled:disabled { opacity: .55; }
.outline { background: var(--panel); color: var(--bone); border-color: #756451; }
.outline:hover { background: var(--field); border-color: var(--bronze); }
.text-link { color: var(--bronze); text-underline-offset: .28em; text-decoration: underline; text-decoration-thickness: 1px; font-weight: 550; }
.price { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 550; }
.media-credit { position: absolute; bottom: 12px; right: 10px; padding: 2px 7px; background: #12100eea; color: var(--bone); font-size: 13px; }

.menu-wrap { max-width: 1030px; }
.menu-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(255px, 320px);
  align-items: end;
  gap: 20px;
  padding-block: 39px 24px;
}
.menu-intro h1 { font-size: clamp(31px, 5.5vw, 59px); letter-spacing: -.045em; margin: 8px 0 10px; }
.menu-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; font-size: 14px; color: var(--muted); }
.menu-meta p span { margin-inline: 3px; }
.menu-film { border: 0; background: transparent; padding: 0; font-size: inherit; min-height: 32px; }
.search { position: relative; display: flex; min-width: min(100%, 265px); }
.search > svg, .search > span[aria-hidden] { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search > span[aria-hidden] { font-size: 22px; }
input, select { border: 1px solid #695c4e; border-radius: 2px; background: var(--field); color: var(--bone); padding: 9px 11px; min-height: 45px; min-width: 0; }
input::placeholder { color: var(--muted); }
.search input { width: 100%; padding-left: 41px; }
.menu-intro input { height: 48px; background: var(--panel); font-size: 17px; }

.category-bar { position: sticky; top: var(--header-height); z-index: 3; background: var(--ink); border-bottom: 1px solid var(--line); }
.category-rail { display: flex; gap: 25px; overflow-x: auto; scrollbar-width: none; }
.category-rail a { flex: none; display: flex; align-items: center; min-height: 49px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 550; }
.category-rail a:hover, .category-rail a[aria-current] { color: var(--bone); }
.category-rail a[aria-current] { border-bottom-color: var(--bone); }
.category-rail a.student-link, .directory-child a.student-link { color: var(--bronze); }
.category-rail a:focus-visible { outline-offset: -3px; }

.browse { padding-top: 26px; margin-bottom: 72px; }
.menu-category { margin-bottom: 38px; }
.menu-category h3 { font: 400 clamp(26px, 3.3vw, 35px)/1.2 var(--display); }
.category-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.category-head small { white-space: nowrap; color: var(--muted); }
.sub-category { margin-top: 26px; }
.sub-category h4, .menu-cluster h4 { font-size: 15px; font-weight: 600; color: var(--bronze); padding-top: 12px; }
.sub-category h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sub-category h4 small { white-space: nowrap; }
.menu-cluster + .menu-cluster { margin-top: 9px; }
.items-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 27px; }
.menu-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) 19px; align-items: start; gap: 14px; width: 100%; text-align: left; padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--bone); }
.menu-item:hover .item-name, .menu-item:hover .item-arrow { color: var(--bronze); }
.item-photo img { width: 88px; height: 110px; object-fit: cover; }
.item-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 8px; row-gap: 3px; min-width: 0; }
.item-name, .item-text .price { font-size: 17px; line-height: 1.3; }
.item-name { font-weight: 550; }
.item-desc { grid-column: 1 / -1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 15px; line-height: 1.4; }
.item-label { grid-column: 1 / -1; color: var(--bronze); font-size: 13px; }
.item-arrow { justify-self: end; color: var(--muted); font: 400 24px/1 var(--body); }
.empty { color: var(--muted); padding-block: 26px; }

.guest-dock { display: none; }
#category-dialog-title { font: 600 22px/1.2 var(--body); }
#category-directory { display: grid; gap: 11px; padding-block: 4px 8px; }
#category-directory > div { border-bottom: 1px solid var(--line); padding-bottom: 9px; }
#category-directory a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
#category-directory a:hover { color: var(--bronze); }
.directory-child { padding-inline-start: 15px; color: var(--muted); }

.operator { max-width: 1110px; padding-block: 55px 84px; }
.operator-heading { margin-bottom: 29px; }
.operator-heading h1 { font-size: clamp(35px, 5.5vw, 66px); letter-spacing: -.055em; margin-block: 11px 12px; }
.operator-heading > p:not(.range, .eyebrow) { color: var(--muted); max-width: 69ch; }
.operator-callout { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--bronze); padding: 16px 19px; }
.operator-callout p { color: var(--muted); margin-top: 3px; }
.rule-toolbar { display: flex; gap: 9px; align-items: center; margin-top: 20px; }
.rule-toolbar .search { flex: 1; }
#rule-count { color: var(--muted); white-space: nowrap; }
.notice { color: var(--bronze); min-height: 1.5em; margin-block: 7px; }
.rule { border-block-start: 1px solid var(--line); }
.rule:last-child { border-block-end: 1px solid var(--line); }
.rule summary { padding: 13px 4px; display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.rule summary::-webkit-details-marker { display: none; }
.rule summary:hover, .rule[open] summary { color: var(--bronze); }
.rule-product { flex: 1; }
.rule-product > small { display: block; color: var(--muted); }
.rule-state { color: var(--muted); text-align: right; font-size: 14px; }
.rule-chevron { color: var(--bronze); min-width: 14px; text-align: center; }
.rule-chevron::after { content: '+'; }
.rule[open] .rule-chevron::after { content: '−'; }
.rule-editor { padding: 0 4px 16px; }
.rule-editor fieldset, .product-portions { padding: 0; border: 0; margin: 0 0 11px; }
.rule-editor legend, .product-portions legend { padding: 0; margin-bottom: 7px; color: var(--muted); }
.chips, .rule-actions, .preset-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 41px; padding: 7px 10px; color: var(--bone); border: 1px solid #695c4e; background: var(--field); cursor: pointer; }
.chip:has(:checked) { border-color: var(--bronze); }
.chip input { accent-color: var(--bronze); min-height: 0; }
.chip small { color: var(--muted); }
.operator-next { margin-top: 23px; }
.range { color: var(--bronze); font-size: clamp(35px, 7vw, 82px); line-height: 1.06; font-weight: 570; letter-spacing: -.055em; margin: 17px 0 12px; font-variant-numeric: tabular-nums; }
.range span { font-size: .43em; letter-spacing: -.01em; white-space: nowrap; }
.calculator { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.calc-form, .calc-result { padding: clamp(16px, 3vw, 33px); min-width: 0; }
.calc-form { background: var(--panel); }
.calc-form h2 { font: 600 23px/1.25 var(--body); margin-bottom: 17px; }
.calc-form label { display: block; font-size: 14px; margin: 10px 0 4px; color: var(--muted); }
.calc-form input, .calc-form select { width: 100%; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 9px; }
.preset-actions { margin-top: 15px; }
.calc-result #calc-delta { display: block; overflow-wrap: anywhere; color: var(--bronze); font-size: clamp(32px, 4.6vw, 60px); line-height: 1.1; letter-spacing: -.05em; margin-block: 7px; font-variant-numeric: tabular-nums; }
.calc-result #calc-ticket { color: var(--bone); }
.bar-chart { margin-block: 20px; display: grid; gap: 12px; }
.bar-chart > div { display: grid; grid-template-columns: 1fr auto; row-gap: 4px; font-size: 14px; }
.bar-track { grid-column: 1 / -1; background: var(--field); height: 8px; }
.bar-track span { display: block; height: 100%; background: var(--bronze); }
#old-bar { background: var(--muted); }
.calculation-note, .model-note, .error { font-size: 14px; color: var(--muted); }
.error { color: #ffb49c; margin-top: 7px; }
.model-note { margin-block: 13px; }
.report { margin-top: 20px; border: 1px solid var(--line); background: var(--panel); }
.report-head { padding: 16px; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.report-head h2 { font: 600 23px/1.25 var(--body); }
.report-head p { margin-top: 5px; color: var(--muted); font-size: 14px; }
#report-total { color: var(--bronze); font-size: clamp(24px, 5vw, 39px); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
#report-lines { list-style: none; margin: 0; padding: 0; }
.report-row { border-top: 1px solid var(--line); padding: 9px 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px 16px; }
.report-row-main { margin-inline-end: auto; }
.report-row-main small { display: block; color: var(--muted); }
.report-row .price { color: var(--bronze); }
.report-actions { display: flex; gap: 12px; }
.report-actions button { border: 0; background: none; padding: 0; min-height: 44px; cursor: pointer; font-size: 14px; }
.chart-links { display: flex; flex-wrap: wrap; gap: 15px; }
.chart-links a { color: var(--bronze); text-underline-offset: 4px; }

footer { background: var(--panel); border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 121px; display: flex; justify-content: space-between; align-items: center; padding-block: 22px; gap: 14px; }
.footer-inner small { font-size: 13px; }

dialog { width: min(480px, calc(100% - 24px)); max-height: min(88dvh, 800px); background: var(--panel); color: var(--bone); border: 1px solid #695c4e; padding: 0 17px 18px; }
dialog::backdrop { background: #0a0908b9; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
#product-dialog .dialog-head { justify-content: flex-end; }
.close { min-width: 44px; min-height: 44px; background: transparent; border: 0; color: var(--bone); font-size: 27px; }
.close:hover { color: var(--bronze); }
.product-figure { margin: 0 0 12px; position: relative; }
.product-figure img { width: 100%; max-height: 52dvh; aspect-ratio: 4 / 5; object-fit: cover; }
.product-title { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 7px; }
.product-title h2, #film-title { font: 600 22px/1.2 var(--body); }
.product-title output { color: var(--bronze); }
.product-copy { color: var(--muted); margin-bottom: 14px; }
.product-offer { color: var(--bronze); margin-bottom: 5px; }
#video-dialog { width: min(440px, calc(100% - 24px)); }
#video-dialog video { display: block; width: 100%; max-height: 72dvh; background: #080706; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 48px); }
}
@media (max-width: 780px) {
  .items-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  :root { --header-height: 60px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { gap: 10px; }
  .logo img { width: 91px; height: auto; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 12px; }
  .guest-page .header .icon-button:first-child { margin-inline-start: -10px; }
  .guest-page .header a.icon-button { margin-inline-end: -10px; }
  .menu-intro { grid-template-columns: 1fr; gap: 12px; padding-block: 26px 12px; }
  .menu-intro h1 { margin-block: 8px 7px; }
  .menu-meta { font-size: 13px; gap: 0 10px; }
  .menu-film { min-height: 29px; }
  .category-rail { gap: 22px; width: 100%; padding-inline: 20px; }
  .category-rail a { min-height: 46px; }
  .browse { padding-top: 20px; margin-bottom: 46px; }
  .menu-item { grid-template-columns: 88px minmax(0, 1fr) 11px; gap: 10px; }
  .item-text .price { font-size: 15px; padding-top: 1px; }
  .guest-dock { position: fixed; bottom: 0; inset-inline: 0; z-index: 3; display: block; padding: 8px 0 max(8px, env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line); }
  .guest-dock > div { width: calc(100% - 16px); display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 6px; }
  .dock-link { color: var(--bone); background: var(--field); }
  .guest-dock .button { padding-inline: 5px; white-space: nowrap; }
  .guest-page footer { padding-bottom: 69px; }
  #product-dialog, #category-dialog { width: 100%; max-height: 91dvh; margin: auto 0 0; padding-inline: 20px; border-inline: 0; }
  #product-dialog::before, #category-dialog::before { content: ""; display: block; margin: 9px auto 0; width: 36px; height: 4px; border-radius: 3px; background: #736a5c; }
  .button { font-size: 14px; }
  .operator { padding-block: 31px 56px; }
  .operator-callout { align-items: start; flex-direction: column; }
  .rule-toolbar { flex-wrap: wrap; }
  .rule-toolbar .search { flex-basis: 100%; }
  .rule-state { font-size: 12px; }
  .calculator { grid-template-columns: 1fr; }
  .footer-inner { align-items: start; flex-wrap: wrap; font-size: 14px; }
}
@media (max-width: 355px) {
  .wrap { width: calc(100% - 32px); }
  .main-nav { gap: 7px; }
  .category-rail { width: 100%; padding-inline: 16px; }
  .menu-item { grid-template-columns: 70px minmax(0, 1fr) 11px; }
  .item-photo img { width: 70px; height: 88px; }
}
