/* ============================================================
   West Valley Visitors Bureau — visitwestvalley.org
   Design system: "Valley Sunset"
   Palette drawn from the WVVB logo: magenta, cyan, orange,
   yellow, lime on warm paper with deep-ink typography.
   ============================================================ */

:root {
  /* Brand core */
  --magenta: #d6368f;
  --magenta-deep: #ad2071;
  --cyan: #00a7ce;
  --cyan-deep: #007391;
  --orange: #f58220;
  --orange-deep: #c95f07;
  --yellow: #ffc20e;
  --lime: #a6ce39;
  --lime-deep: #5d7a14;

  /* Neutrals */
  --paper: #fdfaf5;
  --paper-2: #f7f0e6;
  --ink: #221d26;
  --ink-2: #554e5c;
  --ink-3: #7c7484;
  --line: #e9e0d4;
  --white: #ffffff;
  --night: #1b1526;
  --night-2: #2a2138;

  /* Semantic */
  --bg: var(--paper);
  --fg: var(--ink);
  --brand: var(--magenta);
  --sunset: linear-gradient(100deg, #d6368f 0%, #f58220 60%, #ffc20e 100%);
  --dusk: linear-gradient(120deg, #1b1526 0%, #3d2350 55%, #7a2d62 100%);

  /* Type */
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", system-ui, sans-serif;

  /* Rhythm */
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-1: 0 1px 2px rgba(34, 29, 38, 0.06), 0 4px 14px rgba(34, 29, 38, 0.06);
  --shadow-2: 0 2px 4px rgba(34, 29, 38, 0.08), 0 16px 40px rgba(34, 29, 38, 0.14);
  --wrap: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* smooth scrolling is enabled by JS after first paint, so landing on
   /page/#anchor jumps instantly instead of animating from the top */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--yellow); color: var(--ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Utilities ---------- */
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(44px, 6vw, 72px); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 18px;
}
.kicker::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--sunset); flex: none;
}
.kicker.k-cyan { color: var(--cyan-deep); }
.kicker.k-cyan::before { background: var(--cyan); }
.kicker.k-magenta { color: var(--magenta-deep); }
.kicker.k-magenta::before { background: var(--magenta); }
.kicker.k-orange { color: var(--orange-deep); }
.kicker.k-orange::before { background: var(--orange); }
.kicker.k-lime { color: var(--lime-deep); }
.kicker.k-lime::before { background: var(--lime); }

.h-xl { font-size: clamp(2.5rem, 6.5vw, 4.5rem); font-weight: 800; }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 700; }
.lede { font-size: clamp(1.125rem, 1.7vw, 1.3125rem); color: var(--ink-2); max-width: 62ch; }
.grad-text {
  background: var(--sunset);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), background-color 0.22s;
  min-height: 48px;
}
.btn svg { flex: none; transition: transform 0.22s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--sunset); color: #fff; box-shadow: 0 8px 24px rgba(214, 54, 143, 0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(214, 54, 143, 0.42); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(34, 29, 38, 0.3); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; text-decoration: none;
  color: var(--magenta-deep);
}
.link-arrow svg { transition: transform 0.2s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(34, 29, 38, 0.07);
}
.header-inner {
  width: min(1320px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 52px; width: auto; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; line-height: 1.05;
  font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em;
}
.brand-name small {
  display: block; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan-deep);
}

.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.main-nav > ul > li { position: relative; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 10px 14px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  color: var(--ink); text-decoration: none;
  transition: background-color 0.18s, color 0.18s;
}
.nav-btn .chev { transition: transform 0.25s var(--ease-out); }
.nav-btn:hover, li.open > .nav-btn { background: rgba(214, 54, 143, 0.08); color: var(--magenta-deep); }
li.open > .nav-btn .chev { transform: rotate(180deg); }
li[aria-current-page] > .nav-btn { color: var(--magenta-deep); }

