/* rijeka.party homepage stylesheet, colours swapped by tools/port_rijeka.py */
@font-face {
  font-family: "Syne";
  src: url("/assets/fonts/syne-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Syne";
  src: url("/assets/fonts/syne-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+20AC;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  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: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader Display";
  src: url("/assets/fonts/newsreader-display-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0d13;
  --ink-soft: #131622;
  --panel: #1b1f2c;
  --paper: #f4f6fb;
  --paper-soft: #d4d9e5;
  --muted: #969db0;
  --line: rgba(244, 246, 251, .14);
  --acid: #ff3b55;
  --coral: #5b8bff;
  --cyan: #a9c4ff;
  --violet: #9f82ff;
  --radius: 22px;
  --header-height: 68px;
  --page: min(1440px, calc(100% - 48px));
  --shadow: 0 30px 80px rgba(0, 0, 0, .34);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 4%, rgba(169, 196, 255, .09), transparent 25rem),
    radial-gradient(circle at 12% 34%, rgba(91, 139, 255, .075), transparent 28rem),
    var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 999px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.anchor-alias {
  display: block;
  height: 0;
  scroll-margin-top: var(--header-height);
  visibility: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 19, .84);
  backdrop-filter: blur(18px) saturate(135%);
}

.nav {
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  font-family: "Syne", sans-serif;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  font-weight: 800;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.wordmark i, .wordmark-party { color: var(--acid); }
.wordmark i { font-style: normal; }
.wordmark::after { display: none; }

.desktop-nav { display: flex; align-items: center; gap: 6px; }
.desktop-nav a,
.nav-language {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--paper-soft);
  font-size: .8rem;
  font-weight: 700;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { color: var(--paper); background: rgba(255, 255, 255, .06); }
.nav-language { border: 1px solid var(--line); background: transparent; cursor: pointer; }

.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  color: var(--ink) !important;
  background: var(--acid) !important;
  font-weight: 800 !important;
}

.menu-button {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-button svg { width: 21px; }

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 auto;
  z-index: 45;
  padding: 18px 24px 28px;
  display: none;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 19, .97);
  box-shadow: var(--shadow);
}
.mobile-menu[aria-hidden="false"] { display: grid; }
.mobile-menu a { padding: 15px 0; border-bottom: 1px solid var(--line); font-family: "Syne"; font-size: 1.25rem; font-weight: 700; }
.mobile-menu a[aria-current="page"] { color: var(--cyan); }

.hero {
  width: var(--page);
  min-height: min(760px, calc(100svh - var(--header-height)));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 108px) 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(380px, .73fr);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
}

.eyebrow {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 2px; content: ""; background: var(--acid); }

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(4.2rem, 8.7vw, 9.2rem);
  font-weight: 800;
  letter-spacing: -.085em;
  line-height: .79;
  text-transform: uppercase;
}
.hero h1 span { display: block; color: var(--acid); }

.hero-copy {
  max-width: 610px;
  margin: 34px 0 0;
  color: var(--paper-soft);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}
.mobile-hero-tools { display: none; }

.install-card { display: none; }

.hero-side { position: relative; }
.hero-side::before {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  top: -18%;
  right: -10%;
  border: 1px solid rgba(169, 196, 255, .24);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 40px rgba(169, 196, 255, .025), 0 0 0 80px rgba(169, 196, 255, .018);
}

