:root {
  --ink: #202321;
  --muted: #61665f;
  --paper: #f7f4ef;
  --surface: #ffffff;
  --charcoal: #252725;
  --wood: #9b6848;
  --moss: #687264;
  --line: #ded8ce;
  --shadow: 0 20px 60px rgba(25, 26, 24, 0.16);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(247, 244, 239, 0.92);
  border-bottom: 1px solid rgba(32, 35, 33, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav .nav-cta {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(620px, calc(100vh - 104px));
  overflow: hidden;
  background: var(--charcoal);
  color: var(--paper);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 23, 21, 0.86), rgba(22, 23, 21, 0.42) 48%, rgba(22, 23, 21, 0.08)),
    url("assets/project-kitchen-wide.jpg") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  display: grid;
  align-content: center;
  width: min(740px, calc(100% - 36px));
  padding: clamp(46px, 7vw, 82px) 0 clamp(44px, 6vw, 70px);
  margin-left: clamp(18px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wood);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e4bd9a;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 6.8vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 24px;
  color: rgba(247, 244, 239, 0.88);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.hero-actions,
.social-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  border-color: rgba(247, 244, 239, 0.56);
  color: var(--paper);
}

.button.secondary.dark {
  border-color: rgba(247, 244, 239, 0.32);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 48px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro {
  background: var(--surface);
}

.intro-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 310px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(44, 38, 31, 0.06);
}

.service-number {
  display: block;
  margin-bottom: 50px;
  color: var(--wood);
  font-weight: 900;
}

.service-card p,
.copy-panel p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

.split-section {
  background: #ebe5dc;
}

.image-panel {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.copy-panel {
  max-width: 560px;
}

.text-link {
  color: var(--ink);
  font-weight: 900;
  text-underline-offset: 5px;
}

.work-section {
  background: var(--surface);
}

.work-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.social-links a,
.footer-links a {
  color: var(--ink);
  font-weight: 900;
  text-decoration-color: var(--wood);
  text-underline-offset: 5px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  display: grid;
  background: var(--paper);
  border: 1px solid var(--line);
}

.work-card.featured {
  grid-column: span 2;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-card.featured img {
  aspect-ratio: 16 / 9;
}

.work-card div {
  padding: 20px;
}

.work-card p {
  margin-bottom: 8px;
  color: var(--wood);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 0;
}

.contact-section {
  background: var(--charcoal);
  color: var(--paper);
}

.contact-copy {
  align-self: start;
  position: sticky;
  top: 108px;
}

.contact-copy p {
  margin-bottom: 24px;
  color: rgba(247, 244, 239, 0.72);
}

.form-shell {
  min-width: 0;
  background: #f2f0ec;
  box-shadow: var(--shadow);
}

.contact-frame {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 22px;
  align-items: start;
  padding: 34px clamp(18px, 4vw, 48px);
  background: #181917;
  color: var(--paper);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(247, 244, 239, 0.68);
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .services-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 560px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(22, 23, 21, 0.28), rgba(22, 23, 21, 0.9)),
      url("assets/project-kitchen-wide.jpg") center / cover;
  }

  .hero-content {
    align-content: end;
    margin: 0 auto;
  }

  .hero-actions .button {
    width: 100%;
  }

  .services-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 26px;
  }

  .work-heading {
    align-items: start;
    flex-direction: column;
  }

  .work-card.featured {
    grid-column: auto;
  }

  .contact-frame {
    min-height: 700px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