.dd {
  position: absolute; top: calc(100% + 10px); left: 50%;
  min-width: 248px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.24s var(--ease-out), transform 0.24s var(--ease-out), visibility 0.24s;
}
li.open > .dd { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }
.dd a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 11px; text-decoration: none;
  font-weight: 500; font-size: 0.98rem; color: var(--ink-2);
  transition: background-color 0.16s, color 0.16s, padding-left 0.16s;
}
.dd a:hover { background: var(--paper-2); color: var(--ink); padding-left: 18px; }
.dd a strong { display: block; font-weight: 600; color: var(--ink); }
.dd a small { display: block; font-size: 0.8rem; color: var(--ink-3); }
.dd .dd-feature {
  margin: -10px -10px 8px; padding: 14px 16px; border-radius: 17px 17px 8px 8px;
  background: var(--dusk); color: #fff;
}
.dd .dd-feature strong, .dd .dd-feature small { color: #fff; }
.dd .dd-feature small { opacity: 0.75; }
.dd .dd-feature:hover { background: var(--night-2); padding-left: 16px; }

.header-cta { margin-left: 8px; }
.header-cta .btn { padding: 11px 22px; min-height: 44px; font-size: 0.95rem; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px;
  background: none; border: 0; border-radius: 12px;
}
.nav-toggle span {
  display: block; height: 2.5px; border-radius: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 1023px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    height: calc(100dvh - var(--header-h));
    display: block;
    background: #fff;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out), visibility 0.28s;
    padding: 20px 24px 48px;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-btn {
    width: 100%; justify-content: space-between;
    padding: 18px 6px; font-size: 1.15rem; border-radius: 0;
  }
  .dd {
    position: static; min-width: 0; transform: none; box-shadow: none; border: 0;
    background: transparent; padding: 0 6px;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  li.open > .dd { display: block; transform: none; }
  .dd .dd-feature { margin: 0 0 8px; border-radius: 14px; }
  .dd a { padding: 12px 10px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(92svh, 860px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  padding-top: var(--header-h);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 18s var(--ease-out) both;
}
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20, 12, 28, 0.88) 0%, rgba(20, 12, 28, 0.42) 48%, rgba(20, 12, 28, 0.3) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 96px); width: min(var(--wrap), 100% - 48px); }
.hero .kicker { color: var(--yellow); }
.hero .kicker::before { background: var(--yellow); }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero .lede { color: rgba(255, 255, 255, 0.88); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Hero load-in */
.hero [data-hero] { opacity: 0; transform: translateY(28px); animation: rise 0.9s var(--ease-out) forwards; }
.hero [data-hero="2"] { animation-delay: 0.15s; }
.hero [data-hero="3"] { animation-delay: 0.3s; }
.hero [data-hero="4"] { animation-delay: 0.45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Page hero (interior) */
.page-hero {
  position: relative; min-height: 480px; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; padding-top: var(--header-h);
}
.page-hero.tall { min-height: 580px; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink); color: var(--paper);
  overflow: hidden; padding-block: 14px;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.ticker-track {
  display: flex; gap: 48px; width: max-content;
  animation: ticker 36s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker span {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 48px;
}
.ticker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sunset); display: inline-block; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
  box-shadow: var(--shadow-1);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.3rem; }
.card-body p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.card-body .link-arrow { margin-top: auto; padding-top: 14px; font-size: 0.95rem; }

.chip {
  position: absolute; top: 14px; left: 14px;
  padding: 7px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  backdrop-filter: blur(4px);
}
.chip.c-magenta { background: var(--magenta); color: #fff; }
.chip.c-cyan { background: var(--cyan); color: #fff; }
.chip.c-orange { background: var(--orange); color: #fff; }
.chip.c-lime { background: var(--lime); color: var(--ink); }
.chip.c-yellow { background: var(--yellow); color: var(--ink); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Quick tiles (home) ---------- */
.tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; display: flex; align-items: flex-end;
  text-decoration: none; color: #fff;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
  box-shadow: var(--shadow-1);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.tile:hover img { transform: scale(1.07); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 11, 26, 0.78), rgba(18, 11, 26, 0.05) 55%);
}
.tile-label {
  position: relative; z-index: 1; padding: 26px;
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-family: var(--font-display); font-weight: 800; font-size: 1.45rem;
}
.tile-label svg { transition: transform 0.25s var(--ease-out); }
.tile:hover .tile-label svg { transform: translateX(6px); }
.tile-tag {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  padding: 7px 14px; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat-num {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1;
  background: var(--sunset); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { display: block; margin-top: 8px; font-weight: 600; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.split-media .badge-float {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  padding: 14px 20px; border-radius: 14px; backdrop-filter: blur(6px);
  font-family: var(--font-display); font-weight: 700; line-height: 1.25;
  box-shadow: var(--shadow-1); font-size: 0.95rem;
}
.split-media .badge-float small { display: block; color: var(--magenta-deep); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Event rows ---------- */
.event-row {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 26px; align-items: center;
  padding: 26px 28px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}
.event-row + .event-row { margin-top: 16px; }
.event-row:hover { transform: translateX(6px); box-shadow: var(--shadow-2); border-color: var(--magenta); }
.event-date {
  text-align: center; font-family: var(--font-display); line-height: 1;
  border-right: 1px solid var(--line); padding-right: 24px;
}
.event-date .d { font-size: 2.1rem; font-weight: 800; color: var(--magenta-deep); display: block; }
.event-date .m { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.event-info h3 { margin: 0 0 4px; font-size: 1.25rem; }
.event-info p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.event-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pill {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  font-family: var(--font-display);
  padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2);
}
.pill.p-magenta { background: rgba(214, 54, 143, 0.12); color: var(--magenta-deep); }
.pill.p-cyan { background: rgba(0, 167, 206, 0.12); color: var(--cyan-deep); }
.pill.p-orange { background: rgba(245, 130, 32, 0.14); color: var(--orange-deep); }
.pill.p-lime { background: rgba(166, 206, 57, 0.2); color: var(--lime-deep); }
.event-row .go {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--paper-2); color: var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.25s var(--ease-out);
}
.event-row:hover .go { background: var(--sunset); color: #fff; transform: translateX(2px); }
@media (max-width: 700px) {
  .event-row { grid-template-columns: 82px 1fr; padding: 20px; gap: 18px; }
  .event-date { padding-right: 16px; }
  .event-date .d { font-size: 1.6rem; }
  .event-row .go { display: none; }
}

/* ---------- Dark band / CTA ---------- */
.band-dark {
  position: relative; background: var(--night); color: #fff; overflow: hidden;
}
.band-dark .aurora {
  position: absolute; inset: -40%; z-index: 0; filter: blur(90px); opacity: 0.5;
  background:
    radial-gradient(38% 30% at 22% 30%, var(--magenta) 0%, transparent 100%),
    radial-gradient(30% 28% at 78% 24%, var(--cyan) 0%, transparent 100%),
    radial-gradient(32% 30% at 58% 82%, var(--orange) 0%, transparent 100%);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, -2%, 0) rotate(0deg); }
  to { transform: translate3d(2%, 3%, 0) rotate(4deg); }
}
.band-dark .wrap { position: relative; z-index: 1; }
.band-dark .lede { color: rgba(255, 255, 255, 0.78); }

/* ---------- Newsletter ---------- */
.newsletter-box {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px); box-shadow: var(--shadow-1);
  position: relative; overflow: hidden;
}
.newsletter-box::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--sunset);
}
@media (max-width: 860px) { .newsletter-box { grid-template-columns: 1fr; } }
.nl-form { display: flex; gap: 12px; }
.nl-form input {
  flex: 1; min-width: 0; padding: 15px 20px; border-radius: 999px;
  border: 2px solid var(--line); font: inherit; background: var(--paper);
  transition: border-color 0.2s;
  min-height: 48px;
}
.nl-form input:focus { outline: none; border-color: var(--magenta); }
@media (max-width: 520px) { .nl-form { flex-direction: column; } }
.form-note { font-size: 0.85rem; color: var(--ink-3); margin: 10px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: #17171a; color: rgba(255, 255, 255, 0.82); }
.footer-main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px;
  padding-block: clamp(52px, 7vw, 84px);
}
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.footer-brand img { height: 64px; width: auto; border-radius: 12px; background: #fff; padding: 6px; }
.footer-brand p { font-size: 0.95rem; margin-top: 18px; max-width: 34ch; color: rgba(255,255,255,0.66); }
.site-footer h4 {
  color: #fff; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; transition: color 0.15s; }
.site-footer a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px;
  align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .strip { display: inline-flex; gap: 6px; }
.footer-bottom .strip i {
  width: 10px; height: 10px; border-radius: 3px; display: inline-block;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); transition: background 0.2s, transform 0.2s;
}
.socials a:hover { background: var(--magenta); transform: translateY(-3px); color: #fff; }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Info blocks / misc ---------- */
.icon-blob {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  margin-bottom: 18px; color: #fff; background: var(--sunset);
}
.icon-blob.b-cyan { background: linear-gradient(135deg, var(--cyan), #0a7fae); }
.icon-blob.b-lime { background: linear-gradient(135deg, var(--lime), #7fa32b); color: var(--ink); }
.icon-blob.b-orange { background: linear-gradient(135deg, var(--orange), #e0640a); }
.icon-blob.b-yellow { background: linear-gradient(135deg, var(--yellow), #eaa900); color: var(--ink); }

.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--magenta);
  transition: transform 0.3s var(--ease-out); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--ink-2); }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 194, 14, 0.14); border: 1px solid rgba(255, 194, 14, 0.5);
  padding: 18px 22px; border-radius: 16px; font-size: 0.98rem;
}

.table-clean { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.table-clean th, .table-clean td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.table-clean th { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--paper-2); }
.table-clean tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* Community alternating profiles */
.profile { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.profile + .profile { margin-top: clamp(56px, 8vw, 96px); }
.profile:nth-child(even) .profile-media { order: 2; }
@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; }
  .profile:nth-child(even) .profile-media { order: 0; }
}
.profile-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.profile-media img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.profile h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.profile .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Itinerary timeline */
.itin { border-left: 3px solid var(--line); padding-left: 30px; display: grid; gap: 26px; position: relative; }
.itin-stop { position: relative; }
.itin-stop::before {
  content: ""; position: absolute; left: -40px; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--sunset); border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--magenta);
}
.itin-stop h4 { margin-bottom: 4px; font-size: 1.1rem; }
.itin-stop p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.itin-stop .t { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--magenta-deep); }

/* Membership tiers */
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; display: flex; flex-direction: column; gap: 0;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
  position: relative;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.tier.featured { border: 2px solid var(--magenta); box-shadow: var(--shadow-2); }
.tier .tier-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--sunset); color: #fff; font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.tier h3 { font-size: 1.35rem; margin-bottom: 2px; }
.tier .price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; }
.tier .price small { font-size: 0.95rem; font-weight: 600; color: var(--ink-3); }
.tier ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; font-size: 0.98rem; color: var(--ink-2); }
.tier ul li { display: flex; gap: 10px; align-items: flex-start; }
.tier ul svg { flex: none; color: var(--lime-deep); margin-top: 4px; }
.tier .btn { margin-top: auto; }

/* Contact */
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow-1);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line);
  font: inherit; background: #fff; transition: border-color 0.2s; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }
