:root {
  --page: #f3f5ef;
  --ink: #162119;
  --ink-strong: #09110d;
  --muted: #657367;
  --line: rgba(22, 33, 25, 0.14);
  --paper: #fffefa;
  --panel: rgba(255, 254, 250, 0.78);
  --moss: #244c38;
  --deep: #0d1712;
  --leaf: #7d955f;
  --clay: #b45f42;
  --gold: #d8a43b;
  --sky: #4c8298;
  --shadow: 0 28px 80px rgba(13, 23, 18, 0.16);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(76, 130, 152, 0.15), transparent 32%),
    linear-gradient(215deg, rgba(180, 95, 66, 0.13), transparent 34%),
    var(--page);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(22, 33, 25, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 33, 25, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
  pointer-events: none;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(125, 149, 95, 0.32), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(216, 164, 59, 0.2), transparent 23rem),
    radial-gradient(circle at 72% 76%, rgba(76, 130, 152, 0.15), transparent 26rem);
  filter: blur(8px);
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 88px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(36, 76, 56, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 252, 0.94), rgba(219, 228, 214, 0.72));
  color: var(--moss);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 650;
  box-shadow: 0 10px 30px rgba(13, 23, 18, 0.08);
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-text strong {
  color: var(--ink-strong);
  font-size: 0.98rem;
  font-weight: 800;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.79rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.66);
  backdrop-filter: blur(18px);
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(125, 149, 95, 0.15);
  outline: none;
}

.page-home .site-header,
.page-workbench .site-header {
  color: #fffef8;
}

.page-home .brand-mark,
.page-workbench .brand-mark {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)),
    rgba(8, 18, 18, 0.5);
  color: #fffef8;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.page-home .brand-text strong,
.page-workbench .brand-text strong {
  color: #fffef8;
}

.page-home .brand-text span,
.page-workbench .brand-text span {
  color: rgba(249, 251, 246, 0.7);
}

.page-home .site-nav,
.page-workbench .site-nav {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(8, 18, 18, 0.36);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.18);
}

.page-home .site-nav a,
.page-workbench .site-nav a {
  color: rgba(249, 251, 246, 0.75);
}

.page-home .site-nav a:hover,
.page-home .site-nav a:focus-visible,
.page-home .site-nav a[aria-current="page"],
.page-workbench .site-nav a:hover,
.page-workbench .site-nav a:focus-visible,
.page-workbench .site-nav a[aria-current="page"] {
  color: #fffef8;
  background: rgba(255, 255, 255, 0.12);
}

h1,
h2,
h3,
.verse-text,
.static-scripture,
.metric-number {
  margin: 0;
  color: var(--ink-strong);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
}

.hero-grid,
.workbench-hero,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 88px);
  padding: 26px 0 64px;
}

.hero-copy {
  display: grid;
  gap: 24px;
  align-content: center;
}

h1 {
  max-width: 11ch;
  font-size: 4.55rem;
  line-height: 0.98;
}

h2 {
  font-size: 2.65rem;
  line-height: 1.06;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.16;
}

.lead,
.section-heading p,
.card p,
.project-copy,
.contact-copy,
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(36, 76, 56, 0.22);
  border-radius: 999px;
  background: var(--moss);
  color: #fffdf6;
  box-shadow: 0 16px 34px rgba(36, 76, 56, 0.2);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button.secondary {
  background: rgba(255, 255, 252, 0.74);
  color: var(--moss);
  box-shadow: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(36, 76, 56, 0.4);
  outline: none;
}

.text-link {
  color: var(--moss);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(36, 76, 56, 0.28);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--clay);
  border-color: rgba(180, 95, 66, 0.44);
  outline: none;
}

.identity-rail,
.capability-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 42rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--line);
}

.identity-rail div,
.capability-rail div {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 255, 252, 0.64);
}

.identity-rail span,
.capability-rail span,
.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.identity-rail strong,
.capability-rail strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.34;
}

