/* Corner Roast, round 2. The cafe across the day.
   Tokens first: palette, the four time-of-day states, type scale, spacing scale, grid. */

:root {
  --espresso: #1C120D;
  --milk: #FBFBFA;
  --pist: #A9C46C;
  --pist-deep: #55701C;   /* pistachio for text on white, 5.4:1 */
  --berry: #B3264E;
  --steel: #D9D9D6;
  --paper2: #F1F1EF;      /* neutral light grey for quiet fills */

  --f: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;

  /* type scale */
  --t-hero: clamp(44px, 6.05vw, 100px);
  --t-h1: clamp(42px, 5.3vw, 86px);
  --t-h2: clamp(32px, 3.6vw, 58px);
  --t-h3: clamp(21px, 1.7vw, 27px);
  --t-lede: clamp(18px, 1.42vw, 23px);
  --t-body: clamp(16px, 1.08vw, 17.5px);
  --t-small: 14.5px;
  --t-tiny: 13px;

  /* spacing scale: one section rhythm for the whole site */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --sec: clamp(80px, 8.5vw, 136px);
  --sec-tight: clamp(56px, 5.5vw, 88px);

  /* grid */
  --m: clamp(20px, 3.3vw, 56px);
  --g: clamp(14px, 1.7vw, 24px);
  --hd: 64px;

  /* the corner: every framed photo has one large rounded corner, top left */
  --corner: clamp(44px, 6.4vw, 120px);
  --corner-s: clamp(26px, 2.8vw, 44px);

  --ease: cubic-bezier(.65, 0, .2, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* time of day. Morning leans white and pistachio, midday steel, afternoon berry, after closing espresso. */
html {
  --field: var(--milk); --ink: var(--espresso); --ink-soft: rgba(28, 18, 13, .72); --rule: rgba(28, 18, 13, .2);
  --slab: var(--pist); --slab-ink: var(--espresso); --slab-rule: rgba(28, 18, 13, .28);
  --band: var(--pist); --band-ink: var(--espresso); --band-rule: rgba(28, 18, 13, .28);
  --acc: var(--pist); --acc-ink: var(--pist-deep);
  --btn: var(--espresso); --btn-ink: var(--milk); --sun: var(--pist);
}
html[data-time="midday"] {
  --field: var(--steel); --slab: var(--milk); --slab-rule: rgba(28, 18, 13, .2);
  --band: var(--steel); --acc: var(--berry); --acc-ink: var(--berry); --sun: var(--milk); --btn: var(--berry);
}
html[data-time="afternoon"] {
  --field: var(--berry); --ink: var(--milk); --ink-soft: rgba(251, 251, 250, .82); --rule: rgba(251, 251, 250, .34);
  --slab: var(--milk); --slab-ink: var(--espresso); --slab-rule: rgba(28, 18, 13, .2);
  --band: var(--berry); --band-ink: var(--milk); --band-rule: rgba(251, 251, 250, .34);
  --acc: var(--berry); --acc-ink: var(--berry);
  --btn: var(--milk); --btn-ink: var(--berry); --sun: var(--berry);
}
html[data-time="night"] {
  --field: var(--espresso); --ink: var(--milk); --ink-soft: rgba(251, 251, 250, .74); --rule: rgba(251, 251, 250, .22);
  --slab: var(--pist); --slab-ink: var(--espresso); --slab-rule: rgba(28, 18, 13, .28);
  --band: var(--pist); --band-ink: var(--espresso); --band-rule: rgba(28, 18, 13, .28);
  --acc: var(--pist); --acc-ink: var(--espresso);
  --btn: var(--milk); --btn-ink: var(--espresso); --sun: var(--pist);
}

/* inner pages: in the morning the page head is pistachio, so it reads as a band against the white page */
html:not([data-time]) body:not(.p-home), html[data-time="morning"] body:not(.p-home) { --field: var(--pist); }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 24px); }
body {
  margin: 0; background: var(--milk); color: var(--espresso);
  font-family: var(--f); font-size: var(--t-body); line-height: 1.52; font-weight: 400;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 760; text-wrap: balance; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid currentColor; outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--espresso); color: var(--milk); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }

.h1 { font-size: var(--t-h1); line-height: .95; letter-spacing: -.028em; font-weight: 790; font-variation-settings: 'opsz' 96; }
.h2 { font-size: var(--t-h2); line-height: .98; letter-spacing: -.024em; font-weight: 770; font-variation-settings: 'opsz' 96; }
.h3 { font-size: var(--t-h3); line-height: 1.12; letter-spacing: -.012em; font-weight: 720; }
.lede { font-size: var(--t-lede); line-height: 1.38; letter-spacing: -.004em; }

/* sections share one rhythm: top padding everywhere, bottom padding only before a colour change or the footer */
.sec { padding-top: var(--sec); }
.sec:has(+ .band), .sec:has(+ .sec.day), main > .sec:last-child, .band, .sec.day { padding-bottom: var(--sec); }
.sec-tight { padding-top: var(--sec-tight); }

