:root {
  color-scheme: dark;
  --bg: #07100d;
  --bg-deep: #040906;
  --surface: #0b1611;
  --surface-raised: #101d17;
  --surface-soft: #0d1914;
  --text: #eef7f1;
  --muted: #9cafa5;
  --subtle: #91a499;
  --line: #21352b;
  --line-strong: #365044;
  --accent: #21efa0;
  --green: var(--accent);
  --green-dark: #062f20;
  --green-soft: rgba(33, 239, 160, 0.1);
  --error: #ff6546;
  --blocked: var(--error);

  --control-border: #687b73;
  --focus: #21efa0;
  --on-accent: #03160e;
  --accent-hover: #62ffc1;
  --text-secondary: #c7d3cc;
  --header-bg: rgba(7,16,13,.88);
  --menu-bg: #0c1712;
  --field-bg: #08110d;
  --section-bg: rgba(3,9,6,.42);
  --strip-bg: rgba(4,10,7,.34);
  --map-bg: rgba(5,13,9,.86);
  --ambient: rgba(24,128,82,.13);
  --accent-tint: rgba(33,239,160,.07);
  --ambient-strong: rgba(33,239,160,.12);
  --error-tint: rgba(255,101,70,.08);
  --max: 1220px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F3EF;
  --bg-deep: #EAE7E1;
  --surface: #FCFBF8;
  --surface-raised: #fff;
  --surface-soft: #EEEFE9;
  --text: #19232C;
  --muted: #52615D;
  --subtle: #5B6964;
  --line: #D7DDD6;
  --line-strong: #B8C3BB;
  --accent: #276E68;
  --green-dark: #E3EDEA;
  --green-soft: rgba(39,110,104,.08);
  --error: #A52F27;
  --control-border: #72857C;
  --focus: #276E68;
  --on-accent: #fff;
  --accent-hover: #205C57;
  --text-secondary: #34443F;
  --header-bg: rgba(245,243,239,.94);
  --menu-bg: #FCFBF8;
  --field-bg: #fff;
  --section-bg: #EEEFE9;
  --strip-bg: #EAEDE6;
  --map-bg: #EEEFE9;
  --ambient: rgba(39,110,104,.05);
  --accent-tint: rgba(39,110,104,.05);
  --ambient-strong: rgba(39,110,104,.07);
  --error-tint: rgba(165,47,39,.07);
  --shadow: 0 24px 60px rgba(25,35,44,.06);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
  color-scheme: light;
  --bg: #F5F3EF;
  --bg-deep: #EAE7E1;
  --surface: #FCFBF8;
  --surface-raised: #fff;
  --surface-soft: #EEEFE9;
  --text: #19232C;
  --muted: #52615D;
  --subtle: #5B6964;
  --line: #D7DDD6;
  --line-strong: #B8C3BB;
  --accent: #276E68;
  --green-dark: #E3EDEA;
  --green-soft: rgba(39,110,104,.08);
  --error: #A52F27;
  --control-border: #72857C;
  --focus: #276E68;
  --on-accent: #fff;
  --accent-hover: #205C57;
  --text-secondary: #34443F;
  --header-bg: rgba(245,243,239,.94);
  --menu-bg: #FCFBF8;
  --field-bg: #fff;
  --section-bg: #EEEFE9;
  --strip-bg: #EAEDE6;
  --map-bg: #EEEFE9;
  --ambient: rgba(39,110,104,.05);
  --accent-tint: rgba(39,110,104,.05);
  --ambient-strong: rgba(39,110,104,.07);
  --error-tint: rgba(165,47,39,.07);
  --shadow: 0 24px 60px rgba(25,35,44,.06);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-width: 280px;
  background:
    radial-gradient(circle at 82% 2%, var(--ambient), transparent 28rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg, canvas { max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { color: var(--on-accent); background: var(--green); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 20px;
  padding: 12px 16px;
  color: var(--on-accent);
  background: var(--green);
  font-weight: 750;
}
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 820px); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-strong);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 15px; min-width: max-content; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font: 800 15px/1 var(--mono);
  letter-spacing: -0.08em;
  background: linear-gradient(145deg, var(--accent-tint), transparent 64%);
}
.brand-mark b { color: var(--green); }
.brand-copy { display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; font-weight: 720; }
.brand-copy span { color: var(--subtle); font: 10px/1.5 var(--mono); letter-spacing: 0.055em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 31px); margin-left: auto; }
.primary-nav > a { flex: 0 0 auto; color: var(--muted); font-size: 13px; font-weight: 630; white-space: nowrap; transition: color 160ms ease; }
.primary-nav > a:hover, .primary-nav > a[aria-current="page"] { color: var(--text); }
.primary-nav > a[aria-current="page"] { position: relative; }
.primary-nav > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -28px; height: 2px; background: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: border-color 160ms, color 160ms; }
.header-cta:hover { color: var(--green); border-color: var(--green); }
.language { position: relative; }
.language summary {
  min-width: 49px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  font: 700 11px/1 var(--mono);
}
.language summary::-webkit-details-marker { display: none; }
.language summary::after { content: "⌄"; color: var(--green); font-size: 11px; }
.language[open] summary { border-color: var(--line-strong); color: var(--text); }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--menu-bg);
  box-shadow: var(--shadow);
}
.language-menu a { display: flex; justify-content: space-between; gap: 24px; padding: 10px 11px; border-radius: 3px; color: var(--muted); font-size: 13px; }
.language-menu a span { color: var(--subtle); font: 11px var(--mono); }
.language-menu a:hover, .language-menu a[aria-current="true"] { color: var(--text); background: var(--green-soft); }
.nav-toggle { display: none; width: 43px; height: 42px; border: 1px solid var(--line); border-radius: 4px; background: transparent; padding: 0; cursor: pointer; }
.nav-toggle > span:first-child, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; transition: transform 180ms, opacity 180ms; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* Type and reusable elements */
.eyebrow, .section-index, .card-kicker, .meta-label, .status-pill, .tag {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--muted); font-size: 11px; }
.eyebrow::before { content: "+"; color: var(--green); font-size: 18px; line-height: 1; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; }
h1 { font-size: clamp(46px, 6.4vw, 93px); line-height: 0.99; font-weight: 660; }
h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.08; font-weight: 620; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 660; }
.accent { color: var(--green); }
.lede { color: var(--muted); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.65; }
.section-intro { max-width: 780px; margin-bottom: clamp(35px, 5vw, 64px); }
.section-intro .section-index { display: block; margin-bottom: 17px; color: var(--green); font-size: 11px; }
.section-intro p { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 0 21px; border: 1px solid var(--line-strong); border-radius: 4px; background: transparent; color: var(--text); font-size: 14px; font-weight: 730; cursor: pointer; transition: transform 160ms, color 160ms, background 160ms, border-color 160ms; }
.link-icon { flex: none; font-family: var(--mono); }
.button:hover { color: var(--green); border-color: var(--green); }
.button-primary { border-color: var(--green); background: var(--green); color: var(--on-accent); }
.button-primary:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.text-link .link-icon { color: var(--accent); }
.text-link:hover { color: var(--green); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 10px; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }

