:root {
  --paper: #f5f3ed;
  --ink: #171514;
  --muted: #716b63;
  --line: rgba(23, 21, 20, 0.16);
  --white: #ffffff;
  --copper: #a7462d;
  --sage: #60705d;
  --charcoal: #242220;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", Arial, sans-serif;
  overflow-x: hidden;
}
body.menu-open,
body.overlay-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 18px clamp(20px, 4vw, 68px);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}
.site-header.scrolled {
  background: rgba(245, 243, 237, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  width: fit-content;
  font-weight: 700;
  letter-spacing: 0;
}
.nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 4vw, 58px);
}
.nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav a:hover {
  color: var(--ink);
}
.menu-button {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(340px, 1fr);
  gap: clamp(34px, 7vw, 120px);
  min-height: 920px;
  padding: 132px clamp(20px, 4vw, 68px) 70px;
}
.hero::before {
  position: absolute;
  left: clamp(20px, 4vw, 68px);
  right: clamp(20px, 4vw, 68px);
  top: 92px;
  height: 1px;
  background: var(--line);
  content: "";
}
.hero-copy {
  align-self: center;
  max-width: 640px;
}
.kicker {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1,
h2 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
}
h1 {
  font-size: clamp(56px, 7vw, 118px);
}
h2 {
  font-size: clamp(42px, 5.8vw, 86px);
}
.hero-image {
  align-self: end;
  margin: 0;
  min-height: 680px;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.95);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 42px;
}
.hero-actions button,
.contact button,
.quote-card button {
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}
.hero-actions a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}
.hero-actions svg {
  width: 18px;
  height: 18px;
}
.hero-note {
  position: absolute;
  left: clamp(20px, 4vw, 68px);
  bottom: 86px;
  display: grid;
  grid-template-columns: 44px minmax(180px, 280px);
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.hero-note span {
  color: var(--copper);
  font-weight: 700;
}
.hero-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 clamp(20px, 4vw, 68px);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.intro-strip article {
  display: grid;
  gap: 8px;
  min-height: 142px;
  align-content: center;
  padding: 28px;
  background: var(--paper);
}
.intro-strip strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  line-height: 1;
}
.intro-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.services,
.gallery {
  padding: clamp(100px, 10vw, 170px) clamp(20px, 4vw, 68px);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 6vw, 120px);
  margin-bottom: 70px;
}
.section-heading h2,
.gallery-copy h2 {
  max-width: 860px;
}
.service-stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-stories article {
  display: grid;
  grid-template-rows: 360px auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}
.service-stories img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-stories div {
  padding: 28px;
}
.service-stories span {
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.service-stories h3,
.gallery-copy h2,
.process-copy h2,
.contact h2 {
  margin: 12px 0 16px;
}
.service-stories h3 {
  font-family: "Newsreader", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
}
.service-stories p,
.process-copy li,
.contact p,
.footer p,
.quote-card p {
  color: var(--muted);
  line-height: 1.6;
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 8vw, 130px);
  align-items: center;
  padding: clamp(90px, 9vw, 150px) clamp(20px, 4vw, 68px);
  background: var(--charcoal);
  color: var(--white);
}
.process figure {
  margin: 0;
  min-height: 640px;
  overflow: hidden;
}
.process img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-copy {
  max-width: 620px;
}
.process-copy .kicker {
  color: #d58b70;
}
.process-copy ol {
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.process-copy li {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
}
.process-copy span {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 700;
}

.gallery-copy {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 56px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.82fr 0.92fr;
  gap: 20px;
}
.gallery-grid figure {
  margin: 0;
  min-height: 520px;
  overflow: hidden;
}
.gallery-grid figure:nth-child(2) {
  margin-top: 72px;
}
.gallery-grid figure:nth-child(3) {
  min-height: 390px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 0.7fr);
  gap: clamp(40px, 8vw, 140px);
  padding: clamp(90px, 9vw, 140px) clamp(20px, 4vw, 68px);
  border-top: 1px solid var(--line);
}
.contact form {
  display: grid;
  gap: 14px;
}
.contact label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact input {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.contact button {
  width: fit-content;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 0.8fr) auto;
  gap: 34px;
  padding: 54px clamp(20px, 4vw, 68px);
  background: var(--ink);
  color: var(--white);
}
.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}
.footer div {
  display: flex;
  gap: 18px;
}
.footer a:not(.brand) {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.quote-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  background: rgba(23, 21, 20, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.quote-panel.open {
  opacity: 1;
  pointer-events: auto;
}
.quote-card {
  width: min(470px, 100%);
  padding: 42px;
  background: var(--paper);
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
}
.quote-panel.open .quote-card {
  transform: translateX(0);
}
.quote-card > button:first-child {
  float: right;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.quote-card h2 {
  clear: both;
  margin: 86px 0 20px;
  color: var(--ink);
}

[data-motion],
[data-motion-group] > * {
  opacity: 0;
  transform: translateY(32px);
}
[data-motion="zoom"] {
  transform: translateY(18px) scale(0.97);
}
.is-visible[data-motion],
.is-visible[data-motion-group] > * {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}
.is-visible[data-motion-group] > *:nth-child(2) {
  transition-delay: 90ms;
}
.is-visible[data-motion-group] > *:nth-child(3) {
  transition-delay: 180ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
  [data-motion],
  [data-motion-group] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .nav {
    position: fixed;
    inset: 82px 0 auto;
    display: grid;
    gap: 0;
    padding: 16px 22px;
    background: rgba(245, 243, 237, 0.96);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 0s linear 180ms;
  }
  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }
  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .menu-button {
    display: grid;
  }
  .hero,
  .section-heading,
  .process,
  .contact,
  .footer {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero-image {
    min-height: 520px;
  }
  .hero-note {
    position: relative;
    left: auto;
    bottom: auto;
    grid-column: 1 / -1;
  }
  .service-stories,
  .intro-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid figure,
  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(3) {
    min-height: 360px;
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 74px;
    padding: 16px 18px;
  }
  .nav {
    top: 74px;
  }
  .hero {
    padding: 108px 18px 48px;
  }
  h1 {
    font-size: 54px;
  }
  h2 {
    font-size: 42px;
  }
  .hero-image,
  .process figure {
    min-height: 360px;
  }
  .services,
  .gallery,
  .process,
  .contact,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .intro-strip {
    margin-left: 18px;
    margin-right: 18px;
  }
  .footer div,
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
