:root {
  --ink: #1d221d;
  --cream: #f3efe7;
  --paper: #fbf9f4;
  --sage: #bfc5b4;
  --olive: #4c5546;
  --clay: #b56f50;
  --line: rgba(29,34,29,.15);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.demo-bar {
  padding: 9px 20px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: .03em;
}

.site-header {
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand span:last-child { display: grid; gap: 2px; }
.brand strong { font-family: "Fraunces", serif; font-size: 18px; }
.brand small { font-size: 11px; opacity: .65; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 600 12px "Fraunces", serif;
}

nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
nav a:hover { opacity: .65; }
.nav-cta { padding: 11px 17px; border: 1px solid var(--ink); border-radius: 999px; }
.menu-toggle { display: none; }

.hero {
  min-height: 690px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 55px 28px 80px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: 11px;
  opacity: .58;
}

h1, h2, h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(54px, 6.2vw, 92px);
  line-height: .94;
  letter-spacing: -.045em;
}
h1 em { color: var(--clay); font-style: italic; }

.intro {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(29,34,29,.76);
}

.hero-actions { display: flex; gap: 12px; margin: 34px 0 30px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.primary { background: var(--ink); color: #fff; }
.ghost { background: transparent; }

.trust-row { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; opacity: .65; }

.hero-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.8), transparent 28%),
    var(--sage);
  border-radius: 42% 42% 30% 30% / 30% 30% 40% 40%;
  position: relative;
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  right: -80px;
  top: -70px;
}
.plaster-card {
  width: 72%;
  aspect-ratio: .85;
  background: #ded6c8;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(29,34,29,.15);
  transform: rotate(2.5deg);
}
.wall { position: absolute; inset: 0; }
.wall-one {
  background:
    linear-gradient(115deg, transparent 45%, rgba(255,255,255,.24) 46% 48%, transparent 49%),
    linear-gradient(25deg, #d7cbb9, #efe8dc);
}
.wall-two {
  inset: auto 0 0;
  height: 36%;
  background: var(--olive);
  clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
}
.trowel {
  position: absolute;
  top: 28%;
  left: 22%;
  width: 55%;
  height: 32%;
  transform: rotate(-17deg);
}
.blade {
  position: absolute;
  width: 100%;
  height: 42%;
  top: 35%;
  background: #eeeeea;
  border: 1px solid rgba(29,34,29,.2);
  clip-path: polygon(8% 0, 100% 6%, 92% 100%, 0 88%);
}
.handle {
  position: absolute;
  width: 28%;
  height: 18%;
  left: 40%;
  top: 20%;
  background: var(--clay);
  border-radius: 8px;
  box-shadow: 0 10px 0 -4px #39382f;
}
.plaster-card p {
  position: absolute;
  left: 26px;
  bottom: 18px;
  color: white;
  font: 500 26px/1.05 "Fraunces", serif;
}

.proof-strip {
  padding: 19px 28px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.proof-strip p { margin: 0; }
.proof-strip span { opacity: .25; }

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 120px 28px;
}

.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading h2, .about h2, .quote-section h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card.featured { background: var(--olive); color: #fff; }
.number {
  margin-bottom: auto;
  font: 500 12px "DM Sans";
  opacity: .55;
}
.card h3 { font-size: 32px; margin-bottom: 10px; }
.card p { margin: 0; line-height: 1.6; opacity: .72; }

.work-section {
  padding: 115px max(28px, calc((100vw - 1164px) / 2));
  background: var(--ink);
  color: #fff;
}
.light .eyebrow { color: var(--sage); opacity: 1; }
.project-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.project { border-radius: var(--radius); overflow: hidden; background: #2c322c; }
.project-large { grid-row: span 2; }
.project-art { min-height: 280px; position: relative; overflow: hidden; }
.project-large .project-art { min-height: 600px; }
.art-1 { background: linear-gradient(130deg, #d7cabc 20%, #b4977d 100%); }
.art-2 { background: linear-gradient(150deg, #dbd0c2, #a98d73); }
.art-3 { background: linear-gradient(120deg, #c9c1b6, #e9e2d8); }
.ceiling-line {
  position: absolute; left: 0; top: 15%; width: 100%; height: 7px;
  background: rgba(255,255,255,.35);
  transform: rotate(-2deg);
}
.window {
  position: absolute; width: 38%; height: 46%; right: 12%; top: 21%;
  background: #e7ece5; border: 12px solid #eee8dc;
  box-shadow: 0 25px 45px rgba(0,0,0,.12);
}
.arch {
  position: absolute; width: 60%; height: 75%; left: 20%; bottom: -15%;
  border-radius: 100px 100px 0 0;
  border: 24px solid rgba(255,255,255,.42);
}
.repair-patch {
  position: absolute; inset: 16% 18%;
  background: rgba(255,255,255,.28);
  border-radius: 42% 58% 47% 53% / 48% 35% 65% 52%;
  filter: blur(1px);
}
.project-caption {
  padding: 20px 22px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}
.project-caption span { opacity: .55; }

.about {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 90px;
  align-items: start;
}
.about-copy { font-size: 18px; line-height: 1.75; color: rgba(29,34,29,.74); }
.about-copy p:first-child { margin-top: 36px; }

.quote-section {
  max-width: 1164px;
  margin: 0 auto 70px;
  padding: 70px;
  background: var(--cream);
  border-radius: 36px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
}
.quote-section > div > p:last-child { line-height: 1.7; opacity: .7; }

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label { display: grid; gap: 8px; font-size: 12px; font-weight: 700; }
.optional { font-weight: 400; opacity: .55; }
input, textarea, select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  outline: none;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--olive); }
textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-note { margin: 0; font-size: 11px; opacity: .62; line-height: 1.5; }
.form-note.success { color: #245b31; opacity: 1; font-weight: 700; }
.form-note.error { color: #8a2f29; opacity: 1; font-weight: 700; }

footer {
  max-width: 1220px;
  margin: 0 auto;
  padding: 30px 28px 55px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 12px;
  opacity: .75;
}

@media (max-width: 820px) {
  .site-header { padding: 20px; }
  .menu-toggle {
    display: block;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 999px;
    padding: 9px 14px;
  }
  nav {
    display: none;
    position: absolute;
    z-index: 10;
    top: 96px;
    left: 20px;
    right: 20px;
    padding: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.1);
    flex-direction: column;
    align-items: stretch;
  }
  nav.open { display: flex; }

  .hero { grid-template-columns: 1fr; padding: 55px 20px 65px; gap: 40px; }
  h1 { font-size: clamp(50px, 15vw, 76px); }
  .hero-visual { min-height: 430px; }

  .section { padding: 85px 20px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 235px; }

  .work-section { padding: 85px 20px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-large { grid-row: auto; }
  .project-large .project-art { min-height: 390px; }

  .about { grid-template-columns: 1fr; gap: 20px; }
  .about-copy p:first-child { margin-top: 0; }

  .quote-section {
    margin: 0 20px 55px;
    padding: 42px 24px;
    grid-template-columns: 1fr;
    gap: 42px;
  }
  form { grid-template-columns: 1fr; }

  footer { margin: 0 20px; padding-left: 0; padding-right: 0; flex-direction: column; align-items: flex-start; }
}

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


/* --- V6 motion layer --- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.hero-enter {
  animation: heroRise .8s cubic-bezier(.2,.7,.2,1) both;
}

.hero-enter-delay {
  animation-delay: .13s;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s cubic-bezier(.2,.7,.2,1),
    transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible,
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }

.interactive-button {
  gap: 10px;
  overflow: hidden;
  will-change: transform;
}

.button-arrow {
  display: inline-block;
  transition: transform .22s ease;
}

.interactive-button:hover .button-arrow {
  transform: translate(3px, -2px);
}

.card {
  position: relative;
  overflow: hidden;
  transition:
    transform .3s cubic-bezier(.2,.7,.2,1),
    border-color .3s ease,
    box-shadow .3s ease;
}

.card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: var(--spot-x, 50%);
  top: var(--spot-y, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,.30), transparent 66%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.card:not(.featured)::after {
  background: radial-gradient(circle, rgba(181,111,80,.12), transparent 66%);
}

.project-art {
  transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}

.project-caption {
  transition: padding-left .25s ease, padding-right .25s ease;
}

.plaster-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .25s ease-out;
}

.plaster-card .trowel,
.plaster-card p {
  transform: translateZ(18px);
}

.nav-cta {
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-7px);
    border-color: rgba(29,34,29,.25);
    box-shadow: 0 20px 38px rgba(29,34,29,.08);
  }

  .card.featured:hover {
    box-shadow: 0 20px 38px rgba(29,34,29,.18);
  }

  .card:hover::after {
    opacity: 1;
  }

  .project:hover .project-art {
    transform: scale(1.025);
    filter: saturate(1.04);
  }

  .project:hover .project-caption {
    padding-left: 27px;
    padding-right: 27px;
  }

  .nav-cta:hover {
    opacity: 1;
    background: var(--ink);
    color: #fff;
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }

  .hero-enter {
    animation: none;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .interactive-button,
  .button-arrow,
  .card,
  .project-art,
  .project-caption,
  .plaster-card,
  .nav-cta {
    transition: none !important;
    transform: none !important;
  }
}
