@font-face {
  font-family: Manrope;
  src: url('assets/manrope.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f6f3;
  --white: #fff;
  --navy: #1b2b44;
  --ink: #182338;
  --muted: #4c5868;
  --blue: #284b78;
  --pale-blue: #e9eef5;
  --line: #cfd6df;
  --warm-line: #cba66c;
  --type: Manrope, system-ui, sans-serif;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.7 var(--type);
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
[id] { scroll-margin-top: 1rem; }

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

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.16;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  letter-spacing: -.04em;
}

h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  letter-spacing: -.024em;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.frame {
  width: min(calc(100% - 5rem), 76rem);
  margin-inline: auto;
}

.section-space { padding-block: clamp(3.15rem, 6vw, 5.6rem); }

.skip-link {
  position: absolute;
  z-index: 1;
  top: .75rem;
  left: .75rem;
  padding: .55rem .95rem;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-170%);
}

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

.site-header, .site-footer { background: var(--white); }
.site-header { border-bottom: 1px solid var(--line); }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--navy);
  text-decoration: none;
}

.brand img { flex: none; }

.wordmark {
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
  white-space: nowrap;
}

.wordmark span {
  display: block;
  margin-top: .32rem;
  font-size: .66rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.header-inner nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 clamp(1.1rem, 3vw, 2.6rem);
}

.header-inner nav a {
  padding-block: .6rem;
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-inner nav a:hover, .text-link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .24em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .3rem;
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

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

.button-primary:hover { background: var(--pale-blue); }
.button-primary:focus-visible { outline-color: var(--white); }

.button-outline {
  color: var(--blue);
  border-color: var(--blue);
}

.button-outline:hover { background: var(--pale-blue); }

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

.hero-inner, .split, .case-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
}

.hero-inner {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(3.15rem, 7vw, 5.9rem);
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.85rem, 5.5vw, 5.3rem);
  line-height: 1.04;
  letter-spacing: -.06em;
  text-wrap: wrap;
}

.hero-copy {
  border-left: 2px solid var(--warm-line);
  padding-left: clamp(1.25rem, 3vw, 2.2rem);
}

.hero-copy p {
  max-width: 31rem;
  margin-bottom: 1.2rem;
  color: #e0e7f2;
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
}

.services h2 { margin-bottom: 1.55rem; }

.service-grid, .case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.15vw, 2rem);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: .45rem;
  overflow: hidden;
}

.service-card img, .feature-photo img, .case-card > img { width: 100%; }

.service-card-copy { padding: clamp(1rem, 2vw, 1.5rem); }
.service-card h3, .case-card h3 { margin-bottom: .55rem; }

.service-card p, .section-intro p, .work-story p, .case-card p, .detail-list dd, .fees p {
  color: var(--muted);
}

.image-note, .feature-photo figcaption {
  margin-top: .6rem;
  color: var(--muted);
  font-size: .8125rem;
}

.image-note { text-align: right; }

.section-intro h2 { margin-bottom: .85rem; }
.section-intro p { max-width: 34rem; }

.operations {
  background: var(--pale-blue);
  border-block: 1px solid var(--line);
}

.detail-list > div {
  padding-block: .85rem;
  border-top: 1px solid var(--line);
}

.detail-list > div:last-child { padding-bottom: 0; }

.detail-list dt {
  margin-bottom: .12rem;
  font-weight: 800;
  line-height: 1.4;
}

.reporting { align-items: start; }

.report-panel, .fees {
  padding: clamp(1.2rem, 3vw, 2.15rem);
  border: 1px solid var(--line);
  border-radius: .45rem;
}

.report-panel {
  background: var(--white);
  border-top: 3px solid var(--blue);
}

.report-panel h3, .fees h3 {
  margin-bottom: .95rem;
  font-size: clamp(1.25rem, 2.15vw, 1.6rem);
}

.work {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.case-lead { align-items: center; }

.label {
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.45;
  text-transform: uppercase;
}

.work-story h2 {
  margin-block: .55rem .8rem;
  font-size: clamp(2.1rem, 4.15vw, 3.7rem);
}

.work-story p + p { margin-top: .7rem; }
.work-story .button { margin-top: 1.2rem; }
.feature-photo img, .case-card > img, .assistant-art { border-radius: .35rem; }

.case-grid {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(1.65rem, 3vw, 2.6rem);
  border-top: 1px solid var(--line);
}

.case-card h3 { margin-top: .9rem; }

.assistant-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  aspect-ratio: 4 / 3;
  background: var(--pale-blue);
  color: var(--navy);
  font-weight: 800;
}

.assistant-art img {
  width: clamp(3.6rem, 7vw, 6.5rem);
  border: 2px solid var(--white);
  border-radius: 50%;
}

.fees { background: var(--pale-blue); }

.site-footer { border-top: 1px solid var(--line); }

.footer-inner { padding-block: 1rem; }
.footer-inner p, .text-link { font-size: .875rem; }
.footer-inner p { color: var(--muted); }

.text-link {
  font-weight: 700;
  text-underline-offset: .22em;
  white-space: nowrap;
}

@media (max-width: 55rem) {
  .frame { width: calc(100% - 3rem); }
  .hero-inner, .split, .case-lead { gap: 1.7rem; }
  .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 46rem) {
  .hero-inner, .split, .case-lead { grid-template-columns: 1fr; }
  .hero-copy { max-width: 35rem; }
  .service-grid, .case-grid { grid-template-columns: 1fr; }
  .service-card img, .case-card > img { max-width: 100%; }
  .assistant-art { aspect-ratio: 2 / 1; }
  .feature-photo { max-width: 36rem; }
}

@media (max-width: 37rem) {
  .frame { width: calc(100% - 2rem); }

  .header-inner {
    flex-wrap: wrap;
    gap: .3rem;
    padding-block: .5rem .25rem;
  }

  .brand img { width: 43px; height: 43px; }

  .header-inner nav {
    flex-basis: 100%;
    gap: 0 clamp(.65rem, 3vw, 1.25rem);
  }

  .header-inner nav a { font-size: .875rem; }
  .footer-inner p { order: 1; flex-basis: 100%; }
}