/* Home hero */
.home-hero { position: relative; border-bottom: 1px solid var(--line); }
.home-hero-grid { min-height: 720px; display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr); align-items: stretch; gap: clamp(25px, 3.8vw, 64px); }
.home-hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; padding: 72px 0 56px; }
.home-hero h1 { max-width: 680px; }
.home-hero .lede { max-width: 620px; margin: 27px 0 0; }

/* Armenian needs its own measure: its words are wider than the English source copy. */
html[lang="hy"] .primary-nav { gap: clamp(13px, 1.35vw, 21px); }
html[lang="hy"] .primary-nav > a,
html[lang="hy"] .header-cta { font-size: 12px; }
html[lang="hy"] .header-cta { padding-inline: 13px; }
html[lang="hy"] .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr); gap: clamp(26px, 3.2vw, 48px); }
html[lang="hy"] .home-hero h1 {
  max-width: 600px;
  font-size: clamp(47px, 4.15vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
html[lang="hy"] .eyebrow,
html[lang="hy"] .section-index,
html[lang="hy"] .card-kicker,
html[lang="hy"] .meta-label,
html[lang="hy"] .status-pill,
html[lang="hy"] .tag,
html[lang="hy"] .stage-top,
html[lang="hy"] .stage-bottom,
html[lang="hy"] .brand-copy > span,
html[lang="hy"] .page-hero-aside > span,
html[lang="hy"] .footer-col > span {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: none;
}
html[lang="hy"] .page-hero-grid > * { min-width: 0; }
html[lang="hy"] .page-hero h1 {
  overflow-wrap: break-word;
  font-size: clamp(41px, 5vw, 70px);
  line-height: 1.07;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 31px; }
.replay-control { display: grid; place-items: center; width: 49px; height: 49px; border: 1px solid var(--line-strong); border-radius: 4px; background: transparent; color: var(--muted); cursor: pointer; }
.replay-control:hover { color: var(--green); border-color: var(--green); }
.hero-note { max-width: 520px; margin: 16px 0 0; color: var(--subtle); font: 11px/1.6 var(--mono); }
.hero-stage-wrap { min-width: 0; display: flex; align-items: center; padding: 38px 0; }
.hero-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: min(650px, calc(100svh - 118px));
  min-height: 560px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  border-right: 1px solid rgba(33, 53, 43, 0.35);
  background:
    linear-gradient(180deg, rgba(33, 239, 160, 0.025), transparent 24%),
    rgba(3, 10, 7, 0.32);
  touch-action: pan-y;
}
.hero-stage::before { content: ""; position: absolute; z-index: -2; inset: 7%; background-image: radial-gradient(rgba(104, 145, 124, 0.27) 0.65px, transparent 0.8px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse, #000 8%, transparent 70%); mask-image: radial-gradient(ellipse, #000 8%, transparent 70%); }
.hero-stage::after { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg), transparent 12%, transparent 90%, var(--bg)), linear-gradient(0deg, var(--bg), transparent 8%, transparent 92%, var(--bg)); }
.hero-stage canvas { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; }
.stage-top, .stage-bottom { position: absolute; z-index: 4; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--subtle); font: 10px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; }
.stage-top { top: 22px; }
.stage-bottom { bottom: 20px; align-items: flex-end; }
.scene-mode { color: var(--muted); text-align: right; }
.scene-caption { max-width: 300px; text-transform: none; letter-spacing: 0; line-height: 1.55; }
.signal-readout { display: inline-flex; align-items: center; gap: 8px; color: var(--blocked); white-space: nowrap; }
.signal-readout::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px var(--error-tint); }
.hero-experience[data-signal="resolving"] .signal-readout { color: #e7c762; }
.hero-experience[data-signal="flowing"] .signal-readout { color: var(--green); }
.motion-toggle { pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; padding: 7px 0 7px 10px; border: 0; background: transparent; color: var(--subtle); font: 10px var(--mono); cursor: pointer; }
.motion-toggle:hover { color: var(--text); }
.stage-controls { display: flex; align-items: center; gap: 14px; pointer-events: auto; }
.scene-label { position: absolute; z-index: 3; opacity: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); text-shadow: 0 2px 8px #000; font: 9px var(--mono); letter-spacing: 0.06em; white-space: nowrap; pointer-events: none; }
.scene-label::before { content: ""; width: 17px; height: 1px; background: currentColor; }
.result-seal { position: absolute; z-index: 5; left: 50%; bottom: 11.5%; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(33, 239, 160, 0.32); border-radius: 3px; background: rgba(7, 26, 17, 0.92); color: var(--green); opacity: 0; transform: translate(-50%, 10px); transition: opacity 500ms, transform 500ms; font: 10px var(--mono); letter-spacing: 0.07em; white-space: nowrap; }
.hero-experience[data-state="done"] .result-seal { opacity: 1; transform: translate(-50%, 0); }
.experience-status { margin-top: 38px; min-height: 96px; padding-left: 16px; border-left: 1px solid var(--line-strong); }
.experience-status .meta-label { display: block; color: var(--subtle); font-size: 10px; }
.experience-status strong { display: block; margin-top: 8px; font-size: 15px; font-weight: 660; }
.experience-status p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.hero-experience[data-state="done"] .experience-status { border-left-color: var(--green); }
.process-strip { border-bottom: 1px solid var(--line); background: var(--strip-bg); }
.process-strip-inner { display: grid; grid-template-columns: 180px 1fr; gap: 38px; padding: 27px 0 29px; }
.process-label span { display: block; color: var(--green); font: 10px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.process-label p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.hero-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; list-style: none; margin: 0; padding: 0; }
.hero-step-head { display: flex; justify-content: space-between; color: var(--subtle); font: 10px var(--mono); }
.hero-step strong { display: block; margin-top: 8px; color: var(--text-secondary); font-size: 13px; }
.hero-step p { margin: 3px 0 11px; color: var(--subtle); font-size: 11px; line-height: 1.5; }
.step-track { height: 1px; overflow: hidden; background: var(--line); }
.step-track i { display: block; width: 100%; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.hero-step.active .hero-step-head, .hero-step.complete .hero-step-head, .hero-step.active strong { color: var(--green); }

/* Sections */
.section { padding: clamp(76px, 9vw, 124px) 0; border-bottom: 1px solid var(--line); }
.section-dark { background: var(--section-bg); }
.problem-grid, .service-grid, .principle-grid, .project-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.problem-grid { grid-template-columns: repeat(4, 1fr); }
.problem-card { min-height: 250px; padding: 27px; background: var(--surface); }
.problem-card .card-kicker { color: var(--blocked); font-size: 9px; }
.problem-card h3 { margin-top: 37px; }
.problem-card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.problem-card .symptom { display: block; margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--subtle); font: 10px/1.5 var(--mono); }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { position: relative; min-height: 405px; padding: 31px; background: var(--surface); overflow: hidden; }
.service-card::after { content: attr(data-number); position: absolute; right: 18px; bottom: 1px; color: rgba(108, 142, 123, 0.09); font: 700 90px/1 var(--mono); letter-spacing: -0.1em; }
.service-card .card-kicker { color: var(--green); font-size: 10px; }
.service-card h3 { max-width: 280px; margin-top: 40px; font-size: 25px; }
.service-card > p { margin: 15px 0 0; color: var(--muted); font-size: 15px; }
.service-card ul { position: relative; z-index: 1; margin: 25px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 7px 0 7px 18px; color: var(--text-secondary); font-size: 13px; }
.service-card li::before { content: "+"; position: absolute; margin-left: -18px; color: var(--green); font-family: var(--mono); }
.section-actions, .page-actions, .cta-panel .actions { margin-top: 28px; }
.featured-case { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr); border: 1px solid var(--line-strong); background: linear-gradient(125deg, var(--accent-tint), transparent 52%), var(--surface); box-shadow: var(--shadow); }
.featured-case-copy { padding: clamp(32px, 5vw, 62px); }
.featured-case-copy .card-kicker { color: var(--green); font-size: 10px; }
.featured-case-title { max-width: 660px; margin-top: 22px; font-size: clamp(29px, 3.6vw, 49px); }
.featured-case-copy > p { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 16px; }
.featured-case .actions { margin-top: 31px; }
.case-map { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-left: 1px solid var(--line); }
.case-map-item { display: flex; flex-direction: column; justify-content: space-between; min-height: 154px; padding: 21px; background: var(--map-bg); }
.case-map-item span { color: var(--subtle); font: 9px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.case-map-item strong { max-width: 150px; font-size: 13px; font-weight: 650; }
.project-grid { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
.project-card { padding: 30px; background: var(--surface); }
.project-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.project-card .card-kicker { color: var(--green); font-size: 9px; }
.project-card h3 { margin-top: 28px; font-size: 26px; }
.project-card p { margin: 13px 0 0; color: var(--muted); font-size: 14px; }
.project-card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 23px 0 27px; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.process-grid::before { content: ""; position: absolute; top: 19px; left: 3%; right: 3%; height: 1px; background: var(--line-strong); }
.process-card { position: relative; padding: 0 clamp(16px, 2vw, 28px); }
.process-card:first-child { padding-left: 0; }
.process-card:last-child { padding-right: 0; }
.process-node { position: relative; display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg); color: var(--green); font: 10px var(--mono); }
.process-card h3 { margin-top: 28px; }
.process-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.principle-grid { grid-template-columns: repeat(4, 1fr); }
.principle-grid.three-grid, .principle-grid.evidence-grid { grid-template-columns: repeat(3, 1fr); }
.principle-card { min-height: 250px; padding: 26px; background: var(--surface); }
.principle-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); color: var(--green); font: 15px var(--mono); }
.principle-card h3 { margin-top: 29px; }
.principle-card p { margin: 11px 0 0; color: var(--muted); font-size: 14px; }
.about-split { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr); gap: clamp(46px, 8vw, 112px); align-items: start; }
.about-statement { font-size: clamp(24px, 3.2vw, 42px); line-height: 1.28; letter-spacing: -0.035em; }
.about-body p { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.about-body .actions { margin-top: 31px; }
.cta-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr); gap: 48px; padding: clamp(35px, 6vw, 72px); border: 1px solid var(--line-strong); background: radial-gradient(circle at 90% 20%, var(--ambient-strong), transparent 40%), var(--surface); }
.cta-panel p { max-width: 620px; margin: 20px 0 0; color: var(--muted); }
.cta-details { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.cta-detail { padding: 15px 0; border-bottom: 1px solid var(--line); }
.cta-detail span { display: block; color: var(--subtle); font: 9px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.cta-detail strong { display: block; margin-top: 5px; font-size: 14px; }

/* Inner pages */
.page-hero { padding: clamp(76px, 10vw, 136px) 0 clamp(58px, 8vw, 102px); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: clamp(40px, 8vw, 110px); align-items: end; }
.page-hero h1 { max-width: 900px; font-size: clamp(45px, 6.2vw, 88px); }
.page-hero .lede { max-width: 760px; margin: 26px 0 0; }
.page-hero-aside { padding: 24px 0 5px 27px; border-left: 1px solid var(--line-strong); }
.page-hero-aside span { display: block; color: var(--subtle); font: 9px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.page-hero-aside strong { display: block; margin-top: 8px; font-size: 15px; }
.page-hero-aside p { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.service-detail { display: grid; grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr); gap: clamp(42px, 8vw, 112px); padding: 62px 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail:last-child { padding-bottom: 0; }
.service-detail .card-kicker { color: var(--green); font-size: 10px; }
.service-detail h2 { margin-top: 15px; font-size: clamp(29px, 3.7vw, 46px); }
.service-detail-copy > p { margin: 0; color: var(--muted); font-size: 16px; }
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 27px; }
.deliverable { padding: 17px; border: 1px solid var(--line); background: var(--surface); color: var(--text-secondary); font-size: 13px; }
.deliverable::before { content: "+"; margin-right: 9px; color: var(--green); font-family: var(--mono); }
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fit-card { padding: 31px; background: var(--surface); }
.fit-card h3 { display: flex; align-items: center; gap: 10px; }
.fit-card h3::before { content: "+"; color: var(--green); font-family: var(--mono); }
.fit-card.not-fit h3::before { content: "−"; color: var(--blocked); }
.fit-card ul { margin: 22px 0 0; padding-left: 20px; color: var(--muted); }
.fit-card li + li { margin-top: 9px; }

/* Case studies */
.case-hero-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.case-meta-item { min-height: 112px; padding: 19px; background: var(--surface); }
.case-meta-item span { color: var(--subtle); font: 9px var(--mono); letter-spacing: 0.07em; text-transform: uppercase; }
.case-meta-item strong { display: block; margin-top: 11px; font-size: 13px; line-height: 1.45; }
.case-layout { display: grid; grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr); gap: clamp(42px, 8vw, 110px); }
.case-side { position: sticky; top: 112px; align-self: start; }
.case-side .card-kicker { color: var(--green); font-size: 10px; }
.case-side h2 { margin-top: 18px; font-size: clamp(28px, 3.6vw, 44px); }
.case-content h3 { margin: 0 0 14px; font-size: 25px; }
.case-content p { margin: 0 0 27px; color: var(--muted); font-size: 16px; }
.case-content ul { margin: 0 0 32px; padding: 0; list-style: none; }
.case-content li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); color: var(--text-secondary); }
.case-content li::before { content: "+"; position: absolute; left: 0; color: var(--green); font-family: var(--mono); }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.module-card { min-height: 215px; padding: 25px; background: var(--surface); }
.module-card > span { color: var(--green); font: 9px var(--mono); letter-spacing: .08em; }
.module-card h3 { margin-top: 30px; }
.module-card p { margin: 11px 0 0; color: var(--muted); font-size: 14px; }
.architecture-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0 42px; }
.architecture-node { position: relative; min-height: 130px; padding: 18px; border: 1px solid var(--line-strong); background: var(--surface); }
.architecture-node:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 50%; z-index: 2; color: var(--green); font-family: var(--mono); transform: translateY(-50%); }
.architecture-node span { color: var(--green); font: 9px var(--mono); letter-spacing: 0.08em; }
.architecture-node strong { display: block; margin-top: 14px; font-size: 13px; }
.evidence-note { padding: 22px; border-left: 2px solid var(--green); background: var(--green-soft); color: var(--muted); font-size: 14px; }

