:root {
  color-scheme: dark;
  --bg: #050607;
  --ink: #f7f8f2;
  --muted: #aab2ad;
  --soft: rgba(247, 248, 242, 0.72);
  --line: rgba(247, 248, 242, 0.16);
  --panel: rgba(8, 13, 14, 0.78);
  --panel-strong: rgba(13, 20, 22, 0.92);
  --cyan: #5ce7df;
  --amber: #ffb84d;
  --rose: #ef6f9f;
  --green: #82d173;
  --violet: #9d8cff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(92, 231, 223, 0.12), transparent 28%),
    radial-gradient(circle at 78% 4%, rgba(255, 184, 77, 0.12), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  z-index: 0;
}

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

button {
  font: inherit;
}

.brand-button {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

code {
  color: var(--cyan);
}

.transition-wipe {
  position: fixed;
  inset: 0;
  background: var(--ink);
  transform: translateY(100%);
  z-index: 50;
  pointer-events: none;
}

.transition-wipe.is-running {
  animation: wipe 620ms cubic-bezier(0.8, 0, 0.2, 1);
}

@keyframes wipe {
  0% {
    transform: translateY(100%);
  }
  46%,
  54% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(5, 6, 7, 0.68);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 17px;
  height: 17px;
  display: inline-block;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber) 0 26%, var(--cyan) 31% 48%, transparent 53%);
  box-shadow: 0 0 30px rgba(92, 231, 223, 0.72);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 14px;
}

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

.nav-module {
  min-height: 38px;
  padding: 9px 13px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0.01em;
}

.nav-module:hover,
.nav-module.is-active {
  color: var(--ink);
  border-color: rgba(92, 231, 223, 0.55);
  background: rgba(92, 231, 223, 0.12);
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.section-panel {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 112px clamp(18px, 5vw, 72px) 76px;
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: 36px;
}

.hero-bg,
.hero-shade,
.particle-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.96) 0%, rgba(5, 6, 7, 0.7) 42%, rgba(5, 6, 7, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 6, 7, 0.88), transparent 46%);
}

.particle-field {
  mix-blend-mode: screen;
  opacity: 0.78;
}

.hero-content {
  max-width: 900px;
}

.award-lockup {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 9px 12px;
  color: var(--ink);
  border: 1px solid rgba(92, 231, 223, 0.28);
  border-radius: 8px;
  background: rgba(5, 6, 7, 0.68);
  backdrop-filter: blur(14px);
}

.award-lockup img {
  width: 150px;
  max-height: 68px;
  object-fit: contain;
  border-radius: 5px;
}

.award-lockup span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 840px;
  margin-top: 24px;
}

.hero-proof-grid article {
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 6, 7, 0.58);
  backdrop-filter: blur(14px);
}

.hero-proof-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.hero-proof-grid strong {
  display: block;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.45;
}

.hero-module-rail {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 24px;
}

.hero-module-button {
  display: grid;
  grid-template-columns: 42px minmax(110px, 0.32fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px 16px;
  color: var(--ink);
  text-align: left;
  background: rgba(5, 6, 7, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-module-button:hover {
  transform: translateX(6px);
  border-color: rgba(92, 231, 223, 0.68);
  background: rgba(13, 20, 22, 0.88);
}

.hero-module-button span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 820;
}

.hero-module-button strong {
  font-size: 16px;
}

.hero-module-button em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.42;
}

.eyebrow,
.project-index {
  margin: 0 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 820;
}

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

h1 {
  font-size: clamp(48px, 8vw, 116px);
  max-width: 980px;
}

.module-hero h1 {
  max-width: 980px;
  font-size: clamp(40px, 5.2vw, 78px);
  line-height: 1;
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 5vw, 72px);
  max-width: 960px;
}

h3 {
  font-size: clamp(34px, 4.8vw, 68px);
}

.hero-copy,
.project-copy p,
.principles p,
.publish-card p {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.72;
}

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