/* buttons and links. Buttons carry the corner. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  font-size: 16.5px; font-weight: 640; line-height: 1.1; text-decoration: none; cursor: pointer;
  border-radius: 16px 0 0 0; border: 1.5px solid transparent; transition: background-color .3s, color .3s, border-color .3s, border-radius .4s var(--ease);
}
.btn-solid { background: var(--espresso); color: var(--milk); }
.hero .btn-solid, .pagehead .btn-solid { background: var(--btn); color: var(--btn-ink); }
.btn-line { border-color: currentColor; background: transparent; }
.btn:hover { border-radius: 0 16px 0 0; }
.btn-line:hover { background: var(--espresso); color: var(--milk); border-color: var(--espresso); }
.hero .btn-line:hover, .pagehead .btn-line:hover { background: var(--ink); color: var(--field); border-color: var(--ink); }
.link { display: inline; font-weight: 640; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.link .ar { display: inline-block; vertical-align: middle; margin: -2px 0 0 10px; }
.ar { width: 20px; height: 12px; flex: none; transition: transform .35s var(--ease); }
a:hover .ar, button:hover .ar { transform: translateX(4px); }

.frame { margin: 0; overflow: hidden; border-radius: var(--corner) 0 0 0; background: var(--paper2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- header */
.hd {
  position: sticky; top: 0; z-index: 60; height: var(--hd); display: flex; align-items: center; gap: clamp(20px, 3vw, 44px);
  padding: 0 var(--m); background: var(--field); color: var(--ink);
  transition: transform .45s var(--ease), background-color .8s var(--ease), color .8s var(--ease);
}
.hd.hd-hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 21px; font-weight: 780; letter-spacing: -.015em; font-variation-settings: 'opsz' 32; white-space: nowrap; }
.mark { width: 28px; height: 28px; flex: none; }
.mark-sun { fill: var(--sun); transition: transform .9s var(--ease), fill .8s; transform-origin: 17px 17px; transform: translate(-5px, 3px); }
[data-time="midday"] .mark-sun { transform: translate(0, -4px); }
[data-time="afternoon"] .mark-sun { transform: translate(5px, 3px); }
[data-time="night"] .mark-sun { transform: translate(0, 7px) scale(.55); }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 560; font-size: 16.5px; padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1.5px; }
.hd-status { margin: 0 0 0 auto; font-size: 15px; font-stretch: 90%; color: var(--ink-soft); white-space: nowrap; }
.hd-status b { color: var(--ink); font-weight: 640; }
.nav-btn { display: none; }

.mnav { position: fixed; inset: var(--hd) 0 0 0; z-index: 59; background: var(--field); color: var(--ink); padding: 24px var(--m) 100px; overflow: auto; }
.mnav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.mnav li a { display: flex; align-items: center; justify-content: space-between; min-height: 72px; font-size: 38px; font-weight: 760; letter-spacing: -.02em;
  text-decoration: none; border-bottom: 1px solid var(--rule); font-variation-settings: 'opsz' 96; }
.mnav li a[aria-current="page"] span { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.mnav .ar { width: 28px; height: 18px; }
.mnav-foot { margin-top: 28px; color: var(--ink-soft); font-size: 16px; }

/* ---------------------------------------------------------------- hero */
.hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(min-content, 1fr); column-gap: var(--g);
  padding: 0 var(--m); min-height: calc(100svh - var(--hd)); background: var(--field); color: var(--ink);
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
.hero-text { grid-column: 1 / 6; grid-row: 1 / 3; display: flex; flex-direction: column; padding: clamp(14px, 3vh, 44px) 0 max(84px, 10vh); min-width: 0; }
.h-hero { font-size: var(--t-hero); line-height: .92; letter-spacing: -.032em; font-weight: 800; font-variation-settings: 'opsz' 96; max-width: 9.6em; }
.hero-lede { padding-top: clamp(18px, 2.8vh, 32px); max-width: 30em; }
.hero-info { margin: auto 0 0; padding-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 18px; border-top: 1px solid var(--rule); max-width: 34em; font-size: var(--t-small); }
.hero-info dt { font-weight: 640; }
.hero-info dd { margin: 2px 0 0; color: var(--ink-soft); }
.hero-info dd[data-today-hours] { font-variant-numeric: tabular-nums; }
.hero-lede p { font-size: var(--t-lede); line-height: 1.38; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3vh, 32px); }

.hero-photo { grid-column: 6 / 10; grid-row: 2; position: relative; overflow: hidden; border-radius: var(--corner) 0 0 0; min-height: 0; background: rgba(28, 18, 13, .2); isolation: isolate; }
.hp-stack, .hp-stack img, .steam { position: absolute; inset: 0; }
.hp-stack img { width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; }
.hp-stack img.hp-prev { opacity: 1; z-index: 1; }
html:not([data-time]) .hp[data-t="morning"], [data-time="morning"] .hp[data-t="morning"], [data-time="midday"] .hp[data-t="midday"],
[data-time="afternoon"] .hp[data-t="afternoon"], [data-time="night"] .hp[data-t="night"] { opacity: 1; z-index: 2; }
.steam { z-index: 3; pointer-events: none; }

.tp { display: none; }
html:not([data-time]) .tp[data-t="morning"], [data-time="morning"] .tp[data-t="morning"], [data-time="midday"] .tp[data-t="midday"],
[data-time="afternoon"] .tp[data-t="afternoon"], [data-time="night"] .tp[data-t="night"] { display: block; }

.hero-slab { grid-column: 10 / 13; grid-row: 2; margin-right: calc(-1 * var(--m)); background: var(--slab); color: var(--slab-ink); display: flex; min-width: 0;
  transition: background-color .9s var(--ease), color .9s var(--ease); }