/* Insights */
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.insight-card { min-height: 310px; padding: 29px; border: 1px solid var(--line); background: var(--surface); }
.insight-card .card-kicker { color: var(--green); font-size: 9px; }
.insight-card h2 { margin-top: 35px; font-size: 29px; }
.insight-card p { margin: 14px 0 27px; color: var(--muted); font-size: 14px; }
.article { padding: clamp(70px, 9vw, 118px) 0; }
.article h2 { margin: 58px 0 18px; font-size: clamp(28px, 3.6vw, 42px); }
.article h2:first-child { margin-top: 0; }
.article h3 { margin: 34px 0 12px; }
.article p, .article li { color: var(--muted); font-size: 17px; }
.article ul, .article ol { padding-left: 24px; }
.article li + li { margin-top: 9px; }
.article-note { margin: 35px 0; padding: 23px; border-left: 2px solid var(--green); background: var(--green-soft); }
.article-note p { margin: 0; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr); gap: clamp(45px, 8vw, 110px); }
.contact-intro h2 { font-size: clamp(31px, 4vw, 52px); }
.contact-intro > p { margin: 19px 0 0; color: var(--muted); }
.contact-links { margin-top: 34px; }
.contact-links a { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-links span { color: var(--subtle); font: 10px var(--mono); text-transform: uppercase; }
.contact-links strong { font-size: 13px; text-align: right; }
.project-form { padding: clamp(25px, 4vw, 42px); border: 1px solid var(--line-strong); background: var(--surface); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 19px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--text-secondary); font-size: 13px; font-weight: 650; }
.field label span { color: var(--subtle); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--control-border); border-radius: 3px; background: var(--field-bg); color: var(--text); padding: 13px 14px; outline: 0; }
.field input, .field select { min-height: 49px; }
.field textarea { min-height: 126px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--accent-tint); }
.field [aria-invalid="true"] { border-color: var(--blocked); box-shadow: 0 0 0 3px var(--error-tint); }
.field small { color: var(--subtle); font-size: 11px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 23px; }
.form-footer p { max-width: 360px; margin: 0; color: var(--subtle); font-size: 11px; }
.form-message { margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--line-strong); background: var(--green-soft); color: var(--text); font-size: 13px; }
.form-message.error { border-color: var(--error); background: var(--error-tint); }
.project-form .button[disabled] { opacity: 0.62; cursor: wait; transform: none; }

