:root {
  --ink: #2f282b;
  --wine: #654150;
  --rose: #87606f;
  --mist: #f1efec;
  --paper: #f9f8f5;
  --line: rgba(51, 38, 45, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }
.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(249,248,245,.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}
.brand img { display: block; width: min(285px, 40vw); height: auto; }
nav { display: flex; gap: 34px; }
nav a { display: inline-flex; align-items: center; text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 650; }
nav a:last-child { min-height: 46px; padding: 0 22px; background: var(--ink); color: #fff; }

.hero {
  min-height: calc(100vh - 92px);
  overflow: hidden;
}
.hero-copy { position: absolute; left: 5vw; bottom: 10%; z-index: 3; color: #fff; }
.hero-copy .eyebrow { color: rgba(255,255,255,.8); }
.eyebrow, .section-number { letter-spacing: .18em; font-size: .76rem; font-weight: 700; color: var(--rose); }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; line-height: .98; }
h1 { font-weight: 450; font-size: clamp(3.9rem, 7.2vw, 7.7rem); max-width: 10ch; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: .73rem; font-weight: 700; border-radius: 0; }
.button.primary { background: var(--ink); color: #fff; }
.button.text-link { padding-inline: 4px; border-radius: 0; border-bottom: 1px solid currentColor; }

.hero-art { position: relative; min-height: calc(100vh - 92px); background: #5a4b42 url("hero-kitchen-placeholder.png") center center / cover no-repeat; isolation: isolate; overflow: hidden; }
.hero-art::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(26,20,23,.62) 0%, rgba(26,20,23,.18) 48%, rgba(26,20,23,.06) 100%); }
.hero-art::before { content: ""; position: absolute; inset: 8% 7%; border: 1px solid rgba(51,38,45,.20); }
.hero-art .hero-note { position: absolute; right: 6%; bottom: 7%; margin: 0; color: #fff; font-size: clamp(1.05rem, 1.4vw, 1.5rem); line-height: 1.18; text-align: right; z-index: 2; }
.material { position: absolute; border-radius: 0; box-shadow: 0 28px 60px rgba(51,38,45,.14); }
.material-one { width: 43%; height: 76%; left: 9%; top: 10%; background: linear-gradient(135deg,#aeb5ae 0%,#e2e0da 50%,#838c84 100%); }
.material-two { width: 38%; height: 64%; right: 8%; top: 16%; background: linear-gradient(145deg,#513a43,#8b6273 48%,#35272d); }
.material-three { width: 23%; height: 36%; left: 43%; bottom: 7%; background: linear-gradient(145deg,#d9c5b6,#ae8972); }

.intro-band { padding: clamp(65px, 8vw, 115px) 5vw; display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; border-bottom: 1px solid var(--line); }
.intro-band > p { max-width: 42rem; margin: 0; font-size: clamp(1.45rem, 2.6vw, 2.8rem); line-height: 1.2; letter-spacing: -.025em; }
.intro-band .text-link { justify-self: end; }

.cabinetry-intro { min-height: 70vh; padding: clamp(100px, 13vw, 190px) 5vw 90px; display: flex; flex-direction: column; justify-content: end; background: #d9d4ce; }
.cabinetry-intro h1 { margin-top: 24px; }
.cabinetry-intro > p:last-child { max-width: 40rem; margin: 42px 0 0; font-size: clamp(1.15rem, 1.7vw, 1.55rem); color: #5f5458; }

.project-gallery { padding: 5vw; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw 2vw; }
.project-gallery figure { margin: 0; }
.project-gallery .project-wide { grid-column: 1 / -1; }
.project-gallery img { display: block; width: 100%; height: min(54vw, 760px); object-fit: cover; }
.project-gallery figure:not(.project-wide) img { height: min(58vw, 820px); }
.project-gallery figcaption { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.project-gallery figcaption span:last-child { color: #786b70; }

.approach { padding: clamp(90px, 11vw, 170px) 5vw; }
.approach-page { min-height: calc(100vh - 92px); }
.approach-page > h1 { font-weight: 420; font-size: clamp(3rem, 5.7vw, 6rem); max-width: 14ch; margin-top: 25px; }
.approach > h2 { font-weight: 420; font-size: clamp(3rem, 5.7vw, 6rem); max-width: 14ch; margin-top: 25px; }
.principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: clamp(70px, 10vw, 130px); }
.principles article { padding-top: 22px; border-top: 1px solid var(--line); }
.principles span { font-size: .75rem; color: var(--rose); letter-spacing: .14em; }
.principles h3 { font-size: 1.45rem; margin-top: 28px; letter-spacing: -.02em; }
.principles p { color: #6f6268; max-width: 27rem; }

.about-page { min-height: calc(100vh - 92px); padding: clamp(100px, 12vw, 180px) 5vw; background: #e4e0db; }
.about-page h1 { max-width: 13ch; margin-top: 24px; font-size: clamp(3.3rem, 6vw, 6.7rem); font-weight: 420; }
.about-story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; margin-top: clamp(70px, 10vw, 140px); padding-top: 30px; border-top: 1px solid rgba(51,38,45,.24); }
.about-story p { margin-top: 0; color: #5f5458; font-size: 1.08rem; }
.about-story .about-lead { color: var(--ink); font-size: clamp(1.5rem, 2.3vw, 2.5rem); line-height: 1.25; }

.capabilities { padding: clamp(90px, 11vw, 160px) 5vw; background: var(--mist); display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }
.section-heading h2, .materials h2, .support h2 { font-size: clamp(3.2rem, 5.5vw, 6rem); font-weight: 420; }
.section-heading > p:last-child, .support-title > p:last-child { color: #6f6268; font-size: 1.08rem; max-width: 34rem; margin-top: 30px; }
.space-list { align-self: end; border-top: 1px solid var(--line); }
.space-list span { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); font-size: clamp(1.2rem, 1.7vw, 1.7rem); }

.materials { padding: clamp(90px, 11vw, 160px) 5vw; }
.materials-intro { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 6vw; margin-top: clamp(65px, 9vw, 120px); border-top: 1px solid var(--line); }
.spec-grid article { min-height: 280px; padding: clamp(28px, 4vw, 58px) 0; border-bottom: 1px solid var(--line); }
.spec-label { color: var(--rose); letter-spacing: .16em; font-size: .74rem; font-weight: 700; }
.spec-grid h3 { max-width: 16ch; margin-top: 42px; font-weight: 450; font-size: clamp(1.7rem, 2.6vw, 2.7rem); line-height: 1.08; }
.spec-grid article > p:last-child { max-width: 31rem; color: #6f6268; margin-top: 22px; }

.support { padding: clamp(90px, 11vw, 160px) 5vw; background: #e4e0db; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.support-page { min-height: calc(100vh - 92px); align-items: center; }
.support-page h1 { font-size: clamp(3.2rem, 5.5vw, 6rem); font-weight: 420; }
.support-list { border-top: 1px solid rgba(51,38,45,.24); }
.support-list article { padding: 28px 0; border-bottom: 1px solid rgba(51,38,45,.24); display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.support-list strong { font-size: 1.05rem; }
.support-list span { color: #695960; }

.scan-panel { margin: 0; padding: clamp(70px, 9vw, 130px) 5vw; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.scan-panel h2 { font-weight: 420; font-size: clamp(3rem, 5.3vw, 5.6rem); }
.scan-copy { max-width: 34rem; justify-self: end; }
.scan-copy p { font-size: 1.15rem; color: #ddcfd5; margin: 0 0 30px; }
.button.light { background: #fff; color: var(--ink); }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 38px; padding: 42px 5vw; border-top: 1px solid var(--line); color: #74666c; font-size: .84rem; }
footer img { width: min(270px, 42vw); }

@media (max-width: 820px) {
  .site-header { height: 84px; }
  nav a:first-child { display: none; }
  .hero-art { min-height: 520px; }
  .intro-band { grid-template-columns: 1fr; }
  .intro-band .text-link { justify-self: start; }
  .principles { grid-template-columns: 1fr; gap: 38px; }
  .capabilities, .support { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery .project-wide { grid-column: auto; }
  .project-gallery img, .project-gallery figure:not(.project-wide) img { height: 70vw; }
  .scan-panel { grid-template-columns: 1fr; gap: 36px; }
  .scan-copy { justify-self: start; }
  footer { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 520px) {
  .site-header { padding-inline: 20px; }
  .brand img { width: 230px; }
  nav { gap: 0; }
  nav a:not(:last-child) { display: none; }
  .hero-copy { left: 24px; bottom: 12%; }
  .approach { padding-inline: 24px; }
  h1 { font-size: 3.75rem; }
  .hero-art { min-height: 430px; }
  .hero-art .hero-note { display: none; }
  .intro-band { padding-inline: 24px; }
  .scan-panel { padding: 44px 28px; }
  .capabilities, .materials, .support { padding-inline: 24px; }
  .materials-intro { align-items: start; flex-direction: column; }
  .support-list article { grid-template-columns: 1fr; gap: 10px; }
}