.verse-card,
.hero-figure,
.contact-panel,
.open-project,
.tool-strip,
.simulator {
  border: 1px solid rgba(36, 76, 56, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 252, 0.96), rgba(255, 255, 252, 0.76)),
    linear-gradient(135deg, rgba(125, 149, 95, 0.14), rgba(76, 130, 152, 0.1));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.verse-card {
  position: relative;
  padding: 32px;
}

.verse-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 34px;
}

.overline {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.verse-date {
  color: var(--muted);
  font-size: 0.94rem;
}

.verse-count {
  white-space: nowrap;
  padding: 8px 11px;
  border: 1px solid rgba(76, 130, 152, 0.22);
  border-radius: 999px;
  color: var(--sky);
  background: rgba(76, 130, 152, 0.09);
  font-size: 0.78rem;
  font-weight: 800;
}

.verse-block {
  margin: 0;
}

.verse-text {
  margin: 0 0 22px;
  font-size: 2.28rem;
  font-weight: 500;
  line-height: 1.2;
}

.verse-ref {
  color: var(--moss);
  font-weight: 800;
}

.verse-focus {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 18px 18px 0;
  background: rgba(216, 164, 59, 0.1);
  color: #4c563c;
  line-height: 1.72;
}

.verse-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.copy-status {
  min-height: 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

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

.section-heading {
  display: grid;
  gap: 15px;
  max-width: 49rem;
  margin-bottom: 36px;
}

.figure-grid,
.projects-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: 44px;
}

.study-figure {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(36, 76, 56, 0.16);
  background: linear-gradient(135deg, #fefdf7, #eaf0e4);
  box-shadow: 0 22px 62px rgba(13, 23, 18, 0.1);
}

.study-figure svg,
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-figure img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.image-note {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: var(--deep);
  color: rgba(255, 253, 246, 0.78);
  font-size: 0.84rem;
  line-height: 1.45;
}

.image-note strong {
  color: #fffdf6;
}

.calling-list,
.project-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.calling-item,
.project-row {
  display: grid;
  grid-template-columns: 74px minmax(160px, 0.36fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.project-row {
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
}

.calling-number {
  color: var(--clay);
  font-size: 0.86rem;
  font-weight: 800;
}

.calling-item p,
.project-row span {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

.scripture-band {
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: 28px;
  background: var(--deep);
  color: #fffdf6;
  box-shadow: 0 24px 64px rgba(13, 23, 18, 0.22);
}

.static-scripture {
  color: inherit;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.35;
}

.static-ref {
  color: rgba(255, 253, 246, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.open-project,
.simulator {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 34px;
  align-items: stretch;
  padding: 30px;
}

.project-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.project-meta span,
.tag-list span {
  padding: 8px 10px;
  border: 1px solid rgba(36, 76, 56, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.64);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.stack-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  align-items: stretch;
}

.card,
.stack-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 252, 0.68);
  box-shadow: 0 16px 40px rgba(13, 23, 18, 0.06);
}

.stack-card {
  min-height: auto;
}

.compact-section {
  padding: 56px 0;
}

.card span,
.stack-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card h3,
.stack-card h3 {
  margin-bottom: 12px;
}

.stack-card {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 22px;
}

.stack-card h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.stack-card p {
  font-size: 0.92rem;
  line-height: 1.58;
}

.tool-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 42px;
  align-items: start;
  padding: 32px;
  background: var(--deep);
  color: #fffdf6;
}

.tool-strip h2,
.tool-strip h3 {
  color: inherit;
}

.tool-strip p {
  color: rgba(255, 253, 246, 0.72);
}

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

.metric {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 252, 0.68);
}

.metric-number {
  display: block;
  margin-bottom: 8px;
  font-size: 2.1rem;
  color: var(--moss);
}

.metric span:last-child {
  color: var(--muted);
  font-weight: 800;
}

.control-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.control-field label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(36, 76, 56, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 252, 0.78);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 13px 14px;
}

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

input:focus,
textarea:focus,
select:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 4px rgba(36, 76, 56, 0.12);
  outline: none;
}

.contact-panel {
  padding: 28px;
}

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

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

.form-status {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
}

.form-status.success {
  background: rgba(125, 149, 95, 0.15);
  color: var(--moss);
}

.form-status.error {
  background: rgba(180, 95, 66, 0.14);
  color: #7f351f;
}

.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;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.7;
}

