/* BEACON — Warm & Human Community Design System
   Vibrant Health Advocates - Beacon | Hawick, Scottish Borders
   ============================================================ */

/* 1. TOKENS */
:root {
  --cream:        #FAF3E8;
  --cream-deep:   #F0E4CC;
  --cream-card:   #FFFDF7;
  --cream-border: #E8D9BE;
  --terra:        #C4622D;
  --terra-soft:   #DF8A5A;
  --terra-pale:   #FAE8D8;
  --terra-dark:   #8E3F15;
  --brand:        #7B2D8B;
  --brand-mid:    #A855BC;
  --brand-light:  #F0D9F5;
  --brand-dark:   #3D1448;
  --text:         #2C1A0E;
  --text-mid:     #6B4532;
  --text-light:   #9C7B6A;
  --text-inv:     #FFF8F0;
  --shadow-sm:    0 2px 8px rgba(44,26,14,.10);
  --shadow:       0 4px 20px rgba(44,26,14,.14);
  --shadow-lg:    0 8px 40px rgba(44,26,14,.20);
  --shadow-card:  0 6px 24px rgba(44,26,14,.16), 0 1px 4px rgba(44,26,14,.08);
  --r-sm: 12px; --r: 24px; --r-lg: 36px; --r-full: 9999px;
  --container: 1160px;
  --pad: clamp(1rem, 5vw, 3rem);
  --section: clamp(4rem, 8vw, 7rem);
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.78;
  font-size: clamp(.95rem, 1.5vw, 1.0625rem);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* 3. TYPOGRAPHY */
h1,h2,h3,h4,h5 {
  font-family: ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 900; line-height: 1.15; color: var(--text); letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.1rem; font-weight: 800; }

/* 4. LAYOUT */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section    { padding-block: var(--section); }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,3vw,2.5rem); align-items: start; }
.grid-2-wide { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }

/* 5. BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--r-full);
  font-weight: 800; font-size: 1rem; text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .2s; cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: #5E2169; color: white; }
.btn-terra { background: var(--terra); color: white; }
.btn-terra:hover { background: var(--terra-dark); color: white; }
.btn-white { background: white; color: var(--terra); }
.btn-white:hover { background: var(--cream); color: var(--terra-dark); }
.btn-outline { background: transparent; color: var(--brand); border: 2.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-light); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* 6. NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream); border-bottom: 2px dotted var(--cream-border);
  padding-block: .7rem;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.nav-logo { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.nav-wordmark { height: 32px; width: auto; max-width: 210px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: clamp(.4rem,2vw,1.5rem); flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: .9rem; color: var(--text-mid);
  padding: .35rem .55rem; border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--terra); background: var(--terra-pale); }
.nav-links a.active { color: var(--brand); }
.nav-cta {
  background: var(--brand) !important; color: white !important;
  padding: .45rem 1.1rem !important; border-radius: var(--r-full) !important;
}
.nav-cta:hover { background: var(--terra) !important; color: white !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; border-radius: 8px; background: var(--terra-pale); }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* 7. HERO — HOME */
.hero-home {
  position: relative; min-height: 660px;
  display: flex; flex-direction: column; justify-content: flex-start;
  overflow: hidden; padding-bottom: 180px;
}
.hero-home-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; z-index: 0;
}
.hero-home-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(44,26,14,.72) 0%, rgba(44,26,14,.42) 55%, rgba(44,26,14,.62) 100%);
}
.hero-home-content {
  position: relative; z-index: 2;
  padding: clamp(4.5rem,9vw,7rem) var(--pad) 0;
  max-width: var(--container); margin-inline: auto; width: 100%;
}
.hero-home-inner { max-width: 680px; }
.hero-eyebrow {
  display: inline-block; background: var(--brand-light); color: var(--brand);
  font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: .3rem 1rem; border-radius: var(--r-full); margin-bottom: 1.1rem;
}
.hero-home h1 { color: white; margin-bottom: 1.1rem; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero-home .hero-sub {
  color: rgba(255,255,255,.88); font-size: clamp(.95rem,1.7vw,1.15rem);
  max-width: 580px; line-height: 1.72; margin-bottom: 2rem;
}
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* 8. IMPACT PULLUP */
.impact-pullup { position: relative; z-index: 10; margin-top: -120px; }
.impact-pullup-inner {
  background: var(--cream-card); border-radius: var(--r);
  box-shadow: var(--shadow-lg); border: 2px solid var(--cream-border);
  padding: 2.25rem clamp(1.5rem,4vw,3.5rem);
  display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap;
}
.impact-stat {
  flex: 1; min-width: 120px; text-align: center; padding: .75rem 1rem;
  border-right: 2px dotted var(--terra-pale);
}
.impact-stat:last-of-type { border-right: none; }
.impact-num {
  display: block; font-size: clamp(1.9rem,3.5vw,2.8rem); font-weight: 900;
  color: var(--terra); line-height: 1; margin-bottom: .3rem;
}
.impact-lbl { font-size: .8rem; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: .07em; }
.stamp-wrap { flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-left: auto; padding-left: 1.5rem; border-left: 2px dotted var(--terra-pale); }
.stamp-badge { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.stamp-badge svg { display: block; }
.stamp-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.stamp-num { font-size: 2.2rem; font-weight: 900; color: var(--terra); line-height: 1; }
.stamp-sub { font-size: .6rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--text-mid); margin-top: .2rem; line-height: 1.3; }

/* 9. PAGE HEADERS */
.page-header {
  position: relative; min-height: 380px;
  display: flex; align-items: flex-end; overflow: hidden; padding-bottom: 3rem;
}
.page-header-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; z-index: 0;
}
.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(44,26,14,.85) 0%, rgba(44,26,14,.35) 55%, rgba(44,26,14,.15) 100%);
}
.page-header-content {
  position: relative; z-index: 2;
  padding-inline: var(--pad); max-width: var(--container); margin-inline: auto;
  width: 100%; padding-top: 5rem;
}
.page-header h1 { color: white; }
.page-header .page-sub { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 560px; margin-top: .6rem; }