.field .hint { font-size: 0.82rem; color: var(--ink-3); margin-top: 5px; }

/* Breadcrumb */
.crumbs { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-bottom: 14px; font-weight: 500; }
.crumbs a { color: rgba(255,255,255,0.9); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin-inline: 8px; opacity: 0.6; }

/* Section heads */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }

/* Poi list */
.poi {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.poi img { width: 132px; height: 108px; object-fit: cover; border-radius: 14px; flex: none; }
.poi h3 { font-size: 1.15rem; margin-bottom: 4px; }
.poi p { margin: 0; font-size: 0.94rem; color: var(--ink-2); }
.poi .where { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--cyan-deep); font-family: var(--font-display); }
@media (max-width: 560px) { .poi { flex-direction: column; } .poi img { width: 100%; height: 160px; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero [data-hero] { opacity: 1; transform: none; }
  .hero-media img { animation: none; }
  .ticker-track { animation: none; }
}

/* ============================================================
   v2 components — mega menu, hero carousel, season picker,
   stories, UGC wall, quotes  (inspired by washington.org /
   visittampabay.com / visitwalnutcreek.org)
   ============================================================ */

/* ---------- Mega menu ---------- */
@media (min-width: 1024px) {
  .dd.dd-mega {
    min-width: 560px; padding: 14px;
    display: grid; grid-template-columns: 200px 1fr; gap: 14px;
  }
  .dd-mega .mega-visual {
    position: relative; border-radius: 12px; overflow: hidden; text-decoration: none;
    display: flex; align-items: flex-end; min-height: 200px; padding: 0;
  }
  .dd-mega .mega-visual img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s var(--ease-out);
  }
  .dd-mega .mega-visual:hover img { transform: scale(1.06); }
  .dd-mega .mega-visual::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(18, 11, 26, 0.82), transparent 60%);
  }
  .dd-mega .mega-visual span {
    position: relative; z-index: 1; padding: 14px;
    color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
    line-height: 1.3;
  }
  .dd-mega .mega-visual span small { display: block; font-weight: 600; font-size: 0.75rem; opacity: 0.8; }
  .dd-mega .mega-links { display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 1023px) {
  .dd-mega .mega-visual { display: none; }
}

