:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-strong: #111827;
  --text: #111827;
  --muted: #5b6472;
  --line: #d9dee7;
  --accent: #0f766e;
  --accent-strong: #0b5d57;
  --gold: #b7791f;
  --blue: #2563eb;
  --violet: #6d5bd0;
  --coral: #c75146;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.1);
  --focus-ring: 0 0 0 4px rgba(15, 118, 110, 0.18);
  --radius: 8px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 250, 0.92);
  border-bottom: 1px solid rgba(217, 222, 231, 0.8);
  backdrop-filter: blur(14px);
}

.site-header::after {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: -1px;
  width: min(260px, 28vw);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.72), transparent);
}

.brand,
.nav,
.hero-actions,
.filters,
.project-meta,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #f8fafc;
  background:
    radial-gradient(circle at 74% 22%, rgba(94, 234, 212, 0.28), transparent 34%),
    linear-gradient(145deg, #111827, #07111f 66%, #0d2f32);
  border: 1px solid rgba(203, 213, 225, 0.18);
  border-radius: 9px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(17, 24, 39, 0.16);
}

.brand-logo {
  width: 27px;
  height: 27px;
  overflow: visible;
}

.brand-logo-frame {
  fill: rgba(15, 118, 110, 0.12);
  stroke: rgba(94, 234, 212, 0.36);
  stroke-width: 1.15;
}

.brand-logo-primary,
.brand-logo-secondary {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.brand-logo-secondary {
  stroke: #5eead4;
}

.brand-logo-dot {
  fill: #5eead4;
  filter: drop-shadow(0 0 5px rgba(94, 234, 212, 0.5));
}

.nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a {
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: min(760px, calc(100vh - 72px));
  padding: clamp(44px, 6vw, 68px) clamp(18px, 4vw, 56px) clamp(34px, 5vw, 52px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 9% 4% 8% 47%;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(15, 118, 110, 0.18) 46% 46.2%, transparent 46.2%),
    linear-gradient(0deg, transparent 0 38%, rgba(37, 99, 235, 0.16) 38% 38.2%, transparent 38.2%);
  pointer-events: none;
}

.hero-copy {
  max-width: 780px;
}

.hero-kicker,
.section-label {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-kicker::before,
.hero-kicker::after,
.section-label::before,
.section-label::after {
  width: 10px;
  height: 14px;
  content: "";
}

.hero-kicker::before,
.section-label::before {
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.hero-kicker::after,
.section-label::after {
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.6vw, 6.45rem);
  line-height: 0.92;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero p,
.section-heading p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.hero-signal {
  margin-top: 24px;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 750;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 800;
}

.button-primary {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.button-primary:hover {
  color: #ffffff;
  background: var(--accent-strong);
}

.button-secondary {
  background: var(--surface);
}

.mobile-jump {
  display: none;
}

.brand:focus-visible,
.nav a:focus-visible,
.button:focus-visible,
.filter:focus-visible,
.project-link:focus-visible,
.website-entry:focus-visible,
.standards-doc-link:focus-visible,
.back-link:focus-visible,
.case-rail-nav a:focus-visible,
.mobile-jump a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.78);
  outline-offset: 4px;
  box-shadow: var(--focus-ring);
}

.brand:focus-visible,
.nav a:focus-visible,
.project-link:focus-visible,
.standards-doc-link:focus-visible,
.back-link:focus-visible,
.case-rail-nav a:focus-visible,
.site-footer a:focus-visible {
  border-radius: 6px;
}

.button:focus-visible,
.filter:focus-visible,
.website-entry:focus-visible,
.mobile-jump a:focus-visible {
  border-color: rgba(15, 118, 110, 0.76);
}

.hero-map {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 420px;
}

.hero-map::before {
  position: absolute;
  inset: 52px 24px auto auto;
  width: min(260px, 68%);
  height: 1px;
  content: "";
  background: rgba(15, 118, 110, 0.36);
}

.identity-plate {
  position: relative;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 238px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 248, 247, 0.72)),
    var(--surface);
  border: 1px solid rgba(145, 158, 179, 0.36);
  border-radius: 8px;
  clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 52px, 100% 100%, 52px 100%, 0 calc(100% - 52px));
  box-shadow: var(--shadow);
}

.identity-plate::before {
  position: absolute;
  inset: 28px 22px auto auto;
  width: 88px;
  height: 88px;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(15, 118, 110, 0.24) 48% 49%, transparent 49%),
    linear-gradient(0deg, transparent 0 48%, rgba(37, 99, 235, 0.2) 48% 49%, transparent 49%);
  opacity: 0.65;
}

.identity-plate::after {
  position: absolute;
  top: 18px;
  right: 26px;
  color: rgba(91, 100, 114, 0.7);
  content: "ID.PLATE  v1.0";
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
}

.identity-photo-frame {
  position: relative;
  width: 148px;
  height: 180px;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 32%, rgba(94, 234, 212, 0.18), transparent 32%),
    linear-gradient(145deg, #111827, #07111f 68%, #0d2f32);
  border: 1px solid rgba(145, 158, 179, 0.36);
  border-radius: 8px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  box-shadow:
    0 0 0 12px rgba(238, 242, 247, 0.88),
    0 0 0 13px rgba(145, 158, 179, 0.3);
}

