@font-face {
  font-family: Inter;
  src: url("assets/inter-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Keep the authored palette in both system appearances. */
  color-scheme: light dark;
  --black: #000;
  --ink: #211e25;
  --muted: #514c56;
  --purple: #631deb;
  --purple-dark: #4c11bf;
  --warm: #f9f4f0;
  --white: #fff;
  --lavender: #d8c7fa;
  --line: #d9d0cc;
  font-family: Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.64; }
a { color: inherit; text-underline-offset: 0.22em; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 104px)); margin-inline: auto; }
.section { padding-block: clamp(64px, 7.2vw, 112px); }
.skip { position: absolute; z-index: 2; top: 12px; left: 16px; transform: translateY(-200%); padding: 12px; background: var(--white); color: var(--black); }
.skip:focus { transform: none; }

.site-header { background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 106px; }
.brand { display: block; flex: 0 1 180px; }
.header-inner nav { display: flex; align-items: center; gap: clamp(18px, 3.5vw, 48px); }
.header-inner nav a { font-size: 15px; font-weight: 650; text-decoration: none; }
.header-inner nav a:hover { color: var(--purple); text-decoration: underline; }
.header-inner .nav-contact { border: 1px solid var(--purple); border-radius: 4px; padding: 12px 16px; color: var(--purple); white-space: nowrap; }
.nav-contact span { margin-left: 7px; }

