/* ═══════════════════════════════════════════════════════════════
   Crystals Growing SIA — Clean Corporate Redesign
   Single-file vanilla CSS. No frameworks.
   ═══════════════════════════════════════════════════════════════ */

/* Inter loaded via <link rel="preconnect"> + <link rel="stylesheet"> in index.html <head> for faster first paint */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --green: #1a5632;
  --green-dark: #123d24;
  --green-light: #e9f5ee;
  --green-soft: rgba(26, 86, 50, 0.08);
  --green-line: rgba(26, 86, 50, 0.18);

  --bg: #ffffff;
  --bg-alt: #f7faf8;
  --bg-page: #eef2ef;
  --bg-hero: #ffffff;

  --text: #111111;
  --text-secondary: #2d3a32;
  --text-muted: #4a5a50;
  --text-light: #6b7b70;

  --border: #d4dbd6;
  --border-light: #e8ede9;
  --border-strong: #b8c4bb;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --shadow-card: 0 1px 4px rgba(0,0,0,0.04);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h: 72px;
  /* Site shell: edge-to-edge, full viewport width. */
  --max-w: 100vw;
  --container-max: 100%;
  --radius: 6px;
  --radius-lg: 10px;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
::selection { background: rgba(26, 86, 50, 0.15); color: var(--text); }

/* ── Layout ────────────────────────────────────────────────── */
.site-wrapper {
  width: 100%;
  margin: 0;
  background: var(--bg);
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
}

section {
  position: relative;
  border-bottom: 1px solid var(--border);
}

[id] {
  scroll-margin-top: calc(var(--nav-h) + 2rem);
}

section:last-of-type {
  border-bottom: none;
}

.section-pad {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-pad-sm {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green);
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 86, 50, 0.25);
}

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

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.btn:hover svg {
  transform: translateX(2px);
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-lg);
}

.nav__logo img {
  height: 44px;
  width: auto;
  transition: transform 0.25s var(--ease-out);
}

.nav__logo:hover img {
  transform: scale(1.04);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.nav__link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
  padding: 0.25rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green);
  transition: width 0.25s var(--ease-out);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  padding: 0.5rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--green);
  border-radius: var(--radius);
  transition: all 0.25s;
}

.nav__cta:hover {
  background: var(--green-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--bg);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  margin-top: 0.75rem;
  letter-spacing: -0.035em;
  line-height: 1.08;
  background: linear-gradient(135deg, #0b1a12 0%, #123d24 35%, #1a5632 62%, #2eb8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* Safari fallback: if background-clip:text fails, keep solid color */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 { color: var(--text); -webkit-text-fill-color: initial; }
}

.hero__lead {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__crystal-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* Hero signals — pill-row replacing legacy four-column ledger */
.hero__signals {
  list-style: none;
  padding: 0;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}

.hero__signals li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem 0.5rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero__signals li:hover {
  border-color: var(--green-line);
  background: var(--green-light);
  transform: translateY(-1px);
}

.hero__signal-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.12);
}

/* ── Evidence / Proof Strip ────────────────────────────────── */
.evidence-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.evidence-strip__item {
  padding: clamp(1rem, 2vw, 1.5rem);
  border-right: 1px solid var(--border);
}

.evidence-strip__item:last-child {
  border-right: none;
}

.evidence-strip__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
}

.evidence-strip__title {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.evidence-strip__desc {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Image Band ────────────────────────────────────────────── */
.image-band {
  position: relative;
  min-height: clamp(200px, 24vw, 320px);
  overflow: hidden;
}

.image-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65), rgba(0,0,0,0.15) 60%, transparent);
}

.image-band__caption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem);
}

.image-band__sub {
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.image-band__title {
  color: #ffffff;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 600;
  margin-top: 0.4rem;
  max-width: 500px;
  line-height: 1.15;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
}

.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--text);
}

.card__desc {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Process Cards ─────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.process-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.3s;
}

.process-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.process-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.process-card__body {
  padding: 1.25rem;
}

.process-card__step {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.process-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Materials Explorer (formula rail + active spec panel) ─── */
.materials-explorer {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.mat-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.mat-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), background 0.2s;
  overflow: hidden;
}

.mat-chip::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.mat-chip:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.mat-chip.active {
  border-color: var(--green-line);
  background: var(--green-light);
}

.mat-chip.active::after { transform: scaleX(1); }

.mat-chip__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--atom-a, var(--green)) 0%, var(--atom-a, var(--green)) 50%, var(--atom-b, var(--green)) 50%, var(--atom-b, var(--green)) 100%);
  box-shadow: 0 0 0 2px rgba(26,86,50,0.08);
  margin-bottom: 0.15rem;
}

.mat-chip__formula {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.1;
}

