/* =============================================================
   Vibing Sarasota - Editorial Design System
   Coastal travel-magazine aesthetic. Paper, ink, gulf, coral.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,400;1,9..144,500;1,9..144,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Palette - paper-led, used at roughly 80/15/3/2 ratio */
  --paper: #F6F1E8;
  --paper-warm: #EFE7D5;
  --paper-deep: #E6DBC4;
  --ink: #10131A;
  --ink-muted: #5C6470;
  --ink-soft: #8B91A0;
  --gulf: #0B5C7A;
  --gulf-deep: #073D52;
  --gulf-light: #1E7898;
  --coral: #D85C3E;
  --coral-soft: #E88770;
  --rule: #D9CFBE;
  --rule-soft: #EAE2D2;

  /* Vibe meter colors */
  --vibe-chilling: #8BA39A;
  --vibe-steady: #5C8B7F;
  --vibe-buzzing: #C28A2C;
  --vibe-vibing: #D85C3E;

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Type scale - wide steps, magazine-y */
  --t-14: 0.875rem;
  --t-16: 1rem;
  --t-18: 1.125rem;
  --t-20: 1.25rem;
  --t-24: 1.5rem;
  --t-32: 2rem;
  --t-40: 2.5rem;
  --t-48: 3rem;
  --t-64: 4rem;
  --t-72: 4.5rem;
  --t-96: 6rem;
  --t-112: 7rem;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-8: 3rem;
  --s-10: 4rem;
  --s-12: 5rem;
  --s-16: 7rem;
  --s-20: 9rem;
  --s-24: 11rem;

  /* Layout */
  --content-max: 1280px;
  --content-narrow: 720px;
  --content-wide: 1480px;
  --gutter: 4rem;
  --gutter-mobile: 1.25rem;

  /* Misc */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --r-pill: 999px;
  --shadow-paper: 0 1px 0 rgba(16, 19, 26, 0.04), 0 12px 32px -16px rgba(16, 19, 26, 0.08);
  --shadow-hover: 0 1px 0 rgba(16, 19, 26, 0.04), 0 24px 48px -20px rgba(16, 19, 26, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 0.84, 0.44, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --d-fast: 180ms;
  --d-med: 360ms;
  --d-slow: 600ms;
}

/* ─── Reset / base ─────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-18);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern', 'liga', 'calt';
  text-rendering: optimizeLegibility;
}

::selection { background: var(--coral); color: var(--paper); }

img { max-width: 100%; display: block; }

a {
  color: var(--gulf);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--d-fast) var(--ease-out);
}
a:hover { color: var(--coral); text-decoration: underline; }

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

/* ─── Display type ─────────────────────────────────────────── */

.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.display-xl { font-size: clamp(3.5rem, 9vw, var(--t-112)); font-weight: 400; letter-spacing: -0.035em; line-height: 0.95; }
.display-l  { font-size: clamp(2.5rem, 6vw, var(--t-72)); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.display-m  { font-size: clamp(2rem, 4vw, var(--t-48)); font-weight: 500; line-height: 1.05; }
.display-s  { font-size: var(--t-32); font-weight: 500; line-height: 1.1; }

h1 { font-size: clamp(2.5rem, 6vw, var(--t-72)); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--t-40)); font-weight: 500; line-height: 1.1; }
h3 { font-size: var(--t-24); font-weight: 600; line-height: 1.15; }
h4 { font-size: var(--t-20); font-weight: 600; line-height: 1.2; }

.italic-display { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* Type roles */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

.deck {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, var(--t-24));
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: 48ch;
}

.byline {
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--t-24);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 36ch;
}

.lede::first-letter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 4.2em;
  float: left;
  line-height: 0.86;
  margin: 0.06em 0.08em 0 -0.04em;
  color: var(--gulf);
}

.prose p {
  font-size: var(--t-18);
  line-height: 1.65;
  max-width: 64ch;
  margin: 0 0 var(--s-5) 0;
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--t-32);
  line-height: 1.25;
  color: var(--gulf);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  max-width: 28ch;
}

