:root {
  --ink: #172129;
  --muted: #63707a;
  --paper: #fbfaf6;
  --white: #ffffff;
  --brick: #b95d36;
  --steel: #53626f;
  --sage: #5b7f69;
  --gold: #d6a33a;
  --line: rgba(23, 33, 41, 0.14);
  --shadow: 0 18px 45px rgba(23, 33, 41, 0.14);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: .01em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: transparent;
  background:
    linear-gradient(#f7f2e6 0 0) 11px 22px / 8px 8px no-repeat,
    linear-gradient(#f7f2e6 0 0) 25px 22px / 8px 8px no-repeat,
    #1d2b33;
  border: 2px solid #1d2b33;
  border-radius: 10px 10px 4px 4px;
  box-shadow: 0 8px 20px rgba(23, 33, 41, 0.2);
  font-size: 0;
  z-index: 0;
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 29px;
  height: 29px;
  top: -17px;
  left: 5px;
  border: 3px solid var(--gold);
  border-right: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  z-index: -1;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 12px;
  left: 16px;
  bottom: 4px;
  background: var(--brick);
  border-radius: 3px 3px 0 0;
}

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

.nav-links a {
  padding: 9px 12px;
  border-radius: 6px;
  color: #2f3a42;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brick);
  background: rgba(185, 93, 54, 0.08);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 17px;
  border: 0;
  border-radius: 6px;
  background: var(--brick);
  color: white;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(185, 93, 54, 0.24);
  cursor: pointer;
}

.btn.secondary {
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(23, 33, 41, 0.18);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 18, 23, 0.84) 0%, rgba(12, 18, 23, 0.55) 42%, rgba(12, 18, 23, 0.12) 76%),
    url("../images/hero-renovation.png") center / cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26vh;
  background: linear-gradient(0deg, var(--paper), rgba(251, 250, 246, 0));
  z-index: -1;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 118px;
  color: white;
  text-align: center;
}

/* Use a bold sans-serif face for banner headlines, distinct from page content. */
.hero h1,
.page-hero h1 {
  font-family: "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 6.4vw, 6rem);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
}

h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.9rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 22px auto 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(.95rem, 1.7vw, 1.1rem);
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  justify-content: center;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: #eef2ed;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.split > * {
  min-width: 0;
}

.lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: .94rem;
  max-width: 700px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(23, 33, 41, 0.06);
}

.card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brick);
}

.media-card {
  overflow: hidden;
  padding: 0;
}

