@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap");

:root {
  --ink: #142e37;
  --paper: #f7f6f1;
  --lime: #d5ef75;
  --muted: #59696c;
  --line: #d7dcd5;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #b0c949;
  outline-offset: 5px;
}

.wrap {
  width: min(1280px, calc(100% - 112px));
  margin: auto;
}

header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.brand img {
  display: block;
  width: 204px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 550;
}

.nav-contact {
  border-bottom: 1px solid var(--ink);
  padding: 13px 0;
  margin-left: 10px;
}

.nav-contact span { margin-left: 30px; }

.menu { display: none; }

.lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.8px;
  cursor: pointer;
  line-height: 1;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.lang-switch button:hover:not([aria-pressed="true"]) {
  color: var(--ink);
}

.lang-switch-header { display: none; }
.lang-switch-nav { margin-left: 4px; }

.hero {
  position: relative;
  min-height: 650px;
  height: calc(100svh - 96px);
  max-height: 880px;
  isolation: isolate;
  color: white;
  background: var(--ink);
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
  z-index: -2;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 30, 36, 0.83), rgba(10, 30, 36, 0.15)),
    linear-gradient(0deg, rgba(10, 30, 36, 0.5), transparent 35%);
  z-index: -1;
}

.hero-content {
  padding: 90px 7% 120px;
  max-width: 1100px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  line-height: 1.8;
  margin: 0 0 27px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  margin-right: 10px;
}

h1 {
  font-size: clamp(62px, 6.5vw, 100px);
  letter-spacing: -5px;
  font-weight: 450;
  line-height: 1.04;
  margin: 0 0 27px;
}

p {
  font-size: 16px;
  line-height: 1.75;
}

.hero-description {
  font-size: 18px;
  color: #f1f1e8;
  margin-bottom: 33px;
}

.actions { display: flex; gap: 12px; }

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding: 19px 24px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s;
}

.button:hover { transform: translateY(-2px); }
.button span { font-size: 19px; }

.lime { background: var(--lime); color: var(--ink); }

.glass {
  background: #ffffff10;
  border: 1px solid #ffffff80;
  color: white;
}

.hero-bottom {
  position: absolute;
  bottom: 29px;
  left: 7%;
  right: 7%;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.6px;
  align-items: center;
}

.hero-bottom a { letter-spacing: 0.2px; font-size: 12px; }
.hero-bottom a span { margin-left: 25px; font-size: 22px; }

.credentials {
  display: flex;
  align-items: center;
  padding: 29px 56px;
  border-bottom: 1px solid var(--line);
  gap: 55px;
}

.credentials > p {
  font-size: 12px;
  line-height: 1.7;
  min-width: 200px;
}

.credentials > div {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  gap: 30px;
}

.credentials > div > span {
  font-size: 20px;
  font-weight: 600;
}

.credentials small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  margin-top: 5px;
}

.intro { padding: 100px 0 80px; }
.dark { color: #5f724f; }

.intro > div {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 100px;
  align-items: end;
}

h2 {
  font-size: clamp(34px, 3.4vw, 52px);
  letter-spacing: -2px;
  line-height: 1.12;
  font-weight: 450;
  margin: 0;
}

.intro p:last-child {
  color: var(--muted);
  max-width: 430px;
  margin: 0;
}

.service {
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  gap: 80px;
  padding-bottom: 110px;
  align-items: center;
}

.service-photo { height: 570px; position: relative; }

.service-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  bottom: 20px;
  left: 22px;
  background: var(--paper);
  padding: 11px 15px;
  font-size: 9px;
  letter-spacing: 1px;
}

.service-copy > p:not(.eyebrow) {
  color: var(--muted);
  margin: 25px 0;
}

