
:root {
    --pl-red: #ee212b;
    --pl-red-dark: #c91620;
    --pl-navy: #082c4b;
    --pl-navy-2: #0d3a63;
    --pl-ink: #1f2d3a;
    --pl-muted: #5b6b7a;
    --pl-line: #dfe5ea;
    --pl-soft: #f4f7f9;
    --pl-white: #ffffff;
    --pl-shadow: 0 12px 34px rgba(8, 44, 75, 0.09);
    --pl-radius: 12px;
}

.project-library-page { color: var(--pl-ink); }

/* maintenance-agreement.css sets #main-wrap { max-width:1240px; margin:40px auto 28px; padding:0 20px },
   which clips the full-bleed section bands and makes the body 100px narrower than the hero and CTA.
   Needs #main-wrap in the selector to beat id specificity. .container then inherits the theme width. */
#main-wrap.project-library-page { max-width: none; margin: 0; padding: 0; }

/* Same sheet gives .section-heading a red left bar (duplicates .pl-eyebrow, indents headings 18px past
   it) and margin-top:46px, which fires in every section because the eyebrow makes it never :first-child. */
.project-library-page .section-heading { border-left: 0; padding-left: 0; margin-top: 0; }

.project-library-page p { line-height: 1.72; }
.project-library-page button,
.project-library-page select,
.project-library-page input { font: inherit; }

