
:root {
  --forest: #0b4d2b;
  --forest-deep: #063b27;
  --forest-dark: #042e20;
  --green: #1d7542;
  --leaf: #82b927;
  --gold: #f5b82e;
  --gold-deep: #de9612;
  --blue: #1556a3;
  --cream: #f8f3e8;
  --cream-deep: #eee5d3;
  --ivory: #fffdf8;
  --white: #ffffff;
  --ink: #18362a;
  --body: #46574d;
  --muted: #6f7d74;
  --line: #dfe5df;
  --soft-green: #edf5ed;
  --shadow-sm: 0 10px 30px rgba(17, 57, 37, 0.08);
  --shadow-md: 0 22px 60px rgba(17, 57, 37, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(21, 86, 163, 0.35);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2.25rem, 4.25vw, 4rem);
  line-height: 1.08;
}

h3 {
  line-height: 1.28;
}

::selection {
  background: var(--gold);
  color: var(--forest-dark);
}

.site-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 112px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.eyebrow-gold {
  color: var(--gold);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 0.93rem;
  font-weight: 750;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-green {
  background: var(--forest);
  box-shadow: 0 10px 26px rgba(11, 77, 43, 0.18);
  color: white;
}

.button-green:hover {
  background: var(--forest-deep);
  box-shadow: 0 15px 34px rgba(11, 77, 43, 0.24);
}

.button-gold {
  background: var(--gold);
  box-shadow: 0 10px 25px rgba(245, 184, 46, 0.24);
  color: var(--forest-dark);
}

.button-gold:hover {
  background: #ffc337;
  box-shadow: 0 15px 32px rgba(245, 184, 46, 0.3);
}

.button-outline {
  border-color: rgba(11, 77, 43, 0.35);
  background: transparent;
  color: var(--forest);
}

.button-outline:hover {
  border-color: var(--forest);
  background: var(--soft-green);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.button-light:hover {
  background: white;
  color: var(--forest);
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 750;
}

.text-link {
  border-bottom: 2px solid rgba(245, 184, 46, 0.7);
  padding: 8px 0 5px;
}

.text-link svg,
.card-link svg {
  transition: transform 180ms ease;
}

.text-link:hover svg,
.card-link:hover svg {
  transform: translateX(4px);
}

/* Header */

.utility-bar {
  position: relative;
  z-index: 60;
  background: var(--forest);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
}

.utility-inner,
.utility-links,
.utility-inner span,
.utility-inner a {
  display: flex;
  align-items: center;
}

.utility-inner {
  min-height: 38px;
  justify-content: space-between;
}

.utility-inner span,
.utility-inner a {
  gap: 7px;
}

.utility-links {
  gap: 24px;
}

.utility-links a {
  transition: color 160ms ease;
}

.utility-links a:hover {
  color: var(--gold);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(11, 77, 43, 0.08);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 8px 30px rgba(20, 47, 31, 0.05);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 90px;
  align-items: center;
  gap: 28px;
}

.brand {
  width: 236px;
  flex: 0 0 236px;
}

.brand img {
  width: 100%;
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav-group {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  min-height: 90px;
  align-items: center;
  gap: 4px;
  padding: 0 11px;
  color: #283a31;
  font-size: 0.835rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 11px;
  bottom: 20px;
  left: 11px;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--forest);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link svg {
  transition: transform 180ms ease;
}

.nav-group:hover .nav-link svg,
.nav-group:focus-within .nav-link svg {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  min-width: 270px;
  padding-top: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-card {
  overflow: hidden;
  border: 1px solid rgba(11, 77, 43, 0.1);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-md);
}

.nav-dropdown-card p {
  margin: 0;
  background: var(--forest);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 13px 18px;
  text-transform: uppercase;
}

.nav-dropdown-card a {
  display: block;
  border-bottom: 1px solid #edf0ed;
  color: var(--body);
  font-size: 0.88rem;
  font-weight: 650;
  padding: 13px 18px;
  transition:
    background 150ms ease,
    color 150ms ease,
    padding 150ms ease;
}

.nav-dropdown-card a:last-child {
  border-bottom: 0;
}

.nav-dropdown-card a:hover {
  background: var(--soft-green);
  color: var(--forest);
  padding-left: 23px;
}

.header-cta {
  flex: 0 0 auto;
  padding-inline: 17px;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: var(--forest);
  color: white;
  cursor: pointer;
}

.mobile-nav {
  display: none;
}

/* Homepage hero */

.home-hero {
  position: relative;
  display: grid;
  min-height: 650px;
  overflow: hidden;
  grid-template-columns: 47% 53%;
  background: var(--cream);
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 14% 85%, rgba(245, 184, 46, 0.09), transparent 28%),
    linear-gradient(125deg, #fffdf8 0%, var(--cream) 100%);
}

.hero-copy::before {
  position: absolute;
  bottom: 40px;
  left: -80px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(11, 77, 43, 0.06);
  border-radius: 50%;
  content: "";
}

.hero-copy-inner {
  width: min(550px, calc(100% - 80px));
  margin-left: max(48px, calc((100vw - 1240px) / 2));
  padding: 60px 0 110px;
}

.hero-kicker {
  margin-bottom: 24px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 590px;
  margin-bottom: 20px;
  color: var(--forest-dark);
  font-size: clamp(3.8rem, 5.4vw, 5.8rem);
  line-height: 0.98;
}

.sun-divider {
  display: flex;
  max-width: 475px;
  align-items: center;
  color: var(--gold-deep);
}

.sun-divider span {
  height: 1px;
  flex: 1;
  background: rgba(222, 150, 18, 0.75);
}

.sun-divider svg {
  margin-left: -1px;
  transform: translateY(-1px);
}

.hero-lead {
  max-width: 490px;
  margin: 20px 0 30px;
  color: #304a3c;
  font-size: 1.17rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
}

.hero-image {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-bottom-left-radius: 46% 48%;
}

.hero-image::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 59, 39, 0.08), transparent 22%),
    linear-gradient(0deg, rgba(6, 59, 39, 0.12), transparent 34%);
  content: "";
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  object-position: 56% center;
  animation: hero-settle 1.2s ease-out both;
}

@keyframes hero-settle {
  from {
    opacity: 0.75;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-location {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(5, 52, 32, 0.75);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 15px;
  backdrop-filter: blur(12px);
}

.hero-landscape {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: -2px;
  left: 25%;
  height: 128px;
  overflow: hidden;
  pointer-events: none;
}

.hill {
  position: absolute;
  bottom: -75px;
  border-radius: 50% 50% 0 0;
}

.hill-one {
  right: -3%;
  left: 8%;
  height: 165px;
  background: linear-gradient(145deg, #a2ca31 0%, #2b7d32 52%, #0a582d 100%);
  transform: rotate(-2deg);
}

.hill-two {
  right: -12%;
  bottom: -98px;
  width: 64%;
  height: 180px;
  border: 4px solid white;
  background: var(--forest);
  transform: rotate(3deg);
}

.river {
  position: absolute;
  right: -4%;
  bottom: -76px;
  width: 48%;
  height: 130px;
  border: 4px solid white;
  border-radius: 50% 40% 0 0;
  background: var(--blue);
  transform: rotate(5deg);
}

.values-ribbon {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: white;
}

.values-ribbon-grid {
  display: grid;
  min-height: 126px;
  align-items: center;
  grid-template-columns: repeat(3, 1fr);
}

.values-ribbon-grid > div {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
  padding: 0 44px;
}

.values-ribbon-grid > div:first-child {
  padding-left: 0;
}

.values-ribbon-grid > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.value-icon {
  display: flex;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--forest);
}

.value-icon.blue {
  background: #eaf1fa;
  color: var(--blue);
}

.value-icon.gold {
  background: #fff4d9;
  color: var(--gold-deep);
}

.value-icon svg {
  width: 25px;
  height: 25px;
}

.values-ribbon-grid p {
  margin: 0;
}

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

.values-ribbon-grid strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.22rem;
}

.values-ribbon-grid span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Introduction */

.intro-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 10%, rgba(130, 185, 39, 0.06), transparent 30%),
    var(--ivory);
}

