@font-face { font-family: "Chonburi"; src: url("fonts/chonburi-thai.woff2") format("woff2"); font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Chonburi"; src: url("fonts/chonburi-latin.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Sarabun"; font-weight: 400; src: url("fonts/sarabun-400-thai.woff2") format("woff2"); font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Sarabun"; font-weight: 400; src: url("fonts/sarabun-400-latin.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Sarabun"; font-weight: 600; src: url("fonts/sarabun-600-thai.woff2") format("woff2"); font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Sarabun"; font-weight: 600; src: url("fonts/sarabun-600-latin.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Sarabun"; font-weight: 700; src: url("fonts/sarabun-700-thai.woff2") format("woff2"); font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Sarabun"; font-weight: 700; src: url("fonts/sarabun-700-latin.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
  --green: #0E5A4A;
  --green-deep: #0A4438;
  --enamel: #F3F5EC;
  --enamel-shade: #DFE3D6;
  --cobalt: #16307E;
  --cobalt-deep: #0F2260;
  --tomato: #C42A1F;
  --tomato-deep: #A81F18;
  --marigold: #F2B21B;
  --marigold-light: #FFC93C;
  --table: #0B1433;
  --ink: #14213F;
  --ink-soft: #414C69;
  --on-green-soft: #D2E5DA;

  --rim: 12px;
  --gutter: clamp(16px, 4.5vw, 72px);
  --inset: clamp(4px, 1.6vw, 28px);
  --display: "Chonburi", "Sarabun", serif;
  --text: "Sarabun", "Noto Sans Thai", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --sit: drop-shadow(0 8px 10px rgba(0, 0, 0, .32));
  --lift: drop-shadow(0 18px 20px rgba(0, 0, 0, .36));
  --focus: var(--marigold);

  color-scheme: light;
  scrollbar-color: var(--cobalt) var(--table);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--green);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
  caret-color: var(--tomato);
}
::selection { background: var(--marigold); color: var(--cobalt-deep); }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, pre { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
.art { display: block; }
.art svg { width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .42em; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.defs { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 24px; top: -80px; z-index: 90; background: var(--marigold); color: var(--cobalt-deep); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 24px; }

/* the tray's rolled rim stays put while its surface scrolls underneath */
.rim { position: fixed; inset: 0; z-index: 40; overflow: hidden; pointer-events: none; }
.rim::before {
  content: ""; position: absolute; inset: 0;
  border: var(--rim) solid var(--cobalt);
  border-radius: 34px;
  box-shadow: 0 0 0 40px var(--table);
}

/* first viewport: one tray, three things already on it */
.hero {
  --focus: var(--marigold);
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--rim) + 14px) var(--gutter) calc(var(--rim) + 104px);
  display: grid;
  grid-template-columns: minmax(250px, 3.4fr) 8.6fr;
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(20px, 3vw, 48px);
  background: var(--green);
  color: var(--enamel);
}
/* the gloss: a hard-edged window reflection, painted behind everything */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, transparent 62%, rgba(255, 255, 255, .05) 62% 71%, transparent 71% 73%, rgba(255, 255, 255, .05) 73% 75%, transparent 75%);
}
.decal { position: absolute; pointer-events: none; }
.decal--hero { --w: min(50vw, 72vh); width: var(--w); top: calc(var(--w) * -.3); right: calc(var(--w) * -.35); }

.nav { grid-column: 1 / -1; position: relative; display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-block: 6px; }
.brand { font: 400 1.75rem/1.4 var(--display); text-decoration: none; }
.nav nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav nav a { font-weight: 600; text-decoration: none; padding-block: 6px; background: linear-gradient(var(--marigold), var(--marigold)) 0 100% / 0 3px no-repeat; transition: background-size .35s var(--ease); }
.nav nav a:hover { background-size: 100% 3px; }

h1 {
  grid-column: 1 / -1; position: relative;
  font: 400 min(8.1vw, 13vh, 7.5rem)/1.22 var(--display);
  letter-spacing: -.01em;
  margin-top: clamp(4px, 1.5vh, 18px);
}
h1 .h1-line { display: block; }
.nb { display: inline-block; white-space: nowrap; }

.lede { grid-column: 1; grid-row: 3; align-self: end; position: relative; padding-bottom: 6px; max-width: 34ch; }
.lede p { color: var(--enamel); font-size: 1.125rem; }
.textlink { display: inline-block; margin-top: 10px; font-weight: 600; }
.textlink:hover { color: var(--marigold); }

