:root {
  --ink: #191512;
  --muted: #74675d;
  --paper: #f7f0e6;
  --paper-2: #fffaf2;
  --clay: #bd6541;
  --wine: #6f342c;
  --sage: #78846d;
  --stone: #ddd1c1;
  --night: #161311;
  --shadow: 0 24px 80px rgba(48, 35, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Inter, system-ui, sans-serif;
  line-height: 1.55;
}

body.nav-locked {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 22px;
  left: clamp(16px, 4vw, 56px);
  right: clamp(16px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  color: #fff;
  pointer-events: none;
}

.brand,
.nav-toggle,
.header-cta {
  pointer-events: auto;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.88);
  border-radius: 999px;
  box-shadow: 0 12px 42px rgba(30, 20, 14, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand strong {
  font-size: 17px;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.nav-toggle,
.header-cta {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 12px 42px rgba(30, 20, 14, 0.12);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font: 800 12px/1 Manrope, sans-serif;
  text-transform: uppercase;
}

.header-cta {
  display: inline-flex;
  align-items: center;
}

.nav-toggle[aria-expanded="true"] {
  color: #fff;
  background: var(--clay);
}

.main-nav {
  position: fixed;
  z-index: -1;
  inset: -22px calc(clamp(16px, 4vw, 56px) * -1);
  display: grid;
  place-items: center;
  padding: 110px 24px 42px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(22, 19, 17, 0.96), rgba(111, 52, 44, 0.92)),
    var(--night);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  pointer-events: auto;
}

.main-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-panel {
  display: grid;
  width: min(880px, 100%);
  gap: 10px;
}

.nav-panel p {
  margin: 0 0 14px;
  color: #e5b99b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-panel a {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(48px, 9vw, 118px);
  line-height: 0.86;
  color: rgba(255, 255, 255, 0.86);
}

.nav-panel a:hover {
  color: #ffd4b8;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 17, 14, 0.82), rgba(20, 17, 14, 0.18) 60%),
    linear-gradient(0deg, rgba(20, 17, 14, 0.64), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100vh;
  width: min(1060px, 100%);
  flex-direction: column;
  justify-content: flex-end;
  padding: 150px clamp(20px, 6vw, 82px) 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd0ad;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(60px, 10.5vw, 152px);
  line-height: 0.84;
}

h2 {
  max-width: 980px;
  font-size: clamp(48px, 7.4vw, 116px);
  line-height: 0.86;
}

h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.04;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 900 12px/1 Manrope, sans-serif;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--clay);
}

.btn-primary:hover {
  background: var(--wine);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.9);
}

.trust-row {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.trust-row span {
  padding: 8px 0;
}

.trust-row span + span::before {
  content: "/";
  margin-right: 12px;
  color: #ffd0ad;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}

.intro p:last-child,
.split p,
.contact-copy p,
.service-card p,
.faq p {
  color: var(--muted);
}

.intro p:last-child {
  max-width: 520px;
  font-size: 19px;
}

.stats-band {
  display: flex;
  width: min(1160px, calc(100% - 40px));
  margin: -20px auto 0;
  padding-bottom: 100px;
  gap: 16px;
}

.stats-band div {
  flex: 1;
  min-height: 160px;
  padding: 28px;
  border-radius: 28px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.72);
  box-shadow: var(--shadow);
}

.stats-band div:nth-child(even) {
  margin-top: 42px;
  background: var(--stone);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  color: var(--wine);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.8;
}

.stats-band span {
  margin-top: 20px;
  font-weight: 800;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 46px;
}

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

.service-card {
  min-height: 300px;
  padding: 34px;
  border-radius: 34px;
  background: rgba(255, 250, 242, 0.7);
  box-shadow: var(--shadow);
}

.service-card:nth-child(2) {
  background: #ded3c5;
}

.service-card:nth-child(3) {
  background: #d5dccb;
}

.service-card span {
  display: inline-flex;
  margin-bottom: 64px;
  color: var(--wine);
  font-weight: 900;
}

.service-card p {
  margin-top: 18px;
  font-size: 18px;
}

.work-section {
  background: var(--night);
  color: #fff;
}

.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
}

.work-heading .eyebrow,
.contact-copy .eyebrow {
  color: #ffd0ad;
}

.text-link {
  color: #ffd0ad;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 118px;
}

.project-tile {
  position: relative;
  display: grid;
  min-height: 430px;
  align-content: end;
  overflow: hidden;
  isolation: isolate;
  border-radius: 34px;
}

.tile-large {
  grid-row: span 2;
  min-height: 720px;
}

.tile-visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform 0.35s ease;
}

