/* ==========================================================================
   Yellow Black — design system
   ========================================================================== */

:root {
  /* Palette */
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #161616;
  --off-white: #f7f7f2;
  --white: #ffffff;
  --yellow: #ffd400;
  --yellow-deep: #e6bf00;
  --gray: #a1a1a1;
  --gray-2: #6e6e6e;
  --border: #242424;
  --border-light: #e2e2da;

  /* Semantic (dark surfaces by default) */
  --bg: var(--black);
  --bg-elev: var(--dark);
  --fg: var(--off-white);
  --fg-muted: var(--gray);
  --line: var(--border);

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Scale */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(80px, 11vw, 140px);
  --radius: 6px;
  --radius-lg: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: #323330;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "calt";
}
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

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

::selection { background: var(--yellow); color: var(--black); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; top: -100px; left: 16px;
  padding: 10px 14px; background: var(--yellow); color: var(--black);
  font-weight: 600; border-radius: var(--radius); z-index: 1000;
}
.skip-link:focus { top: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--yellow);
}
.accent { color: var(--yellow); }
.muted { color: var(--fg-muted); }

.section__title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.section__lede {
  margin-top: 20px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--fg-muted);
  max-width: 60ch;
}
.section__head { margin-bottom: clamp(44px, 6vw, 72px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--yellow); color: var(--black); }
.btn--primary:hover { background: var(--white); }
.btn--ghost {
  color: var(--fg);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--fg); }
