@font-face {
  font-family: "Octosale";
  src: url("assets/fonts/octosale.woff2") format("woff2");
  font-display: swap;
}

:root {
  --eggplant: #3d2136;
  --lilac: #ddc5dd;
  --lavender: #ad7bb3;
  --apricot: #f29871;
  --white: #ffffff;
  --ink: #02060d;
  --navc: #ad7bb3;
  --gutter: clamp(16px, 2.6vw, 40px);
  --display: "Octosale", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lavender); color: var(--ink); font: 400 15px/1.5 var(--mono); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.mark { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.mark--horizontal { --m: url("assets/brand/HorizontalWordmark-mark.svg"); width: 150px; aspect-ratio: 944.65 / 266.36; }
.mark--square { --m: url("assets/brand/SquareWordmark-mark.svg"); aspect-ratio: 1; }

/* Glow title: white fill, black outline, soft halo. */
.glow { font: 400 clamp(44px, 9vw, 150px)/.86 var(--display); color: var(--white); -webkit-text-stroke: .045em var(--ink); paint-order: stroke fill; text-shadow: 0 0 .18em rgba(255,255,255,.55), 0 0 .5em rgba(255,255,255,.25); text-align: center; letter-spacing: -.005em; }
.glow--sm { font-size: clamp(40px, 6.4vw, 104px); }
@media (max-width: 760px) { .glow { font-size: min(64px, 15vw); } .glow--sm { font-size: min(52px, 12vw); } }

/* Highlighted mono text: black slab behind each line. */
.hl { max-width: 44rem; margin-inline: auto; text-align: center; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.75; }
.hl span { background: var(--ink); color: var(--white); padding: .12em .35em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl a { color: var(--apricot); }
.hl b { color: var(--apricot); font-weight: 500; }

.see { display: inline-flex; align-items: center; gap: .4em; background: var(--apricot); color: var(--ink); border: 0; padding: 6px 12px; font: 500 14px/1.2 var(--mono); text-decoration: none; transition: background .15s, color .15s, transform .15s; }
.see:hover { background: var(--white); transform: translateY(-1px); }
.see--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px currentColor; }
.see--ghost:hover { background: var(--white); color: var(--ink); }

/* Nav: links left, glowing mark in the middle, tinted by the section under it. */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--gutter) 34px; background: linear-gradient(var(--navc) 35%, color-mix(in srgb, var(--navc) 0%, transparent)); transition: --navc .4s; pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav__left { display: flex; gap: clamp(14px, 2.4vw, 36px); }
.nav a, .nav button { color: var(--white); text-decoration: none; font: 400 15px/1 var(--mono); background: none; border: 0; padding: 4px 0; text-shadow: 0 0 6px rgba(2,6,13,.35); }
.nav a:hover, .nav button:hover { color: var(--apricot); }
.nav .is-here { color: var(--apricot); }
.icon--wide { width: clamp(150px, 16vw, 230px); }
.nav.is-light a, .nav.is-light button, .nav.is-light .nav__clock { color: var(--ink); text-shadow: none; }
.nav.is-warm .is-here { color: var(--ink); text-shadow: none; text-decoration: underline; }
.nav.is-light .is-here { color: var(--eggplant); text-decoration: underline; }
.nav.is-light .nav__logo { color: var(--ink); filter: none; }
.nav__logo { color: var(--white); filter: drop-shadow(0 0 6px rgba(255,255,255,.8)) drop-shadow(0 0 16px rgba(255,255,255,.4)); animation: logo 1.4s ease-out both; }
@keyframes logo { from { opacity: 0; filter: drop-shadow(0 0 30px #fff) blur(6px); } }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: clamp(14px, 2.4vw, 36px); }
.nav__clock { color: var(--white); font-variant-numeric: tabular-nums; opacity: .9; }
/* Order button: a loud apricot block with a hard ink edge, so it reads on every section color. */
.nav .nav__order, .nav.is-light .nav__order { background: var(--apricot); color: var(--ink); font: 500 17px/1 var(--mono); padding: 12px 22px; text-shadow: none; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--ink); transition: background .12s, translate .12s, box-shadow .12s; }
.nav .nav__order:hover { background: var(--white); color: var(--ink); translate: 2px 2px; box-shadow: inset 0 0 0 2px var(--ink), 2px 2px 0 var(--ink); }
@property --navc { syntax: "<color>"; inherits: true; initial-value: #ad7bb3; }

/* Field of objects */
.field { position: relative; min-height: 100svh; padding: 100px var(--gutter) 50px; background: var(--lavender); display: grid; align-items: center; }
.stage { position: relative; width: min(100%, calc((100svh - 170px) * 1440 / 860)); margin-inline: auto; aspect-ratio: 1440 / 860; }
.obj { position: absolute; left: calc(var(--l) * 1%); top: calc(var(--t) * 1%); width: calc(var(--w) * 1%); aspect-ratio: var(--ar); display: block; padding: 0; border: 0; background: none; text-decoration: none; animation: appear .7s cubic-bezier(.2,1.4,.4,1) backwards; animation-delay: calc(.25s + var(--i) * .09s); transition: rotate .25s cubic-bezier(.3,1.6,.5,1), scale .25s cubic-bezier(.3,1.6,.5,1); }
@keyframes appear { from { opacity: 0; transform: scale(.7) rotate(-6deg); } }
.obj__sil, .obj__ink { position: absolute; inset: 0; width: 100%; height: 100%; }
.obj__sil { background: var(--white); -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; transition: background .12s; }
.obj__ink { object-fit: fill; }
.obj__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--ink); color: var(--white); font: 500 14px/1 var(--mono); padding: 6px 9px; white-space: nowrap; opacity: 0; transition: opacity .12s; pointer-events: none; }
.obj:hover .obj__sil, .obj:focus-visible .obj__sil { background: var(--apricot); }
.obj:hover .obj__label, .obj:focus-visible .obj__label { opacity: 1; }
.obj:hover, .obj:focus-visible { rotate: -3deg; scale: 1.04; }

/* Touch screens have no hover, so the objects wear their highlight all the time. */
@media (hover: none) {
  .stage .obj__sil { background: var(--apricot); }
  .obj:active { rotate: -3deg; scale: 1.04; }
}

/* Chapters: a color band, then a full-bleed media panel that sticks while the next band slides over it. */
main { position: relative; }
.band { position: relative; z-index: 2; background: var(--c); min-height: 72svh; padding: 120px var(--gutter) 80px; display: grid; place-items: center; align-content: center; gap: 22px; }
.band--tall { min-height: auto; padding-bottom: 110px; }
.icon { position: relative; display: block; width: clamp(110px, 12vw, 170px); aspect-ratio: var(--ar); }
.icon .obj__sil { background: var(--white); }
.media { position: sticky; top: 0; z-index: 1; height: 100svh; overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.media__bg { position: absolute; inset: 0; }
.media__bg video, .media__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(1.2) brightness(.55); transform: scale(1.15); }
.media__bg--sharp video { filter: brightness(.62); transform: none; }
.media__card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); height: min(82svh, 820px); aspect-ratio: 9 / 16; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.media__card--45 { aspect-ratio: 1080 / 1410; }
.media__card video, .media__card img { width: 100%; height: 100%; object-fit: cover; }
.media__text { position: relative; z-index: 3; display: grid; justify-items: center; gap: 18px; padding: 0 var(--gutter); }
.media .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* Each later band and panel stacks above the earlier ones. */

