/**
 * Page Sections — reusable designed sections built from core blocks.
 *
 * The markup is plain wp:group / wp:heading / wp:paragraph / wp:image carrying
 * the class names below. Every decorative element (diagonal split, dot grid,
 * icon tiles, hover accent bars) is a pseudo-element here, so nothing but text
 * and images lives in post_content and the page stays editable in Gutenberg.
 *
 * Loaded on the "Full Width (Blocks)" page template. Class names are namespaced
 * pl-* and inert on pages that don't use them.
 *
 * Sections: .pl-hero  .pl-story  .pl-values
 */

.pl-hero,
.pl-story,
.pl-values {
    --pl-section-padding: 80px;
    --pl-card-radius: 8px;
}

/* Core's flow layout adds margin-block-start to every child. Zero it on our
   containers so the explicit margins below are the only ones in play. */
.pl-hero > *,
.pl-hero__inner > *,
.pl-hero__content > *,
.pl-hero__image-wrap > *,
.pl-hero__stat-card > *,
.pl-hero__badges > *,
.pl-story > *,
.pl-story__inner > *,
.pl-story__left > *,
.pl-story__right > *,
.pl-story__stats > *,
.pl-story__stat > *,
.pl-values > *,
.pl-values__inner > *,
.pl-values__header > *,
.pl-values__grid > *,
.pl-values__card > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* ── Shared eyebrow ─────────────────────────────────────────── */
.pl-eyebrow {
    display: inline-block;
    font-family: var(--font-light);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.pl-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 520px;
    padding: 80px 0 0;
    overflow: hidden;
    background: var(--color-dark);
}

/* Diagonal split */
.pl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, var(--color-dark) 52%, #1a3a7a 52%);
    z-index: 0;
}

/* Dot grid, clipped to the dark side of the split */
.pl-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(101, 200, 250, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    clip-path: polygon(0 0, 53% 0, 53% 100%, 0 100%);
    z-index: 0;
}

.pl-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: flex-end;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

.pl-hero__content {
    padding: 0 64px 64px 0;
}

/* Breadcrumb — wraps the breadcrumbs block's <nav><ol><li> output */
.pl-hero__breadcrumb {
    margin-bottom: 24px;
    font-family: var(--font-light);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
}

.pl-hero__breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pl-hero__breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}

/* Whichever pseudo the block uses for its separator */
.pl-hero__breadcrumb li::before,
.pl-hero__breadcrumb li::after {
    color: rgba(255, 255, 255, 0.25);
}

.pl-hero__breadcrumb a {
    color: var(--color-light-blue);
    text-decoration: none;
}

.pl-hero__breadcrumb a:hover {
    text-decoration: underline;
}

/* Tag pill — the leading dot is the ::before */
.pl-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    padding: 5px 14px;
    border: 1px solid rgba(54, 136, 205, 0.35);
    border-radius: 100px;
    background: rgba(54, 136, 205, 0.18);
    font-family: var(--font-light);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-light-blue);
}

.pl-hero__tag::before {
    content: '';
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-light-blue);
    animation: pl-pulse 2s ease-in-out infinite;
}

@keyframes pl-pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.8); }
}

@media (prefers-reduced-motion: reduce) {
    .pl-hero__tag::before { animation: none; }
}

.pl-hero__heading {
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--color-white);
}

/* Italic in the editor = highlighted words. No HTML for the client to manage. */
.pl-hero__heading em {
    font-style: normal;
    color: var(--color-light-blue);
}

/* Stacks cleanly whether the hero has one paragraph or several */
.pl-hero__desc {
    max-width: 520px;
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.62);
}

.pl-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 36px;
}

.pl-hero__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.pl-hero__badge::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-color: var(--color-light-blue);
    -webkit-mask: var(--pl-icon-check) center / contain no-repeat;
            mask: var(--pl-icon-check) center / contain no-repeat;
}

