/* Cafe and city pages (src/pages.js): a plain, scrolling page in the site's colours. Phone first. */
/* Loaded after styles.css, which brings the colours, fonts and the wordmark; these pages scroll, unlike the map. */
html, body { height: auto; }
body { overflow: auto; font-size: 16px; line-height: 1.45; background: var(--grain-oat), var(--tan); }
/* The header is the loading screen in small: F#$K THE stamped on mylk, tax tucked under the y, oat on espresso. */
.pg-top { background: var(--grain-ink), var(--esp); padding: 46px 22px 18px; overflow: hidden; }
.pg-mk { --lh: 62px; display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.pg-mk .mk { --h: var(--lh); --mk-ink: var(--grain-oat), var(--tan); }
.pg-logo { --ts: 1; }
.pg-tag { background: var(--grain-oat), var(--tan); color: var(--esp); box-shadow: var(--miss); }
main { max-width: 640px; margin: 0 auto; padding: 20px 18px 48px; }
main h1, main h2 { font-family: var(--shout); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; margin: 0 0 8px; }
main h1 { font-size: clamp(32px, 9vw, 48px); }
main h2 { font-size: 22px; margin-top: 30px; }
h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 18px 0 2px; opacity: .75; }
p { margin: 0 0 10px; }
.crumb { font-size: 14px; font-weight: 600; opacity: .8; }
.crumb a { text-decoration: none; border-bottom: 1px solid; }
.pg-addr { font-size: 15px; }
.meta, .count, .milks { font-size: 14px; opacity: .8; }
.btn { display: inline-block; margin-top: 8px; padding: 12px 18px; border-radius: 6px; background: var(--esp); color: var(--pale); font-weight: 700; text-decoration: none; }
.notes ul, .pl { list-style: none; margin: 0; padding: 0; }
.notes li { background: var(--pale); border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; }
.pl li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(63, 38, 22, .2); }
.pl a { font-weight: 600; text-decoration: none; }
.pl small { display: block; font-size: 13px; opacity: .75; }
.cities { margin-top: 36px; font-size: 14px; }
.cities a { margin-right: 10px; }
/* The cafe, as the map's card: espresso with the oat price plate when there's no mylk tax; paper with the red plate
   when there is. The plate, skip link and tags are the card's own (styles.css). */
.pg-card { margin: 4px -6px 0; padding: 18px 18px 20px; border-radius: var(--r); background: var(--grain-ink), var(--esp); color: var(--tan); box-shadow: var(--miss); }
.pg-card.taxed { background: var(--grain-oat), var(--pale); color: var(--esp); box-shadow: inset 0 0 0 2px var(--esp), 3px 4px 0 0 var(--crema); }
.pg-card.taxed .plate { background: var(--grain-ink), var(--tax); color: var(--pale); box-shadow: -2px -3px 0 0 var(--esp); }
.pg-card .plate { margin: 14px 0 4px; }
.pg-card .skip p { margin: 16px 0 8px; }
.pg-card .skipalt { text-decoration: none; }
.pg-card .meta { margin-top: 14px; }
.pg-card .btn { background: var(--grain-oat), var(--tan); color: var(--esp); }
.pg-card.taxed .btn { background: var(--grain-ink), var(--esp); color: var(--tan); }
.pg-card .notes li { background: rgba(232, 211, 176, .12); }
.pg-card.taxed .notes li { background: rgba(63, 38, 22, .07); }
/* City lists: $0 tags dark, charges red, headings stamped like the card's verdict. */
main h2 .stamp { font-size: 20px; background: var(--grain-ink), var(--esp); color: var(--tan); box-shadow: var(--miss); }
main h2 .stamp.taxed { background: var(--grain-ink), var(--tax); color: var(--pale); box-shadow: -2px -3px 0 0 var(--esp); }
.pl .ztag { flex: none; align-self: center; }
.pl .ztag.taxed { background: var(--grain-ink), var(--tax); color: var(--pale); box-shadow: -2px -2px 0 0 var(--esp); }
/* The 404: one big stamp thumped onto the page, like the loading screen's, then the way back. */
.nf { padding-top: 18px; }
.nf-stamp { margin: 8px 0 34px 4px; }
.nf-stamp .stamp { font-size: clamp(88px, 30vw, 150px); padding: 10px 22px 12px; background: var(--grain-ink), var(--esp); color: var(--tan); box-shadow: 6px 7px 0 0 var(--crema); animation: nf-thump .14s cubic-bezier(.6, 0, 1, 1) both; }
@keyframes nf-thump { 0% { opacity: 0; transform: rotate(-3deg) scale(1.35); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .nf-stamp .stamp { animation: none; } }
/* Words for screen readers and anything reading the page as text; not shown on screen. */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