.intro-grid {
  display: grid;
  align-items: center;
  gap: 100px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.intro-visual {
  position: relative;
  padding: 20px 0 42px 24px;
}

.intro-visual::before {
  position: absolute;
  top: -20px;
  left: 0;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(21, 86, 163, 0.13);
  border-radius: 50%;
  content: "";
}

.image-frame {
  position: relative;
  overflow: hidden;
  border: 8px solid white;
  border-radius: 44% 10px 44% 10px;
  box-shadow: var(--shadow-md);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 45, 29, 0.17), transparent 45%);
  content: "";
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4/4.5;
  object-fit: cover;
}

.founded-card {
  position: absolute;
  right: -42px;
  bottom: 0;
  display: flex;
  width: 295px;
  align-items: center;
  gap: 13px;
  border-left: 5px solid var(--gold);
  border-radius: 13px;
  background: white;
  box-shadow: var(--shadow-md);
  padding: 15px 18px;
}

.founded-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.founded-card p {
  margin: 0;
}

.founded-card strong,
.founded-card span {
  display: block;
}

.founded-card strong {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.founded-card span {
  color: var(--muted);
  font-size: 0.76rem;
}

.intro-copy h2 {
  max-width: 620px;
  margin: 18px 0 24px;
}

.intro-copy > p {
  max-width: 650px;
}

.lead-copy {
  color: var(--ink);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 26px 0 34px;
}

.check-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 650;
}

.check-list svg {
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--forest);
  padding: 5px;
}

/* Programme section */

.programmes-section {
  background:
    linear-gradient(180deg, rgba(237, 245, 237, 0.72), rgba(255, 253, 248, 0)),
    var(--cream);
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 15px 0 0;
}

.heading-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.heading-split > p {
  max-width: 420px;
  margin-bottom: 8px;
}

.programme-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

.programme-card {
  display: grid;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid rgba(11, 77, 43, 0.09);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-sm);
  grid-template-columns: 43% 57%;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.programme-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.programme-image {
  position: relative;
  overflow: hidden;
}

.programme-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 59, 39, 0.26), transparent 45%);
  content: "";
}

.programme-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.programme-card:hover .programme-image img {
  transform: scale(1.035);
}

.programme-image > span {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(5, 52, 32, 0.78);
  color: white;
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.programme-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 30px;
}

.programme-short {
  margin-bottom: 9px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.programme-content h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 1.55rem;
}

.programme-content h3 a:hover {
  color: var(--forest);
}

.programme-content > p:not(.programme-short) {
  color: var(--muted);
  font-size: 0.88rem;
}

.programme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0 22px;
}

.programme-tags span {
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 6px 9px;
}

.programme-content .card-link {
  margin-top: auto;
  font-size: 0.8rem;
}

/* Needs */

.needs-section {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 112px 0;
}

.needs-pattern {
  position: absolute;
  top: -140px;
  left: -100px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 45% 55% 52% 48%;
  transform: rotate(15deg);
}

.needs-pattern::after,
.needs-pattern::before {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: inherit;
  content: "";
}

.needs-pattern::before {
  inset: 55px;
}

.needs-pattern::after {
  inset: 115px;
}

.needs-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: 90px;
  grid-template-columns: 0.85fr 1.15fr;
}

.needs-heading h2 {
  margin: 18px 0 22px;
  color: white;
}

.needs-heading p {
  max-width: 490px;
  margin-bottom: 32px;
}

.snapshot-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

.snapshot-card {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.snapshot-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.snapshot-card strong,
.snapshot-card span {
  display: block;
}

.snapshot-card strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1;
}

.snapshot-card span {
  margin: 8px 0 18px;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.snapshot-card p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

/* Approach */

.approach-section {
  background: var(--ivory);
}

.centred-heading {
  max-width: 780px;
  margin: 0 auto 54px;
  text-align: center;
}

.centred-heading .eyebrow {
  justify-content: center;
}

.centred-heading h2 {
  margin: 16px 0 14px;
}

.approach-grid {
  position: relative;
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(3, 1fr);
}

.approach-grid::before {
  position: absolute;
  top: 55px;
  right: 16%;
  left: 16%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(11, 77, 43, 0.25) 0 7px,
    transparent 7px 14px
  );
  content: "";
}

.approach-grid article {
  position: relative;
  z-index: 2;
  text-align: center;
}

.approach-number {
  position: absolute;
  top: -10px;
  left: calc(50% + 32px);
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 900;
}

.approach-icon {
  display: grid;
  width: 110px;
  height: 110px;
  margin: 0 auto 26px;
  place-items: center;
  border: 10px solid var(--ivory);
  border-radius: 50%;
  background: var(--soft-green);
  box-shadow: 0 0 0 1px rgba(11, 77, 43, 0.12);
  color: var(--forest);
}

.approach-icon svg {
  width: 34px;
  height: 34px;
}

.approach-grid h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.42rem;
}

.approach-grid p {
  max-width: 320px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.87rem;
}

/* Safeguarding */

.safeguarding-section {
  padding-top: 0;
  background: var(--ivory);
}

.safeguarding-card {
  position: relative;
  display: flex;
  min-height: 250px;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 110%, rgba(245, 184, 46, 0.18), transparent 34%),
    var(--forest);
  color: rgba(255, 255, 255, 0.78);
  padding: 50px 58px;
}

.safeguarding-card::after {
  position: absolute;
  right: -45px;
  bottom: -90px;
  width: 260px;
  height: 190px;
  border: 30px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
}

.safeguarding-copy {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 780px;
  align-items: flex-start;
  gap: 28px;
}

.shield-icon {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
  color: var(--gold);
}

.shield-icon svg {
  width: 33px;
  height: 33px;
}

