:root {
  --navy: #3e5370;
  --blue: #3e5370;
  --steel: #646a77;
  --mid: #79797b;
  --mist: #c6c5c5;
  --bone: #f7f7f6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.site-header {
  display: grid;
  grid-template-columns: 156px 1fr;
  align-items: center;
  min-height: 96px;
  border-bottom: 1px solid rgba(62, 83, 112, 0.18);
  background: var(--bone);
}

.brand {
  padding-left: clamp(18px, 4vw, 54px);
}

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

nav {
  justify-self: end;
  display: flex;
  gap: 4px;
  padding-right: clamp(18px, 4vw, 54px);
}

nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--steel);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--navy);
  border-color: var(--blue);
}

main {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
  padding: 64px 0 78px;
}

.hero-mark {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(62, 83, 112, 0.24);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(62, 83, 112, 0.15);
  font-size: clamp(3.2rem, 9vw, 8.5rem);
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
}

.hero-mark::before,
.hero-mark::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 999px;
  border: 24px solid rgba(62, 83, 112, 0.08);
}

.hero-mark::after {
  inset: 34%;
  border-width: 1px;
  border-color: rgba(62, 83, 112, 0.28);
}

.eyebrow,
.role {
  margin: 0 0 14px;
  text-transform: uppercase;
  color: var(--mid);
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  color: var(--steel);
  font-size: clamp(1.12rem, 2.1vw, 1.45rem);
  line-height: 1.52;
}

.button {
  margin-top: 26px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.section {
  padding: 82px 0;
  border-top: 1px solid rgba(62, 83, 112, 0.16);
}

.manifesto p {
  width: min(900px, 100%);
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.98;
  color: var(--blue);
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-grid article {
  padding: 32px;
  border-right: 1px solid rgba(62, 83, 112, 0.16);
}

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

.service-grid h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.service-grid p {
  color: var(--steel);
  line-height: 1.6;
}

.contact-intro {
  padding: 82px 0 42px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-bottom: 92px;
}

.contact-list article {
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(62, 83, 112, 0.14);
}

.contact-list img {
  width: 100%;
  height: clamp(420px, 48vw, 620px);
  object-fit: cover;
  object-position: center top;
  display: block;
}

.contact-list article div {
  padding: 28px 0 4px;
}

.contact-list h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
}

.contact-list a {
  display: block;
  color: var(--blue);
  margin-top: 8px;
  overflow-wrap: anywhere;
}

footer {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(62, 83, 112, 0.16);
  color: var(--steel);
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .service-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .brand {
    padding: 18px 18px 4px;
  }

  nav {
    justify-self: start;
    padding: 0 18px 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-mark {
    max-width: 420px;
    margin: 0 auto;
  }

  .service-grid article {
    border-right: 0;
    border-top: 1px solid rgba(62, 83, 112, 0.16);
  }
}