/* Right image panel */
.pl-hero__image-wrap {
    position: relative;
    align-self: flex-end;
    height: 440px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(160deg, #1e4fa3 0%, #2d6bbf 100%);
}

.pl-hero__image-wrap .wp-block-image {
    position: absolute;
    inset: 0;
    margin: 0;
    height: 100%;
}

.pl-hero__image-wrap .wp-block-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 16px 16px 0 0;
}

/* Floating stat card */
.pl-hero__stat-card {
    position: absolute;
    top: 40px;
    left: -20px;
    z-index: 2;
    padding: 14px 20px 14px 68px;
    border-radius: var(--pl-card-radius);
    background: var(--color-white);
    box-shadow: var(--shadow-hover);
}

/* Icon tile */
.pl-hero__stat-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    border-radius: 8px;
    background: rgba(54, 136, 205, 0.1);
}

/* Glyph inside the tile */
.pl-hero__stat-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 29px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background-color: var(--color-primary);
    -webkit-mask: var(--pl-icon-users) center / contain no-repeat;
            mask: var(--pl-icon-users) center / contain no-repeat;
}

.pl-hero__stat-num {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-dark);
}

.pl-hero__stat-label {
    margin-top: 2px;
    font-family: var(--font-light);
    font-size: 11px;
    color: var(--color-grey);
}

/* ════════════════════════════════════════════════════════════
   OUR STORY
════════════════════════════════════════════════════════════ */
.pl-story {
    padding: var(--pl-section-padding) 0;
    background: var(--color-white);
}

.pl-story__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

.pl-story__left {
    position: relative;
    padding-left: 20px;
}

/* Gradient accent bar */
.pl-story__left::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 3px;
    height: 48px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-light-blue));
}

.pl-story__heading {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-dark);
}

.pl-story__heading em {
    font-style: normal;
    color: var(--color-primary);
}

.pl-story__lead {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text);
}

.pl-story__right {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 8px;
}

.pl-story__body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* Stat strip */
.pl-story__stats {
    display: flex;
    margin-top: 4px;
    border: 1px solid var(--color-light-grey);
    border-radius: var(--pl-card-radius);
    overflow: hidden;
}

.pl-story__stat {
    flex: 1;
    padding: 20px 24px;
    text-align: center;
    border-right: 1px solid var(--color-light-grey);
    background: var(--color-off-white);
}

.pl-story__stat:last-child {
    border-right: none;
}

.pl-story__stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-dark);
}

.pl-story__stat-num em {
    font-style: normal;
    color: var(--color-primary);
}

.pl-story__stat-label {
    display: block;
    margin-top: 6px;
    font-family: var(--font-light);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--color-grey);
}

/* ════════════════════════════════════════════════════════════
   OUR VALUES
════════════════════════════════════════════════════════════ */
/* Shares --color-dark with the site footer, which sits directly below it. The
   hairline is what separates the two bands — without it they fuse into one slab.
   It lives here rather than on the footer, which is styled site-wide. */
.pl-values {
    position: relative;
    padding: var(--pl-section-padding) 0;
    overflow: hidden;
    background: var(--color-dark);
    border-bottom: 1px solid rgba(101, 200, 250, 0.15);
}

/* Grid texture */
.pl-values::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(54, 136, 205, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(54, 136, 205, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.pl-values__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

.pl-values__header {
    margin-bottom: 56px;
    text-align: center;
}

.pl-values__header .pl-eyebrow {
    color: var(--color-light-blue);
}

.pl-values__heading {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-white);
}

.pl-values__subhead {
    max-width: 520px;
    margin: 12px auto 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

.pl-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card. The hover accent bar is a background-image sized 0 → 100%, which frees
   ::before and ::after to build the icon tile. */
.pl-values__card {
    --pl-accent: var(--color-primary);
    --pl-accent-tint: rgba(54, 136, 205, 0.15);

    position: relative;
    padding: 100px 28px 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--pl-card-radius);
    background-color: rgba(255, 255, 255, 0.04);
    background-image: linear-gradient(var(--pl-accent), var(--pl-accent));
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0% 3px;
    overflow: hidden;
    transition: background-color 0.25s ease, background-size 0.3s ease,
                transform 0.25s ease, box-shadow 0.25s ease;
}

.pl-values__card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    background-size: 100% 3px;
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

@media (prefers-reduced-motion: reduce) {
    .pl-values__card { transition: none; }
    .pl-values__card:hover { transform: none; }
}

/* Icon tile */
.pl-values__card::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 28px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--pl-accent-tint);
}

