/* ═══════════════════════════════════════════
   Eyalvathu Karavel — Premium Redesign
   Design system: warm editorial humanitarian
   ═══════════════════════════════════════════ */

:root {
  --c-bg: #f5f1ea;
  --c-bg-alt: #ece6da;
  --c-surface: #faf7f1;
  --c-text: #2c2418;
  --c-text-muted: #7a6e5f;
  --c-heading: #1a2e23;
  --c-accent: #c4985a;
  --c-accent-deep: #8b6f3c;
  --c-white: #fefcf9;
  --c-dark: #1e1a14;
  --c-dark-surface: #2a241c;
  --c-line: rgba(90, 72, 54, 0.12);
  --c-line-strong: rgba(90, 72, 54, 0.22);

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-label: "Space Grotesk", system-ui, sans-serif;

  --max-w: 1280px;
  --gap: clamp(1rem, 2.5vw, 1.5rem);
  --section-py: clamp(5rem, 10vh, 8rem);
  --radius: 12px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 0 rgba(40,30,20,0.04), 0 8px 40px rgba(40,30,20,0.06);
  --shadow-hover: 0 12px 48px rgba(40,30,20,0.1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* Deep-link targets: offset for sticky header (fragment + scrollIntoView) */
#hero,
#about,
#values,
#work,
#impact,
#gallery,
#feed-a-soul,
#programmes,
#involve,
#stories,
#status,
#contact {
  scroll-margin-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--c-accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-heading); }

.container { max-width: var(--max-w); margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  padding: 0.75rem 1rem; background: var(--c-dark); color: var(--c-bg);
  font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ─── Typography ─── */
.kicker {
  font-family: var(--font-label);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-accent-deep); margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500; letter-spacing: -0.03em;
  line-height: 1.12; color: var(--c-heading);
  margin: 0 0 1.25rem;
}

.section-title--sub {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-top: var(--section-py);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--c-line);
}

.section-lead {
  max-width: 44rem; color: var(--c-text-muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  margin: 0 0 2.5rem; line-height: 1.75;
}

.section-lead a { color: var(--c-accent-deep); font-weight: 500; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.8rem 1.6rem;
  font-family: var(--font-label); font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.03em; border: none; border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none;
  transition: all 0.3s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--c-heading); color: var(--c-white);
  box-shadow: 0 2px 16px rgba(26,46,35,0.2);
}
.btn--primary:hover { background: #243d2e; color: var(--c-white); box-shadow: 0 4px 24px rgba(26,46,35,0.28); }

.btn--outline {
  background: transparent; color: var(--c-text);
  border: 1.5px solid var(--c-line-strong);
}
.btn--outline:hover { background: rgba(90,72,54,0.06); color: var(--c-heading); border-color: var(--c-heading); }

.btn--ghost {
  background: rgba(255,255,255,0.12); color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.4); backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.22); color: #fff; border-color: rgba(255,255,255,0.65); }

.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.82rem; }
.btn--full { width: 100%; }

/* ─── Header ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(245,241,234,0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--c-line);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 2px 32px rgba(40,30,20,0.08); }

.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0.6rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.header-logo {
  display: flex; flex-direction: column; align-items: flex-start;
  text-decoration: none; color: inherit; flex-shrink: 0;
}
.header-logo img { height: 52px; width: auto; display: block; }
.header-logo-label {
  font-family: var(--font-label); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text-muted);
  margin-top: 0.15rem; text-align: center; width: 100%;
}

.nav-main { display: none; }
.nav-main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; }
.nav-main a {
  display: block; padding: 0.42rem 0.62rem;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  color: var(--c-text); text-decoration: none; border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease); white-space: nowrap;
}
.nav-main a:hover { background: rgba(90,72,54,0.07); color: var(--c-heading); }

@media (min-width: 1060px) {
  .nav-main { display: block; }
  .nav-toggle { display: none; }
}

.header-end { display: flex; align-items: center; gap: 0.75rem; }

/* Nav Toggle */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; padding: 0;
  border: none; background: transparent; cursor: pointer;
  border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: rgba(90,72,54,0.07); }
.nav-toggle span {
  display: block; width: 20px; height: 1.5px; background: var(--c-text);
  border-radius: 2px; transition: all 0.35s var(--ease-out);
  transform-origin: center;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1060px) { .nav-toggle { display: none; } }

