:root {
  color-scheme: dark;
  --network-bg: #081016;
  --network-bg-elevated: #0d1620;
  --network-surface: rgba(15, 25, 36, 0.88);
  --network-surface-hover: #172333;
  --network-border: rgba(130, 160, 190, 0.18);
  --network-border-strong: rgba(45, 212, 191, 0.48);
  --network-text: #f5f8fb;
  --network-text-muted: #a7b4c7;
  --network-accent: #2dd4bf;
  --network-accent-secondary: #f59e0b;
  --network-success: #34d399;
  --network-warning: #facc15;
  --network-danger: #fb7185;
  --network-focus: rgba(45, 212, 191, 0.55);
  --network-radius-sm: 8px;
  --network-radius-md: 12px;
  --network-radius-lg: 16px;
  --network-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --network-transition: 180ms ease;
  --bg: #080b12;
  --bg-soft: #101827;
  --panel: rgba(18, 27, 43, 0.84);
  --panel-strong: rgba(20, 31, 51, 0.96);
  --text: #f5f7fb;
  --muted: #b5c0d3;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #2dd4bf;
  --accent-2: #f59e0b;
  --accent-3: #8b5cf6;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(45, 212, 191, 0.2), transparent 28rem),
    radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.2), transparent 26rem),
    linear-gradient(135deg, #06080e 0%, #101827 52%, #0d111a 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--network-focus);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 16, 22, 0.9);
  backdrop-filter: blur(18px);
}

.network-strip {
  border-bottom: 1px solid rgba(130, 160, 190, 0.12);
  background: rgba(5, 10, 15, 0.46);
  color: var(--network-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.network-strip-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.network-switcher {
  position: relative;
}

.network-switcher summary {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--network-border);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--network-text);
  cursor: pointer;
  list-style: none;
  background: rgba(255, 255, 255, 0.04);
}

.network-switcher summary::-webkit-details-marker {
  display: none;
}

.network-switcher summary::after {
  content: "v";
  color: var(--network-accent-secondary);
  font-size: 0.7rem;
}

.network-switcher[open] summary {
  border-color: var(--network-border-strong);
  background: rgba(45, 212, 191, 0.1);
}

.network-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(360px, calc(100vw - 32px));
  display: grid;
  gap: 8px;
  border: 1px solid var(--network-border);
  border-radius: var(--network-radius-md);
  background: rgba(8, 16, 22, 0.98);
  box-shadow: var(--network-shadow);
  padding: 10px;
}

.network-menu-item {
  display: grid;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: var(--network-radius-sm);
  padding: 10px;
  color: var(--network-text);
  text-decoration: none;
}

.network-menu-item span {
  color: var(--network-text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.network-menu-item:hover,
.network-menu-item:focus-visible,
.network-menu-item.is-current {
  border-color: var(--network-border-strong);
  background: rgba(45, 212, 191, 0.09);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--network-border-strong);
  background: #071015;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.55);
  background: rgba(45, 212, 191, 0.11);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  color: #061018;
}

.button.secondary {
  border-color: rgba(245, 158, 11, 0.45);
}

button.button {
  cursor: pointer;
  font: inherit;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 44px;
  padding: 64px 0 48px;
}

.hero > *,
.section-grid > * {
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

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

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  max-width: 12ch;
  margin-bottom: 24px;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 13.5ch;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

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

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  overflow-wrap: break-word;
}

.brand-stance {
  margin: -8px 0 18px;
  color: var(--accent-secondary);
  font-family: var(--mono);
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.hero-card {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111827;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8, 11, 18, 0.8) 68%, rgba(8, 11, 18, 0.98) 100%),
    url("code.png") center / cover;
  opacity: 0.74;
}

.hero-card img {
  width: min(320px, 68%);
  margin: 42px auto 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.hero-art {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
}

.signal-list {
  margin: 0;
  padding: 0 28px 28px;
  list-style: none;
}

.signal-list li {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  color: var(--muted);
}

.signal-list strong {
  color: var(--text);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.section-kicker {
  color: var(--accent-2);
  font-weight: 900;
  margin-bottom: 10px;
}

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

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(20px, 3vw, 30px);
}

.panel strong {
  color: var(--text);
}

.muted {
  color: var(--muted);
}

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

.card {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
}

.after-hours-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.07), rgba(245, 158, 11, 0.035) 48%, transparent),
    rgba(255, 255, 255, 0.01);
}

.after-hours-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(45, 212, 191, 0.18), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 255, 255, 0.026) 58px 59px);
  opacity: 0.42;
}

.after-hours-shell {
  position: relative;
  display: grid;
  gap: 28px;
}

.after-hours-intro {
  max-width: 820px;
}

.after-hours-intro h2 {
  max-width: 16ch;
}

.after-hours-intro .muted {
  max-width: 64ch;
  font-size: 1.08rem;
}

.after-hours-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.card.after-hours-card {
  min-height: 332px;
}

.after-hours-card p {
  flex: 1;
}

