:root {
  --ink: #14201f;
  --muted: #5d6a67;
  --line: #d8ded9;
  --paper: #fbfaf5;
  --panel: #f2f0e7;
  --navy: #152331;
  --green: #315f4d;
  --gold: #b39155;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 32, 31, 0.08);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 222, 217, 0.82);
  background: rgba(251, 250, 245, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 740;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-weight: 680;
  font-size: 14px;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--green);
  border-color: var(--green);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  color: var(--white);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(44px, 7vw, 82px);
  max-width: 780px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
}

.lead {
  margin-top: 24px;
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
}

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

.proof-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  padding: 18px 18px 18px 0;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  font-size: 18px;
}

.proof-item span {
  color: var(--muted);
  font-size: 13px;
}

.network-visual {
  position: relative;
  min-height: 460px;
  background: var(--navy);
  color: var(--white);
  padding: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.network-visual::before {
  content: "";
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 720;
  text-align: center;
}

.node.small {
  width: 92px;
  height: 92px;
  font-size: 13px;
}

.n1 { left: 36px; top: 72px; }
.n2 { right: 42px; top: 92px; }
.n3 { left: 50%; top: 42%; transform: translate(-50%, -50%); border-color: var(--gold); color: #f7dfaa; }
.n4 { left: 78px; bottom: 60px; }
.n5 { right: 72px; bottom: 48px; }

.line {
  position: absolute;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  transform-origin: left center;
}

.l1 { left: 145px; top: 133px; width: 180px; transform: rotate(18deg); }
.l2 { right: 140px; top: 154px; width: 150px; transform: rotate(158deg); }
.l3 { left: 158px; bottom: 132px; width: 170px; transform: rotate(-20deg); }
.l4 { right: 164px; bottom: 124px; width: 145px; transform: rotate(203deg); }

.visual-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 24px;
}

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

.section-header p {
  max-width: 520px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
  padding: 24px;
  min-height: 190px;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.timeline-item {
  padding: 24px 18px 0 0;
  border-right: 1px solid var(--line);
}

.timeline-item:last-child {
  border-right: 0;
}

.timeline-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.timeline-item span {
  color: var(--muted);
  font-size: 14px;
}

.band {
  background: var(--navy);
  color: var(--white);
}

.band .section-header p,
.band .card p,
.band .muted {
  color: rgba(255, 255, 255, 0.68);
}

.band .card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.filter.active,
.filter:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

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

.portfolio-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  padding: 20px;
  min-height: 360px;
}

.portfolio-card a {
  color: var(--green);
  font-weight: 720;
}


.portfolio-card .meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.portfolio-card p {
  margin-top: 10px;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 22px;
}

.fieldset {
  border: 1px solid var(--line);
  padding: 24px;
  background: rgba(255, 255, 255, 0.55);
}

.fieldset h3 {
  margin-bottom: 18px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.notice {
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
  background: #f5efe0;
  color: #5f553e;
}

.form-success {
  border-left: 3px solid var(--green);
  padding: 24px;
  background: rgba(49, 95, 77, 0.08);
  color: var(--green);
}

.form-success h2 {
  color: var(--green);
  margin: 0 0 8px;
}

.form-success p {
  margin: 0 0 20px;
  max-width: 560px;
}

.form-error {
  border-left: 3px solid #b84233;
  padding: 24px;
  background: rgba(184, 66, 51, 0.08);
  color: #b84233;
}

.form-error h2 {
  color: #b84233;
  margin: 0 0 8px;
}

.form-error p {
  margin: 0 0 20px;
  max-width: 560px;
}

.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 24px 44px;
}

.page-hero h1 {
  max-width: 920px;
}

.page-hero .lead {
  max-width: 760px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 24px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 30px;
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 14px;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  width: 42px;
  height: 42px;
  font-size: 20px;
}

@media (max-width: 900px) {
  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .grid.two,
  .grid.three,
  .portfolio-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .proof-strip,
  .timeline {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .timeline-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-header {
    display: grid;
  }

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

@media (max-width: 560px) {
  .nav,
  .hero,
  .section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .network-visual {
    min-height: 380px;
  }

  .node {
    width: 88px;
    height: 88px;
    font-size: 13px;
  }

  .node.small {
    width: 74px;
    height: 74px;
    font-size: 12px;
  }
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border: 1px solid rgba(49, 95, 77, 0.18);
  background: var(--white);
}


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

.source-card,
.media-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  padding: 20px;
  min-height: 210px;
}

.source-card a,
.media-card a,
.card a {
  color: var(--green);
  font-weight: 720;
}

.media-thumb {
  display: grid;
  place-items: center;
  min-height: 160px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.media-thumb img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: var(--white);
}

.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--navy);
}

.portfolio-card-title {
  color: var(--ink);
}

.portfolio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.portfolio-links a {
  border-bottom: 1px solid rgba(49, 95, 77, 0.35);
}

@media (max-width: 900px) {
  .source-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 900px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.article-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  padding: 16px;
  min-height: 420px;
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}

.article-card h3 {
  color: var(--ink);
}

.article-card p {
  color: var(--muted);
}

.article-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 42px;
  align-items: center;
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-body {
  max-width: 900px;
}

.article-body article {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.article-body h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}

.article-body p {
  color: var(--muted);
  font-size: 18px;
}

.founder-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: stretch;
}

.founder-portrait {
  display: grid;
  place-items: center;
  min-height: 420px;
  border: 1px solid var(--line);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.founder-portrait img {
  width: min(260px, 70%);
  height: auto;
  opacity: 0.94;
}

.timeline.rich {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .article-grid,
  .article-hero,
  .founder-profile,
  .timeline.rich {
    grid-template-columns: 1fr;
  }
}