.safeguarding-copy h2 {
  margin: 12px 0 12px;
  color: white;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.safeguarding-copy p {
  margin-bottom: 0;
}

.safeguarding-card > .button {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

/* Values */

.values-section {
  background: var(--cream);
}

.values-layout {
  display: grid;
  align-items: start;
  gap: 100px;
  grid-template-columns: 0.75fr 1.25fr;
}

.values-copy {
  position: sticky;
  top: 150px;
}

.values-copy h2 {
  margin: 16px 0 22px;
}

.values-copy p {
  max-width: 440px;
}

.values-copy img {
  width: 130px;
  margin: 34px 0 0;
  opacity: 0.92;
}

.values-list {
  border-top: 1px solid rgba(11, 77, 43, 0.17);
}

.values-list > div {
  display: grid;
  gap: 24px;
  border-bottom: 1px solid rgba(11, 77, 43, 0.17);
  padding: 27px 0;
  grid-template-columns: 48px 1fr;
}

.values-list > div > span {
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 800;
}

.values-list p {
  margin: 0;
}

.values-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.45rem;
}

/* Stories */

.stories-section {
  background: var(--ivory);
}

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

.story-card {
  overflow: hidden;
  border: 1px solid rgba(11, 77, 43, 0.1);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.story-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.story-image {
  display: block;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 500ms ease;
}

.story-card:hover .story-image img {
  transform: scale(1.035);
}

.story-card > div:last-child {
  padding: 27px;
}

.story-card > div > span {
  color: var(--green);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 9px 0 12px;
  font-family: var(--serif);
  font-size: 1.42rem;
}

.story-card h3 a:hover {
  color: var(--forest);
}

.story-card p {
  color: var(--muted);
  font-size: 0.85rem;
}

.story-card .card-link {
  font-size: 0.79rem;
}

/* Homepage CTA */

.home-cta-section {
  background:
    linear-gradient(180deg, var(--ivory) 0 50%, var(--forest-dark) 50% 100%);
  padding: 20px 0 90px;
}

.home-cta {
  position: relative;
  display: grid;
  min-height: 340px;
  overflow: hidden;
  align-items: center;
  gap: 40px;
  border-radius: 28px;
  background:
    linear-gradient(115deg, rgba(5, 55, 36, 0.98), rgba(12, 92, 50, 0.93)),
    url("/assets/images/hero.webp") center/cover;
  box-shadow: var(--shadow-md);
  color: rgba(255, 255, 255, 0.78);
  grid-template-columns: 1fr auto;
  padding: 65px 68px 65px 170px;
}

.home-cta::before {
  position: absolute;
  top: -120px;
  left: -160px;
  width: 420px;
  height: 420px;
  border: 45px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  content: "";
}

.cta-sun {
  position: absolute;
  top: 50%;
  left: 62px;
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border: 1px solid rgba(245, 184, 46, 0.5);
  border-radius: 50%;
  color: var(--gold);
  transform: translateY(-50%);
}

.cta-sun svg {
  width: 42px;
  height: 42px;
}

.home-cta h2 {
  max-width: 720px;
  margin: 15px 0 15px;
  color: white;
}

.home-cta p {
  max-width: 680px;
  margin-bottom: 0;
}

.home-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Footer */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.67);
  padding-top: 70px;
}

.footer-sunrise {
  position: absolute;
  top: -170px;
  right: -90px;
  width: 480px;
  height: 300px;
  border: 1px solid rgba(245, 184, 46, 0.12);
  border-radius: 50%;
}

.footer-sunrise::before,
.footer-sunrise::after {
  position: absolute;
  border: 1px solid rgba(245, 184, 46, 0.08);
  border-radius: 50%;
  content: "";
}

.footer-sunrise::before {
  inset: 45px;
}

.footer-sunrise::after {
  inset: 92px;
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 46px;
  grid-template-columns: 1.5fr repeat(3, 0.72fr) 1.2fr;
}

.footer-brand img {
  width: 230px;
  margin-bottom: 22px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.footer-brand p {
  max-width: 310px;
  font-size: 0.84rem;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--gold);
  color: white;
  font-size: 0.83rem;
  font-weight: 750;
  padding-bottom: 4px;
}

.footer-links h2,
.footer-contact h2 {
  margin-bottom: 20px;
  color: white;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin-bottom: 11px;
  font-size: 0.8rem;
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-contact p,
.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.79rem;
}

.footer-contact svg {
  flex: 0 0 17px;
  margin-top: 4px;
  color: var(--gold);
}

.footer-contact a {
  word-break: break-word;
}

.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: 58px;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
}

/* Inner pages */

.inner-hero {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.76);
}

.inner-hero-pattern {
  position: absolute;
  top: -170px;
  left: -140px;
  width: 570px;
  height: 570px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 48% 52% 45% 55%;
  transform: rotate(14deg);
}

.inner-hero-pattern::after,
.inner-hero-pattern::before {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: inherit;
  content: "";
}

.inner-hero-pattern::before {
  inset: 55px;
}

.inner-hero-pattern::after {
  inset: 115px;
}

.inner-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 510px;
  align-items: stretch;
  grid-template-columns: 51% 49%;
}

.inner-hero-copy {
  display: flex;
  max-width: 640px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 70px 70px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 54px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
}

.breadcrumb span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb em {
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
}

.inner-hero h1 {
  max-width: 680px;
  margin: 17px 0 22px;
  color: white;
  font-size: clamp(3.1rem, 5.2vw, 5.3rem);
  line-height: 0.99;
}

.inner-hero-copy > p {
  max-width: 610px;
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.8;
}

.inner-hero-image {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-bottom-left-radius: 46% 50%;
}

.inner-hero-image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 59, 39, 0.18), transparent 24%),
    linear-gradient(0deg, rgba(6, 59, 39, 0.14), transparent 42%);
  content: "";
}

.inner-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-hero-line {
  position: absolute;
  z-index: 2;
  top: -20%;
  bottom: -20%;
  left: -7px;
  width: 3px;
  background: var(--gold);
  transform: rotate(7deg);
}

.inner-hero.no-image .inner-hero-grid {
  grid-template-columns: 1fr 0.35fr;
}

.inner-hero-mark {
  width: min(300px, 80%);
  align-self: center;
  justify-self: end;
  opacity: 0.82;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.18));
}

.inner-main {
  background: var(--ivory);
  padding: 100px 0 120px;
}

.inner-content-grid {
  display: grid;
  align-items: start;
  gap: 80px;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.inner-article {
  min-width: 0;
}

.content-section {
  display: grid;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 44px;
  margin: 0 0 44px;
  grid-template-columns: 40px 1fr;
}

.content-number {
  color: var(--gold-deep);
  font-size: 0.73rem;
  font-weight: 850;
  padding-top: 8px;
}

.content-section h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.content-section p {
  max-width: 780px;
}

.content-section ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.content-section li {
  position: relative;
  border-radius: 8px;
  background: var(--soft-green);
  color: #314c3c;
  padding: 11px 15px 11px 42px;
}

.content-section li::before {
  position: absolute;
  top: 16px;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 184, 46, 0.14);
  content: "";
}

.section-nav {
  position: sticky;
  top: 140px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.section-nav > p {
  margin: 0;
  background: var(--forest);
  color: white;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  padding: 18px 20px;
  text-transform: uppercase;
}

.section-nav > a {
  display: block;
  border-bottom: 1px solid #edf0ed;
  color: var(--body);
  font-size: 0.82rem;
  font-weight: 650;
  padding: 13px 19px;
  transition:
    background 150ms ease,
    color 150ms ease,
    padding 150ms ease;
}

.section-nav > a:hover,
.section-nav > a.active {
  background: var(--soft-green);
  color: var(--forest);
  padding-left: 24px;
}

.section-nav > a.active {
  border-left: 3px solid var(--gold);
}

.section-nav-help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--cream);
  padding: 22px 20px;
}

.section-nav-help svg {
  margin-bottom: 12px;
  color: var(--forest);
}

.section-nav-help strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.02rem;
}

.section-nav-help span {
  margin: 5px 0 11px;
  color: var(--muted);
  font-size: 0.76rem;
}