.pl-eyebrow {
    color: var(--pl-red);
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.25px;
    margin: 0 0 8px;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   HERO
   Full-bleed photograph under a navy gradient, centred editorial stack.
   Unscoped on purpose - the hero sits outside #main-wrap.project-library-page.
   Keeps .estimate-wrap-layout1's 7rem/6rem padding and 12px red bottom border.
   --------------------------------------------------------------------------- */
.pl-hero {
    position: relative;
    z-index: 1;
    background-color: var(--pl-navy);
    /* Overlay opacities lightened from .5/.95/.88/.86 so the roof photograph reads through.
       Kept above ~.66 in the mid band - below that the #d3e0ea lead copy drops under 4.5:1
       against the bright rooftop units in the lower half of the image. */
    background-image: radial-gradient(118% 88% at 50% 16%, rgba(13, 58, 99, .34) 0%, rgba(6, 24, 41, 0) 60%), linear-gradient(112deg, rgba(5, 22, 38, .80) 0%, rgba(8, 44, 75, .70) 46%, rgba(46, 27, 56, .68) 100%), url('/img/commercial/commercial-roof-project.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

/* Parallax variant - same treatment as commercial-roofing.html's
   .estimate-wrap-layout1.parallax-window (parallax.min.js, default speed .2).
   The plugin paints the photograph into a fixed .parallax-mirror at z-index:-100 appended to
   <body>, so this section must be fully transparent for the image to show through it.
   The scrim therefore moves off background-image and onto ::before: on iOS and Android the
   plugin skips the mirror and writes background-image:url(...) straight onto this element,
   which would wipe out any gradient declared here. As a pseudo-element it survives everywhere,
   and those platforms still get the photo - just pinned rather than scrolling.
   Scoped to this modifier so the 8 .cs-hero case-study pages keep their own background stack. */
.pl-hero-parallax {
    background-color: transparent;
    background-image: none;
}

.pl-hero-parallax::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        /* Left text scrim. Replaces the earlier radial plate: now that .pl-hero-start pins the
           copy to the container's left edge, a horizontal ramp tracks it at every viewport width,
           where a radial centred on a fixed percentage drifted off the text as the page narrowed.
           Fully released by 70% so the right half of the roof photograph stays open. */
        linear-gradient(to right, rgba(3, 14, 26, .58) 0%, rgba(3, 14, 26, .40) 38%, rgba(3, 14, 26, 0) 70%),
        radial-gradient(118% 88% at 50% 16%, rgba(13, 58, 99, .34) 0%, rgba(6, 24, 41, 0) 60%),
        linear-gradient(112deg, rgba(5, 22, 38, .80) 0%, rgba(8, 44, 75, .70) 46%, rgba(46, 27, 56, .68) 100%);
}

/* Without this the static .container paints below the positioned ::before and the scrim
   would cover the headline. Same lift .pl-intro .container already needs. */
.pl-hero-parallax > .container { position: relative; z-index: 1; }

/* Left-aligned hero, matching .cs-hero on the project-template-* case study pages.
   Those three rules live in commercial-roofing-case-study.css, which this page does not
   load - and borrowing .cs-hero wholesale is not an option anyway, since it also sets a
   background-image and would clobber the transparency the parallax mirror needs.
   Pair with <div class="row"> (no .justify-content-center) as the templates do. */
.pl-hero-start .pl-hero-inner { text-align: left; }
.pl-hero-start .hero-cta-row { justify-content: flex-start; }
.pl-hero-start .pl-hero-lead { margin-left: 0; }

.pl-hero-inner { text-align: center; }

.pl-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: var(--pl-white);
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3.2px;
    text-transform: uppercase;
}
.pl-hero-eyebrow::before { content: ''; width: 38px; height: 3px; border-radius: 2px; background: var(--pl-red); }

.pl-hero-title {
    margin: 0;
    color: var(--pl-white);
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: clamp(34px, 5.4vw, 66px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.02;
    text-transform: uppercase;
}
.pl-hero-title span { display: block; }
.pl-hero-title-accent { color: var(--pl-red); }

.pl-hero-meta {
    margin: 16px 0 0;
    color: #9fc0dc;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}
.pl-hero-meta span { color: var(--pl-red); margin: 0 6px; }

.pl-hero-lead { margin: 20px auto 0; max-width: 720px; color: #d3e0ea; font-size: 17px; line-height: 1.75; }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

.pl-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.1px;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.pl-hero-btn:hover { text-decoration: none; transform: translateY(-2px); }
/* style.css zeroes a:focus outlines site-wide, so restore a visible ring here. */
.pl-hero-btn:focus-visible { outline: 3px solid rgba(255, 255, 255, .75); outline-offset: 3px; transform: translateY(-2px); }

.pl-hero-btn-primary { background: var(--pl-red); color: var(--pl-white); box-shadow: 0 12px 30px rgba(238, 33, 43, .32); }
.pl-hero-btn-primary:hover, .pl-hero-btn-primary:focus-visible { background: var(--pl-red-dark); color: var(--pl-white); box-shadow: 0 16px 36px rgba(238, 33, 43, .42); }

.pl-hero-btn-ghost {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .3);
    color: var(--pl-white);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.pl-hero-btn-ghost:hover, .pl-hero-btn-ghost:focus-visible { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); color: var(--pl-white); }

@keyframes plHeroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pl-hero-inner > * { animation: plHeroRise .7s cubic-bezier(.22, .61, .36, 1) both; }
.pl-hero-inner > *:nth-child(2) { animation-delay: .08s; }
.pl-hero-inner > *:nth-child(3) { animation-delay: .16s; }
.pl-hero-inner > *:nth-child(4) { animation-delay: .24s; }
.pl-hero-inner > *:nth-child(5) { animation-delay: .32s; }

/* ---------------------------------------------------------------------------
   INTRO
   Copy left, dark spec panel right. The panel echoes the hero so the white
   section reads as a deliberate break rather than an empty gap.
   --------------------------------------------------------------------------- */
/* Scroll reveal. Gated on the attribute the page script sets on <html>, so if the
   script never runs the content simply renders - it is never left at opacity 0. */
[data-pl-reveal-ready] [data-pl-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.22, .61, .36, 1); }
[data-pl-reveal-ready] [data-pl-reveal].is-revealed { opacity: 1; transform: none; }
[data-pl-reveal-ready] [data-pl-reveal]:nth-of-type(2) { transition-delay: .12s; }

.pl-intro { position: relative; padding: 88px 0 80px; background: var(--pl-white); overflow: hidden; }
/* Ambient wash so the section isn't a flat white slab behind the panel. */
.pl-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(44% 60% at 90% 6%, rgba(238, 33, 43, .07) 0%, rgba(238, 33, 43, 0) 70%),
        radial-gradient(50% 68% at 2% 98%, rgba(8, 44, 75, .08) 0%, rgba(8, 44, 75, 0) 70%);
}
/* Fine blueprint grid, masked so it fades out behind the copy. Reads as technical
   drawing texture rather than a background colour change. */
.pl-intro::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(8, 44, 75, .055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(8, 44, 75, .055) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(72% 62% at 26% 44%, #000 0%, transparent 76%);
    mask-image: radial-gradient(72% 62% at 26% 44%, #000 0%, transparent 76%);
}
.pl-intro .container { position: relative; z-index: 1; }
.pl-intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 64px; align-items: center; }
.pl-intro .section-heading { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.16; margin-bottom: 22px; }
.pl-heading-accent { color: var(--pl-red); }
/* Standfirst treatment - the red rule is the one place a bar earns its keep. */
.pl-lead { padding-left: 20px; border-left: 3px solid var(--pl-red); font-size: 21px; font-weight: 500; line-height: 1.62; color: var(--pl-navy); }

.pl-intro-figure { position: relative; margin: 34px 0 0; border-radius: 16px; overflow: hidden; box-shadow: 0 22px 50px rgba(8, 44, 75, .18); }
.pl-intro-figure img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.pl-intro-figure:hover img { transform: scale(1.05); }
.pl-intro-figure figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 48px 22px 20px;
    background: linear-gradient(to top, rgba(4, 20, 35, .93) 0%, rgba(4, 20, 35, .55) 55%, rgba(4, 20, 35, 0) 100%);
    color: #d7e5f0;
    font-size: 14px;
    line-height: 1.5;
}
.pl-intro-figure figcaption span {
    display: inline-block;
    margin-bottom: 9px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--pl-red);
    color: var(--pl-white);
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.pl-intro-facts {
    position: relative;
    counter-reset: pl-fact;
    background: linear-gradient(158deg, #0e3f6c 0%, #082c4b 52%, #061c31 100%);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    box-shadow: 0 28px 64px rgba(6, 28, 49, .3);
    overflow: hidden;
    padding: 26px 26px 10px;
}
/* Red bloom bleeding in from the top-right corner. */
.pl-intro-facts::before {
    content: '';
    position: absolute;
    top: -110px;
    right: -90px;
    width: 300px;
    height: 300px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(238, 33, 43, .42) 0%, rgba(238, 33, 43, 0) 68%);
}
.pl-facts-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 4px;
    color: rgba(255, 255, 255, .58);
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.6px;
    text-transform: uppercase;
}
.pl-facts-title::before { content: ''; width: 24px; height: 2px; border-radius: 2px; background: var(--pl-red); }