/* ─── Layout ───────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter-mobile);
}
@media (min-width: 768px) { .container { padding: 0 var(--gutter); } }

.container-narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 0 var(--gutter-mobile); }
.container-wide   { max-width: var(--content-wide);   margin: 0 auto; padding: 0 var(--gutter-mobile); }
@media (min-width: 768px) {
  .container-narrow { padding: 0 var(--gutter); }
  .container-wide   { padding: 0 var(--gutter); }
}

.rule-h { height: 1px; background: var(--rule); border: 0; margin: 0; }
.rule-h-soft { height: 1px; background: var(--rule-soft); border: 0; margin: 0; }
.rule-thick { height: 2px; background: var(--ink); border: 0; margin: 0; }

/* ─── Masthead / global nav ────────────────────────────────── */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.masthead-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--s-4) var(--gutter-mobile);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 768px) { .masthead-inner { padding: var(--s-4) var(--gutter); } }

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-20);
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
}
.brand:hover { color: var(--ink); }
.brand .brand-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  transform: translateY(1px);
  animation: pulse-coral 2.4s ease-in-out infinite;
}
@keyframes pulse-coral {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 92, 62, 0.35); }
  50%      { box-shadow: 0 0 0 7px rgba(216, 92, 62, 0); }
}

.nav-primary {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--s-6);
}
@media (min-width: 900px) { .nav-primary { display: flex; } }

.nav-primary a {
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  position: relative;
}
.nav-primary a:hover { color: var(--gulf); text-decoration: none; }
.nav-primary a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px;
  background: var(--coral);
}

.nav-depts {
  position: relative;
}
.nav-depts > button {
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.nav-depts-menu {
  position: absolute;
  top: calc(100% + var(--s-4));
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: var(--s-5);
  min-width: 540px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2) var(--s-6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out), visibility 0s linear var(--d-fast);
  box-shadow: var(--shadow-paper);
}
.nav-depts:hover .nav-depts-menu,
.nav-depts:focus-within .nav-depts-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out), visibility 0s;
}
.nav-depts-menu a {
  font-family: var(--font-display);
  font-size: var(--t-18);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  padding: var(--s-2) 0;
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.nav-depts-menu a:hover { color: var(--gulf); text-decoration: none; }
.nav-depts-menu a .dept-num {
  font-family: var(--font-mono);
  font-size: var(--t-14);
  color: var(--ink-soft);
  min-width: 2ch;
}

/* Mobile menu toggle */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-2);
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform var(--d-fast) var(--ease-out), opacity var(--d-fast); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.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(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 60px 0 0 0;
  background: var(--paper);
  z-index: 90;
  padding: var(--s-8) var(--gutter-mobile);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--d-med) var(--ease-out);
}
body.nav-open .mobile-menu { transform: translateX(0); }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: var(--t-32);
  font-weight: 400;
  color: var(--ink);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--rule-soft);
}

/* Right side: live indicator + suggest button */
.masthead-right {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.live-indicator {
  display: none;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 500;
  color: var(--ink-muted);
}
@media (min-width: 1200px) { .live-indicator { display: inline-flex; } }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vibe-buzzing);
  animation: pulse-live 1.8s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}
.live-indicator strong { color: var(--ink); font-weight: 600; }

/* ─── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-pill);
  transition: background var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--gulf); color: var(--paper); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-coral {
  background: var(--coral);
  color: var(--paper);
}
.btn-coral:hover { background: var(--coral-soft); color: var(--paper); }

.btn-quiet {
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--rule);
}
.btn-quiet:hover { color: var(--coral); border-bottom-color: var(--coral); }

/* ─── Hero / cover ─────────────────────────────────────────── */

.hero-cover {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  animation: ken-burns 18s ease-out forwards;
}
.hero-cover-image-fallback {
  background: linear-gradient(160deg, #C8A87E 0%, #D85C3E 38%, #0B5C7A 100%);
}
@keyframes ken-burns {
  0%   { transform: scale(1.06) translate(1%, -1%); }
  100% { transform: scale(1.0) translate(0, 0); }
}
.hero-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,19,26,0) 0%, rgba(16,19,26,0) 30%, rgba(16,19,26,0.55) 100%),
    linear-gradient(180deg, rgba(16,19,26,0.25) 0%, rgba(16,19,26,0) 30%);
  z-index: -1;
}