/* ---------- Hero slides ---------- */
.hero-media .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-media .slide.active { opacity: 1; }
.hero-media .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .slide.active img { animation: kenburns 9s var(--ease-out) both; }
.hero-dots {
  position: absolute; right: 28px; bottom: 28px; z-index: 2;
  display: flex; gap: 8px;
}
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.45); cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.hero-dots button.active { background: var(--yellow); transform: scale(1.25); }
.hero-dots button:hover { background: #fff; }

/* ---------- Season picker ---------- */
.season-tabs {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px;
}
.season-tab {
  border: 2px solid var(--line); background: #fff; border-radius: 999px;
  padding: 12px 26px; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--ink-2); transition: all 0.22s var(--ease-out); min-height: 48px;
}
.season-tab:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.season-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.season-panel { display: none; }
.season-panel.active { display: grid; animation: rise 0.5s var(--ease-out); }
.season-panel { grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .season-panel.active { grid-template-columns: 1fr; } }
.season-panel .split-media img { aspect-ratio: 16 / 10; }
.season-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 13px; }
.season-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.season-list li::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--sunset); margin-top: 8px;
}

/* ---------- Stories grid ---------- */
.story-card .card-media { aspect-ratio: 16 / 10; }
.story-meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  font-family: var(--font-display); color: var(--magenta-deep);
}
.story-meta .rt { color: var(--ink-3); letter-spacing: 0.02em; }

