:root {
  --gold: #dca54a;
  --gold-strong: #f0c974;
  --gold-muted: rgba(220, 165, 74, .16);
  --gold-line: rgba(220, 165, 74, .34);
  --bg: #0a0908;
  --bg-2: #0f0e0c;
  --surface: #141310;
  --surface-2: #1a1916;
  --surface-3: #222019;
  --paper: #efebe1;
  --paper-2: #f7f3ea;
  --paper-3: #e1dbce;
  --ink: #e8e0d0;
  --ink-strong: #fff8ea;
  --muted: #aaa394;
  --dim: #746d60;
  --text-dark: #1a1816;
  --text-muted-dark: #645d50;
  --border: #2a2820;
  --border-light: #d8d0c1;
  --red: #e05545;
  --orange: #e08a45;
  --blue: #4598d0;
  --green: #45b080;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --shadow-soft: 0 18px 50px rgba(32, 27, 18, .12);
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1240px;
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --step--1: clamp(.82rem, .78rem + .16vw, .92rem);
  --step-0: clamp(.96rem, .93rem + .16vw, 1.06rem);
  --step-1: clamp(1.12rem, 1.03rem + .45vw, 1.36rem);
  --step-2: clamp(1.45rem, 1.23rem + 1vw, 2rem);
  --step-3: clamp(2rem, 1.45rem + 2.5vw, 3.25rem);
  --step-4: clamp(2.7rem, 1.78rem + 4vw, 5.25rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: 220ms;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 96px 96px,
    radial-gradient(circle at 78% 4%, rgba(220, 165, 74, .14), transparent 30rem),
    linear-gradient(180deg, var(--bg) 0%, #0d0c0b 42%, var(--bg) 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
  font-weight: 650;
}

h2 {
  font-size: var(--step-3);
  font-weight: 620;
}

h3 {
  font-size: var(--step-1);
  font-weight: 620;
}

ul,
ol {
  margin-top: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  width: min(880px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 100;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  color: var(--text-dark);
  padding: .72rem .95rem;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(10, 9, 8, .78);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 154px;
}

.brand img {
  width: 164px;
  filter: brightness(0) invert(1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  color: rgba(232, 224, 208, .8);
  font-size: .91rem;
}

.desktop-nav > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 74px;
  padding: 0 .8rem;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.desktop-nav a:hover,
.desktop-nav .is-active,
.nav-item:hover > a {
  color: var(--ink-strong);
  border-color: var(--gold-line);
  background: rgba(255, 255, 255, .025);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.has-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  left: -26px;
  top: 73px;
  width: min(740px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  background: rgba(17, 16, 14, .98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 22px;
}

.mega-grid strong {
  display: block;
  margin-bottom: .4rem;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.mega-grid span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mega-links a {
  padding: .78rem .85rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .035);
  color: rgba(232, 224, 208, .9);
}

.mega-links a:hover {
  color: var(--gold-strong);
  border-color: var(--gold-line);
  background: var(--gold-muted);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transform-origin: center;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(10, 9, 8, .98);
}

.mobile-panel nav {
  width: min(var(--container), calc(100% - 48px));
  margin: auto;
  padding: 1.25rem 0 1.5rem;
  display: grid;
  gap: .65rem;
}

.mobile-panel a {
  min-height: 42px;
  display: flex;
  align-items: center;
}

.mobile-panel .is-active {
  color: var(--gold-strong);
}

.mobile-service-list {
  display: grid;
  gap: .25rem;
  margin: .3rem 0 .55rem;
  padding-left: 1rem;
  border-left: 1px solid var(--gold-line);
  color: var(--muted);
  font-size: .94rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .82rem 1.08rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.15;
  transition:
    transform var(--dur) var(--ease),
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px) scale(.99);
}

.btn-small {
  min-height: 40px;
  padding: .62rem .82rem;
  font-size: .88rem;
}

.btn-gold {
  background: var(--gold);
  color: #15110a;
  box-shadow: 0 10px 30px rgba(220, 165, 74, .12);
}

.btn-gold:hover {
  background: var(--gold-strong);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .035);
  color: var(--ink-strong);
}

.btn-outline:hover {
  border-color: var(--gold-line);
  color: var(--gold-strong);
}

.btn-outline-light {
  border-color: var(--border-light);
  background: transparent;
  color: var(--text-dark);
}

.btn-outline-light:hover {
  border-color: rgba(101, 76, 30, .5);
  background: rgba(220, 165, 74, .12);
}

.btn-dark {
  background: var(--text-dark);
  color: var(--paper-2);
}

.btn-dark:hover {
  background: #2a251f;
}

.full {
  width: 100%;
}

.hero,
.dark-section,
.feature-section,
.final-cta {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 96px 96px,
    radial-gradient(circle at 80% 12%, rgba(220, 165, 74, .16), transparent 26rem),
    linear-gradient(180deg, #0a0908, #0f0e0c 60%, #0a0908);
}

.home-hero {
  padding: clamp(64px, 7vw, 86px) 0 clamp(58px, 6vw, 76px);
  min-height: calc(100dvh - 74px);
  display: grid;
  align-items: center;
}

.internal-hero {
  padding: clamp(64px, 7vw, 82px) 0 clamp(54px, 6vw, 66px);
  text-align: center;
}

.command-hero {
  position: relative;
  overflow: hidden;
}

.command-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

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

.hero-copy p,
.internal-hero p {
  color: var(--muted);
}

.hero-copy > p:not(.lead) {
  font-size: .98rem;
  line-height: 1.55;
}

.hero-copy h1 {
  max-width: 16.5ch;
  font-size: clamp(2.75rem, 4.55vw, 5.05rem);
  line-height: .98;
}

.internal-hero h1 {
  max-width: 19ch;
  margin-inline: auto;
  font-size: clamp(2.45rem, 4.15vw, 4rem);
}

.internal-hero .lead {
  max-width: 74ch;
  margin-inline: auto;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.54;
  color: var(--ink);
}

.small-lead {
  font-size: 1.05rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1.35rem;
}

.center {
  text-align: center;
  margin-inline: auto;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.hero-evidence {
  margin-top: 1.55rem;
  display: grid;
  gap: .75rem;
  color: var(--muted);
  font-size: .94rem;
}

.hero-evidence span {
  display: flex;
  gap: .72rem;
  align-items: baseline;
}

.hero-evidence span::before {
  content: "";
  width: .5rem;
  height: .5rem;
  flex: 0 0 .5rem;
  border: 1px solid var(--gold-line);
  background: var(--gold-muted);
  transform: rotate(45deg);
}

.hero-system {
  position: relative;
  display: grid;
  gap: 1rem;
  color: var(--ink);
}

.system-frame {
  position: relative;
  min-height: clamp(480px, 40vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 45%, rgba(220, 165, 74, .18), transparent 13rem),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
    rgba(12, 11, 10, .94);
  box-shadow: 0 38px 100px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.system-frame::before,
.system-frame::after {
  content: "";
  position: absolute;
  inset: 46px;
  border: 1px solid rgba(220, 165, 74, .22);
  border-radius: 50%;
}

.system-frame::after {
  inset: 108px;
  border-color: rgba(232, 224, 208, .12);
}

.system-orbit {
  position: absolute;
  inset: 72px;
  border-radius: 50%;
  animation: systemRotate 28s linear infinite;
}

.system-orbit span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-strong);
  box-shadow: 0 0 0 8px rgba(220, 165, 74, .1);
}

.system-orbit span:nth-child(1) { left: 50%; top: 0; }
.system-orbit span:nth-child(2) { right: 0; top: 50%; }
.system-orbit span:nth-child(3) { left: 50%; bottom: 0; }
.system-orbit span:nth-child(4) { left: 0; top: 50%; }

.system-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 178px;
  height: 178px;
  display: grid;
  place-content: center;
  gap: .3rem;
  transform: translate(-50%, -50%);
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(220, 165, 74, .18), transparent 68%),
    rgba(10, 9, 8, .86);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.system-core span {
  color: var(--gold-strong);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.system-core strong {
  max-width: 9ch;
  margin-inline: auto;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.05;
}

.system-node {
  position: absolute;
  width: min(220px, 32%);
  min-height: 118px;
  display: grid;
  align-content: start;
  gap: .35rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  background: rgba(10, 9, 8, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  padding: 1rem;
}

.system-node b {
  color: var(--gold-strong);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
}

.system-node span {
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 650;
}

.system-node small {
  color: var(--muted);
  font-size: .86rem;
}

.node-a { left: 8%; top: 9%; }
.node-b { right: 8%; top: 9%; }
.node-c { right: 8%; bottom: 9%; }
.node-d { left: 8%; bottom: 9%; }

.system-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}

.system-ledger span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

@keyframes systemRotate {
  to { transform: rotate(360deg); }
}

.section {
  padding: clamp(72px, 8vw, 116px) 0;
}

.light-section {
  color: var(--text-dark);
  background:
    linear-gradient(90deg, rgba(26, 24, 22, .035) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(180deg, var(--paper), var(--paper-2));
}

.section-head {
  max-width: 850px;
  margin: 0 0 2.6rem;
}

.section-head.narrow,
.narrow.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p,
.section-copy p {
  color: var(--text-muted-dark);
  font-size: 1.04rem;
  max-width: 68ch;
}

.dark-section p,
.feature-section p,
.final-cta p {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: #7d5f27;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dark-section .eyebrow,
.feature-section .eyebrow,
.hero .eyebrow {
  color: var(--gold-strong);
}

.gold-dot::before {
  content: "";
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: var(--gold);
}

.wide-text {
  max-width: 920px;
  margin: 2rem auto 0;
  text-align: center;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.align-start {
  align-items: start;
}

.section-copy .highlight,
.highlight {
  color: inherit;
  font-weight: 700;
}

.cards,
.service-grid,
.tools-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.cards.stacked {
  grid-template-columns: 1fr;
}

.card,
.tool-card,
.product-panel,
.architecture-card,
.quote-card,
.method-card {
  border: 1px solid rgba(26, 24, 22, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .58);
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
  padding: 1.55rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.card:hover,
.tool-card:hover,
.method-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 94, 37, .36);
  box-shadow: 0 22px 58px rgba(32, 27, 18, .16);
}

.dark-section .card,
.dark-section .tool-card,
.glass {
  border-color: rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: none;
  color: var(--ink);
}

.card p,
.tool-card p,
.architecture-card p,
.quote-card p,
.method-card p {
  color: var(--text-muted-dark);
}

.dark-section .card p,
.dark-section .tool-card p,
.glass p {
  color: var(--muted);
}

.card-label,
.tool-card span {
  display: block;
  margin-bottom: .65rem;
  color: #7d5f27;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  color: #735316;
  font-weight: 800;
}

.link-arrow::after {
  content: "";
  width: 1.35rem;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}

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

.dark-section .link-arrow,
.feature-section .link-arrow {
  color: var(--gold-strong);
}

blockquote {
  margin: 1.8rem 0 0;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 2px solid var(--gold);
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.22;
}

.proof-row,
.pill {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.proof-row span,
.pill {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: var(--ink);
  padding: .5rem .72rem;
  font-size: .84rem;
}

.technical-panel,
.inefficiency-widget,
.process-map,
.ai-pipeline,
.maturity-panel,
.infra-diagram,
.command-diagram {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)),
    rgba(20, 19, 16, .92);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.technical-panel::before,
.inefficiency-widget::before,
.process-map::before,
.ai-pipeline::before,
.maturity-panel::before,
.infra-diagram::before,
.command-diagram::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 0%, rgba(220, 165, 74, .13), transparent 24rem),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px;
  opacity: .72;
}

.technical-panel > *,
.inefficiency-widget > *,
.process-map > *,
.ai-pipeline > *,
.maturity-panel > *,
.infra-diagram > *,
.command-diagram > * {
  position: relative;
}

.widget-topbar {
  display: flex;
  gap: 7px;
  margin-bottom: 1rem;
}

.widget-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(232, 224, 208, .35);
}

.inefficiency-widget {
  padding: clamp(20px, 3vw, 32px);
  color: var(--ink);
}

.widget-header {
  display: grid;
  gap: .45rem;
  margin-bottom: 1.2rem;
}

.widget-header h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
}

.widget-header p {
  color: var(--muted);
  margin: 0;
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .86fr);
  gap: 1.1rem;
  align-items: stretch;
}

.efficiency-controls,
.calc-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.efficiency-controls.compact,
.hero-calculator .calc-controls {
  grid-template-columns: 1fr 1fr;
}

.efficiency-controls label,
.calc-control {
  display: grid;
  gap: .5rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
}

.efficiency-controls label span,
.calc-control span {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  align-items: baseline;
}

.efficiency-controls output,
.calc-control output,
.calc-value {
  color: var(--gold-strong);
  font-family: var(--font-mono);
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(42, 40, 32, .22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .82);
  color: var(--text-dark);
  padding: .82rem .9rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

textarea {
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover,
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(115, 83, 22, .5);
  box-shadow: 0 0 0 4px rgba(220, 165, 74, .12);
}

.efficiency-controls input,
.calc-control input {
  border-color: rgba(220, 165, 74, .22);
  background: rgba(232, 224, 208, .96);
}

.efficiency-controls input[type="range"],
.calc-control input[type="range"] {
  height: 36px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  accent-color: var(--gold);
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) var(--range-progress, 50%), rgba(232, 224, 208, .18) var(--range-progress, 50%));
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid #1a1816;
  border-radius: 50%;
  background: var(--gold-strong);
  box-shadow: 0 0 0 5px rgba(220, 165, 74, .12);
}

input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(232, 224, 208, .18);
}

