/* Frankenmuth Local: one stylesheet for every page. Bump asset_version in src/site.json when it changes. */

/* Fonts are self-hosted (SIL Open Font License, see fonts/OFL-*.txt), so no visitor data goes to a font service. */
@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: 500 700; 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: #f7f0e3;
  --surface: #fffdf8;
  --ink: #1b2233;
  --muted: #5d6474;
  --line: #e6dccb;
  --blue: #1b4f8f;
  --blue-deep: #0f2c52;
  --blue-ink: #ffffff;
  --blue-soft: #e3ecf7;
  --gold: #e2a632;
  --gold-ink: #1b1405;
  --gold-soft: #fbefd2;
  --pretzel: #8a5523;
  --red: #a8322a;
  --hero-ink: #fbf5e9;
  --hero-muted: #c9d6ea;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(27, 34, 51, .06), 0 8px 24px rgba(27, 34, 51, .07);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10151f;
    --surface: #171e2b;
    --ink: #eef1f6;
    --muted: #a5aebd;
    --line: #283244;
    --blue: #7fb0ec;
    --blue-deep: #0a1a31;
    --blue-ink: #0b1526;
    --blue-soft: #1a2a42;
    --gold: #f0b94a;
    --gold-soft: #2b2412;
    --pretzel: #e0ad74;
    --red: #e0796f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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.12; margin: 0 0 .5em; font-weight: 700; font-variation-settings: 'SOFT' 50, 'WONK' 1; }
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); margin-top: 1.5em; letter-spacing: -.01em; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; 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; }

