/* 時時 Time's Eat: the shop's own menu, page by page. White sheet, hairline black rules, a full-height colour band
   down the right edge of every sheet, one colour per sheet. Nothing rounded, no shadows, no gradients. */

:root {
  --paper: #fff;
  --ink: #1f1f1f;
  --mustard: #dfc783;
  --blush: #e2cdbd;
  --caramel: #c9a074;
  --lime: #e6e8b4;
  --crown: #d9a520;
  --leaf: #6fa53a;

  --f-label: Antonio, 'Noto Sans TC', sans-serif;
  --f-latin: Jost, 'Noto Sans TC', sans-serif;
  --f-body: Jost, 'Noto Sans TC', sans-serif;

  --line: 1px solid var(--ink);
  --bw: clamp(12px, 8vw - 20px, 96px); /* the band: 12px on a phone, 96px on a wide screen */
  --pad: clamp(16px, 4.2vw, 64px);
  --max: 1240px;
}
html:lang(ja) { --f-body: Jost, 'IBM Plex Sans JP', 'Noto Sans TC', sans-serif; }
html:lang(ja) [lang|='zh'] { font-family: Jost, 'Noto Sans TC', sans-serif; }
html:not(:lang(ja)) [lang='ja'] { font-family: Jost, 'IBM Plex Sans JP', 'Noto Sans TC', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--f-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p, h1, h2, h3, h4, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.latin { font-family: var(--f-latin); }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 10;
  padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip:focus-visible { top: 12px; }

/* ---------- a sheet: paper, a rule, the band ---------- */

.page, .sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--bw);
  border-top: var(--line);
}
.paper {
  min-width: 0;
  border-right: var(--line);
  padding: 0 var(--pad) clamp(48px, 6vw, 104px);
}
.band { background: var(--band); transform-origin: 50% 0; }

/* The header every sheet of the printed menu carries */
.ph {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  border-bottom: var(--line);
  margin: 0 calc(-1 * var(--pad)) clamp(28px, 4vw, 64px);
}
.ph-lab {
  display: flex; flex-direction: column; justify-content: center; gap: .6em;
  padding: clamp(14px, 2vw, 26px) var(--pad);
}
.lab-big {
  display: flex; flex-direction: column;
  font: 500 clamp(30px, 4.4vw, 62px)/.86 var(--f-label);
  letter-spacing: .005em;
  text-transform: uppercase;
}
.lab-small { font-size: 12px; line-height: 1.2; font-weight: 500; letter-spacing: .3em; }
.lab-small.latin { letter-spacing: .5em; font-weight: 400; }
.ph-mid {
  align-self: center; display: flex; flex-direction: column; align-items: center; gap: .55em;
  padding: 12px 8px; text-align: center;
}
.ph-name { font: 500 clamp(11px, 1.3vw, 17px)/1 var(--f-latin); letter-spacing: .52em; margin-right: -.52em; white-space: nowrap; }
.ph-since { font: 400 9.5px/1 var(--f-latin); letter-spacing: .5em; margin-right: -.5em; }
.ph-kind { font-size: clamp(12px, 1.2vw, 15px); font-weight: 600; letter-spacing: .12em; }
.ph-area { font-size: 12px; letter-spacing: .2em; }
.ph-box {
  justify-self: end; align-self: stretch; display: grid; place-items: center;
  width: clamp(72px, 9.5vw, 132px); min-height: clamp(72px, 9.5vw, 132px);
  border-left: var(--line);
}
.draw { width: 66%; height: auto; overflow: visible; }
.draw > * { stroke-dasharray: 1 1; }
.mo.ready .draw:not(.in) > * { stroke-dashoffset: 1; }
.mo .draw.in > * { animation: pen 1.7s cubic-bezier(.55, 0, .25, 1) both; }
.mo .draw.in > *:nth-child(2n) { animation-delay: .25s; }
.mo .draw.in > *:nth-child(3n) { animation-delay: .45s; }
@keyframes pen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- controls ---------- */