input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.efficiency-result,
.calc-result {
  margin: 1rem 0;
  padding: 1.15rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  background: rgba(10, 9, 8, .72);
}

.efficiency-result span,
.efficiency-result small,
.calc-result span,
.calc-result small {
  display: block;
  color: var(--muted);
}

.efficiency-result strong,
.calc-result strong {
  display: block;
  margin: .45rem 0 .5rem;
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.65rem);
  line-height: .95;
  font-variant-numeric: tabular-nums;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.efficiency-result strong.is-updating,
.calc-result strong.is-updating {
  opacity: .55;
  transform: translateY(-2px);
}

.calculator-note,
.formula-note {
  margin: .85rem 0 0;
  color: var(--muted);
  font-size: .84rem;
}

.formula-note code {
  display: block;
  margin-top: .45rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .045);
  color: var(--ink);
  padding: .72rem .8rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  white-space: normal;
}

.calc-summary {
  display: grid;
  gap: .75rem;
}

.calc-kpis,
.efficiency-kpis {
  display: grid;
  gap: .65rem;
}

.calc-kpis article,
.efficiency-kpis article {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  padding: .88rem;
}

.calc-kpis span,
.efficiency-kpis span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}

.calc-kpis strong,
.efficiency-kpis strong {
  display: block;
  margin-top: .2rem;
  color: var(--ink-strong);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.calc-waterfall {
  display: grid;
  gap: .65rem;
  margin-top: .55rem;
}

.waterfall-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) 4.4rem;
  gap: .6rem;
  align-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .74rem;
}