/* Bavarian lozenges (the blue-and-white Rautenflagge), drawn in CSS */
.lozenge, .brand-mark {
  background-color: #fff;
  background-image:
    linear-gradient(135deg, #1b4f8f 25%, transparent 25%),
    linear-gradient(225deg, #1b4f8f 25%, transparent 25%),
    linear-gradient(315deg, #1b4f8f 25%, transparent 25%),
    linear-gradient(45deg, #1b4f8f 25%, transparent 25%);
  background-size: 12px 12px;
}

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: var(--blue-deep); color: var(--hero-ink); }
.top::after { content: ''; display: block; height: 8px; }
.top::after { background-color: #fff; background-image: linear-gradient(135deg, #1b4f8f 25%, transparent 25%), linear-gradient(225deg, #1b4f8f 25%, transparent 25%), linear-gradient(315deg, #1b4f8f 25%, transparent 25%), linear-gradient(45deg, #1b4f8f 25%, transparent 25%); background-size: 8px 8px; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 66px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.2rem/1 var(--display); color: inherit; text-decoration: none; letter-spacing: -.01em; }
.brand em { font-style: italic; font-weight: 500; color: var(--gold); }
.brand-mark { width: 30px; height: 34px; border-radius: 4px 4px 15px 15px; border: 2px solid var(--gold); flex: none; }
nav { display: flex; gap: 2px; flex-wrap: wrap; }
.top nav a { color: var(--hero-ink); text-decoration: none; padding: 8px 13px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.top nav a:hover, .top nav a[aria-current="page"] { background: rgba(255, 255, 255, .12); }
.top nav a.nav-cta { background: var(--gold); color: var(--gold-ink); }
.top nav a.nav-cta:hover { filter: brightness(1.06); background: var(--gold); }

/* Hero: full-width blue band that ends in a Main Street skyline */
.hero {
  position: relative;
  margin: 0 calc(50% - 50vw) 8px;
  padding: 64px calc(50vw - 50%) 150px;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(226, 166, 50, .22), transparent 60%),
    linear-gradient(180deg, var(--blue-deep), #173f72);
  color: var(--hero-ink);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 110px;
  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: 760px; }
.hero h1 { color: var(--hero-ink); }
.hero .kicker { display: inline-block; color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 1em; }
.hero .kicker::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.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); }
.hero .btn { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.hero .btn-ghost { background: transparent; color: var(--hero-ink); border-color: rgba(255, 255, 255, .45); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.hero-band { display: none; }
.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, filter .15s; }
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-small { padding: 8px 16px; font-size: .92rem; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* Cards and grids */
.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; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }
.card .meta { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pretzel); margin-bottom: .5em; }
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(--gold); box-shadow: 0 2px 4px rgba(27, 34, 51, .08), 0 16px 36px rgba(27, 34, 51, .12); }
a.card .go { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--blue); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--pretzel); margin-bottom: 14px; }
.card-icon svg { width: 26px; height: 26px; }
.date-card { display: flex; gap: 16px; align-items: flex-start; }
.date-chip { flex: none; width: 62px; text-align: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.date-chip b { display: block; background: var(--red); color: #fff; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 0; }
.date-chip span { display: block; font: 700 1.5rem/1.6 var(--display); }
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: 28px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.quote { font: italic 500 clamp(1.4rem, 3.4vw, 2rem)/1.3 var(--display); color: var(--blue); border-left: 4px solid var(--gold); padding-left: 20px; margin: 0; }

/* Ad spots */
.ad { position: relative; background: var(--gold-soft); border: 2px dashed var(--gold); border-radius: var(--radius); padding: 20px 22px 20px 22px; margin: 28px 0; }
.ad-tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--gold-ink); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.ad-title { font: 700 1.2rem var(--display); margin-bottom: .3em; }
.ad p { margin-bottom: .7em; }

/* Bar crawl: stops on a route line */
.stops { list-style: none; padding: 0; margin: 0 0 8px; counter-reset: stop; position: relative; }
.stops::before { content: ''; position: absolute; left: 21px; top: 24px; bottom: 24px; border-left: 3px dotted var(--gold); }
.stop { position: relative; margin: 0 0 14px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; counter-increment: stop; box-shadow: var(--shadow); }
.stop::before { content: counter(stop); position: absolute; left: -64px; top: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-deep); color: #fff; border: 3px solid var(--gold); font: 700 1.15rem/38px var(--display); text-align: center; }
.stop h3 { margin-bottom: .15em; }
.stop .addr { font-size: .9rem; color: var(--muted); margin-bottom: .5em; }
.stop ul { padding-left: 1.1em; }
.route-end { margin: 0 0 14px 64px; position: relative; font-weight: 700; color: var(--pretzel); }
.route-end::before { content: ''; position: absolute; left: -51px; top: 6px; width: 16px; height: 16px; border-radius: 50%; 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: 5px solid var(--gold); background: var(--surface); padding: 18px 22px; border-radius: 6px var(--radius) var(--radius) 6px; margin: 24px 0; box-shadow: var(--shadow); }
.note strong:first-child { color: var(--pretzel); }
.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(--gold-soft); }
th { font-size: .78rem; 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; }
.price small { font: 500 .95rem var(--sans); color: var(--muted); }
.card.featured { background: var(--blue-deep); color: var(--hero-ink); border-color: var(--blue-deep); }
.card.featured .price small, .card.featured li { color: var(--hero-muted); }
.card.featured::before { content: 'Most popular'; position: absolute; top: -12px; right: 18px; background: var(--gold); color: var(--gold-ink); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.card ul { padding-left: 1.1em; margin: .5em 0 1em; }

/* Footer */
.foot { margin-top: 56px; background: var(--blue-deep); color: var(--hero-muted); font-size: .94rem; }
.foot::before { content: ''; display: block; height: 10px; background-color: #fff; background-image: linear-gradient(135deg, #1b4f8f 25%, transparent 25%), linear-gradient(225deg, #1b4f8f 25%, transparent 25%), linear-gradient(315deg, #1b4f8f 25%, transparent 25%), linear-gradient(45deg, #1b4f8f 25%, transparent 25%); background-size: 10px 10px; }
.foot a { color: var(--hero-ink); }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr; padding-top: 40px; padding-bottom: 20px; }
.foot-grid a { display: block; text-decoration: none; padding: 3px 0; }
.foot-grid a:hover { color: var(--gold); }
.foot-head { font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-bottom: .6em; }
.foot-brand { color: var(--hero-ink); margin-bottom: .8em; }
.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); }

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .foot-grid, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; padding-bottom: 110px; }
  .hero::after { height: 74px; }
  .top { position: static; }
  .top-row { justify-content: center; }
  .stop { margin-left: 52px; }
  .stop::before { left: -52px; width: 38px; height: 38px; line-height: 32px; font-size: 1rem; }
  .stops::before { left: 18px; }
  .route-end { margin-left: 52px; }
  .route-end::before { left: -42px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@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); }
