/* ===========================================================
   CCM — Minimalist, high-tech rebuild
   Page-specific overrides on top of tokens.css.
   =========================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-2); color: var(--fg-1); }
body {
  font-family: var(--font-body);
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
}

:root {
  --accent: var(--emerald-400);
  --accent-strong: var(--emerald-500);
  --accent-tint: rgba(52, 211, 153, 0.10);
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --rule: rgba(255,255,255,0.07);
  --rule-strong: rgba(255,255,255,0.14);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---- shell ---- */
.shell {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Section padding */
.sec { padding-block: clamp(80px, 11vh, 140px); position: relative; }
.sec.compact { padding-block: clamp(56px, 8vh, 96px); }
hr.rule { border: 0; height: 1px; background: var(--rule); margin: 0; }

/* ---- ticker ---- */
.ticker {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  padding: 8px var(--gutter); border-bottom: 1px solid var(--rule);
  background: var(--bg-1);
}
.ticker .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(52,211,153,0.10);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10,15,20,0.78);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 15px;
  color: var(--fg-1);
}
.nav-logo .glyph {
  width: 24px; height: 24px;
  border-radius: 5px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #04130d;
  font-family: var(--font-display);
  font-weight: 800; font-size: 12px;
}
.nav-links { display: flex; align-items: center; gap: 4px; justify-content: center; }
.nav-links a {
  padding: 8px 14px;
  font-size: 13.5px;
  color: var(--fg-3);
  border-radius: 8px;
  transition: color var(--dur-base) var(--ease-out);
}
.nav-links a:hover { color: var(--fg-1); }
.nav-links a.active { color: var(--fg-1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .lang {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4);
  padding: 6px 10px; border: 1px solid var(--rule); border-radius: 6px;
}
.nav-cta .btn {
  padding: 9px 16px;
  font-size: 13px; font-weight: 500;
  color: #04130d;
  background: var(--accent);
  border-radius: 6px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background var(--dur-base) var(--ease-out);
}
.nav-cta .btn:hover { background: var(--emerald-300); }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr; }
}

/* ---- buttons ---- */
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #04130d;
  transition: background var(--dur-base) var(--ease-out);
}
.btn-pill:hover { background: var(--emerald-300); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  color: var(--fg-1);
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.btn-ghost:hover { border-color: var(--fg-3); background: rgba(255,255,255,0.03); }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-3);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.btn-link:hover { color: var(--accent); border-color: var(--accent); }
.btn-link .arr { transition: transform var(--dur-base) var(--ease-out); }
.btn-link:hover .arr { transform: translateX(4px); }

/* ---- section header ---- */
.sec-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}
.sec-head .index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: grid; gap: 8px;
}
.sec-head .index b { color: var(--fg-3); font-weight: 400; }
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  max-width: 20ch;
  color: var(--fg-1);
}
.sec-head h2 em { font-style: normal; color: var(--accent); }
.sec-head .lede {
  margin: 24px 0 0;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-3);
}
.sec-head .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .sec-head h2 { font-size: 36px; }
}

/* ---- hero ---- */
.hero {
  position: relative;
  padding-block: clamp(64px, 10vh, 120px) clamp(48px, 8vh, 96px);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-eyebrow .badge {
  padding: 4px 10px; background: var(--accent-tint); color: var(--accent); border-radius: 4px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 108px);
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 32px 0 0;
  color: var(--fg-1);
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); font-weight: 500; }
.hero h1 .it { font-style: italic; font-weight: 400; }
.hero-lede {
  margin-top: 36px;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-3);
}
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 36px; }