.card-media {
  display: block;
  margin: -10px -10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: #8ff5e7;
  font-size: 0.88rem;
  font-weight: 900;
}

.card-cta::after {
  content: ">";
  margin-left: 8px;
  color: var(--accent-2);
}

.card-link:hover .card-cta,
.card-link:focus-visible .card-cta {
  color: #ffffff;
}

.card-link:focus-visible {
  outline: 3px solid rgba(45, 212, 191, 0.72);
  outline-offset: 4px;
  --edge-angle: 225deg;
}

.education-section {
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.075), rgba(45, 212, 191, 0.045) 52%, transparent),
    rgba(255, 255, 255, 0.012);
}

.education-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

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

.education-identity-mark {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 18px rgba(0, 132, 255, 0.28));
}

.education-hub-card {
  min-height: 255px;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.09), rgba(139, 92, 246, 0.07)) padding-box,
    linear-gradient(135deg, rgba(45, 212, 191, 0.34), rgba(245, 158, 11, 0.18)) border-box;
  border-color: transparent;
}

.arcade-hub-card {
  background:
    linear-gradient(145deg, rgba(45, 212, 191, 0.15), rgba(245, 158, 11, 0.09)) padding-box,
    linear-gradient(135deg, rgba(45, 212, 191, 0.56), rgba(245, 158, 11, 0.26)) border-box;
}

.arcade-hub-card .tag {
  color: var(--accent);
}

.notes-hub-card {
  background:
    linear-gradient(145deg, rgba(16, 185, 129, 0.14), rgba(59, 130, 246, 0.09)) padding-box,
    linear-gradient(135deg, rgba(45, 212, 191, 0.48), rgba(96, 165, 250, 0.28)) border-box;
  border-color: transparent;
}

.notes-hub-card .tag {
  color: #a7f3d0;
}

.tracks-hub-card {
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.12), rgba(245, 158, 11, 0.08)) padding-box,
    linear-gradient(135deg, rgba(139, 92, 246, 0.42), rgba(245, 158, 11, 0.26)) border-box;
  border-color: transparent;
}

.card .tag,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(45, 212, 191, 0.12);
  color: #8ff5e7;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.field-notes-page {
  background:
    radial-gradient(circle at 15% 8%, rgba(45, 212, 191, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 16%, rgba(245, 158, 11, 0.12), transparent 24rem),
    linear-gradient(135deg, #06080e 0%, #101827 52%, #0d111a 100%);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumbs a {
  color: #8ff5e7;
  text-decoration: none;
}

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

.field-notes-hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 34px;
  align-items: end;
  padding: clamp(42px, 7vw, 86px) 0 clamp(34px, 5vw, 58px);
}

.field-notes-hero h1 {
  max-width: min(100%, 12ch);
}

.field-notes-brief,
.field-source-card {
  position: relative;
  overflow: hidden;
}

.field-notes-brief::before,
.field-source-card::before,
.field-note-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.12), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.028) 34px 35px);
  opacity: 0.62;
}

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

.field-note-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(45, 212, 191, 0.12), rgba(15, 23, 42, 0.88)) padding-box,
    linear-gradient(135deg, rgba(45, 212, 191, 0.48), rgba(245, 158, 11, 0.22)) border-box;
  border-color: transparent;
}

.field-note-card > * {
  position: relative;
}

.field-note-card h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.field-note-meta {
  display: block;
  flex: 1;
  color: var(--muted);
  font-size: 0.92rem;
}

.field-note-article {
  max-width: 900px;
  padding: clamp(42px, 7vw, 86px) 0 72px;
}

.field-note-article h1 {
  max-width: 18ch;
  margin: 12px 0 18px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
}

.field-note-article .lede {
  max-width: 68ch;
  margin-bottom: 18px;
}

.field-note-content {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  font-size: 1.06rem;
  line-height: 1.78;
}

.field-note-content p { max-width: 72ch; }
.field-note-content li { margin: 8px 0; }
.field-note-content strong { color: var(--text); }

@media (max-width: 620px) {
  .field-note-article { padding: 34px 18px 52px; }
  .field-note-article h1 { max-width: 100%; font-size: clamp(2.1rem, 10vw, 3rem); overflow-wrap: anywhere; }
  .field-note-content { font-size: 1rem; line-height: 1.68; overflow-wrap: anywhere; }
}

.field-note-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.field-note-toc {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 16, 22, 0.82);
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.field-note-toc strong {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.field-note-toc a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.25;
}

.field-note-toc a:hover,
.field-note-toc a:focus-visible {
  color: var(--text);
}

.field-note-reader {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.field-note-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.05), transparent 180px),
    rgba(18, 27, 43, 0.86);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  scroll-margin-top: 120px;
}

.field-note-section h2 {
  max-width: 18ch;
  color: var(--text);
}