.mat-chip__caption {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.mat-chip.active .mat-chip__formula { color: var(--green-dark); }

/* panels */
.mat-panels {
  position: relative;
  min-height: 320px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mat-panel {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mat-panel[hidden] { display: none; }
.mat-panel.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.mat-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(46,184,166,0.08) 0%, transparent 55%),
    linear-gradient(180deg, #0f1420 0%, #0b0f18 100%);
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.mat-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.mat-lattice {
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 1 / 1;
  position: relative;
  z-index: 1;
}

.lattice-rot {
  transform-origin: 120px 120px;
  animation: lattice-spin 22s linear infinite;
}
@keyframes lattice-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.lattice-bonds line {
  stroke: rgba(200, 220, 230, 0.22);
  stroke-width: 1;
}
.lattice-bonds--back line { stroke-dasharray: 3 4; stroke: rgba(200, 220, 230, 0.12); }

.lattice-atoms-a circle {
  fill: var(--atom-a, #2eb8a6);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--atom-a, #2eb8a6) 50%, transparent));
}
.lattice-atoms-a--center {
  animation: atom-pulse 3.2s ease-in-out infinite;
}
.lattice-atoms-b circle {
  fill: var(--atom-b, #7aa3ff);
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--atom-b, #7aa3ff) 50%, transparent));
  animation: atom-pulse 2.6s ease-in-out infinite;
}
.lattice-atoms-b circle:nth-child(2) { animation-delay: 0.4s; }
.lattice-atoms-b circle:nth-child(3) { animation-delay: 0.8s; }
.lattice-atoms-b circle:nth-child(4) { animation-delay: 1.2s; }

@keyframes atom-pulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; transform: scale(1.12); }
}
/* keep individual atom scale transforms from fighting rotation: wrap each atom group with transform-origin */
.lattice-atoms-a circle,
.lattice-atoms-b circle { transform-origin: center; transform-box: fill-box; }

.mat-lattice__label {
  fill: rgba(200, 220, 230, 0.7);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-anchor: middle;
  text-transform: uppercase;
}

/* content side */
.mat-content {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mat-content__head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mat-content__formula {
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1;
}

.mat-content__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid var(--green-line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mat-content__name {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0;
}

.mat-content__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 56ch;
}

.mat-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.mat-spec {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mat-spec dt {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.mat-spec dd {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

/* ── Application Cards ─────────────────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.app-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.3s;
}

.app-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.app-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.app-card__body {
  padding: 1rem;
}

.app-card__title {
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.25s;
}

.app-card:hover .app-card__title {
  color: var(--green);
}

.app-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.5;
}

/* ── Two Column Split ──────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.split--wide-left {
  grid-template-columns: 1.15fr 0.85fr;
}

.split--header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

/* ── How We Work / Our Advantage boxes ─────────────────────── */
.info-box {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ── Method cards (offerings section: How We Work / Our Advantage) ─ */
.method-card {
  --accent: #1a5632;
  --accent-soft: rgba(26,86,50,0.08);
  --accent-line: rgba(26,86,50,0.20);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.method-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
}
.method-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-line);
}

.method-card--green  { --accent: #1a5632; --accent-soft: rgba(26,86,50,0.10);  --accent-line: rgba(26,86,50,0.28); }
.method-card--copper { --accent: #c96f2a; --accent-soft: rgba(201,111,42,0.10); --accent-line: rgba(201,111,42,0.30); }
.method-card--teal   { --accent: #2eb8a6; --accent-soft: rgba(46,184,166,0.10); --accent-line: rgba(46,184,166,0.30); }
.method-card--violet { --accent: #6d4ef0; --accent-soft: rgba(109,78,240,0.09); --accent-line: rgba(109,78,240,0.28); }

.method-card__head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}
.method-card__chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.method-card__title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 0 0 0.5rem;
  color: var(--text);
}
.method-card__deck {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.method-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}
.method-card__list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.9rem;
  padding: 0.9rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
  align-items: center;
}
.method-card__list li:hover {
  transform: translateX(4px);
  border-color: var(--accent-line);
  background: var(--bg);
}

.method-card__num,
.method-card__stat {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 100%);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 0.4rem 0.3rem;
  line-height: 1;
  white-space: nowrap;
}
.method-card__stat {
  font-family: var(--font);
  font-size: 1.15rem;
  flex-direction: column;
  gap: 0.05rem;
  padding: 0.35rem 0.25rem;
  min-height: 2.8rem;
  min-width: 0;
  line-height: 1;
}
.method-card__stat small {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1;
}
.method-card__stat--ai {
  font-size: 1rem;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
  color: #fff;
  border-color: var(--accent);
  justify-content: center;
}

.method-card__lead {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.method-card__sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .method-card__list li {
    grid-template-columns: 2.6rem 1fr;
    gap: 0.7rem;
    padding: 0.7rem;
  }
  .method-card__num, .method-card__stat { font-size: 0.95rem; }
}

.info-box h3 {
  margin-bottom: 0.5rem;
}

.info-box__subtitle {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.info-box ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-box li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.info-box li::before {
  content: '•';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── Technology Comparison ─────────────────────────────────── */
.tech-compare {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 2rem;
}

.tech-compare__divider {
  background: var(--border);
}

.tech-compare__badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.tech-compare__badge--legacy {
  background: #f0f0f0;
  color: var(--text-muted);
}

.tech-compare__badge--ltg {
  background: var(--green-light);
  color: var(--green);
}

.tech-compare__diagram {
  width: 100%;
  max-width: 380px;
  margin: 1.5rem auto;
  display: block;
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.tech-list li .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.tech-list li .dot--green { background: var(--green); }
.tech-list li .dot--red { background: #d44; }

.tech-list--muted li { color: var(--text-muted); }
.tech-list--strong li { color: var(--text); }

/* ── Validation / Research ─────────────────────────────────── */
.research-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.research-card__institution {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.research-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.research-card__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  position: relative;
  padding: 0.25rem 0.25rem 0.5rem;
  transition: transform 0.3s ease;
}

.stat-item::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 0.25rem;
  bottom: 0.75rem;
  width: 2px;
  background: linear-gradient(180deg, var(--green), transparent);
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: top;
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.reveal.active .stat-item::before {
  opacity: 0.7;
  transform: scaleY(1);
}

.stat-item:hover {
  transform: translateX(2px);
}

.stat-item__value {
  font-size: clamp(1.5rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.stat-item:hover .stat-item__value {
  color: var(--green-dark);
}

.stat-item__value span {
  font-size: 0.75em;
  font-weight: 500;
  color: var(--green);
}

.stat-item__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 0.35rem;
}

.stat-item__note {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  color: var(--green);
  font-weight: 600;
  margin-top: 0.35rem;
  padding: 0.15rem 0.45rem 0.15rem 0.4rem;
  background: var(--green-light);
  border-radius: 999px;
}

.stat-item__note::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: stat-note-pulse 2.4s ease-in-out infinite;
}

/* Color variants for stat notes — different categories, different hues */
.stat-item__note--record   { color: #8a4618; background: rgba(201,111,42,0.12); }
.stat-item__note--record::before   { background: #c96f2a; }
.stat-item__note--above    { color: #0b3d3a; background: rgba(46,184,166,0.14); }
.stat-item__note--above::before    { background: #2eb8a6; }
.stat-item__note--milestone{ color: #4a2ea3; background: rgba(109,78,240,0.12); }
.stat-item__note--milestone::before{ background: #6d4ef0; }

/* Benchmark anchor — thin comparative line under each stat.
   BOTH arrows are green: green means "this is the good side". The arrow
   direction just indicates whether bigger or smaller is the winning direction;
   the "Lower = Better" / "Higher = Better" tag makes it unambiguous. */
.stat-item__bench {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  padding-left: 0.45rem;
  border-left: 2px solid #2eb8a6;
  line-height: 1.3;
}
.stat-item__bench-arrow {
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
  color: #2eb8a6; /* green for both directions — "good" */
}
.stat-item__bench-ref {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.stat-item__bench-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b3d3a;
  background: rgba(46,184,166,0.14);
  border: 1px solid rgba(46,184,166,0.35);
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  cursor: help;
}
.stat-item__bench-tag::before {
  content: '✓';
  font-size: 0.72rem;
  color: #2eb8a6;
  font-weight: 700;
}

@keyframes stat-note-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.compare-table {
  width: 100%;
  margin-top: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table__header {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-table__header .ours { color: var(--green); }
.compare-table__header .ref { color: var(--text-light); }

.compare-table__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border-light);
}

.compare-table__row:last-child { border-bottom: none; }

.compare-table__row .label { color: var(--text-muted); }
.compare-table__row .values {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.compare-table__row .ours { color: var(--text); }
.compare-table__row .ref { color: var(--text-light); }

/* ── Engagement / Offerings ────────────────────────────────── */
.offering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.offering-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}

.offering-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at top right, rgba(46, 184, 166, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.offering-card:hover {
  border-color: var(--green-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.offering-card:hover::before {
  opacity: 1;
}

.offering-card__num {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  z-index: 2;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--border-light);
  line-height: 1;
  transition: color 0.35s ease, transform 0.35s ease, text-shadow 0.35s ease;
}

.offering-card:hover .offering-card__num {
  color: var(--green);
  transform: translateY(-1px) scale(1.04);
  text-shadow: 0 0 24px rgba(46, 184, 166, 0.35);
}

.offering-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.offering-card:hover .offering-card__icon {
  background: var(--green);
  color: #fff;
  transform: rotate(-4deg) scale(1.04);
}

.offering-card__icon,
.offering-card__title,
.offering-card__desc,
.offering-card__tag {
  position: relative;
  z-index: 1;
}

.offering-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.offering-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.offering-card__tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  border: 1px solid var(--green-line);
  color: var(--green);
  background: var(--green-light);
}

.offering-card__tag--neutral {
  color: var(--text-muted);
  background: #f5f5f5;
  border-color: var(--border);
}

/* ── Credibility / Validation Cards ────────────────────────── */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cred-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.cred-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}

.cred-card:hover {
  border-color: var(--green-line);
  box-shadow: 0 10px 28px rgba(26, 86, 50, 0.08);
  transform: translateY(-3px);
}

.cred-card:hover::after {
  transform: translateX(100%);
}

.cred-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 1rem;
  transition: background 0.25s, color 0.25s;
}

.cred-card:hover .cred-card__icon {
  background: var(--green-light);
  color: var(--green);
}

.cred-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.cred-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cred-card__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 1rem;
  color: var(--green);
}

.cred-card__status .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

.cred-card__status--done {
  color: var(--text-muted);
}

.cred-card__status--done .pulse { background: var(--text-light); animation: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Team ──────────────────────────────────────────────────── */
.team-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
}

.team-tab {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.team-tab:hover { color: var(--text); }
.team-tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

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

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.3s, transform 0.3s;
}

.team-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-card__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
}

.team-card__body {
  padding: 1rem 1.25rem 1.25rem;
}

.team-card__name {
  font-size: 1.05rem;
  font-weight: 600;
}

.team-card__role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  margin-top: 0.2rem;
}

.team-card__bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 0.5rem;
}

.team-panel {
  display: none;
}

.team-panel.active {
  display: block;
}

/* ── Advisory Card ─────────────────────────────────────────── */
.advisory-card {
  display: flex;
  gap: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.advisory-card__img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--border), var(--shadow-md);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.advisory-card:hover .advisory-card__img {
  transform: scale(1.04);
  box-shadow: 0 0 0 1px var(--green-line), var(--shadow-lg);
}

.advisory-card__name {
  font-size: 1.15rem;
  font-weight: 600;
}

.advisory-card__role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-top: 0.15rem;
}

.advisory-card__bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* ── Competence Box ────────────────────────────────────────── */
.competence-box {
  position: relative;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--bg) 100%);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  margin-top: 2rem;
  overflow: hidden;
}
.competence-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #1a5632 0%, #2eb8a6 50%, #1a5632 100%);
}

.competence-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  margin: 0.75rem 0 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.competence-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.competence-stat {
  position: relative;
  padding: 0.25rem 0.5rem 0.25rem 0.75rem;
  border-left: 2px solid var(--green-line);
}
.competence-stat:first-child { border-left: none; }
.competence-stat__val {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.competence-stat__val span {
  font-size: 0.7em;
  color: var(--green);
  font-weight: 600;
  margin-left: 1px;
}
.competence-stat__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.35;
}
@media (max-width: 768px) {
  .competence-stats { grid-template-columns: 1fr 1fr; }
  .competence-stat:nth-child(3) { border-left: none; }
}
@media (max-width: 480px) {
  .competence-stats { grid-template-columns: 1fr; padding: 0.75rem; }
  .competence-stat { border-left: none; border-top: 1px solid var(--border-light); padding-top: 0.75rem; }
  .competence-stat:first-child { border-top: none; padding-top: 0.25rem; }
}

.competence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.competence-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
  padding: 0.2rem 0;
}
.competence-grid li strong {
  color: var(--green-dark);
  font-weight: 600;
}

/* ── Competence cards (new grid, replaces flat bullet list) ──── */
.competence-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.competence-card {
  --cc-accent: #1a5632;
  --cc-soft: rgba(26,86,50,0.08);
  --cc-line: rgba(26,86,50,0.22);
  position: relative;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.competence-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--cc-accent);
  transform: scaleY(0.3);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.competence-card:hover {
  transform: translateY(-3px);
  border-color: var(--cc-line);
  box-shadow: var(--shadow-md);
}
.competence-card:hover::before { transform: scaleY(1); }

.competence-card--green  { --cc-accent: #1a5632; --cc-soft: rgba(26,86,50,0.09);   --cc-line: rgba(26,86,50,0.25); }
.competence-card--teal   { --cc-accent: #2eb8a6; --cc-soft: rgba(46,184,166,0.10); --cc-line: rgba(46,184,166,0.28); }
.competence-card--copper { --cc-accent: #c96f2a; --cc-soft: rgba(201,111,42,0.10); --cc-line: rgba(201,111,42,0.28); }
.competence-card--violet { --cc-accent: #6d4ef0; --cc-soft: rgba(109,78,240,0.09); --cc-line: rgba(109,78,240,0.26); }

.competence-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--cc-accent);
  background: var(--cc-soft);
  border: 1px solid var(--cc-line);
  border-radius: 10px;
  margin-bottom: 0.85rem;
  transition: transform 0.3s var(--ease-out);
}
.competence-card:hover .competence-card__icon {
  transform: rotate(-6deg) scale(1.06);
}

.competence-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.4rem;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.competence-card__body {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .competence-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .competence-cards { grid-template-columns: 1fr; }
}

.competence-grid li .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ── Partners / Investors ──────────────────────────────────── */
.partner-gateway {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

/* feature quad (2×2 inline fact grid) */
.feature-quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-quad__cell {
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: var(--text);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.feature-quad__cell:nth-child(2n) { border-right: none; }
.feature-quad__cell:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 480px) {
  .feature-quad { grid-template-columns: 1fr; }
  .feature-quad__cell { border-right: none; }
  .feature-quad__cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-light); }
  .feature-quad__cell:last-child { border-bottom: none; }
}

.partner-gateway > * { min-width: 0; }

.partner-panel {
  background: var(--bg);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  min-width: 0;
}

.partner-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.partner-panel__head span { color: var(--text-muted); }
.partner-panel__head strong { color: var(--green); font-size: 0.88rem; text-transform: none; }

.partner-steps {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.partner-steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}

.partner-steps li:last-child { border-bottom: none; }

.partner-steps .step-num {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: monospace;
}

.funding-bar {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
}

.funding-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--green) 0%, rgba(26,86,50,0) 100%);
}

/* ── Funding (new structured layout) ──────────────────────── */
.funding {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
}
.funding::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #1a5632 0%, #2eb8a6 33%, #c96f2a 66%, #1a5632 100%);
  background-size: 200% 100%;
  animation: funding-bar-shift 10s ease-in-out infinite;
}
@keyframes funding-bar-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.funding__intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: clamp(0rem, 1vw, 1rem);
}
.funding__eu-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(10, 42, 122, 0.25), 0 0 0 1px rgba(255,255,255,0.6) inset;
  overflow: hidden;
  animation: eu-mark-float 6s ease-in-out infinite;
}
@keyframes eu-mark-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(1.5deg); }
}
.funding__title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin: 0.75rem 0 0.85rem;
  letter-spacing: -0.01em;
}
.funding__body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.funding__body strong { color: var(--text); font-weight: 600; }

