/*! SpookFinder — handwritten vanilla CSS (replaces Tailwind v4 compiled output)
 *  1:1 visual port of the Tailwind build. Semantic component classes.
 *  Dark theme is intentional and part of the brand — do NOT lighten.
 *  Mobile-first. Breakpoints: sm 640, md 768, lg 1024, xl 1280.
 */

/* ── Design tokens ───────────────────────────────────────────── */
:root {
  --color-dark:        #0a0c12;
  --color-dark-card:   #141419;
  --color-dark-border: #2a2a35;
  --color-accent:      #e94560;
  --color-accent-hover:#ff6b6b;
  --color-muted:       #6b7280;
  --color-ghost:       #9ca3af;
  --color-white:       #ffffff;
  --color-gray-100:    #f3f4f6;
  --color-gray-300:    #d1d5db;
  --color-gray-400:    #9ca3af;
  --color-emerald-400: #34d399;
  --color-red-400:     #f87171;
  --color-red-700:     #b91c1c;
  --color-green-400:   #4ade80;
  --color-green-700:   #15803d;

  --font-sans:    'Inter', system-ui, sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
  --font-creepy:  'Creepster', cursive;

  --radius-sm:  0.25rem;  /* 4px  */
  --radius:     0.375rem; /* 6px  */
  --radius-md:  0.5rem;   /* 8px  */
  --radius-lg:  0.5rem;   /* 8px — matches Tailwind rounded-lg */
  --radius-xl:  0.75rem;  /* 12px — rounded-xl */
  --radius-2xl: 1rem;     /* 16px */
  --radius-full:9999px;

  --shadow-card-hover: 0 10px 15px -3px rgba(233, 69, 96, 0.1),
                       0 4px 6px -4px rgba(233, 69, 96, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ── Reset / base ────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--color-dark);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-gray-100);
  background: var(--color-dark);
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a {
  color: inherit;
  text-decoration: none;
}

img, svg, video, iframe {
  display: block;
  max-width: 100%;
}

img { height: auto; }

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

input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.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;
}

/* ── Layout primitives ───────────────────────────────────────── */
.container-7xl,
.container-5xl,
.container-4xl,
.container-3xl,
.container-2xl,
.container-xl {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}
.container-7xl { max-width: 80rem; }   /* 1280px */
.container-5xl { max-width: 64rem; }   /* 1024px */
.container-4xl { max-width: 56rem; }   /* 896px  */
.container-3xl { max-width: 48rem; }   /* 768px  */
.container-2xl { max-width: 42rem; }   /* 672px  */
.container-xl  { max-width: 36rem; }   /* 576px  */

/* Hide-scrollbar helper (horizontal state filter scroller) */
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

/* ── Typography scale ────────────────────────────────────────── */
.display-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;            /* text-2xl */
  letter-spacing: 0.1em;
  color: var(--color-white);
  transition: color 0.2s ease;
}
.display-logo:hover { color: var(--color-accent); }

.display-title {
  font-family: var(--font-display);
  color: var(--color-white);
  line-height: 1;
  font-size: 3rem;              /* text-5xl */
  margin-bottom: 0.75rem;
}

.creepy-title {
  font-family: var(--font-creepy);
  color: var(--color-white);
  line-height: 1.1;
  font-size: 1.875rem;          /* text-3xl */
}

.section-heading {
  font-size: 1.5rem;            /* text-2xl */
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.lede {
  color: var(--color-ghost);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ── Site header ─────────────────────────────────────────────── */
.site-header {
  /* default (non-transparent) has no positioning — follows doc flow */
}
.site-header-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
  height: 3.5rem;               /* h-14 */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav {
  display: none;                /* hidden on mobile */
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-ghost);
}
.site-nav a { transition: color 0.2s ease; }
.site-nav a:hover { color: var(--color-white); }
.site-nav a.is-active { color: var(--color-white); }

/* Transparent variant — used on place detail pages */
.site-header.is-transparent {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s ease;
}
.site-header.is-transparent.scrolled {
  background: rgba(10, 10, 15, 0.95);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.site-header.is-transparent .site-nav { color: var(--color-white); }
.site-header.is-transparent .site-nav a:hover { color: var(--color-accent); }

.mobile-menu-btn {
  padding: 0.5rem;
  color: var(--color-ghost);
  transition: color 0.2s ease;
}
.mobile-menu-btn:hover { color: var(--color-white); }
.mobile-menu-btn svg { width: 1.5rem; height: 1.5rem; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, 0.95);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: 16rem;
  height: 100%;
  background: var(--color-dark-card);
  border-left: 1px solid var(--color-dark-border);
  padding: 1.5rem;
}
.mobile-menu-close {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.5rem;
  color: var(--color-ghost);
}
.mobile-menu-close:hover { color: var(--color-white); }
.mobile-menu-close svg { width: 1.5rem; height: 1.5rem; }
.mobile-menu-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.125rem;
}
.mobile-menu-list a {
  color: var(--color-ghost);
  padding: 12px 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}
