﻿:root {
  --navy: #071a33;
  --navy-2: #0d2b4c;
  --harbour: #123e63;
  --gold: #d7a84f;
  --gold-2: #f0c46a;
  --warm: #fff8e8;
  --white: #ffffff;
  --soft: #f6f8fb;
  --ink: #182033;
  --muted: #5d6b7c;
  --line: #dce3ed;
  --shadow: 0 18px 50px rgba(7, 26, 51, 0.13);
  --shadow-strong: 0 28px 80px rgba(7, 26, 51, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header and navigation styles. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px clamp(18px, 5vw, 70px);
  color: var(--white);
  background: rgba(5, 18, 35, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--navy);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 10px 22px rgba(0, 0, 0, 0.22);
}

.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  padding: 5px;
  background: #ffffff;
  border: 1px solid rgba(215, 168, 79, 0.7);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px;
}

.site-nav a {
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

/* Hero section styles for the home page. */
.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 82px clamp(20px, 7vw, 86px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 28%, rgba(240, 196, 106, 0.2), rgba(240, 196, 106, 0) 28%),
    linear-gradient(90deg, rgba(3, 12, 25, 0.96), rgba(7, 26, 51, 0.78) 48%, rgba(7, 26, 51, 0.32)),
    url("../images/hero-mountain-sunrise.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(22px, 7vw, 90px);
  bottom: 34px;
  width: min(430px, 70vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 168, 79, 0), rgba(215, 168, 79, 0.9), rgba(255, 255, 255, 0));
}

.hero-content {
  position: relative;
  max-width: 880px;
  padding: clamp(24px, 4vw, 42px);
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(4, 16, 32, 0.72), rgba(4, 16, 32, 0.16));
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(2px);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.5rem, 5.8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 16px 34px rgba(215, 168, 79, 0.28);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-trust span {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: linear-gradient(90deg, rgba(215, 168, 79, 0.8), rgba(255, 255, 255, 0.4), rgba(215, 168, 79, 0.8));
}

.trust-strip div {
  padding: 24px clamp(18px, 4vw, 46px);
  color: var(--white);
  background: var(--navy);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--gold-2);
  font-size: 1.05rem;
}

.trust-strip span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

/* General page and section layout styles. */
.page-hero {
  padding: 92px clamp(20px, 7vw, 86px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 51, 0.96), rgba(13, 43, 76, 0.92)),
    url("../images/hero-mountain-sunrise.jpg") center/cover no-repeat;
  min-height: 430px;
  display: grid;
  align-content: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto clamp(20px, 7vw, 86px) 36px auto;
  width: min(360px, 44vw);
  height: 2px;
  background: linear-gradient(90deg, rgba(215, 168, 79, 0), rgba(215, 168, 79, 0.95));
}

.hero-about {
  background:
    linear-gradient(90deg, rgba(4, 16, 32, 0.96), rgba(7, 26, 51, 0.76) 48%, rgba(7, 26, 51, 0.3)),
    url("../media/journey/john-impact-award.jpg") center 38%/cover no-repeat;
}

.hero-services {
  background:
    linear-gradient(90deg, rgba(4, 16, 32, 0.97), rgba(7, 26, 51, 0.78) 50%, rgba(7, 26, 51, 0.28)),
    url("../media/projects/services-moving-on-support.jpg") center 32%/cover no-repeat;
}

.hero-free-support {
  background:
    linear-gradient(90deg, rgba(4, 16, 32, 0.96), rgba(7, 26, 51, 0.72) 48%, rgba(7, 26, 51, 0.3)),
    url("../media/projects/free-support-community-care.jpg") center 34%/cover no-repeat;
}

.hero-walk {
  background:
    linear-gradient(90deg, rgba(4, 16, 32, 0.96), rgba(7, 26, 51, 0.68) 48%, rgba(7, 26, 51, 0.25)),
    url("../media/projects/walk-the-island-pink-hippo.jpg") center 42%/cover no-repeat;
}

.hero-street-art {
  background:
    linear-gradient(90deg, rgba(4, 16, 32, 0.96), rgba(7, 26, 51, 0.7) 50%, rgba(7, 26, 51, 0.25)),
    url("../media/projects/dame-penny-mordaunt-community-art.jpg") center/cover no-repeat;
}