.stage {
  grid-column: 2; grid-row: 3; position: relative;
  --s: min(18.5vw, 27vh);
  display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(12px, 2vw, 32px);
  padding-top: 10px;
}
.obj { display: flex; flex-direction: column; align-items: flex-start; }
.obj .art { width: var(--size); height: var(--size); filter: var(--sit); transition: filter .4s var(--ease), translate .4s var(--ease); }
.obj:nth-child(1) { --size: calc(var(--s) * 1.18); --turn: -8deg; }
.obj:nth-child(2) { --size: calc(var(--s) * .9); --turn: 12deg; margin-bottom: clamp(24px, 6vh, 64px); }
.obj:nth-child(3) { --size: calc(var(--s) * 1.04); --turn: -14deg; }
.obj .art svg { rotate: var(--turn); width: 100%; height: 100%; }
.obj__cap { display: flex; flex-direction: column; align-items: flex-start; margin-top: 6px; }
.obj__line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.obj__name { font-weight: 600; font-size: 1.125rem; line-height: 1.4; }
.obj .price { color: var(--marigold-light); font-weight: 600; font-size: 1.125rem; }
.obj .btn { margin-top: 8px; }
.obj.is-on .art { filter: var(--lift); translate: 0 -6px; }

/* things are set down on the tray once, when the page opens */
@media (prefers-reduced-motion: no-preference) {
  .obj .art { animation: set-down .8s var(--ease) both; }
  .obj:nth-child(2) .art { animation-delay: .12s; }
  .obj:nth-child(3) .art { animation-delay: .24s; }
}
@keyframes set-down {
  from { translate: 0 -22px; scale: 1.07; filter: drop-shadow(0 30px 26px rgba(0, 0, 0, .28)); }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 8px 22px;
  border: 0; border-radius: 999px;
  font-weight: 700; line-height: 1.2;
  transition: translate .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn--marigold { background: var(--marigold); color: var(--cobalt-deep); box-shadow: 0 2px 3px rgba(0, 0, 0, .3), 0 6px 12px rgba(0, 0, 0, .2); }
.btn--marigold:hover { translate: 0 -2px; box-shadow: 0 3px 4px rgba(0, 0, 0, .3), 0 12px 20px rgba(0, 0, 0, .24); }
.btn--marigold:active { translate: 0 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.btn--enamel { background: var(--enamel); color: var(--green-deep); box-shadow: 0 2px 3px rgba(0, 0, 0, .3), 0 6px 12px rgba(0, 0, 0, .2); }
.btn--enamel:hover { translate: 0 -2px; box-shadow: 0 3px 4px rgba(0, 0, 0, .3), 0 12px 20px rgba(0, 0, 0, .24); }
.btn--enamel:active { translate: 0 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.btn--cobalt { background: var(--cobalt); color: var(--enamel); box-shadow: 0 2px 3px rgba(0, 0, 0, .3), 0 6px 12px rgba(0, 0, 0, .2); }
.btn--cobalt:hover { translate: 0 -2px; box-shadow: 0 3px 4px rgba(0, 0, 0, .3), 0 12px 20px rgba(0, 0, 0, .24); }
.btn--cobalt:active { translate: 0 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.btn--ghost { background: transparent; color: var(--cobalt); box-shadow: inset 0 0 0 2px var(--cobalt); }
.btn--ghost:hover { background: var(--cobalt); color: var(--enamel); }
.btn--big { min-height: 66px; padding-inline: 56px; font-size: 1.5rem; }
.btn--wide { width: 100%; min-height: 56px; font-size: 1.125rem; }

/* menu, printed on the white-enamelled part of the tray */
.menu {
  --focus: var(--cobalt);
  position: relative; overflow: clip;
  margin-inline: var(--inset);
  border-radius: 28px;
  background: var(--enamel);
  padding: clamp(40px, 6vw, 88px) calc(var(--gutter) - var(--inset)) clamp(48px, 6vw, 88px);
}
.decal--menu { width: clamp(150px, 20vw, 300px); top: clamp(-90px, -5vw, -30px); right: clamp(-90px, -5vw, -30px); }

.menu h2 { font: 400 clamp(3.25rem, 8vw, 6rem)/1.2 var(--display); color: var(--cobalt); }
.menu__hint { margin-top: 8px; color: var(--ink-soft); max-width: 75ch; text-wrap: pretty; }
.menu__hint b { font-weight: 600; color: var(--ink); }

.group {
  display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; column-gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(20px, 2.5vw, 32px);
  border-top: 3px solid var(--cobalt);
}
.group__side { position: sticky; top: 36px; align-self: start; }
.group h3 { font: 400 clamp(1.875rem, 3.2vw, 2.75rem)/1.3 var(--display); color: var(--cobalt); }
.group__art { width: clamp(130px, 15vw, 210px); margin-top: 14px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .22)); }

.rows { display: grid; }
.row {
  --art: 68px;
  display: grid; grid-template-columns: var(--art) minmax(0, 1fr) 4.5ch auto; column-gap: clamp(12px, 2vw, 24px); align-items: center;
  padding: 14px 10px; margin-inline: -10px; border-radius: 14px;
  border-bottom: 1px solid var(--enamel-shade);
  transition: background-color .3s, box-shadow .4s var(--ease), translate .4s var(--ease);
}
.row:last-child { border-bottom-color: transparent; }
.row .art { filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .24)); }
.row__name { font-weight: 600; font-size: 1.1875rem; line-height: 1.4; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.row__when { color: var(--tomato); font-weight: 600; font-size: .875rem; }
.row__desc { color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.price { font-weight: 600; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.row .price { font-size: 1.1875rem; text-align: right; color: var(--cobalt); }
.row__add {
  min-height: 44px; min-width: 92px; padding: 6px 18px;
  background: var(--cobalt); color: var(--enamel); border: 0; border-radius: 999px; font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .28); transition: translate .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.row__add:hover { translate: 0 -2px; box-shadow: 0 6px 12px rgba(0, 0, 0, .28); }
.row__add:active { translate: 0 1px; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
/* one rule for everything chosen: it lifts off the enamel */
.row.is-on { background: #fff; border-bottom-color: transparent; box-shadow: 0 10px 22px rgba(0, 0, 0, .14); translate: 0 -2px; position: relative; z-index: 1; }
.row.is-on .row__add { background: var(--marigold); color: var(--cobalt-deep); box-shadow: 0 2px 4px rgba(0, 0, 0, .28); }

/* an afternoon, laid out along a line */
.afternoon {
  --focus: var(--cobalt);
  position: relative; background: var(--marigold); color: var(--cobalt-deep);
  margin: clamp(16px, 2.4vw, 32px) var(--inset) 0;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 88px) calc(var(--gutter) - var(--inset)) clamp(44px, 6vw, 80px);
}
.afternoon h2 { font: 400 clamp(2.25rem, 5.4vw, 4.75rem)/1.25 var(--display); max-width: 15em; }
.timeline {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px);
  margin: clamp(32px, 5vw, 64px) 0 clamp(32px, 4vw, 48px);
  position: relative;
}
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: clamp(58px, 6.5vw, 92px); height: 3px; background: var(--cobalt); }
.stop { position: relative; }
.stop__arts { display: flex; height: clamp(116px, 13vw, 184px); align-items: center; }
.stop__arts .art { width: clamp(112px, 12.5vw, 176px); filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .32)); flex: none; }
.stop__arts .art + .art { margin-left: calc(clamp(112px, 12.5vw, 176px) * -.28); }
.stop__arts .art:nth-child(1) svg { rotate: -9deg; }
.stop__arts .art:nth-child(2) svg { rotate: 14deg; }
.stop__time { display: block; margin-top: 14px; font: 400 clamp(1.375rem, 2.2vw, 1.875rem)/1.35 var(--display); }
.stop__label { display: block; font-weight: 600; }
.stop__items { display: block; font-size: 1rem; }