.field-note-section pre {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  color: #dce7f6;
  font: 0.96rem/1.68 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

@media print {
  .site-header,
  .site-footer,
  .breadcrumbs,
  .field-note-toc,
  .hero-actions {
    display: none !important;
  }

  body,
  .field-notes-page {
    background: #fff !important;
    color: #111 !important;
  }

  .field-notes-hero,
  .field-note-shell {
    display: block;
    padding: 0;
  }

  .field-note-section {
    border: 1px solid #bbb;
    box-shadow: none;
    page-break-inside: avoid;
  }

  .field-note-section pre {
    color: #111;
    font-size: 10pt;
  }
}

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

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

.stat b {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
}

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

.cert {
  min-height: 148px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
}

.cert img {
  max-height: 104px;
  object-fit: contain;
}

.feature {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.feature img {
  width: 190px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.art-strip figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.art-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.art-strip figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.link-list a {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 850;
}

.link-list a span {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 48px;
  color: var(--muted);
  background: rgba(5, 10, 15, 0.36);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(280px, 1.3fr);
  gap: 20px;
  align-items: start;
}

.network-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.network-footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--network-border);
  background: #071015;
}

.network-footer-brand strong,
.network-footer-brand span {
  display: block;
}

.network-footer-brand strong {
  color: var(--text);
}

.network-footer-brand span {
  max-width: 44ch;
}

.network-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.network-footer-links a {
  display: grid;
  gap: 4px;
  border: 1px solid var(--network-border);
  border-radius: var(--network-radius-sm);
  padding: 12px;
  color: var(--network-text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.network-footer-links a:hover,
.network-footer-links a:focus-visible,
.network-footer-links a[aria-current="page"] {
  border-color: var(--network-border-strong);
  background: rgba(45, 212, 191, 0.09);
}

.network-footer-links span {
  color: var(--network-text-muted);
  font-size: 0.82rem;
}

.footer-social-joke {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  max-width: min(100%, 680px);
  grid-column: 1 / -1;
}

.footer-year {
  grid-column: 1 / -1;
  font-size: 0.86rem;
}

.social-muted-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-muted-icon {
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)) padding-box,
    linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(245, 158, 11, 0.16)) border-box;
  color: rgba(174, 184, 200, 0.8);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0.72;
  filter: grayscale(0.7) saturate(0.65);
}

.social-muted-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: rgba(251, 113, 133, 0.86);
  box-shadow: 0 0 10px rgba(251, 113, 133, 0.26);
  transform: rotate(-32deg);
}

.social-muted-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  border: 1px solid rgba(251, 113, 133, 0.24);
  pointer-events: none;
}

.page-main {
  padding-bottom: 56px;
}

.page-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 42px;
  padding: 72px 0 48px;
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.page-hero .lede {
  max-width: 68ch;
}

.page-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.05), rgba(8, 11, 18, 0.88)),
    #111827;
  box-shadow: var(--shadow);
}

.page-visual img {
  width: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-visual figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 800;
}

.page-section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.content-flow {
  display: grid;
  gap: 18px;
}

.content-flow .panel {
  display: grid;
  gap: 12px;
}

/* The August 4, 2026 post is the network's founding announcement. */
.content-flow .panel:nth-child(5) {
  border-left: 5px solid var(--accent-2);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.16), transparent 48%),
    var(--panel-strong);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.22), var(--shadow-tight);
}

.content-flow .panel:nth-child(5)::after {
  content: "INITIAL ANNOUNCEMENT · FEATURED";
  display: block;
  order: -1;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.content-flow ul,
.content-flow ol,
.note-list,
.tool-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.content-flow li,
.note-list li,
.tool-list li {
  margin: 8px 0;
}

.quote-panel {
  border-left: 4px solid var(--accent-2);
  background: rgba(245, 158, 11, 0.1);
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.timeline-item time,
.timeline-item .mark {
  color: var(--accent);
  font-weight: 900;
}

.tool-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  padding: clamp(18px, 3vw, 28px);
}

.tool-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.tool-panel input,
.tool-panel select,
.tool-panel textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

.tool-panel textarea {
  min-height: 128px;
  resize: vertical;
}

.status-box {
  border-color: rgba(245, 158, 11, 0.38);
  background: rgba(245, 158, 11, 0.09);
}

.results-grid,
.tool-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.person,
.result-card,
.feed-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.person img,
.result-card img,
.feed-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.feed-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feed-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
}