/* meta key/value rows fill the empty vertical space under the paragraph */
.funding__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--green-line);
}
.funding__meta li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.8rem;
}
.funding__meta li:last-child { border-bottom: none; }
.funding__meta-key {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  align-self: center;
}
.funding__meta-val {
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .funding__eu-mark { animation: none; }
}

.funding__programs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.program-card {
  --pc-accent: #1a5632;
  --pc-soft: rgba(26,86,50,0.08);
  --pc-line: rgba(26,86,50,0.22);
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--pc-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease-out);
}
.program-card:hover {
  transform: translateY(-3px);
  border-color: var(--pc-line);
  box-shadow: var(--shadow-md);
}
.program-card:hover::before { transform: scaleY(1); }

.program-card--teal   { --pc-accent: #2eb8a6; --pc-soft: rgba(46,184,166,0.09); --pc-line: rgba(46,184,166,0.28); }
.program-card--copper { --pc-accent: #c96f2a; --pc-soft: rgba(201,111,42,0.09); --pc-line: rgba(201,111,42,0.30); }
.program-card--green  { --pc-accent: #1a5632; --pc-soft: rgba(26,86,50,0.10);   --pc-line: rgba(26,86,50,0.28); }

.program-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--bg) 0%, var(--pc-soft) 100%);
}