.section-nav-help a {
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.inner-cta-section {
  background:
    linear-gradient(180deg, var(--ivory) 0 35%, var(--forest-dark) 35% 100%);
  padding-bottom: 90px;
}

.inner-cta {
  position: relative;
  display: flex;
  min-height: 285px;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  border-radius: 25px;
  background:
    radial-gradient(circle at 88% 130%, rgba(245, 184, 46, 0.2), transparent 35%),
    var(--forest);
  color: rgba(255, 255, 255, 0.74);
  padding: 56px 62px;
}

.inner-cta::after {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 380px;
  height: 300px;
  border: 35px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
}

.inner-cta > div,
.inner-cta > a {
  position: relative;
  z-index: 2;
}

.inner-cta h2 {
  max-width: 740px;
  margin: 15px 0;
  color: white;
  font-size: clamp(2.1rem, 3.3vw, 3.5rem);
}

.inner-cta p {
  max-width: 720px;
  margin-bottom: 0;
}

.inner-cta > a {
  flex: 0 0 auto;
}

/* Inner page extras */

.inner-programme-grid {
  display: grid;
  gap: 18px;
  margin-top: 62px;
  grid-template-columns: repeat(2, 1fr);
}

.inner-programme-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.inner-programme-grid article > img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.inner-programme-grid article > span {
  position: absolute;
  top: 15px;
  left: 15px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 59, 39, 0.84);
  color: white;
  font-size: 0.7rem;
  font-weight: 850;
}

.inner-programme-grid article > div {
  padding: 24px;
}

.inner-programme-grid article > div > p:first-child {
  margin-bottom: 5px;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inner-programme-grid h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.inner-programme-grid article > div > p:not(:first-child) {
  color: var(--muted);
  font-size: 0.82rem;
}

.inner-section-heading {
  margin: 70px 0 36px;
}

.inner-section-heading h2 {
  margin: 15px 0 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.leaders-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, 1fr);
}

.leaders-grid article {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-sm);
  padding: 23px;
}

.leaders-grid .patron-card {
  grid-column: 1 / -1;
  background: var(--cream);
}

.leader-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.leaders-grid h3 {
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: 1.12rem;
}

.leaders-grid article > div:last-child > span {
  display: block;
  margin-bottom: 9px;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.leaders-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.leadership-note {
  margin-top: 18px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: var(--muted);
  font-size: 0.76rem;
  padding: 12px 15px;
}

.inner-stories .stories-grid {
  grid-template-columns: repeat(2, 1fr);
}

.inner-stories .story-card:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 42% 58%;
}

.gallery-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fff7e4;
  color: #65522b;
  padding: 17px 19px;
}

.gallery-notice svg {
  flex: 0 0 21px;
  margin-top: 2px;
  color: var(--gold-deep);
}

.gallery-notice p {
  margin: 0;
  font-size: 0.84rem;
}

.gallery-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  grid-template-columns: repeat(2, 1fr);
}

.gallery-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-sm);
}

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

.gallery-grid figcaption {
  padding: 15px 17px;
}

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

.gallery-grid figcaption strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
}

.gallery-grid figcaption span {
  color: var(--muted);
  font-size: 0.67rem;
}

.involvement-grid {
  display: grid;
  gap: 17px;
  margin-top: 58px;
  grid-template-columns: repeat(3, 1fr);
}

.involvement-grid article {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  box-shadow: var(--shadow-sm);
  padding: 27px;
}

.involvement-grid article > span {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  background: var(--soft-green);
  color: var(--forest);
}

.involvement-grid h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.involvement-grid p {
  color: var(--muted);
  font-size: 0.8rem;
}

.involvement-grid .card-link {
  font-size: 0.75rem;
}

.documents-grid {
  display: grid;
  gap: 16px;
  margin-top: 58px;
}

.documents-grid article {
  display: grid;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-sm);
  grid-template-columns: 56px 1fr auto;
  padding: 20px;
}

.documents-grid article > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 12px;
  background: var(--soft-green);
  color: var(--forest);
}

.documents-grid p {
  margin: 0;
}

.documents-grid strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
}

.documents-grid p {
  color: var(--muted);
  font-size: 0.78rem;
}

.documents-grid button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  background: var(--cream);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  padding: 10px 12px;
}

/* Contact */

.contact-layout {
  display: grid;
  gap: 26px;
  margin-top: 60px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-md);
  padding: 38px;
}

.form-heading h2 {
  margin: 12px 0 7px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.form-heading > p {
  color: var(--muted);
  font-size: 0.76rem;
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  grid-template-columns: repeat(2, 1fr);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccd7cf;
  border-radius: 9px;
  background: #fbfcfa;
  color: var(--ink);
  outline: 0;
  padding: 12px 13px;
  transition:
    border 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--forest);
  background: white;
  box-shadow: 0 0 0 4px rgba(11, 77, 43, 0.09);
}

.contact-form > label:not(.check-label) {
  margin-top: 18px;
}

.check-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  margin: 19px 0 24px;
  color: var(--muted) !important;
  font-weight: 500 !important;
}

.check-label input {
  width: 17px;
  min-height: auto;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 3px;
  accent-color: var(--forest);
}

.form-submit {
  min-width: 175px;
  border: 0;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.75;
}

.spinner {
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 17px 0 0;
  border-radius: 8px;
  font-size: 0.78rem;
  padding: 10px 12px;
}

.form-status.success {
  background: var(--soft-green);
  color: var(--forest);
}

.form-status.error {
  background: #fff0ef;
  color: #9a362f;
}

.contact-aside {
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-sm);
  padding: 30px;
}

.contact-card-green {
  background:
    radial-gradient(circle at 95% 110%, rgba(245, 184, 46, 0.18), transparent 36%),
    var(--forest);
  color: rgba(255, 255, 255, 0.75);
}

.contact-card h2,
.contact-card h3 {
  color: var(--ink);
  font-family: var(--serif);
}

.contact-card-green h2 {
  margin: 13px 0 24px;
  color: white;
  font-size: 2rem;
}

.contact-card-green > a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 15px 0;
}

.contact-card-green > a > svg {
  flex: 0 0 19px;
  margin-top: 3px;
  color: var(--gold);
}

.contact-card-green > a span,
.contact-card-green > a strong {
  display: block;
}

.contact-card-green > a strong {
  color: white;
  font-size: 0.75rem;
}

.contact-card-green > a span {
  font-size: 0.73rem;
}

.contact-card > svg {
  color: var(--gold-deep);
}

.contact-card h3 {
  margin: 13px 0 10px;
  font-size: 1.35rem;
}

.contact-card > p {
  font-size: 0.83rem;
}

.contact-card small {
  display: block;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  padding-top: 13px;
}

/* Admin Centre */

.admin-app {
  display: grid;
  min-height: 100vh;
  background: #f2f5f1;
  grid-template-columns: 250px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  background:
    radial-gradient(circle at 0 100%, rgba(245, 184, 46, 0.12), transparent 28%),
    var(--forest-dark);
  color: rgba(255, 255, 255, 0.68);
  padding: 26px 18px 22px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
  padding: 0 7px 24px;
}

.admin-brand img {
  width: 51px;
  height: 51px;
  object-fit: contain;
}

.admin-brand span,
.admin-brand strong {
  display: block;
}

.admin-brand strong {
  color: white;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.1;
}

.admin-brand span {
  font-size: 0.72rem;
}

.admin-sidebar nav {
  display: grid;
  gap: 5px;
}

.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 650;
  padding: 11px 12px;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.admin-sidebar nav a.active {
  box-shadow: inset 3px 0 var(--gold);
}

.admin-sidebar-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 19px 8px 0;
}

.admin-sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-sidebar-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.66rem;
}

.admin-main {
  width: min(100%, 1500px);
  padding: 26px 38px 48px;
}

.admin-topbar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.admin-topbar > div:first-child > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.52rem;
  letter-spacing: -0.02em;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-sm);
  padding: 8px 12px 8px 8px;
}

.admin-user > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 10px;
  background: var(--forest);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
}

.admin-user p {
  margin: 0;
}

.admin-user strong,
.admin-user em {
  display: block;
}

.admin-user strong {
  color: var(--ink);
  font-size: 0.72rem;
}