.mobile-menu-list a:hover { color: var(--color-white); }
.mobile-menu-list a.is-active { color: var(--color-white); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--color-dark-border);
}
.site-footer-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding: 3rem 1.5rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
.footer-brand-col { grid-column: span 2; }
.footer-brand-text {
  font-size: 0.875rem;
  color: var(--color-ghost);
  margin-top: 0.75rem;
  max-width: 20rem;
  line-height: 1.625;
}
.footer-rss {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 1rem;
  transition: color 0.2s ease;
}
.footer-rss:hover { color: var(--color-white); }
.footer-rss svg { width: 0.875rem; height: 0.875rem; }

.footer-col-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--color-ghost);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--color-white); }

.footer-newsletter-text {
  font-size: 0.875rem;
  color: var(--color-ghost);
  margin-bottom: 1rem;
  line-height: 1.625;
}
.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.footer-newsletter-input {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.75rem;
  color: var(--color-white);
  transition: border-color 0.2s ease;
}
.footer-newsletter-input::placeholder { color: var(--color-muted); }
.footer-newsletter-input:focus { outline: none; border-color: var(--color-accent); }
.footer-newsletter-button {
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.footer-newsletter-button:hover { background: var(--color-accent-hover); }
.footer-newsletter-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--color-dark-border);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copyright {
  font-size: 0.875rem;
  color: var(--color-muted);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.75rem;
  color: var(--color-muted);
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--color-white); }

/* ── Breadcrumbs ─────────────────────────────────────────────── */
.breadcrumbs {
  font-size: 0.875rem;
  color: var(--color-ghost);
  margin-bottom: 1rem;
}
.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}
.breadcrumbs a { transition: color 0.2s ease; }
.breadcrumbs a:hover { color: var(--color-white); }
.breadcrumbs-current { color: var(--color-white); }
.breadcrumbs-sep { color: var(--color-muted); }

/* ── Hero section ────────────────────────────────────────────── */
.hero {
  padding: 3rem 0;
  text-align: center;
}
.hero-title {
  font-family: var(--font-creepy);
  color: var(--color-white);
  line-height: 1.1;
  font-size: 1.875rem;
}
.hero-subtitle {
  color: var(--color-ghost);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.page-header {
  margin-bottom: 2.5rem;
}
.page-header-centered { text-align: center; padding: 3rem 0; }
.page-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.page-subtitle {
  color: var(--color-ghost);
  font-size: 1.125rem;
}
.page-intro {
  color: var(--color-ghost);
  max-width: 48rem;
}

/* Intro text block on state pages */
.state-intro {
  max-width: 48rem;
  margin-bottom: 2rem;
  color: var(--color-ghost);
  line-height: 1.625;
}
.state-intro h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}
.state-intro p { margin-bottom: 0.75rem; }

/* ── State filter strip (sticky) ─────────────────────────────── */
.state-filters {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: all 0.3s ease;
}
.state-filters-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
.state-filters-scroller {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 300;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.state-filters-scroller::-webkit-scrollbar { display: none; }
.state-filters-scroller a {
  color: var(--color-ghost);
  white-space: nowrap;
  transition: color 0.2s ease;
  padding: 12px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.state-filters-scroller a:hover { color: var(--color-white); }
.state-filters-scroller a.is-active { color: var(--color-white); }

/* ── Card grids ──────────────────────────────────────────────── */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card-grid-1  { grid-template-columns: minmax(0, 1fr); }
.card-grid-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid-wide { gap: 1.5rem; }

/* ── Place card (homepage / state page — minimal chromeless) ─ */
.place-card {
  position: relative;
  display: block;
  background: var(--color-dark-card);
  overflow: hidden;
}
.place-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.place-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.place-card-image .place-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, var(--color-dark-card), var(--color-dark));
}
.place-card-fallback-emoji {
  font-size: 2.25rem;
  opacity: 0.3;
}
.place-card-body {
  padding: 0.75rem;
}
.place-card-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color 0.2s ease;
}
.place-card:hover .place-card-title { color: var(--color-accent); }
.place-card-meta {
  font-size: 0.75rem;
  color: var(--color-ghost);
}