.pl-facts-list { position: relative; margin: 0; }
.pl-facts-list > div { counter-increment: pl-fact; position: relative; padding: 20px 2px 20px 54px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.pl-facts-list > div:last-child { border-bottom: 0; }
.pl-facts-list > div::before {
    content: counter(pl-fact, decimal-leading-zero);
    position: absolute;
    left: 2px;
    top: 22px;
    color: var(--pl-red);
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .5px;
}
.pl-facts-list > div::after {
    content: '';
    position: absolute;
    left: 32px;
    top: 23px;
    bottom: 23px;
    width: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .13);
    transition: background-color .25s ease;
}
.pl-facts-list > div:hover::after { background: var(--pl-red); }
.pl-facts-list dt { color: var(--pl-white); font-family: var(--font-heading, 'Oswald', sans-serif); font-size: 20px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; }
.pl-facts-list dd { margin: 7px 0 0; color: #a8c4dc; font-size: 18px; line-height: 1.7; }

.pl-library-section { padding: 68px 0 76px; background: var(--pl-soft); border-top: 1px solid var(--pl-line); }
.pl-section-heading-row { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.pl-section-heading-row p { margin-bottom: 0; }
.pl-text-link, .pl-secondary-link { color: var(--pl-navy); font-weight: 700; text-decoration: none; }
.pl-text-link:hover, .pl-secondary-link:hover { color: var(--pl-red); }

/* Four even tracks over two rows. The previous single row declared ~1200px of minmax minimums against
   ~1124px of available width, so the selects and reset button overflowed the panel on every desktop. */
.pl-filter-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 14px;
    align-items: end;
    background: var(--pl-white);
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius);
    box-shadow: 0 8px 24px rgba(8, 44, 75, .06);
    padding: 22px;
}
.pl-filter-search { grid-column: span 2; }
.pl-filter-actions { display: flex; align-items: flex-end; }
.pl-filter-panel label { display: block; color: var(--pl-navy); font-size: 12px; font-weight: 800; letter-spacing: .55px; margin-bottom: 7px; text-transform: uppercase; }
.pl-filter-panel select, .pl-filter-panel input {
    width: 100%; min-height: 46px; background: var(--pl-white); border: 1px solid #cbd5dc; border-radius: 7px; color: var(--pl-ink); padding: 10px 12px;
}
.pl-filter-panel select:focus, .pl-filter-panel input:focus, .pl-filter-panel button:focus,
.pl-browse-card:focus, .pl-system-grid button:focus { outline: 3px solid rgba(238, 33, 43, .25); outline-offset: 2px; border-color: var(--pl-red); }
.pl-search-control { position: relative; }
.pl-search-control i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--pl-muted); }
.pl-search-control input { padding-left: 39px; }
.pl-reset-button { width: 100%; min-height: 46px; border: 1px solid var(--pl-navy); border-radius: 7px; background: var(--pl-white); color: var(--pl-navy); font-weight: 700; padding: 10px 16px; white-space: nowrap; cursor: pointer; }
.pl-reset-button:hover { background: var(--pl-navy); color: var(--pl-white); }
.pl-results-bar { display: flex; justify-content: space-between; gap: 18px; color: var(--pl-muted); padding: 18px 0 20px; }
.pl-results-bar strong { color: var(--pl-navy); }