.hero-agape {
  background:
    linear-gradient(90deg, rgba(4, 16, 32, 0.97), rgba(7, 26, 51, 0.72) 48%, rgba(7, 26, 51, 0.25)),
    url("../media/projects/noah-mapalo-community-support.jpg") center 42%/cover no-repeat;
}

.hero-noah {
  background:
    linear-gradient(90deg, rgba(4, 16, 32, 0.95), rgba(7, 26, 51, 0.68) 48%, rgba(7, 26, 51, 0.22)),
    url("../media/projects/noah-mapalo-lead.jpg") center 30%/cover no-repeat;
}

.hero-partnerships {
  background:
    linear-gradient(90deg, rgba(4, 16, 32, 0.96), rgba(7, 26, 51, 0.68) 50%, rgba(7, 26, 51, 0.22)),
    url("../media/projects/portsmouth-university-volunteering-team.jpg") center/cover no-repeat;
}

.hero-awards {
  background:
    linear-gradient(90deg, rgba(4, 16, 32, 0.96), rgba(7, 26, 51, 0.72) 50%, rgba(7, 26, 51, 0.24)),
    url("../media/awards/2026-awards-community-portsmouth.jpeg") center 10%/cover no-repeat;
}

.hero-contact {
  background:
    linear-gradient(90deg, rgba(4, 16, 32, 0.98), rgba(7, 26, 51, 0.76) 48%, rgba(7, 26, 51, 0.34)),
    url("../images/hero-mountain-sunrise.jpg") center 30%/cover no-repeat;
}

.section {
  padding: 86px clamp(20px, 7vw, 86px);
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(215, 168, 79, 0.08)),
    var(--soft);
}

.section-navy {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(215, 168, 79, 0.16), rgba(215, 168, 79, 0) 30%),
    linear-gradient(135deg, var(--navy), #041020);
}

.section-navy .rich-copy {
  color: rgba(255, 255, 255, 0.82);
}

.section-navy .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.section-navy .rich-copy strong {
  color: var(--gold-2);
}

.emotional-section {
  background:
    linear-gradient(90deg, rgba(255, 248, 232, 0.9), rgba(255, 255, 255, 0.82)),
    var(--white);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
}

h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.25;
}

p {
  margin: 0;
}

.rich-copy {
  color: var(--muted);
  font-size: 1.06rem;
}

.rich-copy p + p {
  margin-top: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.06rem;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.mini-card,
blockquote,
.contact-form,
.contact-panel,
.founder-card,
.timeline article,
.step-grid article {
  border: 1px solid rgba(220, 227, 237, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card,
.mini-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.service-card::before,
.mini-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(215, 168, 79, 0));
}

.service-card p,
.mini-card p {
  margin-top: 12px;
  color: var(--muted);
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 800;
  background: var(--gold);
  border-radius: 50%;
}

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

/* Featured awards media cards used on the home and awards pages. */
.awards-preview {
  background: linear-gradient(180deg, #ffffff, var(--warm));
}

.feature-media-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-strong);
}

.feature-media-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.feature-media-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 5vw, 54px);
}

.award-year {
  width: fit-content;
  padding: 6px 12px;
  color: var(--navy);
  font-weight: 800;
  border-radius: 999px;
  background: var(--gold);
}

.feature-media-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.feature-media-card p {
  color: var(--muted);
}

/* Testimonials and call-to-action sections. */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

blockquote {
  margin: 0;
  position: relative;
  padding: 34px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 22px;
  color: rgba(215, 168, 79, 0.22);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
}

blockquote p {
  color: var(--ink);
  font-size: 1.1rem;
}

blockquote cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 54px clamp(20px, 7vw, 86px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(240, 196, 106, 0.23), rgba(240, 196, 106, 0) 30%),
    linear-gradient(135deg, var(--navy), var(--harbour));
}