/* ── Place card — rounded/padded (cities, hotels, tours, shared component) ── */
.place-card-rich {
  display: block;
  position: relative;
  background: var(--color-dark-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.place-card-rich:hover {
  box-shadow: var(--shadow-card-hover);
}
.place-card-rich .place-card-image img {
  transition: transform 0.3s ease;
}
.place-card-rich:hover .place-card-image img {
  transform: scale(1.05);
}
.place-card-rich-body {
  padding: 1rem;
}
.place-card-rich-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.place-card-rich:hover .place-card-rich-title { color: var(--color-accent); }
.place-card-rich-meta {
  font-size: 0.875rem;
  color: var(--color-muted);
}
.place-card-rich-excerpt {
  font-size: 0.875rem;
  color: var(--color-ghost);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.25rem;
}

/* Place image filter: desaturate on hover */
.place-img {
  transition: filter 0.5s ease, transform 0.5s ease;
  will-change: transform;
}
.place-img:hover,
.group:hover .place-img,
.place-card:hover .place-img,
.place-card-rich:hover .place-img {
  filter: saturate(0.4) contrast(1.1);
}

/* ── State card (states index, categories index, tours index) ── */
.state-card-link { display: block; }
.state-card {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.state-card-link:hover .state-card {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(233, 69, 96, 0.15);
}
.state-card-inner {
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
  border-radius: var(--radius);
}
.state-card-body {
  background: var(--color-dark-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.state-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.state-card-image.is-tall { aspect-ratio: 4 / 5; }
.state-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.state-card-link:hover .state-card-image img {
  transform: scale(1.05);
}
.state-card-caption {
  padding: 1rem;
  text-align: center;
  position: relative;
  background: linear-gradient(to top, var(--color-dark) 0%, rgba(20, 20, 25, 0.8) 60%, transparent 100%);
  margin-top: -2rem;
  padding-top: 3rem;
}
.state-card-name {
  font-weight: 600;
  color: var(--color-white);
  transition: color 0.2s ease;
  font-size: 1.125rem;
}
.state-card-link:hover .state-card-name { color: var(--color-accent); }
.state-card-count {
  font-size: 0.875rem;
  color: var(--color-accent);
}

/* ── City badge (on city cards) ──────────────────────────────── */
.badge-count {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(233, 69, 96, 0.1);
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.place-card-rich-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: background 0.2s ease;
}
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-primary svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-primary-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-primary-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-primary-block { width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-ghost);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.btn-ghost:hover { color: var(--color-white); }

.btn-link {
  color: var(--color-accent);
  transition: color 0.2s ease;
}
.btn-link:hover { color: var(--color-accent-hover); }

/* Icon button (circular / square w-10 h-10 style used in pagination) */
.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--color-ghost);
  border-radius: var(--radius-lg);
  transition: color 0.2s ease, background 0.2s ease;
}
.icon-btn:hover {
  color: var(--color-white);
  background: var(--color-dark-card);
}

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 3rem;
}
.pagination-prev,
.pagination-next {
  padding: 0.5rem 0.75rem;
  color: var(--color-ghost);
  transition: color 0.2s ease;
}
.pagination-prev:hover,
.pagination-next:hover { color: var(--color-white); }
.pagination-ellipsis {
  padding-inline: 0.25rem;
  color: var(--color-muted);
}
.pagination-page {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--color-ghost);
  border-radius: var(--radius-lg);
  transition: color 0.2s ease, background 0.2s ease;
}
.pagination-page:hover {
  color: var(--color-white);
  background: var(--color-dark-card);
}
.pagination-page.is-active {
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 500;
}

/* ── Empty state ─────────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem;
  text-align: center;
}
.empty-state-emoji {
  font-size: 3rem;
  opacity: 0.3;
  margin-bottom: 1.5rem;
}
.empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}
.empty-state-message {
  color: var(--color-ghost);
  margin-bottom: 2rem;
  max-width: 28rem;
  line-height: 1.625;
}

/* ── 404 page ────────────────────────────────────────────────── */
.error-page {
  background: var(--color-dark);
  color: var(--color-gray-100);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
}
.error-page-inner {
  text-align: center;
  padding-inline: 1rem;
}
.error-page-emoji {
  font-size: 3.75rem;
  margin-bottom: 1.5rem;
}
.error-page-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.error-page-message {
  color: var(--color-ghost);
  margin-bottom: 2rem;
  max-width: 28rem;
  margin-inline: auto;
}

/* ── Forms ───────────────────────────────────────────────────── */
.form-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ghost);
  margin-bottom: 0.5rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  color: var(--color-white);
  transition: border-color 0.2s ease;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--color-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus { outline: none; border-color: var(--color-accent); }
