/* ==========================================================================
   Sprint Gates — site styles
   1. Font and tokens      5. Home hero and route     9. Page-specific blocks
   2. Base                 6. Shared sections        10. Forms
   3. Layout               7. Product line colours   11. Footer
   4. Header and buttons   8. Steps, trails, plates  12. Motion preferences
   ========================================================================== */

/* 1. Font and tokens ------------------------------------------------------- */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0e2244;
  --ink-soft: #33435f;
  --ink-muted: #4a5b78;
  --paper: #f5f7fa;
  --white: #fff;
  --rule: #d5dce8;
  --rule-strong: #c5cfdf;
  --field-border: #6f819d;

  --blue: #1a5bc4;
  --blue-deep: #0f3a8c;
  --blue-panel: #1b4dae;
  --blue-rail: #6f93de;
  --blue-tint: #eaf0fa;

  /* Product lines: bar colour, dot colour, text colour (text passes 4.5:1 on white) */
  --srp: #1a5bc4;
  --srp-dot: #1a5bc4;
  --srp-ink: #1a5bc4;
  --invoices: #f5a623;
  --invoices-dot: #e08a00;
  --invoices-ink: #9a5400;
  --iot: #19b8d4;
  --iot-dot: #0b93ac;
  --iot-ink: #0b7a8f;

  --focus: #f5a623;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --container: 80rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 8vw, 7rem);
  --section-compact: clamp(3.5rem, 7vw, 6rem);
  --pill: 999px;
}

/* 2. Base ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote,
fieldset {
  margin: 0;
}

/* Lists that carry a class are components, not prose; :where() keeps this reset easy to override. */
:where(ul[class], ol[class]) {
  padding: 0;
  list-style: none;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

h1,
h2,
h3 {
  font-stretch: 112%;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.375rem, 5.2vw, 4.5rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.3125rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-deep);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0.5rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* 3. Layout ---------------------------------------------------------------- */

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

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

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

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

.section--deep {
  background: var(--blue-deep);
  color: var(--white);
}

.section__lead {
  max-width: 36em;
  margin-top: 1rem;
  font-size: 1.1875rem;
  color: var(--ink-soft);
}

.section__body {
  margin-top: 3rem;
}

.heading-narrow {
  max-width: 20em;
}

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2.5rem 5rem;
}

.split__intro {
  flex: 1 1 21.25rem;
  min-width: 0;
}

.split__main {
  flex: 1.5 1 30rem;
  min-width: 0;
}

.split__intro .link-more {
  margin-top: 1.25rem;
}

.grid {
  display: grid;
  gap: 2.25rem 2.5rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(27.5rem, 100%), 1fr));
  gap: 2.5rem 4rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(17.5rem, 100%), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}

/* 4. Header and buttons ---------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--blue);
  font-stretch: 120%;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.brand__logo {
  width: auto;
  height: 3rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.625rem;
  font-size: 0.96875rem;
  font-weight: 560;
}

.nav__link {
  display: flex;
  align-items: center;
  min-height: 4.75rem;
  color: var(--ink);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--blue);
}

.nav__link[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 0 -3px 0 var(--blue);
}

.nav__divider {
  width: 1px;
  height: 1.5rem;
  background: var(--rule);
}

.menu {
  display: none;
}

.menu__toggle {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--pill);
  font-size: 0.9375rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.menu__toggle::-webkit-details-marker {
  display: none;
}

.menu__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.25rem var(--gutter) 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1.5rem 2.5rem rgb(14 34 68 / 0.14);
}

.menu__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 3.625rem;
  border-bottom: 1px solid #e6ebf2;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 620;
  text-decoration: none;
}

.menu__link[aria-current="page"] {
  color: var(--blue);
}

.menu__hint {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-muted);
}

.menu__panel .btn {
  margin-top: 1.25rem;
}

@media (max-width: 70em) {
  .nav {
    display: none;
  }

  .menu {
    display: block;
  }

  .brand__logo {
    height: 2.5rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.375rem;
  padding: 0 1.875rem;
  border: 1.5px solid transparent;
  border-radius: var(--pill);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-deep);
  color: var(--white);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 650;
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--blue-deep);
}

.btn--light:hover {
  background: var(--blue-tint);
  color: var(--blue-deep);
}

.btn--ghost {
  border-color: var(--white);
  color: var(--white);
  font-weight: 650;
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--blue-deep);
}

.btn--small {
  min-height: 2.75rem;
  padding: 0 1.375rem;
  font-size: 0.96875rem;
  font-weight: 650;
  white-space: nowrap;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.link-more {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 650;
}

/* 5. Home hero and route --------------------------------------------------- */