.lines {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.lines li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

.text-link {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  gap: 40px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 9px;
}

.bess {
  background: var(--ink);
  color: var(--paper);
  padding: 85px 0 65px;
}

.bess-top {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 70px;
  padding-bottom: 50px;
}

.bess-top > .eyebrow { color: #b7cc90; }

.bess-top > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  align-items: start;
}

.bess-top p:not(.eyebrow) {
  color: #c5d0cf;
  font-size: 14px;
  margin: 0;
}

.bess-top .button {
  grid-column: 2;
  justify-self: start;
  padding: 16px 20px;
  gap: 25px;
}

.bess-picture {
  position: relative;
  height: 430px;
}

.bess-picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 77%;
}

.picture-label {
  position: absolute;
  bottom: 25px;
  left: 30px;
  font-size: 58px;
  letter-spacing: -2px;
  text-shadow: 0 2px 15px #142e37;
}

.picture-label span {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
}

.bess-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 45px;
}

.bess-services > div {
  border-top: 1px solid #ffffff40;
  padding-top: 18px;
}

.number { font-size: 11px; color: var(--lime); }

h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.7px;
  margin: 12px 0;
}

.bess-services p {
  font-size: 14px;
  color: #c5d0cf;
  max-width: none;
}

.assurance {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 70px;
  border-bottom: 1px solid var(--line);
}

.assurance > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 40px;
}

.assurance p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tags span {
  padding: 10px 15px;
  border: 1px solid #bfc9b9;
  font-size: 11px;
}

.team { padding: 100px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 45px;
}

.section-head > p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.section-head h2 { font-size: 42px; }

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e3e5dc;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.people .role {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #617355;
  margin: 23px 0 9px;
}

.people h3 { margin: 0; font-size: 25px; }

.people article > p:not(.role) {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 20px;
}

.people article > a {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 14px 0 0;
}

.people article > a.phone {
  border: 0;
  font-size: 12px;
  padding-top: 7px;
  color: var(--muted);
}