.waterfall-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(232, 224, 208, .12);
}

.waterfall-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(220, 165, 74, .35), var(--gold-strong));
  transform: scaleX(var(--fill, .5));
  transform-origin: left center;
  transition: transform 360ms var(--ease);
}

.full-calculator {
  padding: clamp(22px, 3vw, 36px);
}

.full-calculator .widget-header {
  max-width: 820px;
}

.calculator-hero {
  min-height: auto;
  padding-top: clamp(70px, 7vw, 92px);
}

.calculator-hero .hero-grid {
  grid-template-columns: minmax(380px, .84fr) minmax(520px, 1.16fr);
  gap: clamp(36px, 4.5vw, 58px);
  align-items: start;
}

.calculator-hero .hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.75rem, 4.3vw, 4.75rem);
}

.calculator-hero .full-calculator {
  padding: clamp(20px, 2.4vw, 30px);
}

.calculator-hero .widget-header {
  max-width: 700px;
  margin-bottom: 1rem;
}

.calculator-hero .widget-header h2 {
  font-size: clamp(1.5rem, 2.45vw, 2.15rem);
}

.efficiency-result-grid {
  display: grid;
  grid-template-columns: minmax(270px, .9fr) minmax(270px, 1.1fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 1.4rem;
}

.main-result {
  margin: 0;
}

.calculator-cta {
  display: flex;
  gap: 1.3rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.calculator-cta p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.impact-examples {
  display: grid;
  gap: 1rem;
}

.impact-examples article {
  border: 1px solid rgba(26, 24, 22, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .58);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
}

.impact-examples span {
  display: block;
  margin-bottom: .35rem;
  color: #7d5f27;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.impact-examples strong {
  display: block;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1;
}

.impact-examples p {
  margin: .65rem 0 0;
  color: var(--text-muted-dark);
}

.impact-examples.dark article {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .055);
  box-shadow: none;
}

.impact-examples.dark strong,
.impact-examples.dark p {
  color: var(--ink);
}

.process-map {
  padding: clamp(22px, 3vw, 34px);
}

.process-map-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.8rem;
}