.pl-featured-project { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); overflow: hidden; margin-bottom: 28px; }
.pl-featured-media, .pl-card-image { position: relative; overflow: hidden; background: var(--pl-navy); }
.pl-featured-media img, .pl-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-featured-media { min-height: 500px; }
.pl-project-badge { position: absolute; top: 16px; left: 16px; background: var(--pl-red); color: var(--pl-white); border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: .65px; padding: 6px 10px; text-transform: uppercase; }
.pl-featured-content { padding: 38px; }
.pl-project-kicker { color: var(--pl-red); font-family: var(--font-heading, 'Oswald', sans-serif); font-size: 12px; font-weight: 700; letter-spacing: .65px; margin: 0 0 8px; text-transform: uppercase; }
.pl-featured-content h3, .pl-card-body h3 { color: var(--pl-navy); font-family: var(--font-heading, 'Oswald', sans-serif); font-weight: 600; line-height: 1.25; text-transform: uppercase; }
.pl-featured-content h3 { font-size: 28px; margin: 0 0 14px; }
.pl-project-summary { color: var(--pl-muted); font-size: 16px; }
.pl-fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--pl-line); border-radius: 8px; margin: 22px 0; overflow: hidden; }
.pl-fact-grid div { padding: 12px 14px; border-bottom: 1px solid var(--pl-line); }
.pl-fact-grid div:nth-child(odd) { border-right: 1px solid var(--pl-line); }
.pl-fact-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.pl-fact-grid dt, .pl-card-facts dt { color: var(--pl-red); font-size: 10px; font-weight: 800; letter-spacing: .75px; text-transform: uppercase; }
.pl-fact-grid dd, .pl-card-facts dd { color: var(--pl-ink); margin: 3px 0 0; font-weight: 600; }
.pl-challenge-result { border-left: 4px solid var(--pl-red); padding-left: 16px; margin-bottom: 22px; }
.pl-challenge-result p { margin: 0 0 8px; }
.pl-primary-link { display: inline-flex; align-items: center; gap: 8px; background: var(--pl-navy); border-radius: 6px; color: var(--pl-white); font-weight: 700; padding: 13px 17px; text-decoration: none; }
.pl-primary-link:hover { background: var(--pl-red); color: var(--pl-white); }

.pl-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pl-project-card { background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); box-shadow: 0 7px 22px rgba(8,44,75,.06); display: flex; flex-direction: column; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.pl-project-card:hover { transform: translateY(-3px); box-shadow: var(--pl-shadow); }
.pl-project-card[hidden], .pl-featured-project[hidden] { display: none !important; }
.pl-card-image { height: 220px; }
.pl-card-body { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.pl-card-body h3 { font-size: 19px; margin: 0 0 16px; }
.pl-card-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--pl-line); border-bottom: 1px solid var(--pl-line); margin: 0 0 16px; padding: 15px 0; }
.pl-card-body p { color: var(--pl-muted); font-size: 14.5px; margin: 0 0 9px; }
.pl-card-body p strong { color: var(--pl-ink); }
.pl-card-body > a { border-top: 1px solid var(--pl-line); color: var(--pl-navy); font-weight: 700; margin-top: auto; padding-top: 15px; text-decoration: none; }
.pl-card-body > a:hover { color: var(--pl-red); }