.contact { background: #e2e9d5; padding: 80px 0; }

.contact .wrap > div {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
}

.contact h2 {
  font-size: 66px;
  letter-spacing: -3px;
}

.contact-copy p {
  margin: 0 0 25px;
  color: #41564e;
}

.navy {
  background: var(--ink);
  color: var(--paper);
  min-width: 220px;
}

.contact-copy p.contact-phone {
  font-size: 12px;
  margin-top: 18px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 140px;
  gap: 25px;
}

footer p,
footer address,
footer > span {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

footer address { font-style: normal; }
footer .brand img { width: 180px; }

.linkedin {
  padding: 80px 0 95px;
  border-top: 1px solid var(--line);
}

.linkedin .section-head { margin-bottom: 15px; }

.news-intro {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 35px;
}

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

.news-card {
  padding: 28px;
  background: #edf0e8;
  display: flex;
  flex-direction: column;
  border-top: 3px solid #829957;
}

.news-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.news-brand img { width: 135px; height: auto; }

.linkedin-mark {
  background: #0a66c2;
  color: white;
  font: bold 17px Arial, sans-serif;
  padding: 2px 4px;
  border-radius: 2px;
}

.news-topic {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #5f724f;
  margin: 0 0 12px;
}

.news-card h3 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 15px;
}

.news-card > p:not(.news-topic) {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 28px;
}

.news-card > a {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #c9d2c4;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 550;
}

@media (min-width: 1600px) {
  .hero-content { padding-left: calc((100vw - 1280px) / 2); }
  .hero-bottom {
    left: calc((100vw - 1280px) / 2);
    right: calc((100vw - 1280px) / 2);
  }
}

@media (max-width: 1050px) {
  header { padding: 0 30px; }
  nav { gap: 18px; }
  .nav-contact { margin-left: 0; }
  .wrap { width: calc(100% - 60px); }
  .credentials { padding: 25px 30px; gap: 25px; }
  .credentials > p { min-width: 155px; }
  .credentials > div > span { font-size: 16px; }
  .credentials > div { gap: 20px; }
  .intro > div { gap: 40px; }
  .service { gap: 40px; }
  .service-photo { height: 520px; }
  .bess-top,
  .assurance { grid-template-columns: 1fr; gap: 15px; }
  .bess-top > div,
  .assurance > div { gap: 25px; }
  .section-head h2 { font-size: 34px; }
  .contact h2 { font-size: 56px; }
  .hero-content { padding-top: 100px; }
  h1 { font-size: 80px; }
  .people h3 { font-size: 21px; }
  .news-card { padding: 22px; }
  .news-card h3 { font-size: 23px; }
  .bess-services { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 20px; }

  header {
    height: 80px;
    padding: 0 22px;
    position: relative;
    z-index: 10;
  }

  .brand img { width: 175px; }

  .lang-switch-header { display: inline-flex; }

  .menu {
    display: block;
    border: 0;
    background: none;
    padding: 12px 0;
    margin-left: 12px;
    color: var(--ink);
    font-size: 13px;
  }

  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px 24px 30px;
    box-shadow: 0 20px 25px #142e3718;
  }

  nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  nav a { padding: 12px 0; }

  .nav-contact { display: flex; justify-content: space-between; }

  .lang-switch-nav {
    margin: 14px 0 0;
    align-self: flex-start;
  }

  .wrap { width: calc(100% - 44px); }

  .hero {
    min-height: 650px;
    height: calc(100svh - 80px);
    max-height: 850px;
  }

  .hero-content { padding: 85px 24px 100px; }

  h1 {
    font-size: clamp(46px, 10.6vw, 72px);
    letter-spacing: -2.6px;
  }

  .hero-description {
    font-size: 15px;
    margin-bottom: 26px;
  }

  .hero-description br { display: none; }
  br.desktop-br { display: none; }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
  }

  .actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .button {
    padding: 16px 20px;
    min-height: 55px;
    font-size: 12px;
    gap: 25px;
  }

  .actions .button { min-width: 270px; }

  .hero-bottom {
    left: 24px;
    right: 24px;
    bottom: 20px;
  }

  .hero-bottom > span { display: none; }

  .hero-bottom a {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .credentials { display: block; padding: 24px 22px; }
  .credentials > p { font-size: 12px; margin: 0 0 22px; }
  .credentials > p br { display: none; }
  .credentials > p strong { margin-left: 5px; }

  .credentials > div {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 22px 30px;
  }

  .credentials > div > span { font-size: 16px; }
  .credentials small { font-size: 9px; }

  .intro { padding: 60px 0 35px; }
  .intro > div { display: block; }

  h2 { font-size: 36px; letter-spacing: -1.6px; }

  .intro p:last-child { margin-top: 22px; font-size: 15px; }

  .service {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 60px;
    align-items: stretch;
  }

  .service-photo { height: 330px; }
  .service-copy > p:not(.eyebrow) { font-size: 15px; }

  .bess { padding: 55px 0 35px; }
  .bess-top > div,
  .assurance > div { display: block; }
  .bess-top p:not(.eyebrow) { margin: 22px 0; }

  .bess-picture { height: 300px; width: 100%; }
  .bess-picture img { object-position: 60% 75%; }

  .picture-label { font-size: 44px; left: 22px; }
  .picture-label span { font-size: 8px; }

  .bess-services {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .bess-services p { max-width: none; }

  .assurance { padding: 60px 0; gap: 10px; }
  .assurance p:not(.eyebrow) { margin-top: 22px; }
  .tags { margin-top: 25px; }
  .tags span { font-size: 10px; padding: 9px 12px; }

  .team { padding: 60px 0; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head h2 { font-size: 35px; }
  .section-head > p { margin-top: 20px; }

  .people { grid-template-columns: 1fr; gap: 40px; }
  .people h3 { font-size: 26px; }

  .contact { padding: 55px 0; }
  .contact .wrap > div { display: block; }
  .contact h2 { font-size: 49px; letter-spacing: -2px; }
  .contact-copy { margin-top: 28px; }

  footer {
    flex-wrap: wrap;
    padding: 35px 0;
    gap: 12px;
  }

  footer .brand,
  footer p,
  footer address { width: 100%; }

  .hero-img { object-position: 57% center; }

  .linkedin { padding: 55px 0; }
  .linkedin .section-head .text-link { margin-top: 25px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { padding: 25px; }
}

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