/* Final alignment pass: consistent spacing, baselines and responsive rhythm. */
:root {
  --page-x: 8vw;
  --section-y: 130px;
}

.section {
  padding: var(--section-y) var(--page-x);
}

.section-no {
  top: calc(var(--section-y) + 10px);
}

.numbers article {
  min-height: 142px;
  padding: 30px 24px 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.expertise-list article {
  grid-template-columns: 70px minmax(0, 1fr) 40px;
  padding: 29px 0;
}

.resource-grid article {
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
}

.resource-grid strong {
  line-height: 1;
  margin-top: 34px;
}

.resource-grid p {
  margin: auto 28px 0 0;
}

.table-row {
  padding: 22px 0;
  gap: 28px;
  align-items: center;
}

form {
  gap: 30px 36px;
  align-content: start;
}

/* Official identity and improved legibility */
.brand-logo {
  display: block;
  width: 88px;
  height: 74px;
  object-fit: contain;
}

.header > .brand {
  align-self: stretch;
  padding: 6px 18px;
  background: rgba(3, 20, 28, .42);
  border-right: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
}

.header nav {
  font-size: 13px;
}

.header-cta {
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, .38);
  background: rgba(3, 20, 28, .28);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
  transition: background .25s, border-color .25s;
}

.header-cta:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--deep);
  text-shadow: none;
}

.header.scrolled .header-cta {
  background: rgba(255, 255, 255, .07);
}

.header.scrolled .header-cta:hover {
  background: var(--teal);
  color: var(--deep);
}

.eyebrow,
.expertise-list article > span,
.project-index,
.project-info small,
.resource-grid span,
.trust-stat small,
.table-head span,
form label span {
  font-size: 11px;
}

.button,
.text-link,
.arrow-link,
.show-more {
  font-size: 13px;
}

.numbers article {
  padding-left: 24px;
  padding-right: 28px;
}

.numbers article:first-child {
  padding-left: 0;
}

.numbers strong {
  line-height: 1.1;
}

.numbers span {
  font-size: 13px;
  line-height: 1.45;
}

.expertise-list p,
.resource-copy > p:last-child,
.trust-main > p:last-child,
.split > p {
  font-size: 16px;
  line-height: 1.65;
}

.expertise-metrics span,
.project-info span,
.resource-grid p,
.trust-points div,
.table-row span,
.agree span,
footer p,
footer > a {
  font-size: 12px;
}

.trust-points div {
  min-height: 86px;
  padding: 27px 24px;
  display: flex;
  align-items: center;
}

.trust-points div:first-child {
  padding-left: 0;
}

.trust-points div:before {
  flex: 0 0 auto;
}

/* Stronger hierarchy for proof points and reference list */
.hero-proof b {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -.035em;
}

.hero-proof small {
  margin-top: 7px;
  font-size: 12px;
}

.reference-table .table-row:not(.table-head) {
  min-height: 76px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.reference-table .table-row:not(.table-head) span:first-child {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.reference-table .table-row:not(.table-head) span:nth-child(2) {
  font-size: 14px;
  line-height: 1.45;
}

.reference-table .table-row:not(.table-head) span:nth-child(3),
.reference-table .table-row:not(.table-head) span:nth-child(4) {
  font-size: 13px;
}

/* Form fields as clear, high-contrast input surfaces */
form label > span {
  margin-bottom: 10px;
  color: rgba(6, 33, 42, .82);
}

form input,
form textarea {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(6, 33, 42, .42);
  background: rgba(255, 255, 255, .24);
  color: var(--deep);
  transition: background .2s, border-color .2s, box-shadow .2s;
}

form textarea {
  height: 74px;
}

form input::placeholder,
form textarea::placeholder {
  color: rgba(6, 33, 42, .62);
}

form input:focus,
form textarea:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .18);
}

@media (max-width: 900px) {
  :root {
    --page-x: 6vw;
    --section-y: 95px;
  }

  .brand-logo {
    width: 68px;
    height: 58px;
  }

  .header > .brand {
    padding: 5px 12px;
  }
}

@media (max-width: 580px) {
  :root {
    --page-x: 22px;
    --section-y: 84px;
  }

  .intro {
    gap: 56px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .numbers {
    margin-top: 12px;
  }

  .numbers article {
    min-height: 0;
    padding: 24px 18px;
  }

  .numbers article:first-child {
    padding-left: 18px;
  }

  .expertise-list article {
    grid-template-columns: 38px minmax(0, 1fr) 20px;
  }

  .resource-grid article {
    min-height: 220px;
    padding: 26px 24px 22px;
  }

  .table-row {
    gap: 12px 18px;
    padding: 20px 0;
  }

  .trust-points div,
  .trust-points div:first-child {
    min-height: 96px;
    padding: 22px 14px;
  }

  .hero-proof b {
    font-size: 34px;
  }

  .reference-table .table-row:not(.table-head) span:first-child {
    font-size: 15px;
  }
}
