:root {
  color-scheme: dark;
  --bg: #0b1110;
  --panel: #101917;
  --panel-strong: #14211e;
  --text: #f3f7f2;
  --muted: #b7c4bd;
  --line: rgba(255, 255, 255, 0.14);
  --green: #47c27a;
  --gold: #d2a94d;
  --steel: #83a2a0;
  --shadow: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(11, 17, 16, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(71, 194, 122, 0.54);
  border-radius: 6px;
  background: rgba(71, 194, 122, 0.12);
  color: var(--green);
  font-size: 0.8rem;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 64px) 72px;
  border-bottom: 1px solid var(--line);
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 12, 11, 0.92) 0%, rgba(7, 12, 11, 0.74) 38%, rgba(7, 12, 11, 0.18) 100%),
    linear-gradient(0deg, rgba(11, 17, 16, 0.86) 0%, rgba(11, 17, 16, 0.14) 50%, rgba(11, 17, 16, 0.70) 100%);
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.eyebrow,
.status {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.8rem, 9vw, 8.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
}

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

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

.button.primary {
  background: var(--green);
  color: #06110c;
  border-color: var(--green);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.section {
  padding: 78px clamp(18px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

.intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.principles article,
.project-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 60px var(--shadow);
}

.principles p,
.project-card p,
.structure-list p {
  margin: 0;
  color: var(--muted);
}

.metric {
  display: block;
  margin-bottom: 36px;
  color: var(--steel);
  font-weight: 900;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-card.active {
  background: var(--panel-strong);
  border-color: rgba(71, 194, 122, 0.38);
}

.project-card.quiet {
  border-color: rgba(210, 169, 77, 0.34);
}

.project-card a {
  margin-top: auto;
  padding-top: 28px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.project-card a:hover {
  text-decoration: underline;
}

.structure {
  background: #0f1715;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.structure-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.structure-list div {
  padding: 26px;
  background: #101917;
}

.roadmap ol {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 1.06rem;
}

.roadmap li::marker {
  color: var(--gold);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header,
  .intro,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    position: absolute;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .intro,
  .principles,
  .project-grid,
  .structure-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 96vh;
    padding-top: 158px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 12, 11, 0.92) 0%, rgba(7, 12, 11, 0.70) 100%),
      linear-gradient(0deg, rgba(11, 17, 16, 0.92) 0%, rgba(11, 17, 16, 0.24) 68%, rgba(11, 17, 16, 0.72) 100%);
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 0.95rem;
  }

  .nav {
    gap: 10px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: 3.1rem;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
