:root {
  --ink: #111319;
  --navy: #0f1117;
  --blue: #487b91;
  --blue-bright: #58a4bc;
  --orange: #d45a2a;
  --sand: #d4b98d;
  --gold: #e4b344;
  --paper: #ffffff;
  --muted: #eee9df;
  --line: #d8d2c8;
  --body-font: "DM Sans", Arial, sans-serif;
  --display-font: "Cormorant Garamond", Georgia, serif;
  --container: 1210px;
  --gutter: clamp(20px, 4vw, 46px);
  --section-space: clamp(76px, 9vw, 126px);
  --shadow: 0 4px 14px rgba(15, 17, 23, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--display-font);
  font-weight: 400;
  line-height: 1.03;
}
h1 { font-size: clamp(48px, 5vw, 72px); }
h2 { font-size: clamp(40px, 4.1vw, 60px); }
h3 { font-size: clamp(23px, 2vw, 28px); }

.container { width: min(100% - (2 * var(--gutter)), var(--container)); margin-inline: auto; }
.section-pad { padding-block: var(--section-space); }
.section-muted { background-color: var(--muted); }
.section-lines { position: relative; isolation: isolate; overflow: hidden; }
.section-lines > .container { position: relative; z-index: 2; }
.decorative-page { position: relative; isolation: isolate; overflow: hidden; }
.decorative-page > section > .container { position: relative; z-index: 2; }
.decorative-art {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.decorative-art__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.decorative-art--home-page,
.decorative-art--about-page,
.decorative-art--approach-page,
.decorative-art--companies-page,
.decorative-art--team-page {
  left: 0;
  width: 100%;
  aspect-ratio: 1919.905 / 1051.069;
}
.decorative-art--home-page { top: 166px; }
.decorative-art--about-page { top: 410px; }
.decorative-art--approach-page { top: 315px; }
.decorative-art--companies-page,
.decorative-art--team-page { top: 137px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 8px; left: 8px;
  width: auto; height: auto;
  padding: 12px 18px;
  clip: auto;
  background: #fff;
  color: var(--ink);
}
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }

/* Header and navigation */
.site-header { position: relative; z-index: 100; height: 98px; background: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand__fallback { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 58px; height: 58px; object-fit: contain; }
.brand__words { display: flex; flex-direction: column; line-height: 1; text-transform: uppercase; }
.brand__words > span { font-family: var(--display-font); font-size: 29px; letter-spacing: .055em; }
.brand__words small { margin-top: 5px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-align: center; white-space: nowrap; }
.brand__uploaded-logo { width: auto; max-width: 245px; max-height: 70px; }
.primary-navigation { flex: 1; margin-left: clamp(40px, 8vw, 130px); }
.primary-menu { display: flex; align-items: center; justify-content: flex-end; gap: clamp(28px, 4.5vw, 66px); margin: 0; padding: 0; list-style: none; }
.primary-menu li { margin: 0; }
.primary-menu a { display: block; padding: 14px 2px; font-family: var(--display-font); font-size: 17px; text-decoration: none; text-transform: uppercase; }
.primary-menu > .current-menu-item:not(:last-child) > a,
.primary-menu > .current-menu-parent:not(:last-child) > a,
.primary-menu > .current-menu-ancestor:not(:last-child) > a,
.primary-menu > .current_page_item:not(:last-child) > a,
.primary-menu > .current_page_parent:not(:last-child) > a,
.primary-menu > .current_page_ancestor:not(:last-child) > a { color: var(--orange); }
.primary-menu > li:last-child { margin-left: auto; }
.primary-menu > li:last-child > a { min-width: 166px; padding: 13px 24px; color: #fff; background: var(--orange); font-weight: 700; text-align: center; }
.primary-menu > li:last-child > a:hover { background: #b9461e; }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 11px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

/* Shared elements */
.page-hero {
  min-height: 175px;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #314b48;
  background-image: linear-gradient(rgba(15,17,23,.44), rgba(15,17,23,.44)), var(--page-hero-image, linear-gradient(120deg, #284841, #4e6a4a));
  background-position: center;
  background-size: cover;
}
.page-hero.page-hero--featured { min-height: 400px; }
.page-hero h1 { margin: 0; color: #fff; font-size: clamp(34px, 3.5vw, 50px); }
.eyebrow, .card-label {
  margin-bottom: 18px;
  color: var(--orange);
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section-heading { max-width: 780px; }
.section-heading h2, .section-heading h3 { margin-bottom: 36px; }
.section-heading em { display: block; color: var(--blue); font-weight: 400; }
.prose { max-width: 760px; }
.prose--wide { max-width: 1120px; }
.prose > *:last-child { margin-bottom: 0; }
.prose p + p { margin-top: 24px; }
.lead { margin: 0 0 22px; font-family: var(--display-font); font-size: clamp(22px, 2.2vw, 28px); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button-row--center { justify-content: center; }
.button {
  display: inline-flex;
  min-width: 184px;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid currentColor;
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--solid { border-color: var(--orange); color: #fff; background: var(--orange); }
.button--solid:hover { border-color: #b9461e; color: #fff; background: #b9461e; }
.button--outline { color: var(--ink); background: transparent; }
.button--outline:hover { border-color: var(--blue); color: #fff; background: var(--blue); }
.button--light-outline { color: #fff; background: rgba(15,17,23,.1); }
.button--light-outline:hover { border-color: #fff; color: var(--ink); background: #fff; }

/* Home */
.home-hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #314b48;
  background-image: linear-gradient(90deg, rgba(15,17,23,.58), rgba(15,17,23,.17)), var(--home-hero-image, linear-gradient(125deg, #27473f, #68754b));
  background-position: center;
  background-size: cover;
}
.home-hero__inner { padding-block: 80px; }
.home-hero h1 { max-width: 800px; margin-bottom: 20px; font-size: clamp(55px, 5.8vw, 78px); }
.home-hero p { max-width: 735px; font-size: 18px; line-height: 1.45; }
.home-hero .button-row { margin-top: 68px; }
.home-belief { padding-block: clamp(90px, 11vw, 150px) clamp(110px, 15vw, 210px); }
.split-feature { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(60px, 8vw, 130px); align-items: center; }
.split-feature + .split-feature { margin-top: clamp(110px, 14vw, 200px); }
.split-feature--reverse { grid-template-columns: 1.18fr .82fr; }
.split-feature--no-art { grid-template-columns: 1fr; }
.split-feature--no-art .split-feature__content { max-width: 760px; }
.split-feature__art img { width: 100%; }
.split-feature__art--arrow { transform: translateX(-8%); }
.split-feature__art--map { max-width: 450px; justify-self: end; }
.split-feature__content .button { margin-top: 32px; }
.home-cta { padding-block: clamp(80px, 9vw, 130px); background: var(--muted); text-align: center; }
.home-cta__inner { max-width: 900px; }
.home-cta h2 { margin-bottom: 0; font-size: clamp(52px, 5.4vw, 74px); }

/* About */
.about-intro .section-heading h2 { margin-bottom: 28px; }
.about-model .section-heading { margin-bottom: 54px; }
.about-model .section-heading em,
.about-values .section-heading em { color: inherit; font-style: normal; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: var(--shadow); }
.model-card { position: relative; min-height: 320px; padding: 48px 34px; border-right: 1px solid var(--line); }
.model-card:last-child { border-right: 0; }
.model-card::before, .value-card::before, .support-card::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--blue); content: ""; }
.accent-1::before { background: var(--orange); }
.accent-2::before { background: var(--sand); }
.accent-3::before { background: var(--gold); }
.accent-4::before { background: var(--blue-bright); }
.model-card h3 { margin-bottom: 24px; }
.about-values .section-heading { margin-bottom: 34px; }
.values-intro { max-width: 650px; margin-bottom: 48px; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.value-card { position: relative; padding: 34px 22px 0; }
.value-card h3 { margin-bottom: 20px; font-size: 22px; line-height: 1.05; }
.value-card p { font-size: 14px; }

/* Approach */
.approach-intro .prose { margin-bottom: 54px; }
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.support-card { position: relative; min-height: 340px; padding: 42px 34px; border-right: 1px solid #fff; background: var(--muted); }
.support-card:last-child { border-right: 0; }
.support-card h3 { margin: 20px 0 26px; }
.support-card__icon { position: relative; display: block; width: 38px; height: 34px; }
.support-card__icon-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.investment-focus__heading { margin-bottom: 42px; }
.investment-focus__heading .section-heading h2 { margin-bottom: 0; }
.investment-focus__heading > p { max-width: 760px; margin: 24px 0 0; }
.criteria-grid { display: grid; grid-template-columns: 1fr 1fr; }
.criterion { display: grid; grid-template-columns: 28px 1fr; gap: 16px; min-height: 145px; padding: 28px 36px 28px 0; border-bottom: 1px solid var(--line); }
.criterion:nth-child(odd) { padding-right: 48px; }
.criterion:nth-child(even) { padding-left: 48px; border-left: 1px solid var(--line); }
.criterion__check { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: var(--orange); background: rgba(212,90,42,.12); font-weight: 700; }
.criterion h3 { margin: 1px 0 8px; font-family: var(--body-font); font-size: 16px; font-weight: 600; line-height: 1.3; }
.criterion p { margin: 0; font-size: 15px; }

/* Portfolio */
.portfolio-index > .container { width: min(100% - (2 * var(--gutter)), var(--container)); }
.portfolio-index .section-heading { margin-bottom: 63px; }
.portfolio-grid { display: grid; gap: 16px; }
.portfolio-card { display: grid; min-height: 380px; grid-template-columns: 1.2fr .8fr; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.portfolio-card--content-only { grid-template-columns: 1fr; }
.portfolio-card__content,
.portfolio-card__logo { min-height: 380px; }
.portfolio-card__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(27px, 2.5vw, 40px) clamp(54px, 5vw, 80px); }
.portfolio-card__content h2 { margin-bottom: 18px; }
.portfolio-card__sector, .portfolio-card__location { color: var(--blue); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.portfolio-card__description { max-width: 470px; }
.portfolio-card__description p:last-child { margin-bottom: 0; }
.portfolio-card .button { margin-top: 30px; }
.portfolio-card__location { margin-top: 28px; margin-bottom: 0; }
.portfolio-card__logo { display: grid; place-items: center; padding: 35px 70px; }
.portfolio-card__logo img { max-width: 72%; max-height: 240px; object-fit: contain; }

/* Team */
.team-index__intro { max-width: 1130px; margin-bottom: 64px; font-size: clamp(40px, 4.2vw, 58px); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; align-items: stretch; }
.team-card { display: flex; min-width: 0; flex-direction: column; background: #fff; box-shadow: var(--shadow); }
.team-card__photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--muted); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { flex: 1; padding: 38px 28px 52px; }
.team-card__body h2 { margin-bottom: 6px; font-size: 24px; }
.team-card__role { min-height: 2.5em; margin-bottom: 3px; color: var(--orange); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.team-card__links { display: flex; gap: 7px; margin-bottom: 25px; color: var(--blue); font-size: 10px; text-transform: uppercase; }
.team-card__bio { font-size: 15px; }
.team-card__bio p { margin-bottom: 22px; }

/* Connect */
.connect { padding-top: 100px; }
.connect__grid { width: min(100% - (2 * var(--gutter)), 1510px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(80px, 8vw, 156px); align-items: start; }
.connect__grid--single { grid-template-columns: 1fr; }
.connect__content .prose { margin-top: 36px; }
.contact-details { margin: 32px 0 0; }
.contact-details > div { padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact-details dt { margin-bottom: 8px; color: #9bb8c5; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.contact-details dd { margin: 0; }
.contact-details a { color: var(--blue); text-decoration: none; }
.connect__form { min-height: 725px; margin-top: 54px; padding: clamp(42px, 4vw, 70px); background: var(--muted); }
.connect__form > h2 { font-family: var(--body-font); font-size: 13px; font-weight: 500; }
.contact-form { margin-top: 20px; }
.contact-form__fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 12px; }
.contact-form__field { grid-column: span 12; }
.contact-form__field--half { grid-column: span 6; }
.contact-form__field label { display: block; margin-bottom: 5px; font-family: var(--display-font); font-size: 14px; font-weight: 400; }
.contact-form__required { padding-left: 4px; color: #c02b0a; font-size: 12px; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}
.contact-form textarea { min-height: 288px; resize: vertical; }
.contact-form input:user-invalid,
.contact-form textarea:user-invalid { border-color: #a61b1b; }
.contact-form__status { margin: 24px 0 0; font-size: 15px; }
.contact-form__status:empty { display: none; }
.contact-form__status.is-error { color: #831515; }
.contact-form__footer { margin-top: clamp(90px, 8vw, 160px); }
.contact-form__button {
  min-width: 160px;
  min-height: 45px;
  padding: 10px 26px;
  border: 1px solid var(--orange);
  border-radius: 0;
  color: #fff;
  background: var(--orange);
  font-family: var(--display-font);
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
}
.contact-form__button:hover { border-color: #b9461e; background: #b9461e; }
.contact-form__button:disabled { cursor: progress; opacity: .7; }
.contact-form__success h3 { margin: 28px 0 16px; }
.contact-form__success p { margin: 0; }

/* Footer */
.site-footer { padding-block: clamp(76px, 8vw, 115px); color: #fff; background: var(--navy); }
.site-footer__grid { display: grid; grid-template-columns: 2.1fr .75fr .85fr 1fr; gap: clamp(40px, 6vw, 90px); }
.brand--footer { color: #fff; }
.brand--footer .brand__mark { width: 72px; height: 72px; }
.brand--footer .brand__words > span { font-size: 36px; }
.site-footer__brand > p { max-width: 360px; margin: 32px 0 0; color: #9c9fa6; font-size: 14px; }
.site-footer__column h2 { margin: 10px 0 27px; color: #76a6ba; font-family: var(--body-font); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.site-footer__column p, .site-footer__column a { font-family: var(--display-font); font-size: 16px; }
.site-footer__column > a { display: block; text-decoration: none; }
.site-footer__column > a + .site-footer__download-link { margin-top: 2em; }
.site-footer__contact-link { width: max-content; margin-top: 4px; border-bottom: 1px solid #fff; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu a { text-decoration: none; text-transform: uppercase; }

@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .support-card:nth-child(2) { border-right: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .site-footer__grid { grid-template-columns: 1.7fr 1fr 1fr; }
  .site-footer__column:last-child { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  .site-header { height: 84px; }
  .brand__mark { width: 50px; height: 50px; }
  .brand__words > span { font-size: 26px; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] > span:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-of-type(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-navigation {
    position: fixed;
    z-index: -1;
    inset: 84px 0 0;
    visibility: hidden;
    margin: 0;
    padding: 34px var(--gutter);
    opacity: 0;
    background: #fff;
    transition: opacity .18s ease, visibility .18s ease;
  }
  .primary-navigation.is-open { z-index: 99; visibility: visible; opacity: 1; }
  .primary-menu { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-menu a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 30px; }
  .primary-menu > li:last-child { margin: 22px 0 0; }
  .primary-menu > li:last-child > a { border-bottom: 0; }
  .split-feature, .split-feature--reverse { grid-template-columns: 1fr; gap: 55px; }
  .split-feature--reverse .split-feature__content { order: 1; }
  .split-feature--reverse .split-feature__art { order: 2; }
  .split-feature__art { max-width: 610px; margin-inline: auto; }
  .model-grid { grid-template-columns: 1fr; }
  .model-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .model-card:last-child { border-bottom: 0; }
  .portfolio-card { grid-template-columns: 1fr; }
  .portfolio-card__content { order: 1; min-height: auto; }
  .portfolio-card__logo { order: 2; min-height: 260px; }
  .connect__grid { grid-template-columns: 1fr; }
  .connect__form { margin-top: 0; }
}

@media (max-width: 700px) {
  :root { --section-space: 72px; }
  body { font-size: 15px; }
  .connect { padding-top: var(--section-space); }
  .page-hero { min-height: 175px; }
  .page-hero.page-hero--featured { min-height: 400px; }
  .home-hero { min-height: calc(100svh - 84px); }
  .home-hero__inner { padding-block: 60px; }
  .home-hero h1 { font-size: clamp(46px, 14vw, 63px); }
  .home-hero p { font-size: 16px; }
  .home-hero .button-row { margin-top: 42px; }
  .button-row .button { width: 100%; }
  .decorative-art--home-page,
  .decorative-art--about-page,
  .decorative-art--approach-page,
  .decorative-art--companies-page,
  .decorative-art--team-page { width: 720px; }
  .decorative-art--home-page { top: 420px; left: -270px; }
  .decorative-art--about-page { top: 360px; left: -250px; }
  .decorative-art--approach-page { top: 470px; left: -260px; }
  .decorative-art--companies-page,
  .decorative-art--team-page { top: 180px; left: -250px; }
  .split-feature + .split-feature { margin-top: 100px; }
  .split-feature__art--arrow { transform: none; }
  .values-grid, .support-grid, .criteria-grid, .team-grid { grid-template-columns: 1fr; }
  .value-card { padding-inline: 10px; }
  .support-card { min-height: auto; border-right: 0; border-bottom: 1px solid #fff; }
  .criterion, .criterion:nth-child(odd), .criterion:nth-child(even) { min-height: auto; padding: 25px 0; border-left: 0; }
  .portfolio-card__content { padding: 24px 28px; }
  .portfolio-card__logo { min-height: 220px; padding: 24px 35px; }
  .team-index__intro { margin-bottom: 44px; }
  .team-card__body { padding: 30px 24px 42px; }
  .connect__form { min-height: 500px; padding: 34px 24px; }
  .contact-form__field--half { grid-column: span 12; }
  .contact-form__footer { margin-top: 38px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__column:last-child { grid-column: auto; }
  .site-footer__brand { margin-bottom: 20px; }
  .site-footer__column h2 { margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
