/* ============================================================
   Hey Freddy, design system
   Palette: river & elm. Warm paper, deep pine, marigold spark.
   Mobile-first. No webfonts (CWV): tuned system stacks.
   ============================================================ */

/* Brand palette lifted from the Hey Freddy logo:
   navy #082840 · teal #007481 · sun gold #F2B035 · ice hills #E4F0EE */
:root {
  --bg: #FBF6EA;              /* cream, to match the new wordmark's world */
  --bg-soft: #F4EDDC;
  --ice: #EFE5CE;
  --header-h: 76px;
  --card: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #5A554C;
  --pine: #2A2A2A;            /* soft black */
  --pine-deep: #101010;       /* logo wordmark black */
  --river: #A06E14;           /* burnished gold (text-safe accent) */
  --river-soft: #F5E6C3;
  --marigold: #F0B030;        /* maple-leaf gold */
  --marigold-soft: #FBEFD2;
  --sage: #F0E7D3;
  --danger: #B4372E;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(12,12,12,.06), 0 8px 24px -12px rgba(12,12,12,.16);
  --shadow-lift: 0 2px 4px rgba(12,12,12,.08), 0 18px 40px -16px rgba(12,12,12,.26);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-out: cubic-bezier(.22,.9,.35,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--river); text-underline-offset: 3px; }
a:hover { color: var(--pine); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.14; margin: 0 0 .5em; color: var(--pine-deep); letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 0; background: var(--pine); color: #fff; padding: .6em 1em; z-index: 200; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 4px; }

/* ---------- view transitions (page fade) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .26s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 234, .92);
  background: color-mix(in srgb, #FBF6EA 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(12,12,12,.1);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px -8px rgba(12,12,12,.15); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; position: relative; }
.brand-logo { height: 36px; width: auto; max-height: 36px; display: block; transition: transform .45s var(--ease-spring); transform-origin: 88% 40%; }
/* Easter egg: hover the logo and the maple leaf sheds, tiny gold leaves
   flutter down from the wordmark's leaf while the logo gives a little hat-tip. */
.brand:hover .brand-logo { transform: rotate(-3.5deg) scale(1.05); }
.leaf-fall { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.leaf-fall i {
  position: absolute; top: 12%; font-style: normal; font-size: 11px; opacity: 0;
  /* recolour the red emoji to brand gold */
  filter: sepia(1) saturate(4) hue-rotate(-12deg) brightness(1.05);
}
.leaf-fall i:nth-child(1) { right: 6%; }
.leaf-fall i:nth-child(2) { right: 16%; font-size: 9px; }
.leaf-fall i:nth-child(3) { right: 0; font-size: 8px; }
.brand:hover .leaf-fall i:nth-child(1) { animation: leaf-drop 1.5s ease-in infinite; }
.brand:hover .leaf-fall i:nth-child(2) { animation: leaf-drop 1.5s ease-in .5s infinite; }
.brand:hover .leaf-fall i:nth-child(3) { animation: leaf-drop 1.5s ease-in .95s infinite; }
@keyframes leaf-drop {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  12%  { opacity: 1; }
  55%  { transform: translate(-7px, 26px) rotate(-70deg); opacity: .95; }
  100% { opacity: 0; transform: translate(5px, 46px) rotate(-160deg); }
}
.logo-mark { flex: none; }
:root { --header-h: 68px; }
@media (max-width: 560px) { .brand-logo { height: 28px; max-height: 28px; } :root { --header-h: 58px; } }
.site-nav { margin-left: auto; display: none; gap: 4px; align-items: center; }
.nav-link {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem;
  padding: .5em .85em; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-link:hover { background: var(--sage); color: var(--pine-deep); }
.nav-link.active { background: var(--pine); color: #fff; }
.nav-cta {
  background: var(--marigold); color: var(--pine-deep) !important; display: inline-flex; align-items: center; gap: .35em;
  box-shadow: 0 2px 10px -2px rgba(245,166,35,.55);
}
.nav-cta:hover { background: #ffb63f; transform: translateY(-1px); }
/* CTA stays gold even when it's the current page (generic .active would paint it navy-on-navy) */
.nav-link.nav-cta.active {
  background: var(--marigold); color: var(--pine-deep) !important;
  box-shadow: inset 0 0 0 2px var(--pine-deep), 0 2px 10px -2px rgba(245,166,35,.55);
}
.nav-cta .spark { animation: sparkle 2.8s ease-in-out infinite; display: inline-block; }
@keyframes sparkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.35) rotate(20deg); opacity: .75; } }

/* ---------- nav dropdowns ---------- */
.nav-item { position: relative; }
.nav-item::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; } /* hover bridge */
.nav-link.has-sub { display: inline-flex; align-items: center; gap: .4em; }
.nav-caret { transition: transform .2s var(--ease-out); flex: none; opacity: .7; }
.nav-item:hover .nav-caret, .nav-item.open .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 232px;
  background: var(--bg); border: 1px solid color-mix(in srgb, var(--pine) 14%, transparent);
  border-radius: 14px; padding: 8px; z-index: 60;
  box-shadow: 0 20px 44px -18px rgba(12,12,12,.35);
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(6px);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
}
.nav-item:hover .sub-menu, .nav-item:focus-within .sub-menu, .nav-item.open .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.sub-menu a {
  display: block; padding: .52em .75em; border-radius: 9px; text-decoration: none;
  color: var(--ink-soft); font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.sub-menu a:hover { background: var(--sage); color: var(--pine-deep); }
.sub-menu a.on { color: var(--river); }
.nav-phone { font-size: 1.05rem; padding: .45em .55em; }

/* mobile grouped menu, clear hierarchy: bold parent rows, tidy indented children */
.m-group { border-bottom: 1px solid color-mix(in srgb, var(--pine) 10%, transparent); }
.m-group .m-link { border-bottom: 0; padding-bottom: 2px; }
.m-subrow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin: 0 0 12px 6px; padding: 2px 0 4px 14px;
  border-left: 2px solid color-mix(in srgb, var(--marigold) 55%, transparent); border-bottom: 0; }
.m-subrow a { display: block; font-size: .9rem; color: var(--ink-soft); text-decoration: none; font-weight: 600; padding: 7px 0; }
.m-subrow a:active { color: var(--river); }

.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  display: grid; place-content: center; gap: 5px; border-radius: 10px;
}
.nav-toggle span { width: 22px; height: 2.5px; background: var(--pine-deep); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: grid; gap: 0; padding: 6px clamp(16px,4vw,28px) 22px;
  border-top: 1px solid color-mix(in srgb, var(--pine) 10%, transparent);
  max-height: calc(100dvh - 62px); overflow-y: auto;
  animation: sheet .35s var(--ease-out);
}
@keyframes sheet { from { opacity: 0; transform: translateY(-10px); } }
.m-link {
  display: block; text-decoration: none; font-family: var(--font-display); font-weight: 800;
  font-size: 1.16rem; color: var(--pine-deep);
  padding: 13px 0 11px; border-bottom: 1px solid color-mix(in srgb, var(--pine) 10%, transparent);
}
.m-link.active { color: var(--river); }
.m-sub { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 16px; }
.m-sub a { font-size: .92rem; color: var(--ink-soft); text-decoration: none; font-weight: 600; }

