/* Nom Coffee Room: everything below the hero.
   One rule: white room, black words, the drink is the only colour. Headings in Montserrat Black, every other letter in Montserrat SemiBold (owner, 13 Nov 2026). */
:root {
  --display: "Montserrat", "Arial Black", Arial, sans-serif;
  --grey: #8f8f8b;
  --r-pill: 999px;
  --gap-sec: clamp(120px, 19vh, 240px);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img { max-width: 100%; }

/* bar: white over the hero photo (hero.css .on-photo), solid white once the page has turned white */
.bar { transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
/* solid, not frosted: a live blur behind a fixed bar costs every scrolled frame on phones */
.bar.is-solid { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.links a[aria-current="page"]::after { transform: scaleX(1); }

/* type */
.sec { position: relative; padding: var(--gap-sec) var(--pad); }
/* home: the first section rises over the street photo with a soft white edge, so its words always sit on white */
body[data-page="home"] #signatures { background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff calc(var(--gap-sec) * .8)); }
/* its tiny beans or leaves wait until the photo has gone, so none floats over the street */
body[data-page="home"] #signatures .deco { transition: opacity .6s var(--ease); }
body[data-page="home"] .bar.on-photo ~ main #signatures .deco { opacity: 0; }
.h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(48px, 7.6vw, 128px); line-height: .92; letter-spacing: -.045em; text-transform: lowercase; text-wrap: balance; }
.h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 2.7vw, 42px); line-height: 1; letter-spacing: -.035em; text-transform: lowercase; }
.note { margin: 0; font-size: clamp(15.5px, 1.15vw, 18px); line-height: 1.62; letter-spacing: -.005em; color: #262626; max-width: 34ch; }
.small { font-size: 14px; color: var(--mute); }
b, strong { font-weight: 900; }

/* pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: transform .45s var(--ease), background-color .3s, color .3s, box-shadow .3s; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* one calm rise per block */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- tiny things: beans when it's coffee, leaves when it's matcha ---------- */
.deco { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; pointer-events: none; z-index: 0;
  rotate: var(--r, 0deg); animation: float var(--t, 9s) ease-in-out infinite alternate; animation-play-state: paused; }
.live .deco { animation-play-state: running; }
.deco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .9s var(--ease), scale .9s var(--ease), translate .9s var(--ease); }
html[data-theme="coffee"] .deco .dl, html:not([data-theme]) .deco .dl { opacity: 0; scale: .7; translate: 0 10px; }
html[data-theme="matcha"] .deco .db { opacity: 0; scale: .7; translate: 0 -10px; }
@keyframes float { to { translate: 0 -12px; rotate: calc(var(--r, 0deg) + 9deg); } }
@media (prefers-reduced-motion: reduce) { .deco { animation: none; } }
/* phones: decorations live only in each section's empty top or bottom margin, never on words */
@media (max-width: 640px) {
  .deco { width: min(calc(var(--s) * .8), 34px); top: 26px; }
  .deco[data-lo] { top: auto; bottom: 26px; }
  .deco:nth-of-type(odd) { left: auto; right: 7%; }
  .deco:nth-of-type(even) { left: 7%; }
}

