/* ==========================================================================
   PlasticPeople theme. Based on Brand Guidelines V1.0 (2020).
   Blue #0000FF primary, red #FF321C sparingly, black & white default.
   ========================================================================== */

:root {
	--pp-blue: #0000ff;
	--pp-blue-soft: #c9ccff;
	--pp-red: #ff321c;
	--pp-black: #000;
	--pp-white: #fff;
	--pp-grey: #f2f2f2;
	--pp-text: #000;
	--pp-muted: #555;
	--pp-line: #e1e1e1;
	--pp-dark-line: #333;
	--pp-dark-muted: #c2c2c2;
	--pp-gutter: 40px;
	--pp-max: 1280px;
	--pp-section: clamp(3.5rem, 2rem + 5vw, 7rem);
	--pp-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
	--pp-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--pp-voice: 'Fraunces', Georgia, serif;
	--pp-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--pp-header-h) + 16px); }
body { margin: 0; font-family: var(--pp-sans); color: var(--pp-text); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pp-blue); text-underline-offset: 0.18em; }
a:hover { color: var(--pp-black); }
:focus-visible { outline: 2px solid var(--pp-blue); outline-offset: 2px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.pp-skip:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 10px 14px; }

.pp-wrap { max-width: var(--pp-max); margin-inline: auto; padding-inline: var(--pp-gutter); }
.pp-narrow { max-width: 860px; }

