:root {
  --color-sage: #9bb7a4;
  --color-mist: #e3eeef;
  --color-ink: #000000;
  --color-contact: #4f695b;
  --color-white: #ffffff;
  --page-max: 4900px;
  --gutter: clamp(1.5rem, 4.2vw, 3.375rem);
  --font-system: Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f6f7f4;
  color: var(--color-ink);
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

svg{
  pointer-events: none;
}

.page-shell {
  width: min(100%, var(--page-max));
  height:100vh;
  margin-inline: auto;
  background: var(--color-white);
}

main{
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: stretch;
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 3.5rem;
  left: var(--gutter);
  right: clamp(1.5rem, 3.7vw, 2.875rem);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--color-white);
  font-size: clamp(2rem, 3vw, 2.375rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.0625rem;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.button img{
  width:187px;
  height:auto;
  display:block;

}

.button--light {
  background: var(--color-white);
  color: #2b2e34;
}

.hero {
  position: relative;
  min-height: clamp(32rem, 47.6vw, 38.0625rem);
  height:100%;
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center 45%;
}

.hero__overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.02));
}

.hero__content {
  min-height: inherit;
  display: flex;
  height:100%;
  align-items: flex-end;
  padding: 9rem var(--gutter) 3.5rem;
}

h1,
h2,
p {
  margin: 0;
}

.hero h1 {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(3.1rem, 4.55vw, 3.625rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(15.875rem, auto) minmax(13.25rem, auto);
}

.services {
  grid-row: 1 / span 2;
  min-height: 29.1875rem;
  padding: 3.5rem var(--gutter) 3.5rem;
  background: var(--color-sage);
  color: var(--color-white);
}

.services img{
  width:calc(50vw - 50px);
  max-width:530px;
  height:auto;
  display:block;
}

.service-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(3.2rem, 4.55vw, 3.625rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.service-list li,
.service-list span {
  display: block;
}

.intro {
  min-height: 15.875rem;
  display: flex;
  align-items: flex-start;
  background: var(--color-mist);
  padding: 3.5rem clamp(2rem, 4.3vw, 3.65rem) 3.5rem;
}

.intro__copy {
  width: calc(100% - 20px);
  max-width:620px;
  font-size: clamp(1.0625rem, 1.4vw, 1.125rem);
  line-height: 1.4;
}

.intro__copy p + p {
  margin-top: 1.35rem;
}

.contact {
  min-height: 13.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: var(--color-white);
  padding: 3.5rem clamp(2rem, 3.6vw, 2.875rem) 3.5rem;
  color: var(--color-contact);
  text-align: right;
}

.contact__inner {
  width: calc(100% - 20px);
  max-width:620px;
  font-size: clamp(1.0625rem, 1.4vw, 1.125rem);
  line-height: 1.4;
}

.contact h2,
.contact__email {
  font-size: inherit;
  font-weight: 800;
}

.contact address {
  margin-top: 1.45rem;
  font-style: normal;
}

.contact a[href^="tel"] {
  font-weight: 400;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hero__content img{
  width:calc(50vw - 50px);
  max-width:530px;
  height:auto;
  display:block;
}

@media (max-width: 767px) {
  :root {
    --gutter: clamp(1.25rem, 6vw, 2rem);
  }

  .page-shell {
    width: 100%;
  }

  .site-header {
    top: 1.6rem;
    left: var(--gutter);
    right: var(--gutter);
    align-items: flex-start;
  }

  .brand {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .button {
    min-height: 2rem;
    padding: 0.55rem 0.65rem 0.45rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 78vh;
  }

  .hero__image {
    object-position: 48% center;
  }

  .hero__content {
    padding: 7.5rem var(--gutter) 2.5rem;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.45rem, 12.5vw, 4rem);
    line-height: 1.08;
  }

  .content-grid {
    display: block;
  }

  .services,
  .intro,
  .contact {
    min-height: auto;
    padding: 2.35rem var(--gutter);
  }

  .service-list {
    font-size: clamp(2.65rem, 12vw, 3.7rem);
    line-height: 1.07;
  }

  .intro__copy,
  .contact__inner {
    max-width: none;
    font-size: 1.06rem;
    line-height: 1.35;
  }

  .contact {
    justify-content: flex-start;
    text-align: left;
  }

  .services img,
  .hero__content img{
    width:calc(100% - 50px);
  }

}

@media (max-width: 420px) {
  .site-header {
    gap: 1rem;
  }

  .button {
    max-width: 8.5rem;
    text-align: center;
  }
}
