/* Sections inherit the visitor theme unless an editor explicitly pins a palette. */
.section-light {
    color-scheme: light;
    --bg: #f6f5f1;
    --surface: #fffefa;
    --soft: #e9e7e1;
    --text: #242729;
    --muted: #5a5e60;
    --accent: #86583d;
    --line: #d2d1cb;
    --field-line: #838782;
    --button: #292d2e;
    --button-text: #fffefa;
    --hover: #eeece6;
    --focus: #86583d;
    --granite-opacity: .11
}

.section-dark {
    color-scheme: dark;
    --bg: #191c1d;
    --surface: #222628;
    --soft: #282d2f;
    --text: #f4f2ec;
    --muted: #c1c3bf;
    --accent: #d8ae8c;
    --line: #474d4d;
    --field-line: #939c98;
    --button: #dfbd9d;
    --button-text: #222628;
    --hover: #303638;
    --focus: #dfbd9d;
    --granite-opacity: .09
}

.section-light,
.section-dark {
    color: var(--text);
    background-color: var(--bg)
}

.stock-teaser.section-light,
.stock-list.section-light,
.portfolio-section.section-light,
.service-area.section-light,
.map-section.section-light {
    background-color: var(--surface)
}

.page-cta.section-light {
    background-color: var(--soft)
}

.section-light input,
.section-light select,
.section-dark input,
.section-dark select {
    color: var(--text);
    background: var(--bg)
}

.back-to-top {
    margin-left: auto;
    background: none;
    border: 0;
    color: var(--accent);
    font: inherit;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 5px;
    padding: 8px 0;
    min-height: 44px
}

.footer-links a:last-of-type {
    margin-left: 0
}

.as-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.form-privacy {
    font-size: 12px;
    margin-top: 16px
}

.stock-empty {
    grid-column: 1/-1
}

.admin-bar .site-header {
    top: 32px
}

@media(max-width:782px) {
    .admin-bar .site-header {
        top: 46px
    }
}

@media(max-width:600px) {
    .admin-bar .site-header {
        top: 0
    }
}

@media(max-width:700px) {
    .back-to-top {
        margin-left: 0
    }
}

/* Keep expressive headings within the available text column. */
.hero h1 {
    font-size: clamp(40px, 4.7vw, 68px);
    line-height: 1.08
}

.page-intro h1,
.stock-hero h1 {
    font-size: clamp(40px, 5.5vw, 80px);
    line-height: 1.08
}

.hero-copy,
.page-intro-grid>div {
    min-width: 0
}

.site-header .menu-toggle {
    background: transparent;
    color: var(--text);
    border-color: var(--line)
}

.site-header .menu-toggle:hover {
    background: var(--hover)
}

/* Full photographs, with an editor-controlled frame in the two page heroes. */
.page-intro-image {
    width: 100%;
    justify-self: center
}

.page-intro-image--portrait {
    max-width: 420px
}

.page-intro-image--landscape {
    max-width: 600px
}

.page-intro-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center
}

.page-intro-image--portrait img {
    aspect-ratio: 3/4
}

.page-intro-image--landscape img {
    aspect-ratio: 4/3
}

.stock-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    row-gap: 40px
}

.stock-card {
    min-width: 0;
    --stock-ratio: 3/4
}

.stock-card .stock-photo img,
.stock-photo--empty {
    aspect-ratio: var(--stock-ratio);
    width: 100%;
    height: auto;
    object-fit: contain
}

.stock-photo--empty {
    display: grid;
    place-items: center;
    padding: 20px;
    color: var(--muted);
    font-size: 14px;
    text-align: center
}

.stock-card-content {
    padding: 18px 0 20px;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere
}

.stock-card-title {
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: 0;
    margin: 0 0 6px
}

.stock-card-type {
    font-size: 14px;
    color: var(--accent);
    margin: 0
}

.stock-card-notes {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    margin: 14px 0 0
}

.stock-card-content .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 13px;
    margin-top: 8px
}

@media(min-width:701px) and (max-width:1000px) {
    .stock-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:700px) {
    .stock-cards {
        grid-template-columns: minmax(0, 1fr)
    }
}

.local-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start
}

.local-hero .local-split {
    align-items: center
}

.local-hero h1 {
    font-size: clamp(38px, 4.5vw, 64px)
}

.local-hero .actions {
    margin-top: 28px
}