.hero {
  background: var(--blue-deep);
  color: var(--white);
}

.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3.5rem 5rem;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 7vw, 6.5rem);
}

.hero__copy {
  flex: 1.3 1 30rem;
  min-width: 0;
}

.hero__lead {
  max-width: 33em;
  margin-top: 1.75rem;
  font-size: clamp(1.125rem, 1.45vw, 1.3125rem);
  line-height: 1.5;
  color: #dce6f8;
}

.hero .actions {
  margin-top: 2.25rem;
}

/* The route: one job passing through seven gates, drawn as a transit line. */

.route {
  flex: 1 1 23.75rem;
  min-width: 0;
  max-width: 32.5rem;
}

.route__title {
  font-size: 1.0625rem;
  font-stretch: 100%;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  color: #b9cbee;
}

.route__track {
  position: relative;
  margin-top: 1.5rem;
}

.route__stop {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  column-gap: 1.125rem;
}

.route__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.route__marker::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  border: 0.375rem solid var(--blue-rail);
  border-radius: 50%;
  background: var(--white);
}

.route__marker::after {
  content: "";
  flex: 1;
  width: 0.25rem;
  background: var(--blue-rail);
}

.route__stop:last-child .route__marker::after {
  content: none;
}

/* A stop where another product joins the line: white ring, product-coloured centre. */
.route__stop--iot .route__marker::before {
  border-color: var(--white);
  background: var(--iot-dot);
}

.route__stop--invoices .route__marker::before {
  border-color: var(--white);
  background: var(--invoices-dot);
}

.route__body {
  padding-bottom: 1.375rem;
}

.route__stop:last-child .route__body {
  padding-bottom: 0;
}

.route__name {
  font-size: 1.1875rem;
  font-stretch: 108%;
  font-weight: 700;
  line-height: 1.5rem;
}

.route__text {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #c9d8f5;
}

.route__join {
  margin-top: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.375rem;
  background: var(--blue-panel);
  font-size: 0.90625rem;
  line-height: 1.4;
}

.route__join a,
.route__join a:hover {
  color: var(--white);
  font-weight: 700;
}

.route__runner {
  position: absolute;
  left: 0.25rem;
  top: 0;
  z-index: 2;
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 7px rgb(255 255 255 / 0.3);
  opacity: 0;
  animation: route-run 7s cubic-bezier(0.55, 0, 0.45, 1) 0.8s 1 both;
}

@keyframes route-run {
  0% {
    top: 0;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 3.5rem);
    opacity: 0;
  }
}

/* 6. Shared sections ------------------------------------------------------- */

.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.page-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem 4.5rem;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 6vw, 6rem);
}

.page-hero__copy {
  flex: 1.15 1 28.75rem;
  min-width: 0;
}

.page-hero__media {
  flex: 1 1 25rem;
  min-width: 0;
}

.page-hero__media img {
  width: 100%;
  border: 1px solid var(--rule-strong);
  border-radius: 0.375rem;
}

.page-hero h1 {
  max-width: 15em;
  font-size: clamp(2.25rem, 4.7vw, 4.25rem);
}

.page-hero--statement h1 {
  max-width: 17em;
  font-size: clamp(2.125rem, 4.4vw, 3.75rem);
}

