@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --navy-950: #06253f;
  --navy-900: #0a3560;
  --navy-800: #0c4173;
  --azure-600: #1a70ba;
  --azure-500: #2e86d0;
  --azure-400: #4c9fdf;
  --ice-50: #edf2fa;
  --ice-25: #f5f8fc;
  --white: #fff;
  --neutral-200: #e3e5e9;
  --neutral-300: #cbd0d8;
  --neutral-500: #6b7482;
  --neutral-600: #4b5563;
  --neutral-700: #333b47;
  --font-display: "Century Gothic", "Jost", Futura, sans-serif;
  --font-body: "Century Gothic", "Jost", Futura, sans-serif;
  --page-padding: clamp(24px, 7vw, 88px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--neutral-600);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: var(--azure-600);
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--azure-400);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy-900);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
}

.site-nav {
  min-height: 74px;
  padding: 18px var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

.brand img {
  display: block;
  width: auto;
  height: 34px;
}

.nav-links,
.footer-nav {
  display: flex;
  gap: clamp(20px, 4vw, 44px);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a,
.footer-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  transition: color 200ms var(--ease-out);
}

.nav-links a::after,
.footer-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--azure-400);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--ease-out);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-mark {
  position: absolute;
  top: 40px;
  right: -120px;
  width: auto;
  height: 540px;
  opacity: 0.07;
  pointer-events: none;
  animation: mark-in 2s var(--ease-out) 200ms both;
}

@keyframes mark-in {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 0.07; transform: scale(1); }
}

.hero-content {
  position: relative;
  max-width: 880px;
  padding: clamp(72px, 11vw, 130px) var(--page-padding) clamp(80px, 12vw, 140px);
  display: flex;
  gap: clamp(18px, 3vw, 28px);
}

.hero-rule {
  width: 3px;
  flex: none;
  background: var(--azure-600);
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 300;
  line-height: 1.26;
  text-wrap: pretty;
}

