/* GreenPath Solutions — modernized */
:root {
  --ink: #0A0F0D;
  --ink-2: #131A16;
  --ink-3: #1C2520;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-light: rgba(10, 15, 13, 0.10);
  --paper: #F4F6F3;
  --paper-2: #ECEFEA;
  --green: #21b374;
  --green-dim: #198d5c;
  --green-soft: rgba(33, 179, 116, 0.12);
  --slate: #6B7B72;
  --slate-2: #9AA8A0;
  --text: #E8EDE9;
  --text-dim: #A6B0AA;
  --text-on-paper: #0A0F0D;
  --text-on-paper-dim: #4A554F;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --container: 1280px;
  --gutter: 32px;

  --ff-sans: "Geist", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ff-display: "Geist", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  background: var(--ink);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--paper { background: var(--paper); color: var(--text-on-paper); }
.section--paper .muted { color: var(--text-on-paper-dim); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(33, 179, 116, 0.18);
}
.section--paper .eyebrow { color: var(--green-dim); }
.section--paper .eyebrow::before { background: var(--green-dim); box-shadow: 0 0 0 4px rgba(33, 179, 116, 0.16); }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; letter-spacing: -0.02em; margin: 0; line-height: 1.05; }
.h-display {
  font-size: clamp(48px, 7.6vw, 112px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.h-xl { font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -0.03em; line-height: 1.0; }
.h-lg { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.02em; line-height: 1.08; }
.h-md { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.015em; }
.lead { font-size: clamp(16px, 1.4vw, 20px); color: var(--text-dim); max-width: 64ch; line-height: 1.55; }
.section--paper .lead { color: var(--text-on-paper-dim); }
.muted { color: var(--text-dim); }
.mono { font-family: var(--ff-mono); }

.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #04140A; box-shadow: 0 0 0 0 rgba(33, 179, 116, 0); }
.btn--primary:hover { background: #2ac983; box-shadow: 0 12px 32px -10px rgba(33, 179, 116, 0.55); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.28); }
.section--paper .btn--ghost { color: var(--text-on-paper); border-color: rgba(10,15,13,0.18); }
.section--paper .btn--ghost:hover { background: rgba(10,15,13,0.04); border-color: rgba(10,15,13,0.32); }
.btn .arrow { width: 16px; height: 16px; transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 0;
  transition: backdrop-filter .25s ease, background .25s ease, padding .25s ease, border-color .25s ease;
  background: #fff;
  border-bottom: 1px solid var(--line-light);
  color: var(--text-on-paper);
}
.nav.is-stuck {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(10, 15, 13, 0.14);
  padding: 14px 0;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 16px; letter-spacing: -0.01em;
  color: var(--text-on-paper);
}
.nav__mark {
  width: 244px; height: 33px;
  display: inline-block;
  background-image: url("logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  flex-shrink: 0;
}
.footer .nav__mark { display: none; }
.footer__brand .nav__brand { color: var(--text); }
.nav__links { display: flex; gap: 4px; align-items: center; }
.nav__link {
  font-size: 14px; color: var(--text-on-paper-dim);
  padding: 8px 14px; border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover { color: var(--text-on-paper); background: rgba(10,15,13,0.04); }
.nav__link.is-active { color: var(--text-on-paper); background: rgba(10,15,13,0.06); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__tel {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-on-paper-dim);
  margin-right: 6px;
  transition: color .15s ease;
  white-space: nowrap;
}
.nav__tel:hover { color: var(--green-dim); }
.nav .btn--ghost { color: var(--text-on-paper); border-color: rgba(10,15,13,0.18); }
.nav .btn--ghost:hover { background: rgba(10,15,13,0.04); border-color: rgba(10,15,13,0.32); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 200px 0 140px;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  z-index: -2;
}
.hero__glow {
  position: absolute;
  width: 800px; height: 800px;
  left: 50%; top: -200px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(33,179,116,0.18) 0%, rgba(33,179,116,0) 60%);
  z-index: -1;
  pointer-events: none;
}
.hero__topo {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}
.hero__eyebrow-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text-dim);
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  position: relative;
}
.status-dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: rgba(33,179,116,0.3);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.hero__title { max-width: 14ch; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--green) 0%, #198d5c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  /* Pad the gradient bounding box so background-clip:text doesn't crop
     the rightmost pixels of wide glyphs (e.g. the cap of T). The negative
     margin cancels the layout shift. */
  padding: 0 0.06em;
  margin: 0 -0.06em;
}
.hero__sub {
  margin-top: 28px;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--text-dim);
}
.hero__cta {
  display: flex; gap: 12px; margin-top: 40px;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.hero__meta-item .num {
  font-family: var(--ff-display);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.hero__meta-item .label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 10px;
  display: block;
}

/* ---------- Logo strip ---------- */
.logo-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  background: var(--ink-2);
}
.logo-strip__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.logo-strip__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.logo-strip__items {
  display: flex; gap: 56px; align-items: center; flex-wrap: wrap;
  flex: 1; justify-content: space-around;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-dim);
  opacity: 0.7;
  transition: opacity .2s ease, color .2s ease;
}
.logo-mark__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: color .2s ease;
}
.logo-mark:hover { opacity: 1; color: var(--text); }
.logo-mark:hover .logo-mark__icon { color: var(--green); }

