:root {
  --forest: #20382b;
  --forest-2: #2d4d3b;
  --fern: #738260;
  --teal: #446e71;
  --clay: #b76535;
  --clay-dark: #884225;
  --sand: #efe2ca;
  --cream: #fbf4e7;
  --paper: #fffaf0;
  --ink: #17241f;
  --muted: #5e625b;
  --line: rgba(32, 56, 43, 0.14);
  --shadow: 0 22px 70px rgba(38, 45, 34, 0.16);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(183, 101, 53, 0.18), transparent 22rem),
    radial-gradient(circle at 92% 96%, rgba(68, 110, 113, 0.16), transparent 24rem),
    linear-gradient(135deg, #e8ddc8 0%, #fbf1df 48%, #e4d8bf 100%);
  font-family: var(--sans);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(32, 56, 43, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 56, 43, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

.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;
}

.page-shell {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 52px));
  margin: 38px auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 2%, rgba(255, 255, 255, 0.82), transparent 32rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(250, 242, 226, 0.96));
  box-shadow: var(--shadow);
}

.site-header, main, .site-footer { position: relative; z-index: 1; }

.site-header {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 15px 28px 10px 30px;
}

.brand {
  display: inline-grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  width: auto;
  text-decoration: none;
}

.brand-mark {
  display: block;
  overflow: hidden;
  width: 62px;
  height: 62px;
  border-radius: 50%;
}

.brand-mark img {
  width: 155px;
  max-width: none;
  margin: 0 0 0 -47px;
  mix-blend-mode: multiply;
}

.brand-wordmark strong {
  display: block;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 0.95;
  white-space: normal;
}