.site-footer p {
  max-width: 48rem;
  margin: 0;
}

.site-footer a {
  color: var(--moss);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(36, 76, 56, 0.28);
}

/* Homepage alignment */
.home-page {
  position: relative;
  isolation: isolate;
}

.home-page::before {
  content: "";
  position: absolute;
  inset: -120px calc(50% - 50vw) auto;
  height: 720px;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 18%, rgba(76, 130, 152, 0.28), transparent 28rem),
    radial-gradient(circle at 16% 22%, rgba(216, 164, 59, 0.2), transparent 24rem),
    linear-gradient(120deg, rgba(8, 18, 18, 0.97), rgba(16, 35, 32, 0.92) 45%, rgba(32, 39, 29, 0.86));
  box-shadow: inset 0 -120px 150px rgba(243, 245, 239, 0.98);
}

.home-page::after {
  content: "";
  position: absolute;
  inset: -90px calc(50% - 50vw) auto;
  height: 620px;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 42%, rgba(216, 164, 59, 0.12) 42.2% 42.5%, transparent 42.8%);
  background-size: 54px 54px, 54px 54px, 100% 100%;
  mask-image: linear-gradient(180deg, black, transparent 84%);
  opacity: 0.68;
}

.home-page .hero-grid {
  color: #fffef8;
}

