:root {
  color-scheme: light;
  --ink: #111214;
  --muted: #666f7a;
  --line: rgba(17, 18, 20, 0.12);
  --paper: #fbfaf6;
  --white: #ffffff;
  --panel: #ffffff;
  --panel-alt: #f7f5ed;
  --section-alt: #f0eee6;
  --ask-bg: #fff7ef;
  --inverse: #111214;
  --red: #e63b3b;
  --green: #0a8f6a;
  --gold: #e3b23c;
  --blue: #1464f4;
  --active-city-primary: var(--green);
  --active-city-secondary: var(--gold);
  --active-city-accent: var(--blue);
  --active-city-dark: var(--inverse);
  --shadow: 0 22px 70px rgba(17, 18, 20, 0.18);
  --shadow-strong: 0 34px 110px rgba(17, 18, 20, 0.26);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f0e8;
  --muted: #b7c0ca;
  --line: rgba(255, 255, 255, 0.14);
  --paper: #080a0d;
  --white: #12161d;
  --panel: #111720;
  --panel-alt: #19202a;
  --section-alt: #0e131a;
  --ask-bg: #10161f;
  --inverse: #f5f0e8;
  --red: #ff5d5d;
  --green: #45d6aa;
  --gold: #f2c963;
  --blue: #6fa1ff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
  --shadow-strong: 0 34px 110px rgba(0, 0, 0, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::selection {
  background: var(--gold);
  color: #111214;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 28px));
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16, 18, 24, 0.72), rgba(16, 18, 24, 0.5));
  color: var(--white);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.header-actions,
.header-cta {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand {
  gap: 10px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.header-cta:hover {
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--active-city-primary), var(--active-city-secondary) 48%, var(--active-city-accent));
  color: var(--white);
  font-size: 0.88rem;
}

.nav-links {
  gap: 8px;
  justify-content: center;
}

.nav-links a {
  flex: 0 0 auto;
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.header-cta {
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #111214;
  font-weight: 800;
  white-space: nowrap;
}

.header-actions {
  justify-self: end;
  gap: 8px;
}

.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: rotate(10deg);
}

.theme-icon {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset -7px -5px 0 #8ea0b6;
}

html[data-theme="dark"] .theme-icon {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(242, 201, 99, 0.55);
}

.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px max(22px, calc((100vw - 1180px) / 2)) 34px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.14)),
    url("https://images.unsplash.com/photo-1517927033932-b3d18e61fb3a?auto=format&fit=crop&w=2400&q=85") center/cover;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--active-city-primary) 22%, transparent), transparent 34%),
    linear-gradient(90deg, rgba(3, 8, 14, 0.92), rgba(3, 8, 14, 0.58) 46%, rgba(3, 8, 14, 0.26)),
    linear-gradient(0deg, rgba(3, 8, 14, 0.88), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7ff0c9;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
}

.hero-copy {
  max-width: 700px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.signal-strip span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  width: min(860px, 100%);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.hero-query {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: min(680px, 100%);
  margin-top: 12px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(4, 8, 14, 0.44);
  backdrop-filter: blur(18px);
}

.hero-query label {
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.93);
  color: #111214;
}

.hero-query button {
  min-width: 96px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.search-panel label {
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #111214;
}

select,
input,
textarea {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}

.search-panel button,
.pricing-card button,
.lead-form button,
.onboarding-form button {
  border: 0;
  border-radius: 6px;
  background: var(--active-city-primary);
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.search-panel button {
  min-width: 150px;
  padding: 0 24px;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.search-panel button:hover,
.hero-query button:hover,
.ask-box button:hover,
.pricing-card button:hover,
.lead-form button:hover,
.onboarding-form button:hover,
.planner-actions button:not(:disabled):hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(680px, 100%);
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats div {
  padding: 18px;
  background: rgba(4, 8, 14, 0.36);
}

.hero-stats strong {
  display: block;
  font-size: 1.8rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: 88px max(22px, calc((100vw - 1180px) / 2));
}

section[id] {
  scroll-margin-top: 104px;
}

.intro-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: end;
  background: var(--inverse);
  color: var(--paper);
}

.intelligence-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px max(22px, calc((100vw - 1180px) / 2));
  background: var(--line);
}

.intelligence-band div {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 26px;
  background:
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--gold) 24%, transparent), transparent 32%),
    var(--panel);
}