/* 10. SECTION HEADERS */
.section-header { text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: clamp(2.5rem,5vw,4rem); }
.kicker {
  display: inline-block; font-size: .76rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--terra);
  background: var(--terra-pale); padding: .28rem .85rem; border-radius: var(--r-full); margin-bottom: .7rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--text-mid); font-size: 1rem; line-height: 1.75; }

/* 11. BACKGROUNDS */
.bg-cream      { background: var(--cream); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-terra-pale { background: var(--terra-pale); }
.bg-brand-light{ background: var(--brand-light); }
.bg-brand-dark { background: var(--brand-dark); }

/* 12. SQUIGGLE */
.squiggle-line { display: block; max-width: 560px; margin-inline: auto; padding-block: .5rem; line-height: 0; }
.squiggle-line svg { display: block; width: 100%; }
.squiggle-full { display: block; width: 100%; line-height: 0; overflow: hidden; }
.squiggle-full svg { display: block; width: 100%; }

/* 13. POLAROID CARDS */
.polaroid-row { display: flex; gap: 2.5rem; align-items: flex-start; flex-wrap: wrap; }
.polaroid {
  background: var(--cream-card); padding: 10px 10px 44px; flex: 1; min-width: 220px;
  box-shadow: var(--shadow-card); border-radius: 3px; border: 1px solid rgba(255,255,255,.9);
  transition: transform .3s, box-shadow .3s; position: relative;
}
.polaroid:nth-child(1) { transform: rotate(-2.5deg); }
.polaroid:nth-child(2) { transform: rotate(1.8deg); margin-top: 2.5rem; }
.polaroid:nth-child(3) { transform: rotate(-1.2deg); margin-top: .75rem; }
.polaroid:hover { box-shadow: var(--shadow-lg); }
.polaroid:hover:nth-child(1) { transform: rotate(-1deg) translateY(-5px); }
.polaroid:hover:nth-child(2) { transform: rotate(.8deg) translateY(-5px); }
.polaroid:hover:nth-child(3) { transform: rotate(0deg) translateY(-5px); }
.polaroid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; display: block; }
.polaroid-caption {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  text-align: center; font-size: .82rem; font-weight: 700;
  color: var(--text-mid); font-style: italic; line-height: 1.3;
}