/* Glyph, centred in the tile */
.pl-values__card::after {
    content: '';
    position: absolute;
    top: 47px;
    left: 39px;
    width: 22px;
    height: 22px;
    background-color: var(--pl-accent);
    -webkit-mask: var(--pl-icon) center / contain no-repeat;
            mask: var(--pl-icon) center / contain no-repeat;
}

/* Accents alternate primary / light blue; each card sets its own glyph */
.pl-values__card--1 { --pl-icon: var(--pl-icon-shield); }
.pl-values__card--2 { --pl-icon: var(--pl-icon-info);   --pl-accent: var(--color-light-blue); --pl-accent-tint: rgba(101, 200, 250, 0.15); }
.pl-values__card--3 { --pl-icon: var(--pl-icon-phone); }
.pl-values__card--4 { --pl-icon: var(--pl-icon-users);  --pl-accent: var(--color-light-blue); --pl-accent-tint: rgba(101, 200, 250, 0.15); }

.pl-values__card-title {
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

.pl-values__card-text {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

/* ════════════════════════════════════════════════════════════
   ICONS — outline SVGs as masks, so accent colour is set in CSS
════════════════════════════════════════════════════════════ */
.pl-hero,
.pl-values {
    --pl-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    --pl-icon-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75'/%3E%3C/svg%3E");
    --pl-icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
    --pl-icon-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
    --pl-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6A19.79 19.79 0 012.12 4.18 2 2 0 014.11 2h3a2 2 0 012 1.72c.127.96.361 1.903.7 2.81a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E");
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .pl-values__grid { grid-template-columns: repeat(2, 1fr); }
    .pl-hero__inner  { grid-template-columns: 1fr 340px; }
    .pl-hero__heading { font-size: 38px; }
}

@media (max-width: 768px) {
    .pl-hero,
    .pl-story,
    .pl-values {
        --pl-section-padding: 56px;
    }

    .pl-hero {
        min-height: auto;
        padding: 60px 0 0;
    }

    .pl-hero__inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .pl-hero__content    { padding: 0 0 40px; }
    .pl-hero__heading    { font-size: 30px; }
    .pl-hero__image-wrap { height: 280px; border-radius: 12px 12px 0 0; }

    .pl-hero__image-wrap .wp-block-image img { border-radius: 12px 12px 0 0; }

    /* Pull the stat card inside the panel so it can't overflow the viewport */
    .pl-hero__stat-card { left: 12px; }

    .pl-story__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 0 20px;
    }

    .pl-story__heading,
    .pl-values__heading { font-size: 28px; }

    .pl-story__stats { flex-direction: column; }

    .pl-story__stat {
        border-right: none;
        border-bottom: 1px solid var(--color-light-grey);
    }

    .pl-story__stat:last-child { border-bottom: none; }

    .pl-values__inner { padding: 0 20px; }
    .pl-values__grid  { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   SUSTAINABILITY SECTIONS
   .pl-eco-hero  .pl-impact  .pl-commit  .pl-accred  .pl-eco-cta
   Timeline lives in its own block (gt/timeline).
════════════════════════════════════════════════════════════ */

.pl-eco-hero,
.pl-impact,
.pl-commit,
.pl-accred,
.pl-eco-cta {
    --pl-icon-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.5-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 11c0 5.5-7 10-7 10z'/%3E%3C/svg%3E");
    --pl-icon-people: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M5 21a7 7 0 0 1 14 0'/%3E%3Cpath d='M12 12v3'/%3E%3C/svg%3E");
    --pl-icon-pulse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9 9 0 0 1 9 9 9 9 0 0 1-9 9'/%3E%3Cpath d='M3 12h6l2-3 2 6 2-3h2'/%3E%3C/svg%3E");
    --pl-icon-award: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 14 7 22l5-2.5L17 22l-1.5-8'/%3E%3C/svg%3E");
    --pl-icon-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 122 24' fill='%23000'%3E%3Cpath d='M12 2l2.9 6.3 6.9.7-5.2 4.6 1.5 6.8L12 17.6 5.9 20.4l1.5-6.8L2.2 9l6.9-.7z'/%3E%3Cpath transform='translate(25,0)' d='M12 2l2.9 6.3 6.9.7-5.2 4.6 1.5 6.8L12 17.6 5.9 20.4l1.5-6.8L2.2 9l6.9-.7z'/%3E%3Cpath transform='translate(50,0)' d='M12 2l2.9 6.3 6.9.7-5.2 4.6 1.5 6.8L12 17.6 5.9 20.4l1.5-6.8L2.2 9l6.9-.7z'/%3E%3Cpath transform='translate(75,0)' d='M12 2l2.9 6.3 6.9.7-5.2 4.6 1.5 6.8L12 17.6 5.9 20.4l1.5-6.8L2.2 9l6.9-.7z'/%3E%3Cpath transform='translate(100,0)' d='M12 2l2.9 6.3 6.9.7-5.2 4.6 1.5 6.8L12 17.6 5.9 20.4l1.5-6.8L2.2 9l6.9-.7z'/%3E%3C/svg%3E");
}

/* Core's flow layout margins, off — explicit margins below are the only ones. */
.pl-eco-hero > *, .pl-eco-hero__inner > *, .pl-eco-hero__content > *, .pl-eco-hero__cta > *,
.pl-impact > *, .pl-impact__inner > *, .pl-impact__grid > *, .pl-impact__stat > *,
.pl-commit > *, .pl-commit__inner > *, .pl-commit__grid > *, .pl-commit__card > *,
.pl-accred > *, .pl-accred__inner > *, .pl-accred__grid > *,
.pl-eco-cta > *, .pl-eco-cta__inner > *, .pl-eco-cta__content > *, .pl-eco-cta__media > *,
.pl-sec-head > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* ── Shared: eco eyebrow + centred section head ─────────────── */
.pl-eyebrow-eco {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-eco);
}

.pl-sec-head {
    max-width: 620px;
    margin: 0 auto 48px;
    text-align: center;
}

.pl-sec-head h2 {
    margin-top: 12px;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--color-dark);
}

/* The eyebrow is also a <p> in here — exclude it, or it inherits the grey. */
.pl-sec-head p:not(.pl-eyebrow-eco) {
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-grey);
}