/* Nav Drawer */
.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 890;
  width: min(380px, 85vw); background: var(--c-surface);
  border-left: 1px solid var(--c-line);
  box-shadow: -8px 0 64px rgba(30,26,20,0.12);
  transform: translateX(100%); transition: transform 0.5s var(--ease-out);
  padding: 5rem 2rem 2rem; overflow-y: auto;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer ul { list-style: none; margin: 0; padding: 0; }
.nav-drawer li {
  opacity: 0; transform: translateX(30px);
  transition: all 0.4s var(--ease-out);
}
.nav-drawer.is-open li {
  opacity: 1; transform: translateX(0);
}
.nav-drawer a {
  display: block; padding: 0.85rem 0;
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 500;
  color: var(--c-heading); text-decoration: none;
  border-bottom: 1px solid var(--c-line);
  transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--c-accent-deep); }
.drawer-motto {
  margin-top: 2rem; font-family: var(--font-display);
  font-size: 1rem; color: var(--c-text-muted); font-style: italic;
}
.nav-overlay {
  position: fixed; inset: 0; z-index: 880;
  background: rgba(30,26,20,0.35); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav-overlay.is-visible { opacity: 1; pointer-events: auto; }

/* ─── Hero ─── */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 1.5rem 4rem; overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(30,26,20,0.55) 0%, rgba(26,46,35,0.35) 50%, rgba(30,26,20,0.7) 100%);
  pointer-events: none;
}

.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.hero-content {
  position: relative; z-index: 2;
  max-width: 52rem; text-align: center;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-label); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  padding: 0.45rem 1.1rem; border-radius: 999px;
  margin-bottom: 1.75rem; backdrop-filter: blur(6px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 500; line-height: 1.08;
  letter-spacing: -0.035em; color: #fff;
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.15);
}

.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7; color: rgba(255,255,255,0.88);
  max-width: 38rem; margin: 0 auto 2.25rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
  gap: 0.6rem; color: rgba(255,255,255,0.5);
  font-family: var(--font-label); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); transform-origin: top; }
}

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1; transform: translateY(0);
}

/* Hero reveals */
.hero .reveal {
  opacity: 0; transform: translateY(28px) scale(0.98);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.hero .reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* ─── About / Why ─── */
.s-about {
  padding: var(--section-py) 0;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}

.about-intro { max-width: 46rem; margin-bottom: clamp(3rem, 5vw, 4.5rem); }

.about-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.8; color: var(--c-text);
}
.about-lead p { margin: 0 0 1.15rem; }
.about-lead p:last-child { margin-bottom: 0; }

.about-grid {
  display: grid; gap: 2.5rem; align-items: stretch;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 3rem; }
}

.about-image {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card); border: 1px solid var(--c-line);
}
.about-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  transition: transform 6s var(--ease);
}
.about-image:hover img { transform: scale(1.04); }

.about-pillars { display: flex; flex-direction: column; gap: 0; }

.pillar {
  padding: 1.75rem 0; border-bottom: 1px solid var(--c-line);
}
.pillar:last-child { border-bottom: none; padding-bottom: 0; }
.pillar:first-child { padding-top: 0; }

.pillar h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500;
  color: var(--c-heading); margin: 0 0 0.65rem; letter-spacing: -0.02em;
}
.pillar p { margin: 0; color: var(--c-text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ─── Values ─── */
.s-values {
  padding: var(--section-py) 0;
  background: var(--c-bg);
}

.motto-hero {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(165deg, rgba(196,152,90,0.08) 0%, var(--c-surface) 40%, rgba(26,46,35,0.04) 100%);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card);
}

.motto-words {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500; letter-spacing: -0.04em; line-height: 1.1;
  color: var(--c-heading); margin: 0 0 1.25rem;
}
.motto-words span:not(.motto-sep) { color: var(--c-accent-deep); }
.motto-sep { color: var(--c-text-muted); font-weight: 400; }
.motto-sub {
  max-width: 34rem; margin: 0 auto; font-size: 1.05rem;
  line-height: 1.65; color: var(--c-text-muted);
}

.values-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.value-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.value-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: rgba(26,46,35,0.07); color: var(--c-heading);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--c-heading); margin: 0 0 0.45rem;
}
.value-card p { margin: 0; font-size: 0.92rem; color: var(--c-text-muted); line-height: 1.6; }

