/* Narwhals Network — shared visual system
   Dark queer nightlife / magazine energy. Accessible contrast. */

:root {
  --bg: #0c0a12;
  --bg-elevated: #16121f;
  --bg-card: #1c1728;
  --bg-card-hover: #241e32;
  --border: #2e2740;
  --border-strong: #4a3f66;
  --text: #f4f0fa;
  --text-muted: #b5a8c9;
  --text-dim: #7d7194;
  --accent: #ff4d9a;
  --accent-2: #a78bfa;
  --accent-3: #38bdf8;
  --accent-4: #fbbf24;
  --accent-soft: rgba(255, 77, 154, 0.14);
  --accent-2-soft: rgba(167, 139, 250, 0.14);
  --gradient-pride: linear-gradient(90deg, #ff4d9a, #a78bfa, #38bdf8, #34d399, #fbbf24);
  --gradient-hero: linear-gradient(135deg, #1a1028 0%, #2a1438 40%, #0c0a12 100%);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --max: 1100px;
  --focus: 0 0 0 3px rgba(255, 77, 154, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(255, 77, 154, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(167, 139, 250, 0.1), transparent);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--accent-3);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent); }
a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* —— Top bar —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(12, 10, 18, 0.85);
  border-bottom: 1px solid var(--border);
}

.pride-bar {
  height: 3px;
  background: var(--gradient-pride);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand:hover { color: var(--accent); }
.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gradient-pride);
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 0 16px rgba(255, 77, 154, 0.35);
}
.brand-text { font-size: 1.05rem; }
.brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.25;
  max-width: 12rem;
}

.nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

/* —— Layout —— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.page-hero {
  padding: 2.25rem 0 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.page-hero .lede {
  margin: 0;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.55;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* —— Cards & grids —— */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.card a.card-link,
a.card.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}
a.card.card-link.site-tile { display: flex; }
a.card.card-link h2 { color: var(--text); }
.card h2, .card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  line-height: 1.3;
}
.card .meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Hub feature cards */
.hub-card {
  position: relative;
  overflow: hidden;
  padding: 1.85rem 1.55rem;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
}
.hub-card.connections::before {
  background: linear-gradient(145deg, rgba(255, 77, 154, 0.25), transparent 60%);
}
.hub-card.magazine::before {
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.28), transparent 60%);
}
.hub-card > * { position: relative; z-index: 1; }
.hub-card .hub-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.hub-card.magazine .hub-label { color: var(--accent-2); }
.hub-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
}
.hub-card .cta {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}
.hub-card:hover .cta { color: var(--accent); }