.feed-list a {
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.feed-list a:hover {
  color: var(--accent);
}

.utility-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.mini-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.mini-nav a:hover {
  color: var(--text);
  border-color: rgba(45, 212, 191, 0.55);
}

.archive-door {
  min-height: 280px;
  display: grid;
  align-content: center;
}

.plain-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.plain-table th,
.plain-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

.plain-table th {
  color: var(--accent);
}

.table-shell {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-shell .plain-table {
  min-width: 640px;
}

.feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  font-weight: 900;
}

.pill.live {
  border-color: rgba(45, 212, 191, 0.45);
  color: #8ff5e7;
}

.pill.demo {
  border-color: rgba(245, 158, 11, 0.45);
  color: #facc15;
}

.domain-cell {
  color: var(--text);
  font-weight: 900;
}

.url-cell {
  max-width: 38ch;
  overflow-wrap: anywhere;
  color: var(--muted);
}

.status-cell {
  font-weight: 900;
  color: var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .section-grid,
  .page-hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .page-hero {
    min-height: 0;
  }

  .hero-card {
    min-height: 0;
  }

  .cards,
  .stats,
  .cert-grid,
  .link-list,
  .art-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(calc(100% - 32px), 358px);
    max-width: 358px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .nav {
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links a {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.25rem, 9vw, 2.85rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .page-hero {
    padding: 48px 0 36px;
    gap: 26px;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9vw, 2.85rem);
    line-height: 1.04;
  }

  .eyebrow {
    font-size: 0.72rem;
    max-width: 28ch;
  }

  .lede {
    max-width: 30ch;
    font-size: 1rem;
  }

  .page-hero .lede {
    max-width: 100%;
  }

  .cards,
  .stats,
  .cert-grid,
  .link-list,
  .art-strip,
  .feature,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .feature img {
    width: 100%;
    max-height: 280px;
  }

  #story .feature {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  #story .feature > div {
    min-width: 0;
  }

  #story .feature p {
    max-width: none;
    overflow-wrap: anywhere;
  }
}

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

/* Visual refresh layer */
@property --edge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 145deg;
}

:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-soft: #0b1015;
  --panel: rgba(12, 17, 23, 0.78);
  --panel-strong: rgba(15, 22, 29, 0.94);
  --text: #f8fafc;
  --muted: #aeb8c8;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #34d399;
  --accent-2: #f59e0b;
  --accent-3: #ef476f;
  --cool: #38bdf8;
  --ink: #050608;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.52);
  --shadow-tight: 0 14px 34px rgba(0, 0, 0, 0.34);
  --edge: linear-gradient(var(--edge-angle), rgba(52, 211, 153, 0.72), rgba(56, 189, 248, 0.22), rgba(245, 158, 11, 0.58), rgba(239, 71, 111, 0.48));
}

* {
  letter-spacing: 0;
}

body {
  position: relative;
  background:
    linear-gradient(135deg, rgba(52, 211, 153, 0.08), transparent 28%),
    linear-gradient(225deg, rgba(245, 158, 11, 0.08), transparent 30%),
    linear-gradient(180deg, #050608 0%, #0c1117 44%, #050608 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(135deg, rgba(52, 211, 153, 0.055) 0 1px, transparent 1px 18px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 86%);
  opacity: 0.66;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(52, 211, 153, 0.08) 18% 18.25%, transparent 18.25% 44%, rgba(245, 158, 11, 0.08) 44% 44.25%, transparent 44.25%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.28;
  animation: signalDrift 28s linear infinite;
}

@keyframes signalDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-72px, 36px, 0);
  }
}

.site-shell {
  max-width: 1200px;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(52, 211, 153, 0.11), transparent 28%, rgba(245, 158, 11, 0.08)),
    rgba(5, 6, 8, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.nav {
  min-height: 82px;
}

.brand {
  gap: 14px;
  border-radius: 8px;
  padding: 6px 8px 6px 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.brand:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.08), 0 14px 28px rgba(0, 0, 0, 0.36);
}

.brand strong {
  line-height: 1.05;
}

.brand span {
  margin-top: 4px;
  color: #f0b96a;
}

.nav-links a,
.button,
.mini-nav a {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-links a::before,
.button::before,
.mini-nav a::before {
  content: "";
  position: absolute;
  inset: auto 12px 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::before,
.button:hover::before,
.mini-nav a:hover::before {
  transform: scaleX(1);
}

.button.primary {
  color: #02100d;
  background: linear-gradient(135deg, #5eead4, #facc15 52%, #fb7185);
  box-shadow: 0 18px 44px rgba(52, 211, 153, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button.secondary {
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.06));
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
}

.hero {
  min-height: min(760px, calc(100svh - 82px));
  gap: 56px;
  padding: 58px 0 48px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 7% auto 10% -30px;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, var(--accent), var(--accent-2), transparent);
  box-shadow: 0 0 38px rgba(52, 211, 153, 0.45);
}

.hero > div:first-child,
.page-hero > div:first-child {
  position: relative;
}

.hero > div:first-child::before,
.page-hero > div:first-child::before {
  content: "";
  display: block;
  width: min(100%, 460px);
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--accent), rgba(245, 158, 11, 0.75), transparent);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  border: 1px solid rgba(52, 211, 153, 0.26);
  border-radius: 8px;
  padding: 4px 9px;
  color: #8ff5d2;
  background: rgba(52, 211, 153, 0.08);
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 900;
}