.page-hero__lead {
  max-width: 36em;
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.page-hero .actions,
.page-hero .link-more {
  margin-top: 2rem;
}

.page-hero .link-more {
  margin-top: 1.25rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.125rem;
  font-size: 1rem;
  font-weight: 650;
  color: var(--line-ink);
}

.badge::before {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  border: 0.25rem solid var(--line-dot);
  border-radius: 50%;
  background: var(--white);
}

/* Ruled rows: a title on the left, text on the right, stacked on a phone. */

.rows {
  border-top: 2px solid var(--ink);
}

.rows__item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.rows__title {
  flex: 1 1 15.625rem;
  font-size: 1.1875rem;
}

.rows__text {
  flex: 1.6 1 18.75rem;
  min-width: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

.rows--large .rows__item {
  gap: 0.75rem 3.5rem;
  padding: 2rem 0;
}

.rows--large .rows__title {
  flex: 1 1 17.5rem;
  font-size: 1.625rem;
}

.rows--large .rows__text {
  flex: 2 1 26.25rem;
  font-size: inherit;
}

.rows--large .rows__text p {
  max-width: 38em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.tags li {
  padding: 0.4375rem 0.875rem;
  border-radius: var(--pill);
  background: var(--blue-tint);
}

.rows__text .tags {
  margin-top: 1rem;
}

.feature {
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.feature__text {
  margin-top: 0.625rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

.feature--large {
  padding-top: 1.375rem;
}

.feature--large .feature__title {
  font-size: 1.5rem;
}

.feature--large .feature__text {
  font-size: inherit;
}

.cta {
  background: var(--blue);
  color: var(--white);
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 4rem;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.cta__copy {
  flex: 1 1 26.25rem;
  min-width: 0;
}

.cta__text {
  max-width: 34em;
  margin-top: 0.875rem;
  font-size: 1.1875rem;
  color: #e3ecfb;
}

.strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 4rem;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.strip__title {
  flex: 1 1 23.75rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.strip__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.25rem;
  font-size: 1.125rem;
  font-weight: 650;
}

.strip__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

/* 7. Product line colours -------------------------------------------------- */

.line--srp {
  --line: var(--srp);
  --line-dot: var(--srp-dot);
  --line-ink: var(--srp-ink);
}

.line--invoices {
  --line: var(--invoices);
  --line-dot: var(--invoices-dot);
  --line-ink: var(--invoices-ink);
}

.line--iot {
  --line: var(--iot);
  --line-dot: var(--iot-dot);
  --line-ink: var(--iot-ink);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18.75rem, 100%), 1fr));
  gap: 3.5rem 2.5rem;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product::before {
  content: "";
  align-self: stretch;
  height: 1.25rem;
  /* A station dot followed by the line, drawn as two background layers. */
  background:
    radial-gradient(
      circle at 0.625rem 50%,
      var(--white) 0 0.3125rem,
      var(--line-dot) 0.3125rem 0.625rem,
      transparent 0.625rem
    ),
    linear-gradient(var(--line), var(--line)) 1.125rem 50% / 100% 0.375rem no-repeat;
}

.product__name {
  margin-top: 1.625rem;
  font-size: 1.875rem;
}

.product--compact .product__name {
  margin-top: 1.5rem;
  font-size: 1.625rem;
}

.product__kind {
  margin-top: 0.25rem;
  font-weight: 620;
  color: var(--line-ink);
}

.product__text {
  flex-grow: 1;
  max-width: 32em;
  margin-top: 1rem;
  color: var(--ink-soft);
}

.product--compact .product__text {
  margin-top: 0.625rem;
}

.ruled-list {
  align-self: stretch;
  margin-top: 1.375rem;
  border-top: 1px solid var(--rule);
  font-size: 1rem;
}

.ruled-list li {
  padding: 0.6875rem 0;
  border-bottom: 1px solid var(--rule);
}

.product .link-more {
  margin-top: 1.125rem;
}

.product--compact .link-more {
  margin-top: 0.75rem;
}

/* 8. Steps, trails, plates ------------------------------------------------- */

/* Trail: the seven gates as pills joined by a line; wraps on small screens. */

.trail {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.875rem;
  margin-top: 2.5rem;
  font-size: 1rem;
  font-weight: 650;
}

.trail li {
  display: flex;
  align-items: center;
}

.trail li::after {
  content: "";
  width: 1.75rem;
  height: 0.25rem;
  background: var(--blue);
}

.trail li:last-child::after {
  content: none;
}

.trail span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 2px solid var(--blue);
  border-radius: var(--pill);
}

.trail li:last-child span {
  background: var(--blue);
  color: var(--white);
}

/* Numbered steps. Numbers come from a CSS counter; the <ol> carries the order. */

.steps {
  counter-reset: step;
}

.steps > li {
  counter-increment: step;
}

.steps__marker {
  display: flex;
  align-items: center;
}

.steps__marker::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--line-ink);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
}

.steps__marker::after {
  content: "";
  flex: 1;
  background: var(--line);
}

.steps > li:last-child .steps__marker::after {
  content: none;
}

.steps--across {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18.75rem, 100%), 1fr));
  row-gap: 2.5rem;
}

