/* Public demo presentation */
body[data-template] .demo-eyebrow {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0 0 1.1rem;
    font: 700 .72rem/1.4 system-ui, sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.demo-eyebrow::before {
    content: "";
    width: 1.8rem;
    height: 2px;
    background: var(--accent);
}
body[data-template] #services .card-feature-icon {
    box-sizing: content-box;
    padding: .75rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 20%, var(--design-paper));
}
body[data-template] .demo-photo {
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    border-radius: var(--design-radius);
    display: block;
}
body[data-template] .demo-contact-photo {
    position: relative;
    margin: 0 auto 1rem;
}
body[data-template] .demo-contact-photo figcaption {
    position: absolute;
    inset: auto auto 1rem 1rem;
    max-width: calc(100% - 2rem);
    padding: .45rem .75rem;
    border-radius: 4px;
    background: var(--design-paper);
    color: var(--design-ink);
    font: 600 .75rem/1.4 system-ui, sans-serif;
}
body[data-template] #work-images .gallery-item figcaption {
    margin: 0;
    padding: 1rem 1.25rem;
    background: var(--design-surface);
    border-bottom: 2px solid var(--accent);
    color: var(--design-ink);
}
body[data-template] #work-images .gallery-open {
    display: block;
    overflow: hidden;
}
@media (min-width: 900px) {
    body[data-template] #work-images .gallery-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        align-items: start;
    }
    body[data-template] #work-images .gallery-item:nth-child(2) {
        margin-top: 3.5rem;
    }
}

body[data-template] .component.demo-extension-hero {
    margin: 0;
    border-radius: 0;
    min-height: clamp(26rem, 46vw, 44rem);
    padding: 2.5rem 0;
}
body[data-template] .demo-extension-hero::after {
    background: linear-gradient(90deg, #111e18ed, #111e1880 53%, #111e1820);
}
body[data-template] .demo-extension-hero .hero-image { object-position: 63% center; max-height: none; aspect-ratio: auto; }
body[data-template] .demo-extension-hero h1 { max-width: 14ch; }
@media (max-width: 700px) {
    body[data-template] .demo-extension-hero::after {
        background: linear-gradient(90deg, #111e18e0, #111e1870);
    }
}
.template-construction-concrete-orange #featured-extension .rich-content + .button { margin-block-start: 1.5rem; }
/* Glazed rear extension case study */
body.template-construction-concrete-orange .component:is(#extension-brief, #extension-delivery) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    column-gap: clamp(2rem, 5vw, 5rem);
    row-gap: 0.875rem;
    padding-block: clamp(2rem, 4.5vw, 4.5rem);
    font-size: 1.0625rem;
}
body.template-construction-concrete-orange :is(#extension-brief, #extension-delivery) > h2 {
    grid-row: 1 / span 2;
    margin: 0;
    max-inline-size: 15ch;
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}
body.template-construction-concrete-orange :is(#extension-brief, #extension-delivery) > :not(h2) {
    grid-column: 2;
    margin-block: 0;
}
body.template-construction-concrete-orange .component#extension-gallery {
    box-sizing: border-box;
    padding: clamp(1.25rem, 4vw, 3.5rem);
    background-color: #dedfdc;
    border-radius: var(--design-radius, 2px);
}
body.template-construction-concrete-orange #extension-gallery h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}
body.template-construction-concrete-orange #extension-gallery .gallery-item figcaption {
    margin-block-start: 0;
    padding: 0.85rem 1rem;
    background-color: #f4f4f0;
    color: #343c38;
}
@media (max-width: 700px) {
    body.template-construction-concrete-orange .component:is(#extension-brief, #extension-delivery) {
        grid-template-columns: minmax(0, 1fr);
    }
    body.template-construction-concrete-orange :is(#extension-brief, #extension-delivery) > h2 {
        grid-row: auto;
    }
    body.template-construction-concrete-orange :is(#extension-brief, #extension-delivery) > :not(h2) {
        grid-column: 1;
    }
}