.principles-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.principle {
  padding: 1.35rem 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--c-line); background: var(--c-surface);
  transition: border-color 0.3s var(--ease);
}
.principle:hover { border-color: var(--c-accent); }

.principle h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--c-heading); margin: 0 0 0.35rem;
}
.principle p { margin: 0; font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.6; }

/* ─── Work ─── */
.s-work {
  padding: var(--section-py) 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.work-banner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
@media (max-width: 640px) { .work-banner { grid-template-columns: 1fr; max-width: 28rem; } }

.work-banner-img {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/10; box-shadow: var(--shadow-card); border: 1px solid var(--c-line);
}
.work-banner-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.work-banner-img:last-child img { object-position: center center; }

.work-cards {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.work-card {
  background: var(--c-bg); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 2rem 1.65rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.work-card-icon { font-size: 2rem; margin-bottom: 1rem; line-height: 1; }

.work-card h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--c-heading); margin: 0 0 0.55rem;
}
.work-card p { margin: 0; font-size: 0.95rem; color: var(--c-text-muted); line-height: 1.65; }

/* ─── Impact / Stats ─── */
.s-impact {
  padding: var(--section-py) 0;
  background: var(--c-bg);
}

.stats-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
@media (min-width: 720px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }

.stat {
  text-align: center; padding: 2rem 1rem;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}

.stat strong {
  display: inline; font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 500;
  color: var(--c-heading); line-height: 1;
}
.stat > span {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--c-accent-deep); font-weight: 500;
}
.stat p { margin: 0.6rem 0 0; font-size: 0.82rem; color: var(--c-text-muted); line-height: 1.45; }

/* ─── Gallery ─── */
.s-gallery {
  padding: var(--section-py) 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.gallery-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item {
  margin: 0; position: relative; aspect-ratio: 4/3;
  border-radius: var(--radius); overflow: hidden;
  background: var(--c-bg-alt); border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card); cursor: pointer;
}
.gallery-item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-zoom {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(26,46,35,0.25); opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.gallery-zoom::after {
  content: "+"; font-family: var(--font-display); font-size: 2.5rem;
  color: #fff; font-weight: 300; line-height: 1;
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,18,14,0.92); backdrop-filter: blur(8px);
  padding: 2rem; cursor: zoom-out;
  animation: lbIn 0.3s var(--ease-out);
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 3rem; height: 3rem; border: none; background: rgba(255,255,255,0.1);
  color: #fff; font-size: 1.75rem; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-img {
  max-width: 90vw; max-height: 85vh; border-radius: var(--radius);
  box-shadow: 0 8px 64px rgba(0,0,0,0.3); cursor: default;
}

/* ─── Feed a Soul ─── */
.s-feed {
  background: var(--c-bg);
}

.feed-split {
  display: grid; min-height: 0;
}
@media (min-width: 900px) {
  .feed-split { grid-template-columns: 1fr 1fr; min-height: 540px; }
}

.feed-image {
  margin: 0; overflow: hidden;
  max-height: 420px;
}
@media (min-width: 900px) { .feed-image { max-height: none; } }
.feed-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }

.feed-content {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
}
.feed-content .section-lead { margin-bottom: 1.75rem; }
.feed-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ─── Programmes ─── */
.s-programmes {
  padding: var(--section-py) 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
}

.programme-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.programme-card {
  padding: 2.25rem 2rem; border-radius: var(--radius);
  background: var(--c-bg); border: 1px solid var(--c-line); box-shadow: var(--shadow-card);
}
.programme-card h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  color: var(--c-heading); margin: 0 0 0.55rem;
}
.programme-card p { margin: 0 0 1.25rem; font-size: 0.95rem; color: var(--c-text-muted); line-height: 1.65; }

.programme-status {
  display: inline-block; font-family: var(--font-label);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c-text-muted);
  padding: 0.35rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--c-line);
}
.programme-status--active { color: var(--c-heading); border-color: var(--c-heading); background: rgba(26,46,35,0.06); }

/* ─── Get Involved ─── */
.s-involve {
  padding: var(--section-py) 0;
  background: var(--c-bg);
}

