@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/SourceSerif4Variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f1d2e;
  --ink-soft: #3d4c60;
  --paper: #ffffff;
  --mist: #eef2f6;
  --line: #d3dbe4;
  --signal: #ff6b1a;
  --signal-press: #f05c0a;
  --error: #b42318;
  --bar-h: 2.5rem;
  --gutter: clamp(1rem, 4vw, 4rem);
  --max: 84rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--bar-h);
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

::selection {
  background: var(--ink);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Sample notice bar */
.sample-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 var(--gutter);
  background: #08121d;
  color: #dfe6ee;
  font-size: 0.8125rem;
  line-height: 1.2;
}

.sample-bar a {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn--signal {
  background: var(--signal);
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--bar-h));
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 58%;
  animation: settle 1600ms var(--ease-out) both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(8 18 29 / 0.88) 0%, rgb(8 18 29 / 0.7) 38%, rgb(8 18 29 / 0.12) 72%, rgb(8 18 29 / 0) 100%),
    linear-gradient(180deg, rgb(8 18 29 / 0.55) 0%, rgb(8 18 29 / 0) 22%, rgb(8 18 29 / 0) 70%, rgb(8 18 29 / 0.6) 100%);
}

@keyframes settle {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand__mark {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav__links a,
.nav__cta {
  text-decoration: none;
}

.nav__cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.55);
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

.hero__body {
  align-self: end;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem var(--gutter) 2.5rem;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 6.4vw, 5.75rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hero__lead {
  max-width: 34rem;
  margin-top: 1.75rem;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: #e6ecf2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
}

.hero__link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.5);
}

/* Route strip: the hero's signature, a dashed road with stops */
.route {
  display: flex;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 2rem;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.route li {
  flex: 1 1 0;
  position: relative;
  padding-top: 1.25rem;
}

.route li::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  right: 0;
  border-top: 2px dashed rgb(255 255 255 / 0.5);
}

.route li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgb(8 18 29 / 0.6);
}

.route li:last-child {
  flex: 0 0 auto;
}

.route li:last-child::before {
  display: none;
}

/* Services */
.services {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}

.services__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: end;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.services__head h2,
.steps h2,
.quote h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.75rem);
}

.services__head p {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.25rem 3rem;
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

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

.service__title {
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  letter-spacing: -0.03em;
}

.service__text {
  max-width: 36rem;
  color: var(--ink-soft);
}

.service__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.service__facts li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--mist);
}

.service__facts li:first-child {
  padding-top: 0;
}

.service__facts li:last-child {
  border-bottom: 0;
}

/* Steps */
.steps {
  background: var(--mist);
}

.steps__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) var(--gutter);
}

.steps__list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.step {
  counter-increment: step;
  position: relative;
  padding-top: 4.75rem;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.step::after {
  content: "";
  position: absolute;
  top: 1.375rem;
  left: 3.75rem;
  right: -1.5rem;
  border-top: 2px dashed #9eabba;
}

.step:last-child::after {
  display: none;
}

.step h3 {
  font-size: 1.375rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.step p {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* Wide photo band */
.band {
  position: relative;
  isolation: isolate;
  min-height: clamp(26rem, 52vw, 40rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--ink);
}

.band__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(8 18 29 / 0.88) 0%, rgb(8 18 29 / 0.55) 38%, rgb(8 18 29 / 0) 70%);
}

.band__text {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem var(--gutter) clamp(2.5rem, 5vw, 4rem);
}

.band h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.band p {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: #e6ecf2;
  font-size: 1.125rem;
}

/* Quote */
.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem clamp(3rem, 6vw, 6rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);
}