.pl-empty-state { background: var(--pl-white); border: 1px dashed #aebbc5; border-radius: var(--pl-radius); margin-top: 24px; padding: 40px; text-align: center; }
.pl-empty-state h3 { color: var(--pl-navy); }
.pl-secondary-button { background: var(--pl-navy); border: 0; border-radius: 6px; color: var(--pl-white); cursor: pointer; font-weight: 700; padding: 11px 16px; }
.pl-secondary-button:hover { background: var(--pl-red); }
.pl-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; }
.pl-pagination a, .pl-pagination span { border: 1px solid var(--pl-line); border-radius: 5px; color: var(--pl-navy); min-width: 40px; padding: 8px 12px; text-align: center; text-decoration: none; }
.pl-pagination .current, .pl-pagination a:hover { background: var(--pl-navy); border-color: var(--pl-navy); color: var(--pl-white); }

.pl-browse-section, .pl-documentation-section, .pl-trust-section, .pl-faq-section, .pl-related-services { padding: 72px 0; }
.pl-soft-section { background: var(--pl-soft); border-top: 1px solid var(--pl-line); border-bottom: 1px solid var(--pl-line); }
.pl-browse-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
/* These cards are <button>s, so the UA centres their content vertically against min-height and the
   "View projects" line floats. Flex column tops the content out and pins the link to the bottom. */
