/* One Hop Brewery — mobile-first stylesheet
   Light content on white, dark header + footer, forest-green accent.
   Every colour pair is checked for WCAG AA: run `python3 tools/contrast.py`.
   Rule: forest green is only used on light backgrounds; on the dark header/footer use white. */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  /* light content */
  --bg: #ffffff;
  --surface: #f4f1ea;      /* alternate sections, cards */
  --text: #121110;         /* 18.9:1 on white */
  --muted: #57514a;        /* 7.8:1 on white, 6.9:1 on surface */
  --line: #e3ded4;         /* decorative dividers only */
  --control: #8a8378;      /* borders of interactive controls, 3.7:1 */
  --green: #1f4d2c;        /* forest green: text 9.7:1 on white, white text 9.7:1 on it */
  --green-hover: #163a20;
  --on-green: #ffffff;

  /* dark chrome (header, footer, mobile menu) */
  --ink: #121110;
  --ink-2: #1e1c1a;
  --ink-line: #3b3631;
  --paper: #f4efe6;        /* 16.5:1 on ink */
  --paper-muted: #b8afa2;  /* 8.7:1 on ink */
  --footer: #0b0a09;

  --red-u1: #d4000f;       /* white text 5.5:1 */
  --violet-u2: #874387;    /* white text 6.6:1 */
  --blue-s: #0a64ad;       /* white text 6.1:1 */

  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, Impact, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: 16px;
  --max: 1200px;
  --radius: 14px;
  --header-h: 64px;
  --tap: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--f-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
mark { background: var(--green); color: var(--on-green); padding: 0 .25em; border-radius: 3px; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--green); color: var(--on-green); padding: 12px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; outline-color: var(--text); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }

.i { width: 20px; height: 20px; flex: none; }
.i--lg { width: 32px; height: 32px; }
.i--xl { width: 44px; height: 44px; }

/* ---------------------------------------------------------------- type */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: clamp(2.5rem, 11.5vw, 7.5rem);
  overflow-wrap: break-word;
  line-height: .9;
  text-wrap: balance;
}
.display--md { font-size: clamp(2.4rem, 10vw, 5rem); }
.h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 8vw, 3.75rem);
  line-height: .95;
  letter-spacing: -.005em;
}
.h2--sm { font-size: clamp(1.9rem, 6vw, 2.6rem); margin-bottom: 1rem; }
.eyebrow, .mini-label {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow { color: var(--green); margin-bottom: 1rem; }
.mini-label { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); max-width: 38em; }
.fine { font-size: .875rem; color: var(--muted); }