.program-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0.5rem 0.75rem;
  background: var(--bg-alt);
  border-radius: calc(var(--radius) - 2px);
}
.program-card__logo img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}
.program-card__logo--featured {
  min-height: 180px;
  padding: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border-light);
}
.program-card__logo--featured img {
  max-height: none;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 3px);
}

.program-card__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
}
.program-card__tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pc-accent);
  background: var(--pc-soft);
  border: 1px solid var(--pc-line);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}
.program-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.program-card__note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.program-card__arrow {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pc-accent);
  background: var(--pc-soft);
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s, transform 0.3s var(--ease-out);
}
.program-card:hover .program-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 1024px) {
  .funding { grid-template-columns: 1fr; }
  .funding__programs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .funding__programs { grid-template-columns: 1fr; }
  .program-card--featured { grid-template-columns: 1fr; }
  .program-card__logo--featured { min-height: 140px; }
}

.funding-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.funding-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  min-height: 96px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.funding-logos a:hover {
  border-color: var(--green-line);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.funding-logos a.logo--featured {
  grid-column: 1 / -1;
  min-height: 220px;
  padding: 0.6rem;
  background: var(--bg-alt);
  border-color: var(--green-line);
}

.funding-logos img {
  max-width: 100%;
  max-height: 65px;
  object-fit: contain;
}

.funding-logos a.logo--featured img {
  max-height: none;
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 2px);
}

/* ── Contact ───────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  border: 1px solid var(--green-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-item__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-item__value {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.contact-map {
  width: 100%;
  height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 0.5rem;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: calc(100% - 0.75rem) center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  transition: background 0.2s;
  margin-top: 0.5rem;
  cursor: pointer;
}

.form-submit:hover {
  background: var(--green-dark);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.form-status--ok {
  color: #0f5132;
  background: #dff5e8;
  border: 1px solid #b6e4c8;
}

.form-status--err {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f1aeb5;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  width: 100%;
  margin: 0;
  background: var(--bg);
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer__brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 340px;
  margin-top: 1rem;
}

.footer__col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--green);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.25s;
  margin-top: 1rem;
}

.social-link:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

/* ── Scroll to Top ─────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 99;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--green-dark);
}

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 { transition-delay: 0.05s; }
.reveal.d2 { transition-delay: 0.1s; }
.reveal.d3 { transition-delay: 0.15s; }
.reveal.d4 { transition-delay: 0.2s; }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--green-light);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

.cta-banner__icon {
  flex-shrink: 0;
  color: var(--green);
}

.cta-banner__text {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}

.cta-banner__text strong {
  font-weight: 600;
}

/* ── Blockquote ────────────────────────────────────────────── */
.blockquote {
  position: relative;
  margin: 2rem 0 0;
  padding: 2rem 1.75rem 1.5rem 3rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  color: var(--text);
}

.blockquote::before {
  content: "\201C";
  position: absolute;
  top: 0.1rem;
  left: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--green);
  opacity: 0.85;
  pointer-events: none;
}

.blockquote__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  font-style: italic;
  color: var(--text);
}

.blockquote__cite,
.blockquote cite {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.blockquote__cite::before,
.blockquote cite::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--green);
  vertical-align: middle;
  margin-right: 0.5rem;
  transform: translateY(-2px);
}

/* ── Check List ────────────────────────────────────────────── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Stat Grid (About section) ─────────────────────────────── */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-stat {
  --as-accent: #1a5632;
  --as-soft: rgba(26,86,50,0.08);
  --as-line: rgba(26,86,50,0.22);
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.about-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--as-accent);
  transform: scaleY(0.25);
  transform-origin: top;
  opacity: 0.55;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