.slab-in { display: none; flex-direction: column; width: 100%; padding: clamp(22px, 3.4vh, 40px) var(--m) clamp(20px, 3vh, 32px) clamp(20px, 2vw, 32px); }
html:not([data-time]) .slab-in[data-t="morning"], [data-time="morning"] .slab-in[data-t="morning"], [data-time="midday"] .slab-in[data-t="midday"],
[data-time="afternoon"] .slab-in[data-t="afternoon"], [data-time="night"] .slab-in[data-t="night"] { display: flex; }
.slab-h { font-size: clamp(25px, 2.1vw, 34px); line-height: 1; letter-spacing: -.02em; font-weight: 780; font-variation-settings: 'opsz' 96; }
.slab-sub { font-size: var(--t-small); font-stretch: 88%; margin: 10px 0 clamp(14px, 2.4vh, 26px); opacity: .8; }
.counter { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1.5px solid var(--slab-ink); }
.counter li { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; padding: clamp(8px, 1.2vh, 12px) 0 clamp(9px, 1.3vh, 13px); border-bottom: 1px solid var(--slab-rule); }
.c-name { font-weight: 640; font-size: 16.5px; line-height: 1.2; }
.c-price { font-weight: 640; font-size: 16.5px; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.c-note { grid-column: 1 / -1; font-size: var(--t-tiny); font-stretch: 86%; opacity: .74; margin-top: 3px; }
.slab-link { margin-top: auto; display: inline-flex; gap: 10px; align-items: center; font-weight: 640; font-size: 15.5px; text-decoration: underline; text-underline-offset: 4px; }

/* day bar: the time-of-day control above the photo. One bar per part of the day, in that part's colour. */
.daybar { grid-column: 6 / 13; grid-row: 1; padding: clamp(14px, 2.4vh, 26px) 0 clamp(14px, 2.2vh, 22px); }
.db-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: clamp(10px, 1.6vh, 16px); min-height: 32px; }
.db-clock { margin: 0; font-size: clamp(18px, 1.35vw, 21px); font-weight: 720; letter-spacing: -.01em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.db-help { margin: 0; font-size: var(--t-small); color: var(--ink-soft); font-stretch: 92%; display: contents; }
.db-help-prev, .db-back { display: none; }
[data-preview] .db-help-live { display: none; }
[data-preview] .db-help-prev { display: inline; }
[data-preview] .db-back { display: inline-flex; }
.db-help-live, .db-help-prev { font-size: var(--t-small); color: var(--ink-soft); font-stretch: 92%; }
.db-back { margin-left: auto; align-self: center; align-items: center; min-height: 34px; padding: 0 14px; border: 1.5px solid currentColor; background: transparent; color: var(--ink); border-radius: 10px 0 0 0; cursor: pointer; font-weight: 640; font-size: 14px; }
.db-back:hover { background: var(--ink); color: var(--field); }
.db-segs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 6px; }
.db-seg { position: relative; display: flex; flex-direction: column; text-align: left; gap: 2px; background: none; border: 0; padding: 4px 0 0; cursor: pointer; color: var(--ink); min-height: 44px; }
.db-name { font-size: 16.5px; font-weight: 560; line-height: 1.2; }
.db-range { font-size: var(--t-tiny); font-stretch: 88%; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.db-bar { position: relative; display: block; height: 8px; margin-top: auto; background: var(--sw); box-shadow: inset 0 0 0 1px var(--rule); opacity: .5;
  transition: opacity .4s, height .4s var(--ease), transform .4s var(--ease); transform-origin: bottom; }
.db-seg > .db-bar { margin-top: auto; }
.db-range { margin-bottom: 10px; }
.db-seg[data-seg="morning"] { --sw: var(--pist); }
.db-seg[data-seg="midday"] { --sw: var(--steel); }
.db-seg[data-seg="afternoon"] { --sw: var(--berry); }
.db-seg[data-seg="night"] { --sw: var(--espresso); }
.db-seg[data-seg="morning"] .db-bar { border-top-left-radius: 8px; }
.db-seg[aria-pressed="true"] .db-name { font-weight: 780; }
.db-seg[aria-pressed="true"] .db-bar { opacity: 1; transform: scaleY(1.75); }
.db-seg:hover .db-bar { opacity: 1; }
.db-needle { position: absolute; top: -6px; bottom: -6px; left: var(--x, 0%); width: 2px; margin-left: -1px; background: var(--ink); display: none; }
.db-needle::after { content: ''; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--ink); }
.db-seg.is-real .db-needle { display: block; }
.db-seg[aria-pressed="true"] .db-needle { transform: scaleY(.57); transform-origin: bottom; }

/* ---------------------------------------------------------------- pastry case */
.case-head { align-items: end; row-gap: 20px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.case-head .h2 { grid-column: 1 / 7; }
.case-intro { grid-column: 7 / 11; margin: 0; color: rgba(28, 18, 13, .78); max-width: 34em; }
.case-nav { grid-column: 11 / 13; justify-self: end; display: flex; gap: 8px; }
.arrow { width: 52px; height: 52px; display: grid; place-items: center; border: 1.5px solid var(--espresso); background: transparent; cursor: pointer; border-radius: 16px 0 0 0; transition: background-color .25s, color .25s; }
.arrow:hover { background: var(--espresso); color: var(--milk); }
.arrow[data-dir="-1"] .ar { transform: scaleX(-1); }
.arrow[disabled] { opacity: .3; cursor: default; }
.case-vp { overflow-x: auto; padding-left: var(--m); scrollbar-width: none; }
.case-vp::-webkit-scrollbar { display: none; }
.js .case-vp { overflow: hidden; touch-action: pan-y; }
.case-vp:focus-visible { outline-offset: -4px; }
.case-track { display: flex; gap: var(--g); list-style: none; margin: 0; padding: 0 var(--m) 0 0; width: max-content; cursor: grab; user-select: none; }
.case-track:active { cursor: grabbing; }
.cc { width: clamp(248px, 21vw, 330px); flex: none; }
.cc-img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--corner-s) 0 0 0; background: var(--paper2); }
.cc-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; transition: transform 1.2s var(--ease-out); }
.cc:hover .cc-img img { transform: scale(1.04); }
.cc-text { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding-top: 14px; }
.cc-now { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: var(--t-small); font-weight: 600; }
.cc-now.is-now .dot { background: var(--acc); }
.cc-name { font-size: clamp(20px, 1.5vw, 24px); font-weight: 740; letter-spacing: -.012em; line-height: 1.15; }
.cc-price { margin: 0; font-size: clamp(18px, 1.35vw, 21px); font-weight: 640; font-variant-numeric: tabular-nums; }
.cc-note { grid-column: 1 / -1; margin: 6px 0 0; font-size: var(--t-small); line-height: 1.4; color: rgba(28, 18, 13, .74); max-width: 26em; }
.case-bar { position: relative; height: 2px; background: rgba(28, 18, 13, .14); margin-top: clamp(28px, 3vw, 44px); }
.case-bar span { position: absolute; left: 0; top: -1px; height: 4px; width: var(--w, 30%); transform: translateX(var(--o, 0)); background: var(--espresso); }

