@font-face {
  font-family: "Host Grotesk";
  src: url("assets/host-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #143755;
  --ink: #121212;
  --ink-high: #1c4567;
  --paper: #ffffff;
  --white: #ffffff;
  --muted: #46596a;
  --rule: #cbd9e3;
  --tint: #edf4f9;
  --silver-blue: #d3e3ef;
  --accent: #c9ebfc;
  --accent-hover: #e2f4fd;
  --dark-rule: #56758d;
  --focus: #1b6291;
  --font: "Host Grotesk", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.2vw, 4.5rem);
  --shell: 86rem;
  --section: clamp(3.5rem, 7vw, 6.5rem);
  --radius: .5rem;
  --ease: cubic-bezier(.19, 1, .22, 1);
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  scrollbar-color: #577187 var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
main, section { min-width: 0; }
section[id], article[id] { scroll-margin-top: 1.25rem; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-underline-offset: .21em; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }

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

.skip-link {
  position: absolute;
  z-index: 5;
  left: var(--gutter);
  top: .5rem;
  padding: .8rem 1rem;
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header, .hero, .contact, .site-footer {
  --focus: var(--accent);
  color: var(--white);
  background: var(--navy);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5rem;
  border-bottom: 1px solid var(--dark-rule);
}

.wordmark { display: inline-flex; align-items: center; min-height: 2.75rem; }
.wordmark img { width: clamp(9.3rem, 15vw, 12rem); height: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.7vw, 2.45rem); }
.site-nav a, .menu-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .96rem;
  font-weight: 610;
}

.site-nav > a { color: var(--silver-blue); text-decoration: none; }
.site-nav > a:hover { color: var(--white); }
.site-nav > .nav-contact, .menu-toggle {
  color: var(--white);
  border: 1px solid #8fa6b9;
  padding: 0 1.13rem;
  background: transparent;
  border-radius: var(--radius);
}

.site-nav > .nav-contact:hover, .menu-toggle:hover { border-color: var(--accent); color: var(--accent); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.09fr) minmax(0, .91fr);
  align-items: center;
  gap: clamp(1.75rem, 4.25vw, 4.5rem);
  padding-block: clamp(2.75rem, 4.5vw, 5.3rem);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.15vw, 5.3rem);
  font-weight: 710;
  line-height: 1.02;
  letter-spacing: -.038em;
}

.hero h1 span { display: block; color: var(--accent); text-wrap: balance; }

.hero-copy > p {
  max-width: 36rem;
  margin-top: 1.4rem;
  color: var(--silver-blue);
  font-size: clamp(1.1rem, 1.35vw, 1.28rem);
  line-height: 1.57;
}

.hero-actions, .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.5rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  min-height: 3.125rem;
  justify-content: center;
  align-items: center;
  gap: .7rem;
  padding: .7rem 1.18rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 690;
  line-height: 1.3;
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}

.button-accent { color: var(--navy); background: var(--accent); }
.button-accent:hover { background: var(--accent-hover); }
.button-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.button-outline:hover { color: var(--white); background: var(--navy); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  font-weight: 620;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.text-link:hover { text-decoration-thickness: 2px; }
.hero .text-link:hover, .site-footer .text-link:hover { color: var(--accent); }

.arrow {
  position: relative;
  flex: 0 0 .9em;
  width: .9em;
  height: 1em;
}

.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { inset: calc(50% - .7px) .13em auto 0; border-top: 1.4px solid; }
.arrow::after {
  top: 50%;
  right: .14em;
  width: .45em;
  height: .45em;
  border: solid;
  border-width: 1.4px 1.4px 0 0;
  transform: translateY(-50%) rotate(45deg);
}

.hero-visual {
  aspect-ratio: 1.16;
  overflow: hidden;
  border-radius: .9rem;
  background: var(--ink-high);
}

.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }

.service-index { background: var(--tint); border-bottom: 1px solid var(--rule); }
.service-index-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 4.7rem;
  padding: .85rem clamp(.6rem, 1.6vw, 1.4rem);
  color: var(--navy);
  font-weight: 680;
  font-size: .96rem;
  line-height: 1.28;
  text-decoration: none;
  border-inline-end: 1px solid var(--rule);
}

.service-index a:first-child { border-inline-start: 1px solid var(--rule); }
.service-index a:hover { background: var(--white); text-decoration: underline; }
.service-index a:focus-visible { outline-offset: -4px; }
.service-index .arrow { transform: rotate(45deg); }

.section { padding-block: var(--section); }
.section-intro h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 4.3vw, 4rem);
  font-weight: 690;
  line-height: 1.06;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.section-intro > p {
  max-width: 39rem;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.3vw, 1.2rem);
  line-height: 1.6;
}

.assessment-grid, .services-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6.5vw, 7.5rem);
}