/* ---------- Section header ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: end;
}
.section-head__title { max-width: 18ch; }
.section-head__lead { padding-bottom: 6px; }

/* ---------- Service cards ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--paper-2);
  border: 1px solid rgba(10,15,13,0.06);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33,179,116,0.4);
  box-shadow: 0 22px 50px -28px rgba(10,15,13,0.18);
}
.service-card__num {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--green-dim);
  text-transform: uppercase;
}
.service-card__title {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
  font-weight: 500;
}
.service-card__desc {
  color: var(--text-on-paper-dim);
  font-size: 15px;
  line-height: 1.55;
}
.service-card__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.service-card__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--text-on-paper);
}
.service-card__list li::before {
  content: "";
  width: 14px; height: 14px;
  margin-top: 4px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  background-image: radial-gradient(circle at 50% 50%, var(--green) 30%, transparent 40%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.service-card__icon svg { width: 26px; height: 26px; color: var(--green); }
.service-card__icon::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(33,179,116,0.18), transparent 60%);
}

/* ---------- Capabilities (expanded matrix) ---------- */
.matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
}
.matrix__cell {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .2s ease;
}
.matrix__cell:hover { background: var(--ink-3); }
.matrix__cell:nth-child(3n) { border-right: none; }
.matrix__cell:nth-last-child(-n+2) { border-bottom: none; }
.matrix__cell .num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--slate-2);
  text-transform: uppercase;
}
.matrix__cell .title {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-top: 14px;
  color: var(--text);
}
.matrix__cell .desc {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ---------- Process / sticky ---------- */
.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.process__sticky {
  position: sticky;
  top: 120px;
}
.process__steps {
  display: flex; flex-direction: column; gap: 24px;
}
.process-step {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  background: var(--ink-2);
  transition: border-color .25s ease, background .25s ease;
}
.process-step.is-active { border-color: rgba(33,179,116,0.5); background: var(--ink-3); }
.process-step__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 12px;
}
.process-step__num {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--green);
}
.process-step__title { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.process-step__desc { color: var(--text-dim); font-size: 15px; line-height: 1.55; }

/* ---------- Trust / metrics ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.metric {
  padding: 56px 32px;
  border-right: 1px solid var(--line-light);
}
.metric:last-child { border-right: none; }
.metric__num {
  font-family: var(--ff-display);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.metric__num .unit { font-size: 0.5em; color: var(--green-dim); }
.metric__label {
  margin-top: 16px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-paper-dim);
}
.metric__desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-on-paper-dim);
  max-width: 30ch;
  line-height: 1.5;
}

/* ---------- Testimonial ---------- */
.testimonial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.testimonial__quote {
  font-family: var(--ff-display);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: pretty;
}
.testimonial__quote::before {
  content: "“";
  font-size: 1.4em;
  color: var(--green);
  margin-right: 4px;
  line-height: 0;
}
.testimonial__attr {
  margin-top: 32px;
  display: flex; align-items: center; gap: 16px;
}
.testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c2520, #0a0f0d);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 14px;
  color: var(--green);
}
.testimonial__name { font-size: 15px; font-weight: 500; }
.testimonial__role { font-size: 13px; color: var(--text-dim); }

.case-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.case-card__tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.case-card__metric {
  font-family: var(--ff-display);
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 24px 0 12px;
}
.case-card__desc { color: var(--text-dim); font-size: 15px; line-height: 1.5; }
.case-card__chart {
  margin-top: 28px;
  height: 80px;
  position: relative;
  display: flex; align-items: flex-end; gap: 6px;
}
.case-card__chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--green) 0%, rgba(33,179,116,0.2) 100%);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
}