.section-kicker {
  border-color: rgba(245, 158, 11, 0.3);
  color: #f6c978;
  background: rgba(245, 158, 11, 0.08);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  font-size: 5.8rem;
  line-height: 0.9;
  background: linear-gradient(135deg, #ffffff 8%, #baf7e5 34%, #f7c66f 68%, #fb7185);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 64px rgba(52, 211, 153, 0.12);
}

h2 {
  max-width: 13ch;
  font-size: 3.2rem;
  line-height: 0.96;
}

h3 {
  font-size: 1.18rem;
}

.lede,
.muted,
.panel p,
.card p,
.signal-list li,
.stat span,
.link-list a span,
.page-visual figcaption,
.art-strip figcaption {
  color: var(--muted);
}

.lede {
  font-size: 1.18rem;
}

.hero-actions {
  margin-top: 34px;
}

.hero-card,
.page-visual,
.panel,
.card,
.stat,
.cert,
.art-strip figure,
.link-list a,
.person,
.result-card,
.feed-card,
.feed-list li,
.tool-panel,
.table-shell,
.timeline-item {
  position: relative;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--panel-strong), var(--panel-strong)) padding-box,
    var(--edge) border-box;
  box-shadow: var(--shadow-tight);
}

.panel,
.card,
.stat,
.person,
.result-card,
.feed-card,
.feed-list li,
.timeline-item {
  overflow: hidden;
}

.panel::before,
.card::before,
.stat::before,
.person::before,
.result-card::before,
.feed-card::before,
.feed-list li::before,
.timeline-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 34%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.028) 18px 19px);
  opacity: 0.6;
}

.panel:hover,
.card:hover,
.stat:hover,
.link-list a:hover,
.art-strip figure:hover,
.cert:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.44);
  --edge-angle: 225deg;
}

.panel,
.card,
.stat,
.link-list a,
.art-strip figure,
.cert {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, --edge-angle 0.3s ease;
}

.hero-card {
  min-height: 590px;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.02), rgba(5, 6, 8, 0.76) 68%, #050608),
    linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(245, 158, 11, 0.08)),
    url("code.png") center / cover;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58), -22px 0 60px rgba(52, 211, 153, 0.1);
}

.hero-card::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.08), rgba(5, 6, 8, 0.62) 72%, #050608),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 7px);
  opacity: 1;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  border-radius: 8px;
  background: linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.24) 42%, transparent 50% 100%);
  transform: translateX(-34%);
  opacity: 0.18;
}

.hero-card img,
.signal-list {
  position: relative;
  z-index: 2;
}

.hero-card img {
  width: min(340px, 72%);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58), 0 0 0 8px rgba(255, 255, 255, 0.035);
  filter: saturate(1.12) contrast(1.05);
}

.signal-list {
  padding-inline: 32px;
}

.signal-list li {
  border-color: rgba(255, 255, 255, 0.16);
}

.section {
  position: relative;
  padding: 92px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

main > .section:first-of-type {
  padding-top: 56px;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(52, 211, 153, 0.055), transparent 36%),
    linear-gradient(270deg, rgba(245, 158, 11, 0.05), transparent 38%);
  opacity: 0;
}

.section:nth-of-type(odd)::before {
  opacity: 1;
}

.section-grid {
  gap: 54px;
}

.cards {
  gap: 20px;
}

.card {
  min-height: 240px;
  padding: 26px;
}

.card .tag,
.tag,
.pill {
  border-radius: 8px;
}

.card .tag,
.tag {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.16), rgba(56, 189, 248, 0.08));
  color: #9df5da;
}

.card:nth-child(2) .tag {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(239, 71, 111, 0.08));
  color: #f9cf80;
}

.card:nth-child(3) .tag {
  background: linear-gradient(135deg, rgba(239, 71, 111, 0.18), rgba(52, 211, 153, 0.08));
  color: #ffb3c4;
}

.lab-section {
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.18), rgba(5, 6, 8, 0.62)),
    linear-gradient(110deg, rgba(52, 211, 153, 0.08), transparent 36%, rgba(239, 71, 111, 0.08));
}

.lab-section::before {
  opacity: 1;
  background:
    repeating-linear-gradient(90deg, rgba(52, 211, 153, 0.08) 0 1px, transparent 1px 74px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.06), transparent 42%),
    linear-gradient(270deg, rgba(245, 158, 11, 0.06), transparent 42%);
}

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

.lab-copy h2 {
  max-width: 10ch;
}

