/* DeLuca Construction Co. — classic, editorial remodeling website
   Brand colors: burgundy #781C1C, ivory #F7F4ED, charcoal #303234, stone #B6A58D */

:root {
  color-scheme: light;
  --burgundy: #781c1c;
  --burgundy-dark: #581414;
  --ivory: #f7f4ed;
  --paper: #fffdf8;
  --charcoal: #303234;
  --ink-soft: #5b5a56;
  --stone: #b6a58d;
  --muted: var(--ink-soft);
  --taupe: var(--stone);
  --line: #ded8ce;
  --soft: #ece7de;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --content: 1160px;
  --gutter: clamp(1.25rem, 4.2vw, 4rem);
  --shadow: 0 18px 55px rgba(34, 27, 23, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; color: var(--charcoal); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b58a52; outline-offset: 4px; }
::selection { color: white; background: var(--burgundy); }
.container { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 1000; top: 1rem; left: 1rem; padding: .7rem 1rem; color: white; background: var(--charcoal); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.announcement { color: var(--ivory); background: var(--burgundy); font-size: .75rem; letter-spacing: .04em; }
.announcement__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.announcement a { color: white; text-decoration: none; }
.announcement a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(247,244,237,.97); border-bottom: 1px solid rgba(120,28,28,.12); backdrop-filter: blur(12px); }
.header__inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; flex: 0 1 270px; }
.brand img { display: block; width: 270px; max-height: 78px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2rem); }
.primary-nav > a:not(.button) { color: var(--charcoal); font-size: .83rem; text-decoration: none; transition: color .2s ease; }
.primary-nav > a:not(.button):hover { color: var(--burgundy); }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 52px; padding: .85rem 1.35rem; border: 1px solid var(--burgundy); border-radius: 2px; color: white; background: var(--burgundy); font-size: .82rem; font-weight: 700; letter-spacing: .015em; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); transform: translateY(-1px); }
.button--small { min-height: 43px; padding: .65rem 1rem; font-size: .77rem; white-space: nowrap; }
.button--dark { color: white; background: var(--charcoal); border-color: var(--charcoal); }
.button--dark:hover { background: #171819; border-color: #171819; }
.eyebrow { margin: 0 0 1.1rem; color: var(--burgundy); font-size: .69rem; font-weight: 700; letter-spacing: .19em; line-height: 1.5; text-transform: uppercase; }
.eyebrow--light { color: #e1c8b5; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.2; }
h1 { max-width: 800px; margin-bottom: 1.3rem; font-size: clamp(2.7rem, 5.5vw, 5.25rem); }
h2 { margin-bottom: 1.3rem; font-size: clamp(2rem, 3.7vw, 3.5rem); }
h1 em, h2 em { color: var(--burgundy); font-weight: 400; }
.hero h1 em { color: #ead7c5; }
h3 { margin-bottom: .7rem; font-family: var(--serif); font-size: 1.28rem; font-weight: 400; line-height: 1.4; }
.hero { position: relative; display: flex; align-items: center; min-height: min(730px, calc(100svh - 134px)); overflow: hidden; color: white; background: #34312e; isolation: isolate; }
.hero__image, .hero__shade { position: absolute; z-index: -1; inset: 0; }
.hero__image { background-image: linear-gradient(115deg, #262626 0%, #3d3934 48%, #75695c 100%); background-size: cover; background-position: center; }
.hero__shade { background: linear-gradient(90deg, rgba(25,24,23,.82) 0%, rgba(25,24,23,.63) 48%, rgba(25,24,23,.12) 100%), linear-gradient(0deg, rgba(20,20,20,.2), transparent 35%); }
.hero__content { padding-block: 6rem 7rem; }
.hero .eyebrow { margin-bottom: 1.5rem; }
.hero h1 { max-width: 760px; }
.hero__intro { max-width: 570px; margin-bottom: 2rem; color: #f0ece5; font-size: clamp(1rem, 1.35vw, 1.18rem); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; color: var(--burgundy); font-size: .85rem; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link--light { color: white; }
.hero__note { position: absolute; right: var(--gutter); bottom: 2.2rem; display: flex; align-items: center; gap: .8rem; color: #f0ece5; font-size: .72rem; letter-spacing: .04em; }
.hero__note-line { width: 36px; height: 1px; background: #d9bfa8; }
.section-pad { padding-block: clamp(4.5rem, 8vw, 8rem); }
.section-pad--soft { background: var(--ivory); }
.section-pad--dark { color: var(--ivory); background: var(--charcoal); }
.intro__grid { display: grid; grid-template-columns: 1fr .78fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.intro h2 { max-width: 590px; }
.intro__copy { padding-top: 2.1rem; color: var(--ink-soft); }
.lead { color: var(--charcoal); font-family: var(--serif); font-size: 1.35rem; line-height: 1.6; }
.intro__copy .text-link { margin-top: .6rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3.2rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 390px; margin-bottom: .25rem; color: var(--ink-soft); }
.section-heading--light > p { color: #d0ccc4; }
.section-heading--light h2 { color: white; }
.section-heading--light h2 em { color: #d8bda5; }
.service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 320px; padding: 1.45rem 1.1rem 1.35rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card__number { margin-bottom: 2.5rem; color: var(--burgundy); font-family: var(--serif); font-size: .9rem; }
.service-card h3 { min-height: 3.5rem; }
.service-card p { color: var(--ink-soft); font-size: .88rem; }
.service-card a { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; color: var(--burgundy); font-size: .76rem; font-weight: 700; text-decoration: none; }
.service-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-note, .gallery-note { margin: 1.2rem 0 0; color: var(--ink-soft); font-size: .75rem; }
.approach__grid { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(3rem, 8vw, 7.5rem); align-items: center; }
.approach__visual { min-width: 0; }
.approach__photo { min-height: 580px; background: linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%) center / cover; }
.approach__caption { display: flex; justify-content: space-between; padding-top: .9rem; color: var(--ink-soft); font-size: .66rem; letter-spacing: .12em; }
.approach__content > p:not(.eyebrow) { color: var(--ink-soft); }
.process-list { display: grid; gap: 1.15rem; margin: 2rem 0 2.2rem; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 42px 1fr; gap: .7rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.process-list li > span { padding-top: .1rem; color: var(--burgundy); font-family: var(--serif); font-size: .9rem; }
.process-list h3 { margin-bottom: .2rem; font-family: var(--sans); font-size: .92rem; font-weight: 700; }
.process-list p { margin-bottom: 0; color: var(--ink-soft); font-size: .85rem; }
.work .section-heading { margin-bottom: 2.5rem; }
.work-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.5rem; }
.work-item { min-width: 0; margin: 0; }
.work-item--large { grid-row: span 2; }
.work-item__image { min-height: 245px; background-size: cover; background-position: center; }
.work-item--large .work-item__image { min-height: 520px; }
.work-item__image--kitchen { background-image: linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%); }
.work-item__image--bath { background-image: linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%); }
.work-item__image--interior { background-image: linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%); }
.work-item figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0 1.3rem; border-bottom: 1px solid #555655; }
.work-item figcaption span { color: #d5b99f; font-size: .64rem; letter-spacing: .1em; }
.work-item figcaption strong { color: white; font-family: var(--serif); font-size: .9rem; font-weight: 400; }
.gallery-note { color: #c5c0b7; }
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.contact h2 { max-width: 510px; }
.contact__intro { max-width: 450px; color: var(--ink-soft); }
.contact__details { display: grid; gap: 1.2rem; margin-top: 2.6rem; }
.contact__details p { display: grid; gap: .15rem; margin: 0; }
.contact__details p > span { color: var(--burgundy); font-size: .65rem; font-weight: 700; letter-spacing: .15em; }
.contact__details a, .contact__details strong { width: fit-content; color: var(--charcoal); font-size: .92rem; font-weight: 500; text-decoration: none; }
.contact__details a:hover { color: var(--burgundy); text-decoration: underline; }
.contact-form { padding: clamp(1.5rem, 4vw, 3rem); background: var(--ivory); border: 1px solid var(--line); }
.form-row { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.form-row label { font-size: .78rem; font-weight: 700; }
.form-row label span { color: var(--burgundy); }
.form-row input, .form-row select, .form-row textarea { width: 100%; min-height: 48px; padding: .75rem .8rem; color: var(--charcoal); background: #fffefa; border: 1px solid #cfc7bb; border-radius: 2px; }
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--burgundy); outline-offset: 1px; }
.button--form { width: 100%; cursor: pointer; }
.form-disclaimer { margin: .8rem 0 0; color: var(--ink-soft); font-size: .72rem; }
.faq__grid { display: grid; grid-template-columns: .7fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.2rem 2.5rem 1.2rem 0; cursor: pointer; font-family: var(--serif); font-size: 1.02rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 1.05rem; right: .2rem; color: var(--burgundy); content: "+"; font-family: var(--sans); font-size: 1.35rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 650px; padding: 0 1.5rem 1.1rem 0; margin-bottom: 0; color: var(--ink-soft); font-size: .9rem; }
.site-footer { color: var(--ivory); background: var(--charcoal); }
.footer__top { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 1.7fr) auto; align-items: start; gap: 2.5rem; padding-block: 2.8rem; }
.footer__brand-block { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.brand--footer { display: block; flex: 0 0 auto; width: 150px; padding: 0; background: transparent; }
.brand--footer img { display: block; width: 150px; height: auto; max-height: none; object-fit: contain; object-position: left center; }
.footer__tagline { margin: 0; color: #e1d9cd; font-family: var(--serif); font-size: 1rem; line-height: 1.5; }
.footer__navigation { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(180px, 1.2fr); gap: 2rem; }
.footer__link-group { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer__link-group h2 { margin: 0 0 .35rem; color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.footer__link-group a { color: #e1d9cd; font-size: .88rem; line-height: 1.45; text-decoration: none; }
.footer__link-group a:hover { color: #fff; text-decoration: underline; }
.footer__back { color: #f1e4d7; font-size: .82rem; text-decoration: none; white-space: nowrap; }
.footer__back:hover { text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid #555655; color: #c9c4bb; font-size: .75rem; }

@media (max-width: 1020px) {
  .header__inner { min-height: 82px; }
  .footer__top { grid-template-columns: minmax(180px, .7fr) minmax(0, 1.5fr); gap: 2rem; }
  .footer__back { grid-column: 1 / -1; justify-self: end; }
  .brand { flex-basis: 225px; }
  .brand img { width: 225px; max-height: 68px; }
  .menu-toggle { display: flex; align-items: center; gap: .75rem; padding: .65rem 0 .65rem .65rem; border: 0; color: var(--charcoal); background: transparent; cursor: pointer; }
  .menu-toggle__label { font-size: .78rem; font-weight: 700; }
  .menu-toggle__icon { display: grid; gap: 5px; }
  .menu-toggle__icon i { display: block; width: 23px; height: 1px; background: var(--burgundy); }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.4rem; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav > a:not(.button) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .primary-nav .button { margin-top: 1rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 255px; }
  .approach__photo { min-height: 480px; }
}
@media (max-width: 700px) {
  .announcement__inner { min-height: 36px; font-size: .65rem; }
  .announcement__inner span { max-width: 65%; }
  .header__inner { min-height: 74px; }
  .footer__top { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 2.2rem; }
  .brand--footer, .brand--footer img { width: 145px; }
  .footer__navigation { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.2rem; }
  .footer__link-group a { font-size: .88rem; }
  .footer__back { grid-column: auto; justify-self: start; }
  .footer__bottom { flex-direction: column; gap: .45rem; }
  .brand { flex-basis: 185px; }
  .brand img { width: 185px; max-height: 58px; }
  .hero { min-height: 680px; min-height: min(760px, calc(100svh - 110px)); }
  .hero__image { background-position: 58% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(25,24,23,.78), rgba(25,24,23,.4)), linear-gradient(0deg, rgba(20,20,20,.3), transparent 60%); }
  .hero__content { padding-block: 5rem 7rem; }
  .hero__note { right: var(--gutter); bottom: 1.4rem; left: var(--gutter); font-size: .65rem; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
  .intro__grid, .approach__grid, .contact__grid, .faq__grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro__copy { padding-top: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 1.3rem 1.2rem 1.4rem; }
  .service-card__number { margin-bottom: 1rem; }
  .service-card h3 { min-height: 0; }
  .approach__photo { min-height: 400px; }
  .work-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .work-item--large { grid-row: auto; }
  .work-item--large .work-item__image, .work-item__image { min-height: 300px; }
  .work-item figcaption { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .contact-form { padding: 1.25rem; }
  .footer__top { align-items: flex-start; flex-direction: column; padding-block: 2.5rem; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Complete-site interior page system */
.page-hero{position:relative;isolation:isolate;min-height:320px;display:flex;align-items:center;color:white;background:#303234;overflow:hidden}
.page-hero:before{content:"";position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;opacity:.56}
.page-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(27,27,27,.88),rgba(27,27,27,.52) 70%,rgba(27,27,27,.25))}
.page-hero .container{padding-block:4.8rem}.page-hero h1{max-width:850px}.page-hero p:not(.eyebrow){max-width:780px;color:#f0ece5;font-size:1.05rem}
.hero-basement:before{background-position:center 54%;background-size:cover;opacity:.78}.hero-basement:after{background:linear-gradient(90deg,rgba(27,27,27,.78),rgba(27,27,27,.48) 68%,rgba(27,27,27,.18))}.service-support-photo figcaption{padding:.55rem .7rem;color:var(--muted);font-size:.78rem;line-height:1.4;background:var(--ivory)}
.hero-kitchen:before{background-image:linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%)}
.hero-bath:before{background-image:linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%)}
.hero-deck:before{background-image:linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%)}
.hero-addition:before{background-image:linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%)}
.hero-interior:before{background-image:url("assets/projects-hero-interior.jpg");background-position:center 52%;background-size:cover;opacity:.62}
.content-section{padding:clamp(2.75rem,5vw,4.5rem) 0}.content-section.soft{background:var(--ivory)}.content-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.8fr);gap:clamp(2rem,6vw,5.5rem);align-items:start}.content-copy{max-width:760px}.content-copy h2{font-size:clamp(1.4rem,2.4vw,1.9rem);margin-top:1.55rem;margin-bottom:.65rem;letter-spacing:-.025em}.content-copy h2:first-child{margin-top:0}.content-copy h3{font-size:1.08rem;margin-top:1.15rem;margin-bottom:.45rem}.content-copy p{line-height:1.7}.content-copy ul{padding-left:1.3rem}.content-copy li{padding:.25rem 0}.photo-panel{min-height:390px;background-size:cover;background-position:center}.photo-panel.kitchen{background-image:linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%)}.photo-panel.bath{background-image:linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%)}.photo-panel.basement{background-image:linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%)}.photo-panel.deck{background-image:linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%)}.photo-panel.addition{background-image:linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%)}.photo-panel.interior{background-image:linear-gradient(135deg, #e7e0d5 0%, #f6f2eb 52%, #d8cec0 100%)}.stock-note{font-size:.73rem;color:var(--muted);margin-top:.65rem}.link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}.link-grid a{display:block;padding:1.2rem 1.3rem;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-decoration:none}.link-grid a:hover{background:var(--soft);color:var(--burgundy)}.link-grid strong{display:block;font-family:var(--serif);font-weight:400;font-size:1.08rem}.link-grid span{display:block;font-size:.84rem;color:var(--muted);margin-top:.35rem}.cta-band{background:var(--burgundy-dark);color:var(--ivory);padding:3rem 0}.cta-band .container{display:flex;align-items:center;justify-content:space-between;gap:2rem}.cta-band h2{color:#fffdf8;font-size:clamp(1.5rem,3vw,2.3rem);margin:0}.cta-band p{color:#f0e8df;margin:.5rem 0 0}.cta-band .button{color:var(--burgundy-dark);background:var(--ivory);border-color:var(--ivory)}.cta-band .button:hover{color:var(--burgundy-dark);background:#fff;border-color:#fff}.legal-note{font-size:.82rem;color:var(--muted)}.page-image-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.page-image-row .photo-panel{min-height:250px}.service-facts{padding:1.5rem;background:var(--soft);border-left:3px solid var(--taupe)}.service-facts h3{margin-top:0}.service-facts p:last-child{margin-bottom:0}
@media(max-width:820px){.content-grid{grid-template-columns:1fr}.photo-panel{min-height:330px}.cta-band .container{align-items:flex-start;flex-direction:column}.page-hero .container{padding-block:4rem}}
@media(max-width:560px){.link-grid,.page-image-row{grid-template-columns:1fr}.page-hero{min-height:300px}.page-hero h1{font-size:2.55rem}.photo-panel{min-height:270px}}
/* Service overview page layout */
.services-hero{background:var(--ivory);padding:clamp(4rem,8vw,7rem) 0;border-bottom:1px solid var(--line)}.services-hero__inner{max-width:1000px}.services-hero__intro{max-width:800px;font-size:1.08rem}.services-intro__grid,.secondary-services__grid,.service-process__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,5rem);align-items:start}.service-detail-list .section-heading{display:flex;justify-content:space-between;gap:2rem;align-items:end;margin-bottom:2rem}.section-heading>p{max-width:420px}.service-detail{display:grid;grid-template-columns:220px 1fr;gap:2rem;padding:2.3rem 0;border-top:1px solid var(--line)}.service-detail__index{font-size:.75rem;letter-spacing:.12em;color:var(--burgundy);font-weight:700}.service-detail__index span{color:var(--muted)}.service-detail__body h3{font-size:1.6rem}.service-detail__body h4{margin:1.2rem 0 .4rem;font-size:.82rem;text-transform:uppercase;letter-spacing:.1em}.service-detail__body ul{padding-left:1.2rem}.secondary-services__list{columns:2;padding-left:1.2rem}.service-process__grid{grid-template-columns:.85fr 1fr}.service-process__steps{list-style:none;margin:0;padding:0}.service-process__steps li{display:grid;grid-template-columns:45px 1fr;gap:1rem;padding:1.1rem 0;border-bottom:1px solid #ffffff26}.service-process__steps li>span{color:#d9bfa8;font-family:var(--serif)}.service-process__steps h3{margin:0 0 .35rem}.service-process__steps p{font-size:.9rem;color:#ddd6cb;margin:0}.service-area-note{padding:1rem 1.2rem;background:var(--soft);border-left:3px solid var(--taupe)}
@media(max-width:820px){.services-intro__grid,.secondary-services__grid,.service-process__grid{grid-template-columns:1fr}.service-detail{grid-template-columns:1fr;gap:.5rem}.service-detail-list .section-heading{display:block}.service-detail-list .section-heading>p{margin-top:1rem}}
@media(max-width:560px){.secondary-services__list{columns:1}}

/* Limited-photo launch treatment: visual interest comes from layout and material tones, not empty image slots. */
.work-item__image, .photo-panel { background-color: #e9e3d9; background-size: cover; }
.work-item__image { position: relative; }
.photo-panel { border: 1px solid #e2dbd0; }
.stock-note { display: block; margin-top: .5rem; color: #62615D; }

/* Services dropdown: keep supplementary interior/finish work within the Services menu. */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown__toggle { color: var(--charcoal); font-size: .83rem; text-decoration: none; white-space: nowrap; }
.nav-dropdown__toggle:hover { color: var(--burgundy); }
.nav-dropdown__menu { display: none; position: absolute; z-index: 20; top: 100%; left: -.8rem; min-width: 225px; padding: .45rem; background: var(--paper, #fffdf8); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-dropdown__menu a { display: block; padding: .65rem .75rem; color: var(--charcoal); font-size: .83rem; text-decoration: none; white-space: nowrap; }
.nav-dropdown__menu a:hover { background: var(--soft-neutral, #f1ede5); color: var(--burgundy); }
.nav-dropdown:hover .nav-dropdown__menu, .nav-dropdown:focus-within .nav-dropdown__menu { display: block; }
@media (max-width: 1050px) {
  .nav-dropdown { display: block; }
  .nav-dropdown__toggle { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-dropdown__menu { position: static; min-width: 0; padding: .2rem 0 .4rem .8rem; border: 0; box-shadow: none; background: transparent; }
  .nav-dropdown:hover .nav-dropdown__menu, .nav-dropdown:focus-within .nav-dropdown__menu { display: block; }
  .nav-dropdown__menu a { white-space: normal; padding: .55rem .4rem; }
}


/* Short-term launch: intentional image-concept placeholders until approved company photos are available. */
.hero__image::after, .approach__photo::after, .work-item__image::after, .photo-panel::after {
  display: flex; align-items: end; justify-content: flex-start; box-sizing: border-box;
  padding: 1rem 1.1rem; color: #5f574d; font: 600 .68rem/1.4 "DM Sans", sans-serif;
  letter-spacing: .09em; text-transform: uppercase;
  background: linear-gradient(0deg, rgba(246,242,235,.92), rgba(246,242,235,0) 78%);
}
.hero__image::after { content: "Image idea · classic Chester County home exterior"; min-height: 100%; padding: 0 2rem 1.5rem; align-items: end; color: #f6f2eb; background: linear-gradient(0deg, rgba(20,20,20,.45), transparent 45%); }
.approach__photo::after { content: "Image idea · close-up of trim, millwork or finish detail"; min-height: 580px; }
.work-item__image--kitchen::after { content: "Image idea · completed kitchen with natural finishes"; min-height: 100%; }
.work-item__image--bath::after { content: "Image idea · bathroom tile and fixture detail"; min-height: 100%; }
.work-item__image--interior::after { content: "Image idea · built-in, trim or flooring detail"; min-height: 100%; }
.photo-panel.kitchen::after { content: "Image idea · kitchen layout and finish details"; min-height: 390px; }
.photo-panel.bath::after { content: "Image idea · tile, vanity and lighting"; min-height: 390px; }
.photo-panel.basement::after { content: "Image idea · finished basement living area"; min-height: 390px; }
.photo-panel.deck::after { content: "Image idea · deck boards, railing and outdoor setting"; min-height: 390px; }
.photo-panel.addition::after { content: "Image idea · addition exterior showing how it meets the home"; min-height: 390px; }
.photo-panel.interior::after { content: "Image idea · built-ins, trim or finished flooring"; min-height: 390px; }
@media(max-width:820px) { .approach__photo::after { min-height: 480px; } .photo-panel.kitchen::after,.photo-panel.bath::after,.photo-panel.basement::after,.photo-panel.deck::after,.photo-panel.addition::after,.photo-panel.interior::after { min-height: 330px; } }
@media(max-width:560px) { .approach__photo::after { min-height: 400px; } .photo-panel.kitchen::after,.photo-panel.bath::after,.photo-panel.basement::after,.photo-panel.deck::after,.photo-panel.addition::after,.photo-panel.interior::after { min-height: 270px; } }


/* Draft photo integration: preserve original DeLuca Construction Co. branding and existing layout. */
.hero__image { background-image: linear-gradient(90deg, rgba(25,24,23,.74) 0%, rgba(25,24,23,.52) 42%, rgba(25,24,23,.06) 100%), url("assets/hero-exterior.jpg"); background-position: center 56%; }
.approach__photo {  background-position: center; }
.work-item__image--bath { background-image: none; }
.hero-kitchen:before { background-image: url("assets/chadds-ford-kitchen-after.jpg"); background-position: center 50%; background-size: cover; opacity: .72; }
.hero-bath:before { background-image: url("assets/bathroom-remodeling-hero-illustrative-ai.webp"); background-position: center 52%; background-size: cover; opacity: .88; }
.hero-deck:before { background-image: url("assets/broomall-pa-deck-background.webp"); background-position: center 54%; background-size: cover; opacity: .72; }
.hero-interior:before { background-image: url("assets/projects-hero-interior.jpg"); background-position: center 52%; background-size: cover; opacity: .62; }
.photo-panel.bath { background-image: none; }
/* Remove placeholder labels now that the image assets are present. */
.hero__image::after, .approach__photo::after, .work-item__image::after, .photo-panel::after { content: none !important; display: none !important; }


/* Customer review excerpts from the supplied Google review text. */
.reviews .section-heading { margin-bottom: 2rem; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.review-card { border: 1px solid var(--line, #e5dfd8); border-radius: 8px; padding: clamp(1.25rem, 2.5vw, 1.8rem); background: var(--white, #fff); }
.review-card__rating { color: #781c1c; letter-spacing: .12em; margin: 0 0 .9rem; font-size: .95rem; }
.review-card blockquote { margin: 0; font-size: 1rem; line-height: 1.75; }
.review-card__context { margin: 1.1rem 0 0; font-size: .88rem; font-weight: 600; color: #615b56; }
.reviews__footer { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.reviews__footer p { margin: 0; max-width: 42rem; color: #615b56; font-size: .9rem; }
@media (max-width: 700px) {
  .review-grid { grid-template-columns: 1fr; }
  .reviews__footer { align-items: flex-start; flex-direction: column; }
}


/* Additional customer correspondence, distinguished from Google reviews */
.customer-notes {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line, #ded8d2);
}
.customer-notes__heading {
  margin-bottom: 1.5rem;
}
.customer-notes__heading h3 {
  margin: 0;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 500;
}
.customer-notes .review-card__context {
  margin-top: 1.25rem;
}

/* Direct phone/email contact layout (contact form intentionally omitted). */
.contact__grid--direct { grid-template-columns: 1fr 0.8fr; align-items: start; }
.contact-note { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--ivory); border: 1px solid var(--line); }
.contact-note h3 { margin: 0 0 1rem; font-family: var(--font-heading, 'Libre Baskerville', Georgia, serif); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 400; }
.contact-note p { color: var(--ink-soft); }
.contact-note .text-link { display: inline-block; margin-top: .5rem; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.contact-page-details { margin-top: 1.8rem; }
.contact-page-service-area { margin-top: 1.5rem; }
@media (max-width: 760px) { .contact__grid--direct, .contact-page-grid { grid-template-columns: 1fr; } }


/* Projects page: six paired photo placeholders for authentic before-and-after examples */
.projects-intro{max-width:800px;margin:0 auto 2rem}.projects-intro h2{font-size:clamp(1.5rem,2.8vw,2rem);margin:0 0 .6rem}.projects-intro p{line-height:1.7;color:var(--muted)}
.projects-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.project-card{min-width:0;border:1px solid var(--line);background:#fff;padding:1.15rem}
.project-card h3{font-family:var(--serif);font-size:1.25rem;font-weight:400;margin:0 0 .4rem}
.project-card>p{color:var(--muted);font-size:.92rem;line-height:1.55;min-height:2.9em;margin:.2rem 0 1rem}
.before-after{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.project-photo-placeholder{aspect-ratio:4/3;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45rem;padding:.5rem;text-align:center;border:1px dashed #b9aa98;background:linear-gradient(135deg,#f5f0e8,#e7dfd3);color:#5d5147}
.photo-label{display:inline-block;padding:.25rem .5rem;background:var(--burgundy);color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.12em}
.placeholder-title{font-size:.8rem;font-weight:600}
.projects-note{margin:1.5rem 0 0;color:var(--muted);font-size:.85rem;line-height:1.6}
@media(max-width:700px){.projects-gallery{grid-template-columns:1fr}.project-card>p{min-height:0}}

/* Summer 2027 planning callout on the home page */
.seasonal-callout {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #f7f4f2;
  border-top: 1px solid var(--line, #e4ddd7);
  border-bottom: 1px solid var(--line, #e4ddd7);
}
.seasonal-callout__inner {
  max-width: 900px;
  text-align: center;
}
.seasonal-callout h2 {
  margin: 0 0 1rem;
  color: var(--burgundy, #702b3a);
}
.seasonal-callout p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  color: var(--ink-soft, #514b49);
  line-height: 1.7;
}
.seasonal-callout .eyebrow { margin-bottom: .75rem; }

/* Service-specific customer testimonials follow the homepage review-card style. */
.service-testimonial .section-heading{margin-bottom:2rem}.service-testimonial--single .review-grid{grid-template-columns:minmax(0,760px);justify-content:center}.service-testimonial .review-card blockquote{font-size:1.02rem}

/* Prominent in-content links to the remodeling process */
.process-link-button { margin-top: .85rem; color: #fff; background: var(--burgundy); border-color: var(--burgundy); text-decoration: none; }
.process-link-button:hover { color: #fff; background: var(--burgundy-dark); border-color: var(--burgundy-dark); text-decoration: none; }
.service-process__link-wrap { margin-top: 1.6rem; }
.services-process-button { color: var(--burgundy-dark); background: var(--ivory); border-color: var(--ivory); }
.services-process-button:hover { color: var(--burgundy-dark); background: #fff; border-color: #fff; }

/* Actual project photography */
.work-grid--actual .work-item__image { overflow: hidden; background: #e9e3d9; }
.work-grid--actual .work-item__image img { display: block; width: 100%; height: 100%; min-height: 245px; object-fit: cover; }
.work-grid--actual .work-item--large .work-item__image img { min-height: 520px; }
.project-photo { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #eee9e2; }
.project-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-photo .photo-label { position: absolute; z-index: 1; top: .55rem; left: .55rem; }
.project-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
@media (max-width: 700px) {
  .work-grid--actual .work-item--large .work-item__image img,
  .work-grid--actual .work-item__image img { min-height: 260px; }
}

.before-after--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) {
  .before-after--three { grid-template-columns: 1fr 1fr; }
  .before-after--three .project-photo:last-child { grid-column: 1 / -1; }
}

/* Home addition project comparison */
.addition-before-after{grid-template-columns:1fr;gap:.85rem}
.addition-before-after .project-photo img{aspect-ratio:16/10}

/* About-page family photograph: retain the shared interior-page hero format. */
.page-hero.hero-about:before {
  background-image: url("assets/about-family-hero-enhanced.jpg");
  background-repeat: no-repeat;
  background-size: 58% auto;
  background-position: right 43%;
  opacity: 1;
}
.page-hero.hero-about:after {
  background: linear-gradient(90deg, rgba(27,27,27,.96) 0%, rgba(27,27,27,.88) 38%, rgba(27,27,27,.36) 62%, rgba(27,27,27,.08) 100%);
}
@media(max-width:820px) {
  .page-hero.hero-about:before {
    background-size: auto 100%;
    background-position: center 35%;
  }
  .page-hero.hero-about:after {
    background: linear-gradient(0deg, rgba(27,27,27,.96) 0%, rgba(27,27,27,.82) 30%, rgba(27,27,27,.12) 72%, rgba(27,27,27,.04) 100%);
  }
}
@media(max-width:560px) {
  .page-hero.hero-about { min-height: 430px; }
  .page-hero.hero-about .container { padding-block: 2.6rem 2rem; align-self: end; }
  .page-hero.hero-about:before {
    background-size: auto 100%;
    background-position: center 34%;
  }
  .page-hero.hero-about h1 { max-width: 340px; font-size: 2.2rem; }
}

/* Approved project photos used as supporting imagery on service pages */
.service-support-photo{margin:0;border:1px solid var(--line);background:var(--ivory);overflow:hidden}
.service-support-photo img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;object-position:center}
.service-support-caption{font-size:.78rem;color:var(--muted);margin:.55rem 0 0}


/* Accessible, contained project-photo enlargement */
figure.project-photo img,
figure.service-support-photo img {
  cursor: zoom-in;
}
figure.project-photo img:focus-visible,
figure.service-support-photo img:focus-visible {
  outline: 3px solid var(--burgundy, #7b263a);
  outline-offset: 3px;
}
.photo-viewer {
  width: min(1400px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  max-height: 85vh;
  max-height: 85dvh;
  padding: 48px 20px 20px;
  border: 0;
  border-radius: 8px;
  background: #171717;
  color: #fff;
  overflow: visible;
}
.photo-viewer::backdrop { background: rgba(0, 0, 0, .88); }
.photo-viewer__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(85vh - 88px);
  max-height: calc(85dvh - 88px);
  object-fit: contain;
  margin: 0 auto;
  user-select: none;
  -webkit-user-drag: none;
}
.photo-viewer__close {
  position: absolute;
  top: 9px;
  right: 12px;
  min-width: 36px;
  min-height: 36px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.photo-viewer__caption {
  margin: 10px 0 0;
  color: #eee;
  font-size: .9rem;
  text-align: center;
}
@media (max-width: 600px) {
  .photo-viewer { width: calc(100vw - 20px); max-width: calc(100vw - 20px); padding: 48px 10px 12px; }
  .photo-viewer__image { max-height: calc(85vh - 76px); max-height: calc(85dvh - 76px); }
}

/* Projects page hero: original AI-generated interior background. */
.hero-projects:before { background-image: url("assets/projects-hero-interior.jpg"); background-position: center 52%; }

/* Services overview hero uses the same original AI-generated interior image as the Projects page. */
.services-hero{position:relative;isolation:isolate;background:#303234;color:#fff}
.services-hero:before{content:"";position:absolute;inset:0;z-index:-2;background:url("assets/projects-hero-interior.jpg") center 52%/cover no-repeat;opacity:.56}
.services-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(27,27,27,.88),rgba(27,27,27,.52) 70%,rgba(27,27,27,.25))}
.services-hero h1 em{color:#ead7c5}.services-hero .eyebrow{color:#ead7c5}
.services-hero__intro{color:#f0ece5}
.services-hero .text-link{color:#fff}
.services-hero .text-link:hover{color:#ead7c5}


/* Services page: maintain readable contrast in the dark process section. */
.service-process h2 {
  color: var(--ivory);
}
.service-process h2 em {
  color: #ead7c5;
}


/* Services page closing call-to-action */
.services-cta {
  padding: clamp(3rem, 6vw, 5rem) 0;
  color: var(--ivory);
  background: var(--burgundy-dark);
}
.services-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
}
.services-cta__inner > div { max-width: 720px; }
.services-cta .eyebrow { color: #ead7c5; margin-bottom: .75rem; }
.services-cta h2 {
  color: #fffdf8;
  margin-bottom: .85rem;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
}
.services-cta p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 0;
  color: #f0e8df;
}
.services-cta .services-cta__button {
  flex: 0 0 auto;
  color: var(--burgundy-dark);
  background: var(--ivory);
  border-color: var(--ivory);
}
.services-cta .services-cta__button:hover {
  color: var(--burgundy-dark);
  background: #fff;
  border-color: #fff;
}
@media (max-width: 820px) {
  .services-cta__inner { align-items: flex-start; flex-direction: column; }
}


/* Services page: give the local service-area note a clear, quiet transition
between the dark process section and the final burgundy call to action. */
.service-area {
  background: var(--ivory);
}
.service-area__inner {
  max-width: 900px;
}
.service-area__inner h2 {
  max-width: 820px;
  margin-bottom: 1rem;
}
.service-area__inner > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}


/* Services hero alignment: match the shared interior-page hero system. */
.services-hero {
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 0;
}
.services-hero__inner {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  max-width: var(--content);
  margin-inline: auto;
  padding-block: 4.8rem;
}
@media (max-width: 820px) {
  .services-hero__inner { padding-block: 4rem; }
}


/* Kitchen service page: authentic project comparisons */
.kitchen-content-grid { grid-template-columns: minmax(0, 1fr); }
.kitchen-content-grid .content-copy { max-width: 900px; }
.kitchen-project-examples { background: var(--ivory); }
.kitchen-project-gallery { align-items: start; }
.kitchen-project-gallery .project-card { height: 100%; }
.kitchen-project-gallery .project-card > p { min-height: 0; }
.kitchen-pantry-card .project-photo img { aspect-ratio: 3 / 4; object-fit: cover; }
.kitchen-remodel-card .project-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.kitchen-four-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-photo-note { margin: .7rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.service-projects-more { margin: 1.5rem 0 0; color: var(--muted); font-size: .92rem; }
.service-projects-more a { color: var(--burgundy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .kitchen-project-gallery { grid-template-columns: 1fr; }
  .kitchen-pantry-card .project-photo img { aspect-ratio: 3 / 4; }
}

/* Single-column service content when no side image is used. */
.content-grid--single{grid-template-columns:minmax(0,1fr)}
.content-grid--single .content-copy{max-width:900px}


/* Bathroom service page: selected details from authentic remodeling projects */
.bathroom-project-examples{background:var(--ivory)}
.bathroom-project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;align-items:start}
.bathroom-project-card{min-width:0;background:#fff;border:1px solid var(--line);padding:1rem}
.bathroom-project-card h3{font-family:var(--serif);font-size:1.16rem;font-weight:400;margin:1rem 0 .35rem}
.bathroom-project-card p{font-size:.9rem;line-height:1.55;color:var(--muted);margin:0}
.bathroom-project-photo img{width:100%;height:auto;max-height:560px;object-fit:contain;background:#f2eee8}
.bathroom-project-photo--portrait img{aspect-ratio:3/4;object-fit:cover}
.bathroom-project-photo--landscape img{aspect-ratio:4/3;object-fit:cover}
.bathroom-projects-note{margin:1.2rem 0 0;color:var(--muted);font-size:.82rem;line-height:1.5}
@media(max-width:700px){.bathroom-project-gallery{grid-template-columns:1fr}.bathroom-project-card{padding:.85rem}}


/* Tighter transition from project photos to customer feedback on service pages. */
.kitchen-project-examples,
.bathroom-project-examples {
  padding-top: clamp(2.75rem, 4vw, 4rem);
  padding-bottom: 2rem;
}
.service-testimonial {
  padding-top: 2rem;
  padding-bottom: clamp(2.75rem, 4vw, 4rem);
}
.service-testimonial .section-heading { margin-bottom: 1.25rem; }


/* November 7, 2026: restrained, service-appropriate hero photography. */
.hero-basement:before{background-image:url("assets/basement-finishing-hero-illustrative-ai.webp");background-position:center 54%;background-size:cover;opacity:.88}
.hero-basement:after{background:linear-gradient(90deg,rgba(27,27,27,.82) 0%,rgba(27,27,27,.62) 52%,rgba(27,27,27,.20) 100%)}
.hero-addition:before{background-image:url("assets/home-addition-construction-west-chester-pa-hero.jpg");background-position:52% 29%;background-size:cover;opacity:.78}
.hero-addition:after{background:linear-gradient(90deg,rgba(27,27,27,.88) 0%,rgba(27,27,27,.70) 43%,rgba(27,27,27,.24) 100%)}
@media(max-width:820px){.hero-addition:before{background-position:53% 25%;opacity:.72}.hero-addition:after{background:linear-gradient(90deg,rgba(27,27,27,.76),rgba(27,27,27,.48)),linear-gradient(0deg,rgba(27,27,27,.24),transparent 65%)}}

/* Service Area hero: text-led presentation without unrelated project photography. */
.hero-service-area:before{background-image:none;}
.hero-service-area:after{background:linear-gradient(90deg,rgba(27,27,27,.88),rgba(27,27,27,.52) 70%,rgba(27,27,27,.25));}

/* November 9: scoped readability corrections. */
.site-footer .brand--footer img { filter: grayscale(1) brightness(0) invert(1); }
.cta-band h2, .cta-band .eyebrow { color: #fffdf8; }
.cta-band p, .cta-band p:not(.eyebrow), .cta-band a:not(.button) { color: #f5eee7; }
.hero-service-area:before { background-image: url("assets/west-chester-pa-home-addition-roof-framing-in-progress.jpg"); background-position: center 43%; background-size: cover; opacity: .78; }

/* Approved Services overview spacing refinement (2026-11-09):
   Scope to this page's five content bands; don't change inner service pages or global layout. */
.services-intro.section-pad,
.service-detail-list.section-pad,
.secondary-services.section-pad,
.service-process.section-pad,
.service-area.section-pad {
  padding-block: clamp(4.5rem, 6.1vw, 5.5rem);
}
.service-detail { padding-block: 1.8rem; }
@media (max-width: 820px) {
  .services-intro.section-pad,
  .service-detail-list.section-pad,
  .secondary-services.section-pad,
  .service-process.section-pad,
  .service-area.section-pad { padding-block: 3.5rem; }
}
@media (max-width: 560px) {
  .services-intro.section-pad,
  .service-detail-list.section-pad,
  .secondary-services.section-pad,
  .service-process.section-pad,
  .service-area.section-pad { padding-block: 3.25rem; }
}

/* Approved homepage-only refinements — preserve layouts of all other pages. */
.homepage .section-pad { padding-block: clamp(3.25rem, 6vw, 5.5rem); }
.homepage .contact.section-pad { padding-block: clamp(3.5rem, 6vw, 6rem); }
.homepage .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.homepage .approach__photo {
  background-image: url("assets/home-addition-west-chester-pa-19380-custom-mantle.jpg");
  background-position: center center;
}
.homepage .work-grid--actual .work-item__image { height: 260px; min-height: 0; }
.homepage .work-grid--actual .work-item--large .work-item__image { height: 544px; min-height: 0; }
.homepage .work-grid--actual .work-item__image img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.homepage .work__more { margin: 1.15rem 0 0; }
.homepage .work__more .text-link { color: #f7f4ed; }
.homepage .seasonal-callout a { color: var(--burgundy); text-underline-offset: 3px; }
/* Keep the mobile header logo flex-basis from stretching the footer logo on every page. */
.site-footer .footer__brand-block .brand--footer { flex: 0 0 auto; }
@media (max-width: 820px) {
  .homepage .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .homepage .work-grid { grid-template-columns: 1fr; }
  .homepage .work-item--large { grid-row: auto; }
  .homepage .work-grid--actual .work-item__image,
  .homepage .work-grid--actual .work-item--large .work-item__image {
    height: auto; min-height: 0; aspect-ratio: 4 / 3;
  }
  .homepage .work-grid--actual .work-item__image img {
    position: absolute; inset: 0; height: 100%; min-height: 0;
  }
}

/* Process page: reduce the double padding between Planning ahead and Step 1 only. */
.process-planning-section { padding-bottom: clamp(.75rem, 1.5vw, 1.25rem); }
.process-steps-section { padding-top: clamp(1.5rem, 2.5vw, 2.25rem); }


/* Unified supporting photographs: Basements, Decks, Home Additions, Interior & Finish Work */
.service-side-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  min-width: 0;
}
.service-side-gallery .addition-before-after {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.service-side-gallery figure {
  min-width: 0;
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ivory);
  overflow: hidden;
}
.service-side-gallery figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}
/* Override the former fixed crop for the Additions before/after photos. */
.service-side-gallery .addition-before-after .project-photo img {
  aspect-ratio: auto;
}
.service-side-gallery figure figcaption {
  display: block;
  padding: .55rem .7rem;
  margin: 0;
  background: var(--ivory);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.4;
}