.hero-subhead {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-meta,
.location {
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-meta span {
  margin: 0 0.55rem;
}

.section {
  padding: clamp(64px, 9vw, 104px) var(--page-padding);
  scroll-margin-top: 80px;
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 28px;
  height: 3px;
  flex: none;
  background: var(--azure-600);
}

.eyebrow-dark {
  color: rgba(255, 255, 255, 0.92);
}

.firm-copy {
  max-width: 820px;
}

.firm-copy h2,
.process-intro h2,
.criteria h2 {
  margin: 18px 0 0;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 26px);
  font-weight: 300;
  line-height: 1.45;
  text-wrap: pretty;
}

.firm-copy > p:last-child {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

.bio {
  margin-top: clamp(56px, 8vw, 88px);
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
}

.bio-photo {
  width: min(280px, 100%);
  flex: none;
}

.bio-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.bio-copy {
  min-width: min(320px, 100%);
  flex: 1;
}

.bio-copy h3 {
  margin: 14px 0 0;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 300;
}

.bio-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}

.bio-copy h3 + p {
  margin-top: 20px !important;
}

.strategy {
  padding-bottom: clamp(64px, 9vw, 96px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 56px);
  background: var(--ice-50);
}

.process-intro {
  min-width: min(260px, 100%);
  max-width: 340px;
  flex: 1;
}

.process-intro h2 {
  margin-top: 14px;
  color: var(--navy-800);
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.3;
}

.process-intro > p:last-child {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

.process-steps {
  min-width: min(320px, 100%);
  flex: 2;
}

.process-step {
  padding: 26px 0;
  display: grid;
  grid-template-columns: clamp(40px, 5vw, 56px) 1fr;
  align-items: baseline;
  gap: clamp(16px, 3vw, 24px);
  border-top: 1px solid var(--neutral-300);
}

.process-step:last-child {
  border-bottom: 1px solid var(--neutral-300);
}

.step-number {
  margin: 0;
  color: var(--azure-600);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
}

.process-step h3 {
  margin: 0;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
}

.process-step div p {
  max-width: 620px;
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

.criteria {
  padding-bottom: clamp(64px, 9vw, 96px);
}

.criteria h2 {
  margin: 14px 0 clamp(32px, 5vw, 48px);
  color: var(--navy-800);
  font-size: clamp(24px, 3vw, 28px);
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.criteria-card {
  padding: 30px 28px 28px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-top: 3px solid var(--azure-600);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 1px 3px rgba(6, 37, 63, 0.06);
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.criteria-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.criteria-heading h3 {
  margin: 0;
  color: var(--azure-600);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 220ms var(--ease-out);
}

.criteria-heading span {
  height: 1px;
  flex: 1;
  background: var(--neutral-200);
}

.criteria-card > p {
  margin: 16px 0 0;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  text-wrap: pretty;
}

.values {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.values img,
.values-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.values img {
  object-fit: cover;
}

.values-overlay {
  background: rgba(10, 53, 96, 0.55);
}

.values p {
  position: relative;
  max-width: 760px;
  margin: 0;
  padding: 64px var(--page-padding);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(19px, 2.5vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
  text-wrap: pretty;
}

.site-footer {
  padding: clamp(48px, 7vw, 64px) var(--page-padding) 28px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
  scroll-margin-top: 80px;
}

.footer-main {
  padding-bottom: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.email,
.phone {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  transition: color 160ms;
}

.email {
  margin-top: 14px;
  color: var(--white);
  font-size: clamp(19px, 2.4vw, 22px);
}

.phone {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
}

.location {
  margin-top: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.legal-hero {
  padding: clamp(48px, 7vw, 72px) var(--page-padding) clamp(56px, 8vw, 80px);
  background: var(--navy-900);
}

.legal-hero h1 {
  margin: 16px 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
}

.legal-content {
  padding: clamp(56px, 8vw, 80px) var(--page-padding) clamp(64px, 9vw, 96px);
}

.legal-copy {
  max-width: 780px;
  font-size: 15px;
  line-height: 1.7;
}

.legal-copy p,
.legal-copy ul {
  margin: 16px 0 0;
}

.legal-copy > p:first-child {
  margin-top: 0;
}

.legal-copy h2 {
  margin: 44px 0 0;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
}

.legal-copy h2::after {
  display: block;
  width: 40px;
  height: 3px;
  margin: 12px 0 18px;
  background: var(--azure-600);
  content: "";
}

.legal-copy h2 + p {
  margin-top: 0;
}

.legal-copy ul {
  padding-left: 22px;
}

.legal-copy li + li {
  margin-top: 6px;
}

.legal-footer {
  padding: 24px var(--page-padding) 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-footer p {
  margin: 0;
}

.legal-footer a {
  color: rgba(255, 255, 255, 0.6);
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.error-page > div > p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px 0 30px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.error-page > div > a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.js .reveal.pending {
  opacity: 0;
  transform: translateY(14px);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms var(--ease-out) var(--delay, 0ms), transform 700ms var(--ease-out) var(--delay, 0ms);
}

.delay-0 { --delay: 0ms; }
.delay-80 { --delay: 80ms; }
.delay-160 { --delay: 160ms; }

@media (hover: hover) {
  .nav-links a:hover,
  .footer-nav a:hover {
    color: var(--azure-400);
  }

  .nav-links a:hover::after,
  .footer-nav a:hover::after {
    transform: scaleX(1);
  }

  .criteria-card:hover {
    background: var(--ice-25);
    border-color: var(--neutral-300);
    border-top-color: var(--azure-600);
  }

  .criteria-card:hover h3 {
    color: var(--azure-500);
  }

  .email:hover,
  .phone:hover {
    color: var(--azure-400);
  }
}

@media (max-width: 800px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .criteria-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 68px;
  }

  .site-nav {
    min-height: 68px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .brand img {
    height: 27px;
  }

  .nav-links {
    gap: 15px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .hero-mark {
    top: 120px;
    right: -170px;
    height: 400px;
  }

  .hero-content {
    padding-top: 62px;
    padding-bottom: 78px;
  }

  .hero-meta {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .bio-photo {
    width: min(240px, 100%);
  }

  .process-step {
    grid-template-columns: 38px 1fr;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-nav {
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal.pending,
  .js .reveal.visible {
    opacity: 1;
    transform: none;
  }
}