.involve-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.involve-card {
  padding: 2rem 1.65rem; text-align: center;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center;
}
.involve-card h3 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--c-heading); margin: 0 0 0.45rem;
}
.involve-card p { margin: 0 0 1.25rem; font-size: 0.93rem; color: var(--c-text-muted); line-height: 1.6; }
.involve-card .btn { margin-top: auto; }

/* ─── Stories Conveyor ─── */
.s-stories {
  padding: var(--section-py) 0 calc(var(--section-py) * 0.75);
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.stories-scroll {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 3rem;
  margin-top: 0.5rem;
  perspective: 1200px;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-user-select: none; user-select: none;
}
.stories-scroll.is-dragging { cursor: grabbing; }

.stories-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  transform-style: preserve-3d;
  will-change: transform;
}

.story-card {
  flex: 0 0 clamp(280px, 22vw, 340px);
  padding: 2rem 1.65rem;
  border-radius: var(--radius);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  pointer-events: auto;
}

.story-card.is-focused {
  border-color: rgba(196, 152, 90, 0.35);
  box-shadow: var(--shadow-hover);
}

.story-tag {
  font-family: var(--font-label); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-accent-deep);
  margin-bottom: 0.85rem;
}

.story-card h3 {
  font-family: var(--font-display); font-size: 1.18rem; font-weight: 600;
  color: var(--c-heading); margin: 0 0 0.65rem; line-height: 1.3;
}
.story-card p {
  margin: 0 0 1.25rem; font-size: 0.9rem; color: var(--c-text-muted);
  line-height: 1.6; flex: 1;
}

.story-link {
  position: relative;
  z-index: 2;
  font-family: var(--font-label); font-size: 0.82rem; font-weight: 600;
  color: var(--c-heading); text-decoration: none;
  transition: color 0.2s, opacity 0.4s var(--ease);
  opacity: 0.5;
}
.story-card.is-focused .story-link { opacity: 1; }
.story-link:hover { color: var(--c-accent-deep); }

@media (max-width: 640px) {
  .stories-scroll { padding: 2.5rem 0 2rem; }
  .story-card { flex: 0 0 clamp(260px, 72vw, 310px); }
}

/* ─── Status ─── */
.s-status {
  padding: var(--section-py) 0;
  background: var(--c-bg);
}

.status-box {
  max-width: 46rem; margin: 0 auto;
  padding: 2rem 1.75rem; border-radius: var(--radius);
  background: rgba(90,72,54,0.04);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-accent);
  box-shadow: var(--shadow-card);
}
.status-box p { margin: 0 0 1rem; color: var(--c-text-muted); line-height: 1.7; font-size: 0.98rem; }
.status-box p:last-child { margin-bottom: 0; }

.status-highlight {
  font-weight: 600; color: var(--c-text) !important;
  background: rgba(245,241,234,0.9);
  padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(196,152,90,0.2);
  margin: 1.25rem 0 !important;
}