.identity-photo-frame::before,
.identity-photo-frame::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.identity-photo-frame::before {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.04), transparent 36%, rgba(17, 24, 39, 0.32)),
    linear-gradient(90deg, rgba(15, 118, 110, 0.18), transparent 32%);
}

.identity-photo-frame::after {
  top: 50%;
  right: -20px;
  left: -20px;
  z-index: 2;
  height: 1px;
  background: rgba(15, 118, 110, 0.42);
  transform: translateY(-50%);
}

.identity-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  transform: scale(1.18);
  transform-origin: 50% 28%;
}

.identity-plate span,
.profile-facts dt,
.standard-index {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.identity-plate strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1;
}

.identity-plate small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(145, 158, 179, 0.34);
  border-left: 1px solid rgba(145, 158, 179, 0.34);
}

.profile-facts div {
  padding: 18px;
  background: var(--surface);
  border-right: 1px solid rgba(145, 158, 179, 0.34);
  border-bottom: 1px solid rgba(145, 158, 179, 0.34);
}

.profile-facts dt {
  margin-bottom: 4px;
}

.profile-facts dd {
  margin: 4px 0 0;
  font-weight: 750;
}

.section {
  scroll-margin-top: 78px;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

#projects {
  position: relative;
  overflow: hidden;
}