.lab-meter {
  min-height: 78px;
  display: flex;
  align-items: end;
  gap: 8px;
  width: min(100%, 360px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(rgba(5, 6, 8, 0.74), rgba(5, 6, 8, 0.92)) padding-box,
    linear-gradient(135deg, rgba(52, 211, 153, 0.52), rgba(245, 158, 11, 0.36)) border-box;
  box-shadow: var(--shadow-tight);
}

.lab-meter span {
  flex: 1 1 0;
  min-width: 7px;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, #facc15, #34d399 56%, #38bdf8);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.28);
}

.lab-meter span:nth-child(1) { height: 42%; }
.lab-meter span:nth-child(2) { height: 68%; }
.lab-meter span:nth-child(3) { height: 35%; }
.lab-meter span:nth-child(4) { height: 78%; }
.lab-meter span:nth-child(5) { height: 54%; }
.lab-meter span:nth-child(6) { height: 88%; }
.lab-meter span:nth-child(7) { height: 47%; }
.lab-meter span:nth-child(8) { height: 73%; }
.lab-meter span:nth-child(9) { height: 38%; }
.lab-meter span:nth-child(10) { height: 82%; }
.lab-meter span:nth-child(11) { height: 58%; }
.lab-meter span:nth-child(12) { height: 64%; }

.lab-pulse-visual {
  display: block;
  width: min(100%, 360px);
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(5, 6, 8, 0.74), rgba(5, 6, 8, 0.92)) padding-box,
    linear-gradient(135deg, rgba(56, 189, 248, 0.42), rgba(52, 211, 153, 0.38), rgba(245, 158, 11, 0.28)) border-box;
  box-shadow: var(--shadow-tight);
}

.lab-pulse-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
}

.lab-verse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}

.lab-verse {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: clamp(22px, 2.6vw, 30px);
  background:
    linear-gradient(rgba(8, 11, 18, 0.92), rgba(8, 11, 18, 0.98)) padding-box,
    linear-gradient(135deg, rgba(52, 211, 153, 0.66), rgba(56, 189, 248, 0.2), rgba(245, 158, 11, 0.54)) border-box;
  box-shadow: var(--shadow-tight);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.lab-verse:nth-child(2) {
  background:
    linear-gradient(rgba(8, 11, 18, 0.92), rgba(8, 11, 18, 0.98)) padding-box,
    linear-gradient(135deg, rgba(245, 158, 11, 0.58), rgba(239, 71, 111, 0.34), rgba(52, 211, 153, 0.54)) border-box;
}

.memorial-verse {
  grid-column: 1 / -1;
  background:
    linear-gradient(rgba(7, 10, 15, 0.94), rgba(7, 10, 15, 0.99)) padding-box,
    linear-gradient(135deg, rgba(174, 184, 200, 0.38), rgba(52, 211, 153, 0.26), rgba(245, 158, 11, 0.22)) border-box;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38), 0 0 42px rgba(174, 184, 200, 0.08);
}

.lab-verse.memorial-verse::after {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.075), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(174, 184, 200, 0.035) 28px 29px),
    radial-gradient(ellipse at 50% 0%, rgba(52, 211, 153, 0.08), transparent 58%);
  opacity: 0.5;
}

.memorial-head {
  align-items: flex-start;
}

.memorial-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(174, 184, 200, 0.2);
  border-radius: 8px;
  padding: 4px 9px;
  color: #c8d1df;
  background: rgba(174, 184, 200, 0.07);
  font-size: 0.76rem;
  font-weight: 800;
}

.memorial-verse .verse-head h3 {
  color: #f4f7fb;
}

.memorial-verse .verse-body {
  color: #e1e8f2;
}

.transformation-verse {
  grid-column: 1 / -1;
  background:
    linear-gradient(180deg, rgba(6, 8, 13, 0.96) 0%, rgba(8, 11, 18, 0.94) 45%, rgba(7, 16, 22, 0.98) 100%) padding-box,
    linear-gradient(135deg, rgba(239, 71, 111, 0.38), rgba(245, 158, 11, 0.36) 36%, rgba(52, 211, 153, 0.58), rgba(56, 189, 248, 0.36)) border-box;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42), 0 0 46px rgba(52, 211, 153, 0.08);
}

.transformation-verse::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 71, 111, 0.16), transparent 26%),
    repeating-linear-gradient(22deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 17px),
    linear-gradient(180deg, transparent 0 45%, rgba(52, 211, 153, 0.08) 56%, rgba(56, 189, 248, 0.07) 100%),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(52, 211, 153, 0.08) 30px 31px),
    repeating-linear-gradient(0deg, transparent 0 11px, rgba(56, 189, 248, 0.045) 11px 12px);
  opacity: 0.34;
}

.transformation-verse::after {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(239, 71, 111, 0.055) 0 44%, rgba(52, 211, 153, 0.07) 44% 100%),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(56, 189, 248, 0.055) 36px 37px);
  opacity: 0.62;
}

.transformation-head {
  border-bottom-color: rgba(52, 211, 153, 0.24);
}

.transformation-verse .verse-head h3 {
  max-width: 20ch;
}

.transformation-turn {
  margin-top: 4px;
  border-top: 1px solid rgba(52, 211, 153, 0.18);
  padding-top: 20px;
}

.lab-verse::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.1), transparent 34%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(52, 211, 153, 0.04) 28px 29px);
  opacity: 0.58;
}

.lab-verse:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.44);
}

.lab-verse > * {
  position: relative;
  z-index: 1;
}

.verse-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.verse-head .tag {
  margin-bottom: 0;
}

.verse-head h3 {
  max-width: 18ch;
  margin-bottom: 0;
  color: #f8fafc;
}