.brand-wordmark em {
  display: block;
  margin-top: 5px;
  color: var(--clay);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 32px);
  color: #26352f;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a, .site-footer a { text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { color: var(--clay-dark); }

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.header-action,
.button.primary {
  color: white;
  background: linear-gradient(180deg, #c2713e, #a9552e);
  box-shadow: 0 12px 24px rgba(136, 66, 37, 0.15), inset 0 1px rgba(255, 255, 255, 0.22);
}

.button.secondary { border-color: rgba(32, 56, 43, 0.38); color: var(--forest); background: rgba(255, 255, 255, 0.52); box-shadow: inset 0 1px rgba(255, 255, 255, 0.55); }
.button.dark { color: white; background: linear-gradient(180deg, #315440, var(--forest)); box-shadow: inset 0 1px rgba(255, 255, 255, 0.14); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  align-items: center;
  min-height: 560px;
  padding: 24px 0 0 48px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 86px;
  background: var(--paper);
  clip-path: ellipse(66% 72% at 54% 100%);
}

.hero-copy { position: relative; z-index: 2; max-width: 575px; padding-bottom: 74px; }

.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: var(--clay-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; color: var(--forest); font-family: var(--serif); font-weight: 600; }
h1 {
  max-width: 620px;
  font-size: clamp(3.25rem, 4.6vw, 4.2rem);
  line-height: 0.98;
}

h1 span {
  display: block;
  white-space: nowrap;
}
h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.02; }
h3 { font-size: 1.46rem; line-height: 1.06; }

.hero-copy > p:not(.eyebrow),
.section-title p,
.intro-text,
.pilot-copy p,
.work-with-us > div > p {
  color: var(--muted);
  font-size: 1.02rem;
}

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

.hero-image-wrap {
  position: relative;
  z-index: 1;
  align-self: stretch;
  overflow: hidden;
  min-height: 500px;
  border-radius: 55% 0 0 36%;
}

.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.section { position: relative; padding: 52px 48px; }
.section-title { max-width: 690px; margin: 0 auto 24px; text-align: center; }
.section-title h2 { font-size: clamp(1.75rem, 2.5vw, 2.45rem); }

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

.programme-card {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(90% 80% at 80% 12%, rgba(185, 103, 54, 0.1), transparent 58%),
    radial-gradient(70% 74% at 18% 90%, rgba(68, 110, 113, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 249, 238, 0.78)),
    var(--paper);
  box-shadow: 0 18px 40px rgba(32, 56, 43, 0.075);
  text-align: center;
}

.programme-card::before {
  content: "";
  position: absolute;
  inset: 18px 16px auto auto;
  width: 92px;
  height: 80px;
  opacity: 0.16;
  background: radial-gradient(closest-side, #879170, transparent 72%);
  filter: blur(12px);
  transform: rotate(-12deg);
}

.programme-card p, .resource-grid p, .event-card p, .pilot-steps span, .site-footer p, .site-footer span, .site-footer a { color: var(--muted); }

.watermark-icon {
  position: relative;
  z-index: 1;
  width: 126px;
  height: 96px;
  margin: 0 auto 14px;
  opacity: 0.98;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.programme-card h3,
.programme-card p {
  position: relative;
  z-index: 1;
}

.mountain-icon { background-image: url("assets/programme-inclusive.png"); }
.leaf-icon { background-image: url("assets/programme-community.png"); }
.sun-icon { background-image: url("assets/programme-wellbeing.png"); }
.branch-icon { background-image: url("assets/programme-advocacy.png"); }

.access-band {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: grid;
  grid-template-columns: 116px 1fr auto;
  gap: 28px;
  align-items: center;
  width: calc(100% - 96px);
  margin: 22px auto 10px;
  padding: 26px 28px;
  border: 1px solid rgba(32, 56, 43, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(52% 120% at 86% 10%, rgba(115, 130, 96, 0.2), transparent 62%),
    radial-gradient(42% 84% at 18% 92%, rgba(68, 110, 113, 0.14), transparent 60%),
    linear-gradient(100deg, rgba(226, 224, 204, 0.92), rgba(245, 239, 222, 0.9));
}

.access-band::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -24px;
  width: 250px;
  height: 150px;
  pointer-events: none;
  opacity: 0.22;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(68, 110, 113, 0.45), transparent 75%),
    radial-gradient(closest-side at 66% 54%, rgba(183, 101, 53, 0.26), transparent 70%);
  filter: blur(16px);
  transform: rotate(-9deg);
}

.access-band > * {
  position: relative;
  z-index: 1;
}

.access-medallion { display: grid; place-items: center; width: 98px; height: 98px; border-radius: 50%; background: var(--forest-2); }
.access-medallion span {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: url("assets/programme-inclusive.png") center / 118px 118px no-repeat;
  mix-blend-mode: screen;
  opacity: 0.86;
}
.access-copy h2 { margin-bottom: 4px; font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
.access-copy p { max-width: 640px; margin: 0; color: #4f584e; }
.access-points { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; font-size: 0.82rem; font-weight: 700; }
.access-points span { position: relative; padding-left: 30px; }
.access-points span::before { content: ""; position: absolute; top: -2px; left: 0; width: 22px; height: 22px; border: 1px solid rgba(32, 56, 43, 0.4); border-radius: 50%; background: rgba(255, 255, 255, 0.4); }

.intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 58px; }
.intro h2, .pilot-panel h2, .work-with-us h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.intro-text p:first-child { margin-top: 0; }

.pilot-panel {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 36px;
  width: calc(100% - 96px);
  margin: 0 auto;
  padding: 34px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(rgba(32, 56, 43, 0.88), rgba(32, 56, 43, 0.88)), url("assets/hero-adaptive-climbing.png") center / cover;
}

.pilot-panel h2, .pilot-panel .eyebrow, .pilot-panel p { color: white; }
.pilot-copy p { max-width: 560px; }
.pilot-steps { display: grid; gap: 14px; }
.pilot-steps article { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; padding: 16px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(4px); }
.pilot-steps strong { color: #f1c7a8; font-size: 1.2rem; }
.pilot-steps span { color: rgba(255, 255, 255, 0.88); }

.events-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 18px; }
.events-heading h2 { font-size: clamp(1.9rem, 2.9vw, 2.75rem); }
.events-heading a { color: var(--forest); font-weight: 800; text-decoration: none; }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.event-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 250, 240, 0.92); box-shadow: 0 16px 32px rgba(32, 56, 43, 0.08); }
.event-card img { width: 100%; height: 125px; object-fit: cover; }
.event-info { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 14px 16px 16px; }
.event-info time { display: grid; place-items: center; align-self: start; min-height: 52px; border-radius: 8px; color: white; background: var(--clay); font-weight: 800; line-height: 1; text-transform: uppercase; }
.event-info time span { font-size: 0.68rem; }
.event-info h3 { font-size: 1.2rem; }
.event-info p { margin: 4px 0 0; font-size: 0.86rem; }

.quote-band {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 24px;
  align-items: center;
  width: calc(100% - 96px);
  margin: 8px auto 22px;
  padding: 28px 38px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(90deg, rgba(68, 110, 113, 0.95), rgba(45, 77, 59, 0.94)), var(--teal);
}

.quote-mark { align-self: start; font-family: var(--serif); font-size: 5rem; line-height: 0.8; color: rgba(255, 255, 255, 0.78); }
blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.3vw, 2.1rem); line-height: 1.1; }
.quote-person { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: center; min-width: 190px; }
.quote-person span { display: grid; place-items: center; width: 60px; height: 60px; border: 3px solid rgba(255, 255, 255, 0.7); border-radius: 50%; background: var(--sand); color: var(--forest); font-family: var(--serif); font-size: 2rem; }
.quote-person p { margin: 0; color: white; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-grid article {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(76% 92% at 78% 14%, rgba(183, 101, 53, 0.08), transparent 62%),
    radial-gradient(92% 100% at 10% 96%, rgba(68, 110, 113, 0.1), transparent 64%),
    rgba(255, 250, 240, 0.72);
}

.resource-grid article::before {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -28px;
  width: 140px;
  height: 104px;
  opacity: 0.18;
  background: radial-gradient(closest-side, #72815f, transparent 72%);
  filter: blur(14px);
}

.work-with-us { display: grid; grid-template-columns: 1fr minmax(340px, 445px); gap: 46px; padding: 16px 48px 58px; }
.contact-card { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 250, 240, 0.82); box-shadow: 0 16px 38px rgba(32, 56, 43, 0.08); }
label { display: grid; gap: 7px; color: var(--forest); font-weight: 800; }
input, textarea { width: 100%; border: 1px solid rgba(32, 56, 43, 0.18); border-radius: 9px; padding: 12px 13px; color: var(--ink); background: rgba(255, 255, 255, 0.72); font: inherit; }
textarea { resize: vertical; }
.form-note { min-height: 1.3em; margin: 0; color: var(--muted); font-size: 0.9rem; }

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1.2fr;
  gap: 34px;
  padding: 38px 54px 0;
  background: radial-gradient(circle at 0 100%, rgba(217, 204, 177, 0.9), transparent 16rem), linear-gradient(180deg, rgba(255, 250, 240, 0.1), rgba(244, 235, 216, 0.85));
}

