/* local.blizzfull.com, the public restaurant directory. One hand-written stylesheet, no build step.
   The look is Window Seat's (docs/feature/window-seat-design.md): the view from a restaurant's window, words on smoked glass,
   thin Geist, amber and teal. Motion is transform and opacity, once, as a page arrives; reduced motion gets none. */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/geist-latin.woff2') format('woff2'); }
/* One voice for every restaurant that has no logo: its name as a sign-writer would set it. Only fetched on a page that shows one. */
@font-face { font-family: 'Fraunces Soft'; font-style: normal; font-weight: 100 500; font-display: swap; src: url('../fonts/fraunces-soft.woff2') format('woff2'); }

:root {
  --amber: #ffb84d;
  --amber-text: #ffdba6;
  --amber-glow: rgba(255, 184, 77, 0.55);
  --teal: #3ce8d6;
  --teal-text: #b4f6ee;
  --teal-glow: rgba(60, 232, 214, 0.45);
  --green: #7fe3a4;
  --ink: #210d06;
  --text: #fbf6f0;
  --text-2: #e2d8ce;
  --text-3: #c8bcb1;
  --hair: rgba(255, 235, 215, 0.1);
  --hair-2: rgba(255, 235, 215, 0.2);
  --night: #090605;
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --soft: cubic-bezier(0.4, 0, 0.1, 1);
  --gutter: 28px;
  --accent: var(--amber);
  --accent-text: var(--amber-text);
  --glow: var(--amber-glow);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--night); color-scheme: dark; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  font-family: 'Geist', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  font-feature-settings: 'tnum' 1, 'cv11' 1;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

main { flex: 1 0 auto; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 5; padding: 12px 18px; border-radius: 12px; background: var(--accent); color: var(--ink); font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- the window: the street outside, behind everything, fading into the night ---------- */
body::before, body::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 100vh; min-height: 560px; max-height: 920px; pointer-events: none; }
body::before { z-index: -2; background: var(--night) url('../images/street-night-1280.jpg') 70% 40% / cover no-repeat; animation: settle 2.4s var(--expo) both; }
/* Two shades over it: one down the page into the night, one from the left, where the words stand, so they hold 4.5:1 over the shopfronts' lights. */
body::after { z-index: -1; background: linear-gradient(180deg, rgba(9, 6, 5, 0.62) 0, rgba(9, 6, 5, 0.18) 26%, rgba(9, 6, 5, 0.5) 62%, var(--night) 100%), linear-gradient(90deg, rgba(9, 6, 5, 0.82) 0, rgba(9, 6, 5, 0.6) 38%, rgba(9, 6, 5, 0) 72%); }
@media (min-width: 1100px) {
  body::before { background-image: url('../images/street-night-2048.jpg'); }
}

