/* Divine Woodwork premium site styles.
   Replace final logo and photography inside /assets/images/ when ready. */
:root {
  --black: #0f0f0f;
  --ink: #080808;
  --charcoal: #1c1c1c;
  --white: #f4f1ec;
  --paper: #fbfaf7;
  --walnut: #8b5a2b;
  --gold: #b88a44;
  --gold-dark: #93672f;
  --dark-muted: #3f3a32;
  --light-muted: rgba(244, 241, 236, 0.74);
  --line-dark: rgba(15, 15, 15, 0.14);
  --line-light: rgba(244, 241, 236, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --sans: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(184, 138, 68, 0.16);
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(1340px, calc(100% - 80px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 270px;
}

.brand-logo {
  width: 270px;
  max-height: 68px;
  object-fit: contain;
}

.footer-logo {
  width: 245px;
  max-height: 78px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(184, 138, 68, 0.72);
  color: var(--gold);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  right: -7px;
  bottom: -7px;
}

.brand-copy strong {
  display: block;
  color: var(--gold);
  font-size: 21px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-copy span {
  display: block;
  color: rgba(244, 241, 236, 0.72);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(184, 138, 68, 0.45);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 13px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.quote-link {
  min-width: 144px;
  padding: 15px 20px !important;
  border: 1px solid rgba(184, 138, 68, 0.72);
  color: var(--gold);
  text-align: center;
}

.quote-link::after {
  display: none;
}

.quote-link:hover {
  background: var(--gold);
  color: var(--black);
}

.hero,
.page-hero {
  min-height: 630px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.page-hero {
  min-height: 480px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
  filter: saturate(0.92) contrast(1.08) brightness(0.9);
}

.image-hero::before {
  background-image: url("../images/hero-reception-ai-branded.png");
}

.image-kitchen::before {
  background-image: url("../images/luxury-kitchen.png");
}

.image-closet::before {
  background-image: url("../images/walk-in-closet.png");
}

.image-cnc::before {
  background-image: url("../images/cnc-shop.png");
}

.image-retail::before {
  background-image: url("../images/retail-interior.png");
}

.image-feature::before {
  background-image: url("../images/feature-wall.png");
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.78), rgba(4, 4, 4, 0.38) 42%, rgba(4, 4, 4, 0.06) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.2));
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1340px, calc(100% - 80px));
  margin: 0 auto;
  padding: 150px 0 76px;
}

.hero-content {
  max-width: none;
}

.hero-content.reveal,
.page-hero-content.reveal {
  opacity: 1;
  transform: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 5vw, 66px);
}

h2 {
  font-size: clamp(26px, 3vw, 42px);
}

h3 {
  font-size: 18px;
}

p {
  margin: 0;
  color: var(--light-muted);
}

.lead {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(244, 241, 236, 0.92);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.75;
}

.hero .lead {
  max-width: 570px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  padding: 0 24px;
  border: 1px solid rgba(184, 138, 68, 0.74);
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(184, 138, 68, 0.12);
}

.btn.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.section {
  padding: 76px 0;
  background: var(--paper);
  color: var(--black);
}

.section.alt {
  background: var(--ink);
  color: var(--white);
}

.container {
  width: min(1340px, calc(100% - 80px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head.centered {
  display: block;
  text-align: center;
}

.section-head p {
  max-width: 560px;
}

.section:not(.alt) p,
.section:not(.alt) .lead {
  color: var(--dark-muted);
}

.section:not(.alt) .eyebrow {
  color: var(--walnut);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.service-card,
.feature-card,
.contact-card {
  padding: 34px 24px;
  border: 1px solid var(--line-dark);
  background: transparent;
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.feature-card,
.contact-card {
  text-align: left;
}

.section.alt .service-card,
.section.alt .feature-card,
.section.alt .contact-card {
  border-color: var(--line-light);
  background: rgba(244, 241, 236, 0.035);
}

.service-card:hover,
.feature-card:hover,
.project-card:hover,
.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 138, 68, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.card-kicker {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(184, 138, 68, 0.45);
  color: var(--gold-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feature-card .card-kicker {
  width: auto;
  height: auto;
  display: inline-block;
  margin: 0 0 18px;
  border: 0;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.project-meta {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card .project-meta {
  display: block;
  margin-top: 22px;
}

.service-card h3,
.feature-card h3 {
  font-size: 16px;
}

.service-card p,
.feature-card p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
}

.project-card {
  overflow: hidden;
  border: 0;
  background: transparent;
  transition: transform 220ms ease;
}

.project-card img,
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image {
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--charcoal);
}

.project-card img {
  transition: transform 500ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-body {
  padding: 14px 0 0;
}

.project-body h3 {
  margin: 0 0 2px;
  color: inherit;
  font-size: 15px;
}

.project-body p {
  margin-top: 8px;
  font-size: 13px;
}

.stats-band {
  padding: 72px 0;
  border: 0;
  background: var(--paper);
  color: var(--black);
}

.stats-layout {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 48px;
  align-items: center;
}

.stats-copy {
  padding-right: 36px;
  border-right: 1px solid var(--line-dark);
}

.stats-copy p {
  margin-top: 18px;
  color: var(--dark-muted);
  max-width: 430px;
}

.stats-copy .btn {
  margin-top: 28px;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.stat {
  min-height: 152px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--line-dark);
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--black);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 13px;
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.process-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.process-section::after {
  content: "";
  position: absolute;
  inset: 0 0 0 58%;
  background:
    linear-gradient(90deg, var(--ink), rgba(8, 8, 8, 0.45)),
    url("../images/cnc-shop.png") center / cover;
  opacity: 0.82;
}

.process-section .container {
  position: relative;
  z-index: 1;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
  align-items: start;
}

.process-step {
  min-height: 190px;
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.process-step .number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
}

.process-step h3 {
  margin-top: 0;
  font-size: 14px;
}

.process-step p {
  max-width: 180px;
  margin: 10px auto 0;
  color: rgba(244, 241, 236, 0.82);
  font-size: 12px;
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.image-panel {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}

.section.alt .image-panel {
  border-color: var(--line-light);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid currentColor;
  padding: 13px 14px;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  min-height: 42px;
  border: 1px solid rgba(184, 138, 68, 0.5);
  background: transparent;
  color: currentColor;
  padding: 0 16px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.project-card.is-hidden {
  display: none;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 34px 0;
  border-top: 1px solid rgba(184, 138, 68, 0.18);
  border-bottom: 1px solid rgba(184, 138, 68, 0.18);
  background:
    linear-gradient(90deg, rgba(44, 25, 11, 0.88), rgba(116, 70, 30, 0.76)),
    var(--walnut);
}

.cta.image-feature,
.cta.image-retail {
  background:
    linear-gradient(90deg, rgba(44, 25, 11, 0.92), rgba(116, 70, 30, 0.76)),
    url("../images/feature-wall.png") center / cover;
}

.cta.image-retail {
  background:
    linear-gradient(90deg, rgba(44, 25, 11, 0.92), rgba(116, 70, 30, 0.76)),
    url("../images/retail-interior.png") center / cover;
}

.cta .container {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 36px;
  align-items: center;
}

.cta h2 {
  max-width: 520px;
  font-size: clamp(22px, 2.2vw, 31px);
}

.cta p {
  max-width: 360px;
  margin-top: 0;
  color: rgba(244, 241, 236, 0.86);
}

.cta .section-actions {
  margin-top: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 18px;
}

.contact-line span {
  display: block;
  color: var(--walnut);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-line strong {
  display: block;
  margin-top: 4px;
  color: inherit;
  font-size: 17px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(15, 15, 15, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.46);
  color: var(--black);
  padding: 15px 16px;
  font: 600 14px var(--sans);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(15, 15, 15, 0.52);
}

select {
  color: rgba(15, 15, 15, 0.72);
}

.section.alt input,
.section.alt select,
.section.alt textarea {
  border-color: var(--line-light);
  background: rgba(244, 241, 236, 0.045);
  color: var(--white);
}

.site-footer {
  border-top: 1px solid rgba(184, 138, 68, 0.18);
  background: #070707;
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1.1fr;
  gap: 48px;
}

.footer-title {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-links span {
  color: rgba(244, 241, 236, 0.72);
  font-size: 13px;
}

.socials {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}

.socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.copyright {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  color: rgba(244, 241, 236, 0.45);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .nav-wrap {
    width: min(100% - 40px, 1340px);
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 92px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line-light);
    background: rgba(5, 5, 5, 0.98);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
  }

  .quote-link {
    margin-top: 8px;
    text-align: center;
  }

  .grid.five,
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.three,
  .split,
  .contact-layout,
  .footer-grid,
  .stats-layout,
  .cta .container {
    grid-template-columns: 1fr 1fr;
  }

  .stats-copy {
    border-right: 0;
    padding-right: 0;
  }

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

  .stat:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 740px) {
  .nav-wrap,
  .container,
  .hero-content,
  .page-hero-content {
    width: min(100% - 28px, 1340px);
  }

  .nav-wrap {
    height: 82px;
  }

  .main-nav {
    inset: 82px 0 auto;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: 218px;
    max-height: 58px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy span {
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .hero,
  .page-hero {
    min-height: 620px;
  }

  .page-hero {
    min-height: 460px;
  }

  .hero-content,
  .page-hero-content {
    padding: 130px 0 56px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 16px;
  }

  .grid.five,
  .grid.four,
  .grid.three,
  .grid.two,
  .split,
  .contact-layout,
  .footer-grid,
  .form-row,
  .feature-list,
  .stats-layout,
  .stats-grid,
  .process-track,
  .cta .container {
    grid-template-columns: 1fr;
  }

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

  .stat:last-child {
    border-bottom: 0;
  }

  .process-section::after {
    inset: 48% 0 0;
    opacity: 0.34;
  }

  .image-panel {
    min-height: 320px;
  }
}