/* ---------------------------------------------------------------- buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .75em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), background-color .15s, color .15s, border-color .15s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--green); color: var(--on-green); }
.btn--primary:hover { background: var(--green-hover); }
.btn--ghost { border-color: var(--text); color: var(--text); background: transparent; }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--light { background: var(--bg); color: var(--text); }
.btn--light:hover { background: var(--surface); }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.cta-row .btn { flex: 1 1 200px; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em; min-height: var(--tap);
  color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px;
}
.text-link:hover { text-decoration-thickness: 3px; }
.text-link--small { font-size: .9rem; color: var(--text); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; min-height: var(--tap); }
.icon-btn {
  display: inline-grid; place-items: center; width: var(--tap); height: var(--tap);
  border-radius: 50%; border: 2px solid var(--control); background: var(--bg); color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--text); }
.icon-btn[disabled] { opacity: .4; cursor: default; }

/* ---------------------------------------------------------------- header (dark) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 17, 16, .96);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  color: var(--paper);
}
.header-bar { display: flex; align-items: center; gap: 8px; height: var(--header-h); }

/* Logo: white on the dark bar; on hover/focus it flips to black on a white tile. */
.brand {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 6px 8px; margin-left: -8px; margin-right: auto; border-radius: 8px;
  color: #fff; background: transparent;
  transition: background-color .15s, color .15s;
}
.brand .logo { width: 62px; height: auto; }
.brand:hover, .brand:focus-visible { background: #fff; color: var(--ink); }

.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--ink-line); border-radius: 999px; background: var(--ink-2);
}
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; min-width: var(--tap); padding: 0 10px;
  border-radius: 999px; text-decoration: none;
  font-size: .8125rem; font-weight: 600; color: var(--paper-muted);
}
.lang-btn:hover { color: #fff; }
.lang-btn[aria-current="true"] { background: #fff; color: var(--ink); }
.flag { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.lang-short { display: none; }
@media (max-width: 379px) {
  .lang-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang-short { display: inline; }
  .lang-btn { padding: 0 8px; }
}

.burger {
  display: inline-grid; place-items: center; width: var(--tap); height: var(--tap);
  border: 1px solid var(--ink-line); border-radius: 12px; background: var(--ink-2); color: #fff; cursor: pointer;
}
.burger-lines { display: grid; gap: 4px; width: 18px; }
.burger-lines span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] .burger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.primary-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--ink); border-bottom: 1px solid var(--ink-line);
  padding: 8px var(--gutter) 24px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.primary-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.primary-nav a {
  display: flex; align-items: center; min-height: 56px;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 2rem;
  text-decoration: none; border-bottom: 1px solid var(--ink-line); color: var(--paper);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .15em; }

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .brand .logo { width: 74px; }
  .burger { display: none; }
  .primary-nav { position: static; inset: auto; transform: none; opacity: 1; visibility: visible; background: none; border: 0; padding: 0; margin-right: 16px; }
  .primary-nav ul { display: flex; gap: 4px; }
  .primary-nav a { min-height: var(--tap); padding: 0 14px; border: 0; font-family: var(--f-body); font-weight: 600; font-size: .95rem; text-transform: none; border-radius: 999px; }
  .primary-nav a:hover, .primary-nav a[aria-current="page"] { text-decoration-thickness: 2px; text-underline-offset: .4em; }
  .header-bar { gap: 12px; }
}

/* ---------------------------------------------------------------- status */
.status {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .45em .9em; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; margin: 0 0 1rem;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--control); flex: none; }
.status.is-open { color: var(--green); }
.status.is-open .status-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(31, 77, 44, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(31, 77, 44, 0); } }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: clamp(40px, 9vw, 96px); position: relative; overflow: hidden; background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; position: relative; }
.hero-grid > * { min-width: 0; }
/* Headline scales with its own column so the longest word ("Vorgartenmarkt.") never breaks. */
.hero-copy { container-type: inline-size; }
.hero .display { font-size: clamp(2.25rem, 12.5cqi, 7.5rem); }
.hero .display { max-width: 9.5em; margin-bottom: 1.25rem; }
.hero .display::after { content: ""; display: block; width: 72px; height: 8px; background: var(--green); margin-top: .35em; }

.ticket {
  background: var(--surface); border-radius: var(--radius);
  padding: 20px; align-self: start;
  background-image: radial-gradient(circle at 0 50%, var(--bg) 10px, transparent 11px), radial-gradient(circle at 100% 50%, var(--bg) 10px, transparent 11px);
}
.ticket-row { display: flex; gap: 12px; padding: 14px 0; border-top: 1px dashed var(--control); }
.ticket-row p { margin: 0; }
.ticket-row .i { margin-top: 3px; color: var(--green); }
.ticket-pay { border-top: 1px dashed var(--control); padding-top: 14px; }
.ticket-pay .mini-label { margin-bottom: .6rem; }

.ticker { margin-top: clamp(48px, 9vw, 88px); background: var(--green); color: var(--on-green); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker-track span {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1;
  padding: 14px 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 22px;
}
.ticker-track span::after { content: "✺"; font-size: 1rem; }
@keyframes tick { to { transform: translateX(-50%); } }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); align-items: end; gap: 56px; }
  .ticket { padding: 24px 26px; }
}

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(64px, 11vw, 120px); }
.section--tight { padding-block: clamp(56px, 9vw, 96px); }
.section--alt { background: var(--surface); }
.section-head { margin-bottom: clamp(28px, 5vw, 48px); max-width: 44em; }
.section-head .h2 { margin-bottom: .6rem; }
.section-intro { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 16px; max-width: none; }
.section-head--row .h2 { margin: 0; }