.acts { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 46px; padding: .6em 1.15em;
  border: var(--line); background: var(--paper); color: var(--ink);
  font-size: 15px; font-weight: 500; line-height: 1.25; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--band); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--paper); color: var(--ink); }
.btn:active { translate: 0 1px; }
.status { display: inline-flex; align-items: center; gap: .5em; font-size: 15px; }
.status.is-open { font-weight: 600; }
.rating { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; }
.rating:hover span { text-decoration: underline; }
.star { width: 1.05em; height: 1.05em; fill: var(--crown); flex: none; }

/* ---------- 1. the first sheet ---------- */

.hero > .paper { padding-bottom: 0; }
.ph-langs { width: auto; min-height: 0; place-items: stretch; }
.hero .ph { margin-bottom: clamp(24px, 3vw, 40px); }
.hero .lab-big { font-size: clamp(30px, 3.6vw, 52px); }
.langs { display: flex; flex-direction: column; min-width: clamp(80px, 9.5vw, 132px); }
.langs a {
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 4px 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-decoration: none;
  transition: background-color .2s;
}
.langs a + a { border-top: var(--line); }
.langs a:hover { background: var(--lime); }
.langs a[aria-current] { background: var(--band); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: clamp(24px, 4vw, 72px);
  max-width: var(--max);
}
.hero-txt { padding-bottom: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; }
.sign-wrap { width: clamp(108px, 10vw, 150px); margin-bottom: clamp(14px, 1.6vw, 22px); }
.sign { display: block; width: 100%; height: auto; overflow: visible; }
.sg-face { fill: var(--paper); stroke: var(--ink); stroke-width: 1.3; }
.sg-ring { fill: none; stroke: var(--ink); stroke-width: .6; }
.sg-word { font: 500 15px var(--f-latin); letter-spacing: 6.5px; fill: var(--ink); }
.sg-since { font: 400 8px var(--f-latin); letter-spacing: 4.5px; fill: var(--ink); }
.sg-ticks { stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; fill: none; }
.sg-pin { fill: var(--ink); }
.hand { stroke: var(--ink); stroke-linecap: round; transform-origin: 100px 100px; rotate: var(--a); }
.hand-h { stroke-width: 4.5; }
.hand-m { stroke-width: 2.6; }
.hand-s { stroke-width: 1; }
.hands:not(.live) .hand-s { display: none; }
.mo .hands.live .hand { animation: turn linear infinite; }
.mo .hands.live .hand-s { animation-duration: 60s; }
.mo .hands.live .hand-m { animation-duration: 3600s; }
.mo .hands.live .hand-h { animation-duration: 43200s; }
@keyframes turn { from { rotate: var(--a); } to { rotate: calc(var(--a) + 360deg); } }

.nm { display: flex; flex-direction: column; gap: .5em; }
.nm-big { font-size: clamp(80px, 10.4vw, 156px); font-weight: 700; line-height: .9; letter-spacing: .02em; overflow-wrap: break-word; min-width: 0; }
.nm-big.latin { font-size: clamp(48px, 6.6vw, 100px); font-weight: 500; line-height: .96; letter-spacing: .05em; }
.nm-small { font-size: 14px; font-weight: 500; letter-spacing: .5em; }
.nm-small:lang(zh) { font-size: 20px; font-weight: 700; letter-spacing: .3em; }
.lede { margin: clamp(16px, 1.6vw, 24px) 0 10px; max-width: 30em; font-size: clamp(16px, 1.25vw, 19px); text-wrap: pretty; }
.hero .acts { margin: 14px 0 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }

.hero-dish { grid-column: 2; grid-row: 1; align-self: center; justify-self: end; width: 94%; margin-bottom: clamp(40px, 6vw, 96px); }
.hero-robot {
  grid-column: 2; grid-row: 1; align-self: end; justify-self: start; z-index: 1;
  width: clamp(80px, 9.4vw, 140px);
  margin-left: calc(-1 * clamp(16px, 3vw, 56px));
}
.robot { position: relative; }
.robot-dish { position: absolute; left: 20%; width: 60%; bottom: 50.6%; }

