﻿/* ─── reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--on-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: var(--letter-display);
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  display: inline-block;
}

/* ─── header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--border-dark) 100%, transparent);
}
.site-header .row {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  height: 64px;
}
.brand-logo {
  display: block;
  width: 84px; height: 48px;
  object-fit: contain;
  object-position: left center;
  /* SVG has fill="currentColor"; invert to white for dark backgrounds */
  filter: brightness(0) invert(1);
  flex: 0 0 auto;
}
.site-footer .brand-logo { width: 70px; height: 40px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--letter-tight);
  color: var(--on-dark);
}
/* legacy brand-mark/brand-name removed in favor of .brand-logo */

.nav {
  display: flex;
  gap: var(--s-6);
  margin-right: auto;
  font-size: 14px;
}
.nav a {
  color: var(--on-dark-mute);
  position: relative;
  padding: 6px 0;
  transition: color .18s var(--ease);
}
.nav a:hover { color: var(--on-dark); }
.nav a[aria-current="page"] {
  color: var(--on-dark);
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
}

/* ── nav dropdown ── */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item > .nav-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--on-dark-mute);
  padding: 6px 0;
  font-size: 14px;
  cursor: default;
  transition: color .18s var(--ease);
  white-space: nowrap;
}
/* invisible bridge between trigger and dropdown — keeps hover active while moving mouse down */
.nav-item > .nav-trigger::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 16px;
}
.nav-item > .nav-trigger::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .6;
  transition: transform .18s var(--ease);
}
.nav-item:hover > .nav-trigger,
.nav-item:focus-within > .nav-trigger {
  color: var(--on-dark);
}
.nav-item:hover > .nav-trigger::after,
.nav-item:focus-within > .nav-trigger::after {
  transform: rotate(225deg) translateY(-2px);
}
.nav-item.active > .nav-trigger {
  color: var(--on-dark);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-3);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown a {
  color: var(--on-dark-mute);
  padding: 8px 12px;
  border-radius: var(--radius-2);
  font-size: 13px;
  transition: background .14s var(--ease), color .14s var(--ease);
  white-space: nowrap;
}
.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] {
  background: var(--bg-soft);
  color: var(--on-dark);
}
.nav-dropdown a[aria-current="page"] {
  color: var(--accent);
}
.nav-dropdown a[aria-current="page"]::after { content: none; }

.lang {
  display: inline-flex;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.lang button {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--on-dark-mute);
}
.lang button[aria-pressed="true"] {
  background: var(--on-dark);
  color: var(--bg);
}

.btn {
  --btn-bg: var(--accent);
  --btn-fg: #06121C;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px var(--accent-soft); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  border-color: var(--border-dark);
}
.btn-ghost:hover {
  border-color: var(--on-dark-mute);
  background: color-mix(in oklab, var(--on-dark) 6%, transparent);
}
.btn-light {
  --btn-fg: #06121C;
}
.btn-arrow::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform .2s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ─── sections ─── */
.section {
  padding: var(--s-10) 0;
  position: relative;
}
.section.dark { background: var(--bg); color: var(--on-dark); }
.section.surface { background: var(--bg-soft); color: var(--on-dark); }
.section.light { background: var(--bg-light); color: var(--on-light); }
.section.light-soft { background: var(--bg-light-soft); color: var(--on-light); }
.section.light .eyebrow { color: var(--accent); }
.section.light .mute { color: var(--on-light-mute); }
.mute { color: var(--on-dark-mute); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-8);
}
.section-head h2 { font-size: var(--t-h2); }
.section-head p { font-size: var(--t-body-lg); }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* ─── tags ─── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--tag-fg);
  letter-spacing: 0.01em;
}
.tag::before { content: "▸"; opacity: .65; }
.section.light .tag { background: var(--tag-bg-light); color: var(--tag-fg-light); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* ─── service grid (6 cards) ─── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-3);
  overflow: hidden;
}
.section.dark .svc-grid, .section.surface .svc-grid {
  background: var(--border-dark);
  border-color: var(--border-dark);
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--bg-light);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-height: 280px;
  transition: background .25s var(--ease), border-color .25s var(--ease);
  position: relative;
  color: var(--on-light);
  border-top: 3px solid transparent;
}
.svc-card[data-theme] { border-top-color: var(--accent); }
.svc-card[data-theme]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(280px 160px at 100% 0%, var(--accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.svc-card[data-theme]:hover::after { opacity: 1; }
.svc-card-wide[data-theme]:hover::after,
.svc-card-span2[data-theme]:hover::after { opacity: 0; }

.svc-card-wide:hover,
.svc-card-span2:hover,
.section.light .svc-card-wide:hover,
.section.light-soft .svc-card-wide:hover,
.section.light .svc-card-span2:hover,
.section.light-soft .svc-card-span2:hover { background: var(--surface-2); filter: none; }
.svc-card-wide:hover .more::after,
.svc-card-span2:hover .more::after { transform: none; }
.section.dark .svc-card, .section.surface .svc-card { background: var(--bg-soft); color: var(--on-dark); }
.svc-card:hover { background: var(--bg-light-soft); }
.section.dark .svc-card:hover, .section.surface .svc-card:hover { background: var(--surface); }
.svc-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--on-light-mute);
  letter-spacing: 0.05em;
}
.section.dark .svc-card .num, .section.surface .svc-card .num { color: var(--on-dark-mute); }
.svc-card .icon {
  width: 36px; height: 36px;
  margin-bottom: var(--s-3);
  color: var(--accent);
}
.svc-card h3 {
  font-size: var(--t-h5);
  letter-spacing: var(--letter-tight);
}
.svc-card p {
  color: var(--on-light-mute);
  font-size: 15px;
}
.section.dark .svc-card p, .section.surface .svc-card p { color: var(--on-dark-mute); }
.svc-card .more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}
.svc-card .more::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.svc-card:hover .more::after { transform: translateX(4px); }

