/* Muth Local: one stylesheet for every page. build.py versions its file name by content hash.
   Look (2026-10 redesign): cream paper, Bavarian-blue bands, flat colour blocks instead of photos,
   one display face (Fraunces) and one text face (Figtree). See docs/redesign/PLAN.md. */

/* Fonts are self-hosted (SIL Open Font License, see fonts/OFL-*.txt), so no visitor data goes to a font service.
   The italic is fixed at weight 600, the only italic weight the site uses (half the file size). */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/figtree-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 600; font-display: swap; src: url(fonts/fraunces-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(fonts/fraunces-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --paper: #faf6ee;
  --surface: #ffffff;
  --ink: #1e2329;
  --muted: #5a616b;
  --line: #e2d9c8;
  --blue: #1f5fa8;
  --blue-deep: #14315a;
  --blue-ink: #ffffff;
  --blue-soft: #dce9f5;
  --hero: #1b5699;
  --hero-2: #164a86;
  --gold: #e9a23b;
  --gold-light: #f6c76b;
  --gold-ink: #1b1405;
  --gold-soft: #fbefd6;
  --pretzel: #8a4b22;
  --pretzel-soft: #f5e6da;
  --fir: #2f5d4a;
  --fir-soft: #e1ede6;
  --red: #a8322a;
  --red-soft: #f8e4e1;
  --stone: #efe6d6;
  --stone-ink: #6b5f52;
  --hero-ink: #fffaf0;
  --hero-muted: #dce9f5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 49, 90, .06), 0 4px 14px rgba(20, 49, 90, .05);
  --lift: 0 2px 4px rgba(20, 49, 90, .08), 0 14px 30px rgba(20, 49, 90, .12);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* The Bavarian lozenges (Rautenflagge), drawn in CSS. var() resolves here on :root, so they're always blue */
  --diamonds: linear-gradient(135deg, var(--dia) 25%, transparent 25%), linear-gradient(225deg, var(--dia) 25%, transparent 25%), linear-gradient(315deg, var(--dia) 25%, transparent 25%), linear-gradient(45deg, var(--dia) 25%, transparent 25%);
  --dia: #1f5fa8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #11161e;
    --surface: #19202b;
    --ink: #eef1f6;
    --muted: #a7b0bd;
    --line: #2a3443;
    --blue: #8cbcf2;
    --blue-deep: #0b1a30;
    --blue-ink: #0b1526;
    --blue-soft: #1b2b42;
    --hero: #163f73;
    --hero-2: #10315c;
    --gold: #f0b94a;
    --gold-soft: #2b2412;
    --pretzel: #e3ae7c;
    --pretzel-soft: #2e2118;
    --fir: #85cfa6;
    --fir-soft: #16291f;
    --red: #e9867c;
    --red-soft: #33201e;
    --stone: #2b2721;
    --stone-ink: #d8ccb9;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .22);
    --lift: 0 2px 4px rgba(0, 0, 0, .35), 0 16px 34px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; font-weight: 700; font-variation-settings: 'SOFT' 50, 'WONK' 0; color: var(--blue-deep); }
@media (prefers-color-scheme: dark) { h1, h2, h3 { color: var(--ink); } }
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.5rem); margin-top: 1.6em; letter-spacing: -.015em; }
h3 { font-size: 1.28rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.lozenge, .brand-mark { background-color: #fff; background-image: var(--diamonds); background-size: 12px 12px; --dia: #1f5fa8; }

/* Header: light bar, short menu, one blue button. A strip of diamonds underneath. */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 94%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); color: var(--ink); border-bottom: 1px solid var(--line); }
.top::after { content: ''; display: block; height: 5px; background-color: #fff; background-image: var(--diamonds); background-size: 10px 10px; --dia: #1f5fa8; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 68px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 1.28rem/1 var(--display); color: var(--blue-deep); text-decoration: none; letter-spacing: -.015em; }
.brand em { font-style: italic; font-weight: 600; color: var(--blue); }
@media (prefers-color-scheme: dark) { .brand { color: var(--ink); } }
.brand-mark { width: 28px; height: 33px; border-radius: 4px 4px 14px 14px; border: 2px solid var(--blue-deep); flex: none; }
nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; padding: 8px 13px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.top nav a:hover { background: var(--blue-soft); }
.top nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 10px 10px 4px 4px; }
.top nav a.nav-biz { color: var(--muted); font-weight: 500; }
.top nav a.nav-cta { background: var(--blue); color: var(--blue-ink); padding: 9px 18px; box-shadow: none; border-radius: 999px; }
.top nav a.nav-cta:hover { background: var(--blue-deep); }
@media (prefers-color-scheme: dark) { .top nav a.nav-cta:hover { background: #a9cdf6; } }

/* Hero: a flat Bavarian-blue band with a faint field of diamonds, ending in the Main Street skyline */
.hero {
  position: relative; isolation: isolate;
  margin: 0 calc(50% - 50vw) 12px;
  padding: 56px calc(50vw - 50%) 124px;
  background: linear-gradient(180deg, var(--hero), var(--hero-2));
  color: var(--hero-ink);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-size: 44px 44px;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .07) 25%, transparent 25%), linear-gradient(225deg, rgba(255, 255, 255, .07) 25%, transparent 25%), linear-gradient(315deg, rgba(255, 255, 255, .07) 25%, transparent 25%), linear-gradient(45deg, rgba(255, 255, 255, .07) 25%, transparent 25%);
  -webkit-mask: linear-gradient(100deg, transparent 35%, #000 80%); mask: linear-gradient(100deg, transparent 35%, #000 80%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 88px;
  background: var(--paper);
  -webkit-mask: url(skyline.svg) center bottom / auto 100% repeat-x;
  mask: url(skyline.svg) center bottom / auto 100% repeat-x;
}
.hero > * { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { color: var(--hero-ink); }
.hero h1 em, .hero h1 .hl { font-style: italic; font-weight: 600; color: var(--gold-light); }
.hero:not(.hero-home) h1 { font-size: clamp(2.3rem, 5.6vw, 3.7rem); }
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 1.1em; }
.hero .kicker::before { content: ''; width: 14px; height: 14px; flex: none; border-radius: 2px; transform: rotate(45deg); background: var(--gold-light); }
.hero p.lead { font-size: clamp(1.08rem, 2.4vw, 1.3rem); color: var(--hero-muted); max-width: 640px; }
.hero a:not(.btn) { color: var(--gold-light); }
.hero .btn { background: var(--gold-light); border-color: var(--gold-light); color: var(--gold-ink); }
.hero .btn-ghost { background: transparent; color: var(--hero-ink); border-color: rgba(255, 255, 255, .5); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
/* Inner pages: an arched window of diamonds beside the headline (the "slot" on Visit Bend) */
.hero > .hero-band { display: none; }
@media (min-width: 1000px) {
  .hero > .hero-band { display: block; position: absolute; z-index: 0; right: calc(50vw - 50% + 30px); top: 44px; width: 210px; height: 300px; max-width: none;
    border-radius: 105px 105px 0 0; border: 4px solid var(--gold-light); box-shadow: 0 0 0 8px rgba(255, 255, 255, .08); background-size: 22px 22px; opacity: .95; }
  .hero:has(> .hero-band) > :not(.hero-band) { max-width: min(720px, calc(100% - 280px)); }
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; padding: 0; list-style: none; }
.hero-stats li { color: var(--hero-muted); font-size: .9rem; }
.hero-stats strong { display: block; font: 700 1.6rem/1.1 var(--display); color: var(--hero-ink); }

/* Buttons */
.btn { display: inline-block; background: var(--blue); color: var(--blue-ink); padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--blue); transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 49, 90, .18); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); }
.btn-small { padding: 8px 16px; font-size: .92rem; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* Cards and grids: white, a thin rule, small caps kicker, the name in Fraunces */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow); }
.card::before { content: ''; position: absolute; left: 22px; top: -1px; width: 36px; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue); }
.grid > .card:nth-child(4n+2)::before { background: var(--pretzel); }
.grid > .card:nth-child(4n+3)::before { background: var(--fir); }
.grid > .card:nth-child(4n+4)::before { background: var(--gold); }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }
.card .meta { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pretzel); margin-bottom: .55em; }
a.card { color: inherit; text-decoration: none; display: block; transition: transform .18s, box-shadow .18s, border-color .18s; }
a.card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--lift); }
a.card .go { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--blue); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 14px; }
.card-icon svg { width: 26px; height: 26px; }
.date-card { display: flex; gap: 16px; align-items: flex-start; }
/* Calendar-page date badge (Door County style) */
.date-chip { flex: none; width: 60px; text-align: center; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.date-chip b { display: block; background: var(--blue); color: #fff; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 0; }
@media (prefers-color-scheme: dark) { .date-chip b { background: #2f6fb8; } }
.date-chip span { display: block; font: 700 1.5rem/1.6 var(--display); color: var(--ink); }
section { padding: 8px 0 36px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head a { font-weight: 700; }
.split { display: grid; gap: 36px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.quote { font: italic 600 clamp(1.5rem, 3.6vw, 2.2rem)/1.25 var(--display); color: var(--blue); border-left: 4px solid var(--gold); padding-left: 22px; margin: 0; }

/* Ad slots. Every paid spot wears the same stone "Sponsored" pill (Atlas Obscura, Asheville) */
.ad { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 32px 0; box-shadow: var(--shadow); }
.ad-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--stone); color: var(--stone-ink); border-radius: 999px; padding: 3px 11px; margin-bottom: 8px; }
.ad-title { font: 700 1.25rem var(--display); margin-bottom: .3em; }
.ad p { margin-bottom: .7em; }

/* Bar crawl: big numbered stops on a dotted route line (The Infatuation's numbered lists) */
.stops { list-style: none; padding: 0; margin: 0 0 8px; counter-reset: stop; position: relative; }
.stops::before { content: ''; position: absolute; left: 23px; top: 26px; bottom: 26px; border-left: 3px dotted var(--blue); opacity: .55; }
.stop { position: relative; margin: 0 0 14px 70px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; counter-increment: stop; box-shadow: var(--shadow); }
/* The marker is a blue diamond (::before) with the number on top of it (::after) */
.stop::before { content: ''; position: absolute; left: -70px; top: 12px; width: 48px; height: 48px; border-radius: 10px; transform: rotate(45deg) scale(.8); background: var(--blue); box-shadow: 0 0 0 4px var(--paper); }
.stop::after { content: counter(stop); position: absolute; left: -70px; top: 12px; width: 48px; height: 48px; color: #fff; font: 700 1.3rem/48px var(--display); text-align: center; }
@media (prefers-color-scheme: dark) { .stop::before { background: #2f6fb8; } }
.stop h3 { margin-bottom: .15em; font-size: 1.4rem; }
.stop .addr { font-size: .9rem; color: var(--muted); margin-bottom: .5em; }
.stop ul { padding-left: 1.1em; }
.route-end { margin: 0 0 14px 70px; position: relative; font-weight: 700; color: var(--pretzel); }
.route-end::before { content: ''; position: absolute; left: -55px; top: 5px; width: 16px; height: 16px; border-radius: 3px; transform: rotate(45deg); background: var(--gold); }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; background: var(--blue-soft); color: var(--ink); border-radius: 999px; padding: 3px 11px; margin: 0 4px 4px 0; }

/* Notes and tables */
.note { border: 1px solid var(--line); border-left: 4px solid var(--blue); background: var(--surface); padding: 18px 22px; border-radius: 4px var(--radius) var(--radius) 4px; margin: 24px 0; box-shadow: var(--shadow); }
.note strong:first-child { color: var(--blue); }
@media (prefers-color-scheme: dark) { .note strong:first-child { color: var(--gold); } }
.note ul { padding-left: 1.2em; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--blue-soft); }
th { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--paper); }
.month { font: 700 1.02rem var(--display); color: var(--blue); white-space: nowrap; }

/* Pricing */
.price { font: 700 2.4rem/1.1 var(--display); margin: .2em 0 .3em; color: var(--blue-deep); }
.price small { font: 500 .95rem var(--sans); color: var(--muted); }
.card.featured { background: var(--blue); color: var(--hero-ink); border-color: var(--blue); }
.card.featured h3, .card.featured .price { color: var(--hero-ink); }
.card.featured .meta { color: var(--gold-light); }
.card.featured a:not(.btn) { color: var(--gold-light); }
.card.featured .price small, .card.featured li { color: var(--hero-muted); }
.card.featured .btn { background: var(--gold-light); border-color: var(--gold-light); color: var(--gold-ink); }
@media (prefers-color-scheme: dark) { .card.featured { background: var(--hero); border-color: var(--hero); } }
.card ul { padding-left: 1.1em; margin: .5em 0 1em; }

/* Footer: night blue, a "know before you go" row, then the link columns */
.foot { margin-top: 72px; background: var(--blue-deep); color: #c3d1e4; font-size: .94rem; }
@media (prefers-color-scheme: dark) { .foot { background: #0a1424; } }
.foot::before { content: ''; display: block; height: 10px; background-color: #fff; background-image: var(--diamonds); background-size: 10px 10px; --dia: #1f5fa8; }
.foot a { color: #fffaf0; }
.foot-know { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-top: 30px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-know p { margin: 0 8px 0 0; font: 700 1.15rem var(--display); color: #fffaf0; }
.foot-know a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); text-decoration: none; font-weight: 600; font-size: .9rem; }
.foot-know a:hover { background: rgba(255, 255, 255, .16); }
.foot-top { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); padding-top: 36px; padding-bottom: 24px; }
.foot-about p { max-width: 340px; }
.foot .foot-cta { margin-top: 4px; background: var(--gold-light); border-color: var(--gold-light); color: var(--gold-ink); }
.foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.foot-grid a { display: block; text-decoration: none; padding: 3px 0; overflow-wrap: anywhere; }
.foot-grid a:hover { color: var(--gold-light); }
/* Directions links on place sections, tall enough to tap */
.place-go { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-weight: 600; }
.foot-head { font-weight: 700; color: var(--gold-light); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; margin-bottom: .7em; }
.foot-brand { color: #fffaf0; margin-bottom: .8em; }
.foot-brand em { color: #a9cdf6; }
.foot .brand-mark { border-color: var(--gold-light); }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; padding-bottom: 30px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-base p { margin: 0; }
.prost { font: italic 600 1.1rem var(--display); color: var(--gold-light); }

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .foot-top, .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .hero { padding-top: 36px; padding-bottom: 88px; }
  .hero::after { height: 60px; }
  .hero::before { -webkit-mask: linear-gradient(160deg, transparent 30%, #000 90%); mask: linear-gradient(160deg, transparent 30%, #000 90%); }
  .stop { margin-left: 56px; }
  .stop::before, .stop::after { left: -56px; width: 40px; height: 40px; line-height: 40px; font-size: 1.1rem; }
  .stops::before { left: 19px; }
  .route-end { margin-left: 56px; }
  .route-end::before { left: -44px; }
  .foot-know p { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
@media (max-width: 760px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats li { font-size: .78rem; line-height: 1.3; }
  .hero-stats strong { font-size: 1.2rem; margin-bottom: 2px; }
}

/* Featured Bar slot */
.ad-featured { background: var(--surface); border-style: solid; border-color: var(--gold); box-shadow: var(--shadow); }
.ad-featured .ad-title { font-size: 1.4rem; }
.fine { font-size: .85rem; color: var(--muted); }
/* Zero-proof route: same route line, gold markers */
.stops-na::before { border-left-color: var(--blue); }
.stops-na .stop::before { background: var(--gold); color: var(--gold-ink); border-color: var(--blue-deep); }
/* Drink picker on the Bar Crawl */
.picker { background: var(--blue-deep); color: var(--hero-ink); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 22px; box-shadow: var(--shadow); }
.picker-q { font: 700 1.25rem var(--display); margin: 0 0 12px; }
.picker-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.picker-btns button { font: 700 .95rem var(--sans); color: var(--hero-ink); background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.picker-btns button:hover { background: rgba(255, 255, 255, .16); }
.picker-btns button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.picker-out { margin: 12px 0 0; color: var(--hero-muted); font-size: .95rem; min-height: 1.5em; }
.picker[hidden], .stop[hidden] { display: none; }
.serves { margin: -.2em 0 .6em; display: flex; flex-wrap: wrap; gap: 6px; }
.drink { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 9px; border-radius: 6px; border: 1.5px solid currentColor; }
.drink-beer { color: #b7791f; }
.drink-wine { color: #9b2c4a; }
.drink-spirits { color: #2b6cb0; }
.drink-na { color: #2f855a; }
@media (prefers-color-scheme: dark) {
  .drink-beer { color: #f6c26b; } .drink-wine { color: #f09ab2; } .drink-spirits { color: #8cc0f5; } .drink-na { color: #7ad3a0; }
}

/* Printable route maps */
.sheet-wrap { padding: 8px 16px 0; }
.sheet { max-width: 8.5in; margin: 0 auto; background: #fff; color: #1b2233; border-radius: 10px; box-shadow: var(--shadow); padding: .4in .45in .3in; font-size: 13px; line-height: 1.4; }
.sheet-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 3px solid #1b4f8f; padding-bottom: 12px; }
.sheet-kicker { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a5523; }
.sheet-title { font: 800 30px/1.05 var(--display); margin: 0 0 4px; color: #0f2c52; }
.sheet-sub { margin: 0; color: #4a5263; }
.sheet-qr { text-align: center; font-size: 10px; color: #4a5263; flex: none; }
.sheet-qr img { display: block; width: 84px; height: 84px; }
.sheet-body { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 12px 0 8px; align-items: start; }
.sheet-map { margin: 0; }
.sheet-map svg { width: 100%; height: auto; display: block; }
.sheet-map figcaption { font-size: 10px; color: #6b7280; text-align: center; }
.m-street { fill: #e9e2d3; stroke: #b9ad96; }
.m-street-label { font: 700 11px var(--sans); fill: #6b7280; text-anchor: middle; }
.m-street-name { font: 800 9px var(--sans); letter-spacing: .3em; fill: #8b8170; text-anchor: middle; }
.m-river { fill: #cfe3f5; }
.m-river-label { font: italic 600 12px var(--display); fill: #1b4f8f; }
.m-north { fill: #0f2c52; }
.m-north-label { font: 800 12px var(--sans); fill: #0f2c52; text-anchor: middle; }
.m-leader { fill: none; stroke: #c9a14a; stroke-width: 1.2; }
.m-dot { fill: #0f2c52; stroke: #e2a632; stroke-width: 2.5; }
.m-num { font: 800 11px var(--sans); fill: #fff; text-anchor: middle; }
.m-name { font: 700 12px var(--display); fill: #1b2233; }
.m-addr { font: 500 9.5px var(--sans); fill: #6b7280; }
.sheet-list { margin: 0; padding: 0; list-style: none; counter-reset: sl; }
.sheet-list li { position: relative; padding: 0 0 5px 32px; margin-bottom: 5px; border-bottom: 1px dashed #e0d7c6; counter-increment: sl; }
.sheet-list li::before { content: counter(sl); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #0f2c52; color: #fff; font: 800 12px/24px var(--sans); text-align: center; }
.sheet-list b { display: block; font: 700 13.5px/1.25 var(--display); }
.sl-addr, .sl-note { display: block; font-size: 11px; line-height: 1.3; color: #4a5263; }
.sl-note { color: #8a5523; font-weight: 600; }
.sheet-list .serves { margin: 3px 0 0; gap: 4px; }
.sheet-list .drink { font-size: 9px; padding: 1px 6px; }
.sheet .drink-beer { color: #b7791f; } .sheet .drink-wine { color: #9b2c4a; } .sheet .drink-spirits { color: #2b6cb0; } .sheet .drink-na { color: #2f855a; }
.sheet-rules { background: #f7f0e3; border-radius: 8px; padding: 10px 12px; font-size: 10.5px; color: #3a4252; }
.sheet-rules p { margin: 0 0 4px; }
.sheet-rules p:last-child { margin: 0; }
.sheet-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e0d7c6; font-size: 11px; color: #4a5263; }
.sheet-made { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 9.5px; }
.logo-muth { height: 22px; width: auto; }
.sheet-url { margin-left: auto; font-weight: 700; color: #0f2c52; }
@media (max-width: 640px) {
  .sheet { padding: 20px 16px; }
  .sheet-body { grid-template-columns: 1fr; }
  .sheet-title { font-size: 24px; }
}
@media print {
  @page { size: letter portrait; margin: 0; }
  body { background: #fff; }
  .top, .foot, .no-print, .skip { display: none !important; }
  .sheet-wrap { padding: 0; }
  .sheet { box-shadow: none; border-radius: 0; max-width: none; width: 8.5in; min-height: 11in; }
  .sheet-body { grid-template-columns: 1fr 1fr; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.picker .picker-print { margin-top: 12px; background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.day-plan[hidden] { display: none; }
/* Quick answers */
.faq { background: var(--surface); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 10px; box-shadow: var(--shadow); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; }
/* Build my day: picker on the left, timeline on the right */
.bmd { display: grid; gap: 22px; margin-bottom: 26px; }
.bmd > * { min-width: 0; }
@media (min-width: 960px) {
  .bmd { grid-template-columns: minmax(330px, 400px) 1fr; align-items: start; gap: 30px; }
}
@media (min-width: 960px) and (min-height: 1000px) {
  .bmd .builder { position: sticky; top: 96px; }
}
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font: 800 .9rem var(--sans); vertical-align: 3px; }
.builder-q2 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-top: 22px; }
.builder-q2 .picker-q { margin: 0; }
.picker-hint { margin: 0; font-size: .92rem; color: var(--hero-muted); }
.picker-sub { margin: 14px 0 8px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hero-muted); }
.linkish { background: none; border: 0; padding: 0 2px; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.picker .linkish { color: var(--gold); }
.linkish[hidden] { display: none; }
.picker-btns button { min-height: 44px; }
.picker-btns button[aria-pressed="true"]::before { content: '\2713'; margin-right: 6px; font-weight: 800; }
.built[hidden] { display: none; }
.built-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; }
.built-head h2 { margin: 0 0 .2em; font-size: clamp(1.5rem, 3.6vw, 2rem); }
.built-sum { margin: 0; color: var(--muted); }
.built-actions { position: sticky; bottom: 0; z-index: 4; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; background: var(--paper); border-top: 1px solid var(--line); }
.built-actions .btn { min-height: 44px; }
.built-times { margin: 10px 0 14px; }
.built-day { list-style: none; padding: 0; margin: 0 0 18px; position: relative; }
.built-day::before { content: ''; position: absolute; left: 92px; top: 18px; bottom: 18px; border-left: 2px dashed var(--line); }
.built-step { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 28px; margin: 0 0 12px; }
.built-step::before { content: ''; position: absolute; left: 86px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--paper); box-sizing: content-box; transform: translateX(-3px); }
.built-time { padding-top: 16px; text-align: right; line-height: 1.25; }
.built-when { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.built-clock { display: block; font-size: .85rem; color: var(--muted); margin-top: 2px; }
.built-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 14px; box-shadow: var(--shadow); min-width: 0; }
.built-body h3 { margin: 0 0 .2em; }
.built-body .meta { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pretzel); margin: 0 0 .4em; }
.built-body p { margin: 0 0 .5em; }
.built-why { margin: 6px 0 0 !important; }
.built-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0 !important; font-weight: 700; font-size: .95rem; }
.built-ctl { display: flex; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.chip-btn { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: 700 .88rem var(--sans); cursor: pointer; }
.chip-btn:hover { border-color: var(--blue); color: var(--blue); }
.built-tip .built-body { background: var(--gold-soft); border-color: transparent; box-shadow: none; }
.built-tip::before { background: var(--blue); }
.built-gone .built-body { background: transparent; border-style: dashed; box-shadow: none; padding: 10px 16px; color: var(--muted); }
.built-gone .built-body p { margin: 0; }
.built-gone::before { background: var(--line); }
@media (max-width: 640px) {
  .built-day::before { left: 9px; }
  .built-step { grid-template-columns: 1fr; gap: 4px; padding-left: 30px; }
  .built-step::before { left: 3px; top: 4px; }
  .built-time { text-align: left; padding-top: 0; display: flex; gap: 8px; align-items: baseline; }
  .built-clock { margin: 0; }
  .built-actions { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .built-actions .btn { flex: 0 0 auto; text-align: center; padding-left: 14px; padding-right: 14px; }
}
@media print {
  .builder, .built-actions, .built-ctl, .built-links, .built-gone, .ad, .note, .hero { display: none !important; }
  .bmd { display: block; }
  .built-body { box-shadow: none; break-inside: avoid; }
}

.built-or { margin: 10px 0 0 !important; font-size: .92rem; color: var(--muted); }
.built-or .linkish { color: var(--blue); font-weight: 700; text-align: left; }
@media print { .built-or { display: none !important; } }

/* Menu: a dropdown panel on phones and small tablets, a row of links on wider screens */
.nav-toggle { display: none; }
.top nav a.nav-more { display: none; }
.top nav a.nav-cta { margin-left: 6px; }
@media (max-width: 980px) {
  .top-row { justify-content: space-between; flex-wrap: nowrap; min-height: 62px; position: relative; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 .95rem var(--sans); cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .top nav { display: none; }
  .top nav { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .js.nav-open .top nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; padding: 10px 16px 18px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(20, 49, 90, .18); z-index: 6; }
  /* Big-word menu (Visit Bend): large Fraunces links, one per line */
  .top nav a, .top nav a.nav-more { display: block; padding: 12px 14px; border-radius: 12px; font: 600 1.3rem/1.2 var(--display); }
  .top nav a[aria-current="page"] { border-radius: 12px; box-shadow: inset 4px 0 0 var(--blue); }
  .top nav a.nav-biz { font: 500 1rem var(--sans); }
  .top nav a.nav-cta { margin: 10px 0 0; text-align: center; order: 2; font: 700 1.05rem var(--sans); padding: 14px; }
  html:not(.js) .top-row { flex-wrap: wrap; }
}

/* Home: blue hero with what's coming up, then "Start here", mood chips and themed rows of places */
.hero-home { padding-top: 60px; padding-bottom: 136px; }
.hero-home > .hero-grid { max-width: none; }
.hero-home h1 { font-size: clamp(2.8rem, 7.4vw, 5.2rem); line-height: 1; }
.hero-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; }
.hero-copy > * { max-width: 640px; }
/* "Planning a trip / In town now" (Leavenworth) */
.hero-modes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.hero-modes a { color: var(--hero-ink) !important; text-decoration: none; font-weight: 600; border-bottom: 1.5px solid rgba(255, 255, 255, .35); padding-bottom: 2px; }
.hero-modes a:hover { border-color: var(--gold-light); }
.hero-modes b { color: var(--gold-light); font-weight: 700; }
.hero-card { padding: 20px 20px 16px; border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 50px rgba(5, 15, 30, .35); scroll-margin-top: 84px; }
.hero .hero-card a:not(.btn) { color: var(--blue); }
.hero-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.hero-card-head h2 { margin: 0; font-size: 1.35rem; color: var(--blue-deep); }
@media (prefers-color-scheme: dark) { .hero-card-head h2 { color: var(--ink); } }
.hero-card-head a { font-weight: 700; font-size: .92rem; }
.soon { list-style: none; margin: 0; padding: 0; }
.soon li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.soon li:first-child { border-top: 0; }
[data-ends][hidden], [data-starts][hidden] { display: none; }
.soon .date-chip { width: 52px; }
.soon .date-chip span { font-size: 1.25rem; }
.soon .meta { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pretzel); }
.soon-name { margin: 1px 0 2px; font: 700 1.08rem/1.25 var(--display); }
.hero .soon-name a { color: var(--ink); text-decoration: none; }
.hero .soon-name a:hover { color: var(--blue); text-decoration: underline; }
.soon-text { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.hero .soon-weekend { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; padding: 11px 14px; border-radius: 12px; background: var(--blue-soft); color: var(--ink); text-decoration: none; }
.soon-weekend span { font-size: .9rem; font-weight: 700; color: var(--blue); white-space: nowrap; }
.hero .soon-weekend:hover { background: var(--blue); color: #fff; }
.hero .soon-weekend:hover span { color: inherit; }

/* Section heads on the home page: a small diamond and caps kicker over a big Fraunces title */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pretzel); }
.eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 1px; transform: rotate(45deg); background: currentColor; }

/* Start here: one big door to the day builder, four colour-block doors */
.doors { padding: 8px 0 18px; }
.doors-title { margin: 0 0 18px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.doors-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); }
.door { --tone: var(--blue); --tone-soft: var(--blue-soft); position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 20px 18px; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .18s, border-color .18s, box-shadow .18s; }
.door:nth-child(2) { --tone: var(--pretzel); --tone-soft: var(--pretzel-soft); }
.door:nth-child(3) { --tone: var(--red); --tone-soft: var(--red-soft); }
.door:nth-child(4) { --tone: var(--fir); --tone-soft: var(--fir-soft); }
.door:nth-child(5) { --tone: #935f10; --tone-soft: var(--gold-soft); }
@media (prefers-color-scheme: dark) { .door:nth-child(5) { --tone: var(--gold); } }
.door:hover { transform: translateY(-3px); border-color: var(--tone); box-shadow: var(--lift); }
/* The colour block on top: a tinted panel with dots, standing in for a photo until we have real ones */
.door:not(.door-main) .door-icon { display: grid; place-items: center; width: auto; height: 84px; margin: 0 -20px 12px; border-radius: 0; color: var(--tone);
  background: radial-gradient(color-mix(in srgb, var(--tone) 22%, transparent) 1.4px, transparent 1.6px) 0 0 / 14px 14px, var(--tone-soft); }
.door-icon svg { width: 30px; height: 30px; }
.door-meta { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tone); }
.door-name { font: 700 1.28rem/1.2 var(--display); color: var(--blue-deep); }
@media (prefers-color-scheme: dark) { .door-name { color: var(--ink); } }
.door-text { font-size: .93rem; line-height: 1.5; color: var(--muted); }
.door-go { margin-top: auto; padding-top: 14px; font-weight: 700; }
.door-main { grid-row: span 2; padding: 28px 28px 26px; border: 0; color: var(--hero-ink); background: var(--hero); }
.door-main::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-size: 36px 36px;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .07) 25%, transparent 25%), linear-gradient(225deg, rgba(255, 255, 255, .07) 25%, transparent 25%), linear-gradient(315deg, rgba(255, 255, 255, .07) 25%, transparent 25%), linear-gradient(45deg, rgba(255, 255, 255, .07) 25%, transparent 25%);
  -webkit-mask: linear-gradient(200deg, #000, transparent 70%); mask: linear-gradient(200deg, #000, transparent 70%); }
.door-main > * { position: relative; }
.door-main .door-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 10px; border-radius: 14px; background: var(--gold-light); color: var(--gold-ink); }
.door-main .door-meta { color: var(--gold-light); }
.door-main .door-name { font-size: clamp(1.8rem, 3.2vw, 2.4rem); color: var(--hero-ink); }
.door-main .door-text { color: var(--hero-muted); font-size: 1.02rem; max-width: 34ch; }
.door-main .door-go { align-self: flex-start; margin-top: auto; padding: 12px 22px; border-radius: 999px; background: var(--gold-light); color: var(--gold-ink); }
.door-main::after { content: ''; position: absolute; right: 0; bottom: 0; width: 60%; height: 70px; opacity: .16; background: var(--hero-ink);
  -webkit-mask: url(skyline.svg) right bottom / auto 100% repeat-x; mask: url(skyline.svg) right bottom / auto 100% repeat-x; }

/* Mood chips that jump to a section */
.jump-q { font: 700 1.35rem/1.2 var(--display); margin: 28px 0 12px; color: var(--blue-deep); }
@media (prefers-color-scheme: dark) { .jump-q { color: var(--ink); } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 16px 7px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 .92rem/1.2 var(--sans); transition: border-color .15s, background .15s, transform .15s; }
.jump a:hover { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-1px); }
.jump-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); font-size: 1.05rem; line-height: 1; }

/* Themed sections: each one a row of place cards you can swipe (or use the arrows) */
.story { --tone: var(--pretzel); --tone-soft: var(--pretzel-soft); min-width: 0; margin: 0 0 52px; padding: 0; scroll-margin-top: 84px; }
.story[data-tone="gold"] { --tone: #935f10; --tone-soft: var(--gold-soft); }
.story[data-tone="blue"] { --tone: var(--blue); --tone-soft: var(--blue-soft); }
.story[data-tone="red"] { --tone: var(--red); --tone-soft: var(--red-soft); }
.story[data-tone="green"] { --tone: var(--fir); --tone-soft: var(--fir-soft); }
@media (prefers-color-scheme: dark) { .story[data-tone="gold"] { --tone: var(--gold); } }
.story-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.story h2 { font-size: clamp(1.55rem, 3.2vw, 2.05rem); margin: 0 0 .25em; }
.story h2::before { content: ''; display: block; width: 12px; height: 12px; margin: 0 0 14px 2px; border-radius: 2px; transform: rotate(45deg); background: var(--tone); }
.story-intro { color: var(--muted); margin: 0; max-width: 640px; }
.story-arrows { display: flex; gap: 8px; flex: none; }
.story-arrows[hidden] { display: none; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.arrow:hover:not(:disabled) { border-color: var(--tone); color: var(--tone); }
.arrow:disabled { opacity: .35; cursor: default; }
.cards-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; list-style: none; margin: 0 -6px; padding: 6px 6px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 6px; overscroll-behavior-x: contain; scrollbar-width: thin; }
.cards-row li { scroll-snap-align: start; display: flex; }
.cards-row:focus-visible { outline-offset: -2px; }
.pcard { position: relative; display: flex; flex-direction: column; width: 100%; padding: 18px 18px 16px; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .18s, border-color .18s, box-shadow .18s; }
.pcard:hover { transform: translateY(-3px); border-color: var(--tone); box-shadow: var(--lift); }
/* A thin tone rule on top, the kind with its icon, then the name, address, a short line and up to two tags */
.pcard::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tone); z-index: 1; }
.pcard-media { display: block; margin: -18px -18px 14px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tone-soft); }
.pcard-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcard-media + .pcard-top .pcard-icon { display: none; }
.pcard-top { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; }
.pcard-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--tone-soft); color: var(--tone); }
.pcard-icon svg { width: 22px; height: 22px; }
.pcard-kind { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tone); }
.pcard-name { margin: 0 0 6px; font: 700 1.16rem/1.22 var(--display); color: var(--blue-deep); text-wrap: balance; }
@media (prefers-color-scheme: dark) { .pcard-name { color: var(--ink); } }
.pcard-addr { display: flex; gap: 7px; margin: 0 0 8px; font-size: .84rem; line-height: 1.4; font-weight: 600; }
.pcard-addr::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: .42em; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--tone); }
.pcard-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.pcard-tags .tag { margin: 0; background: var(--tone-soft); font-weight: 600; }
.pcard-go { margin-top: auto; padding-top: 12px; font-size: .92rem; font-weight: 700; color: var(--blue); }
.pcard-tags + .pcard-go { margin-top: 0; padding-top: 10px; }
.story-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; margin-top: 4px; }
.story-count { font-size: .9rem; color: var(--muted); }
.story-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Bar Crawl band: a full-width colour band with the ten numbered stops (Travel Portland's colour bands) */
.crawl-band { margin: 8px calc(50% - 50vw) 56px; padding: 52px calc(50vw - 50%) 48px; background: var(--blue-deep); color: #c3d1e4; }
@media (prefers-color-scheme: dark) { .crawl-band { background: #0d1d35; } }
.crawl-band-in { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.crawl-band .eyebrow { color: var(--gold-light); }
.crawl-band h2 { margin: 0 0 .35em; color: #fffaf0; font-size: clamp(2rem, 4.6vw, 3rem); }
.crawl-band p { max-width: 46ch; }
.crawl-band .btn { background: var(--gold-light); border-color: var(--gold-light); color: var(--gold-ink); }
.crawl-band .btn-ghost { background: transparent; color: #fffaf0; border-color: rgba(255, 255, 255, .4); }
.crawl-route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 10px; position: relative; counter-reset: cr; }
.crawl-route li { counter-increment: cr; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .8rem; line-height: 1.25; color: #fffaf0; position: relative; }
.crawl-route li::before { content: counter(cr); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hero); border: 2px solid var(--gold-light); font: 700 1.1rem var(--display); color: #fff; position: relative; z-index: 1; }
.crawl-route li::after { content: ''; position: absolute; top: 22px; left: 50%; width: calc(100% + 10px); border-top: 2px dotted rgba(246, 199, 107, .6); }
.crawl-route li:nth-child(5n)::after, .crawl-route li:last-child::after { display: none; }

/* How this guide works (Eater shows its rules) */
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0 0 8px; padding: 0; }
.promise li { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.promise b { display: block; margin-bottom: 4px; font: 700 1.1rem var(--display); color: var(--blue-deep); }
@media (prefers-color-scheme: dark) { .promise b { color: var(--ink); } }

/* Our story band */
.town { margin: 20px calc(50% - 50vw) 0; padding: 28px calc(50vw - 50%) 56px; background: var(--blue-soft); }
@media (prefers-color-scheme: dark) { .town { background: #152338; } }
.town h2 { margin-top: .3em; }
.town:last-child { margin-bottom: -72px; }
.hero-home .btn-row .btn { flex: 1 1 auto; text-align: center; }
@media (min-width: 761px) { .hero-home .btn-row .btn { flex: 0 0 auto; } }
.kicker-dark { margin: 1.4em 0 0; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pretzel); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .doors-grid { grid-template-columns: 1fr 1fr; }
  .door-main { grid-column: 1 / -1; grid-row: auto; }
  .cards-row { grid-auto-columns: calc((100% - 2 * 16px) / 2.6); }
  .crawl-band-in { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-home { padding-top: 36px; padding-bottom: 92px; }
  .hero-card { padding: 16px 16px 12px; }
  .soon li { padding: 10px 0; gap: 12px; }
  .soon-text { display: none; }
  .doors-grid { gap: 10px; }
  .door { padding: 0 14px 14px; }
  .door:not(.door-main) .door-icon { height: 64px; margin: 0 -14px 10px; }
  .door:not(.door-main) .door-text { display: none; }
  .door:not(.door-main) .door-name { font-size: 1.08rem; }
  .door-main { padding: 22px; }
  .door-main .door-go { margin-top: 14px; }
  /* Chips scroll sideways on phones instead of wrapping into a wall */
  .jump { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 40px; padding: 2px 20px 8px; scrollbar-width: none; }
  .jump a { flex: none; }
  .story { margin-bottom: 40px; }
  .story-head { margin-bottom: 12px; }
  .cards-row { grid-auto-columns: 76%; gap: 12px; margin: 0 -20px; padding: 6px 20px 14px; scroll-padding: 0 20px; }
  .pcard { padding: 16px 16px 14px; }
  .pcard-media { margin: -16px -16px 12px; }
  .story-arrows { display: none; }
  .story-intro { font-size: .95rem; line-height: 1.5; }
  .story-count { display: none; }
  .story-links { gap: 6px 16px; }
  .story-links .btn { padding: 0; border: 0; background: none; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
  .story-links .btn:hover { transform: none; box-shadow: none; }
  .hero .soon-weekend { flex-wrap: wrap; }
  .crawl-band { padding-top: 40px; padding-bottom: 40px; }
  .crawl-route { gap: 18px 4px; }
  .crawl-route li { font-size: .72rem; }
  .crawl-route li::before { width: 38px; height: 38px; font-size: 1rem; }
  .crawl-route li::after { top: 19px; }
}
@media print {
  .jump, .story-arrows, .crawl-band { display: none; }
  .cards-row { display: block; overflow: visible; }
  .pcard { box-shadow: none; margin-bottom: 8px; break-inside: avoid; }
}

/* Build my day: the questions as even emoji tiles, like the home page */
.builder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px 6px; }
.builder[hidden] { display: none; }
.bq-title { font: 700 1.15rem/1.25 var(--display); margin: 0 0 10px; }
.tiles + .bq-title { margin-top: 22px; }
.bq-hint { margin: -4px 0 10px; font-size: .88rem; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tiles-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 76px; padding: 8px 3px; border-radius: 14px; background: var(--paper); border: 2px solid var(--line); color: var(--ink); font: 600 .74rem/1.15 var(--sans); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.tile:hover { border-color: var(--gold); }
.tile[aria-pressed="true"] { background: var(--gold-soft); border-color: var(--gold); }
.tile[aria-pressed="true"]::after { content: '\2713'; position: absolute; top: 3px; right: 5px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-size: .62rem; font-weight: 800; }
.tile-icon { display: grid; place-items: center; color: var(--pretzel); line-height: 1; }
.tile-icon svg { width: 26px; height: 26px; }
.tile[aria-pressed="true"] .tile-icon { color: #935f10; }
@media (prefers-color-scheme: dark) { .tile[aria-pressed="true"] .tile-icon { color: var(--gold); } }
.tiles-5 .tile { font-size: .7rem; }
.bq-foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 18px -16px 0; padding: 10px 16px 12px; background: var(--surface); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.bq-count { margin: 0; font-size: .9rem; color: var(--muted); }
.builder .linkish { color: var(--blue); }
@media (min-width: 960px) { .bq-see { display: none; } .bq-foot { position: static; } }
/* Wine trail: several tasting rooms inside one afternoon stop */
.trail { list-style: none; counter-reset: trail; margin: 12px 0 4px; padding: 0 0 0 14px; border-left: 3px solid var(--gold-soft); }
.trail li { counter-increment: trail; position: relative; margin: 0 0 14px; }
.trail li::before { content: counter(trail); position: absolute; left: -27px; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font: 800 .75rem var(--sans); }
.trail h4 { margin: 0; font-size: 1rem; }
.trail p { margin: 2px 0 0; }
/* Build my day: how far the next stop is */
.built-hop { margin: 0 0 4px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.trail .built-hop { margin: 0 0 2px; }

/* Ad slots: a booked sponsor, or an Editor's pick when the slot is unsold (build.py) */
/* A booked sponsor stands apart from the free cards: gold frame, warm tint, gold label and button */
.ad-paid { border: 2px solid var(--gold); border-left-width: 6px; background: linear-gradient(135deg, var(--gold-soft) 0%, var(--surface) 75%); padding: 22px 24px; }
.ad-paid .ad-tag { background: var(--gold); color: var(--gold-ink); font-size: .72rem; padding: 4px 12px; }
.ad-paid .ad-title { font-size: 1.5rem; }
.ad-paid .btn { background: var(--gold-light); border-color: var(--gold-light); color: var(--gold-ink); }
.ad-paid .btn:hover { background: var(--gold); border-color: var(--gold); }
.ad-paid .ad-body { min-width: 0; }
.ad-paid.ad-has-img { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 22px; align-items: center; }
.ad-img { width: 100%; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) - 4px); }
@media (max-width: 600px) { .ad-paid.ad-has-img { grid-template-columns: 1fr; } .ad-paid.ad-has-img .ad-img { order: -1; } }
/* "Visiting soon?" date picker on the events page */
.visit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 20px; box-shadow: var(--shadow); }
.visit[hidden], .visit-off, .visit button[hidden] { display: none !important; }
.visit-q { margin: 0 0 10px; }
.visit-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.visit label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; font-weight: 700; color: var(--muted); }
.visit input { font: inherit; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; min-height: 44px; }
.visit-out { margin: 10px 0 0; color: var(--muted); }
.visit-out:empty { display: none; }
@media (prefers-color-scheme: dark) { .visit input { color-scheme: dark; } }
.ad-pick { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--blue); box-shadow: var(--shadow); }
.ad-pick .ad-tag { background: var(--blue-soft); color: var(--blue); }
.ad-pick .ad-title a { color: inherit; text-decoration: none; }
.ad-pick .ad-title a:hover { text-decoration: underline; }
.ad .ad-foot { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .7em; margin: 1em 0 0; }

/* Venue drawer (static/fl.js): a bottom sheet on phones, a centered card on wider screens */
dialog.venue { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: 560px; width: calc(100% - 32px); }
dialog.venue::backdrop { background: rgba(10, 18, 32, .55); }
.venue-in { position: relative; background: var(--surface); border-radius: var(--radius); padding: 26px 22px 20px; box-shadow: var(--shadow); }
.venue-in h2 { margin: 0 2em .15em 0; }
.venue-in .meta { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pretzel); margin-bottom: .4em; }
.venue-addr { color: var(--muted); font-size: .95rem; }
.venue-go { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; }
.venue-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--blue-soft); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
@media (max-width: 600px) {
  dialog.venue { width: 100%; max-width: none; margin: auto 0 0; max-height: 88vh; }
  .venue-in { border-radius: var(--radius) var(--radius) 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}


/* Bar Crawl check-ins and the progress bar that appears after the first one */
.stop-check { margin-top: 10px; min-height: 40px; }
.stop-done { border-color: var(--gold); }
.stop-done .stop-check { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.crawl-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--blue-deep); color: var(--hero-ink); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0, 0, 0, .18); }
.crawl-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.crawl-bar p { margin: 0; font-size: .92rem; }
.crawl-bar a, .crawl-bar .linkish { color: var(--gold); }
.has-crawl-bar body { padding-bottom: 76px; }

/* Share buttons and the copied-link toast */
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fl-toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 60; background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-weight: 600; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; }
.fl-toast.on { opacity: 1; transform: translate(-50%, 0); }

@media print {
  .crawl-bar, .stop-check, .share-row, dialog.venue, .fl-toast, .ad-pick { display: none !important; }
  .has-crawl-bar body { padding-bottom: 0; }
}

/* Redesign touch-ups for the parts above that keep their old rules */
.stops-na .stop::after { color: var(--gold-ink); }
.ad-featured { border-color: var(--line); border-top: 4px solid var(--blue); }
.ad-paid, .ad-paid.ad-featured { border: 2px solid var(--gold); border-left-width: 6px; }
.ad-pick { border-left-color: var(--blue); }
.picker { border-radius: 18px; }
.builder { border-radius: 18px; }
@media (max-width: 420px) {
  .brand { font-size: 1.12rem; gap: 9px; }
  .brand-mark { width: 24px; height: 29px; }
  .nav-toggle { padding: 8px 12px; gap: 8px; }
}
/* Narrow pages: the arched window only fits beside the text on wide screens */
.narrow .hero:has(> .hero-band) > :not(.hero-band) { max-width: 720px; }
@media (max-width: 1239px) { .narrow .hero > .hero-band { display: none; } }
/* Buttons and small print inside the dark drink picker */
.picker .btn-ghost { color: #fffaf0; border-color: rgba(255, 255, 255, .45); }
.picker .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.picker .fine, .picker .muted, .picker p:not(.picker-q) { color: var(--hero-muted); }
.picker a:not(.btn) { color: var(--gold-light); }
.grid > .card.featured::before { background: var(--gold-light); }
/* Solid buttons on the dark picker panels (Bar Crawl, printable maps) */
.picker .btn:not(.btn-ghost) { background: var(--gold-light); border-color: var(--gold-light); color: var(--gold-ink); }

/* Round 2 (design review): each part of the guide gets its own hero colour, so you know where you are */
[data-page="bar-crawl"], [data-page="map"], [data-page="safe-ride"] { --hero: #14315a; --hero-2: #0f2747; }
[data-page="where-to-eat"] { --hero: #6b3a1c; --hero-2: #5a3016; }
[data-page="things-to-do"], [data-page="fun"], [data-page="kids"], [data-page="dogs"] { --hero: #295444; --hero-2: #21463a; }
[data-page="christmas"] { --hero: #7a2420; --hero-2: #651c19; }
@media (prefers-color-scheme: dark) {
  [data-page="bar-crawl"], [data-page="map"], [data-page="safe-ride"] { --hero: #102849; --hero-2: #0c1f3a; }
  [data-page="where-to-eat"] { --hero: #4e2a14; --hero-2: #40220f; }
  [data-page="things-to-do"], [data-page="fun"], [data-page="kids"], [data-page="dogs"] { --hero: #1f4134; --hero-2: #19362b; }
  [data-page="christmas"] { --hero: #5e1c19; --hero-2: #4d1714; }
}
/* Inner heroes stay compact on desktop */
.hero:not(.hero-home) { padding-top: 48px; }

/* Card tops: a full-width colour rule instead of a small stub */
.card::before { left: -1px; right: -1px; top: -1px; width: auto; height: 4px; border-radius: var(--radius) var(--radius) 0 0; }
/* Six cards (or three) lay out 3 across, so there's no lonely row of two */
@media (min-width: 900px) {
  .grid:has(> :nth-child(6):last-child), .grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.date-card .date-chip { margin-top: 2px; }

/* Pricing cards: button pinned to the bottom of each */
.price-grid .card { display: flex; flex-direction: column; }
.price-grid .card ul { margin-bottom: 1.2em; }
.card-btn { margin-top: auto; align-self: flex-start; }

/* Events: the three side notes as one row of links */
.link-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 24px 0; padding: 0; }
.link-row li { padding: 16px 18px; border-radius: var(--radius); background: var(--blue-soft); font-size: .95rem; line-height: 1.5; }
.link-row strong { display: block; color: var(--blue-deep); margin-bottom: 2px; }
@media (prefers-color-scheme: dark) { .link-row strong { color: var(--ink); } }
@media (max-width: 760px) { .link-row { grid-template-columns: 1fr; } }

/* Home: the mood picker. The chips are tabs and one theme's row shows at a time (the script hides
   the rest; without it every row shows, as jump targets) */
.moods { scroll-margin-top: 84px; }
.mood-tabs { margin-bottom: 28px; }
.jump .mood-tab[aria-selected="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.jump .mood-tab[aria-selected="true"] .jump-icon { background: #fff; }
@media (prefers-color-scheme: dark) { .jump .mood-tab[aria-selected="true"] { color: var(--paper); } }
.mood-panels .story[hidden] { display: none; }
@media print { .mood-panels .story[hidden] { display: block; } }
/* The tone diamond moves inline, in front of the heading, instead of floating above it */
.story h2::before { display: inline-block; width: 11px; height: 11px; margin: 0 14px 0 2px; vertical-align: .18em; }
.pcard-text { font-size: .94rem; }
/* Mood chips grow to fill each line evenly on wider screens */
/* (Chips keep their natural width; growing them stretched a short last line) */
/* Crawl band: a clearer dotted walk between the numbered stops */
.crawl-route li::after { border-top: 3px dotted var(--gold-light); opacity: .7; }

/* Dark mode: plain tinted card tops (the dot pattern looked muddy) */
@media (prefers-color-scheme: dark) {
  .door:not(.door-main) .door-icon { background: color-mix(in srgb, var(--tone) 20%, var(--surface)); }
}

/* Small phones: "Start here" doors become rows with the colour block on the left */
@media (max-width: 480px) {
  .doors-grid { grid-template-columns: 1fr; gap: 8px; }
  .door:not(.door-main) { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: 14px; padding: 0 14px 0 0; min-height: 76px; }
  .door:not(.door-main) .door-icon { grid-row: 1 / -1; height: auto; margin: 0; }
  .door:not(.door-main) .door-icon svg { width: 24px; height: 24px; }
  .door:not(.door-main) .door-meta { grid-column: 2; grid-row: 2; }
  .door:not(.door-main) .door-name { grid-column: 2; grid-row: 3; }
}

/* Page sections (first built for Where to eat): each part of a page is its own section, with its own colour and layout */
.sec { --tone: var(--pretzel); --tone-soft: var(--pretzel-soft); padding: 52px 0 44px; scroll-margin-top: 84px; }
.sec[data-tone="gold"] { --tone: #935f10; --tone-soft: var(--gold-soft); }
.sec[data-tone="red"] { --tone: var(--red); --tone-soft: var(--red-soft); }
.sec[data-tone="green"] { --tone: var(--fir); --tone-soft: var(--fir-soft); }
@media (prefers-color-scheme: dark) { .sec[data-tone="gold"] { --tone: var(--gold); } }
.sec-band { margin: 0 calc(50% - 50vw); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); background: var(--tone-soft); }
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: center; margin-bottom: 26px; max-width: 820px; }
.sec-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px; background: var(--tone); color: #fff; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .sec-icon { color: var(--paper); } }
.sec-icon svg { width: 34px; height: 34px; }
.sec-head .eyebrow { margin: 0; color: var(--tone); align-self: end; }
.sec-head h2 { margin: 2px 0 0; font-size: clamp(1.9rem, 4.4vw, 2.7rem); align-self: start; }
.sec-intro, .sec-head > p:not(.eyebrow) { grid-column: 1 / -1; margin: 14px 0 0; color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.sec-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; box-shadow: var(--shadow); }
.sec-card h3 { margin: 0 0 .35em; font-size: 1.4rem; }
.sec-card > p:not(.sec-meta):not(.sec-tags) { margin: 0 0 .8em; }
.sec-meta { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tone); }
.sec-meta::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: currentColor; }
.sec-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.sec-tags .tag { margin: 0; background: var(--tone-soft); color: var(--ink); font-weight: 600; }
.sec-band .sec-tags .tag { background: var(--paper); }
.sec-tip { margin: 20px 0 0; font-size: .95rem; color: var(--muted); }
.sec-tip strong { color: var(--tone); }

/* Chicken dinners: the two restaurants face off across the street */
.faceoff { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 18px; align-items: stretch; }
.faceoff .sec-card { border-top: 5px solid var(--tone); padding: 28px 28px 22px; }
.faceoff .sec-card h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.faceoff-or { align-self: center; display: grid; place-items: center; width: 92px; height: 92px; margin: 0; border-radius: 50%; background: var(--tone); color: #fff; text-align: center; font: 800 .72rem/1.15 var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 0 0 6px var(--tone-soft), var(--shadow); }
@media (prefers-color-scheme: dark) { .faceoff-or { color: var(--paper); } }

/* Lunch & dinner: list rows, name on the left, the details on the right (no numbers: we don't rank) */
.sec-rows { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.sec-rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 6px 26px; align-items: center; padding: 20px 24px; border-left: 5px solid transparent; transition: border-color .15s, background .15s; }
.sec-rows li + li { border-top: 1px solid var(--line); }
.sec-rows li:hover { border-left-color: var(--tone); background: color-mix(in srgb, var(--tone-soft) 45%, var(--surface)); }
.sec-rows h3 { margin: 0 0 4px; font-size: 1.25rem; }
.sec-rows .sec-meta { margin: 0; }
.sec-rows li > p { margin: 0; }
.sec-rows .sec-tags { justify-content: flex-end; }

/* Pubs: a night-blue band, intro on the left and the two cards on the right */
.sec-dark { margin: 8px calc(50% - 50vw); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); background: var(--blue-deep); color: #c3d1e4; --tone: var(--gold-light); --tone-soft: rgba(255, 255, 255, .08); }
@media (prefers-color-scheme: dark) { .sec-dark { background: #0d1d35; } }
.sec-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; }
.sec-dark .sec-head { margin: 0; }
.sec-dark .sec-head h2 { color: #fffaf0; }
.sec-dark .sec-icon { background: var(--gold-light); color: var(--gold-ink); }
.sec-dark .sec-intro, .sec-dark .sec-head > p:not(.eyebrow) { color: #c3d1e4; }
.sec-dark a:not(.btn) { color: var(--gold-light); }
.sec-dark .btn { background: var(--gold-light); border-color: var(--gold-light); color: var(--gold-ink); }
.sec-stack { display: grid; gap: 14px; }
.sec-dark .sec-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; color: #dfe7f2; }
.sec-dark .sec-card h3 { color: #fffaf0; }
.sec-dark .sec-tags .tag { background: rgba(255, 255, 255, .12); color: #fffaf0; }

/* Cheese and coffee: three cards */
.sec-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sec-trio .sec-card { display: flex; flex-direction: column; }
.sec-trio .sec-tags { margin-top: auto; padding-top: 4px; }

/* Sweets: big tinted tiles in a row */
.sec-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sec-tiles:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sec-tiles li { display: flex; flex-direction: column; padding: 22px; border-radius: 22px 22px 22px 6px; background: var(--tone-soft); border: 1px solid color-mix(in srgb, var(--tone) 25%, transparent); }
.sec-tiles h3 { margin: 0 0 .4em; font-size: 1.3rem; color: var(--tone); }
.sec-tiles li > p:not(.sec-meta) { margin: 0 0 12px; }
.sec-tiles .sec-meta { margin: auto 0 0; }
.sec-jump { margin-top: 4px; margin-bottom: 0; }

@media (max-width: 900px) {
  .faceoff { grid-template-columns: 1fr; gap: 0; }
  .faceoff-or { justify-self: center; width: auto; height: auto; margin: -10px 0; padding: 8px 18px; border-radius: 999px; position: relative; z-index: 1; }
  .faceoff-or br { display: none; }
  .sec-split { grid-template-columns: 1fr; gap: 24px; }
  .sec-trio, .sec-tiles, .sec-tiles:has(> li:nth-child(2):last-child) { grid-template-columns: 1fr; gap: 12px; }
  .sec-rows li { grid-template-columns: 1fr; padding: 18px; }
  .sec-rows .sec-tags { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .sec { padding-top: 40px; padding-bottom: 34px; }
  .sec-head { column-gap: 14px; margin-bottom: 20px; }
  .sec-icon { width: 52px; height: 52px; border-radius: 14px; }
  .sec-icon svg { width: 26px; height: 26px; }
  .faceoff .sec-card { padding: 22px 18px 18px; }
}
.sec[data-tone="blue"] { --tone: var(--blue); --tone-soft: var(--blue-soft); }

/* More section pieces, shared by every page (see docs/redesign/SECTIONS.md) */
.sec-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sec-duo .sec-card, .sec-grid .sec-card { display: flex; flex-direction: column; }
.sec-duo .sec-tags, .sec-grid .sec-tags { margin-top: auto; padding-top: 4px; }
.sec-card .btn { align-self: flex-start; margin-top: 6px; }
.sec-card ul { padding-left: 1.1em; margin: 0 0 .8em; }
.sec-card li { margin-bottom: .3em; }
/* Numbered steps: big tone numbers in a row of cards */
.sec-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.sec-steps li { counter-increment: st; position: relative; padding: 58px 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sec-steps li::before { content: counter(st); position: absolute; left: 22px; top: 16px; font: 700 2.1rem/1 var(--display); color: var(--tone); }
.sec-steps h3 { margin: 0 0 .3em; font-size: 1.2rem; }
.sec-steps p { margin: 0; }
/* Big numbers */
.sec-stats { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.sec-stats li { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .92rem; line-height: 1.4; }
.sec-stats b { display: block; font: 700 2.4rem/1.05 var(--display); color: var(--tone); margin-bottom: 4px; }
.sec-band .sec-stats li { border-color: transparent; }
/* A checklist of short points */
.sec-check { list-style: none; margin: 0; padding: 22px 24px; display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sec-check li { position: relative; padding-left: 32px; }
.sec-check li::before { content: '\2713'; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tone-soft); color: var(--tone); font-size: .8rem; font-weight: 800; }
.sec-band .sec-check li::before { background: var(--paper); }
/* One-line callout inside a section */
.sec-callout { margin: 20px 0 0; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border-left: 5px solid var(--tone); box-shadow: var(--shadow); }
.sec-callout strong:first-child { color: var(--tone); }
.sec-dark .sec-callout { background: rgba(255, 255, 255, .08); box-shadow: none; }
.sec-dark .sec-steps li, .sec-dark .sec-stats li, .sec-dark .sec-check { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; color: #dfe7f2; }
.sec-dark .sec-steps h3, .sec-dark .sec-stats b { color: #fffaf0; }
.sec-dark .sec-steps li::before { color: var(--gold-light); }
/* A section can hold a table or FAQ too */
.sec .table-wrap, .sec .faq { box-shadow: var(--shadow); }
.sec > :last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .sec-duo { grid-template-columns: 1fr; gap: 12px; }
}
.sec-dark > .sec-head { margin-bottom: 26px; }
/* Plain content right after a full-width band needs room to breathe */
.sec-dark + :not(.sec), .sec-band + :not(.sec):not(.ad) { margin-top: 32px; }
/* Chip buttons also work inside a dark section */
.sec-dark .chip-btn { color: #fffaf0; border-color: rgba(255, 255, 255, .35); }
.sec-dark .chip-btn:hover { border-color: var(--gold-light); color: var(--gold-light); }
.sec-band .stop::before { box-shadow: 0 0 0 4px var(--tone-soft); }
/* Card grids with 3, 6 or 9 cards go 3 across, so no lonely last row */
@media (min-width: 900px) {
  .sec-grid:has(> :nth-child(3):last-child), .sec-grid:has(> :nth-child(6):last-child), .sec-grid:has(> :nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-color-scheme: dark) { .price { color: var(--ink); } }

/* The mood picker on phones: two rows of chips scrolling sideways, fading at the edge so it's clear there are more */
@media (max-width: 760px) {
  .jump.mood-tabs { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-auto-rows: 1fr; justify-content: start; gap: 8px; padding-right: 48px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
  .jump.mood-tabs .mood-tab { white-space: nowrap; }
  .jump.mood-tabs.at-end { -webkit-mask-image: none; mask-image: none; }
}

/* Date tables (Christmas key dates): each row stacks into a short block on small phones */
@media (max-width: 560px) {
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack tr, .table-stack td { display: block; }
  .table-stack tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table-stack tbody tr:last-child { border-bottom: 0; }
  .table-stack td { padding: 0; border: 0; }
  .table-stack td.month { margin-bottom: 2px; font-size: .95rem; }
}

/* Carriage rides: the phone numbers are the main action, so they get a full-size tap target, and the two cards line up row for row */
.faceoff a[href^="tel"] { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.faceoff .fine a { padding: 3px 0; }
.faceoff .sec-card { display: flex; flex-direction: column; }
.faceoff .sec-tags { margin-top: auto; padding-top: 10px; }
@media (min-width: 901px) { .faceoff .sec-card h3 { min-height: 2.4em; } }
@media (max-width: 900px) { .faceoff-or { margin: -14px 0 -2px; } }

/* Small links that are easy to miss with a thumb get a taller tap area without moving the text */
.ad .ad-foot a, .soon-name a, .hero-modes a { display: inline-block; padding: 12px 0; margin: -12px 0; }
@media (max-width: 560px) { .hero .btn-row .btn { flex: 1 1 100%; text-align: center; } }

/* Start here: carriage rides as a wide door across the bottom of the grid */
.door.door-wide { --tone: var(--pretzel); --tone-soft: var(--pretzel-soft); grid-column: 1 / -1; display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 20px; align-items: center; padding: 0 22px 0 0; min-height: 96px; }
.door.door-wide .door-icon { grid-row: 1 / -1; height: 100%; min-height: 96px; margin: 0; }
.door.door-wide .door-meta { grid-column: 2; padding-top: 16px; }
.door.door-wide .door-name { grid-column: 2; }
.door.door-wide .door-text { grid-column: 2; padding-bottom: 16px; }
@media (max-width: 760px) {
  .door.door-wide { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: 14px; padding-right: 14px; min-height: 76px; }
  .door.door-wide .door-icon { min-height: 76px; }
  .door.door-wide .door-meta { grid-row: 2; padding-top: 0; }
  .door.door-wide .door-name { grid-row: 3; }
  .door.door-wide .door-text { display: none; }
}
/* The menu row gets tight just above tablet width, so its links sit closer and Advertise waits in the footer */
@media (min-width: 981px) and (max-width: 1120px) {
  .top nav a { padding-left: 10px; padding-right: 10px; }
  .top nav a.nav-biz { display: none; }
}

/* Everything in Frankenmuth (browse.html): one deck of cards per category, swiped sideways one card at a time */
.cat[hidden] { display: none; }
.cat, .kind-chips, .deck-bar { scroll-margin-top: 80px; }
.cat h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 14px; }
.cat-count { font: 600 .9rem var(--sans); color: var(--muted); margin-left: 8px; }
.deck { list-style: none; margin: 0 -20px; padding: 6px 20px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 460px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; overscroll-behavior-x: contain; scrollbar-width: none; align-items: start; }
.deck::-webkit-scrollbar { display: none; }
.deck > li[hidden] { display: none; }
.ccard { scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 14px; background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: var(--radius); box-shadow: var(--shadow); }
.ccard h3 { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.ccard-kind { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.ccard-addr { margin: 0; font-size: .92rem; font-weight: 600; color: var(--muted); }
.ccard-text { margin: 4px 0 0; }
.ccard-go { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding-top: 12px; }
.ccard-go .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.deck-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.cat { margin-bottom: 40px; }
.deck-bar .arrow { width: 48px; height: 48px; }
.deck-bar .arrow:disabled { opacity: .35; }
.deck-pos { min-width: 5.5em; text-align: center; font-weight: 700; }
.deck-shuffle { min-height: 44px; }
.kind-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.kind-chips button { min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .9rem var(--sans); cursor: pointer; }
.kind-chips button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (prefers-color-scheme: dark) { .kind-chips button[aria-pressed="true"] { color: var(--paper); } }
@media (max-width: 760px) {
  .kind-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 12px; padding: 0 20px 4px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .hero.hero-compact { padding-top: 20px; padding-bottom: 64px; }
  .hero.hero-compact h1 { font-size: 2rem; }
  .hero-compact .lead { display: none; }
  .cat h2 { font-size: 1.5rem; margin-bottom: 10px; }
  .kind-chips button { flex: none; }
}
@media print { .cat[hidden] { display: block; } .deck { display: block; overflow: visible; } .ccard { margin-bottom: 12px; break-inside: avoid; } .deck-bar, .kind-chips, .bento { display: none; } }
@media (min-width: 981px) { .deck { -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent); } }

/* The catalog's categories as a bento grid: tiles of different sizes fitted together, each in its own colour */
.bento { display: grid; align-items: stretch; gap: 10px; margin: 0 0 32px; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: minmax(96px, auto);
  grid-template-areas: "breakfast breakfast lunch lunch dinner dinner nightlife nightlife" "breakfast breakfast coffee snack snack dessert do do"; }
.bento-tile { --tone: var(--blue); --tone-soft: var(--blue-soft); position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 96px; padding: 14px 16px;
  border-radius: 20px; background: var(--tone-soft); color: var(--ink); text-decoration: none; overflow: hidden; border: 2px solid transparent; transition: transform .15s, border-color .15s, background .15s; }
.bento-tile:hover { transform: translateY(-2px); border-color: var(--tone); }
.bento-tile[aria-selected="true"] { background: var(--tone); border-color: var(--tone); color: #fff; }
@media (prefers-color-scheme: dark) { .bento-tile[aria-selected="true"] { color: var(--paper); } }
.bento-icon { font-size: 1.9rem; line-height: 1; margin-bottom: auto; }
.bento-name { font: 700 1.1rem/1.15 var(--display); }
.bento-count { font-size: .8rem; font-weight: 600; opacity: .75; }
.bento-tile[data-cat="breakfast"] { grid-area: breakfast; --tone: #935f10; --tone-soft: var(--gold-soft); }
.bento-tile[data-cat="breakfast"] .bento-icon { font-size: 3.4rem; }
.bento-tile[data-cat="breakfast"] .bento-name { font-size: 1.6rem; }
.bento-tile[data-cat="lunch"] { grid-area: lunch; --tone: var(--fir); --tone-soft: var(--fir-soft); }
.bento-tile[data-cat="dinner"] { grid-area: dinner; --tone: var(--red); --tone-soft: var(--red-soft); }
.bento-tile[data-cat="coffee"] { grid-area: coffee; --tone: var(--pretzel); --tone-soft: var(--pretzel-soft); }
.bento-tile[data-cat="snack"] { grid-area: snack; --tone: #935f10; --tone-soft: var(--gold-soft); }
.bento-tile[data-cat="dessert"] { grid-area: dessert; --tone: var(--red); --tone-soft: var(--red-soft); }
.bento-tile[data-cat="do"] { grid-area: do; --tone: var(--blue); --tone-soft: var(--blue-soft); }
.bento-tile[data-cat="nightlife"] { grid-area: nightlife; --tone: var(--blue-deep); --tone-soft: var(--blue-soft); }
@media (prefers-color-scheme: dark) {
  .bento-tile[data-cat="breakfast"], .bento-tile[data-cat="snack"] { --tone: var(--gold); }
  .bento-tile[data-cat="nightlife"] { --tone: var(--blue); }
}
@media (max-width: 760px) {
  .bento { gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(84px, auto);
    grid-template-areas: "breakfast breakfast lunch lunch" "breakfast breakfast dinner dinner" "coffee snack snack dessert" "do do nightlife nightlife"; }
  .bento-tile { min-height: 84px; padding: 12px; border-radius: 16px; }
  .bento-icon { font-size: 1.6rem; }
  .bento-name { font-size: .98rem; }
  .bento-count { font-size: .74rem; }
  .bento-tile[data-cat="breakfast"] .bento-icon { font-size: 2.8rem; }
  .bento-tile[data-cat="breakfast"] .bento-name { font-size: 1.35rem; }
}

/* The plan switch ("Build it for me | Pick it yourself") on the home page, the day builder and the catalog:
   a two-sided pill on the dark hero colour whose highlight slides to the side you're on */
div.door-main:hover { transform: none; }
.mode-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 440px); margin-top: 22px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.door-main .mode-switch { margin-top: auto; }
.door-main .door-text { margin-bottom: 18px; }
.mode-switch::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--gold-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: transform .22s ease; }
.mode-switch[data-on="pick"]::before { transform: translateX(100%); }
.mode-switch a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 10px; border-radius: 999px;
  color: var(--hero-ink); text-decoration: none; text-align: center; font: 700 .98rem/1.15 var(--sans); transition: color .22s; }
.mode-switch[data-on="build"] [data-mode="build"], .mode-switch[data-on="pick"] [data-mode="pick"] { color: var(--gold-ink); }
.mode-switch a:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .mode-switch::before, .mode-switch a { transition: none; } }

/* Everything in Frankenmuth: "My day", the stops you add from the cards */
.myday[hidden] { display: none; }
.myday { margin: 8px 0 32px; padding: 20px; border-radius: 20px; background: var(--surface); border: 2px solid var(--blue); box-shadow: var(--shadow); scroll-margin-top: 84px; }
.myday-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.myday-head h2 { margin: 0; font-size: 1.6rem; }
.myday-count { font-weight: 700; color: var(--muted); }
.myday-list { list-style: none; margin: 0 0 14px; padding: 0; }
.myday-stop { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "when tools" "name tools" "addr tools"; column-gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.myday-stop:first-child, .myday-hop + .myday-stop { border-top: 0; }
.myday-when { grid-area: when; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.myday-name { grid-area: name; font: 700 1.1rem/1.25 var(--display); }
.myday-addr { grid-area: addr; font-size: .88rem; color: var(--muted); }
.myday-tools { grid-area: tools; display: flex; gap: 4px; align-self: center; }
.myday-tools .arrow { width: 40px; height: 44px; border-radius: 12px; font-size: 1rem; }
.myday-hop { padding: 4px 0 4px 14px; margin-left: 4px; border-left: 3px dotted var(--line); font-size: .82rem; font-weight: 700; color: var(--muted); }
.myday-go { display: flex; flex-wrap: wrap; gap: 8px; }
.myday-go .btn { min-height: 44px; display: inline-flex; align-items: center; }
.ccard .ccard-add { margin-top: 8px; min-height: 44px; width: 100%; justify-content: center; display: inline-flex; align-items: center; background: var(--gold-light); color: var(--gold-ink); border-color: var(--gold-light); }
.ccard .ccard-add[aria-pressed="true"] { background: var(--fir); border-color: var(--fir); color: #fff; }
@media print { .ccard-add, .myday-tools, .myday-go { display: none; } }
.myday-bar[hidden] { display: none; }
.myday-bar { position: fixed; z-index: 6; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 20px;
  border-radius: 999px; background: var(--blue-deep); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 10px 30px rgba(20, 49, 90, .35); white-space: nowrap; }
.myday-bar b { color: var(--gold-light); }
.myday-bar-go { opacity: .85; }
@media (prefers-color-scheme: dark) { .myday-bar { background: var(--blue); color: var(--paper); } .myday-bar b { color: var(--paper); } }
@media print { .myday-bar { display: none !important; } }
.cats { padding-bottom: 72px; }

/* Moving through the cards on a computer: arrows on the deck's edges, drag with the mouse, and a hint */
.deck-wrap { position: relative; }
.deck-side, .deck-hint { display: none; }
@media (hover: hover) and (pointer: fine) {
  .deck { cursor: grab; }
  .deck.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
  .deck-side { display: grid; place-items: center; position: absolute; top: 50%; z-index: 2; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%;
    border: 0; background: var(--blue); color: #fff; font-size: 1.5rem; cursor: pointer; box-shadow: 0 8px 22px rgba(20, 49, 90, .3); transition: transform .15s, opacity .15s; }
  .deck-side[data-dir="-1"] { left: 0; }
  .deck-side[data-dir="1"] { right: 0; }
  /* The cards start and stop inside the arrows, so the arrows never cover a card */
  .deck { margin-inline: 0; padding-inline: 68px; scroll-padding: 0 68px; }
  .deck-side:hover:not(:disabled) { transform: scale(1.08); }
  .deck-side:disabled { opacity: 0; pointer-events: none; }
  .deck-hint { display: inline; margin-left: 6px; font-size: .88rem; color: var(--muted); }
}
@media (prefers-color-scheme: dark) { .deck-side { color: var(--paper); } }
@media print { .deck-side, .deck-hint { display: none !important; } }

/* Email signup band above the footer on every page (hidden on the thanks page itself) */
.signup { margin-top: 72px; background: var(--gold-soft); border-top: 4px solid var(--gold); }
.signup + .foot { margin-top: 0; }
.signup-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 40px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.signup-kicker { margin: 0 0 6px; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--pretzel); }
.signup h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin-bottom: .3em; }
.signup-copy p:last-child { margin: 0; color: var(--muted); }
.signup-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.signup-fields { display: flex; gap: 8px; }
.signup-fields input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 16px; font: inherit; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: 999px; }
.signup-fields input:focus { outline: none; border-color: var(--blue); }
.signup-fields .btn { min-height: 48px; cursor: pointer; font: inherit; font-weight: 700; }
.signup-fields .btn:disabled { opacity: .6; cursor: wait; }
.signup-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-msg { margin: 8px 0 0; min-height: 1.5em; font-weight: 600; }
body[data-page="thanks"] .signup { display: none; }
@media (prefers-color-scheme: dark) {
  .signup { background: var(--surface); }
  .signup-kicker { color: var(--gold); }
}
@media (max-width: 760px) {
  .signup-row { grid-template-columns: 1fr; }
  .signup-fields { flex-direction: column; }
}
@media print { .signup { display: none; } }
.signup-row > * { min-width: 0; }

/* Printable calendar of events: twelve month boxes on one letter-size sheet */
.cal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.cal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 6px; }
.cal-month { border: 1px solid #e0d7c6; border-top: 4px solid #1b4f8f; border-radius: 8px; padding: 8px 10px; break-inside: avoid; }
.cal-month.cal-big { border-top-color: #e9a23b; background: #fdf7ea; }
.cal-month.cal-every { border-top-color: #2f5d4a; background: #eef5f0; }
.cal-month h3 { font: 800 15.5px/1.2 var(--display); color: #0f2c52; margin: 0 0 5px; }
.cal-month ul { margin: 0; padding: 0; list-style: none; }
.cal-month li { font-size: 11.5px; line-height: 1.35; padding: 2px 0; border-bottom: 1px dashed #ece4d4; }
.cal-month li:last-child { border-bottom: 0; }
.cal-month li b { color: #8a4b22; }
@media (max-width: 760px) { .cal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cal-grid { grid-template-columns: 1fr; } }
@media print {
  .cal-grid { grid-template-columns: repeat(3, 1fr); }
  body[data-page="calendar"] .sheet { min-height: 0; height: 11in; overflow: hidden; }
}

/* The weekly email page: the form sits up top, so the band above the footer is hidden there */
body[data-page="subscribe"] .signup { display: none; }
.signup-page { background: var(--gold-soft); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; margin: 8px 0 28px; }
@media (prefers-color-scheme: dark) { .signup-page { background: var(--surface); } }
@media (max-width: 760px) { .signup-page .signup-fields { flex-direction: column; } }
.cal-email { display: flex; align-items: center; gap: 14px; margin: 10px 0 0; padding: 10px 14px; border-radius: 8px; background: #f7f0e3; }
.cal-email img { flex: none; display: block; width: 64px; height: 64px; background: #fff; }
.cal-email p { margin: 0; font-size: 12px; line-height: 1.4; color: #3a4252; }
.cal-email b { color: #0f2c52; }

/* Hero shortcuts: one even list with dividers and the arrows lined up on the right,
   instead of underlines that each stopped at a different width */
.hero-modes { display: block; max-width: 520px; margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-modes li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.hero .hero-modes a { display: flex; align-items: center; gap: 12px; padding: 13px 2px; margin: 0; border-bottom: 0; }
.hero-modes .hm-arrow { margin-left: auto; color: var(--gold-light); transition: transform .15s; }
.hero-modes a:hover .hm-arrow { transform: translateX(3px); }
@media (max-width: 760px) { .hero-modes { max-width: none; } .hero .hero-modes a { padding: 15px 2px; } }

/* "On this page" tiles at the top of guide pages: one per section, with that section's icon, color and
   tagline and a down arrow (Where to eat asks "What are you hungry for?") */
.crave { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 8px 0 44px; }
.crave-q { grid-column: 1 / -1; margin: 0 0 2px; font: 700 1.35rem/1.2 var(--display); color: var(--blue-deep); }
.crave a { --tone: var(--pretzel); --tone-soft: var(--pretzel-soft); display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--tone); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.crave a[data-tone="blue"] { --tone: var(--blue); --tone-soft: var(--blue-soft); }
.crave a[data-tone="navy"] { --tone: var(--blue-deep); --tone-soft: var(--stone); }
.crave a[data-tone="gold"] { --tone: #935f10; --tone-soft: var(--gold-soft); }
.crave a[data-tone="red"] { --tone: var(--red); --tone-soft: var(--red-soft); }
.crave a[data-tone="green"] { --tone: var(--fir); --tone-soft: var(--fir-soft); }
.crave a:hover { transform: translateY(-2px); box-shadow: var(--lift); }
.crave-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tone-soft); color: var(--tone); }
.crave-icon svg { width: 24px; height: 24px; }
.crave-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.crave-text b { font: 700 1.02rem/1.2 var(--display); color: var(--ink); }
.crave-text span { font-size: .84rem; line-height: 1.3; color: var(--muted); }
.crave-go { margin-left: auto; flex: none; font-weight: 700; color: var(--tone); transition: transform .15s; }
.crave a:hover .crave-go { transform: translateY(2px); }
@media (prefers-color-scheme: dark) {
  .crave-q { color: var(--ink); }
  .crave a[data-tone="navy"] { --tone: var(--blue); --tone-soft: var(--blue-deep); }
  .crave a[data-tone="gold"] { --tone: var(--gold); }
  .crave a[data-tone="red"] { --tone: #e8857c; }
  .crave a[data-tone="green"] { --tone: #8cc7a8; }
}
@media (max-width: 760px) {
  .crave { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 32px; }
  .crave a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; position: relative; }
  .crave-go { position: absolute; top: 12px; right: 12px; }
  .crave-text span { display: none; }
  .crave a:last-child:nth-child(even) { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .crave a:last-child:nth-child(even) .crave-go { position: static; }
}
@media print { .crave { display: none; } }
.crave a { margin: 0; height: 100%; } .crave { align-items: stretch; }
.crave a[hidden] { display: none; }

/* Home page mood picker: a grid of buttons with drawn icons (no emoji), all visible at once on phones.
   The picked one fills blue. They switch the row of places below (tabs, see index.html). */
.mood-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0 0 28px; }
.mood-tab { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font: 700 .95rem/1.2 var(--sans); transition: border-color .15s, transform .15s, background .15s; }
.mood-tab:hover { border-color: var(--blue); transform: translateY(-1px); }
.mood-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.mood-icon svg { width: 20px; height: 20px; }
.mood-tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); }
.mood-tab[aria-selected="true"] .mood-icon { background: rgba(255, 255, 255, .2); color: inherit; }
@media (prefers-color-scheme: dark) { .mood-icon { background: var(--blue-deep); } .mood-tab[aria-selected="true"] .mood-icon { background: rgba(0, 0, 0, .15); } }
@media (max-width: 980px) { .mood-tabs { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
@media (max-width: 760px) { .mood-tabs { grid-template-columns: 1fr 1fr; gap: 8px; } .mood-tab { min-height: 52px; padding: 8px 10px; font-size: .9rem; } .mood-icon { width: 32px; height: 32px; } }
.bento-icon { color: var(--tone); }
.bento-icon svg { display: block; width: 1em; height: 1em; }
.bento-tile[aria-selected="true"] .bento-icon { color: inherit; }
.built-hop svg { vertical-align: -3px; margin-right: 2px; }
.cal-month li a { color: #1b4f8f; }

/* Overnight polish (team review, Nov 3) */
/* Headings break into even lines instead of leaving one word alone */
h1, h2, h3 { text-wrap: balance; }
/* "Directions" links inside a sentence keep the line height even; the tap area still reaches 44px */
p .place-go { display: inline; min-height: 0; padding-block: 11px; margin-block: -11px; }
/* Yearly price under each ad price */
.price-year { margin: -.2em 0 .9em; font-weight: 600; color: var(--muted); }
.card.featured .price-year { color: var(--hero-muted); }
/* Build my day share buttons wrap onto a second row on phones instead of running off the edge */
@media (max-width: 760px) { .built-actions { flex-wrap: wrap; overflow-x: visible; } }
/* On phones, three stat boxes sit two and one: the last one takes the full row instead of sitting alone */
@media (max-width: 560px) { .sec-stats li:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; } }

/* Seasonal menu links (data-ends) must hide even where the menu sets display. */
.top nav a[data-ends][hidden] { display: none; }

/* What's on tabs (build.py {{whatson:key}}): one strip across the events, Christmas, craft show and
   printable calendar pages, so they read as one section. Wraps to two rows on phones, all tabs in view. */
.wo-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 10px; margin: 0 0 24px; }
.wo-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: var(--shadow); }
.wo-tabs a:hover { border-color: var(--blue); }
.wo-tabs a[aria-current] { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); }
@media print { .wo-tabs { display: none !important; } }

/* A sponsored card inside a list ({{adcard:Label}}); it only appears while a sponsor is booked */
.ad.ad-inlist { margin: 0; padding: 18px 20px; }
.ad-inlist .ad-title { font-size: 1.25rem; }
.ad-paid.ad-inlist.ad-has-img { display: block; }
.ad-inlist .ad-img { aspect-ratio: 16 / 9; margin-bottom: 12px; }
.sec-rows + .ad-inlist, .ad-inlist + .sec-rows { margin-top: 16px; }
/* The Coming up list is long: three roomier columns on a wide screen instead of four narrow ones */
#coming-up .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* Menu: links marked hidden (the seasonal swap, past dates) stay hidden even where the phone menu shows every link */
.top nav a[hidden] { display: none !important; }
/* Search: a button in the desktop menu, an icon beside Menu on phones, and a dialog that opens from either */
.nav-search { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 .95rem var(--sans); cursor: pointer; }
.nav-search:hover { background: var(--blue-soft); }
.top-search { display: none; }
@media (max-width: 980px) {
  .nav-search { display: none; }
  .top-search { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 8px 0 auto; border: 1.5px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
}
dialog.search-dlg { border: 0; padding: 0; background: transparent; color: var(--ink); width: min(640px, calc(100% - 24px)); max-height: 85vh; margin: 8vh auto auto; }
dialog.search-dlg::backdrop { background: rgba(10, 18, 32, .55); }
.search-in { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.site-search { display: flex; align-items: center; gap: 10px; border: 2px solid var(--blue); border-radius: 14px; padding: 4px 6px 4px 14px; background: var(--surface); color: var(--muted); }
.site-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 1.05rem var(--sans); }
.site-search input::-webkit-search-cancel-button { display: none; }
.search-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--blue-soft); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.search-results { list-style: none; margin: 10px 0 0; padding: 0; max-height: 60vh; overflow-y: auto; }
.search-results:empty { display: none; }
.search-results a { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--blue-soft); outline: none; }
.sr-kind { grid-row: span 2; align-self: start; margin-top: 3px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 2px 8px; }
.sr-t { font-weight: 700; }
.sr-d { font-size: .88rem; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sr-none { padding: 12px; color: var(--muted); }
.search-hint { margin: 10px 4px 2px; font-size: .9rem; color: var(--muted); }
/* The home page's search box sits in the hero, with its results in a panel under it */
.hero-search { position: relative; margin: 24px 0 0; max-width: 560px; }
.hero-search .site-search { border-color: var(--gold-light); box-shadow: var(--shadow); }
.hero-search .search-results { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; margin-top: 6px; background: var(--surface); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(10, 18, 32, .35); padding: 6px; }
.hero-search .search-results a, .hero-search .search-results .sr-t { color: var(--ink) !important; text-decoration: none; }
.hero-search .search-results .sr-d, .hero-search .sr-none { color: var(--muted) !important; }
.hero-search .sr-none a { color: var(--blue) !important; }

/* Phone menu: the five main links big, then one small row of extras (hidden on the desktop bar) */
.top nav .nav-small { display: none; }
@media (max-width: 980px) {
  .top nav .nav-small { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 6px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
  .top nav .nav-small a { display: inline-block; padding: 10px 12px; font: 600 1rem/1.2 var(--sans); color: var(--muted); }
}

/* Phone and tablet search button: a big filled blue circle (no room for the word on a phone) */
@media (max-width: 980px) {
  .top-search { width: auto; height: auto; min-height: 44px; gap: 8px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--blue); color: var(--blue-ink); font: 700 .95rem var(--sans); box-shadow: var(--shadow); }
  .top-search:active { transform: scale(.97); }
}
@media (max-width: 980px) {
  .top-search { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .top-search svg { width: 24px; height: 24px; }
  .top-search-text { display: none; }
}
@media (max-width: 980px) { .top-search, .nav-toggle { flex: 0 0 auto; } }
/* Phones and tablets: Menu is a matching round button with no word (the label stays for screen readers) */
@media (max-width: 980px) {
  .nav-toggle { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .nav-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .top-search { margin-right: 6px; }
}

/* An event opened from the search (events.html#ev-...): clear of the sticky header, with a gold ring that fades */
.date-card[id] { scroll-margin-top: 96px; }
.date-card:target { outline: 3px solid var(--gold); outline-offset: 3px; animation: ev-found 2.4s ease-out 1; }
@keyframes ev-found { 0%, 40% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--gold) 35%, transparent); } 100% { box-shadow: var(--shadow); } }

/* Footer: the line saying this guide is independent of the city, the Chamber and CVB, and the businesses listed */
.foot-base .foot-indep { flex-basis: 100%; font-size: .85rem; opacity: .8; max-width: 70ch; }

/* Bar Crawl hero: says plainly the route is my own suggestion, not an official event */
.crawl-indep { margin-top: 14px; max-width: 62ch; font-size: .92rem; opacity: .9; }
/* Independence line in every hero, right under the intro (build.py adds it after the first .lead) */
.hero-indep { margin: 14px 0 0; max-width: 62ch; font-size: .88rem; line-height: 1.45; opacity: .85; }
.hero-indep a { color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* Event submission form (community.html, posts to submit-event.php) */
.event-form { display: grid; gap: 14px; max-width: 760px; }
.ef-grid { display: grid; gap: 12px 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.ef-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .92rem; min-width: 0; }
.ef-grid .ef-wide { grid-column: 1 / -1; }
.ef-grid input, .ef-grid select, .ef-grid textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; width: 100%; }
.ef-grid textarea { resize: vertical; }
.event-form .btn { justify-self: start; }
.ef-msg { margin: 0; font-weight: 700; }
.ef-msg:empty { display: none; }
/* Hero photos: a local photo in place of the diamond arch. A wide rounded photo under the intro on phones,
   the arch shape beside the headline on wide screens. */
.hero > .hero-band.hero-photo { display: block; position: relative; z-index: 0; margin: 22px 0 0; width: 100%; height: 220px; max-width: 100%;
  border: 4px solid var(--gold-light); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 8px rgba(255, 255, 255, .08); background: var(--blue-deep); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
  .hero > .hero-band.hero-photo { position: absolute; margin: 0; width: 210px; height: 300px; border-radius: 105px 105px 0 0; }
}
/* Narrow pages keep the arch only on very wide screens; in between, the photo sits under the intro */
@media (min-width: 1000px) and (max-width: 1239px) {
  .narrow .hero > .hero-band.hero-photo { position: relative; margin: 22px 0 0; width: 100%; height: 240px; border-radius: 18px; }
}

/* Photo credits. Every shared photo carries its photographer's name on the photo itself:
   <figcaption class="photo-credit">Photo by <b>Name</b></figcaption> inside the figure, plus a line in
   About > The people behind the photos. A soft dark fade keeps the name readable on any photo. */
.hero-photo { position: relative; }
.photo-credit { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 30px 12px 9px; text-align: center;
  background: linear-gradient(to top, rgba(8, 16, 30, .82), rgba(8, 16, 30, 0)); color: #fffaf0; font-size: .78rem; letter-spacing: .02em; line-height: 1.25; }
.photo-credit b { display: block; font: 600 1.02rem/1.2 var(--display); letter-spacing: 0; color: #fff; }
@media (max-width: 999px) { .photo-credit { text-align: left; padding: 30px 14px 10px; } .photo-credit b { display: inline; } }
/* About: the people behind the photos */
.photo-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.photo-people a { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.photo-people a:hover { border-color: var(--gold); }
.photo-people img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.photo-people span { font-size: .9rem; color: var(--muted); min-width: 0; }
.photo-people b { display: block; font: 600 1.15rem/1.25 var(--display); color: var(--ink); margin-bottom: 2px; }

/* Show the whole photo: the frame takes the photo's own shape (from its width and height) instead of
   cutting it to fit. Tall photos keep the arch on wide screens; wide or square ones (.hero-photo--wide,
   added by build.py) get a rounded frame. On phones every photo shows in full under the intro. */
.hero > .hero-band.hero-photo { height: auto; }
.hero-photo img { height: auto; }
@media (max-width: 999px) {
  .hero > .hero-band.hero-photo:not(.hero-photo--wide) { max-width: 340px; }
}
@media (min-width: 1000px) {
  .hero > .hero-band.hero-photo { width: 240px; height: auto; border-radius: 120px 120px 0 0; }
  .hero > .hero-band.hero-photo--wide { width: 320px; border-radius: 22px; }
  .hero:has(> .hero-photo--wide) > :not(.hero-band) { max-width: min(720px, calc(100% - 380px)); }
  .hero:has(> .hero-photo:not(.hero-photo--wide)) > :not(.hero-band) { max-width: min(720px, calc(100% - 300px)); }
}
@media (min-width: 1000px) and (max-width: 1239px) {
  .narrow .hero > .hero-band.hero-photo { width: 100%; max-width: 340px; height: auto; border-radius: 18px; }
  .narrow .hero > .hero-band.hero-photo--wide { max-width: 460px; }
}

/* Photo layout (Josh: photos still cropped, and too small and oddly placed on desktop).
   - The credit sits in a band under the photo, so it never covers any of it.
   - Wide screens: the photo gets its own column beside the text, centered, up to 460px (wide or square)
     or 360px (tall, arch top). Narrow-layout pages widen their banner to make room for it. */
.photo-credit { position: static; padding: 9px 14px 10px; background: rgba(8, 16, 30, .88); }
.photo-credit b { display: inline; font-size: 1rem; }
@media (min-width: 1000px) {
  .hero:has(> .hero-photo) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 40%); column-gap: 56px; align-items: center; }
  .narrow .hero:has(> .hero-photo) { padding-left: max(32px, calc(50vw - 600px)); padding-right: max(32px, calc(50vw - 600px)); }
  /* Beats the older arch rules that reserved room beside the text with calc(100% - Npx) */
  .hero:has(> .hero-photo) > :not(.hero-band) { grid-column: 1; max-width: 720px !important; }
  .hero > .hero-band.hero-photo, .narrow .hero > .hero-band.hero-photo {
    position: relative; right: auto; top: auto; grid-column: 2; grid-row: 1 / span 8; align-self: center; justify-self: end;
    margin: 0; width: 100%; max-width: 360px; height: auto; border-radius: 180px 180px 18px 18px; }
  .hero > .hero-band.hero-photo--wide, .narrow .hero > .hero-band.hero-photo--wide { max-width: 460px; border-radius: 22px; }
}
/* Phones: tall photos are narrower than the screen, so center them under the intro */
@media (max-width: 999px) {
  .hero > .hero-band.hero-photo { margin-left: auto; margin-right: auto; }
}

/* Home: Photo of the week (Nov 17, 2026). One local's photo, picked by build.py ({{photo_week}}).
   The whole photo always shows: the frame takes the photo's own shape. Phones: photo, then text.
   Wide screens: photo and text side by side. Same gold-edged frame and credit band as the page banners. */
.photo-week { display: grid; gap: 22px 48px; align-items: center; margin: 8px 0 44px; }
.pw-frame { margin: 0 auto; width: 100%; border: 3px solid var(--gold); border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 18px 40px rgba(20, 49, 90, .16); }
.pw-tall .pw-frame { max-width: min(100%, 300px); }
.pw-frame img { display: block; width: 100%; height: auto; }
.pw-text h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.pw-caption { font: 600 1.15rem/1.4 var(--display); color: var(--ink); margin: 0 0 8px; }
.pw-text > p:not(.eyebrow):not(.pw-caption) { color: var(--muted); max-width: 52ch; }
.pw-text .btn-row { margin-top: 18px; }
@media (min-width: 800px) {
  .photo-week { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 20px 0 56px; }
  .pw-tall { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); justify-content: center; }
  .pw-wide .pw-frame { max-width: 560px; justify-self: end; }
  .pw-tall .pw-frame { max-width: 340px; }
}

/* Home headline: even line lengths, so no word sits alone on a line */
.hero-home h1 { text-wrap: balance; }

/* Phones and tablets (Nov 17, 2026): the banner photo comes right after the headline, so it is on the first
   screen instead of below the intro, notes and buttons. Wide screens keep it beside the text. */
@media (max-width: 999px) {
  .hero:has(> .hero-photo) { display: flex; flex-direction: column; }
  .hero:has(> .hero-photo) > .kicker { order: -3; align-self: flex-start; }
  .hero:has(> .hero-photo) > h1 { order: -3; margin-bottom: 0; }
  .hero:has(> .hero-photo) > .hero-band.hero-photo { order: -2; margin: 20px auto 22px; width: fit-content; }
  /* The whole photo still shows, but never taller than about half the screen, so its credit and the intro
     below it stay close (a tall photo used to fill the whole phone screen) */
  .hero:has(> .hero-photo) .hero-photo img { width: auto; max-width: 100%; max-height: min(52svh, 560px); }
}

/* Meet the owners (Nov 17, 2026): a card per profile, and the profile page (built from src/owners.json) */
.owner-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.owner-card { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; min-height: 44px; }
.owner-card:hover { border-color: var(--gold); }
.owner-card img { width: 104px; height: 104px; object-fit: cover; border-radius: 12px; }
.owner-card b { display: block; font: 600 1.2rem/1.25 var(--display); }
.owner-card-who { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }
.owner-card-quote { display: block; margin-top: 6px; font-size: .95rem; font-style: italic; }
.owner-card-draft, .owner-draft { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: #fde7c2; color: #6b4300; font-size: .78rem; font-weight: 700; }
.owner-draft { display: block; margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; font-size: .92rem; }
.owners-empty { font-size: 1.08rem; max-width: 60ch; }
.owners-rules { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; max-width: 70ch; }
.owner-quote { margin: 8px 0 28px; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.owner-quote p { margin: 0; font: italic 600 clamp(1.25rem, 3vw, 1.6rem)/1.35 var(--display); color: var(--ink); }
.owner-quote cite { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: .95rem; }
.qa-list { display: grid; gap: 18px; max-width: 70ch; }
.qa-item h3 { margin: 0 0 4px; font-size: 1.12rem; }
.qa-item p { margin: 0; }
.owner-pick { margin: 8px 0 28px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 2px solid var(--gold); max-width: 70ch; }
.owner-pick .pick-what { font: 600 1.25rem/1.3 var(--display); color: var(--ink); margin: 0 0 6px; }
.owner-fine, .owner-note { color: var(--muted); font-size: .92rem; }
.owner-note { margin: 8px 0 40px; }

/* Send a photo (send-a-photo.html, posts to submit-photo.php). Uses the event form's fields and spacing. */
.pf-drop { position: relative; display: grid; gap: 12px; justify-items: center; padding: 22px 16px; border: 2px dashed var(--gold); border-radius: var(--radius); background: var(--surface); text-align: center; cursor: pointer; }
.pf-drop:hover, .pf-drop:focus-within { border-style: solid; }
.pf-drop-text b { display: block; font: 600 1.2rem/1.3 var(--display); color: var(--ink); }
.pf-drop-text span { color: var(--muted); font-size: .92rem; }
.pf-drop input[type=file] { font: inherit; max-width: 100%; min-height: 44px; }
.pf-preview { max-width: min(100%, 320px); max-height: 320px; border-radius: 12px; object-fit: contain; }
.pf-checks { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; }
.pf-checks legend { padding: 0 6px; font-weight: 700; }
.pf-checks label { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; min-height: 44px; }
.pf-checks input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); }
/* Keep the photo form inside a phone screen: a file input's natural width would otherwise widen the column */
.photo-form, .pf-drop { grid-template-columns: minmax(0, 1fr); }
.pf-drop input[type=file] { width: 100%; }
.pf-preview { width: 100%; height: auto; }

/* The Muth Local wordmark (Nov 17, 2026): lowercase "muthlocal" in heavy Figtree with a gold dot, the same
   family look as muthdigital and Mitten Tap. Replaces the Bavarian diamond shield. */
.wordmark { font: 800 1.62rem/1 var(--sans); letter-spacing: -.045em; color: var(--ink); white-space: nowrap; }
.wordmark b { font-weight: 800; color: var(--blue); }
.wordmark i { display: inline-block; width: .2em; height: .2em; margin-left: .05em; border-radius: 50%; background: var(--gold); vertical-align: .02em; }
.brand .wordmark { display: inline-block; padding: 6px 0; }
.foot-brand .wordmark { font-size: 1.9rem; color: #fffaf0; }
.foot-brand .wordmark b { color: #8cbcf2; }
@media (max-width: 420px) { .brand .wordmark { font-size: 1.45rem; } }
@media (max-width: 359px) { .brand .wordmark { font-size: 1.3rem; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top .brand { min-height: 44px; }

/* Bar Crawl: a plain "Not an official event" box in the banner, and a line on the home page band */
.crawl-notice { margin-top: 18px; max-width: 64ch; padding: 14px 18px; border: 2px solid var(--gold-light); border-radius: 14px; background: rgba(8, 16, 30, .28); }
.crawl-notice-head { margin: 0 0 6px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; color: var(--gold-light); }
.crawl-notice ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: .95rem; color: var(--hero-ink); }
.crawl-band-note { font-size: .92rem; opacity: .85; }

/* Dream days (Nov 17, 2026): a local family's perfect day, one a week (src/dream-days.json) */
.dream-week { margin: 12px 0 48px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--gold); }
.dw-head h2 { margin: 0 0 6px; font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.dw-intro { color: var(--muted); max-width: 62ch; margin: 0 0 14px; }
.dd-stops { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 0; counter-reset: dd; }
.dd-stops li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.dd-when { font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pretzel); padding-top: 3px; }
.dd-what b { display: block; font: 600 1.12rem/1.3 var(--display); }
.dd-what b a { color: var(--ink); }
.dd-note { display: block; color: var(--muted); margin-top: 2px; }
.dream-list { display: grid; gap: 22px; }
.dream-day { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.dream-day h3 { margin: 0 0 6px; font-size: 1.5rem; }
@media (max-width: 420px) { .dd-stops li { grid-template-columns: 1fr; gap: 2px; } }
/* Build my day: the invitation to share the finished day with Muth Local (it opens the Dream days form) */
.dream-cta { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 2px solid var(--gold); display: grid; gap: 12px; justify-items: start; }
.dream-cta p { margin: 0; max-width: 60ch; }
.dd-filled { margin: 0; padding: 10px 14px; border-radius: 12px; background: #e6f0fb; color: #15457f; font-weight: 600; }
@media (prefers-color-scheme: dark) { .dd-filled { background: #1c3a5e; color: #e6f0fb; } }
@media print { .dream-cta { display: none; } }