.process-map-header p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-phase {
  position: relative;
  min-height: 260px;
  padding: 1.35rem;
  background: rgba(10, 9, 8, .52);
}

.process-phase::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.1rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(220, 165, 74, .05));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 720ms var(--ease);
}

.is-visible .process-phase::after {
  transform: scaleX(1);
}

.process-number {
  color: var(--gold-strong);
  font-family: var(--font-mono);
  font-size: .78rem;
}

.process-phase h3 {
  margin-top: 1rem;
}

.process-phase p {
  color: var(--muted);
  font-size: .95rem;
}

.phase-list {
  list-style: none;
  display: grid;
  gap: .45rem;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: .9rem;
}

.phase-list li {
  display: flex;
  gap: .5rem;
}

.phase-list li::before {
  content: "";
  width: .35rem;
  height: .35rem;
  flex: 0 0 .35rem;
  margin-top: .6rem;
  background: var(--gold);
}

.service-ledger {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(26, 24, 22, .12);
  border-radius: var(--radius-lg);
  background: rgba(26, 24, 22, .12);
  box-shadow: var(--shadow-soft);
}

.service-ledger-intro,
.service-row {
  background: rgba(255, 255, 255, .52);
}

.service-ledger-intro {
  padding: clamp(22px, 3vw, 32px);
}