/* —— Filters —— */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  align-items: flex-end;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  flex: 1 1 140px;
}
.field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field select,
.field input {
  appearance: none;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  min-height: 2.5rem;
}
.field select:focus,
.field input:focus {
  outline: none;
  box-shadow: var(--focus);
  border-color: var(--accent);
}
.btn {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 2.5rem;
}
.btn:hover { background: var(--bg-card-hover); border-color: var(--accent); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a0a12;
}
.btn-primary:hover { filter: brightness(1.08); color: #1a0a12; }

/* —— Chips / tags —— */
.chip {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-2-soft);
  color: var(--accent-2);
  border: 1px solid transparent;
}
.chip.type-venue { background: rgba(56, 189, 248, 0.12); color: var(--accent-3); }
.chip.type-tour { background: rgba(251, 191, 36, 0.12); color: var(--accent-4); }
.chip.type-show { background: var(--accent-soft); color: var(--accent); }
.chip.type-crown { background: rgba(52, 211, 153, 0.12); color: #34d399; }
.chip.type-residency { background: var(--accent-2-soft); color: var(--accent-2); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}
.tag {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
}

/* —— Sections —— */
.section {
  margin-bottom: 2.5rem;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
}
.section-head .count {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* —— Listings —— */
.listing-row {
  display: grid;
  gap: 0.5rem;
}
.listing-row .title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.listing-row h3 {
  margin: 0;
  font-size: 1.05rem;
}
.listing-when {
  color: var(--accent-4);
  font-size: 0.85rem;
  font-weight: 600;
}

/* —— News teasers —— */
.teaser-card .headline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}
.teaser-card .read-more {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}
.teaser-card .read-more:hover { text-decoration: underline; }

/* —— Magazine —— */
.story-index .card {
  cursor: pointer;
}
.story-detail {
  display: none;
}
.story-detail.is-open {
  display: block;
}
.story-detail-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 2.25rem;
  box-shadow: var(--shadow);
  max-width: 44rem;
}
.story-detail h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  margin: 0.5rem 0 0.75rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.story-detail .dek {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
  max-width: 38rem;
}
.story-detail .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.story-body {
  white-space: pre-wrap;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.75;
  max-width: 38rem;
}
.story-body a { word-break: break-word; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}
.back-link:hover { color: var(--accent); }
.source-link {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.section-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.pill {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}
.pill:hover { border-color: var(--border-strong); color: var(--text); }
.pill[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.pill:focus-visible { outline: none; box-shadow: var(--focus); }

/* —— Empty state —— */
.empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--text-dim);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.empty strong { color: var(--text-muted); display: block; margin-bottom: 0.35rem; }

/* —— Footer —— */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1.5rem 1.25rem 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.footer-nav a:hover { color: var(--accent); }
.desk-updated {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.desk-updated time {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.footer-disclaimer {
  flex: 1 0 100%;
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-dim);
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hidden { display: none !important; }
.stack { display: flex; flex-direction: column; gap: 0.75rem; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }

/* Hub pitch */
.pitch {
  margin: 1.75rem 0 0;
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pitch p { margin: 0; color: var(--text); }
.pitch .tagline {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}
.pitch .muted { color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .site-tile { transition: none; }
  .site-tile:hover { transform: none; }
}

/* —— Logos, home tiles, find-us —— */
.brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  display: block;
  flex-shrink: 0;
}
.site-tiles { margin-bottom: 1.75rem; }
.site-tile {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.35rem 1.3rem 1.25rem;
  min-height: 100%;
}
.site-tile h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
}
.tile-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(255, 77, 154, 0.28);
  line-height: 1.2;
  vertical-align: middle;
}
.site-tile:nth-child(2) .tile-badge {
  background: var(--accent-2-soft);
  color: var(--accent-2);
  border-color: rgba(167, 139, 250, 0.28);
}
.site-tile:nth-child(3) .tile-badge {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-3);
  border-color: rgba(56, 189, 248, 0.28);
}
.site-tile-logo {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
  margin-bottom: 0.55rem;
}
.site-tile .cta {
  margin-top: auto;
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent-3);
}
.site-tile:hover .cta { color: var(--accent); }
.site-tile:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.find-us {
  flex: 1 0 100%;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.find-us[hidden] { display: none; }
.find-us a { margin-right: 0.75rem; }
.find-us-label { font-weight: 700; margin-right: 0.5rem; }

/* —— Small screens —— */
html, body { max-width: 100%; overflow-x: hidden; }
.story-body, .card p, .cl-blurb, .footer-disclaimer { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .header-inner { padding: 0.6rem 0.9rem; gap: 0.5rem; }
  .nav { gap: 0.15rem; width: 100%; }
  .nav a { padding: 0.35rem 0.55rem; font-size: 0.85rem; }
  .wrap { padding: 1rem 0.9rem 2.5rem; }
  .page-hero { padding: 1.25rem 0 1rem; }
  .hub-card { min-height: 0; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .site-footer { padding: 1.25rem 0.9rem 1.5rem; }
}


/* —— Home (brand magazine front) —— */
.home-page .home-hero {
  text-align: left;
  padding: 2.75rem 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  background: none;
}
.home-page .home-hero h1 {
  font-size: clamp(2.35rem, 6vw, 3.5rem);
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff 20%, #ffb3d4 55%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-page .home-hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  max-width: 28rem;
  color: var(--text-muted);
}
.home-page .issue-card {
  margin-top: 1.75rem;
}
.home-page .issue-card .hub-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.home-page .issue-card[hidden] { display: none !important; }

/* —— Narwhals hub —— */
.hub-page .hub-hero {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.hub-page .hub-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.hub-page .hub-products { margin-bottom: 0.25rem; }
.hub-page .hub-pitch { margin-top: 1.75rem; }

/* —— Queen News magazine list —— */
.magazine-hero {
  border-bottom: none;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}
.magazine-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.story-index .section-head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}
.story-index .section-head h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  color: var(--text-muted);
}
.story-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.story-row {
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0 1.2rem;
  background: transparent;
  border-radius: 0;
}
.story-row:first-child { padding-top: 0.35rem; }
.story-row-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.story-row-link:hover h3 { color: var(--accent); }
.story-row .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}
.story-row h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
}
.story-row-dek {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 40rem;
}
.magazine-story .source-link {
  color: var(--text-dim);
}
.story-detail .back-link {
  margin-bottom: 1.15rem;
}