/* ---------- Quotes strip ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; position: relative; box-shadow: var(--shadow-1);
}
.quote::before {
  content: "“"; position: absolute; top: 6px; left: 22px;
  font-family: var(--font-display); font-weight: 800; font-size: 4.4rem; line-height: 1;
  background: var(--sunset); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.quote p { margin: 34px 0 16px; font-size: 1.05rem; line-height: 1.6; }
.quote cite {
  font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  color: var(--ink-2);
}
.quote cite small { display: block; font-weight: 500; color: var(--ink-3); }

/* ---------- UGC / Instagram wall ---------- */
.ugc-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
@media (max-width: 900px) { .ugc-grid { grid-template-columns: repeat(3, 1fr); } }
.ugc-grid a {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1;
  display: block;
}
.ugc-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.ugc-grid a::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(27, 21, 38, 0); transition: background 0.3s;
}
.ugc-grid a:hover img { transform: scale(1.08); }
.ugc-grid a:hover::after { background: rgba(27, 21, 38, 0.28); }
.ugc-tag {
  font-family: var(--font-display); font-weight: 800;
  background: var(--sunset); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Valleywood band ---------- */
.valleywood {
  position: relative; text-align: center; overflow: hidden;
  background: var(--night); color: #fff;
}
.valleywood .vw-media { position: absolute; inset: 0; opacity: 0.34; }
.valleywood .vw-media img { width: 100%; height: 100%; object-fit: cover; }
.valleywood .wrap { position: relative; z-index: 1; }
.valleywood h2 {
  font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 800; letter-spacing: -0.02em;
  background: var(--sunset); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2em;
}
.valleywood .lede { margin-inline: auto; color: rgba(255,255,255,0.85); }

@media (prefers-reduced-motion: reduce) {
  .hero-media .slide { transition: none; }
  .hero-media .slide.active img { animation: none; }
}

/* ============================================================
   v3 — article / news pages + "rendering" labels
   ============================================================ */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose p { color: var(--ink-2); font-size: 1.075rem; }
.prose ul { color: var(--ink-2); padding-left: 1.2em; display: grid; gap: 9px; margin: 0 0 1.4em; }
.prose a { color: var(--magenta-deep); text-decoration: underline; text-underline-offset: 3px; }

.article-meta {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--ink-3);
  margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.article-meta .who { color: var(--ink); }

figure.fig { margin: 32px 0; }
figure.fig img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-1); }
figure.fig figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--ink-3); font-style: italic; }

/* "Rendering" badge sits on media */
.badge-rendering {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 7px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(27, 21, 38, 0.82); color: #fff; backdrop-filter: blur(4px);
}

.source-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.source-list a { display: inline-flex; align-items: center; gap: 7px; }

/* ============================================================
   v5 — "The Guide" directory system
   Photo category banners + icon cards + live filter toolbar
   ============================================================ */