.service-ledger-intro p {
  color: var(--text-muted-dark);
}

.service-rows {
  display: grid;
  gap: 1px;
  background: rgba(26, 24, 22, .12);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(165px, .32fr) minmax(0, .68fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  transition: background var(--dur) var(--ease);
}

.service-row:hover {
  background: rgba(255, 255, 255, .72);
}

.service-row span {
  color: #7d5f27;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.service-row h3 {
  margin: 0 0 .35rem;
}

.service-row p {
  margin: 0;
  color: var(--text-muted-dark);
}

.service-row a {
  min-width: 2.3rem;
  height: 2.3rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(126, 94, 37, .25);
  border-radius: 50%;
  color: #735316;
  font-weight: 800;
}

.ai-pipeline {
  padding: clamp(22px, 3vw, 34px);
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .95rem;
  align-items: stretch;
  counter-reset: pipeline;
}

.pipeline-step {
  position: relative;
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(10, 9, 8, .68);
  padding: 1.2rem 1.15rem 1.3rem 3.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  counter-increment: pipeline;
}

.pipeline-step::before {
  content: counter(pipeline, decimal-leading-zero);
  position: absolute;
  top: 1.25rem;
  left: 1.15rem;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid rgba(220, 165, 74, .35);
  border-radius: 50%;
  color: var(--gold-strong);
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 700;
  background: rgba(220, 165, 74, .08);
}

.pipeline-step::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 720ms var(--ease);
}

.is-visible .pipeline-step::after {
  transform: scaleX(1);
}

.pipeline-step strong {
  display: block;
  margin-bottom: .55rem;
  color: var(--ink-strong);
  font-family: var(--font-display);
  line-height: 1.1;
}

.pipeline-step span {
  color: #d6cebf;
  font-size: .92rem;
  line-height: 1.48;
}

.pipeline-step.risk {
  border-color: var(--gold-line);
  background: rgba(220, 165, 74, .08);
}

.pipeline-step:nth-child(7) {
  grid-column: 1 / -1;
  min-height: 118px;
}

.pipeline-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  align-items: start;
  margin-top: 1rem;
  color: #cfc7b8;
  font-size: .94rem;
}

.pipeline-note::before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 3px, transparent 4px);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 1.1rem;
  align-items: stretch;
}

.maturity-panel,
.infra-diagram,
.command-diagram {
  padding: clamp(22px, 3vw, 32px);
  color: var(--ink);
}

.radar-wrap {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.radar-chart {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.radar-chart svg {
  width: min(100%, 310px);
  height: auto;
  overflow: visible;
}

.radar-grid-line {
  fill: none;
  stroke: rgba(232, 224, 208, .16);
  stroke-width: 1;
}

.radar-axis {
  stroke: rgba(232, 224, 208, .16);
  stroke-width: 1;
}

.radar-current {
  fill: rgba(220, 165, 74, .16);
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linejoin: round;
}

.radar-target {
  fill: rgba(69, 176, 128, .1);
  stroke: rgba(69, 176, 128, .75);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}

.domain-list {
  display: grid;
  gap: .55rem;
}

.domain-list div {
  display: grid;
  grid-template-columns: 1fr 4.5rem;
  gap: .8rem;
  align-items: center;
  color: var(--ink);
  font-size: .9rem;
}

.score-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(232, 224, 208, .12);
}

.score-track span {
  display: block;
  width: var(--score, 50%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.infra-layers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: .9rem;
}

.layer-stack {
  display: grid;
  gap: .55rem;
}

.infra-layer {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: .75rem;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  background: rgba(10, 9, 8, .5);
  padding: .65rem .75rem;
}

.infra-layer i {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-xs);
  background: rgba(220, 165, 74, .08);
}

.infra-layer span {
  color: var(--ink);
  font-weight: 700;
}

.infra-layer small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .7rem;
}

