@font-face {
  font-family: "MB Montserrat";
  src: url("../fonts/Montserrat-Regular.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "MB Open Sans";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --page: #ddd8d5;
  --paper: #f4f1ef;
  --white: #ffffff;
  --ink: #22272a;
  --muted: #62686b;
  --navy: #203d63;
  --line: rgba(34, 39, 42, 0.16);
  --header: #252b30;
  --red: #8e2222;
  --blue: #2f619f;
  --green: #637b4e;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(43, 37, 34, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "MB Open Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 2000;
  padding: 10px 16px;
  background: #fff;
  color: #111;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(37, 43, 48, 0.97);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 7px 12px;
  background: var(--page);
  border-radius: 7px;
  color: #fff;
}

.brand-logo {
  width: auto;
  height: 58px;
}

.brand-mark {
  font-family: "MB Montserrat", Arial, sans-serif;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.brand-copy {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.brand-name, .brand-claim { display: block; }

.brand-name {
  font-family: "MB Montserrat", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
}

.brand-claim {
  margin-top: 3px;
  color: #bfc4c7;
  font-size: 9px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #fff;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link, .company-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: #f5f5f5;
  font-family: "MB Montserrat", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-link::after {
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 2px;
  background: #b45d52;
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: 180ms ease;
}

.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-divider {
  width: 1px;
  height: 28px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.26);
}

.company-menu { position: relative; }

.company-trigger::after {
  margin-left: 9px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  content: "";
  transform: translateY(2px);
}

.company-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 300px;
  margin: 0;
  padding: 8px;
  visibility: hidden;
  list-style: none;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-6px);
  transition: 160ms ease;
}

.company-menu:hover .company-dropdown,
.company-menu:focus-within .company-dropdown,
.company-menu.open .company-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.company-dropdown a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.company-dropdown a:hover, .company-dropdown a:focus-visible { background: var(--page); }
main { overflow: hidden; }

.section-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.home-hero { padding: 74px 0 84px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: stretch;
  min-height: 620px;
  overflow: hidden;
  background: var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-media { min-height: 540px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 88px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: "MB Montserrat", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "MB Montserrat", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.18;
}

h1 { margin-bottom: 18px; font-size: clamp(42px, 5.2vw, 76px); letter-spacing: -0.04em; }
h2 { margin-bottom: 22px; font-size: clamp(31px, 3.5vw, 49px); letter-spacing: -0.035em; }
h3 { margin-bottom: 14px; font-size: 23px; }

.lead {
  margin: 0 0 25px;
  color: var(--navy);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.4;
}

.hero-copy p:not(.eyebrow):not(.lead) { margin: 0 0 18px; }
.section { padding: 100px 0; }
.section-light { background: var(--paper); }
.section-white { background: #fff; }

.content-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(44px, 7vw, 90px);
}

.content-grid.reverse { grid-template-columns: 1.1fr 0.9fr; }
.content-grid.reverse .section-media { order: 2; }

.section-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(43, 37, 34, 0.12);
}

.section-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.section-copy p { margin: 0 0 18px; }

.text-link, .button-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--navy);
  font-family: "MB Montserrat", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.text-link::after, .button-link::after { content: "→"; transition: transform 160ms ease; }
.text-link:hover::after, .button-link:hover::after { transform: translateX(5px); }

.button-link {
  padding: 13px 20px;
  background: var(--header);
  color: #fff;
  border-radius: 8px;
}

.page-hero { padding: 80px 0 70px; }
.page-hero-inner { max-width: 950px; }
.page-hero h1 { max-width: 850px; }
.page-hero .intro { max-width: 860px; margin: 0; font-size: 20px; }
.editorial-copy { columns: 2; column-gap: 70px; }
.editorial-copy p { margin: 0 0 20px; break-inside: avoid; }

.wide-visual {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wide-visual img { width: 100%; }

.split-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 7vw, 100px);
}

.split-copy article { padding-top: 24px; border-top: 1px solid var(--line); }
.split-copy p { margin: 0 0 18px; }
.competence-visual { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.companies-head { max-width: 800px; margin-bottom: 48px; }

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

.company-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 15px 42px rgba(43, 37, 34, 0.11);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.company-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(43, 37, 34, 0.16); }
.company-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.company-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.company-card p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.company-card .text-link { margin-top: auto; }

.contact-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-summary-copy { padding: clamp(38px, 6vw, 76px); }
.contact-summary-media { min-height: 460px; }
.contact-summary-media img { width: 100%; height: 100%; object-fit: cover; }

.contact-list { margin: 28px 0 0; padding: 0; list-style: none; }

.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong { font-family: "MB Montserrat", Arial, sans-serif; font-size: 13px; }
.contact-list a { color: var(--navy); }

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