#projects::before,
.section-websites::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.section-intel {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.section-intel::before,
.standards::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(rgba(17, 24, 39, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.026) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.section-intel > *,
.standards > * {
  position: relative;
  z-index: 1;
}

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

.section-heading .section-label {
  margin-bottom: 12px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.intel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(145px, 0.28fr) minmax(280px, 0.82fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.intel-panel {
  position: relative;
  display: grid;
  gap: 24px;
  align-content: start;
  min-height: 340px;
  padding: clamp(22px, 3vw, 36px);
  overflow: hidden;
  background:
    radial-gradient(520px circle at 8% 0%, rgba(15, 118, 110, 0.12), transparent 46%),
    var(--surface);
  border: 1px solid rgba(145, 158, 179, 0.36);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 46px, 100% 100%, 0 100%);
}

.intel-panel-main {
  grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
}

.intel-panel-main .proof-rail,
.intel-panel-main .project-link {
  grid-column: 2;
}

.intel-panel-private {
  color: #ffffff;
  background:
    radial-gradient(480px circle at 100% 0%, rgba(94, 234, 212, 0.14), transparent 48%),
    linear-gradient(145deg, #111827, #07111f 70%, #0d2f32);
  border-color: rgba(203, 213, 225, 0.2);
  clip-path: polygon(34px 0, 100% 0, 100% calc(100% - 52px), calc(100% - 52px) 100%, 0 100%, 0 34px);
}

.intel-panel p {
  color: var(--muted);
}

.intel-panel-private p {
  color: #d5dfeb;
}

.intel-panel-private .project-index {
  color: #dbeafe;
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(203, 213, 225, 0.22);
}

.intel-panel a,
.site-footer a {
  color: var(--accent);
  font-weight: 800;
}

.intel-panel-private a {
  color: #5eead4;
}

.intel-panel-mark {
  display: grid;
  align-content: center;
  min-height: 100%;
  padding-right: 18px;
  border-right: 1px solid rgba(145, 158, 179, 0.28);
}

.intel-wordmark {
  display: block;
  color: #0071c5;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 0.9;
}

.intel-wordmark-note {
  display: block;
  margin-top: 14px;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.intel-pipeline {
  position: relative;
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 340px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 248, 247, 0.72)),
    var(--surface);
  border: 1px solid rgba(145, 158, 179, 0.36);
  border-radius: 8px;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.06);
}

.intel-pipeline::before,
.intel-pipeline::after {
  position: absolute;
  top: 50%;
  width: clamp(16px, 2vw, 28px);
  height: 1px;
  content: "";
  background: rgba(15, 118, 110, 0.42);
}

.intel-pipeline::before {
  right: 100%;
}

.intel-pipeline::after {
  left: 100%;
}

.intel-pipeline span,
.intel-pipeline strong {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.intel-pipeline ol {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  color: #374151;
  font-size: 0.82rem;
  font-weight: 760;
  list-style: none;
}

.intel-pipeline li {
  position: relative;
  padding-left: 18px;
}

.intel-pipeline li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.proof-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-rail span {
  padding: 7px 9px;
  color: #243142;
  background: #eef2f7;
  border: 1px solid rgba(217, 222, 231, 0.9);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 800;
}

.intel-panel-private .proof-rail span {
  color: #dbeafe;
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(203, 213, 225, 0.22);
}

.filters {
  position: relative;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.filter {
  min-height: 44px;
  padding: 0 16px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.filter.active,
.filter:hover {
  color: #ffffff;
  background: var(--surface-strong);
  border-color: var(--surface-strong);
}

.filter:active {
  transform: translateY(1px);
}

.project-atlas {
  position: relative;
  display: grid;
  grid-auto-rows: minmax(190px, auto);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  isolation: isolate;
}

.project-atlas::before {
  position: absolute;
  inset: 8% 6% 10% 4%;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(15, 118, 110, 0.34) 18% 18.12%, transparent 18.12% 52%, rgba(37, 99, 235, 0.22) 52% 52.12%, transparent 52.12%),
    linear-gradient(0deg, transparent 0 38%, rgba(17, 24, 39, 0.16) 38% 38.12%, transparent 38.12% 72%, rgba(15, 118, 110, 0.24) 72% 72.12%, transparent 72.12%);
  opacity: 0.6;
  pointer-events: none;
}

.project-node {
  --node-bg: rgba(255, 255, 255, 0.92);
  --node-fg: var(--text);
  --node-muted: #4b5563;
  --node-border: rgba(145, 158, 179, 0.36);
  --node-shadow: 0 22px 55px rgba(17, 24, 39, 0.09);
  --shape-radius: 8px;
  --shape-cut: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(18px, 2.4vw, 28px);
  min-height: 230px;
  padding: clamp(20px, 2.6vw, 34px);
  overflow: hidden;
  color: var(--node-fg);
  background:
    radial-gradient(
      520px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
      rgba(15, 118, 110, 0.13),
      transparent 46%
    ),
    var(--node-bg);
  border: 1px solid var(--node-border);
  border-radius: var(--shape-radius);
  clip-path: var(--shape-cut);
  box-shadow: var(--node-shadow);
  opacity: 0;
  transform: translateY(18px) rotate(-0.45deg);
  transition:
    opacity 280ms ease,
    transform 280ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.project-node::before {
  position: absolute;
  inset: 10px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: inherit;
  clip-path: var(--shape-cut);
  pointer-events: none;
}

.project-node::after {
  position: absolute;
  right: clamp(14px, 2vw, 24px);
  bottom: 12px;
  color: rgba(17, 24, 39, 0.12);
  content: attr(data-tags);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0;
  pointer-events: none;
}

.project-node.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.project-node.hidden {
  display: none;
}

.project-node:hover,
.project-node:focus-within {
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.15);
  transform: translateY(-5px) rotate(0);
}

.node-openvino {
  --shape-cut: polygon(0 0, calc(100% - 58px) 0, 100% 58px, 100% 100%, 48px 100%, 0 calc(100% - 48px));
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
  min-height: 462px;
}

.node-fixture {
  --shape-cut: polygon(34px 0, 100% 0, 100% calc(100% - 54px), calc(100% - 48px) 100%, 0 100%, 0 34px);
  grid-column: 6 / span 4;
  grid-row: 1 / span 2;
  min-height: 462px;
}

.node-markora {
  --shape-radius: 96px 8px 8px 96px;
  grid-column: 10 / span 3;
  grid-row: 1;
  min-height: 210px;
  padding-left: clamp(28px, 3vw, 40px);
}

.node-exhale {
  --shape-cut: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
  grid-column: 10 / span 3;
  grid-row: 2 / span 2;
  min-height: 328px;
}

.node-citysafe {
  --shape-cut: polygon(28px 0, 100% 0, 100% calc(100% - 42px), calc(100% - 42px) 100%, 0 100%, 0 28px);
  grid-column: 1 / span 9;
  grid-row: 3;
  min-height: 246px;
}

.project-node-private {
  --node-bg: linear-gradient(145deg, #111827, #07111f 68%, #0d2f32);
  --node-fg: #ffffff;
  --node-muted: #d5dfeb;
  --node-border: rgba(203, 213, 225, 0.2);
  --node-shadow: 0 26px 70px rgba(7, 17, 31, 0.34);
}

.project-node-private::after {
  color: rgba(226, 232, 240, 0.16);
}

.project-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: clamp(28px, 4vw, 56px);
  color: #667085;
  background: rgba(238, 242, 247, 0.72);
  border: 1px solid rgba(217, 222, 231, 0.92);
  border-radius: 50%;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  font-weight: 850;
}

.node-fixture .project-index,
.node-exhale .project-index {
  color: #dbeafe;
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(203, 213, 225, 0.22);
}

.node-markora .project-index {
  margin-bottom: 26px;
}

.project-main {
  min-width: 0;
}

.project-node .project-meta {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.project-node h3 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.2vw, 2.25rem);
  letter-spacing: 0;
}

.node-markora h3 {
  font-size: clamp(1.22rem, 1.65vw, 1.58rem);
}

.project-node p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--node-muted);
  font-size: clamp(0.97rem, 1.08vw, 1.06rem);
}

.project-node-private p {
  color: var(--node-muted);
}

.project-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.project-evidence span {
  padding: 7px 9px;
  color: #374151;
  background: rgba(238, 242, 247, 0.78);
  border: 1px solid rgba(217, 222, 231, 0.9);
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 760;
}

.project-node-private .project-meta span,
.project-node-private .project-evidence span {
  color: #dbeafe;
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(203, 213, 225, 0.22);
}

.project-link {
  width: fit-content;
  margin-top: auto;
  color: var(--accent);
  font-weight: 850;
  white-space: nowrap;
}

.project-node-private .project-link {
  color: #5eead4;
}

.project-link::after {
  display: inline-block;
  margin-left: 8px;
  content: "->";
  transition: transform 180ms ease;
}

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

.project-link:focus-visible::after {
  transform: translateX(4px);
}

.project-meta {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.project-meta span {
  padding: 5px 8px;
  color: #243142;
  background: #eef2f7;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-websites {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.website-count {
  margin: 0;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.website-ledger {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.92fr) minmax(0, 0.92fr);
  gap: clamp(14px, 2vw, 22px);
  isolation: isolate;
}

.website-ledger::before {
  position: absolute;
  top: 50%;
  right: 4%;
  left: 4%;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.44), rgba(37, 99, 235, 0.2), rgba(15, 118, 110, 0.44));
}