.local-note,
.local-hero-photo figcaption {
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
    margin-top: 22px
}

.local-hero-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover
}

.local-intro {
    max-width: 760px;
    margin: 24px 0 32px;
    color: var(--muted)
}

.local-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px
}

.local-cards article {
    border-top: 2px solid var(--accent);
    padding-top: 24px
}

.local-cards h3,
.local-steps h3 {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 16px
}

.local-cards p,
.local-steps p,
.local-faq p {
    color: var(--muted)
}

.local-cards .text-link {
    margin-top: 20px
}

.local-steps {
    padding-left: 24px;
    margin: 0
}

.local-steps li {
    padding: 0 0 24px 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line)
}

.local-steps li::marker {
    color: var(--accent)
}

.local-guidance {
    border-left: 2px solid var(--accent);
    padding-left: 22px;
    margin-top: 30px;
}

.local-guidance h3 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 14px;
}

.local-guidance p {
    color: var(--muted);
    font-size: 15px;
}

.local-guidance .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 12px;
    overflow-wrap: anywhere;
}

.local-checklist {
    padding-left: 22px;
    margin: 24px 0
}

.local-checklist li {
    padding-left: 8px;
    margin-bottom: 12px
}

.local-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 30px 0
}

.local-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: contain;
    background: var(--soft)
}

.local-gallery .gallery-link {
    display: block;
    position: relative
}

.local-faq details {
    border-top: 1px solid var(--line);
    padding: 20px 0
}

.local-faq details:last-child {
    border-bottom: 1px solid var(--line)
}

.local-faq summary {
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    padding: 8px 0
}

.local-faq p {
    margin-top: 16px
}

.local-landing address {
    margin: 20px 0;
    font-style: normal
}

.local-landing .inquiry h3 {
    margin-bottom: 16px
}

.local-area-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 16px 0 24px;
    font-size: 13px
}

.local-area-links a {
    text-underline-offset: 5px
}

.service-area .local-area-links {
    font-size: 16px;
    padding: 16px 0;
    gap: 8px 28px
}

.service-area .local-area-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text);
    text-decoration-color: var(--accent)
}

@media(max-width:900px) {
    .local-split {
        grid-template-columns: 1fr
    }

    .local-hero-photo {
        max-width: 600px
    }

    .local-hero-photo img {
        aspect-ratio: 4/3
    }

    .local-cards {
        grid-template-columns: 1fr
    }

    .local-gallery {
        gap: 16px
    }
}

@media(max-width:700px) {
    .local-gallery {
        grid-template-columns: 1fr
    }

    .local-hero h1 {
        font-size: clamp(36px, 9vw, 48px)
    }

    .local-landing h2 {
        font-size: clamp(30px, 7.5vw, 40px)
    }
}

@media(max-width:700px) {

    .hero h1,
    .page-intro h1,
    .stock-hero h1 {
        font-size: clamp(36px, 9vw, 48px)
    }
}

/* Consistent hero spacing across all subpages, including local landings. */
.page-intro,
.stock-hero {
    padding-block: 42px 64px
}

/* Shared portfolio cards and the home accessories section. */
.portfolio-cards {
    gap: 40px 24px;
}

.portfolio-card .stock-photo {
    display: block;
    background: var(--soft);
}

.portfolio-extra,
.portfolio-all {
    margin-top: 36px;
}

.portfolio-all {
    text-align: center;
}

.accessories-strip {
    padding-block: 48px;
    background-color: var(--surface);
    border-bottom: 1px solid var(--line);
}

.accessories-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
}

.accessories-inner--photo {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.accessories-copy {
    min-width: 0;
}

.accessories-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.accessories-icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 24px;
    color: var(--accent);
}

.accessories-strip h2 {
    font-size: clamp(28px, 2.6vw, 36px);
    line-height: 1.15;
    letter-spacing: -.025em;
    max-width: 420px;
    margin: 0;
}

.accessories-description {
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 16px;
    line-height: 1.75;
    color: var(--muted);
    margin: 24px 0 0;
}

.accessories-photo {
    margin: 0;
    min-width: 0;
}

.accessories-photo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .accessories-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .accessories-strip h2 {
        max-width: none;
    }

}

@media (max-width: 600px) {
    .accessories-strip {
        padding-block: 32px;
    }

    .accessories-heading {
        gap: 14px;
    }

    .accessories-strip h2 {
        font-size: 28px;
    }

}
