:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #64645f;
  --line: #dfddd6;
  --paper: #f7f6f1;
  --white: #ffffff;
  --olive: #59624f;
  --steel: #3f5964;
  --clay: #9a6f55;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 246, 241, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.header-actions,
.header-phone,
.language-switch {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.is-scrolled .brand-mark,
.is-open .brand-mark {
  background: var(--ink);
  color: var(--white);
}

.site-nav {
  justify-self: center;
  gap: clamp(16px, 2.5vw, 32px);
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav a {
  opacity: 0.84;
}

.site-nav a:hover {
  opacity: 1;
}

.header-phone {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 760;
}

.header-actions {
  justify-self: end;
  gap: 10px;
}

.language-switch {
  min-height: 42px;
  padding: 3px;
  border: 1px solid currentColor;
}

.language-switch button {
  min-width: 38px;
  height: 34px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 820;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.site-header:not(.is-scrolled):not(.is-open) .language-switch button[aria-pressed="true"] {
  background: var(--white);
  color: var(--ink);
}

.site-header.is-scrolled .language-switch button[aria-pressed="true"],
.site-header.is-open .language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 140px clamp(18px, 5vw, 72px) 72px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 10, 9, 0.74), rgba(9, 10, 9, 0.24) 62%, rgba(9, 10, 9, 0.06)),
    linear-gradient(0deg, rgba(9, 10, 9, 0.54), transparent 44%);
}

.hero-content {
  width: min(780px, 100%);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0d1b7;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: 0.9;
  font-weight: 520;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 1;
  font-weight: 520;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid currentColor;
  font-weight: 800;
}

.button.primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.button.secondary {
  color: var(--white);
}

.intro,
.gallery-section,
.services,
.process,
.contact {
  padding: clamp(64px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.intro > p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.section-heading::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-shot {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--white);
}

.feature-shot.large {
  grid-column: span 2;
  min-height: 620px;
}

.feature-shot.wide {
  grid-column: span 2;
}

.feature-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.72), transparent 58%);
}

.feature-shot div {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--white);
}

.feature-shot span,
.service-grid span,
.process-list span {
  display: block;
  margin-bottom: 10px;
  color: #e5bea1;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-shot h3 {
  max-width: 430px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 280px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}

.service-grid span,
.process-list span {
  color: var(--steel);
}

.service-grid p,
.process-list p,
.contact-content p {
  color: var(--muted);
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof div {
  min-height: 170px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.proof div:last-child {
  border-right: 0;
}

.proof strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 520;
  line-height: 1;
}

.proof span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 240px;
  padding: 34px 34px 80px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.process-list li::after {
  counter-increment: process;
  content: "0" counter(process);
  position: absolute;
  right: 28px;
  bottom: 18px;
  color: rgba(23, 23, 23, 0.09);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.4rem;
  line-height: 1;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.contact-image {
  min-height: 620px;
  box-shadow: var(--shadow);
}

.contact-content {
  max-width: 650px;
}

.contact-content p {
  font-size: 1.06rem;
}

.phone-cta {
  display: inline-grid;
  gap: 4px;
  min-width: min(100%, 360px);
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: var(--white);
  color: var(--ink);
}

.phone-cta span {
  color: var(--steel);
  font-size: 0.8rem;
  font-weight: 820;
  text-transform: uppercase;
}

.phone-cta strong {
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  line-height: 1.05;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px);
  background: #101010;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-actions {
    display: flex;
  }

  .site-header.is-open {
    grid-template-columns: 1fr auto;
  }

  .site-header.is-open .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 12px;
  }

  .site-header.is-open .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .site-header.is-open .header-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: space-between;
  }

  .site-header.is-open .header-phone {
    flex: 1;
    justify-content: center;
  }

  .intro,
  .section-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading::after {
    display: none;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-shot,
  .feature-shot.large,
  .feature-shot.wide {
    grid-column: span 1;
    min-height: 430px;
  }

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

@media (max-width: 640px) {
  .hero {
    min-height: 92vh;
    padding: 118px 18px 42px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .button {
    width: 100%;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .feature-shot,
  .feature-shot.large,
  .feature-shot.wide {
    min-height: 360px;
  }

  .proof {
    grid-template-columns: 1fr;
  }

  .proof div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof div:last-child {
    border-bottom: 0;
  }

  .contact-image {
    min-height: 380px;
  }

  .site-footer {
    flex-direction: column;
  }
}