.media-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-card .card-body {
  padding: 22px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.stat {
  padding: 20px;
  border-left: 4px solid var(--brick);
  background: rgba(255, 255, 255, 0.62);
}

.stat b {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.visual-panel {
  min-height: 480px;
  position: relative;
  perspective: 1100px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.scene {
  width: min(92vw, 520px);
  height: 390px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-31deg);
  transition: transform 0.2s ease;
}

.ground,
.block,
.roof,
.beam,
.window,
.door,
.plant {
  position: absolute;
  transform-style: preserve-3d;
}

.ground {
  inset: 78px 28px 24px;
  background: linear-gradient(135deg, #d8dbd4, #f0eee8);
  border: 1px solid rgba(23, 33, 41, 0.12);
  box-shadow: 0 40px 58px rgba(23, 33, 41, 0.18);
}

.block {
  background: #f3f0e8;
  border: 1px solid rgba(23, 33, 41, 0.18);
  box-shadow: 0 16px 0 #d5c7b7, 0 16px 30px rgba(23, 33, 41, 0.14);
}

.main-block {
  width: 215px;
  height: 145px;
  left: 130px;
  top: 140px;
}

.extension {
  width: 170px;
  height: 105px;
  left: 260px;
  top: 184px;
  background: #ffffff;
}

.roof {
  width: 236px;
  height: 74px;
  left: 118px;
  top: 94px;
  background: linear-gradient(135deg, #4c5861, #2f3942);
  transform: translateZ(36px) skewX(-22deg);
  box-shadow: 0 14px 0 #222b32;
}

.window {
  width: 42px;
  height: 36px;
  background: linear-gradient(135deg, #cce8f3, #739bb0);
  border: 5px solid white;
  transform: translateZ(20px);
}

.w1 { left: 158px; top: 170px; }
.w2 { left: 230px; top: 170px; }
.w3 { left: 320px; top: 207px; width: 54px; }

.door {
  width: 38px;
  height: 68px;
  left: 286px;
  top: 215px;
  background: #7f5a3a;
  border: 4px solid #efe8dd;
  transform: translateZ(21px);
}

.beam {
  background: var(--gold);
  box-shadow: 0 6px 0 #a87a20;
  transform: translateZ(32px);
}

.b1 { width: 190px; height: 10px; left: 238px; top: 156px; }
.b2 { width: 10px; height: 104px; left: 250px; top: 158px; }
.b3 { width: 10px; height: 104px; left: 406px; top: 158px; }

.plant {
  width: 40px;
  height: 40px;
  left: 70px;
  top: 245px;
  background: radial-gradient(circle at 30% 30%, #93b57d, #426b4b 62%, transparent 64%);
  transform: translateZ(18px);
}

.page-hero {
  min-height: 380px;
  display: grid;
  align-items: center;
  padding: 86px 0 50px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: white;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 22%, rgba(214, 163, 58, .2), transparent 28%),
    linear-gradient(135deg, #182a34, #314a52);
}

/* Each inner page has its own banner treatment; no banner photograph is repeated. */
body:has(.nav-links a.active[href="about.html"]) .page-hero::before {
  background: radial-gradient(circle at 82% 18%, rgba(214, 163, 58, .24), transparent 27%), linear-gradient(135deg, #24392d, #55705d);
}

body:has(.nav-links a.active[href="contact.html"]) .page-hero::before {
  background: radial-gradient(circle at 16% 22%, rgba(148, 192, 209, .2), transparent 30%), linear-gradient(135deg, #182b42, #365b78);
}

body:has(.nav-links a.active[href="gallery.html"]) .page-hero::before {
  background: radial-gradient(circle at 82% 18%, rgba(231, 184, 110, .22), transparent 28%), linear-gradient(135deg, #4a3030, #7b5350);
}

body:has(.nav-links a.active[href="projects.html"]) .page-hero::before {
  background: radial-gradient(circle at 18% 18%, rgba(214, 163, 58, .26), transparent 26%), linear-gradient(135deg, #20252b, #4a5157);
}

body:has(.nav-links a.active[href="services.html"]):not(:has(.breadcrumbs)) .page-hero::before {
  background: radial-gradient(circle at 78% 24%, rgba(119, 177, 167, .22), transparent 29%), linear-gradient(135deg, #173b3d, #38656a);
}

body:has(.breadcrumbs):has(img[alt*="extension"]) .page-hero::before {
  background: radial-gradient(circle at 78% 22%, rgba(239, 177, 102, .25), transparent 28%), linear-gradient(135deg, #51342b, #8b5942);
}

body:has(.breadcrumbs):has(img[alt*="Kitchen"]) .page-hero::before {
  background: radial-gradient(circle at 18% 20%, rgba(216, 184, 219, .2), transparent 29%), linear-gradient(135deg, #352b42, #624d72);
}

body:has(.breadcrumbs):has(img[alt*="Interior"]) .page-hero::before {
  background: radial-gradient(circle at 80% 18%, rgba(163, 201, 157, .2), transparent 28%), linear-gradient(135deg, #243a37, #4f7062);
}

.page-hero h1 {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero .eyebrow { color: #f2c966; }

.breadcrumbs {
  margin-bottom: 14px;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}

.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }

.page-hero .lede {
  color: rgba(255, 255, 255, 0.82);
  margin-left: auto;
  margin-right: auto;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-item p + p { margin-top: 12px; }
.service-item a { color: var(--brick); font-weight: 800; }

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
}

.check-list, .mini-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
}

.mini-item, .check-list li {
  list-style: none;
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--steel);
  font-weight: 700;
}

.mini-item span, .check-list li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.top-gap { margin-top: 28px; }

.soft-image {
  width: 100%;
  min-height: 420px;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading { max-width: 760px; }
.section-heading .lede { max-width: 650px; }

.info-band { padding: 58px 0; background: #23313a; color: white; }
.info-band .eyebrow { color: #f2c966; }
.info-band .lede { color: rgba(255,255,255,.76); }
.info-band .btn { background: var(--gold); color: var(--ink); box-shadow: none; }
.band-layout { display: flex; justify-content: space-between; align-items: center; gap: 30px; }

.process-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.process-step { padding: 24px; border-top: 4px solid var(--gold); background: var(--white); box-shadow: 0 10px 25px rgba(23,33,41,.06); }
.process-step b { display:block; color: var(--brick); font-size: .82rem; letter-spacing: .08em; margin-bottom: 14px; }
.process-step p { margin-top: 10px; color: var(--muted); font-size: .94rem; }

.faq-list { display: grid; gap: 12px; margin-top: 30px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 7px; padding: 18px 20px; }
.faq-list summary { cursor: pointer; font-weight: 850; }
.faq-list p { margin-top: 12px; color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid .media-card { height: 100%; }

.notice { margin-top: 22px; padding: 16px 18px; border-left: 4px solid var(--gold); background: #fff8e8; color: #5f4a1a; }

.area-panel {
  padding: 30px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
}

.area-panel p { color: rgba(255,255,255,.76); }
.area-panel .eyebrow { color: #f2c966; }
.area-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.area-list span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; font-size: .9rem; }

.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.detail-card { padding: 26px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.detail-card .number { display: block; margin-bottom: 14px; color: var(--brick); font-size: .82rem; font-weight: 900; letter-spacing: .08em; }
.detail-card p { margin-top: 11px; color: var(--muted); }

.image-band { min-height: 340px; display: grid; place-items: center; position: relative; isolation: isolate; color: white; text-align: center; }
.image-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 75% 25%, rgba(214, 163, 58, .22), transparent 30%), linear-gradient(135deg, #1d2b33, #415560); }
.image-band .lede { color: rgba(255,255,255,.82); margin-left: auto; margin-right: auto; }

.quote-card { padding: 30px; border-left: 5px solid var(--gold); background: white; box-shadow: var(--shadow); }
.quote-card p { color: var(--muted); font-size: 1.08rem; }
.quote-card strong { display: block; margin-top: 14px; color: var(--brick); }

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(185, 93, 54, 0.1);
  color: var(--brick);
}

.project-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.project-tile {
  min-height: 210px;
  padding: 18px;
  display: flex;
  align-items: end;
  border-radius: 8px;
  color: white;
  background: linear-gradient(180deg, rgba(23, 33, 41, 0.1), rgba(23, 33, 41, 0.72)), url("../images/interior-renovation.png") center / cover;
}

.project-tile:nth-child(2) {
  background-image: linear-gradient(180deg, rgba(23, 33, 41, 0.1), rgba(23, 33, 41, 0.72)), url("../images/hero-renovation.png");
}

.project-tile:nth-child(3) {
  background-position: 35% center;
}

.project-tile:nth-child(4) {
  background-position: 72% center;
}

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

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

form {
  display: grid;
  gap: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 6px;
  color: var(--steel);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

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

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 8px;
  margin-top: 22px;
}

.site-footer {
  padding: 40px 0;
  color: white;
  background: #172129;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
}

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  margin: 7px 0;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.mobile-toggle {
  display: none;
}

@media (max-width: 900px) {
  .nav {
    min-height: 66px;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: white;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(12, 18, 23, 0.78), rgba(12, 18, 23, 0.32) 48%, rgba(12, 18, 23, 0.76)),
      url("../images/hero-renovation.png") center / cover;
  }

  .split,
  .content-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split .soft-image {
    min-height: 340px;
    height: auto;
  }

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

  .service-list,
  .stats {
    grid-template-columns: 1fr;
  }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .band-layout { align-items: flex-start; flex-direction: column; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .media-card:nth-child(n) { transform: none; }
}

@media (max-width: 600px) {
  .nav {
    width: min(100% - 24px, 1180px);
    min-height: 62px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    transform: scale(.88);
  }

  .nav-links {
    top: 62px;
    left: 12px;
    right: 12px;
  }

  .hero {
    min-height: 560px;
    align-items: center;
    text-align: center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(12, 18, 23, .9) 0%, rgba(12, 18, 23, .72) 38%, rgba(12, 18, 23, .25) 70%, rgba(12, 18, 23, .48) 100%),
      url("../images/hero-renovation.png") 58% center / cover;
  }

  .section {
    padding: 58px 0;
  }

  .hero-inner {
    padding: 24px 0;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
    font-size: .72rem;
    letter-spacing: .08em;
  }

  .hero h1 {
    max-width: 11ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.55rem, 10.5vw, 3.15rem);
    line-height: .96;
    letter-spacing: -.045em;
  }

  .hero-copy {
    max-width: 34rem;
    margin: 17px auto 24px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .page-hero {
    padding: 58px 0 40px;
  }

  .page-hero h1 {
    font-size: clamp(2.65rem, 11vw, 3.35rem);
    line-height: .98;
    letter-spacing: -.04em;
  }

  .page-hero .lede {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .page-hero .eyebrow {
    margin-bottom: 11px;
    font-size: .72rem;
    letter-spacing: .08em;
  }

  .grid,
  .project-strip,
  .process-grid,
  .gallery-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 360px;
  }

  .scene {
    width: 430px;
    height: 320px;
    transform: scale(0.72) rotateX(58deg) rotateZ(-31deg);
  }
}
