/* Shared finishing details for the public site. Keep the hero imagery untouched. */
:root{--polish-radius:18px}
body{font-family:'DM Sans','Open Sans',Arial,sans-serif}
h1,h2,h3{font-family:Oswald,'Arial Narrow',Arial,sans-serif;letter-spacing:-.025em;text-wrap:balance}
h1,h2{font-weight:600;line-height:1.02}
.eyebrow{font-family:'DM Sans',Arial,sans-serif;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.hero-copy h1,.service-hero h1,.builders-hero h1,.commercial-hero h1,.designer-heading h1{text-shadow:0 3px 16px rgba(0,0,0,.28)}
.hero-copy h1 em,h2 em{color:var(--gold,#d6ad58)}
.button,.text-link,.tool-button,.tool-actions button,.tool-actions a{transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,transform .2s}
.button{border-radius:999px}
.button:hover,.tool-button:hover,.tool-actions button:hover,.tool-actions a:hover{transform:translateY(-2px)}
.button:focus-visible,.text-link:focus-visible,.main-nav a:focus-visible,.main-nav summary:focus-visible{outline:2px solid var(--gold,#d6ad58);outline-offset:3px}
.original-hero .hero-copy,.solutions .section-heading,.solutions .solution-card,.audience-card,.process,.about,.contact,
body.floating-page .service-hero .hero-copy,body.floating-page .builders-hero .hero-copy,body.floating-page .commercial-hero .hero-copy,
.service-cta,.floor-designer-promo,.contact-form,.commercial-grid figure,.visualizer,.finish-panel{border-radius:var(--polish-radius)}
.solutions .solution-card,.floor-designer-promo,.visualizer{overflow:hidden}
.contact-form input,.contact-form select,.contact-form textarea{border-radius:10px}
.scene-caption,.finish-card,.finish-card img,.finish-swatch,.tool-button,.tool-actions button,.tool-actions a{border-radius:12px}
.scene-caption{box-shadow:0 6px 18px rgba(0,0,0,.18)}
.original-hero .hero-copy .actions{align-items:center;gap:12px 14px}
.original-hero .floor-design-cta{background:linear-gradient(125deg,#e5c477,#c4943d);border-color:#f1d796;box-shadow:0 8px 26px rgba(0,0,0,.3),0 0 0 3px rgba(214,173,88,.15);color:#12110e;font-size:14px;letter-spacing:.025em;padding:17px 26px}
.original-hero .floor-design-cta:hover{background:linear-gradient(125deg,#f1d796,#d8ad59);box-shadow:0 12px 30px rgba(0,0,0,.34),0 0 0 5px rgba(214,173,88,.21)}
.original-hero .floor-design-cta span{font-size:18px;margin-left:8px}
.original-hero .hero-contact-link{border-bottom:1px solid rgba(241,240,235,.6);color:var(--paper);font-size:12px;font-weight:700;letter-spacing:.02em;margin-left:4px;padding:5px 0}
.original-hero .hero-contact-link:hover{border-color:var(--gold,#d6ad58);color:var(--gold,#d6ad58)}
.floor-designer-promo .button-primary,.flooring-overview .service-hero .button-primary{box-shadow:0 7px 22px rgba(214,173,88,.22);font-size:14px;padding:17px 26px}
.floor-designer-promo h2{font-size:clamp(36px,4vw,58px);line-height:1.05}
@media(max-width:600px){.original-hero .hero-copy .actions{align-items:flex-start;flex-direction:column}.original-hero .floor-design-cta{font-size:13px}}
@media(prefers-reduced-motion:reduce){.button,.text-link,.tool-button,.tool-actions button,.tool-actions a{transition:none}.button:hover,.tool-button:hover,.tool-actions button:hover,.tool-actions a:hover{transform:none}}

/* On phones the photography and type share a continuous page. */
@media (max-width: 600px) {
  body:is(.floating-page, :has(.original-hero)) > .site-header {
    background: linear-gradient(#08090aeb, #08090a99 72%, transparent) !important;
    gap: 4px;
  }
  body:is(.floating-page, :has(.original-hero)) > .site-header :is(.main-nav, .phone-link) {
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  body:is(.floating-page, :has(.original-hero)) > .site-header .main-nav {
    gap: 0 12px;
    padding: 0;
    justify-content: flex-start;
  }
  body:is(.floating-page, :has(.original-hero)) > .site-header .services-menu {width: auto}
  body:is(.floating-page, :has(.original-hero)) > .site-header .main-nav :is(summary, a) {
    min-height: 44px;
    align-content: center;
  }
  body .original-hero, body.floating-page :is(.service-hero, .commercial-hero, .builders-hero) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    position: relative;
    isolation: isolate;
    margin: 0;
    min-height: min(820px, 94svh);
    padding: 220px 6vw 36px !important;
  }
  body .original-hero::after, body.floating-page :is(.service-hero, .commercial-hero, .builders-hero)::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 0;
    pointer-events: none;
    background: linear-gradient(0deg, #0b0c0d 1%, #08090ae8 21%, #08090aaa 45%, transparent 73%);
    z-index: 1;
  }
  body .original-hero .hero-copy, body.floating-page :is(.service-hero, .commercial-hero, .builders-hero) .hero-copy {
    position: relative;
    z-index: 2;
    align-self: stretch;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .original-hero .hero-copy::after, .audience-card::after {display: none}
  .original-hero .hero-copy .actions {align-items: flex-start; gap: 8px}
  .original-hero .actions > a {width: auto; min-height: 44px; align-content: center}
  body .solutions, body .audience-grid {background: #0b0c0d; padding: 40px 6vw}
  body .solutions .section-heading, body .solutions .solution-card, body .audience-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent !important;
    padding: 0;
  }
  body .solutions .solution-grid {grid-template-columns: 1fr; gap: 24px}
  body .solutions .solution-card {
    display: grid;
    grid-template-columns: 34% 1fr;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid #383631;
    padding-bottom: 22px;
  }
  body .solutions .solution-card > img {width: 100%; height: 128px; border-radius: 8px}
  body .solutions .solution-card .card-body {min-height: 0; padding: 0}
  body .solutions .solution-card p {margin-bottom: 10px}
  body .audience-grid {gap: 32px}
  body .audience-card {min-height: 0; border-top: 1px solid #806734; padding-top: 24px}
  body :is(.process, .about, .contact), body.floating-page :is(.service-content, .service-cta, .audience-content, .audience-form-section) {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 52px 6vw;
  }
}

/* Size the lower homepage panels around their contents. */
body:has(.original-hero) main {
  --panel-width: min(88%, 1060px);
  --panel-space: clamp(24px, 3vw, 38px);
}
body:has(.original-hero) :is(.solutions, .audience-grid, .process, .about, .contact) {
  width: var(--panel-width);
  margin-inline: auto;
  margin-bottom: clamp(30px, 5vw, 64px);
}
body:has(.original-hero) :is(.solutions, .audience-grid) {
  background: transparent;
  padding: 0;
}
body:has(.original-hero) .solutions {margin-top: clamp(32px, 5vw, 68px)}
body:has(.original-hero) .solutions .card-body {
  min-height: 0;
  flex: initial;
  padding: 16px;
}
body:has(.original-hero) .solution-card p {margin-bottom: 12px}
body:has(.original-hero) .audience-grid {align-items: start}
body:has(.original-hero) .audience-card {
  min-height: 0;
  padding: var(--panel-space);
}
body:has(.original-hero) :is(.process, .about, .contact) {padding: var(--panel-space)}
body:has(.original-hero) .about {max-width: 800px}
body:has(.original-hero) .contact {max-width: 850px}
body:has(.original-hero) .about .about-lower {margin-top: 20px; padding-top: 20px}
body:has(.original-hero) .process-sketch {margin-top: 18px}
@media (max-width: 600px) {
  body:has(.original-hero) main {--panel-width: 92%; --panel-space: 18px}
  body:has(.original-hero) .solutions {
    background: #101112 !important;
    border-radius: 16px;
    padding: 18px;
  }
  body:has(.original-hero) .solutions .card-body {padding: 0}
  body:has(.original-hero) .audience-card {
    background: #101112 !important;
    border-radius: 14px;
  }
  body:has(.original-hero) :is(.process, .about, .contact) {border-radius: 16px}
}

/* Keep the homepage photograph visible above the copy. */
.original-hero .hero-copy { width: min(100%, 650px); max-width: 650px; }
.original-hero .hero-copy .eyebrow { margin: 0 0 8px; }
.original-hero .hero-copy h1 { font-size: clamp(32px, 3.1vw, 45px); line-height: 1.04; }
.original-hero .hero-copy h1 em { display: inline; }
.original-hero .hero-copy .lede { max-width: 60ch; margin: 8px 0 12px; }
@media (min-width: 801px) {
  .original-hero .hero-copy { padding: 17px 24px; }
}

/* Polished gold face, beveled lip and a separate cast shadow. */
:root {
  --paint-gold:
    radial-gradient(ellipse 36% 85% at 29% -43%, #fff5cdb7, transparent 96%) padding-box,
    radial-gradient(ellipse 29% 170% at 103% 25%, #372918bc 6%, #45341d8c 42%, transparent 95%),
    linear-gradient(112deg, #866830 0%, #b68e40 13%, #e0c37e 31%, #b59750 53%, #c09a49 75%, #edcd80 99%) padding-box,
    linear-gradient(145deg, #fff3ba 2%, #946726 26%, #dcb058 48%, #fff4c5 71%, #86561c 96%) border-box;
  --gold-relief:
    inset 0 1px 1px #fff1cfbb, inset 0 -1px 1px #ffe29c, inset -2px 0 3px #f3d48c70,
    0 1px 0 #ffdf86, 0 2px 0 #dd9e34, 0 4px 0 #a36624, 0 5px 0 #764115,
    0 9px 6px -4px #000c, 0 14px 16px -5px #000b;
}
body :is(.button, .phone-link, .tool-button, .tool-actions a, .tool-contact, button:not(.finish-card):not([role="switch"])) {
  background: var(--paint-gold) !important; color: #23190a !important;
  border: 1px solid transparent !important; border-radius: 12px !important;
  box-shadow: var(--gold-relief) !important;
  text-shadow: 0 1px 0 #fff0b977;
}
body .site-header .phone-link span { color: inherit !important; }
body button[aria-pressed="true"]:not(.finish-card) {
  box-shadow: inset 0 2px 4px #6c461caa, 0 1px 0 #d7b776 !important;
}
body :is(.button,.phone-link,.tool-button,.tool-contact,button):focus-visible {outline: 3px solid #fff1c7; outline-offset: 3px;}
@media(max-width:600px) {
  body :is(.button,.phone-link,.tool-button,.tool-contact,button:not(.finish-card)) {min-height:44px;}
}

/* A broad overhead reflection rolls off the crown into deep onyx. */
:root {
  --bodywork-clearcoat:
    radial-gradient(ellipse 37% 59% at 82% -10%, #ebedf0dd 0%, #a4a8ad99 14%, #51555a62 34%, #25272a23 58%, transparent 88%),
    radial-gradient(ellipse 49% 68% at -7% 110%, #6d6e704a, #34353722 38%, transparent 79%),
    linear-gradient(148deg, #111213 0%, #080809 31%, #030304 70%, #09090a 100%);
  --bodywork-edge: inset 0 2px 6px #e4e5e710, 0 8px 18px #0007;
}
body:has(.original-hero) :is(.process,.about,.contact,.audience-card,.solution-card .card-body,.solutions .section-heading),
body.floating-page :is(.service-cta,.audience-form-section) {
  background-image: var(--bodywork-clearcoat) !important;
  box-shadow: var(--bodywork-edge);
}
