:root {
  --paper: #f7f3ec;
  --canvas: #fffdf8;
  --ink: #171717;
  --soft-ink: #3d3b37;
  --muted: #6f6a62;
  --line: rgba(23, 23, 23, .14);
  --clay: #9c4338;
  --brick: #6f2d29;
  --sage: #8aa58a;
  --ochre: #d0a84d;
  --celadon: #d9e3d3;
  --blue: #43677b;
  --violet: #7e6c91;
  --shadow: 0 24px 70px rgba(48, 42, 33, .16);
}

* { 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;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
dl,
figure {
  margin: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  padding: 12px clamp(14px, 4vw, 54px);
  color: #fff;
  background: rgba(23, 23, 23, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .86);
  background: linear-gradient(135deg, var(--clay) 0 35%, var(--ochre) 35% 58%, var(--sage) 58% 100%);
  color: #fff;
  font-size: .78rem;
  letter-spacing: 0;
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: rgba(255, 255, 255, .82);
  font-size: .93rem;
  font-weight: 750;
}

nav a,
.site-footer a {
  text-underline-offset: 5px;
}

nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.header-call {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 55% 48%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(23, 23, 23, .92), rgba(23, 23, 23, .72) 38%, rgba(23, 23, 23, .2) 72%),
    linear-gradient(0deg, rgba(23, 23, 23, .8), rgba(23, 23, 23, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 88vh;
  max-width: 880px;
  padding: clamp(108px, 16vh, 150px) clamp(16px, 5vw, 72px) clamp(34px, 8vh, 78px);
  color: #fff;
}

.eyebrow {
  color: var(--clay);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.proof-panel .eyebrow,
.contact-copy .eyebrow {
  color: #f2c764;
}

h1 {
  max-width: 820px;
  margin-top: 12px;
  font-size: clamp(2.55rem, 6vw, 5.7rem);
  line-height: .98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 690px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.review-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 950;
  text-align: center;
}

.button.primary,
.review-link {
  color: #fff;
  background: var(--clay);
  box-shadow: 0 16px 32px rgba(86, 38, 31, .22);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .52);
  background: rgba(255, 255, 255, .12);
}

.button.outline {
  border-color: rgba(255, 255, 255, .46);
  color: #fff;
}

.button.dark {
  background: #fff;
  color: var(--ink);
}

.studio-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: -1px;
  border-bottom: 1px solid var(--line);
}

.swatch-card {
  min-height: 124px;
  padding: clamp(18px, 2.5vw, 32px);
  color: #fff;
}

.swatch-card span {
  display: block;
  margin-bottom: 9px;
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.swatch-card strong {
  display: block;
  max-width: 22ch;
  font-size: clamp(1.02rem, 1.8vw, 1.44rem);
  line-height: 1.12;
}

.color-clay { background: var(--clay); }
.color-sage { background: var(--sage); color: #122017; }
.color-ochre { background: var(--ochre); color: #1e1b14; }
.color-ink { background: var(--ink); }

.section {
  padding: clamp(58px, 8vw, 112px) clamp(16px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(260px, .5fr);
  gap: clamp(20px, 4vw, 62px);
  align-items: end;
  max-width: 1220px;
  margin: 0 auto 30px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.13rem);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px;
  max-width: 1220px;
  margin: 0 auto;
}

.work-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.work-card.wide {
  grid-row: span 2;
}

.image-tile {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: #ded5c6;
}

.wide .image-tile {
  min-height: 100%;
}

.kitchen-card .image-tile {
  aspect-ratio: 4 / 3;
}

.work-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.front-photo { object-position: 50% 54%; }
.entry-photo { object-position: 54% 56%; }
.angle-photo { object-position: 48% 55%; }
.kitchen-photo { object-position: 52% 54%; }

.work-card:hover .work-photo {
  transform: scale(1.025);
}

figcaption {
  position: absolute;
  inset: auto 14px 14px;
  display: grid;
  gap: 5px;
  max-width: calc(100% - 28px);
  padding: 13px 14px;
  color: #fff;
  background: rgba(23, 23, 23, .76);
  backdrop-filter: blur(12px);
}

figcaption strong {
  line-height: 1.15;
}

figcaption span {
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
  line-height: 1.35;
}

.services-section {
  background:
    linear-gradient(90deg, rgba(67, 103, 123, .08), rgba(156, 67, 56, .08)),
    var(--canvas);
}

.service-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1220px;
  margin: 34px auto 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-board article {
  min-height: 270px;
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--canvas);
}

.service-number {
  color: var(--clay);
  font-weight: 950;
}

h3 {
  margin-top: 30px;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.04;
}

.service-board p {
  margin-top: 16px;
  color: var(--muted);
}

.proof-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 23, 23, .94), rgba(67, 103, 123, .88)),
    var(--ink);
}

.proof-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.proof-panel h2 {
  max-width: 750px;
}

.proof-panel p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 1.08rem;
}

.review-link {
  white-space: nowrap;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .7fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(111, 45, 41, .92), rgba(23, 23, 23, .9)),
    var(--brick);
}

.contact-copy h2 {
  max-width: 780px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 1.08rem;
}

.contact-facts {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .18);
}

.contact-facts div {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: rgba(255, 255, 255, .08);
}

dt {
  color: rgba(255, 255, 255, .64);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 850;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(16px, 5vw, 72px);
  color: #fff;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

:focus-visible {
  outline: 3px solid #ffd15d;
  outline-offset: 4px;
}

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

  nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
  }

  .studio-strip,
  .service-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .review-link {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 12px;
  }

  .brand-mark {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: .72rem;
  }

  .header-call {
    min-height: 44px;
    padding: 8px 13px;
  }

  nav {
    overflow-x: auto;
    justify-content: start;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-media img {
    object-position: 55% 48%;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(23, 23, 23, .9), rgba(23, 23, 23, .5) 62%, rgba(23, 23, 23, .18)),
      linear-gradient(90deg, rgba(23, 23, 23, .7), rgba(23, 23, 23, .2));
  }

  .hero-content {
    min-height: 86vh;
    padding-top: 132px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .review-link {
    width: 100%;
    min-height: 52px;
  }

  .studio-strip,
  .service-board,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .swatch-card {
    min-height: 94px;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 62px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .work-section .section-heading {
    margin-bottom: 18px;
  }

  .section-heading p:not(.eyebrow) {
    margin-top: 12px;
  }

  .work-section h2 {
    line-height: 1.05;
  }

  .work-card.wide {
    grid-row: auto;
  }

  .wide .image-tile {
    min-height: auto;
  }

  figcaption {
    position: static;
    max-width: none;
    gap: 7px;
    padding: 14px 14px 16px;
    color: var(--ink);
    background: var(--canvas);
    border-top: 1px solid var(--line);
    backdrop-filter: none;
  }

  figcaption span {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.42;
  }

  .service-board article {
    min-height: 0;
  }

  h3 {
    margin-top: 18px;
  }
}

@media (max-width: 390px) {
  .brand-text {
    max-width: 196px;
  }

  nav {
    font-size: .88rem;
  }

  .hero-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: clamp(2.05rem, 11.5vw, 2.72rem);
    line-height: 1.02;
  }

  .hero-lede,
  .contact-copy p:not(.eyebrow),
  .proof-panel p:not(.eyebrow) {
    font-size: 1rem;
  }

  .button,
  .review-link {
    padding-left: 14px;
    padding-right: 14px;
  }
}

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

  .work-card:hover .work-photo {
    transform: none;
  }
}