/* Footer */
.site-footer { padding: 52px 0 30px; background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: minmax(230px, 1.2fr) repeat(3, minmax(120px, 0.6fr)); gap: 40px; padding-bottom: 42px; }
.footer-brand p { max-width: 400px; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.footer-col span { display: block; margin-bottom: 14px; color: var(--subtle); font: 9px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin-top: 9px; color: var(--muted); font-size: 13px; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--subtle); font: 10px/1.6 var(--mono); }

/* Responsive */
@media (max-width: 1080px) {
  .brand-copy { display: none; }
  .primary-nav { gap: 18px; }
  .home-hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr); }
  .home-hero h1 { font-size: clamp(47px, 6.6vw, 72px); }
  .problem-grid, .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, 0.7fr); }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 78px; }
  .container, .narrow { width: min(calc(100% - 36px), var(--max)); }
  .header-inner { height: 70px; }
  .nav-toggle { display: block; order: 3; }
  .header-cta { display: none; }
  .primary-nav {
    position: fixed;
    inset: 71px 0 auto;
    max-height: calc(100svh - 71px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 18px 26px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--menu-bg);
  }
  .primary-nav.open { display: flex; }
  .primary-nav > a { padding: 15px 6px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .primary-nav > a[aria-current="page"]::after { display: none; }
  .language { margin-left: auto; }
  .home-hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 0; }
  .home-hero-copy { padding: 74px 0 35px; }
  .home-hero h1 { font-size: clamp(47px, 10.2vw, 75px); }
  html[lang="hy"] .home-hero-grid { grid-template-columns: 1fr; }
  html[lang="hy"] .home-hero h1 { max-width: 690px; font-size: clamp(44px, 8vw, 62px); }
  .home-hero .lede { max-width: 680px; }
  .hero-stage-wrap { padding: 0 0 34px; }
  .hero-stage {
    /* The scene has its own layout box: it cannot cover the hero copy. */
    width: 100%;
    height: clamp(390px, 79vw, 520px);
    min-height: 0;
    border: 1px solid var(--line);
  }
  .process-strip-inner { grid-template-columns: 1fr; gap: 23px; }
  .process-label { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
  .process-label p { max-width: 360px; margin: 0; text-align: right; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .featured-case { grid-template-columns: 1fr; }
  .case-map { border-left: 0; border-top: 1px solid var(--line); }
  .page-hero-grid, .cta-panel, .about-split, .contact-layout { grid-template-columns: 1fr; }
  .page-hero-aside { max-width: 540px; }
  .service-detail, .case-layout { grid-template-columns: 1fr; }
  .case-side { position: static; }
  .architecture-flow { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid.three-grid, .principle-grid.evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .architecture-node:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 32px), var(--max)); }
  .brand-mark { width: 39px; height: 39px; }
  .language summary { min-width: 46px; }
  h1 { letter-spacing: -0.052em; }
  .home-hero-copy { padding-top: 57px; }
  .home-hero h1 { font-size: clamp(43px, 13.6vw, 67px); line-height: 1.01; }
  html[lang="hy"] .home-hero h1 { font-size: clamp(37px, 10.7vw, 48px); line-height: 1.1; letter-spacing: -0.03em; }
  .home-hero .lede { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-stage { height: clamp(350px, 105vw, 465px); }
  .stage-top, .stage-bottom { left: 14px; right: 14px; font-size: 8px; }
  .stage-top { top: 15px; }
  .stage-bottom { bottom: 14px; }
  .scene-caption { max-width: 178px; }
  .scene-label { display: none; }
  .result-seal { bottom: 13%; font-size: 8px; }
  .experience-status { margin-top: 28px; }
  .process-label { align-items: start; }
  .process-label p { max-width: 215px; font-size: 11px; }
  .hero-steps { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .problem-grid, .principle-grid, .project-grid, .insight-grid, .fit-grid { grid-template-columns: 1fr; }
  .principle-grid.three-grid, .principle-grid.evidence-grid, .module-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 0; }
  .featured-case-copy { padding: 29px 24px; }
  .case-map-item { min-height: 128px; }
  .process-grid { grid-template-columns: 1fr; gap: 29px; }
  .process-grid::before { top: 0; bottom: 0; left: 19px; right: auto; width: 1px; height: auto; }
  .process-card, .process-card:first-child, .process-card:last-child { display: grid; grid-template-columns: 41px 1fr; column-gap: 18px; padding: 0; }
  .process-node { grid-row: 1 / span 2; }
  .process-card h3 { margin-top: 3px; }
  .process-card p { grid-column: 2; }
  .deliverables { grid-template-columns: 1fr; }
  .architecture-flow { grid-template-columns: 1fr; }
  .architecture-node:not(:last-child)::after { content: "↓"; display: block; right: 50%; top: auto; bottom: -19px; transform: translateX(50%); }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 31px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}

