:root {
  --ink: #17211f;
  --muted: #62716d;
  --paper: #fbfaf4;
  --mist: #edf4ef;
  --leaf: #386a58;
  --moss: #7b945f;
  --rose: #c9707a;
  --sun: #d5a449;
  --sky: #6aa8b7;
  --plum: #786aa8;
  --line: rgba(23, 33, 31, 0.14);
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.18);
}

* {
  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;
}

a,
button {
  font: inherit;
}

a {
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.hub-shell {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(251, 250, 244, 0.9), rgba(237, 244, 239, 0.82)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2200&q=84")
      center/cover fixed;
}

.hero-map {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  padding: 22px clamp(18px, 4vw, 54px) 52px;
}

.hub-nav {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  text-decoration: none;
}

.brand-mark,
.map-node {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--leaf);
  color: white;
  font-weight: 950;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand small,
.kicker,
.region-card span,
.progress-panel p {
  color: var(--muted);
}

.brand small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 800;
}

.chip,
.primary,
.secondary {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  border-radius: 8px;
  padding: 0 15px;
  text-decoration: none;
  font-weight: 900;
}

.chip {
  background: rgba(255, 255, 255, 0.66);
  color: var(--leaf);
  outline: 1px solid rgba(56, 106, 88, 0.18);
}

.chip.active,
.primary {
  background: var(--leaf);
  color: white;
}

.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--leaf);
  outline: 1px solid rgba(56, 106, 88, 0.2);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding-top: clamp(86px, 14vh, 148px);
}

.kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.hero-content p {
  max-width: 660px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.map-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.96;
}

.map-canvas::before {
  position: absolute;
  right: 8vw;
  top: 11vh;
  width: min(47vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(251, 250, 244, 0.52);
  box-shadow: var(--shadow);
  content: "";
}

.path-line {
  position: absolute;
  right: 13vw;
  top: 24vh;
  width: min(38vw, 580px);
  height: min(28vw, 420px);
  border: 2px solid rgba(56, 106, 88, 0.28);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.path-line.two {
  right: 20vw;
  top: 38vh;
  width: min(25vw, 360px);
  height: min(18vw, 270px);
  border-color: rgba(201, 112, 122, 0.28);
  border-right-color: transparent;
}

.map-node {
  position: absolute;
  z-index: 2;
  width: clamp(48px, 6vw, 76px);
  height: clamp(48px, 6vw, 76px);
  box-shadow: 0 14px 36px rgba(23, 33, 31, 0.2);
}

.map-node.core {
  right: 27vw;
  top: 37vh;
  width: clamp(70px, 8vw, 104px);
  height: clamp(70px, 8vw, 104px);
  background: var(--leaf);
  font-size: 2rem;
}

.map-node.art {
  right: 14vw;
  top: 22vh;
  background: var(--rose);
}

.map-node.body {
  right: 39vw;
  top: 23vh;
  background: var(--sun);
}

.map-node.sound {
  right: 11vw;
  top: 52vh;
  background: var(--sky);
}

.map-node.story {
  right: 34vw;
  top: 60vh;
  background: var(--moss);
}

.map-node.mind {
  right: 22vw;
  top: 68vh;
  background: var(--plum);
}

.map-node.shadow {
  right: 45vw;
  top: 46vh;
  background: #303a45;
}

.progress-panel {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 48px;
  z-index: 3;
  width: min(330px, calc(100vw - 36px));
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  padding: 18px;
  background: rgba(251, 250, 244, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.progress-ring {
  display: grid;
  width: 116px;
  height: 116px;
  margin: 10px 0;
  place-items: center;
  border: 12px solid rgba(56, 106, 88, 0.14);
  border-top-color: var(--leaf);
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 950;
}

.region-band,
.door-band {
  padding: 54px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 244, 0.95);
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

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

.region-card {
  display: grid;
  min-height: 280px;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(23, 33, 31, 0.08);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.region-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 52px rgba(23, 33, 31, 0.14);
}

.region-card .icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 1.25rem;
  font-weight: 950;
}

.region-card h3 {
  margin: 16px 0 8px;
  font-size: 1.35rem;
}

.region-card span {
  display: block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 900;
}

.door-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.door-band div {
  max-width: 760px;
}

@media (max-width: 980px) {
  .hero-map {
    min-height: auto;
    padding-bottom: 28px;
  }

  .map-canvas {
    position: relative;
    display: block;
    height: 360px;
    margin-top: 28px;
  }

  .map-canvas::before {
    inset: 18px 4vw auto auto;
    width: min(82vw, 520px);
  }

  .progress-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 18px;
  }

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

@media (max-width: 680px) {
  .hub-nav,
  .door-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions,
  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-content {
    padding-top: 70px;
  }

  h1 {
    font-size: clamp(2.6rem, 17vw, 4.4rem);
  }

  .region-grid {
    grid-template-columns: 1fr;
  }
}