/* The robot: white body, dark base and wheels, two dot eyes on its screen */
.robot-svg { display: block; width: 100%; height: auto; overflow: visible; }
.r-head, .r-col, .r-tray, .r-body { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.r-gap { fill: var(--paper); stroke: var(--ink); stroke-width: .8; }
.r-screen, .r-base, .r-wheel { fill: var(--ink); }
.eye { fill: var(--paper); transform-box: fill-box; transform-origin: center; }
.dish-food { fill: var(--mustard); stroke: var(--ink); stroke-width: 1.4; }
.dish-rim { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }

/* It rolls in along the floor (the line under the first sheet), stops beside the paella and blinks. */
.mo .hero-robot .robot { animation: roll-in 2.1s cubic-bezier(.22, .7, .2, 1) .35s both; }
.mo .hero-robot .eye { animation: blink .34s ease-in-out 2.6s; }
@keyframes roll-in {
  from { translate: -90vw 0; }
  88% { translate: 4px 0; }
}
@keyframes blink { 50% { scale: 1 .08; } }

/* ---------- the chalkboard strip ---------- */

.board { border-top: var(--line); overflow: clip; padding: clamp(10px, 1.3vw, 18px) 0; }
.bd-track { display: flex; width: max-content; }
.bd-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.bd-list li { padding: 0 .55em; font-size: clamp(20px, 2.6vw, 38px); font-weight: 700; line-height: 1.15; white-space: nowrap; }
.bd-list .bd-s { padding: 0 .25em; display: flex; }
.bd-sep { width: .62em; height: .62em; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
/* It moves only as the page scrolls, so nothing runs on its own. */
.sda .bd-track { animation: board linear both; animation-timeline: scroll(root); }
@keyframes board { to { translate: -50% 0; } }
/* On a phone the four words are wider than the strip and the scroll shift is too small to bring the last ones in, so
   they wrap onto the strip instead and the repeats are dropped. */
@media (max-width: 700px) {
  .bd-track { width: auto; animation: none !important; }
  .bd-list { flex-wrap: wrap; justify-content: center; row-gap: 4px; }
  .bd-list[aria-hidden] { display: none; }
}

/* ---------- 2. SELF SERVICE ---------- */

.route { --rw: clamp(72px, 7.2vw, 104px); position: relative; max-width: var(--max); view-timeline: --route; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: static; display: flex; flex-direction: column; gap: 14px; padding: 0 clamp(10px, 1.6vw, 26px) 20px; }
.step + .step { border-left: var(--line); }
.st-n { font: 300 clamp(36px, 3.6vw, 52px)/1 var(--f-label); }
.st-ic { width: clamp(46px, 4.6vw, 64px); }
.st-t { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; text-wrap: pretty; }
.rail {
  container-type: inline-size;
  position: relative;
  height: calc(var(--rw) * 1.87 + 36px);
  margin: 0 calc(-1 * var(--pad));
  border-bottom: var(--line);
}
.table { position: absolute; bottom: 0; left: calc(62.5% + 6px); width: clamp(82px, 8vw, 120px); }
.table-svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--ink); }
.t-top { stroke-width: 3; stroke-linecap: round; }
.t-legs { stroke-width: 1.6; }
.walker {
  --x1: calc(var(--pad) + (100cqi - 2 * var(--pad)) * .125 - 50%);
  --x2: calc(var(--pad) + (100cqi - 2 * var(--pad)) * .375 - 50%);
  --x3: calc(var(--pad) + (100cqi - 2 * var(--pad)) * .625 - 100% - 6px);
  --x4: calc(var(--pad) + (100cqi - 2 * var(--pad)) * .875 - 50%);
  position: absolute; left: 0; bottom: 0; width: var(--rw);
  translate: var(--x3) 0; /* without scroll-driven animations it stands at the table, the dish already served */
}
.walker .r-plate { opacity: 0; }
.sda .walker { animation: walk linear both; animation-timeline: --route; animation-range: cover 20% cover 62%; }
.sda .walker .r-plate { animation: hand-over linear both; animation-timeline: --route; animation-range: cover 20% cover 62%; }
.sda .t-plate { animation: take linear both; animation-timeline: --route; animation-range: cover 20% cover 62%; }
@keyframes walk {
  0%, 6% { translate: var(--x1) 0; }
  26%, 34% { translate: var(--x2) 0; }
  52%, 74% { translate: var(--x3) 0; }
  94%, 100% { translate: var(--x4) 0; }
}
@keyframes hand-over { 0%, 58% { opacity: 1; translate: 0 0; } 66%, 100% { opacity: 0; translate: 40px 0; } }
@keyframes take { 0%, 60% { opacity: 0; translate: -44px 0; } 68%, 100% { opacity: 1; translate: 0 0; } }