/* Receipt */
.receipt { position: relative; width: min(100%, 460px); background: #fbfaf7; color: var(--ink); padding: 34px 30px 30px; margin-top: 18px; transform: rotate(-1.5deg); box-shadow: 0 18px 40px rgba(2,6,13,.18); font-size: 14px; }
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: linear-gradient(-45deg, transparent 6px, #fbfaf7 0) 0 0 / 12px 12px repeat-x, linear-gradient(45deg, transparent 6px, #fbfaf7 0) 0 0 / 12px 12px repeat-x; }
.receipt::before { top: -12px; transform: rotate(180deg); }
.receipt::after { bottom: -12px; }
.receipt__head, .receipt__foot { text-align: center; font-size: 12px; letter-spacing: .04em; }
.receipt__foot { margin: 20px 0 18px; }
.receipt h3 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; margin: 22px 0 8px; padding-top: 14px; border-top: 1px dashed var(--ink); }
.receipt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.receipt ul { gap: 10px; }
.receipt li span { display: block; font-weight: 500; }
.receipt li em { display: block; font-style: normal; font-size: 12px; line-height: 1.4; opacity: .7; }
.receipt ul.plain { gap: 4px; }
.receipt__note { font-size: 12px; line-height: 1.4; opacity: .7; margin-top: 12px; }
/* Customer favorites get a red pen squiggle under the name. */
.receipt li .fav { display: inline-block; position: relative; margin-bottom: 9px; }
.receipt li .fav::after { content: ""; position: absolute; left: -4px; right: -10px; bottom: -8px; height: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7.5c5-5.5 9-5 13 .2s8 4.600 12.500-.4 8.500-5.800 13-.3 7.500 5.200 12-.6 9-4.700 13.500.5 8 4.300 12.500-.7 8.500-5.300 13-.2 8 3.900 12.500-1.200 7-3.600 11-1.300 5 1.800' fill='none' stroke='%23e0291d' stroke-width='2.300' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; rotate: -1.2deg; pointer-events: none; }
/* Devoción stamp: pressed on at an angle, hanging off the edge of the paper. */
.coffee { position: relative; }
.stamp { position: absolute; right: -34px; top: 74px; width: 62%; height: auto; rotate: -17deg; mix-blend-mode: multiply; pointer-events: none; }
.receipt .see { display: flex; justify-content: center; }

/* Two receipts on one sheet: the button flips it over like paper. */
.see--ink { background: var(--ink); color: var(--white); }
.see--ink:hover { background: var(--eggplant); color: var(--white); }
.flip__btn { margin-top: 6px; }
.flip { width: min(100%, 460px); perspective: 1400px; margin-top: 18px; }
.flip__inner { display: grid; transform-style: preserve-3d; }
.flip__inner > .receipt { grid-area: 1 / 1; width: 100%; margin-top: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.receipt--back { transform: rotateY(180deg) rotate(1.5deg); }
.flip__inner { transition: transform .8s cubic-bezier(.45,.05,.25,1); will-change: transform; }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
/* The lift is a separate 2D move on the wrapper, so the turn itself stays one smooth rotation. */
.flip.is-lifting { animation: paper-lift .8s cubic-bezier(.45,.05,.25,1); }
@keyframes paper-lift { 50% { transform: translateY(-16px) rotate(-1.2deg); } }

/* Around town */
.hl--center { text-align: center; }
.ugc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: min(100%, 1100px); margin-top: 20px; }
.ugc img { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; filter: grayscale(1) contrast(1.5) brightness(1.05); transition: filter .2s; }
.ugc img:hover { filter: none; }

/* Footer */
.foot { position: relative; z-index: 3; background: var(--ink); color: var(--lilac); padding: 60px var(--gutter) 34px; display: grid; justify-items: center; gap: 30px; }
.foot__order { width: 120px; color: var(--lilac); filter: drop-shadow(0 0 10px rgba(221,197,221,.6)); }
.foot__order .mark { width: 100%; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.foot__links a:hover { color: var(--apricot); }
.foot__links span { opacity: .6; }

/* Order sheet */
.sheet { border: 0; padding: 0; margin: auto 0 auto auto; height: 100dvh; max-height: none; width: min(500px, 100vw); background: var(--lavender); color: var(--ink); }
.sheet::backdrop { background: rgba(2,6,13,.6); }
.sheet__inner { padding: 26px; display: grid; gap: 26px; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; }
.sheet__head .glow { text-align: left; }
.sheet__head .see--ghost { color: var(--ink); }
.sheet__head .see--ghost:hover { background: var(--ink); color: var(--white); }
.sheet__grid { display: grid; gap: 18px; }
.sheet__grid > div { display: grid; gap: 8px; justify-items: start; background: var(--ink); color: var(--white); padding: 20px; }
.sheet__grid h3 { font: 400 40px/.9 var(--display); color: var(--apricot); }
.sheet__grid a:not(.see) { color: var(--white); }
.sheet__catering { color: var(--ink); font-weight: 500; }
.sheet[open] { animation: slide .3s cubic-bezier(.2,.9,.3,1); }
@keyframes slide { from { transform: translateX(100%); } }

/* Catering popup: the order site in a frame, over the catering chapter. */
.cater { border: 0; padding: 0; width: min(1100px, 94vw); height: min(880px, 90dvh); max-width: none; max-height: none; background: var(--eggplant); color: var(--white); box-shadow: 0 30px 90px rgba(2,6,13,.5); }
.cater[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: pop .3s cubic-bezier(.2,.9,.3,1); }
.cater::backdrop { background: rgba(2,6,13,.6); }
.cater__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; }
.cater__bar .glow { text-align: left; font-size: clamp(36px, 4vw, 60px); }
.cater__actions { display: flex; gap: 8px; }
.cater__frame { width: 100%; height: 100%; border: 0; background: var(--white); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }

/* Raffi the catering bot as an instant messenger window. */
.im { position: fixed; right: 16px; bottom: 16px; z-index: 25; font: 11px/1.3 Tahoma, Verdana, "Segoe UI", sans-serif; color: #000; --bevel: inset -1px -1px #404040, inset 1px 1px #ffffff, inset -2px -2px #808080, inset 2px 2px #dfdfdf; --well: inset 1px 1px #808080, inset -1px -1px #ffffff, inset 2px 2px #404040; }
.im[hidden] { display: none; }
.win__title { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 3px 3px 3px 6px; background: linear-gradient(90deg, var(--eggplant), var(--lavender)); color: var(--white); font-weight: 700; font-size: 11px; white-space: nowrap; }
.win__title i, .win__btns button { display: grid; place-items: center; width: 16px; height: 14px; padding: 0 0 3px; border: 0; background: #d4d0c8; color: #000; font: 700 11px/1 Tahoma, Verdana, sans-serif; font-style: normal; box-shadow: var(--bevel); }
.win__btns { display: flex; gap: 2px; }
.win__btns button:active { box-shadow: var(--well); }
.buddy { display: block; width: 224px; padding: 2px; background: #d4d0c8; box-shadow: var(--bevel), 0 12px 30px rgba(2,6,13,.3); animation: appear .7s cubic-bezier(.2,1.4,.4,1) 1.4s backwards; }
.buddy__body { display: grid; gap: 2px; margin: 3px 2px 2px; padding: 6px 6px 8px; background: var(--white); box-shadow: var(--well); }
.buddy__group { display: block; font-weight: 700; margin-bottom: 2px; }
.buddy [data-buddy-title] { cursor: pointer; }
.buddy [data-buddy-title] small { font-weight: 400; opacity: .85; }
.buddy__row { display: flex; gap: 8px; align-items: center; width: 100%; padding: 3px 4px 3px 12px; border: 0; background: none; text-align: left; font: inherit; color: inherit; }
.buddy__row img { width: 26px; height: 34px; object-fit: contain; flex: none; }
.buddy__row b { display: block; font-size: 12px; }
.buddy__row small { display: block; font-size: 10px; color: #555; }
.buddy__row:hover, .buddy__row:focus-visible { background: #0a246a; color: var(--white); outline: none; }
.buddy__row:hover small, .buddy__row:focus-visible small { color: #dfe6ff; }
.buddy:has([data-buddy-fold][aria-expanded="false"]) .buddy__body { display: none; }
.im.is-chatting .buddy { display: none; }
.imwin { width: 390px; height: min(620px, calc(100dvh - 100px)); display: flex; flex-direction: column; padding: 2px; background: #d4d0c8; box-shadow: var(--bevel), 0 18px 50px rgba(2,6,13,.4); }
.imwin[hidden] { display: none; }
.imwin__menu { display: flex; gap: 12px; margin: 0; padding: 3px 6px 2px; }
.imwin__menu span::first-letter { text-decoration: underline; }
.imwin__menu span { display: inline-block; }
.imwin__warn { margin: 0; padding: 0 6px 3px; font-size: 10px; color: #333; }
.imwin__frame { flex: 1; min-height: 0; margin: 0 2px 2px; padding: 2px; background: var(--white); box-shadow: var(--well); }
.imwin__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.info { display: flex; flex-direction: column; overflow: auto; overscroll-behavior: contain; padding: 8px 10px; font: 13px/1.45 Arial, Helvetica, sans-serif; }
.info__log { display: grid; gap: 5px; }
.info__log p { margin: 0; }
.info__log p::before { font-weight: 700; margin-right: .35em; }
.info__log .bot::before { content: "UptacoInfo:"; color: #c00000; }
.info__log .you::before { content: "You:"; color: #0000c0; }
.info__log .sys { color: #808080; font-style: italic; font-size: 11px; }
.info__log .sys::before { content: none; }
.info__log a { color: #0000c0; }
.info__choices { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 10px; }
.info__choices button, .info__form button { padding: 4px 9px; border: 0; background: #d4d0c8; color: #000; font: 11px/1.2 Tahoma, Verdana, sans-serif; box-shadow: var(--bevel); }
.info__choices button:active, .info__form button:active { box-shadow: var(--well); }
.info__form { display: flex; gap: 6px; margin: 2px; }
.info__form input { flex: 1; min-width: 0; padding: 6px; border: 0; background: var(--white); font: 16px/1.2 Arial, Helvetica, sans-serif; box-shadow: var(--well); }
.info__form button { padding: 6px 14px; font-weight: 700; }

/* Phone */
@media (max-width: 760px) {
  .nav { grid-template-columns: auto 1fr; padding-top: 14px; }
  .nav__left { display: none; }
  .nav__logo { grid-column: 1; }
  .nav .mark--horizontal { width: 112px; }
  .nav__clock { display: none; }
  .nav .nav__order, .nav.is-light .nav__order { font-size: 15px; padding: 10px 16px; box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 var(--ink); }
  .field { padding-top: 96px; padding-bottom: 120px; align-items: center; }
  .stage { width: 100%; aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; align-items: center; justify-items: center; }
  .stage .obj { width: 74%; }
  .stage .obj[data-feature] { grid-column: 1 / -1; width: 40%; }
  .stage .obj[href="#ch-specials"] { width: 44%; }
  .stage .obj[data-contact] { grid-column: 1 / -1; width: 36%; }
  .stamp { right: -6px; width: 58%; }
  /* The receipt is tall, so on a narrow screen its tilt is cut back to keep the corners on the page. */
  .receipt { transform: rotate(-.4deg); }
  .receipt--back { transform: rotateY(180deg) rotate(.4deg); }
  .obj { position: relative; left: auto; top: auto; width: 100%; }
  .obj__label { opacity: 1; font-size: 14px; line-height: 1.15; padding: 5px 8px; top: auto; bottom: -10px; transform: translateX(-50%); white-space: normal; width: max-content; max-width: 118%; text-align: center; }
  .media__card { display: none; }
  /* Text sits at the bottom on phones so it does not cover the food in the middle of each video. */
  .media { place-items: end center; }
  .media__text { padding-bottom: 64px; }
  .media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(2,6,13,.55)); pointer-events: none; }
  .media__bg video, .media__bg img { filter: brightness(.6); transform: none; }
  .ugc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cater { width: 100vw; height: 100dvh; margin: 0; }
  .cater__bar { padding: 10px 12px; }
  .im { right: 10px; bottom: 10px; }
  .buddy { width: 186px; }
  .buddy .win__title { padding: 6px 4px 6px 8px; font-size: 12px; }
  .buddy__group { display: none; }
  .buddy__body { padding: 3px; }
  .buddy__row { padding-left: 2px; }
  .buddy__row small { display: none; }
  .imwin { position: fixed; left: 8px; right: 8px; bottom: 8px; width: auto; height: min(640px, calc(100dvh - 70px)); }
  .sheet { margin: auto 0 0 0; width: 100vw; height: auto; max-height: 92dvh; }
  @keyframes slide { from { transform: translateY(100%); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.info__log button { padding: 1px 6px; border: 0; background: #d4d0c8; color: #000; font: 11px/1.2 Tahoma, Verdana, sans-serif; box-shadow: var(--bevel); }