/* ── Shared: eco pill button (core Button block) ────────────── */
.pl-btn-eco .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 26px;
    border-radius: 50px;
    background: var(--color-eco);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 12px 26px -12px rgba(46, 158, 91, 0.7);
    transition: background 0.18s ease, transform 0.14s ease;
}

.pl-btn-eco .wp-block-button__link:hover {
    background: #247C47;
    transform: translateY(-2px);
}

.pl-btn-eco .wp-block-button__link::after {
    content: '';
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: var(--pl-arrow-right) center / contain no-repeat;
            mask: var(--pl-arrow-right) center / contain no-repeat;
}

.pl-eco-hero,
.pl-eco-cta {
    --pl-arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ════════════════════════════════
   ECO HERO
════════════════════════════════ */
.pl-eco-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #EEF5FC 0%, var(--color-eco-tint) 100%);
}

.pl-eco-hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 58px 24px 64px;
}

.pl-crumb {
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-grey);
}

.pl-crumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pl-crumb li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pl-crumb a { color: inherit; text-decoration: none; }
.pl-crumb a:hover { color: var(--color-primary); }

.pl-eco-hero h1 {
    margin-top: 14px;
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 4.4vw, 3.7rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--color-dark);
}

/* Italic in the editor = the eco-green highlight */
.pl-eco-hero h1 em {
    font-style: normal;
    color: var(--color-eco);
}

.pl-eco-hero__desc {
    max-width: 480px;
    margin: 20px 0 28px;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: #445;
}