/* ─── Contact ─── */
.s-contact {
  padding: var(--section-py) 0;
  background: var(--c-dark);
  color: rgba(229,221,208,0.9);
}
.s-contact .section-title { color: var(--c-white); }
.s-contact a { color: #d4b896; }
.s-contact a:hover { color: #fff; }

.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info p { margin: 0 0 1.25rem; line-height: 1.65; }

.contact-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.contact-list li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-list strong {
  font-family: var(--font-label); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(212,184,150,0.6);
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-field label {
  display: block; font-family: var(--font-label);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  color: rgba(229,221,208,0.55); margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.form-field input, .form-field textarea {
  width: 100%; padding: 0.75rem 1rem;
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--c-white); background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: rgba(196,152,90,0.5);
  background: rgba(255,255,255,0.09);
}
.form-field textarea { min-height: 120px; resize: vertical; }

.s-contact .btn--primary { background: var(--c-accent-deep); color: #fff; }
.s-contact .btn--primary:hover { background: #a07d44; }

/* ─── Footer ─── */
.site-footer {
  background: #181510; color: rgba(229,221,208,0.75);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(90,72,54,0.25);
}

.footer-grid {
  display: grid; gap: 2rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }

.footer-brand { display: flex; gap: 1.25rem; align-items: flex-start; }
.footer-logo { width: auto; height: 110px; max-width: 160px; flex-shrink: 0; object-fit: contain; opacity: 0.9; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--c-white); }
.footer-brand p { margin: 0.5rem 0 0; font-size: 0.88rem; line-height: 1.55; }

.footer-col h4 {
  font-family: var(--font-label); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(196,152,90,0.7); margin: 0 0 0.75rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a {
  display: block; padding: 0.25rem 0;
  font-size: 0.9rem; color: rgba(229,221,208,0.75);
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-copy {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(229,221,208,0.1);
  text-align: center; font-size: 0.82rem;
}

/* ─── Modal ─── */
.modal {
  padding: 0; border: none; background: transparent;
  max-width: min(100vw - 1.5rem, 30rem); width: 100%;
}
.modal::backdrop { background: rgba(30,26,20,0.5); backdrop-filter: blur(6px); }

.modal-panel {
  position: relative; background: var(--c-surface);
  border-radius: var(--radius); padding: 2.25rem 2rem 2rem;
  border: 1px solid var(--c-line); box-shadow: 0 16px 64px rgba(30,26,20,0.15);
}

.modal-close {
  position: absolute; top: 0.85rem; right: 0.85rem;
  width: 2.5rem; height: 2.5rem; border: none; background: rgba(90,72,54,0.06);
  color: var(--c-text-muted); font-size: 1.5rem; line-height: 1;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(90,72,54,0.12); color: var(--c-heading); }

.modal-title {
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 500;
  color: var(--c-heading); margin: 0 2.5rem 0.65rem 0;
}

.modal-note {
  margin: 0 0 1.25rem; font-size: 0.88rem; line-height: 1.55; color: var(--c-text-muted);
}

.modal .form-field { margin-bottom: 0.85rem; }
.modal .form-field label { color: var(--c-text-muted); }
.modal .form-field input, .modal .form-field textarea {
  color: var(--c-text); background: var(--c-bg);
  border: 1px solid var(--c-line);
}
.modal .form-field input:focus, .modal .form-field textarea:focus {
  border-color: var(--c-accent); background: var(--c-white);
}
.modal .form-field textarea { min-height: 72px; }

.checkbox {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: var(--c-text-muted); cursor: pointer;
  margin: 0.75rem 0 1rem;
}
.checkbox input { margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--c-heading); }

.modal-success-text {
  margin: 0 0 1.25rem; font-size: 1rem; line-height: 1.65; color: var(--c-text);
}

#modal-success { text-align: center; padding: 1rem 0 0; }
#modal-success .btn { width: 100%; max-width: 14rem; }

/* ─── Article / blog pages (data/media/blogs/*.html) ─── */
body.blog-shell {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
}

.article-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 1px 0 rgba(40, 30, 20, 0.04);
}

.article-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.65rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-bar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--c-heading);
}
.article-bar-brand:hover { color: var(--c-heading); }
.article-bar-brand img {
  height: 2.25rem;
  width: auto;
  object-fit: contain;
}
.article-bar-brand-text {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.article-bar-links {
  display: flex;
  align-items: center;
  gap: 1rem 1.35rem;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.article-bar-links a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.article-bar-links a:hover { color: var(--c-accent-deep); }

.blog-shell main {
  flex: 1;
  width: 100%;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  padding-top: clamp(1rem, 3vw, 1.75rem);
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.blog-back:hover {
  color: var(--c-heading);
  transform: translateX(-2px);
}

.blog-article {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 3.5rem);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.blog-article--wide {
  max-width: min(48rem, 100%);
}

.blog-article-header {
  margin: 0 0 clamp(1.75rem, 4vw, 2.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--c-line);
}

.blog-meta {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
  margin: 0 0 0.85rem;
}

.blog-article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--c-heading);
  margin: 0 0 1rem;
}

.blog-lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  color: var(--c-text-muted);
  max-width: 38rem;
}

.blog-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--c-text);
}

.blog-body p {
  margin: 0 0 1.35rem;
}

.blog-body p:last-child { margin-bottom: 0; }

.blog-body a {
  color: var(--c-accent-deep);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.blog-body a:hover { color: var(--c-heading); }

.blog-body em {
  font-style: italic;
  color: var(--c-text);
}

.blog-figure {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0;
  padding: 0;
}
.blog-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
  box-shadow: 0 8px 32px rgba(40, 30, 20, 0.08);
}
.blog-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--c-text-muted);
  font-family: var(--font-body);
}

@media (max-width: 520px) {
  .article-bar-links { width: 100%; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0s !important; transition-duration: 0.01s !important; }
}
