/* ============================================================
   A3X Performance Ltd. — Corporate Website
   ============================================================ */

/* ---- Self-hosted fonts (no third-party requests) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/SpaceGrotesk-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/SpaceGrotesk-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/SpaceGrotesk-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/SpaceGrotesk-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --bg: #070a08;
  --bg-2: #0b0f0c;
  --card: #10150f;
  --card-2: #131a12;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f5ef;
  --muted: #aab5a9;
  --faint: #77816f;
  --lime: #d8f640;
  --lime-soft: rgba(216, 246, 64, 0.12);
  --ink-on-lime: #0a0d06;
  --radius: 20px;
  --nav-h: 76px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

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

::selection { background: var(--lime); color: var(--ink-on-lime); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--lime);
  color: var(--ink-on-lime);
  font-weight: 600;
  border-radius: 999px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible { top: 12px; }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* ---------------- Navigation ---------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 10, 8, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand small { margin-left: 0.55rem; }
.brand .x { color: var(--lime); }
.brand small {
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}
.nav-links a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-lime {
  background: var(--lime);
  color: var(--ink-on-lime);
}
.btn-lime:hover { background: #e6ff5c; }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn-sm { padding: 0.65rem 1.4rem; font-size: 0.85rem; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 3rem) 0 4.5rem;
  overflow: hidden;
}

#globe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: min(1080px, 130vw);
  aspect-ratio: 1;
  opacity: 0.55;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime));
}
.eyebrow::after { transform: scaleX(-1); }

.hero h1 {
  font-size: clamp(2.9rem, 8vw, 6.4rem);
  max-width: 15ch;
}
.hero h1 .accent { color: var(--lime); }

.hero .lede {
  max-width: 46rem;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--muted);
}
.hero .lede strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-foot {
  position: relative;
  z-index: 2;
  margin-top: 4.5rem;
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.hero-foot span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------------- Marquee ---------------- */

.marquee {
  background: var(--lime);
  color: var(--ink-on-lime);
  overflow: hidden;
  padding: 0.9rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  border-block: 1px solid rgba(0, 0, 0, 0.25);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.marquee span::after { content: "◆"; font-size: 0.6rem; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------------- Sections ---------------- */

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  position: relative;
}

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

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head.center .eyebrow::before { display: inline-block; }

.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-bottom: 1.1rem;
}
.section-head h2 .accent { color: var(--lime); }

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

/* ---------------- About ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 1.5rem;
}
.about-copy h2 .accent { color: var(--lime); }

.about-copy p {
  color: var(--muted);
  margin-bottom: 1.15rem;
  font-size: 1.05rem;
}
.about-copy p strong { color: var(--text); font-weight: 600; }

.about-pillars {
  display: grid;
  gap: 1rem;
}

.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.pillar:hover { border-color: rgba(216, 246, 64, 0.45); }

.pillar .icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--lime);
  display: grid;
  place-items: center;
}
.pillar .icon svg { width: 22px; height: 22px; }

.pillar h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.pillar p { font-size: 0.92rem; color: var(--muted); }

/* ---------------- Services ---------------- */

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease);
}
.card:hover {
  border-color: rgba(216, 246, 64, 0.5);
  background: var(--card-2);
  transform: translateY(-4px);
}

.card .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--faint);
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--lime-soft);
  color: var(--lime);
  display: grid;
  place-items: center;
}
.card .icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
.card p { font-size: 0.94rem; color: var(--muted); flex: 1; }

.card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.card .tags span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

/* ---------------- Model / How we work ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem 2rem;
  overflow: hidden;
}

.step .step-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216, 246, 64, 0.55);
  margin-bottom: 1.2rem;
}

.step h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.95rem; color: var(--muted); }

.model-note {
  margin-top: 2.25rem;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--lime);
  border-radius: 14px;
  background: var(--card);
  padding: 1.4rem 1.7rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.model-note svg { flex: none; width: 22px; height: 22px; color: var(--lime); margin-top: 3px; }
.model-note p { font-size: 0.95rem; color: var(--muted); }
.model-note strong { color: var(--text); font-weight: 600; }

/* ---------------- Global reach ---------------- */

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

