/* SeatMap — public pages (venue hub + map page). The widget itself is styled
   in vendor/srm/srm-frontend.css; this is the site around it. */
:root {
  --brand: #0071e3;
  --bg: #f5f5f7; --surface: #fff; --line: #e5e5ea; --line-2: #d2d2d7;
  --text: #1d1d1f; --text-2: #6e6e73; --text-3: #aeaeb2;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0b0d; --surface: #1c1c1e; --line: #2c2c2e; --line-2: #3a3a3c; --text: #f5f5f7; --text-2: #a1a1a6; --text-3: #6e6e73; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.site-brand__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.site-nav a:hover, .site-nav a.is-active { color: var(--text); }
.site-nav__cta { color: var(--brand) !important; border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); padding: 7px 14px; border-radius: 999px; }
.site-nav__cta:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }

/* Hero */
.hero { padding: 64px 0 36px; }
.hero__title { font-size: clamp(32px, 5vw, 50px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 12px; max-width: 14ch; }
.hero__lead { font-size: 18px; color: var(--text-2); margin: 0; max-width: 46ch; }

/* Venue cards */
.venues { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; padding-bottom: 80px; }
.venue { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.venue:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0,0,0,.09); border-color: var(--line-2); }
.venue:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
.venue__preview { position: relative; aspect-ratio: 16 / 9; background: var(--bg); overflow: hidden; }
.mp { position: absolute; inset: 0; }
.mp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: .9; }
.mp__grid { position: absolute; inset: 0; background-color: #eef1f6; background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px); background-size: 8% 14.2%; }
@media (prefers-color-scheme: dark) { .mp__grid { background-color: #2c2c2e; } }
.mp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp svg > * { stroke: rgba(255,255,255,.9); stroke-width: .5; transition: transform .35s; transform-origin: center; transform-box: fill-box; }
.venue:hover .mp svg > * { transform: scale(1.06); }
.venue__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.venue__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.venue__meta span { font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--bg); padding: 3px 9px; border-radius: 999px; }
.venue__title { font-size: 19px; font-weight: 700; letter-spacing: -.015em; margin: 4px 0 0; }
.venue__desc { margin: 0; color: var(--text-2); font-size: 14px; }
.venue__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.venue__price { font-size: 13px; color: var(--text-2); } .venue__price strong { color: var(--text); font-size: 15px; }
.venue__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--brand); }
.venue__cta svg { transition: transform .2s; } .venue:hover .venue__cta svg { transform: translateX(3px); }

/* Map page */
.page-head { padding: 34px 24px 22px; }
.crumb { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 500; color: var(--text-2); margin-bottom: 14px; }
.crumb:hover { color: var(--text); }
.page-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page-head__title { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; line-height: 1.1; }
.page-head__lead { margin: 0; color: var(--text-2); font-size: 16px; max-width: 56ch; }
.howto { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: step; flex-wrap: wrap; }
.howto li { counter-increment: step; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px 6px 6px; border-radius: 999px; }
.howto li::before { content: counter(step); width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.page-widget { padding-bottom: 80px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 22px 0; color: var(--text-3); font-size: 13px; }
.site-footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 24px; }
  .venues { grid-template-columns: 1fr; gap: 16px; padding-bottom: 50px; }
  .site-nav { gap: 14px; } .site-nav a:not(.site-nav__cta) { display: none; }
  .page-head { padding: 24px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