/* Board page — plain classifieds list. Scoped so other sites stay dark. */
body.board-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
  background-image: none;
  color: #161616;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.4;
}
body.board-page a {
  color: #161616;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.board-page a:hover { color: #000; }
body.board-page a:focus-visible {
  outline: 2px solid #161616;
  outline-offset: 2px;
  box-shadow: none;
  border-radius: 0;
}
body.board-page .skip-link {
  background: #161616;
  color: #fff;
}

body.board-page .board-top {
  border-bottom: 1px solid #161616;
  background: #fff;
}
body.board-page .board-top-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0.85rem 1rem 0.35rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
body.board-page .board-id h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}
body.board-page .board-id p {
  margin: 0.2rem 0 0;
  color: #333;
  font-size: 0.92rem;
}
body.board-page .board-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  padding-bottom: 0.2rem;
}
body.board-page .board-nav a {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
body.board-page .board-nav a:hover,
body.board-page .board-nav a[aria-current="page"] {
  border-bottom-color: #161616;
  background: transparent;
  color: #161616;
}

body.board-page .board-regions {
  max-width: 980px;
  margin: 0 auto;
  padding: 0.35rem 1rem 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
}
body.board-page .region-link,
body.board-page .city-link,
body.board-page .board-clear {
  font: inherit;
  color: #161616;
  background: transparent;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
}
body.board-page .region-link.is-on,
body.board-page .city-link.is-on {
  font-weight: 700;
  text-decoration: none;
}
body.board-page .region-link:focus-visible,
body.board-page .city-link:focus-visible,
body.board-page .board-clear:focus-visible,
body.board-page select:focus-visible {
  outline: 2px solid #161616;
  outline-offset: 2px;
}

body.board-page .board-frame {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1.1rem 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12.5rem;
  gap: 1.65rem;
  align-items: start;
  align-content: start;
  flex: 1;
}
body.board-page .board-section { margin: 0 0 1.55rem; }
body.board-page .board-section h2,
body.board-page .board-rail h2 {
  margin: 0 0 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
body.board-page .board-count {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #444;
}
body.board-page .board-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
}
body.board-page .board-type {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}
body.board-page .board-type select {
  font: inherit;
  color: #161616;
  background: #fff;
  border: 1px solid #161616;
  border-radius: 0;
  padding: 0.1rem 0.25rem;
}

body.board-page .cl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #161616;
}
body.board-page .cl-row {
  display: grid;
  grid-template-columns: 6.6rem minmax(0, 1fr);
  gap: 0.2rem 0.85rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid #e4e4e4;
}
body.board-page .cl-date {
  color: #444;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
body.board-page .cl-title { font-weight: 700; }
body.board-page .cl-title a { font-weight: 700; }
body.board-page .cl-city { color: #333; }
body.board-page .cl-city::before { content: "· "; }
body.board-page .cl-blurb {
  display: block;
  color: #333;
  margin-top: 0.08rem;
}
body.board-page .cl-source { margin-left: 0.35rem; }
body.board-page .cl-empty {
  padding: 0.45rem 0;
  color: #444;
  border-bottom: 1px solid #ddd;
}

body.board-page .board-rail {
  border-left: 1px solid #ddd;
  padding-left: 0.85rem;
}
body.board-page .rail-region {
  margin: 0.65rem 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #333;
}
body.board-page .city-link {
  display: block;
  margin: 0.12rem 0;
  text-decoration: underline;
}

body.board-page .site-footer {
  margin-top: auto;
  background: #fff;
  border-top: 1px solid #161616;
  color: #333;
}
body.board-page .footer-nav a,
body.board-page .desk-updated,
body.board-page .desk-updated time,
body.board-page .footer-disclaimer {
  color: #333;
  font-weight: 400;
}
body.board-page .footer-nav a { text-decoration: underline; }
body.board-page .footer-nav a:hover { color: #000; }

@media (max-width: 720px) {
  body.board-page .board-frame { grid-template-columns: 1fr; }
  body.board-page .board-rail {
    border-left: 0;
    border-top: 1px solid #ddd;
    padding-left: 0;
    padding-top: 0.75rem;
    order: 2;
  }
  body.board-page .cl-row { grid-template-columns: 5.4rem minmax(0, 1fr); }
}

body.board-page .board-id {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
body.board-page .board-logo {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  flex-shrink: 0;
}
body.board-page .find-us { color: #333; }
@media (max-width: 560px) {
  body.board-page .board-top-inner { padding: 0.7rem 0.85rem 0.3rem; }
  body.board-page .board-regions { padding: 0.3rem 0.85rem 0.5rem; }
  body.board-page .board-frame { padding: 0.7rem 0.85rem 1.5rem; gap: 1rem; }
  body.board-page .cl-row { grid-template-columns: 1fr; gap: 0; }
  body.board-page .cl-date { font-size: 0.8rem; }
  body.board-page .cl-date:empty { display: none; }
  body.board-page .board-type select { max-width: 9rem; }
  body.board-page .board-rail #city-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.85rem;
  }
  body.board-page .rail-region { flex: 1 0 100%; }
  body.board-page .city-link { display: inline; margin: 0; }
}

/* —— Home v2 (public landing) —— */
body.home-body { display: flex; flex-direction: column; }
.home { flex: 1; }
.btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}
.btn-primary.btn-lg { box-shadow: 0 6px 24px rgba(255, 77, 154, 0.35); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent-2); background: var(--accent-2-soft); }
a.btn:focus-visible { box-shadow: var(--focus); }

.home-hero2 {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(255, 77, 154, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 55% at 95% 10%, rgba(167, 139, 250, 0.2), transparent 70%),
    radial-gradient(ellipse 50% 40% at 60% 100%, rgba(56, 189, 248, 0.1), transparent 70%);
}
.home-hero2-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 3.25rem;
}
.home-hero2-logo {
  width: 4.5rem;
  height: 4.5rem;
  display: block;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 6px 22px rgba(255, 77, 154, 0.35));
}
.home-hero2 .eyebrow { margin-bottom: 0.5rem; }
.home-hero2 h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 13vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #fff 15%, #ffb3d4 55%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-tagline {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: clamp(1.1rem, 3.6vw, 1.35rem);
  line-height: 1.45;
  color: var(--text-muted);
}
.home-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .home-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 900px) {
  .home-hero2-inner { padding: 5rem 1.25rem 4.75rem; }
  .home-hero2-logo { width: 5.5rem; height: 5.5rem; }
}