.hero-cover-content {
  position: relative;
  padding: var(--s-16) 0 var(--s-12);
  width: 100%;
  color: var(--paper);
}
.hero-cover-content .container {
  display: grid;
  gap: var(--s-5);
}
.hero-cover-content .eyebrow { color: rgba(246, 241, 232, 0.78); }
.hero-cover-content h1 { color: var(--paper); }
.hero-cover-content .deck { color: rgba(246, 241, 232, 0.86); }

.issue-line {
  font-family: var(--font-mono);
  font-size: var(--t-14);
  letter-spacing: 0.12em;
  color: rgba(246, 241, 232, 0.6);
  display: flex;
  gap: var(--s-4);
  align-items: center;
}
.issue-line .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

/* ─── Section heads ────────────────────────────────────────── */

.section {
  padding: var(--s-16) 0;
}
.section-tight { padding: var(--s-10) 0; }
@media (max-width: 768px) { .section { padding: var(--s-10) 0; } }

.section-head {
  display: grid;
  gap: var(--s-2);
  margin-bottom: var(--s-8);
}
.section-head .eyebrow { color: var(--coral); }

/* ─── Cover: What's Buzzing strip ──────────────────────────── */

.buzzing-strip {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-6) 0;
  background: var(--paper-warm);
}
.buzzing-rail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-6);
  align-items: center;
}
@media (max-width: 900px) { .buzzing-rail { grid-template-columns: 1fr; } }
.buzzing-head {
  display: grid;
  gap: var(--s-1);
}
.buzzing-head .eyebrow { color: var(--coral); }
.buzzing-head h3 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: var(--t-32); color: var(--ink); }
.buzzing-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--s-2);
}
.buzzing-cards::-webkit-scrollbar { height: 6px; }
.buzzing-cards::-webkit-scrollbar-track { background: var(--paper-warm); }
.buzzing-cards::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
.buzzing-card {
  scroll-snap-align: start;
  display: grid;
  gap: var(--s-2);
  padding: var(--s-3) 0;
}
.buzzing-card .eyebrow { color: var(--ink-muted); font-size: 11px; }
.buzzing-card h4 { font-family: var(--font-display); font-weight: 500; font-size: var(--t-20); color: var(--ink); letter-spacing: -0.01em; }
.buzzing-card a:hover h4 { color: var(--gulf); }

/* ─── Department index (TOC) ───────────────────────────────── */

.dept-index { padding: var(--s-12) 0; }
.dept-index-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.dept-index-list li {
  border-bottom: 1px solid var(--rule);
}
.dept-index-list a {
  display: grid;
  grid-template-columns: 4ch minmax(0, 1fr) auto auto;
  gap: var(--s-5);
  align-items: baseline;
  padding: var(--s-5) 0;
  color: var(--ink);
  transition: padding var(--d-med) var(--ease-out), background var(--d-med) var(--ease-out);
}
.dept-index-list a:hover {
  padding-left: var(--s-4);
  padding-right: var(--s-4);
  background: var(--paper-warm);
  text-decoration: none;
}
.dept-num {
  font-family: var(--font-mono);
  font-size: var(--t-14);
  color: var(--ink-soft);
}
.dept-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, var(--t-40));
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.dept-meta {
  font-family: var(--font-body);
  font-size: var(--t-14);
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: none;
}
@media (min-width: 700px) { .dept-meta { display: inline; } }
.dept-arrow {
  font-family: var(--font-display);
  font-size: var(--t-32);
  color: var(--ink-soft);
  transition: transform var(--d-med) var(--ease-out), color var(--d-fast);
}
.dept-index-list a:hover .dept-arrow { color: var(--coral); transform: translateX(8px); }
.dept-icon {
  width: 28px;
  height: 28px;
  stroke: var(--gulf);
  stroke-width: 1.4;
  fill: none;
  transition: stroke var(--d-fast);
}
.dept-index-list a:hover .dept-icon { stroke: var(--coral); }

/* ─── Category opener (per-department hero) ────────────────── */

