:root {
  --bg: #050807;
  --bg-2: #0b120f;
  --ink: #f5fff0;
  --muted: #a6b8aa;
  --soft: rgba(245, 255, 240, 0.68);
  --line: rgba(180, 255, 211, 0.22);
  --line-strong: rgba(180, 255, 211, 0.42);
  --mint: #9cffc5;
  --mint-deep: #32d184;
  --amber: #f2cf73;
  --panel: rgba(9, 18, 14, 0.78);
  --panel-2: rgba(17, 31, 24, 0.86);
  --pixel: "Pixelify Sans", "Courier New", monospace;
  --body: "Plus Jakarta Sans", "Avenir Next", "Trebuchet MS", sans-serif;
  --curve: cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(156, 255, 197, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(156, 255, 197, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #030504 0%, #08100c 48%, #050807 100%);
  background-size: 34px 34px, 34px 34px, auto;
  font-family: var(--body);
  letter-spacing: 0;
}

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

button {
  color: inherit;
  font: inherit;
}

.site-texture,
.site-scan {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.site-texture {
  opacity: 0.045;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.46) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px);
  background-size: 5px 5px;
  mix-blend-mode: overlay;
}

.site-scan {
  opacity: 0.08;
  background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(156, 255, 197, 0.16) 10px);
}

.org-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(4, 10, 7, 0.78);
  box-shadow:
    0 0 0 4px rgba(4, 10, 7, 0.42),
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(245, 255, 240, 0.08);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.org-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  font-family: var(--pixel);
  font-weight: 800;
  white-space: nowrap;
}

.org-brand img {
  width: 34px;
  height: 34px;
  image-rendering: pixelated;
}

.org-links {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.org-links a,
.github-link,
.primary-action,
.secondary-action,
.org-lang button,
.org-menu,
.project-card {
  transition:
    transform 700ms var(--curve),
    opacity 700ms var(--curve),
    color 700ms var(--curve),
    background 700ms var(--curve),
    border-color 700ms var(--curve);
}

.org-links a {
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: rgba(245, 255, 240, 0.66);
  font-size: 13px;
}

.org-links a:hover {
  color: var(--mint);
  border-color: var(--line);
  background: rgba(156, 255, 197, 0.08);
  transform: translateY(-2px);
}

.org-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.org-lang {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(245, 255, 240, 0.12);
  border-radius: 8px;
  background: rgba(245, 255, 240, 0.055);
}

.org-lang button {
  width: 34px;
  height: 32px;
  border: 0;
  border-radius: 5px;
  color: rgba(245, 255, 240, 0.58);
  background: transparent;
  cursor: pointer;
}

.org-lang button.active {
  color: #04100a;
  background: var(--mint);
}

.github-link,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 8px 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(245, 255, 240, 0.07);
  color: var(--ink);
  font-weight: 760;
}

.github-link i,
.primary-action i,
.secondary-action i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(156, 255, 197, 0.12);
  color: var(--mint);
  font-style: normal;
  transition: transform 700ms var(--curve), background 700ms var(--curve);
}

.github-link:hover,
.primary-action:hover,
.secondary-action:hover {
  border-color: rgba(156, 255, 197, 0.66);
  transform: translateY(-2px);
}

.github-link:hover i,
.primary-action:hover i,
.secondary-action:hover i {
  background: rgba(156, 255, 197, 0.22);
  transform: translate(2px, -1px);
}

.primary-action {
  background: var(--mint);
  color: #04100a;
}

.primary-action i {
  background: rgba(4, 16, 10, 0.13);
  color: #04100a;
}

.secondary-action {
  background: rgba(242, 207, 115, 0.10);
  border-color: rgba(242, 207, 115, 0.28);
}

.org-menu {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.org-menu span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: var(--mint);
  transition: transform 700ms var(--curve);
}