/* Toolbar */
.gd-toolbar {
  position: sticky; top: calc(var(--header-h) + 10px); z-index: 40;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 14px; margin-bottom: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-1);
}
.gd-search {
  display: flex; align-items: center; gap: 9px; flex: 1 1 220px;
  background: var(--paper); border: 2px solid var(--line); border-radius: 999px;
  padding: 10px 16px; transition: border-color 0.2s;
}
.gd-search:focus-within { border-color: var(--magenta); }
.gd-search svg { flex: none; color: var(--ink-3); }
.gd-search input {
  border: 0; background: none; font: inherit; width: 100%; min-width: 0;
  color: var(--ink);
}
.gd-search input:focus { outline: none; }
.gd-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.gd-pill {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 15px; font-family: var(--font-display); font-weight: 600; font-size: 0.84rem;
  color: var(--ink-2); transition: all 0.18s var(--ease-out); min-height: 38px;
}
.gd-pill:hover { border-color: var(--ink); color: var(--ink); }
.gd-pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gd-none {
  display: none; text-align: center; padding: 48px 20px; color: var(--ink-3);
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
}

/* Category banner */
.gd-cat { margin-top: clamp(36px, 5vw, 56px); }
.gd-cat:first-of-type { margin-top: 0; }
.gd-banner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 150px; display: flex; align-items: flex-end;
  margin-bottom: 18px; color: #fff;
}
.gd-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gd-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(88deg, rgba(18,11,26,0.86) 12%, rgba(18,11,26,0.35) 60%, rgba(18,11,26,0.15));
}
.gd-banner .gb-inner {
  position: relative; z-index: 1; padding: 22px 26px;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; width: 100%;
}
.gd-banner h3 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2rem); color: #fff; }
.gd-banner .count {
  font-family: var(--font-display); font-weight: 800; font-size: 0.85rem;
  background: var(--sunset); color: #fff; padding: 4px 13px; border-radius: 999px;
}
.gd-banner p { margin: 0; font-size: 0.94rem; color: rgba(255,255,255,0.85); }