.form-textarea { resize: none; min-height: 7.5rem; }

.form-alert {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 2rem;
}
.form-alert-success {
  background: rgba(20, 83, 45, 0.3);
  border: 1px solid #15803d;
}
.form-alert-success-title {
  color: var(--color-green-400);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.form-alert-success-body { color: var(--color-ghost); }

.form-alert-error {
  background: rgba(127, 29, 29, 0.3);
  border: 1px solid #b91c1c;
  padding: 1rem;
}
.form-alert-error p { color: var(--color-red-400); }

/* Search bar (used on /search + embedded) */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 36rem;
}
.search-input {
  flex: 1;
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.25rem;
  transition: border-color 0.2s ease;
}
.search-input::placeholder { color: var(--color-muted); }
.search-input:focus { outline: none; border-color: var(--color-accent); }
.search-button {
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-lg);
  transition: background 0.2s ease;
}
.search-button:hover { background: var(--color-accent-hover); }

/* Filter dropdown (hotels / category pages) */
.filter-select {
  width: 100%;
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  color: var(--color-gray-100);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filter-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.filter-count {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

/* ── Place detail page ───────────────────────────────────────── */
.place-hero-image {
  position: relative;
  width: 100%;
  height: 16rem;                /* h-64 */
  overflow: hidden;
}
.place-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.place-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-dark) 0%, rgba(10, 12, 18, 0.6) 50%, transparent 100%);
  pointer-events: none;
}

.place-hero {
  position: relative;
  overflow: hidden;
}
.place-hero.has-image {
  margin-top: -6rem;             /* -mt-24 */
}
.place-hero.no-image {
  padding-top: 4rem;
}
.place-hero.no-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(233, 69, 96, 0.1), transparent 60%);
  pointer-events: none;
}

.place-hero-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding: 2.5rem 1rem;
  position: relative;
}
.place-hero-content { max-width: 56rem; }
.place-hero-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.place-hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.place-hero.has-image .place-hero-title {
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
}
.place-hero-location {
  font-size: 1.25rem;
  color: var(--color-ghost);
}
.place-hero.has-image .place-hero-location {
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.4));
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(233, 69, 96, 0.2);
  color: var(--color-accent);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: capitalize;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.place-main {
  max-width: 80rem;
  margin-inline: auto;
  padding: 0 1rem 4rem;
}
.place-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
.place-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.place-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.content-card {
  background: var(--color-dark-card);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.content-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.content-card-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
}
.content-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
}
.content-card-title.is-accent { color: var(--color-accent); }
.content-card-icon-lg { font-size: 1.25rem; }
.content-card-icon-xl { font-size: 1.5rem; }

.content-card-body {
  color: var(--color-ghost);
  line-height: 1.625;
}
.content-card-body p {
  margin-bottom: 1rem;
  line-height: 1.625;
}
.content-card-body p:last-child { margin-bottom: 0; }
.content-card-body a {
  color: var(--color-accent);
  transition: color 0.2s ease;
}
.content-card-body a:hover { color: var(--color-accent-hover); }

/* Verified sources badge on rich-tier place story */
.verified-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-emerald-400);
  background: rgba(52, 211, 153, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}
.verified-badge svg { width: 0.75rem; height: 0.75rem; }

