:root {
  color-scheme: light;
  --navy: #06183d;
  --navy-2: #092452;
  --navy-3: #0f3168;
  --gold: #d8ad2f;
  --gold-2: #edc14a;
  --cream: #f7f3ea;
  --cream-2: #fffaf0;
  --white: #ffffff;
  --ink: #06183d;
  --muted: #27324d;
  --line: rgba(6, 24, 61, 0.16);
  --line-strong: rgba(6, 24, 61, 0.32);
  --shadow: 0 18px 50px rgba(6, 24, 61, 0.12);
  --max: 1460px;
  --radius: 6px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 800;
  transition: transform 160ms ease;
}

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

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(22px, 3vw, 36px);
  background: rgba(247, 243, 234, 0.96);
  border-bottom: 1px solid rgba(6, 24, 61, 0.08);
  color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: var(--navy);
  text-decoration: none;
}

.brand-wordmark {
  width: 205px;
  height: auto;
  flex: 0 0 205px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 3vw, 42px);
  color: var(--navy);
  font-size: clamp(0.98rem, 1.35vw, 1.15rem);
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.nav-hiring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--gold-2);
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(6, 24, 61, 0.16);
}

.nav-hiring:hover {
  background: var(--navy-2);
}

.home-hero {
  position: relative;
  min-height: clamp(440px, 58svh, 565px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo img {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(76vw, 1120px);
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) contrast(1.02);
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--cream) 0%, rgba(247, 243, 234, 0.96) 27%, rgba(247, 243, 234, 0.58) 44%, rgba(247, 243, 234, 0.1) 72%),
    linear-gradient(0deg, rgba(6, 24, 61, 0.12), rgba(6, 24, 61, 0));
}

.hero-photo canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  padding: clamp(38px, 5vw, 70px) clamp(26px, 4vw, 44px);
}

.hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.2rem, 5.4vw, 5.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: var(--gold);
}

.hero-copy p {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(6, 24, 61, 0.82);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
}

.hero-copy strong {
  color: var(--navy);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  max-width: 100%;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

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

.button-primary:hover {
  background: var(--navy-2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.42);
  border-color: var(--line-strong);
  color: var(--navy);
}

.button-secondary:hover {
  background: var(--white);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

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

.location-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px !important;
  color: var(--navy) !important;
  font-size: 0.93rem !important;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.location-line svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.3;
}

.section,
.section-tight {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) clamp(22px, 3vw, 44px);
}

.section-tight {
  padding-top: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(28px, 4vw, 54px);
}

.eyebrow {
  margin: 0 0 10px;
  color: #a06b00;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-work {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(620px, 1.75fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: stretch;
}

.home-work-copy {
  padding-top: 10px;
}

.home-work h2,
.hiring-band h2,
.page-hero h1,
.process-section h2,
.candidate-section h2,
.contact-page h2,
.principle-page h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.home-work-copy p:not(.eyebrow),
.process-section p,
.candidate-section li,
.contact-page p,
.principle-page p,
.detail-grid p,
.detail-grid li {
  color: rgba(6, 24, 61, 0.82);
  font-size: 1.05rem;
}

.home-work-copy p:not(.eyebrow) {
  margin: 14px 0 0;
  max-width: 370px;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cap-card,
.detail-grid article,
.role-detail-grid article,
.contact-page article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 12px 30px rgba(6, 24, 61, 0.05);
}

.cap-card {
  min-height: 260px;
  padding: 28px;
}

.cap-card svg {
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cap-card h3,
.process-steps h3,
.role-detail-grid h2,
.contact-strip h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.12;
}

.cap-card h3 {
  font-size: clamp(1.12rem, 1.35vw, 1.34rem);
}

.cap-card p {
  margin: 14px 0 0;
  color: rgba(6, 24, 61, 0.82);
  font-size: 1rem;
}

.hiring-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(32px, 4vw, 48px) clamp(26px, 4vw, 46px);
  background:
    radial-gradient(circle at 80% 85%, rgba(216, 173, 47, 0.16), transparent 32%),
    linear-gradient(135deg, var(--navy) 0%, #062453 60%, var(--navy) 100%);
  color: var(--white);
}

.hiring-band canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hiring-copy,
.role-family-grid {
  position: relative;
  z-index: 2;
}

.hiring-band .eyebrow {
  color: var(--gold-2);
}

.hiring-band h2 {
  color: var(--white);
}

.hiring-band p:not(.eyebrow) {
  max-width: 530px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.hiring-band .button {
  margin-top: 18px;
  min-height: 44px;
  padding: 10px 18px;
}

.role-family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.role-family-grid .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.role-family-grid a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 1.04rem;
  font-weight: 650;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.role-family-grid a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.role-family-grid span {
  width: 30px;
  color: var(--white);
  font-weight: 900;
  text-align: center;
}

.contact-strip {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px clamp(22px, 3vw, 44px);
  background: var(--cream-2);
  color: var(--navy);
  border-top: 1px solid var(--line);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--navy);
  border-radius: 50%;
}