.primary-action,
.ghost-action {
  min-height: 48px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.primary-action {
  background: var(--ink);
  color: #070807;
  font-weight: 820;
}

.ghost-action {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.small {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 14px;
}

.ghost-action:hover,
.project-tab:hover {
  border-color: rgba(92, 231, 223, 0.65);
}

.signal-console {
  justify-self: end;
  width: min(100%, 360px);
  padding: 18px;
  background: rgba(5, 6, 7, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.console-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.console-row:last-child {
  border-bottom: 0;
}

.console-row strong {
  color: var(--ink);
}

.profile-video-card {
  justify-self: end;
  width: min(100%, 820px);
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(92, 231, 223, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 12%, rgba(255, 184, 77, 0.12), transparent 40%),
    rgba(5, 6, 7, 0.74);
  backdrop-filter: blur(18px);
}

.profile-video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #030404;
}

.profile-video-copy {
  padding: 6px 4px 2px;
}

.profile-video-copy span {
  display: block;
  margin-bottom: 7px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.profile-video-copy strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
}

.profile-video-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

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

.module-start {
  min-height: auto;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.acknowledgements {
  min-height: auto;
  padding-top: 84px;
}

.acknowledgement-card {
  max-width: 1120px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(92, 231, 223, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(92, 231, 223, 0.12), transparent 58%),
    rgba(8, 13, 14, 0.82);
}

.acknowledgement-card p {
  margin: 0;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.55;
}

.module-card {
  display: grid;
  grid-template-rows: 190px minmax(0, 1fr);
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 231, 223, 0.62);
  background: rgba(13, 20, 22, 0.96);
}

.module-card-media {
  background: #030404;
  overflow: hidden;
}

.module-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 420ms ease;
}

.module-card:hover .module-card-media img {
  transform: scale(1.04);
}

.module-card-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.module-card-copy span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.module-card-copy strong {
  font-size: clamp(22px, 2.3vw, 32px);
}

.module-card-copy p {
  color: var(--muted);
  line-height: 1.58;
  font-size: 14px;
}

.module-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.module-card-tags em {
  padding: 6px 8px;
  color: var(--soft);
  font-size: 11px;
  font-style: normal;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.module-card button,
.back-button {
  width: fit-content;
  min-height: 40px;
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.module-card button {
  width: 100%;
  justify-content: center;
  font-weight: 820;
}

.module-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  min-height: 100svh;
}

.module-hero-copy {
  display: grid;
  gap: 18px;
}

.module-hero-copy .hero-copy {
  margin: 0;
}

.advantage-panel {
  padding: 18px;
  border: 1px solid rgba(92, 231, 223, 0.35);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(92, 231, 223, 0.13), transparent 60%),
    rgba(255, 255, 255, 0.045);
}

.advantage-panel > span {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.advantage-panel > strong {
  display: block;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.1;
}

.advantage-panel > small {
  display: block;
  margin-top: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.advantage-panel > p {
  color: var(--muted);
  line-height: 1.62;
}

.advantage-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.advantage-panel em {
  padding: 7px 9px;
  color: var(--soft);
  font-size: 12px;
  font-style: normal;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.module-hero-media {
  display: grid;
  gap: 12px;
}

.module-hero-media video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #030404;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.animal-video-stage {
  justify-items: center;
  align-content: center;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid rgba(92, 231, 223, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(92, 231, 223, 0.14), transparent 48%),
    linear-gradient(135deg, rgba(255, 184, 77, 0.08), transparent 52%),
    rgba(3, 4, 4, 0.72);
}

.animal-video-stage video {
  width: min(100%, 980px);
  aspect-ratio: 1920 / 474;
  object-fit: contain;
  background: #030404;
}

.animal-video-stage .media-caption {
  max-width: 980px;
}

.hero-video-pair,
.paired-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-video-pair article {
  display: grid;
  gap: 8px;
}

.hero-video-pair span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.figure-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 16px;
  align-items: stretch;
}

.figure-showcase img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #030404;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.figure-explain {
  padding: 18px;
  border: 1px solid rgba(92, 231, 223, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(92, 231, 223, 0.12), transparent 56%),
    rgba(255, 255, 255, 0.045);
}

.figure-explain span {
  display: block;
  margin-bottom: 9px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 840;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.figure-explain strong {
  display: block;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.12;
}

.figure-explain p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.figure-points {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.figure-points article {
  position: relative;
  padding: 12px 12px 12px 34px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.figure-points article::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 13px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(255, 184, 77, 0.62);
}

.figure-showcase .figure-explain {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.module-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.script-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.script-panel > span {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.script-panel > strong {
  display: block;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.1;
}

.script-panel > p {
  color: var(--muted);
  line-height: 1.65;
}

.single-gui {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.58fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.project-shell,
.network-card,
.publish-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.project-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.project-tab {
  min-height: 88px;
  padding: 18px;
  color: var(--muted);
  text-align: left;
  background: rgba(255, 255, 255, 0.025);
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
}

.project-tab:last-child {
  border-right: 0;
}

.project-tab span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.project-tab strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.project-tab.is-active {
  background: linear-gradient(135deg, rgba(92, 231, 223, 0.18), rgba(255, 184, 77, 0.07));
}

.project-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: 22px;
  padding: clamp(18px, 3vw, 32px);
}

.project-copy {
  align-self: center;
}

.project-copy p {
  margin-bottom: 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.project-tags span {
  padding: 8px 10px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
}

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

.logic-grid article {
  min-height: 126px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.logic-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.logic-grid p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.52;
}

.flow-diagram {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 22px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.flow-diagram article {
  position: relative;
  min-height: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(92, 231, 223, 0.11), transparent 58%),
    rgba(255, 255, 255, 0.045);
}

.flow-diagram article::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 18px;
  height: 2px;
  background: var(--cyan);
  opacity: 0.72;
}

.flow-diagram article:last-child::after {
  display: none;
}

.flow-diagram span {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 820;
}

.flow-diagram strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.flow-diagram p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.flow-node {
  box-shadow: inset 0 0 0 1px transparent;
}

.flow-input {
  box-shadow: inset 0 0 0 1px rgba(92, 231, 223, 0.2);
}

.flow-model {
  box-shadow: inset 0 0 0 1px rgba(255, 184, 77, 0.22);
}

.flow-analysis {
  box-shadow: inset 0 0 0 1px rgba(130, 209, 115, 0.2);
}

.flow-branch {
  box-shadow: inset 0 0 0 1px rgba(157, 140, 255, 0.22);
}

.flow-qc {
  box-shadow: inset 0 0 0 1px rgba(239, 111, 159, 0.22);
}

.flow-output {
  box-shadow: inset 0 0 0 1px rgba(247, 248, 242, 0.2);
}

.output-strip {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 184, 77, 0.28);
  border-radius: 8px;
  background: rgba(255, 184, 77, 0.08);
}

.output-strip span {
  display: block;
  margin-bottom: 7px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.output-strip strong {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
}

.project-media {
  position: relative;
  min-height: 520px;
  display: grid;
  gap: 12px;
}

.project-media video,
.project-media img,
.media-grid video,
.media-grid img {
  width: 100%;
  display: block;
  background: #030404;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-media video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-media img {
  max-height: 240px;
  object-fit: cover;
}

.media-caption {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.video-explain {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(92, 231, 223, 0.1), transparent 58%),
    rgba(255, 255, 255, 0.045);
}

.video-explain > span {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.video-explain > strong {
  display: block;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.12;
}

.video-explain > p {
  color: var(--muted);
  line-height: 1.62;
}

.video-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.video-note-grid article {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.video-note-grid em {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-style: normal;
  font-weight: 780;
}

.video-note-grid p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.5;
}

.system-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 18px;
  align-items: stretch;
}

.gui-showcase {
  min-height: auto;
}

.gui-console {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.gui-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.gui-tab {
  min-height: 82px;
  padding: 16px;
  text-align: left;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
}

.gui-tab:last-child {
  border-right: 0;
}

.gui-tab span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 820;
}

.gui-tab strong {
  color: var(--ink);
}

.gui-tab.is-active {
  background: linear-gradient(135deg, rgba(92, 231, 223, 0.18), rgba(255, 184, 77, 0.07));
}

.gui-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.58fr);
  min-height: 560px;
}

.gui-image-frame {
  min-height: 560px;
  background: #030404;
}

.gui-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gui-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 3vw, 30px);
  border-left: 1px solid var(--line);
}

.gui-card-copy span {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.gui-card-copy strong {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.05;
}

.gui-card-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.gui-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.gui-controls em {
  padding: 7px 9px;
  color: var(--soft);
  font-size: 12px;
  font-style: normal;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.methods {
  min-height: auto;
}

.method-stack {
  display: grid;
  gap: 18px;
}

.method-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.method-title {
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(92, 231, 223, 0.14), transparent 56%),
    rgba(255, 255, 255, 0.035);
  border-right: 1px solid var(--line);
}

.method-title span {
  display: block;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.method-title h3 {
  font-size: clamp(24px, 3.1vw, 46px);
}

.method-title p {
  color: var(--muted);
  line-height: 1.68;
}

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

.method-columns section {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.method-columns section:last-child {
  border-right: 0;
}

.method-columns strong {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 13px;
  text-transform: uppercase;
}

.method-columns ul {
  margin: 0;
  padding-left: 18px;
  color: var(--soft);
}

.method-columns li {
  margin-bottom: 12px;
  line-height: 1.58;
}

.method-columns li:last-child {
  margin-bottom: 0;
}

.network-card canvas {
  width: 100%;
  min-height: 560px;
  display: block;
}

.principles {
  display: grid;
  gap: 14px;
}

.principles article,
.publish-steps article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.principles span,
.publish-steps span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.principles strong,
.publish-steps strong {
  display: block;
  font-size: 20px;
}

.principles p,
.publish-steps p {
  margin-bottom: 0;
  font-size: 15px;
}

.gallery {
  min-height: auto;
}

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

.media-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.media-item video,
.media-item img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.paired-media video {
  width: 100%;
  min-width: 0;
}

.media-item.is-wide-video video {
  aspect-ratio: 1920 / 474;
  object-fit: contain;
  background: #030404;
}

.media-item strong {
  font-size: 15px;
}

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

.publish {
  min-height: 78vh;
  display: grid;
  align-items: center;
}

.publish-card {
  padding: clamp(22px, 4vw, 42px);
}

.publish-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero,
  .hero-proof-grid,
  .module-hero,
  .module-layout,
  .figure-showcase,
  .hero-video-pair,
  .paired-media,
  .single-gui,
  .project-stage,
  .system-grid,
  .gui-stage,
  .method-card,
  .method-columns,
  .media-grid,
  .publish-steps {
    grid-template-columns: 1fr;
  }

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

  .hero {
    align-content: end;
    padding-top: 150px;
  }

  .signal-console,
  .profile-video-card {
    width: 100%;
    justify-self: stretch;
  }

  .profile-video-card video {
    object-fit: contain;
  }

  .project-tabs {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
  }

  .gui-tabs {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
  }

  .flow-diagram {
    grid-template-columns: repeat(7, minmax(150px, 1fr));
  }

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

  .project-media {
    min-height: auto;
  }

  .gui-card-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .single-gui .gui-card-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .gui-stage,
  .gui-image-frame {
    min-height: auto;
  }

  .gui-image-frame img {
    aspect-ratio: 16 / 9;
  }

  .video-note-grid {
    grid-template-columns: 1fr;
  }

  .method-title {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-columns section {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-columns section:last-child {
    border-bottom: 0;
  }

  .network-card canvas {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .section-panel {
    padding-inline: 14px;
  }

  .award-lockup {
    align-items: flex-start;
    flex-direction: column;
  }

  .award-lockup img {
    width: 160px;
  }

  .profile-video-card {
    padding: 10px;
  }

  .hero-actions,
  .project-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .ghost-action {
    width: 100%;
  }

  .hero-module-button {
    grid-template-columns: 34px 1fr;
  }

  .hero-module-button em {
    grid-column: 2;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