/* 14. HIGHLIGHT CARDS */
.highlight-card {
  background: var(--cream-card); border-radius: var(--r); padding: 2rem;
  box-shadow: var(--shadow-card); border: 2px dotted var(--cream-border);
  transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden;
}
.highlight-card::before {
  content: ''; position: absolute; top: -28px; right: -28px;
  width: 110px; height: 110px; border-radius: 50%; background: var(--terra-pale); opacity: .55;
}
.highlight-card:nth-child(2) { margin-top: 2rem; }
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.highlight-icon { font-size: 2.4rem; margin-bottom: .9rem; display: block; line-height: 1; }
.highlight-card h3 { font-size: 1.22rem; margin-bottom: .65rem; color: var(--terra-dark); }
.highlight-card p { color: var(--text-mid); font-size: .93rem; line-height: 1.72; }

/* 15. PROGRAMME CARDS */
.programme-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(1.25rem,3vw,2rem); }
.programme-card {
  background: var(--cream-card); border-radius: var(--r); padding: 2.25rem;
  box-shadow: var(--shadow); border-left: 5px solid var(--terra);
  transition: transform .25s, box-shadow .25s;
}
.programme-card:nth-child(even) { border-left-color: var(--brand); }
.programme-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.prog-icon { font-size: 2.2rem; margin-bottom: .9rem; display: block; }
.programme-card h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.prog-blurb { font-weight: 700; color: var(--terra-dark); margin-bottom: .9rem; font-size: .93rem; line-height: 1.5; }
.programme-card:nth-child(even) .prog-blurb { color: var(--brand); }
.prog-detail { color: var(--text-mid); font-size: .9rem; line-height: 1.78; }

/* 16. WAY CARDS */
.way-card {
  background: var(--cream-card); border-radius: var(--r); padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card); border: 2px solid var(--cream-border);
  text-align: center; transition: transform .25s, box-shadow .25s;
}
.way-card:nth-child(2) { margin-top: 2.5rem; }
.way-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.way-icon { font-size: 3rem; margin-bottom: 1.1rem; display: block; }
.way-card h3 { margin-bottom: .7rem; color: var(--brand); }
.way-card p { color: var(--text-mid); line-height: 1.75; font-size: .93rem; }

/* 17. BLOG CARDS */
.blog-card {
  background: var(--cream-card); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: .45rem; line-height: 1.3; }
.blog-card-dek { color: var(--text-mid); font-size: .88rem; line-height: 1.65; flex: 1; margin-bottom: 1.2rem; }
.read-more {
  text-decoration: none; font-weight: 800; font-size: .875rem; color: var(--brand);
  display: inline-flex; align-items: center; gap: .35rem;
}
.read-more::after { content: '→'; }
.read-more:hover { color: var(--terra); }

/* 18. CTA BAND */
.cta-band {
  background: var(--terra); padding-block: clamp(3rem,6vw,5rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); width: 400px; height: 400px; top: -200px; left: -80px; }
.cta-band::after  { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); width: 280px; height: 280px; bottom: -140px; right: -40px; }
.cta-band h2 { color: white; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.cta-band p  { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 540px; margin-inline: auto; margin-bottom: 2rem; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* 19. MISSION BLOCK */
.mission-block {
  background: var(--brand-dark); border-radius: var(--r-lg);
  padding: clamp(2rem,5vw,3.5rem); position: relative; overflow: hidden;
}
.mission-block::before {
  content: '\201C'; position: absolute; top: -1.5rem; left: 1rem;
  font-size: 9rem; color: rgba(255,255,255,.06); font-family: Georgia, serif; line-height: 1;
}
.mission-block p {
  color: var(--text-inv); font-size: clamp(1rem,2vw,1.17rem);
  line-height: 1.85; font-style: italic; position: relative; z-index: 1; margin: 0;
}

/* 20. TRUSTEES */
.trustee-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.trustee-card {
  flex: 1; min-width: 160px; background: var(--cream-card); border-radius: var(--r);
  padding: 1.5rem 1.5rem; border: 2px dotted var(--terra-pale); text-align: center;
}
.trustee-avatar {
  width: 68px; height: 68px; border-radius: 50%; background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900; color: var(--brand);
  margin: 0 auto .9rem; border: 3px solid var(--brand);
}
.trustee-card h4 { font-size: .97rem; margin-bottom: .25rem; }
.trustee-role { font-size: .78rem; color: var(--terra); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* 21. INTRO SPLIT */
.intro-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem,6vw,5rem); align-items: center; }
.intro-img-wrap { position: relative; }
.intro-img-wrap::after {
  content: ''; position: absolute; bottom: -14px; right: -14px; left: 14px; top: 14px;
  border: 3px solid var(--terra); border-radius: var(--r); z-index: -1; opacity: .3;
}
.intro-img { border-radius: var(--r); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-lg); display: block; }
.intro-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); margin-bottom: .65rem; display: block; }
.intro-text h2 { margin-bottom: 1.1rem; }
.intro-text p { color: var(--text-mid); font-size: .97rem; line-height: 1.8; }