/* ---------- Header ---------- */
.pp-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--pp-line); }
.admin-bar .pp-header { top: 32px; }
.pp-header__inner { max-width: var(--pp-max); margin: 0 auto; padding: 0 var(--pp-gutter); min-height: var(--pp-header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pp-header__logo { display: inline-flex; color: var(--pp-blue); }
.pp-header__logo .pp-logo-svg { height: 28px; width: auto; }
@media (max-width: 900px) { .pp-header__logo .pp-logo-svg { height: 24px; } }
.pp-header__toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--pp-black); cursor: pointer; }
.pp-header__toggle .pp-close { display: none; }
.pp-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.pp-menu a { color: var(--pp-black); text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.pp-menu a:hover, .pp-menu .current-menu-item > a, .pp-menu .current_page_item > a { color: var(--pp-blue); }
/* Add the CSS class "pp-menu-button" to a menu item (Appearance › Menus) to make it a button. */
.pp-menu .pp-menu-button > a { display: inline-flex; align-items: center; gap: 8px; background: var(--pp-black); color: #fff; padding: 0.7rem 1.2rem; border-radius: 2px; font-weight: 600; }
.pp-menu .pp-menu-button > a::after { content: '↘'; }
.pp-menu .pp-menu-button > a:hover { background: var(--pp-blue); color: #fff; }

/* ---------- Content flow ---------- */
.pp-content > * { margin-block: 0; }
.pp-content > :where(:not(.alignfull):not(.pp-section)) { max-width: calc(860px + 2 * var(--pp-gutter)); margin-inline: auto; padding-inline: var(--pp-gutter); }
.pp-content > :where(:not(.alignfull):not(.pp-section)):first-child { padding-top: var(--pp-section); }
.pp-content > :where(:not(.alignfull):not(.pp-section)) + :where(:not(.alignfull):not(.pp-section)) { margin-top: 1.25rem; }
.pp-content > :where(:not(.alignfull):not(.pp-section)):last-child { padding-bottom: var(--pp-section); }

/* Full-width section groups built with patterns */
.wp-block-group.pp-section, .pp-section { padding-block: var(--pp-section); padding-inline: var(--pp-gutter); }
.pp-section > .pp-wrap { padding-inline: 0; }
.wp-block-group.pp-section.pp-tight-top { padding-top: 0; }
.wp-block-group.pp-section.pp-tight-bottom { padding-bottom: 0; }
.wp-block-group.pp-hero { padding-top: clamp(3rem, 2rem + 3vw, 5rem); }

/* Backgrounds (dynamic blocks use .pp-bg-*, editor groups use has-*-background-color) */
.pp-bg-grey, .has-grey-background-color { background: var(--pp-grey); }
.pp-bg-black, .has-black-background-color { background: var(--pp-black); color: #fff; }
.pp-bg-blue, .has-blue-background-color { background: var(--pp-blue); color: #fff; }
:where(.pp-bg-black, .has-black-background-color, .pp-bg-blue, .has-blue-background-color) :where(a:not(.wp-block-button__link):not(.pp-button)) { color: #fff; }
:where(.pp-bg-black, .has-black-background-color) .is-style-lead,
:where(.pp-bg-black, .has-black-background-color) .pp-section__intro,
:where(.pp-bg-black, .has-black-background-color) p:not([class]) { color: var(--pp-dark-muted); }
:where(.pp-bg-blue, .has-blue-background-color) .is-style-lead,
:where(.pp-bg-blue, .has-blue-background-color) .pp-section__intro { color: #e3e5ff; }

/* ---------- Typography helpers ---------- */
.pp-eyebrow, p.is-style-eyebrow { font-family: var(--pp-sans); font-size: 0.8125rem !important; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-blue); margin: 0; line-height: 1.4; }
:where(.pp-bg-black, .has-black-background-color) :is(.pp-eyebrow, .is-style-eyebrow) { color: #9e9d9d; }
:where(.pp-bg-blue, .has-blue-background-color) :is(.pp-eyebrow, .is-style-eyebrow) { color: var(--pp-blue-soft); }
p.is-style-lead { font-size: var(--wp--preset--font-size--large, 1.25rem); line-height: 1.55; color: #3a3a3a; }
.pp-voice, .is-style-voice { font-family: var(--pp-voice) !important; font-weight: 400 !important; font-variation-settings: 'SOFT' 100, 'WONK' 0, 'opsz' 72; letter-spacing: -0.01em !important; }
h1, h2, h3, h4 { text-wrap: balance; }
h1 s, h2 s { text-decoration-color: var(--pp-red); text-decoration-thickness: 0.08em; color: #9e9d9d; font-weight: 600; }
.pp-muted { color: var(--pp-muted); }
.pp-small { font-size: 0.8125rem; opacity: 0.7; margin-top: 1.5rem; }
.pp-arrow { display: inline-block; }

/* ---------- Buttons ---------- */
.wp-block-button__link, .pp-button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; transition: background 0.15s, color 0.15s; }
.wp-block-button__link::after, .pp-button::after { content: '↘'; font-weight: 400; }
.pp-button { background: var(--pp-blue); color: #fff; padding: 0.85rem 1.4rem; border-radius: 2px; font-weight: 600; font-size: 0.9375rem; }
.pp-button:hover { background: var(--pp-black); color: #fff; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: currentColor; border: 1.5px solid currentColor; padding: calc(0.85rem - 1.5px) calc(1.4rem - 1.5px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--pp-black); color: #fff; border-color: var(--pp-black); }
:where(.pp-bg-black, .has-black-background-color, .pp-bg-blue, .has-blue-background-color) .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--pp-black); border-color: #fff; }
.has-blue-background-color .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background) { background: #fff; color: var(--pp-black); }
.wp-block-buttons { gap: 12px; }

/* ---------- Section heads (dynamic blocks) ---------- */
.pp-section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.pp-section__titles { display: flex; flex-direction: column; gap: 16px; }
.pp-section__title { margin: 0; font-size: var(--wp--preset--font-size--xx-large); }
.pp-section__intro { margin: 0; font-size: 1.125rem; line-height: 1.6; color: #3a3a3a; }
.pp-section__head:not(:has(.pp-section__intro)) { grid-template-columns: minmax(0, 1fr); }

/* ---------- Media ---------- */
.pp-media { position: relative; display: block; overflow: hidden; background: #e6e6e6; }
.pp-media img { width: 100%; height: 100%; object-fit: cover; }
.pp-media--square { aspect-ratio: 1; }
.pp-media--project { aspect-ratio: 4 / 3; }
.pp-media--portrait { aspect-ratio: 4 / 5; }
.pp-media--tall { aspect-ratio: 4 / 5; }
.pp-media--step { aspect-ratio: 16 / 10; }
.pp-media--hero { aspect-ratio: 16 / 7; }
.pp-tag { position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--pp-black); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; }
.wp-block-image.is-style-fill { height: 100%; margin: 0; }
.wp-block-image.is-style-fill img { width: 100%; height: 100%; object-fit: cover; }
figure.wp-block-image { margin-inline: 0; }
.wp-block-group.is-style-card > .wp-block-image { margin: 0; }
.wp-block-image img { border-radius: 0; }

/* ---------- Core layout helpers used by patterns ---------- */
.wp-block-columns { gap: 24px 64px; margin-bottom: 0; }
.wp-block-columns.pp-gap-s { gap: 24px; }
.wp-block-columns.pp-gap-0 { gap: 0; }
.wp-block-columns.are-vertically-aligned-bottom { align-items: flex-end; }

/* Card: image on top, text below, thin border */
.wp-block-group.is-style-card { border: 1px solid var(--pp-line); padding: 0; gap: 0; height: 100%; transition: border-color 0.15s; display: flex; flex-direction: column; }
.wp-block-group.is-style-card:hover { border-color: var(--pp-black); }
.wp-block-group.is-style-card > .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.wp-block-group.is-style-card > .wp-block-group { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.wp-block-group.is-style-card h3 { margin: 0; font-size: 1.75rem; }
.wp-block-group.is-style-card h3 a { color: inherit; text-decoration: none; }
.wp-block-group.is-style-card h3 a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.wp-block-group.is-style-card { position: relative; }
.wp-block-group.is-style-card p { margin: 0; }
.wp-block-group.is-style-card .pp-card-link { margin-top: auto; font-weight: 600; color: var(--pp-blue); }

/* Numbered columns: thin dividers, big numbers */
.wp-block-group.is-style-numbered > .wp-block-columns { gap: 0; }
.wp-block-group.is-style-numbered .wp-block-column { border-left: 1px solid var(--pp-line); padding: 28px; }
:where(.has-black-background-color) .wp-block-group.is-style-numbered .wp-block-column, .has-black-background-color.is-style-numbered .wp-block-column { border-color: var(--pp-dark-line); }
.has-blue-background-color.is-style-numbered .wp-block-column, :where(.has-blue-background-color) .is-style-numbered .wp-block-column { border-color: rgba(255,255,255,0.35); }
.pp-num { font-family: var(--pp-display); font-weight: 600; font-size: 2.75rem !important; line-height: 1; color: var(--pp-blue); margin: 0 0 12px; }
:where(.has-black-background-color, .has-blue-background-color) .pp-num { color: var(--pp-blue-soft); }
.is-style-numbered h3 { font-size: 1.5rem; margin: 0 0 8px; }
.is-style-numbered p { margin: 0; }

/* Lists */
ul.is-style-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
ul.is-style-chips li { border: 1px solid #d9d9d9; padding: 9px 14px; font-size: 0.875rem; font-weight: 500; background: #fff; }
ul.is-style-lines, ol.is-style-lines { list-style: none; padding: 0; margin: 0; }
.is-style-lines li { border-top: 1px solid var(--pp-line); padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.is-style-lines li:first-child { border-top-color: currentColor; }
.is-style-lines li:last-child { border-bottom: 1px solid currentColor; }
.is-style-lines li strong { flex: none; }
.is-style-lines li em { font-style: normal; color: var(--pp-muted); text-align: right; }

/* ---------- Dynamic blocks ---------- */
/* Stats */
.pp-stats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--pp-cols, 4), minmax(0, 1fr)); }
.pp-cols-1 { --pp-cols: 1; } .pp-cols-2 { --pp-cols: 2; } .pp-cols-3 { --pp-cols: 3; } .pp-cols-4 { --pp-cols: 4; }
.pp-stats__item { border-left: 1px solid var(--pp-line); padding: 0 24px; display: flex; flex-direction: column; gap: 8px; }
.pp-bg-black .pp-stats__item, .pp-bg-blue .pp-stats__item { border-color: var(--pp-dark-line); }
.pp-stats__value { font-family: var(--pp-display); font-weight: 600; font-size: clamp(2.75rem, 2rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -0.03em; }
.pp-stats__label { color: inherit; opacity: 0.8; }
.pp-stats .pp-section__head { margin-bottom: 40px; }

/* Materials */
.pp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -1rem 0 2.5rem; }
.pp-filter { min-height: 44px; padding: 0 18px; border: 1px solid #d9d9d9; background: #fff; color: var(--pp-black); font: 500 0.875rem var(--pp-sans); cursor: pointer; border-radius: 2px; }
.pp-filter.is-active, .pp-filter:hover { background: var(--pp-black); color: #fff; border-color: var(--pp-black); }
.pp-materials__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 24px; }
.pp-material[hidden] { display: none; }
.pp-material__link { display: flex; flex-direction: column; gap: 6px; color: var(--pp-black); text-decoration: none; }
.pp-material__link .pp-media { margin-bottom: 8px; }
.pp-material__link:hover { color: var(--pp-blue); }
.pp-material__code { font-family: var(--pp-display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; }
.pp-material__name { color: var(--pp-muted); font-size: 0.875rem; }

/* Projects */
.pp-projects__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--pp-cols, 3), minmax(0, 1fr)); gap: 40px 24px; }
.pp-project__link { display: flex; flex-direction: column; gap: 10px; color: var(--pp-black); text-decoration: none; height: 100%; }
.pp-bg-grey .pp-project__link { background: #fff; }
.pp-bg-grey .pp-project__link > :not(.pp-media) { padding-inline: 20px; }
.pp-bg-grey .pp-project__link > :last-child { padding-bottom: 22px; }
.pp-project__link .pp-media { margin-bottom: 6px; }
.pp-project__title { font-family: var(--pp-display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.15; }
.pp-cols-4 .pp-project__title { font-size: 1.2rem; }
.pp-project__summary { color: #3a3a3a; line-height: 1.55; font-size: 0.9375rem; }
.pp-project__kg { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-blue); }
.pp-project__link:hover .pp-project__title { color: var(--pp-blue); }

/* Collectors */
.pp-collectors__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.pp-collector { display: flex; flex-direction: column; gap: 10px; }
.pp-collector__name { margin: 12px 0 0; font-size: 1.5rem; }
.pp-collector__meta { margin: 0; color: var(--pp-muted); }
.pp-collector__quote { margin: 4px 0 0; font-size: 1.25rem; line-height: 1.4; }
.pp-collector__story { margin: 0; line-height: 1.6; }

/* Spotlight */
.pp-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.pp-spotlight__body { display: flex; flex-direction: column; gap: 24px; }
.pp-spotlight__quote { margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.6rem); line-height: 1.2; }
.pp-spotlight__name { margin: 0; }
.pp-spotlight__name span { opacity: 0.8; }

/* Numbered points (collector support) */
.pp-numbered { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--pp-cols, 3), minmax(0, 1fr)); }
.pp-numbered__item { border-left: 1px solid var(--pp-line); padding: 8px 32px; }
.pp-bg-black .pp-numbered__item, .pp-bg-blue .pp-numbered__item { border-color: var(--pp-dark-line); }
.pp-numbered__num { display: block; font-family: var(--pp-display); font-weight: 600; font-size: 2.75rem; line-height: 1; color: var(--pp-blue); margin-bottom: 14px; }
.pp-bg-black .pp-numbered__num, .pp-bg-blue .pp-numbered__num { color: #6f7bff; }
.pp-numbered__title { margin: 0 0 10px; font-size: 1.5rem; }
.pp-numbered__item p { margin: 0; line-height: 1.6; }
.pp-bg-black .pp-numbered__item p { color: var(--pp-dark-muted); }

/* Drop-offs */
.pp-dropoffs__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pp-black); }
.pp-dropoff { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--pp-line); }
.pp-dropoff p { margin: 0 0 4px; }
.pp-dropoff__name { margin: 0 0 6px; font-size: 1.25rem; }
.pp-dropoff__side { text-align: right; }
.pp-link { font-weight: 600; text-decoration: none; }

/* FAQs */
.pp-faqs .pp-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 64px; }
.pp-faqs .pp-section__head { grid-template-columns: 1fr; align-items: start; margin: 0; }
.pp-faq { border-top: 1px solid var(--pp-black); padding: 22px 0; }
.pp-faq:last-child { border-bottom: 1px solid var(--pp-black); }
.pp-faq__q { cursor: pointer; font-weight: 600; font-size: 1.125rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.pp-faq__q::-webkit-details-marker { display: none; }
.pp-faq__q::after { content: '+'; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--pp-blue); }
.pp-faq[open] .pp-faq__q::after { content: '–'; }
.pp-faq__a { color: #3a3a3a; line-height: 1.6; padding-top: 10px; }
.pp-faq__a p { margin: 0 0 0.75em; }

/* Partners */
.pp-partners .pp-wrap { border-top: 1px solid var(--pp-black); padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 40px; }
.pp-partners .pp-section__head { grid-template-columns: 1fr; margin: 0; align-items: start; }
.pp-partners .pp-eyebrow { color: var(--pp-black); }
.pp-partners__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; }
.pp-partner__name { font-size: 1.125rem; font-weight: 500; color: #3a3a3a; }
.pp-partner a { text-decoration: none; }
.pp-partner.has-logo img { height: 40px; width: auto; filter: grayscale(1); opacity: 0.75; transition: 0.2s; }
.pp-partner.has-logo a:hover img { filter: none; opacity: 1; }

/* Steps */
.pp-steps__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--pp-line); }
.pp-step { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 36px 0; border-top: 1px solid var(--pp-line); }
.pp-bg-grey .pp-step, .pp-bg-grey .pp-steps__list { border-color: #d9d9d9; }
.pp-step__num { font-family: var(--pp-display); font-weight: 600; font-size: 4rem; line-height: 1; color: var(--pp-blue); letter-spacing: -0.03em; }
.pp-step__title { margin: 0 0 8px; font-size: 1.75rem; }
.pp-step__text p { margin: 0; color: #3a3a3a; line-height: 1.6; }

/* Awards */
.pp-awards__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pp-line); }
.pp-awards__list li { padding: 12px 0; border-bottom: 1px solid var(--pp-line); color: #3a3a3a; }
.pp-awards__list strong { color: var(--pp-black); margin-right: 6px; }
.wp-block-column .pp-awards { padding: 0 !important; }
.pp-awards .pp-section__head { margin-bottom: 16px; }

/* Badge (Supplied by PLASTICPeople) */
.pp-badge { --pp-badge-size: 280px; display: flex; justify-content: center; }
.pp-badge__inner { width: var(--pp-badge-size); height: var(--pp-badge-size); border-radius: 50%; background: #fff; color: var(--pp-black); box-shadow: 0 0 0 10px var(--pp-blue), 0 0 0 12px #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 10%; }
:where(:not(.has-blue-background-color):not(.pp-bg-blue)) > .pp-badge .pp-badge__inner { box-shadow: 0 0 0 3px var(--pp-blue); }
.pp-badge__symbol { color: var(--pp-blue); width: 18%; margin-bottom: 6px; }
.pp-badge__symbol svg { width: 100%; height: auto; }
.pp-badge__label { font-size: calc(var(--pp-badge-size) * 0.04); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pp-blue); }
.pp-badge__logo { color: var(--pp-blue); width: 78%; }
.pp-badge__logo svg { width: 100%; height: auto; }
.pp-badge__kg { font-family: var(--pp-display); font-weight: 700; font-size: calc(var(--pp-badge-size) * 0.1); letter-spacing: -0.02em; margin-top: 8px; border-top: 2px solid var(--pp-black); padding-top: 8px; }
.pp-badge__caption { font-size: calc(var(--pp-badge-size) * 0.045); max-width: 70%; line-height: 1.3; }

/* Contact */
.pp-contact__list { margin: 0; display: grid; gap: 14px; }
.pp-contact__list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; border-top: 1px solid var(--pp-line); padding-top: 14px; }
.pp-contact__list dt { font-weight: 600; }
.pp-contact__list dd { margin: 0; }

/* ---------- Single project / material ---------- */
.pp-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--pp-black); }
.pp-facts li { padding: 18px 32px 18px 0; margin-right: 32px; display: flex; flex-direction: column; gap: 4px; }
.pp-facts .pp-facts__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-muted); }
.pp-facts .pp-facts__value { font-family: var(--pp-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.pp-specs { width: 100%; border-collapse: collapse; }
.pp-specs th, .pp-specs td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--pp-line); vertical-align: top; }
.pp-specs th { width: 40%; font-weight: 600; padding-right: 16px; }
.pp-specs tr:first-child > * { border-top: 1px solid var(--pp-black); }
.pp-single__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.pp-single__head h1 { margin: 12px 0 0; }
.pp-single__body { max-width: 860px; }
.pp-single__body > * + * { margin-top: 1.25rem; }
.pp-quote { margin: 0; border-left: 3px solid var(--pp-blue); padding-left: 24px; }
.pp-quote p { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.3; margin: 0 0 12px; }
.pp-quote cite { font-style: normal; color: var(--pp-muted); }
.pp-backlink { display: inline-block; margin-bottom: 24px; font-weight: 600; text-decoration: none; }
.pp-backlink::before { content: '← '; }
.pp-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.pp-post-card a { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }

/* ---------- Footer ---------- */
.pp-footer { background: var(--pp-black); color: #fff; padding: 64px 0 40px; }
.pp-footer a { color: #fff; text-decoration: none; }
.pp-footer a:hover { color: var(--pp-blue-soft); }
.pp-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.pp-footer__logo .pp-logo-svg { height: 34px; width: auto; color: #fff; }
.pp-footer__social, .pp-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px 32px; flex-wrap: wrap; }
.pp-footer__cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 40px; }
.pp-footer__contact p { margin: 0 0 6px; color: var(--pp-dark-muted); }
.pp-footer__bottom { border-top: 1px solid #262626; margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.875rem; color: #9e9d9d; }
.pp-footer__bottom a { color: #9e9d9d; }


/* ---------- Pattern extras ---------- */
.pp-hero h1 { margin-block: 1rem 0; }
.wp-block-image.pp-hero-img img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.wp-block-column .wp-block-image.pp-hero-img img { aspect-ratio: 4 / 3; }
.wp-block-image.is-style-fill img { aspect-ratio: auto; min-height: 100%; }
.pp-circles .wp-block-columns { gap: 24px; }
.pp-circles .wp-block-column { border: 0 !important; padding: 0 !important; text-align: center; }
.pp-circles .pp-num { width: 96px; height: 96px; margin: 0 auto 16px; border: 1.5px solid var(--pp-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem !important; }
.pp-three-ways .wp-block-column { border-top: 1px solid var(--pp-black); padding-top: 24px; }
.pp-three-ways h3 { margin: 0; }
.pp-apps h4 { margin: 12px 0 2px; }
.pp-apps p { margin: 0; font-size: 0.9375rem; }
.pp-apps img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pp-cta-band h2 { margin: 0; }
.pp-cta-band .wp-block-buttons { justify-content: flex-end; }
.wp-block-group.pp-section > .wp-block-columns + .wp-block-group, .wp-block-group.pp-section > .wp-block-columns + .wp-block-columns, .wp-block-group.pp-section > .wp-block-group + .wp-block-columns { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.has-blue-background-color .is-style-lines li:first-child, .has-blue-background-color .is-style-lines li:last-child { border-color: #fff; }
.has-blue-background-color .is-style-lines li { border-color: rgba(255,255,255,0.35); }
ol.is-style-lines { counter-reset: pp; }
ol.is-style-lines li { justify-content: flex-start; }
ol.is-style-lines li::before { counter-increment: pp; content: counter(pp, decimal-leading-zero); font-family: var(--pp-display); font-weight: 600; color: var(--pp-blue-soft); min-width: 2.5em; }
:where(:not(.has-blue-background-color)) > * > ol.is-style-lines li::before { color: var(--pp-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.pp-materials__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pp-projects__grid.pp-cols-4 { --pp-cols: 2; }
}
@media (max-width: 900px) {
	:root { --pp-gutter: 20px; --pp-header-h: 64px; }
	.pp-header__toggle { display: inline-flex; }
	.pp-header__nav { display: none; width: 100%; padding-bottom: 12px; }
	.pp-header.is-open .pp-header__nav { display: block; }
	.pp-header.is-open .pp-burger { display: none; }
	.pp-header.is-open .pp-close { display: inline; }
	.pp-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.pp-menu li a { display: block; padding: 14px 0; border-top: 1px solid var(--pp-line); font-size: 1.125rem; }
	.pp-menu .pp-menu-button { margin-top: 12px; }
	.pp-menu .pp-menu-button > a { justify-content: space-between; padding: 0.85rem 1.2rem; border: 0; }
	.pp-section__head, .pp-split, .pp-single__head, .pp-faqs .pp-wrap, .pp-partners .pp-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.pp-stats__list, .pp-numbered { --pp-cols: 2 !important; row-gap: 32px; }
	.pp-numbered { --pp-cols: 1 !important; }
	.pp-stats__item { padding: 0 16px; }
	.pp-numbered__item { padding: 4px 20px; }
	.pp-materials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.pp-projects__grid, .pp-collectors__grid, .pp-posts { --pp-cols: 1 !important; grid-template-columns: minmax(0, 1fr); }
	.pp-step { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 28px 0; }
	.pp-step__num { font-size: 2.5rem; }
	.pp-dropoff { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.pp-dropoff__side { text-align: left; }
	.wp-block-group.is-style-numbered .wp-block-column { padding: 20px 0 20px 16px; }
	.wp-block-columns.pp-keep-2 { flex-wrap: wrap !important; }
	.wp-block-columns.pp-keep-2 > .wp-block-column { flex-basis: calc(50% - 1px) !important; }
	.pp-badge { --pp-badge-size: 240px !important; }
	.pp-cta-band .wp-block-buttons { justify-content: flex-start; }
	.wp-block-image.pp-hero-img img { aspect-ratio: 4 / 3; }
	.pp-circles .wp-block-columns { flex-wrap: wrap !important; }
	.pp-circles.is-style-numbered .wp-block-columns > .wp-block-column { flex-basis: calc(50% - 12px) !important; }
}
@media (max-width: 781px) {
	.wp-block-columns { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ---------- Contrast on dark/blue sections (higher specificity than defaults) ---------- */
.has-black-background-color p.is-style-lead, .pp-bg-black .pp-section__intro, .pp-bg-black p.pp-section__intro { color: var(--pp-dark-muted); }
.has-blue-background-color p.is-style-lead, .pp-bg-blue .pp-section__intro { color: #e3e5ff; }
.has-black-background-color p.is-style-eyebrow, .pp-bg-black .pp-eyebrow { color: #9e9d9d; }
.has-blue-background-color p.is-style-eyebrow, .pp-bg-blue .pp-eyebrow { color: var(--pp-blue-soft); }
.has-black-background-color .is-style-numbered p:not(.pp-num), .has-blue-background-color .is-style-numbered p:not(.pp-num) { opacity: 0.85; }

/* Fill-height image matches the neighbouring column */
.wp-block-column:has(> .wp-block-image.is-style-fill) { position: relative; min-height: 280px; }
.wp-block-image.is-style-fill { position: absolute; inset: 0; height: auto; }
.wp-block-image.is-style-fill img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; }
.is-style-numbered h3 { margin-top: 0.5rem; }
.pp-circles .wp-block-column { padding-inline: 8px !important; }

/* Header, footer and content share one edge */
.pp-wrap, .pp-header__inner { max-width: calc(var(--pp-max) + 2 * var(--pp-gutter)); }
.pp-section > .pp-wrap { max-width: var(--pp-max); }

/* Coloured words in headings (Gutenberg "Highlight" text colour): no yellow box. A highlight with a chosen background colour still works. */
mark { background-color: transparent; color: inherit; }

/* Mobile: application tiles two per row, property lines stacked */
@media (max-width: 900px) {
	.wp-block-columns.pp-keep-2 { gap: 24px 16px !important; }
	.wp-block-columns.pp-keep-2 > .wp-block-column { flex-basis: calc(50% - 8px) !important; flex-grow: 0 !important; }
	ul.is-style-lines li { flex-direction: column; gap: 2px; padding: 12px 0; }
	ul.is-style-lines li em { text-align: left; }
}

/* Project cards: second photo slides in on hover; otherwise a slow pan */
.pp-media--project.has-second .pp-media__second { position: absolute; inset: 0; transform: translateX(100%); transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.pp-project__link:hover .pp-media--project.has-second .pp-media__second { transform: translateX(0); }
.pp-project__link:hover .pp-media--project.has-second img:first-child { transform: translateX(-25%); }
.pp-media--project img:first-child { transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.pp-project__link:hover .pp-media--project:not(.has-second) img:first-child { transform: scale(1.06) translateX(-2%); }
.pp-media--project .pp-tag { z-index: 2; }
.pp-button--outline { background: transparent; color: var(--pp-black); border: 1.5px solid currentColor; }
.pp-button--outline:hover { background: var(--pp-black); color: #fff; }

/* Project pages: wider body and a tidy photo grid */
.pp-section.pp-tight-top { padding-top: 0; }
.pp-single--project .pp-wrap:not(.pp-split) > .pp-single__body { max-width: none; }
.pp-single--project .pp-single__body > p, .pp-single--project .pp-single__body > .pp-quote, .pp-single--project .pp-single__body > h2, .pp-single--project .pp-single__body > h3 { max-width: 760px; }
.pp-single .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 2rem; }
.pp-single .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; }
.pp-single .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .pp-single .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* Light button on blue/black (e.g. sustainability report under the numbers) */
.pp-button--light { background: #fff; color: var(--pp-black); }
.pp-button--light:hover { background: var(--pp-black); color: #fff; }
.pp-stats__report { margin: 2.5rem 0 0; }

.pp-projects__all { margin: 2.5rem 0 0; }