@media (max-width: 390px) {
  .header-inner { gap: 8px; }
  .hero-stage { height: 335px; }
  .scene-caption { max-width: 145px; }
  .signal-readout { font-size: 0; gap: 0; }
  .motion-toggle { font-size: 0; }
  .case-map { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

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

@media print {
  .site-header, .motion-toggle, .nav-toggle, .hero-actions, .site-footer { display: none !important; }
  body { background: #fff; color: #111; }
  .section, .page-hero { border-color: #ccc; }
}

/* Systems Editorial V2.1: static presentation and progressive enhancement. */
[hidden] { display: none !important; }
.theme-toggle { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--control-border); border-radius: 3px; background: var(--surface); color: var(--text); cursor: pointer; font-size: 23px; }
.language summary, .nav-toggle { min-height: 44px; min-width: 44px; border-color: var(--control-border); }
.header-inner { gap: 18px; }
.header-actions { flex-shrink: 0; }
.button { max-width: 100%; white-space: normal; text-align: center; }
.case-figure { margin: 0; }
.case-diagram { display: block; width: 100%; height: auto; max-width: 1000px; margin-inline: auto; }
.systems-flow-wrap { padding-block: 28px; }
.systems-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 0; margin: 0; border: 1px solid var(--line-strong); background: var(--surface); }
.systems-flow li { position: relative; min-width: 0; padding: 20px 28px 20px 20px; overflow-wrap: anywhere; border-inline-start: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; font-size: 14px; }
.systems-flow li:first-child { border-inline-start: 0; }
.flow-connector { position: absolute; right: -8px; top: calc(50% - 12px); z-index: 1; color: var(--accent); background: var(--surface); }
.flow-number { flex: none; color: var(--accent); font: 11px var(--mono); }
.case-contents { margin-top: 20px; border-block: 1px solid var(--line); }
.case-contents summary { padding: 14px 0; cursor: pointer; font-weight: 650; }
.case-contents ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 16px; padding: 0; list-style: none; }
.case-contents a { display: inline-block; padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; color: var(--accent); }
.featured-case, .project-card, .insight-card { transition: border-color 160ms, background-color 160ms; }
.project-card { border: 1px solid var(--line); }
:is(.featured-case,.project-card,.insight-card):focus-within { border-color: var(--focus); background-color: var(--surface-raised); }
@media (hover: hover) and (pointer: fine) {
  :is(.featured-case,.project-card,.insight-card):hover { border-color: var(--control-border); background-color: var(--surface-raised); }
}
/* Renderer and its labels retain their approved dark palette under both page themes. */
.hero-stage {
  color-scheme: dark; color: #eef7f1; background-color: #07100d;
  --bg: #07100d; --text: #eef7f1; --muted: #9cafa5; --subtle: #91a499;
  --line: #21352b; --line-strong: #365044; --green: #21efa0;
  --accent: #21efa0; --focus: #21efa0; --blocked: #ff6546; --error-tint: rgba(255,101,70,.08);
}
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.container > *, .header-inner > *, .case-layout > *, .page-hero-grid > * { min-width: 0; }
.case-content, .contact-links, .cta-details, .project-card, .case-meta-item, .page-hero h1 { overflow-wrap: anywhere; }
@media (max-width: 1200px) { .header-cta { display: none; } }
@media (max-width: 960px) {
  .systems-flow { grid-template-columns: 1fr; }
  .flow-connector { top: auto; bottom: -12px; right: 24px; transform: rotate(90deg); }
  .systems-flow li { border: 0; border-bottom: 1px solid var(--line); }
  .header-inner { height: auto; min-height: 70px; flex-wrap: wrap; }
  .header-actions { margin-left: auto; }
  .primary-nav { position: static; display: flex; order: 3; width: 100%; max-height: none; padding: 0 0 16px; }
  .nav-toggle { display: none; }
  .site-header { position: relative; }
  .nav-enhanced .site-header { position: sticky; }
  .nav-enhanced .header-inner { height: 70px; flex-wrap: nowrap; }
  .nav-enhanced .nav-toggle { display: block; }
  .nav-enhanced .primary-nav { position: fixed; inset: 71px 0 auto; max-height: calc(100svh - 71px); display: none; padding: 16px 18px 26px; }
  .nav-enhanced .primary-nav.open { display: flex; }
}
@media (max-width: 620px) {
  .systems-flow { grid-template-columns: 1fr; }
  .systems-flow li { padding: 14px 18px; }
  .systems-flow li:last-child { border-bottom: 0; }
  .page-hero h1 { font-size: clamp(36px,10vw,58px); }
  .project-card-head { align-items: start; flex-wrap: wrap; }
  .case-hero-meta { grid-template-columns: 1fr; }
  .contact-links a { flex-wrap: wrap; }
  .contact-links strong { text-align: left; }
  .case-contents ul { flex-direction: column; gap: 0; }
}

/* ===== Website V2.2 — Operational Constellation + F Gh system monogram ===== */
.brand-mark {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
}
.brand-logo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-logo-light { display: none; }
:root[data-theme="light"] .brand-logo-dark { display: none; }
:root[data-theme="light"] .brand-logo-light { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .brand-logo-dark { display: none; }
  :root:not([data-theme]) .brand-logo-light { display: block; }
}

.constellation-hero {
  --hero-bg: #00221f;
  --hero-bg-deep: #001713;
  --hero-text: #f2f4ef;
  --hero-muted: #aebdb7;
  --hero-line: #274d45;
  --hero-teal: #5b968f;
  --hero-mint: #a9d8c7;
  color: var(--hero-text);
  background: var(--hero-bg);
  border-bottom: 1px solid rgba(123,174,159,.2);
}
.constellation-hero .home-hero { border-bottom: 0; background: var(--hero-bg); }
.constellation-hero .home-hero-grid {
  min-height: 760px;
  grid-template-columns: minmax(0,.9fr) minmax(520px,1.1fr);
  gap: 56px;
  align-items: center;
}
.constellation-hero .home-hero-copy { padding: 72px 0 38px; }
.constellation-hero .eyebrow { color: #6ea59b; margin-bottom: 0; letter-spacing: .18em; }
.constellation-hero .eyebrow::before { display: none; }
.constellation-hero h1 {
  max-width: 670px;
  margin: 25px 0 20px;
  color: #f5f3ef;
  font-size: clamp(58px,5.25vw,88px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 430;
}
.constellation-hero .lede { max-width: 600px; margin: 0; color: #b4c2bd; font-size: 20px; line-height: 1.6; }
.constellation-hero .hero-actions { margin-top: 32px; }
.constellation-hero .button { min-height: 58px; padding-inline: 28px; border-color: #6b8d84; color: #d6dfdb; }
.constellation-hero .button:hover { color: #fff; border-color: #8eb4a9; }
.constellation-hero .button-primary { background: linear-gradient(180deg,#5b968f,#497d77); border-color: #76aaa0; color: #fff; }
.constellation-hero .button-primary:hover { background: linear-gradient(180deg,#68a69e,#518982); border-color: #8dbbb2; color: #fff; }
.route-mini { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 22px; color: #9db3ac; font-size: 14px; }
.route-mini i { color: #6fa59b; font-style: normal; }
.constellation-wrap { position: relative; min-width: 0; overflow: hidden; }
.constellation { display: block; width: 100%; height: auto; max-height: 650px; overflow: visible; }
.orbit { fill: none; stroke: #31574f; stroke-width: 1.2; opacity: .58; }
.orbit.dash { stroke-dasharray: 3 8; stroke: #5a968c; opacity: .6; }
.connector { stroke: #456b63; stroke-width: 1.35; opacity: .72; }
.star { fill: #d7e7e0; opacity: .92; animation: constellationTwinkle 4.8s ease-in-out infinite; }
.node-outer { fill: #06251f; stroke: #2f5a51; stroke-width: 1.2; }
.node-mid { fill: #17473d; opacity: .75; }
.node-core { fill: #b6d9cd; stroke: #d4e8e0; stroke-width: 2; }
.node-label { fill: #eef5f1; font-size: 18px; font-family: var(--sans); }
.center-disc { stroke: #aed7c8; stroke-width: 3; }
.center-ring { fill: none; stroke: #87b6a7; stroke-width: 1.2; opacity: .68; }
.center-text { fill: #fff; font-size: 18px; font-family: var(--mono); font-weight: 800; letter-spacing: 3px; text-anchor: middle; }
.center-sub { fill: #b7ccc5; font-size: 11px; font-family: var(--mono); letter-spacing: 2px; text-anchor: middle; }
.center-hit { fill: transparent; cursor: pointer; pointer-events: all; }
.center-glow { transform-origin: 380px 310px; animation: constellationBreathe 3.4s ease-in-out infinite; }
.orbit-spin { transform-origin: 380px 310px; animation: constellationSpin 32s linear infinite; }
.route-layer { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.route-arrow { fill: #8bb9ad; font-size: 24px; font-family: var(--mono); font-weight: 800; text-anchor: middle; }
.route-pill { fill: #08241e; stroke: #4c776e; stroke-width: 1.2; }
.route-label { fill: #eef5f1; font-size: 13px; font-family: var(--mono); font-weight: 800; letter-spacing: 1px; text-anchor: middle; }
.slogan { opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.slogan-main { fill: #fff; font-size: 26px; font-family: var(--mono); font-weight: 900; letter-spacing: 3px; text-anchor: middle; }
.slogan-sub { fill: #a7c6bb; font-size: 11px; font-family: var(--mono); letter-spacing: 1px; text-anchor: middle; }
.constellation-hero.resolved .scene-layer { opacity: .14; transition: opacity .5s ease; }
.constellation-hero.resolved .route-layer,
.constellation-hero.resolved .slogan { opacity: 1; transform: none; }
.constellation-hero.resolved .initial-center-text { opacity: 0; }
.constellation-hero.organizing .center-glow { animation: constellationOrganize .28s ease-in-out infinite alternate; }
@keyframes constellationBreathe { 50% { transform: scale(1.035); } }
@keyframes constellationSpin { to { transform: rotate(360deg); } }
@keyframes constellationOrganize { to { transform: scale(1.09); } }
@keyframes constellationTwinkle { 0%,100% { opacity:.5; } 50% { opacity:1; } }

.working-intro { padding: 64px 0 72px; background: #f5f3ef; color: #16252b; border-bottom: 1px solid #cfd8d3; }
.working-intro-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 74px; align-items: start; }
.working-kicker { display: block; color: #32776f; font: 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.working-intro h2 { max-width: 520px; margin: 23px 0 0; color: #16252b; font-size: 46px; line-height: 1.2; letter-spacing: -.035em; font-weight: 450; }
.working-intro h2 span { color: #3c827a; }
.working-model-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #cfd8d3; border: 1px solid #cfd8d3; }
.working-model-grid article { background: #f5f3ef; padding: 26px; }
.working-number { color: #31766f; font: 32px var(--mono); }
.working-model-grid h3 { margin: 22px 0 10px; color: #16252b; font-size: 18px; }
.working-model-grid p { margin: 0; color: #5b6664; line-height: 1.55; }

html[lang="de"] .primary-nav { gap: clamp(14px,1.5vw,24px); }
html[lang="de"] .primary-nav > a { font-size: 12.5px; }

@media (max-width: 1100px) {
  .constellation-hero .home-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 20px; }
  .constellation-hero .home-hero-copy { max-width: 820px; padding: 54px 0 10px; }
  .constellation-hero h1 { max-width: 780px; font-size: clamp(52px,8vw,74px); }
  .constellation-wrap { max-width: 790px; margin: 0 auto; width: 100%; }
  .working-intro-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 960px) {
  .brand-mark { width: 58px; height: 58px; flex-basis: 58px; }
  .brand-copy { display: none; }
  .header-actions { margin-left: auto; }
  .nav-enhanced .primary-nav {
    inset: 82px 12px auto;
    width: auto;
    max-height: calc(100svh - 94px);
    overflow: auto;
    padding: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--menu-bg);
    box-shadow: var(--shadow);
  }
  .nav-enhanced .primary-nav.open { display: flex; flex-direction: column; gap: 0; }
  .nav-enhanced .primary-nav > a { width: 100%; min-height: 58px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-enhanced .primary-nav > a:last-child { border-bottom: 0; }
  .nav-enhanced .primary-nav > a[aria-current="page"]::after { display: none; }
  body.menu-open::before { content:""; position:fixed; inset:70px 0 0; z-index:80; background:rgba(0,13,11,.62); backdrop-filter:blur(5px); }
  .primary-nav { z-index: 90; }
  .site-header { z-index: 100; }
  .constellation-hero .home-hero-grid { padding-top: 0; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 36px), var(--max)); }
  .brand-mark { width: 52px; height: 52px; flex-basis: 52px; }
  .header-inner { padding-inline: 14px; }
  .constellation-hero .home-hero-copy { padding: 42px 0 8px; }
  .constellation-hero h1 { font-size: clamp(42px,13vw,58px); line-height: 1.03; }
  .constellation-hero .lede { font-size: 17px; }
  .constellation-hero .hero-actions { flex-direction: column; align-items: stretch; }
  .constellation-hero .hero-actions .button { width: 100%; justify-content: center; }
  .route-mini { font-size: 12px; gap: 10px 14px; }
  .constellation-wrap { margin-top: 4px; width: 100%; overflow: hidden; }
  .constellation { width: 100%; max-height: none; }
  .node-label { font-size: 15px; }
  .working-intro { padding: 50px 0 56px; }
  .working-intro h2 { font-size: 38px; }
  .working-model-grid { grid-template-columns: 1fr; }
  .working-model-grid article { padding: 22px; }
}

@media (max-width: 390px) {
  .brand-mark { width: 48px; height: 48px; flex-basis: 48px; }
  .language summary { min-width: 52px; }
  .nav-toggle { width: 46px; }
  .constellation-hero h1 { font-size: clamp(39px,12.8vw,52px); }
}

@media (prefers-reduced-motion: reduce) {
  .center-glow, .orbit-spin, .star { animation: none !important; }
}
.mobile-nav-cta { display: none !important; }
@media (max-width:960px) {
  .nav-enhanced .primary-nav.open .mobile-nav-cta { display: flex !important; margin-top: 8px; border: 1px solid var(--control-border); border-radius: 6px; background: var(--surface-raised); color: var(--text); }
}

/* ===== V2.2.3 UI polish: unified palette, softer light mode, compact controls ===== */
:root[data-theme="light"] {
  --bg: #ECE8E0;
  --bg-deep: #E1DCD2;
  --surface: #F5F1EA;
  --surface-raised: #FAF7F1;
  --surface-soft: #E7E2D9;
  --text: #1B262C;
  --muted: #56645F;
  --subtle: #66736E;
  --line: #CDD3CC;
  --line-strong: #AEBAB2;
  --header-bg: rgba(236,232,224,.94);
  --menu-bg: #F5F1EA;
  --field-bg: #FAF7F1;
  --section-bg: #E7E2D9;
  --strip-bg: #E3DED5;
  --map-bg: #E7E2D9;
  --shadow: 0 22px 54px rgba(27,38,44,.07);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #ECE8E0;
    --bg-deep: #E1DCD2;
    --surface: #F5F1EA;
    --surface-raised: #FAF7F1;
    --surface-soft: #E7E2D9;
    --text: #1B262C;
    --muted: #56645F;
    --subtle: #66736E;
    --line: #CDD3CC;
    --line-strong: #AEBAB2;
    --header-bg: rgba(236,232,224,.94);
    --menu-bg: #F5F1EA;
    --field-bg: #FAF7F1;
    --section-bg: #E7E2D9;
    --strip-bg: #E3DED5;
    --map-bg: #E7E2D9;
    --shadow: 0 22px 54px rgba(27,38,44,.07);
  }
}

/* Homepage dark stage now belongs to the same dark family as the rest of the site. */
.constellation-hero {
  --hero-bg: #07100d;
  --hero-bg-deep: #040906;
  --hero-text: #eef7f1;
  --hero-muted: #9cafa5;
  --hero-line: #365044;
  --hero-teal: #21efa0;
  --hero-mint: #a8d8c7;
  background: var(--hero-bg);
  border-bottom-color: #21352b;
}
.constellation-hero .home-hero { background: var(--hero-bg); }
.constellation-hero .eyebrow { color: #91a499; }
.constellation-hero .lede { color: #9cafa5; }
.constellation-hero .route-mini { color: #91a499; }
.constellation-hero .route-mini i { color: #21efa0; }
.constellation-hero .button { border-color: #365044; color: #eef7f1; }
.constellation-hero .button:hover { border-color: #21efa0; color: #21efa0; }
.constellation-hero .button-primary { background: #21efa0; border-color: #21efa0; color: #03160e; }
.constellation-hero .button-primary:hover { background: #62ffc1; border-color: #62ffc1; color: #03160e; }

/* Keep the first desktop viewport intentionally complete before My Approach begins. */
@media (min-width: 1101px) {
  .constellation-hero .home-hero-grid {
    min-height: clamp(720px, calc(100svh - 78px), 900px);
  }
}

/* My Approach follows the active theme rather than staying permanently paper-white. */
.working-intro {
  background: var(--surface-soft);
  color: var(--text);
  border-bottom-color: var(--line);
}
.working-kicker { color: var(--accent); }
.working-intro h2 { color: var(--text); }
.working-intro h2 span { color: var(--accent); }
.working-model-grid { background: var(--line); border-color: var(--line); }
.working-model-grid article { background: var(--surface); }
.working-number { color: var(--accent); }
.working-model-grid h3 { color: var(--text); }
.working-model-grid p { color: var(--muted); }

/* Borderless, low-glare theme control: dark dot on light, light dot on dark. */
.theme-toggle {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
}
.theme-toggle:hover { background: var(--accent-tint) !important; }
.theme-dot {
  display: block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #f3f5f2;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
:root[data-theme="light"] .theme-dot { background: #172027; box-shadow: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-dot { background: #172027; box-shadow: none; }
}

/* Borderless flag-based language control. */
.language summary {
  min-width: 44px;
  min-height: 44px;
  padding: 0 5px;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  color: var(--text);
  gap: 4px;
}
.language summary:hover { background: var(--accent-tint) !important; }
.language summary::after { font-size: 10px; color: var(--accent); }
.language-flag, .language-menu-flag { font-size: 20px; line-height: 1; }
.language-menu { min-width: 210px; }
.language-menu a { align-items: center; justify-content: flex-start; gap: 12px; }
.language-menu .language-name { flex: 1; color: inherit; font: inherit; }
.language-static {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  font-size: 20px;
}

/* Keep the approved image monogram crisp and predictable at all header sizes. */
.brand-logo { object-fit: contain; object-position: center; }
@media (max-width: 620px) {
  .brand-mark { width: 54px; height: 54px; flex-basis: 54px; }
  .language summary { min-width: 44px; padding-inline: 3px; }
  .theme-toggle { width: 44px; height: 44px; flex-basis: 44px; }
}

/* ===== V2.2.4 analytics consent: privacy-first, theme-aware, non-blocking ===== */
.footer-privacy-button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--subtle);
  font: inherit;
  cursor: pointer;
}
.footer-privacy-button:hover { color: var(--accent); }

.analytics-consent {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 20px;
  width: min(760px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-raised);
  background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.analytics-consent-copy { min-width: 0; }
.analytics-consent-copy strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}
.analytics-consent-copy p {
  max-width: 560px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.analytics-consent .button {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 12px;
  white-space: nowrap;
}
.analytics-consent-necessary { background: var(--surface); }

@media (max-width: 700px) {
  .analytics-consent {
    bottom: 12px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
  .analytics-consent-actions { justify-content: stretch; }
  .analytics-consent .button { flex: 1 1 180px; justify-content: center; }
}

@media (max-width: 390px) {
  .analytics-consent-actions { flex-direction: column; }
  .analytics-consent .button { width: 100%; flex-basis: auto; }
}

@media print {
  .analytics-consent, .footer-privacy-button { display: none !important; }
}

/* V2.3.0 — approved service landing-page components */
.service-proof-note{margin-top:18px;font-size:.86rem;color:var(--muted);max-width:66ch}
.service-use-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:28px}
.service-use-card{border:1px solid var(--line);border-radius:18px;padding:22px;background:var(--panel);min-height:170px}
.service-use-card span{display:block;color:var(--accent);font:700 .72rem/1.2 var(--mono);letter-spacing:.1em;text-transform:uppercase;margin-bottom:28px}
.service-use-card h3{margin:0 0 10px;font-size:1.05rem}
.service-use-card p{margin:0;color:var(--muted)}
.service-evidence-strip{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.service-evidence-strip span{border:1px solid var(--line);border-radius:999px;padding:8px 12px;font:700 .72rem/1 var(--mono);letter-spacing:.05em;color:var(--muted)}
@media(max-width:900px){.service-use-grid{grid-template-columns:1fr}.service-use-card{min-height:0}}
