:root {
  --slate-blue: #2E4A6B;
  --slate-blue-dark: #243D59;
  --warm-sand: #C8A96E;
  --cool-white: #F7F6F4;
  --light-gray: #EEECE8;
  --mid-gray: #C9C7C1;
  --text-gray: #6B6860;
  --ink: #1C1C1A;
  --white: #FFFFFF;
  --font-serif: "Lora", Georgia, serif;
  --font-sans: "DM Sans", Arial, sans-serif;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cool-white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 246, 244, 0.96);
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--light-gray);
  box-shadow: 0 1px 0 rgba(28, 28, 26, 0.03);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: inline-grid;
  gap: 7px;
  flex: 0 0 auto;
  color: #14263A;
  line-height: 1;
  text-transform: uppercase;
}

.nav-logo__small {
  font-family: "Avenir Next", Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.397em;
}

.nav-logo__name {
  font-family: "Bodoni 72", Didot, Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.153em;
}

.nav-logo--footer {
  color: var(--cool-white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.nav__links a:not(.button):hover,
.footer__links a:hover,
.text-link:hover {
  color: var(--slate-blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border: 0;
  border-radius: 4px;
  font: 500 15px/1 var(--font-sans);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button--nav {
  min-height: 42px;
  padding: 12px 20px;
  background: var(--slate-blue);
  color: var(--cool-white);
}

.button--nav:hover {
  background: var(--slate-blue-dark);
}

.button--sand {
  background: var(--warm-sand);
  color: var(--ink);
}

.button--sand:hover {
  background: #B99757;
}

.hero {
  background: var(--slate-blue);
  color: var(--cool-white);
}

.hero__inner {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 72px;
  padding: 96px 0 112px;
}

.hero__content {
  max-width: 640px;
}

.hero__art {
  margin: 0;
}

.hero__art img {
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow--sand {
  color: var(--warm-sand);
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  color: var(--cool-white);
  font-size: 52px;
  line-height: 1.15;
}

h2 {
  max-width: 680px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.25;
}

h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}

p {
  margin: 0;
}

.hero__copy {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.hero__link {
  color: var(--cool-white);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 5px;
}

.section {
  padding: 96px 0;
  background: var(--cool-white);
}

.section--white {
  background: var(--white);
}

.section__heading {
  margin-bottom: 48px;
}

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

.service-card {
  min-height: 278px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--slate-blue);
  border-radius: 6px;
}

.service-card p,
.process-step p,
.about__copy p {
  color: var(--text-gray);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 72px;
}

.about__copy {
  max-width: 680px;
}

.about__copy p {
  margin-top: 20px;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--slate-blue);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.about__image {
  margin: 0;
}

.about__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 11%;
  right: 11%;
  border-top: 1px dashed var(--mid-gray);
}

.process-step {
  position: relative;
  background: var(--white);
}

.process-step__number {
  display: block;
  width: 64px;
  margin-bottom: 20px;
  background: var(--white);
  color: var(--slate-blue);
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
}

.contact {
  padding: 96px 0;
  background: var(--slate-blue);
  color: var(--cool-white);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 72px;
  align-items: start;
}

.contact h2 {
  color: var(--cool-white);
}

.contact__copy p {
  max-width: 470px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
}

.contact-details {
  display: grid;
  gap: 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-detail {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-detail__label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact-detail__value {
  color: var(--cool-white);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
}

.contact-detail__value--large {
  color: var(--warm-sand);
  font-size: 26px;
  line-height: 1.25;
}

.footer {
  padding: 40px 0 34px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer__inner {
  display: grid;
  gap: 28px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}

.footer__links a:hover {
  color: var(--warm-sand);
}

.footer__meta {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
  }

  .nav__links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .services-grid,
  .about,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .about {
    gap: 40px;
  }

  .about__image {
    max-width: 480px;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .process-list::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .nav__links {
    width: 100%;
    justify-content: flex-start;
  }

  .button--nav {
    width: 100%;
  }

  .hero__inner {
    min-height: 520px;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 0 88px;
  }

  .hero__art {
    order: -1;
    width: min(100%, 360px);
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  .hero__copy,
  .contact__copy p {
    font-size: 18px;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions .button {
    width: 100%;
  }

  .section,
  .contact {
    padding: 72px 0;
  }

  .service-card {
    min-height: auto;
    padding: 28px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-step__number {
    font-size: 42px;
  }

  .footer__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .nav__links {
    gap: 12px 16px;
    font-size: 14px;
  }

  .nav-logo__small {
    font-size: 9px;
  }

  .nav-logo__name {
    font-size: 20px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .contact-detail {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-detail__value--large {
    font-size: 23px;
  }
}