.pl-eco-hero__cta {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

/* Star row is the ::before; the text sits after it */
.pl-review-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 12.5px;
    line-height: 1.3;
    color: var(--color-grey);
}

.pl-review-chip::before {
    content: '';
    flex-shrink: 0;
    width: 90px;
    height: 18px;
    background-color: #FBBC05;
    -webkit-mask: var(--pl-icon-stars) left center / contain no-repeat;
            mask: var(--pl-icon-stars) left center / contain no-repeat;
}

.pl-review-chip strong {
    color: var(--color-dark);
    font-weight: 700;
}

/* Media panel */
.pl-eco-hero__media {
    position: relative;
}

/* Soft green bloom behind the frame */
.pl-eco-hero__media::before {
    content: '';
    position: absolute;
    top: -26px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 158, 91, 0.25), transparent 70%);
}

.pl-eco-hero__media .wp-block-image {
    position: relative;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    aspect-ratio: 4 / 3.4;
}

.pl-eco-hero__media .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ════════════════════════════════
   IMPACT STAT BAND
════════════════════════════════ */
.pl-impact {
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
    color: var(--color-white);
}

.pl-impact::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -60px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(101, 200, 250, 0.22), transparent 65%);
}

.pl-impact__inner {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 44px 24px;
}

.pl-impact__head {
    margin-bottom: 26px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-light-blue);
}

.pl-impact__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.pl-impact__stat {
    padding: 6px 0 6px 20px;
    border-left: 2px solid rgba(101, 200, 250, 0.4);
}

.pl-impact__num {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.pl-impact__label {
    margin-top: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
    color: #AEBFDC;
}

.pl-impact__foot {
    margin-top: 22px;
    font-family: var(--font-body);
    font-size: 12px;
    color: #7F93BD;
}

/* ════════════════════════════════
   COMMITMENT TRIO
════════════════════════════════ */
.pl-commit {
    background: var(--color-white);
}

.pl-commit__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 78px 24px;
}

.pl-commit__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pl-commit__card {
    padding: 34px 30px;
    border: 1px solid var(--color-light-grey);
    border-radius: 18px;
    background: var(--color-white);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pl-commit__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

/* Icon tile: ::before is the tile, ::after the glyph */
.pl-commit__card {
    position: relative;
    padding-top: 116px;
}

.pl-commit__card::before {
    content: '';
    position: absolute;
    top: 34px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--color-eco-tint);
}

.pl-commit__card::after {
    content: '';
    position: absolute;
    top: 49px;
    left: 45px;
    width: 30px;
    height: 30px;
    background-color: var(--color-eco);
    -webkit-mask: var(--pl-icon) center / contain no-repeat;
            mask: var(--pl-icon) center / contain no-repeat;
}

.pl-commit__card--1 { --pl-icon: var(--pl-icon-leaf); }
.pl-commit__card--2 { --pl-icon: var(--pl-icon-people); }
.pl-commit__card--3 { --pl-icon: var(--pl-icon-pulse); }

.pl-commit__card h3 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

.pl-commit__card p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: #556;
}

/* ════════════════════════════════
   ACCREDITATION BAND
════════════════════════════════ */
.pl-accred {
    background: var(--color-white);
}

.pl-accred__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 70px 24px;
}

.pl-accred__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

/* Placeholder slot — replace each with an Image block as logos arrive */
.pl-accred__slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    aspect-ratio: 3 / 2;
    border: 1.5px dashed #C4CEDD;
    border-radius: 14px;
    background: #FBFCFE;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #AAB6C6;
    transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.pl-accred__slot::before {
    content: '';
    width: 28px;
    height: 28px;
    background-color: currentColor;
    -webkit-mask: var(--pl-icon-award) center / contain no-repeat;
            mask: var(--pl-icon-award) center / contain no-repeat;
}

.pl-accred__slot:hover {
    border-color: var(--color-eco);
    background: var(--color-eco-tint);
    color: var(--color-eco);
}

/* Once a real logo replaces a slot */
.pl-accred__grid .wp-block-image {
    display: grid;
    place-items: center;
    aspect-ratio: 3 / 2;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--color-light-grey);
    border-radius: 14px;
}