.home-page h1 {
  color: #fffef8;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

.home-page .lead {
  color: rgba(249, 251, 246, 0.78);
}

.home-page .button {
  border-color: rgba(216, 164, 59, 0.42);
  background: linear-gradient(135deg, #e7b64a, #bc6f42);
  color: #130f0a;
  box-shadow: 0 20px 54px rgba(216, 164, 59, 0.22);
}

.home-page .button.secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fffef8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.home-page .identity-rail {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.home-page .identity-rail div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(8, 18, 18, 0.45);
}

.home-page .identity-rail span {
  color: #d8a43b;
}

.home-page .identity-rail strong {
  color: rgba(255, 254, 248, 0.9);
}

.home-page .verse-card {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(160deg, rgba(255, 255, 252, 0.97), rgba(255, 255, 252, 0.82)),
    radial-gradient(circle at 90% 0%, rgba(216, 164, 59, 0.2), transparent 18rem);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.home-page .scripture-band {
  background:
    radial-gradient(circle at 90% 15%, rgba(76, 130, 152, 0.24), transparent 24rem),
    linear-gradient(135deg, #07100d, #0e1f21 58%, #131812);
}

@media (max-width: 980px) {
  .hero-grid,
  .workbench-hero,
  .contact-grid,
  .figure-grid,
  .projects-layout,
  .open-project,
  .simulator,
  .tool-strip {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .workbench-hero,
  .contact-grid {
    min-height: auto;
    padding-top: 32px;
  }

  h1 {
    font-size: 3.55rem;
  }

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

}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .site-nav a {
    flex: 1 0 auto;
    text-align: center;
  }

  h1 {
    font-size: 2.74rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .identity-rail,
  .capability-rail,
  .stack-grid,
  .metric-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .calling-item,
  .project-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .verse-card,
  .open-project,
  .simulator,
  .tool-strip,
  .contact-panel {
    padding: 23px;
    border-radius: 24px;
  }

  .verse-head {
    flex-direction: column;
    margin-bottom: 26px;
  }

  .verse-text {
    font-size: 1.72rem;
  }

  .section {
    padding: 48px 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* Premium workbench treatment */
.workbench-page {
  position: relative;
  isolation: isolate;
}

.workbench-page::before {
  content: "";
  position: absolute;
  inset: -120px calc(50% - 50vw) auto;
  height: 980px;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 18%, rgba(71, 151, 193, 0.36), transparent 30rem),
    radial-gradient(circle at 18% 24%, rgba(216, 164, 59, 0.26), transparent 24rem),
    linear-gradient(120deg, rgba(7, 15, 20, 0.98), rgba(11, 28, 28, 0.96) 42%, rgba(19, 25, 20, 0.9));
  box-shadow: inset 0 -120px 150px rgba(243, 245, 239, 0.98);
}

.workbench-page::after {
  content: "";
  position: absolute;
  inset: -90px calc(50% - 50vw) auto;
  height: 780px;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 46%, rgba(216, 164, 59, 0.16) 46.2% 46.55%, transparent 46.8%),
    linear-gradient(60deg, transparent 0 58%, rgba(76, 130, 152, 0.18) 58.2% 58.55%, transparent 58.8%);
  background-size: 54px 54px, 54px 54px, 100% 100%, 100% 100%;
  mask-image: linear-gradient(180deg, black, transparent 86%);
  opacity: 0.75;
}

.workbench-page .workbench-hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: 54px;
  min-height: calc(100vh - 88px);
  color: #f9fbf6;
}

.workbench-page .hero-copy {
  gap: 28px;
}

.workbench-page h1 {
  max-width: 10.8ch;
  color: #fffef8;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.workbench-page .lead {
  max-width: 42rem;
  color: rgba(249, 251, 246, 0.78);
  font-size: 1.06rem;
}

.workbench-page .button {
  border-color: rgba(216, 164, 59, 0.46);
  background: linear-gradient(135deg, #e7b64a, #bc6f42);
  color: #130f0a;
  box-shadow: 0 20px 54px rgba(216, 164, 59, 0.24);
}

.workbench-page .button.secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fffef8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.workbench-page .capability-rail {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.workbench-page .capability-rail div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(8, 18, 18, 0.45);
}

.workbench-page .capability-rail span {
  color: #d8a43b;
}

.workbench-page .capability-rail strong {
  color: rgba(255, 254, 248, 0.9);
}

.hero-visual {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 560px;
}

.workbench-page .hero-figure {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.workbench-page .hero-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(0deg, rgba(6, 13, 13, 0.4), transparent 42%);
  mix-blend-mode: screen;
}

.workbench-page .hero-figure img {
  min-height: 420px;
  filter: saturate(1.06) contrast(1.04);
}

.system-readout {
  position: absolute;
  right: -12px;
  bottom: -22px;
  z-index: 3;
  display: grid;
  width: min(74%, 420px);
  border: 1px solid rgba(216, 164, 59, 0.32);
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 18, 18, 0.92), rgba(12, 31, 34, 0.84)),
    rgba(9, 17, 13, 0.86);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
}

.readout-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(249, 251, 246, 0.78);
  font-size: 0.82rem;
}

.readout-line:last-child {
  border-bottom: 0;
}

.readout-line span {
  flex: 0 0 auto;
  color: #81c5d8;
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
}

.readout-line strong {
  min-width: 0;
  color: #fffef8;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.workbench-page .image-note {
  position: relative;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(9, 17, 13, 0.96), rgba(16, 32, 34, 0.94));
}

.workbench-page .section {
  position: relative;
  border-top-color: rgba(22, 33, 25, 0.09);
}

.workbench-page .section-heading {
  max-width: 58rem;
}

.workbench-page .section-heading h2 {
  color: #0b1410;
}

.workbench-page .section-heading p {
  max-width: 52rem;
}

.foundation-section {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: max(40px, calc((100vw - 1180px) / 2));
  padding-left: max(40px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 164, 59, 0.18), transparent 26rem),
    radial-gradient(circle at 86% 25%, rgba(76, 130, 152, 0.24), transparent 28rem),
    linear-gradient(135deg, #08120f, #0d1b1c 58%, #121713);
  color: #fffef8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.foundation-section .section-heading h2 {
  color: #fffef8;
}

.foundation-section .section-heading p {
  color: rgba(249, 251, 246, 0.68);
}

.foundation-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: start;
}