.verse-body {
  display: grid;
  gap: 18px;
  color: #e6edf7;
  font-size: clamp(0.95rem, 1.08vw, 1.02rem);
}

.verse-stanza {
  margin: 0;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.preserve-spaces {
  white-space: pre-wrap;
}

.feature {
  grid-template-columns: 210px minmax(0, 1fr);
}

.feature img,
.person img,
.result-card img,
.feed-card img {
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.36);
}

.feature img {
  width: 210px;
  transform: rotate(-1.4deg);
}

.stats {
  gap: 18px;
}

.stat b {
  color: #f8fafc;
  font-size: 2.55rem;
  text-shadow: 0 0 30px rgba(52, 211, 153, 0.28);
}

.cert {
  min-height: 162px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 247, 0.94)) padding-box,
    linear-gradient(135deg, rgba(52, 211, 153, 0.75), rgba(245, 158, 11, 0.52)) border-box;
}

.cert img {
  filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.22));
  transition: transform 0.22s ease;
}

.cert:hover img {
  transform: scale(1.05);
}

.art-strip {
  gap: 18px;
}

.art-strip figure {
  background:
    linear-gradient(rgba(12, 17, 23, 0.72), rgba(12, 17, 23, 0.94)) padding-box,
    linear-gradient(135deg, rgba(56, 189, 248, 0.36), rgba(245, 158, 11, 0.48)) border-box;
}

.art-strip img {
  aspect-ratio: 16 / 19;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.art-strip figure:hover img {
  transform: scale(1.035);
  filter: saturate(1.22) contrast(1.08);
}

.art-strip figcaption {
  background: rgba(5, 6, 8, 0.76);
}

.art-strip .motion-picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 19;
  overflow: hidden;
  background:
    radial-gradient(circle at center 26%, rgba(56, 189, 248, 0.22), transparent 44%),
    linear-gradient(180deg, #050608, #0a121a);
}

.art-strip .motion-picture img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  padding: clamp(12px, 2vw, 22px);
  object-fit: contain;
  object-position: center;
  filter: saturate(1.12) contrast(1.05);
}

.art-strip figure.motion-figure {
  border-color: transparent;
}

.art-strip figure.motion-figure:hover .motion-picture img {
  transform: scale(1.025);
  filter: saturate(1.18) contrast(1.08);
}

.link-list {
  gap: 14px;
}

.link-list a {
  min-height: 74px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)) padding-box,
    linear-gradient(135deg, rgba(52, 211, 153, 0.3), rgba(245, 158, 11, 0.3)) border-box;
}