.pl-accred__grid .wp-block-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ════════════════════════════════
   ECO RANGE CTA
════════════════════════════════ */
.pl-eco-cta {
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
    color: var(--color-white);
}

.pl-eco-cta::before {
    content: '';
    position: absolute;
    left: -100px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 158, 91, 0.4), transparent 68%);
}

.pl-eco-cta__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 64px 24px;
}

.pl-eco-cta .pl-eyebrow-eco {
    color: var(--color-light-blue);
}

.pl-eco-cta h2 {
    margin-top: 12px;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.pl-eco-cta__desc {
    max-width: 440px;
    margin: 18px 0 28px;
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    color: #C2CFE6;
}

.pl-eco-cta__media {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    height: 300px;
}

.pl-eco-cta__media .wp-block-image {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 14px;
    border-radius: 16px;
    background: var(--color-white);
    overflow: hidden;
}

/* First cell runs the full height */
.pl-eco-cta__media .wp-block-image:first-child {
    grid-row: span 2;
}

.pl-eco-cta__media .wp-block-image img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

@media (prefers-reduced-motion: reduce) {
    .pl-commit__card,
    .pl-btn-eco .wp-block-button__link { transition: none; }
    .pl-commit__card:hover,
    .pl-btn-eco .wp-block-button__link:hover { transform: none; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .pl-eco-hero__inner,
    .pl-eco-cta__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .pl-impact__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .pl-commit__grid { grid-template-columns: 1fr; }
    .pl-accred__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .pl-impact__grid  { grid-template-columns: 1fr; }
    .pl-accred__grid  { grid-template-columns: repeat(2, 1fr); }
    .pl-commit__inner { padding: 56px 20px; }
    .pl-accred__inner { padding: 56px 20px; }

    .pl-eco-cta__media {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .pl-eco-cta__media .wp-block-image:first-child {
        grid-row: auto;
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }
}

/* ════════════════════════════════════════════════════════════
   CITY LANDING PAGES (Locations)
   .pl-hero__cta  .pl-trust-strip  .pl-why-grid  .pl-section-head
   .pl-products  .pl-delivery  .pl-suburb-tag  .pl-faq  .pl-cta-banner
   Reuses .pl-hero / .btn-primary / .btn-secondary / .products-grid
   from elsewhere in this file and in main.css / shop.css.
════════════════════════════════════════════════════════════ */

.pl-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 0;
}

.pl-hero__cta a {
    text-decoration: none;
}

/* Shared centred section heading, self-contained so it never collides
   with .pl-sec-head's eco-specific `p:not(.pl-eyebrow-eco)` rule above. */
.pl-section-head {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.pl-section-head h2 {
    margin: 12px 0 0;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    color: var(--color-dark);
}

.pl-section-head p:not(.pl-eyebrow) {
    margin: 12px 0 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-grey);
}

/* ── Trust strip ─────────────────────────────────────────────── */
.pl-trust-strip {
    background: var(--color-primary);
    color: var(--color-white);
}

.pl-trust-strip__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 30px 24px;
}

.pl-trust-strip__item {
    position: relative;
    text-align: center;
    padding: 6px 18px;
    margin: 0; /* cancel WP core's flow-layout block-gap margin on non-first children */
}

.pl-trust-strip__item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.28);
}

.pl-trust-strip__num {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
}

.pl-trust-strip__label {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.82);
}

/* ── Why section — light card grid ──────────────────────────── */
.pl-why-section {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.pl-why-section__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.pl-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.pl-why-card {
    padding: 28px 24px;
    border: 1px solid var(--color-light-grey);
    border-radius: var(--card-radius);
    background: var(--color-white);
    transition: transform 0.16s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pl-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.pl-why-card h3 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
}

.pl-why-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-grey);
}

/* ── Categories section ──────────────────────────────────────── */
.pl-categories-section {
    padding: var(--section-padding) 0;
    background: var(--color-off-white);
}