.pl-browse-card { background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: 10px; color: var(--pl-ink); cursor: pointer; display: flex; flex-direction: column; min-height: 230px; padding: 24px; text-align: left; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.pl-browse-card:hover { border-color: var(--pl-red); box-shadow: var(--pl-shadow); transform: translateY(-2px); }
.pl-browse-icon { align-items: center; align-self: flex-start; background: rgba(238,33,43,.09); border-radius: 50%; color: var(--pl-red); display: inline-flex; flex: 0 0 auto; height: 48px; justify-content: center; margin-bottom: 17px; width: 48px; }
.pl-browse-card strong { color: var(--pl-navy); display: block; font-family: var(--font-heading, 'Oswald', sans-serif); font-size: 18px; margin-bottom: 8px; text-transform: uppercase; }
.pl-browse-card > span:not(.pl-browse-icon) { color: var(--pl-muted); display: block; line-height: 1.55; }
.pl-browse-card small { color: var(--pl-red); display: block; font-size: 13px; font-weight: 800; margin-top: auto; padding-top: 16px; }

.pl-system-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.pl-system-grid button { background: var(--pl-navy); border: 0; border-left: 5px solid var(--pl-red); border-radius: 8px; color: var(--pl-white); cursor: pointer; display: flex; flex-direction: column; justify-content: center; min-height: 120px; padding: 20px; text-align: left; }
.pl-system-grid button:hover { background: var(--pl-red); }
.pl-system-grid strong { display: block; font-family: var(--font-heading, 'Oswald', sans-serif); font-size: 18px; margin-bottom: 6px; text-transform: uppercase; }
.pl-system-grid span { color: #d9e6f0; display: block; line-height: 1.45; }

.pl-doc-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 52px; align-items: start; }
.pl-documentation-list { columns: 2; column-gap: 34px; list-style: none; margin: 0; padding: 0; }
.pl-documentation-list li { break-inside: avoid; line-height: 1.55; padding: 7px 0 7px 27px; position: relative; }
.pl-documentation-list li::before { color: var(--pl-red); content: '✓'; font-weight: 900; left: 0; position: absolute; top: 6px; }

.pl-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pl-trust-grid > div { border: 1px solid var(--pl-line); border-top: 4px solid var(--pl-red); border-radius: 9px; padding: 24px; }
.pl-trust-grid i { color: var(--pl-red); font-size: 26px; }
.pl-trust-grid h3 { color: var(--pl-navy); font-family: var(--font-heading, 'Oswald', sans-serif); font-size: 17px; margin: 15px 0 7px; text-transform: uppercase; }
.pl-trust-grid p { color: var(--pl-muted); font-size: 14.5px; margin: 0; }

/* ---------------------------------------------------------------------------
   MANUFACTURER CERTIFICATIONS
   Full-bleed navy band sitting between two light sections. Reuses the gradient
   from .pl-intro-facts so the dark break reads as part of the same system
   rather than a borrowed panel. Replaces the .cert-section / .cert-grid /
   .cert-card rules that lived in the projects-index mockup's inline <style>.
   --------------------------------------------------------------------------- */
.pl-cert-section {
    padding: 72px 0;
    background: linear-gradient(158deg, #0e3f6c 0%, #082c4b 52%, #061c31 100%);
}

/* maintenance-agreement.css paints .section-heading navy, which is invisible here. */
.pl-cert-section .section-heading { color: var(--pl-white); }
/* No max-width - the intro copy runs the full container width, flush with the card grid below. */
.pl-cert-section p { color: #cfe0ec; }

/* .pl-eyebrow is red, and red on this navy is only 3.3:1 - under AA for 13px text.
   Takes the hero eyebrow's treatment instead: white label, red rule carries the accent. */
.pl-cert-section .pl-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--pl-white); }
.pl-cert-section .pl-eyebrow::before { content: ''; width: 30px; height: 3px; border-radius: 2px; background: var(--pl-red); }

.pl-cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.pl-cert-card { background: var(--pl-white); border-left: 4px solid var(--pl-red); border-radius: 8px; padding: 18px 20px; }
.pl-cert-card strong { display: block; color: var(--pl-navy); font-family: var(--font-heading, 'Oswald', sans-serif); font-size: 17px; letter-spacing: .3px; text-transform: uppercase; }
.pl-cert-card span { display: block; margin-top: 4px; color: var(--pl-muted); font-size: 13.5px; line-height: 1.5; }

/* ---------------------------------------------------------------------------
   FAQ
   Mirrors .cs-faq in commercial-roofing-case-study.css so this page and the 8
   case-study pages read identically. Duplicated rather than shared because that
   sheet is not loaded here. Native <details>/<summary> - no toggle script, and
   keyboard plus screen-reader behaviour comes free. This replaces the projects-
   index mockup's .faq-wrap/.faq-q/.faq-a markup and its inline toggleFAQ().
   --------------------------------------------------------------------------- */
.pl-faq { margin-top: 26px; }
.pl-faq details { margin-bottom: 12px; border: 1px solid var(--pl-line); border-radius: 10px; background: var(--pl-white); overflow: hidden; }
.pl-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 22px; cursor: pointer; color: var(--pl-navy); font-family: var(--font-heading, 'Oswald', sans-serif); font-size: 15.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; list-style: none; }
.pl-faq summary::-webkit-details-marker { display: none; }
/* \25BC = down-pointing triangle, matching the .faq-q .arrow marker on the projects-index
   mockup. Escaped rather than pasted literally to keep this sheet ASCII-only. */
.pl-faq summary::after { content: '\25BC'; flex: 0 0 auto; color: var(--pl-red); font-size: 17px; font-weight: 400; line-height: 1; transition: transform .25s ease; }
.pl-faq details[open] summary { border-bottom: 1px solid var(--pl-line); }
.pl-faq details[open] summary::after { transform: rotate(180deg); }
.pl-faq summary:hover { background: var(--pl-soft); }
/* style.css zeroes focus outlines site-wide; summary is a real control and needs one back. */
.pl-faq summary:focus-visible { outline: 3px solid rgba(238, 33, 43, .35); outline-offset: -3px; }
.pl-faq-body { padding: 18px 22px 4px; }
.pl-faq-body p { color: var(--pl-muted); font-size: 15px; }