.org-menu span:first-child { top: 16px; }
.org-menu span:last-child { top: 25px; }
.org-menu.open span:first-child { transform: translateY(4px) rotate(45deg); }
.org-menu.open span:last-child { transform: translateY(-5px) rotate(-45deg); }

.org-menu-panel {
  position: fixed;
  inset: 14px;
  z-index: 11;
  display: grid;
  place-content: center;
  gap: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(4, 10, 7, 0.94);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px) scale(0.985);
  transition: opacity 760ms var(--curve), transform 760ms var(--curve);
  backdrop-filter: blur(22px);
}

.org-menu-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.org-menu-panel a {
  font-family: var(--pixel);
  font-size: clamp(32px, 8vw, 70px);
}

.org-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.86fr);
  gap: 58px;
  align-items: center;
  min-height: 100dvh;
  padding: 152px max(24px, calc((100vw - 1180px) / 2)) 86px;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(156, 255, 197, 0.08);
  color: var(--mint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--body);
  font-weight: 860;
  letter-spacing: 0;
}

h1 {
  margin-top: 28px;
  font-size: 104px;
  line-height: 0.92;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

h2 {
  margin-top: 20px;
  font-size: 66px;
  line-height: 1.02;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

h3 {
  font-size: 28px;
  line-height: 1.12;
}

.slogan {
  width: min(780px, 100%);
  margin-top: 26px;
  color: var(--mint);
  font-size: 36px;
  line-height: 1.18;
  font-weight: 780;
}

.hero-body,
.manifesto p,
.section-marker p,
.network-copy p,
.project-copy p,
.card-core p {
  color: var(--soft);
  font-size: 17px;
  line-height: 1.72;
}

.hero-body {
  width: min(670px, 100%);
  margin-top: 28px;
}

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

.visual-shell,
.panel-shell,
.card-shell {
  padding: 7px;
  border: 1px solid rgba(245, 255, 240, 0.12);
  border-radius: 8px;
  background: rgba(245, 255, 240, 0.045);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.30);
}

.visual-core,
.panel-core,
.card-core {
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(245, 255, 240, 0.07), rgba(245, 255, 240, 0.02)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(245, 255, 240, 0.10);
}

.hero-visual {
  align-self: stretch;
  min-height: 620px;
}

.visual-shell {
  height: 100%;
}

.visual-core {
  position: relative;
  height: 100%;
  min-height: 600px;
  overflow: hidden;
  background: #030705;
}

.visual-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.visual-core::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 5, 0.36), transparent 44%),
    linear-gradient(180deg, transparent 42%, rgba(3, 7, 5, 0.66));
  pointer-events: none;
}

.signal-strip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(180, 255, 211, 0.28);
  border-radius: 6px;
  background: rgba(4, 10, 7, 0.78);
}

.panel-core {
  padding: 26px;
}

.panel-kicker,
.principle-card span,
.network-matrix span,
.project-status,
.mission-ledger b {
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-line {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 255, 240, 0.10);
}

.signal-line b {
  color: var(--mint);
  font-family: var(--pixel);
  font-size: 14px;
}

.signal-line span {
  color: var(--soft);
  line-height: 1.55;
}

.section {
  padding: 122px max(24px, calc((100vw - 1180px) / 2));
}

.section-marker {
  width: min(850px, 100%);
}

.section-marker p {
  width: min(720px, 100%);
  margin-top: 22px;
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: 56px;
  align-items: start;
  margin-top: 58px;
}

.manifesto {
  display: grid;
  gap: 28px;
  max-width: 760px;
}

.manifesto p:first-child {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.24;
  font-weight: 760;
}

.mission-ledger {
  display: grid;
  gap: 10px;
}

.mission-ledger div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 255, 240, 0.045);
}

.mission-ledger span {
  color: var(--soft);
}

.mission-ledger b {
  color: var(--mint);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 60px;
}

.card-core {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 360px;
  padding: 28px;
}

.card-core h3 {
  margin-top: 64px;
  min-height: 64px;
}

