:root {
  color-scheme: light;
  --mist: #F5F8F8;
  --wash: #DCE5E6;
  --sage: #88AFA1;
  --ink: #172823;
  --muted: #3F5750;
  --line: #B3C6C0;
  --font: Arial, Helvetica, sans-serif;
  --type-small: .875rem;
  --type-control: .9375rem;
  --type-lead: clamp(1rem, 1.5vw, 1.125rem);
  --frame: 1344px;
  --gutter: clamp(22px, 5.1vw, 82px);
  --header: 106px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--mist); line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.035em; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - var(--gutter) * 2, var(--frame)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 5; padding: 8px 12px; background: var(--mist); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.header { position: sticky; z-index: 2; top: 0; background: var(--mist); border-bottom: 1px solid var(--wash); }
.header-inner { min-height: calc(var(--header) - 1px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: auto; }
.header .logo img { width: 180px; }
nav { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 36px); }
nav a { font-size: var(--type-control); font-weight: 600; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { padding: 10px 16px; border: 1px solid var(--muted); }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; background: var(--ink); color: var(--mist); }
.hero picture, .hero-image, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture { z-index: -2; }
.hero-image { object-fit: cover; object-position: center 42%; }
.hero::before {
  content: "";
  z-index: -1;
  background: radial-gradient(ellipse at 13% 66%, #172823B3, transparent 68%), linear-gradient(0deg, var(--ink) 0%, #172823F5 16%, #172823C7 42%, #17282338 71%, transparent 96%);
}
.hero-inner { min-height: calc(100svh - var(--header)); display: grid; align-content: end; gap: clamp(18px, 4svh, 38px); padding-block: clamp(64px, 15svh, 180px) 25px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: var(--type-small); font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .72; }
.hero h1 { margin-top: 13px; max-width: 22ch; font-size: clamp(2.9rem, 5.5vw, 5.25rem); line-height: 1.02; }
.hero-copy { max-width: 53ch; margin-top: 15px; font-size: var(--type-lead); color: var(--mist); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .actions { margin-top: 19px; }
.hero-metrics { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr)); margin: 0; padding-top: 15px; border-top: 1px solid #DCE5E66B; }
.hero-metrics > div { display: flex; flex-direction: column; gap: 5px; padding-inline: clamp(12px, 2.5vw, 36px) 7px; border-left: 1px solid #DCE5E650; }
.hero-metrics > div:first-child { border-left: 0; padding-left: 0; }
.hero-metrics dt { font-size: var(--type-control); line-height: 1.3; color: var(--wash); }
.hero-metrics dt a { text-underline-offset: .2em; }
.hero-market { white-space: nowrap; }
.hero-metrics dd { order: -1; margin: 0; font-size: clamp(1.875rem, 3.65vw, 3.125rem); line-height: 1; letter-spacing: -.035em; }
.hero-metrics dd span { color: var(--sage); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 19px; border: 1px solid var(--wash); font-size: var(--type-control); font-weight: 600; text-decoration: none; }
.light { color: var(--ink); background: var(--sage); border-color: var(--sage); }
.light:hover { background: var(--wash); border-color: var(--wash); }
.dark { background: var(--ink); color: var(--mist); border-color: var(--ink); cursor: pointer; }
.dark:hover { background: var(--muted); }
.ghost:hover { background: var(--mist); color: var(--ink); }

.editorial h2, .vacancies-header :is(h1, h2), .contact h2, .inner-hero h1 { font-size: clamp(2.375rem, 4.65vw, 4.5rem); line-height: 1.05; }
.panel-section { padding-block: clamp(55px, 8vw, 115px); }
.markets { background: var(--wash); }
.services { background: var(--mist); border-bottom: 1px solid var(--line); }
.editorial { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: start; gap: clamp(32px, 6.8vw, 100px); }
.editorial-intro { padding-top: clamp(4px, 3vw, 45px); }
.editorial-intro > p, .inner-hero p { max-width: 48ch; margin-top: 17px; color: var(--muted); font-size: var(--type-lead); }
.editorial-options { display: grid; margin-top: 24px; }
.editorial-options button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 51px; padding: 10px 6px 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font-size: var(--type-lead); line-height: 1.3; cursor: pointer; text-align: left; }
.editorial-options button:first-child { border-top: 1px solid var(--line); }
.editorial-options button::before { content: ""; flex: 0 0 19px; height: 2px; background: transparent; }
.editorial-options button:hover { background: #88AFA12E; }
.editorial-options button[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.editorial-options button[aria-selected="true"]::before { background: currentColor; }
.editorial-photo { width: 93%; height: auto; aspect-ratio: 1.12; margin-left: auto; object-fit: cover; background: var(--wash); }
.market-photo { object-position: 88% 78%; }
.service-photo { object-position: 71% center; }
.editorial-card { position: relative; width: 86%; margin-top: calc(-1 * clamp(100px, 15vw, 222px)); padding: clamp(23px, 3.6vw, 48px); background: var(--sage); color: var(--ink); }
.editorial-card h3, .detail-content h2 { font-size: clamp(1.625rem, 2.85vw, 2.625rem); line-height: 1.12; text-wrap: balance; }
.editorial-card p { margin-top: 12px; }
.editorial-card a, .detail-content a { display: inline-block; margin-top: 15px; font-weight: 600; text-underline-offset: .26em; }
.editorial-card > div + div:not([role="tabpanel"]) { margin-top: 23px; }
.editorial-reverse { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
.editorial-reverse .editorial-intro { grid-area: 1 / 2; }
.editorial-reverse .editorial-feature { grid-area: 1 / 1; }
.editorial-reverse .editorial-photo { margin-left: 0; }
.editorial-reverse .editorial-card { margin-left: auto; background: var(--wash); }
.approach { background: var(--mist); }
.approach-photo { aspect-ratio: 1.4; object-position: 62% center; }
.approach .editorial-card { margin-top: calc(-1 * clamp(70px, 10.5vw, 147px)); }
.approach .editorial-card p { max-width: 46ch; }
.approach .button { margin-top: 20px; }

.inner-hero { background: var(--wash); }
.inner-hero .wrap { padding-block: clamp(44px, 7vw, 90px); }
.breadcrumb { display: inline-block; margin-bottom: 19px; color: var(--muted); text-underline-offset: .25em; }
.detail-layout { display: grid; grid-template-columns: minmax(190px, .6fr) minmax(0, 1.4fr); gap: clamp(35px, 8vw, 115px); padding-block: clamp(40px, 7vw, 93px); }
.detail-nav { align-self: start; display: grid; gap: 14px; padding-left: 16px; border-left: 2px solid var(--sage); }
.detail-nav a { width: fit-content; font-weight: 600; text-underline-offset: .24em; }
.detail-content article { padding-block: 26px; border-top: 1px solid var(--line); }
.detail-content p { margin-top: 12px; color: var(--muted); max-width: 65ch; }
.detail-content article:target { border-top: 2px solid var(--muted); }
.detail-content > a { margin-block: 14px; }

.vacancies { background: var(--wash); padding-block: clamp(52px, 7vw, 96px); }
.vacancies-header { display: flex; justify-content: space-between; align-items: end; gap: 20px 32px; margin-bottom: 28px; }
.vacancies-header p { max-width: 52ch; margin-top: 12px; color: var(--muted); font-size: var(--type-lead); }
.vacancies-all { flex: none; background: var(--ink); border-color: var(--ink); color: var(--mist); }
.vacancies-all:hover { background: var(--muted); border-color: var(--muted); }
.vacancy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.vacancy-card { display: flex; flex-direction: column; align-items: start; padding: clamp(19px, 3vw, 36px); background: var(--mist); border: 1px solid var(--line); border-top: 3px solid var(--sage); }
.vacancy-sector { color: var(--muted); font-size: var(--type-small); font-weight: 600; }
.vacancy-card :is(h2, h3) { margin-top: 8px; font-size: clamp(1.55rem, 2.45vw, 2.25rem); line-height: 1.1; text-wrap: balance; }
.vacancy-summary { margin-block: 13px 22px; color: var(--muted); }
.vacancy-meta { width: 100%; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); font-size: var(--type-small); }
.vacancy-card a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: var(--type-control); font-weight: 600; text-underline-offset: .26em; }
.vacancy-card a:hover { color: var(--muted); }

.contact { background: var(--ink); color: var(--mist); }
.contact-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(34px, 6vw, 90px); padding-block: clamp(55px, 7vw, 98px); }
.contact .eyebrow { color: var(--sage); }
.contact h2 { margin-top: 15px; }
.contact h2 + p { max-width: 45ch; margin-top: 21px; color: var(--wash); }
.submission-card { background: var(--wash); color: var(--ink); padding: clamp(24px, 4vw, 54px); }
.submission-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.submission-fields label { min-width: 0; font-size: var(--type-control); font-weight: 600; }
.submission-fields span { color: var(--muted); font-weight: 400; }
.submission-fields :is(input, textarea) { display: block; width: 100%; min-height: 44px; margin-top: 5px; padding: 9px 11px; border: 1px solid var(--muted); border-radius: 0; background: var(--mist); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; }
.submission-fields input[type="file"] { padding: 8px; }
.submission-fields input::file-selector-button { margin-right: 8px; padding: 6px 10px; border: 0; background: var(--sage); color: var(--ink); font: inherit; cursor: pointer; }
.submission-fields textarea { resize: vertical; }
.submission-wide { grid-column: 1 / -1; }
.submission-wide span { display: block; margin-top: 4px; font-size: var(--type-small); }
.submission-card :is(input, textarea, button) { scroll-margin-block: 8px; }
.submission-card .button { margin-top: 20px; }
.submission-card .button:disabled { opacity: .65; cursor: wait; }
.submission-status { font-size: var(--type-control); }
.submission-status:not(:empty) { margin-top: 12px; }
.inbox { max-width: 760px; padding-block: clamp(36px, 7vw, 92px); }
.inbox h1 { margin-bottom: 24px; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.1; }
.inbox li { margin-block: 9px; }
.inbox time { margin-inline-start: 12px; color: var(--muted); }
.inbox dt { font-weight: 600; }
.inbox dd { margin: 0 0 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.inbox p + p { margin-top: 12px; }
footer {
  background: var(--mist);
  color: var(--ink);
}
.footer-inner { --footer-logo-width: 210px; display: grid; grid-template-columns: var(--footer-logo-width) minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); align-items: start; justify-items: start; gap: 20px 48px; padding-block: 26px; font-size: var(--type-control); }
.footer-logo { width: min(100%, var(--footer-logo-width)); }
.footer-inner address { font-style: normal; }
.footer-links { display: grid; gap: 9px; justify-items: start; }
.footer-links a { text-underline-offset: 4px; }
.footer-social { display: inline-flex; align-items: start; gap: 8px; min-height: 46px; font-weight: 700; text-decoration: none; }
.footer-social-icon { flex: none; margin-block-start: 2px; fill: #0A66C2; }
.footer-social:hover span { text-decoration: underline; text-underline-offset: 4px; }

.markets, .approach, .vacancies, .inner-hero, .contact {
  background-image: var(--section-flow);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.markets, .markets-heading { --section-flow: url("assets/markets-flow.svg"); }
.services-heading { --section-flow: url("assets/services-flow.svg"); }
.services {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.services::before {
  content: "";
  position: absolute;
  inset-block: 0;
  /* The original artwork starts 68.3% across its canvas at the widest bend. */
  left: calc(31.7% - max(var(--gutter), (100% - var(--frame)) / 2) + 6px);
  width: 100%;
  z-index: -1;
  pointer-events: none;
  background: url("assets/services-flow.svg") center / 100% 100% no-repeat;
}
.approach { --section-flow: url("assets/approach-flow.svg"); }
.vacancies { --section-flow: url("assets/vacancies-flow.svg"); }
.contact { --section-flow: url("assets/contact-flow.svg"); }

@media (min-width: 761px) and (max-height: 690px) {
  .hero-inner { padding-block: 56px 17px; gap: 22px; }
  .hero h1 { font-size: clamp(2.7rem, 4.7vw, 4.25rem); }
  .hero-metrics dd { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
}

@media (max-width: 960px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  :root { --header: 74px; }
  .header .logo img { width: 120px; }
  .menu-toggle { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; font-size: var(--type-control); font-weight: 600; color: var(--ink); cursor: pointer; }
  .menu-toggle span { width: 17px; height: 8px; border-block: 1px solid; }
  .header-inner:has(.menu-toggle[hidden]) { flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .header-inner:has(.menu-toggle[hidden]) nav { position: static; padding: 0; box-shadow: none; }
  nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--gutter) 18px; background: var(--mist); box-shadow: 0 10px 20px #17282324; }
  nav a { display: block; padding: 10px 0; }
  .nav-cta { border: 0; }
}

@media (max-width: 760px) {
  .markets, .inner-hero, .vacancies { --flow-surface: var(--wash); }
  .approach { --flow-surface: var(--mist); }
  .services::before { opacity: .45; }
  .contact { --flow-surface: var(--ink); }
  .markets, .approach, .vacancies, .inner-hero, .contact {
    --flow-veil: color-mix(in srgb, var(--flow-surface) 55%, transparent);
    background-image: linear-gradient(var(--flow-veil), var(--flow-veil)), var(--section-flow);
  }
  .markets, .approach { background-position: center bottom; background-size: 100% 48%; }
  .hero-image { object-position: 49% 37%; }
  .hero::before { background: linear-gradient(0deg, var(--ink), #172823F2 20%, #172823B8 53%, #17282338 79%, transparent), linear-gradient(90deg, #17282366, transparent 95%); }
  .hero-inner { gap: 17px; padding-block: clamp(70px, 20svh, 155px) 16px; }
  .hero h1 { max-width: 19ch; font-size: clamp(2.45rem, 9.1vw, 4.45rem); }
  .hero-copy { margin-top: 11px; line-height: 1.42; }
  .hero .actions { margin-top: 15px; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 13px; padding-top: 11px; }
  .hero-metrics > div:first-child { grid-column: 1 / -1; padding: 0 0 13px; border-bottom: 1px solid #DCE5E650; }
  .hero-metrics > div:nth-child(2) { border-left: 0; padding-left: 0; }
  .hero-metrics dd { font-size: clamp(1.76rem, 7.5vw, 2.6rem); }
  .hero-metrics dt { font-size: var(--type-small); }
  .actions { margin-top: 22px; }
  .desktop-break { display: none; }
  .editorial, .editorial-reverse, .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .editorial-reverse .editorial-intro, .editorial-reverse .editorial-feature { grid-area: auto; }
  .editorial-photo { width: 96%; aspect-ratio: 1.55; }
  .editorial-card { width: 94%; margin-top: -65px; }
  .approach .editorial-card { margin-top: -52px; }
  .editorial-options button { min-height: 44px; }
  .vacancies-header { flex-direction: column; align-items: start; }
  .vacancy-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; padding-block: 28px; }
  .submission-card .button { width: 100%; }
  .submission-fields { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  :root { --gutter: 17px; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 2.45rem); }
  .hero-metrics > div { padding-inline: 8px 3px; }
  .hero-metrics dd { font-size: 1.65rem; }
  .button { padding-inline: 12px; }
  .actions { gap: 8px; }
}

@media (max-width: 760px) and (max-height: 650px) {
  .hero-inner { gap: 12px; padding-block: 54px 12px; }
  .hero h1 { margin-top: 9px; font-size: clamp(2.05rem, 8vw, 3.1rem); }
  .hero .button { min-height: 43px; }
}