/* Research attribution banner */
.research-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(20, 20, 25, 0.6);
  border: 1px solid rgba(42, 42, 53, 0.5);
  font-size: 0.875rem;
  color: var(--color-muted);
}
.research-banner svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--color-ghost);
}
.research-banner a {
  color: var(--color-accent);
  transition: color 0.2s ease;
}
.research-banner a:hover { color: var(--color-accent-hover); }

/* Sidebar widgets */
.sidebar-card {
  background: var(--color-dark-card);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.sidebar-card-title {
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sidebar-card-title svg {
  width: 1.25rem; height: 1.25rem; color: var(--color-accent);
}

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.facts-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.facts-icon { color: var(--color-accent); }
.facts-label { color: var(--color-muted); }
.facts-value {
  color: var(--color-gray-100);
  margin-left: 0.25rem;
  transition: color 0.2s ease;
}
a.facts-value:hover { color: var(--color-accent); }
.facts-value.is-capitalize { text-transform: capitalize; }

.sources-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.sources-list li { font-size: 0.875rem; }
.sources-list a {
  color: var(--color-ghost);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sources-list a:hover { color: var(--color-accent); }
.sources-list svg {
  width: 0.75rem; height: 0.75rem;
  flex-shrink: 0;
  color: var(--color-muted);
}
.sources-more {
  font-size: 0.875rem;
  color: var(--color-accent);
  transition: color 0.2s ease;
  cursor: pointer;
}
.sources-more:hover { color: var(--color-accent-hover); }

.explore-more {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.explore-more a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-ghost);
  transition: color 0.2s ease;
}
.explore-more a:hover { color: var(--color-accent); }
.explore-more svg { width: 1rem; height: 1rem; }

/* Sources modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.is-open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background: var(--color-dark-card);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  max-width: 32rem;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid var(--color-dark-border);
  box-shadow: var(--shadow-2xl);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
}
.modal-close svg {
  width: 1.5rem;
  height: 1.5rem;
}
.modal-close {
  color: var(--color-muted);
  padding: 0.25rem;
  transition: color 0.2s ease;
}
.modal-close:hover { color: var(--color-white); }
.modal-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.modal-list-number {
  color: var(--color-muted);
  flex-shrink: 0;
}
.modal-list a {
  color: var(--color-accent);
  word-break: break-all;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}
.modal-list a:hover { color: var(--color-accent-hover); }
.modal-list svg { width: 0.75rem; height: 0.75rem; flex-shrink: 0; }

/* Related places grid at the bottom of place pages */
.related-section {
  max-width: 80rem;
  margin-inline: auto;
  padding: 3rem 1rem;
}
.related-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

/* Embedded map iframe wrapper */
.embed-map {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-dark-border);
}
.embed-map iframe {
  width: 100%;
  height: 275px;
  border: 0;
  display: block;
}
.embed-map-link {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
  transition: color 0.2s ease;
}
.embed-map-link:hover { color: var(--color-accent); }

/* ── Tour operator cards ─────────────────────────────────────── */
.tour-card {
  background: var(--color-dark-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.tour-card:hover { box-shadow: var(--shadow-card-hover); }
.tour-card-body { padding: 1.5rem; }
.tour-card-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}
.tour-card-description {
  font-size: 0.875rem;
  color: var(--color-ghost);
  margin-bottom: 1rem;
  line-height: 1.625;
}

/* Tour city link row (state page ghost tours list) */
.tour-city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  transition: border-color 0.3s ease;
}
.tour-city-row:hover { border-color: rgba(233, 69, 96, 0.5); }
.tour-city-name {
  color: var(--color-white);
  font-weight: 500;
  transition: color 0.2s ease;
}
.tour-city-row:hover .tour-city-name { color: var(--color-accent); }
.tour-city-count {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-left: 0.5rem;
}
.tour-city-row svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-muted);
  transition: color 0.2s ease;
}
.tour-city-row:hover svg { color: var(--color-accent); }

/* ── Horizontal nearby cities scroller ───────────────────────── */
.hscroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-inline: -1rem;
  padding-inline: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll .place-card-rich {
  flex-shrink: 0;
  width: 12rem;
}