.about-stat:hover {
  border-color: var(--as-line);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.about-stat:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

.about-stat--green  { --as-accent: #1a5632; --as-soft: rgba(26,86,50,0.10);  --as-line: rgba(26,86,50,0.28); }
.about-stat--teal   { --as-accent: #2eb8a6; --as-soft: rgba(46,184,166,0.10); --as-line: rgba(46,184,166,0.30); }
.about-stat--copper { --as-accent: #c96f2a; --as-soft: rgba(201,111,42,0.10); --as-line: rgba(201,111,42,0.30); }
.about-stat--violet { --as-accent: #6d4ef0; --as-soft: rgba(109,78,240,0.09); --as-line: rgba(109,78,240,0.28); }

.about-stat__val {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.about-stat__val span {
  font-size: 0.65em;
  color: var(--as-accent);
  margin-left: 2px;
}

.about-stat__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.about-stat__bench {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--as-accent);
  background: var(--as-soft);
  border: 1px solid var(--as-line);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-top: 0.65rem;
  line-height: 1.4;
}
.about-stat__bench::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--as-accent);
  flex-shrink: 0;
}

/* ── 2-column utility grid (replaces inline grid-template-columns styles) */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Utility ───────────────────────────────────────────────── */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.88rem; }
.text-xs { font-size: 0.78rem; }
.font-light { font-weight: 300; }
.border-top { border-top: 1px solid var(--border); padding-top: 1.5rem; }

.hidden { display: none !important; }

.animate-spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}



/* ── Mobile Horizontal Scroll Carousel System ──────────────── */
.hscroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hscroll::-webkit-scrollbar { display: none; }

@media (max-width: 768px) {
  .hscroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem !important;
    padding-bottom: 0.75rem;
    /* bleed to edges */
    margin-left: calc(-1 * clamp(1.25rem, 4vw, 3rem)) !important;
    margin-right: calc(-1 * clamp(1.25rem, 4vw, 3rem)) !important;
    padding-left: clamp(1.25rem, 4vw, 3rem) !important;
    padding-right: clamp(1.25rem, 4vw, 3rem) !important;
  }
  .hscroll > * {
    flex: 0 0 78vw !important;
    max-width: 300px !important;
    min-width: 0 !important;
    scroll-snap-align: start;
  }
  /* wider cards for offering/info grids */
  .hscroll--wide > * {
    flex: 0 0 85vw !important;
    max-width: 340px !important;
  }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; margin: 1.5rem auto 0; }
  .split, .split--wide-left, .split--header { grid-template-columns: 1fr; }
  .evidence-strip { grid-template-columns: repeat(2, 1fr); }
  .evidence-strip__item:nth-child(2) { border-right: none; }
  .evidence-strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-compare { grid-template-columns: 1fr; }
  .tech-compare__divider { display: none; }
  .research-card { grid-template-columns: 1fr; }
  /* offering-grid intentionally stays 2-col at tablet — hscroll handles mobile */
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .partner-gateway { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .funding-bar { grid-template-columns: 1fr; }
  .funding-logos { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .competence-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* app-grid: 4-col is cramped at narrow tablet — drop to 2 */
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  /* cred-grid: 3-col becomes tight — drop to 1 */
  .cred-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --max-w: 100vw; }
  .site-wrapper, .site-footer {
    width: 100%;
  }

  .nav {
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    height: 58px;
    padding: 0 0.85rem;
    transform: none;
  }

  .nav__logo img { height: 36px; }

  .nav__links {
    display: none;
    position: fixed;
    top: 58px;
    left: 0.5rem;
    right: 0.5rem;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    gap: 0;
    z-index: 999;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links .nav__link,
  .nav__links .nav__cta {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
    border-radius: 0;
    text-align: left;
  }

  .nav__links .nav__cta {
    border-bottom: none;
    margin-top: 0.5rem;
    text-align: center;
    border-radius: var(--radius);
  }

  .hamburger {
    display: flex;
  }

  /* ─ Tighten section padding on mobile ─ */
  .section-pad { padding: clamp(2rem, 5vw, 3.5rem) 0; }
  .section-pad-sm { padding: clamp(1.25rem, 3vw, 2rem) 0; }

  .hero { padding-top: 5.5rem; padding-bottom: 2rem; }
  .hero__visual { display: none; }
  .hero__signals { gap: 0.4rem 0.5rem; }
  .hero__signals li { font-size: 0.8rem; padding: 0.45rem 0.8rem 0.45rem 0.65rem; }

  .evidence-strip { grid-template-columns: 1fr 1fr; }
  .evidence-strip__item { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .evidence-strip__item:nth-child(even) { border-right: none; }
  .evidence-strip__item:nth-last-child(-n+2) { border-bottom: none; }

  /* responsive 2-col utility grid */
  .grid-2 { grid-template-columns: 1fr; }

  /* cards become horizontal scroll */
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .funding-logos { grid-template-columns: 1fr 1fr; gap: 0.5rem; }

  .advisory-card { flex-direction: column; }
  .advisory-card__img { width: 110px; height: 110px; }

  .cta-banner { flex-direction: column; text-align: center; gap: 1rem; }
  .cta-banner .btn { width: 100%; justify-content: center; }

  .image-band { min-height: 200px; }
  .image-band::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
  }

  /* partner gateway tighter */
  .partner-gateway { gap: 1rem; margin-bottom: 1.25rem; }
  .partner-panel { padding: 1rem; }
  .funding-bar { padding: 1rem; gap: 1rem; }

  /* research card tighter */
  .research-card { padding: 1.25rem; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .team-tabs { gap: 0.75rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hero__signals { width: 100%; }
  .hero__signals li { flex: 1 1 100%; }
  .evidence-strip { grid-template-columns: 1fr; }
  .evidence-strip__item { border-right: none !important; }
}

/* ── Materials Explorer responsive ────────────────────────── */
@media (max-width: 1024px) {
  .mat-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mat-panel { grid-template-columns: 240px 1fr; }
  .mat-specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .mat-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mat-chip__caption { font-size: 0.65rem; }
  .mat-panels { min-height: 0; }
  .mat-panel { grid-template-columns: 1fr; }
  .mat-visual { aspect-ratio: 16 / 9; padding: 1rem; border-right: none; border-bottom: 1px solid var(--border); }
  .mat-lattice { max-width: 180px; }
  .mat-content { padding: 1.25rem 1.25rem 1.5rem; }
}
@media (max-width: 480px) {
  .mat-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mat-specs { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
}

/* ── Animation performance & reduced motion ───────────────── */
.reveal { will-change: opacity, transform; }
.reveal.active { will-change: auto; }

.nav, .scroll-top { will-change: transform; }

/* Below-the-fold sections can skip rendering until near-viewport.
   Lighter paint work while scrolling. */
section#technology,
section#validation,
section#team,
section#investors,
section#contact {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .lattice-rot { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   GRADIENT TEXT + SITE-WIDE ANIMATION POLISH
   ═══════════════════════════════════════════════════════════════ */

/* Gradient-text utility — each variant keys off a different accent family so
   no two adjacent headlines share the exact same hue.
   Falls back to solid brand green in browsers without background-clip:text. */
.text-gradient,
.text-gradient--teal,
.text-gradient--copper,
.text-gradient--violet,
.text-gradient--gold {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: text-grad-shift 9s ease-in-out infinite;
}
.text-gradient         { background-image: linear-gradient(135deg, #0b1a12 0%, #123d24 25%, #1a5632 55%, #2eb8a6 100%); }
.text-gradient--teal   { background-image: linear-gradient(135deg, #0b3d3a 0%, #2eb8a6 55%, #7fe3d6 100%); }
.text-gradient--copper { background-image: linear-gradient(135deg, #3a1d0a 0%, #8a4618 40%, #c96f2a 70%, #e8a76b 100%); }
.text-gradient--violet { background-image: linear-gradient(135deg, #1b1040 0%, #4a2ea3 45%, #7a5bff 75%, #a98bff 100%); }
.text-gradient--gold   { background-image: linear-gradient(135deg, #3d2e08 0%, #8a6a1a 40%, #c7a138 70%, #eacb6f 100%); }

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-gradient,
  .text-gradient--teal,
  .text-gradient--copper,
  .text-gradient--violet,
  .text-gradient--gold { color: var(--green); -webkit-text-fill-color: initial; }
}
@keyframes text-grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ── Section-label shine — the green "Who We Are"-style tags ────── */
.section-label {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.section-label::after {
  content: "";
  position: absolute;
  top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46,184,166,0.28), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.reveal.active .section-label::after,
.section-label.active::after {
  animation: label-shine 2.6s ease-out 0.25s 1;
}
@keyframes label-shine {
  0%   { left: -40%; }
  100% { left: 140%; }
}

/* ── Reveal direction variants (progressive enhancement) ────────── */
.reveal--left  { transform: translateX(-24px); }
.reveal--right { transform: translateX(24px); }
.reveal--left.active,
.reveal--right.active { transform: translateX(0); }

/* Stagger — cascade children of `.reveal-stagger` when parent activates */
.reveal-stagger > * { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal-stagger.active > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.active > *:nth-child(6) { transition-delay: 0.55s; }

/* ── Process card polish: image ken-burns + hover lift ──────────── */
.process-card { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease; }
.process-card__img { transition: transform 0.9s var(--ease-out); }
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-card:hover .process-card__img { transform: scale(1.06); }

/* ── App card polish ────────────────────────────────────────────── */
.app-card { position: relative; overflow: hidden; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.app-card__img { transition: transform 0.9s var(--ease-out), filter 0.5s ease; }
.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 86, 50, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.app-card:hover .app-card__img { transform: scale(1.08); filter: saturate(1.1); }
.app-card:hover::after { opacity: 1; }

/* ── Team card polish ──────────────────────────────────────────── */
.team-card { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease; }
.team-card__img { transition: transform 0.6s var(--ease-out), filter 0.5s ease; }
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-line); }
.team-card:hover .team-card__img { transform: scale(1.04); filter: saturate(1.1) contrast(1.02); }

/* ── Primary-button shine sweep ─────────────────────────────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.btn-primary:hover::before { left: 140%; }

/* ── Nav link underline draw on hover ───────────────────────────── */
.nav__link { position: relative; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), #2eb8a6);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out);
}
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

/* ── Image-band subtle parallax zoom ────────────────────────────── */
.image-band img { transition: transform 6s linear; transform: scale(1.02); }
.image-band:hover img { transform: scale(1.08); }

/* ── Evidence-strip item hover accent ───────────────────────────── */
.evidence-strip__item { transition: background 0.3s ease; position: relative; }
.evidence-strip__item::before {
  content: "";
  position: absolute;
  left: 0; top: 10%;
  width: 2px; height: 80%;
  background: linear-gradient(180deg, var(--green), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.evidence-strip__item:hover { background: rgba(26, 86, 50, 0.03); }
.evidence-strip__item:hover::before { transform: scaleY(1); }

/* ── Scroll-to-top polish ───────────────────────────────────────── */
.scroll-top { transition: transform 0.3s var(--ease-out), opacity 0.3s ease, background 0.25s ease; }
.scroll-top:hover { transform: translateY(-3px); }

/* ── Mat-chip brief accent animation on hover (already has :active) */
.mat-chip { transition: transform 0.25s var(--ease-out), border-color 0.25s ease, background 0.25s ease; }
.mat-chip:hover:not(.active) { transform: translateY(-2px); }

/* ── H2 underline accent that draws in on reveal ────────────────── */
.h2-accent {
  position: relative;
  display: inline-block;
}
.h2-accent::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.35rem;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--green), #2eb8a6);
  border-radius: 2px;
  transition: width 0.8s var(--ease-out) 0.2s;
}
.reveal.active .h2-accent::after { width: 72px; }

/* ── Float / soft-bob animation utility ─────────────────────────── */
@keyframes soft-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero__crystal-img { animation: soft-bob 6s ease-in-out infinite; will-change: transform; }

/* Respect reduced motion for everything added above */
@media (prefers-reduced-motion: reduce) {
  .text-gradient, .text-gradient--teal, .text-gradient--copper, .text-gradient--violet, .text-gradient--gold { animation: none; background-position: 0% 50%; }
  .hero__crystal-img { animation: none; }
  .section-label::after { display: none; }
  .process-card__img, .app-card__img, .team-card__img, .image-band img { transition: none; transform: none !important; }
  .btn-primary::before { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE — Neutral Dark Grey (#222 family)
   Brand green is boosted slightly so it still pops.
   ═══════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  /* Brand accent: brighter green for contrast on dark grey */
  --green: #3db574;
  --green-dark: #2d9860;
  --green-light: rgba(61, 181, 116, 0.14);
  --green-soft: rgba(61, 181, 116, 0.07);
  --green-line: rgba(61, 181, 116, 0.28);

  /* Neutral grey surfaces */
  --bg: #222222;
  --bg-alt: #2a2a2a;
  --bg-page: #1a1a1a;
  --bg-hero: #222222;

  /* Text — neutral greys, all WCAG AA on #222 */
  --text: #f1f1f1;          /* 14.0:1 — body / headlines */
  --text-secondary: #d4d4d4; /* 10.8:1 — subheads / emphasised body */
  --text-muted: #b0b0b0;     /* 7.3:1  — captions / labels */
  --text-light: #9e9e9e;     /* 5.9:1  — tertiary (formerly 2.99:1, illegal) */

  --border: #333333;
  --border-light: #2a2a2a;
  --border-strong: #444444;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.45);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.55);
  --shadow-card: 0 1px 4px rgba(0,0,0,0.35);

  color-scheme: dark;
}

/* Smooth paint transition when toggling — but not on initial load */
html.theme-ready body,
html.theme-ready .nav,
html.theme-ready .site-wrapper,
html.theme-ready [class*="card"],
html.theme-ready section {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Nav translucent overrides for dark mode */
[data-theme="dark"] .nav {
  background: rgba(15, 20, 17, 0.82);
  border-bottom-color: var(--border);
}
[data-theme="dark"] .nav.scrolled {
  background: rgba(15, 20, 17, 0.94);
}
@media (max-width: 768px) {
  [data-theme="dark"] .nav__links {
    background: rgba(15, 20, 17, 0.98);
  }
}

/* Selection */
[data-theme="dark"] ::selection {
  background: rgba(61, 181, 116, 0.3);
  color: var(--text);
}

/* CTA button text stays white on green */
[data-theme="dark"] .nav__cta,
[data-theme="dark"] .btn-primary {
  color: #0f1411;
  font-weight: 700;
}

/* Slightly dim photos in dark mode so they don't punch too hard */
[data-theme="dark"] .app-card__img,
[data-theme="dark"] .process-card__img,
[data-theme="dark"] .team-card__img,
[data-theme="dark"] .image-band img {
  filter: brightness(0.88) contrast(1.02);
}

/* ── Theme toggle button ───────────────────────────────────── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 0.4rem;
  border-radius: 50%;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}
.theme-toggle:hover {
  color: var(--green);
  border-color: var(--green-line);
  background: var(--green-soft);
  transform: rotate(12deg);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Show sun in dark mode, moon in light mode */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (max-width: 768px) {
  .theme-toggle { width: 32px; height: 32px; margin-right: 0.25rem; }
  .theme-toggle svg { width: 16px; height: 16px; }
}

/* ── Logo variant swap ─────────────────────────────────────── */
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

/* ── Form elements: dark-mode focus ring + select arrow ─────── */
[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-textarea:focus,
[data-theme="dark"] .form-select:focus {
  box-shadow: 0 0 0 3px rgba(61, 181, 116, 0.18);
}
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
  background-color: var(--bg-alt);
}
[data-theme="dark"] .form-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e9a92' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
}
[data-theme="dark"] input:-webkit-autofill,
[data-theme="dark"] textarea:-webkit-autofill,
[data-theme="dark"] select:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-alt) inset;
  caret-color: var(--text);
}

/* ── Cards / surfaces subtle lift in dark ──────────────────── */
[data-theme="dark"] .feature-card,
[data-theme="dark"] .app-card,
[data-theme="dark"] .process-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .method-card,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .metric-card {
  background: var(--bg-alt);
  border-color: var(--border);
}

/* ── Footer slight separation ─────────────────────────────── */
[data-theme="dark"] .site-footer {
  background: #080b09;
  border-top: 1px solid var(--border);
}

/* ── Hero / band gradients: soften in dark mode ────────────── */
[data-theme="dark"] .hero,
[data-theme="dark"] .hero-band,
[data-theme="dark"] .band-gradient {
  background: var(--bg);
}

/* Green-tinted sections use --green-light — already tokenised, no override needed */

/* ── SVG strokes / outlines inside content ─────────────────── */
[data-theme="dark"] img[src$=".svg"]:not(.logo-light):not(.logo-dark) {
  filter: brightness(0.95);
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE — Gradient & animation overrides
   Replace hardcoded greens/teals so they read well on neutral grey.
   ═══════════════════════════════════════════════════════════════ */

/* Big brand gradient (hero background, etc.) — neutral charcoal → brand green */
[data-theme="dark"] .hero,
[data-theme="dark"] .brand-gradient {
  background: linear-gradient(135deg, #1a1a1a 0%, #222222 35%, #2a3a30 70%, #3db574 100%) !important;
}

/* H2 underline accent */
[data-theme="dark"] .h2-accent::after,
[data-theme="dark"] .section-divider,
[data-theme="dark"] .reveal .h2-accent::after {
  background: linear-gradient(90deg, var(--green), #7ad8a7) !important;
}

/* Multi-colour decorative bars — keep the accent colours, dim slightly */
[data-theme="dark"] .rainbow-bar,
[data-theme="dark"] .benchmark-bar {
  background: linear-gradient(90deg, #3db574 0%, #4dbfad 33%, #d48348 66%, #3db574 100%) !important;
}

/* Text gradients — keep the identity of each variant but shift into visible range on dark */
[data-theme="dark"] .text-gradient {
  background-image: linear-gradient(135deg, #ececec 0%, #a8dcc0 35%, #3db574 70%, #4dbfad 100%);
}
[data-theme="dark"] .text-gradient--teal {
  background-image: linear-gradient(135deg, #4dbfad 0%, #7fe3d6 55%, #d4f5ef 100%);
}
[data-theme="dark"] .text-gradient--violet {
  background-image: linear-gradient(135deg, #7a5bff 0%, #a98bff 55%, #d0c2ff 100%);
}
[data-theme="dark"] .text-gradient--copper {
  background-image: linear-gradient(135deg, #c96f2a 0%, #e8a76b 50%, #f5cb9f 100%);
}
[data-theme="dark"] .text-gradient--gold {
  background-image: linear-gradient(135deg, #c7a138 0%, #eacb6f 50%, #f5e4b0 100%);
}

/* Stat/note badges — same hues, lifted saturation for visibility */
[data-theme="dark"] .stat-item__note--record   { color: #e8a76b; background: rgba(201,111,42,0.18); }
[data-theme="dark"] .stat-item__note--record::before   { background: #e8a76b; }
[data-theme="dark"] .stat-item__note--above    { color: #7fe3d6; background: rgba(46,184,166,0.16); }
[data-theme="dark"] .stat-item__note--above::before    { background: #4dbfad; }
[data-theme="dark"] .stat-item__note--milestone{ color: #a98bff; background: rgba(109,78,240,0.16); }
[data-theme="dark"] .stat-item__note--milestone::before{ background: #a98bff; }

/* Atom / lattice animation colours */
[data-theme="dark"] {
  --atom-a: #4dbfad;
  --atom-b: #a98bff;
}

/* Lattice grid overlay lines — subtle light stroke */
[data-theme="dark"] .lattice-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}

/* Radial glow backgrounds (atoms, halos) */
[data-theme="dark"] .lattice-bg,
[data-theme="dark"] .radial-glow,
[data-theme="dark"] [class*="glow"] {
  background:
    radial-gradient(circle at 30% 30%, rgba(61,181,116,0.10) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(77,191,173,0.06) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-page) 100%);
}

/* Overlay shimmer on images/buttons */
[data-theme="dark"] [class*="shimmer"]::after,
[data-theme="dark"] .btn-primary::before {
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%) !important;
}

/* Hero / image-band overlay */
[data-theme="dark"] .image-band::after,
[data-theme="dark"] .hero__overlay {
  background: linear-gradient(90deg, rgba(20,20,20,0.85), rgba(20,20,20,0.3) 60%, transparent) !important;
}

/* Divider lines */
[data-theme="dark"] hr,
[data-theme="dark"] .divider {
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  border: none;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE — Polish (post-visual-review)
   ═══════════════════════════════════════════════════════════════ */

/* Force text gradients to the bright family — animation shifts the
   background-position across 200% so the darkest stop was sliding into
   view and vanishing on #222. Lock the starts into readable hues. */
[data-theme="dark"] .text-gradient {
  background-image: linear-gradient(135deg, #a8dcc0 0%, #3db574 35%, #4dbfad 70%, #7fe3d6 100%) !important;
}
[data-theme="dark"] .text-gradient--teal {
  background-image: linear-gradient(135deg, #4dbfad 0%, #7fe3d6 55%, #d4f5ef 100%) !important;
}
[data-theme="dark"] .text-gradient--violet {
  background-image: linear-gradient(135deg, #a98bff 0%, #c2abff 55%, #e0d4ff 100%) !important;
}
[data-theme="dark"] .text-gradient--copper {
  background-image: linear-gradient(135deg, #e8a76b 0%, #d48348 50%, #f5cb9f 100%) !important;
}
[data-theme="dark"] .text-gradient--gold {
  background-image: linear-gradient(135deg, #eacb6f 0%, #f5e4b0 50%, #c7a138 100%) !important;
}

/* Decorative numbers (01 / 02 / 03 / 04) on offering/process cards */
[data-theme="dark"] .offering-card__num,
[data-theme="dark"] .process-card__num,
[data-theme="dark"] .step__num {
  color: #3a3a3a;
}
[data-theme="dark"] .offering-card:hover .offering-card__num {
  color: var(--green);
  text-shadow: 0 0 24px rgba(61, 181, 116, 0.45);
}

/* Benchmark anchor line + arrows + "Lower/Higher = Better" tags */
[data-theme="dark"] .stat-item__bench {
  border-left-color: #4dbfad;
}
[data-theme="dark"] .stat-item__bench-arrow,
[data-theme="dark"] .stat-item__bench-tag::before {
  color: #7fe3d6;
}
[data-theme="dark"] .stat-item__bench-tag {
  color: #7fe3d6;
  background: rgba(77, 191, 173, 0.14);
  border-color: rgba(77, 191, 173, 0.35);
}

/* Tech-compare: legacy (Traditional) badge — use dark surface */
[data-theme="dark"] .tech-compare__badge--legacy {
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Compare-table ours column — brighter green for emphasis */
[data-theme="dark"] .compare-table__header .ours {
  color: #45d185;
}

/* Stat-item hairline arrow (↑ / ↓ icons inline with numbers) */
[data-theme="dark"] .stat-item__note--record,
[data-theme="dark"] .stat-item__note--above,
[data-theme="dark"] .stat-item__note--milestone {
  border: 1px solid currentColor;
}

/* Softer hero brand gradient — the 100% green stop was too loud */
[data-theme="dark"] .hero,
[data-theme="dark"] .brand-gradient {
  background: linear-gradient(135deg, #1a1a1a 0%, #222222 45%, #273530 78%, #2d5e45 100%) !important;
}

/* Scroll-top floating button */
[data-theme="dark"] #scrollTop,
[data-theme="dark"] .scroll-top {
  background: var(--green);
  color: #111;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5), 0 0 0 1px rgba(61,181,116,0.3);
}

/* Nav active-link underline matches brighter green */
[data-theme="dark"] .nav__link::after,
[data-theme="dark"] .nav__link.active::after,
[data-theme="dark"] .nav--active::after {
  background: var(--green);
}

/* Hero headline fallback color (if gradient unsupported) — bright green */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  [data-theme="dark"] .text-gradient,
  [data-theme="dark"] .text-gradient--teal,
  [data-theme="dark"] .text-gradient--copper,
  [data-theme="dark"] .text-gradient--violet,
  [data-theme="dark"] .text-gradient--gold {
    color: var(--green);
  }
}

/* ── Hardcoded #1a5632 accent leaks — all card variants ─────────
   Multiple components (method-card, competence-card, program-card,
   about-stat) hardcode #1a5632 which is only 1.83:1 on #222.
   Replace the --accent-style custom prop per variant for dark. */
[data-theme="dark"] .method-card,
[data-theme="dark"] .method-card--green {
  --accent: #3db574;
  --accent-soft: rgba(61,181,116,0.10);
  --accent-line: rgba(61,181,116,0.30);
}
[data-theme="dark"] .competence-card,
[data-theme="dark"] .competence-card--green {
  --cc-accent: #3db574;
  --cc-soft: rgba(61,181,116,0.10);
  --cc-line: rgba(61,181,116,0.28);
}
[data-theme="dark"] .program-card,
[data-theme="dark"] .program-card--green {
  --pc-accent: #3db574;
  --pc-soft: rgba(61,181,116,0.10);
  --pc-line: rgba(61,181,116,0.28);
}
[data-theme="dark"] .about-stat,
[data-theme="dark"] .about-stat--green {
  --as-accent: #3db574;
  --as-soft: rgba(61,181,116,0.10);
  --as-line: rgba(61,181,116,0.28);
}

/* Multi-hue decorative bars using hardcoded green→teal→green */
[data-theme="dark"] [style*="linear-gradient(90deg, #1a5632"],
[data-theme="dark"] .rainbow-strip,
[data-theme="dark"] .benchmark-strip {
  background: linear-gradient(90deg, #3db574 0%, #4dbfad 33%, #d48348 66%, #3db574 100%) !important;
}

/* Lead paragraphs + subtitles - keep prose readable */
[data-theme="dark"] .lead,
[data-theme="dark"] .subtitle,
[data-theme="dark"] .hero__subtitle,
[data-theme="dark"] .section__subtitle {
  color: var(--text-secondary);
}
[data-theme="dark"] small,
[data-theme="dark"] .caption,
[data-theme="dark"] .footnote,
[data-theme="dark"] .micro-label {
  color: var(--text-muted);
}

/* ::selection on any muted block */
[data-theme="dark"] ::selection {
  background: rgba(61,181,116,0.3);
  color: #fff;
}

/* ── Hero <h1> — its gradient is hardcoded via `.hero h1`, not
   the .text-gradient class, so we override it directly. ─────── */
[data-theme="dark"] .hero h1 {
  background: linear-gradient(135deg, #f1f1f1 0%, #a8dcc0 40%, #3db574 70%, #4dbfad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  [data-theme="dark"] .hero h1 {
    color: var(--text);
    -webkit-text-fill-color: initial;
  }
}

/* ── Neutral tag pill — hardcoded #f5f5f5 bg fails on dark ──── */
[data-theme="dark"] .offering-card__tag--neutral {
  background: var(--bg-alt);
  color: var(--text-secondary);
  border-color: var(--border);
}

/* Green variant tag — already uses tokens, but force a brighter
   green outline so it reads against the darker card surface. */
[data-theme="dark"] .offering-card__tag {
  border-color: var(--green-line);
}