.admin-user em {
  max-width: 230px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.62rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-welcome {
  position: relative;
  display: flex;
  min-height: 220px;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 120%, rgba(245, 184, 46, 0.23), transparent 36%),
    var(--forest);
  box-shadow: var(--shadow-md);
  color: rgba(255, 255, 255, 0.72);
  margin: 24px 0 32px;
  padding: 38px 44px;
}

.admin-welcome::after {
  position: absolute;
  right: -40px;
  bottom: -100px;
  width: 270px;
  height: 190px;
  border: 28px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
}

.admin-welcome > div {
  position: relative;
  z-index: 2;
}

.admin-welcome > div:first-child {
  max-width: 730px;
}

.admin-welcome > div:first-child > span,
.admin-section-heading span {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-welcome h2 {
  margin: 10px 0 10px;
  color: white;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.admin-welcome p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.admin-readiness {
  display: flex;
  min-width: 150px;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.admin-readiness strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.admin-readiness span {
  margin-top: 7px;
  color: white;
  font-size: 0.65rem;
  text-align: center;
}

.admin-section {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-sm);
  padding: 30px;
}

.admin-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.admin-section-heading span {
  color: var(--green);
}

.admin-section-heading h2 {
  margin: 4px 0 0;
  font-family: var(--sans);
  font-size: 1.42rem;
  letter-spacing: -0.02em;
}

.admin-section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-modules {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.admin-modules > a {
  display: grid;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  grid-template-columns: 44px 1fr auto;
  transition:
    border 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.admin-modules > a:hover {
  border-color: rgba(11, 77, 43, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.admin-module-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
}

.admin-module-icon svg {
  width: 20px;
}

.admin-module-icon.green {
  background: var(--soft-green);
  color: var(--forest);
}

.admin-module-icon.blue {
  background: #eaf1fa;
  color: var(--blue);
}

.admin-module-icon.gold {
  background: #fff5dd;
  color: var(--gold-deep);
}

.admin-modules h3 {
  margin: 0 0 3px;
  font-size: 0.84rem;
}

.admin-modules p {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.45;
}

.admin-modules > a > svg {
  color: #a5b0a8;
}

.admin-guidance {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid #eed9a9;
  border-radius: 14px;
  background: #fff8e9;
  margin-top: 22px;
  padding: 19px 21px;
}

.admin-guidance > svg {
  flex: 0 0 22px;
  color: var(--gold-deep);
}

.admin-guidance strong {
  display: block;
  margin-bottom: 2px;
  color: #51421f;
  font-size: 0.76rem;
}

.admin-guidance p {
  margin: 0;
  color: #756846;
  font-size: 0.68rem;
}

.admin-page-intro {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 93% 125%, rgba(245, 184, 46, 0.18), transparent 34%),
    var(--forest);
  box-shadow: var(--shadow-md);
  color: rgba(255, 255, 255, 0.72);
  margin: 24px 0;
  padding: 34px 40px;
}

.admin-page-intro::after {
  position: absolute;
  top: -70px;
  right: -45px;
  width: 220px;
  height: 180px;
  border: 22px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
}

.admin-page-intro > div {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.admin-page-intro span {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-page-intro h2 {
  margin: 8px 0 8px;
  color: white;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.admin-page-intro p {
  margin: 0;
  font-size: 0.8rem;
}

.admin-editor-layout {
  display: grid;
  align-items: start;
  gap: 22px;
  grid-template-columns: 250px 1fr;
}

.admin-page-list,
.admin-content-form,
.media-upload-card,
.media-library-card,
.enquiries-manager,
.settings-grid article,
.admin-settings-actions {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.admin-page-list {
  position: sticky;
  top: 24px;
  padding: 22px;
}

.admin-page-list > label,
.admin-content-form label,
.media-upload-card label,
.enquiry-admin-fields label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.69rem;
  font-weight: 750;
}

.admin-page-list select,
.admin-content-form input,
.admin-content-form textarea,
.admin-content-form select,
.media-upload-card input,
.enquiry-admin-fields input,
.enquiry-admin-fields textarea,
.enquiry-admin-fields select {
  width: 100%;
  min-height: 43px;
  border: 1px solid #ccd7cf;
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
  outline: 0;
  padding: 10px 11px;
}

.admin-content-form textarea,
.enquiry-admin-fields textarea {
  resize: vertical;
}

.admin-page-list select:focus,
.admin-content-form input:focus,
.admin-content-form textarea:focus,
.admin-content-form select:focus,
.media-upload-card input:focus,
.enquiry-admin-fields textarea:focus,
.enquiry-admin-fields select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(11, 77, 43, 0.08);
}

.admin-page-meta {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin: 22px 0;
  padding: 18px 0;
}

.admin-page-meta span,
.admin-page-meta strong,
.admin-page-meta code {
  display: block;
}

.admin-page-meta span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-page-meta strong {
  margin: 5px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
}

.admin-page-meta code {
  overflow: hidden;
  color: var(--green);
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-page-meta a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 800;
}

.admin-editor-help {
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  background: #fff8e9;
  padding: 13px;
}

.admin-editor-help strong {
  display: block;
  color: #54441f;
  font-size: 0.7rem;
}

.admin-editor-help p {
  margin: 4px 0 0;
  color: #796a46;
  font-size: 0.63rem;
}

.admin-content-form {
  padding: 28px;
}

.admin-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding-bottom: 18px;
}

.admin-form-header span,
.media-library-card .admin-section-heading span {
  color: var(--green);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-form-header h2 {
  margin: 3px 0 0;
  font-family: var(--sans);
  font-size: 1.34rem;
  letter-spacing: -0.02em;
}

.admin-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 210px;
}

.admin-content-form > label {
  margin-top: 17px;
}

.admin-image-editor {
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f6f8f5;
  margin-top: 22px;
  padding: 17px;
  grid-template-columns: minmax(220px, 0.72fr) minmax(280px, 1.28fr);
}

.admin-image-preview {
  display: grid;
  overflow: hidden;
  min-height: 230px;
  place-items: center;
  border-radius: 10px;
  background: #e5ebe5;
}

.admin-image-preview img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.admin-image-preview > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
}

.admin-image-fields {
  display: grid;
  align-content: start;
  gap: 13px;
}

.admin-file-field input {
  background: white;
  padding: 7px;
}

.admin-secondary-button,
.admin-form-actions button,
.media-upload-card button,
.admin-icon-button,
.enquiry-admin-fields button,
.admin-list-toolbar > button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  background: var(--forest);
  color: white;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 9px 13px;
}

.admin-secondary-button:disabled,
.admin-form-actions button:disabled,
.media-upload-card button:disabled,
.enquiry-admin-fields button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.admin-secondary-button {
  justify-self: start;
  background: var(--blue);
}

.admin-form-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  margin: 18px 0 0;
  font-size: 0.7rem;
  padding: 10px 12px;
}

.admin-form-notice.success {
  background: var(--soft-green);
  color: var(--forest);
}

.admin-form-notice.error {
  background: #fff0ef;
  color: #9a362f;
}

.admin-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 20px;
}

.admin-form-actions span {
  color: var(--muted);
  font-size: 0.62rem;
}

.media-manager {
  display: grid;
  gap: 22px;
}

.media-upload-card {
  display: grid;
  align-items: end;
  gap: 16px;
  grid-template-columns: 48px minmax(220px, 1fr) minmax(180px, 0.7fr) minmax(220px, 1fr) auto;
  padding: 22px;
}

.media-upload-card .admin-module-icon {
  align-self: center;
}

.media-upload-copy h2 {
  margin: 0 0 3px;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.media-upload-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.5;
}

.media-upload-card input[type="file"] {
  background: #fbfcfa;
  font-size: 0.64rem;
  padding: 8px;
}

.media-upload-card button {
  min-height: 43px;
}

.media-library-card {
  padding: 26px;
}

.admin-icon-button,
.admin-list-toolbar > button {
  border: 1px solid var(--line);
  background: white;
  color: var(--forest);
}

.media-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.media-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfa;
}

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