.next-card {
  position: relative;
  min-height: 500px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 34px;
  color: var(--ink);
  background: var(--acid);
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}
.next-card::before {
  position: absolute;
  inset: -25%;
  content: "";
  background:
    repeating-radial-gradient(circle at 78% 26%, transparent 0 22px, rgba(11, 13, 19, .12) 23px 25px),
    linear-gradient(125deg, transparent 0 55%, rgba(255, 255, 255, .3) 55% 58%, transparent 58%);
  transform: rotate(-5deg);
}
.next-card > * { position: relative; }
.next-top { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.next-label { font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.live-chip { padding: 7px 10px; border: 1px solid rgba(11, 13, 19, .38); border-radius: 999px; font-size: .62rem; font-weight: 800; }
.next-date { margin-top: 62px; font-family: "Syne"; font-size: clamp(4.6rem, 8vw, 7.2rem); font-weight: 800; letter-spacing: -.09em; line-height: .78; }
.next-month { margin: 12px 0 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.next-card h2 { max-width: 430px; margin: 0 0 18px; font-family: "Syne"; font-size: clamp(1.85rem, 3.3vw, 3.1rem); font-weight: 800; letter-spacing: -.055em; line-height: .96; }
.next-meta { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding-top: 18px; border-top: 1px solid rgba(11, 13, 19, .3); }
.next-meta span { display: block; font-size: .68rem; font-weight: 700; line-height: 1.5; }
.round-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(11, 13, 19, .4); border-radius: 50%; }
.round-arrow svg { width: 20px; }

.section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(78px, 9vw, 144px) 0;
}
.hero + .section { padding-top: clamp(56px, 7vw, 100px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.section-kicker { display: block; margin-bottom: 12px; color: var(--coral); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-title { margin: 0; font-family: "Syne", sans-serif; font-size: clamp(2.05rem, 5vw, 5.4rem); font-weight: 800; line-height: .84; letter-spacing: -.085em; text-transform: uppercase; white-space: nowrap; }
.section-note { max-width: 440px; margin: 0; color: var(--muted); line-height: 1.65; }

.chips::-webkit-scrollbar { display: none; }

.filter-bar {
  padding: 14px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip {
  min-height: 42px;
  padding: 0 16px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper-soft);
  background: transparent;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}
.chip[aria-pressed="true"] { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.result-count { color: var(--muted); font-size: .72rem; white-space: nowrap; }

.intent-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.intent-links a {
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper-soft);
  font-size: .68rem;
  font-weight: 800;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.intent-links a:hover { color: var(--ink); border-color: var(--acid); background: var(--acid); }

.event-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .58fr);
  align-items: start;
  gap: 24px;
}
.event-feed { container-type: inline-size; }
.event-list { border-top: 1px solid var(--line); }

.event-row {
  --signal: var(--cyan);
  position: relative;
  min-height: 138px;
  padding: 22px 12px;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) minmax(150px, .42fr) 52px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding .2s ease;
}
.event-row[data-genre="pop"] { --signal: var(--coral); }
.event-row[data-genre="electronic"] { --signal: var(--cyan); }
.event-row[data-genre="rap"] { --signal: var(--violet); }
.event-row[data-genre="rock"] { --signal: #ff9c4a; }
.event-row.event-cancelled { --signal: #ff6b6b; background: rgba(255, 107, 107, .07); }
.event-row.event-cancelled:hover { background: rgba(255, 107, 107, .11); }
.event-row.event-cancelled .event-copy h3 { opacity: .78; text-decoration: line-through; text-decoration-thickness: 1px; }
.event-row:hover { padding-inline: 22px; background: rgba(255, 255, 255, .045); }
.event-day { font-family: "Syne"; font-size: 2.7rem; font-weight: 800; letter-spacing: -.08em; line-height: .82; }
.event-day-number { display: block; }
.event-day-meta { display: block; margin: 10px 0 0 3px; color: var(--signal); font-family: "Plus Jakarta Sans"; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.event-copy { min-width: 0; }
.event-copy h3 { margin: 0; font-family: "Newsreader Display", Georgia, serif; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.02; }
.event-copy p { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; color: var(--muted); font-size: .74rem; }
.event-audience,
.program-audience {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .51rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}
.event-audience { padding: 5px 7px; color: var(--signal); }
.event-price { justify-self: end; text-align: right; }
.event-price strong { display: block; color: var(--signal); font-size: .78rem; }
.event-price span { display: block; margin-top: 7px; color: var(--muted); font-size: .66rem; }
.event-arrow { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: transform .2s ease, border-color .2s ease; }
.event-row:hover .event-arrow { border-color: var(--signal); transform: rotate(-42deg); }
.event-arrow svg { width: 17px; }

.event-row.happening-now,
.event-row.event-today {
  margin: 12px 0;
  padding-inline: 22px;
  border-bottom: 0;
  border-radius: 22px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}
.event-row.happening-now:hover,
.event-row.event-today:hover { background: #ffffff; }
.event-row.happening-now .event-copy p,
.event-row.happening-now .event-price span,
.event-row.event-today .event-copy p,
.event-row.event-today .event-price span { color: rgba(11, 13, 19, .62); }
.event-row.happening-now .event-audience,
.event-row.event-today .event-audience { color: var(--ink); }
.event-row.happening-now .event-arrow,
.event-row.event-today .event-arrow { border-color: rgba(11, 13, 19, .32); }
.event-label {
  width: fit-content;
  margin-bottom: 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acid);
  background: transparent;
  font-family: "Syne", sans-serif;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}
.event-label::before {
  width: 2px;
  height: 16px;
  content: "";
  background: currentColor;
}
.event-label.is-today { color: var(--coral); }
.event-label.is-tomorrow { color: var(--cyan); }
.event-label.is-day-after-tomorrow { color: var(--violet); }
.event-label.is-cancelled { color: #ff6b6b; }
.event-row.happening-now .event-label,
.event-row.event-today .event-label { color: var(--ink); }
.event-day .event-label { margin: 0 0 11px 3px; display: flex; font-size: .54rem; letter-spacing: .1em; }
.event-day .event-label::before { display: none; }

.discovery-side { position: sticky; top: calc(var(--header-height) + 20px); display: grid; gap: 16px; }
.side-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-soft); }
.side-card.acid { color: var(--ink); background: var(--acid); border-color: transparent; }
.side-card small { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.side-card h3 { margin: 38px 0 12px; font-family: "Syne"; font-size: 1.55rem; letter-spacing: -.05em; line-height: 1; }
.side-card p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.side-card.acid p { color: rgba(11, 13, 19, .66); }
.side-link { min-height: 46px; margin-top: 22px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid currentColor; border-radius: 999px; font-size: .7rem; font-weight: 800; }

.places-section { padding-top: 0; }
.places-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 16px;
}
.place-card {
  position: relative;
  min-height: 430px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 28px;
  color: var(--ink);
  isolation: isolate;
}
.place-card::before, .place-card::after { position: absolute; z-index: -1; content: ""; }
.place-card::before { inset: 0; background: var(--card-color); }
.place-card::after { width: 300px; height: 300px; right: -80px; bottom: -80px; border: 46px solid rgba(11, 13, 19, .13); border-radius: 50%; }
.place-card:nth-child(1) { --card-color: var(--coral); }
.place-card:nth-child(2) { --card-color: var(--cyan); }
.place-card:nth-child(3) { --card-color: var(--violet); }
.place-index { font-size: .65rem; font-weight: 800; letter-spacing: .15em; }
.place-card h3 { margin: 0; font-family: "Syne"; font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.075em; line-height: .86; text-transform: uppercase; }
.place-card:not(:first-child) h3 { font-size: clamp(1.75rem, 3vw, 2.8rem); }
.place-bottom { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.place-bottom p { max-width: 280px; margin: 0; font-size: .75rem; font-weight: 700; line-height: 1.5; }

.map-banner {
  position: relative;
  min-height: 420px;
  padding: clamp(30px, 5vw, 74px);
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: end;
  gap: 40px;
  overflow: hidden;
  border-radius: 36px;
  color: var(--ink);
  background: var(--paper);
}
.map-banner::after {
  position: absolute;
  width: min(50vw, 650px);
  aspect-ratio: 1;
  right: -6%;
  top: -42%;
  content: "";
  border: 1px solid rgba(11, 13, 19, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(11, 13, 19, .035), 0 0 0 90px rgba(11, 13, 19, .025), 0 0 0 135px rgba(11, 13, 19, .018);
}
.map-copy, .map-pins { position: relative; z-index: 1; }
.map-banner h2 { margin: 0; font-family: "Syne"; font-size: clamp(3rem, 6vw, 6.2rem); letter-spacing: -.085em; line-height: .82; text-transform: uppercase; }
.map-banner p { max-width: 520px; margin: 24px 0 0; color: rgba(11, 13, 19, .66); line-height: 1.6; }
.map-button { width: fit-content; min-height: 52px; margin-top: 30px; padding: 0 20px; display: inline-flex; align-items: center; gap: 28px; border-radius: 999px; color: var(--paper); background: var(--ink); font-size: .76rem; font-weight: 800; }
.map-pins { min-height: 230px; }
.pin { position: absolute; padding: 10px 14px; border: 1px solid rgba(11, 13, 19, .22); border-radius: 999px; background: rgba(244, 246, 251, .84); box-shadow: 0 12px 30px rgba(11, 13, 19, .09); font-size: .68rem; font-weight: 800; }
.pin::before { width: 8px; height: 8px; margin-right: 8px; display: inline-block; border-radius: 50%; content: ""; background: var(--coral); }
.pin:nth-child(1) { top: 10%; left: 8%; }
.pin:nth-child(2) { top: 45%; right: 4%; }
.pin:nth-child(3) { bottom: 4%; left: 22%; }
.pin:nth-child(4) { top: 6%; right: 12%; }

.site-footer { margin-top: 24px; padding: 54px 0; border-top: 1px solid var(--line); }
.footer-inner { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.footer-wordmark { font-family: "Syne"; font-size: clamp(2.8rem, 7vw, 7.5rem); font-weight: 800; letter-spacing: -.085em; line-height: .8; }
.footer-wordmark i { color: var(--coral); font-style: normal; }
.footer-meta { display: grid; gap: 12px; justify-items: end; color: var(--muted); font-size: .72rem; }
.footer-meta a:hover { color: var(--paper); }

.empty-state { padding: 60px 20px; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); }

@container (max-width: 700px) {
  .event-row { grid-template-columns: 84px minmax(0, 1fr) 44px; gap: 16px; }
  .event-price { grid-column: 2; justify-self: start; text-align: left; }
  .event-arrow { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 1080px) {
  .desktop-nav a:not(.nav-cta), .nav-language { display: none; }
  .menu-button { display: grid; }
  .hero { grid-template-columns: 1fr .72fr; gap: 40px; }
  .next-card { min-height: 450px; }
  .event-layout { grid-template-columns: 1fr; }
  .discovery-side { position: static; grid-template-columns: 1fr 1fr; }
  .places-grid { grid-template-columns: 1.1fr .9fr; }
  .place-card:nth-child(3) { grid-column: 1 / -1; min-height: 300px; }
}

@media (max-width: 760px) {
  :root { --header-height: 60px; --page: calc(100% - 28px); --radius: 18px; }
  .nav { width: calc(100% - 28px); }
  .desktop-nav { display: none; }
  .menu-button { width: 42px; height: 42px; }
  .hero { min-height: auto; padding: 54px 0 30px; grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: clamp(3.85rem, 20vw, 6.4rem); }
  .hero-copy { margin-top: 24px; font-size: .96rem; }
  .next-card { min-height: 410px; padding: 22px; border-radius: 26px; transform: none; }
  .next-date { margin-top: 36px; }
  .section { padding: 84px 0; }
  .section-head { display: block; }
  .section-title { max-width: 100%; white-space: normal; text-wrap: balance; }
  .section-note { margin-top: 22px; font-size: .86rem; }
  .filter-bar { align-items: start; flex-direction: column; gap: 14px; }
  .chips { width: calc(100vw - 14px); margin-right: -14px; padding-right: 28px; }
  .event-row { min-height: 124px; padding-inline: 4px; }
  .event-row:hover { padding-inline: 4px; }
  .event-row.happening-now,
  .event-row.happening-now:hover,
  .event-row.event-today,
  .event-row.event-today:hover { padding-inline: 14px; }
  .event-day { font-size: 1.85rem; }
  .discovery-side { grid-template-columns: 1fr; }
  .places-grid { grid-template-columns: 1fr; }
  .place-card, .place-card:nth-child(3) { min-height: 360px; grid-column: auto; }
  .map-banner { min-height: 600px; padding: 34px 24px; grid-template-columns: 1fr; align-content: space-between; border-radius: 26px; }
  .map-banner::after { width: 520px; right: -65%; top: 31%; }
  .map-pins { min-height: 190px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-wordmark { font-size: min(8vw, 2.7rem); }
  .footer-meta { justify-items: start; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 18vw; }
  .event-row { grid-template-columns: 84px minmax(0, 1fr) 40px; gap: 12px; }
  .event-copy h3 { font-size: 1.2rem; }
  .event-arrow { width: 40px; height: 40px; }
  .place-card h3, .place-card:not(:first-child) h3 { font-size: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* GSC-led first viewport: intent and current events first. */
.hero {
  min-height: auto;
  padding: clamp(42px, 5vw, 68px) 0 30px;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .92fr);
  grid-template-areas: "intro program";
  align-items: start;
  gap: 28px clamp(44px, 6vw, 90px);
}

.hero-intro { grid-area: intro; min-width: 0; padding-top: 18px; }
.hero-intro .eyebrow { margin-bottom: 18px; color: var(--cyan); }
.hero-intro h1 {
  max-width: 760px;
  font-size: clamp(3.7rem, 6.2vw, 6.8rem);
  line-height: .82;
}
.hero-intro h1.hero-title-question {
  font-size: clamp(3.1rem, 4.6vw, 5.4rem);
  line-height: .88;
  letter-spacing: -.07em;
}
.hero-intro .hero-copy { max-width: 660px; margin-top: 24px; font-size: clamp(.92rem, 1.35vw, 1.08rem); }

.hero-program {
  grid-area: program;
  width: 100%;
  min-width: 0;
  padding: 14px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .025);
  box-shadow: var(--shadow);
}
.hero-program-head { min-height: 42px; padding: 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hero-program-head > div { display: flex; align-items: center; gap: 10px; }
.program-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 16px rgba(255, 59, 85, .72); }
.hero-program-head h2 { margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-program-head > span { color: var(--muted); font-size: .64rem; font-weight: 800; white-space: nowrap; }

.weather-feature {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 208px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 20px;
  color: var(--ink);
  background: var(--acid);
  isolation: isolate;
}
.weather-feature::before {
  position: absolute;
  inset: -30%;
  z-index: -1;
  content: "";
  background:
    repeating-radial-gradient(circle at 88% 12%, transparent 0 21px, rgba(11, 13, 19, .11) 22px 24px),
    linear-gradient(130deg, transparent 0 61%, rgba(255, 255, 255, .32) 61% 65%, transparent 65%);
  transform: rotate(-3deg);
}
.weather-feature-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.weather-condition, .weather-date { padding: 7px 10px; border: 1px solid rgba(11, 13, 19, .32); border-radius: 999px; font-size: .61rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.weather-date { max-width: 52%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.weather-temperature { margin: 18px 0 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.weather-temperature strong { flex: 0 0 auto; font-family: "Syne", sans-serif; font-size: clamp(2.6rem, 3.8vw, 3.6rem); font-weight: 800; letter-spacing: -.08em; line-height: .82; white-space: nowrap; }
.weather-temperature span { min-width: 0; max-width: 140px; font-family: "Newsreader Display", Georgia, serif; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 700; line-height: 1; text-align: right; }
.weather-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(11, 13, 19, .28); }
.weather-stat { min-width: 0; padding: 12px 10px 0 0; }
.weather-stat + .weather-stat { padding-left: 12px; border-left: 1px solid rgba(11, 13, 19, .22); }
.weather-stat span { display: block; font-size: .52rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.weather-stat strong { display: block; margin-top: 5px; font-family: "Syne", sans-serif; font-size: .9rem; line-height: 1; }

.weather-advice {
  min-width: 0;
  min-height: 88px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ink-soft);
}
.weather-advice > div { min-width: 0; }
.weather-alert { grid-column: 1 / -1; padding: 2px 0 12px; border-bottom: 1px solid rgba(91, 139, 255, .45); }
.weather-alert[hidden] { display: none; }
.weather-alert-label { display: block; margin-bottom: 6px; color: var(--coral); font-size: .56rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.weather-alert p { color: var(--paper); font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: .68rem; font-weight: 700; line-height: 1.35; }
.weather-advice-label { display: block; margin-bottom: 7px; color: var(--cyan); font-size: .55rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.weather-advice p { margin: 0; color: var(--paper-soft); font-family: "Newsreader Display", Georgia, serif; font-size: .94rem; font-weight: 700; line-height: 1.15; }
.weather-source { flex: 0 0 auto; color: var(--muted); font-size: .55rem; font-weight: 800; white-space: nowrap; }
.weather-source:hover { color: var(--paper); }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, .8fr) minmax(430px, 1fr); gap: 26px 34px; }
  .hero-intro h1 { font-size: clamp(3.6rem, 7vw, 5.5rem); }
  .hero-intro h1.hero-title-question { font-size: clamp(3rem, 5.2vw, 4.5rem); }
}

@media (min-width: 761px) {
  .hero + .section { padding-top: clamp(32px, 3vw, 44px); }
}

@media (max-width: 760px) {
  .hero {
    padding: 28px 0 24px;
    grid-template-columns: 1fr;
    grid-template-areas: "intro";
    gap: 0;
  }
  .hero-intro { padding-top: 0; }
  .hero-intro .eyebrow { margin-bottom: 14px; font-size: .62rem; }
  .hero-intro h1 { font-size: clamp(2.9rem, 13vw, 4.2rem); line-height: .84; }
  .hero-intro h1.hero-title-question { font-size: clamp(2.25rem, 9.6vw, 3.2rem); line-height: .9; }
  .hero-intro .hero-copy { margin-top: 16px; font-size: .86rem; line-height: 1.55; }
  .hero-program { display: none; }
  .hero-program-head { min-height: 36px; padding: 0 6px; }
  .weather-feature { min-height: 178px; padding: 18px; }
  .weather-temperature { margin: 16px 0 13px; }
  .weather-temperature strong { font-size: clamp(2.45rem, 11vw, 3.35rem); }
  .weather-temperature span { display: none; }
  .weather-advice { min-height: 80px; }
  .mobile-hero-tools { display: none; }
  .mobile-hero-summary {
    min-height: 46px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-block: 1px solid var(--line);
    color: var(--paper-soft);
    font-family: "Syne", sans-serif;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .mobile-hero-summary span + span::before { margin-right: 12px; color: var(--cyan); content: "·"; }
  .mobile-hero-summary strong { color: var(--cyan); font-size: .82rem; }
  .mobile-hero-actions { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; }
  .mobile-hero-actions a {
    min-height: 48px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  .mobile-hero-actions a:first-child { color: var(--ink); border-color: var(--cyan); background: var(--cyan); }
  .install-card:not([hidden]) {
    position: relative;
    width: var(--page);
    margin: 2px auto 8px;
    padding: 22px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    overflow: hidden;
    border: 1px solid rgba(11, 13, 19, .26);
    border-radius: 24px;
    color: var(--ink);
    background: var(--cyan);
    box-shadow: var(--shadow);
  }
  .install-card::after {
    position: absolute;
    width: 220px;
    height: 220px;
    top: -145px;
    right: -105px;
    border: 1px solid rgba(11, 13, 19, .18);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 36px rgba(11, 13, 19, .035), 0 0 0 72px rgba(11, 13, 19, .025);
  }
  .install-card-icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    object-fit: cover;
    border: 1px solid rgba(11, 13, 19, .24);
    border-radius: 14px;
  }
  .install-card-copy { position: relative; z-index: 1; min-width: 0; padding-right: 24px; }
  .install-card-kicker { display: block; margin-bottom: 8px; font-size: .55rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
  .install-card h2 { margin: 0; font-family: "Syne", sans-serif; font-size: 1.45rem; font-weight: 800; letter-spacing: -.055em; line-height: .96; text-transform: uppercase; }
  .install-card-copy > p { margin: 10px 0 0; font-family: "Newsreader Display", Georgia, serif; font-size: .94rem; font-weight: 700; line-height: 1.16; }
  .install-card-actions { position: relative; z-index: 1; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  .install-card-button, .install-card-dismiss { min-height: 48px; border-radius: 999px; font: 800 .68rem/1 "Plus Jakarta Sans", sans-serif; text-transform: uppercase; }
  .install-card-button { padding: 0 18px; color: var(--paper); border: 1px solid var(--ink); background: var(--ink); }
  .install-card-dismiss { width: 48px; color: var(--ink); border: 1px solid rgba(11, 13, 19, .35); background: transparent; }
  .install-card-help { position: relative; z-index: 1; grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid rgba(11, 13, 19, .25); }
  .install-card-help[hidden], .install-card-help p[hidden] { display: none; }
  .install-card-help p { margin: 0; font-size: .72rem; font-weight: 700; line-height: 1.45; }
  .anchor-alias + .section { padding-top: 48px; }
}

@media (max-width: 420px) {
  .hero-intro h1 { font-size: 12.6vw; }
  .weather-feature { min-height: 170px; }
  .weather-feature-top { gap: 8px; }
  .weather-condition { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .weather-advice { grid-template-columns: 1fr; align-items: start; gap: 10px; }
  .weather-alert { grid-column: 1; }
  .weather-source { justify-self: start; }
}
html { scroll-behavior: smooth; }
  

.venue-jumps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.venue-jumps a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 800; }
.venue-jumps a:first-child { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }
.venue-featured { padding-top: 28px; padding-bottom: 24px; }
.venue-featured .section-title { white-space: normal; }
.venue-featured .places-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
.venue-featured .place-card { min-height: 310px; gap: 24px; grid-column: auto; }
.venue-featured .place-card h3 { font-size: clamp(2rem, 3.5vw, 3.7rem); line-height: 1; }
.venue-featured .place-index { font-size: .8rem; }
.venue-featured .place-bottom p { font-size: 1rem; line-height: 1.55; }
.venue-featured .place-card:nth-child(4) { --card-color: var(--paper); }
.venue-featured .place-card:nth-child(5) { --card-color: var(--cyan); }
.venue-featured .place-card:nth-child(6) { --card-color: var(--coral); }
.venue-directory-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 22px; min-height: 48px; font-size: 1rem; font-weight: 800; border-bottom: 1px solid var(--line); }
.venue-scroll-hint { display: none; }
@media (max-width: 1080px) { .venue-featured .places-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .venue-jumps { gap: 8px; margin-top: 22px; }
  .venue-jumps a { gap: 12px; padding: 12px 16px; font-size: .85rem; }
  .venue-featured { padding-top: 24px; }
  .venue-featured .places-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 14px; }
  .venue-featured .place-card { flex: 0 0 86%; min-height: 310px; padding: 24px; scroll-snap-align: start; }
  .venue-featured .place-card h3 { font-size: 2.65rem; }
  .venue-scroll-hint { display: block; margin-top: 18px; color: var(--muted); font-size: .85rem; }
}
  