/* values */
.values { display: grid; gap: 28px; margin-top: clamp(28px, 5vw, 48px); }
.value { border-top: 3px solid var(--green); padding-top: 16px; }
.value-no { font-family: var(--f-mono); font-size: .85rem; color: var(--green); }
.value h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 2rem; margin: .4rem 0 .6rem; }
.value p { margin: 0; max-width: 32em; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* about */
.about-grid { display: grid; gap: 32px; }
.about-copy .h2 { margin-bottom: 1.25rem; }
.about-copy .lead:last-child { margin-bottom: 0; }
.about-facts { margin: 0; display: grid; gap: 0; align-self: start; border-top: 3px solid var(--text); }
.about-fact { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-fact dt { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.about-fact dd { margin: 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1.1; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; } }

/* taproom */
.taproom { display: grid; gap: 36px; }
.taproom-copy .h2 { margin-bottom: 1rem; }
.taproom-card { background: var(--surface); border-radius: var(--radius); padding: 22px 20px; }
.card-h { font-family: var(--f-mono); font-weight: 500; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; line-height: 1.4; }
.taproom-card .card-h:not(:first-child), .loc-card .card-h:not(:first-child) { margin-top: 1.5rem; }
.taproom-card .fine { margin: 12px 0 0; }
@media (min-width: 900px) { .taproom { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 64px; } }

/* hours */
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours-table td { text-align: right; font-family: var(--f-mono); font-size: .92rem; }
.hours-table .is-closed td { color: var(--muted); }
.hours-table .is-today th, .hours-table .is-today td { color: var(--green); font-weight: 600; }
.today-tag { display: inline-block; margin-left: .4em; padding: 1px 8px; font-size: .72rem; border-radius: 999px; background: var(--green); color: var(--on-green); vertical-align: 2px; font-family: var(--f-mono); }
.hours-compact { display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.hours-compact li { display: flex; justify-content: space-between; gap: 12px; }
.hours-compact li span { white-space: nowrap; }
.hours-compact li > span:nth-child(2) { font-family: var(--f-mono); font-size: .9rem; }
.hours-compact .is-closed { color: var(--muted); }
.ticket-row [data-hours] { flex: 1; }
.hours-special { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--control); }
.hours-special .card-h { margin: 0 0 .5rem; color: var(--green); }
.hours-special li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; }
.special-note { grid-column: 1 / -1; margin: 0 0 6px; line-height: 1.35; font-size: .85rem; color: var(--muted); white-space: normal; }
.site-footer .hours-special { border-top-color: var(--ink-line); }
.site-footer .hours-special .card-h { color: #fff; }
.site-footer .special-note { color: var(--paper-muted); }

/* payments */
.pay-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pay {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 6px 12px 6px 10px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  font-size: .875rem; font-weight: 600; line-height: 1.2;
}
.pay .i { color: var(--green); }

/* testimonials */
.placeholder-note { display: inline-block; font-family: var(--f-mono); font-size: .8rem; color: var(--on-green); background: var(--green); padding: 6px 10px; border-radius: 8px; margin-bottom: 20px; }
.placeholder-note:empty { display: none; }
.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--control) transparent;
  border-radius: var(--radius);
}
.quote { scroll-snap-align: start; }
.quote figure {
  margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: var(--bg); border-radius: var(--radius); padding: 24px 22px;
}
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; line-height: 1.1; margin: 0; }
.quote blockquote p::before { content: "„"; color: var(--green); }
:lang(en) .quote blockquote p::before { content: "“"; }
.quote figcaption { display: grid; gap: 2px; font-size: .9rem; }
.quote-name { font-weight: 600; }
.quote-ctx { color: var(--muted); }
.carousel-nav { display: flex; gap: 8px; }
@media (min-width: 600px) { .quotes { grid-auto-columns: calc((100% - 14px) / 2); } }
@media (min-width: 1000px) { .quotes { grid-auto-columns: calc((100% - 28px) / 3); } }