.pl-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.pl-link-grid a { background: var(--pl-white); border: 1px solid var(--pl-line); border-left: 4px solid var(--pl-red); border-radius: 8px; color: var(--pl-navy); font-family: var(--font-heading, 'Oswald', sans-serif); font-size: 17px; font-weight: 600; padding: 20px; text-decoration: none; text-transform: uppercase; }
.pl-link-grid a:hover { border-color: var(--pl-red); box-shadow: 0 7px 20px rgba(8,44,75,.07); }
.pl-link-grid span { color: var(--pl-muted); display: block; font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.5; margin-top: 7px; text-transform: none; }

@media (max-width: 1199px) {
    .pl-filter-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pl-filter-search { grid-column: span 2; }
    .pl-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl-browse-grid, .pl-system-grid, .pl-trust-grid, .pl-cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl-featured-media { min-height: 420px; }
}

/* The two-column blocks used to hold their split all the way down to 767px, which squeezed the featured
   project's fact grid and the documentation checklist into ~120px columns on tablets. */
@media (max-width: 991px) {
    .pl-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl-filter-search { grid-column: span 2; }
    .pl-intro-grid, .pl-featured-project, .pl-doc-grid { grid-template-columns: 1fr; gap: 30px; }
    .pl-intro-grid { gap: 40px; }
    .pl-featured-media { min-height: 360px; }
    .pl-featured-content { padding: 30px; }
}

@media (max-width: 767px) {
    /* Top padding stays at .estimate-wrap-layout1's 7rem on mobile. meanmenu's .mean-bar is
       position:fixed (style.css ~2453), so it overlays the page instead of taking up flow
       space - the hero's own top padding is the only thing holding the eyebrow clear of it.
       Trimming this to 5rem left roughly a 2px gap. Only the bottom is reduced here. */
    .pl-hero { padding: 7rem 0 4rem; }
    .pl-hero-eyebrow { font-size: 11px; gap: 10px; letter-spacing: 2.6px; }
    .pl-hero-eyebrow::before { width: 26px; }
    .pl-hero-meta { font-size: 11px; letter-spacing: 1.8px; }
    .pl-hero-lead { font-size: 16px; margin-top: 18px; }
    .hero-cta-row { gap: 12px; margin-top: 26px; }
    .pl-hero-btn { justify-content: center; width: 100%; }
    .pl-intro, .pl-library-section, .pl-browse-section, .pl-documentation-section, .pl-trust-section, .pl-cert-section, .pl-faq-section, .pl-related-services { padding: 50px 0; }
    .pl-lead { font-size: 19px; padding-left: 16px; }
    .pl-intro-figure { margin-top: 28px; }
    .pl-intro-figure img { aspect-ratio: 16 / 9; }
    .pl-intro-figure figcaption { padding: 40px 18px 17px; font-size: 13px; }
    .pl-intro-facts { padding: 22px 20px 8px; border-radius: 14px; }
    .pl-facts-list > div { padding: 18px 2px 18px 48px; }
    .pl-facts-list > div::after { left: 28px; }
    .pl-intro-grid, .pl-featured-project, .pl-doc-grid { grid-template-columns: 1fr; gap: 28px; }
    .pl-section-heading-row { align-items: start; flex-direction: column; }
    .pl-filter-panel { grid-template-columns: 1fr; }
    .pl-filter-search { grid-column: auto; }
    .pl-results-bar { align-items: flex-start; flex-direction: column; gap: 3px; }
    .pl-featured-media { min-height: 280px; }
    .pl-featured-content { padding: 25px; }
    .pl-featured-content h3 { font-size: 23px; }
    .pl-project-grid, .pl-browse-grid, .pl-system-grid, .pl-trust-grid, .pl-cert-grid, .pl-link-grid { grid-template-columns: 1fr; }
    .pl-documentation-list { columns: 1; }
    .pl-card-image { height: 230px; }
    .pl-browse-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pl-project-card, .pl-browse-card, .pl-hero-btn, .pl-facts-list > div::after, .pl-intro-figure img, .pl-faq summary::after { transition: none; }
    .pl-hero-inner > * { animation: none; }
    .pl-hero-btn:hover, .pl-hero-btn:focus-visible { transform: none; }
    .pl-intro-figure:hover img { transform: none; }
    [data-pl-reveal-ready] [data-pl-reveal] { opacity: 1; transform: none; transition: none; }
}
.doc-panel {
    background: #fff;
    border: 1px solid var(--proj-line);
    border-radius: 10px;
    padding: 25px
}