.control-stack {
  display: grid;
  gap: .55rem;
}

.control-stack span {
  display: grid;
  place-items: center;
  min-height: 43px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  color: var(--gold-strong);
  background: rgba(220, 165, 74, .07);
  text-align: center;
  font-size: .78rem;
}

.command-layout {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(240px, 1.25fr);
  gap: 1rem;
  align-items: stretch;
}

.data-sources,
.operator-desk {
  display: grid;
  gap: .65rem;
}

.data-sources div,
.operator-desk div,
.videowall {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  background: rgba(10, 9, 8, .62);
  color: #d5cdbc;
  padding: .85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

.operator-desk {
  color: var(--ink);
}

.command-diagram .videowall,
.command-diagram .data-sources div,
.command-diagram .operator-desk div {
  color: #d5cdbc;
}

.videowall {
  min-height: 190px;
}

.wall-grid {
  height: 100%;
  min-height: 156px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: .45rem;
}

.wall-grid span {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-xs);
  background:
    linear-gradient(135deg, rgba(220, 165, 74, .22), transparent 45%),
    rgba(255, 255, 255, .045);
}

.command-label {
  display: block;
  margin-bottom: .35rem;
  color: var(--gold-strong);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  padding: 1.35rem;
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.product-card p {
  color: var(--muted);
}

.product-card .link-arrow {
  margin-top: auto;
}

.product-visual {
  height: 150px;
  margin: 0 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(10, 9, 8, .48);
  overflow: hidden;
}

.sonar-visual,
.nis2-visual,
.deal-visual {
  position: relative;
  height: 100%;
}

.sonar-visual::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 24px, rgba(220, 165, 74, .9) 25px 28px, transparent 29px 39px, rgba(232, 224, 208, .35) 40px 43px, transparent 44px 54px, rgba(220, 165, 74, .65) 55px 59px, transparent 60px);
}

.sonar-list {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 52%;
  display: grid;
  gap: .45rem;
}

.sonar-list span,
.deal-pipe span {
  height: 9px;
  border-radius: 999px;
  background: rgba(232, 224, 208, .16);
}

.sonar-list span:nth-child(2),
.deal-pipe span:nth-child(2) {
  width: 82%;
  background: rgba(220, 165, 74, .36);
}

.sonar-list span:nth-child(3) {
  width: 68%;
}

.nis2-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  padding: 22px;
}

.nis2-grid span {
  aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(232, 224, 208, .13);
}

.nis2-grid span:nth-child(3n),
.nis2-grid span:nth-child(7n) {
  background: rgba(220, 165, 74, .54);
}

.nis2-score {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--gold-strong);
  font-family: var(--font-mono);
  font-size: .82rem;
}

.deal-pipe {
  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem;
  padding: 22px;
}

.deal-visual::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 24px;
  height: 46px;
  border: 1px solid rgba(220, 165, 74, .36);
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0 20%, rgba(220, 165, 74, .42) 20% 36%, transparent 36% 64%, rgba(232, 224, 208, .2) 64% 100%);
}

.results-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .12);
}

.results-strip article {
  background: rgba(10, 9, 8, .5);
  padding: 1.35rem;
}

.results-strip strong {
  display: block;
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.results-strip span {
  display: block;
  margin-top: .5rem;
  color: var(--muted);
}

.flow-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem;
}

.flow-diagram span {
  position: relative;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: rgba(220, 165, 74, .09);
  color: inherit;
  padding: .58rem .82rem;
  font-weight: 700;
  font-size: .86rem;
}

.flow-diagram span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -.72rem;
  top: 50%;
  width: .75rem;
  height: 1px;
  background: var(--gold-line);
}