/* ── Crew grid ──────────────────────────────────────────────── */
.crew-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.crew-card { display: block; }
.crew-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-dark-card);
  margin-bottom: 1rem;
}
.crew-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.crew-card:hover .crew-card-image img { transform: scale(1.05); }
.crew-card-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  transition: color 0.2s ease;
}
.crew-card:hover .crew-card-name { color: var(--color-accent); }
.crew-card-role {
  color: var(--color-ghost);
  font-size: 0.875rem;
}

/* ── About page prose ────────────────────────────────────────── */
.about-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-gray-300);
  font-weight: 300;
}
.about-article p strong { color: var(--color-white); font-weight: 500; }
.about-article a {
  color: var(--color-accent);
  transition: color 0.2s ease;
}
.about-article a:hover { color: var(--color-accent-hover); }

.about-stats-pullquote {
  font-size: 1rem;
  color: var(--color-ghost);
  border-left: 2px solid var(--color-accent);
  padding-left: 1.5rem;
  margin: 3rem 0;
}
.about-stats-pullquote .stat-num {
  color: var(--color-white);
  font-weight: 500;
}

.about-info-box {
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin: 3rem 0;
  background: rgba(20, 20, 25, 0.5);
}
.about-info-box h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.about-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  color: var(--color-gray-300);
}
.about-info-list > div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.about-info-list .bullet {
  color: var(--color-accent);
  font-size: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* ── Effects: grain, tombstones, overlays ────────────────────── */
body.has-grain::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
  will-change: transform;
}

.tombstones-bg {
  position: fixed;
  bottom: -20px;
  left: 0;
  width: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.25;
}
.tombstones-bg img {
  width: 100%;
  height: auto;
  display: block;
}

.overlay-hand {
  position: fixed;
  bottom: 12vh;
  left: -50%;
  width: 14vw;
  max-width: 220px;
  height: auto;
  z-index: 10001;
  pointer-events: none;
  transition: left 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.overlay-hand.visible { left: 0; }

.overlay-tree {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 25vw;
  max-width: 350px;
  height: auto;
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
}

.frame-container { position: relative; }
.frame-content { position: relative; min-height: 80vh; }

.bg-image {
  position: fixed;
  inset: 0;
  z-index: -2;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.3);
  z-index: -1;
}