.website-entry {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  background:
    radial-gradient(420px circle at 0% 0%, rgba(15, 118, 110, 0.1), transparent 54%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(145, 158, 179, 0.36);
  border-radius: 8px;
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 42px 100%, 0 calc(100% - 42px));
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.website-entry:hover,
.website-entry:focus-visible {
  color: inherit;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.14);
  transform: translateY(-4px);
}

.website-entry::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 38px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.website-entry-primary {
  min-height: 330px;
}

.website-entry-dark {
  color: #ffffff;
  background:
    radial-gradient(440px circle at 100% 0%, rgba(94, 234, 212, 0.14), transparent 46%),
    linear-gradient(145deg, #111827, #07111f 70%, #0d2f32);
  border-color: rgba(203, 213, 225, 0.2);
  clip-path: polygon(34px 0, 100% 0, 100% calc(100% - 52px), calc(100% - 52px) 100%, 0 100%, 0 34px);
}

.website-entry-dark:hover,
.website-entry-dark:focus-visible {
  color: #ffffff;
}

.website-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: clamp(36px, 5vw, 70px);
  color: #667085;
  background: rgba(238, 242, 247, 0.72);
  border: 1px solid rgba(217, 222, 231, 0.92);
  border-radius: 50%;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 850;
}

.website-entry-dark .website-index {
  color: #dbeafe;
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(203, 213, 225, 0.22);
}

.website-domain {
  margin-bottom: 10px;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 850;
}

.website-entry-dark .website-domain {
  color: #5eead4;
}

.website-entry strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.05;
}

.website-entry-dark:hover strong,
.website-entry-dark:focus-visible strong {
  color: #ffffff;
}

.website-entry span:not(.website-index):not(.website-domain) {
  color: var(--muted);
  font-size: 1rem;
}

.website-entry-dark span:not(.website-index):not(.website-domain) {
  color: #d5dfeb;
}

.website-entry em {
  width: fit-content;
  margin-top: auto;
  color: var(--accent);
  font-style: normal;
  font-weight: 850;
}

.website-entry-dark em {
  color: #5eead4;
}

.website-entry em::after {
  display: inline-block;
  margin-left: 8px;
  content: "->";
  transition: transform 180ms ease;
}

.website-entry:hover em::after,
.website-entry:focus-visible em::after {
  transform: translateX(4px);
}

.standards {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(580px circle at 16% 18%, rgba(15, 118, 110, 0.11), transparent 48%),
    linear-gradient(135deg, #f8fafc 0%, #eef2f7 52%, #edf7f6 100%);
}

.standards-system {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.standards-summary,
.standard-step {
  border: 1px solid rgba(145, 158, 179, 0.34);
}

.standards-summary {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 356px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  color: #e5eef8;
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(9, 50, 52, 0.95)),
    #111827;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%);
}

.standards-summary::before {
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 170px;
  height: 170px;
  content: "";
  border: 1px solid rgba(94, 234, 212, 0.28);
  transform: rotate(18deg);
}

.standard-eyebrow,
.standard-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.standard-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 9px;
  color: #99f6e4;
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-radius: 7px;
}

.standards-summary strong {
  display: block;
  margin-top: auto;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 0.98;
}

.standards-summary p {
  max-width: 32rem;
  margin: 18px 0 24px;
  color: #cbd5e1;
  line-height: 1.7;
}

.standards-doc-link {
  position: relative;
  width: fit-content;
  color: #5eead4;
  font-weight: 850;
  text-decoration: none;
}

.standards-doc-link::after {
  display: inline-block;
  margin-left: 8px;
  content: "->";
  transition: transform 180ms ease;
}

.standards-doc-link:hover::after,
.standards-doc-link:focus-visible::after {
  transform: translateX(4px);
}

.standards-flow {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.standards-flow::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 34px;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.18), rgba(15, 118, 110, 0.58), rgba(37, 99, 235, 0.2));
}

.standard-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  width: min(100%, 760px);
  min-height: 112px;
  padding: 18px 28px 18px 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72)),
    linear-gradient(120deg, rgba(15, 118, 110, 0.08), transparent 44%);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%, 16px 50%);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.standard-step:nth-child(even) {
  justify-self: end;
}

.standard-step:nth-child(3) {
  width: min(100%, 690px);
}

.standard-step .standard-index {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid rgba(15, 118, 110, 0.26);
  border-radius: 50%;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  box-shadow: 0 0 0 7px rgba(236, 253, 245, 0.86);
}

.standard-copy {
  display: block;
  min-width: 0;
}

.standard-copy strong {
  display: block;
  margin: 4px 0 7px;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
}

.standard-copy p {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.standard-document-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(740px circle at 9% 9%, rgba(15, 118, 110, 0.12), transparent 46%),
    radial-gradient(620px circle at 94% 32%, rgba(37, 99, 235, 0.1), transparent 50%),
    var(--bg);
}

.standard-document-page::before {
  position: absolute;
  top: 120px;
  right: -78px;
  width: 210px;
  height: 210px;
  content: "";
  border: 1px solid rgba(15, 118, 110, 0.2);
  transform: rotate(18deg);
}

.standard-document-hero,
.standard-document-section {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - clamp(36px, 8vw, 112px)));
  margin: 0 auto;
}

.standard-document-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.56fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(56px, 8vw, 96px) 0 clamp(34px, 5vw, 64px);
}

