.hero {
  min-height: 84svh;
  display: grid;
  align-items: end;
  padding: 150px 0 60px;
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58)), url('https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=1200&q=80') center/cover;
  z-index: -2;
  animation: zoom 10s ease both;
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, var(--paper));
  z-index: -1;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 16px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .84;
  font-size: clamp(62px, 13vw, 178px);
  margin: 0 0 clamp(28px, 4.5vw, 54px);
}

.lead {
  font-size: clamp(18px, 2.3vw, 28px);
  line-height: 1.18;
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-actions .btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  transition: 0.25s ease;
}

.hero-actions .btn:hover {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
}

@keyframes zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

section {
  padding: 96px 0;
}

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

.kicker {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
  margin: 0 0 14px;
}

.section-title {
  font-family: Georgia, serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: -.04em;
  margin: 0;
}

.section-desc {
  max-width: 440px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 74px;
}

.metric-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px 28px;
  text-align: center;
  transition: 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.metric-card h3 {
  font-family: Georgia, serif;
  font-size: 48px;
  margin: 0 0 8px;
  letter-spacing: -0.04em;
}

.metric-card p {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 800;
}

/* Demographics Split */
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.demo-chart-section h3 {
  font-family: Georgia, serif;
  font-size: 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

/* Chart Bars */
.chart-bar-group {
  margin-bottom: 20px;
}

.chart-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.chart-bar-label span:last-child {
  color: var(--accent);
}

.chart-bar-outer {
  height: 10px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.chart-bar-inner {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  width: 0; /* Animated via JS or transition */
  transition: width 1.2s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.chart-bar-inner.rose {
  background: var(--accent);
}

.chart-bar-inner.deep {
  background: var(--deep);
}

/* Top cities list */
.cities-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.city-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  font-size: 15px;
}

.city-item span:first-child {
  font-weight: 600;
}

.city-item span:last-child {
  color: var(--muted);
}

@media(max-width: 960px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }
}

@media(max-width: 560px) {
  .hero {
    min-height: 78svh;
    padding: 132px 20px 46px;
  }
  .hero h1 {
    font-size: clamp(58px, 19vw, 92px);
  }
  .lead {
    font-size: 17px;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

@media(max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}