.direct-card {
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(43, 37, 34, 0.1);
}

.direct-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.direct-card-copy { padding: 28px; }
.direct-card p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

.legal-wrap { max-width: 960px; padding: 80px 0 100px; }
.legal-wrap h1 { margin-bottom: 38px; }
.legal-wrap h2 { margin-top: 64px; font-size: 32px; }
.legal-wrap h3 { margin-top: 38px; font-size: 21px; }
.legal-wrap p { margin: 0 0 18px; }
.site-footer { background: var(--header); color: #e9eaeb; }

.footer-grid {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 44px;
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1.25fr 0.72fr;
  gap: 48px;
}

.footer-brand .brand-mark { display: block; margin-bottom: 13px; font-size: 36px; }
.footer-logo {
  width: 184px;
  height: auto;
  margin-bottom: 14px;
  padding: 9px 12px;
  background: var(--page);
  border-radius: 7px;
}
.footer-brand p { margin: 0; color: #afb4b7; font-size: 13px; }
.footer-heading { margin: 0 0 14px; color: #fff; font-family: "MB Montserrat", Arial, sans-serif; font-size: 13px; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #c7cbcd; font-size: 13px; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8f969a;
  font-size: 12px;
}

.cookie-note {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: none;
  width: min(440px, calc(100% - 40px));
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-note.show { display: block; }
.cookie-note p { margin: 0 0 12px; }
.cookie-note a { color: var(--navy); text-decoration: underline; }

.cookie-close {
  padding: 8px 13px;
  border: 0;
  background: var(--header);
  color: #fff;
  border-radius: 7px;
  cursor: pointer;
}

@media (max-width: 1040px) {
  .brand-claim, .nav-divider { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 48px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-header {
    background: #252b30;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header-inner, .section-shell, .footer-grid, .footer-bottom, .wide-visual { width: min(100% - 32px, 1240px); }
  .menu-toggle { display: block; }

  .site-nav {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: auto;
    left: 0;
    display: block;
    width: 100%;
    height: calc(100dvh - 82px);
    min-height: calc(100vh - 82px);
    visibility: hidden;
    overflow-y: auto;
    padding: 24px;
    background: #252b30 !important;
    background-image: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 18px 35px rgba(34, 39, 42, 0.18);
    opacity: 0;
    transform: translateY(-10px);
    transition: 180ms ease;
  }

  .site-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-list { display: block; }

  .site-nav,
  .site-nav .nav-link,
  .site-nav .company-trigger,
  .site-nav .company-dropdown a {
    color: #ffffff !important;
    font-weight: 600;
    opacity: 1 !important;
  }

  .nav-link, .company-trigger {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid #50575c;
    font-size: 14px;
  }

  .nav-link::after { display: none; }

  .company-dropdown {
    position: static;
    display: none;
    visibility: visible;
    width: 100%;
    padding: 8px 0 14px 14px;
    background: #30373d !important;
    color: #ffffff !important;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .company-menu.open .company-dropdown { display: block; }
  .company-dropdown a:hover, .company-dropdown a:focus-visible { background: #3b444b; }
  .home-hero { padding: 32px 0 56px; }
  .hero-grid, .content-grid, .content-grid.reverse, .contact-summary { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-media { min-height: 430px; }
  .content-grid.reverse .section-media { order: 0; }
  .section { padding: 72px 0; }
  .editorial-copy { columns: 1; }
  .company-grid, .direct-grid { grid-template-columns: 1fr; }
  .company-card, .direct-card { display: grid; grid-template-columns: 0.8fr 1.2fr; }
  .company-card img, .direct-card img { height: 100%; aspect-ratio: auto; }
  .contact-summary-media { min-height: 340px; }
}

@media (max-width: 620px) {
  .header-inner { min-height: 72px; }
  .site-nav {
    top: 72px;
    height: calc(100dvh - 72px);
    min-height: calc(100vh - 72px);
  }
  .brand { padding: 6px 10px; }
  .brand-logo { height: 42px; }
  .hero-media { min-height: 300px; }
  .hero-copy { padding: 34px 26px 40px; }
  h1 { font-size: 40px; }
  h2 { font-size: 31px; }
  .page-hero { padding: 55px 0 48px; }
  .split-copy, .footer-grid { grid-template-columns: 1fr; }
  .wide-visual { width: 100%; border-radius: 0; }
  .company-card, .direct-card { display: block; }
  .company-card img, .direct-card img { height: auto; aspect-ratio: 3 / 2; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .contact-summary-copy { padding: 34px 26px; }
  .footer-grid { gap: 28px; padding-top: 48px; }
}

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