*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink: #1e1f1c;
  --ink-soft: #54554f;
  --paper: #f4f1ea;
  --paper-light: #faf8f3;
  --line: rgba(30, 31, 28, 0.18);
  --sage: #74775f;
  --dark: #1b1d1b;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, Helvetica, sans-serif;
  --shell: min(1400px, calc(100vw - 96px));
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  color: white;
  background: var(--ink);
}
.skip-link:focus { top: 18px; }

.site-header {
  position: relative;
  z-index: 100;
  background: rgba(250, 248, 243, 0.94);
}

.header-inner {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: block;
  width: 310px;
  max-width: 48vw;
}
.brand img { height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 45px;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
}

.site-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--sage);
  transition: right 250ms ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }

.nav-contact {
  border: 1px solid var(--ink);
  padding: 13px 19px;
  transition: color 220ms ease, background 220ms ease;
}
.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--paper-light);
  background: var(--ink);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--ink);
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 0 10px 14px;
}
.menu-toggle i {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px 0 0 auto;
  background: currentColor;
  transition: transform 220ms ease;
}

.hero {
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(520px, 1.25fr);
  gap: clamp(52px, 7vw, 118px);
  align-items: center;
  padding-top: 35px;
  padding-bottom: 90px;
}

.hero-copy { padding-left: 2px; }

.eyebrow {
  margin: 0 0 23px;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.19em;
  font-size: 11px;
  font-weight: 600;
}

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

h1 {
  margin-bottom: 27px;
  font-family: var(--serif);
  font-size: clamp(72px, 7.6vw, 124px);
  font-weight: 400;
  letter-spacing: -0.042em;
  line-height: 0.84;
}

