@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f6f8;
  --white: #ffffff;
  --ink: #072444;
  --muted: #3c5164;
  --navy: #083870;
  --navy-deep: #062848;
  --link: #0a4f86;
  --cyan: #08b8e0;
  --line: #d3dde6;
  --footer: #072444;
  --footer-text: #e8eef4;
  --footer-muted: #c5d3e0;
  --wrap: 68rem;
  --header-rule: 6px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 1.125rem;
  font-weight: 420;
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
}

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

h1,
h2,
h3 {
  font-weight: 640;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

p,
li {
  text-wrap: pretty;
}

a {
  color: var(--link);
}

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

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

.skip-link {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 40;
  transform: translateY(-150%);
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 600;
}

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

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

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 3px 0 var(--cyan);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: 4.75rem;
  padding-block: 0.8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  height: 3rem;
  width: auto;
}

.brand-name,
.brand-sub {
  display: block;
  text-transform: uppercase;
}

.brand-name {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.05;
}

.brand-sub {
  margin-top: 0.2rem;
  color: var(--link);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  line-height: 1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.site-nav a {
  color: var(--ink);
  font-weight: 560;
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--navy);
  border-bottom-color: var(--cyan);
}

.hero {
  padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(3rem, 7vw, 5rem);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--link);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-place {
  white-space: nowrap;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.55rem);
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.lede {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  border-radius: 2px;
  font: inherit;
  font-weight: 620;
  text-decoration: none;
}

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

.button-secondary {
  background: transparent;
  color: var(--navy);
}

.button-secondary:hover {
  background: #e5eef5;
  color: var(--navy-deep);
  border-color: var(--navy);
}

.hero-portrait {
  width: min(100%, 20rem);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.section {
  padding-block: clamp(3rem, 7vw, 5.25rem);
}

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

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 40rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  gap: 2rem 3rem;
  margin-top: 2.25rem;
}

.service {
  padding-top: 1.15rem;
  background-image:
    linear-gradient(var(--navy), var(--navy)),
    linear-gradient(var(--cyan), var(--cyan));
  background-size: 100% 3px, 100% 3px;
  background-position: top left, left 3px;
  background-repeat: no-repeat;
}

.service h3,
.expect-title {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.service p,
.role p,
.about-copy p {
  margin: 0;
}

.service p + p,
.about-copy p + p {
  margin-top: 0.85rem;
}

.expect-title {
  margin-top: 2.75rem;
}

.expect {
  max-width: 42rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.expect li {
  padding-left: 0.95rem;
  border-left: 3px solid var(--navy);
}

.roles {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.role {
  display: grid;
  gap: 0.35rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}

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

.role-when {
  margin: 0;
  color: var(--link);
  font-size: 0.98rem;
  font-weight: 640;
}

.role h3 {
  font-size: 1.35rem;
}

.role-position {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-weight: 560;
}

.role ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.role li + li {
  margin-top: 0.4rem;
}

.role .stack {
  margin-top: 0.75rem;
  color: var(--muted);
}

.earlier {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.about-copy p {
  max-width: 42rem;
}

blockquote {
  margin: 0;
  padding: 1.35rem 1.35rem 1.15rem;
  background: var(--paper);
  border-left: 4px solid var(--navy);
}

blockquote p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
}

.attribution {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact {
  background: var(--footer);
  color: var(--footer-text);
}

.contact h2,
.contact .section-intro {
  color: var(--footer-text);
}

.contact .section-intro {
  max-width: 38rem;
}

.contact .button {
  margin-top: 1.5rem;
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.contact .button:hover {
  background: #d7eef8;
  border-color: #d7eef8;
  color: var(--navy-deep);
}

.site-footer {
  background: var(--footer);
  color: var(--footer-muted);
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

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

.site-footer p {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
}

.footer-nav a {
  font-weight: 600;
}

address {
  font-style: normal;
}

.legal p + p {
  margin-top: 0.35rem;
}

.missing {
  padding-block: clamp(4rem, 10vw, 7rem);
}

.missing p {
  max-width: 38rem;
  margin: 1rem 0 0;
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 11rem;
  }

  .site-nav {
    flex-basis: 100%;
    gap: 0;
    padding-top: 0.15rem;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    padding: 0.8rem 0.85rem 0.8rem 0;
  }
}

@media (max-width: 520px) {
  .eyebrow-sep {
    display: none;
  }

  .eyebrow-place {
    display: block;
  }
}

@media (min-width: 760px) {
  .role {
    grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr);
    gap: 0.5rem 2rem;
    align-items: start;
  }

  .role-when {
    padding-top: 0.2rem;
  }
}

@media (min-width: 1040px) {
  .role-when {
    white-space: nowrap;
  }
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.85fr);
    gap: 3rem;
    align-items: start;
  }
}

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: 4rem;
  }

  .hero-portrait {
    width: 17rem;
    justify-self: end;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media print {
  .site-header {
    position: static;
    box-shadow: none;
  }

  .contact,
  .site-footer {
    background: var(--white);
    color: var(--ink);
  }

  .contact h2,
  .contact .section-intro,
  .site-footer,
  .site-footer a {
    color: var(--ink);
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    word-break: break-all;
  }
}
