/* Dera e Pazarit - the shutter. The shop's rolling shutter is the hero, and the live hours decide whether it is up. */

:root {
  --night: #111417;
  --night-2: #181c20;
  --stone: #262b30;
  --stone-hi: #343a40;
  --text: #ECE5D6;
  --muted: #A9A295;
  --lamp: #FFB547;
  --lamp-deep: #E89420;
  --paint: #EFE9DC;
  --green: #2B6259;
  --green-hi: #3E7F74;
  --green-lo: #173A34;

  --stencil: 'Big Shoulders Stencil Display', Impact, sans-serif;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'Azeret Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --lift: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
main, .foot { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: background .3s, padding .3s, box-shadow .3s;
}
/* past the hero the bar gets a ground and the name, which the hero no longer shows */
.nav.is-past {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(17, 20, 23, .9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--stone);
}
.nav-mark {
  font-family: var(--stencil); font-weight: 900; font-size: 26px; letter-spacing: .02em;
  text-transform: uppercase; text-decoration: none; color: var(--lamp); line-height: 1;
}
.js .nav-mark { opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.js .nav.is-past .nav-mark { opacity: 1; visibility: visible; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 4px; font-weight: 600; font-size: 15px;
  text-decoration: none; color: var(--text); white-space: nowrap;
}
.nav-links a:hover { background: var(--stone); }
.lang { display: flex; gap: 2px; border: 1px solid var(--stone-hi); border-radius: 6px; padding: 3px; flex: none; }
.lang button {
  font: 600 12px/1 var(--mono); color: var(--muted); background: none; border: 0;
  border-radius: 4px; padding: 8px 11px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--lamp); color: var(--night); }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: 6px; font-weight: 800; font-size: 16px; text-decoration: none;
  transition: background .2s, color .2s, translate .2s;
}
.btn:hover { translate: 0 -2px; }
.btn-lamp { background: var(--lamp); color: var(--night); box-shadow: 0 10px 30px -10px rgba(255, 181, 71, .6); }
.btn-lamp:hover { background: #FFC56E; }
.btn-ghost { color: var(--text); box-shadow: inset 0 0 0 2px var(--stone-hi); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--text); }