/* ---------- the top bar ---------- */
.bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 var(--gutter); }
.bar-logo { display: flex; align-items: center; min-height: 44px; }
.bar-logo img { display: block; width: 132px; height: auto; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; transition: transform 0.5s var(--expo), background-color 0.3s var(--soft); }
.btn:hover { transform: translate3d(0, -1px, 0); }
.btn:active { transform: scale(0.97); transition-duration: 0.12s; }
.btn::before { content: ''; position: absolute; top: -40%; bottom: -40%; left: -30%; width: 24%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent); transform: translate3d(-120%, 0, 0) skewX(-18deg); pointer-events: none; }
.btn:hover::before { transform: translate3d(620%, 0, 0) skewX(-18deg); transition: transform 1s var(--soft); }
.btn-solid { background: var(--accent); color: var(--ink); font-weight: 600; box-shadow: 0 0 18px var(--glow), 0 10px 40px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-glass { color: var(--accent-text); background: rgba(14, 15, 19, 0.6); box-shadow: inset 0 0 0 1px var(--glow), 0 0 18px -4px var(--glow); }
.btn-glass:hover { background: rgba(14, 15, 19, 0.78); }
/* Order online, on every row of a city's list: one colour for every restaurant, the page's green for go. Never a restaurant's own colour: a red Order button reads as a warning (Zach, 2026-11-19). */
.btn-go { background: var(--green); color: #062313; font-weight: 600; box-shadow: 0 0 18px rgba(127, 227, 164, 0.4), 0 10px 34px -10px rgba(127, 227, 164, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-small { height: 44px; padding: 0 16px; font-size: 14px; border-radius: 12px; }

/* ---------- the hero: words straight on the window ---------- */
/* Above the sheet, so the finder's list opens over it. A sign that runs off the window's edge is cut there, never widening the page. */
.hero { position: relative; z-index: 2; overflow-x: clip; display: flex; align-items: flex-end; min-height: 250px; min-height: clamp(220px, 34vh, 340px); padding: 20px var(--gutter) 40px; }
.hero-tall { min-height: 420px; min-height: clamp(380px, 62vh, 600px); padding-bottom: 56px; }
/* The words line up with what's on the sheet below them. */
.hero-words { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 48px; }
.hero-words > * { animation: arrive 1.2s var(--expo) both; }
.hero-words > :nth-child(2) { animation-delay: 70ms; }
.hero-words > :nth-child(3) { animation-delay: 140ms; }
.hero-words > :nth-child(4) { animation-delay: 210ms; }
.kicker { display: flex; align-items: center; flex-wrap: wrap; font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); text-shadow: 0 0 16px var(--glow), 0 1px 2px rgba(0, 0, 0, 0.6); }
.kicker a { display: inline-flex; align-items: center; min-height: 44px; }
.kicker a:hover { color: #fff; }
.kicker span { margin: 0 10px; opacity: 0.6; }
.title { max-width: 880px; margin-top: 10px; font-size: 44px; font-size: clamp(38px, 5.6vw, 72px); font-weight: 200; letter-spacing: -0.03em; line-height: 1.02; color: #fff; text-shadow: 0 2px 34px rgba(10, 4, 2, 0.55), 0 1px 2px rgba(0, 0, 0, 0.4); text-wrap: balance; }
nav.kicker + .title { margin-top: 0; }
.line { margin-top: 14px; font-size: 16.5px; color: var(--text); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 1px 18px rgba(0, 0, 0, 0.5); }
.acts { margin-top: 22px; }

/* The city finder: the front page's one action. */
.find { position: relative; max-width: 460px; margin-top: 24px; }
.find-field { display: block; width: 100%; height: 56px; padding: 0 20px; border: 0; border-radius: 16px; font: inherit; font-size: 17px; color: var(--text); background: rgba(14, 15, 19, 0.82); box-shadow: inset 0 0 0 1px var(--hair-2), 0 18px 44px -22px rgba(0, 0, 0, 0.8); -webkit-appearance: none; appearance: none; }
.find-field::placeholder { color: var(--text-3); opacity: 1; }
.find-field:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--accent), 0 0 22px -4px var(--glow); }
.find-list { position: absolute; left: 0; right: 0; top: 64px; z-index: 3; padding: 6px; border-radius: 16px; background: #14151a; box-shadow: inset 0 0 0 1px var(--hair-2), 0 30px 60px -20px rgba(0, 0, 0, 0.9); }
.find-list a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 16px; }
.find-list a:hover, .find-list a:focus-visible, .find-list li:first-child a { background: rgba(255, 255, 255, 0.07); }

/* A restaurant's brand, drawn as its own site's header draws it (view/local/brand.tpl): its hero photograph, or its own colour (--b), behind;
   its logo, or its name (in --i on a plain colour), on top. Used by the front page's sliding rows and by every row of a city's list. */
/* A plain colour is lit from above and falls away below, so it reads as a sign and not a swatch. */
.brand { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; background: radial-gradient(120% 95% at 22% -10%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 62%), linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.22)), var(--b, #15161a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); color: var(--i, #fff); container-type: size; }
.brand-hero { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-photo::after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)); }
.brand-logo { position: relative; z-index: 1; display: block; width: auto; height: auto; max-width: 68%; max-height: 64%; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45)); }
.brand-name { position: relative; z-index: 1; padding: 0 8%; font-family: 'Fraunces Soft', Georgia, 'Times New Roman', serif; font-size: 17px; font-size: clamp(14px, 14.5cqw, 40px); font-weight: 460; line-height: 1.02; letter-spacing: -0.02em; text-align: center; text-wrap: balance; overflow-wrap: break-word; font-feature-settings: 'lnum' 1, 'kern' 1; }
.brand-photo .brand-name { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
/* A name straight on a photograph has no logo's own contrast to lean on: the shade deepens until white holds 4.5:1 on any picture. */
.brand-photo.brand-named::after { background: rgba(0, 0, 0, 0.6); }
.brand-logo + .brand-name { display: none; }

/* ---------- the front page's sliding rows: real restaurants going by, each card its brand, lit in its own colour (--c, set on it) ---------- */
/* Each row's track holds its cards twice and slides exactly one writing's width, so the loop has no seam. The two rows go opposite ways.
   A pointer or the keyboard on a row holds that row; the Pause button holds both (.held); reduced motion gets no slide, and the row scrolls by hand. */
.hero-home { min-height: 0; padding-top: 44px; padding-bottom: 34px; }
.rows { position: relative; z-index: 1; margin-bottom: 46px; animation: arrive 1.3s var(--expo) 160ms both; }
.rows-head { display: flex; justify-content: flex-end; width: calc(100% - 2 * var(--gutter)); max-width: 1180px; min-height: 44px; margin: 0 auto 10px; padding: 0 48px; }
.rows-pause-mark { width: 10px; height: 12px; margin-right: 9px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.rows.held .rows-pause-mark { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.slide { overflow: hidden; padding: 14px 0 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.slide + .slide { margin-top: -14px; }
.slide-track { display: flex; width: max-content; animation: slide 90s linear infinite; }
.slide + .slide .slide-track { animation-duration: 104s; animation-direction: reverse; }
.slide:hover .slide-track, .slide:focus-within .slide-track, .rows.held .slide-track { animation-play-state: paused; }
.slide-set { display: flex; flex: none; }
.card { display: block; flex: none; width: 228px; height: 150px; margin-right: 20px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 26px -2px rgba(var(--c), 0.55), 0 16px 34px -16px rgba(0, 0, 0, 0.9); transition: transform 0.6s var(--expo), box-shadow 0.5s var(--soft); }
.card:hover, .card:focus-visible { transform: translate3d(0, -4px, 0) scale(1.03); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45), 0 0 34px 2px rgba(var(--c), 0.85), 0 20px 40px -14px rgba(0, 0, 0, 0.9); }


/* ---------- the sheet: one pane of smoked glass, the page's work on it ---------- */
.sheet { position: relative; width: calc(100% - 2 * var(--gutter)); max-width: 1180px; margin: 0 auto 28px; padding: 40px 48px 44px; border-radius: 26px; background: rgba(16, 18, 22, 0.93); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 var(--glow), 0 30px 80px -30px rgba(0, 0, 0, 0.8); animation: arrive 1.3s var(--expo) 160ms both; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .sheet { background: rgba(16, 18, 22, 0.78); -webkit-backdrop-filter: blur(26px) saturate(1.25); backdrop-filter: blur(26px) saturate(1.25); }
}
/* The front page has no sheet: its tiles are the boxes, and a box round boxes says nothing. They stand straight on the window, in the sheet's column. */
.open { position: relative; width: calc(100% - 2 * var(--gutter)); max-width: 1180px; margin: 0 auto 28px; padding: 0 48px 44px; animation: arrive 1.3s var(--expo) 160ms both; }
.sheet > section + section, .sheet > .also, .open > section + section { margin-top: 44px; }
.label { display: flex; align-items: center; margin-bottom: 18px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.label::before { content: ''; flex: none; width: 18px; height: 3px; margin-right: 10px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* ---------- popular cities: type alone. The name is the link, its count and state a small note under it. ---------- */
/* Twelve cities: four, three or two to a row, so no row is ever left short. */
.cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
@media (min-width: 761px) { .cities { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; } }
@media (min-width: 1100px) { .cities { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.city { display: block; min-height: 44px; padding: 18px 0 22px; border-top: 1px solid var(--hair-2); transition: border-color 0.4s var(--soft); }
.city-name { display: block; font-size: 30px; font-size: clamp(24px, 2.5vw, 34px); font-weight: 200; line-height: 1.08; letter-spacing: -0.03em; color: #fff; text-wrap: balance; overflow-wrap: break-word; transition: transform 0.7s var(--expo), color 0.3s var(--soft); }
.city-note { display: block; margin-top: 8px; font-size: 13.5px; color: var(--text-3); }
.cities > li:nth-child(even) .city { --accent: var(--teal); --accent-text: var(--teal-text); }
.city:hover { border-top-color: var(--accent); }
.city:hover .city-name { color: var(--accent-text); transform: translate3d(6px, 0, 0); }

/* ---------- every city: a state folds open to its cities ---------- */
.fold { border-top: 1px solid var(--hair); }
.fold:last-child { border-bottom: 1px solid var(--hair); }
.fold summary { display: flex; align-items: center; min-height: 56px; cursor: pointer; list-style: none; border-radius: 10px; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::before { content: ''; flex: none; width: 0; height: 0; margin: 0 14px 0 4px; border-left: 7px solid var(--text-3); border-top: 5px solid transparent; border-bottom: 5px solid transparent; transition: transform 0.4s var(--expo); }
.fold[open] summary::before { transform: rotate(90deg); border-left-color: var(--accent); }
.fold-name { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.fold summary:hover .fold-name { color: var(--accent-text); }
.fold-meta { margin-left: auto; padding-left: 16px; font-size: 14px; color: var(--text-3); white-space: nowrap; }
.towns { column-width: 220px; column-gap: 28px; padding: 4px 0 10px 25px; }
.towns-open { padding-left: 0; }
.towns li { break-inside: avoid; }
.towns a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 15.5px; color: var(--text); border-bottom: 1px solid var(--hair); }
.towns a span { margin-left: 12px; font-size: 13.5px; color: var(--text-3); }
.towns a:hover { color: var(--accent-text); }
.fold-more { padding: 4px 0 18px 25px; }
.fold-more a, .about-link a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14.5px; color: var(--accent-text); }
.fold-more a:hover, .about-link a:hover { color: #fff; }

/* ---------- a city: its kinds of food, then its restaurants ---------- */
.kinds { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.kind { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 20px; font-size: 14.5px; font-weight: 500; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--hair-2); transition: transform 0.5s var(--expo), background-color 0.3s var(--soft); }
.kind:hover { transform: translate3d(0, -1px, 0); background: rgba(255, 255, 255, 0.12); }
.kind.on { color: var(--accent-text); background: rgba(255, 184, 77, 0.1); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 18px -4px var(--glow); }
/* The rest of a city's kinds of food fold under the first few: every one is a link in the page, open or shut. */
.more-kinds { margin-bottom: 14px; border-bottom: 1px solid var(--hair); }
.more-kinds .kinds { padding: 4px 0 6px 25px; }

.places > li + li { border-top: 1px solid var(--hair); }
/* The restaurant's name is its link, stretched over the whole row; the address and the button stand on top of it. */
.place { position: relative; display: grid; grid-template-columns: 176px minmax(0, 1fr) auto; column-gap: 26px; align-items: center; padding: 24px 0; }
.places > li:first-child .place { padding-top: 10px; }
.places > li:last-child .place { padding-bottom: 6px; }
/* Its brand card: a small version of its own site's header, with its colour's light under it. */
.place-brand { width: 176px; height: 116px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 14px 34px -14px rgba(var(--c), 0.75); transition: transform 0.7s var(--expo), box-shadow 0.5s var(--soft); }
.place:hover .place-brand { transform: translate3d(0, -2px, 0); box-shadow: 0 0 0 1px rgba(var(--c), 0.6), 0 18px 40px -12px rgba(var(--c), 0.9); }
.place-name { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.place-name a::after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.place-name a:hover { color: rgb(var(--t)); }
.place-name a:focus-visible { outline: 0; }
.place-name a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 14px; }
.place-kinds { margin-top: 5px; font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; color: rgb(var(--t)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.place-about { margin-top: 6px; max-width: 640px; font-size: 14.5px; color: var(--text-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.place-where { margin-top: 6px; font-size: 14px; font-style: normal; color: var(--text-3); }
.place-where a, .place-acts { position: relative; z-index: 1; }
.place-where a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.place-acts { display: flex; flex-direction: column; align-items: flex-end; }
/* Open or closed, said by hours.js once it has read the clock: plain words, the open ones lit green, closed never red. A way of ordering that's shut right now loses its light. */
.place-open { margin-bottom: 8px; font-size: 13.5px; color: var(--text-2); white-space: nowrap; }
.place-open b { font-weight: 500; color: var(--green); }
.place-shut .place-open b { color: var(--text-2); }
.place-ways { display: flex; margin-bottom: 12px; }
.place-ways li { display: flex; align-items: center; font-size: 13.5px; color: var(--text-2); white-space: nowrap; }
.place-ways li + li { margin-left: 16px; }
.place-ways li.shut { color: var(--text-3); }
.place-ways li.shut::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text-3); }
.place-ways li::before { content: ''; flex: none; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px 1px rgba(127, 227, 164, 0.55), 0 0 18px 2px rgba(127, 227, 164, 0.22); }
@media (pointer: coarse) {
  .place-where { margin-top: 0; }
  .place-where a { display: inline-block; padding: 12px 0; margin-bottom: -8px; }
}

/* ---------- what Blizzfull is: the front page says it in two plain paragraphs and a link; every other page's foot says it in a line ---------- */
.about { max-width: 620px; font-size: 16.5px; line-height: 1.55; color: var(--text-2); }
.about + .about { margin-top: 16px; }
.about-link { margin-top: 6px; }

/* ---------- the foot ---------- */
.foot { display: flex; justify-content: center; flex-wrap: wrap; padding: 8px var(--gutter) 36px; }
/* The line takes the whole row, so the links start under it; its padding keeps the words to a readable width. */
.foot-about { flex-basis: 100%; margin-bottom: 8px; padding: 0 max(0px, calc(50% - 340px)); text-align: center; font-size: 14px; line-height: 1.5; color: var(--text-3); text-wrap: balance; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; margin: 0 14px; font-size: 14px; color: var(--text-3); }
.foot a:hover { color: var(--text); }
/* Blizzfull's terms and privacy pages, on a row of their own so no screen leaves one of them alone on a line. */
.foot-legal { display: flex; justify-content: center; flex-basis: 100%; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .bar { height: 64px; }
  .hero { padding-bottom: 28px; }
  .hero-words { padding: 0 8px; }
  .hero-tall { padding-bottom: 36px; }
  .sheet { padding: 26px 20px 28px; border-radius: 22px; }
  .open { padding: 0 8px 28px; }
  .hero-home { padding-top: 20px; padding-bottom: 26px; }
  .rows { margin-bottom: 34px; }
  .rows-head { padding: 0 8px; }
  .card { width: 176px; height: 116px; margin-right: 14px; }
  .fold-meta { font-size: 13px; }
  /* A phone gets the kinds of food as one row to swipe, so the restaurants start on the first screen. */
  .kinds { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 4px; padding: 4px 20px 10px; scrollbar-width: none; }
  .kinds::-webkit-scrollbar { display: none; }
  .kind { flex: none; }
  /* The folded kinds are opened on purpose, so they wrap: forty in one row is a long swipe. A name too long for the screen takes a second line. */
  .more-kinds .kinds { flex-wrap: wrap; overflow-x: visible; margin: 0; padding: 4px 0 12px; }
  .more-kinds .kind { flex: 0 1 auto; padding-top: 10px; padding-bottom: 10px; }
  /* A phone gets each restaurant as a card of its own: its header across the top, then its words. */
  .place { display: block; padding: 22px 0 24px; }
  .place-brand { width: auto; height: 136px; margin-bottom: 16px; }
  /* With no photograph and no logo the card would only say the name twice: it's a bar of the restaurant's colour instead. */
  .place-brand-plain { height: 10px; border-radius: 5px; }
  .place-brand-plain .brand-name { display: none; }
  .place-name { font-size: 20px; }
  .place-acts { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 16px; }
  .place-open { flex-basis: 100%; }
  .place-ways { margin-bottom: 0; }
  .place-acts .btn { margin-left: auto; }
}
@media (max-width: 400px) {
  .place-acts { flex-direction: column; align-items: stretch; }
  .place-ways { margin-bottom: 12px; }
  .place-acts .btn { margin-left: 0; }
}

/* ---------- how a page arrives: once, and not at all for anyone who asked for less motion ---------- */
@keyframes arrive { from { opacity: 0; transform: translate3d(0, 22px, 0); } }
@keyframes settle { from { opacity: 0; transform: scale(1.05); } }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* The rows stand still: one writing of each, scrolled by hand. */
  .slide { overflow-x: auto; scrollbar-width: none; }
  .slide::-webkit-scrollbar { display: none; }
  .slide-set[aria-hidden] { display: none; }
  .slide-track { padding: 0 var(--gutter); }
}

@media print {
  body::before, body::after, .bar .btn, .find, .foot, .skip { display: none; }
  html, body, .sheet { background: #fff; color: #000; box-shadow: none; }
  .title, .place-name a, .towns a { color: #000; text-shadow: none; }
}