.footer-logo {
  margin-bottom: 12px;
}
.site-footer h2 { margin: 8px 0 12px; color: var(--forest); font-family: var(--sans); font-size: 0.96rem; font-weight: 800; line-height: 1.2; }
.site-footer a, .site-footer span { display: block; margin: 5px 0; font-size: 0.94rem; }
.footer-bottom { grid-column: 1 / -1; margin: 22px -54px 0; padding: 13px 18px; border-radius: 0 0 20px 20px; color: white; background: var(--forest); text-align: center; font-size: 0.88rem; }

@media (max-width: 1000px) {
  .page-shell { width: min(100% - 28px, 1180px); margin-block: 18px; }
  .site-header { grid-template-columns: 184px 1fr auto; padding-inline: 22px; }
  .brand { grid-template-columns: 56px minmax(0, 1fr); gap: 9px; }
  .brand-mark { width: 56px; height: 56px; }
  .brand-mark img { width: 140px; margin: 0 0 0 -42px; }
  .brand-wordmark strong { font-size: 1.22rem; }
  .brand-wordmark em { font-size: 0.55rem; letter-spacing: 0.3em; }
  .site-nav { gap: 14px; font-size: 0.84rem; }
  .hero { grid-template-columns: 1fr; padding: 26px 34px 0; }
  .hero-copy { max-width: 680px; padding-bottom: 18px; }
  h1 { max-width: 12.5ch; }
  .hero-image-wrap { min-height: 390px; border-radius: 34% 8px 0 0; }
  .programme-grid, .event-grid, .resource-grid, .site-footer { grid-template-columns: repeat(2, 1fr); }
  .access-band, .pilot-panel, .quote-band { width: calc(100% - 56px); }
  .access-band { grid-template-columns: 96px 1fr; }
  .access-band .button { grid-column: 2; justify-self: start; }
  .intro, .pilot-panel, .work-with-us { grid-template-columns: 1fr; }
  .quote-band { grid-template-columns: 38px 1fr; }
  .quote-person { grid-column: 2; }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 18px, 1180px); border-radius: 16px; }
  .site-header { grid-template-columns: 1fr auto; padding: 12px 16px; }
  .brand { grid-template-columns: 48px minmax(0, 1fr); gap: 8px; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-mark img { width: 120px; margin-left: -36px; }
  .brand-wordmark strong { font-size: 1.08rem; }
  .brand-wordmark em { font-size: 0.5rem; letter-spacing: 0.28em; }
  .nav-toggle { display: inline-grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 250, 240, 0.8); }
  .nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: var(--forest); }
  .site-nav, .header-action { display: none; }
  .site-header.nav-open .site-nav { display: grid; grid-column: 1 / -1; gap: 0; padding-top: 8px; }
  .site-header.nav-open .site-nav a { padding: 11px 0; border-top: 1px solid var(--line); }
  .hero { padding: 24px 18px 0; }
  h1 { font-size: 2.64rem; line-height: 1; }
  .hero-copy > p:not(.eyebrow), .section-title p, .intro-text, .pilot-copy p, .work-with-us > div > p { font-size: 0.98rem; }
  .button { width: 100%; }
  .hero-image-wrap { min-height: 300px; border-radius: 14px 14px 0 0; }
  .section, .work-with-us { padding: 42px 18px; }
  .programme-grid, .event-grid, .resource-grid, .site-footer { grid-template-columns: 1fr; }
  .programme-card { min-height: 0; }
  .access-band, .pilot-panel, .quote-band { width: calc(100% - 28px); }
  .access-band, .quote-band { grid-template-columns: 1fr; padding: 22px; }
  .access-band .button, .quote-person { grid-column: auto; }
  .access-medallion { width: 82px; height: 82px; }
  .pilot-panel { padding: 24px; }
  .pilot-steps article { grid-template-columns: 1fr; }
  .events-heading { align-items: start; flex-direction: column; }
  .site-footer { padding: 34px 22px 0; }
  .footer-bottom { margin-inline: -22px; border-radius: 0 0 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