.steps--across .steps__marker::after {
  height: 0.25rem;
}

.steps--across .steps__title {
  margin-top: 1.25rem;
  padding-right: 2rem;
  font-size: 1.5rem;
}

.steps--across .steps__text {
  margin-top: 0.625rem;
  padding-right: 2rem;
  color: var(--ink-soft);
}

.steps--down > li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: clamp(1rem, 3vw, 2rem);
}

.steps--down .steps__marker {
  flex-direction: column;
}

.steps--down .steps__marker::after {
  width: 0.25rem;
}

.steps--down .steps__body {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 3rem;
  padding: 0.375rem 0 2.75rem;
}

.steps--down > li:last-child .steps__body {
  padding-bottom: 0;
}

.steps--down .steps__title {
  flex: 1 1 13.75rem;
  font-size: 1.625rem;
}

.steps--down .steps__text {
  flex: 2.2 1 20rem;
  max-width: 38em;
  color: var(--ink-soft);
}

.plates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12.5rem, 100%), 1fr));
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 650;
}

.plates li {
  display: flex;
  align-items: center;
  min-height: 4.25rem;
  padding: 0 1.375rem;
  border: 1px solid var(--rule-strong);
  border-radius: 0.25rem;
  background: var(--white);
}

.plates--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.125rem;
  font-size: 1.0625rem;
  font-weight: 620;
}

.plates--inline li {
  min-height: 3.25rem;
  padding: 0 1.25rem;
}

.note {
  max-width: 40em;
  margin-top: 1.5rem;
  color: var(--ink-soft);
}

/* 9. Page-specific blocks -------------------------------------------------- */

.prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.1875rem;
}

.prose p {
  max-width: 34em;
  color: var(--ink-soft);
}

.facts {
  border-top: 2px solid var(--ink);
}

.facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.facts dt {
  color: var(--ink-muted);
}

.facts dd {
  font-weight: 650;
  text-align: right;
}

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(27.5rem, 100%), 1fr));
  gap: 0 4rem;
  font-size: clamp(1.3125rem, 2vw, 1.6875rem);
  font-stretch: 108%;
  font-weight: 620;
  line-height: 1.25;
}

.principles li {
  padding: 1.625rem 0;
  border-top: 1px solid #5f86d6;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13.75rem, 100%), 1fr));
  gap: 2.5rem 2rem;
}

.person {
  max-width: 17.5rem;
}

.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.375rem;
}

.person__name {
  margin-top: 1rem;
  font-size: 1.1875rem;
  font-weight: 650;
}

.person__role {
  color: var(--ink-muted);
}

.clients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(9.375rem, 100%), 1fr));
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin-top: 1.75rem;
}

.clients img {
  max-height: 3rem;
  width: auto;
}

.quote {
  max-width: 40em;
  margin-top: 2.25rem;
}

.quote p {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
}

.quote footer {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 1.1875rem;
  font-style: normal;
  color: var(--ink-soft);
}

.address strong {
  color: var(--ink);
  font-weight: 650;
}

.roles {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.role {
  padding-top: 1.75rem;
  border-top: 2px solid var(--ink);
}

.role__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.role__title {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
}

.role__summary {
  max-width: 38em;
  margin-top: 0.75rem;
  font-size: 1.1875rem;
  color: var(--ink-soft);
}

.role__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(21.25rem, 100%), 1fr));
  gap: 2rem 4rem;
  margin-top: 2rem;
}