.region {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  background: var(--card);
  transition: border-color 0.25s ease;
}
.region:hover { border-color: rgba(216, 246, 64, 0.45); }

.region h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.region h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(216, 246, 64, 0.8);
}
.region p { font-size: 0.9rem; color: var(--muted); }

/* ---------------- Mission / Vision / Values ---------------- */

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

.mvv-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
}

.mvv-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--lime-soft);
  color: var(--lime);
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
}
.mvv-card .icon svg { width: 24px; height: 24px; }

.mvv-card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.mvv-card p { font-size: 0.96rem; color: var(--muted); }

/* ---------------- Leadership ---------------- */

.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 860px;
  margin-inline: auto;
}

.person {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  text-align: center;
  transition: border-color 0.25s ease;
}
.person:hover { border-color: rgba(216, 246, 64, 0.45); }

.person .avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lime);
  background:
    radial-gradient(circle at 30% 25%, rgba(216, 246, 64, 0.22), transparent 60%),
    var(--card-2);
  border: 1px solid rgba(216, 246, 64, 0.4);
}

.person h3 { font-size: 1.25rem; }
.person .role {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.person p { margin-top: 0.9rem; font-size: 0.93rem; color: var(--muted); }

/* ---------------- Compliance ---------------- */

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

.comp-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.9rem 1.7rem;
}
.comp-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--lime);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.comp-item .icon svg { width: 22px; height: 22px; }
.comp-item h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.comp-item p { font-size: 0.92rem; color: var(--muted); }

/* ---------------- Contact ---------------- */

.contact-box {
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(216, 246, 64, 0.09), transparent 65%),
    var(--card);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.contact-box h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 1rem; }
.contact-box h2 .accent { color: var(--lime); }
.contact-box > div > p { color: var(--muted); max-width: 34rem; }

.contact-side {
  display: grid;
  gap: 1.1rem;
}

.contact-line {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  background: rgba(255, 255, 255, 0.02);
}
.contact-line svg { flex: none; width: 20px; height: 20px; color: var(--lime); margin-top: 3px; }
.contact-line strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.2rem;
}
.contact-line a { color: var(--text); font-weight: 600; transition: color 0.2s ease; }
.contact-line a:hover { color: var(--lime); }
.contact-line p { font-size: 0.92rem; color: var(--muted); }

/* ---------------- Footer ---------------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 3.5rem 0 2.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand { max-width: 22rem; }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--lime); }

.footer-legal {
  margin-top: 2.25rem;
  display: grid;
  gap: 0.85rem;
}
.footer-legal p {
  font-size: 0.8rem;
  color: var(--faint);
  max-width: 62rem;
}
.footer-legal .copyright { color: var(--muted); }

/* ---------------- Legal pages ---------------- */

.legal-page {
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  max-width: 760px;
  margin-inline: auto;
  width: min(760px, 100% - 3rem);
}
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.75rem; }
.legal-page .updated { color: var(--faint); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.35rem; margin: 2.4rem 0 0.8rem; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 0.98rem; margin-bottom: 0.9rem; }
.legal-page ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-page a { color: var(--lime); }
.legal-page a:hover { text-decoration: underline; }

/* ---------------- Reveal animations ----------------
   Hidden state only applies when JS is running (html.js),
   so content stays visible without JavaScript. */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .mvv, .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .reach-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 10, 8, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.5rem 1.5rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 1rem; }
  .nav-links a:not(.btn) { display: block; padding: 1rem 0; }
  .nav-links .btn { width: 100%; }
  .nav-toggle { display: inline-flex; }

  .about-grid, .contact-box { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards, .steps, .mvv, .compliance-grid, .reach-grid { grid-template-columns: 1fr; }
  .hero-foot { gap: 1rem 1.5rem; }
}

/* ---------------- Reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card:hover, .pillar:hover { transform: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
}