.free { margin-top: clamp(36px, 5vw, 72px); max-width: var(--max); display: grid; gap: 14px; }
.free-big { font-size: clamp(42px, 7.2vw, 112px); font-weight: 700; line-height: 1; letter-spacing: .02em; overflow-wrap: break-word; min-width: 0; }
html:lang(en) .free-big { font-weight: 500; letter-spacing: 0; }
.free-copy { font-size: clamp(16px, 1.3vw, 19px); max-width: 32em; }

/* ---------- 3. MENU ---------- */

.sec-menu > .paper:first-child { padding-bottom: 0; }
.sec-menu > .paper:first-child .ph { margin-bottom: 0; border-bottom: 0; }
.sec-menu.tabbed > .paper:first-child .ph { border-bottom: var(--line); }
.sec-menu > .band { transition: background-color .5s; }
.sheets { grid-column: 1 / -1; }
.sheet[hidden] { border: 0; }
.sheet .ph { margin-bottom: clamp(24px, 3.4vw, 52px); }

/* the tab row is for scripted pages only; display:flex below would otherwise override the hidden attribute */
.tabs[hidden] { display: none; }
.tabs {
  display: flex; overflow-x: auto; scrollbar-width: thin;
  margin: 0 calc(-1 * var(--pad));
  scroll-padding-inline: var(--pad);
}
.tabs [role='tab'] {
  position: relative; flex: none;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px;
  min-height: 52px; padding: 10px clamp(14px, 1.6vw, 22px);
  border: 0; border-right: var(--line); background: var(--paper); color: var(--ink);
  font: 500 15px/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: background-color .2s;
}
.tabs [role='tab']:first-child { padding-left: var(--pad); }
.tabs [role='tab']:hover { background: var(--lime); }
.tabs [role='tab'][aria-selected='true'] { background: var(--band); }
.tabs [role='tab'][aria-selected='true']::after { content: ''; position: absolute; inset: auto 0 0; border-bottom: 3px solid var(--ink); }
.tabs [role='tab']:focus-visible { outline-offset: -4px; }
.tb-s { font: 400 10.5px/1 var(--f-latin); letter-spacing: .18em; }