/* ---- terminal-style spec panel ---- */
/* ---- hero visual (specimen image panel) ---- */
.hero-visual {
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-visual-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-4);
}
.hero-visual-head .dot-row { display: flex; gap: 5px; }
.hero-visual-head .dot-row span {
  width: 7px; height: 7px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.hero-visual-head .dot-row span:first-child { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.hero-visual-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000;
}
.hero-visual-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.hv-crosshair {
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
}
.hv-crosshair::before, .hv-crosshair::after {
  content: ""; position: absolute; background: var(--accent);
}
.hv-crosshair::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.hv-crosshair::after  { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.hv-crosshair.tl { top: 10px; left: 10px; }
.hv-crosshair.tr { top: 10px; right: 10px; }
.hv-crosshair.bl { bottom: 10px; left: 10px; }
.hv-crosshair.br { bottom: 10px; right: 10px; }
.hv-tag {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  background: rgba(7,11,15,0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}
.hv-tag-l { text-transform: uppercase; color: var(--fg-4); }
.hv-tag-v { color: var(--accent); white-space: nowrap; }
@media (max-width: 1000px) {
  .hero-visual-img { aspect-ratio: 16 / 10; }
}
@media (max-width: 540px) {
  .hv-tag { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* hero stats strip */
.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hero-stats > div {
  padding: 22px 24px;
  border-right: 1px solid var(--rule);
  display: grid; gap: 6px;
}
.hero-stats > div:last-child { border-right: 0; }
.hero-stats .v {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  color: var(--fg-1);
  line-height: 1.05;
}
.hero-stats .v em { color: var(--accent); font-style: normal; }
.hero-stats .l {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-4);
}
@media (max-width: 800px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(1), .hero-stats > div:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* ---- about ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.about-card {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--rule);
  display: grid; gap: 16px; align-content: start;
}
.about-card:last-child { border-right: 0; padding-right: 0; }
.about-card:not(:first-child) { padding-left: 32px; }
.about-card .num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
}
.about-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--fg-1);
}
.about-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-3);
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { border-right: 0; border-bottom: 1px solid var(--rule); padding: 28px 0 !important; }
  .about-card:last-child { border-bottom: 0; }
}

/* ---- process ---- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
.proc {
  position: relative;
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--rule);
  display: grid; gap: 14px;
  align-content: start;
}
.proc:last-child { border-right: 0; padding-right: 0; }
.proc:not(:first-child) { padding-left: 28px; }
.proc .step {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.proc .step b { color: var(--accent); font-weight: 500; font-size: 13px; }
.proc .step span { color: var(--fg-4); }
.proc h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--fg-1);
}
.proc p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-3);
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .proc { border-right: 0; border-bottom: 1px solid var(--rule); padding: 24px 0 !important; }
}

/* ---- solutions: tabular ---- */
.solutions {
  border-top: 1px solid var(--rule-strong);
}
.sol-row {
  display: grid;
  grid-template-columns: 56px 1.2fr 1.5fr auto;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out);
}
.sol-row:hover { background: rgba(255,255,255,0.018); }
.sol-row .idx {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-4); letter-spacing: 0.06em;
}
.sol-row .name {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--fg-1);
}
.sol-row .name .ic {
  width: 34px; height: 34px;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  display: grid; place-items: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.sol-row:hover .name .ic { border-color: var(--accent); background: var(--accent-tint); }
.sol-row .desc {
  font-size: 14.5px;
  color: var(--fg-3);
  line-height: 1.55;
}
.sol-row .tags {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end;
}
.sol-row .tags span {
  font-family: var(--font-mono); font-size: 10.5px;
  padding: 4px 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--fg-3);
  white-space: nowrap;
}
.sol-row .arr-link {
  font-family: var(--font-mono); font-size: 18px;
  color: var(--fg-4);
  transition: color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.sol-row:hover .arr-link { color: var(--accent); transform: translateX(4px); }
@media (max-width: 900px) {
  .sol-row { grid-template-columns: auto 1fr; gap: 12px 16px; padding: 22px 0; }
  .sol-row .idx { grid-row: 1; }
  .sol-row .name { grid-row: 1; grid-column: 2; }
  .sol-row .desc { grid-row: 2; grid-column: 1 / -1; }
  .sol-row .tags { grid-row: 3; grid-column: 1 / -1; justify-content: flex-start; }
  .sol-row .arr-link { display: none; }
}

/* ---- evidence ---- */
.evidence {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.evidence > div {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  display: grid; gap: 10px;
}
.evidence > div:last-child { border-right: 0; }
.evidence .v {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg-1);
}
.evidence .v em { color: var(--accent); font-style: normal; font-weight: 500; }
.evidence .l {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-4);
}
@media (max-width: 800px) {
  .evidence { grid-template-columns: 1fr 1fr; }
  .evidence > div:nth-child(2) { border-right: 0; }
  .evidence > div:nth-child(1), .evidence > div:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* ---- programme (ZIM) ---- */
.mono-l {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.mono-l.accent { color: var(--accent); }
.prog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--rule-strong);
  padding-top: 28px;
}
.prog-spec {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 22px 24px;
  display: grid; gap: 16px;
  align-content: start;
  background: linear-gradient(180deg, rgba(255,255,255,0.018), transparent);
}
.prog-spec-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px dashed var(--rule); }
.prog-table { margin: 0; display: grid; gap: 0; }
.prog-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule);
  align-items: baseline;
}
.prog-row:last-child { border-bottom: 0; }
.prog-row dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--fg-4);
  text-transform: uppercase;
}
.prog-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--fg-1);
  letter-spacing: -0.01em;
}
.prog-status {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: rgba(251,191,36,0.04);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #fbbf24;
}
.prog-status .dot-status {
  width: 6px; height: 6px; border-radius: 999px;
  background: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251,191,36,0.10);
  flex-shrink: 0;
}
.prog-figures {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.prog-fig {
  padding: 28px 28px 24px;
  display: grid; gap: 12px;
  align-content: space-between;
  position: relative;
}
.prog-fig + .prog-fig { border-top: 1px solid var(--rule); }
.prog-fig.alt { background: var(--bg-1); }
.prog-fig-v {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  color: var(--fg-1);
}
.prog-fig-v em {
  font-style: normal;
  font-size: clamp(40px, 5.6vw, 68px);
  letter-spacing: -0.035em;
  color: var(--accent);
  font-weight: 500;
}
.prog-fig.alt .prog-fig-v em { color: var(--fg-1); }
.prog-fig-v span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-4);
  text-transform: uppercase;
}
.prog-fig p {
  margin: 0;
  font-size: 13.5px;
  color: var(--fg-3);
  line-height: 1.6;
  max-width: 44ch;
}
@media (max-width: 900px) {
  .prog-grid { grid-template-columns: 1fr; }
}