.card-core p {
  margin-top: 20px;
  align-self: end;
}

.network-board {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.62fr);
  gap: 18px;
  align-items: stretch;
  padding: 8px;
  border: 1px solid rgba(245, 255, 240, 0.12);
  border-radius: 8px;
  background: rgba(245, 255, 240, 0.045);
}

.network-copy {
  grid-row: span 2;
  min-height: 520px;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(156, 255, 197, 0.11), transparent 42%),
    var(--panel);
}

.network-copy p {
  margin-top: 26px;
}

.network-visual {
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #030705;
}

.network-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.network-matrix {
  display: grid;
  gap: 8px;
}

.network-matrix div {
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(4, 10, 7, 0.72);
}

.network-matrix b {
  display: block;
  margin-top: 26px;
  color: var(--ink);
  font-size: 19px;
}

.project-list {
  margin-top: 58px;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr) 56px;
  gap: 28px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(245, 255, 240, 0.14);
  border-radius: 8px;
  background: rgba(245, 255, 240, 0.045);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.project-card:hover {
  border-color: rgba(156, 255, 197, 0.62);
  transform: translateY(-4px);
}

.project-media {
  height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #06100c;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--curve), filter 900ms var(--curve);
}

.project-card:hover .project-media img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

.project-copy {
  padding: 26px 0;
}

.project-copy h3 {
  margin-top: 18px;
  font-size: 68px;
}

.project-copy p {
  margin-top: 18px;
  max-width: 560px;
}

.project-card > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(156, 255, 197, 0.10);
  color: var(--mint);
  font-style: normal;
  transition: transform 760ms var(--curve), background 760ms var(--curve);
}

.project-card:hover > i {
  background: rgba(156, 255, 197, 0.20);
  transform: translate(3px, -2px);
}

.org-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 34px max(24px, calc((100vw - 1180px) / 2)) 42px;
  border-top: 1px solid rgba(245, 255, 240, 0.10);
  color: rgba(245, 255, 240, 0.58);
  font-size: 13px;
}

.org-footer span:first-child {
  color: var(--ink);
  font-family: var(--pixel);
}

.org-footer a {
  color: var(--mint);
}

.reveal {
  opacity: 0;
  transform: translateY(56px);
  filter: blur(8px);
  transition:
    opacity 900ms var(--curve),
    transform 900ms var(--curve),
    filter 900ms var(--curve);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 980px) {
  .org-links,
  .github-link {
    display: none;
  }

  .org-menu {
    display: block;
  }

  .org-hero,
  .mission-layout,
  .network-board,
  .project-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
    min-height: 460px;
  }

  .principle-grid,
  .network-matrix {
    grid-template-columns: 1fr;
  }

  .visual-core {
    min-height: 440px;
  }

  .project-card {
    gap: 18px;
  }

  .project-card > i {
    position: absolute;
    right: 22px;
    bottom: 22px;
  }
}

@media (max-width: 720px) {
  .org-nav {
    top: 12px;
    width: calc(100% - 20px);
  }

  .org-brand span {
    font-size: 13px;
  }

  .org-lang {
    display: none;
  }

  .org-hero {
    padding: 124px 16px 58px;
    gap: 30px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .visual-core {
    min-height: 310px;
  }

  .signal-strip {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }

  .section {
    padding: 82px 16px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 38px;
  }

  .slogan {
    font-size: 24px;
  }

  .project-copy h3 {
    font-size: 42px;
  }

  .panel-core,
  .card-core,
  .network-copy {
    padding: 24px;
  }

  .card-core {
    min-height: 300px;
  }

  .card-core h3 {
    margin-top: 54px;
    min-height: auto;
  }

  .network-copy {
    min-height: auto;
  }

  .project-media {
    height: 220px;
  }

  .project-copy {
    padding: 16px 12px 70px;
  }

  .org-footer {
    padding: 28px 16px 34px;
  }
}