/* ---------- CTA ---------- */
.cta-final {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.cta-final__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 50% 100%, rgba(33,179,116,0.18) 0%, transparent 60%);
  z-index: -1;
}
.cta-final__inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 32px;
}
.cta-final__title {
  max-width: 16ch;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer__brand .nav__brand { font-size: 18px; }
.footer__tag { color: var(--text-dim); margin-top: 16px; max-width: 36ch; font-size: 14px; line-height: 1.55; }
.footer__col .footer__h {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); margin: 0 0 18px; font-weight: 400;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14px; color: var(--text); transition: color .15s ease; }
.footer__col a:hover { color: var(--green); }
.footer__bottom {
  margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-mono); font-size: 12px; color: var(--text-dim);
  flex-wrap: wrap; gap: 16px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.16,.84,.32,1), transform .9s cubic-bezier(.16,.84,.32,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  padding: 200px 0 100px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.page-hero__title { max-width: 14ch; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
}
.field input, .field textarea, .field select {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-family: var(--ff-sans);
  font-size: 15px;
  color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green);
  background: var(--ink-3);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  background: var(--ink-2);
}
.contact-info__group { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info__group:first-of-type { padding-top: 0; }
.contact-info__group:last-child { padding-bottom: 0; border-bottom: none; }
.contact-info__label {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 8px;
}
.contact-info__val { font-size: 16px; font-weight: 500; }

/* ---------- About / values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.value {
  padding: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value:nth-child(2n) { border-right: none; }
.value:nth-last-child(-n+2) { border-bottom: none; }
.value__num { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--green); text-transform: uppercase; }
.value__title { font-size: 24px; font-weight: 500; letter-spacing: -0.015em; margin: 16px 0 12px; }
.value__desc { color: var(--text-dim); font-size: 15px; line-height: 1.55; }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 80px; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--line);
}
.timeline__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 28px 0;
  position: relative;
}
.timeline__year {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--green);
  padding-top: 4px;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 76px; top: 32px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--line);
}
.timeline__title { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.timeline__desc { color: var(--text-dim); margin-top: 8px; max-width: 56ch; }

/* ---------- Tweaks panel placeholder ---------- */
[data-tweaks-panel] { font-family: var(--ff-sans); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 160px 0 100px; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .nav__links { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 32px; }
  .services { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: repeat(2, 1fr); }
  .matrix__cell:nth-child(2n) { border-right: none; }
  .matrix__cell { border-right: 1px solid var(--line) !important; }
  .matrix__cell:nth-child(2n) { border-right: none !important; }
  .process { grid-template-columns: 1fr; gap: 40px; }
  .process__sticky { position: static; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--line-light); }
  .testimonial { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .values { grid-template-columns: 1fr; }
  .value { border-right: none !important; }
  .section { padding: 80px 0; }
}

/* ---------- Polish ---------- */

/* Branded text selection */
::selection { background: rgba(33, 179, 116, 0.3); color: var(--text); }
.section--paper ::selection { background: rgba(33, 179, 116, 0.25); color: var(--text-on-paper); }

/* Focus rings — keyboard only, brand color */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 3px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 0; border-radius: 8px; }

/* Branded scrollbar */
* { scrollbar-color: var(--ink-3) var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: var(--ink-3);
  border-radius: 6px;
  border: 3px solid var(--ink);
}
::-webkit-scrollbar-thumb:hover { background: var(--slate); }

/* Slow horizontal drift on the hero topo lines (transform stacks with the JS parallax on the parent) */
.hero__topo > g {
  animation: topo-drift 18s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes topo-drift {
  from { transform: translateX(-22px); }
  to   { transform: translateX(22px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__topo > g { animation: none; }
}

/* Service card hover — icon pop */
.service-card__icon { transition: transform .25s ease, background .25s ease; }
.service-card__icon::after { transition: background .25s ease; }
.service-card__icon svg { transition: transform .25s ease; }
.service-card:hover .service-card__icon { background: var(--ink-2); }
.service-card:hover .service-card__icon::after {
  background: radial-gradient(circle at 30% 20%, rgba(33,179,116,0.35), transparent 60%);
}
.service-card:hover .service-card__icon svg { transform: scale(1.08); }

/* ---------- Mobile nav (hamburger + slide-in sheet) ---------- */

/* The sheet is a logical wrapper only on desktop — display:contents keeps
   nav__links and nav__cta laid out as direct flex children of nav__inner. */
.nav__sheet { display: contents; }

/* Hamburger button — hidden until the mobile breakpoint */
.nav__hamburger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--text-on-paper);
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav__hamburger:hover { background: rgba(10,15,13,0.06); }
.nav__hamburger span {
  display: block;
  position: absolute;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .25s ease, opacity .15s ease, top .25s ease;
}
.nav__hamburger span:nth-child(1) { top: 13px; }
.nav__hamburger span:nth-child(2) { top: 19px; }
.nav__hamburger span:nth-child(3) { top: 25px; }
.nav.is-mobile-open .nav__hamburger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav.is-mobile-open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav.is-mobile-open .nav__hamburger span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav__hamburger { display: inline-flex; }

  .nav__sheet {
    display: flex;
    position: fixed;
    inset: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 88px 28px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.16,.84,.32,1);
    visibility: hidden;
    z-index: 55;
  }
  .nav.is-mobile-open .nav__sheet {
    transform: translateX(0);
    visibility: visible;
  }
  .nav__sheet .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav__sheet .nav__link {
    font-size: 18px;
    padding: 14px 16px;
  }
  .nav__sheet .nav__cta {
    margin-top: 24px;
    flex-direction: column;
    gap: 12px;
  }
  .nav__sheet .nav__cta .btn {
    width: 100%;
    justify-content: center;
  }
  body.nav-open { overflow: hidden; }
}