/* 22. STORY SECTION */
.story-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem,6vw,5rem); align-items: center; }
.story-img { border-radius: var(--r); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-lg); transform: rotate(-1.2deg); }
.story-text p { color: var(--text-mid); line-height: 1.82; margin-bottom: 1.3em; }
.story-text p:first-of-type { font-size: 1.03rem; color: var(--text); font-weight: 500; }

/* 23. CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-info h3 { margin-bottom: 1.1rem; color: var(--terra-dark); }
.contact-blurb-text { color: var(--text-mid); font-size: .97rem; line-height: 1.8; margin-bottom: 1.75rem; }
.contact-item { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-item-icon { font-size: 1.35rem; flex-shrink: 0; margin-top: .1rem; }
.contact-item a { word-break: break-all; font-size: .88rem; line-height: 1.5; }
.contact-item strong { display: block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--text-light); margin-bottom: .15rem; }
.form-card {
  background: var(--cream-card); border-radius: var(--r); padding: clamp(1.5rem,4vw,2.5rem);
  box-shadow: var(--shadow-card); border: 2px dotted var(--cream-border);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 800; font-size: .85rem; margin-bottom: .4rem; color: var(--text-mid); letter-spacing: .02em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .72rem 1rem; border: 2px solid var(--cream-border);
  border-radius: var(--r-sm); background: var(--cream); font: inherit;
  font-size: .95rem; color: var(--text); transition: border-color .2s, box-shadow .2s; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* 24. ARTICLES */
.article-hero { position: relative; height: 420px; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.article-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,26,14,.88) 0%, rgba(44,26,14,.2) 60%);
}
.article-hero-meta {
  position: absolute; bottom: 2rem; left: 0; right: 0;
  padding-inline: var(--pad); max-width: var(--container); margin-inline: auto;
}
.article-hero-meta h1 { color: white; font-size: clamp(1.5rem,3vw,2.35rem); }
.article-hero-meta .art-dek { color: rgba(255,255,255,.82); font-size: 1rem; margin-top: .6rem; max-width: 640px; line-height: 1.65; }
.article-body { max-width: 740px; margin-inline: auto; }
.article-body p { font-size: clamp(.95rem,1.6vw,1.03rem); line-height: 1.88; color: var(--text-mid); margin-bottom: 1.45em; }
.article-body p:first-child { font-size: clamp(1rem,1.8vw,1.1rem); color: var(--text); font-weight: 500; }
.article-back {
  display: inline-flex; align-items: center; gap: .4rem; text-decoration: none;
  font-weight: 700; font-size: .88rem; color: var(--text-mid); margin-bottom: 2.5rem;
  padding: .38rem .75rem; border-radius: var(--r-sm); background: var(--cream-deep);
  transition: background .2s, color .2s;
}
.article-back::before { content: '←'; }
.article-back:hover { background: var(--terra-pale); color: var(--terra); }

/* 25. DOTTED HIGHLIGHT */
.dotted-highlight {
  border-left: 4px dotted var(--brand); padding-left: 1.5rem; margin-block: 2rem;
}
.dotted-highlight p { font-size: 1.05rem; font-style: italic; color: var(--text-mid); margin: 0; line-height: 1.8; }

