:root {
  color-scheme: light;
  --bg: #f4f0e8;
  --surface: #fffdf9;
  --ink: #17202b;
  --muted: #5c6776;
  --accent: #90551e;
  --accent-dark: #6d3c10;
  --border: rgba(23, 32, 43, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 35%),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.hero,
.section,
.inner-shell {
  border: 1px solid var(--border);
  background: rgba(255, 253, 249, 0.92);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(23, 32, 43, 0.07);
}

.hero {
  padding: 24px 24px 32px;
}

.topbar,
.hero-grid,
.route-grid,
.guide-grid,
.vendor-grid,
.detail-grid,
.filters {
  display: grid;
}

.topbar {
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
}

.top-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.top-links a,
.card-link,
.back-link {
  text-decoration: none;
  color: var(--accent-dark);
  font-weight: 700;
}

.hero-grid {
  grid-template-columns: 1.4fr 0.7fr;
  gap: 24px;
  margin-top: 28px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: "Fraunces", serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.hero-text {
  max-width: 56rem;
  font-size: 1.05rem;
}

.hero-actions,
.route-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  border-color: transparent;
}

.button-secondary {
  background: white;
}

.hero-panel,
.route-grid,
.guide-grid,
.vendor-grid,
.detail-grid,
.status-strip {
  gap: 18px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr;
}

.metric-card,
.route-card,
.guide-card,
.vendor-card,
.detail-card {
  padding: 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
}


.vendor-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.vendor-card-head h3 {
  margin-bottom: 0;
}

.vendor-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}

.vendor-logo {
  max-width: 100%;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.provider-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.provider-hero h1 {
  margin-bottom: 0;
}

.provider-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
}

.provider-logo {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

.metric-label,
.route-kicker,
.section-label,
.results-meta {
  color: var(--muted);
}

.section,
.inner-shell {
  margin-top: 22px;
  padding: 26px;
}

.section-status {
  padding: 18px 26px;
}

.section-heading {
  margin-bottom: 18px;
}

.route-grid,
.guide-grid,
.vendor-grid,
.detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.status-block {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: white;
}

.status-block strong {
  display: block;
  margin-top: 6px;
}

.filters {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0 14px;
  font: inherit;
  background: white;
}

.results-meta {
  margin: 18px 0 12px;
  font-weight: 700;
}

.vendor-card h3,
.guide-card h3,
.route-card h3 {
  font-size: 1.2rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f6eee4;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.vendor-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.inner-page {
  padding: 28px 0;
}

.inner-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
}

.detail-grid {
  margin-top: 22px;
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 40px;
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 20px 50px rgba(23, 32, 43, 0.06);
}

@media (max-width: 860px) {
  .hero-grid,
  .topbar {
    grid-template-columns: 1fr;
  }
}