.opener {
  padding: var(--s-12) 0 var(--s-10);
  border-bottom: 1px solid var(--rule);
}
.opener-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}
@media (min-width: 900px) {
  .opener-grid {
    grid-template-columns: 7fr 5fr;
    gap: var(--s-10);
    align-items: end;
  }
}
.opener-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}
.opener-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.opener-image:hover img { transform: scale(1.03); }
.opener-image-caption {
  position: absolute;
  left: var(--s-4);
  bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--t-14);
  color: var(--paper);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}

.opener-copy {
  display: grid;
  gap: var(--s-5);
  align-content: end;
}
.opener-issue { color: var(--coral); }
.opener-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, var(--t-96));
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--ink);
}
.opener-title em { font-style: italic; color: var(--gulf); font-weight: 400; }

/* ─── Business listings ────────────────────────────────────── */

.listings {
  padding: var(--s-10) 0;
}
.listings-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--s-8);
  flex-wrap: wrap;
  gap: var(--s-4);
}
.listings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}
@media (min-width: 700px)  { .listings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .listings-grid { grid-template-columns: repeat(3, 1fr); } }

.listing-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--rule);
}

.listing-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-deep);
}
.listing-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 1s var(--ease-out);
}
.listing-card:hover .listing-image img { transform: scale(1.04); }

/* Logo-style images (when src looks like a brand logo): contain, padded, neutral background. */
.listing-image.is-logo {
  background: linear-gradient(135deg, var(--paper-warm), var(--paper-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12% 14%;
}
.listing-image.is-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  transition: transform 0.6s var(--ease-out);
}
.listing-card:hover .listing-image.is-logo img { transform: scale(1.03); }

.listing-image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--paper-deep), var(--paper-warm));
}
.listing-image-fallback svg {
  width: 64px;
  height: 64px;
  stroke: var(--ink-soft);
  stroke-width: 1.2;
  fill: none;
  opacity: 0.5;
}

/* If a remote image fails to load, swap to the monogram fallback automatically. */
.listing-image.img-failed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--paper-deep), var(--paper-warm));
  z-index: 0;
}
.listing-image.img-failed::before {
  content: '';
  position: absolute;
  inset: 30% 30%;
  z-index: 1;
  background:
    radial-gradient(circle, var(--ink-soft) 0 1px, transparent 2px) center / 12px 12px;
  opacity: 0.18;
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--t-14);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.listing-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-24);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0;
}
.listing-card a:hover .listing-title { color: var(--gulf); text-decoration: none; }

.listing-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-18);
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.35;
}

.listing-description {
  font-size: var(--t-16);
  color: var(--ink);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-tags {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
}

.listing-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-4);
  align-items: center;
  padding-top: var(--s-3);
}

/* ─── Vibe meter ───────────────────────────────────────────── */

.vibe-meter {
  display: grid;
  gap: var(--s-2);
}
.vibe-bar {
  position: relative;
  height: 6px;
  background: var(--rule-soft);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.vibe-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--vibe-steady);
  border-radius: inherit;
  transition: width 800ms var(--ease-out), background 400ms;
}
.vibe-fill.is-chilling { background: var(--vibe-chilling); }
.vibe-fill.is-steady   { background: var(--vibe-steady);   }
.vibe-fill.is-buzzing  { background: var(--vibe-buzzing);  }
.vibe-fill.is-vibing   { background: var(--vibe-vibing);   }

.vibe-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--t-14);
}
.vibe-label {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vibe-label.is-chilling { color: var(--vibe-chilling); }
.vibe-label.is-steady   { color: var(--vibe-steady);   }
.vibe-label.is-buzzing  { color: var(--vibe-buzzing);  }
.vibe-label.is-vibing   { color: var(--vibe-vibing);   }
.vibe-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.vibe-vote {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--d-fast), color var(--d-fast), transform var(--d-fast);
}
.vibe-vote:hover { background: var(--ink); color: var(--paper); }
.vibe-vote.is-voted { background: var(--coral); color: var(--paper); border-color: var(--coral); }
.vibe-vote .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.vibe-vote.is-voted .dot { background: var(--paper); }

/* ─── Index page filters ───────────────────────────────────── */