/* ---------- Case study cards ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}
.case-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33,179,116,0.35);
  box-shadow: 0 22px 50px -28px rgba(0,0,0,0.5);
}
.case-card__head { display: flex; flex-direction: column; gap: 12px; }
.case-card__sector {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.case-card__title {
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  font-weight: 500;
  margin: 0;
}
.case-card__metric {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-card__num {
  font-family: var(--ff-display);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, var(--green) 0%, #198d5c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.06em;
  margin: 0 -0.06em;
}
.case-card__num-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  max-width: 16ch;
  line-height: 1.4;
}
.case-card__excerpt {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.case-card__tags {
  list-style: none;
  padding: 0; margin: auto 0 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.case-card__tags li {
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  color: var(--text-dim);
}
.case-card--cta { background: linear-gradient(160deg, var(--ink-2), var(--ink-3)); }
.case-card--cta .case-card__excerpt { font-size: 16px; color: var(--text); }
.case-card__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.case-card__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.case-card__list li::before {
  content: "";
  width: 14px; height: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  border-radius: 50%;
  background-image: radial-gradient(circle at 50% 50%, var(--green) 30%, transparent 40%);
}
.case-card__fit {
  font-size: 13.5px;
  color: var(--text-dim);
  border-left: 2px solid var(--green-dim);
  padding-left: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Home hero: split layout + operating-map panel ---------- */
.hero__layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 72px;
  align-items: center;
}
/* Grid children need min-width:0 so long headlines can't force overflow */
.hero__copy, .hero__visual { min-width: 0; }
.hero__points {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.hero__points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.45;
}
.hero__points li svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--green);
  margin-top: 3px;
}
.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, var(--ink-2) 0%, var(--ink) 75%);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.65);
}
.hero-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 45% at 85% 0%, rgba(33,179,116,0.14), transparent 65%);
  pointer-events: none;
}
.hero-panel__brand {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.hero-panel__brand img {
  width: 42px; height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
}
.hero-panel__brand span {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-panel__brand strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 3px;
}
.hero-panel__rows { padding: 6px 0 2px; }
.hero-panel__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.09);
  font-size: 14px;
}
.hero-panel__row:last-child { border-bottom: none; }
.hero-panel__row .pill-status {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex; align-items: center; gap: 7px;
}
.hero-panel__row .pill-status::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
}
.hero-panel__foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-panel__foot strong { color: var(--text); font-weight: 500; }

/* ---------- CTA band (multi-workstream) ---------- */
.band {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px);
  background:
    radial-gradient(ellipse 50% 90% at 90% 10%, rgba(33,179,116,0.12), transparent 60%),
    var(--ink-2);
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.band__copy { max-width: 62ch; }
.band__title { font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; }
.band__desc { color: var(--text-dim); margin-top: 14px; font-size: 15.5px; line-height: 1.6; max-width: 56ch; }

/* ---------- Prose pages (privacy / terms) ---------- */
.prose { max-width: 72ch; }
.prose h2 {
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 44px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.65;
}
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin: 7px 0; }
.prose a { color: var(--green); }
.prose .updated {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 40px;
  display: block;
}

/* ---------- Chips (certifications, tags) ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.chips li {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  border-radius: 999px;
  color: var(--text);
}
.section--paper .chips li {
  border-color: rgba(10,15,13,0.14);
  background: rgba(10,15,13,0.03);
  color: var(--text-on-paper);
}

/* ---------- Practice-card footer link ---------- */
.service-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-dim);
}
.service-card__cta svg { width: 15px; height: 15px; transition: transform .18s ease; }
.service-card__cta:hover svg { transform: translateX(3px); }

@media (max-width: 980px) {
  .hero__layout { grid-template-columns: 1fr; gap: 48px; }
  .hero__points { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
}

