/* Client review, September 2026: brighter surfaces, clear type and audience routes. */
:root {
  --paper: #ffffff;
  --paper-2: #f1f7f5;
  --white: #ffffff;
  --mist: #e7f2ed;
  --water-pale: #edf6f3;
  --ink-soft: #4c6565;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: var(--sans);
}
body { background: #fff; }
h1, h2, h3 { text-wrap: balance; }
.atlas-hero { background: #f4faf7; }
.atlas-hero h1 {
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 600;
}
.intro h2, .catchment-copy h2, .resources-heading h2,
.news-section h2, .partners-intro h2, .contact-section h2,
.audience-section h2, .subpage-hero h1 {
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.intro h2, .catchment-copy h2, .resources-heading h2,
.news-section h2, .partners-intro h2, .contact-section h2,
.audience-section h2 { font-size: clamp(34px, 4vw, 56px); }
.subpage-hero h1 { font-size: clamp(36px, 5vw, 68px); }
.subpage-hero { background: #edf6f3; color: #12383e; }
.subpage-hero h1 { color: #12383e; }
.subpage-hero .subpage-lead { color: #385555; }
.subpage-hero .subpage-kicker { color: #375f53; }
.subpage-content p, .subpage-content li { line-height: 1.75; }
.editorial-main p { max-width: 68ch; }
.editorial-side h2 { font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.audience-section { background: #edf6f3; color: var(--ink); }
.audience-section::before, .audience-section::after { background: #edf6f3; }
.audience-section .section-index, .audience-section .card-number,
.audience-section .card-cta { color: #375f53; }
.audience-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; border-color: #bccfc6; }
.audience-card, .audience-card:not(:first-child), .audience-card:nth-child(2),
.audience-card:nth-child(3) { transform: none; border-color: #bccfc6; }
.audience-card h3 { font-size: clamp(30px, 2.8vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.audience-card p { color: #385555; max-width: none; line-height: 1.65; }
.audience-card-copy { display: flex; flex: 1; flex-direction: column; }
.audience-card .card-cta { margin-top: auto; padding-top: 8px; }
.audience-card:hover, .audience-card:nth-child(2):hover, .audience-card:nth-child(3):hover {
  background: #e3eee8; transform: translateY(-3px);
}
.resources-heading { flex-wrap: wrap; }
.resources-heading .text-link { flex-shrink: 1; }
.news-section { background: #e8f2ee; color: var(--ink); }
.news-section::before, .news-section::after { background: #e8f2ee; }
.news-section .section-index, .news-section .news-date,
.news-feature p, .news-feature .text-link { color: #355a50; }
.news-feature { border-color: #aebfb8; }
.news-feature h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; letter-spacing: -.025em; font-weight: 500; }
.site-header { position: relative; top: auto; }
.site-header .brand, .site-header .header-inner { overflow: visible; }
.site-header .brand-logo, .site-header .funder-logo { object-fit: contain; flex-shrink: 0; }
.site-header .primary-menu-list > li > a { padding-inline: 8px; }
.primary-menu-list .current-menu-item > a, .primary-menu-list .current-menu-ancestor > a {
  color: #1d6154; text-decoration: underline; text-underline-offset: 6px;
}
.footer-top-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  padding: 56px clamp(22px, 5vw, 72px) 40px;
}
.footer-funding-col {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 350px);
  column-gap: 40px;
  align-items: center;
  border-top: 1px solid #496160;
  padding-top: 30px;
}
.footer-funding-col h3, .footer-funding-col p { grid-column: 1; max-width: 68ch; }
.footer-funding-badge {
  grid-column: 2; grid-row: 1 / span 2;
  width: 100%; height: auto; max-height: none;
  padding: 18px; background: #fff; border-radius: 8px;
}
.footer-logo { width: 240px; max-height: none; height: auto; padding: 10px; background: #fff; border-radius: 6px; }
.footer-contact-snippet a { overflow-wrap: anywhere; }
.partner-funding-box .funding-img { width: 320px; height: auto; max-height: none; flex-shrink: 0; }
.partner-card .orcca-partner-logo { display: block; width: 220px; height: auto; margin-bottom: 18px; }
.psw-section-links { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-block: 14px; margin-bottom: 32px; border-block: 1px solid var(--line); }
.psw-section-links a { padding: 7px 0; color: #245d51; text-decoration: underline; text-underline-offset: 5px; }
.psw-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact-details-panel, .contact-form-panel { min-width: 0; }
.contact-details-panel a { overflow-wrap: anywhere; }
.psw-contact-person { background: #edf6f3; padding: clamp(20px, 3vw, 32px); border-radius: 12px; }
.psw-contact-person h3 { margin-top: 0; }
.psw-contact-person a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.psw-news-card { padding: 32px 0; border-top: 1px solid var(--line); }
.psw-news-card .news-date { color: #4c6565; }
.psw-news-card h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.25; letter-spacing: -.02em; }
.psw-solution-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 36px; }
.psw-solution-gallery figure { margin: 0; }
.psw-solution-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.psw-solution-gallery figcaption { font-size: 14px; color: #4c6565; margin-top: 10px; }
section[id], div[id] { scroll-margin-top: 30px; }
@media (max-width: 900px) {
  .audience-grid { grid-template-columns: 1fr; gap: 36px; }
  .audience-card, .audience-card:not(:first-child) { padding: 24px 0; border-right: 0; border-bottom: 1px solid #bccfc6; }
  .audience-card-media { max-width: 620px; }
  .audience-card h3 { font-size: 34px; }
  .footer-top-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-funding-col { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 620px) {
  .subpage-hero h1 { overflow-wrap: break-word; }
  .psw-contact-grid, .psw-solution-gallery { grid-template-columns: 1fr; }
  .footer-funding-col { display: block; }
  .footer-funding-badge { width: min(100%, 350px); margin-top: 24px; }
  .partner-funding-box { flex-direction: column; align-items: start; }
  .partner-funding-box .funding-img { max-width: 100%; }
  .news-feature h3 { margin-top: 28px; }
  .audience-card h3 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .audience-card:hover, .audience-card:nth-child(2):hover, .audience-card:nth-child(3):hover { transform: none; }
}

/* General contact details: compact actions alongside the office address. */
.psw-general-contact { padding: clamp(24px, 4vw, 48px); }
.psw-general-contact > h2 { margin-bottom: 32px; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.psw-general-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 48px; }
.psw-contact-methods { display: grid; align-content: start; gap: 28px; min-width: 0; }
.psw-general-contact h3 { margin: 0 0 8px; color: #385555; font-size: 16px; font-weight: 600; line-height: 1.4; }
.psw-contact-method a { color: #12383e; font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; line-height: 1.55; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.psw-contact-method a:hover { color: #245d51; text-decoration-thickness: 2px; }
.psw-contact-method a:focus-visible { outline: 2px solid #245d51; outline-offset: 5px; border-radius: 2px; }
.psw-office-address { min-width: 0; padding-left: 40px; border-left: 1px solid #bccfc6; }
.psw-office-address address { font-style: normal; color: #12383e; font-size: 17px; line-height: 1.7; max-width: 42ch; }
@media (max-width: 760px) {
  .psw-general-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .psw-office-address { border-left: 0; border-top: 1px solid #bccfc6; padding: 26px 0 0; }
}

/* --- Outstanding visual & layout polish (23 Sept 2026 review) --- */

/* 1. Decorative background echoes: remove disjointed shapes crossing section boundaries */
.atlas-hero::after { display: none !important; }
.brand-echo-three { display: none !important; }
.brand-echoes { overflow: hidden; pointer-events: none; }
.brand-echo-one { top: 8%; right: -5%; opacity: 0.04; }
.brand-echo-two { top: 35%; left: -6%; opacity: 0.04; }
.hero-photo-top, .hero-photo figcaption { display: none; }

/* 2. Hero statistics strip: increase font size for clear legibility on desktop */
.hero-meta {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding-block: 18px 20px;
}
.hero-meta span {
  gap: 12px;
}
.hero-meta b {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

/* 3. Homepage Jointly Developed Solution: align text with top of image */
.nbs-highlight-grid {
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
  margin-top: 24px;
}
.nbs-highlight-text {
  padding-top: 8px;
}

/* 4. Strule aerial photo: show installed NbS measures at bottom */
#strule .photo-banner {
  max-height: 540px;
}
#strule .photo-banner img {
  height: 540px;
  object-position: center bottom;
}

/* 5. Catchments: place catchment name and subhead directly above body text */
.page-template-page-catchments .editorial-grid,
.page-id-7 .editorial-grid {
  display: block;
}
.page-template-page-catchments .editorial-side,
.page-id-7 .editorial-side {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #bccfc6;
}
.page-template-page-catchments .editorial-side h2,
.page-id-7 .editorial-side h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  margin: 0 0 8px;
}
.page-template-page-catchments .editorial-note,
.page-id-7 .editorial-note {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.page-template-page-catchments .editorial-main p,
.page-id-7 .editorial-main p {
  max-width: 74ch;
}

/* 6. Footer text size and social links */
.site-footer .footer-summary,
.footer-summary {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #c4d7d1 !important;
}
.footer-social-links {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(188, 207, 198, 0.2);
}
.footer-social-links h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #edf6f3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.social-icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #edf6f3;
  font-size: 13px;
  text-decoration: none;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social-link:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}
.social-link svg {
  flex-shrink: 0;
  display: block;
}

/* 7. Resources page categories */
.psw-resource-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 28px 0 44px;
}
.psw-category-card {
  background: #edf6f3;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #bccfc6;
  display: flex;
  flex-direction: column;
}
.psw-category-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: #12383e;
}
.psw-category-card p {
  font-size: 14px;
  color: #385555;
  line-height: 1.6;
  margin: 0;
}
.psw-category-card .status-pill {
  align-self: flex-start;
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.status-pill.active { background: #d2ede2; color: #1d6154; }
.status-pill.forthcoming { background: #e3ebe7; color: #5a756f; }

/* 8. News & Events additional sections */
.psw-event-schedule {
  background: #edf6f3;
  border: 1px solid #bccfc6;
  border-radius: 12px;
  padding: clamp(16px, 3.5vw, 36px);
  margin: 36px 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.psw-event-schedule h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  color: #12383e;
  margin-top: 0;
  margin-bottom: 8px;
}
.psw-event-schedule .provisional-badge {
  display: inline-block;
  background: #fdf5d6;
  color: #795700;
  border: 1px solid #ecd68b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.psw-workshop-dates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}
@media (min-width: 480px) {
  .psw-workshop-dates-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }
}
.psw-date-block {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #1d6154;
  box-shadow: 0 2px 8px rgba(18, 56, 62, 0.05);
}
.psw-date-block strong {
  display: block;
  font-size: 16px;
  color: #12383e;
  margin-bottom: 4px;
}
.psw-date-block span {
  font-size: 14px;
  color: #4c6565;
}
.psw-ezine-notice {
  background: #f4faf7;
  border: 1px solid #bccfc6;
  border-left: 4px solid #375f53;
  padding: 18px 20px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.psw-ezine-notice h3 {
  margin-top: 0;
  font-size: 19px;
  color: #12383e;
  margin-bottom: 8px;
}
.psw-ezine-notice p {
  margin: 0;
  color: #385555;
  font-size: 15px;
  line-height: 1.6;
}
.psw-news-card {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* News Feed grid responsive adjustment */
.news-feed-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
@media (max-width: 480px) {
  .news-feed-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-feed-card {
    min-width: 0;
    max-width: 100%;
  }
  .feed-card-body {
    padding: 16px;
  }
}

/* Compact homepage About section; preserve the supplied copy and mobile stack. */
#about-intro {
  padding-top: clamp(48px, 5vw, 72px);
  padding-bottom: clamp(48px, 5vw, 72px);
}
#about-intro .intro-grid {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
#about-intro .intro-heading { transform: none; }
#about-intro .intro-copy { max-width: 62ch; padding-top: 0; }
#about-intro .intro-copy::before { display: none; }
#about-intro .text-link { max-width: 100%; }
@media (max-width: 900px) {
  #about-intro .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