/* ---------- products, raw ---------- */
.cup { position: relative; display: block; color: inherit; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; }
.cup-fig { position: relative; display: block; aspect-ratio: 4 / 5; }
.cup-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: transform .9s var(--ease); transform-origin: 50% 100%; }
.cup:hover .cup-fig img, .cup:focus-visible .cup-fig img { transform: translateY(-8px) scale(1.035); }
.cup-meta { display: grid; justify-items: center; text-align: center; gap: 6px; margin-top: 16px; }
.cup-name { font-family: var(--display); font-weight: 900; font-size: 18px; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.cup-price { font-size: 14.5px; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.chip { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: -.005em; padding: 3px 9px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); }
.chip.soft { background: #f1f1ef; color: var(--ink); }
.cup .flag { position: absolute; top: 4%; left: 0; z-index: 1; }

/* ---------- signatures rail ---------- */
.sig-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(30px, 4vw, 60px); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 21vw, 320px); gap: clamp(18px, 2.4vw, 44px);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--pad) * -1); padding: 10px var(--pad) 6px; scroll-padding-inline: var(--pad); cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail .cup { scroll-snap-align: start; }
.rail-end { display: flex; align-items: center; gap: 10px; }
.round { width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: #f3f3f1; color: var(--ink); transition: background-color .3s, color .3s, opacity .3s; }
.round:hover { background: var(--ink); color: var(--paper); }
.round:disabled { opacity: .3; cursor: default; background: #f3f3f1; color: var(--ink); }
.round .ic { font-size: 19px; }

/* ---------- story: the dictionary entry, with a taste of four drinks ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 120px); align-items: center; }
.entry { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: 15px; color: var(--mute); }
.entry .mini { display: inline-flex; align-items: center; }
.entry .mini img { display: block; height: 26px; width: auto; }
.story .h2 { font-size: clamp(44px, 6.2vw, 104px); }
.picks { list-style: none; margin: clamp(30px, 4vw, 56px) 0 0; padding: 0; display: grid; gap: 2px; }
.picks button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.5vw, 40px); line-height: 1.18; letter-spacing: -.035em; text-transform: lowercase; color: var(--grey); transition: color .45s var(--ease); }
.picks .pk { width: .4em; height: .4em; flex: none; fill: var(--ink); overflow: visible; transform: scale(0) rotate(-60deg); transition: transform .6s var(--ease); }
.picks button:hover, .picks button[aria-selected="true"] { color: var(--ink); }
.picks button[aria-selected="true"] .pk { transform: none; }
.picks button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.story .note { margin-top: 28px; }
.taste-col { width: 100%; justify-self: center; }
.taste { position: relative; aspect-ratio: 4 / 5; max-height: 70vh; width: 100%; margin: 0 auto; }
.taste img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0;
  transform: translateY(46px) rotate(5deg) scale(.92); transform-origin: 50% 100%; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.taste img.on { opacity: 1; transform: none; transition-delay: .08s; }
.taste img.out { opacity: 0; transform: translateY(-28px) rotate(-4deg) scale(.95); transition-duration: .55s, .9s; }
.say { position: relative; display: grid; margin-top: 22px; text-align: center; }
.say p { grid-area: 1 / 1; margin: 0; display: grid; justify-items: center; gap: 6px; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .8s var(--ease); pointer-events: none; }
.say p.on { opacity: 1; transform: none; transition-delay: .18s; }
.say b { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2vw, 29px); line-height: 1.05; letter-spacing: -.03em; text-transform: lowercase; }
.say span { font-size: 15px; line-height: 1.55; color: #3a3a3a; max-width: 34ch; }
.say em { font-style: normal; font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }

/* three small true things */
.facts { list-style: none; margin: clamp(80px, 11vw, 170px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 5vw, 90px); }
.fact { display: grid; gap: 12px; align-content: start; }
.fact-big { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 6vw, 104px); line-height: .9; letter-spacing: -.05em; }
.fact-txt { font-size: 15.5px; line-height: 1.6; color: #3a3a3a; max-width: 30ch; }

/* ---------- reviews: one voice at a time, beside a drink; a ticker of their own words underneath ---------- */
#reviews { overflow-x: clip; }
.rvw { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.62fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.rvw-side .h2 { font-size: clamp(96px, 13vw, 220px); line-height: .8; letter-spacing: -.012em; font-variant-numeric: tabular-nums; }
.rev-meta { margin-top: 18px; }
.stars { display: inline-flex; gap: 4px; font-size: 20px; }
.rev-meta p { margin: 10px 0 0; font-size: 15px; color: var(--mute); }
.who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 4vw, 54px); max-width: 300px; }
.who button { all: unset; position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: -.02em; color: var(--mute); background: #f3f2ee; transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease); }
.who button:hover { color: var(--ink); transform: translateY(-2px); }
.who button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.who button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.who .ring { position: absolute; inset: -4px; width: 56px; height: 56px; transform: rotate(-90deg); pointer-events: none; }
.who .ring circle { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 129; stroke-dashoffset: 129; }
.who button.run .ring circle { animation: ring 3s linear forwards; }
.who.hold button.run .ring circle { animation-play-state: paused; }
@keyframes ring { to { stroke-dashoffset: 0; } }

.stage { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(20px, 3vw, 56px); align-items: center;
  min-height: clamp(400px, 52vh, 560px); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.stage-fig { position: relative; height: clamp(320px, 46vh, 520px); }
.stage-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0; pointer-events: none;
  transform: translate(calc(var(--dir, 1) * 60px), 30px) rotate(calc(var(--dir, 1) * 8deg)) scale(.86); transform-origin: 50% 100%;
  transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.stage-fig img.on { opacity: 1; transform: none; transition-delay: .12s; }
.stage-fig img.out { opacity: 0; transform: translate(calc(var(--dir, 1) * -70px), -10px) rotate(calc(var(--dir, 1) * -7deg)) scale(.9); transition-duration: .45s, .8s; transition-delay: 0s; }
.stage-txt { position: relative; }
.qm { position: absolute; left: -.08em; top: -.42em; font-family: var(--display); font-weight: 900; font-size: clamp(150px, 15vw, 240px); line-height: 1; color: #efede7; pointer-events: none; z-index: -1; }
html[data-theme="matcha"] .qm { color: #e9eedf; }
.stage-q { margin: 0; min-height: 13.5em; display: flex; flex-direction: column; justify-content: center; font-size: clamp(15px, 1vw, 16px); }
.stage-q blockquote { margin: 0; font-size: clamp(26px, 2.7vw, 48px); line-height: 1.22; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.stage-q .w { display: inline-block; }
.stage-q figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 26px; font-size: 14px; color: var(--mute); }
.stage-q figcaption b { font-family: var(--display); font-weight: 900; font-size: 20px; letter-spacing: -.025em; color: var(--ink); line-height: 1; }
.stage-q .rs { display: inline-flex; gap: 2px; color: var(--ink); font-size: 14px; }
.stage-q.in .w { animation: word-in .9s var(--ease) both; animation-delay: calc(min(var(--i), 18) * 34ms); }
.stage-q.in figcaption { animation: rise .8s var(--ease) .35s both; }
.stage-q.out { opacity: 0; transform: translateY(-14px); transition: opacity .25s ease, transform .3s ease; }
@keyframes word-in { from { opacity: 0; transform: translateY(.5em) rotate(4deg); } }
.stage-nav { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.stage-count { margin-left: 8px; font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }

/* ticker: the reviews' own words */
.ticker { position: relative; margin: clamp(60px, 7vw, 110px) calc(var(--pad) * -1) 0; overflow: hidden; padding: .1em 0 .2em; contain: paint; }
/* soft edges from two white veils instead of a mask, so the moving track never has to be re-masked */
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7%; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.ticker::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.tk-lean { transition: transform .6s var(--ease); will-change: transform; }
.tk-track { display: flex; width: max-content; will-change: transform; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 4.8vw, 84px); line-height: 1.1; letter-spacing: -.045em; text-transform: lowercase; white-space: nowrap; }
.tk-set { display: flex; align-items: center; }
.tk-p { padding: 0 .32em; }
/* Montserrat's letters are built from overlapping shapes: a plain outline shows their seams, so the outline is drawn
   twice as thick under a white fill, which hides the inner half and every seam */
.tk-p.hollow { color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.ticker .tk-sep { width: .42em; height: .42em; flex: none; fill: var(--ink); overflow: visible; }
@media (prefers-reduced-motion: reduce) { .stage-q.in .w, .stage-q.in figcaption { animation: none; } .who button.run .ring circle { animation: none; } }

/* ---------- visit ---------- */
#visit { overflow: clip; isolation: isolate; }
.visit { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: center; }
.visit .hours { margin-top: 30px; max-width: 460px; }
/* the address as in the brand's address lockup: both o marks, then the street */
.vlock { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 22px); margin: 28px 0 0; }
.omarks { display: flex; align-items: center; gap: clamp(4px, .5vw, 8px); flex: none; }
.omarks img { display: block; height: clamp(50px, 4.4vw, 66px); width: auto; }
.vlock .vaddr { margin: 0; font-weight: 900; letter-spacing: -.035em; line-height: 1.12; font-size: clamp(18px, 1.65vw, 25px); }
.vaddr { margin: 26px 0 0; font-size: clamp(20px, 1.8vw, 27px); font-weight: 600; letter-spacing: -.03em; line-height: 1.3; }
.now { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 15px; font-weight: 600; }
.now i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.now.is-open i { background: currentColor; animation: breathe 2.8s ease-in-out infinite; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid #eeeeec; font-size: 16px; letter-spacing: -.01em; color: var(--mute); }
.hours li:first-child { border-top: 1px solid #eeeeec; }
.hours li.today { color: var(--ink); }
.contact { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; font-size: 15.5px; }
.contact a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.contact a:hover { background-size: 100% 1.5px; }
/* the map: a quiet 3D look down Keira St, cream paper and white roads */
.map-card { position: relative; width: 100%; aspect-ratio: 1 / 1.05; max-height: 76vh; border-radius: 36px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 40%, #fdfbf6, #f3eee4); box-shadow: 0 40px 90px -40px rgba(60, 45, 20, .22), inset 0 0 0 1px rgba(0,0,0,.04); }
.map-card > .map, .map-card > .map.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map canvas { outline: none; }
.map-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(130% 100% at 50% 45%, transparent 55%, rgba(251, 248, 241, .85) 100%); }
.map-note { position: absolute; left: 22px; bottom: 20px; z-index: 2; font-size: 13px; color: var(--mute); }
.map .maplibregl-ctrl-attrib { background: rgba(255,255,255,.6); font-size: 10px; border-radius: 10px 0 0 0; }
.map .maplibregl-ctrl-attrib a { color: #8a8a86; }
.pin { position: relative; display: grid; place-items: center; width: 64px; height: 64px; cursor: default; }
.pin .ring { position: absolute; inset: 6px; border-radius: 50%; background: rgba(0,0,0,.12); animation: ping 2.6s var(--ease) infinite; }
.pin .face { position: relative; width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.18); display: grid; place-items: center; }
.pin .face img { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); border-radius: 50%; transition: opacity .8s var(--ease); }
.pin .face .gm { opacity: 0; }
html[data-theme="matcha"] .pin .face .gm { opacity: 1; }
.pin .lbl img { display: block; height: 12px; width: auto; }
.pin .lbl { position: absolute; top: 100%; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
@keyframes ping { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin .ring { animation: none; opacity: 0; } }

/* directions: one button, two maps */
.dir { position: relative; }
.dir .btn .ic { font-size: 18px; }
.dir-menu { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 20; min-width: 230px; padding: 8px; border-radius: 24px; background: var(--paper);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.05); display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transform-origin: 20% 100%; transition: opacity .3s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.dir.is-on .dir-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .5s var(--ease), visibility 0s; }
.dir-menu a { display: flex; align-items: center; gap: 12px; padding: 14px 14px; border-radius: 16px; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; transition: background-color .25s; }
.dir-menu a .app { width: 32px; height: 32px; border-radius: 23%; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 3px 8px rgba(0,0,0,.08); }
.dir-menu a .go { margin-left: auto; font-size: 15px; color: var(--mute); transition: transform .4s var(--ease); }
.dir-menu a:hover, .dir-menu a:focus-visible { background: #f4f2ec; outline: none; }
.dir-menu a:hover .go { transform: translate(2px, -2px); }
.dir.is-on .dir-menu a { animation: rise .5s var(--ease) both; }
.dir.is-on .dir-menu a + a { animation-delay: .06s; }
.spin-glass img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; animation: turn 140s linear infinite; animation-play-state: paused; filter: drop-shadow(0 30px 40px rgba(0,0,0,.08)); transition: opacity .9s var(--ease); }
.live .spin-glass img { animation-play-state: running; }
.spin-glass .gm { opacity: 0; }
html[data-theme="matcha"] .spin-glass .gm { opacity: 1; }
@keyframes turn { to { transform: rotate(360deg); } }

/* ---------- catering ---------- */
.cater { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 6vw, 110px); align-items: center; }
.cater .note { margin-top: 26px; }
.line-up { position: relative; display: flex; align-items: flex-end; justify-content: center; height: clamp(260px, 30vw, 460px); }
.line-up img { height: 100%; width: auto; max-width: 42%; object-fit: contain; object-position: bottom; margin: 0 -5.5%; transition: transform .9s var(--ease); }
/* the photos sit on white; multiply lets the overlapping white edges vanish instead of covering the next glass */
.line-up img { mix-blend-mode: multiply; }
.line-up img:nth-child(2) { position: relative; z-index: 1; }
.line-up:hover img:nth-child(1) { transform: translateX(-10px) rotate(-3deg); }
.line-up:hover img:nth-child(3) { transform: translateX(10px) rotate(3deg); }

/* ---------- footer ---------- */
.foot { position: relative; padding: clamp(90px, 14vh, 170px) var(--pad) calc(var(--pad) * .9); }
.foot-word { position: relative; display: flex; align-items: center; justify-content: center; font-size: min(18vw, 300px); line-height: 1; padding-bottom: .3em; margin: 0 auto clamp(56px, 8vw, 110px); width: fit-content; }
.foot-word svg { display: block; height: 1em; fill: var(--ink); }
.foot-word .fn { width: .9833em; }
.foot-word .fm { width: 1.4644em; }
.foot-word .fsub { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; width: 2.2762em; height: .2427em; }
.foot-word .fo { width: .98em; height: .98em; margin: 0 -.0549em 0 -.0172em; position: relative; }
.foot-word .fo img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; animation: turn 100s linear infinite; animation-play-state: paused; transition: opacity .9s var(--ease); }
.live .foot-word .fo img { animation-play-state: running; }
.foot-word .fo .gm { opacity: 0; }
html[data-theme="matcha"] .foot-word .fo .gm { opacity: 1; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.foot-cols h4 { margin: 0 0 12px; font-size: 14px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.foot-cols p, .foot-cols a { margin: 0; font-size: 15px; line-height: 1.75; }
.foot-cols a { display: block; width: fit-content; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; font-size: 13px; color: var(--mute); }

/* ---------- phone navigation ---------- */
.navbtn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #f3f3f1; color: var(--ink); place-items: center; cursor: pointer; font-size: 20px; }
.bar-end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.sheetnav { position: fixed; inset: 0; z-index: 50; background: var(--paper); display: flex; flex-direction: column; align-items: stretch; padding: calc(var(--pad) * .7) var(--pad) var(--pad);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .5s; }
.sheetnav.open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.sheetnav-top { display: flex; justify-content: space-between; align-items: center; }
.sheetnav-top img { width: 92px; height: auto; }
.sheetnav nav { display: grid; gap: 0; margin: auto 0; }
.sheetnav nav a { font-family: var(--display); font-weight: 900; text-transform: lowercase; font-size: clamp(46px, 13.4vw, 72px); line-height: 1.08; letter-spacing: -.045em; color: var(--grey);
  transform: translateY(16px); opacity: 0; transition: color .35s var(--ease), transform .7s var(--ease), opacity .7s var(--ease); }
.sheetnav.open nav a { transform: none; opacity: 1; }
.sheetnav.open nav a:nth-child(2) { transition-delay: 0s, .05s, .05s; }
.sheetnav.open nav a:nth-child(3) { transition-delay: 0s, .1s, .1s; }
.sheetnav.open nav a:nth-child(4) { transition-delay: 0s, .15s, .15s; }
.sheetnav nav a:hover, .sheetnav nav a:focus-visible, .sheetnav nav a:active, .sheetnav nav a[aria-current="page"] { color: var(--ink); }
.sheetnav .btn { width: 100%; height: 56px; }
@media (max-width: 820px) { .navbtn { display: grid; } }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .story, .visit, .cater { grid-template-columns: 1fr; }
  .rvw { grid-template-columns: 1fr; gap: 40px; }
  .rvw-side { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 24px; }
  .rvw-side .rev-meta { margin: 0 0 .6em; }
  .who { grid-column: 1 / -1; max-width: none; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 30px calc(var(--pad) * -1) 0; padding: 6px var(--pad); }
  .who::-webkit-scrollbar { display: none; }
  .who button { flex: none; }
  .stage { min-height: 0; }
  .stage-q blockquote { font-size: clamp(24px, 3.4vw, 31px); }
  .taste { max-width: 460px; max-height: none; }
  .map-card { aspect-ratio: 4 / 4.4; max-height: none; border-radius: 28px; }
  .facts { grid-template-columns: 1fr; gap: 44px; }
  .fact { grid-template-columns: auto 1fr; align-items: center; gap: 22px; }
  .fact-big { font-size: 54px; min-width: 2.9ch; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line-up { height: 62vw; max-height: 460px; }
  .rail { grid-auto-columns: 31vw; }
}
@media (max-width: 560px) {
  :root { --gap-sec: 104px; }
  .sig-head { flex-direction: column; align-items: flex-start; }
  .rail-end .round { display: none; }
  .rail { grid-auto-columns: 62vw; }
  .foot-cols { grid-auto-flow: row dense; row-gap: 34px; }
  .foot-cols > div:nth-child(1), .foot-cols > div:nth-child(3) { grid-column: 1 / -1; }
  .foot-base { flex-direction: column; }
  .picks button { font-size: 26px; }
  .rvw-side .h2 { font-size: 92px; }
  .stage { grid-template-columns: 1fr; gap: 6px; }
  .stage-fig { height: 46vh; max-height: 330px; }
  .qm { font-size: 130px; top: -.5em; }
  .stage-q { min-height: 11.5em; justify-content: flex-start; }
  .stage-q blockquote { font-size: 22px; }
  .stage-nav { margin-top: 20px; }
  .taste { max-height: 62vh; }
  .fact { grid-template-columns: 1fr; gap: 10px; }
}

/* Wix / iframe embed: Wix supplies its own chrome */
html.embed .bar, html.embed .foot, html.embed .sheetnav { display: none !important; }
/* sold out in Square (js/menu-data.js markSold) */
.cup.sold .cup-fig, .cup.sold.lift.in .cup-fig { opacity: .42; filter: grayscale(.55); }
.cup.sold .flag:not(.sold-flag) { display: none; }
.cup.sold .cup-price { color: var(--grey, #8f8f8b); }

/* items David adds in Square (14 Nov 2026): his own photo sits on the page like ours (its white ground drops away);
   an item with no photo yet shows the Nom mark, faint, never a stand-in drink */
img.sqp { mix-blend-mode: multiply; }
img.cup-nophoto { object-fit: contain !important; object-position: 50% 50% !important; padding: 24% 22%; box-sizing: border-box; opacity: .14; }