/* ---------------------------------------------------------------- menu lists (home coffee list and menu page) */
.mlist { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--espresso); }
.mi { border-bottom: 1px solid rgba(28, 18, 13, .2); padding: clamp(12px, 1.3vw, 18px) 0 clamp(14px, 1.4vw, 20px); transition: opacity .4s; }
.mi-line { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.mi-name { position: relative; display: inline-block; padding: 0; margin: 0; border: 0; background: none; text-align: left; color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; }
button.mi-name { cursor: pointer; }
.mi-l .mi-line { font-size: clamp(34px, 4.3vw, 70px); font-weight: 800; line-height: .98; letter-spacing: -.03em; font-variation-settings: 'opsz' 96; }
.mi-m .mi-line { font-size: clamp(27px, 2.9vw, 46px); font-weight: 790; line-height: 1; letter-spacing: -.026em; font-variation-settings: 'opsz' 96; }
.mi-s .mi-line { font-size: clamp(21px, 1.85vw, 29px); font-weight: 740; line-height: 1.08; letter-spacing: -.016em; font-variation-settings: 'opsz' 48; }
.mlist-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--g) * 2); }
.mlist-2 .mi:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid rgba(28, 18, 13, .2); }
.mi-fill {
  position: absolute; inset: 0; color: transparent; pointer-events: none;
  background-image: var(--img); background-size: 190% auto; background-position: var(--bx, 50%) var(--by, 50%);
  -webkit-text-stroke: 1px rgba(28, 18, 13, .5);
  -webkit-background-clip: text; background-clip: text; clip-path: inset(0 100% 0 0); transition: clip-path .75s var(--ease);
}
.mi-txt, .mi-fill { white-space: normal; }
.mi-price { flex: none; font-size: clamp(19px, 1.6vw, 25px); font-weight: 650; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.mi-desc { margin: 6px 0 0; font-size: var(--t-small); line-height: 1.45; color: rgba(28, 18, 13, .74); max-width: 40em; }
.mi-meta { font-stretch: 88%; color: rgba(28, 18, 13, .64); }
.mi-fig figure { margin: 16px 0 4px; width: min(260px, 62vw); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--corner-s) 0 0 0; background: var(--paper2); }
.mi-fig img { width: 100%; height: 100%; object-fit: cover; }
.mi.is-open .mi-fill, .mi-name:focus-visible .mi-fill { clip-path: inset(0 0 0 0); }
@media (hover: hover) and (pointer: fine) {
  .mi.has-img:hover .mi-fill { clip-path: inset(0 0 0 0); }
  .mlist:has(.has-img:hover) .mi:not(:hover) { opacity: .42; }
  .hint-touch { display: none; }
}
@media not ((hover: hover) and (pointer: fine)) { .hint-fine { display: none; } }
.hint { font-size: var(--t-small); color: rgba(28, 18, 13, .7); }

.dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--espresso); flex: none; transition: background-color .6s; }
.l-short { display: none; }

/* ---------------------------------------------------------------- home sections */
.coffee .grid { align-items: start; }
.coffee-intro { grid-column: 1 / 5; position: sticky; top: calc(var(--hd) + 32px); }
.coffee-intro .h2 { margin-bottom: 24px; }
.coffee-intro p { max-width: 30em; }
.coffee-list { grid-column: 6 / 13; }

.people .grid { grid-template-rows: auto auto; row-gap: var(--g); }
.people-big { grid-column: 1 / 7; grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.people-text { grid-column: 8 / 13; grid-row: 1; align-self: start; padding-top: clamp(8px, 2vw, 32px); }
.people-text .h2 { margin-bottom: 24px; }
.people-text p { max-width: 32em; }
.people-small { grid-column: 8 / 13; grid-row: 2; align-self: end; aspect-ratio: 16 / 10; border-radius: var(--corner-s) 0 0 0; }

.band { background: var(--band); color: var(--band-ink); transition: background-color .9s var(--ease), color .9s var(--ease); }
.band .grid { align-items: start; row-gap: 32px; }
.band-text { grid-column: 1 / 7; }
.band-text .h2 { max-width: 12em; }
.band-status { margin: 22px 0 0; font-size: var(--t-lede); line-height: 1.35; max-width: 26em; }
.band-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.band .btn-solid { background: var(--band-ink); color: var(--band); }
.band .btn-line:hover { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.hours { grid-column: 8 / 13; width: 100%; border-collapse: collapse; font-size: clamp(17px, 1.3vw, 20px); border-top: 1.5px solid currentColor; }
.hours th, .hours td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--band-rule, var(--rule)); font-weight: 450; font-variant-numeric: tabular-nums; vertical-align: baseline; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 760; }
.today-tag { display: inline-block; margin-left: 10px; font-size: var(--t-tiny); font-weight: 640; font-stretch: 88%; }
.today-tag::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }

/* ---------------------------------------------------------------- footer */
.ft { background: var(--espresso); color: var(--milk); padding: var(--sec-tight) 0 104px; }
.ft-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 36px; }
.ft-brand { grid-column: 1 / 4; }
.ft-brand .brand { margin-bottom: 18px; }
.ft-brand .mark-sun { fill: var(--pist); }
.ft-brand p { color: rgba(251, 251, 250, .74); max-width: 24em; }
.ft-col:nth-child(2) { grid-column: 5 / 7; }
.ft-col:nth-child(3) { grid-column: 7 / 10; }
.ft-col:nth-child(4) { grid-column: 10 / 13; }
.ft-h { font-size: 15px; font-weight: 640; margin-bottom: 12px; color: var(--pist); }
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.ft-col li { margin-bottom: 4px; }
.ft-col a { text-decoration: none; }
.ft-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-col p { color: rgba(251, 251, 250, .82); font-size: 15.5px; line-height: 1.6; overflow-wrap: anywhere; }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 16px 40px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(251, 251, 250, .18); }
.ft-credits { max-width: 62em; font-size: var(--t-small); color: rgba(251, 251, 250, .76); }
.ft-credits summary { cursor: pointer; font-weight: 600; color: var(--milk); min-height: 32px; }
.ft-credits p { margin: 10px 0 0; }
.ft-note { font-size: var(--t-small); color: rgba(251, 251, 250, .6); margin: 0; }