@media (min-width: 880px) {
  .site-nav { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* ---------- hero: the logo's composition at page scale ----------
   white sky → layered ice hills → skyline resting on the water line */
.hero {
  position: relative; overflow: clip; color: var(--ink); background: var(--bg);
}
.hero::before { /* layered hills, exactly like the logo backdrop */
  content: ""; position: absolute; inset: auto 0 0 0; height: 72%;
  background:
    radial-gradient(85% 100% at 22% 118%, var(--ice) 0%, transparent 62%),
    radial-gradient(80% 90% at 82% 122%, #F1E8D2 0%, transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(30px, 5vw, 56px); padding-bottom: clamp(16px, 3vw, 34px); }
.hero h1 { color: var(--pine-deep); font-size: clamp(2.1rem, 5.6vw, 3.7rem); max-width: 15em; }
.hero h1 .hl { color: var(--river); }
.hero p.lede { font-size: clamp(1.02rem, 1.9vw, 1.2rem); max-width: 36em; color: var(--ink-soft); }
/* (decorative hero sun removed, the hero artwork has its own) */
/* skyline anchored on the water, full-bleed brand moment */
.hero-base { position: relative; z-index: 2; text-align: center; margin-top: clamp(10px, 2vw, 24px); }
.hero-base img { display: inline-block; width: min(760px, 90vw); height: auto; margin-bottom: -8px; }
.water-line { display: block; width: 100%; height: 16px; }
.water-line path { stroke: var(--river); fill: none; stroke-linecap: round; }
.hero + * { position: relative; }
/* hero swag cluster, polaroid fan, links to #swag */
.hero-swag {
  position: absolute; top: clamp(88px, 10vw, 140px); right: 0; z-index: 3;
  width: 344px; height: 292px; display: block; text-decoration: none; cursor: pointer;
}
.hs-card {
  position: absolute; width: 148px; background: #fff;
  border: 1.5px solid rgba(12,12,12,.16); border-radius: 14px; padding: 8px 8px 10px;
  box-shadow: var(--shadow); transition: transform .5s var(--ease-spring), rotate .5s var(--ease-spring), box-shadow .35s;
  animation: hs-bob 4.4s ease-in-out infinite;
}
.hs-card img { display: block; width: 100%; height: auto; border-radius: 8px; background: var(--bg-soft); }
.hs-c1 { left: 0; top: 40px; rotate: -8deg; }
.hs-c2 { left: 102px; top: 4px; rotate: 4deg; z-index: 2; animation-duration: 5.1s; animation-delay: .5s; }
.hs-c3 { left: 200px; top: 74px; rotate: -4deg; animation-duration: 4.7s; animation-delay: .9s; }
@keyframes hs-bob { 50% { transform: translateY(-8px); } }
.hero-swag:hover .hs-card, .hero-swag:focus-visible .hs-card { box-shadow: var(--shadow-lift); }
.hero-swag:hover .hs-c1, .hero-swag:focus-visible .hs-c1 { rotate: -2deg; transform: translate(-10px, -8px); }
.hero-swag:hover .hs-c2, .hero-swag:focus-visible .hs-c2 { rotate: 0deg; transform: translateY(-14px) scale(1.06); }
.hero-swag:hover .hs-c3, .hero-swag:focus-visible .hs-c3 { rotate: 2deg; transform: translate(10px, -8px); }
.hero-swag:focus-visible { outline: 3px solid var(--marigold); outline-offset: 6px; border-radius: 18px; }
.hs-badge {
  position: absolute; top: -16px; right: 14px; z-index: 4; text-align: center;
  background: var(--marigold); color: var(--pine-deep);
  font-weight: 800; font-size: .8rem; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase;
  padding: .55em .95em; border-radius: 10px; rotate: 6deg;
  box-shadow: 3px 3px 0 var(--river-soft); animation: m-stamp-kf 4.6s ease-in-out infinite;
}
.hero-swag:hover .hs-badge { rotate: 0deg; }
.hs-spark { position: absolute; color: var(--marigold); font-size: 1.05rem; animation: m-float 3.4s ease-in-out infinite; }
.hs-s1 { left: -16px; top: 18px; }
.hs-s2 { right: -8px; bottom: 40px; animation-delay: .7s; font-size: .8rem; }
@media (max-width: 1150px) { .hero-swag { display: none; } }
@media (prefers-reduced-motion: reduce) { .hs-card, .hs-badge, .hs-spark { animation: none !important; } }
.date-chip-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.date-chip {
  font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--river); background: var(--river-soft); border-radius: 999px; padding: .35em .95em;
}
.weather-chip {
  font-size: .85rem; font-weight: 700; color: var(--pine-deep);
  background: #fff; border: 1.5px solid rgba(12,12,12,.14); border-radius: 999px; padding: .3em .9em;
  animation: word-in .5s var(--ease-out) both;
}
.weather-chip[hidden] { display: none !important; }
.hero-word { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); animation: word-in .7s var(--ease-spring) forwards; animation-delay: var(--d, 0s); }
@keyframes word-in { to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.waves { position: absolute; inset: auto 0 -2px; z-index: 1; pointer-events: none; }
.waves svg { width: 100%; height: clamp(80px, 12vw, 150px); display: block; }
.wave { animation: drift 14s linear infinite alternate; }
.wave.w2 { animation-duration: 19s; animation-direction: alternate-reverse; }
.wave.w3 { animation-duration: 26s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-70px); } }

.ticker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ticker a {
  background: #fff; border: 1.5px solid rgba(12,12,12,.16); color: var(--pine-deep);
  text-decoration: none; font-size: .85rem; font-weight: 600; padding: .4em .9em; border-radius: 999px;
  transition: background .2s, border-color .2s, transform .2s var(--ease-spring);
  opacity: 0; animation: word-in .6s var(--ease-out) forwards; animation-delay: var(--d, .6s);
}
.ticker a:hover { background: var(--marigold); color: var(--pine-deep); border-color: var(--marigold); transform: translateY(-2px); }
.ticker .tk-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--river); align-self: center; font-weight: 800; width: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; text-decoration: none; cursor: pointer;
  font-weight: 700; font-size: 1rem; font-family: var(--font-body);
  padding: .78em 1.5em; border-radius: 999px; border: 0;
  transition: transform .25s var(--ease-spring), box-shadow .25s, background .2s;
}
/* Brand hierarchy: navy leads (like the wordmark), teal supports, gold is the sun, used sparingly */
.btn-primary { background: var(--pine-deep); color: #fff; box-shadow: 0 4px 18px -6px rgba(12,12,12,.5); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 26px -8px rgba(12,12,12,.6); color: #fff; background: var(--pine); }
.btn-ghost { background: #fff; color: var(--pine-deep); border: 2px solid var(--pine-deep); }
.btn-ghost:hover { background: rgba(12,12,12,.05); color: var(--pine-deep); transform: translateY(-2px); }
.btn-pine { background: var(--marigold); color: var(--pine-deep); box-shadow: 0 4px 18px -6px rgba(242,176,53,.65); }
.btn-pine:hover { background: #F6BC50; color: var(--pine-deep); transform: translateY(-2px); }

/* ---------- sections & cards ---------- */
section { scroll-margin-top: calc(var(--header-h) + 12px); }
.band { padding-block: clamp(48px, 8vw, 96px); }
/* visually-hidden but readable by crawlers/screen-readers (keeps heading hierarchy intact) */
.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; }
/* Ask Freddy: no skyline art, tiles pulled up snug under the Start-chatting button */
.hero-ask { min-height: auto; }
.band-ask { padding-top: clamp(18px, 3vw, 30px); }
.hero-ask-hint { align-self: center; color: var(--ink-soft); font-size: .92rem; font-style: italic; }
@media (max-width: 640px) { .hero-ask-hint { display: none; } }
/* soft bands carry the logo's layered-hills backdrop */
.band-soft {
  background:
    radial-gradient(110% 85% at 18% 115%, var(--ice) 0%, transparent 58%),
    radial-gradient(95% 75% at 85% 120%, #EAF4F1 0%, transparent 55%),
    var(--bg-soft);
}
/* h2 accent: the logo's flanking-rule motif, teal rule, gold sun dot */
.band-head h2::after, .page-head h1::after {
  content: ""; display: block; width: 58px; height: 3px; margin-top: 12px; border-radius: 2px;
  background: linear-gradient(90deg, var(--river) 0 42px, transparent 42px 46px, var(--marigold) 46px);
}
.center .band-head h2::after, .center h2::after { margin-inline: auto; }
.band-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px, 4vw, 40px); flex-wrap: wrap; }
.band-head p { color: var(--ink-soft); margin: 0; max-width: 44em; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--river); margin: 0 0 .8em; }
.more-link { font-weight: 700; text-decoration: none; white-space: nowrap; }
.more-link::after { content: " →"; transition: margin .2s; }
.more-link:hover::after { margin-left: 4px; }

.grid { display: grid; gap: clamp(14px, 2.5vw, 24px); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }

.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 26px); position: relative;
  transition: transform .35s var(--ease-spring), box-shadow .35s, border-color .35s;
  border: 1.5px solid rgba(12,12,12,.16); /* line-art edge, like the logo's buildings */
}
.card:hover { border-color: rgba(12,12,12,.32); }
a.card { text-decoration: none; color: inherit; display: block; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.card .card-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--river); display: block; margin-bottom: .7em; }
.card-emoji { font-size: 1.9rem; line-height: 1; margin-bottom: 12px; display: inline-block; transition: transform .4s var(--ease-spring); }
.card:hover .card-emoji { transform: scale(1.18) rotate(-6deg); }
.card-arrow { position: absolute; right: 20px; bottom: 16px; font-weight: 800; color: var(--marigold); opacity: 0; transform: translateX(-6px); transition: .3s var(--ease-out); }
.card:hover .card-arrow { opacity: 1; transform: none; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- event list ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px; }
.chip {
  border: 1.5px solid color-mix(in srgb, var(--pine) 22%, transparent); background: var(--card);
  color: var(--ink-soft); font-weight: 700; font-size: .88rem; padding: .45em 1em; border-radius: 999px;
  cursor: pointer; transition: all .2s var(--ease-out); font-family: var(--font-body);
  min-height: 44px;
}
.chip:hover { border-color: var(--pine); color: var(--pine-deep); transform: translateY(-1px); }
.chip.on { background: var(--pine); border-color: var(--pine); color: #fff; }
.search-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.search-row input {
  flex: 1; min-width: 220px; font: inherit; padding: .7em 1.1em; border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--pine) 20%, transparent); background: var(--card);
}
.search-row input:focus { border-color: var(--river); outline: 2px solid color-mix(in srgb, var(--river) 30%, transparent); }

.day-group { margin-top: 34px; }
.day-head {
  font-family: var(--font-display); font-size: 1.15rem; color: var(--pine-deep);
  position: sticky; top: var(--header-h); background: rgba(251, 246, 234, .94);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(8px); padding: .5em 0; z-index: 5; margin: 0 0 10px;
  border-bottom: 2px solid var(--marigold); display: flex; gap: .6em; align-items: baseline;
}
.day-head .dow { color: var(--river); font-size: .8em; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-body); }
.event-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start;
  background: var(--card); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 10px;
  border: 1px solid color-mix(in srgb, var(--pine) 7%, transparent); box-shadow: var(--shadow);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.event-row:hover { transform: translateX(4px); box-shadow: var(--shadow-lift); }
.event-row h3 { margin: 0; font-size: 1.08rem; }
.event-row h3 a { color: var(--pine-deep); text-decoration: none; }
.event-row h3 a:hover { color: var(--river); }
.event-meta { color: var(--ink-soft); font-size: .9rem; grid-column: 1; }
.event-blurb { grid-column: 1 / -1; color: var(--ink-soft); font-size: .93rem; margin: 4px 0 0; }
.badge { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3em .7em; border-radius: 999px; white-space: nowrap; }
.badge-free { background: var(--marigold-soft); color: #8A5A00; }
.badge-cat { background: var(--river-soft); color: var(--river); }
.event-badges { display: flex; gap: 6px; grid-column: 2; grid-row: 1; }
.events-status { font-size: .88rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5em; margin-top: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2E9E6B; display: inline-block; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 50% { opacity: .4; } }
.empty-note { background: var(--card); border-radius: var(--radius); padding: 30px; text-align: center; color: var(--ink-soft); }

/* ---------- answer pages (services) ---------- */
.answer-page { max-width: 760px; margin-inline: auto; padding: clamp(36px, 6vw, 64px) clamp(16px, 4vw, 32px) 60px; }
.page-head { margin-bottom: 34px; }
.quick-answer {
  background: #fff;
  border: 2px solid var(--pine-deep);
  border-radius: var(--radius); padding: 20px 22px; margin-top: 18px; position: relative;
  box-shadow: 4px 4px 0 var(--river-soft);
}
.quick-answer p { margin: 0; font-size: 1.08rem; }
.qa-badge {
  position: absolute; top: -12px; left: 18px; background: var(--marigold); color: var(--pine-deep);
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: .25em .8em; border-radius: 999px;
}
.verified { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }
.verified::before { content: "✓ "; color: #2E9E6B; font-weight: 800; }
.answer-page section { margin-top: 40px; }
.answer-page table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--card); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.answer-page th, .answer-page td { text-align: left; padding: .7em .9em; border-bottom: 1px solid var(--bg-soft); }
.answer-page th { background: var(--pine); color: #fff; font-weight: 700; }
.answer-page tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
.callout { border-left: 4px solid var(--river); background: var(--river-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; margin: 18px 0; }
.callout.warn { border-color: var(--danger); background: #FBEAE8; }
.callout p:last-child { margin: 0; }

/* FAQ */
.faq { margin-top: 48px; }
.faq-item { background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-bottom: 10px; border: 1px solid color-mix(in srgb, var(--pine) 7%, transparent); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-q { margin: 0; font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; color: var(--ink); }
.faq-chev { width: 10px; height: 10px; border-right: 2.5px solid var(--river); border-bottom: 2.5px solid var(--river); transform: rotate(45deg); transition: transform .3s var(--ease-spring); flex: none; }
.faq-item[open] .faq-chev { transform: rotate(225deg); }
.faq-a { padding: 0 18px 18px; color: var(--ink-soft); }
.faq-item[open] { border-color: color-mix(in srgb, var(--river) 35%, transparent); }
.faq-item[open] .faq-a { animation: fade-in .4s var(--ease-out); }
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } }

.sources-box { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 24px; margin-top: 48px; font-size: .93rem; }
.sources-box h2 { font-size: 1.05rem; }
.sources-box p, .sources-box li { color: var(--ink-soft); }

/* ---------- itinerary / listicle ---------- */
.step-list { counter-reset: step; padding: 0; list-style: none; }
.step-list > li { position: relative; padding: 0 0 26px 58px; counter-increment: step; }
.step-list > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%; background: var(--pine); color: var(--marigold);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  display: grid; place-content: center;
}
.step-list > li::after { content: ""; position: absolute; left: 19.5px; top: 44px; bottom: 4px; width: 2px; background: color-mix(in srgb, var(--pine) 18%, transparent); }
.step-list > li:last-child::after { display: none; }
.step-list h3 { margin-bottom: .25em; }
.step-list .when { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--river); }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--pine-deep); }
.stat span { font-size: .85rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- chat widget ---------- */
.chat-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--pine); color: #fff; font-weight: 700; font-family: var(--font-body); font-size: .95rem;
  padding: 10px 18px 10px 12px; border-radius: 999px; box-shadow: 0 6px 24px -6px rgba(10,43,33,.5);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 30px -6px rgba(10,43,33,.6); }
