/* Fact-sheet visual language: broad water/land curves and readable brand colours. */
:root {
  --psw-sheet-blue: #e8f5fb;
  --psw-sheet-olive: #aeb95b;
  --psw-sheet-teal: #07566d;
  --psw-sheet-ink: #163b41;
  --psw-sheet-soft: #f1f8fb;
  --psw-sheet-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23aeb95b' d='M0 42C360 120 820-35 1440 32V100H0Z'/%3E%3Cpath fill='%23ffffff' d='M0 77C470 126 890 5 1440 66V100H0Z'/%3E%3C/svg%3E");
}
/* Shared page headers leave a clear area for titles above the flowing edge. */
.subpage-hero { background: var(--psw-sheet-blue); padding-bottom: 110px; }
.subpage-hero h1, .subpage-hero .subpage-kicker { color: var(--psw-sheet-teal); }
.subpage-hero::after {
  content: ''; display: block; position: absolute; inset: auto 0 -1px;
  height: 78px; background: var(--psw-sheet-wave) center bottom / 100% 100% no-repeat;
  border-radius: 0; transform: none; pointer-events: none;
}
.subpage-content { background-image: none; }
/* Homepage introduction and audience band. Existing photo masks are retained. */
.atlas-hero {
  background-color: var(--psw-sheet-blue);
  background-image: var(--psw-sheet-wave);
  background-position: center bottom; background-size: 100% 80px; background-repeat: no-repeat;
  padding-bottom: 80px;
}
.atlas-hero h1 { color: var(--psw-sheet-teal); }
.brand-echoes { display: none; }
.audience-section { background: var(--psw-sheet-olive); color: var(--psw-sheet-ink); }
.audience-section::before, .audience-section::after {
  left: 0; right: 0; background: var(--psw-sheet-olive); transform: none;
}
.audience-section .section-index, .audience-section .card-number,
.audience-section .card-cta, .audience-section .audience-heading p { color: var(--psw-sheet-ink); }
.audience-grid { gap: clamp(20px, 3vw, 40px); }
.audience-card, .audience-card:not(:first-child), .audience-card:nth-child(2), .audience-card:nth-child(3) {
  padding: 24px; background: #fff; border: 0; border-radius: 4px 42px 4px 4px;
}
.audience-card:hover, .audience-card:nth-child(2):hover, .audience-card:nth-child(3):hover { background: #f7fbf2; }
.audience-card-media, .audience-card:nth-child(2) .audience-card-media { box-shadow: none; }
.audience-card h3 { color: var(--psw-sheet-teal); font-size: clamp(28px, 2.4vw, 36px); }
.audience-card p { color: var(--psw-sheet-ink); }
.news-section { background: var(--psw-sheet-blue); }
.news-section::before, .news-section::after { left: 0; right: 0; background: var(--psw-sheet-blue); transform: none; }
.news-section h2, .news-feature h3, .intro h2, .catchment-copy h2, .resources-heading h2 { color: var(--psw-sheet-teal); }
/* Light inset panels give long pages rhythm without putting patterns behind copy. */
.subpage-content > .subpage-section:nth-of-type(even), .psw-story > .psw-chapter:nth-of-type(even) { position: relative; isolation: isolate; }
.subpage-content > .subpage-section:nth-of-type(even)::before,
.psw-story > .psw-chapter:nth-of-type(even)::before {
  content: ''; position: absolute; inset: 0 -12px; z-index: -1;
  background: var(--psw-sheet-soft); border-radius: 36px 4px 44px 4px; pointer-events: none;
}
.subpage-content h2, .subpage-content h3 { color: var(--psw-sheet-teal); }
.psw-chapter > h2, .psw-chapter > h3, .editorial-side h2 {
  border-left: 4px solid var(--psw-sheet-olive); padding-left: 16px;
}
.psw-support-list { background: var(--psw-sheet-blue); border-left-color: var(--psw-sheet-olive); }
.psw-support-list li::marker { color: var(--psw-sheet-teal); }
.psw-page-links { border-color: #a2b967; }
.psw-get-involved, .psw-story > .psw-get-involved:nth-of-type(even) {
  background: var(--psw-sheet-olive); border-radius: 4px 64px 4px 32px; color: var(--psw-sheet-ink);
}
.psw-story > .psw-get-involved::before { display: none; }
.psw-get-involved h2 { border-left: 0; padding-left: 0; }
.psw-get-involved p, .psw-get-involved .text-link { color: var(--psw-sheet-ink); }
.callout-box, .bog-card, .psw-ezine-notice, .psw-contact-person { background: var(--psw-sheet-blue); border-color: #cadfe6; }
.psw-event-schedule { border-top: 5px solid var(--psw-sheet-olive); }
.psw-category-card { background: var(--psw-sheet-soft); border-color: #cadfe6; border-top: 5px solid var(--psw-sheet-olive); }
.psw-category-card:first-child { background: #eef2da; }
.psw-general-contact { background: var(--psw-sheet-blue); border-radius: 4px 52px 4px 4px; }
.psw-general-contact h3, .psw-contact-person p, .psw-contact-person a { color: var(--psw-sheet-ink); }
.site-footer { border-top: 7px solid var(--psw-sheet-olive); }
@media (max-width: 900px) {
 .audience-card, .audience-card:not(:first-child), .audience-card:nth-child(2), .audience-card:nth-child(3) { padding: 24px; }
}
@media (max-width: 620px) {
 .subpage-hero { padding-bottom: 85px; }
 .subpage-hero::after { height: 52px; }
 .atlas-hero { padding-bottom: 54px; background-size: 100% 54px; }
 .audience-card, .audience-card:not(:first-child), .audience-card:nth-child(2), .audience-card:nth-child(3) { padding: 20px; }
 .subpage-content > .subpage-section:nth-of-type(even)::before,
 .psw-story > .psw-chapter:nth-of-type(even)::before { inset-inline: -6px; }
 .psw-get-involved { border-radius: 4px 40px 4px 24px; }
}

/* Keep article navigation and dates readable on the pale header. */
.subpage-hero .back-link, .subpage-hero .post-date, .subpage-hero .post-kicker-strip { color: var(--psw-sheet-ink); }

/* Editorial refinement: landscapes, land/water bands and an illustrated library. */
:root { --psw-sheet-soft: #f3f7ec; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.button, .text-link, .card-cta { letter-spacing: .035em; }
.button-dark { background: var(--psw-sheet-teal); }
.button-dark:hover { background: #163b41; }
a:focus-visible, button:focus-visible { outline: 3px solid #07566d; outline-offset: 5px; }
.site-footer a:focus-visible, .contact-section a:focus-visible { outline-color: #aeb95b; }
.section-index, .eyebrow, .subpage-kicker { letter-spacing: .1em; font-size: 12px; }
.subpage-hero:has(.psw-header-media) { padding: 48px 0 96px; }
.subpage-hero:has(.psw-header-media) > .section-shell {
 display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); column-gap: clamp(32px,5vw,72px); align-content: center; align-items: center;
}
.subpage-hero:has(.psw-header-media) .subpage-kicker { grid-column: 1; align-self: end; margin-bottom: 18px; }
.subpage-hero:has(.psw-header-media) h1 { grid-column: 1; align-self: start; margin: 0; font-size: clamp(40px,4.8vw,68px); max-width: 14ch; }
.subpage-hero:has(.psw-header-media) .subpage-lead { grid-column: 1; margin-top: 20px; }
.psw-header-media { grid-column: 2; grid-row: 1 / span 3; margin: 0; height: 300px; position: relative; isolation: isolate; }
.psw-header-media:not(.psw-document-hero)::before { content: ''; position: absolute; inset: 16px -12px -12px 18px; background: var(--psw-sheet-olive); border-radius: 48% 3% 38% 3% / 48% 3% 38% 3%; z-index: -1; }
.psw-header-media:not(.psw-document-hero) img { width: 100%; height: 100%; object-fit: cover; border-radius: 48% 3% 38% 3% / 48% 3% 38% 3%; }
.psw-document-hero { display: flex; align-items: center; justify-content: center; gap: 0; padding: 12px; }
.psw-document-hero img { height: 280px; width: auto; max-width: 54%; object-fit: contain; box-shadow: 0 12px 30px #163b4125; transform: rotate(-7deg); }
.psw-document-hero img + img { transform: rotate(8deg); margin-left: -24px; margin-top: 22px; }
.subpage-content { padding-block: 48px 80px; }
.subpage-content .subpage-lead { font-size: clamp(18px,1.6vw,22px); font-weight: 400; line-height: 1.65; max-width: 74ch; }
/* A fuller landscape makes the river the visual centre of the homepage. */
.hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(32px,4vw,60px); min-height: 0; padding-top: 52px; padding-bottom: 54px; }
.hero-content { transform: none; }
.atlas-hero h1 { font-size: clamp(46px,5.3vw,76px); }
.hero-intro { font-size: 18px; line-height: 1.65; max-width: 49ch; }
.hero-photo { margin: 0; min-height: 0; position: relative; }
.hero-photo-mask { mask: none; -webkit-mask: none; filter: none; aspect-ratio: 1.12; border-radius: 46% 3% 34% 3%; overflow: hidden; }
.hero-photo::before { content: ''; position: absolute; inset: 22px -12px -18px 20px; border-radius: 46% 3% 34% 3%; background: var(--psw-sheet-olive); }
.hero-photo .hero-photo-mask img { height: 100%; object-fit: cover; }
.hero-meta { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding-block: 28px; text-transform: none; letter-spacing: 0; border-top: 1px solid #bed4d8; }
.hero-meta::before, .intro-copy::before, .news-feature::before { display: none; }
.hero-meta span { display: flex; flex-direction: column; align-items: start; gap: 5px; font-size: 13px; color: #38585c; }
.hero-meta b { font-size: 30px; font-weight: 600; color: var(--psw-sheet-teal); line-height: 1.15; font-variant-numeric: tabular-nums; }
.intro { padding-block: 64px; }
.intro-grid { gap: 40px; align-items: start; }
.intro-copy { padding-top: 0; }
.intro-copy p { font-size: 18px; line-height: 1.75; }
/* One lead route and two shorter routes, instead of three tall equal boxes. */
.audience-section { padding-block: 66px 74px; margin-block: 40px; }
.audience-heading { margin-bottom: 32px; }
.audience-section h2 { color: var(--psw-sheet-ink); }
.audience-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); gap: 24px; }
.audience-card, .audience-card:not(:first-child), .audience-card:nth-child(2), .audience-card:nth-child(3) { padding: 28px; border-radius: 8px 48px 8px 8px; position: relative; }
.audience-card:first-child { grid-row: span 2; }
.audience-card:not(:first-child) { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 22px; align-items: start; }
.audience-card:not(:first-child) .card-number { position: absolute; top: 10px; left: 28px; }
.audience-card .card-number { font-size: 12px; letter-spacing: .1em; }
.audience-card-media, .audience-card:nth-child(2) .audience-card-media, .audience-card:nth-child(3) .audience-card-media { mask: none; -webkit-mask: none; border-radius: 3px 40px 3px 30px; height: 230px; margin: 14px 0 22px; }
.audience-card:not(:first-child) .audience-card-media { height: 200px; margin: 14px 0 0; }
.audience-card h3 { font-size: clamp(25px,2.2vw,32px); margin-top: 0; }
.audience-card p { font-size: 15px; line-height: 1.65; }
.audience-card .card-cta { font-size: 11px; padding-top: 20px; }
.audience-card:hover { box-shadow: 0 10px 24px #163b4115; }
.catchment-section { padding-block: 80px; gap: clamp(30px,5vw,70px); }
.resources-section { padding-block: 64px 80px; }
.resources-heading { transform: none; }
.nbs-highlight-media { background: #f1f5e4; padding: 20px; border-radius: 6px 52px 6px 6px; }
.nbs-highlight-media img { border-radius: 3px 32px 3px 3px; }
.news-section { padding-block: 64px 72px; }
.news-feature { padding-top: 0; }
.partners-section { padding-block: 72px; }
/* Reading rhythm: broad section headings and quieter, inset reading surfaces. */
.subpage-content > .subpage-section:nth-of-type(even)::before, .psw-story > .psw-chapter:nth-of-type(even)::before { display: none; }
.psw-chapter { padding-block: 48px; border-bottom: 1px solid #cbd9d4; }
.psw-chapter > h2, .psw-chapter > h3 { border-left: 0; padding: 22px 28px; background: #e8f5fb; border-radius: 3px 48px 3px 3px; max-width: none; font-size: clamp(26px,2.6vw,36px); margin-bottom: 32px; }
.psw-chapter:nth-of-type(even) > h2, .psw-chapter:nth-of-type(even) > h3 { background: #edf1d7; }
.psw-prose { max-width: 65ch; }
.psw-chapter-grid.psw-has-image { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }
.psw-chapter-media { top: 30px; }
.psw-chapter-media img { border-radius: 3px 70px 3px 45px; }
.psw-support-list { background: #f2f7f6; border: 0; border-top: 4px solid #aeb95b; border-radius: 3px 24px 3px 3px; }
.psw-objectives .psw-support-list { gap: 0 40px; background: none; padding: 0; list-style: none; counter-reset: objective; border: 0; }
.psw-objectives .psw-support-list li { counter-increment: objective; padding: 22px 0 22px 46px; margin: 0; position: relative; border-top: 1px solid #cbd9d4; }
.psw-objectives .psw-support-list li::before { content: counter(objective,decimal-leading-zero); position: absolute; top: 24px; left: 0; font-size: 16px; font-weight: 700; color: #07566d; }
.psw-page-links { background: #f3f7f6; padding: 16px 22px; border: 0; border-left: 4px solid #aeb95b; }
.psw-get-involved { border-radius: 3px 72px 3px 3px; padding: 36px; }
.psw-get-involved > h2 { background: none !important; padding: 0; margin-bottom: 20px; }
/* Compact availability list; the illustrated fact sheets get the space. */
.psw-resource-categories { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 0 40px; margin: 32px 0 40px; }
.psw-category-card { border: 0; border-bottom: 1px solid #d4dfd9; background: none; padding: 14px 0; border-radius: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
.psw-category-card:first-child { grid-row: span 4; display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 28px; background: #edf1d7; border: 0; border-radius: 3px 48px 3px 3px; }
.psw-category-card:not(:first-child) h3 { order: -1; margin: 0; font-size: 16px; max-width: 26ch; }
.psw-category-card .status-pill { margin: 0; flex-shrink: 0; font-size: 10px; letter-spacing: .04em; background: #f0f4f2; color: #4c6565; padding: 5px 7px; }
.psw-category-card:first-child .status-pill { background: #fff; color: #07566d; }
#fact-sheets > .editorial-grid { display: block; }
#fact-sheets .editorial-side { margin-bottom: 32px; }
.factsheet-cards-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.factsheet-card { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; display: flex; flex-direction: column; }
.factsheet-card:hover { box-shadow: none; transform: none; border-color: transparent; }
.psw-factsheet-preview { background: #edf3e7; padding: 24px; border-radius: 3px 36px 3px 3px; }
.psw-factsheet-preview img { display: block; width: 100%; height: auto; aspect-ratio: 481/680; object-fit: contain; box-shadow: 0 7px 16px #163b4120; transition: transform .2s; }
.factsheet-card:hover .psw-factsheet-preview img { transform: translateY(-4px); }
.psw-factsheet-copy { display: flex; flex-direction: column; flex: 1; padding-top: 20px; }
.factsheet-card h3 { font-size: 20px; line-height: 1.3; margin-top: 0; }
.factsheet-card p { font-size: 15px; }
.factsheet-card .download-link { margin-top: auto; align-self: start; padding-block: 10px; border-bottom: 1px solid #07566d; color: #07566d; }
.psw-news-card, .psw-event-schedule { padding: 30px; background: #f2f7f6; border-radius: 3px 44px 3px 3px; }
.news-feed-card { border-radius: 3px 48px 3px 3px; box-shadow: none; border: 0; background: #f2f7f6; }
.feed-card-body { padding: 28px; }
.feed-card-body h3 { font-size: 24px; }
.psw-general-contact { border-radius: 3px 64px 3px 3px; border-top: 5px solid #aeb95b; }
.psw-contact-person { border-radius: 3px 36px 3px 3px; background: #f2f7f6; border-top: 4px solid #aeb95b; }
@media(max-width:1100px) {
 .audience-card:not(:first-child) { display: flex; }
 .audience-card:not(:first-child) .card-number { position: static; }
 .audience-card:not(:first-child) .audience-card-media { height: 170px; margin: 12px 0 18px; }
 .audience-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .audience-card:first-child { grid-row: auto; }
 .audience-card-media { height: 170px; }
 .audience-card, .audience-card:not(:first-child) { padding: 20px; }
 .factsheet-cards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:900px) {
 .hero-grid { grid-template-columns: minmax(0,1fr); padding-block: 38px; }
 .hero-content { max-width: 720px; }
 .hero-intro { max-width: 65ch; }
 .hero-photo-mask { aspect-ratio: 1.8; }
 .audience-grid { grid-template-columns: minmax(0,1fr); }
 .audience-card, .audience-card:not(:first-child) { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 24px; padding: 26px; }
 .audience-card .card-number { display: none; }
 .audience-card-media, .audience-card:not(:first-child) .audience-card-media { margin: 0; height: 230px; }
 .subpage-hero:has(.psw-header-media) h1 { font-size: clamp(34px,5vw,48px); }
 .psw-header-media { height: 240px; }
 .psw-document-hero img { height: 220px; }
 .psw-resource-categories { column-gap: 24px; }
 .psw-category-card:not(:first-child) { align-items: start; flex-direction: column; gap: 4px; }
}
@media(max-width:820px) {
 .psw-chapter-grid.psw-has-image { grid-template-columns: minmax(0,1fr); }
 .psw-chapter-media { position: static; }
 .psw-chapter > h2, .psw-chapter > h3 { padding: 20px; }
}
@media(max-width:620px) {
 .subpage-hero:has(.psw-header-media) { padding: 32px 0 68px; }
 .subpage-hero:has(.psw-header-media) > .section-shell { display: block; }
 .subpage-hero:has(.psw-header-media) h1 { font-size: 38px; max-width: 17ch; }
 .psw-header-media { height: 200px; margin: 26px 4px 8px 0; }
 .psw-document-hero { height: 230px; }
 .psw-document-hero img { height: 210px; }
 .hero-photo-mask { aspect-ratio: 1.35; }
 .hero-meta { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
 .hero-meta b { font-size: 28px; }
 .hero-intro { font-size: 17px; }
 .intro, .catchment-section, .resources-section, .partners-section { padding-block: 44px; }
 .audience-section, .news-section { padding-block: 44px; }
 .audience-card, .audience-card:not(:first-child) { display: flex; padding: 22px; gap: 0; }
 .audience-card-media, .audience-card:not(:first-child) .audience-card-media { height: 210px; margin: 0 0 24px; }
 .audience-card h3 { font-size: 29px; }
 .psw-resource-categories { grid-template-columns: minmax(0,1fr); }
 .psw-category-card:first-child { grid-row: auto; margin-bottom: 12px; }
 .psw-category-card:not(:first-child) { flex-direction: row; align-items: center; gap: 12px; }
 .psw-category-card:not(:first-child) h3 { font-size: 15px; }
 .psw-category-card .status-pill { font-size: 9px; }
 .factsheet-cards-grid { grid-template-columns: minmax(0,1fr); gap: 34px; }
 .psw-factsheet-preview { padding: 28px; }
 .psw-factsheet-preview img { max-height: 340px; }
 .psw-news-card, .psw-event-schedule { padding: 22px; }
 .psw-get-involved { padding: 26px; }
 .psw-chapter { padding-block: 32px; }
 .subpage-content { padding-block: 32px 56px; }
}
@media(prefers-reduced-motion:reduce) {
 .factsheet-card:hover .psw-factsheet-preview img { transform: none; }
}

/* Explicit resets for legacy aspect ratios and masks. */
.psw-header-copy { grid-column: 1; grid-row: 1; min-width: 0; }
.psw-header-media { grid-row: 1; }
.factsheet-cards-grid { display: grid; }
.audience-grid { display: grid; }
.audience-card .audience-card-media, .audience-card:nth-child(n) .audience-card-media {
 width: 100%; min-width: 0; max-width: 100%; aspect-ratio: auto; mask: none; -webkit-mask: none; filter: none; border-radius: 3px 40px 3px 30px;
}
.audience-card .audience-card-copy { min-width: 0; }
.audience-card:hover .audience-card-media { filter: none; }
.catchment-photo-mask { mask: none; -webkit-mask: none; filter: none; border-radius: 3px 100px 3px 70px; aspect-ratio: 1.2; }
.audience-section::before, .audience-section::after, .news-section::before, .news-section::after, .contact-section::before { mask: none; -webkit-mask: none; opacity: 1; width: 100%; left: 0; right: 0; height: 28px; }
.audience-section::before, .news-section::before, .contact-section::before { top: -27px; border-radius: 65% 35% 0 0 / 100% 100% 0 0; }
.audience-section::after, .news-section::after { bottom: -27px; border-radius: 0 0 60% 40% / 0 0 100% 100%; }
@media(max-width:620px) { .catchment-photo-mask { border-radius: 3px 65px 3px 45px; } }

/* Broad river-like transition into the footer, with an olive bank above the water. */
.site-footer { --psw-footer-wave-height: clamp(54px, 6.7vw, 96px); border-top: 0; margin-top: 24px; position: relative; background: #0d292e; }
.site-footer::before { content: ''; display: block; position: absolute; left: 0; right: 0; top: calc(1px - var(--psw-footer-wave-height)); height: var(--psw-footer-wave-height); pointer-events: none; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23aeb95b%22%20d%3D%22M0%2038C180%20-4%20300%208%20490%2052S790%2098%201010%2048S1290%208%201440%2025V100H0Z%22%2F%3E%3Cpath%20fill%3D%22%230d292e%22%20d%3D%22M0%2053C180%2011%20300%2023%20490%2067S790%20113%201010%2063S1290%2023%201440%2040V100H0Z%22%2F%3E%3C%2Fsvg%3E") center bottom / 100% 100% no-repeat; }
.home .site-footer { margin-top: 0; }

.home .contact-section { margin-bottom: 0; }

/* Footer information is grouped by purpose, with readable contact details. */
.footer-top-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1.2fr) minmax(0,.85fr); gap: 40px; padding-top: 44px; }
.footer-brand-col, .footer-contact-col, .footer-nav-col { min-width: 0; }
.site-footer .footer-summary { font-size: 15px; line-height: 1.7; margin: 18px 0 24px; max-width: 42ch; }
.footer-contact-col > h3 { margin: 0 0 20px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.site-footer .footer-contact-snippet p { font-size: 15px; line-height: 1.7; margin: 0 0 20px; color: #d9e7e7; }
.footer-contact-snippet strong { display: block; color: #fff; font-weight: 600; margin-bottom: 3px; }
.footer-contact-snippet a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #769b9e; }
.site-footer .footer-nav-col a { display: inline-block; font-size: 15px; line-height: 1.55; padding-block: 4px; }
.site-footer .footer-nav-col li { margin-bottom: 6px; }
.footer-social-links { margin-top: 20px; padding-top: 20px; }
.footer-social-links .social-icons-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; max-width: 300px; }
.footer-social-links .social-link { min-height: 44px; justify-content: center; font-size: 13px; padding: 9px 10px; }
.site-footer .footer-funding-col p { font-size: 14px; line-height: 1.75; }
/* Cover and text link both open the same original PDF. */
a.psw-factsheet-preview { display: block; cursor: pointer; }
a.psw-factsheet-preview:focus-visible { outline: 3px solid #07566d; outline-offset: 5px; }
.psw-factsheet-copy > p:last-child { flex-grow: 0; margin-top: auto; }
@media(max-width:900px) {
 .footer-top-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
 .footer-brand-col { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 32px; align-items: start; }
 .footer-brand-col .footer-brand, .footer-brand-col .footer-summary { grid-column: 1; }
 .footer-brand-col .footer-social-links { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; border: 0; }
}
@media(max-width:620px) {
 .footer-top-grid { grid-template-columns: minmax(0,1fr); gap: 30px; padding-top: 32px; }
 .footer-brand-col { display: block; grid-column: auto; }
 .footer-brand-col .footer-social-links { margin-top: 20px; }
 .footer-contact-col { padding-top: 28px; border-top: 1px solid #496160; }
 .footer-nav-col { padding-top: 28px; border-top: 1px solid #496160; }
 .psw-footer-pages { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 20px; }
 .site-footer .footer-nav-col li { margin: 0; }
 .footer-contact-col > h3 { margin-bottom: 16px; }
}

/* Anchor the section dividers to their own bands. */
.audience-section, .news-section, .contact-section { position: relative; }
.news-section { --psw-news-wave-height: clamp(44px, 6vw, 86px); }
.news-section::after { content: ''; display: block; position: absolute; top: auto; bottom: calc(1px - var(--psw-news-wave-height)); left: 0; right: 0; width: 100%; height: var(--psw-news-wave-height); border-radius: 0; transform: none; opacity: 1; mask: none; -webkit-mask: none; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23e8f5fb%22%20d%3D%22M0%200H1440V34C1260%2078%201100%2090%20920%2042S620%20-4%20400%2044S150%2086%200%2054Z%22%2F%3E%3C%2Fsvg%3E") center top / 100% 100% no-repeat; pointer-events: none; }

/* Give the solutions chapter its own soft land-colour band. */
.home .resources-section { position: relative; isolation: isolate; width: 100%; max-width: none; margin-block: 38px var(--psw-solutions-wave-height); padding-inline: 0; background: #f1f5e7; --psw-solutions-wave-height: clamp(32px,4.2vw,60px); }
.home .resources-section::before, .home .resources-section::after { content: ''; position: absolute; left: 0; right: 0; height: var(--psw-solutions-wave-height); background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23f1f5e7%22%20d%3D%22M0%2042C210%2092%20340%2084%20570%2034S1040%2010%201440%2054V100H0Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; pointer-events: none; z-index: -1; }
.home .resources-section::before { bottom: calc(100% - 1px); }
.home .resources-section::after { top: 100%; transform: rotate(180deg); background-color: #e8f5fb; }
/* One continuous green-to-blue wave, without a white gap or a second curve. */
.home .resources-section + .news-section { margin-top: 0; }
.home .resources-section + .news-section::before { display: none; }
.home .resources-section .nbs-highlight-media { background: #fff; }
@media(max-width:620px) { .home .resources-section { margin-block: 26px var(--psw-solutions-wave-height); } }

/* About: use the same coloured chapter headings as the stakeholder pages. */
.psw-about-content .subpage-section { padding-block: 28px 36px; border: 0; }
.psw-about-content .editorial-grid { display: block; }
.psw-about-content .editorial-side { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 22px 28px; margin-bottom: 28px; background: #e8f5fb; border-radius: 3px 48px 3px 3px; }
.psw-about-content #funders .editorial-side { background: #edf1d7; }
.psw-about-content .editorial-side h2 { border: 0; padding: 0; margin: 0; font-size: clamp(26px,2.6vw,36px); }
.psw-about-content .editorial-side p { margin: 0; }
.psw-about-content .editorial-note { color: #496460; }
.psw-about-content .editorial-main { max-width: 90ch; padding-inline: 28px; }
.psw-about-content .editorial-main > p:first-child { margin-top: 0; }
.psw-about-content .editorial-main p { font-size: 17px; line-height: 1.75; }
.psw-about-content p:empty { display: none; }
.psw-about-content > p:has(> span[id]:only-child) { margin: 0; }
.psw-about-content .partner-card { background: #f1f5e7; border: 0; border-left: 4px solid #aeb95b; border-radius: 3px 32px 3px 3px; box-shadow: none; padding: 24px 28px; }
.psw-about-content .partner-card:nth-of-type(even) { background: #edf7fa; border-left-color: #548f91; }
.psw-about-content .partner-card h4 { margin-top: 0; font-size: 20px; }
.psw-about-content .partner-card p:last-of-type { margin-bottom: 0; }
.psw-about-content .partner-tier-block:last-of-type > .partner-card:last-of-type { margin-bottom: 0 !important; }
.psw-about-content .subpage-section:last-of-type { padding-bottom: 0; }
.psw-about-content.subpage-content { padding-bottom: 88px; }
.page-id-6 .site-footer { margin-top: 0; }
@media(max-width:620px) {
 .psw-about-content .subpage-section { padding-block: 20px 24px; }
 .psw-about-content .editorial-side { display: block; padding: 20px; margin-bottom: 22px; }
 .psw-about-content .editorial-side p { margin-top: 8px; }
 .psw-about-content .editorial-main { padding-inline: 0; }
 .psw-about-content .editorial-main p { font-size: 16px; line-height: 1.7; }
 .psw-about-content .partner-card { padding: 22px 20px; }
 .psw-about-content.subpage-content { padding-bottom: 64px; }
}

/* Balanced mobile/tablet masthead: project, Menu, funder on one row. */
@media(max-width:1200px) {
 .site-header .header-inner { grid-template-columns: minmax(0,1fr) 56px minmax(0,1fr); grid-template-areas: "brand toggle funder"; gap: 20px; align-items: center; padding: 18px 24px !important; }
 .site-header .brand, .site-header .header-funder { width: 100%; min-width: 0; }
 .site-header .header-funder { justify-self: end; justify-content: flex-end; }
 .site-header .funder-link { width: 100%; max-width: 260px; min-width: 0; }
 .site-header .brand-logo { width: 100%; max-width: 300px; height: auto; }
 .site-header .funder-logo { width: 100%; max-width: 100%; height: auto; }
 .site-header .menu-toggle { justify-self: center; min-width: 0; width: 56px; min-height: 52px; padding: 8px; }
 .site-header .main-nav.is-open { max-height: calc(100dvh - 180px); }
}
@media(max-width:620px) {
 .site-header .header-inner { grid-template-columns: minmax(0,1fr) 48px minmax(0,1fr); gap: 10px; padding: 14px 12px !important; }
 .site-header .brand-logo { max-width: 220px; }
 .site-header .funder-link { max-width: 220px; }
 .site-header .menu-toggle { width: 48px; min-height: 48px; padding: 6px; }
 .site-header .main-nav.is-open { max-height: calc(100dvh - 150px); }
}

/* Supplied partner/funder identities and final ECO leaflets, 27 September. */
.psw-about-content .psw-partner-heading{display:flex;align-items:center;gap:24px;margin-bottom:20px;}
.psw-about-content .psw-partner-heading h4{margin:0;flex:1;}
.psw-about-content .psw-partner-mark{flex:0 0 220px;background:#fff;padding:16px;border-radius:4px;}
.psw-about-content .psw-partner-mark img{display:block;width:100%;height:120px;object-fit:contain;max-width:none;clip-path:none;mask:none;border-radius:0;margin:0;}
.psw-about-content .psw-funder-artwork{background:#fff;padding:24px;margin:0 0 28px;max-width:650px;}
.psw-about-content .psw-funder-artwork img{display:block;width:100%;height:auto;object-fit:contain;border-radius:0;clip-path:none;mask:none;}
.psw-eco-resources{scroll-margin-top:32px;}
.psw-eco-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:28px;}
.psw-eco-card{min-width:0;background:#edf7fa;border:1px solid #c6ded9;border-radius:4px 36px 4px 4px;overflow:hidden;}
.psw-eco-preview{display:flex;justify-content:center;background:#fff;padding:24px;}
.psw-eco-preview img{display:block;width:100%;height:300px;object-fit:contain;border-radius:0;clip-path:none;mask:none;}
.psw-eco-copy{padding:24px;}.psw-eco-copy h3{font-size:24px;margin:0 0 12px;}.psw-eco-copy p{font-size:16px;}
.psw-eco-copy .text-link{white-space:normal;}
.psw-eco-note{font-size:16px;margin-top:24px;}
@media(max-width:620px){.psw-about-content .psw-partner-heading{display:block;}.psw-about-content .psw-partner-mark{width:220px;max-width:100%;margin-bottom:20px;}.psw-about-content .psw-funder-artwork{padding:12px;}.psw-eco-grid{grid-template-columns:minmax(0,1fr);}.psw-eco-preview img{height:260px;}.psw-eco-copy{padding:20px;}}

/* Final client review: fuller text, recognisable logo masks and stable anchors. */
html{scroll-behavior:auto;}
.subpage-content [id],.psw-story [id]{scroll-margin-top:32px;}
#about-intro .intro-grid{grid-template-columns:minmax(0,1fr);gap:28px;}
#about-intro .intro-copy{max-width:none;}
#about-intro .intro-copy p{max-width:none;}
#about-intro .intro-copy{display:grid;grid-template-columns:1fr 1fr;column-gap:48px;}
#about-intro .intro-copy .text-link{grid-column:1 / -1;justify-self:start;}
.psw-get-involved .psw-prose{max-width:none;}
.psw-get-involved .psw-prose p{max-width:none;}
.psw-story #strule > h3{background:none;border-radius:0;padding:0;font-size:clamp(22px,2.1vw,30px);text-wrap:wrap;}
.psw-news-card h2{max-width:none;font-size:clamp(23px,1.9vw,30px);text-wrap:wrap;}
.partner-funding-box{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:40px;align-items:center;}
.partner-funding-box .funding-text{max-width:none;}.partner-funding-box .funding-text p{max-width:none;}
.partner-funding-box .funding-img{width:270px;max-width:100%;height:auto;}
.site-footer .footer-funding-col{grid-template-columns:minmax(0,1fr) 260px;gap:16px 40px;}
.site-footer .footer-funding-col p{max-width:none;}
.psw-contact-role{font-weight:600;color:#07566d;}
/* Reserve image space before lazy images decode, avoiding shifts above deep links. */
.page-id-7 .photo-banner{height:clamp(260px,40vw,480px);max-height:none;}
.page-id-7 #strule .photo-banner{height:clamp(280px,43vw,540px);max-height:none;}
.page-id-7 .photo-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:none!important;will-change:auto;}
/* Use the supplied five-part logo outline for feature photos, leaving evidence photos intact. */
.hero-photo-mask{aspect-ratio:244/236;border-radius:0;-webkit-mask:url('psw-mask-full.svg') center/contain no-repeat;mask:url('psw-mask-full.svg') center/contain no-repeat;}
.hero-photo::before{display:none;}
.psw-header-media:not(.psw-document-hero){height:clamp(260px,29vw,380px);}
.psw-header-media:not(.psw-document-hero)::before{display:none;}
.psw-header-media:not(.psw-document-hero) img{display:block;width:100%;height:100%;border-radius:0;-webkit-mask:url('psw-mask-full.svg') center/contain no-repeat;mask:url('psw-mask-full.svg') center/contain no-repeat;}
@media(max-width:900px){.partner-funding-box{grid-template-columns:1fr;}.site-footer .footer-funding-col{display:block;}.site-footer .footer-funding-badge{margin-top:24px;}}
@media(max-width:620px){#about-intro .intro-copy{grid-template-columns:minmax(0,1fr);gap:0;}.psw-header-media:not(.psw-document-hero){height:280px;}.page-id-7 .photo-caption{left:12px;max-width:calc(100% - 24px);font-size:12px;padding:8px 10px;}}

/* SEUPB funding reference and balanced columns in About Intro */
#about-intro .intro-copy-col{display:flex;flex-direction:column;}
#about-intro .intro-copy-col p{margin:0 0 16px;max-width:none;}
#about-intro .intro-copy-col p:last-child{margin-bottom:0;}
#about-intro .intro-copy-col .text-link{margin-top:auto;padding-top:14px;align-self:flex-start;}
#about-intro .intro-funding-statement{font-weight:500;color:#12383e;}
@media(max-width:620px){#about-intro .intro-copy-col .text-link{padding-top:8px;}}

/* Deliverable tabs & Glenhordial video player on What We'll Deliver */
.psw-deliverable-tabs-wrap{margin-top:clamp(36px,4.5vw,56px);background:#f3f7f5;border:1px solid #c8d9d4;border-radius:6px 36px 6px 6px;padding:clamp(20px,3vw,36px);box-shadow:0 14px 34px rgba(18,56,62,.06);}
.psw-deliverable-nav{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px;border-bottom:1px solid #d2e1dc;padding-bottom:16px;}
.psw-tab-btn{display:inline-flex;align-items:center;gap:8px;background:#e3ede9;border:1px solid #c2d7d0;color:#12383e;font-family:inherit;font-size:15px;font-weight:650;padding:10px 20px;border-radius:4px 16px 4px 4px;cursor:pointer;transition:all .2s ease;}
.psw-tab-btn:hover{background:#d6e6e0;color:#07566d;}
.psw-tab-btn.is-active{background:#12383e;color:#fff;border-color:#12383e;box-shadow:0 4px 12px rgba(18,56,62,.2);}
.psw-tab-icon{font-size:13px;line-height:1;}
.psw-tab-panels{min-width:0;}
.psw-tab-panel[hidden]{display:none!important;}
.psw-video-card{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1.2fr);gap:clamp(20px,3vw,36px);align-items:center;}
.psw-video-container{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:4px 28px 4px 4px;overflow:hidden;box-shadow:0 16px 36px rgba(18,56,62,.14);}
.psw-video-container video{width:100%;height:100%;object-fit:cover;display:block;}
.psw-video-details h4{font-size:clamp(20px,1.8vw,24px);line-height:1.3;color:#12383e;margin:0 0 12px;}
.psw-video-details p{font-size:16px;line-height:1.65;color:#244b50;margin:0;}
.psw-resources-callout h4{font-size:clamp(20px,1.8vw,24px);line-height:1.3;color:#12383e;margin:0 0 10px;}
.psw-resources-callout p{font-size:16px;line-height:1.6;color:#244b50;margin:0 0 20px;}
.psw-tab-resource-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-bottom:24px;}
.psw-resource-pill{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid #c8d9d4;border-radius:4px 14px 4px 4px;padding:14px 18px;color:#12383e;text-decoration:none;font-weight:600;font-size:14.5px;line-height:1.4;transition:all .2s ease;}
.psw-resource-pill:hover{border-color:#2d6268;color:#07566d;transform:translateY(-2px);box-shadow:0 6px 16px rgba(18,56,62,.08);}
.psw-pill-arrow{color:#2d6268;font-weight:700;margin-left:8px;flex-shrink:0;}
.psw-resources-btn{display:inline-flex;align-items:center;gap:8px;}
@media(max-width:900px){.psw-video-card{grid-template-columns:minmax(0,1fr);gap:20px;}}
