/* Process page — uses public site theme tokens */

.process-legacy-main {
    /* Process page — two surfaces: light page bg + one dark accent band. */
    --process-bg: #f4f8f5;
    --process-surface: var(--paper, #fff);
    --process-line: rgba(74, 124, 98, 0.12);
    --process-accent: var(--brand-orange, #e57424);
    background: var(--process-bg);
    color: var(--ink, #12251e);
}

main.page-band.process-page,
.page-band.process-page--legacy {
    padding-top: 0;
}

.process-legacy-charcoal {
    background: #212529;
    color: rgba(255, 255, 255, 0.92);
    padding: 56px 0 48px;
}

.process-legacy-charcoal .shell {
    max-width: 1120px;
}

.process-legacy-eyebrow {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.process-legacy-eyebrow a {
    color: var(--process-accent);
    text-decoration: none;
}

.process-legacy-eyebrow a:hover {
    color: #f5b07a;
    text-decoration: underline;
}

.process-legacy-charcoal h2.process-legacy-heading {
    margin: 0 0 12px;
    color: #fff;
    font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.process-legacy-charcoal .process-legacy-lead {
    margin: 0 0 28px;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.65;
}

.process-legacy-charcoal blockquote {
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    color: #e5e7eb;
}

.process-legacy-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0 0 8px;
    list-style: none;
}

.process-legacy-step-card {
    margin: 0;
    padding: 18px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.process-legacy-step-id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--process-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.process-legacy-step-card h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
}

.process-legacy-step-card .public-prose {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.55;
}

.process-legacy-step-card .public-prose p {
    color: inherit;
}

.process-legacy-step-card .public-prose p:last-child {
    margin-bottom: 0;
}

.process-legacy-intro-band {
    padding: 48px 0;
    background: var(--process-bg);
    border-top: 1px solid var(--process-line);
}

.process-legacy-intro-band .process-legacy-intro-copy {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.process-legacy-intro-band h2 {
    margin: 0 0 16px;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.process-legacy-intro-band blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.65;
}

.process-legacy-content {
    background: var(--process-bg);
    color: var(--ink, #12251e);
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 8px;
}

.process-legacy-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    border: 1px solid var(--process-line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--process-surface);
}

.process-legacy-row + .process-legacy-row {
    margin-top: 20px;
}

.process-legacy-row.is-reverse .process-legacy-bg-panel {
    order: 2;
}

.process-legacy-row.is-reverse .process-legacy-copy-panel {
    order: 1;
}

.process-legacy-bg-panel {
    min-height: 320px;
    background-color: var(--process-bg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.process-legacy-copy-panel {
    display: flex;
    align-items: center;
    padding: 56px 32px;
    background: var(--process-surface);
}

.process-legacy-copy-panel .process-legacy-copy-inner {
    max-width: 460px;
    margin: 0 auto;
}

.process-legacy-copy-panel h3 {
    position: relative;
    margin: 0 0 14px;
    padding-left: 28px;
    color: var(--ink, #12251e);
    font-size: 1.35rem;
}

.process-legacy-copy-panel h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 10px;
    height: 10px;
    background: var(--process-accent);
    border-radius: 2px;
}

.process-legacy-copy-panel .public-prose {
    color: var(--muted, #5e7068);
}

.process-legacy-copy-panel .public-prose p {
    color: inherit;
}

.process-legacy-copy-panel img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 16px;
}

.process-legacy-band {
    background: var(--process-bg);
    color: var(--ink, #12251e);
    padding: 48px 0 56px;
    border-top: 1px solid var(--process-line);
}

.process-legacy-band--paint,
.process-legacy-band--sill-colors,
.process-legacy-band--sills,
.process-legacy-band--detailing {
    background: var(--process-bg);
}

.process-legacy-band-title {
    position: relative;
    margin: 0 0 20px;
    padding-left: 28px;
    color: var(--ink, #12251e);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.25;
}

.process-legacy-band-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 10px;
    height: 10px;
    background: var(--process-accent);
    border-radius: 2px;
}

.process-legacy-band .shell {
    max-width: 1120px;
}

.process-legacy-band .public-prose h2,
.process-legacy-band .public-prose h3,
.process-legacy-band .public-prose h4 {
    position: static;
    margin: 24px 0 10px;
    padding-left: 0;
    color: var(--ink, #12251e);
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    line-height: 1.35;
}

.process-legacy-band .public-prose h2::before,
.process-legacy-band .public-prose h3::before,
.process-legacy-band .public-prose h4::before {
    content: none;
}

.process-subheading {
    margin: 18px 0 8px;
    padding-left: 0;
    color: var(--ink, #12251e);
    font-size: 1.05rem;
    font-weight: 700;
}

.process-legacy-band .public-prose {
    color: var(--muted, #5e7068);
}

.process-legacy-band .public-prose p {
    color: inherit;
}

.process-legacy-band-body {
    display: grid;
    gap: 28px;
}

.process-legacy-band-copy {
    max-width: 760px;
    color: var(--muted, #5e7068);
}

.process-legacy-band-copy p:last-child {
    margin-bottom: 0;
}

.process-legacy-figure-grid {
    display: grid;
    gap: 16px;
    margin: 0;
}

.process-legacy-figure-grid--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-legacy-figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--process-line);
    background: var(--process-surface);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.process-legacy-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.process-legacy-band--sills .process-legacy-band-body {
    max-width: 960px;
}

.process-legacy-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.process-legacy-split img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.process-legacy-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.process-legacy-detail-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    background: #fff;
}

.process-carousel {
    position: relative;
    margin-top: 8px;
}

.process-carousel-viewport {
    overflow: hidden;
    background: var(--process-surface);
    border-radius: 12px;
    border: 1px solid var(--line, #dce6e0);
}

.process-carousel-track {
    display: flex;
    transition: transform 0.35s ease;
}

.process-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.process-carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
    padding: 12px;
}

.process-carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(229, 116, 36, 0.9);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.process-carousel-prev { left: 12px; }
.process-carousel-next { right: 12px; }

.process-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.process-carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(229, 116, 36, 0.22);
    cursor: pointer;
}

.process-carousel-dot.is-active {
    background: var(--process-accent);
}

.process-legacy-thermal {
    padding: 48px 0 56px;
    background: #212529;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.process-legacy-thermal h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: none;
}

.process-legacy-thermal h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: var(--process-accent);
}

.process-legacy-thermal .process-legacy-thermal-lead {
    max-width: 820px;
    margin: 0 auto 28px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.process-legacy-thermal .process-legacy-thermal-lead.public-prose,
.process-legacy-thermal .process-legacy-thermal-lead.public-prose p {
    color: rgba(255, 255, 255, 0.82);
}

.process-legacy-thermal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.process-legacy-thermal-panel {
    min-height: 360px;
    background-color: #2b3035;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid rgba(229, 116, 36, 0.22);
    border-radius: 12px;
    overflow: hidden;
}

.process-legacy-thermal-panel.is-contain {
    background-size: contain;
}

.process-legacy-video {
    padding: 56px 0 64px;
    background: var(--process-bg);
    border-top: 1px solid var(--process-line);
}

.process-legacy-video .shell {
    max-width: 1120px;
}

.process-legacy-video h2 {
    margin: 0 0 24px;
    color: var(--ink, #12251e);
    text-align: center;
    font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.03em;
}

.process-legacy-video .process-video-frame {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-top: 56.25%;
    border-radius: 18px;
    overflow: hidden;
    background: var(--brand-deep, #243d34);
    box-shadow: 0 24px 70px rgba(36, 61, 52, 0.28);
}

.process-legacy-video .process-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.process-legacy-cta {
    padding: 48px 0 72px;
    background: var(--process-bg);
    border-top: 1px solid var(--process-line);
}

.process-legacy-cta-title {
    margin: 0 0 16px;
    font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.03em;
    color: var(--ink, #12251e);
}

.process-legacy-trust {
    max-width: 820px;
    margin: 0 0 18px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.process-legacy-cta-extra.hero-actions {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .process-legacy-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-legacy-row,
    .process-legacy-split,
    .process-legacy-detail-grid,
    .process-legacy-thermal-grid,
    .process-legacy-figure-grid--pair {
        grid-template-columns: 1fr;
    }

    .process-legacy-row.is-reverse .process-legacy-bg-panel,
    .process-legacy-row.is-reverse .process-legacy-copy-panel {
        order: initial;
    }

    .process-legacy-bg-panel {
        min-height: 260px;
    }

    .process-legacy-copy-panel {
        padding: 32px 20px;
    }

    .process-legacy-thermal-panel {
        min-height: 240px;
    }
}

@media (max-width: 640px) {
    .process-legacy-steps-grid {
        grid-template-columns: 1fr;
    }

    .process-carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
}