h2 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(47px, 5vw, 74px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.rule {
  display: block;
  width: 70px;
  height: 1px;
  margin: 30px 0;
  background: var(--sage);
}
.rule.centered { margin: 23px auto 0; }

.hero-lede {
  max-width: 515px;
  margin-bottom: 38px;
  color: var(--ink-soft);
  font-size: 17px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  min-width: 230px;
  padding: 17px 22px;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.button-dark {
  color: #fff;
  background: var(--ink);
}
.button-dark:hover,
.button-dark:focus-visible { background: #30322e; }

.hero-collage {
  position: relative;
  height: 585px;
  display: grid;
  grid-template-columns: 1.14fr 0.9fr;
  grid-template-rows: 0.83fr 1fr;
  gap: 17px;
}

.image-card { overflow: hidden; background: #ddd8cf; }
.image-card img { transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
.image-card:hover img { transform: scale(1.025); }

.image-main {
  grid-row: 1 / 3;
  margin-top: 0;
  margin-bottom: 33px;
}
.image-top { margin-top: 37px; }
.image-bottom { margin-bottom: 0; }

.section { padding: 124px 0; }

.about {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(460px, 1.15fr) minmax(380px, 0.85fr);
  gap: clamp(70px, 10vw, 155px);
  align-items: center;
  padding-left: max(0px, calc((100vw - 1400px) / 2));
  padding-right: max(48px, calc((100vw - 1400px) / 2));
  background: var(--paper);
}

.about-image {
  height: 610px;
  overflow: hidden;
}
.about-copy { max-width: 570px; }

.about-copy h2 { font-size: clamp(48px, 4.5vw, 69px); }

.about-copy p {
  color: var(--ink-soft);
  max-width: 545px;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sage);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 600;
}
.text-link span { display: inline-block; margin-left: 16px; transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(5px); }

.services {
  background: var(--paper-light);
}

.section-heading {
  text-align: center;
  margin-bottom: 68px;
}
.section-heading h2 { margin-bottom: 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service {
  min-height: 315px;
  padding: 34px 36px 43px;
}
.service + .service { border-left: 1px solid var(--line); }

.service-number {
  margin-bottom: 50px;
  color: var(--sage);
  font-family: var(--serif);
  font-size: 20px;
}

.service h3 {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.service p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.statement {
  padding: 44px 0;
  color: var(--paper-light);
  background: #777963;
}

.statement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
}
.statement p { margin: 0; }
.statement span { width: 50px; height: 1px; background: rgba(255,255,255,.48); }

.contact {
  padding-top: 118px;
  color: #eeeae1;
  background:
    radial-gradient(circle at 85% 20%, rgba(116,119,95,.14), transparent 32%),
    var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(70px, 10vw, 145px);
}

.eyebrow.light { color: #9da184; }

.contact h2 {
  max-width: 520px;
  font-size: clamp(51px, 5vw, 76px);
}

.light-rule { background: #9da184; }

.contact-copy > p:not(.eyebrow) {
  max-width: 490px;
  color: #b8b9b2;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 37px;
  color: #d7d5ce;
}
.contact-details a { width: fit-content; text-decoration: none; }
.contact-details a:hover { color: white; }

.contact-form label {
  display: block;
  margin-bottom: 29px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 9px;
  color: #a9aaa3;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 10px;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.34);
  border-radius: 0;
  outline: 0;
  padding: 10px 2px 13px;
  color: white;
  background: transparent;
  font: inherit;
  transition: border-color 180ms ease;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #b7b8b1 50%),
    linear-gradient(135deg, #b7b8b1 50%, transparent 50%);
  background-position:
    calc(100% - 10px) 50%,
    calc(100% - 5px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
select option { color: #1e1f1c; background: white; }

textarea {
  min-height: 134px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus { border-bottom-color: #d7d9c4; }

.button-accent {
  color: white;
  background: var(--sage);
}
.button-accent:hover,
.button-accent:focus-visible { background: #888b70; }

.form-note {
  margin-top: 17px;
  color: #898a84;
  font-size: 11px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.footer {
  min-height: 135px;
  margin-top: 98px;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.footer img {
  width: 240px;
  height: auto;
  filter: invert(1) sepia(.08) saturate(.2) brightness(1.7);
}
.footer p { margin: 0; color: #83847e; font-size: 11px; }

/* Motion */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 850ms ease, transform 850ms cubic-bezier(.2,.65,.25,1);
}
.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .image-card img { transition: none; }
}

/* Tablet */
@media (max-width: 1080px) {
  :root { --shell: calc(100vw - 56px); }

  .header-inner { height: 94px; }
  .brand { width: 270px; }
  .site-nav { gap: 27px; }

  .hero {
    grid-template-columns: 0.82fr 1.18fr;
    min-height: 635px;
    gap: 45px;
    padding-bottom: 72px;
  }
  .hero-collage { height: 510px; }
  h1 { font-size: clamp(64px, 8vw, 91px); }

  .about {
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    padding-left: 0;
    padding-right: 45px;
  }
  .about-image { height: 560px; }
  .service { padding-inline: 24px; }
}

/* Mobile */
@media (max-width: 780px) {
  :root { --shell: calc(100vw - 38px); }

  .header-inner { height: 82px; }
  .brand { width: 225px; max-width: 72vw; }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 202;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    padding: 150px 30px 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    background: var(--paper-light);
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
  }
  .site-nav .nav-contact {
    margin-top: 13px;
    padding: 13px 17px;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 55px;
    padding-bottom: 76px;
  }
  .hero-copy { max-width: 610px; }
  h1 { font-size: clamp(69px, 21vw, 103px); }
  .hero-lede { font-size: 15px; }

  .hero-collage {
    height: 520px;
    grid-template-columns: 1.14fr .8fr;
    gap: 10px;
  }
  .image-main { margin-bottom: 28px; }
  .image-top { margin-top: 32px; }

  .section { padding: 90px 0; }

  .about {
    display: flex;
    flex-direction: column;
    gap: 58px;
    padding: 0 0 90px;
  }
  .about-image { width: calc(100% - 28px); height: 440px; align-self: flex-start; }
  .about-copy { width: var(--shell); margin-inline: auto; }
  .about-copy h2 { font-size: clamp(46px, 13vw, 67px); }

  .section-heading { margin-bottom: 48px; }
  .service-grid { grid-template-columns: 1fr; }
  .service {
    min-height: 0;
    padding: 34px 2px 38px;
  }
  .service + .service {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .service-number { margin-bottom: 23px; }

  .statement { padding: 35px 0; }
  .statement-inner {
    flex-direction: column;
    gap: 13px;
  }
  .statement span { width: 32px; }

  .contact { padding-top: 88px; }
  .contact-grid { grid-template-columns: 1fr; gap: 65px; }
  .contact h2 { font-size: clamp(52px, 15vw, 73px); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .button { width: 100%; }

  .footer {
    min-height: 165px;
    margin-top: 78px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .footer img { width: 220px; }
}

@media (max-width: 430px) {
  .hero-collage { height: 450px; }
  .hero { padding-top: 35px; }
  .about-image { height: 360px; }
}
