:root {
  --ink: #1b1d18;
  --forest: #171b12;
  --forest-soft: #22281a;
  --cream: #f4efe5;
  --paper: #fbf8f1;
  --sand: #d9c2a1;
  --wood: #76562d;
  --muted: #69685f;
  --line: rgba(27, 29, 24, .18);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .8rem 1rem;
  background: white;
}
.skip-link:focus { top: 1rem; }

.site-header {
  min-height: 108px;
  padding: 1rem clamp(1.25rem, 4vw, 4rem);
  color: var(--cream);
  background: var(--forest);
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 10;
}
.brand img { width: 140px; height: 78px; object-fit: contain; object-position: left center; }
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3.5rem);
}
.main-nav a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus-visible { border-color: var(--sand); }
.menu-button { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .035em;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #dfad5f;
  outline-offset: 3px;
}
.button-dark { color: white; background: var(--forest); }
.button-sand { color: var(--ink); background: var(--sand); }
.button-outline { color: white; border-color: rgba(255,255,255,.65); background: rgba(15,18,12,.18); }

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 108px));
  color: white;
  background:
    linear-gradient(90deg, rgba(11, 14, 9, .82) 0%, rgba(11, 14, 9, .58) 42%, rgba(11, 14, 9, .12) 75%),
    url("assets/hero-lattenwand.webp") center bottom / cover no-repeat;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  min-height: inherit;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(4.5rem, 10vh, 7rem);
}
.hero .eyebrow {
  color: #f3dfc2;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.eyebrow, .section-label {
  margin: 0 0 1rem;
  color: var(--wood);
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.eyebrow.light, .section-label.light { color: var(--sand); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.6rem, 5.4vw, 5.8rem);
  text-transform: uppercase;
  max-width: 10ch;
  letter-spacing: -.055em;
}
h1 span { display: block; }
h1 span:last-child {
  width: max-content;
  margin-left: 0;
  white-space: nowrap;
}
h2 { font-size: clamp(2.1rem, 3.7vw, 4rem); }
.short-rule { width: 48px; height: 3px; background: var(--wood); margin: .3rem 0 1.5rem; }
.intro { max-width: 38ch; font-size: 1.1rem; margin: 0 0 2rem; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  display: none;
}

.services {
  color: white;
  background: var(--forest);
  padding: 2.2rem clamp(1.5rem, 5vw, 5rem) 4rem;
}
.services > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.service-grid article { padding: 2rem clamp(1rem, 2.5vw, 2.5rem); border-left: 1px solid rgba(255,255,255,.25); }
.service-grid article:first-child { border-left: 0; padding-left: 0; }
.service-number { color: var(--sand); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.service-grid h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: -.01em; margin: .8rem 0 .7rem; }
.service-grid p { margin: 0; color: rgba(255,255,255,.76); font-size: .93rem; }

.section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.5rem, 5vw, 5rem); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 0; max-width: 18ch; }
.text-link { font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.2rem; }
.project { margin: 0; min-width: 0; }
.project img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.project-wide img { aspect-ratio: 5 / 4; }
.project-caption { padding-top: .85rem; }
.project h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0; margin-bottom: .15rem; }
.project p { margin: 0; color: var(--muted); font-size: .9rem; }

.about {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(380px, .95fr);
  padding-top: 0;
  padding-bottom: 0;
  background: var(--wood);
}
.about > * { max-width: none; margin: 0; }
.about-image {
  min-height: 660px;
  overflow: hidden;
  background: linear-gradient(135deg, #bd9b70 0 46%, var(--wood) 46% 100%);
  position: relative;
  padding: clamp(2rem, 5vw, 5rem);
}
.about-image-main {
  width: 78%;
  height: 78%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(1);
  box-shadow: 0 22px 55px rgba(16, 18, 13, .35);
}
.about-image-inset {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(2rem, 5vw, 4rem);
  width: min(42%, 270px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
  border: 8px solid var(--sand);
  box-shadow: 0 16px 40px rgba(16, 18, 13, .28);
}
.about-copy {
  color: white;
  background: var(--forest-soft);
  padding: clamp(3rem, 7vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-copy h2 { max-width: 11ch; margin-bottom: 1.7rem; }
.about-copy p:not(.eyebrow) { max-width: 52ch; color: rgba(255,255,255,.76); }
.about-copy .button { margin-top: 1.2rem; align-self: flex-start; }
.about-copy .button-dark { color: var(--ink); background: var(--sand); }

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  color: white;
  background: var(--forest-soft);
}
.contact > * { max-width: none; margin: 0; }
.contact h2 { max-width: 12ch; }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.75); max-width: 48ch; }
.contact-lines { margin-top: 2rem; display: grid; gap: .35rem; }
.contact-lines a { color: white; font-size: 1.18rem; font-weight: 700; text-decoration: none; }
.contact-lines span { color: rgba(255,255,255,.7); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1rem; }
.contact-form label { font-size: .87rem; font-weight: 700; margin-top: .2rem; }
.contact-form label:nth-of-type(3), .contact-form label:nth-of-type(4),
.contact-form input:nth-of-type(3), .contact-form textarea, .contact-form button, .form-note { grid-column: 1 / -1; }
.contact-form label span { color: rgba(255,255,255,.55); font-weight: 400; }
.contact-form input, .contact-form textarea {
  width: 100%;
  color: white;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 2px;
  padding: .8rem .9rem;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form button { margin-top: .9rem; justify-self: start; }
.form-note { margin: 0; color: rgba(255,255,255,.55); font-size: .8rem; }

.site-footer {
  text-align: center;
  color: rgba(255,255,255,.7);
  background: #10120d;
  padding: 3rem 1.5rem 2rem;
}
.site-footer img { width: 140px; height: 90px; object-fit: contain; margin: 0 auto 1rem; }
.site-footer p { margin: 0 0 1.4rem; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.footer-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .78rem; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 88px; }
  .brand img { width: 112px; height: 62px; }
  .header-cta { display: none; }
  .menu-button {
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 11px;
    cursor: pointer;
  }
  .menu-button span:not(.sr-only) { display: block; height: 2px; background: white; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--forest);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .75rem 0; }
  .hero { min-height: 650px; }
  .hero-copy { min-height: inherit; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .hero {
    min-height: 610px;
    background:
      linear-gradient(180deg, rgba(11,14,9,.52) 0%, rgba(11,14,9,.78) 70%, rgba(11,14,9,.88) 100%),
      url("assets/hero-lattenwand.webp") 62% bottom / cover no-repeat;
  }
  h1 { font-size: clamp(2.45rem, 12vw, 4rem); max-width: 9ch; }
  .hero-copy { min-height: inherit; padding: 3.5rem 1.5rem; justify-content: flex-end; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article,
  .service-grid article:first-child { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding: 1.5rem 0; }
  .service-grid article:first-child { border-top: 0; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 1.5rem; }
  .project-grid { grid-template-columns: 1fr; }
  .project-wide { grid-column: auto; }
  .project img, .project-wide img { aspect-ratio: 4 / 3; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 500px; padding: 2rem 1.5rem; }
  .about-image-main { width: 82%; height: 76%; }
  .about-image-inset { right: 1.5rem; bottom: 2rem; width: 43%; border-width: 6px; }
  .about-copy { padding: 3.5rem 1.5rem; }
  .contact { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label, .contact-form input { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