/* the close */
.visit {
  --focus: var(--marigold);
  position: relative; overflow: hidden;
  background: var(--green); color: var(--enamel);
  padding: clamp(72px, 9vw, 130px) var(--gutter) calc(var(--rim) + 112px);
}
.decal--visit { --w: clamp(220px, 36vw, 520px); width: var(--w); right: calc(var(--w) * -.2); top: clamp(10px, 3vw, 50px); }
.visit h2 { position: relative; font: 400 clamp(2.75rem, 7.4vw, 6.5rem)/1.22 var(--display); max-width: 9em; margin-bottom: clamp(24px, 3vw, 40px); }
.facts { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px clamp(16px, 3vw, 48px); margin-top: clamp(56px, 7vw, 96px); padding-top: 20px; border-top: 2px solid rgba(243, 245, 236, .5); }
.facts dt { font-weight: 700; color: var(--marigold-light); }
.sample { position: relative; margin-top: 24px; font-size: .9375rem; color: var(--enamel); max-width: 60ch; }
.lede .sample { margin-top: 10px; font-size: .9375rem; line-height: 1.45; color: var(--on-green-soft); }

.noscript { position: fixed; top: 24px; left: 24px; right: 24px; z-index: 95; padding: 14px; background: var(--marigold); color: var(--cobalt-deep); border-radius: 12px; }