/* ── Featured products (pl/city-products block) ─────────────── */
.pl-products {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.pl-products__foot {
    text-align: center;
    margin-top: 32px;
}

.pl-products__foot a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.pl-products__foot a span {
    display: inline-block;
    transition: transform 0.15s ease;
}

.pl-products__foot a:hover span {
    transform: translateX(4px);
}

/* ── Delivery (pl/city-suburbs block) ────────────────────────── */
.pl-delivery {
    padding: var(--section-padding) 0;
    background: var(--color-off-white);
}

.pl-delivery__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 52px;
    align-items: start;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.pl-delivery__note h2 {
    margin: 12px 0 18px;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-dark);
}

.pl-delivery__note p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #4A5568;
}

.pl-delivery__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-primary);
    text-decoration: none;
}

.pl-delivery__empty {
    margin: 0;
    font-size: 14px;
    color: var(--color-grey);
}

.pl-suburb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pl-suburb-tag {
    background: var(--color-light-grey);
    color: var(--color-dark);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 40px;
    transition: background 0.15s ease, color 0.15s ease;
}

.pl-suburb-tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ── FAQ (pl/city-faq block) — native <details>/<summary> ───── */
.pl-faq-section {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.pl-faq {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.pl-faq__heading {
    margin: 0 0 32px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-dark);
}

.pl-faq__item {
    border: 1px solid var(--color-light-grey);
    border-left: 3px solid transparent;
    border-radius: var(--card-radius);
    margin-bottom: 12px;
    background: var(--color-white);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pl-faq__item[open] {
    border-left-color: var(--color-primary);
    box-shadow: var(--shadow-card);
}

.pl-faq__question {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 20px 54px 20px 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16.5px;
    line-height: 1.4;
    color: var(--color-dark);
}

.pl-faq__question::-webkit-details-marker {
    display: none;
}

.pl-faq__question::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 22px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-off-white);
    color: var(--color-primary);
    line-height: 26px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    transform: translateY(-50%);
    transition: transform 0.22s ease, background 0.18s ease, color 0.18s ease;
}

.pl-faq__item[open] .pl-faq__question::after {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-50%) rotate(45deg);
}

.pl-faq__answer {
    padding: 0 22px 22px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: #4A5568;
}

/* ── CTA banner ──────────────────────────────────────────────── */
.pl-cta-banner {
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
    color: var(--color-white);
    text-align: center;
}

.pl-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -170px;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(54, 136, 205, 0.32), transparent 68%);
}

.pl-cta-banner__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 66px 24px;
}

.pl-cta-banner h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: var(--color-white);
}

.pl-cta-banner p {
    margin: 16px auto 30px;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.pl-cta-banner .wp-block-buttons {
    justify-content: center;
}

/* Core Button block puts the className on the wrapping .wp-block-button div,
   not the link itself — style the descendant, same convention as .pl-btn-eco. */
.wp-block-button.btn-primary .wp-block-button__link {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: var(--btn-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.wp-block-button.btn-primary .wp-block-button__link:hover {
    background: #2A70B0;
}

.wp-block-button.btn-secondary .wp-block-button__link {
    background: transparent;
    color: var(--color-primary);
    padding: 13px 28px;
    border-radius: var(--btn-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.wp-block-button.btn-secondary .wp-block-button__link:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* On the dark CTA banner, the secondary button reads as a white outline. */
.pl-cta-banner .wp-block-button.btn-secondary .wp-block-button__link {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.45);
}

.pl-cta-banner .wp-block-button.btn-secondary .wp-block-button__link:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .pl-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .pl-delivery__grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 768px) {
    .pl-trust-strip__row  { grid-template-columns: repeat(2, 1fr) !important; row-gap: 20px; }
    .pl-why-grid          { grid-template-columns: 1fr; }
    .pl-section-head h2   { font-size: 28px; }
    .pl-cta-banner h2     { font-size: 30px; }
}

@media (max-width: 520px) {
    .pl-trust-strip__row  { grid-template-columns: 1fr !important; }
    .pl-trust-strip__item:not(:first-child)::before { display: none; }
    .pl-trust-strip__item { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
    .pl-trust-strip__item:first-child { border-top: none; }
}