.home-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 0.5rem;
}
.home-section:last-child { padding-bottom: 3.5rem; }
.home-section[hidden] { display: none !important; }
.home-section-head { margin-bottom: 1.25rem; }
.home-section-head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  letter-spacing: -0.02em;
}
.home-section-head p { margin: 0; color: var(--text-muted); }
.home-section-head--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
}
.home-more {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-3);
  text-decoration: none;
}
.home-more:hover { color: var(--accent); }

.start-grid,
.latest-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .start-grid { grid-template-columns: repeat(3, 1fr); }
  .latest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .latest-grid { grid-template-columns: repeat(4, 1fr); }
}
.start-card,
.latest-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.35rem 1.3rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.start-card:hover,
.latest-card:hover {
  color: inherit;
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.start-card:focus-visible,
.latest-card:focus-visible { box-shadow: var(--focus); border-radius: var(--radius); }
.start-card img { width: 3rem; height: 3rem; display: block; margin-bottom: 0.4rem; }
.start-card h3,
.latest-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
.latest-card h3 { font-size: 1.12rem; }
.start-card p,
.latest-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.latest-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.6rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.start-cta {
  margin-top: auto;
  padding-top: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-3);
}
.start-card:hover .start-cta,
.latest-card:hover .start-cta { color: var(--accent); }
.latest-fallback { margin: 0; }

.home-footer .footer-inner { align-items: flex-start; gap: 1.1rem; }
.footer-about { flex: 1 1 18rem; max-width: 30rem; }
.footer-about p { margin: 0.5rem 0 0; color: var(--text-muted); font-size: 0.9rem; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.footer-brand img { width: 1.75rem; height: 1.75rem; }
.footer-copy {
  flex: 1 0 100%;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-copy .desk-updated:empty { display: none; }

/* Narwhals hub steps */
.hub-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 720px) { .hub-steps { grid-template-columns: repeat(3, 1fr); } }
.hub-steps li {
  counter-increment: step;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.hub-steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}
.hub-steps h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.hub-steps p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  .start-card, .latest-card { transition: none; }
  .start-card:hover, .latest-card:hover { transform: none; }
}