.standard-document-copy {
  position: relative;
  min-height: 520px;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(7, 17, 31, 0.96) 62%, rgba(9, 50, 52, 0.98)),
    #07111f;
  border: 1px solid rgba(203, 213, 225, 0.16);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), calc(100% - 48px) 100%, 0 100%);
  box-shadow: 0 28px 80px rgba(7, 17, 31, 0.16);
}

.standard-document-copy::before {
  position: absolute;
  top: 36px;
  right: clamp(24px, 5vw, 74px);
  width: min(270px, 36vw);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #5eead4, transparent);
}

.standard-document-copy::after {
  position: absolute;
  right: -70px;
  bottom: -94px;
  width: 260px;
  height: 260px;
  content: "";
  border: 1px solid rgba(94, 234, 212, 0.2);
  transform: rotate(23deg);
}

.standard-back-link {
  margin-bottom: clamp(36px, 7vw, 92px);
}

.standard-document-copy .section-label {
  color: #99f6e4;
}

.standard-document-copy h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  color: #f8fafc;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.86;
}

.standard-document-copy p {
  max-width: 45rem;
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  line-height: 1.7;
}

.standard-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.standard-document-actions .button-secondary {
  color: #07111f;
  background: #f8fafc;
  border-color: rgba(94, 234, 212, 0.72);
  box-shadow:
    inset 0 -3px 0 rgba(15, 118, 110, 0.16),
    0 14px 30px rgba(7, 17, 31, 0.18);
}

.standard-document-actions .button-secondary:hover {
  color: #07111f;
  background: #ccfbf1;
  border-color: #5eead4;
}

.standard-document-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92)),
    #ffffff;
  border: 1px solid rgba(145, 158, 179, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.standard-document-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.standard-document-card strong {
  display: block;
  margin: auto 0 26px;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 0.96;
}

.standard-document-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.standard-document-card dl div {
  padding: 14px 0;
  border-top: 1px solid rgba(217, 222, 231, 0.9);
}

.standard-document-card dt {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.standard-document-card dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.standard-document-section {
  padding: clamp(28px, 4vw, 52px) 0;
}

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

.standard-gate {
  position: relative;
  min-height: 236px;
  padding: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(145, 158, 179, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.08);
}

.standard-gate::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 3px;
  content: "";
  background: var(--accent);
}

.standard-gate span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 850;
  background: rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 7px;
}

.standard-gate h3 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.1;
}

.standard-gate p {
  margin: 0;
  color: var(--muted);
}

.standard-gate-dark {
  color: #f8fafc;
  background:
    radial-gradient(240px circle at 100% 0%, rgba(94, 234, 212, 0.16), transparent 50%),
    linear-gradient(145deg, #111827, #07111f 72%, #0d2f32);
  border-color: rgba(203, 213, 225, 0.18);
}

.standard-gate-dark h3,
.standard-gate-dark p {
  color: #f8fafc;
}

.standard-gate-dark span {
  color: #99f6e4;
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(203, 213, 225, 0.2);
}

.standard-gate-accent {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.96)),
    #ffffff;
}

.standard-gate-accent::after {
  background: var(--gold);
}

.standard-boundary-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.standard-boundary-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 16px clamp(20px, 4vw, 52px);
  align-items: end;
  min-height: auto;
  padding: clamp(24px, 3.4vw, 36px);
  overflow: hidden;
  color: #f8fafc;
  background:
    radial-gradient(220px circle at 92% 12%, rgba(94, 234, 212, 0.16), transparent 48%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.98), rgba(7, 17, 31, 0.95) 58%, rgba(9, 50, 52, 0.98)),
    #111827;
  border: 1px solid rgba(203, 213, 225, 0.16);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
  box-shadow: 0 24px 70px rgba(7, 17, 31, 0.14);
}

.standard-boundary-panel::before {
  position: absolute;
  top: 40px;
  right: 34px;
  width: 86px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #5eead4);
}

.standard-boundary-panel::after {
  position: absolute;
  right: -54px;
  bottom: -64px;
  width: 154px;
  height: 154px;
  content: "";
  border: 1px solid rgba(94, 234, 212, 0.18);
  transform: rotate(18deg);
}

.standard-boundary-panel .section-label {
  color: #99f6e4;
}

.standard-boundary-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2.2rem, 4.3vw, 4.6rem);
  line-height: 0.96;
}

.standard-boundary-panel p {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
}

.standard-boundary-rule {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 0;
  padding: 14px 15px;
  background: rgba(248, 250, 252, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: var(--radius);
}

.standard-boundary-rule span {
  color: #99f6e4;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standard-boundary-rule strong {
  color: #f8fafc;
  font-size: 1rem;
}

.standard-boundary-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.standard-boundary-grid::before {
  position: absolute;
  top: 34px;
  left: calc(50% - 7px);
  width: 14px;
  height: 1px;
  content: "";
  background: rgba(15, 118, 110, 0.18);
}

.standard-boundary-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(22px, 2.6vw, 30px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88)),
    #ffffff;
  border: 1px solid rgba(145, 158, 179, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.07);
}

.standard-boundary-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: var(--accent);
}

.standard-boundary-card::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  content: "";
  border: 1px solid rgba(15, 118, 110, 0.12);
  transform: rotate(18deg);
}

.standard-boundary-card-protected::before {
  background: var(--coral);
}

.standard-boundary-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(217, 222, 231, 0.85);
}