.public-proof-list {
  display: grid;
  gap: 16px;
}

.proof-panel,
.foundation-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 5%, rgba(76, 130, 152, 0.24), transparent 20rem),
    radial-gradient(circle at 12% 0%, rgba(216, 164, 59, 0.2), transparent 18rem),
    linear-gradient(145deg, rgba(10, 22, 23, 0.98), rgba(17, 24, 19, 0.94));
  box-shadow: 0 24px 72px rgba(13, 23, 18, 0.18);
}

.proof-panel {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 30px;
  color: #fffef8;
  background:
    radial-gradient(circle at 88% 8%, rgba(216, 164, 59, 0.26), transparent 19rem),
    radial-gradient(circle at 16% 0%, rgba(129, 197, 216, 0.2), transparent 18rem),
    linear-gradient(155deg, rgba(18, 32, 34, 0.98), rgba(10, 20, 17, 0.96));
}

.proof-panel::before,
.foundation-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 100% 28px;
  opacity: 0.72;
}

.proof-panel > *,
.foundation-item > * {
  position: relative;
  z-index: 1;
}

.proof-panel > span,
.foundation-item span {
  color: #d8a43b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-panel h3,
.foundation-item h3 {
  color: #fffef8;
}

.proof-panel p,
.foundation-item p {
  margin: 0;
  color: rgba(249, 251, 246, 0.72);
  line-height: 1.65;
}

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

.proof-grid div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.proof-grid strong,
.proof-grid small {
  display: block;
}

.proof-grid strong {
  margin-bottom: 8px;
  color: #fffef8;
  font-size: 0.82rem;
}

.proof-grid small {
  color: rgba(249, 251, 246, 0.66);
  font-size: 0.78rem;
  line-height: 1.45;
}

.foundation-list {
  display: grid;
  gap: 12px;
}

.foundation-item {
  display: grid;
  grid-template-columns: 58px minmax(175px, 0.42fr) minmax(0, 1fr) minmax(185px, 0.48fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    linear-gradient(145deg, rgba(10, 22, 23, 0.96), rgba(18, 25, 20, 0.92));
  box-shadow: none;
}

.foundation-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(216, 164, 59, 0.3);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(216, 164, 59, 0.2), rgba(129, 197, 216, 0.08));
  color: #f0be54;
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.foundation-item h3 {
  margin-top: 8px;
  font-size: 1.2rem;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.mini-tags span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(249, 251, 246, 0.76);
  font-size: 0.74rem;
  font-weight: 900;
}

.workbench-page .text-link {
  color: #f0be54;
  border-color: rgba(240, 190, 84, 0.36);
}

.systems-section {
  margin: 10px calc(50% - 50vw) 0;
  padding-right: max(40px, calc((100vw - 1180px) / 2));
  padding-left: max(40px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 80% 12%, rgba(76, 130, 152, 0.28), transparent 27rem),
    radial-gradient(circle at 10% 18%, rgba(216, 164, 59, 0.18), transparent 22rem),
    linear-gradient(135deg, #07100d, #0e1f21 56%, #131812);
  color: #fffef8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.workbench-page .systems-section .section-heading h2 {
  color: #fffef8;
}

.workbench-page .systems-section .section-heading p {
  color: rgba(249, 251, 246, 0.72);
}

.systems-console {
  display: grid;
  grid-template-columns: minmax(210px, 0.32fr) minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(3, 10, 10, 0.38);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.28);
}

.system-tabs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.system-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(249, 251, 246, 0.74);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.system-tab span {
  color: #81c5d8;
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 0.78rem;
}

.system-tab.is-active {
  border-color: rgba(216, 164, 59, 0.46);
  background:
    linear-gradient(135deg, rgba(216, 164, 59, 0.2), rgba(76, 130, 152, 0.08)),
    rgba(255, 255, 255, 0.08);
  color: #fffef8;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.system-display {
  display: grid;
  grid-template-columns: minmax(160px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
}

.system-map,
.system-panel {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04));
}