.intelligence-band span {
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.9;
  font-weight: 950;
}

.intelligence-band p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.intro-band p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.city-grid,
.listing-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

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

.city-card {
  position: relative;
  isolation: isolate;
  min-height: 270px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--city-dark), var(--city-primary));
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.city-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.city-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.city-card:hover img {
  transform: scale(1.08);
}

.city-card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--city-primary) 58%, transparent), transparent 45%),
    linear-gradient(315deg, color-mix(in srgb, var(--city-secondary) 44%, transparent), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0.68;
}

.city-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, color-mix(in srgb, var(--city-dark) 92%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 32%);
}

.city-card-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(6, 10, 14, 0.46);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.74rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.city-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 18px;
}

.city-card-content p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.city-signal-row,
.theme-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.city-signal-row {
  margin-top: 14px;
}

.city-signal-row span,
.theme-signal-row span {
  padding: 6px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--city-secondary, var(--active-city-secondary)) 26%, rgba(255, 255, 255, 0.14));
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 900;
}

.directory-section {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--active-city-primary) 9%, transparent), transparent 34%),
    var(--section-alt);
}

.result-count {
  color: var(--muted);
  font-weight: 800;
}

.city-theme-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin: -8px 0 24px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--active-city-primary) 28%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--active-city-primary) 13%, var(--panel)), transparent 62%),
    var(--panel);
  box-shadow: 0 16px 50px rgba(17, 18, 20, 0.08);
}

.city-theme-panel h3 {
  font-size: 1.55rem;
}

.city-theme-panel p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.theme-orchestrator,
.theme-swatch-stack {
  flex: none;
}

.theme-orchestrator {
  display: grid;
  grid-template-columns: repeat(3, 42px);
  gap: 6px;
  width: 150px;
  min-height: 108px;
  padding: 8px;
  border-radius: 8px;
  background: var(--city-dark);
}

.theme-orchestrator span,
.theme-swatch-stack span {
  border-radius: 6px;
  background: linear-gradient(135deg, var(--city-primary), var(--city-secondary));
}

.theme-orchestrator span:nth-child(2) {
  background: linear-gradient(180deg, var(--city-secondary), var(--city-accent));
  transform: translateY(14px);
}

.theme-orchestrator span:nth-child(3) {
  background: linear-gradient(180deg, var(--city-accent), var(--city-primary));
  transform: translateY(28px);
}

.theme-swatch-stack {
  display: grid;
  grid-template-columns: repeat(4, 32px);
  gap: 8px;
  width: 152px;
  padding: 10px;
  border-radius: 8px;
  background: var(--panel-alt);
}

.theme-swatch-stack span {
  width: 32px;
  height: 32px;
}

.theme-signal-row {
  margin-top: 14px;
}

.theme-signal-row span {
  background: color-mix(in srgb, var(--active-city-primary) 12%, var(--panel-alt));
  color: var(--ink);
}

.theme-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.theme-source-row a {
  color: var(--active-city-primary);
  font-weight: 900;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  max-width: 100%;
}

.chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.chip.active {
  border-color: var(--active-city-dark);
  background: linear-gradient(135deg, var(--active-city-dark), var(--active-city-primary));
  color: #ffffff;
}

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

.listing-card {
  display: grid;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--city-primary, var(--line)) 20%, var(--line));
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
  box-shadow: inset 0 4px 0 var(--city-primary, var(--active-city-primary));
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.listing-card:hover {
  border-color: color-mix(in srgb, var(--city-primary, var(--green)) 55%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.listing-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--city-primary, var(--green)) 60%, transparent);
  outline-offset: 3px;
}

.listing-image {
  min-height: 170px;
  background-position: center;
  background-size: cover;
}