.sh-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: var(--max); }
.sh-pic { display: none; }
@media (width >= 1000px) {
  .sheet.has-pic .sh-body { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(40px, 5vw, 96px); }
  .sh-pic { display: block; position: sticky; top: 32px; align-self: start; padding-top: 8px; }
  .sheet:not(.has-pic) .sh-items { columns: 2; column-gap: 72px; }
}
.sh-pic figcaption, .rv-pic figcaption { margin-top: 8px; font-size: 13px; text-align: center; }
.ms-t { break-after: avoid-column; }
.ms + .ms { margin-top: 44px; }
.ms-t {
  display: flex; flex-wrap: wrap; align-items: center; gap: .2em .55em;
  margin-bottom: 14px; padding-bottom: 12px; border-bottom: var(--line);
  font: 500 clamp(19px, 2vw, 26px)/1.1 var(--f-latin); letter-spacing: .2em;
}
.ms-t .mk { width: .85em; height: .85em; margin: 0; }
.ms-sub { font: 400 13px/1.4 var(--f-body); letter-spacing: .06em; }
.its { list-style: none; margin: 0; padding: 0; }
.it { padding: 11px 0; break-inside: avoid; }
.it-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.it-n { font-size: 17px; font-weight: 700; line-height: 1.35; overflow-wrap: break-word; min-width: 0; }
html:lang(en) .it-n { font-weight: 600; letter-spacing: .05em; font-size: 15.5px; }
.it-opt { font-weight: 400; font-size: .82em; margin-left: .25em; }
.it-opt::before { content: '('; }
.it-opt::after { content: ')'; }
.pr { flex: none; font: 400 15px/1.35 var(--f-latin); letter-spacing: .3em; margin-right: -.3em; white-space: nowrap; }
.pr-d { font-weight: 300; }
.it-en { margin-top: 3px; font-weight: 300; font-size: 12.5px; line-height: 1.45; letter-spacing: .14em; }
.it-zh { margin-top: 3px; font-size: 14px; line-height: 1.45; }
.it-x { margin-left: .9em; white-space: nowrap; }
.it-d { margin-top: 4px; font-size: 13.5px; line-height: 1.6; max-width: 40em; }
.it-note { margin-top: 4px; font-size: 13px; font-weight: 600; }
.addon {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  margin-top: 28px; padding-top: 14px; border-top: var(--line); font-size: 15px;
}
.addon-w { padding: 1px 8px; border: var(--line); font-size: 13px; }
.addon-n { flex: 1; font-weight: 700; min-width: 0; }
.addon-zh { font-weight: 400; font-size: 14px; margin-left: .4em; }

/* the printed marks */
.mk { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.14em; margin-left: .4em; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; overflow: visible; }
.mk-crown { fill: var(--crown); stroke: var(--crown); }
.mk-crown path + path { fill: none; }
.mk-leaf { fill: var(--leaf); stroke: var(--leaf); transform-origin: 15% 85%; }
.mk-leaf path + path { fill: none; stroke: var(--paper); stroke-width: 1.3; }
.mo.ready .mk-crown:not(.in) { opacity: 0; translate: 0 -.7em; }
.mo .mk-crown { transition: translate .6s cubic-bezier(.3, 1.9, .5, 1), opacity .25s; }
.mo .mk-leaf.in { animation: sway 1.9s ease-in-out 2; }
@keyframes sway { 30% { rotate: -12deg; } 70% { rotate: 7deg; } }

.menu-foot { padding-top: clamp(28px, 3.4vw, 48px); border-top: var(--line); display: grid; gap: 16px; justify-items: start; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 600; }
.legend > span { display: inline-flex; align-items: center; gap: .1em; }
.legend .mk { margin: 0 .35em 0 0; width: 1.2em; height: 1.2em; }
.menu-copy { font-size: 15px; }
.sec-menu > .menu-foot + .band { border-top: var(--line); }

/* Turning to another sheet: the old one swings away like a page, the new band is brushed down. */
.tabbed .sheet:not([hidden]) > .paper { view-transition-name: sheet-paper; }
.tabbed .sheet:not([hidden]) > .band { view-transition-name: sheet-band; }
.sheets::view-transition-group(sheet-paper) { animation-duration: .5s; }
.sheets::view-transition-old(sheet-paper) { animation: page-out .42s cubic-bezier(.5, 0, .75, .2) both; transform-origin: 0 30%; }
.sheets::view-transition-new(sheet-paper) { animation: page-in .5s .14s cubic-bezier(.2, .7, .25, 1) both; }
.sheets[data-dir='back']::view-transition-old(sheet-paper) { animation-name: page-out-back; transform-origin: 100% 30%; }
.sheets[data-dir='back']::view-transition-new(sheet-paper) { animation-name: page-in-back; }
.sheets::view-transition-old(sheet-band) { animation: none; }
.sheets::view-transition-new(sheet-band) { animation: band-in .55s .1s cubic-bezier(.6, 0, .2, 1) both; }
@keyframes page-out { to { transform: perspective(1800px) rotateY(32deg) translateX(-8%); opacity: 0; } }
@keyframes page-out-back { to { transform: perspective(1800px) rotateY(-32deg) translateX(8%); opacity: 0; } }
@keyframes page-in { from { transform: translateX(5%); opacity: 0; } }
@keyframes page-in-back { from { transform: translateX(-5%); opacity: 0; } }
@keyframes band-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