/* visit band */
.visit { background: var(--green); color: var(--on-green); padding-block: clamp(56px, 10vw, 104px); }
.visit-inner { display: grid; gap: 16px; justify-items: start; }
.visit p { font-size: 1.15rem; max-width: 34em; margin: 0 0 8px; }
.visit :focus-visible { outline-color: #fff; }

/* ---------------------------------------------------------------- location page */
.page-hero { padding-top: clamp(40px, 8vw, 88px); padding-bottom: clamp(28px, 5vw, 48px); }
.page-hero .display { margin-bottom: 1rem; }
.page-hero--legal { padding-bottom: 16px; }
.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: clamp(56px, 9vw, 96px); }
.loc-card { background: var(--surface); border-radius: var(--radius); padding: 22px 20px; }
.loc-card--accent { background: var(--bg); border: 2px solid var(--green); }
.loc-address { font-size: 1.15rem; line-height: 1.5; margin-bottom: 1rem; }
.stack-btns { display: grid; gap: 10px; margin: 6px 0 24px; }
.loc-pay { border-top: 1px solid var(--line); padding-top: 18px; }

.map-frame {
  position: relative; min-height: 360px; height: 62vh; max-height: 560px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; background-position: -1px -1px;
}
.map-canvas { position: absolute; inset: 0; }
.map-consent {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  text-align: center; padding: 24px; background: rgba(255, 255, 255, .88);
}
.map-consent h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.8rem; }
.map-consent p { max-width: 30em; color: var(--muted); margin: 0; font-size: .95rem; }
.map-consent .i { color: var(--green); }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); font-size: .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--green); }
@media (min-width: 900px) {
  .loc-grid { grid-template-columns: 380px minmax(0, 1fr); align-items: stretch; }
  .map-frame { height: 100%; max-height: none; min-height: 520px; }
}