.svc-card-wide,
.svc-card-span2 {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: var(--s-8);
  background: var(--surface);
  color: var(--on-dark);
}
.svc-card-wide .num { color: var(--on-dark-mute); }
.svc-card-wide h3 { color: var(--on-dark); }
.svc-card-wide p { color: var(--on-dark-mute); }
.svc-card-wide-left {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.svc-card-wide-left .icon { margin-bottom: var(--s-3); }
.svc-card-wide-right {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
}
.svc-card-wide .more { margin-top: var(--s-5); }
.svc-card-span2 { grid-column: span 2; }
@media (max-width: 900px) { .svc-card-span2 { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .svc-card-wide,
  .svc-card-span2 { flex-direction: column; align-items: flex-start; }
  .svc-card-wide-right { min-width: 0; }
}

.section.light-soft .tag { background: var(--tag-bg-light); color: var(--tag-fg-light); }

/* ─── footer ─── */
.site-footer {
  background: var(--bg);
  color: var(--on-dark);
  padding: var(--s-9) 0 var(--s-6);
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-bottom: var(--s-4);
  font-weight: 500;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-grid a { color: var(--on-dark); }
.footer-grid a:hover { color: var(--accent); }
.footer-bar {
  border-top: 1px solid var(--border-dark);
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--on-dark-mute);
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ─── reveal on scroll ─── */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js-ready .reveal.in {
  opacity: 1;
  transform: none;
  transition-duration: 0s;
}
.js-ready .reveal.in.animated {
  transition-duration: .6s;
}

/* ─── grid background ─── */
.bg-grid {
  background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
}


/* ─── architecture diagram ─── */
.arch {
  position: relative;
  width: 100%;
}
.arch svg { width: 100%; height: auto; display: block; overflow: visible; }
.arch-node-rect {
  fill: var(--surface);
  stroke: var(--border-dark);
  stroke-width: 1.2;
}
.arch-node-rect.accent { stroke: var(--accent); }
.arch-text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--on-dark);
  letter-spacing: 0.04em;
}
.arch-text.mute { fill: var(--on-dark-mute); }
.arch-line {
  fill: none;
  stroke: var(--border-dark);
  stroke-width: 1.2;
}
.arch-pulse {
  fill: var(--accent);
}
.arch-label {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--on-dark-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── code block ─── */
.code {
  background: var(--surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-2);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: var(--s-4) var(--s-5);
  color: var(--on-dark);
  overflow-x: auto;
  position: relative;
}
.code .prompt { color: var(--accent); user-select: none; }
.code .comment { color: var(--on-dark-mute); }
.code .str { color: var(--accent-2, var(--accent)); }
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--on-dark-mute);
  border-bottom: 1px solid var(--border-dark);
  padding: 8px var(--s-4);
  background: var(--bg);
  border-top-left-radius: var(--radius-2);
  border-top-right-radius: var(--radius-2);
}
.code-card {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-2);
  overflow: hidden;
}
.code-card .code { border: 0; border-radius: 0; }

/* ─── reusable: dot list ─── */
.dot-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.dot-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--on-dark);
}
.section.light .dot-list li { color: var(--on-light); }
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ─── service page hero ─── */
.svc-hero {
  padding: var(--s-9) 0 var(--s-8);
  position: relative;
  overflow: hidden;
}
.svc-hero h1 { font-size: var(--t-h1); letter-spacing: var(--letter-display); }
/* themed page reinforcement: when <body data-theme>, page gets more accent presence */
body[data-theme] .svc-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 70%);
}
body[data-theme] .svc-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 240px;
  background: var(--accent);
  filter: blur(120px);
  opacity: .18;
  pointer-events: none;
}
body[data-theme] .bg-grid {
  background-image: radial-gradient(color-mix(in oklab, var(--accent) 22%, transparent) 1px, transparent 1px);
}
body[data-theme] .eyebrow { color: var(--accent); }
body[data-theme] .arch-pulse { fill: var(--accent); }
body[data-theme] .arch-node-rect.accent { stroke: var(--accent); }
body[data-theme] .stack-pill .dot { background: var(--accent); }
body[data-theme] .stack-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.svc-hero .crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--on-dark-mute);
  margin-bottom: var(--s-5);
  letter-spacing: 0.06em;
}
.svc-hero .crumbs a { color: var(--on-dark-mute); }
.svc-hero .crumbs a:hover { color: var(--accent); }
.svc-hero .lead {
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--on-dark-mute);
  max-width: 720px;
  margin-top: var(--s-4);
}
.svc-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-8);
  align-items: end;
}
@media (max-width: 900px) { .svc-hero-grid { grid-template-columns: 1fr; } }