/* ---------- 4. PLATES: a long white table ---------- */

.table-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-end; max-width: var(--max); }
.pl { flex: 0 0 var(--w); min-width: 0; }
.pl-dish { padding: 0 7% 4px; }
.pl-dish img { rotate: var(--r); }
.pl figcaption {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  min-height: calc(4.05em + 40px);
  border-top: var(--line); padding: 10px clamp(16px, 2.4vw, 36px) 30px 0; font-size: 14px; line-height: 1.35;
}
.pl-n { font-weight: 600; min-width: 0; overflow-wrap: break-word; }
.pl .pr { font-size: 13.5px; }
.sda .pl-dish {
  animation: slide-on linear both; animation-timeline: view();
  animation-range: entry calc(5% + var(--i) * 6%) cover calc(36% + var(--i) * 4%);
}
@keyframes slide-on { from { translate: 70vw 0; rotate: 16deg; } }
.plates-copy { margin-top: 12px; font-size: 15px; }

/* ---------- 5. REVIEWS ---------- */

.rv-src { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: clamp(20px, 2.6vw, 36px); font-size: 14px; }
.rv-list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 calc(-1 * var(--pad)); border-top: var(--line); }
.rv {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(16px, 2vw, 32px); align-items: start;
  padding: clamp(22px, 2.8vw, 40px) var(--pad); border-bottom: var(--line);
}
.rv-t { font-size: 15.5px; line-height: 1.8; text-wrap: pretty; }
.rv-tr { margin-top: 10px; font-size: 12.5px; }
.rv-orig summary {
  display: inline-flex; align-items: center; gap: .3em; min-height: 36px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; text-decoration: underline; list-style: none;
}
.rv-orig summary::-webkit-details-marker { display: none; }
.rv-orig[open] summary .ic { rotate: 180deg; }
.rv-orig blockquote { margin-top: 4px; padding-left: 14px; border-left: 3px solid var(--band); font-size: 14.5px; line-height: 1.75; }
.rv-by { margin-top: 16px; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
@media (width >= 900px) {
  .rv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv:nth-child(odd) { border-right: var(--line); }
}

/* ---------- 6. FIND US ---------- */

.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); max-width: var(--max); }
@media (width >= 900px) { .visit-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.v-copy { font-size: clamp(16px, 1.3vw, 19px); margin-bottom: 18px; max-width: 30em; }
.facts { margin: 24px 0; border-top: var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(5.5em, auto) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: var(--line); }
.facts dt { font-size: 14px; font-weight: 600; padding-top: .15em; }
.f-addr dd { font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; line-height: 1.45; }
.week { border-collapse: collapse; width: 100%; max-width: 26em; }
.week th, .week td { text-align: left; font-weight: 400; padding: 3px 10px; }
.week th { padding-left: 0; white-space: nowrap; }
.week tr.is-today :is(th, td) { background: linear-gradient(var(--band), var(--band)) no-repeat 0 0 / 100% 100%; font-weight: 600; }
.week tr.is-today th { padding-left: 10px; }
.mo .week tr.is-today :is(th, td) { transition: background-size .5s cubic-bezier(.6, 0, .3, 1); }
.mo .week tr.is-today td { transition-delay: .45s; }
.mo.ready .week:not(.in) tr.is-today :is(th, td) { background-size: 0 100%; }
.amen { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.amen li { border: var(--line); padding: 3px 10px; font-size: 13.5px; }
.v-map iframe { display: block; width: 100%; height: 380px; border: var(--line); }
@media (width >= 900px) { .v-map iframe { height: 100%; min-height: 460px; } }

/* ---------- footer ---------- */

.foot > .paper { padding-top: 32px; padding-bottom: 44px; font-size: 13px; line-height: 1.7; }
.foot p { max-width: 70em; }
.foot p + p { margin-top: 8px; }
.foot-un { font-weight: 700; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 18px !important; }
.foot-links a { display: inline-flex; align-items: center; gap: .45em; min-height: 36px; }

/* ---------- the bands are brushed down as their sheet comes in ---------- */

.sda .band { animation: brush linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
.mo .hero > .band { animation: brush 1.2s cubic-bezier(.6, 0, .2, 1) .1s both; animation-timeline: auto; animation-range: normal; }
@keyframes brush { from { scale: 1 0; } }

/* ---------- tablet and phone ---------- */

@media (width < 1100px) {
  .hero-dish { width: 100%; }
}
@media (width < 720px) {
  .ph-name { letter-spacing: .34em; margin-right: -.34em; }
  .ph-since { letter-spacing: .3em; margin-right: -.3em; }
  .ph-box { width: 66px; }
  .langs { min-width: 72px; }
  .langs a { padding: 4px 8px; letter-spacing: .04em; }

  .ph { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ph-lab { padding-right: 8px; }
  .lab-small.latin { letter-spacing: .32em; white-space: nowrap; }
  .ph-kind, .ph-area { letter-spacing: .04em; }
  .hero-body { grid-template-columns: minmax(0, 1fr); }
  .hero-dish { grid-column: 1; grid-row: 2; width: 84%; margin-bottom: 52px; }
  .hero-robot { grid-column: 1; grid-row: 2; margin-left: -4px; width: 78px; }
  /* the sign hangs beside the name */
  .hero-txt { padding-bottom: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
  .hero-txt > * { grid-column: 1 / -1; }
  .hero-txt > .nm { grid-column: 1; grid-row: 1; align-self: center; }
  .hero-txt > .sign-wrap { grid-column: 2; grid-row: 1; align-self: start; width: 92px; margin: 0; }
  .nm-big { font-size: clamp(72px, 23vw, 96px); }
  .nm-big.latin { font-size: clamp(40px, 12.4vw, 52px); }
  /* below the first screen on a phone: it rolls in as it comes into view */
  .sda .hero-robot .robot { animation: roll-in linear both; animation-timeline: view(); animation-range: entry 10% cover 55%; }
  .sda .hero-robot .eye { animation: none; }
  .btn { font-size: 14.5px; padding: .55em .9em; }

  /* the route turns down the left edge; the robot rides down the rail as the page scrolls */
  .route { --rw: 62px; display: grid; grid-template-columns: calc(var(--rw) + 14px) minmax(0, 1fr); }
  .steps { grid-column: 2; grid-row: 1; grid-template-columns: minmax(0, 1fr); }
  .step { padding: 22px 0 22px 16px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
  .step + .step { border-left: 0; border-top: var(--line); }
  .st-t { flex: 1 0 100%; }
  .rail { grid-column: 1; grid-row: 1; height: auto; margin: 0 0 0 calc(-1 * var(--pad)); border: 0; border-right: var(--line); container-type: normal; }
  .walker { position: sticky; top: 34vh; left: auto; translate: none; margin-left: calc(var(--pad) - 6px); }
  .sda .walker { animation: none; }
  .table { position: static; width: 104px; margin-top: 4px; }

  .table-row {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
    margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding-inline: var(--pad);
  }
  .pl { flex: 0 0 72%; scroll-snap-align: start; }
  .sda .pl-dish { animation: none; }

  .rv { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .rv-pic figcaption { font-size: 11.5px; line-height: 1.35; }
}