/* Leaflet theming */
.leaflet-container { font: inherit; background: #e9e5dc; }
.leaflet-control-attribution { font-size: 11px; background: rgba(255,255,255,.92) !important; color: #222 !important; }
.leaflet-control-attribution a { color: #0b4f8a !important; }
.leaflet-bar a { width: 40px !important; height: 40px !important; line-height: 40px !important; color: var(--text) !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--ink); color: var(--paper); border-radius: 12px; }
.leaflet-popup-content { margin: 12px 16px; font-size: .9rem; line-height: 1.4; }
.leaflet-popup-content strong { font-family: var(--f-display); font-size: 1.25rem; text-transform: uppercase; display: block; }
.leaflet-container a.leaflet-popup-close-button { color: var(--paper); width: 32px; height: 32px; font-size: 22px; }
.pin { width: 44px; height: 54px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.pin-body { fill: var(--green); stroke: #fff; stroke-width: 2.5; }
.pin-dot { fill: #fff; }
.station { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: #fff; font: 800 15px/1 var(--f-body); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.station--u1 { background: var(--red-u1); }
.station--u2 { background: var(--violet-u2); }

.transit { display: grid; gap: 12px; }
.transit-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.transit-item h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .3rem; line-height: 1.3; }
.transit-item p { margin: 0; color: var(--muted); }
.line-badge {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px;
  font: 800 1.25rem/1 var(--f-body); color: #fff; background: var(--ink);
}
.line-badge--0 { background: var(--red-u1); }
.line-badge--1 { background: var(--violet-u2); }
.line-badge--2 { background: var(--blue-s); border-radius: 50%; }
.line-badge--4 { font-size: 1rem; }
@media (min-width: 900px) { .transit { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }

.two-col { display: grid; gap: 24px; margin-top: clamp(24px, 4vw, 40px); }
.section.two-col { margin-top: 0; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ---------------------------------------------------------------- legal prose */
.prose { padding-bottom: clamp(64px, 10vw, 112px); }
.prose section { padding-top: 28px; }
.prose h2 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.8rem; margin-bottom: .75rem; line-height: 1.05; }
.prose p, .prose dd { color: #2a2622; }
.prose a { color: var(--green); font-weight: 600; text-underline-offset: .2em; }
.prose .draft-note { margin-top: 12px; color: var(--muted); }
.prose ul.bullets { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; color: #2a2622; }
.prose ul.bullets li { margin: .25em 0; }
.prose ul.bullets li::marker { color: var(--green); }
.facts { display: grid; gap: 4px 24px; margin: 1rem 0 0; }
.facts dt { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.facts dd { margin: 0; }
@media (min-width: 640px) { .facts { grid-template-columns: 220px 1fr; } .facts dt { margin-top: 0; padding-top: 3px; } }

/* ---------------------------------------------------------------- footer (dark) */
.site-footer { background: var(--footer); color: var(--paper); padding-top: clamp(48px, 8vw, 80px); }
.footer-grid { display: grid; gap: 36px; }
.brand--footer { margin-right: 0; }
.brand--footer .logo { width: 110px; }
.footer-tagline { color: var(--paper-muted); margin-top: 14px; max-width: 22em; }
.footer-h { font-family: var(--f-mono); font-weight: 500; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-muted); margin-bottom: 12px; line-height: 1.4; }
.footer-col address { line-height: 1.6; margin-bottom: 4px; }
.site-footer .text-link { color: #fff; }
.site-footer .hours-compact .is-closed { color: var(--paper-muted); }
.site-footer .pay { background: transparent; border-color: var(--ink-line); }
.site-footer .pay .i { color: var(--paper); }
.footer-social { margin-top: 20px; }
.social { display: grid; gap: 2px; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); text-decoration: none; }
.social a:hover .social-net { text-decoration: underline; text-underline-offset: .2em; }
.social .i { width: 24px; height: 24px; }
.social-net { font-weight: 600; }
.social-handle { color: var(--paper-muted); }
.footer-legal { margin-top: 48px; padding-block: 24px 32px; border-top: 1px solid var(--ink-line); display: grid; gap: 8px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-bottom: 8px; }
.legal-links a, .legal-links .link-btn { display: inline-flex; align-items: center; min-height: var(--tap); font-size: .95rem; text-underline-offset: .2em; }
.footer-legal .fine { margin: 0; color: var(--paper-muted); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.3fr; } }

/* ---------------------------------------------------------------- privacy dialog */
.privacy-dialog {
  width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0;
  border: 0; border-radius: 18px; background: var(--bg); color: var(--text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.privacy-dialog::backdrop { background: rgba(18, 17, 16, .6); }
.dialog-body { padding: 24px 22px; display: grid; gap: 14px; }
.dialog-body h2 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.9rem; }
.dialog-body > p { color: var(--muted); margin: 0; }
.consent-row { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; }
.consent-row legend { font-weight: 600; padding: 0 6px; margin-left: -6px; }
.consent-row p { margin: 0; font-size: .9rem; color: var(--muted); }
.badge { justify-self: start; font-family: var(--f-mono); font-size: .75rem; padding: 3px 9px; border-radius: 999px; background: var(--surface); color: var(--text); }
.switch { justify-self: start; display: inline-flex; align-items: center; min-height: var(--tap); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 52px; height: 30px; margin: 0; cursor: pointer; }
.switch-ui { width: 52px; height: 30px; border-radius: 999px; background: var(--control); position: relative; transition: background .2s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + .switch-ui { background: var(--green); }
.switch input:checked + .switch-ui::after { transform: translateX(22px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--green); outline-offset: 3px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.dialog-actions .btn { flex: 1 1 180px; }

@media print {
  .site-header, .ticker, .map-section, .privacy-dialog, .carousel-nav { display: none !important; }
  body { background: #fff; color: #000; }
}
