:root {
  --ink: #17201d;
  --muted: #5e6864;
  --paper: #ffffff;
  --soft: #f2f5f3;
  --line: #d9dfdc;
  --green: #187354;
  --green-dark: #0e4937;
  --coral: #e66b4d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  height: 76px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}

.site-nav a {
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: #fff;
}

.hero {
  position: relative;
  display: flex;
  height: calc(100svh - 96px);
  min-height: 560px;
  max-height: 700px;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #1c2a25;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 45%;
}

.hero-shade {
  background: rgba(12, 24, 20, 0.68);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 72px;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  color: #b7e2d2;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: 52px;
  font-weight: 720;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  margin: 22px 0 0;
  font-size: 21px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
}

.button-primary {
  border-color: var(--coral);
  background: var(--coral);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: #f08367;
  background: #f08367;
}

.button-quiet:hover,
.button-quiet:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 108px 0;
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 96px;
  align-items: start;
}

.section-heading h2,
.principles h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.28;
  letter-spacing: 0;
}

.about-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 74px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  padding: 24px 34px;
  border-right: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  font-size: 25px;
  line-height: 1.3;
}

.fact span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.services {
  background: var(--soft);
}

.services-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  column-gap: 96px;
}

.services-heading .eyebrow {
  grid-column: 1 / -1;
}

.services-heading p:last-child {
  margin: 0;
  align-self: end;
  color: var(--muted);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid #cbd3cf;
  border-bottom: 1px solid #cbd3cf;
}

.service-list article {
  min-width: 0;
  padding: 30px 26px 38px;
  border-right: 1px solid #cbd3cf;
}

.service-list article:first-child {
  padding-left: 0;
}

.service-list article:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-list span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.service-list h3 {
  margin: 28px 0 12px;
  font-size: 19px;
  line-height: 1.35;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.principles {
  color: #fff;
  background: var(--ink);
}

.principles-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 90px;
  align-items: end;
}

.eyebrow-light {
  color: #8ac7b0;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.principle-list div {
  display: flex;
  min-height: 128px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px 0 0;
}

.principle-list strong {
  color: #fff;
  font-size: 21px;
}

.principle-list span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.contact {
  padding-bottom: 86px;
}

.contact address {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-style: normal;
}

.contact address span {
  color: var(--muted);
  font-size: 14px;
}

.contact address strong {
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.55;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-layout {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

@media (max-width: 860px) {
  .site-nav {
    gap: 18px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: 42px;
  }

  .about-layout,
  .contact-layout,
  .services-heading,
  .principles-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-list article:nth-child(2) {
    border-right: 0;
  }

  .service-list article:nth-child(3),
  .service-list article:nth-child(4) {
    border-top: 1px solid #cbd3cf;
  }

  .service-list article:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  .shell,
  .site-header {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    height: 66px;
  }

  .brand-name {
    max-width: 150px;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .hero {
    height: calc(100svh - 72px);
    min-height: 540px;
    max-height: 640px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.25;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading h2,
  .principles h2 {
    font-size: 30px;
  }

  .fact-row,
  .service-list,
  .principle-list {
    grid-template-columns: 1fr;
  }

  .fact-row {
    margin-top: 54px;
  }

  .fact,
  .fact:first-child {
    min-height: 100px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .service-list article,
  .service-list article:first-child,
  .service-list article:nth-child(3),
  .service-list article:last-child {
    padding: 28px 0 32px;
    border-top: 1px solid #cbd3cf;
    border-right: 0;
  }

  .service-list article:first-child {
    border-top: 0;
  }

  .principle-list div {
    min-height: 96px;
  }

  .footer-layout {
    min-height: 96px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }
}

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