.cta-band p:not(.eyebrow) {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Partnership logo section used near the bottom of site pages. */
.partner-logos {
  padding: 64px clamp(20px, 7vw, 86px);
  background:
    linear-gradient(180deg, #ffffff, rgba(215, 168, 79, 0.08)),
    var(--white);
  border-top: 1px solid var(--line);
}

.partner-logos .section-heading {
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 30px auto 0;
}

.logo-tile {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(220, 227, 237, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 26, 51, 0.08);
}

.logo-tile img {
  max-width: 150px;
  max-height: 74px;
  object-fit: contain;
}

.logo-note {
  max-width: 900px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 0.96rem;
  text-align: center;
}

/* Founder, awards, process and contact page styles. */
.founder-section {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
}

.founder-card {
  padding: 30px;
}

.portrait-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), #fff1c9);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(7, 26, 51, 0.08);
}

.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  margin-bottom: 22px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(7, 26, 51, 0.08);
}

/* John's Journey section. */
.journey-section {
  background:
    radial-gradient(circle at 18% 8%, rgba(215, 168, 79, 0.14), rgba(215, 168, 79, 0) 28%),
    linear-gradient(180deg, #ffffff, #f7f9fc);
}

.journey-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-strong);
}

.journey-copy {
  padding: clamp(30px, 5vw, 58px);
}

.journey-copy h3 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.05;
}

.journey-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.journey-hero-card figure,
.journey-book-grid figure {
  margin: 0;
  overflow: hidden;
  background: #041020;
}

.journey-hero-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.journey-hero-card figcaption,
.journey-book-grid figcaption {
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 800;
  background: linear-gradient(90deg, var(--warm), #ffffff);
}

.journey-book-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr) minmax(220px, 0.75fr);
  gap: 18px;
  align-items: center;
  margin-top: 26px;
}

.journey-book-grid figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.custody-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-strong);
}

.custody-feature > div {
  padding: clamp(30px, 5vw, 54px);
}

.custody-feature h3 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.06;
}

.custody-feature p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
}

.custody-feature .btn {
  margin-top: 24px;
}

.custody-feature img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: #f1f3f7;
}

.journey-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.journey-timeline article {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.journey-timeline article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(215, 168, 79, 0));
}

.journey-timeline span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.journey-timeline h3 {
  font-size: 1.18rem;
}

.journey-timeline p {
  margin-top: 12px;
  color: var(--muted);
}

.journey-quote {
  margin-top: 26px;
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 18%, rgba(240, 196, 106, 0.2), rgba(240, 196, 106, 0) 32%),
    linear-gradient(135deg, #041020, var(--navy));
  box-shadow: var(--shadow-strong);
}

.journey-quote p {
  max-width: 980px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
}

.journey-book-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.journey-book-grid .rich-copy {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.book-launch-section {
  margin-top: 30px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(215, 168, 79, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 8%, rgba(215, 168, 79, 0.16), rgba(215, 168, 79, 0) 32%),
    linear-gradient(180deg, #ffffff, #fff8e8);
  box-shadow: var(--shadow-strong);
}

.book-launch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.book-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.book-cover-link {
  display: block;
  min-height: 100%;
  border-radius: 6px;
  background: #041020;
  box-shadow: 0 18px 38px rgba(7, 26, 51, 0.24);
}

.book-cover-link img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 6px;
}

.book-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(12px, 2vw, 18px) 6px;
}

.book-volume {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.book-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.08;
}

.book-card p:not(.book-volume) {
  margin: 14px 0 0;
  color: var(--muted);
}

.book-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.book-support-note {
  max-width: 860px;
  margin: 26px auto 0;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
  text-align: center;
}

.achievement-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  margin-top: 26px;
  padding: clamp(28px, 5vw, 48px);
  color: var(--white);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(240, 196, 106, 0.24), rgba(240, 196, 106, 0) 32%),
    linear-gradient(135deg, var(--navy), var(--harbour));
  box-shadow: var(--shadow-strong);
}