.listing-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--city-primary, var(--active-city-primary)) 9%, var(--panel-alt));
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.listing-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.listing-address {
  font-size: 0.9rem;
}

.listing-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.listing-action-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.listing-actions a,
.listing-actions button {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
}

.listing-actions button {
  padding: 0;
}

.sponsored {
  color: var(--red);
  font-weight: 900;
}

.ask-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(48px, 5vw, 76px);
  align-items: start;
  padding: 104px max(22px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gold) 12%, transparent), transparent 40%),
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 54%, transparent), transparent 38%),
    var(--ask-bg);
}

.ask-copy {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 430px;
}

.ask-copy h2 {
  max-width: 410px;
  font-size: clamp(2.8rem, 4.35vw, 4.85rem);
  line-height: 0.92;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.ask-copy p:last-child {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.ask-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 390px;
}

.ask-highlights span {
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--green) 22%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 8%, var(--panel));
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.ask-console {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.ask-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--green) 18%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green) 7%, transparent), transparent 44%),
    var(--panel);
  box-shadow: 0 22px 70px rgba(17, 18, 20, 0.12);
}

.ask-box label {
  min-width: 0;
  min-height: 64px;
  padding: 11px 14px;
  border-radius: 6px;
  background: var(--panel-alt);
}

.ask-box input {
  font-size: 1.02rem;
}

.ask-box input::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.ask-box button {
  min-width: 132px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.ask-box button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.query-output {
  max-height: min(70vh, 760px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 50px rgba(17, 18, 20, 0.08);
}

.query-output.is-empty,
.query-output.is-loading {
  min-height: 168px;
  display: grid;
  align-content: center;
}

.query-empty {
  display: grid;
  gap: 8px;
}

.query-empty strong {
  font-size: 1.05rem;
}

.query-empty p,
.query-output > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.prompt-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prompt-rail button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 88%, var(--green));
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.prompt-rail button:hover {
  border-color: var(--green);
  color: var(--ink);
  transform: translateY(-1px);
}

.query-answer {
  display: grid;
  gap: 12px;
}

.query-answer h3 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

.query-answer h3:first-child {
  margin-top: 0;
}

.query-answer p,
.query-answer li {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.query-answer ul,
.query-answer ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.query-context {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-alt);
}

.query-context summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.query-context-body {
  max-height: 260px;
  overflow: auto;
  padding: 0 14px 14px;
  color: var(--muted);
}

.query-context-body p,
.query-context-body li {
  color: var(--muted);
  line-height: 1.58;
}

.query-sources {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.query-sources ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.query-sources li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-alt);
  color: var(--muted);
}

.query-sources a,
.query-sources strong {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.query-sources a:hover {
  color: var(--brand);
}

.query-sources span,
.query-sources small {
  display: block;
  margin-top: 4px;
  margin-left: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.planner-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 40px;
  align-items: start;
  padding: 104px max(22px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green) 10%, transparent), transparent 42%),
    var(--panel);
}

.planner-copy {
  align-self: start;
  position: sticky;
  top: 106px;
  display: grid;
  gap: 18px;
}

.planner-copy h2 {
  max-width: 520px;
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  line-height: 0.9;
}

.planner-copy p:last-child {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.planner-deliverables,
.planner-template-rail,
.retrieval-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.planner-deliverables {
  max-width: 470px;
}

.planner-deliverables span {
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--green) 22%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 8%, var(--panel));
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.planner-workspace {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.planner-console,
.plan-output {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-alt);
}

.planner-console {
  display: grid;
  gap: 14px;
  padding: 18px;
  box-shadow: 0 18px 60px rgba(17, 18, 20, 0.08);
}

.planner-console-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.planner-console-header .eyebrow {
  margin-bottom: 8px;
}