.assessment .section-intro { max-width: 30rem; }
.deliverables { border-top: 1px solid var(--rule); }
.deliverables > div { padding: 1.38rem 0 1.44rem; border-bottom: 1px solid var(--rule); }
.deliverables dt, .process-steps h4, .service-row h3, .contact-form h3 {
  color: var(--navy);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 670;
  letter-spacing: -.025em;
  line-height: 1.16;
}

.deliverables dd, .process-steps p, .service-row p {
  color: var(--muted);
  font-size: 1.035rem;
  line-height: 1.62;
}

.deliverables dd, .process-steps p { margin-top: .55rem; }

.process-shell { margin-top: clamp(2.5rem, 5vw, 5rem); }
.process { padding: clamp(1.25rem, 3.5vw, 3.25rem); background: var(--tint); border-radius: .9rem; }
.process-title { color: var(--navy); font-size: clamp(1.65rem, 2.5vw, 2.4rem); font-weight: 680; letter-spacing: -.03em; }
.process > p { max-width: 40rem; margin-top: .5rem; color: var(--muted); line-height: 1.62; }

.process-steps h4 { font-size: clamp(1.2rem, 1.65vw, 1.5rem); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 4vw, 4rem);
  margin: clamp(1.5rem, 3vw, 2.6rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-steps li { border-top: 1px solid #a9bece; padding-top: 1.18rem; }
.process-steps li::before {
  display: block;
  counter-increment: step;
  content: counter(step, decimal-leading-zero) / "";
  color: #265778;
  font-size: .9rem;
  font-weight: 690;
  font-variant-numeric: tabular-nums;
  margin-bottom: .75rem;
}

.services { border-top: 1px solid var(--rule); }
.service-list { border-top: 1px solid var(--rule); }
.service-row {
  display: grid;
  justify-items: start;
  gap: .6rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
  border-bottom: 1px solid var(--rule);
}

.service-row p { max-width: 66ch; }
.service-row .text-link { color: #215574; }
.service-row .text-link:hover { color: var(--ink); }

.contact-intro h2 { max-width: 31rem; color: var(--white); }
.contact-intro > p { color: var(--silver-blue); }
.contact-email { max-width: 100%; margin-top: 1.3rem; overflow-wrap: anywhere; }
.contact-form {
  --focus: #1b6291;
  display: grid;
  align-content: start;
  gap: 1.12rem;
  padding: clamp(1rem, 3.6vw, 2.75rem);
  color: var(--ink);
  background: var(--white);
  border-radius: .9rem;
}

.contact-form h3 { margin-bottom: .25rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: 1rem; font-weight: 680; }
.field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: .67rem .8rem;
  border: 1px solid #65839a;
  border-radius: var(--radius);
  background: #f8fbff;
  caret-color: var(--ink);
  line-height: 1.46;
}

.field textarea { resize: vertical; }
.field textarea::placeholder { color: #536b7e; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 2.5rem; }
.select-wrap::after {
  content: "";
  display: block;
  position: absolute;
  right: 1rem;
  top: calc(50% - .27rem);
  width: .48rem;
  height: .48rem;
  border: solid var(--ink);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
  pointer-events: none;
}

.form-help, .form-status { font-size: .94rem; line-height: 1.45; }
.form-help, .form-status { color: var(--muted); }
.form-actions { margin-top: 0; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .8rem 1.5rem;
  min-height: 6.25rem;
  padding-block: 1rem;
  border-top: 1px solid var(--dark-rule);
}

.footer-inner p { color: var(--silver-blue); font-size: .95rem; }

@media (max-width: 1000px) {
  .hero-actions { align-items: flex-start; gap: .55rem 1.1rem; }
  .service-index .arrow { display: none; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 4.65rem; flex-wrap: wrap; }
  .site-nav { width: 100%; display: grid; gap: 0; padding: .25rem 0 .85rem; }
  .site-nav > a { width: max-content; max-width: 100%; }
  .site-nav > .nav-contact { border: none; padding: 0; color: var(--silver-blue); }
  .hero-grid, .assessment-grid, .services-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 2rem; }
  .hero h1 { max-width: 36rem; font-size: clamp(2.05rem, 10vw, 4.2rem); }
  .hero-visual { aspect-ratio: 1.65; }
  .hero-copy > p { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.45rem; }
  .service-index-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-index a { min-height: 3.5rem; padding: .66rem .8rem; border: 0; }
  .service-index a:first-child { border-inline-start: 0; }
  .service-index a:nth-child(odd) { border-inline-end: 1px solid var(--rule); }
  .service-index a:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .service-index .arrow { display: block; }
  .process-steps { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .footer-inner > p { grid-area: 2 / 1 / 3 / -1; }
  .footer-inner > .text-link { grid-area: 1 / 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