.standard-boundary-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  background: rgba(15, 118, 110, 0.08);
  border-radius: 7px;
}

.standard-boundary-card-protected .standard-boundary-label {
  color: #9f2f28;
  background: rgba(199, 81, 70, 0.1);
}

.standard-boundary-state {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  background: rgba(241, 245, 249, 0.78);
  border: 1px solid rgba(217, 222, 231, 0.8);
  border-radius: 999px;
}

.standard-boundary-grid h3 {
  margin: clamp(20px, 2.2vw, 26px) 0 18px;
  font-size: clamp(1.55rem, 2vw, 2.08rem);
  line-height: 1.08;
}

.standard-boundary-grid ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.58;
  list-style: none;
}

.standard-boundary-grid li {
  position: relative;
  padding-left: 28px;
}

.standard-boundary-grid li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 12px;
  height: 12px;
  content: "";
  background:
    linear-gradient(135deg, var(--accent) 0 50%, transparent 50%),
    rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 3px;
}

.standard-boundary-card-protected li::before {
  background:
    linear-gradient(135deg, var(--coral) 0 50%, transparent 50%),
    rgba(199, 81, 70, 0.1);
  border-color: rgba(199, 81, 70, 0.28);
}

.standard-checklist-section {
  padding-bottom: clamp(58px, 8vw, 96px);
}

.standard-review-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: review;
}

.standard-review-list li {
  position: relative;
  min-height: 220px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(145, 158, 179, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
}

.standard-review-list li::before {
  display: block;
  margin-bottom: 38px;
  color: #94a3b8;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
  font-weight: 850;
  counter-increment: review;
  content: "0" counter(review);
}

.standard-review-list span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 9px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  background: rgba(15, 118, 110, 0.08);
  border-radius: 7px;
}

.standard-review-list strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .standard-document-hero,
  .standard-boundary-section,
  .standard-boundary-grid {
    grid-template-columns: 1fr;
  }

  .standard-document-copy,
  .standard-document-card,
  .standard-boundary-panel,
  .standard-boundary-card {
    min-height: auto;
  }

  .standard-boundary-panel {
    grid-template-columns: 1fr;
  }

  .standard-boundary-rule {
    grid-column: auto;
    grid-row: auto;
  }

  .standard-boundary-grid::before {
    display: none;
  }

  .standard-boundary-panel h2 {
    max-width: 18ch;
    font-size: clamp(2rem, 8vw, 3.4rem);
    line-height: 1.02;
  }

  .standard-gate-grid,
  .standard-review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .standard-document-hero,
  .standard-document-section {
    width: calc(100% - 36px);
  }

  .standard-document-hero {
    padding-top: 34px;
  }

  .standard-document-copy {
    padding: 28px 22px 34px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  }

  .standard-back-link {
    margin-bottom: 52px;
  }

  .standard-document-actions,
  .standard-gate-grid,
  .standard-review-list {
    grid-template-columns: 1fr;
  }

  .standard-gate,
  .standard-review-list li,
  .standard-boundary-card {
    min-height: auto;
  }

  .standard-boundary-panel,
  .standard-boundary-card {
    padding: 24px 20px;
  }

  .standard-boundary-panel h2 {
    margin-top: 30px;
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .standard-boundary-grid h3 {
    margin-top: 22px;
  }

  .standard-boundary-card-head {
    padding-bottom: 16px;
  }
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(300px, 1.08fr) minmax(310px, 1fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  padding: 24px clamp(18px, 4vw, 56px);
  overflow: hidden;
  color: #dbeafe;
  background:
    radial-gradient(380px circle at 100% 0%, rgba(94, 234, 212, 0.14), transparent 46%),
    linear-gradient(90deg, #111827, #07111f 70%, #0d2f32);
  border-top: 1px solid rgba(203, 213, 225, 0.16);
  font-size: 0.9rem;
}

.site-footer::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.62), transparent);
}

.footer-brand,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.footer-brand strong {
  color: #eff6ff;
  font-size: 0.98rem;
  line-height: 1.2;
}

.footer-kicker {
  color: rgba(94, 234, 212, 0.78);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-signal {
  display: inline-flex;
  max-width: 34rem;
  padding: 8px 12px;
  color: #cbd5e1;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  background: rgba(15, 23, 42, 0.36);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-left-color: rgba(94, 234, 212, 0.5);
  border-radius: var(--radius);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 0;
  color: #cbd5e1;
  font-style: normal;
  font-weight: 750;
}

.footer-contact-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.footer-chip,
.footer-label,
.footer-contact a,
.footer-standard-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid rgba(203, 213, 225, 0.14);
  border-radius: var(--radius);
}

.footer-chip {
  color: #dbeafe;
  background: rgba(148, 163, 184, 0.12);
}

.footer-label {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.28);
}

.footer-contact a,
.footer-standard-link {
  max-width: 100%;
  min-width: 0;
  color: #5eead4;
  overflow-wrap: anywhere;
  background: rgba(15, 23, 42, 0.42);
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.footer-meta {
  align-items: flex-end;
}

.footer-standard-link {
  justify-content: center;
  width: fit-content;
}

.footer-standard-link::after {
  margin-left: 8px;
  content: "->";
  color: rgba(94, 234, 212, 0.78);
}

.site-footer a:hover {
  color: #f8fafc;
}

.footer-contact a:hover,
.footer-standard-link:hover {
  color: #f8fafc;
  background: rgba(15, 118, 110, 0.24);
  border-color: rgba(94, 234, 212, 0.46);
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .site-footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .footer-contact {
    justify-content: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }
}

.case-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(188px, 0.18fr) minmax(0, 1fr);
  min-height: calc(100vh - 72px);
  overflow: clip;
  background: var(--bg);
}

