/* ---- Desk items: close-ups of the menu, store map, supplier cards, newspaper, memo and flyer ----
   Each one is a printed thing picked up from the desk: paper colour, a faint
   grain made of gradients, and the same lifted shadow as the sticky note.
   Every sheet is width-limited like the other close-ups, so it fits a phone;
   the panel around it scrolls on short screens.                          */
.fmenu, .smap, .rolo, .np, .memo, .flyer {
  --paper-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 3px 8px rgba(0, 0, 0, .08), 0 22px 44px rgba(0, 0, 0, .24);
  --grain: radial-gradient(rgba(90, 70, 40, .05) 1px, transparent 1.2px) 0 0 / 5px 5px, radial-gradient(rgba(90, 70, 40, .04) 1px, transparent 1.2px) 2px 3px / 7px 7px;
  box-shadow: var(--paper-shadow); }
.tag-new { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font: 600 10.5px/1.5 var(--font-ui);
  letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }

/* ---- Paper menu: cream cardstock with a coloured band ---- */
.fmenu { width: min(430px, calc(100vw - 32px - 2 * var(--pad))); padding: 0 30px 24px; border-radius: 3px; color: #2A2620; transform: rotate(-.6deg);
  background: var(--grain), linear-gradient(170deg, #FFFCF4, #F6F0E2); border-top: 10px solid var(--accent); }
.fmenu-head { display: grid; justify-items: center; gap: 4px; padding: 22px 0 14px; text-align: center; }
.fmenu-logo { width: 44px; height: 44px; border-radius: 10px; }
.fmenu-logo.wordmark { font-size: 15px; }
.fmenu-co { margin-top: 4px; color: #5A5244; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.fmenu-title { margin-top: 2px; color: var(--accent); font-size: 30px; font-weight: 600; letter-spacing: -.01em; }
.fmenu-sec { margin-top: 14px; }
.fmenu-sec h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: #5A5244; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; }
.fmenu-sec h3::before, .fmenu-sec h3::after { content: ""; flex: 1; border-top: 1px solid #D9CFBC; }
.fmenu-list, .fmenu-sauces { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.fmenu-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 16.5px; font-weight: 500; }
.fmenu-sauces { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 5px 16px; font-size: 14.5px; }
.fmenu-sauces li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--accent); }
.fmenu-foot, .fmenu-empty { margin-top: 18px; padding-top: 12px; border-top: 1px dashed #D9CFBC; color: #5A5244; font-size: 12.5px; text-align: center; }

/* ---- Store map: a folded map sheet, with the store table beside it ---- */
.smap { width: min(1060px, calc(100vw - 32px - 2 * var(--pad))); padding: 20px 22px 22px; border-radius: 4px; color: var(--text);
  background: linear-gradient(90deg, transparent 33.1%, rgba(0, 0, 0, .045) 33.3%, transparent 33.6%, transparent 66.4%, rgba(0, 0, 0, .045) 66.6%, transparent 66.9%),
    var(--grain), #FAF8F2; }
.smap-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin: 0 36px 12px 0; }
.smap-head h2 { font-size: 22px; }
.smap-head p { color: var(--muted); font-size: 14px; }
.smap-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 980px) { .smap-body { grid-template-columns: minmax(0, 1fr) 290px; align-items: start; } }
.smap-fig { margin: 0; }
.smap-scroll { overflow-x: auto; border: 1px solid #DDD7CA; border-radius: 6px; overscroll-behavior-x: contain; }
.smap-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.smap-svg { display: block; width: 100%; min-width: 600px; height: auto; font-family: var(--font-ui); }
/* on a phone the whole map fits the card (small print); the table below lists every store */
@media (max-width: 560px) { .smap-svg { min-width: 0; } }
.smap-land { fill: #F1EDE2; }
.smap-river { fill: none; stroke: #A9C4D6; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.smap-leaders line { stroke: #7A7468; stroke-width: .9; }
.smap-river { opacity: .8; }
.smap-road-case { fill: none; stroke: #FFFDF7; stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.smap-road { fill: none; stroke: #C9B48A; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.smap-road.interstate { stroke: #B59A66; }
.smap-shield { fill: #FFFDF7; stroke: #8C7A55; stroke-width: 1; }
.smap-shield.interstate { fill: #4A5C74; stroke: #FFFDF7; }
.smap-shield-text { fill: #5C4E33; font-size: 9.5px; font-weight: 600; text-anchor: middle; }
.smap-shield.interstate + .smap-shield-text { fill: #fff; }
.smap-venue { fill: #3E4A5A; stroke: #fff; stroke-width: 1.4; }
.smap-code-venue { fill: #3E4A5A; }
.smap-legend .key.road { width: 18px; height: 5px; border-radius: 3px; background: #C9B48A; box-shadow: 0 0 0 1.5px #FFFDF7, 0 0 0 2.5px #DDD7CA; }
.smap-legend .key.venue, .smap-venues .key.venue { width: 11px; height: 11px; background: #3E4A5A; transform: rotate(45deg) scale(.85); }
.smap-venues { margin-top: 10px; color: var(--text); font-size: 13px; }
.smap-venues h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 500; }
.smap-venues ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 18px; margin: 0; padding-left: 20px; }
.smap-venues li { padding-left: 2px; }
.smap-venues li span { color: var(--muted); }
.smap-credit { margin-top: 8px; color: var(--muted); font-size: 11.5px; }
.smap-store { fill: var(--accent); stroke: #fff; stroke-width: 1.5; }
.smap-kitchen { fill: var(--gold); stroke: var(--gold-ink); stroke-width: 1.5; }
.smap-code, .smap-city { text-anchor: middle; paint-order: stroke; stroke: #F1EDE2; stroke-width: 3.5px; stroke-linejoin: round; }
.smap-code { fill: var(--text); font-size: 11px; font-weight: 600; }
.smap-code-kitchen { font-size: 11.5px; }
.smap-city { fill: var(--muted); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; }
.smap-north path { fill: var(--muted); }
.smap-north text { fill: var(--muted); font-size: 11px; font-weight: 600; text-anchor: middle; }
.smap-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 10px 0 0; padding: 0; color: var(--muted); font-size: 13px; list-style: none; }
.smap-legend li { display: flex; align-items: center; gap: 7px; }
.smap-legend .key { flex: none; width: 11px; height: 11px; }
.smap-legend .key.store { border: 1.5px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px #DDD7CA; }
.smap-legend .key.kitchen { width: 13px; height: 13px; border: 1.5px solid var(--gold-ink); border-radius: 2px; background: var(--gold); }
.smap-note { font-style: italic; }
.smap-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.smap-table caption { padding-bottom: 6px; font-size: 14px; font-weight: 600; text-align: left; }
.smap-table th, .smap-table td { padding: 4px 8px; border-bottom: 1px solid #E4DFD3; text-align: left; }
.smap-table thead th { border-bottom: 1.5px solid #BDB6A6; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.smap-table tbody th { color: var(--accent); font-weight: 600; }
.smap-table td:last-child { text-align: right; }

/* ---- Supplier card file: index cards on a Rolodex ---- */
.rolo { width: min(520px, calc(100vw - 32px - 2 * var(--pad))); padding: 20px 22px 18px; border-radius: 14px; box-shadow: var(--shadow-2);
  background: linear-gradient(180deg, #F4F2EE, #E6E3DD); }
.rolo-title { margin: 0 36px 14px 0; font-size: 18px; }
.rolo-stage { position: relative; padding-top: 22px; perspective: 900px; }
/* the cards behind the current one: two edges peeking out above it */
.rolo-stage::before, .rolo-stage::after { content: ""; position: absolute; left: 14px; right: 14px; height: 30px; border: 1px solid #D8D2C4; border-bottom: 0;
  border-radius: 6px 6px 0 0; background: #FBF9F2; }
.rolo-stage::before { top: 4px; left: 26px; right: 26px; }
.rolo-stage::after { top: 12px; left: 18px; right: 18px; }
.rolo-cards { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.rolo-card { position: relative; padding: 16px 20px 18px; border-radius: 6px; color: #23262B; background: #FFFEF9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15), 0 6px 14px rgba(0, 0, 0, .12); transform-origin: 50% 100%; }
.rolo-card:not(.on) { position: absolute !important; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; }
.rolo-tab { position: absolute; top: -20px; left: 22px; display: grid; place-items: center; width: 34px; height: 21px; border-radius: 5px 5px 0 0;
  background: #FFFEF9; color: var(--accent); font-size: 12px; font-weight: 600; box-shadow: 0 -1px 2px rgba(0, 0, 0, .08); }
.rolo-name { margin: 0 -20px; padding: 2px 20px 10px; border-bottom: 1px solid #E29A9A; font-size: 19px; line-height: 1.25; overflow-wrap: anywhere; }
/* typed on the ruled lines: the rules repeat every line, so long entries stay on them */
.rolo-fields { display: grid; align-content: start; min-height: 54px; margin: 0 -20px; padding: 0 20px; font: 15px/27px "Courier New", Courier, monospace;
  background: repeating-linear-gradient(180deg, transparent 0 26px, #CFDCE8 26px 27px); }
.rolo-fields div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; }
.rolo-fields dt { color: #5F6874; font: 600 11px/27px var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.rolo-fields dd { margin: 0; }
/* the contact lines, typed like the rest of the card; the whole block is one button that only shows the Procurement note */
.rolo-contact { display: grid; width: calc(100% + 40px); margin: 0 -20px; padding: 0 20px; border: 0; border-radius: 0; color: inherit; text-align: left; cursor: pointer;
  font: 15px/27px "Courier New", Courier, monospace; background: repeating-linear-gradient(180deg, transparent 0 26px, #CFDCE8 26px 27px); }
.rolo-contact:hover { background-color: #F6F1E2; }
.rolo-contact:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rolo-line { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; }
.rolo-key { color: #5F6874; font: 600 11px/27px var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.rolo-val { overflow-wrap: anywhere; }
.rolo-notice { margin: 12px 0 0; padding: 8px 12px; border-left: 3px solid var(--accent); border-radius: 4px; background: #fff; color: var(--text); font-size: 13.5px; line-height: 1.4; }
.rolo-notice:empty { margin: 0; padding: 0; border: 0; }
/* the metal rail the cards hang on, with a knob at each end */
.rolo-base { position: relative; display: block; height: 9px; margin: 4px 22px 0; border-radius: 5px; background: linear-gradient(180deg, #C9CCD1, #8E939A 60%, #B5B9BF); }
.rolo-base::before, .rolo-base::after { content: ""; position: absolute; top: -6px; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #5B5F66, #2C2F34); }
.rolo-base::before { left: -10px; }
.rolo-base::after { right: -10px; }
.rolo-card.turn-next { animation: rolo-next 260ms var(--ease-cam); }
.rolo-card.turn-prev { animation: rolo-prev 260ms var(--ease-cam); }
@keyframes rolo-next { from { transform: rotateX(-70deg); opacity: .3; } }
@keyframes rolo-prev { from { transform: rotateX(50deg) translateY(-8px); opacity: .3; } }
.rolo-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.rolo-btn { width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); }
.rolo-pos { min-width: 92px; font-size: 13.5px; font-weight: 500; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .rolo-fields div, .rolo-line { grid-template-columns: 1fr; gap: 0; } }
.rolo-hint, .rolo-empty { margin-top: 6px; color: var(--muted); font-size: 12.5px; text-align: center; }

/* ---- Newspaper: a folded broadsheet on newsprint ---- */
.np { width: min(880px, calc(100vw - 32px - 2 * var(--pad))); padding: 22px 30px 28px; border-radius: 2px; color: #1E1C19;
  font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(180deg, transparent 49.7%, rgba(0, 0, 0, .06) 50%, rgba(255, 255, 255, .5) 50.25%, transparent 50.8%), var(--grain), #F2EEE3; }
.np-mast { margin: 0 26px; text-align: center; }
.np-name { padding-bottom: 8px; font: 700 clamp(28px, 6.4vw, 54px)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.01em; }
.np-dateline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 5px 2px; border-top: 3px double #1E1C19;
  border-bottom: 1px solid #1E1C19; font-size: 12.5px; font-variant: small-caps; letter-spacing: .06em; }
.np-front { display: grid; gap: 0 26px; margin-top: 18px; }
@media (min-width: 760px) { .np-front { grid-template-columns: 1fr 1fr; } .np-front .lead { grid-column: 1 / -1; } }
.np-story { padding: 14px 0 16px; border-bottom: 1px solid #BEB7A6; }
.np-story.lead { padding-top: 4px; }
.np-section { margin-bottom: 4px; color: #6A6355; font: 600 11px/1.3 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; }
.np-headline { font: 700 21px/1.18 Georgia, "Times New Roman", serif; }
.lead .np-headline { font-size: clamp(25px, 4vw, 34px); line-height: 1.1; }
.np-dek { margin-top: 6px; color: #3E3A33; font-size: 15.5px; font-style: italic; line-height: 1.4; }
.lead .np-dek { font-size: 17.5px; }
.np-body { margin-top: 10px; font-size: 15px; line-height: 1.55; hyphens: auto; text-align: justify; }
.np-body p + p { margin-top: .6em; text-indent: 1.2em; }
@media (min-width: 760px) { .lead .np-body { column-count: 2; column-gap: 26px; column-rule: 1px solid #CFC8B8; } }
.np-earlier { margin-top: 20px; }
.np-earlier-title { padding-bottom: 4px; border-bottom: 2px solid #1E1C19; font: 700 16px/1.3 Georgia, "Times New Roman", serif; font-variant: small-caps; letter-spacing: .05em; }
.np-edition { border-bottom: 1px solid #BEB7A6; }
.np-edition summary { padding: 9px 2px; cursor: pointer; font-size: 15px; font-style: italic; }
.np-edition summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.np-edition .np-story:last-child { border-bottom: 0; }
@media (max-width: 560px) { .np { padding: 18px 18px 22px; } .np-mast { margin: 0 14px; } .np-body { text-align: left; hyphens: manual; } }

/* ---- Memo: one sheet on company letterhead ---- */
.memo { width: min(640px, calc(100vw - 32px - 2 * var(--pad))); padding: 26px 34px 34px; border-radius: 2px; color: #23262B; transform: rotate(.3deg);
  background: var(--grain), linear-gradient(180deg, #FFFFFD, #FAF9F5); }
.memo-letterhead { display: flex; align-items: center; gap: 10px; padding: 0 30px 12px 0; border-bottom: 3px solid var(--accent); }
.memo-logo { width: 30px; height: 30px; border-radius: 7px; }
.memo-logo.wordmark { font-size: 11px; }
.memo-co { font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.memo-title { margin: 22px 0 12px; font-size: 26px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.memo-fields { display: grid; gap: 4px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid #D5D2C9; font-size: 14.5px; }
.memo-fields div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; }
.memo-fields dt { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; line-height: 22px; text-transform: uppercase; }
.memo-fields dd { margin: 0; line-height: 22px; overflow-wrap: anywhere; }
.memo-body { font-size: 15px; }
.memo-status { color: var(--muted); font-style: italic; }
@media (max-width: 560px) { .memo { padding: 20px 20px 26px; } .memo-fields div { grid-template-columns: 1fr; gap: 0; } }

/* ---- Flyer: a printed promotion, taped to the desk ---- */
.flyer { position: relative; width: min(420px, calc(100vw - 32px - 2 * var(--pad))); margin-top: 8px; border-radius: 2px; color: #22252A; transform: rotate(.9deg);
  background: var(--grain), #FFFEFB; }
.flyer::before { content: ""; position: absolute; top: -10px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: rgba(236, 230, 214, .78);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1); transform: rotate(-3deg); }
/* printed ad colours, the same as the flyer drawn on the desk (scene.css .ph-flyer); not the intranet's accent */
.flyer-top { position: relative; overflow: hidden; padding: 30px 28px 26px; background: linear-gradient(170deg, #1F7A7A, #17605F); color: #fff; text-align: center; }
.flyer-top::after { content: ""; position: absolute; right: -70px; top: -70px; width: 130px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #F7A35C, #EE7F3B); opacity: .9; }
.flyer-top > * { position: relative; z-index: 1; }
.flyer-when { display: inline-block; margin-bottom: 12px; padding: 2px 12px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; }
.flyer-headline { font-size: clamp(28px, 7.5vw, 38px); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; overflow-wrap: anywhere; }
.flyer-subhead { margin-top: 10px; font-size: 16.5px; line-height: 1.4; opacity: .94; }
.flyer-img { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.flyer-offer { display: flex; justify-content: center; margin: -18px 24px 0; }
.flyer-offer span { display: block; max-width: 100%; padding: 12px 22px; border-radius: 12px; background: #F7A35C; color: #191919; font-size: 21px;
  font-weight: 600; line-height: 1.2; text-align: center; box-shadow: 0 3px 8px rgba(0, 0, 0, .18); transform: rotate(-2deg); }
.flyer-top + .flyer-offer { position: relative; }
.flyer-img + .flyer-offer { margin-top: -26px; position: relative; }
.flyer-details { display: grid; gap: 8px; margin: 20px 28px 0; padding: 0; font-size: 15.5px; line-height: 1.4; list-style: none; }
.flyer-details li { position: relative; padding-left: 22px; }
.flyer-details li::before { content: ""; position: absolute; top: .45em; left: 2px; width: 8px; height: 8px; border-radius: 2px; background: #1E6E72; transform: rotate(45deg); }
.flyer-foot { display: grid; gap: 8px; margin-top: 22px; padding: 14px 28px 20px; border-top: 1px dashed #D5D0C4; }
.flyer-brand { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.flyer-logo { width: 26px; height: 26px; border-radius: 6px; }
.flyer-logo.wordmark { font-size: 10px; }
.flyer-fine { color: var(--muted); font-size: 11.5px; line-height: 1.45; }
@media (max-width: 560px) { .flyer-top { padding: 24px 18px 22px; } .flyer-details { margin: 18px 18px 0; } .flyer-foot { padding: 12px 18px 16px; } }

@media (prefers-reduced-motion: reduce) {
  .rolo-card.turn-next, .rolo-card.turn-prev { animation: none; }
}