.role__cols h4 {
  font-size: 1.0625rem;
  font-weight: 700;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
  color: var(--ink-soft);
}

.role__apply {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

.role__apply p {
  font-size: 1rem;
  color: var(--ink-muted);
}

.not-found {
  padding-block: clamp(5rem, 12vw, 9rem);
}

.not-found p {
  max-width: 32em;
  margin-top: 1.25rem;
  font-size: 1.1875rem;
  color: var(--ink-soft);
}

.not-found .actions {
  margin-top: 2rem;
}

/* 10. Forms ---------------------------------------------------------------- */

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3.5rem 5.5rem;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 7vw, 6.5rem);
}

.contact__main {
  flex: 1.6 1 30rem;
  min-width: 0;
}

.contact__main h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
}

.contact__lead {
  max-width: 32em;
  margin-top: 1.25rem;
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.contact__aside {
  flex: 1 1 18.75rem;
  min-width: 0;
  padding-top: 0.75rem;
}

.contact__aside h2 {
  font-size: 1.3125rem;
}

.contact__aside h2 + .address {
  margin-top: 0.625rem;
  gap: 0.375rem;
  font-size: inherit;
}

.channels {
  margin: 0.875rem 0 2.5rem;
  border-top: 1px solid var(--rule-strong);
  font-size: 1.125rem;
}

.channels li {
  border-bottom: 1px solid var(--rule-strong);
}

.channels a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.125rem 1rem;
  min-height: 3.5rem;
  padding: 0.375rem 0;
  font-weight: 650;
  text-decoration: none;
}

.channels span {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-muted);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding: clamp(1.5rem, 3.4vw, 2.75rem);
  border: 1px solid var(--rule-strong);
  border-radius: 0.5rem;
  background: var(--white);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12.5rem, 100%), 1fr));
  gap: 1.5rem 1rem;
}

.field__label,
.form legend {
  display: block;
  padding: 0;
  font-size: 0.96875rem;
  font-weight: 650;
}

.field__label {
  margin-bottom: 0.375rem;
}

.field__hint {
  margin: -0.25rem 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.field__optional {
  font-weight: 400;
  color: var(--ink-muted);
}

.input {
  display: block;
  width: 100%;
  min-height: 3.125rem;
  padding: 0 0.875rem;
  border: 1.5px solid var(--field-border);
  border-radius: 0.375rem;
  background: var(--white);
}

textarea.input {
  padding-block: 0.75rem;
  resize: vertical;
}

.input:focus-visible {
  border-color: var(--blue);
}

.input[aria-invalid="true"] {
  border-color: #b3261e;
}

.field__error {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: #b3261e;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.625rem;
  font-size: 1rem;
  font-weight: 600;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.875rem;
  padding: 0 1.125rem 0 0.875rem;
  border: 1.5px solid var(--field-border);
  border-radius: var(--pill);
  cursor: pointer;
}

.choice input {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  accent-color: var(--blue);
}

.choice:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-tint);
}

.form__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.form__status {
  font-size: 1rem;
  color: var(--ink-soft);
}

.form__status:empty {
  display: none;
}

/* 11. Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #c3cee3;
  font-size: 0.96875rem;
}

.site-footer__inner {
  padding-block: 4.5rem 2.25rem;
}

.site-footer__cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
}

.site-footer__brand {
  flex: 1 1 17.5rem;
  max-width: 23.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  min-width: 9.375rem;
}

.site-footer__heading {
  margin-bottom: 0.375rem;
  color: var(--white);
  font-size: inherit;
  font-stretch: 100%;
  font-weight: 650;
  letter-spacing: 0;
  line-height: inherit;
}

.site-footer__col a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--white);
  text-decoration: none;
}

.site-footer__col a:hover {
  text-decoration: underline;
}

.site-footer address {
  margin-top: 0.625rem;
  font-style: normal;
}

.site-footer__legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2b4170;
  font-size: 0.875rem;
}

/* 12. Motion preferences --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .route__runner {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