.chat-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(245,166,35,.55); animation: fab-pulse 3.2s ease-out infinite;
}
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(245,166,35,.5);} 70% { box-shadow: 0 0 0 14px rgba(245,166,35,0);} 100% { box-shadow: 0 0 0 0 rgba(245,166,35,0);} }
.chat-panel {
  position: fixed; z-index: 160; right: 14px; bottom: 14px;
  width: min(400px, calc(100vw - 28px)); height: min(600px, calc(100vh - 28px));
  height: min(600px, calc(100dvh - 28px));
  background: var(--card); border-radius: 22px; box-shadow: 0 24px 70px -18px rgba(10,43,33,.45);
  display: flex; flex-direction: column; overflow: hidden;
  animation: chat-in .4s var(--ease-spring);
  border: 1px solid color-mix(in srgb, var(--pine) 12%, transparent);
}
@keyframes chat-in { from { opacity: 0; transform: translateY(30px) scale(.95); } }
.chat-head { background: var(--pine); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.chat-head b { font-family: var(--font-display); font-size: 1.1rem; }
.chat-head small { display: block; opacity: .75; font-size: .75rem; }
.chat-close { margin-left: auto; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.chat-close:hover { background: rgba(255,255,255,.25); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.5; animation: msg-in .3s var(--ease-out); white-space: pre-wrap; overflow-wrap: anywhere; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.msg.user { align-self: flex-end; background: var(--pine); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--bg-soft); border-bottom-left-radius: 4px; }
.msg.bot a { color: var(--river); }
.msg.typing span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); margin-right: 4px; animation: bounce 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; } .msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,60%,100% { transform: none; } 30% { transform: translateY(-6px); } }
.chat-suggest { display: flex; gap: 8px; padding: 0 16px 8px; flex-wrap: wrap; }
.chat-suggest button { font-size: .8rem; border: 1px solid color-mix(in srgb, var(--pine) 25%, transparent); background: #fff; border-radius: 999px; padding: .4em .8em; cursor: pointer; color: var(--ink-soft); font-weight: 600; }
.chat-suggest button:hover { border-color: var(--pine); color: var(--pine-deep); }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--bg-soft); }
.chat-input input { flex: 1; font: inherit; border: 1.5px solid color-mix(in srgb, var(--pine) 18%, transparent); border-radius: 999px; padding: .6em 1em; }
.chat-input input:focus { border-color: var(--river); outline: none; }
.chat-input button { border: 0; background: var(--marigold); color: var(--pine-deep); font-weight: 800; border-radius: 999px; padding: 0 18px; cursor: pointer; transition: transform .2s var(--ease-spring); }
.chat-input button:hover { transform: scale(1.05); }
.chat-note { font-size: .68rem; color: var(--ink-soft); text-align: center; padding: 0 14px 10px; margin: 0; }