.planner-console-header h3 {
  max-width: 420px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.planner-console-header > span {
  max-width: 220px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
}

.planner-console textarea {
  width: 100%;
  min-height: 154px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  padding: 14px;
  background: var(--panel);
  color: var(--ink);
  line-height: 1.5;
}

.planner-console textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.planner-template-rail button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.planner-template-rail button:hover {
  border-color: var(--green);
  color: var(--ink);
  transform: translateY(-1px);
}

.planner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.planner-actions button {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

#plannerButton {
  background: var(--green);
  color: #07100d;
}

#pdfButton {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.planner-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.retrieval-context {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.retrieval-context strong {
  color: var(--ink);
}

.retrieval-chip-row span {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.plan-output {
  min-height: 300px;
  max-height: min(78vh, 860px);
  overflow: auto;
  padding: 22px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 18px 60px rgba(17, 18, 20, 0.1);
}

.plan-output h3 {
  margin: 26px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 1.18rem;
  line-height: 1.25;
}

.plan-output h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.plan-output p,
.plan-output li {
  color: var(--muted);
  line-height: 1.65;
}

.plan-output p {
  margin: 0 0 10px;
}

.plan-output ul,
.plan-output ol {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.plan-output.is-empty,
.plan-output.is-loading {
  display: grid;
  align-content: center;
}

.plan-empty {
  display: grid;
  gap: 10px;
}

.plan-empty strong {
  font-size: 1.08rem;
}

.plan-empty p,
.plan-empty ul {
  margin: 0;
}

.itinerary-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.itinerary-summary strong {
  display: block;
  font-size: 1.2rem;
}

.itinerary-summary p:last-child {
  max-width: 300px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.itinerary-day {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.itinerary-day + .itinerary-day {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.itinerary-day-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.itinerary-day-header span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.itinerary-day-header h3 {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 1.35rem;
}

.itinerary-day-header p {
  max-width: 240px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.itinerary-slots {
  display: grid;
  gap: 10px;
}

.itinerary-slot {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-alt);
}

.slot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-meta span {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.itinerary-slot h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.3;
}

.itinerary-slot p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.itinerary-slot small {
  color: var(--muted);
  font-weight: 800;
}

.slot-swap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.slot-swap label {
  min-width: 0;
  gap: 6px;
}

.slot-swap select {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
}

.slot-swap button {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #07100d;
  cursor: pointer;
  font-weight: 900;
}

.ad-showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  padding: 96px max(22px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(120deg, rgba(10, 143, 106, 0.92), rgba(17, 18, 20, 0.95)),
    url("https://images.unsplash.com/photo-1501281668745-f7f57925c3b4?auto=format&fit=crop&w=2200&q=85") center/cover;
  color: var(--white);
}

.ad-copy {
  align-self: center;
}

.ad-copy .eyebrow {
  color: #b8ffe5;
}

.ad-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.ad-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.ad-metrics span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

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

.pricing-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.pricing-card.featured {
  background: color-mix(in srgb, var(--gold) 20%, var(--panel));
  transform: translateY(-14px);
}

.pricing-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.pricing-card.featured:hover {
  transform: translateY(-18px);
}

.price {
  font-size: 2.4rem;
  font-weight: 950;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.pricing-card li::before {
  margin-right: 8px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.pricing-card button {
  min-height: 48px;
}

.modal-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(8, 10, 14, 0.72);
}

.modal-backdrop.is-open {
  display: grid;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.modal h2 {
  font-size: clamp(2rem, 6vw, 3.6rem);
}

.icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  cursor: pointer;
  font-size: 1.6rem;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.lead-form label {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.lead-form button {
  min-height: 50px;
}

.checkout-message {
  min-height: 1.2em;
  margin: 12px 0 0;
  color: #b42318;
  font-size: 0.9rem;
}

.stripe-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.ad-onboarding {
  padding: 84px 6vw;
  background: var(--bg);
}

.ad-onboarding[hidden] {
  display: none;
}

.onboarding-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(980px, 100%);
  margin: 28px auto 0;
}

.onboarding-form label {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.onboarding-form .wide-field,
.onboarding-form button,
.onboarding-message {
  grid-column: 1 / -1;
}

.onboarding-form button {
  min-height: 52px;
}

.onboarding-message {
  min-height: 1.2em;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.venue-modal-backdrop {
  position: fixed;
  z-index: 45;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(8, 10, 14, 0.76);
}

.venue-modal-backdrop.is-open {
  display: grid;
}

.venue-profile-modal {
  position: relative;
  width: min(1060px, 100%);
  max-height: min(88vh, 900px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--green) 22%, var(--line));
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-strong);
}

.venue-profile-body {
  max-height: min(88vh, 900px);
  overflow: auto;
}

.venue-profile-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  min-height: 560px;
}

.venue-profile-media {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 560px;
  display: grid;
  grid-template-rows: 1fr auto;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green) 18%, transparent), transparent 42%),
    var(--panel-alt);
}

.venue-profile-media > img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.venue-profile-image-fallback {
  min-height: 440px;
  display: grid;
  align-content: center;
  gap: 10px;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green) 18%, transparent), transparent 45%),
    linear-gradient(315deg, color-mix(in srgb, var(--gold) 18%, transparent), transparent 48%),
    var(--panel-alt);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.venue-profile-image-fallback strong,
.venue-profile-thumb-fallback strong {
  font-size: 0.95rem;
}

.venue-profile-image-fallback span {
  max-width: 280px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.venue-profile-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.venue-profile-gallery img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  background: var(--panel-alt);
}

.venue-profile-thumb-fallback {
  aspect-ratio: 1.25;
  display: grid;
  place-items: center;
  padding: 10px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green) 14%, transparent), transparent 52%),
    var(--panel-alt);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.venue-profile-content,