/* 26. FOOTER */
.footer { background: var(--brand-dark); color: var(--text-inv); padding-block: clamp(3rem,6vw,5rem); }
.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem,5vw,4rem); align-items: start; margin-bottom: clamp(2rem,4vw,3rem);
}
.footer-brand-link { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-bottom: 1.1rem; }
.footer-logo     { width: 42px; height: 42px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-wordmark { height: 30px; width: auto; max-width: 190px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-tagline  { font-size: .86rem; color: rgba(240,217,245,.7); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-emails   { margin-top: .5rem; }
.email-lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; color: rgba(240,217,245,.48); margin-top: .75rem; margin-bottom: .18rem; }
.email-lbl:first-child { margin-top: 0; }
.footer-emails a { display: block; color: var(--brand-light); text-decoration: none; font-size: .8rem; word-break: break-all; transition: color .2s; margin-bottom: .2rem; }
.footer-emails a:hover { color: var(--terra-soft); }
.footer h4 { color: var(--brand-light); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.footer-nav a, .footer-links a {
  display: block; color: rgba(240,217,245,.7); text-decoration: none;
  font-size: .88rem; padding-block: .28rem; transition: color .2s;
}
.footer-nav a:hover, .footer-links a:hover { color: var(--terra-soft); }
.footer-bottom {
  border-top: 1px solid rgba(240,217,245,.14); padding-top: 1.4rem;
  display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.footer-bottom p { font-size: .76rem; color: rgba(240,217,245,.45); margin: 0; }

/* 27. WHAT WE DO */
.what-we-do p { font-size: clamp(.95rem,1.6vw,1.05rem); line-height: 1.88; color: var(--text-mid); margin-bottom: 1.4em; }
.what-we-do p:first-child { font-size: clamp(1.05rem,1.8vw,1.12rem); color: var(--text); font-weight: 500; }

/* 28. MISC */
.terra-tag {
  display: inline-block; background: var(--terra-pale); color: var(--terra-dark);
  font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .22rem .7rem; border-radius: var(--r-full); margin-bottom: .45rem;
}
.scrapbook-stripe {
  height: 7px; border-radius: 4px; opacity: .55;
  background: repeating-linear-gradient(45deg, var(--terra-pale), var(--terra-pale) 8px, var(--cream-deep) 8px, var(--cream-deep) 16px);
  margin-block: .5rem;
}
.spacer-sm { height: 2rem; }
.spacer    { height: 3.5rem; }
.text-center { text-align: center; }
.text-brand  { color: var(--brand); }
.text-terra  { color: var(--terra); }

/* 29. RESPONSIVE */
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-2-wide, .intro-split, .story-split, .contact-grid, .programme-grid, .footer-inner { grid-template-columns: 1fr; }
  .footer-inner { gap: 2.25rem; }
  .story-img { transform: none; }
  .way-card:nth-child(2), .highlight-card:nth-child(2) { margin-top: 0; }
  .stamp-wrap { display: none; }
  .intro-img-wrap::after { display: none; }
}
@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 2px dotted var(--cream-border);
    flex-direction: column; padding: 1rem var(--pad) 1.5rem;
    gap: .4rem; align-items: flex-start; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
}
@media (max-width: 600px) {
  .hero-home { min-height: 520px; padding-bottom: 90px; }
  .impact-pullup { margin-top: -70px; }
  .impact-pullup-inner { flex-direction: column; gap: 1rem; }
  .impact-stat { border-right: none; border-bottom: 2px dotted var(--terra-pale); padding-bottom: 1rem; }
  .impact-stat:last-of-type { border-bottom: none; }
  .page-header { min-height: 280px; }
  .article-hero { height: 280px; }
  .hero-cta-row { flex-direction: column; }
  .polaroid:nth-child(1) { transform: rotate(-1.5deg); }
  .polaroid:nth-child(2) { transform: rotate(1.2deg); margin-top: 0; }
  .polaroid:nth-child(3) { transform: rotate(-.5deg); margin-top: 0; }
  .polaroid-row { flex-direction: column; }
  .trustee-row { flex-direction: column; }
}