.quote__intro > p {
  max-width: 28rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.quote__photo {
  margin: 2.5rem 0 0;
  border-radius: 8px;
  overflow: hidden;
}

.quote__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.form__group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.25rem;
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.form__group legend {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0 0 0.6rem;
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.field {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  min-width: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
}

.field__opt {
  color: var(--ink-soft);
  font-weight: 400;
}

.field input,
.field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #a9b6c4;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230f1d2e' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 0.75rem;
}

.field input::placeholder {
  color: #66748a;
}

.field input:focus-visible,
.field select:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgb(15 29 46 / 0.18);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field__error {
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 500;
}

.field__error:empty {
  display: none;
}

.form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.form__status {
  font-weight: 600;
}

.form__status:empty {
  display: none;
}

.form__status.is-done {
  padding: 0.85rem 1rem;
  border-radius: 6px;
  background: var(--mist);
}

/* Footer */
.footer {
  background: var(--ink);
  color: #c9d3de;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 3rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 3rem;
}

.footer__brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.footer__line {
  grid-column: 1;
  max-width: 30rem;
}

.footer__nav {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
  color: #fff;
}

.footer__nav a {
  text-decoration: none;
}

.footer__small {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  color: #a9b6c4;
}

/* Hover only for real pointers */
@media (hover: hover) and (pointer: fine) {
  .btn--signal:hover {
    background: var(--signal-press);
  }

  .nav__cta:hover {
    background: rgb(255 255 255 / 0.12);
    border-color: #fff;
  }

  .nav__links a:hover,
  .footer__nav a:hover {
    text-decoration: underline;
  }

  .hero__link:hover {
    text-decoration-color: #fff;
  }

  .sample-bar a:hover {
    text-decoration-thickness: 2px;
  }

  .field input:hover,
  .field select:hover {
    border-color: var(--ink-soft);
  }
}

/* Tablet */
@media (max-width: 64rem) {
  .services__head,
  .quote {
    grid-template-columns: minmax(0, 1fr);
  }

  .service {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .service__title {
    grid-column: 1 / -1;
  }

  .steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .step:nth-child(2n)::after {
    display: none;
  }

  .quote__photo {
    display: none;
  }
}

/* Phone */
@media (max-width: 40rem) {
  :root {
    --bar-h: 3.25rem;
  }

  .sample-bar {
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.75rem;
    text-align: center;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    margin-left: auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgb(8 18 29 / 0.55) 0%, rgb(8 18 29 / 0.1) 22%, rgb(8 18 29 / 0.7) 42%, rgb(8 18 29 / 0.92) 70%);
  }

  .hero__img {
    object-position: 66% 40%;
  }

  .band::before {
    background: linear-gradient(0deg, rgb(8 18 29 / 0.9) 0%, rgb(8 18 29 / 0.72) 60%, rgb(8 18 29 / 0.35) 100%);
  }

  .hero__body {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .route {
    font-size: 0.75rem;
    padding-bottom: 1.5rem;
  }

  .service,
  .steps__list,
  .form__group {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    padding: 0 0 0 4rem;
    min-height: 2.75rem;
  }

  .step::after {
    display: block;
    top: 3.5rem;
    bottom: -2.25rem;
    left: 1.375rem;
    right: auto;
    border-top: 0;
    border-left: 2px dashed #9eabba;
  }

  .step:nth-child(2n)::after {
    display: block;
  }

  .step:last-child::after {
    display: none;
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__nav {
    grid-column: 1;
    grid-row: auto;
    margin-top: 1rem;
  }

  .form__submit .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* Phones: the sample note scrolls away with the page instead of taking fixed space */
@media (max-width: 51.99rem) {
  :root { --bar-h: 0px; }
  .sample-bar { position: relative; z-index: 60; min-height: 0; height: auto; padding: 0.5rem 1rem; }
}

/* Display face: Archivo, set wide for a corporate voice */
@font-face { font-family: "Archivo"; src: url("fonts/ArchivoVariable.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
h1, h2, h3, .brand, .footer__brand { font-family: "Archivo", "Inter", system-ui, sans-serif; font-stretch: 118%; letter-spacing: -0.025em; }