.system-map {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-height: 390px;
  padding: 22px;
}

.map-node {
  width: min(100%, 142px);
  padding: 14px 12px;
  border: 1px solid rgba(216, 164, 59, 0.32);
  border-radius: 18px;
  background: rgba(216, 164, 59, 0.12);
  color: #fffef8;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.node-architecture {
  border-color: rgba(129, 197, 216, 0.34);
  background: rgba(129, 197, 216, 0.1);
}

.map-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, rgba(216, 164, 59, 0.65), rgba(129, 197, 216, 0.65));
}

.system-panel {
  min-width: 0;
  padding: 26px;
}

.system-signal {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(216, 164, 59, 0.34);
  border-radius: 999px;
  color: #f0be54;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.system-panel h3 {
  color: #fffef8;
  font-size: 2.1rem;
}

.system-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.system-detail-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.system-detail-grid span {
  display: block;
  margin-bottom: 8px;
  color: #81c5d8;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.system-detail-grid p {
  margin: 0;
  color: rgba(249, 251, 246, 0.72);
  font-size: 0.92rem;
  line-height: 1.58;
}

.system-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.system-tools span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(249, 251, 246, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
}

.workbench-page .tool-strip {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 5%, rgba(76, 130, 152, 0.32), transparent 28rem),
    radial-gradient(circle at 10% 12%, rgba(216, 164, 59, 0.2), transparent 22rem),
    linear-gradient(135deg, #07100d, #0d1b1c 52%, #121611);
  box-shadow: 0 34px 110px rgba(13, 23, 18, 0.34);
}

.workbench-page .tool-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
  pointer-events: none;
}

.workbench-page .tool-strip > * {
  position: relative;
  z-index: 1;
}

.workbench-page .stack-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.workbench-page .stack-card {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.055));
  box-shadow: none;
}

.workbench-page .stack-card span {
  margin-bottom: 12px;
  color: #81c5d8;
}

.workbench-page .stack-card h3 {
  color: #fffef8;
  font-size: 1.08rem;
}

.workbench-page .stack-card p {
  color: rgba(249, 251, 246, 0.68);
}

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

  .foundation-layout,
  .foundation-item {
    grid-template-columns: 1fr;
  }

  .mini-tags {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .workbench-page .workbench-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .workbench-page .hero-figure {
    transform: none;
  }

  .system-readout {
    right: 18px;
    bottom: 18px;
  }

  .systems-console,
  .system-display {
    grid-template-columns: 1fr;
  }

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

  .system-map {
    min-height: auto;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 10px;
  }

  .map-line {
    width: 36px;
    height: 2px;
  }
}

@media (max-width: 720px) {
  .workbench-page .workbench-hero {
    gap: 34px;
  }

  .workbench-page .stack-grid {
    grid-template-columns: 1fr;
  }

  .systems-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .systems-console,
  .system-panel {
    padding: 14px;
    border-radius: 24px;
  }

  .system-tabs,
  .system-detail-grid {
    grid-template-columns: 1fr;
  }

  .system-map {
    display: none;
  }

  .system-panel h3 {
    font-size: 1.52rem;
  }

  .proof-panel,
  .foundation-item {
    border-radius: 22px;
    padding: 18px;
  }

  .system-readout {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -8px;
  }
}