.venue-profile-loading {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px;
}

.venue-profile-loading {
  min-height: 340px;
  align-content: center;
}

.venue-profile-content h2,
.venue-profile-loading h2 {
  max-width: 620px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.venue-profile-subtitle,
.venue-profile-loading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.venue-profile-kicker,
.venue-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.venue-profile-kicker span {
  padding: 7px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 9%, var(--panel-alt));
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.venue-profile-actions a,
.venue-profile-action-disabled {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-alt);
  color: var(--blue);
  font-weight: 900;
}

.venue-profile-action-disabled {
  color: var(--muted);
}

.venue-profile-section {
  display: grid;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.venue-profile-section h3 {
  color: var(--green);
  font-size: 1rem;
  text-transform: uppercase;
}

.venue-profile-section p,
.venue-profile-section li {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.venue-profile-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.venue-profile-section a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .ask-section,
  .planner-section {
    grid-template-columns: 1fr;
  }

  .ask-copy,
  .planner-copy {
    position: static;
    max-width: none;
  }

  .ask-copy h2,
  .planner-copy h2 {
    max-width: 760px;
  }

  .ask-copy p:last-child,
  .ask-highlights {
    max-width: 640px;
  }

  .query-output,
  .plan-output,
  .prompt-rail {
    grid-column: auto;
  }
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 8px;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 2px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    padding: 8px 11px;
    background: rgba(255, 255, 255, 0.08);
  }

  .search-panel,
  .hero-query,
  .intro-band,
  .intelligence-band,
  .ask-section,
  .planner-section,
  .ad-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 154px;
  }

  .search-panel button {
    min-height: 54px;
  }

  .hero-query button {
    min-height: 48px;
  }

  .city-grid,
  .listing-grid,
  .pricing-grid,
  .onboarding-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-theme-panel {
    grid-template-columns: 1fr;
  }

  .ask-copy {
    position: static;
  }

  .ask-copy h2 {
    max-width: 720px;
  }

  .planner-copy {
    position: static;
  }

  .planner-copy h2 {
    max-width: 720px;
  }

  .plan-output {
    grid-column: auto;
  }

  .query-output {
    grid-column: auto;
  }

  .prompt-rail {
    grid-column: auto;
  }

  .ask-box {
    grid-template-columns: 1fr;
  }

  .ask-box button {
    min-height: 46px;
  }

  .venue-profile-shell {
    grid-template-columns: 1fr;
  }

  .venue-profile-media {
    position: relative;
    min-height: 0;
  }

  .venue-profile-media > img,
  .venue-profile-image-fallback {
    min-height: 280px;
  }

  .planner-console-header {
    display: grid;
  }

  .planner-console-header > span {
    max-width: none;
    text-align: left;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 150px;
  }

  section[id] {
    scroll-margin-top: 150px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    padding: 8px;
  }

  .header-actions {
    gap: 6px;
  }

  .brand-mark,
  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .theme-icon {
    inset: 9px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .nav-links {
    gap: 6px;
    margin-inline: -2px;
    padding-bottom: 2px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 150px 16px 30px;
  }

  h1 {
    font-size: clamp(3.05rem, 16vw, 4.7rem);
  }

  h2,
  .ask-copy h2,
  .planner-copy h2 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
    line-height: 0.98;
  }

  .hero-copy {
    margin: 16px 0 20px;
    font-size: 1rem;
  }

  .signal-strip,
  .ad-metrics,
  .ask-highlights,
  .planner-deliverables {
    gap: 6px;
  }

  .signal-strip span,
  .ad-metrics span,
  .ask-highlights span,
  .planner-deliverables span {
    padding: 7px 9px;
    font-size: 0.74rem;
  }

  .search-panel,
  .hero-query,
  .ask-box,
  .planner-console {
    gap: 8px;
    padding: 8px;
  }

  .search-panel label,
  .hero-query label,
  .ask-box label {
    padding: 9px 10px;
  }

  .search-panel button,
  .hero-query button,
  .ask-box button {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
  }

  .hero-stats div {
    padding: 12px 8px;
  }

  .hero-stats strong {
    font-size: 1.28rem;
  }

  .hero-stats span {
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .intelligence-band,
  .city-grid,
  .listing-grid,
  .pricing-grid,
  .onboarding-form {
    grid-template-columns: 1fr;
  }

  .theme-orchestrator,
  .theme-swatch-stack {
    width: 100%;
  }

  .theme-orchestrator {
    grid-template-columns: repeat(3, 1fr);
  }

  .section,
  .ask-section,
  .planner-section,
  .ad-showcase {
    padding-right: 16px;
    padding-left: 16px;
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .intro-band,
  .ask-section,
  .planner-section,
  .ad-showcase {
    gap: 28px;
  }

  .section-heading {
    display: block;
  }

  .filters,
  .prompt-rail,
  .planner-template-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar,
  .prompt-rail::-webkit-scrollbar,
  .planner-template-rail::-webkit-scrollbar {
    display: none;
  }

  .city-card {
    min-height: 250px;
  }

  .listing-card {
    min-height: auto;
  }

  .listing-image {
    min-height: 155px;
  }

  .listing-actions {
    display: grid;
    justify-content: stretch;
    align-items: start;
  }

  .listing-action-links {
    justify-content: flex-start;
  }

  .planner-console-header {
    gap: 10px;
  }

  .planner-actions {
    display: grid;
  }

  .planner-actions button,
  .slot-swap button {
    width: 100%;
  }

  .query-output,
  .plan-output {
    max-height: none;
    padding: 18px;
  }

  .itinerary-summary,
  .itinerary-day-header,
  .slot-swap {
    grid-template-columns: 1fr;
    display: grid;
  }

  .itinerary-summary p:last-child,
  .itinerary-day-header p {
    max-width: none;
    text-align: left;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal {
    max-height: calc(100svh - 24px);
    overflow: auto;
    padding: 24px 18px;
  }

  .venue-modal-backdrop {
    padding: 10px;
  }

  .venue-profile-modal,
  .venue-profile-body {
    max-height: calc(100svh - 20px);
  }

  .venue-profile-content,
  .venue-profile-loading {
    padding: 24px 18px;
  }

  .venue-profile-content h2,
  .venue-profile-loading h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .venue-profile-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .brand-mark,
  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .nav-links a {
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 146px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 3.8rem);
  }

  .hero-stats div {
    padding: 10px 6px;
  }

  .hero-stats span {
    font-size: 0.68rem;
  }

  .city-card {
    min-height: 225px;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}
