:root {
  --navy-900: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --navy-200: #94A3B8;
  --stone-50: #FAFAF9;
  --stone-100: #F5F5F4;
  --stone-200: #E7E5E4;
  --white: #FFFFFF;
  --text-primary: #1E293B;
  --text-muted: #64748B;
  --accent: #0891B2;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
}

/* Header */
.header { background: var(--navy-900); padding: 1rem 1.5rem; }
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header h1 {
  font-family: 'DM Serif Display', serif;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
  line-height: 0;
}
.header h1 a { color: var(--white); text-decoration: none; display: inline-block; }
.header h1 .logo-wordmark { display: block; height: 38px; width: auto; }
@media (max-width: 639px) {
  .header h1 .logo-wordmark { height: 32px; }
}
.nav-primary { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav-primary a {
  color: var(--navy-200);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-primary a:hover { color: var(--white); }

/* Page hero (subpages) */
.page-hero {
  background: var(--navy-800);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem 3rem;
}
.page-hero h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: var(--navy-200);
  font-size: 1.0625rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Home hero */
.hero {
  background: var(--navy-800);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}
.hero h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.15;
}
.hero p.lead {
  font-size: 1.25rem;
  color: var(--navy-200);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.market-buttons {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
}
.market-button {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.15s;
}
.market-button:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.market-button.primary { background: var(--accent); border-color: var(--accent); }
.market-button.primary:hover { background: #0e7490; border-color: #0e7490; }

/* Sections */
section { padding: 4rem 1.5rem; }
.section-inner { max-width: 880px; margin: 0 auto; }
.section-inner.wide { max-width: 1100px; }
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 640px;
  margin-bottom: 2rem;
}

/* Backgrounds */
.bg-stone { background: var(--stone-50); }
.bg-navy { background: var(--navy-900); color: var(--white); }
.bg-navy .section-title { color: var(--white); }
.bg-navy p { color: var(--navy-200); }
.bg-navy a { color: var(--white); text-decoration: underline; }

/* Markets grid */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.market-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.market-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}
.market-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.market-card .place {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.market-card p {
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.market-card .visit { font-size: 0.875rem; color: var(--accent); font-weight: 600; }

/* Prose (article-style content) */
.prose { max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem; }
.prose h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.625rem;
  font-weight: 400;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.prose p { margin-bottom: 1.125rem; font-size: 1.0625rem; }
.prose ul { margin-bottom: 1.125rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose strong { font-weight: 600; }
.prose hr { border: none; border-top: 1px solid var(--stone-200); margin: 2.5rem 0; }

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 1.5rem;
}
.contact-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.contact-card p { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.contact-card a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

/* CTA */
.cta { text-align: center; background: var(--stone-100); }
.cta .section-title { margin-bottom: 0.5rem; }
.cta p { color: var(--text-muted); margin-bottom: 1.5rem; }
.cta .button-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.cta a.btn {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.15s;
}
.cta a.btn.primary { background: var(--accent); color: var(--white); }
.cta a.btn.primary:hover { background: #0e7490; }
.cta a.btn.secondary {
  background: var(--white); color: var(--text-primary);
  border: 1px solid var(--stone-200);
}
.cta a.btn.secondary:hover { border-color: var(--navy-700); }

/* Footer */
.footer {
  background: var(--navy-900);
  color: var(--navy-200);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  font-size: 0.875rem;
}
.footer .footer-links {
  margin-bottom: 1rem;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.footer .footer-links a { color: var(--navy-200); text-decoration: none; }
.footer .footer-links a:hover { color: var(--white); }
.footer .copy { color: var(--text-muted); }

@media (max-width: 639px) {
  .hero h2 { font-size: 2rem; }
  .hero p.lead { font-size: 1.0625rem; }
  .hero, .page-hero { padding: 3rem 1.25rem; }
  .page-hero h2 { font-size: 1.75rem; }
  .section-title { font-size: 1.625rem; }
  section { padding: 3rem 1.25rem; }
  .header-inner { flex-direction: column; gap: 0.75rem; }
  .prose { padding: 2rem 1.25rem; }
}
