/* Cities page styles — inherits tokens from styles.css */

.cities-page { background: var(--bg); color: var(--ink); min-height: 100vh; }

/* Nav */
.cities-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,241,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,25,22,0.1);
}
.cities-nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.cities-nav .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.cities-nav .brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.cities-nav .brand:hover .brand-mark { transform: rotate(180deg); }
.cities-nav .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.cities-nav .brand-name { font-family: var(--f-display); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.cities-nav .brand-tag { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(26,25,22,0.15);
  transition: all .3s;
}
.back-link svg { transform: rotate(180deg); }
.back-link:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Hero */
.cities-hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(177,77,46,0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(47,93,58,0.05), transparent 60%),
    var(--bg);
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 24px;
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.kicker.dark { color: rgba(251,248,241,0.7); }
.kicker.dark .dot { background: var(--accent); }

.cities-h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  text-wrap: pretty;
}
.cities-h1 .display-italic {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.cities-sub {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  max-width: 640px;
  color: var(--ink-2);
  margin: 0 0 48px;
}
.cities-sub .display-italic { font-style: italic; color: var(--accent); }

/* Search */
.cities-search { max-width: 720px; }
.search-box {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper);
  border: 1px solid rgba(26,25,22,0.18);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px -6px rgba(26,25,22,0.1);
  transition: border-color .3s, box-shadow .3s;
}
.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 4px 16px -4px rgba(177,77,46,0.25);
}
.search-box svg { color: var(--muted); flex-shrink: 0; }
.search-box input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--f-sans); font-size: 16px; color: var(--ink);
}
.search-box input::placeholder { color: var(--muted); }
.search-clear {
  background: var(--bg-2); border: none; cursor: pointer;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: background .2s;
}
.search-clear:hover { background: var(--ink); color: var(--paper); }

.region-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px;
}
.chip {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(26,25,22,0.18);
  background: transparent; color: var(--ink-2);
  cursor: pointer;
  transition: all .25s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.search-result {
  margin-top: 16px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}

/* Cities list */
.cities-list { padding: 40px 0 80px; }
.region-block { margin-bottom: 80px; }
.region-block:last-child { margin-bottom: 0; }

.region-header {
  display: flex; align-items: baseline; gap: 24px;
  margin-bottom: 36px;
}
.region-eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); flex-shrink: 0;
}
.region-header h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  font-style: italic;
}
.region-rule { flex: 1; height: 1px; background: rgba(26,25,22,0.2); }

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.state-card {
  background: var(--paper);
  border: 1px solid rgba(26,25,22,0.1);
  border-radius: 16px;
  padding: 24px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}
.state-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 36px -20px rgba(177,77,46,0.25);
}
.state-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(26,25,22,0.08);
}
.state-uf {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--ink); color: var(--paper);
  border-radius: 10px;
  font-family: var(--f-display); font-style: italic; font-size: 18px; font-weight: 500;
  flex-shrink: 0;
}
.state-head h3 {
  font-family: var(--f-display); font-size: 19px; font-weight: 500;
  margin: 0 0 2px; letter-spacing: -0.01em;
}
.state-head p { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; }

.city-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.city-list li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-size: 15px; color: var(--ink);
}
.city-list .bullet {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.city-list mark {
  background: rgba(177,77,46,0.22);
  color: var(--ink);
  padding: 0 3px;
  border-radius: 3px;
}

/* Empty state */
.empty-state {
  text-align: center; padding: 80px 20px;
  max-width: 480px; margin: 0 auto;
  color: var(--ink-2);
}
.empty-state svg { color: var(--accent); margin-bottom: 16px; }
.empty-state h3 { font-family: var(--f-display); font-size: 24px; font-weight: 400; margin: 0 0 8px; }
.empty-state a { color: var(--accent); }

/* CTA */
.cities-cta { padding: 60px 0 100px; }
.cta-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(26,25,22,0.5);
}
.cta-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177,77,46,0.25), transparent 70%);
}
.cta-card h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 28px;
  color: var(--paper);
  position: relative;
}
.cta-card .display-italic {
  font-style: italic;
  color: var(--accent);
}
.cta-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-checks li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-size: 16px;
  color: rgba(251,248,241,0.88);
}
.cta-checks svg { color: var(--accent); flex-shrink: 0; }

.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 16px; position: relative; }
.btn.primary.big {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--f-display); font-size: 19px; font-weight: 500;
  padding: 22px 32px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow:
    0 14px 30px -10px rgba(177,77,46,0.6),
    0 0 0 0 rgba(177,77,46,0.25);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.btn.primary.big:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 44px -12px rgba(177,77,46,0.7),
    0 0 0 6px rgba(177,77,46,0.15);
}
.btn.primary.big:active { transform: translateY(0); }
.cta-foot {
  text-align: center;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(251,248,241,0.5);
  line-height: 1.6;
}

/* Footer */
.cities-foot {
  border-top: 1px solid rgba(26,25,22,0.1);
  padding: 28px 0;
}
.cities-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cities-foot .small { font-size: 12px; color: var(--muted); margin: 0; }
.cities-foot a { color: var(--ink); }

/* Reveal */
.region-block, .state-card {
  opacity: 0; transform: translateY(20px);
  animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards;
}
.region-block:nth-child(1) { animation-delay: .05s; }
.region-block:nth-child(2) { animation-delay: .15s; }
.region-block:nth-child(3) { animation-delay: .25s; }
.region-block:nth-child(4) { animation-delay: .35s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 880px) {
  .cta-card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 32px;
  }
  .cities-hero { padding: 56px 0 40px; }
  .region-header { flex-wrap: wrap; gap: 12px; }
  .region-rule { width: 100%; flex: none; }
  .cities-nav .brand-tag { display: none; }
  .back-link span { display: none; }
  .back-link { padding: 8px 10px; }
}
