/* ------------------------------------------------------------------
   BlackVertex Engineering practice page.
   Same tokens as the studio, opposite temperament: static, dense,
   quiet. Type and hairlines only — the register of an engineering
   firm, not a design reel.
   ------------------------------------------------------------------ */

.eng-section__inner {
  width: var(--site-mid);
  margin: 0 auto;
}

.eng-section__title {
  margin: 0 0 18px;
  font-family: var(--bv-font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* HERO */

.eng-hero {
  padding: clamp(150px, 20vh, 230px) 0 clamp(60px, 8vw, 110px);
}

.eng-hero__inner {
  width: var(--site-mid);
  margin: 0 auto;
}

.eng-hero__kicker {
  margin: 0 0 26px;
  font-family: var(--bv-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eng-hero h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(44px, 6.4vw, 108px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

.eng-hero__support {
  margin: 30px 0 0;
  max-width: 640px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--muted);
}

.eng-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 88px);
  margin: clamp(44px, 6vw, 72px) 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.eng-hero__facts dt {
  margin-bottom: 8px;
  font-family: var(--bv-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eng-hero__facts dd {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
}

/* CAPABILITIES */

.eng-capabilities {
  padding: clamp(48px, 6vw, 84px) 0 clamp(84px, 10vw, 150px);
}

.eng-caps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eng-cap {
  display: grid;
  grid-template-columns: 84px minmax(220px, 330px) minmax(0, 1fr);
  gap: 18px clamp(20px, 3vw, 56px);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-top: 1px solid var(--line);
}

.eng-caps .eng-cap:last-child {
  border-bottom: 1px solid var(--line);
}

.eng-cap__no {
  font-family: var(--bv-font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.eng-cap h3 {
  margin: 0;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.eng-cap p {
  margin: 0;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* STANDARDS (dark band) */

.eng-standards {
  background: var(--ink);
  color: var(--paper-raised);
  padding: clamp(84px, 10vw, 150px) 0;
}

.eng-standards__inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
}

.eng-standards__lead h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.eng-standards__lead p {
  margin: 0;
  max-width: 340px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted-dark);
}

.eng-standards__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eng-standards__list li {
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  font-weight: 500;
}

.eng-standards__list li:last-child {
  border-bottom: 1px solid var(--line-dark);
}

/* SYSTEMS */

.eng-systems {
  padding: clamp(84px, 10vw, 150px) 0;
}

.eng-systems__note {
  margin: 0 0 34px;
  font-size: 15.5px;
  color: var(--muted);
}

.eng-sys-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 4vw, 72px);
}

.eng-sys {
  padding: clamp(24px, 2.8vw, 36px) 0;
  border-top: 1px solid var(--line);
}

.eng-sys__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.eng-sys h3 {
  margin: 0;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.eng-sys__head a {
  font-family: var(--bv-font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.eng-sys__head a:hover,
.eng-sys__head a:focus-visible {
  color: var(--ink);
  border-color: var(--line-strong);
}

.eng-sys p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

.eng-sys__tags {
  font-family: var(--bv-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ENGAGEMENT */

.eng-engagement {
  padding: 0 0 clamp(96px, 12vw, 170px);
}

.eng-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
}

.eng-mode {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.eng-mode h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.eng-mode p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* CLOSE */

.eng-close__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 26px;
}

.eng-close__row p {
  margin: 0;
  max-width: 420px;
  color: var(--muted-dark);
  font-size: 16.5px;
  line-height: 1.6;
}

/* RESPONSIVE */

@media (max-width: 880px) {
  .eng-cap {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .eng-cap p {
    grid-column: 2;
  }

  .eng-standards__inner {
    grid-template-columns: 1fr;
  }

  .eng-sys-list {
    grid-template-columns: 1fr;
  }

  .eng-modes {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
