:root {
  --cream: #f8f5ec;
  --soft: #eeecd6;
  --sage: #c8c7bb;
  --taupe: #c0bcb0;
  --button: #b8a996;
  --dark-button: #888778;
  --ink: #66665a;
  --deep: #4f5048;
  --white: #fffdf7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

main { overflow: hidden; }

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

h2 {
  margin-bottom: 2.5rem;
  color: var(--deep);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}

h3 {
  margin-bottom: .45rem;
  color: var(--deep);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

a { color: inherit; }

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

.section-pad {
  padding: clamp(4.5rem, 8vw, 8rem) max(5vw, 1.25rem);
}

.eyebrow {
  margin-bottom: .55rem;
  font-size: .77rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow.light { color: var(--white); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.55rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}

.button:hover, .button:focus-visible {
  filter: brightness(.96);
  transform: translateY(-1px);
}

.button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.button-light { background: rgba(239, 235, 220, .9); color: #34342f; }
.button-taupe { background: var(--button); color: #34342f; }
.button-dark { background: var(--dark-button); color: var(--white); text-transform: uppercase; letter-spacing: .08em; }

.hero {
  position: relative;
  min-height: min(68vw, 720px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  color: var(--white);
}

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

.hero > img {
  object-fit: cover;
  object-position: center;
  filter: brightness(.84);
}
.hero-shade { background: linear-gradient(180deg, rgba(31, 28, 22, .04), rgba(31, 28, 22, .28)); }

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 92%);
  min-width: 0;
  max-width: 100%;
  padding-top: 9rem;
  text-align: center;
}

.hero h1 {
  margin: 0 auto 1.2rem;
  color: #efebdc;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.08;
  white-space: nowrap;
  text-shadow: 0 4px 12px rgba(36, 35, 31, .78);
}

.actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }

.brand-signature {
  width: min(770px, 78%);
  margin: 0 auto 1.15rem;
  padding: .55rem 0;
  border-top: 2px solid #efebdc;
  border-bottom: 2px solid #efebdc;
  color: #efebdc;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.25;
  text-transform: uppercase;
}

.contact-dialog {
  width: min(520px, calc(100% - 2rem));
  padding: 2.4rem 2rem 2rem;
  border: 0;
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(31, 28, 22, .35);
  text-align: center;
}

.contact-dialog::backdrop { background: rgba(31, 28, 22, .58); }
.dialog-close-form { position: absolute; top: .65rem; right: .75rem; margin: 0; }
.dialog-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--deep);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-brand {
  margin-bottom: 1.2rem;
  color: var(--deep);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.contact-dialog h2 { margin-bottom: 1rem; font-size: clamp(1.65rem, 5vw, 2.25rem); }
.contact-dialog > p:not(.dialog-brand):not(.dialog-contact-detail):not(.copy-status) { margin-bottom: 1.4rem; }
.dialog-action { min-width: 220px; }
.dialog-contact-detail { margin: 1.1rem 0 .7rem; font-size: .9rem; overflow-wrap: anywhere; }
.copy-contact {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--deep);
  font-family: inherit;
  font-size: .82rem;
  cursor: pointer;
}
.copy-status { min-height: 1.5em; margin: .65rem 0 0; color: var(--deep); font-size: .8rem; }

.statement {
  min-height: 570px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--sage);
  text-align: center;
}

.statement h2 { color: var(--white); font-size: clamp(2.2rem, 4.8vw, 4rem); margin-bottom: 2.3rem; }

.intro { background: var(--cream); text-align: center; }
.intro-images { width: min(680px, 100%); margin: 0 auto 2.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.intro-images img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.service-area { margin: 0; font-weight: 600; }

.services { background: var(--soft); }
.card-grid { width: min(1220px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card, .process-card { text-align: center; }
.service-card img, .process-card img { width: 100%; aspect-ratio: 1.25; object-fit: cover; margin-bottom: 1.2rem; }
.service-card p:last-child, .process-card p:last-child { margin: 0; }

.process { background: var(--cream); }
.process-card img { aspect-ratio: 1.2; }

.why {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(480px, 1.28fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  background: var(--soft);
}

.why-copy { max-width: 470px; justify-self: end; }
.why h2 { margin-bottom: 1.5rem; text-align: left; }
.why-copy > p { margin-bottom: 2rem; font-weight: 500; }
.why > img { width: 100%; max-height: 620px; object-fit: cover; }

.standards { background: var(--cream); }
.standards-grid { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem; }
.standards h3 { font-size: .9rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

.contact {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  background: var(--taupe);
}

.contact-visual { max-width: 880px; justify-self: end; width: 100%; }
.contact-visual img { width: 100%; max-height: 620px; object-fit: cover; }
.contact-copy { max-width: 430px; }
.contact h2 { margin-bottom: 1.2rem; text-align: left; font-size: clamp(1.8rem, 3vw, 3rem); }
.contact h3 { margin: 1.6rem 0 .35rem; font-size: .95rem; font-weight: 500; text-transform: uppercase; }
.contact a { text-underline-offset: 3px; }
.contact-link {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

@media (max-width: 780px) {
  .desktop-only { display: none; }
  .section-pad { padding: 4.5rem 1.4rem; }
  h2 { margin-bottom: 2rem; font-size: 2rem; }
  .hero { min-height: 74vh; }
  .hero-content {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    padding-top: 15rem;
  }
  .hero h1 {
    width: 100%;
    margin: 0 auto 1.2rem;
    padding: 0 .6rem;
    font-size: clamp(.82rem, 4.45vw, 2.6rem);
    letter-spacing: -.055em;
    transform: none;
  }
  .hero .actions { width: 100%; }
  .hero .button { min-width: 135px; padding: .7rem 1rem; }
  .brand-signature { width: min(770px, 78%); margin-bottom: 1rem; font-size: .68rem; }
  .statement { min-height: 520px; }
  .statement h2 { max-width: 650px; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.35; }
  .card-grid, .standards-grid { grid-template-columns: 1fr; gap: 3.75rem; }
  .service-card, .process-card { max-width: 520px; margin: 0 auto; }
  .why { grid-template-columns: 1fr; }
  .why-copy { max-width: 600px; justify-self: center; }
  .why h2 { text-align: center; }
  .why > img { grid-row: 1; max-height: 440px; }
  .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-visual, .contact-copy { max-width: 620px; justify-self: center; }
}

@media (max-width: 480px) {
  .section-pad { padding: 3.8rem 1.15rem; }
  .hero { min-height: 560px; }
  .hero-content { padding-top: 15rem; }
  .hero .actions { gap: .55rem; }
  .hero .button { min-width: 130px; font-size: .77rem; }
  .statement { min-height: 510px; }
  .statement h2 { font-size: 2rem; line-height: 1.45; }
  .intro-images { gap: .65rem; }
  .why { padding-left: 1.4rem; padding-right: 1.4rem; }
  .contact h2 { font-size: 1.9rem; }
  .contact-dialog { padding: 2.2rem 1.25rem 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