.filters {
  position: sticky;
  top: 60px;
  z-index: 10;
  background: rgba(246, 241, 232, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-4) 0;
  margin-bottom: var(--s-8);
}
.filters-grid {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  align-items: center;
}
.filter-chip {
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: all var(--d-fast) var(--ease-out);
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.filter-search {
  flex: 1;
  min-width: 200px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: var(--t-16);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  color: var(--ink);
}
.filter-search:focus { outline: none; border-color: var(--ink); }

.filter-sort {
  font-family: var(--font-body);
  font-size: var(--t-14);
  padding: 6px 32px 6px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%2310131A' stroke-width='1.4' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* ─── Suggest form ─────────────────────────────────────────── */

.suggest-form {
  display: grid;
  gap: var(--s-5);
  max-width: 640px;
}
.field {
  display: grid;
  gap: var(--s-2);
}
.field label {
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-size: var(--t-18);
  padding: 12px 16px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  color: var(--ink);
  width: 100%;
  border-radius: var(--r-sm);
  transition: border-color var(--d-fast), background var(--d-fast);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }

.field-row {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-16);
  color: var(--ink-muted);
}

.form-success {
  padding: var(--s-5);
  border: 1px solid var(--gulf);
  background: rgba(11, 92, 122, 0.06);
  color: var(--gulf-deep);
  border-radius: var(--r-md);
  display: none;
}
.form-success.is-visible { display: block; }
.form-success h4 { color: var(--gulf-deep); font-family: var(--font-display); font-weight: 500; }

/* ─── Footer / colophon ────────────────────────────────────── */

.colophon {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-12) 0 var(--s-6);
  margin-top: var(--s-16);
}
.colophon a { color: var(--paper); }
.colophon a:hover { color: var(--coral-soft); text-decoration: underline; }
.colophon-grid {
  display: grid;
  gap: var(--s-8);
  grid-template-columns: 1fr;
  padding-bottom: var(--s-10);
  border-bottom: 1px solid rgba(246, 241, 232, 0.15);
}
@media (min-width: 800px) { .colophon-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-10); } }
.colophon h5 {
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.6);
  margin: 0 0 var(--s-4) 0;
}
.colophon ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.colophon-brand h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--t-40);
  color: var(--paper);
  letter-spacing: -0.02em;
}
.colophon-brand p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-18);
  color: rgba(246, 241, 232, 0.7);
  margin-top: var(--s-3);
  max-width: 40ch;
}
.colophon-fine {
  padding-top: var(--s-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--t-14);
  color: rgba(246, 241, 232, 0.5);
  letter-spacing: 0.08em;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ─── Motion / reveal ──────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--d-slow) var(--ease-out), transform var(--d-slow) var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

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

/* ─── Field notes (about replacement) ──────────────────────── */

.field-notes {
  padding: var(--s-12) 0;
}
.field-notes-lede { max-width: 36ch; margin-bottom: var(--s-10); }
.field-notes-body {
  max-width: 64ch;
  font-size: var(--t-18);
  line-height: 1.7;
  display: grid;
  gap: var(--s-5);
}
.field-notes-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.6em;
  float: left;
  line-height: 0.88;
  margin: 0.06em 0.08em 0 -0.04em;
  color: var(--coral);
}

/* ─── Utilities ────────────────────────────────────────────── */

.text-center { text-align: center; }
.text-muted  { color: var(--ink-muted); }
.text-coral  { color: var(--coral); }
.text-gulf   { color: var(--gulf); }

.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); }
.mb-8 { margin-bottom: var(--s-8); }

.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* ─── Detail modal (per-business reading view) ─────────────── */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.detail-modal[aria-hidden="false"] {
  display: block;
}
html.detail-open, body.detail-open { overflow: hidden; }

.detail-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 19, 26, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--d-med) var(--ease-out);
  cursor: pointer;
  z-index: 0;
}
.detail-panel { z-index: 1; }
.detail-modal[aria-hidden="false"] .detail-backdrop {
  opacity: 1;
}

.detail-panel {
  position: relative;
  background: var(--paper);
  max-width: 880px;
  width: calc(100% - 2rem);
  margin: 4vh auto;
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.45);
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform var(--d-med) var(--ease-out), opacity var(--d-med) var(--ease-out);
}
.detail-modal[aria-hidden="false"] .detail-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
@media (max-width: 768px) {
  .detail-panel { margin: 0; border-radius: 0; width: 100%; min-height: 100vh; }
}

.detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(246, 241, 232, 0.92);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--d-fast), transform var(--d-fast);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.detail-close:hover { background: var(--paper); transform: scale(1.06); }

.detail-hero {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--paper-deep), var(--paper-warm));
  overflow: hidden;
}
.detail-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-hero.is-logo .detail-hero-image {
  object-fit: contain;
  padding: 6% 10%;
}
.detail-hero-caption {
  position: absolute;
  left: var(--s-5);
  bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.detail-body {
  padding: var(--s-8) clamp(1.25rem, 4vw, var(--s-10)) var(--s-10);
}

.detail-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral);
  margin-bottom: var(--s-3);
}
.detail-eyebrow .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ink-soft);
}
.detail-eyebrow .detail-price-dot:empty,
.detail-eyebrow span:empty { display: none; }
.detail-eyebrow .detail-price-dot { background: var(--ink-soft); }

.detail-title {
  margin: 0 0 var(--s-3) 0;
  color: var(--ink);
}
.detail-tagline {
  font-size: var(--t-24);
  color: var(--ink-muted);
  margin: 0 0 var(--s-6) 0;
  line-height: 1.3;
}

.detail-vibe-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s-6);
}
.detail-vibe-block .vibe-meter { max-width: 320px; }
.detail-vibe-block .vibe-label { font-size: var(--t-16); }

.detail-description {
  font-size: var(--t-18);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 0 var(--s-6) 0;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-6);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.detail-reviews {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
}
.detail-reviews h4 { margin: 0 0 var(--s-3) 0; }
.detail-reviews ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.detail-reviews a {
  font-family: var(--font-display);
  font-size: var(--t-18);
  color: var(--gulf);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.detail-reviews a::after {
  content: '↗';
  font-family: var(--font-body);
  font-size: 0.8em;
  color: var(--ink-soft);
}

.detail-comments {
  padding-top: var(--s-8);
  border-top: 1px solid var(--rule);
  margin-top: var(--s-2);
}
.detail-comments h4 { margin: 0 0 var(--s-4) 0; }
.comment-list {
  list-style: none;
  margin: 0 0 var(--s-6) 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.comment-list li {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule-soft);
}
.comment-list li:last-child { border-bottom: 0; }
.comment-empty {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-muted);
  padding: var(--s-4) 0 !important;
  border-bottom: 0 !important;
}
.comment-author {
  font-family: var(--font-body);
  font-size: var(--t-14);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}
.comment-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  margin-left: var(--s-2);
}
.comment-text {
  font-size: var(--t-16);
  line-height: 1.6;
  margin: var(--s-2) 0 0 0;
  color: var(--ink);
}
.comment-pending {
  opacity: 0.7;
}
.comment-pending .comment-author::after {
  content: ' · pending review';
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--ink-soft);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.comment-form textarea {
  font-family: var(--font-body);
  font-size: var(--t-16);
  padding: 12px 16px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  color: var(--ink);
  width: 100%;
  border-radius: var(--r-sm);
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.comment-form textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.comment-form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-3);
  align-items: center;
}
@media (max-width: 480px) {
  .comment-form-row { grid-template-columns: 1fr; }
}
.comment-form input[type="text"] {
  font-family: var(--font-body);
  font-size: var(--t-16);
  padding: 10px 14px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  color: var(--ink);
  border-radius: var(--r-sm);
}
.comment-form input[type="text"]:focus { outline: none; border-color: var(--ink); background: var(--paper); }

/* Listing card is now clickable. Indicate affordance subtly. */
.listing-card { cursor: pointer; transition: transform var(--d-fast) var(--ease-out); }
.listing-card:hover .listing-title { color: var(--gulf); }
.listing-card:focus-within { outline: 2px solid var(--gulf); outline-offset: 4px; }
/* Make sure interactive footer elements don't get the cursor change */
.listing-footer { cursor: default; }
.listing-footer * { cursor: default; }
.listing-footer .vibe-vote { cursor: pointer; }

/* ─── Featured guides strip (Cover) ────────────────────────── */