/* Fullscreen smoke video (crew, hotels, contact) */
.smoke-video {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

/* ── Animations: fade-in-up + stagger ────────────────────────── */
@keyframes fade-in-up {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
[class*="animate-fade-in"] { opacity: 0; }
.animate-fade-in-up { animation: fade-in-up 0.5s ease-out forwards; }
.stagger-1 { animation-delay:   0ms; }
.stagger-2 { animation-delay:  80ms; }
.stagger-3 { animation-delay: 160ms; }
.stagger-4 { animation-delay: 240ms; }
.stagger-5 { animation-delay: 320ms; }
.stagger-6 { animation-delay: 400ms; }

/* ── Card hover (lift + shadow, press on click) ──────────────── */
.card-hover {
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.1);
}
.card-hover:active { transform: scale(0.98); }

/* ── Glitch text effect ──────────────────────────────────────── */
.glitch-text {
  position: relative;
  animation: flicker 4s infinite;
  display: inline-block;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.glitch-text::before { color: #ff0040; z-index: -1; }
.glitch-text::after  { color: #00ffff; z-index: -2; }
.glitch-text.glitching::before {
  animation: glitch-1 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  opacity: 0.8;
}
.glitch-text.glitching::after {
  animation: glitch-2 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both;
  opacity: 0.8;
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.8; }
  94% { opacity: 1; }
  95% { opacity: 0.9; }
  96% { opacity: 1; }
  97% { opacity: 0.7; }
  98% { opacity: 1; }
}
@keyframes glitch-1 {
  0%   { transform: translate(0); }
  20%  { transform: translate(-3px, 2px); }
  40%  { transform: translate(-3px, -2px); }
  60%  { transform: translate(3px, 2px); }
  80%  { transform: translate(3px, -2px); }
  100% { transform: translate(0); }
}
@keyframes glitch-2 {
  0%   { transform: translate(0); }
  20%  { transform: translate(3px, -2px); }
  40%  { transform: translate(3px, 2px); }
  60%  { transform: translate(-3px, -2px); }
  80%  { transform: translate(-3px, 2px); }
  100% { transform: translate(0); }
}

/* ── Easter egg: Watcher eyes (place detail) ─────────────────── */
.watcher-eyes {
  position: fixed;
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  transition: opacity 2.5s ease;
  white-space: nowrap;
  overflow: visible;
}
.watcher-eyes.visible { opacity: 1; }
.watcher-eyes.blink .watcher-eye { transform: scaleY(0); }
.watcher-eye {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e94560;
  opacity: 0.6;
  box-shadow: 0 0 12px 4px rgba(233, 69, 96, 0.4);
  display: inline-block;
  margin: 0 7px;
  transition: transform 0.15s ease;
}

/* ── Utility modifiers (sparingly used, semantic where possible) */
.visually-hidden { display: none !important; }
.hidden          { display: none !important; }

/* Generic text colors used across pages */
.text-white { color: var(--color-white); }
.text-ghost { color: var(--color-ghost); }
.text-muted { color: var(--color-muted); }
.text-accent { color: var(--color-accent); }
a.text-accent:hover { color: var(--color-accent-hover); }

/* Generic font-family helper for inline logos/subtitles that keep Bebas Neue */
.font-display { font-family: var(--font-display); letter-spacing: 0.05em; }
.font-creepy  { font-family: var(--font-creepy); }

/* Line clamps */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Radio page (bespoke layout kept in functions/radio.js) ──── */
/* Radio uses its own inline <style>; no component tokens here. */

/* ── Phase 2 cleanup: flagged classes from template rewrites ──── */

/* Place page sidebar: bare <p> tags inside cards need inherited spacing */
.sidebar-card p {
  color: var(--color-ghost);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.sidebar-card p:last-child { margin-bottom: 0; }

/* Tours: state-card secondary line (city count / description) */
.state-card-meta-line {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

/* Tours: nearby places section on a tour city detail page */
.tour-nearby-section { margin-top: 3rem; }
.tour-nearby-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Tours: city detail hero heading (emoji + H1 row) */
.tour-city-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-white);
}

/* Search: results page top strip */
.search-results-top {
  background: var(--color-dark-card);
  border-bottom: 1px solid var(--color-dark-border);
  padding: 1.5rem 1rem;
}
.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Cities detail: category section + nearby cities wrappers */
.city-category-section { margin-bottom: 3rem; }
.nearby-cities { margin-top: 4rem; }

/* Responsive bumps for tour headings */
@media (min-width: 768px) {
  .tour-city-heading { font-size: 2.25rem; }
}

/* ─────────────────────────────────────────────────────────────
   Breakpoints — mobile first, ascending
   sm 640 │ md 768 │ lg 1024 │ xl 1280
   ───────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .container-7xl,
  .container-5xl,
  .container-4xl,
  .container-3xl,
  .container-2xl,
  .container-xl { padding-inline: 1.5rem; }

  .card-grid { gap: 1.5rem; }

  .search-form { flex-direction: row; }

  .footer-bottom {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .mobile-menu-btn { display: none; }

  .display-title { font-size: 4.5rem; }        /* md:text-7xl */
  .creepy-title  { font-size: 2.25rem; }       /* md:text-4xl */
  .hero-title    { font-size: 2.25rem; }
  .page-title    { font-size: 4.5rem; }

  .place-hero-title     { font-size: 2.25rem; }
  .place-hero.has-image { margin-top: -8rem; }
  .place-hero-inner     { padding: 3.5rem 1rem; }

  .content-card { padding: 2rem; }

  .card-grid-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid-md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid-md-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
  }
  .footer-brand-col { grid-column: auto; }

  .crew-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }

  .filter-bar { flex-direction: row; }

  .place-hero-image { height: 20rem; }         /* md:h-80 */

  .about-article { font-size: 1.25rem; }

  /* State intro two-step heading */
  .state-intro h2 { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
  .creepy-title { font-size: 3rem; }
  .hero-title   { font-size: 3rem; }

  .place-hero-title { font-size: 3rem; }
  .place-hero-image { height: 24rem; }         /* lg:h-96 */

  .place-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .place-content { grid-column: span 2; }

  .card-grid-lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid-lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .about-article { font-size: 1.25rem; }
}

@media (min-width: 1280px) {
  .card-grid-xl-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Reduce overlay sizes on very small screens */
@media (max-width: 768px) {
  .overlay-hand { width: 25vw; }
  .overlay-tree { width: 18vw; }
  .watcher-eyes { display: none !important; }
}
