:root {
  --bg: #f4efe6;
  --surface: #fbf7f1;
  --surface-strong: rgba(251, 247, 241, 0.92);
  --ink: #1d1a17;
  --muted: #655b51;
  --line: rgba(56, 43, 31, 0.14);
  --forest: #31453c;
  --gold: #b97f42;
  --shadow: 0 28px 90px rgba(32, 27, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(192, 151, 97, 0.14), transparent 32%),
    linear-gradient(180deg, #f6f0e6 0%, #f2ece2 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 240, 230, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-shell,
.hero-shell,
.section,
.homepage-flow,
.roadmap-grid,
.metrics-grid {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: block;
  width: 62px;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("./hero home image.jpg");
  background-position: center 28%;
  background-size: cover;
  filter: brightness(1.14) saturate(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.58) 0%, rgba(17, 16, 14, 0.32) 45%, rgba(17, 16, 14, 0.12) 100%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);
  gap: 30px;
  align-items: end;
  padding: 132px 0 72px;
}

.hero-copy {
  color: #fff;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.8rem, 8vw, 6.9rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.35rem;
}

.hero-intro,
.hero-panel p,
.section-copy p,
.challenge-card p,
.map-card li,
.homepage-flow p,
.phase-card li,
.metrics-grid p,
.next-steps-panel p {
  line-height: 1.72;
}

.hero-intro {
  margin: 22px 0 0;
  max-width: 56ch;
  font-size: 1.08rem;
  color: rgba(255, 247, 238, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #fff;
  color: var(--ink);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-panel {
  padding: 28px;
  color: #fff;
  background: rgba(248, 242, 232, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  max-width: 10ch;
}

.section {
  padding: 88px 0;
}

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

.overview-section {
  display: grid;
  gap: 28px;
}

.overview-copy {
  max-width: 880px;
}

.section-copy p {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--muted);
}

.pillars,
.challenge-grid,
.roadmap-grid,
.metrics-grid {
  display: grid;
  gap: 18px;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pillars {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillars article,
.challenge-card,
.ecosystem-card,
.map-card,
.homepage-flow article,
.phase-card,
.metrics-grid article,
.next-steps-panel {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pillars article {
  padding: 22px;
}

.pillars strong,
.metrics-grid strong {
  display: inline-block;
  margin-bottom: 10px;
}

.pillars p,
.challenge-card p,
.metrics-grid p {
  margin: 0;
  color: var(--muted);
}

.challenge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.challenge-card {
  padding: 24px;
}

.ecosystem-card {
  padding: 24px;
}

.ecosystem-card a {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--forest);
}

.featured-card {
  background: linear-gradient(180deg, rgba(49, 69, 60, 0.96), rgba(36, 52, 44, 0.96));
  color: #fff;
}

.featured-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.featured-card li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.challenge-card span,
.homepage-flow span,
.phase-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(185, 127, 66, 0.14);
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 18px;
}

.challenge-card h3,
.homepage-flow h3,
.phase-card h3 {
  margin-bottom: 10px;
}

.positioning-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.quote-panel,
.tone-list {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.94), rgba(247, 240, 229, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

blockquote {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.2;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(49, 69, 60, 0.08);
  border: 1px solid rgba(49, 69, 60, 0.12);
  font-weight: 700;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.map-card {
  padding: 24px;
}

.map-card-anchor {
  grid-column: 1;
  grid-row: 1;
}

.map-card-top:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
}

.map-card-top:nth-of-type(3) {
  grid-column: 3;
  grid-row: 1;
}

.map-card-right:nth-of-type(4) {
  grid-column: 2;
  grid-row: 2;
}

.map-card-right:nth-of-type(5) {
  grid-column: 3;
  grid-row: 2;
}

.map-card-right:nth-of-type(6) {
  grid-column: 2;
  grid-row: 3;
}

.map-card-right:nth-of-type(7) {
  grid-column: 3;
  grid-row: 3;
}

.map-card.featured {
  background: linear-gradient(180deg, rgba(49, 69, 60, 0.96), rgba(36, 52, 44, 0.96));
  color: #fff;
}

.map-card ul,
.phase-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.map-card li,
.phase-card li {
  margin-bottom: 8px;
}

.homepage-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.homepage-flow article {
  padding: 22px;
}

.homepage-flow p {
  margin: 0;
  color: var(--muted);
}

.roadmap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.phase-card {
  padding: 24px;
}

.metrics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metrics-grid article {
  padding: 22px;
}

.next-steps-panel {
  padding: 34px;
  background: linear-gradient(135deg, rgba(255, 248, 238, 0.98), rgba(247, 240, 229, 0.98));
}

.next-steps-panel p {
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .hero-shell,
  .positioning-section,
  .ecosystem-grid,
  .sitemap-grid,
  .roadmap-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .homepage-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-card-anchor,
  .map-card-top:nth-of-type(2),
  .map-card-top:nth-of-type(3),
  .map-card-right:nth-of-type(4),
  .map-card-right:nth-of-type(5),
  .map-card-right:nth-of-type(6),
  .map-card-right:nth-of-type(7) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .header-shell,
  .hero-shell,
  .section,
  .homepage-flow,
  .roadmap-grid,
  .metrics-grid {
    width: min(100% - 32px, 1380px);
  }

  .site-header {
    position: static;
  }

  .header-shell {
    padding: 16px 0;
  }

  .site-nav {
    gap: 14px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .hero-shell {
    padding: 92px 0 40px;
  }

  .pillars,
  .challenge-grid,
  .ecosystem-grid,
  .homepage-flow,
  .roadmap-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .ecosystem-card,
  .map-card,
  .phase-card,
  .next-steps-panel,
  .homepage-flow article,
  .challenge-card,
  .pillars article,
  .metrics-grid article,
  .quote-panel,
  .tone-list {
    padding: 22px;
  }
}