.case-page::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(17, 24, 39, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
}

.case-rail {
  position: sticky;
  top: 71px;
  z-index: 2;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 71px);
  padding: clamp(26px, 4vw, 46px) 20px;
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid rgba(145, 158, 179, 0.36);
  backdrop-filter: blur(10px);
}

.back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  margin-bottom: clamp(42px, 7vw, 86px);
  color: var(--accent);
  font-weight: 850;
}

.back-link::before {
  content: "<-";
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.case-rail-nav {
  position: relative;
  display: grid;
  gap: 36px;
  margin-bottom: 54px;
}

.case-rail-nav::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 10px;
  width: 1px;
  content: "";
  background: rgba(17, 24, 39, 0.28);
}

.case-rail-nav a {
  position: relative;
  display: block;
  padding-left: 34px;
  color: #374151;
  font-size: 0.82rem;
  font-weight: 650;
}

.case-rail-nav a::before {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 13px;
  height: 13px;
  content: "";
  background: var(--bg);
  border: 1px solid #334155;
  border-radius: 50%;
}

.case-rail-nav strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.96rem;
}

.audit-log {
  margin-top: auto;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(145, 158, 179, 0.36);
  border-radius: 8px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.audit-log span,
.case-controls > span {
  color: #374151;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.audit-log p {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
}

.audit-log strong {
  color: var(--accent);
}

.case-hero {
  position: relative;
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: min(560px, calc(100vh - 72px));
  padding: clamp(44px, 6vw, 76px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 247, 0.66)),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.case-hero::before {
  position: absolute;
  right: 28%;
  left: 42%;
  top: 50%;
  height: 1px;
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.48), rgba(37, 99, 235, 0.18), transparent);
}

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

.case-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 6.6vw, 5.75rem);
}

.case-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 18px;
  color: #374151;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
}

.case-tags strong {
  color: var(--accent);
}

.case-controls {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(100%, 330px);
  padding: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(145, 158, 179, 0.36);
  border-radius: 8px;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
}

.case-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0 10px;
  overflow: hidden;
  border: 1px solid rgba(145, 158, 179, 0.36);
  border-radius: 8px;
}

.case-mode-button {
  min-height: 44px;
  color: #374151;
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  border-right: 1px solid rgba(145, 158, 179, 0.28);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.case-mode-button:last-child {
  border-right: 0;
}

.case-mode-button.is-active,
.case-mode-button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--surface-strong);
}

.case-mode-button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid rgba(15, 118, 110, 0.78);
  outline-offset: -4px;
  box-shadow: inset 0 0 0 2px rgba(94, 234, 212, 0.22);
}

.case-controls .case-mode-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.case-content {
  grid-column: 2;
  display: grid;
  gap: 22px;
  padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 56px);
  counter-reset: case-section;
}

.case-content h2 {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.1;
  counter-increment: case-section;
}

.case-content h2::before {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: 12px;
  color: var(--accent);
  content: counter(case-section, decimal-leading-zero);
  background: rgba(238, 242, 247, 0.84);
  border: 1px solid rgba(217, 222, 231, 0.9);
  border-radius: 50%;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  vertical-align: middle;
}

.case-content p,
.case-content li {
  color: #374151;
  font-size: 1.02rem;
}

.case-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-content li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid rgba(145, 158, 179, 0.24);
}

.case-content li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 12px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.case-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 22px;
  padding: 54px 12px 12px;
  color: #ffffff;
  background:
    radial-gradient(520px circle at 100% 0%, rgba(94, 234, 212, 0.13), transparent 48%),
    linear-gradient(145deg, #111827, #07111f 70%, #0d2f32);
  border: 1px solid rgba(203, 213, 225, 0.18);
  border-radius: 8px;
  clip-path: polygon(0 0, calc(100% - 62px) 0, 100% 62px, 100% calc(100% - 52px), calc(100% - 52px) 100%, 0 100%);
  box-shadow: 0 26px 70px rgba(7, 17, 31, 0.16);
}

.case-facts::before {
  position: absolute;
  top: 18px;
  left: 22px;
  color: #5eead4;
  content: "CASE DOSSIER";
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
}

.case-facts div {
  min-height: 112px;
  padding: 18px 20px;
  background: transparent;
  border-right: 1px solid rgba(203, 213, 225, 0.22);
  border-bottom: 0;
  clip-path: none;
}

.case-facts div:last-child {
  border-right: 0;
}

.case-facts dt {
  margin-bottom: 6px;
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.case-facts dd {
  margin: 0;
  font-weight: 750;
}

.case-facts a {
  color: #5eead4;
}

.case-block {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.4vw, 38px);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(145, 158, 179, 0.36);
  border-radius: 8px;
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
}

.case-block::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 34px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.case-block-split {
  grid-template-columns: minmax(0, 0.9fr) minmax(250px, 0.72fr);
  column-gap: clamp(24px, 5vw, 64px);
}

.case-block-split > h2 {
  grid-column: 1 / -1;
}