/* Listing cards */
.gd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(295px, 1fr)); gap: 14px; }
.gcard {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 20px 18px 20px; display: flex; gap: 15px; align-items: flex-start;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), border-color 0.22s;
  overflow: hidden;
}
.gcard::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--sunset); opacity: 0; transition: opacity 0.22s;
}
.gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.gcard:hover::before { opacity: 1; }
.gic {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--orange));
}
.gd-cat[data-tone="cyan"] .gic { background: linear-gradient(135deg, var(--cyan), #0a7fae); }
.gd-cat[data-tone="lime"] .gic { background: linear-gradient(135deg, var(--lime), #7fa32b); }
.gd-cat[data-tone="yellow"] .gic { background: linear-gradient(135deg, var(--yellow), #eaa900); color: var(--ink); }
.gd-cat[data-tone="orange"] .gic { background: linear-gradient(135deg, var(--orange), #e0640a); }
.gcard-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gcard h4 {
  margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.13rem;
  line-height: 1.22; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.gcard .since {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  font-family: var(--font-display); color: var(--ink);
  background: var(--yellow); padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.gcard .gmeta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 0.83rem; font-weight: 600; color: var(--ink-3); margin: 0;
}
.gcard .gmeta .pin { display: inline-flex; align-items: center; gap: 4px; color: var(--cyan-deep); }
.gcard .gmeta .sep { opacity: 0.5; }
.gcard .gmeta .type { color: var(--magenta-deep); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.74rem; font-family: var(--font-display); font-weight: 700; }
.gcard .fact { margin: 3px 0 0; font-size: 0.93rem; line-height: 1.5; color: var(--ink-2); }

@media (max-width: 560px) {
  .gd-toolbar { position: static; }
  .gd-banner { min-height: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .gcard:hover { transform: none; }
}

/* ============================================================
   v6 — directory cards with action bars (Directions / Website)
   ============================================================ */
.gcard { flex-direction: column; gap: 10px; padding: 0; }
.gcard .gic { margin: 20px 20px 0; }
.gcard-body { padding: 0 20px; }
.gcard::before {
  left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 4px;
  opacity: 1; background: var(--sunset);
}
.gd-cat[data-tone="cyan"] .gcard::before { background: linear-gradient(90deg, var(--cyan), #0a7fae); }
.gd-cat[data-tone="lime"] .gcard::before { background: linear-gradient(90deg, var(--lime), #7fa32b); }
.gd-cat[data-tone="yellow"] .gcard::before { background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.gd-cat[data-tone="orange"] .gcard::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.gact {
  display: flex; gap: 8px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 12px 20px 16px; margin-top: auto;
}
.gbtn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; min-height: 36px;
  border: 1.5px solid var(--line); background: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  color: var(--ink-2); text-decoration: none; cursor: pointer;
  transition: all 0.18s var(--ease-out);
}
.gbtn svg { flex: none; }
.gbtn:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); }
.gbtn.gbtn-site { color: var(--magenta-deep); border-color: rgba(214,54,143,0.35); }
.gbtn.gbtn-site:hover { background: var(--magenta-deep); border-color: var(--magenta-deep); color: #fff; }
.gd-results {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--ink-3); white-space: nowrap; padding-inline: 4px;
}

/* ============================================================
   v7 — clickable listing cards -> detail pages
   ============================================================ */
.gcard-main {
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit; cursor: pointer;
}
.gcard-main h4 { transition: color 0.16s; }
.gcard:hover .gcard-main h4 { color: var(--magenta-deep); }
.gcard .hero-media, .page-hero .hero-media a { display: block; }
/* image links shouldn't show underlines */
a > img { display: block; }
.imglink { display: block; cursor: pointer; }

/* ============================================================
   v8 — rich detail pages (fact grid, mini-cards)
   ============================================================ */
.factgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 760px){ .factgrid { grid-template-columns: repeat(2,1fr); } }
.factbox { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 5px; }
.factbox .fl { font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.factbox .fv { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); text-decoration: none; }
a.fv:hover { color: var(--magenta-deep); text-decoration: underline; }
.minigrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 12px; margin: 12px 0 8px; }
.minicard { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 13px; text-decoration: none; transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), border-color 0.18s; }
.minicard:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--magenta); }
.minicard strong { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem; }
.minicard span { font-size: 0.82rem; color: var(--ink-3); }
.prose .minigrid + h2 { margin-top: 1.4em; }
.community-faves { margin-top: 18px; }
.community-faves h4 { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 14px 0 8px; font-family: var(--font-display); }
.fave-links { display: flex; flex-wrap: wrap; gap: 7px; }
.fave-links a { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; padding: 6px 13px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; transition: background 0.16s, color 0.16s; }
.fave-links a:hover { background: var(--ink); color: #fff; }

/* ============================================================
   v9 — READABILITY PASS (stronger hero scrims, legible text)
   ============================================================ */
:root { --ink-3: #655d70; }   /* darker muted gray -> better contrast on white */

/* Much stronger, darker gradient behind ALL hero text (home + interior) */
.hero-media::after {
  background: linear-gradient(to top,
    rgba(14,9,20,0.95) 0%,
    rgba(14,9,20,0.78) 30%,
    rgba(14,9,20,0.52) 58%,
    rgba(14,9,20,0.40) 100%) !important;
}

/* Hero headings + lede: bright and shadowed so they read over any photo */
.hero h1, .page-hero h1 {
  text-shadow: 0 2px 26px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.45);
}
.hero .lede, .page-hero .lede {
  color: #ffffff !important;
  text-shadow: 0 1px 14px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.55);
}
.hero .crumbs, .page-hero .crumbs { color: rgba(255,255,255,0.94); text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.hero .crumbs a, .page-hero .crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.hero .crumbs .sep, .page-hero .crumbs .sep { color: rgba(255,255,255,0.6); }
.hero .kicker, .page-hero .kicker { text-shadow: 0 1px 8px rgba(0,0,0,0.55); }

/* Small muted meta text a touch darker for legibility */
.gcard .gmeta, .minicard span, .biz .where, .story-meta .rt { color: var(--ink-3); }
.form-note, .gd-results { color: var(--ink-3); }

/* ============================================================
   v10 — directory card rebuild (vertical cards w/ full content)
   ============================================================ */
.gcard { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.gcard .gcard-main { padding: 18px 20px 16px; gap: 7px; flex: 1 1 auto; }
.gcard .gmeta { margin: 0 0 3px; }
.gcard h4 { font-size: 1.12rem; }
.gcard .fact { margin: 3px 0 0; }
.gcard .gact { margin-top: auto; }

/* Event page "know before you go" list */
.tick-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 30px; color: var(--ink-2); line-height: 1.55; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 999px; background: var(--lime); }
.tick-list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px;
  border-left: 2px solid #14290a; border-bottom: 2px solid #14290a; transform: rotate(-45deg); }