.project-tile:hover .tile-visual {
  transform: scale(1.04);
}

.project-tile::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(12, 10, 9, 0.78), transparent 62%);
}

.visual-kitchen {
  background-image: url("assets/hero-renovation.svg");
}

.visual-bath {
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.22), rgba(62, 72, 74, 0.48)),
    repeating-linear-gradient(90deg, #ded7cc 0 36px, #f9f2e6 36px 40px);
}

.visual-office {
  background:
    linear-gradient(135deg, rgba(120, 132, 109, 0.46), rgba(24, 20, 17, 0.18)),
    repeating-linear-gradient(0deg, #5b4033 0 12px, #c5946e 12px 25px);
}

.project-tile div:last-child {
  padding: clamp(24px, 4vw, 42px);
}

.project-tile span {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffd0ad;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 8vw, 96px);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline div {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
}

.timeline strong {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: var(--sage);
  border-radius: 50%;
  font-weight: 900;
}

.timeline span {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
}

.quote-band {
  padding: 112px clamp(20px, 8vw, 120px);
  color: var(--wine);
  background: #ddd1c1;
}

.quote-band blockquote {
  max-width: 1040px;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(44px, 7vw, 112px);
  font-weight: 400;
  line-height: 0.84;
}

.quote-band span {
  display: block;
  margin-top: 28px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.faq {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

details {
  padding: 24px 28px;
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.64);
  box-shadow: 0 18px 70px rgba(41, 30, 22, 0.1);
}

summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 7vw, 86px);
  padding: 118px clamp(20px, 6vw, 84px);
  color: #fff;
  background: linear-gradient(135deg, #171311, #3f2c24);
}

.contact-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  font-size: 13px;
  font-weight: 900;
}

.contact-links a {
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 12px 14px;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  color: var(--ink);
  border-radius: 34px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.lead-form label:nth-child(3),
.lead-form label:nth-child(4),
.lead-form button,
.form-note {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 18px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(24, 20, 17, 0.08);
  font: 600 16px/1.2 Manrope, sans-serif;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.68);
  background: #0f0d0b;
}

.site-footer p {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    top: 14px;
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    inset: -14px;
  }

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

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

  .stats-band div:nth-child(even) {
    margin-top: 0;
  }

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

  .tile-large {
    grid-row: auto;
    min-height: 540px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 8px;
  }

  .brand {
    padding: 10px 12px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero,
  .hero-content {
    min-height: 94vh;
  }

  .hero-content {
    padding: 108px 18px 34px;
  }

  h1 {
    font-size: 55px;
  }

  h2 {
    font-size: 48px;
  }

  .section {
    width: min(100% - 32px, 1160px);
    padding: 78px 0;
  }

  .stats-band {
    width: min(100% - 32px, 1160px);
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }

  .service-card,
  details,
  .lead-form {
    border-radius: 24px;
  }

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

  .project-gallery {
    width: min(100% - 32px, 1160px);
    padding-bottom: 78px;
  }

  .project-tile,
  .tile-large {
    min-height: 420px;
    border-radius: 24px;
  }

  .timeline div {
    grid-template-columns: 56px 1fr;
  }

  .timeline strong {
    width: 44px;
    height: 44px;
  }

  .timeline span,
  summary {
    font-size: 20px;
  }

  .quote-band {
    padding: 78px 18px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .lead-form label:nth-child(3),
  .lead-form label:nth-child(4),
  .lead-form button,
  .form-note {
    grid-column: auto;
  }
}