/* the tray you carry: same spot, only what's on it changes */
.dock {
  --focus: var(--marigold);
  position: fixed; z-index: 60;
  right: calc(var(--rim) + clamp(10px, 2vw, 28px));
  bottom: calc(var(--rim) + clamp(10px, 2vw, 24px) + env(safe-area-inset-bottom, 0px));
  width: min(420px, calc(100vw - 2 * var(--rim) - 20px));
}
.bar {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px;
  background: var(--green); color: var(--enamel);
  border: 6px solid var(--cobalt);
  border-radius: 24px; box-shadow: 0 16px 34px rgba(0, 0, 0, .42);
}
.dock.is-open .bar { border-radius: 0 0 24px 24px; }
.bar__toggle { flex: 1; min-width: 0; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 2px 8px; background: none; border: 0; border-radius: 14px; text-align: left; }
.bar__toggle:hover { background: rgba(255, 255, 255, .09); }
.bar__cups { display: flex; flex: none; min-width: 46px; }
.bar__cups > svg { width: 44px; height: 44px; }
.bar__cups .art { width: 48px; height: 48px; flex: none; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .4)); }
.bar__cups .art + .art { margin-left: -22px; }
.bar__summary { font-weight: 600; line-height: 1.3; font-size: 1rem; white-space: nowrap; }
.bar__summary .price { display: block; color: var(--marigold-light); }

.panel {
  --focus: var(--cobalt);
  margin-bottom: -6px; padding: 18px 20px 26px;
  max-height: calc(100svh - 2 * var(--rim) - 124px); overflow: auto; overscroll-behavior: contain;
  background: var(--enamel); color: var(--ink);
  border: 6px solid var(--cobalt); border-bottom: 0; border-radius: 24px 24px 0 0;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .46);
  scrollbar-width: thin; scrollbar-color: var(--cobalt) transparent;
  transform-origin: 100% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .panel { animation: panel-down .42s var(--ease); }
}
@keyframes panel-down { from { translate: 0 -12px; scale: 1.025; } }
.panel__head { display: flex; align-items: center; justify-content: space-between; }
.panel h2 { font: 400 1.625rem/1.4 var(--display); color: var(--cobalt); }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; color: var(--cobalt); margin-right: -8px; }
.iconbtn:hover { background: var(--enamel-shade); }
.panel__empty { padding: 18px 0 8px; color: var(--ink-soft); }

.line { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--enamel-shade); }
.line .art { width: 48px; height: 48px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .24)); }
.line__name { font-weight: 600; line-height: 1.35; }
.line .price { display: block; color: var(--cobalt); font-size: .9375rem; }
.temp { grid-column: 2 / -1; display: inline-flex; justify-self: start; gap: 4px; margin-top: 6px; }
.temp button { min-height: 32px; padding: 2px 14px; border: 0; border-radius: 999px; background: var(--enamel-shade); color: var(--ink); font-size: .875rem; font-weight: 600; position: relative; }
.temp button::after { content: ""; position: absolute; inset: -6px 0; }
.temp button[aria-pressed="true"] { background: var(--cobalt); color: var(--enamel); }
.step { display: flex; align-items: center; gap: 2px; }
.step button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--enamel-shade); color: var(--cobalt); }
.step button:hover { background: var(--cobalt); color: var(--enamel); }
.step output { min-width: 2ch; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }

.total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 6px; font-weight: 600; }
.total .price { font-size: 1.5rem; color: var(--cobalt); font-weight: 700; }
.how { margin-top: 8px; }
.how legend, .field label { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.how { display: flex; flex-wrap: wrap; gap: 6px; }
.how legend { float: left; width: 100%; }
.how label { position: relative; cursor: pointer; }
.how input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.how span { display: block; min-height: 44px; padding: 9px 14px; border-radius: 999px; background: var(--enamel-shade); font-weight: 600; font-size: .9375rem; line-height: 1.7; }
.how input:checked + span { background: var(--cobalt); color: var(--enamel); }
.how input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.field { margin-top: 14px; }
.optional { font-weight: 400; color: var(--ink-soft); font-size: .875rem; }
.field input, .field textarea {
  display: block; width: 100%; min-height: 46px; padding: 9px 12px; resize: vertical;
  background: #fff; border: 2px solid #8089A0; border-radius: 12px; line-height: 1.5;
}
.field input:focus, .field textarea:focus { border-color: var(--cobalt); outline: 2px solid var(--cobalt); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--tomato); }
.field ::placeholder { color: #5A6480; }
.error { margin-top: 4px; color: var(--tomato-deep); font-weight: 600; font-size: .9375rem; }
#order-form > .btn--wide { margin-top: 18px; }
.preview { margin-top: 14px; padding: 12px; background: #fff; border-radius: 12px; font-size: .9375rem; }
.preview pre { margin: 8px 0 12px; white-space: pre-wrap; font: inherit; color: var(--ink); }
.preview p { font-weight: 600; }
.textlink--button { display: block; margin: 14px auto 0; min-height: 40px; padding: 6px 12px; background: none; border: 0; text-decoration: underline; color: var(--tomato-deep); }
.textlink--button:hover { color: var(--tomato); }

.flyer { position: fixed; z-index: 70; pointer-events: none; will-change: transform; filter: drop-shadow(0 16px 12px rgba(0, 0, 0, .3)); }
.flyer svg { width: 100%; height: 100%; }

/* short laptop screens: keep every add button clear of the dock */
@media (min-width: 1041px) and (max-height: 800px) {
  h1 { font-size: min(8.1vw, 11.5vh); }
  .stage { --s: min(18.5vw, 22vh); }
}

/* narrower desktops and tablets */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; min-height: 0; }
  h1 { font-size: 10.4vw; }
  .lede { grid-column: 1; grid-row: 3; max-width: 46ch; margin-top: 10px; }
  .stage { grid-column: 1; grid-row: 4; --s: 26vw; margin-top: 20px; }
}

@media (max-width: 720px) {
  :root { --rim: 6px; --gutter: 20px; --inset: 14px; }
  .menu, .afternoon { padding-inline: 16px; }
  .row { margin-inline: -6px; padding-inline: 6px; }
  .rim::before { border-radius: 22px; }
  html { scroll-padding-top: 12px; }
  .hero { padding-bottom: calc(var(--rim) + 104px); min-height: 0; }
  .decal--hero { --w: 62vw; top: -24vw; right: -22vw; }
  .nav { gap: 14px; justify-content: space-between; }
  .brand { font-size: 1.5rem; }
  .nav nav a:not(:first-child) { display: none; }
  .nav nav { margin-right: 26vw; }
  h1 { font-size: 12vw; line-height: 1.2; margin-top: 10px; }
  h1 .h1-line .nb { display: block; }
  .lede { margin-top: 8px; }
  .lede p { font-size: 1rem; line-height: 1.5; }
  .lede .textlink { display: none; }
  .stage { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 14px; padding-top: 0; }
  .obj { flex-direction: row; align-items: center; gap: 14px; }
  .obj .art { flex: none; }
  .obj__cap { margin-top: 0; }
  .obj:nth-child(1) { --size: 33vw; }
  .obj:nth-child(2) { --size: 25vw; margin-bottom: 0; flex-direction: row-reverse; }
  .obj:nth-child(3) { --size: 29vw; }

  .group { grid-template-columns: 1fr; }
  .group__side { position: static; display: flex; align-items: center; justify-content: space-between; }
  .group__art { width: 92px; margin-top: 0; }
  .row { --art: 54px; grid-template-columns: var(--art) minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; }
  .row .art { grid-row: 1 / span 2; align-self: start; }
  .row__txt { grid-column: 2 / -1; }
  .row .price { grid-column: 2; text-align: left; }
  .row__add { grid-column: 3; min-width: 84px; }

  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { left: 56px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .stop { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: center; }
  .stop__arts { height: auto; display: block; position: relative; }
  .stop__arts .art { width: 100px; margin-inline: auto; }
  .stop__arts .art + .art { margin: -30px 0 0 12px; width: 82px; }
  .stop__time { margin-top: 0; }
  .afternoon .btn { width: 100%; }

  .facts { grid-template-columns: 1fr; }
  .visit .btn--big { width: 100%; }
  .visit { padding-top: 132px; }
  .decal--visit { --w: 210px; top: -44px; right: -60px; }
  .bar__cups .art:nth-last-child(n+4) { display: none; }
  .bar__cups .art:nth-last-child(3) { margin-left: 0; }
  .panel { max-height: calc(100svh - 2 * var(--rim) - 100px); padding: 14px 14px 16px; }
}

/* the smallest phones: two cups leave room for a four-digit total beside the longest button label */
@media (max-width: 400px) {
  .bar__cups .art:nth-last-child(n+3) { display: none; }
  .bar__cups .art:nth-last-child(2) { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