/* ---------- footer: brand navy, white knockout logo ---------- */
.site-footer { background: var(--pine-deep); color: #C9C4BA; margin-top: 0; padding: 0 0 34px; }
.foot-water { display: block; width: 100%; height: 16px; margin-bottom: clamp(36px, 6vw, 64px); background: var(--bg); }
.foot-water path { stroke: var(--river); fill: none; stroke-linecap: round; }
.site-footer a { color: #F1EEE6; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); }
.foot-brand { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.foot-logo { width: min(280px, 64vw); height: auto; margin-inline: auto; }
.foot-tag {
  margin: 18px auto 0; font-size: .8rem; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--marigold); display: flex; align-items: center;
  justify-content: center; gap: 14px; max-width: 30em;
}
.foot-tag::before, .foot-tag::after { content: ""; height: 2px; width: 44px; background: #C89A3F; border-radius: 2px; flex: none; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px clamp(24px, 4vw, 56px); border-top: 1px solid rgba(255,255,255,.14); padding-top: 34px; }
.foot-col { min-width: 140px; }
.foot-col .foot-head { color: var(--marigold); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .8em; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px; font-size: .8rem; color: #97928A; }
.foot-legal a { text-decoration: underline; }
.foot-legal strong { color: #D9D4CB; }
.foot-sig { margin-top: 10px; font-size: .82rem; }
.foot-sig a { color: var(--marigold); font-weight: 700; text-decoration: none; }

/* ---------- newsletter signup (footer · inline card · feature band) ---------- */
.nl-form { margin-top: 12px; max-width: 460px; }
.nl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-input {
  flex: 1 1 200px; min-width: 0; padding: .7em .95em; border-radius: 999px;
  border: 1px solid var(--ice); background: #fff; color: var(--ink); font: inherit;
}
.nl-input:focus-visible { outline: 3px solid var(--marigold); outline-offset: 1px; }
.nl-btn { flex: 0 0 auto; white-space: nowrap; }
.nl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-note { margin: .6em 0 0; font-size: .78rem; color: var(--ink-soft); }
.nl-msg { margin: .6em 0 0; font-size: .88rem; font-weight: 600; }
.nl-msg-ok { color: #1E7A52; }
.nl-msg-err { color: #B23A2E; }

/* footer variant (dark), its own centered section below the link columns */
.foot-nl-section { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 30px; text-align: center; }
.foot-nl { max-width: 440px; margin: 0 auto; }
.foot-nl .foot-head { color: var(--marigold); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .35em; }
.foot-nl-copy { margin: 0 0 4px; font-size: .92rem; color: #C9C4BA; }
.foot-nl .nl-form { margin-inline: auto; max-width: 420px; }
/* dark footer: the default dark-green primary button disappears, so go marigold */
.foot-nl .nl-btn { background: var(--marigold); color: var(--pine-deep); box-shadow: 0 4px 18px -6px rgba(242,176,53,.55); }
.foot-nl .nl-btn:hover { background: #F6BC50; color: var(--pine-deep); }
.foot-nl .nl-input { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: #fff; }
.foot-nl .nl-input::placeholder { color: #9A958C; }
.foot-nl .nl-note { color: #97928A; }
.foot-nl .nl-msg-ok { color: #7BD3A8; }
.foot-nl .nl-msg-err { color: #F0A79B; }

/* inline card variant (light content pages), full logo on top for brand clarity */
.nl-card {
  margin: 34px 0; background: var(--marigold-soft); border: 1px solid var(--marigold);
  border-radius: 18px; padding: 24px 26px;
}
.nl-card-logo { display: block; width: clamp(160px, 42%, 210px); height: auto; margin: 0 0 16px; }
.nl-card-body { min-width: 0; }
.nl-card-body h3 { margin: 0 0 .2em; }
.nl-card-body > p { margin: 0; color: var(--ink-soft); }
.nl-card .nl-form { margin-top: 12px; max-width: none; }

/* feature band variant (homepage + /newsletter/) */
.nl-band { background: var(--marigold-soft); }
.nl-band-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.nl-band-copy h2 { margin: .1em 0 .3em; }
.nl-band-copy p { color: var(--ink-soft); margin: 0; max-width: 40em; }
.nl-band-form .nl-form { max-width: none; }
.nl-band-page .nl-band-inner { grid-template-columns: 1fr; text-align: center; }
.nl-band-page .nl-band-copy { display: none; }
.nl-band-page .nl-form { margin-inline: auto; }

@media (max-width: 720px) {
  .nl-band-inner { grid-template-columns: 1fr; }
}
.foot-sig a:hover { text-decoration: underline; }

/* ---------- hub tiles (services index) ---------- */
.hub-tile { display: flex; gap: 16px; align-items: flex-start; }
.hub-ico { width: 56px; height: 56px; display: grid; place-content: center; flex: none; }
.hub-ico .motif { width: 54px; height: 54px; transition: transform .4s var(--ease-spring); }
.card:hover .hub-ico .motif { transform: scale(1.12) rotate(-5deg); }

/* Numbers worth saving, tap-to-call cards */
.num-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 12px; margin-top: 4px; }
.num-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--sage); border-radius: 16px; background: var(--card); text-decoration: none; color: inherit; transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out), border-color .25s; }
.num-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(20,20,20,.09); border-color: var(--marigold); }
.num-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; background: var(--marigold-soft); transition: transform .3s var(--ease-spring); }
.num-card:hover .num-ico { transform: scale(1.08) rotate(-4deg); }
.num-ico svg { width: 24px; height: 24px; display: block; }
.num-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.22; }
.num-name { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.num-value { font-size: 1.3rem; font-weight: 800; color: var(--ink); margin: 1px 0; font-variant-numeric: tabular-nums; }
.num-sub { font-size: .8rem; color: var(--ink-soft); }
.num-card.num-emergency { grid-column: 1 / -1; border-color: #E1B0A6; background: linear-gradient(180deg, #FDEEE9, var(--card) 62%); }
.num-emergency .num-ico { background: #F6D8D0; }
.num-emergency .num-value { color: #C0392B; }
@media (max-width: 520px) { .num-grid { grid-template-columns: 1fr; } }

/* alert bar */
.alert-bar { background: var(--marigold); color: var(--pine-deep); font-weight: 600; font-size: .92rem; padding: 10px 0; }
.alert-bar .wrap { display: flex; gap: 10px; align-items: center; }
.alert-bar[hidden] { display: none; }

/* ---------- command-center dashboard (homepage) ---------- */
.greet { font-size: .95rem; font-weight: 700; color: var(--river); margin: 0 0 10px; animation: word-in .5s var(--ease-out) both; }

/* marquee ticker */
.marquee {
  background: var(--pine-deep); color: #fff; overflow: hidden; white-space: nowrap;
  padding: 10px 0; border-block: 2px solid var(--pine-deep);
}
.marquee-track { display: inline-flex; gap: 34px; padding-right: 34px; animation: mq-scroll 45s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq-scroll { to { transform: translateX(-50%); } }
.mq-item { color: #F1EEE6; text-decoration: none; font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.mq-item:hover { color: var(--marigold); }
.mq-star { color: var(--marigold); font-size: .75rem; }

/* dashboard grid */
.dash { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); grid-auto-flow: row dense; align-items: start; }
.tile {
  background: #fff; border: 1.5px solid rgba(12,12,12,.16); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
  transition: transform .35s var(--ease-spring), box-shadow .35s, border-color .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(12,12,12,.32); }
/* reserve space for async-loaded content so the layout doesn't shift (CLS) */
.wx-body { min-height: 128px; }
#today-list { min-height: 140px; }
.tile-feed { grid-column: span 4; grid-row: span 2; }
.tile-weather { grid-column: span 2; }
.tile-count { grid-column: span 2; }
.dash-side { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; gap: 16px; align-self: start; }
.v-body { min-height: 0; }
/* Vitals live in their own grid so every tile is the SAME height.
   grid-auto-rows: 1fr makes all rows equal to the tallest tile's content. */
.dash-vitals { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; margin-top: 16px; }
.tile-cams { margin-top: 16px; }           /* full-width banner below the vitals grid */
@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr 1fr; }
  .tile-feed { grid-column: span 2; grid-row: auto; }
  .tile-weather, .tile-count { grid-column: span 1; }
  .dash-side { grid-column: span 2; grid-row: auto; flex-direction: row; }
  .dash-side > .tile { flex: 1; min-width: 0; }
  .dash-vitals { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .dash { grid-template-columns: 1fr; } .dash .tile { grid-column: span 1 !important; }
  .dash-side { grid-column: 1 / -1; flex-direction: column; } .dash-side > .tile { flex: auto; }
  .dash-vitals { grid-template-columns: 1fr; }
}
.tile-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.tile-label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--river); }
.tile-feed .event-row { border: 1px solid rgba(12,12,12,.1); box-shadow: none; padding: 12px 14px; }
.tile-feed .event-row:hover { box-shadow: var(--shadow); }

/* tabs */
.tabs { display: flex; gap: 4px; background: var(--bg-soft); border-radius: 999px; padding: 3px; }
.tab {
  border: 0; background: transparent; font: inherit; font-size: .82rem; font-weight: 700;
  color: var(--ink-soft); padding: .35em 1em; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s;
}
.tab:hover { color: var(--pine-deep); }
.tab.on { background: var(--pine-deep); color: #fff; }

/* countdown */
.cd-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin: 0 0 2px; }
.cd-name a { color: var(--pine-deep); text-decoration: none; }
.cd-name a:hover { color: var(--river); }
.cd-when { font-size: .84rem; color: var(--ink-soft); margin: 0 0 12px; }
.cd-digits { display: flex; gap: 8px; }
.cd-cell {
  flex: 1; text-align: center; background: var(--marigold-soft);
  border: 1.5px solid color-mix(in srgb, var(--marigold) 60%, transparent);
  border-radius: 12px; padding: 10px 2px 7px; min-width: 0;
}
/* ticking digits stay sans + tabular so they don't jiggle every second */
.cd-cell b { display: block; font-family: var(--font-body); font-size: 1.35rem; font-weight: 800; color: var(--pine-deep); font-variant-numeric: tabular-nums; }
.cd-cell i { font-style: normal; font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--river); }

/* weather */
.wx-skel { color: var(--ink-soft); font-size: .9rem; animation: pulse-dot 1.6s infinite; margin: 0; }
.wx-now { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.wx-ico { font-size: 2.4rem; line-height: 1; }
.wx-temp { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--pine-deep); }
.wx-hl { font-size: .82rem; color: var(--ink-soft); }
.wx-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.wx-day { font-size: .72rem; color: var(--ink-soft); padding: 4px 0; border-radius: 8px; transition: background .2s, transform .2s var(--ease-spring); }
.wx-day:hover { background: var(--bg-soft); transform: translateY(-2px); }
.wx-day b { display: block; color: var(--pine-deep); font-size: .78rem; }
.wx-day .wd-ico { font-size: 1.05rem; display: block; margin: 2px 0; }
/* Dashboard vitals tiles (fuel, ER, river, flights, fire) */
.v-body { min-height: 76px; }
.v-skel { color: var(--ink-soft); font-size: .88rem; animation: pulse-dot 1.6s infinite; margin: 0; }
.v-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .9rem; padding: 2px 0; border-bottom: 1px dashed var(--sage); }
.v-row:last-of-type { border-bottom: 0; }
.v-row span { color: var(--ink-soft); }
.v-row b { color: var(--pine-deep); font-weight: 700; white-space: nowrap; }
.v-row.v-sub b { font-weight: 600; font-size: .85rem; }
.v-up { color: #C0392B; font-size: .78rem; }
.v-dn { color: #1E8449; font-size: .78rem; }
.v-big { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--pine-deep); white-space: nowrap; }
.v-trend { font-weight: 600; font-size: .85rem; color: var(--ink-soft); text-transform: capitalize; }
.v-fire { font-size: .8rem; color: var(--pine-deep); font-weight: 600; margin: 0 0 4px; line-height: 1.4; }
.v-note { font-size: .72rem; color: var(--ink-soft); margin: 8px 0 0; line-height: 1.4; }
.v-note a { color: var(--burnished, #B07E1E); }
.v-line { font-size: .82rem; font-weight: 600; color: var(--pine-deep); margin: 6px 0 0; }
/* ER names can wrap to 2 lines; keep the wait figure on its own line, unbroken */
#er-body .v-row { align-items: flex-start; }
#er-body .v-row span { font-size: .86rem; line-height: 1.25; }
/* Flights: city left, time pushed right, status badge trailing; wraps cleanly */
.vf-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; font-size: .84rem; padding: 3px 0; border-bottom: 1px dashed var(--sage); }
.vf-row:last-of-type { border-bottom: 0; }
.vf-city { color: var(--ink-soft); }
.vf-time { font-weight: 700; color: var(--pine-deep); margin-left: auto; }
.vf-st { font-size: .72rem; font-weight: 600; }
.vf-st.bad { color: #C0392B; }
.vf-st.ok { color: #1E8449; }

/* Live webcams: dashboard tile + page grid */
.tile-cams { display: flex; flex-direction: row; align-items: center; gap: 8px 16px; flex-wrap: wrap; text-decoration: none; color: inherit; }
.tile-cams:hover { border-color: var(--marigold); transform: translateY(-3px); }
.tile-cams .tile-label { margin: 0; }
.cams-sub { font-size: .9rem; color: var(--ink-soft); margin: 0; flex: 1 1 220px; }
.cams-cta { margin-left: auto; font-weight: 700; color: var(--burnished, #B07E1E); font-size: .95rem; white-space: nowrap; }
.cam-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cam { margin: 0; }
.cam-frame { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; border: 1px solid var(--sage); background: #000; }
.cam-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cam-cap { margin: 8px 2px 0; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 700px) { .cam-grid { grid-template-columns: 1fr; } }
.wx-cond { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.wx-stat { font-size: .72rem; color: var(--ink-soft); background: var(--bg-soft); border-radius: 8px; padding: 3px 8px; white-space: nowrap; }
.wx-stat b { color: var(--pine-deep); font-weight: 700; }
.wx-sun { font-size: .78rem; color: var(--ink-soft); margin: 10px 0 0; }

/* market + alerts + ask tiles */
.mk-status { font-weight: 700; color: var(--pine-deep); margin: 0 0 4px; }
.mk-status.open { color: #1B7A3D; }
.mk-sub { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.al-line { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-soft); margin: 0 0 6px; flex-wrap: wrap; }
.dot-ok { background: #2E9E6B; }
.dot-warn { background: var(--danger); }
.ask-mini { display: flex; gap: 8px; margin-bottom: 8px; }
.ask-mini input {
  flex: 1; min-width: 0; font: inherit; font-size: .9rem; padding: .55em .9em;
  border: 1.5px solid rgba(12,12,12,.25); border-radius: 999px;
}
.ask-mini input:focus { border-color: var(--river); outline: 2px solid var(--river-soft); }
.ask-mini button {
  border: 0; background: var(--marigold); color: var(--pine-deep); font-weight: 800; font-size: 1rem;
  border-radius: 999px; width: 40px; cursor: pointer; transition: transform .2s var(--ease-spring);
}
.ask-mini button:hover { transform: scale(1.1); }

.today-band { padding-block: clamp(30px, 5vw, 56px); }
.quick-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.quick-row a {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  background: var(--card); border: 1.5px solid rgba(12,12,12,.16); border-radius: 999px;
  padding: .4em 1.05em; text-decoration: none; font-weight: 700; font-size: .9rem; color: var(--pine-deep);
  transition: transform .2s var(--ease-spring), border-color .2s, box-shadow .2s;
}
.quick-row a:hover { transform: translateY(-2px); border-color: var(--river); box-shadow: var(--shadow); color: var(--river); }
.quick-row .q-ico { font-size: 1.1rem; }

/* ---------- mobile tap targets: ensure interactive elements are big enough to tap ---------- */
@media (max-width: 640px) {
  /* Centered flex-wrap staggers the four uneven-height columns on a phone. A
     two-up grid keeps them left-aligned and on a tidy baseline instead. */
  .foot-cols { display: grid; grid-template-columns: 1fr 1fr; justify-content: normal; align-items: start; text-align: left; gap: 26px 20px; }
  .foot-col { min-width: 0; }
  .foot-col ul { gap: 2px; }
  .foot-col ul a { display: block; padding: 11px 0; line-height: 1.25; }
  .m-subrow a { padding: 11px 0; }
  .foot-legal a, .foot-sig a { display: inline-block; padding: 4px 0; }
  .rail-card { min-height: 48px; }
  .more-link { display: inline-block; padding: 6px 0; }
}
.today-empty { background: var(--card); border-radius: var(--radius); padding: 24px 26px; color: var(--ink-soft); box-shadow: var(--shadow); }

/* ---------- interactive city map (Leaflet) ---------- */
.city-map-block { margin-top: 6px; }
.map-filters { margin-bottom: 12px; }
.map-card {
  border: 2px solid var(--pine-deep); border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--river-soft); overflow: hidden;
  /* Leaflet panes use z-index up to ~1000; isolate them so the sticky header always wins */
  position: relative; isolation: isolate; z-index: 0;
}
#city-map { height: min(480px, 62vh); min-height: 340px; background: var(--ice); }
.map-fallback { padding: 26px; color: var(--ink-soft); }
.map-note { font-size: .8rem; color: var(--ink-soft); margin-top: 10px; }
.trail-key { display: inline-block; width: 26px; height: 0; border-top: 4px dotted var(--river); vertical-align: middle; margin-right: 4px; }
.hf-pin-wrap { background: none; border: none; }
.hf-pin {
  width: 38px; height: 38px; border-radius: 50% 50% 50% 6px;
  background: #fff; border: 2.5px solid var(--pine-deep);
  display: grid; place-content: center; font-size: 17px;
  box-shadow: 0 3px 10px rgba(12,12,12,.35);
  transition: transform .25s var(--ease-spring), border-color .2s;
  transform: rotate(-8deg);
}
.hf-pin:hover { transform: rotate(0) scale(1.18); border-color: var(--marigold); z-index: 10; }
.leaflet-popup-content-wrapper {
  border-radius: 14px; border: 2px solid var(--pine-deep);
  box-shadow: 4px 4px 0 var(--river-soft);
  font-family: var(--font-body);
}
.leaflet-popup-content { margin: 14px 16px; line-height: 1.5; }
.leaflet-popup-tip { border: 1px solid var(--pine-deep); }
.hf-pop .mp-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.hf-pop .mp-emoji { font-size: 1.4rem; line-height: 1; }
.hf-pop .mp-name { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--pine-deep); }
.hf-pop .mp-cat { font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--river-soft); color: var(--river); border-radius: 999px; padding: .28em .7em; }
.hf-pop .mp-blurb { margin: 0 0 6px; color: var(--ink-soft); font-size: .88rem; }
.hf-pop .mp-walk { color: var(--ink-soft); font-size: .82rem; margin: 0 0 8px; }
.hf-pop .mp-walk::before { content: "🚶 "; }
.hf-pop .mp-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.hf-pop .mp-link { font-weight: 700; font-size: .88rem; }

/* ---------- eat & drink explorer + taproom passport ---------- */
.eat-toolbar { margin-bottom: 20px; }
.eat-toolbar .filters { margin-bottom: 8px; }
.chip-area { border-style: dashed; }
.eat-grid .eat-card[hidden] { display: none; }
.eat-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.eat-top h3 { margin-bottom: .2em; }
.eat-price { font-weight: 800; color: var(--river); font-size: .9rem; letter-spacing: .06em; flex: none; }
.eat-meta { font-size: .82rem; color: var(--ink-soft); margin: 0 0 8px; }
.eat-tags { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 5px; }
.eat-card.eat-winner {
  border-color: var(--marigold); box-shadow: 0 0 0 4px var(--marigold-soft), var(--shadow-lift);
  animation: winner-pop .6s var(--ease-spring);
}
@keyframes winner-pop { 0% { transform: scale(.96); } 55% { transform: scale(1.04); } 100% { transform: none; } }
.dice-btn { white-space: nowrap; }
.dice-btn.rolling { animation: dice-roll .6s var(--ease-spring); }
@keyframes dice-roll { 25% { transform: rotate(-14deg) scale(1.08); } 65% { transform: rotate(10deg) scale(1.05); } }

.passport-bar { margin-bottom: 18px; }
.pp-track { height: 14px; border-radius: 999px; background: var(--bg-soft); border: 1.5px solid rgba(12,12,12,.15); overflow: hidden; }
.pp-fill { height: 100%; background: linear-gradient(90deg, var(--river), var(--marigold)); border-radius: 999px; transition: width .6s var(--ease-out); }
.pp-label { font-weight: 700; font-size: .9rem; color: var(--pine-deep); margin: 8px 0 0; }
.tap-card { font: inherit; text-align: left; cursor: pointer; position: relative; }
.tap-card .tap-name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--pine-deep); margin-bottom: .25em; }
.tap-card .tap-blurb { display: block; color: var(--ink-soft); font-size: .95rem; }
.tap-card .eat-meta { display: block; }
.tap-stamp { font-size: 1.6rem; display: inline-block; margin-bottom: 8px; filter: grayscale(1); opacity: .5; transition: filter .3s, opacity .3s, transform .4s var(--ease-spring); }
.tap-check {
  position: absolute; top: 14px; right: 14px; font-size: .72rem; font-weight: 800;
  color: #1B7A3D; background: #E7F5EC; border-radius: 999px; padding: .3em .8em;
  opacity: 0; transform: rotate(-8deg) scale(.7); transition: opacity .3s, transform .35s var(--ease-spring);
}
.tap-card.stamped { border-color: var(--river); background: linear-gradient(160deg, #fff 60%, var(--river-soft)); }
.tap-card.stamped .tap-stamp { filter: none; opacity: 1; transform: rotate(-10deg) scale(1.15); }
.tap-card.stamped .tap-check { opacity: 1; transform: rotate(-8deg) scale(1); }
#taproom-map { height: min(440px, 58vh); min-height: 320px; background: var(--ice); }

/* ---------- animated motifs (brand line-art icons) ---------- */
.motif { width: clamp(76px, 11vw, 116px); height: auto; flex: none; filter: drop-shadow(0 4px 10px rgba(12,12,12,.12)); }
.page-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
@media (max-width: 480px) { .page-head-row .motif { width: 64px; } }
@keyframes m-float { 50% { transform: translateY(-6px); } }
.m-float { animation: m-float 3.6s ease-in-out infinite; }
@keyframes m-sway { 50% { transform: rotate(3.5deg); } }
.m-sway { animation: m-sway 4s ease-in-out infinite; }
.m-sway-late { animation: m-sway 4s ease-in-out 1.2s infinite; }
@keyframes m-rise { 0% { transform: translateY(5px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
.m-rise { animation: m-rise 2.8s ease-in-out infinite; }
.m-steam { animation: m-rise 2.4s ease-in-out infinite; }
@keyframes m-fall { 0% { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
.m-fall { animation: m-fall 3.4s linear infinite; }
.m-fall-late { animation: m-fall 3.4s linear 1.7s infinite; }
@keyframes m-spin { to { transform: rotate(360deg); } }
.m-spin-slow { animation: m-spin 16s linear infinite; }
@keyframes m-wavex { 50% { transform: translateX(-7px); } }
.m-wave { animation: m-wavex 4.5s ease-in-out infinite; }
@keyframes m-stamp-kf { 0%, 72%, 100% { transform: scale(1) rotate(0); } 80% { transform: scale(1.18) rotate(-7deg); } 88% { transform: scale(1); } }
.m-stamp { animation: m-stamp-kf 3.6s var(--ease-spring) infinite; }
@keyframes m-ring-kf { 0%, 78%, 100% { transform: rotate(0); } 82% { transform: rotate(-9deg); } 86% { transform: rotate(8deg); } 90% { transform: rotate(-5deg); } 94% { transform: rotate(3deg); } }
.m-ring { animation: m-ring-kf 3.2s ease-in-out infinite; }
@keyframes m-kite-kf { 0%, 100% { transform: translate(0, 0) rotate(0); } 30% { transform: translate(-4px, -6px) rotate(-5deg); } 65% { transform: translate(3px, -3px) rotate(4deg); } }
.m-kite { animation: m-kite-kf 5.5s ease-in-out infinite; }
/* sun sweeps the arc by rotating about the arc's centre, works everywhere,
   unlike offset-path on SVG children (broken in Safari & co.) */
.m-sunarc { animation: m-sunarc-kf 9s ease-in-out infinite alternate; transform-box: view-box; }
@keyframes m-sunarc-kf { from { transform: rotate(-12deg); } to { transform: rotate(-168deg); } }
@keyframes m-dash { to { stroke-dashoffset: -46; } }
.m-dashmove { stroke-dasharray: 14 9; animation: m-dash 1.4s linear infinite; }
.m-spark { animation: sparkle 2.8s ease-in-out infinite; transform-origin: 79px 70px; }
@keyframes m-needle-kf { 0%, 100% { transform: rotate(-16deg); } 45% { transform: rotate(22deg); } 65% { transform: rotate(12deg); } 80% { transform: rotate(18deg); } }
.m-needle { animation: m-needle-kf 5s ease-in-out infinite; }

/* event category colors */
.event-row { border-left: 5px solid var(--catc, var(--river)); }
.badge-cat { background: color-mix(in srgb, var(--catc, var(--river)) 12%, #fff); color: var(--catc, var(--river)); }
.card-kicker .kick-cat { color: var(--catc, var(--river)); }
.eventful-card { border-left: 5px solid var(--catc, var(--river)); }

/* ---------- guides (long-form articles) ---------- */
.guide-eyebrow a { text-decoration: none; }
.gcluster-chip {
  display: inline-flex; align-items: center; gap: .3em;
  background: color-mix(in srgb, var(--clc, var(--river)) 12%, #fff);
  color: var(--clc, var(--river)); border-radius: 999px; padding: .22em .8em;
  font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.guide-meta { font-size: .86rem; color: var(--ink-soft); margin: 4px 0 14px; }
.toc {
  background: var(--bg-soft); border-radius: var(--radius); padding: 18px 22px;
  margin: 26px 0 8px; border-left: 5px solid var(--clc, var(--river));
}
.toc-head { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--pine-deep); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 30px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { text-decoration: none; font-weight: 600; font-size: .93rem; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.takeaways {
  background: #fff; border: 2px solid var(--pine-deep); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--river-soft); padding: 22px 26px; margin-top: 44px;
}
.takeaways h2 { margin-top: 0; }
.takeaways ul { margin: 0; padding-left: 1.2em; }
.takeaways li { margin-bottom: 10px; }
.takeaways li::marker { color: var(--marigold); font-weight: 800; }
.guide-card { position: relative; border-top: 5px solid var(--clc, var(--river)); }
.guide-emoji { font-size: 1.9rem; line-height: 1; display: inline-block; margin: 6px 0 10px; transition: transform .4s var(--ease-spring); }
.guide-card:hover .guide-emoji { transform: scale(1.2) rotate(-6deg); }
.guide-card-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px; }

/* Compact guide tiles (homepage 'latest guides' row) */
.guide-mini-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.guide-mini { display: flex; flex-direction: column; gap: 7px; padding: 15px 15px 16px; border: 1px solid var(--sage); border-radius: 14px; background: var(--card); text-decoration: none; color: inherit; transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out), border-color .25s; }
.guide-mini:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(20,20,20,.08); border-color: var(--marigold); }
.guide-mini .guide-motif { width: 42px; height: 42px; margin: 0; }
.guide-mini:hover .guide-motif { transform: scale(1.1) rotate(-4deg); }
.guide-mini .guide-emoji { font-size: 1.7rem; }
.guide-mini-title { font-size: .95rem; font-weight: 700; line-height: 1.28; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guide-mini-meta { margin-top: auto; font-size: .72rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
@media (max-width: 900px) { .guide-mini-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .guide-mini-row { grid-template-columns: repeat(2, 1fr); } }
.guide-card .guide-date { font-size: .8rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
.guide-card .card-arrow { position: static; opacity: 1; transform: none; }
.guide-new {
  display: inline-block; background: var(--marigold); color: var(--pine-deep);
  font-weight: 800; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .1em .5em; border-radius: 999px; vertical-align: middle;
}
.related-guides { margin-top: 52px; }
.guide-article .callout { border-left-color: var(--clc, var(--river)); }
#guides-grid .guide-card[hidden] { display: none; }

/* ---------- images: event thumbs, eat cards, popup photos ---------- */
.event-row.has-thumb { position: relative; padding-right: 112px; }
.event-thumb { position: absolute; top: 12px; right: 12px; width: 88px; height: 66px; border-radius: 10px; overflow: hidden; background: var(--bg-soft); border: 1px solid rgba(12,12,12,.12); }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) { .event-row.has-thumb { padding-right: 16px; padding-top: 86px; } .event-thumb { width: calc(100% - 24px); height: 70px; } }
.eat-img { height: 120px; border-radius: 10px; overflow: hidden; margin-bottom: 12px; background: var(--bg-soft); }
.eat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.card:hover .eat-img img { transform: scale(1.05); }

/* Ask Freddy band, home-page AI entry point */
.ask-band {
  background:
    radial-gradient(120% 140% at 88% -20%, rgba(240,176,48,.18), transparent 60%),
    radial-gradient(90% 120% at 0% 120%, rgba(160,110,20,.14), transparent 60%),
    var(--pine-deep);
  color: #F4EFE4; border-radius: var(--radius); position: relative; overflow: hidden;
  margin: 8px 0;
}
.ask-band-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(22px, 3.5vw, 44px); align-items: center; }
.ask-eyebrow { font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--marigold); margin: 0 0 10px; }
.ask-eyebrow .spark { display: inline-block; margin-right: 3px; }
.ask-band h2 { color: #fff; margin: 0 0 12px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.ask-lede { color: #D8D3C8; font-size: clamp(1rem, 1.7vw, 1.12rem); max-width: 38em; margin: 0 0 20px; }
.ask-big { display: flex; gap: 10px; max-width: 560px; margin-bottom: 16px; flex-wrap: wrap; }
.ask-big input {
  flex: 1; min-width: 220px; font: inherit; font-size: 1.02rem; color: var(--pine-deep);
  background: #fff; border: 2px solid transparent; border-radius: 999px; padding: .8em 1.2em;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,.5); transition: border-color .2s, box-shadow .2s;
}
.ask-big input::placeholder { color: #8F897C; }
.ask-big input:focus { outline: none; border-color: var(--marigold); box-shadow: 0 0 0 4px rgba(240,176,48,.28); }
.ask-big button {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 800; cursor: pointer;
  background: var(--marigold); color: var(--pine-deep); border: 0; border-radius: 999px; padding: .78em 1.4em;
  transition: transform .2s var(--ease-spring), background .2s, box-shadow .2s; box-shadow: var(--shadow);
}
.ask-big button:hover { transform: translateY(-2px); background: #FFCB5C; box-shadow: var(--shadow-lift); }
.ask-big button .fab-icon { display: inline-flex; }
.ask-big button .fab-icon .logo-mark circle { fill: var(--pine-deep); }
.ask-big button .fab-icon .logo-mark path { stroke: var(--pine-deep); }
.ask-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ask-chips-label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #A79F8E; margin-right: 2px; }
.ask-chip {
  font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; color: #F4EFE4;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(244,239,228,.28); border-radius: 999px;
  padding: .5em 1em; transition: background .2s, border-color .2s, transform .2s var(--ease-out), color .2s;
}
.ask-chip:hover { background: var(--marigold); border-color: var(--marigold); color: var(--pine-deep); transform: translateY(-2px); }
.ask-phone-card {
  --wp-ink: #F4EFE4; --wp-screen: #0B0820; --wp-teal: #37E0C8; --wp-pink: #FF5FA2; --wp-gold: #FFC93E;
  display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--wp-ink);
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 88% -20%, rgba(255,95,162,.24), transparent 60%),
    radial-gradient(90% 120% at 0% 120%, rgba(55,224,200,.20), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 4px),
    #150F2B;
  border: 1.5px solid rgba(244,239,228,.22);
  padding: 28px 24px 22px;
  box-shadow: 5px 5px 0 var(--wp-pink), 10px 10px 0 rgba(55,224,200,.42);
  transition: transform .35s var(--ease-spring), box-shadow .35s;
}
.ask-phone-card::before { /* checkerboard rail, Memphis-issue */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px;
  background: conic-gradient(var(--wp-gold) 25%, #0B0820 0 50%, var(--wp-gold) 0 75%, #0B0820 0);
  background-size: 10px 10px;
}
.ask-phone-card:hover { transform: translateY(-4px); box-shadow: 7px 7px 0 var(--wp-pink), 14px 14px 0 rgba(55,224,200,.5); }
.ask-phone-emoji { font-size: 2.1rem; line-height: 1; margin-bottom: 8px; display: inline-block; animation: ask-phone-glow 2.8s ease-in-out infinite; }
@keyframes ask-phone-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255,201,62,0)); } 50% { filter: drop-shadow(0 0 7px rgba(255,201,62,.6)); } }
.ask-phone-kicker { font-size: .84rem; color: var(--wp-teal); font-weight: 800; letter-spacing: .03em; }
.ask-phone-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.05rem, 1.75vw, 1.32rem); line-height: 1.1; letter-spacing: 0;
  color: var(--wp-gold); margin: 2px 0; text-shadow: 2px 2px 0 rgba(11,8,32,.55);
}
.ask-phone-num {
  align-self: flex-start; margin: 10px 0 8px;
  font-family: ui-monospace, "SF Mono", Menlo, "Courier New", monospace;
  font-weight: 700; font-size: 1.42rem; letter-spacing: .04em; color: #A8FF60;
  background: var(--wp-screen); border: 1.5px solid rgba(168,255,96,.35); border-radius: 8px;
  padding: .22em .5em; text-shadow: 0 0 8px rgba(168,255,96,.55);
  box-shadow: inset 0 0 14px rgba(0,0,0,.85);
}
.ask-phone-note {
  font-family: ui-monospace, "SF Mono", Menlo, "Courier New", monospace;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8A83A8;
}
.ask-phone-go { margin-top: 12px; font-weight: 800; font-size: .86rem; color: var(--wp-gold); transition: transform .3s var(--ease-out); }
.ask-phone-card:hover .ask-phone-go { transform: translateX(4px); }
@media (max-width: 780px) { .ask-band-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ask-phone-card, .ask-phone-emoji, .ask-chip, .ask-big button { transition: none !important; animation: none !important; } }

/* postcard rack, the "for visitors" router */
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.postcard {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1.5px solid rgba(12,12,12,.16); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); rotate: var(--tilt, 0deg);
  transition: rotate .45s var(--ease-spring), transform .45s var(--ease-spring), box-shadow .35s, border-color .3s;
}
.postcard:hover, .postcard:focus-visible { rotate: 0deg; transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--pc); }
.postcard:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }
.pc-art {
  position: relative; display: grid; place-content: center; height: 128px;
  background:
    radial-gradient(120% 150% at 8% -20%, color-mix(in srgb, var(--pc) 20%, transparent), transparent 55%),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--pc) 7%, transparent) 0 1.5px, transparent 1.5px 12px),
    color-mix(in srgb, var(--pc) 8%, #FFFDF6);
  border-bottom: 1.5px dashed color-mix(in srgb, var(--pc) 40%, transparent);
}
.pc-art .motif { width: 78px; height: 78px; }
.pc-stamp {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 40px;
  display: grid; place-content: center; background: var(--pc); color: #fff;
  border-radius: 4px; outline: 2px dashed #fff; outline-offset: -4px;
  rotate: 4deg; transition: rotate .4s var(--ease-spring), transform .4s var(--ease-spring);
  box-shadow: 2px 2px 0 rgba(12,12,12,.15);
}
.postcard:hover .pc-stamp { rotate: -6deg; transform: scale(1.12); }
.pc-mark { position: absolute; left: 10px; top: 12px; color: var(--pc); opacity: .45; transition: opacity .3s, transform .5s var(--ease-out); }
.postcard:hover .pc-mark { opacity: .8; transform: translateX(4px); }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-eyebrow {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: .92rem; color: var(--pc);
}
.pc-body h3 { margin: 0 0 2px; }
.pc-body p { color: var(--ink-soft); font-size: .95rem; margin: 0 0 10px; }
.pc-go {
  margin-top: auto; font-weight: 700; font-size: .86rem; color: var(--pc);
  display: inline-flex; align-items: center; gap: 6px;
}
.pc-go b { transition: transform .3s var(--ease-out); }
.postcard:hover .pc-go b { transform: translateX(5px); }
@media (max-width: 960px) { .pc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pc-grid { grid-template-columns: 1fr; } .postcard { rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) { .postcard, .pc-stamp, .pc-mark, .pc-go b { transition: none !important; } }

.swag-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.swag-card { padding: 14px 14px 20px; }
.swag-img { display: block; aspect-ratio: 1 / 1; border-radius: calc(var(--radius) - 8px); overflow: hidden; background: var(--bg-soft); margin-bottom: 14px; }
.swag-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.card:hover .swag-img img { transform: scale(1.045); }
.swag-card h3 { margin-bottom: .25em; }
.swag-lg { grid-column: span 4; }
.swag-sm { grid-column: span 3; padding: 10px 10px 14px; }
.swag-sm .swag-img { margin-bottom: 10px; border-radius: calc(var(--radius) - 10px); }
.swag-sm h3 { font-size: 1.02rem; margin-bottom: 0; }
@media (max-width: 980px) {
  .swag-lg { grid-column: span 6; }
  .swag-sm { grid-column: span 4; }
}
@media (max-width: 620px) {
  .swag-grid { gap: 10px; }
  .swag-lg { grid-column: span 12; }
  .swag-sm { grid-column: span 6; }
}
.pop-img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.pop-credit { font-size: .62rem; color: var(--ink-soft); margin: -4px 0 6px; }

/* ---------- things-to-do command centre ---------- */
.act-grid .act-card[hidden] { display: none; }
.act-card { overflow: hidden; }
.act-card .act-emoji {
  font-size: 2rem; line-height: 1; display: inline-block; margin-bottom: 10px;
  transition: transform .45s var(--ease-spring);
}
.act-card:hover .act-emoji { transform: scale(1.35) rotate(-8deg); }
.act-card::after {
  content: ""; position: absolute; right: -22px; bottom: -30px; width: 110px; height: 110px;
  background: radial-gradient(circle, var(--marigold-soft) 0%, transparent 70%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.act-card:hover::after { opacity: 1; }
.act-card:hover { transform: translateY(-5px) rotate(-.5deg); }
.act-season {
  position: absolute; top: 14px; right: 14px; font-size: .68rem; font-weight: 800;
  letter-spacing: .05em; background: var(--river-soft); color: var(--river);
  border-radius: 999px; padding: .25em .7em;
}
.act-card.eat-winner { border-color: var(--marigold); box-shadow: 0 0 0 4px var(--marigold-soft), var(--shadow-lift); animation: winner-pop .6s var(--ease-spring); }

.season-tabs { display: inline-flex; margin-bottom: 18px; }
.season-panel { display: none; }
.season-panel.on { display: block; animation: panel-fade .45s var(--ease-out); }
@keyframes panel-fade { from { opacity: 0; transform: translateY(10px); } }
.season-item h3 { margin-bottom: .2em; }

.hub-stats { margin-top: 8px; }
.hub-stats .stat b { font-variant-numeric: tabular-nums; }

.rail {
  display: flex; flex-wrap: wrap; gap: 12px; padding: 6px 2px 8px;
}
.rail-card {
  display: inline-flex; align-items: center; gap: .55em;
  background: #fff; border: 2px solid var(--pine-deep); border-radius: var(--radius-sm);
  padding: .65em 1.25em; font-weight: 700; text-decoration: none; color: var(--pine-deep);
  box-shadow: 3px 3px 0 var(--river-soft);
  transition: transform .25s var(--ease-spring), box-shadow .25s, background .2s;
}
.rail-card:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--river-soft); background: var(--marigold-soft); color: var(--pine-deep); }
.rail-card span { font-size: 1.15rem; }

/* animated icons on the things-to-do tiles (activity grid, seasonal cards, guide rail) */
.act-icon { display: block; margin-bottom: 4px; }
.act-icon .motif { width: 62px; height: 62px; transition: transform .45s var(--ease-spring); }
.act-card:hover .act-icon .motif { transform: scale(1.12) rotate(-4deg); }
.heritage-icon { display: block; margin-bottom: 10px; }
.heritage-icon .motif { width: 64px; height: 64px; transition: transform .4s var(--ease-spring); }
.card:hover .heritage-icon .motif { transform: scale(1.12) rotate(-4deg); }
.season-item { display: flex; gap: 12px; align-items: flex-start; }
.season-icon { flex: none; }
.season-icon .motif { width: 46px; height: 46px; }
.season-item-body { min-width: 0; }
.rail-icon { display: inline-flex; align-items: center; }
.rail-icon .motif { width: 26px; height: 26px; }

/* ---------- Freddy the Radio Wonder Phone, full '90s cut ---------- */
.wonderphone {
  --wp-ink: #F4EFE4; --wp-bg: #150F2B; --wp-screen: #0B0820;
  --wp-teal: #37E0C8; --wp-pink: #FF5FA2; --wp-gold: #FFC93E;
  margin-top: 22px; position: relative; overflow: hidden; border-radius: var(--radius);
  color: var(--wp-ink);
  background:
    radial-gradient(900px 400px at 84% -12%, rgba(255,95,162,.20), transparent 62%),
    radial-gradient(760px 360px at -8% 112%, rgba(55,224,200,.16), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px),
    var(--wp-bg);
  padding: clamp(46px, 6vw, 66px) clamp(24px, 4vw, 44px);
  box-shadow: 7px 7px 0 var(--wp-pink), 14px 14px 0 rgba(55,224,200,.4);
}
.wonderphone p { color: #CFC9DF; position: relative; }
/* checkerboard rails */
.wp-rail {
  position: absolute; left: 0; right: 0; height: 14px;
  background: conic-gradient(var(--wp-gold) 25%, var(--wp-screen) 0 50%, var(--wp-gold) 0 75%, var(--wp-screen) 0);
  background-size: 14px 14px;
}
.wp-rail-top { top: 0; }
.wp-rail-bot { bottom: 0; filter: hue-rotate(0deg); }
/* Memphis confetti */
.wp-confetti { position: absolute; inset: 0; pointer-events: none; }
.wpc { position: absolute; opacity: .55; }
.wpc-squig { top: 30px; right: 7%; color: var(--wp-pink); animation: m-wavex 5s ease-in-out infinite; }
.wpc-zag { bottom: 40px; left: 5%; color: var(--wp-teal); animation: m-sway 5.4s ease-in-out infinite; transform-origin: 50% 100%; }
.wpc-tri {
  top: 44%; right: 3.4%; width: 0; height: 0; border-left: 10px solid transparent;
  border-right: 10px solid transparent; border-bottom: 18px solid var(--wp-gold);
  animation: m-sway 4.5s ease-in-out .4s infinite; transform: rotate(14deg);
}
.wpc-ringo { top: 26%; left: 3.2%; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--wp-teal); animation: m-float 4.4s ease-in-out infinite; }
.wpc-star { bottom: 24%; right: 11%; color: var(--wp-gold); font-size: 1rem; animation: m-spin 12s linear infinite; display: inline-block; }
.wpc-check {
  top: 34px; left: 10%; width: 32px; height: 32px; opacity: .35;
  background: conic-gradient(var(--wp-pink) 25%, transparent 0 50%, var(--wp-pink) 0 75%, transparent 0);
  background-size: 16px 16px; transform: rotate(-12deg); animation: m-float 6s ease-in-out .8s infinite;
}
.wp-grid { display: flex; gap: clamp(20px, 4.5vw, 52px); align-items: center; position: relative; }
/* hotline sticker + mixtape */
.wp-side { flex: none; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.wp-sticker { position: relative; width: 170px; height: 170px; display: grid; place-content: center; }
.wp-ringtext { position: absolute; inset: 0; animation: m-spin 26s linear infinite reverse; }
.wp-ringtext text { fill: var(--wp-ink); font-family: var(--font-body); font-size: 11px; font-weight: 800; letter-spacing: .22em; opacity: .85; }
.wp-sticker-core {
  width: 96px; height: 96px; border-radius: 50%; background: var(--wp-pink); color: var(--wp-screen);
  display: grid; place-content: center; transform: rotate(-8deg);
  border: 3px solid var(--wp-ink); box-shadow: 4px 4px 0 rgba(55,224,200,.55);
  animation: m-ring-kf 3.4s ease-in-out infinite; transform-origin: 50% 90%;
}
.wp-tape { filter: drop-shadow(5px 5px 0 rgba(255,95,162,.35)); transform: rotate(2.5deg); }
.wp-tape text { font-family: var(--font-body); }
.wp-reel { transform-box: fill-box; transform-origin: center; animation: m-spin 4.5s linear infinite; }
/* badge + layered sticker type */
.wp-badge {
  display: inline-block; background: #37E0C8; color: #0B0820 !important;
  font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .45em 1em; border-radius: 4px; transform: rotate(-1.6deg);
  box-shadow: 3px 3px 0 #FF5FA2; margin: 0 0 16px;
}
.wp-title { margin: 0 0 18px; }
.wp-t-pre {
  display: inline-block; font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.8rem); color: var(--wp-teal);
  transform: rotate(-2deg); margin-bottom: 4px; letter-spacing: .02em;
  text-shadow: 2px 2px 0 rgba(0,0,0,.45);
}
.wp-t-main { display: block; transform: rotate(-1.2deg); }
.wp-word {
  display: block; text-transform: uppercase; font-weight: 900;
  font-family: var(--font-display); font-size: clamp(2.5rem, 6.6vw, 4.7rem);
  line-height: .94; letter-spacing: .01em; color: var(--wp-gold);
  /* Layered 3D offset via text-shadow (em-scaled) so the pink/teal ghost layers
     stay glued to the text when it wraps on narrow screens. The old approach used
     absolutely-positioned ::before/::after duplicates, which detached from the
     wrapped lines on mobile and overlapped the next word. */
  text-shadow: 0.055em 0.055em 0 var(--wp-pink), 0.11em 0.11em 0 var(--wp-teal);
}
/* FM tuner, needle parked on memory */
.wp-tuner { position: relative; max-width: 440px; margin: 4px 0 18px; padding-top: 14px; }
.wp-freqs { display: flex; justify-content: space-between; font-size: .68rem; letter-spacing: .1em; color: #8A83A8; font-weight: 700; margin-bottom: 3px; }
.wp-band {
  display: block; height: 12px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(55,224,200,.55) 0 1.5px, transparent 1.5px 10%);
  background-size: 5% 100%; border: 1px solid rgba(55,224,200,.3);
  box-shadow: inset 0 0 10px rgba(0,0,0,.6);
}
.wp-needle {
  position: absolute; left: 86.5%; top: 24px; height: 22px; width: 3px;
  background: var(--wp-pink); border-radius: 2px; box-shadow: 0 0 10px rgba(255,95,162,.9);
  animation: wp-tune 7s ease-in-out infinite;
}
@keyframes wp-tune { 0%, 88%, 100% { transform: translateX(0); } 92% { transform: translateX(-5px); } 96% { transform: translateX(3px); } }
.wp-freq-led {
  display: inline-block; margin-top: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, "Courier New", monospace;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em;
  color: var(--wp-teal); background: var(--wp-screen);
  border: 1px solid rgba(55,224,200,.45); border-radius: 4px; padding: .35em .8em;
  text-shadow: 0 0 7px rgba(55,224,200,.8);
}
/* coiled cord divider */
.wp-cord { display: block; max-width: 100%; height: auto; color: var(--wp-pink); opacity: .65; margin: 14px 0 6px; }
/* caller-ID LCD + starburst */
.wp-callrow { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 8px 0 14px; }
.wp-lcd {
  display: inline-block; text-decoration: none;
  font-family: ui-monospace, "SF Mono", Menlo, "Courier New", monospace;
  font-weight: 700; font-size: clamp(1.6rem, 4.4vw, 2.5rem); letter-spacing: .06em;
  color: #A8FF60; background: #0B0820;
  border: 2px solid rgba(244,239,228,.18); border-radius: 12px; padding: .32em .6em;
  box-shadow: inset 0 0 20px rgba(0,0,0,.85), 0 0 18px rgba(168,255,96,.14), 4px 4px 0 rgba(255,95,162,.4);
  text-shadow: 0 0 9px rgba(168,255,96,.6);
  transition: filter .2s, transform .2s var(--ease-spring);
}
.wp-lcd:hover { filter: brightness(1.2); transform: translateY(-2px); }
.wp-burst {
  width: 92px; height: 92px; flex: none; display: grid; place-content: center;
  background: #FF5FA2; color: #fff;
  clip-path: polygon(50% 0%, 59% 12%, 72% 5%, 75% 19%, 90% 18%, 86% 32%, 100% 38%, 89% 50%, 100% 62%, 86% 68%, 90% 82%, 75% 81%, 72% 95%, 59% 88%, 50% 100%, 41% 88%, 28% 95%, 25% 81%, 10% 82%, 14% 68%, 0% 62%, 11% 50%, 0% 38%, 14% 32%, 10% 18%, 25% 19%, 28% 5%, 41% 12%);
  transform: rotate(-10deg); animation: m-stamp-kf 4.6s ease-in-out infinite;
  filter: drop-shadow(4px 4px 0 rgba(55,224,200,.55));
}
.wp-burst i { font-style: normal; font-weight: 900; font-size: .82rem; line-height: 1.05; text-align: center; letter-spacing: .05em; }
/* VHS-OSD status line */
.wp-status.wp-onair {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-family: ui-monospace, "SF Mono", Menlo, "Courier New", monospace;
  font-size: .74rem; letter-spacing: .14em;
  color: #B4ADC9 !important; border: 1.5px solid rgba(244,239,228,.22); border-radius: 6px;
  padding: .55em 1em; background: rgba(11,8,32,.75);
}
.wp-lamp { width: 10px; height: 10px; border-radius: 50%; background: #4A4462; box-shadow: inset 0 0 3px rgba(0,0,0,.5); flex: none; }
.wp-status.live { color: var(--wp-teal) !important; }
.wp-status.live .wp-lamp { background: #FF4D3D; box-shadow: 0 0 10px rgba(255,77,61,.9); animation: wp-blink 1.6s ease-in-out infinite; }
@keyframes wp-blink { 50% { opacity: .45; } }
@media (max-width: 720px) {
  .wp-grid { flex-direction: column; text-align: center; }
  .wp-side { flex-direction: row; align-items: center; gap: 10px; }
  .wp-tape { width: 150px; }
  .wp-callrow { justify-content: center; }
  .wp-tuner { margin-left: auto; margin-right: auto; }
  .wp-badge { transform: rotate(0); }
  .wp-cord { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .wonderphone *, .wonderphone *::before, .wonderphone *::after { animation: none !important; }
}

/* ---------- community directory ---------- */
.cg-head { margin: 30px 0 12px; }
.cg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cg-card {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  background: var(--card, #fff); border: 1.5px solid color-mix(in srgb, var(--pine) 12%, transparent);
  border-radius: 12px; padding: 14px 16px; transition: transform .18s var(--ease-out), border-color .2s, box-shadow .2s;
}
.cg-card:hover { transform: translateY(-2px); border-color: var(--river); box-shadow: 0 10px 24px -14px rgba(12,12,12,.3); }
.cg-name { font-weight: 700; color: var(--pine-deep); line-height: 1.3; }
.cg-meta { font-size: .78rem; color: var(--river); font-weight: 700; letter-spacing: .03em; }
.cg-blurb { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
hr.rule { border: 0; height: 2px; background: linear-gradient(90deg, var(--marigold), transparent); margin: 40px 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row a { background: var(--card); border: 1.5px solid color-mix(in srgb, var(--pine) 15%, transparent); border-radius: 999px; padding: .45em 1em; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink-soft); transition: all .2s; }
.pill-row a:hover { border-color: var(--pine); color: var(--pine-deep); transform: translateY(-1px); }

/* 404 */
.err-page { text-align: center; padding: 90px 20px 110px; }
.err-page h1 { font-size: clamp(3rem, 10vw, 6rem); }

/* ---------- responsive tweaks ---------- */
@media (max-width: 560px) {
  .event-row { grid-template-columns: 1fr; }
  .event-badges { grid-column: 1; grid-row: auto; }
  .chat-fab .fab-label { display: none; }
  .chat-fab { padding: 12px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { flex: none; width: auto; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-word, .ticker a { opacity: 1; transform: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .chat-fab, #freddy-chat, .filters, .search-row { display: none !important; }
  body { background: #fff; }
}

/* ---------- community event badge ---------- */
.badge-community { background: color-mix(in srgb, var(--marigold) 20%, #fff); color: #8A5A00; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--marigold) 45%, #fff); }

/* ---------- submit-event CTA (on the calendars) ---------- */
.submit-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--marigold-soft); border: 1px solid color-mix(in srgb, var(--marigold) 40%, #fff);
  border-radius: 16px; padding: 18px 22px; margin: 22px 0; }
.submit-cta-h { font-family: var(--font-display); font-weight: 800; color: var(--pine-deep); margin: 0; font-size: 1.08rem; }
.submit-cta-p { margin: .2em 0 0; color: var(--ink-soft); font-size: .95rem; }
.submit-cta .btn-primary { white-space: nowrap; }

/* ---------- submit-event form ---------- */
.hf-form { margin-top: 8px; }
.hf-form fieldset { border: 1px solid var(--line, #E7E0D2); border-radius: 16px; padding: 20px 22px; margin: 0 0 20px; }
.hf-form legend { font-family: var(--font-display); font-weight: 800; color: var(--pine-deep); padding: 0 8px; font-size: 1.05rem; }
.hf-form .field { margin: 0 0 14px; }
.hf-form .field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.hf-form label { display: block; font-weight: 600; color: var(--pine-deep); margin-bottom: 5px; font-size: .95rem; }
.hf-form .req { color: #B23A2E; }
.hf-form .opt { color: var(--ink-soft); font-weight: 400; font-size: .85em; }
.hf-form input[type=text], .hf-form input[type=date], .hf-form input[type=email], .hf-form input[type=url], .hf-form select, .hf-form textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #CBD3CE; border-radius: 10px; padding: 11px 12px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.hf-form input:focus, .hf-form select:focus, .hf-form textarea:focus {
  outline: none; border-color: var(--marigold); box-shadow: 0 0 0 3px var(--marigold-soft); }
.hf-form textarea { resize: vertical; min-height: 92px; }
.hf-form .field-check { display: flex; align-items: center; }
.hf-form .field-check label { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; }
.hf-form .field-check input { width: 18px; height: 18px; accent-color: var(--marigold); }
.hf-form .field-help { color: var(--ink-soft); font-size: .86rem; margin: 6px 0 0; }
.hf-form .cf-turnstile { margin: 4px 0 18px; }
.hf-form .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hf-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status.ok { background: #E7F4EC; color: #1E6B45; border: 1px solid #B6E0C6; }
.form-status.err { background: #FBEBE8; color: #A5372B; border: 1px solid #F0C4BC; }

/* ---------- guide-card illustrations (replace the emoji) ---------- */
.guide-motif { width: 64px; height: 64px; display: block; margin: 4px 0 8px; filter: drop-shadow(0 3px 8px rgba(12,12,12,.12)); transition: transform .4s var(--ease-spring); }
.guide-card:hover .guide-motif { transform: scale(1.1) rotate(-4deg); }

/* ---------- guides filter: topic layer ---------- */
.filter-div { align-self: center; width: 1px; height: 22px; background: color-mix(in srgb, var(--pine) 22%, transparent); margin: 0 3px; }
.chip-topic { background: color-mix(in srgb, var(--marigold) 10%, var(--card)); border-color: color-mix(in srgb, var(--marigold) 38%, transparent); }
.chip-topic:hover { border-color: var(--marigold); }
.chip-topic.on { background: var(--pine); border-color: var(--pine); color: #fff; }
@media (max-width: 560px) { .filter-div { display: none; } }


/* ---- guides hub: search + start-here rail (red-team item 2) ---- */
.start-here { margin: 4px 0 22px; }
.start-here .rail-title { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; font-weight: 700; }
.start-here .rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; scrollbar-width: thin; }
.start-here .rail > * { scroll-snap-align: start; margin: 0 !important; }
.guides-search-wrap { position: relative; margin: 0 0 6px; }
.guides-search-ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-soft); pointer-events: none; }
.guides-search { width: 100%; padding: 15px 16px 15px 46px; font-size: 1.05rem; font-family: var(--font-body); border: 2px solid color-mix(in srgb, var(--pine) 18%, transparent); border-radius: var(--radius-sm); background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.guides-search::placeholder { color: var(--ink-soft); opacity: .8; }
.guides-search:focus { outline: none; border-color: var(--river); box-shadow: 0 0 0 3px color-mix(in srgb, var(--river) 22%, transparent); }
.guides-count { display: block; margin: 8px 2px 0; font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.guides-empty { text-align: center; padding: 46px 20px; color: var(--ink-soft); font-size: 1.05rem; }


/* ---- reading progress + TOC scroll-spy (red-team item 5) ---- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: transparent; z-index: 300; pointer-events: none; }
.read-progress > span { display: block; height: 100%; width: 0; background: var(--marigold); }
.toc a.active { color: var(--river); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) { .read-progress > span { transition: width .12s linear; } }


/* ---- shop: garment subtext lines (red-team item 6) ---- */
.shop-lines .lines-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; margin-top: 18px; }
.line-card { background: var(--pine-deep); color: var(--bg); border-radius: var(--radius-sm); padding: 24px 18px; display: flex; flex-direction: column; gap: 7px; text-align: center; box-shadow: var(--shadow); min-height: 130px; justify-content: center; }
.line-logo { font-family: var(--font-display); font-weight: 800; font-size: .82rem; letter-spacing: .02em; color: var(--marigold); text-transform: none; }
.line-main { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; line-height: 1.24; }
.line-sub { font-size: .78rem; color: color-mix(in srgb, var(--bg) 66%, transparent); }


/* ---- per-event add-to-calendar (red-team item 3) ---- */
.event-cal { display: inline-block; margin-top: 9px; font-size: .82rem; font-weight: 700; color: var(--river); text-decoration: none; }
.event-cal:hover { text-decoration: underline; }


/* ---- events by neighbourhood (hyperlocal) ---- */
.event-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.event-areas[hidden] { display: none; }
.area-lead { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-right: 2px; }
.areachip { font-size: .85rem; }

/* ---- EN/FR language toggle ---- */
.lang-toggle { display: inline-flex; align-items: stretch; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; margin-left: 10px; line-height: 1; align-self: center; }
.lang-toggle .lang-opt { padding: 5px 10px; font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .04em; color: var(--ink-soft); text-decoration: none; display: inline-flex; align-items: center; transition: background .18s ease, color .18s ease; }
.lang-toggle .lang-opt.on { background: var(--ink); color: #fff; }
.lang-toggle .lang-opt:not(.on):hover { background: rgba(26,26,26,.08); color: var(--ink); }
.mobile-nav .lang-toggle { margin: 8px 0 0; }

.eat-link{color:inherit;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .15s,color .15s}
.eat-link:hover,.eat-link:focus{border-bottom-color:#B07E1E;color:#B07E1E}
.eat-link::after{content:'\2197';font-size:.7em;margin-left:2px;opacity:.5}

.guide-fig { margin: 8px 0 22px; }
.guide-fig img { width: 100%; height: auto; border-radius: 12px; border: 1.5px solid rgba(12,12,12,.16); box-shadow: var(--shadow); display: block; }
.guide-fig figcaption { margin-top: 8px; font-size: .85rem; color: var(--ink-soft); line-height: 1.5; }
.fig-credit { opacity: .65; font-size: .92em; }

/* ---------- Fredericton's teams (sports page) ---------- */
.teams-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 22px 0 10px; }
@media (max-width: 720px) { .teams-grid { grid-template-columns: 1fr; } }
.team-card {
  position: relative; border: 1.5px solid rgba(12,12,12,.14); border-radius: 16px;
  background: var(--surface, #fff); padding: 20px 20px 18px; overflow: hidden;
  box-shadow: var(--shadow); border-top: 5px solid var(--tc1);
}
.team-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--tc1), var(--tc2)); }
.team-top { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.team-logo-wrap {
  flex: 0 0 auto; width: 84px; height: 84px; display: grid; place-items: center;
  border-radius: 14px; background: rgba(255,255,255,.9); border: 1.5px solid rgba(12,12,12,.10);
  padding: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.team-logo { max-width: 100%; max-height: 100%; object-fit: contain; display: block;
  animation: teamFloat 4.5s ease-in-out infinite; transform-origin: center; will-change: transform; }
.team-card:nth-child(2) .team-logo { animation-delay: -.6s; }
.team-card:nth-child(3) .team-logo { animation-delay: -1.2s; }
.team-card:nth-child(4) .team-logo { animation-delay: -1.8s; }
.team-card:hover .team-logo { animation-duration: 1.8s; }
@keyframes teamFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-1.5deg); } }
/* monogram fallback (used until a real logo file is present) */
.team-logo-wrap--mono { background: linear-gradient(135deg, var(--tc1), var(--tc2)); border-color: transparent; }
.team-mono { font-weight: 900; font-size: 1.9rem; letter-spacing: .5px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.3);
  animation: teamFloat 4.5s ease-in-out infinite; }
.team-id h3 { margin: 0 0 2px; font-size: 1.25rem; line-height: 1.15; }
.team-sub { margin: 0; font-size: .82rem; font-weight: 700; color: var(--tc1); text-transform: uppercase; letter-spacing: .3px; }
.team-meta { margin: 3px 0 0; font-size: .85rem; color: var(--ink-soft); }
.team-blurb { margin: 0 0 12px; font-size: .95rem; line-height: 1.55; }
.team-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.team-pill { font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--tc1) 12%, transparent); color: var(--tc1); border: 1px solid color-mix(in srgb, var(--tc1) 26%, transparent); }
.team-fold { border-top: 1px solid rgba(12,12,12,.10); }
.team-fold > summary { cursor: pointer; list-style: none; padding: 11px 2px; font-weight: 700; font-size: .92rem;
  display: flex; align-items: center; justify-content: space-between; }
.team-fold > summary::-webkit-details-marker { display: none; }
.team-fold > summary::after { content: "+"; font-size: 1.2rem; color: var(--tc1); font-weight: 700; transition: transform .2s; }
.team-fold[open] > summary::after { content: "\2013"; }
.team-fold-body { padding: 2px 0 14px; }
.team-tbl { width: 100%; border-collapse: collapse; font-size: .86rem; }
.team-tbl th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .4px; color: var(--ink-soft);
  border-bottom: 1.5px solid rgba(12,12,12,.16); padding: 5px 8px 5px 0; }
.team-tbl td { padding: 5px 8px 5px 0; border-bottom: 1px solid rgba(12,12,12,.07); vertical-align: top; }
.team-tbl--roster { display: block; max-height: 260px; overflow-y: auto; }
.team-note { margin: 10px 0 0; font-size: .8rem; color: var(--ink-soft); line-height: 1.5; }
.team-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(12,12,12,.10); }
.team-links a { font-size: .85rem; font-weight: 700; color: var(--tc1); text-decoration: none; }
.team-links a:hover { text-decoration: underline; }
.team-foot { margin-top: 16px; font-size: .8rem; color: var(--ink-soft); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .team-logo, .team-mono { animation: none !important; } }

/* ---- landscape stacked team tiles (override) ---- */
.teams-grid { grid-template-columns: 1fr !important; gap: 20px; }
@media (min-width: 721px) {
  .team-card { display: grid; grid-template-columns: 250px 1fr; column-gap: 32px; align-items: start; padding: 26px 30px; }
  .team-top { grid-column: 1; grid-row: 1 / span 30; flex-direction: column; text-align: center; align-items: center; gap: 12px; margin-bottom: 0; padding-right: 26px; border-right: 1px solid rgba(12,12,12,.09); }
  .team-top .team-id { text-align: center; }
  .team-top .team-id h3 { font-size: 1.4rem; }
  .team-logo-wrap { width: 116px; height: 116px; border-radius: 18px; }
  .team-blurb, .team-pills, .team-fold, .team-links { grid-column: 2; }
  .team-blurb { margin-top: 2px; font-size: 1rem; }
  .team-links { border-top: 1px solid rgba(12,12,12,.10); }
  .team-tbl { font-size: .9rem; }
  .team-tbl--roster { max-height: 320px; }
}

/* Gone but not forgotten (historic teams) */
.teams-grid--legend { margin-top: 6px; }
.team-card--legend { filter: saturate(.95); background: linear-gradient(180deg, #fbf7ef, var(--surface, #fff)); }
.team-card--legend .team-blurb { margin-bottom: 0; }
@media (min-width: 721px) { .team-card--legend { grid-template-columns: 210px 1fr; } .team-card--legend .team-logo-wrap { width: 96px; height: 96px; } }

/* generic collapsible cards (itineraries, choose-your-own blocks) */
details.fold { border: 1.5px solid rgba(12,12,12,.14); border-radius: 12px; margin: 10px 0; background: var(--surface, #fff); overflow: hidden; }
details.fold > summary { cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--river, #B07E1E); font-weight: 700; transition: transform .2s ease; }
details.fold[open] > summary::after { content: "\2013"; }
details.fold[open] > summary { border-bottom: 1px solid rgba(12,12,12,.10); }
details.fold > div { padding: 6px 18px 16px; animation: foldIn .25s ease; }
@keyframes foldIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { details.fold > div { animation: none; } }
