:root {
  color-scheme: light;
  --ink: #17211a;
  --muted: #5e695f;
  --paper: #fffaf0;
  --panel: #ffffff;
  --leaf: #36784d;
  --moss: #9ac66b;
  --tomato: #ee5e4f;
  --sun: #f6c75c;
  --sky: #7cb7cf;
  --line: #243023;
  --shadow: 0 24px 70px rgba(34, 45, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 2px solid rgba(23, 33, 26, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 188px;
}

.brand-canvas {
  width: 46px;
  height: 46px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--line);
}

.brand strong {
  display: block;
  font-size: 1.06rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--leaf);
}

.nav-action,
.primary-button,
.secondary-button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid var(--line);
  border-radius: 7px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--line);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-action {
  padding: 0 18px;
  background: var(--sun);
}

.primary-button {
  padding: 0 22px;
  background: var(--tomato);
  color: #fffdf5;
}

.secondary-button {
  padding: 0 20px;
  background: #fff;
}

.nav-action:hover,
.primary-button:hover,
.secondary-button:hover,
button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--line);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.96fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(34px, 6vw, 86px) clamp(18px, 5vw, 72px) 42px;
  border-bottom: 2px solid rgba(23, 33, 26, 0.12);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.6vw, 7.85rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-panel {
  position: relative;
  min-height: 570px;
}

#coverCanvas {
  display: block;
  width: min(100%, 530px);
  height: auto;
  margin-left: auto;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 16px 18px 0 var(--line);
}

.cover-stack {
  position: absolute;
  left: 0;
  bottom: 22px;
  display: grid;
  gap: 10px;
  width: min(78%, 350px);
}

.cover-stack article {
  padding: 16px 18px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 7px;
  box-shadow: 6px 6px 0 var(--line);
}

.cover-stack span,
.story-card p,
.mini-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--leaf);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cover-stack strong {
  display: block;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.08;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 2px solid rgba(23, 33, 26, 0.16);
}

.metrics div {
  padding: 26px clamp(18px, 4vw, 54px);
  border-right: 2px solid rgba(23, 33, 26, 0.16);
  background: #fff6df;
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 0.9;
}

.metrics span {
  color: var(--muted);
  font-weight: 850;
}

.section-block,
.feature-row,
.split-section,
.newsletter,
.faq,
.site-footer {
  padding: clamp(54px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.story-card,
.city-grid article,
.wellness-grid article {
  min-height: 270px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--line);
}

.story-card h3 {
  margin-bottom: 42px;
}

.story-card span,
.city-grid span,
.wellness-grid p {
  color: var(--muted);
  font-weight: 650;
}

.accent-green {
  background: #e4f3d7;
}

.accent-red {
  background: #ffe0d7;
}

.accent-yellow {
  background: #fff0bd;
}

.accent-blue {
  background: #dff1f6;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 94px);
  align-items: start;
  border-top: 2px solid rgba(23, 33, 26, 0.14);
}

.feature-row.reverse {
  background: #fff;
}

.feature-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  padding: 16px 18px;
  color: var(--ink);
  background: #fff;
  border: 2px solid rgba(23, 33, 26, 0.2);
  border-radius: 8px;
  font-weight: 760;
}

.reverse .feature-copy li {
  background: #fffaf0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
  background: #17361f;
  color: #fffaf0;
}

.large-tile {
  padding: clamp(28px, 5vw, 54px);
  border: 2px solid #fffaf0;
  border-radius: 8px;
}

.large-tile .eyebrow,
.split-section .mini-list span {
  color: var(--sun);
}

.large-tile p:last-child {
  max-width: 720px;
  color: rgba(255, 250, 240, 0.76);
  font-size: 1.08rem;
}

.mini-list {
  display: grid;
  gap: 18px;
}

.mini-list article {
  padding: 24px;
  min-height: 150px;
  background: #fffaf0;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 7px 7px 0 #08170c;
}

.mini-list strong {
  display: block;
  font-size: clamp(1.18rem, 2vw, 1.75rem);
  line-height: 1.05;
}

.muted {
  background: #f2efe3;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.city-grid article {
  min-height: 190px;
  background: #fff;
}

.city-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.wellness-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.wellness-grid article {
  min-height: 220px;
  background: #fff;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 0.82fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: center;
  background: var(--sun);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.newsletter p {
  max-width: 640px;
}

form {
  padding: 24px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--line);
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: 7px;
  font: inherit;
}

button {
  padding: 0 18px;
  background: var(--leaf);
  color: #fff;
  cursor: pointer;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 22px;
  background: #fff;
  border: 2px solid rgba(23, 33, 26, 0.18);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 900;
}

details p {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  color: #fffaf0;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: rgba(255, 250, 240, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 250, 240, 0.78);
  font-weight: 850;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .section-heading,
  .feature-row,
  .split-section,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 510px;
  }

  #coverCanvas {
    margin: 0 auto;
  }

  .cover-stack {
    left: 50%;
    transform: translateX(-50%);
  }

  .metrics,
  .story-grid,
  .city-grid,
  .wellness-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: auto;
  }

  .brand-canvas {
    width: 40px;
    height: 40px;
  }

  .nav-action {
    padding: 0 12px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(2.55rem, 16vw, 4.25rem);
  }

  .hero-actions,
  .form-row,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 430px;
  }

  #coverCanvas {
    box-shadow: 9px 10px 0 var(--line);
  }

  .cover-stack {
    width: 92%;
    bottom: 4px;
  }

  .cover-stack article {
    padding: 12px 14px;
  }

  .metrics,
  .story-grid,
  .city-grid,
  .wellness-grid {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 2px solid rgba(23, 33, 26, 0.16);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .story-card,
  .city-grid article,
  .wellness-grid article {
    min-height: auto;
  }
}