.hero { isolation: isolate; position: relative; overflow: hidden; color: var(--warm); background: var(--black); }
.hero-image {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 27%;
  background:
    linear-gradient(90deg, #000 0%, rgb(0 0 0 / 92%) 13%, rgb(0 0 0 / 46%) 41%, transparent 69%),
    linear-gradient(0deg, rgb(0 0 0 / 47%), transparent 42%),
    url("assets/junction-at-night.webp") 64% 48% / cover no-repeat;
}
.hero-inner { padding-block: clamp(70px, 8vw, 124px); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--purple); font-size: 0.875rem; font-weight: 750; letter-spacing: 0.055em; line-height: 1.4; }
.hero .eyebrow, .contact .eyebrow { color: var(--warm); }
.rule { width: 30px; height: 3px; background: var(--purple); }
h1, h2, h3 { font-weight: 750; line-height: 1.09; text-wrap: balance; }
h1 { margin-top: 23px; max-width: 700px; font-size: clamp(46px, 5.8vw, 84px); letter-spacing: -0.057em; }
.hero-summary { max-width: 508px; margin-top: 24px; color: #eee8e5; font-size: clamp(17px, 1.6vw, 21px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 33px; }
.button { display: inline-flex; min-height: 50px; width: fit-content; align-items: center; justify-content: center; gap: 16px; padding: 12px 19px; border: 1px solid #b18ef5; border-radius: 4px; background: var(--purple); color: var(--warm); font-weight: 700; line-height: 1.25; text-decoration: none; }
.button:hover { background: var(--purple-dark); }
.text-link { font-size: 15px; font-weight: 650; }
.text-link span { margin-left: 4px; }

.career-metrics { padding-block: 16px clamp(34px, 4.5vw, 68px); background: var(--black); color: var(--warm); }
.career-stat-list { --metric-line: #51475e; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--metric-line); border-radius: 4px; background: var(--ink); }
.career-stat { display: grid; align-content: start; gap: 8px; padding: clamp(16px, 2.5vw, 34px); }
.career-stat + .career-stat { border-inline-start: 1px solid var(--metric-line); }
.career-stat dt { grid-row: 2; font-size: 15px; line-height: 1.45; }
.career-stat dd {
  grid-row: 1;
  margin: 0;
  color: var(--purple);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.career-geography { margin-top: 14px; color: #eee8e5; font-size: 15px; }

.services { background: var(--warm); }
.section-layout { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.65fr); gap: clamp(34px, 6.6vw, 100px); }
h2 { margin-top: 14px; font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -0.052em; }
.section-intro > p:last-child { max-width: 350px; margin-top: 18px; color: var(--muted); font-size: 17px; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { padding: 23px 21px 24px; border-bottom: 1px solid var(--line); }
.service-list li:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.service-list li:nth-child(even) { padding-right: 0; }
.service-list li.service-wide { grid-column: 1 / -1; border-inline-end: 0; padding-inline: 0; }
.service-wide p { max-width: 65ch; }
.item-no { display: block; margin-bottom: 13px; color: var(--purple); font-size: 14px; font-weight: 750; }
h3 { font-size: clamp(22px, 2.15vw, 30px); letter-spacing: -0.04em; }
.service-list p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.55; }

.about-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.83fr); gap: clamp(34px, 7vw, 106px); align-items: center; }
.about-heading { margin: 0; color: var(--purple); text-transform: uppercase; letter-spacing: -0.025em; }
.profile .about-heading { font-size: clamp(28px, 3.2vw, 46px); }
.profile h3 { margin-top: 18px; }
.profile p { margin-top: 15px; max-width: 670px; font-size: 17px; }
.profile p:not(.profile-role) { color: var(--muted); }
.profile-role { font-weight: 700; }
.experience { padding: clamp(28px, 3.5vw, 53px); border-radius: 4px; background: var(--lavender); }
.experience .about-heading { color: #4511a2; font-size: clamp(21px, 2.2vw, 29px); }
.experience h4 { margin: 17px 0 0; font-size: 18px; line-height: 1.3; }
.experience > p:last-child { margin-top: 14px; }
.sectors { margin-top: clamp(44px, 6vw, 80px); padding-top: clamp(28px, 4vw, 50px); border-top: 1px solid var(--line); }
.sectors h3 { font-size: clamp(28px, 3.2vw, 42px); }
.sectors > p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.sector-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; margin: 22px 0 0; padding: 0; list-style: none; }
.sector-list li { padding-block: 12px; border-top: 1px solid var(--line); font-weight: 650; line-height: 1.45; }

.contact { background: var(--black); color: var(--warm); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.9fr); gap: 48px; align-items: center; }
.contact h2 { max-width: 660px; }
.contact p:not(.eyebrow) { max-width: 500px; margin: 18px 0 26px; color: #e9e2df; font-size: 17px; }
.email-address { display: inline-block; margin: 12px 0 0 14px; }
.contact-mark { justify-self: center; width: 340px; }
.site-footer { background: var(--warm); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px; color: var(--muted); font-size: 14px; }
.footer-inner a:hover { color: var(--purple); }

@media (max-width: 930px) {
  .wrap { width: calc(100% - 64px); }
  .hero-image { left: 20%; }
  .section-layout { grid-template-columns: 1fr; gap: 28px; }
  .section-intro > p:last-child { max-width: 550px; }
  .sector-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .contact-layout { gap: 24px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { gap: 10px 22px; flex-wrap: wrap; justify-content: center; padding: 15px 0 12px; min-height: 0; }
  .header-inner nav { justify-content: center; flex: 1 1 auto; }
  .hero-image { inset: 0 0 auto; height: 62%; background:
      linear-gradient(0deg, #000 0%, rgb(0 0 0 / 84%) 39%, rgb(0 0 0 / 25%) 100%),
      url("assets/junction-at-night.webp") 58% 43% / cover no-repeat; }
  .hero-inner { padding-block: 76px 60px; }
  .hero h1 { max-width: 540px; }
  .career-stat-list { grid-template-columns: 1fr; }
  .career-stat + .career-stat { border-inline-start: 0; border-top: 1px solid var(--metric-line); }
  .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .contact-mark { display: none; }
}

@media (max-width: 440px) {
  h1 { font-size: clamp(36px, 10.8vw, 47px); }
  .header-inner { padding-bottom: 9px; }
  .header-inner nav { flex-basis: 100%; }
  .header-inner .nav-contact { padding: 8px 12px; }
  .service-list { grid-template-columns: 1fr; }
  .service-list li:nth-child(n) { border-right: 0; padding-inline: 0; }
}
