:root {
  --navy: #081b2c;
  --navy-soft: #102f49;
  --ink: #102331;
  --muted: #5c6870;
  --paper: #f3f1eb;
  --paper-deep: #e8e5dc;
  --white: #fff;
  --orange: #e9652b;
  --orange-dark: #c84f1a;
  --line: rgba(16, 35, 49, 0.18);
  --line-dark: rgba(255, 255, 255, 0.2);
  --container: 82rem;
  --gutter: clamp(1.25rem, 3.5vw, 3.5rem);
  --section-space: clamp(5rem, 9vw, 9rem);
  --font-sans: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

main,
section {
  display: block;
}

main {
  flex: 1 0 auto;
}

.container {
  width: min(var(--container), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.section-space {
  padding-block: var(--section-space);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: inherit;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 7vw, 7rem);
}

h2 {
  font-size: clamp(2.6rem, 5.4vw, 5.5rem);
}

h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin-bottom: 1.6rem;
  color: var(--orange-dark);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-on-dark {
  color: #f18a59;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.8rem 1.35rem;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-accent {
  background: var(--orange);
  color: var(--navy);
}

.button-accent:hover {
  background: #f17b44;
}

.button-dark {
  background: var(--navy);
  color: var(--white);
}

.button-dark:hover {
  background: var(--navy-soft);
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-light:hover {
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid currentColor;
  padding-block: 0.2rem;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, gap 160ms ease;
}

.text-link:hover {
  gap: 0.8rem;
  color: var(--orange-dark);
}

.text-link-light {
  color: rgba(255, 255, 255, 0.9);
}

.text-link-light:hover {
  color: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  min-height: 4.9rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 12.5rem;
  height: auto;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.7vw, 2.8rem);
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 1px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.menu-icon {
  display: grid;
  width: 1.6rem;
  gap: 0.38rem;
}

.menu-icon i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon i:first-child {
  transform: translateY(0.2rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon i:last-child {
  transform: translateY(-0.2rem) rotate(-45deg);
}

/* Homepage */
.hero {
  overflow: hidden;
  min-height: calc(100svh - 4.9rem);
  padding-block: clamp(5rem, 9vw, 8.5rem) 2rem;
  background: var(--navy);
  color: var(--white);
}

.hero-layout {
  display: grid;
  min-height: calc(100svh - 15.4rem);
  grid-template-columns: minmax(0, 1.55fr) minmax(19rem, 0.7fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: clamp(2.5rem, 8vw, 8rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 66rem;
}

.hero h1 {
  max-width: 12.5ch;
  margin-bottom: 2rem;
}

.hero h1 span {
  display: block;
  color: #b9c7d0;
}

.hero-intro {
  max-width: 54rem;
  margin-bottom: 2.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
}

.hero-field {
  position: relative;
  justify-self: end;
  width: min(100%, 32rem);
  color: rgba(255, 255, 255, 0.45);
}

.hero-field svg {
  display: block;
  width: 100%;
}

.hero-field svg circle,
.hero-field svg path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 1;
}

.hero-field svg .field-path {
  stroke: rgba(233, 101, 43, 0.75);
  stroke-width: 2;
}

.hero-field svg .field-point {
  fill: var(--orange);
  stroke: var(--navy);
  stroke-width: 4;
}

.hero-field p {
  position: absolute;
  right: 0;
  bottom: 11%;
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-field p span {
  margin-inline: 0.35rem;
  color: var(--orange);
}

.hero-disciplines {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  padding-top: 1.6rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-disciplines span:nth-child(2) {
  text-align: center;
}

.hero-disciplines span:last-child {
  text-align: right;
}

.expertise {
  background: var(--paper);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  margin-bottom: clamp(4rem, 8vw, 7rem);
  column-gap: clamp(3rem, 10vw, 10rem);
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
}

.section-intro h2 {
  max-width: 11ch;
  margin: 0;
}

.section-intro > p:last-child {
  align-self: end;
  max-width: 30rem;
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.expertise-list {
  border-top: 1px solid var(--line);
}

.expertise-item {
  display: grid;
  grid-template-columns: 5rem minmax(15rem, 0.75fr) minmax(20rem, 1.25fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.expertise-number {
  margin: 0;
  color: var(--orange-dark);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.expertise-item h3 {
  margin: 0;
}

.expertise-item > div > p:first-child {
  max-width: 39rem;
  margin-bottom: 1.4rem;
  color: #34444e;
  font-size: 1.08rem;
}

.expertise-outcome {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.quality-scan-note {
  max-width: 58rem;
  margin: 3rem 0 0 auto;
  color: var(--muted);
  font-size: 0.94rem;
}

.quality-scan-note span {
  color: var(--ink);
  font-weight: 750;
}

.quality-scan-note a {
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.experience-section {
  padding-block: clamp(5rem, 10vw, 10rem);
  background: var(--navy-soft);
  color: var(--white);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(8rem, 0.3fr) minmax(25rem, 1.25fr) minmax(15rem, 0.45fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
}

.experience-layout .eyebrow {
  align-self: start;
  margin: 0;
}

.experience-layout h2 {
  max-width: 10ch;
  margin-bottom: 2rem;
}

.experience-layout > div p {
  max-width: 45rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

.experience-aside {
  margin: 0 0 0.3rem;
  border-left: 1px solid var(--orange);
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.riskrover {
  background: var(--white);
}

.riskrover-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(23rem, 0.92fr);
  align-items: center;
  gap: clamp(4rem, 10vw, 10rem);
}

.riskrover-copy {
  max-width: 47rem;
}

.product-by {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.riskrover-copy h2 {
  margin-bottom: 2rem;
}

.riskrover-lead {
  max-width: 38rem;
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.35;
}

.riskrover-copy > p:not(.eyebrow, .product-by, .riskrover-lead) {
  max-width: 39rem;
  color: var(--muted);
}

.riskrover-method {
  position: relative;
  border-block: 1px solid var(--line);
  padding-block: 1rem;
}

.method-line {
  position: absolute;
  top: 3.2rem;
  bottom: 3.2rem;
  left: 1.05rem;
  width: 1px;
  background: var(--line);
}

.method-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 1.6rem;
  padding-block: 2.2rem;
}

.method-step + .method-step {
  border-top: 1px solid var(--line);
}

.method-step > span {
  display: flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--orange-dark);
  font-size: 0.7rem;
  font-weight: 750;
}

.method-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.method-step strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 1.12rem;
}

.join-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.join-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.6fr);
  gap: clamp(4rem, 12vw, 12rem);
}

.join-layout h2 {
  max-width: 10ch;
  margin: 0;
}

.join-copy {
  align-self: end;
}

.join-copy p {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-close {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--navy);
  color: var(--white);
}

.contact-close-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.6fr);
  align-items: end;
  gap: clamp(4rem, 12vw, 12rem);
}

.contact-close h2 {
  max-width: 8ch;
  margin: 0;
}

.contact-close-layout > div:last-child p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
}

/* Contact and content pages */
.page-hero {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--paper);
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.55fr);
  align-items: end;
  gap: clamp(3rem, 10vw, 10rem);
}

.page-hero h1 {
  max-width: 9ch;
  margin: 0;
}

.page-hero-layout > p {
  max-width: 31rem;
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.62fr) minmax(30rem, 1fr);
  align-items: start;
  gap: clamp(4rem, 11vw, 11rem);
}

.contact-context {
  position: sticky;
  top: 8rem;
}

.contact-context h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.contact-context > p {
  color: var(--muted);
}

.contact-note {
  margin-top: 3rem;
  font-size: 0.86rem;
}

.contact-form {
  border-top: 1px solid var(--ink);
  padding-top: 2.4rem;
}

.form-row {
  margin-bottom: 1.7rem;
}

.form-row-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.field {
  margin-bottom: 1.7rem;
}

.form-row .field {
  margin-bottom: 0;
}

.field label {
  display: flex;
  min-height: 1.8rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.field label span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #96a0a7;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.field input,
.field select {
  min-height: 3.35rem;
  padding: 0.65rem 0;
}

.field textarea {
  min-height: 9rem;
  padding: 0.8rem 0;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a949a;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange-dark);
  box-shadow: 0 1px 0 var(--orange-dark);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy {
  max-width: 36rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.77rem;
}

.form-privacy a {
  text-underline-offset: 0.18em;
}

.form-status {
  margin-bottom: 2rem;
  border-left: 3px solid;
  padding: 1.2rem 1.4rem;
  font-size: 0.9rem;
}

.form-status p,
.form-status ul {
  margin: 0;
}

.form-status ul {
  padding-left: 1.2rem;
}

.form-status-success {
  border-color: #287a55;
  background: #e8f3ed;
  color: #174c35;
}

.form-status-error {
  border-color: #a83d2b;
  background: #faece8;
  color: #772b20;
}

.legal-page {
  background: var(--paper);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.48fr) minmax(30rem, 0.9fr);
  align-items: start;
  gap: clamp(4rem, 11vw, 11rem);
}

.legal-layout aside {
  position: sticky;
  top: 8rem;
}

.legal-layout h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
}

.legal-layout aside > p:last-child {
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-copy {
  border-top: 1px solid var(--ink);
  padding-top: 2.5rem;
}

.legal-copy h2 {
  margin: 3.2rem 0 1rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  max-width: 45rem;
  color: #45535b;
}

.legal-copy a {
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--paper);
}

.not-found-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.45fr) minmax(20rem, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
}

.error-code {
  margin: 0;
  color: var(--paper-deep);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.75;
}

.not-found h1 {
  max-width: 10ch;
  margin-bottom: 1.7rem;
  font-size: clamp(2.8rem, 5.8vw, 5.5rem);
}

.not-found-layout > div > p:not(.eyebrow) {
  max-width: 35rem;
  color: var(--muted);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.7rem;
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--line-dark);
  padding-block: 3.5rem 2rem;
  background: var(--navy);
  color: var(--white);
}

.footer-layout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.footer-identity p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.footer-identity .footer-name {
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 2.8rem;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.4rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.75rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

@media (max-width: 68rem) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(15rem, 0.6fr);
    column-gap: 2rem;
  }

  .hero-field {
    opacity: 0.7;
  }

  .expertise-item {
    grid-template-columns: 3rem minmax(13rem, 0.7fr) minmax(18rem, 1.3fr);
    gap: 1.5rem;
  }

  .experience-layout {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.4fr);
  }

  .experience-layout .eyebrow {
    grid-column: 1 / -1;
  }
}

@media (max-width: 52rem) {
  .js .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .js .site-nav {
    position: fixed;
    z-index: 99;
    top: 4.9rem;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 2.5rem var(--gutter);
    background: var(--paper);
    opacity: 0;
    transform: translateY(-0.75rem);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .js .site-nav a {
    width: 100%;
    border-bottom: 1px solid var(--line);
    padding-block: 1.25rem;
    font-size: clamp(1.7rem, 8vw, 2.7rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .js .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(4.5rem, 15vw, 7rem);
  }

  .hero-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-copy {
    padding-bottom: clamp(4rem, 14vw, 7rem);
  }

  .hero-field {
    display: none;
  }

  .hero-disciplines {
    grid-column: 1;
  }

  .section-intro,
  .riskrover-layout,
  .join-layout,
  .contact-close-layout,
  .page-hero-layout,
  .contact-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .section-intro {
    gap: 2rem;
  }

  .section-intro > p:last-child {
    max-width: 38rem;
  }

  .expertise-item {
    grid-template-columns: 2.2rem 1fr;
  }

  .expertise-item > div {
    grid-column: 2;
  }

  .experience-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .experience-layout .eyebrow {
    grid-column: 1;
  }

  .experience-aside {
    max-width: 30rem;
  }

  .riskrover-layout {
    gap: 4rem;
  }

  .contact-close-layout,
  .join-layout,
  .page-hero-layout {
    gap: 2.8rem;
  }

  .contact-layout,
  .legal-layout {
    gap: 4rem;
  }

  .contact-context,
  .legal-layout aside {
    position: static;
  }

  .legal-copy {
    max-width: 48rem;
  }

  .not-found-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .error-code {
    font-size: 8rem;
  }
}

@media (max-width: 38rem) {
  :root {
    --gutter: 1.2rem;
    --section-space: 4.8rem;
  }

  html {
    scroll-padding-top: 4.35rem;
  }

  .nav-wrap {
    min-height: 4.35rem;
  }

  .brand-logo {
    width: 10.5rem;
  }

  .js .site-nav {
    top: 4.35rem;
  }

  .hero {
    padding-block: 4.6rem 1.5rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 4.2rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-disciplines {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hero-disciplines span:nth-child(2),
  .hero-disciplines span:last-child {
    text-align: left;
  }

  .section-intro h2,
  .experience-layout h2,
  .riskrover-copy h2,
  .join-layout h2,
  .contact-close h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .expertise-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .expertise-item h3,
  .expertise-item > div {
    grid-column: 1;
  }

  .quality-scan-note {
    margin-top: 2rem;
  }

  .method-step {
    gap: 1rem;
  }

  .form-row-split {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  .footer-layout,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-layout {
    gap: 2rem;
  }

  .footer-links {
    gap: 1.2rem;
  }

  .footer-bottom {
    gap: 0.8rem;
  }

  .inline-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