.contact-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-strip h2,
.contact-strip p {
  margin: 0;
}

.contact-strip p {
  color: rgba(6, 24, 61, 0.82);
}

.contact-strip a:not(.button) {
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
}

.strip-button {
  min-width: 190px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 34px clamp(22px, 3vw, 44px);
  background: var(--cream);
  border-top: 1px solid var(--line);
  color: rgba(6, 24, 61, 0.75);
}

.site-footer img {
  width: 300px;
  height: auto;
  border: 0;
}

.site-footer p {
  margin: 0 0 6px;
}

.site-footer a {
  color: var(--navy);
  font-weight: 800;
}

.credit {
  font-size: 0.86rem;
}

.page-hero {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(62px, 8vw, 120px) clamp(22px, 3vw, 44px) clamp(46px, 6vw, 72px);
  background:
    linear-gradient(135deg, rgba(216, 173, 47, 0.16), transparent 34%),
    var(--cream);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 6vw, 6rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(6, 24, 61, 0.82);
  font-size: clamp(1.08rem, 1.7vw, 1.4rem);
}

.roles-hero .button {
  margin-top: 28px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-grid article {
  padding: clamp(24px, 3vw, 38px);
}

.detail-grid h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 2.4vw, 2.6rem);
  line-height: 1.08;
}

.detail-grid ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.detail-grid li + li {
  margin-top: 7px;
}

.process-section,
.candidate-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(480px, 1.2fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: start;
}

.process-steps {
  display: grid;
  gap: 14px;
}

.process-steps article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.process-steps span,
.principle-page span {
  color: #a06b00;
  font-weight: 950;
}

.process-steps span {
  grid-row: 1 / span 2;
}

.process-steps p {
  grid-column: 2;
  margin: 8px 0 0;
}

.principle-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.principle-page article {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.principle-page h2 {
  margin-top: 8px;
}

.principle-page p {
  margin: 12px 0 0;
}

.roles-page {
  padding-top: 34px;
}

.role-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.role-filter button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.role-filter button.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.role-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.role-detail-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.role-detail-grid article[hidden] {
  display: none;
}

.role-detail-grid p:not(.eyebrow) {
  margin: 16px 0 0;
  color: rgba(6, 24, 61, 0.82);
}

.role-detail-grid a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--navy);
  font-weight: 900;
}

.candidate-section ul {
  margin: 0;
  padding-left: 20px;
}

.candidate-section li + li {
  margin-top: 10px;
}

.contact-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-page article {
  padding: clamp(28px, 4vw, 48px);
}

.contact-page .button {
  margin-top: 22px;
}

@media (max-width: 1120px) {
  .capability-grid,
  .role-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-work,
  .hiring-band,
  .process-section,
  .candidate-section {
    grid-template-columns: 1fr;
  }

  .home-work-copy p:not(.eyebrow) {
    max-width: 680px;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    gap: 16px;
  }

  .brand-wordmark {
    width: 170px;
    flex-basis: 170px;
  }

  .site-nav {
    gap: 8px 15px;
    font-size: 0.94rem;
  }

  .nav-hiring {
    min-height: 42px;
    padding: 10px 13px;
  }

  .home-hero {
    min-height: auto;
    padding-top: 0;
  }

  .hero-photo {
    position: relative;
    height: 260px;
    order: 2;
  }

  .hero-photo img {
    width: 100%;
  }

  .hero-photo::before {
    background:
      linear-gradient(0deg, rgba(6, 24, 61, 0.18), rgba(6, 24, 61, 0)),
      linear-gradient(90deg, rgba(247, 243, 234, 0.26), rgba(247, 243, 234, 0));
  }

  .hero-copy {
    padding-bottom: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 12vw, 4.2rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(430px, 100%);
  }

  .capability-grid,
  .detail-grid,
  .principle-page,
  .role-detail-grid,
  .contact-page,
  .contact-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .role-family-grid {
    grid-template-columns: 1fr;
  }

  .strip-button {
    width: min(280px, 100%);
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: center;
    padding: 14px 16px;
  }

  .brand-wordmark {
    width: 132px;
    flex-basis: 132px;
  }

  .site-nav {
    max-width: 272px;
    justify-content: flex-end;
  }

  .nav-hiring {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.86rem;
  }

  .hero-copy,
  .section,
  .section-tight,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-photo {
    height: 120px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 10.6vw, 3.5rem);
  }

  .location-line {
    align-items: flex-start;
    font-size: 0.78rem !important;
  }

  .cap-card,
  .detail-grid article,
  .role-detail-grid article,
  .contact-page article {
    padding: 22px;
  }
}

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

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