:root {
  color-scheme: light;
  --surface: #ffffff;
  --mist: #f6f8f3;
  --sage: #edf4ec;
  --forest: #14372a;
  --ink: #172c23;
  --green: #136743;
  --muted: #4d6055;
  --line: #dce6db;
  --gold: #b77f1c;
  --display: 'Newsreader', Georgia, serif;
  --text: 'DM Sans', system-ui, sans-serif;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}

h1,
h2,
p,
ul,
dl,
dd {
  margin: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.037em;
}

h2 {
  font-size: clamp(2.3rem, 3.85vw, 3.25rem);
  line-height: 1.04;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

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

section[id],
main[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}

.shell {
  width: min(1264px, calc(100% - 2 * clamp(22px, 5.55vw, 80px)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 10px;
  left: 10px;
  translate: 0 -150%;
  border-radius: 6px;
  background: var(--forest);
  color: white;
  padding: 12px 16px;
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 4vw, 64px);
}

.brand {
  flex: 0 0 auto;
  display: block;
  width: 176px;
}

.site-nav {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.menu-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px clamp(18px, 3.2vw, 48px);
  padding: 0;
  list-style: none;
}

.menu-list a {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}

.menu-list a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: .35em;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 21px;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}

.button-outline {
  border-color: #b7cdbd;
  color: var(--forest);
}

.button-outline:hover {
  border-color: #8aae95;
  background: var(--sage);
}

.button-primary {
  min-height: 51px;
  padding-inline: 24px;
  background: var(--green);
  color: white;
}

.button-primary:hover {
  background: var(--forest);
}

.menu-toggle {
  display: none;
}

.hero {
  overflow: hidden;
  background: var(--mist);
  padding-block: clamp(52px, 5.2vw, 74px) clamp(57px, 5.5vw, 79px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
}

.hero-copy::before {
  display: block;
  width: 43px;
  height: 3px;
  margin-bottom: 25px;
  background: var(--gold);
  content: '';
}

.hero h1 {
  font-size: clamp(2.75rem, 5.05vw, 4.625rem);
  line-height: 1.015;
}

.hero h1 em {
  display: block;
  color: var(--green);
  font-weight: inherit;
}

.hero-copy p {
  max-width: 42ch;
  text-wrap: pretty;
  margin-block: 19px 28px;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
}

.hero-frame {
  position: relative;
  isolation: isolate;
  margin-right: 13px;
  border-radius: 10px clamp(36px, 5.8vw, 86px) 10px 10px;
  background: #dae6dc;
}

.hero-frame::before {
  position: absolute;
  z-index: -1;
  inset: 13px -13px -13px 13px;
  border: 1px solid #8da491;
  border-radius: inherit;
  content: '';
}

.hero-frame picture {
  display: block;
  overflow: hidden;
  border-radius: inherit;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
  object-position: center 53%;
}

.services {
  padding-block: clamp(42px, 5.5vw, 76px);
}

.services-inner {
  display: grid;
  grid-template-columns: 1fr 2.35fr;
  align-items: center;
  gap: clamp(28px, 4.5vw, 70px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 16px 19px;
  font-size: clamp(1.0625rem, 1.45vw, 1.25rem);
  font-weight: 650;
  line-height: 1.25;
}

.service-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #e6f0e7;
  color: var(--green);
}

.service-icon svg,
.contact-row svg {
  display: block;
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55px;
}

.company-band {
  background: linear-gradient(90deg, var(--sage) 50%, var(--forest) 50%);
}

.company-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about,
.contact {
  padding-block: clamp(45px, 6vw, 84px);
}

.about {
  padding-right: clamp(24px, 5vw, 80px);
}

.company-name {
  max-width: 28ch;
  text-wrap: pretty;
  margin-top: 19px;
  font-size: clamp(1.25rem, 1.8vw, 1.5625rem);
  font-weight: 500;
  line-height: 1.4;
}

.company-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  color: var(--muted);
  font-weight: 650;
}

.company-person::before {
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
  content: '';
}

.contact {
  padding-left: clamp(32px, 5.55vw, 82px);
  color: #f9fcf8;
}

.contact-list {
  margin-top: 13px;
}

.contact-row {
  display: grid;
  grid-template-columns: 103px minmax(0, 1fr);
  align-items: baseline;
  gap: 15px;
  padding-block: 13px;
}

.contact-row + .contact-row {
  border-top: 1px solid #436154;
}

.contact-row:last-child {
  padding-bottom: 0;
}

.contact-row dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cee2d3;
  font-size: .9375rem;
  font-weight: 650;
}

.contact-row svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: #b3d8be;
}

.contact-row dd {
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}

.contact-row address {
  font-style: normal;
}

.contact-row a {
  text-decoration-color: transparent;
  text-underline-offset: .22em;
}

.contact-row a:hover {
  text-decoration-color: currentColor;
}

.contact-row a:focus-visible {
  outline-color: #eac67e;
}

.contact-row .map-link {
  display: inline-block;
  margin-top: 6px;
  color: #d7eadb;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration-color: currentColor;
}

.footer-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  width: 129px;
}

.footer-inner p {
  color: var(--muted);
  font-size: .875rem;
}

@media (max-width: 880px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    padding-block: 11px;
  }

  .brand {
    width: 150px;
  }

  .site-nav {
    flex: 0 0 100%;
    align-items: start;
    gap: 12px;
    padding-block: 12px 0;
  }

  .menu-list {
    justify-content: start;
  }

  .menu-ready .menu-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px 11px;
    background: var(--surface);
    color: var(--forest);
    font-size: .9375rem;
    font-weight: 650;
    cursor: pointer;
  }

  .menu-icon {
    display: block;
    width: 16px;
    height: 10px;
    border-block: 1.5px solid currentColor;
  }

  .menu-ready .site-nav {
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 14px 16px;
    box-shadow: 0 10px 24px #183c2520;
  }

  .menu-ready .menu-toggle[aria-expanded='true'] + .site-nav {
    display: grid;
  }

  .services-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand {
    width: 124px;
  }
}

@media (max-width: 780px) {
  .hero {
    padding-block: 44px 45px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy::before {
    margin-bottom: 19px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 4.1rem);
  }

  .hero-copy p {
    margin-block: 13px 22px;
  }

  .hero-frame {
    margin-right: 8px;
  }

  .hero-frame::before {
    inset: 8px -8px -8px 8px;
  }

  .hero-frame img {
    aspect-ratio: 1.42;
  }

  .company-band {
    background: var(--sage);
  }

  .company-inner {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .about,
  .contact {
    padding-inline: clamp(22px, 5.55vw, 80px);
  }

  .contact {
    background: var(--forest);
  }
}

@media (max-width: 480px) {
  .menu-ready .site-nav,
  .site-nav {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .menu-list {
    flex-direction: column;
    align-items: start;
    gap: 0;
  }

  .menu-ready .site-nav .button {
    width: 100%;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-list li {
    min-height: 68px;
    gap: 13px;
    padding: 12px 14px;
  }

  .service-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .contact-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
  }

  .contact-row dd {
    font-size: 1rem;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 9px 18px;
    padding-block: 17px;
  }
}

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

  .button {
    transition: none;
  }
}