.media-grid article > div {
  padding: 12px;
}

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

.media-grid strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-grid span {
  height: 38px;
  overflow: hidden;
  margin: 4px 0 9px;
  color: var(--muted);
  font-size: 0.6rem;
}

.media-grid code {
  overflow: hidden;
  color: var(--green);
  font-size: 0.57rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-empty-state {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-direction: column;
  border: 1px dashed #cbd7ce;
  border-radius: 12px;
  background: #f8faf7;
  color: var(--muted);
  text-align: center;
  padding: 30px;
}

.admin-empty-state > svg {
  color: var(--green);
}

.admin-empty-state strong {
  color: var(--ink);
  font-family: var(--serif);
}

.admin-empty-state span {
  max-width: 480px;
  font-size: 0.66rem;
}

.enquiries-manager {
  padding: 24px;
}

.admin-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.admin-list-toolbar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-list-toolbar > div > svg {
  color: var(--green);
}

.admin-list-toolbar p {
  margin: 0;
}

.admin-list-toolbar strong,
.admin-list-toolbar span {
  display: block;
}

.admin-list-toolbar strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.admin-list-toolbar span {
  color: var(--muted);
  font-size: 0.62rem;
}

.enquiry-list {
  display: grid;
  gap: 14px;
}

.enquiry-list > article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfa;
  padding: 19px;
}

.enquiry-list article > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.enquiry-list article > header > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.enquiry-list header strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.enquiry-list header em {
  color: var(--green);
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 750;
  text-transform: capitalize;
}

.enquiry-list time {
  color: var(--muted);
  font-size: 0.61rem;
}

.enquiry-status {
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 800;
  padding: 4px 7px;
  text-transform: uppercase;
}

.enquiry-status.new {
  background: #fff1cf;
  color: #835b00;
}

.enquiry-status.in-progress {
  background: #e7f0fb;
  color: #20588d;
}

.enquiry-status.closed {
  background: #e7efe9;
  color: #466251;
}

.enquiry-contacts {
  display: flex;
  gap: 18px;
  margin: 12px 0;
}

.enquiry-contacts a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 0.65rem;
}

.enquiry-message {
  border-left: 3px solid var(--gold);
  background: white;
  color: var(--body);
  font-size: 0.72rem;
  padding: 10px 13px;
}

.enquiry-admin-fields {
  display: grid;
  align-items: end;
  gap: 13px;
  grid-template-columns: 145px 1fr auto;
}

.enquiry-admin-fields button {
  min-height: 43px;
}

.settings-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.settings-grid article {
  padding: 24px;
}

.settings-grid svg {
  margin-bottom: 24px;
  color: var(--gold-deep);
}

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

.settings-grid span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settings-grid strong {
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
}

.admin-settings-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  padding: 22px;
}

.admin-settings-actions > div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.admin-settings-actions > div > svg {
  flex: 0 0 22px;
  color: var(--gold-deep);
}

.admin-settings-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
}

.admin-settings-actions strong {
  display: block;
  color: var(--ink);
  font-size: 0.75rem;
}

.admin-settings-actions > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  background: var(--forest);
  color: white;
  font-size: 0.69rem;
  font-weight: 800;
  padding: 10px 13px;
}

/* Responsive */