.case-block-dark {
  color: #ffffff;
  background:
    radial-gradient(520px circle at 100% 0%, rgba(94, 234, 212, 0.13), transparent 48%),
    linear-gradient(145deg, #111827, #07111f 70%, #0d2f32);
  border-color: rgba(203, 213, 225, 0.18);
  box-shadow: 0 26px 70px rgba(7, 17, 31, 0.16);
}

.case-block-dark h2,
.case-block-dark p,
.case-block-dark li {
  color: #ffffff;
}

.case-block-dark h2::before {
  color: #5eead4;
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(203, 213, 225, 0.22);
}

.case-block-dark li {
  border-bottom-color: rgba(203, 213, 225, 0.18);
}

.case-block-dark li::before,
.case-block-dark::after {
  background: #5eead4;
}

.case-points {
  display: grid;
  gap: 8px;
}

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

.case-block-dark .case-points strong {
  color: #5eead4;
}

@media (max-width: 900px) {
  .hero,
  .intel-layout,
  .intel-panel-main,
  .case-hero,
  .case-content,
  .case-block-split,
  .website-ledger,
  .standards-system,
  .case-facts {
    grid-template-columns: 1fr;
  }

  .standards-summary {
    min-height: 280px;
  }

  .standards-flow::before {
    left: 24px;
  }

  .standard-step,
  .standard-step:nth-child(3) {
    justify-self: stretch;
    width: 100%;
  }

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

  .case-rail,
  .case-hero,
  .case-content {
    grid-column: 1;
  }

  .case-rail {
    position: relative;
    top: auto;
    grid-row: auto;
    order: 2;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(145, 158, 179, 0.36);
  }

  .case-hero {
    order: 1;
  }

  .case-content {
    order: 3;
  }

  .case-rail-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
  }

  .case-rail .back-link {
    margin-bottom: 24px;
  }

  .case-rail-nav::before {
    display: none;
  }

  .audit-log {
    margin-top: 0;
  }

  .case-controls {
    justify-self: start;
  }

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

  .profile-facts {
    grid-template-columns: 1fr;
  }

  .hero::before,
  .hero-map::before,
  .case-hero::before,
  .case-hero::after,
  .case-content::before,
  .intel-pipeline::before,
  .intel-pipeline::after {
    display: none;
  }

  .intel-panel-main .proof-rail,
  .intel-panel-main .project-link,
  .case-content > :not(.case-facts) {
    grid-column: 1;
  }

  .intel-panel-mark {
    min-height: auto;
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(145, 158, 179, 0.28);
  }

  .case-facts div {
    border-right: 0;
    border-bottom: 1px solid rgba(203, 213, 225, 0.18);
  }

  .case-facts div:last-child {
    border-bottom: 0;
  }

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

  .project-atlas::before {
    inset: 4% 2% 8%;
    opacity: 0.36;
  }

  .project-node {
    grid-row: auto;
    min-height: 250px;
    clip-path: none;
  }

  .node-openvino,
  .node-citysafe {
    grid-column: 1 / -1;
  }

  .node-fixture,
  .node-markora,
  .node-exhale {
    grid-column: span 3;
  }

  .project-node::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .website-ledger::before {
    top: 4%;
    right: auto;
    bottom: 4%;
    left: 22px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.44), rgba(37, 99, 235, 0.2), rgba(15, 118, 110, 0.44));
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 13px;
    padding-top: 13px;
    padding-bottom: 12px;
  }

  .site-footer {
    gap: 15px;
    padding: 22px 18px 24px;
  }

  .footer-contact {
    width: 100%;
  }

  .footer-contact-row {
    justify-content: flex-start;
    width: 100%;
  }

  .footer-chip,
  .footer-label {
    flex: 0 0 74px;
    justify-content: center;
  }

  .footer-contact a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .standard-step {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    min-height: auto;
    padding: 16px 20px 16px 14px;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 10px 50%);
  }

  .standard-step .standard-index {
    width: 40px;
    height: 40px;
    box-shadow: 0 0 0 5px rgba(236, 253, 245, 0.9);
  }

  .standard-copy p {
    font-size: 0.92rem;
  }

  .nav {
    width: 100%;
    gap: 10px;
    justify-content: space-between;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.7rem, 18vw, 4rem);
  }

  .hero {
    gap: 20px;
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-signal {
    margin-top: 18px;
  }

  .mobile-jump {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding: 0;
  }

  .mobile-jump a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 0.86rem;
    font-weight: 850;
  }

  .section {
    scroll-margin-top: 124px;
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .identity-plate {
    grid-template-columns: 94px minmax(0, 1fr);
    min-height: 180px;
  }

  .identity-photo-frame {
    width: 94px;
    height: 116px;
    box-shadow:
      0 0 0 8px rgba(238, 242, 247, 0.88),
      0 0 0 9px rgba(145, 158, 179, 0.3);
  }

  .project-meta {
    justify-content: flex-start;
  }

  .project-atlas {
    grid-template-columns: 1fr;
  }

  .project-node,
  .node-openvino,
  .node-fixture,
  .node-citysafe,
  .node-markora,
  .node-exhale {
    grid-column: 1;
    min-height: auto;
  }

  .filters {
    width: 100%;
  }

  .case-facts {
    grid-template-columns: 1fr;
  }

  .case-rail,
  .case-hero,
  .case-content {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .project-node {
    transform: none;
    opacity: 1;
  }
}
