:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --ink: #25271e;
  --olive: #854835;
  --line: #d6d1c4;
  --serif: "Instrument Serif", "Baskervville", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans) }
a { color: inherit; text-underline-offset: .25em }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #9e642d; outline-offset: 5px }
.skip { position: fixed; top: 12px; left: 12px; transform: translateY(-200%); z-index: 3; background: white; padding: 12px }
.skip:focus { transform: none }
img { display: block; max-width: 100% }
figure, p, h1, h2, h3 { margin: 0 }
p + p { margin-top: 1em }
.top { min-height: 86px; padding: 12px max(5vw, 24px); display: flex; justify-content: space-between; align-items: center; gap: 22px; border-bottom: 1px solid var(--line) }
.brand { display: block; position: relative; width: 148px; flex-shrink: 0; overflow: hidden; mix-blend-mode: multiply }
.brand img { width: 100%; aspect-ratio: 3.18; object-fit: contain; animation: uncover .95s .1s both }
.brand::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--olive); opacity: 0; animation: logo-edge .95s .1s both }
@keyframes uncover { from { clip-path: inset(0 100% 0 0) } to { clip-path: inset(0) } }
@keyframes logo-edge { 0% { left: 0; opacity: 0 } 12% { opacity: 1 } 85% { opacity: 1 } 100% { left: 100%; opacity: 0 } }
.top nav, .footer div { display: flex; flex-wrap: wrap; gap: clamp(12px, 3vw, 42px) }
.top a, .footer a { text-decoration: none; font-size: .9rem }
.top a:hover, .footer a:hover { text-decoration: underline }
.header-contact { padding: 8px 17px; border: 1px solid var(--line); white-space: nowrap }
.hero, .wrap { width: min(90%, 1440px); margin: auto }
.hero { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(26px, 4vw, 72px); padding-block: clamp(45px, 6vw, 100px) }
.hero-copy > p:not(.eyebrow) { max-width: 340px; margin: 25px 0 }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .73rem; font-weight: 700; margin-bottom: 18px }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .94; letter-spacing: -.055em }
h1 { font-size: clamp(3.9rem, 7.2vw, 8.5rem) }
h2 { font-size: clamp(3.1rem, 5.8vw, 6.5rem) }
em { color: var(--olive); font-weight: inherit }
h3 { font-size: 1.18rem; line-height: 1.25; margin-bottom: 12px }
.button { display: inline-flex; align-items: center; gap: 20px; color: white; background: #292323; padding: 13px 19px; text-decoration: none; font-size: .9rem }
.button:hover { background: #593a30 }
.scene { position: relative; overflow: hidden; isolation: isolate }
.scene img { width: 100%; height: 100%; object-fit: fill }
.room { aspect-ratio: 1672 / 941; --paint: 100%; background: #d6bf9c }
.room-coat { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--paint)) 0 0) }
.room-coat div { position: absolute; inset: 0; background-size: 100% 100% }
.room-coat div {
  background-image: linear-gradient(#bc7660, #bc7660), url(assets/room.jpg);
  background-blend-mode: multiply;
  clip-path: inset(0 0 10% 0);
}
.roller { display: none; position: absolute; left: var(--paint); top: var(--roller-y, 25%); width: 15px; height: 23%; border-radius: 5px; background: linear-gradient(90deg,#7a4738,#bc7660 48%,#8e5544); transform: translate(-50%,-50%); box-shadow: 2px 1px 5px #24241955 }
.room.painting .roller { display: block }
.roller i { position: absolute; top: 90%; left: 65%; width: 17px; height: 17px; border-right: 2px solid #555751; border-bottom: 2px solid #555751; transform: rotate(-25deg) }
.roller i::after { content: ""; position: absolute; left: 100%; top: 90%; width: 6px; height: 20px; border-radius: 3px; background: #37382e }
figcaption { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: 12px; font-size: .78rem; color: #545447 }
button { font: inherit; color: inherit; cursor: pointer }
figcaption button { border: 0; padding: 4px 0; background: transparent; text-decoration: underline; text-underline-offset: .25em }
.services, .about { padding-block: clamp(48px, 8vw, 122px); border-top: 1px solid var(--line) }
.service-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 68px) }
.service-grid article { padding-top: 18px; border-top: 1px solid var(--line) }
.showroom { background: #eae5d8; padding-block: clamp(50px, 8vw, 114px) }
.show-grid, .about, .contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(28px, 6vw, 90px) }
.show-grid p:not(.eyebrow) { margin: 22px 0 }
.text-link { font-weight: 700; font-size: .9rem }
.about h3 { margin-top: 24px }
.contact { background: #292323; color: #f9f6ee; padding-block: clamp(48px, 8vw, 100px) }
.contact em { color: #edb5a0 }
.contact .button { margin-top: 24px; background: #ece9dd; color: #25271e }
address { font-style: normal; justify-self: end }
.footer { padding-block: 24px; display: flex; justify-content: space-between; gap: 20px; font-size: .9rem }
.legal { width: min(90%, 720px); margin: 65px auto }
.legal h1 { font-size: clamp(3rem, 8vw, 6rem); margin: 28px 0 }
.legal h2 { font: 700 1.25rem/1.3 var(--sans); letter-spacing: normal; margin: 26px 0 8px }
@media (max-width: 760px) {
  .top { flex-wrap: wrap; gap: 10px; padding-block: 12px }
  .top nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 9px }
  .hero, .show-grid, .about, .contact-grid { grid-template-columns: 1fr }
  .service-grid { grid-template-columns: 1fr; margin-top: 26px }
  address { justify-self: start }
  .footer { flex-direction: column }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .brand img, .brand::after { animation: none }
  .room.painting .roller { display: none }
}

/* V9 architecture animation and editorial page layouts */
.intro, .subhero, .content-block { padding-block: clamp(38px, 6vw, 92px) }
.intro, .subhero, .two { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 5vw, 80px) }
.intro h1 { font-size: clamp(3.2rem, 6.2vw, 7rem) }
.intro .button, .subhero .button, .content-block .button { margin-top: 20px }
.intro p:not(.eyebrow), .subhero p:not(.eyebrow) { max-width: 460px }
.subhero h1 { font-size: clamp(3rem, 5.3vw, 6rem); margin-bottom: 20px; overflow-wrap: anywhere }
.subhero img { width: 100%; aspect-ratio: 3/2; object-fit: cover }
.transformation { position: relative; height: calc(100svh + 105vw); max-height: 270svh }
.stage { position: sticky; top: 0; width: 100%; height: min(100svh, 66.667vw); isolation: isolate; background: #d2d3d5; contain: layout paint }
.house-canvas, .house-canvas svg { display: block; width: 100%; height: 100% }
.stage::after { position: absolute; inset: auto 0 0; height: 24%; background: linear-gradient(transparent, #161b17a8); content: ""; pointer-events: none }
.scene-label { position: absolute; z-index: 1; inset: auto 5% 14px; display: flex; justify-content: space-between; color: white; font-size: .8rem }
.content-block { border-top: 1px solid var(--line) }
.content-block h2 { font-size: clamp(2.3rem, 4vw, 4.5rem); margin-bottom: 18px }
.content-block h1 + p { margin-top: 20px }
.content-block .text-link { display: inline-block; margin-top: 16px }
.premium-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 36px }
.service-card { display: block; border-bottom: 1px solid var(--line); text-decoration: none }
.service-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover }
.service-card > div { padding: 16px 0 19px }
.service-card h3 { display: flex; justify-content: space-between; margin-bottom: 5px }
.service-card:hover h3 { text-decoration: underline }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); padding-left: 1.4em; margin-top: 30px; gap: 28px }
.steps li { padding: 10px 0 10px 5px }
.faq details { border-top: 1px solid var(--line); padding: 12px 0 }
.faq summary { cursor: pointer; font-weight: bold }
.faq details p { margin: 8px 0 0 }
.project-house svg { display: block; width: 100%; height: auto; aspect-ratio: 3/2 }
.accessible-comparison { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px }
.accessible-comparison input { min-width: 95px; flex: 1; accent-color: var(--olive) }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
@media(max-width:760px) {
  .intro, .subhero, .two { grid-template-columns: 1fr }
  .premium-cards, .steps { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .transformation { height: calc(66.667vw + 70svh) }
  .stage { top: 0 }
}
@media(max-width:460px) {
  .intro h1 { font-size: clamp(2.7rem, 10.5vw, 3.4rem) }
  .premium-cards { grid-template-columns: 1fr }
}
@media(prefers-reduced-motion:reduce) {
  .transformation { height: auto }
  .stage { position: relative }
  .scene-label span { display: none }
}
.stage { max-width: 182svh; margin-inline: auto }
.reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 24px }
.reference-grid a { display: block }
.reference-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover }
@media (max-width: 460px) {
  .reference-grid { grid-template-columns: 1fr }
}

.top { position: relative; z-index: 4; background: #f5f2eb }
.top nav { align-items: center }
.nav-services summary { list-style: none; cursor: pointer; font-size: .9rem; padding: .45rem 0 }
.nav-services summary::-webkit-details-marker { display: none }
.nav-services summary::after { content: "＋"; color: #854835; margin-left: .4em }
.nav-services[open] summary::after { content: "−" }
.nav-panel {
  position: absolute;
  inset: 100% 5% auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 18px;
  background: #292323;
  color: #f5f2eb;
  box-shadow: 0 20px 50px #251a1626;
  animation: panel-in 220ms ease-out both;
}
.nav-panel a { padding: .8rem 1rem; border-bottom: 1px solid #ffffff38 }
.nav-panel a:hover { background: #ffffff12 }
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: none } }
.studio { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(220px, 1fr); margin-top: 36px; background: #292323; color: #f5f2eb }
.studio-visual { position: relative; aspect-ratio: 16/10; overflow: hidden; isolation: isolate; background: #b6a695 }
.studio-scene, .studio-scene img, .demo-finish { position: absolute; inset: 0; width: 100%; height: 100% }
.studio-scene img { object-fit: fill }
.studio-label { position: absolute; inset: auto auto 12px 12px; background: #292323; padding: 4px 10px; font-size: .78rem }
.studio-controls { align-self: center; padding: clamp(18px, 3vw, 48px) }
.studio-controls button { display: flex; width: 100%; justify-content: space-between; gap: 10px; padding: 13px 0; border: 0; border-bottom: 1px solid #ffffff55; background: transparent; text-align: left; font: 400 clamp(1.2rem, 2.3vw, 2rem)/1.15 var(--serif) }
.studio-controls button[aria-pressed="true"] { color: #edb5a0 }
.studio-controls .text-link { display: inline-block; margin-top: 24px }
.service-index { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-block: 20px; border-bottom: 1px solid var(--line); font-size: .9rem }
[data-demo="paint"] .demo-finish { height: 90%; background: #bc7660; mix-blend-mode: multiply }
[data-demo="plaster"] img { filter: blur(3px) contrast(.72) }
[data-demo="plaster"] .demo-finish { background: url('/assets/spachtel.jpg') center / 100% 100%; }
[data-demo="paper"] img { filter: saturate(.6) contrast(.85) }
[data-demo="paper"] .demo-finish { display: flex; }
[data-demo="paper"] i { flex: 1; background: url('/assets/tape.jpg') 0 center / 300% 100%; }
[data-demo="paper"] i:nth-child(2) { background-position: 50% center; --delay: 180ms }
[data-demo="paper"] i:nth-child(3) { background-position: 100% center; --delay: 360ms }
.studio.is-playing [data-demo="paint"] .demo-finish { animation: paint-demo 1250ms cubic-bezier(.45,.03,.19,1) both }
.studio.is-playing [data-demo="plaster"] .demo-finish { animation: plaster-demo 1350ms cubic-bezier(.45,.03,.19,1) both }
.studio.is-playing [data-demo="paper"] i { animation: unroll 950ms var(--delay, 0ms) cubic-bezier(.45,.03,.19,1) both }
@keyframes paint-demo { from { clip-path: inset(0 100% 0 0) } to { clip-path: inset(0) } }
@keyframes plaster-demo { from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%) } to { clip-path: polygon(0 0, 110% 0, 100% 100%, 0 100%) } }
@keyframes unroll { from { clip-path: inset(0 0 100% 0) } to { clip-path: inset(0) } }
@media(max-width:700px) {
  .studio { grid-template-columns: 1fr }
  .nav-panel { grid-template-columns: repeat(2,minmax(0,1fr)); inset-inline: 12px }
}
@media(prefers-reduced-motion:reduce) {
  .nav-panel, .studio.is-playing .demo-finish, .studio.is-playing [data-demo="paper"] i { animation: none !important }
}
[data-demo="plaster"]::after {
  content: "";
  position: absolute;
  top: 36%;
  left: 0;
  width: 14%;
  height: 10%;
  border-radius: 4px 4px 24% 24%;
  background: linear-gradient(155deg,#e9e3dd,#8c8480 60%,#595350);
  box-shadow: 0 4px 9px #211a1760;
  opacity: 0;
  transform: rotate(-16deg);
}
.studio.is-playing [data-demo="plaster"]::after { animation: trowel 1350ms cubic-bezier(.45,.03,.19,1) both }
@keyframes trowel {
  0% { left: -15%; top: 65%; opacity: 0 }
  12% { opacity: 1 }
  82% { opacity: 1 }
  100% { left: 100%; top: 25%; opacity: 0 }
}
@media(prefers-reduced-motion:reduce) {
  .studio.is-playing [data-demo="plaster"]::after { animation: none }
}
[data-demo="paper"] i { position: relative }
[data-demo="paper"] i::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100%;
  background: linear-gradient(to bottom,transparent 91%,#21191485 98%,#f1e5d3 100%);
  opacity: 0;
}
.studio.is-playing [data-demo="paper"] i::after { animation: paper-edge 950ms var(--delay, 0ms) cubic-bezier(.45,.03,.19,1) both }
@keyframes paper-edge {
  0% { transform: translateY(-100%); opacity: 0 }
  12%, 84% { opacity: 1 }
  100% { transform: none; opacity: 0 }
}
@media(prefers-reduced-motion:reduce) {
  .studio.is-playing [data-demo="paper"] i::after { animation: none }
}