@media (max-width: 1180px) {
  .site-shell {
    width: min(100% - 36px, 1120px);
  }

  .brand {
    width: 205px;
    flex-basis: 205px;
  }

  .header-inner {
    gap: 18px;
  }

  .nav-link {
    padding-inline: 8px;
    font-size: 0.78rem;
  }

  .header-cta {
    display: none;
  }

  .hero-copy-inner {
    margin-left: 36px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 0.7fr);
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    align-items: start;
    gap: 18px;
    grid-template-columns: 160px repeat(3, 1fr);
  }

  .footer-contact h2 {
    margin: 4px 0 0;
  }

  .media-upload-card {
    grid-template-columns: 48px 1fr 1fr;
  }

  .media-upload-card .media-upload-copy {
    grid-column: 2 / -1;
  }
}

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    min-height: 78px;
    justify-content: space-between;
  }

  .brand {
    width: 210px;
    flex-basis: 210px;
  }

  .menu-button {
    display: flex;
  }

  .mobile-nav {
    display: grid;
    overflow: hidden;
    max-height: 0;
    border-top: 1px solid transparent;
    background: white;
    opacity: 0;
    transition:
      max-height 300ms ease,
      opacity 200ms ease;
  }

  .mobile-nav.open {
    max-height: 760px;
    border-color: var(--line);
    opacity: 1;
  }

  .mobile-nav-inner {
    width: min(100% - 36px, 1120px);
    margin: 0 auto;
    padding: 14px 0 24px;
  }

  .mobile-nav-row {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav-row > a {
    flex: 1;
    color: var(--ink);
    font-weight: 700;
  }

  .mobile-nav-row > button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--forest);
  }

  .mobile-nav-row svg {
    transition: transform 180ms ease;
  }

  .mobile-nav-row svg.rotated {
    transform: rotate(180deg);
  }

  .mobile-subnav {
    display: grid;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    padding: 8px 14px;
  }

  .mobile-subnav a {
    color: var(--body);
    font-size: 0.84rem;
    padding: 9px 0;
  }

  .mobile-support {
    width: 100%;
    margin-top: 18px;
  }

  .home-hero {
    grid-template-columns: 50% 50%;
  }

  .hero-copy-inner {
    width: calc(100% - 56px);
    margin-left: 30px;
  }

  .home-hero h1 {
    font-size: clamp(3.25rem, 6.5vw, 4.6rem);
  }

  .values-ribbon-grid > div {
    padding-inline: 24px;
  }

  .intro-grid,
  .needs-inner,
  .values-layout {
    gap: 60px;
  }

  .programme-card {
    grid-template-columns: 1fr;
  }

  .programme-image {
    min-height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 0.8fr);
  }

  .inner-content-grid {
    gap: 45px;
    grid-template-columns: minmax(0, 1fr) 250px;
  }

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

  .admin-app {
    grid-template-columns: 78px 1fr;
  }

  .admin-sidebar {
    padding-inline: 12px;
  }

  .admin-brand {
    justify-content: center;
    padding-inline: 0;
  }

  .admin-brand span,
  .admin-sidebar nav a {
    font-size: 0;
  }

  .admin-brand img {
    width: 46px;
  }

  .admin-sidebar nav a {
    justify-content: center;
    padding: 12px;
  }

  .admin-sidebar nav a svg {
    width: 20px;
    height: 20px;
  }

  .admin-sidebar-footer a {
    justify-content: center;
    font-size: 0;
  }

  .admin-sidebar-footer p {
    display: none;
  }

  .admin-editor-layout {
    grid-template-columns: 220px 1fr;
  }

  .admin-image-editor {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .section {
    padding: 82px 0;
  }

  .home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy-inner {
    width: min(100% - 40px, 680px);
    margin: 0 auto;
    padding: 70px 0 86px;
  }

  .home-hero h1 {
    max-width: 650px;
    font-size: clamp(3.45rem, 11vw, 5rem);
  }

  .hero-image {
    min-height: 500px;
    border-top-left-radius: 45% 18%;
    border-bottom-left-radius: 0;
  }

  .hero-image img {
    min-height: 500px;
  }

  .hero-landscape {
    top: auto;
    right: 0;
    bottom: -2px;
    left: 0;
  }

  .values-ribbon-grid {
    grid-template-columns: 1fr;
    padding: 20px 0;
  }

  .values-ribbon-grid > div,
  .values-ribbon-grid > div:first-child,
  .values-ribbon-grid > div:last-child {
    min-height: 84px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0;
  }

  .values-ribbon-grid > div:last-child {
    border-bottom: 0;
  }

  .intro-grid,
  .needs-inner,
  .values-layout {
    grid-template-columns: 1fr;
  }

  .intro-visual {
    width: min(100%, 580px);
  }

  .values-copy {
    position: static;
  }

  .heading-split {
    display: block;
  }

  .heading-split > p,
  .heading-split > .text-link {
    margin-top: 20px;
  }

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

  .programme-card {
    grid-template-columns: 42% 58%;
  }

  .programme-image {
    min-height: 400px;
  }

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

  .approach-grid {
    gap: 45px;
    grid-template-columns: 1fr;
  }

  .approach-grid::before {
    top: 8%;
    right: auto;
    bottom: 8%;
    left: 50%;
    width: 1px;
    height: auto;
    background: repeating-linear-gradient(
      0deg,
      rgba(11, 77, 43, 0.25) 0 7px,
      transparent 7px 14px
    );
  }

  .approach-grid article {
    width: min(100%, 500px);
    margin: 0 auto;
    background: var(--ivory);
    padding: 4px 0;
  }

  .safeguarding-card {
    display: block;
  }

  .safeguarding-card > .button {
    margin: 30px 0 0 96px;
  }

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

  .home-cta {
    grid-template-columns: 1fr;
    padding: 150px 45px 54px;
  }

  .cta-sun {
    top: 48px;
    left: 45px;
    transform: none;
  }

  .home-cta-actions {
    flex-direction: row;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact h2 {
    grid-column: 1 / -1;
  }

  .inner-hero-grid,
  .inner-hero.no-image .inner-hero-grid {
    grid-template-columns: 1fr;
  }

  .inner-hero-copy {
    max-width: none;
    padding: 64px 0 74px;
  }

  .breadcrumb {
    margin-bottom: 42px;
  }

  .inner-hero-image {
    min-height: 430px;
    border-top-left-radius: 48% 18%;
    border-bottom-left-radius: 0;
  }

  .inner-hero-mark {
    width: 210px;
    margin: 0 auto 55px;
    justify-self: center;
  }

  .inner-content-grid {
    grid-template-columns: 1fr;
  }

  .section-nav {
    position: static;
    grid-row: 1;
  }

  .inner-programme-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .inner-cta {
    display: block;
  }

  .inner-cta > a {
    margin-top: 28px;
  }

  .admin-main {
    padding-inline: 24px;
  }

  .admin-welcome {
    display: block;
  }

  .admin-readiness {
    width: 150px;
    margin-top: 25px;
  }

  .admin-modules {
    grid-template-columns: 1fr;
  }

  .admin-editor-layout {
    grid-template-columns: 1fr;
  }

  .admin-page-list {
    position: static;
  }

  .media-upload-card {
    align-items: stretch;
    grid-template-columns: 48px 1fr;
  }

  .media-upload-card .media-upload-copy {
    grid-column: auto;
  }

  .media-upload-card label,
  .media-upload-card button {
    grid-column: 1 / -1;
  }

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

  .enquiry-admin-fields {
    grid-template-columns: 1fr;
  }

  .enquiry-admin-fields button {
    justify-self: start;
  }

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

@media (max-width: 600px) {
  .site-shell {
    width: min(100% - 28px, 560px);
  }

  .utility-inner {
    min-height: 34px;
    justify-content: center;
  }

  .utility-inner > span {
    display: none;
  }

  .utility-links a:first-child {
    display: none;
  }

  .utility-links {
    gap: 0;
  }

  .utility-links a {
    font-size: 0.71rem;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    width: 185px;
    flex-basis: 185px;
  }

  .brand img {
    max-height: 62px;
  }

  .menu-button {
    width: 43px;
    height: 43px;
  }

  .section {
    padding: 66px 0;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-copy-inner {
    width: min(100% - 28px, 560px);
    padding: 54px 0 72px;
  }

  .hero-kicker {
    font-size: 0.68rem;
  }

  .home-hero h1 {
    font-size: clamp(3.2rem, 16.7vw, 4.4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    gap: 18px;
    flex-direction: column;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-image,
  .hero-image img {
    min-height: 390px;
  }

  .hero-image img {
    object-position: 62% center;
  }

  .hero-location {
    right: 14px;
    bottom: 24px;
    font-size: 0.68rem;
  }

  .hero-landscape {
    height: 90px;
  }

  .value-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .values-ribbon-grid strong {
    font-size: 1.05rem;
  }

  .intro-grid,
  .needs-inner,
  .values-layout {
    gap: 45px;
  }

  .intro-visual {
    padding-left: 0;
  }

  .founded-card {
    right: 10px;
    width: min(280px, calc(100% - 30px));
  }

  .image-frame img {
    aspect-ratio: 4/4.2;
  }

  .programme-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .programme-image {
    min-height: 260px;
  }

  .programme-content {
    padding: 26px 22px;
  }

  .needs-section {
    padding: 76px 0;
  }

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

  .snapshot-card {
    min-height: 0;
  }

  .safeguarding-card {
    padding: 38px 24px;
  }

  .safeguarding-copy {
    display: block;
  }

  .shield-icon {
    margin-bottom: 22px;
  }

  .safeguarding-card > .button {
    width: 100%;
    margin: 28px 0 0;
  }

  .values-copy img {
    width: 95px;
  }

  .stories-section .heading-split .text-link {
    display: inline-flex;
  }

  .home-cta {
    width: min(100% - 20px, 560px);
    min-height: 0;
    padding: 138px 26px 38px;
  }

  .cta-sun {
    left: 26px;
  }

  .home-cta-actions {
    flex-direction: column;
  }

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

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-contact {
    display: block;
  }

  .footer-bottom {
    min-height: 88px;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
  }

  .inner-hero h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .inner-hero-copy > p {
    font-size: 0.94rem;
  }

  .inner-hero-image {
    min-height: 350px;
  }

  .inner-main {
    padding: 70px 0 86px;
  }

  .content-section {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .content-section h2 {
    font-size: 2rem;
  }

  .content-number {
    padding-top: 0;
  }

  .leaders-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .leaders-grid .patron-card {
    grid-column: auto;
  }

  .inner-stories .stories-grid {
    grid-template-columns: 1fr;
  }

  .inner-stories .story-card:last-child {
    display: block;
    grid-column: auto;
  }

  .documents-grid article {
    align-items: start;
    grid-template-columns: 50px 1fr;
  }

  .documents-grid button {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .contact-form {
    padding: 26px 20px;
  }

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

  .inner-cta {
    width: min(100% - 20px, 560px);
    min-height: 0;
    padding: 40px 26px;
  }

  .admin-app {
    display: block;
  }

  .admin-sidebar {
    position: static;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
  }

  .admin-brand {
    margin: 0;
    border: 0;
    padding: 0;
  }

  .admin-brand img {
    width: 42px;
    height: 42px;
  }

  .admin-sidebar nav {
    display: flex;
  }

  .admin-sidebar nav a {
    padding: 9px;
  }

  .admin-sidebar nav a.active {
    box-shadow: inset 0 -3px var(--gold);
  }

  .admin-sidebar-footer {
    display: none;
  }

  .admin-main {
    padding: 18px 14px 36px;
  }

  .admin-topbar {
    display: block;
  }

  .admin-user {
    margin-top: 12px;
  }

  .admin-welcome {
    padding: 28px 24px;
  }

  .admin-welcome h2 {
    font-size: 2.15rem;
  }

  .admin-section {
    padding: 20px 15px;
  }

  .admin-section-heading {
    display: block;
  }

  .admin-section-heading > p {
    margin-top: 6px;
  }

  .admin-page-intro {
    padding: 27px 23px;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-content-form {
    padding: 20px 15px;
  }

  .admin-image-editor {
    padding: 12px;
  }

  .admin-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .media-library-card,
  .enquiries-manager {
    padding: 18px 14px;
  }

  .admin-list-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .enquiry-list article > header,
  .enquiry-list article > header > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .enquiry-contacts {
    flex-direction: column;
    gap: 6px;
  }

  .admin-settings-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-settings-actions > a {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Database-managed leadership, projects and editorial content */

.leader-portrait {
  display: grid;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  overflow: hidden;
  place-items: center;
  border: 5px solid white;
  border-radius: 50%;
  outline: 2px solid var(--gold);
  background:
    radial-gradient(circle at 35% 25%, rgba(245, 184, 46, 0.2), transparent 38%),
    var(--forest);
  box-shadow: 0 12px 28px rgba(5, 48, 28, 0.18);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 800;
}

.leader-portrait img,
.admin-leader-thumb img,
.admin-portrait-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.position-top {
  object-position: center 18%;
}

.position-center {
  object-position: center center;
}

.position-bottom {
  object-position: center 78%;
}

.leaders-grid article {
  align-items: center;
}

.leader-email {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-size: 0.69rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.managed-section {
  margin-top: 70px;
}

.managed-empty-public {
  grid-column: 1 / -1;
  border: 1px dashed #b8c9bd;
  border-radius: 16px;
  background: var(--soft-green);
  color: var(--forest);
  padding: 30px;
}

.managed-empty-public > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--green);
}

.managed-empty-public h3 {
  margin: 15px 0 5px;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.managed-empty-public p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.managed-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.managed-card-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.managed-card-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 220ms ease;
}

.managed-card:hover .managed-card-image img {
  transform: scale(1.025);
}

.managed-card-image > span {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--forest-dark);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.managed-card > div {
  padding: 23px;
}

.managed-card > div > p:first-child {
  margin-bottom: 7px;
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.managed-card h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.managed-card > div > p:not(:first-child) {
  color: var(--muted);
  font-size: 0.8rem;
}

.managed-detail-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 110%, rgba(245, 184, 46, 0.2), transparent 35%),
    var(--forest-dark);
  color: white;
}

.managed-detail-grid {
  display: grid;
  min-height: 570px;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
}

.managed-detail-copy {
  align-self: center;
  padding: 80px 70px 80px 0;
}

.managed-detail-copy .breadcrumb a,
.managed-detail-copy .breadcrumb span,
.managed-detail-copy .breadcrumb em {
  color: rgba(255, 255, 255, 0.7);
}

.managed-detail-copy h1 {
  max-width: 760px;
  margin: 18px 0;
  color: white;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.managed-detail-copy > p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
}

.managed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.managed-meta span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 8px 12px;
}

.managed-detail-image {
  min-height: 570px;
}

.managed-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.managed-detail-content {
  display: grid;
  align-items: start;
  gap: 60px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.managed-prose {
  margin-top: 22px;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.9;
}

.managed-detail-content aside {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.managed-detail-content aside img {
  width: 82px;
  margin-bottom: 16px;
}

.managed-detail-content aside h2 {
  font-size: 1.45rem;
}

.managed-detail-content aside p {
  color: var(--muted);
  font-size: 0.78rem;
}

.managed-detail-content aside .button {
  margin-top: 10px;
}

/* Advanced Admin Centre managers */

.admin-manager-layout {
  display: grid;
  align-items: start;
  gap: 22px;
  grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr);
}

.admin-record-list {
  position: sticky;
  top: 22px;
  max-height: calc(100vh - 45px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.admin-record-list .admin-section-heading {
  align-items: center;
  margin-bottom: 18px;
}

.admin-record-list .admin-section-heading h2 {
  font-size: 1.15rem;
}

.admin-add-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 8px;
  background: var(--forest);
  color: white;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 9px 11px;
}

.admin-record-cards {
  display: grid;
  gap: 9px;
}

.admin-record-cards article {
  display: grid;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfa;
  padding: 10px;
  grid-template-columns: 55px minmax(0, 1fr) auto;
}

.admin-leader-thumb,
.admin-square-thumb {
  display: grid;
  width: 52px;
  height: 52px;
  overflow: hidden;
  place-items: center;
  background: var(--forest);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 800;
}

.admin-leader-thumb {
  border: 3px solid white;
  border-radius: 50%;
  outline: 1px solid var(--gold);
}

.admin-square-thumb {
  border-radius: 9px;
}

.admin-square-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-record-cards strong,
.admin-record-cards span,
.admin-record-cards em {
  display: block;
}

.admin-record-cards strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-record-cards span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.6rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-record-cards em {
  margin-top: 3px;
  color: var(--green);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 800;
  text-transform: capitalize;
}

.admin-record-cards article > a {
  color: var(--blue);
  font-size: 0.63rem;
  font-weight: 800;
}

.admin-record-form {
  min-width: 0;
}

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

.admin-image-editor.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-image-editor.compact .admin-image-preview {
  min-height: 190px;
}

.admin-image-editor.compact .admin-image-preview img {
  min-height: 190px;
}

.admin-portrait-editor {
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid #ead8a8;
  border-radius: 14px;
  background: #fff9eb;
  margin-bottom: 22px;
  padding: 19px;
}

.admin-portrait-preview {
  display: grid;
  width: 128px;
  height: 128px;
  flex: 0 0 128px;
  overflow: hidden;
  place-items: center;
  border: 7px solid white;
  border-radius: 50%;
  outline: 2px solid var(--gold);
  background: var(--forest);
  box-shadow: 0 14px 30px rgba(5, 48, 28, 0.16);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 800;
}

.admin-portrait-editor strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.admin-portrait-editor p {
  max-width: 520px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.admin-check-field {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8faf7;
  margin-top: 18px;
  padding: 12px;
}

.admin-check-field input {
  width: 18px !important;
  min-height: 18px !important;
}

.admin-delete-button {
  background: #a33b33 !important;
}

.admin-settings-form {
  margin-top: 24px;
}

@media (max-width: 1150px) {
  .admin-manager-layout {
    grid-template-columns: 1fr;
  }

  .admin-record-list {
    position: static;
    max-height: none;
  }

  .managed-detail-grid {
    grid-template-columns: 1fr;
  }

  .managed-detail-copy {
    padding: 70px 0;
  }

  .managed-detail-image {
    min-height: 430px;
  }
}

@media (max-width: 760px) {
  .managed-content-grid,
  .managed-detail-content,
  .admin-form-grid.equal,
  .admin-image-editor.compact {
    grid-template-columns: 1fr;
  }

  .leader-portrait {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
  }

  .managed-detail-copy h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .managed-detail-content {
    gap: 28px;
  }

  .admin-portrait-editor {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-record-cards article {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .admin-leader-thumb,
  .admin-square-thumb {
    width: 45px;
    height: 45px;
  }
}