.security-visual {
  min-height: 360px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at center, rgba(220, 165, 74, .16), transparent 38%),
    linear-gradient(145deg, #0a0908, #18202a);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.security-visual::before,
.security-visual::after {
  content: "";
  position: absolute;
  inset: 68px;
  border: 1px solid rgba(220, 165, 74, .28);
  border-radius: 50%;
}

.security-visual::after {
  inset: 122px;
  border-color: rgba(232, 224, 208, .12);
}

.shield {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: var(--radius-lg);
  background: var(--gold);
  color: #15110a;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
}

.check-list {
  list-style: none;
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .55rem;
  height: .55rem;
  background: var(--gold);
}

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

.tool-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.tool-card .link-arrow {
  margin-top: auto;
}

.method-list {
  list-style: none;
  counter-reset: m;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: .9rem;
  padding: 0;
  margin: 2rem 0 0;
}

.method-list li {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  padding: 1.1rem;
}

.method-list span,
.method-card span {
  color: var(--gold-strong);
  font-family: var(--font-mono);
  font-weight: 600;
}

.method-list strong {
  display: block;
  margin: .85rem 0 .4rem;
  color: var(--ink-strong);
  font-family: var(--font-display);
}

.method-list p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

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

.method-card h2 {
  font-size: 1.55rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.metrics-grid div {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  padding: 1.25rem;
}

.metrics-grid strong {
  display: block;
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: 2rem;
}

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

.final-cta-box {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .055);
  box-shadow: var(--shadow);
  padding: clamp(34px, 6vw, 68px);
}

.final-cta-box p {
  max-width: 720px;
  margin-inline: auto;
}

.button-row.center {
  justify-content: center;
}

.service-visual {
  min-height: 300px;
  display: grid;
  align-content: center;
  gap: 1.4rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .055);
  padding: 2rem;
}

.service-visual > span {
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.product-section:nth-of-type(odd) {
  background: var(--paper-2);
}

.product-panel h3 {
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border: 1px solid rgba(26, 24, 22, .12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 3vw, 34px);
}

.contact-form label,
.calculator label {
  display: grid;
  gap: .45rem;
  color: var(--text-dark);
  font-weight: 700;
  font-size: .92rem;
}

.contact-form label:nth-child(5),
.contact-form label:nth-child(6),
.contact-form p,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-direct {
  display: grid;
  gap: .85rem;
  margin-top: 1.6rem;
}

.contact-direct p {
  display: grid;
  gap: .1rem;
  margin: 0;
}

.contact-direct strong {
  color: #7d5f27;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .07);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 1.5rem;
}

.calculator .calculator-result,
.calculator .full {
  grid-column: 1 / -1;
}

.calculator-result {
  border-radius: var(--radius-lg);
  background: rgba(10, 9, 8, .72);
  color: var(--ink);
  padding: 1.2rem;
}

.calculator-result span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
}

.calculator-result strong {
  display: block;
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1.05;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #070604;
  color: var(--ink);
  padding: 64px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: clamp(24px, 5vw, 52px);
}

.footer-brand img {
  width: 176px;
  margin-bottom: 1.1rem;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin-bottom: 1rem;
  font-size: .98rem;
  letter-spacing: 0;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
}

.site-footer a,
.site-footer li,
.site-footer p {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--gold-strong);
}

.small {
  font-size: .88rem;
}

.muted {
  color: var(--text-muted-dark) !important;
}

.dark-section .muted,
.hero .muted {
  color: var(--muted) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--dim);
  font-size: .86rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.prose p {
  color: var(--text-muted-dark);
}

.architecture-card h3,
.quote-card p {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
}

.quote-card {
  background: var(--surface);
  color: var(--ink);
}

.quote-card p {
  color: var(--ink);
  margin: 0;
}

.internal-hero .btn {
  margin-top: 1rem;
}

code {
  border: 1px solid rgba(42, 40, 32, .16);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, .54);
  color: inherit;
  padding: .14rem .32rem;
  font-family: var(--font-mono);
  font-size: .88em;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.js [data-reveal]:not(.is-visible) {
  opacity: .82;
  transform: translateY(12px);
}

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

[data-reveal-delay="1"] {
  transition-delay: 90ms;
}

[data-reveal-delay="2"] {
  transition-delay: 160ms;
}

