:root {
  --cream: #f5f2ea;
  --paper: #fbfaf6;
  --ink: #292d27;
  --sage: #646d56;
  --sage-deep: #424a39;
  --stone: #c9c2b5;
  --line: rgba(41, 45, 39, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-picture,
.hero-picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-picture img {
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(250,248,242,.18), rgba(250,248,242,.28)),
    linear-gradient(90deg, rgba(250,248,242,.94) 0%, rgba(250,248,242,.79) 36%, rgba(250,248,242,.18) 68%, rgba(250,248,242,.04) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 44px));
  margin-right: min(35vw, 520px);
  padding: 70px 0;
  text-align: center;
}
.hero-logo {
  width: min(430px, 78vw);
  margin: 0 auto 30px;
}
.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .75rem;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
}
h1 {
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.6rem);
}
.hero-copy {
  max-width: 620px;
  margin: 26px auto 32px;
  font-size: 1.08rem;
}
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--sage-deep);
  background: var(--sage-deep);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .78rem;
  transition: transform .2s ease, background .2s ease;
}
.button:hover {
  transform: translateY(-2px);
  background: var(--sage);
}
.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translateX(-50%);
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .66rem;
}

.intro, .services, .why, footer {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}
.intro {
  max-width: 870px;
  padding: 130px 0 105px;
  text-align: center;
}
.intro h2,
.why h2,
.contact h2 {
  margin: 0 0 25px;
  font-size: clamp(2.45rem, 4.5vw, 4.4rem);
}
.intro > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services article {
  padding: 54px 28px 62px;
}
.services article + article {
  border-left: 1px solid var(--line);
}
.services span {
  color: var(--sage);
  font-size: .72rem;
  letter-spacing: .16em;
}
.services h3 {
  margin: 18px 0 15px;
  font-size: 1.75rem;
}
.services p { margin: 0; }

.why {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
  padding: 130px 0;
}
.why-points {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.why-points > div {
  padding: 29px 0 31px;
  border-bottom: 1px solid var(--line);
}
.why-points h3 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}
.why-points p { margin: 0; }

.contact {
  width: 100%;
  padding: 120px max(22px, calc((100vw - var(--max))/2));
  background: var(--cream);
  text-align: center;
}
.contact > p:not(.section-kicker) {
  max-width: 680px;
  margin: 0 auto 34px;
}
.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 34px;
}
.contact-links a { text-underline-offset: 6px; }

footer {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 45px;
  align-items: end;
  padding: 46px 0 58px;
  color: #555b51;
  font-size: .8rem;
}
.footer-logo { width: 205px; }
.footer-legal p { margin: 0 0 3px; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-content { margin-right: 23vw; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .services article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .services article:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .hero {
    min-height: 920px;
    align-items: end;
  }
  .hero-picture img { object-position: center 35%; }
  .hero-overlay {
    background: linear-gradient(0deg, rgba(250,248,242,.99) 0%, rgba(250,248,242,.94) 47%, rgba(250,248,242,.24) 75%, rgba(250,248,242,.05) 100%);
  }
  .hero-content {
    width: 100%;
    margin: 0;
    padding: 0 22px 74px;
  }
  .hero-logo { width: 295px; margin-bottom: 19px; }
  h1 { font-size: clamp(2.75rem, 12.4vw, 4.1rem); }
  .hero-copy { font-size: 1rem; }
  .scroll-cue { display: none; }
  .intro { padding: 90px 0 76px; }
  .services { grid-template-columns: 1fr; }
  .services article + article,
  .services article:nth-child(3),
  .services article:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .why { grid-template-columns: 1fr; gap: 30px; padding: 90px 0; }
  .contact { padding-top: 88px; padding-bottom: 90px; }
  .contact-links { flex-direction: column; }
  footer { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}