.link-list a::after {
  content: ">";
  color: var(--accent);
  font-weight: 900;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.link-list a:hover::after {
  transform: translateX(4px);
}

.site-footer {
  background:
    linear-gradient(90deg, rgba(52, 211, 153, 0.08), transparent 34%, rgba(245, 158, 11, 0.08)),
    rgba(5, 6, 8, 0.78);
}

.page-hero {
  padding-top: 86px;
}

.page-hero h1 {
  max-width: 12ch;
  font-size: 4.75rem;
}

.page-visual {
  transform: rotate(1.2deg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.page-visual img {
  filter: saturate(1.08) contrast(1.04);
}

.quote-panel {
  border-left: 0;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(239, 71, 111, 0.08)) padding-box,
    linear-gradient(135deg, rgba(245, 158, 11, 0.65), rgba(239, 71, 111, 0.45)) border-box;
}

.tool-panel input,
.tool-panel select,
.tool-panel textarea {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(5, 6, 8, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tool-panel input:focus,
.tool-panel select:focus,
.tool-panel textarea:focus {
  outline: 2px solid rgba(52, 211, 153, 0.55);
  outline-offset: 2px;
}

.plain-table th {
  color: #8ff5d2;
}

@media (min-width: 901px) {
  .section-grid > div:first-child,
  .content-grid > div:first-child {
    position: sticky;
    top: 112px;
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.85rem;
  }

  h2 {
    font-size: 2.72rem;
  }

  .hero {
    gap: 40px;
  }

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

  .education-hub-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: 0;
  }

  .hero {
    min-height: 0;
    padding-top: 56px;
  }

  .hero-card {
    transform: none;
    min-height: 0;
  }

  .page-visual {
    transform: none;
  }

  h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: 4rem;
  }

  h2 {
    max-width: 100%;
    font-size: 2.46rem;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: calc(100% - 32px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .site-header {
    position: relative;
  }

  .brand {
    width: 100%;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav-links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .nav-links a,
  .button {
    font-size: 0.86rem;
    min-width: 0;
    white-space: normal;
  }

  .hero {
    padding: 42px 0 34px;
  }

  .hero,
  .section-grid,
  .page-hero,
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero > *,
  .section-grid > *,
  .page-hero > *,
  .content-grid > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero::before,
  .page-hero::before {
    display: none;
  }

  h1,
  .page-hero h1 {
    max-width: 8.6ch;
    font-size: 2.56rem;
    line-height: 0.98;
    overflow-wrap: break-word;
  }

  .page-hero h1 {
    max-width: 100%;
  }

  h2 {
    font-size: 2.08rem;
  }

  .lede {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero-card img {
    width: min(270px, 74%);
    margin-top: 28px;
  }

  .signal-list {
    padding-inline: 20px;
  }

  .section {
    padding: 58px 0;
  }

  .after-hours-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-media {
    margin: -8px -8px 16px;
  }

  .card,
  .panel,
  .tool-panel {
    padding: 22px;
  }

  .feature img {
    width: 100%;
    transform: none;
  }
}

@media (max-width: 900px) {
  .lab-copy h2 {
    max-width: 100%;
  }

  .lab-verse-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .lab-meter {
    min-height: 58px;
    gap: 6px;
    padding: 12px;
  }

  .lab-meter span {
    min-width: 5px;
  }

  .lab-verse {
    padding: 22px;
  }

  .verse-head {
    gap: 12px;
  }

  .verse-head h3 {
    max-width: 100%;
  }

  .verse-body {
    font-size: 0.94rem;
  }

  .site-footer .site-shell,
  .footer-social-joke {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .social-muted-icons {
    flex-wrap: wrap;
    gap: 6px;
  }

  .social-muted-icon {
    width: 34px;
    height: 34px;
    font-size: 0.7rem;
  }

  .nav-links a,
  .button {
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
  }

  h1,
  h2,
  h3,
  .lede,
  .muted,
  .card p,
  .panel p,
  .signal-list li,
  .link-list a,
  .verse-stanza {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 620px) {
  .nav-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* DJames Network shared chrome overrides. */
.network-strip {
  border-bottom-color: rgba(130, 160, 190, 0.16);
}

.network-strip-inner {
  display: flex;
}

.site-header .network-brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-color: var(--network-border-strong);
  background: #071015;
}

.network-switcher {
  z-index: 30;
}

.network-menu {
  z-index: 40;
}

.footer-shell {
  display: grid;
}

.site-footer .network-footer-links a span {
  display: block;
}

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

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

@media (max-width: 620px) {
  .network-strip-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
  }

  .network-switcher,
  .network-switcher summary {
    width: 100%;
  }

  .network-switcher summary {
    justify-content: space-between;
  }

  .network-menu {
    left: 0;
    right: auto;
    width: 100%;
  }

  .network-footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    max-width: min(100%, 10ch);
    font-size: clamp(2.05rem, 9vw, 2.35rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }
}

.hero {
  min-height: auto;
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: clamp(36px, 6vw, 72px);
}

.hero h1 {
  max-width: min(100%, 12ch);
  line-height: 1.04;
}

.card {
  min-height: 170px;
}

.card.after-hours-card {
  min-height: 250px;
}

.education-hub-card {
  min-height: 185px;
}

@media (max-width: 620px) {
  .hero {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 7.3vw, 2.1rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .hero .eyebrow {
    display: block;
    max-width: 28ch;
    width: 100%;
    white-space: normal;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .hero .lede,
  .hero .brand-stance {
    max-width: 32ch;
    width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-actions .button {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .field-notes-hero,
  .field-note-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-note-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-note-toc {
    position: static;
  }
}

@media (max-width: 620px) {
  .field-notes-hero h1,
  .field-note-section h2 {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 2.28rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .field-note-section {
    padding: 18px;
  }

  .field-source-card p,
  .field-notes-brief p,
  .field-note-card p,
  .field-note-meta {
    overflow-wrap: break-word;
  }

  .field-note-section pre {
    font-size: 0.83rem;
    line-height: 1.62;
  }
}
/* DJames Network UX Increment B: shared interaction language. */
:where(a, button, summary, [role="button"]):focus-visible { outline: 2px solid var(--network-focus, #71d6e8); outline-offset: 3px; }
:where(.card-link, .card, .tool-card, .project-card, .feature-card, .app-card, .button, button, input, select, textarea) { transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
:where(.card-link, .tool-card, .project-card, .feature-card, .app-card)[href]:hover { transform: translateY(-2px); border-color: var(--network-border-strong, rgba(113,214,232,.48)); box-shadow: 0 10px 26px rgba(0,0,0,.2); }
:where(.button, button, .primaryButton, .secondaryButton):not(:disabled):hover { transform: translateY(-1px); }
:where(.button, button, .primaryButton, .secondaryButton):not(:disabled):active { transform: translateY(0); }
:where(button, input, select, textarea):disabled { cursor: not-allowed; opacity: .58; }
@media (prefers-reduced-motion: reduce) { :where(a, button, summary, [role="button"], .card-link, .card, .tool-card, .project-card, .feature-card, .app-card, .button, input, select, textarea) { transition: none !important; } :where(.card-link, .tool-card, .project-card, .feature-card, .app-card)[href]:hover, :where(.button, button, .primaryButton, .secondaryButton):not(:disabled):hover { transform: none; } }