[data-reveal-delay="3"] {
  transition-delay: 230ms;
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-open .mobile-panel {
    display: block;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .diagnostic-grid,
  .service-ledger {
    grid-template-columns: 1fr;
  }

  .calculator-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 16ch;
  }

  .hero-calculator {
    max-width: 820px;
  }

  .hero-system {
    max-width: 820px;
  }

  .system-frame {
    min-height: 500px;
  }

  .service-row {
    grid-template-columns: minmax(140px, .34fr) minmax(0, .66fr) auto;
  }

  .process-track,
  .product-grid,
  .cards.three,
  .cards.four,
  .service-grid,
  .tools-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calc-layout,
  .efficiency-result-grid,
  .calculator-cta {
    grid-template-columns: 1fr;
  }

  .calculator-cta {
    display: grid;
  }

  .radar-wrap,
  .infra-layers,
  .command-layout {
    grid-template-columns: 1fr;
  }

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

  .pipeline-step:nth-child(5),
  .pipeline-step:nth-child(6),
  .pipeline-step:nth-child(7) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .container,
  .narrow {
    width: min(100% - 28px, var(--container));
  }

  body {
    background-size: auto;
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand img {
    width: 142px;
  }

  .nav-actions .btn {
    display: none;
  }

  .home-hero {
    min-height: auto;
    padding: 54px 0 50px;
  }

  .internal-hero {
    padding: 62px 0 54px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.28rem, 10vw, 2.8rem);
  }

  .internal-hero h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9vw, 2.65rem);
  }

  .hero-copy .lead {
    font-size: 1.06rem;
  }

  .calculator-hero {
    padding-top: 48px;
  }

  .calculator-hero .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.18rem, 9.4vw, 2.72rem);
  }

  .calculator-hero .hero-actions {
    margin-top: 1.25rem;
  }

  .calculator-hero .full-calculator {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }

  .calculator-hero .widget-header {
    gap: .35rem;
    margin-bottom: .85rem;
  }

  .calculator-hero .widget-header h2 {
    font-size: 1.42rem;
  }

  .calculator-hero .widget-header p {
    font-size: .94rem;
    line-height: 1.5;
  }

  .hero-evidence {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .process-map-header {
    display: grid;
  }

  .process-track,
  .product-grid,
  .cards.two,
  .cards.three,
  .cards.four,
  .service-grid,
  .tools-grid,
  .method-grid,
  .footer-grid,
  .contact-form,
  .calculator,
  .metrics-grid,
  .results-strip,
  .efficiency-controls,
  .calc-controls,
  .hero-calculator .calc-controls {
    grid-template-columns: 1fr;
  }

  .calculator-hero .calc-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
  }

  .calculator-hero .calc-control {
    font-size: .8rem;
  }

  .calculator-hero .calc-control span {
    display: grid;
    gap: .15rem;
  }

  .calculator-hero .calc-result {
    margin: .55rem 0;
    padding: .95rem;
    border-radius: var(--radius);
  }

  .calculator-hero .calc-result strong {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }

  .calculator-hero .calc-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator-hero .calc-kpis article {
    padding: .72rem;
  }

  .calculator-hero .calc-kpis span {
    font-size: .7rem;
  }

  .calculator-hero .calc-kpis strong {
    font-size: .9rem;
  }

  .calculator-hero .formula-note,
  .calculator-hero .calculator-cta {
    display: none;
  }

  .system-frame {
    min-height: auto;
    display: grid;
    gap: .8rem;
    padding: 1rem;
    border-radius: var(--radius-xl);
  }

  .system-frame::before,
  .system-frame::after,
  .system-orbit {
    display: none;
  }

  .system-core,
  .system-node {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: auto;
    transform: none;
    border-radius: var(--radius);
  }

  .system-core {
    min-height: 110px;
  }

  .system-node span {
    font-size: 1.08rem;
  }

  .system-ledger {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form label:nth-child(5),
  .contact-form label:nth-child(6),
  .contact-form p,
  .contact-form button,
  .calculator .calculator-result,
  .calculator .full {
    grid-column: auto;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
  }

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

  .service-row {
    grid-template-columns: 1fr auto;
  }

  .service-row span,
  .service-row p {
    grid-column: 1 / -1;
  }

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

  .flow-diagram {
    justify-content: flex-start;
  }

  .flow-diagram span:not(:last-child)::after {
    display: none;
  }

  .waterfall-row {
    grid-template-columns: 4.8rem minmax(0, 1fr) 3.6rem;
  }

  .final-cta-box {
    text-align: left;
  }

  .button-row.center {
    justify-content: stretch;
  }

  .footer-bottom {
    display: grid;
  }

  .mega-menu {
    display: none;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