/* ---------------------------------------------------------------- inner page head */
.pagehead { background: var(--field); color: var(--ink); padding-top: clamp(44px, 7vw, 112px); padding-bottom: clamp(36px, 5vw, 76px); row-gap: 28px; align-items: end;
  transition: background-color .9s var(--ease), color .9s var(--ease); }
.pagehead .h1 { grid-column: 1 / 8; max-width: 11em; }
.pagehead-text { grid-column: 8 / 13; }
.pagehead-text .lede { margin: 0; }
.pagehead .hint { color: var(--ink-soft); margin: 16px 0 0; }
.find-status { margin: 16px 0 0; font-weight: 640; }

/* ---------------------------------------------------------------- menu page */
.menu-body { align-items: start; }
.mx { grid-column: 1 / 4; position: sticky; top: calc(var(--hd) + 28px); padding-top: var(--sec-tight); }
.mx-h { font-size: var(--t-small); font-weight: 640; margin: 0 0 10px; }
.mx ol { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--espresso); }
.mx li a { display: flex; gap: 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(28, 18, 13, .16); text-decoration: none; font-weight: 540; font-size: 17px; transition: padding .35s var(--ease); }
.mx-n { font-size: var(--t-tiny); font-stretch: 85%; font-variant-numeric: tabular-nums; color: rgba(28, 18, 13, .6); min-width: 1.6em; }
.mx li a.is-active { font-weight: 760; padding-left: 10px; box-shadow: inset 4px 0 0 var(--acc); }
.mx-note { margin: 16px 0 0; font-size: var(--t-tiny); color: rgba(28, 18, 13, .66); max-width: 22em; }
.cats { grid-column: 4 / 13; padding-bottom: var(--sec); }
.cat { padding-top: var(--sec-tight); }
.cat-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(16px, 2vw, 32px); align-items: end; margin-bottom: clamp(18px, 2vw, 28px); }
.cat-n { grid-row: 1 / 3; font-size: clamp(76px, 10vw, 168px); line-height: .74; font-weight: 800; letter-spacing: -.05em; font-variation-settings: 'opsz' 96; color: var(--acc-ink); transition: color .9s; }
.cat-h { font-size: var(--t-h2); line-height: .95; letter-spacing: -.024em; font-weight: 780; font-variation-settings: 'opsz' 96; }
.cat-served { margin: 10px 0 0; font-size: var(--t-small); font-weight: 600; display: flex; align-items: center; gap: 8px; }

.cat-served.is-now .dot { background: var(--acc); border-color: var(--espresso); }
.cat-note { grid-column: 1 / -1; margin: 18px 0 0; max-width: 44em; color: rgba(28, 18, 13, .78); }
.cat-head:has(.cat-img) { grid-template-columns: auto minmax(0, 1fr) minmax(0, 34%); }
.cat-head:has(.cat-img) .cat-note { grid-column: 1 / 3; }
.cat-img { grid-column: 3; grid-row: 1 / 4; align-self: end; aspect-ratio: 3 / 2; border-radius: var(--corner-s) 0 0 0; }
.alg-list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: var(--g); border-top: 1.5px solid var(--espresso); }
.alg-list li { padding: 9px 0; border-bottom: 1px solid rgba(28, 18, 13, .16); break-inside: avoid; }

/* ---------------------------------------------------------------- story page */
.story-intro { grid-template-rows: auto auto; row-gap: var(--g); }
.si-big { grid-column: 1 / 6; grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.si-text { grid-column: 7 / 12; grid-row: 1; padding-top: clamp(8px, 3vw, 48px); }
.si-text .h2 { margin-bottom: 24px; }
.si-text p { max-width: 34em; }
.si-small { grid-column: 7 / 13; grid-row: 2; aspect-ratio: 16 / 10; align-self: end; border-radius: var(--corner-s) 0 0 0; }

.day { background: var(--paper2); }
.day-head { align-items: end; margin-bottom: clamp(32px, 4vw, 56px); row-gap: 16px; }
.day-head .h2 { grid-column: 1 / 7; }
.day-intro { grid-column: 7 / 12; margin: 0; max-width: 34em; }
.tl { position: relative; padding-top: 34px; margin-bottom: clamp(32px, 4vw, 56px); }
.tl-track { position: relative; height: 56px; background: var(--milk); box-shadow: inset 0 0 0 1px rgba(28, 18, 13, .14); }
.tl-band { position: absolute; top: 0; bottom: 0; left: calc(var(--a) / 24 * 100%); width: calc((var(--b) - var(--a)) / 24 * 100%); }
.tl-bake { background: var(--pist); }
.tl-open { background: var(--berry); }
.tl-rest { background: repeating-linear-gradient(135deg, var(--espresso) 0 2px, transparent 2px 9px); opacity: .55; }
.tl-hand { position: absolute; top: -12px; bottom: -12px; left: calc(var(--now, 0) / 24 * 100%); width: 2px; margin-left: -1px; background: var(--espresso); }
.tl-hand::after { content: attr(data-label); position: absolute; top: -30px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: var(--t-small); font-weight: 700; font-variant-numeric: tabular-nums; }
.tl-hours { position: relative; height: 30px; }
.tl-hours i { position: absolute; left: calc(var(--h) / 24 * 100%); top: 0; font-style: normal; }
.tl-hours i::before { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 8px; background: rgba(28, 18, 13, .5); }
.tl-hours span { position: absolute; top: 10px; left: 0; transform: translateX(-50%); font-size: var(--t-tiny); font-variant-numeric: tabular-nums; color: rgba(28, 18, 13, .7); }
.tl-hours i:first-child span { transform: none; }
.tl-hours i:last-child span { transform: translateX(-100%); }
.tl-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; font-size: var(--t-small); }
.tl-key span { display: inline-flex; align-items: center; gap: 8px; }
.tl-key i { width: 22px; height: 12px; display: inline-block; }
.k-bake { background: var(--pist); }
.k-open { background: var(--berry); }
.k-rest { background: repeating-linear-gradient(135deg, var(--espresso) 0 2px, transparent 2px 6px); opacity: .7; box-shadow: inset 0 0 0 1px rgba(28, 18, 13, .3); }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); row-gap: clamp(28px, 3vw, 44px); }
.tl-ev { border-top: 1.5px solid var(--espresso); padding-top: 14px; position: relative; }
.tl-ev.is-next::before { content: ''; position: absolute; left: 0; top: -1.5px; height: 6px; width: 100%; background: var(--acc); }
.tl-next { display: none; font-size: var(--t-tiny); font-weight: 700; margin-left: 10px; vertical-align: middle; letter-spacing: 0; }
.tl-ev.is-next .tl-next { display: inline; }
.tl-t { display: block; font-size: clamp(28px, 2.6vw, 40px); font-weight: 790; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; font-variation-settings: 'opsz' 96; }
.tl-name { font-size: 17.5px; font-weight: 700; margin: 10px 0 6px; letter-spacing: -.005em; }
.tl-ev p { font-size: var(--t-small); line-height: 1.45; color: rgba(28, 18, 13, .78); margin: 0; }