.featured-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.featured-guide-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: border-color var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out);
}
.featured-guide-card:hover {
  border-color: var(--gulf);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.featured-guide-card .eyebrow {
  color: var(--coral);
}
.featured-guide-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-32);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.featured-guide-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-18);
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
  flex: 1;
}
.featured-guide-cta {
  font-family: var(--font-body);
  font-size: var(--t-14);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gulf);
  margin-top: var(--s-3);
}
.featured-guide-card:hover .featured-guide-cta { color: var(--coral); }

/* ─── Category enrichment (SEO longform on dept pages) ─────── */

.category-enrich {
  padding-top: var(--s-8);
  padding-bottom: var(--s-4);
}
.category-enrich-prose {
  max-width: 760px;
  margin: 0 auto;
}
.category-enrich + .listings { padding-top: var(--s-6); }

/* ─── Feature articles (longform editorial pages) ──────────── */

.feature { padding-bottom: var(--s-12); }

.feature-hero {
  position: relative;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--rule);
  padding-bottom: var(--s-10);
}

.feature-hero-image {
  position: relative;
  width: 100%;
  height: clamp(320px, 56vh, 620px);
  overflow: hidden;
  background: var(--paper-deep);
}
.feature-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-hero-credit {
  position: absolute;
  bottom: var(--s-3);
  right: var(--s-4);
  font-family: var(--font-body);
  font-size: var(--t-14);
  color: rgba(246, 241, 232, 0.85);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.02em;
}

.feature-hero-copy {
  max-width: 860px;
  margin: 0 auto;
  padding-top: var(--s-8);
}
.feature-kicker {
  display: inline-block;
  margin-bottom: var(--s-3);
  color: var(--coral);
}
.feature-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(var(--t-40), 6vw, var(--t-72));
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4);
  color: var(--ink);
}
.feature-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(var(--t-20), 2.4vw, var(--t-32));
  line-height: 1.35;
  color: var(--ink-muted);
  max-width: 32ch;
  margin: 0 0 var(--s-5);
}
.feature-byline {
  font-family: var(--font-body);
  font-size: var(--t-14);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.feature-body { padding-top: var(--s-10); }

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--s-10);
  align-items: start;
}

.feature-prose { max-width: 720px; }

.feature-section { margin-bottom: var(--s-10); }
.feature-section:last-child { margin-bottom: 0; }

.feature-section-image {
  position: relative;
  margin: 0 0 var(--s-5);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
}
.feature-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-section-image-credit {
  position: absolute;
  bottom: var(--s-2);
  right: var(--s-3);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(246, 241, 232, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.feature-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(var(--t-24), 2.6vw, var(--t-32));
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
  color: var(--ink);
}

.feature-prose p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--t-20);
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 var(--s-4);
}
.feature-prose p:last-child { margin-bottom: 0; }
.feature-prose p a {
  color: var(--gulf);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.feature-prose p a:hover { color: var(--coral); }

.feature-lede-secondary {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-20);
  color: var(--ink-muted);
  margin: 0 0 var(--s-5);
}

/* Aside (sidebar with fact box + related) */
.feature-aside {
  position: sticky;
  top: calc(var(--s-10) + 40px);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.fact-box {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  padding: var(--s-5);
  border-radius: var(--r-md);
}
.fact-box .eyebrow { display: block; margin-bottom: var(--s-4); color: var(--coral); }
.fact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--rule-soft);
}
.fact-row:first-of-type { border-top: 0; padding-top: 0; }
.fact-row:last-of-type { padding-bottom: 0; }
.fact-label {
  font-family: var(--font-body);
  font-size: var(--t-14);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.fact-value {
  font-family: var(--font-body);
  font-size: var(--t-16);
  color: var(--ink);
  line-height: 1.45;
}
.fact-value a { color: var(--gulf); text-decoration: none; }
.fact-value a:hover { text-decoration: underline; }

/* Related-cards in aside */
.feature-related { display: flex; flex-direction: column; gap: var(--s-3); }
.feature-related .eyebrow { color: var(--coral); }
.related-card {
  display: block;
  padding: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: border-color var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out);
}
.related-card:hover {
  border-color: var(--gulf);
  transform: translateY(-1px);
}
.related-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-18);
  margin-bottom: 4px;
}
.related-card-tag {
  font-size: var(--t-14);
  color: var(--ink-muted);
  margin-bottom: var(--s-2);
}
.related-card-meta {
  font-family: var(--font-body);
  font-size: var(--t-14);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* FAQ */
.feature-faqs .faq {
  border-top: 1px solid var(--rule);
  padding: var(--s-4) 0;
}
.feature-faqs .faq:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-20);
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: var(--s-6);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--font-body);
  font-size: var(--t-24);
  color: var(--coral);
  font-weight: 300;
  transition: transform var(--d-fast) var(--ease-out);
}
.faq[open] .faq-q::after { content: '−'; transform: rotate(0deg); }
.faq-a { padding-top: var(--s-3); }
.faq-a p {
  font-family: var(--font-display);
  font-size: var(--t-18);
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

/* Keep reading list */
.keep-reading-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-3);
}
.keep-reading-list a {
  display: block;
  padding: var(--s-4);
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--t-18);
  line-height: 1.35;
  transition: border-color var(--d-fast), background var(--d-fast);
}
.keep-reading-list a:hover {
  border-color: var(--gulf);
  background: var(--paper);
}