.achievement-band h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.achievement-band p:not(.eyebrow) {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.achievement-list span {
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.journey-awards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.journey-awards img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-list .service-card h2 {
  font-size: 1.35rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.support-card.priority {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(240, 196, 106, 0.22), rgba(240, 196, 106, 0) 35%),
    linear-gradient(135deg, var(--navy), var(--harbour));
}

.support-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 800;
  border-radius: 50%;
  background: var(--gold);
}

.support-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.support-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.support-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.support-card.priority li {
  color: rgba(255, 255, 255, 0.86);
}

.support-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-grid article {
  padding: 26px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.step-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 800;
  background: var(--gold);
  border-radius: 50%;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
}

.timeline span {
  color: var(--gold);
  font-weight: 800;
}

.timeline h2 {
  font-size: 1.35rem;
  line-height: 1.25;
}

.premium-timeline article {
  grid-template-columns: 130px 1fr;
  border-left: 5px solid var(--gold);
}

.premium-timeline p {
  margin-top: 8px;
  color: var(--muted);
}

.awards-spotlight {
  background: #ffffff;
}

.media-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.media-showcase figure {
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.media-showcase .media-large {
  grid-row: span 2;
}

.media-showcase img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.media-showcase figcaption {
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 800;
  background: linear-gradient(90deg, var(--warm), #ffffff);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-grid article,
.media-single article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.video-grid video,
.media-single video {
  display: block;
  width: 100%;
  max-height: 520px;
  background: #041020;
}

.video-card-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: #041020;
}

.video-card-image.image-contain {
  object-fit: contain;
  background: linear-gradient(135deg, #f6f8fb, #ffffff);
}

.community-story {
  margin-bottom: 26px;
}

.story-image-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.story-image-card img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.story-image-card figcaption {
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 800;
  background: linear-gradient(90deg, var(--warm), #ffffff);
}

.video-grid h3,
.video-grid p,
.media-single h3,
.media-single p {
  padding-inline: 22px;
}

.video-grid h3,
.media-single h3 {
  padding-top: 20px;
}

.video-grid p,
.media-single p {
  padding-bottom: 22px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}

.project-feature,
.project-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.project-feature img,
.project-gallery img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.project-gallery {
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
}

.project-gallery p {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 1.06rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.impact-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.impact-grid strong,
.impact-grid span {
  display: block;
}

.impact-grid strong {
  color: var(--navy);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1;
}

.impact-grid span {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.walk-photo-archive {
  background:
    linear-gradient(180deg, #ffffff, rgba(238, 244, 250, 0.9)),
    var(--white);
}

.walk-photo-archive .section-heading {
  max-width: 900px;
}

.walk-year-stack {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.walk-year-panel {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(220, 227, 237, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.walk-year-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 12px;
}

.walk-year-title h3 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
}

.walk-year-title span {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(215, 168, 79, 0.36);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(240, 196, 106, 0.18);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.walk-year-panel > p {
  max-width: 920px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.02rem;
}

.walk-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  grid-auto-flow: dense;
  gap: 10px;
}

.walk-photo-grid figure {
  position: relative;
  min-height: 160px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(220, 227, 237, 0.82);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(4, 16, 32, 0.12);
}

.walk-photo-grid figure:nth-child(11n + 1),
.walk-photo-grid figure:nth-child(11n + 7) {
  grid-column: span 2;
  grid-row: span 2;
}

.walk-photo-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.walk-photo-grid figure:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.03);
}

.contact-panel,
.contact-form {
  padding: 30px;
}

.contact-panel {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(240, 196, 106, 0.28), rgba(240, 196, 106, 0) 34%),
    linear-gradient(135deg, var(--navy), var(--harbour));
}

.contact-panel .eyebrow,
.contact-panel .contact-phone {
  color: var(--gold-2);
}

.contact-panel .support-note,
.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-phone {
  display: inline-block;
  margin: 22px 0;
  font-size: 2rem;
  font-weight: 800;
}

.contact-assurance {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-assurance span {
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.support-note {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 12px;
  background: #ffffff;
}

.contact-form label {
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfe;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(215, 168, 79, 0.3);
  border-color: var(--gold);
}

/* Footer styles. */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 7vw, 86px);
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(90deg, rgba(215, 168, 79, 0.08), rgba(215, 168, 79, 0)),
    #041020;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1.35rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  padding: 6px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(215, 168, 79, 0.65);
}

.site-footer a,
.site-footer span,
.site-footer strong {
  display: block;
}

.site-footer a {
  margin: 8px 0;
  color: var(--gold-2);
  font-weight: 800;
}

/* Responsive rules for tablets and mobile phones. */
@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .card-grid.three,
  .card-grid.four,
  .testimonial-grid,
  .step-grid,
  .support-grid,
  .project-feature,
  .project-gallery,
  .journey-hero-card,
  .journey-book-grid,
  .custody-feature,
  .journey-timeline,
  .achievement-band,
  .journey-awards,
  .feature-media-card,
  .media-showcase,
  .video-grid,
  .split-section,
  .founder-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .book-launch-grid {
    grid-template-columns: 1fr;
  }

  .achievement-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

  .cta-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    padding: 4px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .hero,
  .page-hero,
  .section,
  .cta-band,
  .site-footer {
    padding-inline: 18px;
  }

  .button-row,
  .btn {
    width: 100%;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-media-card img {
    min-height: 260px;
  }

  .journey-hero-card img,
  .custody-feature img,
  .book-cover-link img,
  .journey-awards img {
    min-height: 0;
    height: auto;
  }

  .book-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .book-card-body {
    padding: 8px 2px 4px;
  }

  .contact-phone {
    font-size: 1.55rem;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: 1fr;
  }
}

/* Protect Our Parks and donations pages. */
.hero-protect-parks {
  background:
    linear-gradient(90deg, rgba(4, 18, 20, 0.96), rgba(7, 52, 38, 0.76) 52%, rgba(7, 52, 38, 0.22)),
    url("../media/protect-our-parks/protect-our-parks-vests-sunset.jpg") center/cover no-repeat;
}

.hero-donations {
  background:
    linear-gradient(90deg, rgba(4, 16, 32, 0.97), rgba(7, 26, 51, 0.72) 50%, rgba(7, 26, 51, 0.24)),
    url("../media/donations/boy-sitting-crying.jpg") center 42%/cover no-repeat;
}

.partner-mark {
  width: min(180px, 42vw);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(215, 168, 79, 0.4);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.pop-principles .service-card {
  background: rgba(255, 255, 255, 0.96);
}

.pop-flyer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.pop-flyer-grid img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-strong);
}

.pop-flyer-grid a {
  color: var(--harbour);
  font-weight: 800;
}

.pop-photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.pop-photo-grid img {
  height: 280px;
  max-height: none;
}

.donation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  color: var(--white);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(240, 196, 106, 0.24), rgba(240, 196, 106, 0) 34%),
    linear-gradient(135deg, var(--navy), var(--harbour));
  box-shadow: var(--shadow-strong);
}

.donation-panel p:not(.eyebrow) {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

.donation-actions {
  display: grid;
  gap: 12px;
  min-width: 220px;
}

@media (max-width: 920px) {
  .pop-flyer-grid,
  .donation-panel {
    grid-template-columns: 1fr;
  }

  .pop-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pop-photo-grid {
    grid-template-columns: 1fr;
  }

  .pop-photo-grid img {
    height: 240px;
  }
}

.donation-story-section .project-feature img {
  object-position: center 34%;
}

.donation-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.donation-photo-grid img {
  height: 460px;
  object-fit: cover;
}

@media (max-width: 920px) {
  .donation-photo-grid {
    grid-template-columns: 1fr;
  }
}

.donation-bank-section {
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.92), rgba(255, 255, 255, 0.98));
}

.donation-bank-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
  border: 1px solid rgba(215, 168, 79, 0.32);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-strong);
}

.donation-bank-card > img {
  width: min(150px, 40vw);
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 20px;
}

.bank-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 18px;
}

.bank-detail-grid div {
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, rgba(255, 248, 232, 0.86));
}

.bank-detail-grid span,
.bank-detail-grid strong {
  display: block;
}

.bank-detail-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bank-detail-grid strong {
  margin-top: 8px;
  color: var(--navy);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.15;
}

.bank-note {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 920px) {
  .bank-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .bank-detail-grid {
    grid-template-columns: 1fr;
  }
}