.sup-head { align-items: end; margin-bottom: clamp(28px, 3.4vw, 48px); row-gap: 16px; }
.sup-head .h2 { grid-column: 1 / 7; }
.sup-intro { grid-column: 7 / 12; margin: 0; max-width: 34em; }
.sup-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--espresso); }
.sup { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(28, 18, 13, .16); }
.sup-name { grid-column: 1 / 4; }
.sup-name h3 { font-size: clamp(19px, 1.5vw, 23px); font-weight: 720; letter-spacing: -.01em; }
.sup-what { margin: 2px 0 0; font-size: var(--t-small); color: rgba(28, 18, 13, .7); }
.sup-line { grid-column: 4 / 8; position: relative; height: 14px; }
.sup-line::before { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: rgba(28, 18, 13, .16); }
.sup-line span { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; width: calc(var(--d) * 100%); background: var(--espresso); transform-origin: left; }
.sup-line span::before { content: ''; position: absolute; left: -5px; top: -5px; width: 12px; height: 12px; background: var(--espresso); border-radius: 6px 0 0 0; }
.sup-line b { position: absolute; top: 50%; left: calc(var(--d) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--milk); box-shadow: inset 0 0 0 2px var(--espresso); }
.sup-km { grid-column: 8 / 10; margin: 0; font-weight: 640; font-variant-numeric: tabular-nums; }
.sup-desc { grid-column: 10 / 13; margin: 0; font-size: var(--t-small); line-height: 1.45; color: rgba(28, 18, 13, .78); }

.story-roast { align-items: center; padding-bottom: var(--sec); }
.sr-img { grid-column: 1 / 8; aspect-ratio: 3 / 2; }
.sr-text { grid-column: 9 / 13; }
.sr-text .h2 { margin-bottom: 24px; }