/* ─── two-col on service pages ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-8);
  align-items: start;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: var(--s-5); } }
.two-col h2 { font-size: var(--t-h3); letter-spacing: var(--letter-tight); }
.two-col h3 { font-size: 14px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: var(--s-3); font-weight: 500;}

/* ─── stack pills (technologies on service pages) ─── */
.stack-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: var(--s-4);
}
.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--on-dark);
  background: var(--surface);
}
.section.light .stack-pill {
  border-color: var(--border-light);
  color: var(--on-light);
  background: white;
}
.stack-pill .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ─── quote / aside ─── */
.aside {
  border-left: 2px solid var(--accent);
  padding: var(--s-3) 0 var(--s-3) var(--s-5);
  font-size: 18px;
  color: var(--on-dark);
  font-family: var(--font-display);
  letter-spacing: var(--letter-tight);
}
.section.light .aside { color: var(--on-light); }

/* ─── tech showcase row (devops page) ─── */
.tech-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
.tech-card {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-5) var(--s-6);
  background: var(--bg-soft);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-3);
  text-decoration: none;
  color: inherit;
  transition: transform .25s, border-color .25s, background .25s;
  position: relative;
  overflow: hidden;
}
.tech-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--tech-color, var(--accent));
  transform: scaleY(0); transform-origin: center; transition: transform .25s;
}
.tech-card:hover { border-color: var(--tech-color, var(--accent)); background: var(--surface); transform: translateY(-2px); }
.tech-card:hover::before { transform: scaleY(1); }
.tech-card .logo-box {
  background: white; border-radius: var(--radius-2);
  padding: var(--s-4) var(--s-5);
  display: grid; place-items: center; min-height: 84px;
}
.tech-card .meta h3 {
  font-size: 22px; letter-spacing: var(--letter-tight);
  display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap;
  margin-bottom: var(--s-3);
}
.tech-card .badge {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tech-color, var(--accent)); font-weight: 500;
}
.tech-card .meta p {
  font-size: 14px; color: var(--on-dark-mute); line-height: 1.55;
  max-width: 64ch;
}
.tech-card .more {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em;
  color: var(--tech-color, var(--accent)); white-space: nowrap;
  border-bottom: 1px dashed currentColor; padding-bottom: 2px;
}
@media (max-width: 900px) {
  .tech-card { grid-template-columns: 1fr; }
  .tech-card .logo-box { justify-self: start; padding: var(--s-3) var(--s-4); }
  .tech-card .more { justify-self: start; }
}

/* ─── form ─── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-light-mute);
}
.section.dark .field label { color: var(--on-dark-mute); }
.field input, .field textarea, .field select {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  background: white;
  border-radius: var(--radius-2);
  color: var(--on-light);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.section.dark .field input, .section.dark .field textarea, .section.dark .field select {
  background: var(--surface);
  border-color: var(--border-dark);
  color: var(--on-dark);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ─── kpi cards (about page) ─── */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 800px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-2);
  padding: var(--s-5);
}
.section.light .kpi { border-color: var(--border-light); }
.kpi .n {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: var(--letter-display);
  font-weight: 600;
}
.kpi .n .unit { font-size: 0.5em; color: var(--accent); margin-left: 4px; }
.kpi .l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.section.light .kpi .l { color: var(--on-light-mute); }


/* ─── menu icon (mobile) ─── */
@media (max-width: 800px) {
  .nav { display: none; }
}

/* ─── reCAPTCHA: hide badge when inline notice is shown ─── */
.grecaptcha-badge { visibility: hidden !important; }

/* ─── cookie consent banner ─── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--surface-2);
  border-top: 1px solid var(--border-dark);
  padding: var(--s-5) var(--gutter);
}
.cb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.cb-text {
  flex: 1 1 300px;
  font-size: 14px;
  color: var(--on-dark-mute);
  line-height: 1.5;
}
.cb-text strong { color: var(--on-dark); }
.cb-text a { color: var(--accent); text-decoration: underline; }
.cb-text p { margin-top: var(--s-1); }
.cb-actions {
  display: flex;
  gap: var(--s-3);
  flex-shrink: 0;
}
.cb-btn {
  padding: 10px 20px;
  border-radius: var(--radius-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .15s;
}
.cb-btn:hover { opacity: .8; }
.cb-primary {
  background: var(--accent);
  color: var(--bg);
  border: none;
}
.cb-ghost {
  background: transparent;
  color: var(--on-dark-mute);
  border: 1px solid var(--border-dark);
}
@media (max-width: 600px) {
  .cb-inner { flex-direction: column; align-items: stretch; }
  .cb-actions { justify-content: flex-end; }
}