/* Event groups (used on Big Night Out and other date-driven features) */
.event-group {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  padding: var(--s-5);
  border-radius: var(--r-md);
  margin-bottom: var(--s-5);
}
.event-group:last-child { margin-bottom: 0; }
.event-group-image {
  position: relative;
  margin: calc(-1 * var(--s-5)) calc(-1 * var(--s-5)) var(--s-5);
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 16 / 9;
}
.event-group-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-group-image-credit {
  position: absolute;
  bottom: var(--s-2);
  right: var(--s-3);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(246, 241, 232, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.event-group-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.event-group-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-24);
  margin: 0;
  color: var(--ink);
}
.event-group-venue {
  font-family: var(--font-body);
  font-size: var(--t-14);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.event-group-description {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-18);
  color: var(--ink-muted);
  margin: 0 0 var(--s-4);
  line-height: 1.5;
}
.event-list { list-style: none; padding: 0; margin: 0; }
.event-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--rule-soft);
}
.event-item:first-child { border-top: 0; }
.event-item.has-image {
  grid-template-columns: 64px 64px 1fr auto;
}
.event-image {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
}
.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-2);
  min-width: 56px;
}
.event-day {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-24);
  line-height: 1;
  color: var(--ink);
}
.event-month {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-top: 2px;
}
.event-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.event-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-18);
  color: var(--ink);
  line-height: 1.3;
}
.event-detail {
  font-family: var(--font-body);
  font-size: var(--t-14);
  color: var(--ink-muted);
}
.event-time {
  font-family: var(--font-body);
  font-size: var(--t-14);
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}
.event-link {
  font-family: var(--font-body);
  font-size: var(--t-14);
  letter-spacing: 0.03em;
  color: var(--gulf);
  text-decoration: none;
  white-space: nowrap;
}
.event-link:hover { color: var(--coral); text-decoration: underline; }
.event-group-cta {
  display: inline-block;
  margin-top: var(--s-4);
  font-family: var(--font-body);
  font-size: var(--t-14);
  letter-spacing: 0.03em;
  color: var(--gulf);
  text-decoration: none;
}
.event-group-cta:hover { color: var(--coral); }

/* Mobile */
@media (max-width: 920px) {
  .feature-grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .feature-aside { position: static; }
  .feature-hero-image { height: clamp(280px, 50vh, 460px); }
  .feature-hero-copy { padding-top: var(--s-6); }
  .feature-prose p { font-size: var(--t-18); }
  .event-item {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
  }
  .event-item.has-image {
    grid-template-columns: 56px 48px 1fr;
  }
  .event-image {
    width: 56px;
    height: 56px;
  }
  .event-link {
    grid-column: 1 / -1;
    justify-self: end;
    padding-top: 2px;
  }
  .event-group-image {
    aspect-ratio: 4 / 3;
  }
}

/* Print: keep it civilized */
@media print {
  .masthead, .colophon, .nav-toggle, .vibe-meter, .filters { display: none; }
  body { background: white; color: black; }
}