.btn--ghost::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.btn--ghost:hover::after { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.brand__mark {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, var(--yellow) 50%, var(--off-white) 50%);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(90deg); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg-muted);
  border-radius: var(--radius);
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a.is-active { color: var(--fg); }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.nav__links a.nav__cta {
  margin-left: 10px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 600;
}
.nav__links a.nav__cta:hover { background: var(--white); }
.nav__links a.nav__cta.is-active::after { display: none; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius);
}
.nav__toggle-bar {
  width: 22px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: rgba(10, 10, 10, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s;
  }
  .nav__links a {
    padding: 14px 12px;
    font-size: 17px;
    border-radius: var(--radius);
  }
  .nav__links a.is-active::after { left: 12px; right: auto; width: 24px; bottom: 8px; }
  .nav__links a.nav__cta { margin: 12px 0 0; text-align: center; padding: 14px; }
  .nav.is-open { background: rgba(10, 10, 10, 0.96); border-bottom-color: var(--line); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(calc(100vh - var(--nav-h)), 820px);
  min-height: min(calc(100svh - var(--nav-h)), 820px);
  display: flex;
  align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero::before {
  /* very subtle top glow so the hero isn't a flat void */
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at 30% 0%, rgba(255, 212, 0, 0.06), transparent 55%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero__title {
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero__lede {
  margin-top: 26px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 54ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--line);
}
.hero__facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__facts strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero__facts span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.hero__visual {
  color: var(--off-white);
  max-width: 520px;
  margin-left: auto;
  width: 100%;
}
.netgraph { width: 100%; height: auto; }

/* Netgraph animation */
.ng-pulse path {
  stroke-dasharray: 18 400;
  stroke-dashoffset: 418;
  animation: ng-travel 5.5s linear infinite;
}
.ng-pulse path:nth-child(2) { animation-delay: .6s; }
.ng-pulse path:nth-child(3) { animation-delay: 1.4s; }
.ng-pulse path:nth-child(4) { animation-delay: 2.1s; }
.ng-pulse path:nth-child(5) { animation-delay: 2.6s; }
.ng-pulse path:nth-child(6) { animation-delay: 3.3s; }
.ng-pulse path:nth-child(7) { animation-delay: 3.9s; }
@keyframes ng-travel {
  0%   { stroke-dashoffset: 418; opacity: 0; }
  5%   { opacity: 1; }
  45%  { stroke-dashoffset: 0; opacity: 1; }
  55%  { opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.ng-ring {
  transform-origin: center;
  transform-box: fill-box;
  animation: ng-ring 3.2s var(--ease) infinite;
}
.ng-ring--2 { animation-delay: 1.4s; }
@keyframes ng-ring {
  0%   { transform: scale(0.6); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.ng-blink { animation: ng-blink 1.2s steps(2, end) infinite; }
.ng-blink--2 { animation-delay: .4s; }
@keyframes ng-blink { to { opacity: 0; } }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; margin: 8px auto 0; opacity: .9; }
}
@media (max-width: 520px) {
  .hero__facts { flex-direction: column; gap: 12px; margin-top: 40px; }
  .hero__facts li {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding: 0; margin: 0;
    border-right: 0;
  }
  .hero__facts strong { font-size: 16px; min-width: 88px; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--bordered { border-top: 1px solid var(--line); }
.section--light {
  --bg: var(--off-white);
  --bg-elev: var(--white);
  --fg: var(--black);
  --fg-muted: #5c5c56;
  --line: var(--border-light);
  background: var(--bg);
  color: var(--fg);
}
.section--light .eyebrow { color: #a88b00; }
.section--light .eyebrow::before { background: #a88b00; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 34px 30px 36px;
  background: var(--bg);
  transition: background-color .25s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 0;
  background: var(--yellow);
  transition: height .35s var(--ease);
}
.card:hover { background: var(--bg-elev); }
.card:hover::before { height: 100%; }
.card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--yellow);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 26px;
}
.card__icon svg { width: 20px; height: 20px; }
.card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.card p { color: var(--fg-muted); font-size: 15.5px; }

/* ---------- Technologies ---------- */
.tech { border-top: 1px solid var(--line); }
.tech__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.tech__label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-top: 8px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg);
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
  cursor: default;
}
.tags li:hover { border-color: var(--yellow); color: var(--yellow); }
@media (max-width: 640px) {
  .tech__row { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
  .tech__label { padding-top: 0; }
}

/* ---------- Experience ---------- */
.experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.stats { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.stat dt {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  flex-shrink: 0;
}
.stat dd {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: right;
  line-height: 1.1;
}
.stat:first-child dd { font-size: clamp(44px, 5vw, 64px); }
@media (max-width: 860px) {
  .experience { grid-template-columns: 1fr; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stat dd { text-align: left; }
}

.industries {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}
.industries__label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.industries__list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 28px;
  row-gap: 10px;
  font-size: 15.5px;
  font-weight: 500;
}
.industries__list li { display: inline-flex; align-items: center; gap: 10px; }
.industries__list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}
@media (max-width: 640px) { .industries { grid-template-columns: 1fr; } }

/* ---------- Approach / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  counter-reset: step;
}
.step {
  background: var(--bg);
  padding: 32px 28px 36px;
  position: relative;
  transition: background-color .25s var(--ease);
}
.step:hover { background: var(--bg-elev); }
.step__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--yellow-deep);
  margin-bottom: 40px;
}
.section--light .step__num { color: #a88b00; }
.step h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step p { color: var(--fg-muted); font-size: 15.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step__num { margin-bottom: 20px; } }

/* ---------- Engagements ---------- */
.engagement {
  background: var(--bg);
  padding: 36px 32px 40px;
  transition: background-color .25s var(--ease);
}
.engagement:hover { background: var(--bg-elev); }
.engagement h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.engagement p { color: var(--fg-muted); font-size: 15.5px; }
.checks { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
}
.checks li::before {
  content: "";
  flex-shrink: 0;
  width: 14px; height: 14px;
  margin-top: 4px;
  background: var(--yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Why ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.why__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.reason {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.reason h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.35;
}
.reason h3::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 9px;
  background: var(--yellow);
  border-radius: 1px;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.reason p { color: var(--fg-muted); font-size: 15px; }
@media (max-width: 960px) {
  .why { grid-template-columns: 1fr; }
  .why__intro { position: static; }
}
@media (max-width: 640px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { padding-top: 0; }
.cta__panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 72px);
  overflow: hidden;
}
.cta__panel::after {
  /* hairline grid echo from the hero */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 60%);
  mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 60%);
  pointer-events: none;
}
.cta__content, .cta__meta { position: relative; z-index: 1; }
.cta__title {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.cta__lede {
  margin-top: 20px;
  color: var(--fg-muted);
  font-size: 17px;
  max-width: 52ch;
}
.cta__actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.cta__email {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.cta__email:hover { color: var(--yellow); border-color: var(--yellow); }
.cta__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: center;
}
.cta__meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.cta__meta > div:last-child { border-bottom: 1px solid var(--line); }
.cta__meta-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}
.cta__meta-value { font-size: 15px; font-weight: 500; }
@media (max-width: 860px) {
  .cta__panel { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
}
.footer__brand p {
  margin-top: 16px;
  max-width: 40ch;
  font-size: 14.5px;
  color: var(--fg-muted);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg-muted);
  align-content: start;
}
.footer__links a { transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--yellow); }
.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--fg-muted);
}
.footer__top { font-family: var(--font-mono); font-size: 12.5px; transition: color .2s var(--ease); }
.footer__top:hover { color: var(--yellow); }
@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Cards inside a grid stagger slightly */
.grid .reveal:nth-child(2), .steps .reveal:nth-child(2), .reasons .reveal:nth-child(2) { transition-delay: .06s; }
.grid .reveal:nth-child(3), .steps .reveal:nth-child(3), .reasons .reveal:nth-child(3) { transition-delay: .12s; }
.grid .reveal:nth-child(4), .steps .reveal:nth-child(4), .reasons .reveal:nth-child(4) { transition-delay: .18s; }
.grid .reveal:nth-child(5), .reasons .reveal:nth-child(5) { transition-delay: .24s; }
.grid .reveal:nth-child(6), .reasons .reveal:nth-child(6) { transition-delay: .30s; }

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