.label {
  margin: 0 0 18px; font: 600 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--lamp);
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 5vw, 80px);
  padding: 110px var(--gutter) 64px; max-width: var(--max); margin: 0 auto;
}
/* the lane at night: a warm pool on the stone wall where the shop's light falls */
.hero::before {
  content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 72% 62%, rgba(255, 170, 60, calc(.16 * var(--lit, 1) * var(--lift))), transparent 70%),
    radial-gradient(40% 40% at 20% 0%, rgba(140, 170, 200, .08), transparent 70%),
    var(--night);
}
/* the stone wall of the lane, only visible where the shop's light and the street lamp reach it */
.hero::after {
  content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none;
  background: url(stone.svg) 0 0 / 540px auto;
  opacity: calc(.35 + .4 * var(--lit, 1) * var(--lift));
  -webkit-mask-image: radial-gradient(48% 70% at 72% 52%, #000 20%, transparent 80%);
          mask-image: radial-gradient(48% 70% at 72% 52%, #000 20%, transparent 80%);
}
.kicker { margin: 0 0 18px; font: 600 13px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-name {
  margin: 0; font-family: var(--stencil); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 9.2vw, 150px); line-height: .84; letter-spacing: .005em; color: var(--text);
}
.tagline { margin: 26px 0 0; max-width: 30ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--text); }
.live {
  display: none; align-items: baseline; gap: 10px; margin: 28px 0 0;
  font: 600 14px/1.2 var(--mono); color: var(--muted);
}
.js .live { display: flex; }
.live-big { color: var(--text); font-size: 15px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #67D38B; box-shadow: 0 0 0 4px rgba(103, 211, 139, .18); align-self: center; }
.is-closed .live-dot { background: #FF6B5E; box-shadow: 0 0 0 4px rgba(255, 107, 94, .18); }
.hero-actions { margin-top: 30px; }

/* the shop front */
.front { position: relative; width: 100%; max-width: 560px; justify-self: end; padding-bottom: 40px; }
.board {
  position: relative; margin: 0; padding: 16px 20px 14px; text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .25)),
    var(--green-lo);
  border: 3px solid #0b0d0f; border-bottom: 0;
  box-shadow: 0 -40px 60px -30px rgba(255, 181, 71, .25);
}
.board::before { /* the lamp over the sign */
  content: ''; position: absolute; left: 50%; top: -14px; width: 120px; height: 10px; translate: -50% 0;
  border-radius: 3px; background: #2a2f34; box-shadow: 0 8px 26px 6px rgba(255, 190, 90, .55);
}
.board-name, .board-sub-narrow { display: none !important; }
.board span {
  display: block; font-family: var(--stencil); font-weight: 900; text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: .05em; color: var(--paint);
}
.board small { display: block; margin-top: 6px; font: 600 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #BFD3CC; }

.opening {
  position: relative; aspect-ratio: 4 / 4.6; overflow: hidden;
  background: #050607;
  border: 14px solid var(--stone);
  border-image: linear-gradient(90deg, #30363c, #3b4248 30%, #2a2f35 60%, #363c42) 1;
  box-shadow: inset 0 0 0 2px #0b0d0f, 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.window { position: absolute; inset: 0; margin: 0; }
.window img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%;
  filter: brightness(var(--bright, 1)) saturate(var(--sat, 1.05));
  transition: filter .8s;
}
.is-closed .window img { --bright: .42; --sat: .6; }
.window figcaption {
  position: absolute; right: 8px; bottom: 8px; padding: 4px 8px; border-radius: 3px;
  font: 400 11px/1.3 var(--mono); color: var(--text); background: rgba(10, 12, 14, .72);
}
/* warm interior light, strongest near the top where the bulb hangs */
.glow {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(70% 60% at 50% 18%, rgba(255, 186, 90, .7), transparent 75%);
  opacity: calc(var(--lit, 1));
  transition: opacity .8s;
}
.hang {
  position: absolute; z-index: 2; left: 50%; top: 34px; translate: -50% 0; margin: 0;
  display: none; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 16px 9px; border-radius: 4px; background: var(--paint); color: var(--night);
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .6); rotate: -3deg; transform-origin: 50% -30px;
}
.js .hang { display: flex; }
.hang::before { /* the string */
  content: ''; position: absolute; left: 50%; top: -34px; width: 40px; height: 34px; translate: -50% 0;
  border: 1.5px solid rgba(236, 229, 214, .7); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.hang-big { font-family: var(--stencil); font-weight: 900; text-transform: uppercase; font-size: 24px; line-height: 1; letter-spacing: .04em; }
.hang-small { font: 600 11px/1.2 var(--mono); }
.is-closed .hang { display: none; }

/* the shutter */
.shutter {
  display: none; position: absolute; z-index: 5; left: 0; right: 0; top: 0; height: 100%;
  transform: translateY(calc(var(--lift) * (-100% + 26px)));
  will-change: transform;
}
.js .shutter { display: block; }
.slats {
  position: absolute; inset: 0;
  background:
    /* grime and wear */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E"),
    /* street light from the upper left, falling off to the right and down */
    linear-gradient(100deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, .1) 65%, rgba(0, 0, 0, .42)),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .25)),
    /* one corrugation: highlight, face, crease */
    repeating-linear-gradient(180deg,
      #4E9184 0 1.5px, var(--green-hi) 1.5px 5px, var(--green) 5px 13px,
      #1E4740 13px 18px, #0E2420 18px 20px, #2F6A60 20px 22px);
  background-size: 300px 300px, auto, auto, auto;
  background-blend-mode: multiply, normal, normal, normal;
}
/* the guide channels the shutter runs in */
.opening::before, .opening::after {
  content: ''; position: absolute; z-index: 6; top: 0; bottom: 0; width: 10px;
  background: linear-gradient(90deg, #15181b, #3a4046 40%, #1b1f22);
}
.opening::before { left: 0; }
.opening::after { right: 0; }

.paint {
  position: absolute; left: 0; right: 0; top: 30%; text-align: center; color: var(--paint);
  rotate: -2.5deg;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.32' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -.9 1.35'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.32' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -.9 1.35'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.paint p { margin: 0; }
.paint-big { font-family: var(--stencil); font-weight: 900; text-transform: uppercase; font-size: clamp(64px, 8.4vw, 116px); line-height: .9; letter-spacing: .03em; }
.paint-small { margin-top: 10px !important; font-family: var(--stencil); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.5vw, 34px); letter-spacing: .08em; line-height: 1; color: var(--lamp); }
.paint-tel { margin-top: 22px !important; font-family: var(--stencil); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .18em; opacity: .85; }

.rail {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background: linear-gradient(180deg, #5f676f, #9aa2aa 25%, #4b5258 70%, #24282c);
  box-shadow: 0 2px 0 #0a0c0d, 0 6px 18px rgba(255, 176, 70, calc(.75 * var(--lit, 1) * min(1, var(--lift) * 8)));
}
.handle {
  position: absolute; left: 50%; top: 7px; width: 70px; height: 9px; translate: -50% 0; border-radius: 5px;
  background: linear-gradient(180deg, #2c3136, #121518); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}
.lock {
  position: absolute; left: 22%; bottom: 2px; width: 26px; height: 35px;
  transform-origin: 50% 0; rotate: 6deg; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .5));
  transition: opacity .3s;
}
.is-open .lock { opacity: 0; }

/* the roll box the shutter winds into */
.roll {
  display: none; position: absolute; z-index: 7; left: 0; right: 0; top: 0; height: 18px;
  background: linear-gradient(180deg, #2a3035, #4a5157 45%, #22262a);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .55);
}
.js .roll { display: block; }

.step { /* the stone threshold, catching light from under the shutter */
  position: relative; height: 22px; margin: 0 -18px;
  background: linear-gradient(180deg, #3a4046, #23282c);
  box-shadow: 0 30px 50px -10px rgba(255, 170, 60, calc(.45 * var(--lit, 1) * var(--lift)));
}
.step::after {
  content: ''; position: absolute; left: 6%; right: 6%; top: 100%; height: 80px;
  background: radial-gradient(50% 100% at 50% 0, rgba(255, 170, 60, calc(.32 * var(--lit, 1) * var(--lift))), transparent 70%);
  pointer-events: none;
}
.peek {
  display: none; position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center;
  font: 600 12px/1 var(--mono); letter-spacing: .08em; color: var(--muted);
}
.js .is-closed .peek { display: block; }
.peek::before { content: '↓ '; color: var(--lamp); }

/* ---------- about ---------- */
.about, .vitrine, .hours, .rating, .find { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter) 0; }
.about-lead { margin: 0; max-width: 34ch; font-size: clamp(24px, 2.9vw, 40px); line-height: 1.22; font-weight: 600; letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.chips li {
  padding: 8px 14px; border-radius: 4px; font: 600 13px/1.2 var(--mono);
  background: var(--night-2); box-shadow: inset 0 0 0 1px var(--stone-hi); color: var(--text);
}

/* ---------- vitrine: a row of lit display panes ---------- */
.vitrine-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.vitrine-note { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.panes {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
  padding: 12px; background: #0a0c0e; border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--stone-hi), 0 40px 80px -40px rgba(255, 170, 60, .35);
}
.pane { position: relative; margin: 0; border: 6px solid #0a0c0e; overflow: hidden; background: #000; }
.pane img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; transition: scale .6s, filter .6s; filter: brightness(.86); }
.pane::after { /* the glass, with one reflection that sweeps across on hover */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .16) 42%, rgba(255, 255, 255, .03) 50%, transparent 58%);
  translate: -60% 0; transition: translate .9s;
}
.pane:hover::after { translate: 60% 0; }
.pane:hover img { scale: 1.04; filter: brightness(1); }
.pane figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px;
  background: linear-gradient(transparent, rgba(5, 6, 7, .9) 55%);
  display: grid; gap: 3px;
}
.pane figcaption b { font-size: 16px; font-weight: 800; line-height: 1.15; }
.pane figcaption span { font: 400 10.5px/1.35 var(--mono); color: #C9C2B4; }

/* ---------- hours: one door per day ---------- */
.hours-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.hours-now { margin: 0 0 18px; font: 600 14px/1.3 var(--mono); color: var(--muted); }
.hours-now b { color: var(--text); }
.hours-key { margin: 0 0 28px; max-width: 52ch; color: var(--muted); font-size: 15px; }
.doors { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 20px); margin: 0; padding: 0; list-style: none; }
.door { display: grid; gap: 10px; }
.door-day { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.door-frame {
  position: relative; height: clamp(180px, 22vw, 280px); overflow: hidden; background: #050607;
  border: 5px solid var(--stone); border-top-width: 9px;
}
.door-lit {
  position: absolute; left: 0; right: 0;
  background:
    radial-gradient(80% 50% at 50% 0, rgba(255, 220, 160, .55), transparent),
    linear-gradient(180deg, var(--lamp), var(--lamp-deep));
}
.door-shut { /* shutter slats over the closed hours */
  position: absolute; left: 0; right: 0;
  background: repeating-linear-gradient(180deg, var(--green-hi) 0 2px, var(--green) 2px 5px, #12302b 5px 7px);
}
.door-now { position: absolute; left: -2px; right: -2px; height: 2px; background: var(--text); box-shadow: 0 0 0 1px var(--night); }
.door-now::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%;
  translate: -50% -50%; background: var(--text); box-shadow: 0 0 0 2px var(--night);
}
.door-time { font: 600 13px/1.25 var(--mono); color: var(--text); font-variant-numeric: tabular-nums; }
.door.is-today .door-frame { border-color: var(--lamp); }
.door.is-today .door-day { color: var(--lamp); }
.door.is-today .door-day::after { content: ' · ' attr(data-today); }

/* no-JS fallback: a plain table */
.week-plain { margin: 0; border-collapse: collapse; font: 600 14px/1.4 var(--mono); }
.week-plain th, .week-plain td { padding: 6px 24px 6px 0; text-align: left; }
.week-plain th { color: var(--muted); font-weight: 400; }

/* ---------- rating ---------- */
.rating { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 72px); align-items: center; }
.plate {
  padding: 26px 30px 24px; min-width: 240px; border-radius: 4px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 6px),
    var(--green);
  box-shadow: inset 0 0 0 3px #0e2420, 0 20px 40px -20px rgba(0, 0, 0, .7);
}
.plate .label { color: #CFE3DC; }
.score { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.score b { font-family: var(--stencil); font-weight: 900; font-size: 112px; line-height: .85; color: var(--paint); }
.score span { font: 600 18px/1 var(--mono); color: #CFE3DC; }
.score-count { margin: 10px 0 0; font: 600 14px/1 var(--mono); color: var(--paint); }
.bars { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 12px; align-items: center; font: 600 13px/1 var(--mono); }
.bars span { color: var(--muted); }
.bars b { text-align: right; font-weight: 600; }
.bars i {
  height: 14px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--stone-hi); position: relative; overflow: hidden; border-radius: 2px;
}
.bars i::after {
  content: ''; position: absolute; inset: 0; transform-origin: 0 50%; scale: var(--n) 1;
  background: linear-gradient(180deg, #FFC872, var(--lamp-deep));
  transition: scale 1.2s cubic-bezier(.2, .8, .2, 1);
}
.js .rating:not(.is-seen) .bars i::after { scale: 0 1; }

/* ---------- find us ---------- */
.find { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(64px, 9vw, 120px); }
.lane { position: relative; margin: 0; }
.lane img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; filter: saturate(.9); }
.lane figcaption { margin-top: 10px; font: 400 11.5px/1.4 var(--mono); color: var(--muted); }
.addr { font-style: normal; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.015em; }
.find-note { margin: 18px 0 26px; max-width: 44ch; color: var(--muted); }
.map {
  position: relative; height: 300px; border-radius: 4px; overflow: hidden; margin-bottom: 22px;
  box-shadow: inset 0 0 0 1px var(--stone-hi); background: var(--night-2);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(.95); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--stone); padding: 48px var(--gutter) 110px; }
.foot-mark {
  margin: 0 auto; max-width: var(--max); font-family: var(--stencil); font-weight: 900; text-transform: uppercase;
  font-size: clamp(56px, 14vw, 220px); line-height: .85; color: var(--stone-hi); letter-spacing: .01em;
}
.foot-notes { max-width: var(--max); margin: 28px auto 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.foot-notes p { margin: 0; }

.dock { display: none; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 128px; gap: 36px; }
  .front { order: -1; justify-self: center; max-width: 520px; }
  .hero-text { max-width: 560px; }
  .panes { grid-template-columns: repeat(5, 62vw); overflow-x: auto; scroll-snap-type: x mandatory; }
  .pane { scroll-snap-align: start; }
  .rating { grid-template-columns: 1fr; }
  .find { grid-template-columns: 1fr; }
  .lane { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav, .nav.is-past { position: absolute; flex-wrap: wrap; row-gap: 10px; padding: 14px var(--gutter) 18px; background: linear-gradient(var(--night) 70%, transparent); box-shadow: none; backdrop-filter: none; }
  /* the shutter's board is the name on a phone */
  .nav-mark { display: none; }
  .nav { justify-content: flex-end; }
  .nav-links { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: 7px 12px; font-size: 14px; background: var(--night-2); }
  .hero { padding-top: 116px; }
  .opening { border-width: 10px; aspect-ratio: 4 / 4.4; }
  .hero::after {
    -webkit-mask-image: radial-gradient(90% 40% at 50% 34%, #000 20%, transparent 85%);
            mask-image: radial-gradient(90% 40% at 50% 34%, #000 20%, transparent 85%);
  }
  .board span { font-size: 30px; }
  .board-name, .board-sub-narrow { display: block !important; }
  .board-trade, .board-sub-wide { display: none !important; }
  .board small { letter-spacing: .14em; }
  /* the board is the name on a phone; the h1 stays for readers and search, off screen */
  .hero-name, .kicker {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .tagline { margin-top: 0; font-size: 21px; }
  .doors { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
  .door-frame { height: 170px; border-width: 3px; border-top-width: 6px; }
  .door-day { font-size: 10px; letter-spacing: .04em; }
  .door.is-today .door-day::after { content: none; }
  .door-time { font-size: 10px; letter-spacing: -.02em; }
  .door-time span { display: block; }
  .score b { font-size: 92px; }
  .dock {
    position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px;
    background: rgba(24, 28, 32, .92); border-radius: 10px; backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px var(--stone-hi), 0 16px 30px rgba(0, 0, 0, .5);
    translate: 0 140%; transition: translate .35s cubic-bezier(.2, .8, .2, 1);
  }
  .dock.is-shown { translate: 0 0; }
  .dock a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 800; font-size: 15px; text-decoration: none; }
  .dock a:first-child { background: var(--lamp); color: var(--night); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.hours-key { display: none; }
.js .hours-key { display: block; }
html:not(.js) .hours-now { display: none; }
@media (max-width: 640px) { html:not(.js) .dock { translate: 0 0; } }