/* ---------------------------------------------------------------- find page */
.find-map { align-items: start; row-gap: 28px; }
.map-col { grid-column: 1 / 9; min-width: 0; }
.map-wrap { overflow: hidden; border-radius: var(--corner) 0 0 0; }
.map { display: block; width: 100%; height: auto; font-family: var(--f); }
.m-ground { fill: #E6E6E2; }
.m-road { fill: var(--milk); }
.m-lane { fill: none; stroke: rgba(28, 18, 13, .14); stroke-width: 1.5; stroke-dasharray: 10 10; }
.m-zebra rect { fill: rgba(28, 18, 13, .2); }
.m-yard { fill: #DCDCD7; }
.m-house { fill: var(--milk); stroke: rgba(28, 18, 13, .26); stroke-width: 1.2; }
.m-tree { fill: #9DB860; stroke: #7F9A45; stroke-width: 1.2; }
.m-park { fill: #CBDA9E; }
.m-path { fill: none; stroke: var(--milk); stroke-width: 7; stroke-linecap: round; }
.m-pond { fill: #B9CFD6; stroke: var(--milk); stroke-width: 3; }
.m-square { fill: #EDEDE9; }
.m-stall { fill: var(--milk); stroke: rgba(28, 18, 13, .3); stroke-width: 1.2; }
.m-stall:nth-child(odd) { fill: var(--berry); stroke: none; opacity: .75; }
.m-fountain { fill: var(--milk); stroke: rgba(28, 18, 13, .3); stroke-width: 1.2; }
.m-fountain-in { fill: #B9CFD6; }
.m-st { font-size: 16px; font-weight: 640; fill: rgba(28, 18, 13, .72); letter-spacing: .01em; }
.m-area { font-size: 15px; font-weight: 600; fill: rgba(28, 18, 13, .82); paint-order: stroke; stroke: var(--milk); stroke-width: 5px; stroke-linejoin: round; }
.m-shop-b { fill: var(--acc); stroke: var(--espresso); stroke-width: 2.5; transition: fill .9s; }
[data-time="midday"] .m-shop-b { fill: var(--berry); }
.m-shop-door { fill: none; stroke: var(--espresso); stroke-width: 5; stroke-linecap: round; }
.m-flag rect, .m-flag path { fill: var(--espresso); }
.m-flag-t { font-size: 21px; font-weight: 800; fill: var(--milk); letter-spacing: -.01em; }
.m-flag-s { font-size: 14px; font-weight: 500; fill: rgba(251, 251, 250, .82); }
.m-pin circle, .m-pin rect { fill: var(--espresso); stroke: var(--milk); stroke-width: 3; }
.m-pin-bus rect { fill: var(--berry); }
.m-pin text { font-size: 15px; font-weight: 680; fill: var(--espresso); paint-order: stroke; stroke: var(--milk); stroke-width: 5px; stroke-linejoin: round; }
.m-pin .m-pin-s { font-size: 13px; font-weight: 500; }
.m-walk { fill: none; stroke: var(--espresso); stroke-width: 3; stroke-dasharray: 1 8; stroke-linecap: round; }
.m-north circle { fill: var(--milk); stroke: rgba(28, 18, 13, .3); }
.m-north path { fill: var(--espresso); }
.m-north text, .m-scale text { font-size: 13px; font-weight: 640; fill: var(--espresso); }
.m-scale path { fill: none; stroke: var(--espresso); stroke-width: 2; }
.map-notes { grid-column: 9 / 13; padding-top: 8px; }
.map-hint { display: none; margin: 10px 0 0; font-size: var(--t-small); color: rgba(28, 18, 13, .7); }
.map-notes .h3 { margin-bottom: 14px; }
.find-hours .grid { align-items: start; row-gap: 28px; }
.fh-text { grid-column: 1 / 6; }
.fh-text .h2 { margin-bottom: 22px; }
.fh-text p { max-width: 30em; }
.hours-big { grid-column: 7 / 13; }
.hours-big td.h-bake { color: rgba(28, 18, 13, .62); font-size: .8em; font-stretch: 88%; }
.hours-big tr.is-today { background: linear-gradient(90deg, var(--acc) 0 6px, transparent 6px); }
.hours-big tr.is-today th { padding-left: 18px; }
.find-contact .grid { align-items: start; row-gap: 36px; }
.fc-img { grid-column: 1 / 4; aspect-ratio: 1 / 2; border-radius: var(--corner-s) 0 0 0; }
.fc-info { grid-column: 4 / 8; padding-left: clamp(0px, 1vw, 16px); }
.fc-info .h2 { margin-bottom: 22px; }
.fc-dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 24px 0 0; border-top: 1.5px solid var(--espresso); padding-top: 16px; }
.fc-dl dt { font-weight: 640; }
.fc-dl dd { margin: 0; overflow-wrap: anywhere; }
.form { grid-column: 8 / 13; background: var(--paper2); padding: clamp(22px, 2.6vw, 40px); border-radius: var(--corner-s) 0 0 0; }
.form .h3 { margin-bottom: 20px; }
.fld { display: grid; gap: 6px; margin-bottom: 16px; }
.fld label, .fld-topic legend { font-size: var(--t-small); font-weight: 640; }
.fld input, .fld textarea { font: inherit; font-size: 16.5px; color: var(--espresso); background: var(--milk); border: 1.5px solid rgba(28, 18, 13, .5); border-radius: 0; padding: 12px 14px; min-height: 48px; width: 100%; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 2px var(--espresso); }
.fld [aria-invalid="true"] { border-color: var(--berry); box-shadow: 0 0 0 1px var(--berry); }
.fld-topic { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fld-topic legend { margin-bottom: 8px; padding: 0; }
.fld-topic label { position: relative; cursor: pointer; }
.fld-topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fld-topic span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(28, 18, 13, .5); background: var(--milk); font-size: 15.5px; font-weight: 560; }
.fld-topic input:checked + span { background: var(--espresso); color: var(--milk); border-color: var(--espresso); border-radius: 12px 0 0 0; }
.fld-topic input:focus-visible + span { outline: 2.5px solid var(--espresso); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.form-note { margin: 0; font-size: var(--t-small); color: rgba(28, 18, 13, .74); flex: 1 1 14em; }
.form-done { margin: 16px 0 0; font-weight: 600; }
.form-done:empty { display: none; }

/* ---------------------------------------------------------------- entrance motion (only with JS and motion allowed) */
.js.motion .reveal, .js.motion .h1, .js.motion .h-hero { visibility: hidden; }
.js.motion .frame.rv { clip-path: circle(0% at 0% 0%); }
.js.motion .cc.rv { opacity: 0; transform: translateY(24px); }

/* page transition: a circle grows from the link you clicked */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1023px) {
  .hero { min-height: 0; grid-template-rows: auto auto auto; }
  .hero-text { grid-column: 1 / 13; grid-row: 1; padding: 28px 0 24px; }
  .h-hero { max-width: 11em; }
  .hero-lede { margin-top: 0; }
  .daybar { grid-column: 1 / 13; grid-row: 2; padding: 0 0 24px; }
  .hero-photo { grid-column: 1 / 8; grid-row: 3; aspect-ratio: 4 / 5; }
  .hero-slab { grid-column: 8 / 13; grid-row: 3; }
  .hd-status { display: none; }
  .nav { margin-left: auto; }
  .case-head .h2 { grid-column: 1 / 10; }
  .case-intro { grid-column: 1 / 9; }
  .case-nav { grid-column: 9 / 13; }
  .coffee-intro { grid-column: 1 / 13; position: static; margin-bottom: 32px; }
  .coffee-list { grid-column: 1 / 13; }
  .people-big { grid-column: 1 / 8; }
  .people-text { grid-column: 8 / 13; padding-top: 0; }
  .people-small { grid-column: 8 / 13; }
  .band-text { grid-column: 1 / 13; }
  .hours { grid-column: 1 / 13; }
  .ft-brand { grid-column: 1 / 13; }
  .ft-col:nth-child(2) { grid-column: 1 / 5; }
  .ft-col:nth-child(3) { grid-column: 5 / 9; }
  .ft-col:nth-child(4) { grid-column: 9 / 13; }
  .pagehead .h1, .pagehead-text { grid-column: 1 / 13; }
  .pagehead .h1 { max-width: 12em; }
  .mx { position: sticky; top: 0; z-index: 20; grid-column: 1 / 13; margin: 0 calc(-1 * var(--m)); padding: 0 var(--m); background: var(--milk); border-bottom: 1px solid rgba(28, 18, 13, .16); overflow-x: auto; scrollbar-width: none; }
  .mx::-webkit-scrollbar { display: none; }
  .mx-h, .mx-note { display: none; }
  .mx ol { display: flex; gap: 22px; border: 0; width: max-content; }
  .mx li a { border: 0; padding: 14px 0 12px; min-height: 48px; font-size: 15.5px; white-space: nowrap; }
  .mx li a.is-active { padding-left: 0; box-shadow: inset 0 -3px 0 var(--espresso); }
  .cats { grid-column: 1 / 13; }
  .si-big { grid-column: 1 / 8; }
  .si-text { grid-column: 8 / 13; padding-top: 0; }
  .si-small { grid-column: 8 / 13; }
  .day-head .h2, .day-intro, .sup-head .h2, .sup-intro { grid-column: 1 / 13; }
  .tl-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sup-name { grid-column: 1 / 6; }
  .sup-line { grid-column: 6 / 13; }
  .sup-km { grid-column: 1 / 6; margin-top: 8px; }
  .sup-desc { grid-column: 6 / 13; margin-top: 8px; }
  .sr-img { grid-column: 1 / 13; }
  .sr-text { grid-column: 1 / 13; margin-top: 28px; }
  .map-col, .map-notes { grid-column: 1 / 13; }
  .fh-text, .hours-big { grid-column: 1 / 13; }
  .fc-img { grid-column: 1 / 5; }
  .fc-info { grid-column: 5 / 13; }
  .form { grid-column: 1 / 13; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 699px) {
  :root { --hd: 58px; --t-body: 16.5px; --corner: 64px; --corner-s: 30px; }
  .nav { display: none; }
  .nav-btn { display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; margin: 0 -8px 0 auto; padding: 0; background: none; border: 0; cursor: pointer; }
  .nav-btn i { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
  .nav-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
  .nav-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }
  .brand { font-size: 20px; }

  .hero { display: flex; flex-direction: column; padding: 0; }
  .hero-text { padding: 22px var(--m) 20px; }
  .h-hero { font-size: clamp(42px, 11.6vw, 50px); line-height: .93; max-width: 8.4em; }
  .hero-lede { padding-top: 14px; }
  .hero-info { display: none; }
  .hero-lede p { font-size: 17px; line-height: 1.42; }
  .hero-cta { margin-top: 20px; gap: 10px; }
  .hero-cta .btn { flex: 1 1 0; padding: 0 12px; min-height: 50px; font-size: 16px; white-space: nowrap; }
  .daybar { order: 2; padding: 0 var(--m) 22px; }
  .db-now { margin-bottom: 10px; }
  .db-clock { font-size: 17px; }
  .db-help-live, .db-help-prev { font-size: 13.5px; }
  .db-segs { column-gap: 4px; }
  .db-name { font-size: 14.5px; }
  .db-range { display: none; }
  .l-long { display: none; }
  .l-short { display: inline; }
  .hero-photo { order: 3; aspect-ratio: 5 / 4; margin-left: var(--m); }
  .hero-slab { order: 4; margin: 0; }
  .slab-in { padding: 26px var(--m) 28px; }

  .case-head { display: block; }
  .case-intro { margin-top: 16px; }
  .case-nav { margin-top: 20px; justify-content: flex-start; }
  .cc { width: 74vw; }
  .mi-l .mi-line { font-size: clamp(32px, 9.6vw, 40px); }
  .mi-m .mi-line { font-size: clamp(27px, 7.8vw, 32px); }
  .mi-s .mi-line { font-size: 22px; }
  .mlist-2 { display: block; }
  .mi-line { gap: 14px; }
  .mi-txt, .mi-fill { white-space: normal; }
  .people .grid { display: block; }
  .people-big { aspect-ratio: 4 / 5; margin-right: calc(-1 * var(--m)); }
  .people-text { padding-top: 32px; }
  .people-small { width: 78%; margin: 28px 0 0 auto; }
  .hours th, .hours td { padding: 12px 0; }
  .ft-grid { display: block; }
  .ft-col { margin-top: 28px; }
  .ft-base { display: block; }
  .ft-note { margin-top: 16px; }
  .cat-head, .cat-head:has(.cat-img) { grid-template-columns: 1fr; }
  .cat-head:has(.cat-img) .cat-note { grid-column: 1; }
  .cat-img { grid-column: 1; grid-row: auto; margin: 22px calc(-1 * var(--m)) 0 0; }
  .cat-n { grid-row: auto; font-size: 72px; line-height: .8; margin-bottom: 12px; }
  .alg-list { columns: 2; }
  .story-intro { display: block; }
  .si-text { padding-top: 32px; }
  .si-big { margin-right: calc(-1 * var(--m)); }
  .si-small { width: 78%; margin: 28px 0 0 auto; }
  .tl-track { height: 40px; }
  .tl-hours span { font-size: 11.5px; }
  .tl-list { grid-template-columns: 1fr; row-gap: 0; }
  .tl-ev { display: grid; grid-template-columns: 76px 1fr; column-gap: 14px; padding: 14px 0 16px; border-top: 1px solid rgba(28, 18, 13, .2); }
  .tl-t { grid-row: 1 / 3; font-size: 26px; }
  .tl-name { margin: 0 0 4px; }
  .sup { display: block; }
  .sup-line { margin: 12px 0 10px; }
  .sup-km { margin-top: 0; }
  .sup-desc { margin-top: 4px; }
  .map-wrap { margin-inline: calc(-1 * var(--m)); border-radius: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .map-wrap::-webkit-scrollbar { display: none; }
  .map { width: 820px; max-width: none; }
  .map-hint { display: block; }
  .find-contact .grid { display: block; }
  .hours-big td.h-bake { display: none; }
  .today-tag { display: block; margin: 2px 0 0; }
  .fc-img { width: 52%; aspect-ratio: 1 / 1.6; }
  .fc-info { padding: 32px 0 0; }
  .form { margin: 36px calc(-1 * var(--m)) 0; border-radius: 0; }
}