/* ---- news ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.news-card {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--rule);
  display: grid; gap: 16px; align-content: start;
  cursor: pointer;
}
.news-card:last-child { border-right: 0; padding-right: 0; }
.news-card:not(:first-child) { padding-left: 24px; }
.news-card .img {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rule);
  background: var(--bg-1);
}
.news-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-dramatic) var(--ease-out);
  filter: saturate(0.95);
}
.news-card:hover .img img { transform: scale(1.04); }
.news-card .meta {
  display: flex; gap: 12px; align-items: center;
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--fg-4); letter-spacing: 0.06em; text-transform: uppercase;
}
.news-card .meta b { color: var(--accent); font-weight: 500; }
.news-card .meta .sep { color: var(--rule-strong); }
.news-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--fg-1);
}
.news-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-3);
}
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card { border-right: 0; border-bottom: 1px solid var(--rule); padding: 24px 0 !important; }
  .news-card:last-child { border-bottom: 0; }
}

/* ---- cta block ---- */
.cta-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  padding-block: clamp(72px, 10vh, 120px);
  border-top: 1px solid var(--rule);
}
.cta-block h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--fg-1);
  text-wrap: balance;
}
.cta-block h2 em { font-style: normal; color: var(--accent); font-weight: 500; }
.cta-block .right { display: grid; gap: 24px; }
.cta-block p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--fg-3);
}
.cta-block .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .cta-block { grid-template-columns: 1fr; gap: 32px; } }

/* ---- footer ---- */
.foot {
  border-top: 1px solid var(--rule);
  background: var(--bg-0);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-block: 64px;
}
.foot h5 {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 400;
}
.foot a, .foot li, .foot p, .foot span {
  font-size: 13.5px;
  color: var(--fg-4);
  line-height: 1.7;
}
.foot a { transition: color var(--dur-base) var(--ease-out); }
.foot a:hover { color: var(--accent); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot .brand p { max-width: 32ch; margin-top: 14px; }
.foot .brand .glyph-row { display: flex; align-items: center; gap: 12px; }
.foot .brand .glyph {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #04130d;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
}
.foot .brand .glyph-row b {
  font-family: var(--font-display); font-size: 18px; color: var(--fg-1); font-weight: 600;
}
.foot .contact { display: grid; gap: 12px; }
.foot .contact .li {
  display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start;
  color: var(--fg-3);
}
.foot .contact svg { color: var(--accent); margin-top: 3px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-5);
  letter-spacing: 0.04em;
}
.foot-bottom .links { display: flex; gap: 20px; }
.foot-bottom .links a { color: var(--fg-4); }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- background grid texture ---- */
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 60% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, black, transparent 70%);
  pointer-events: none;
}

/* ---- ambient accent glow (very subtle) ---- */
.hero .glow {
  position: absolute;
  right: -10%; top: 10%;
  width: 50%; height: 60%;
  background: radial-gradient(circle, rgba(16,185,129,0.10), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

/* tweaks-panel custom layout overrides */
ccm-tweaks-host { --accent: var(--accent); }
