/* ============================================================
   Esaete Foundation — WordPress theme stylesheet
   Palette uses OKLCH scale tokens (background / primary / accent
   / secondary / foreground) with light typography roles.
   ============================================================ */

:root {
  /* background (warm cream) */
  --background-50: oklch(0.995 0.0032 90);
  --background-100: oklch(0.978 0.006 90);
  --background-200: oklch(0.952 0.008 88);
  --background-300: oklch(0.918 0.01 88);
  --background-400: oklch(0.86 0.012 88);
  --background-500: oklch(0.78 0.012 88);
  --background-600: oklch(0.66 0.012 88);
  --background-700: oklch(0.54 0.012 88);
  --background-800: oklch(0.42 0.01 88);
  --background-900: oklch(0.3 0.01 88);
  --background-950: oklch(0.2 0.01 88);

  /* primary (deep rose / plum) */
  --primary-50: oklch(0.972 0.014 330);
  --primary-100: oklch(0.935 0.03 330);
  --primary-200: oklch(0.87 0.05 330);
  --primary-300: oklch(0.775 0.082 330);
  --primary-400: oklch(0.62 0.115 330);
  --primary-500: oklch(0.435 0.135 330);
  --primary-600: oklch(0.378 0.125 330);
  --primary-700: oklch(0.318 0.108 330);
  --primary-800: oklch(0.258 0.088 330);
  --primary-900: oklch(0.212 0.07 330);
  --primary-950: oklch(0.162 0.052 330);

  /* accent (warm gold) */
  --accent-50: oklch(0.982 0.02 85);
  --accent-100: oklch(0.952 0.048 85);
  --accent-200: oklch(0.912 0.086 84);
  --accent-300: oklch(0.862 0.118 82);
  --accent-400: oklch(0.802 0.14 80);
  --accent-500: oklch(0.742 0.142 78);
  --accent-600: oklch(0.652 0.128 72);
  --accent-700: oklch(0.552 0.108 68);
  --accent-800: oklch(0.452 0.088 64);
  --accent-900: oklch(0.362 0.07 60);
  --accent-950: oklch(0.262 0.05 58);

  /* secondary (soft rose-grey) */
  --secondary-50: oklch(0.974 0.01 350);
  --secondary-100: oklch(0.942 0.02 350);
  --secondary-200: oklch(0.892 0.032 350);
  --secondary-300: oklch(0.82 0.042 350);
  --secondary-400: oklch(0.702 0.052 350);
  --secondary-500: oklch(0.582 0.062 350);
  --secondary-600: oklch(0.502 0.055 350);
  --secondary-700: oklch(0.422 0.048 350);
  --secondary-800: oklch(0.342 0.04 350);
  --secondary-900: oklch(0.272 0.034 350);
  --secondary-950: oklch(0.195 0.028 350);

  /* foreground (near-black plum text) */
  --foreground-50: oklch(0.972 0.005 330);
  --foreground-100: oklch(0.932 0.008 330);
  --foreground-200: oklch(0.862 0.01 330);
  --foreground-300: oklch(0.762 0.012 330);
  --foreground-400: oklch(0.622 0.015 330);
  --foreground-500: oklch(0.502 0.018 330);
  --foreground-600: oklch(0.402 0.02 330);
  --foreground-700: oklch(0.322 0.022 330);
  --foreground-800: oklch(0.252 0.022 330);
  --foreground-900: oklch(0.192 0.02 330);
  --foreground-950: oklch(0.142 0.018 330);

  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground-950);
  background: var(--background-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 0.9rem; }
i[class^="ri-"] { line-height: 1; }
::selection { background: var(--accent-300); color: var(--foreground-950); }

/* ---------- layout helpers ---------- */
.container { width: 100%; padding-left: 1rem; padding-right: 1rem; }
.section { padding: 4rem 0; }
.pb-0 { padding-bottom: 0; }
.border-y { border-top: 1px solid color-mix(in oklch, var(--background-300) 60%, transparent); border-bottom: 1px solid color-mix(in oklch, var(--background-300) 60%, transparent); }
.border-t { border-top: 1px solid color-mix(in oklch, var(--background-300) 60%, transparent); }
.bg-50 { background: var(--background-50); }
.bg-100 { background: var(--background-100); }
.bg-primary-950 { background: var(--primary-950); }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.center { text-align: center; }
.center-row { justify-content: center; }
.maxw-2xl { max-width: 42rem; }
.flex-1 { flex: 1; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }
.gap-md { gap: 1.25rem; }
.gap-lg { gap: 2rem; }

.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.split-center { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.split-start { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }

/* ---------- typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 600; color: var(--foreground-950); }
.h2 { font-size: 1.85rem; line-height: 1.14; letter-spacing: -0.01em; max-width: 34ch; }
.center .h2 { margin-left: auto; margin-right: auto; }
.h2.light { color: var(--background-50); }
.eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-700); }
.eyebrow.accent-light { color: var(--accent-300); }
.lead { font-size: 1rem; line-height: 1.65; margin-top: 1rem; max-width: 46rem; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--foreground-600); }
.light-muted { color: color-mix(in oklch, var(--background-200) 80%, transparent); }
.accent-text { color: var(--accent-600); }
.sm { font-size: 0.9rem; }

.eyebrow-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.eyebrow-line { display: block; height: 1px; width: 2.5rem; background: var(--accent-500); }

.quote { font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--foreground-700); max-width: 48rem; margin: 3rem auto 0; }
.quote-inline { font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--foreground-900); border-left: 2px solid var(--accent-500); padding-left: 1.25rem; }

.body-stack { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 0.95rem; line-height: 1.7; color: var(--foreground-600); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  white-space: nowrap; border-radius: 6px; padding: 0.9rem 1.6rem;
  font-size: 0.875rem; font-weight: 700; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn i { font-size: 1.05rem; }
.btn-accent { background: var(--accent-500); color: var(--primary-950); }
.btn-accent:hover { background: var(--accent-400); }
.btn-primary { background: var(--primary-600); color: var(--background-50); }
.btn-primary:hover { background: var(--primary-700); }
.btn-outline-light { border: 1px solid color-mix(in oklch, var(--background-50) 40%, transparent); color: var(--background-50); }
.btn-outline-light:hover { background: color-mix(in oklch, var(--background-50) 10%, transparent); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.875rem; font-weight: 700; color: var(--primary-600); }
.link-arrow:hover { color: var(--primary-700); }

/* ---------- icon bubbles / badges ---------- */
.icon-badge { width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 1.5rem; margin-bottom: 1.5rem; }
.bg-primary-100 { background: var(--primary-100); }
.text-primary-600 { color: var(--primary-600); }
.bg-accent-100 { background: var(--accent-100); }
.text-accent-800 { color: var(--accent-800); }
.bg-accent-soft { background: color-mix(in oklch, var(--accent-500) 15%, transparent); }
.text-accent-300 { color: var(--accent-300); }

/* ---------- cards ---------- */
.card {
  background: var(--background-100);
  border: 1px solid color-mix(in oklch, var(--background-300) 70%, transparent);
  border-radius: 8px; padding: 1.75rem; height: 100%;
  transition: border-color 0.25s;
}
.card.bg-50 { background: var(--background-50); }
.card:hover { border-color: var(--accent-300); }
.card-title { font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.75rem; }
.card-title.sm { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card-title.light { color: var(--background-50); }
.card-flush { padding: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--background-50); }
.card-flush:hover { border-color: color-mix(in oklch, var(--background-300) 70%, transparent); }
.card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-body .muted { font-size: 0.9rem; }
.dark-card { background: color-mix(in oklch, var(--background-50) 5%, transparent); border-color: color-mix(in oklch, var(--background-50) 10%, transparent); }
.dark-card:hover { border-color: color-mix(in oklch, var(--background-50) 10%, transparent); }

.media-media { position: relative; width: 100%; overflow: hidden; }
.media-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.media-media.media-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.25rem; background: var(--background-100); }
.media-media.media-duo img { object-fit: contain; object-position: center; }
.badge-dark {
  position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: 0.5rem;
  background: color-mix(in oklch, var(--primary-950) 80%, transparent); backdrop-filter: blur(4px);
  color: var(--accent-300); padding: 0.35rem 0.75rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.badge-dark i { font-size: 0.85rem; }

.media-box { position: relative; width: 100%; overflow: hidden; border-radius: 8px; }
.media-box img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.h-224 { height: 14rem; }
.h-440 { height: 22rem; }
.h-460 { height: 20rem; }
.h-540 { height: 21rem; }
.media-box.purpose-media { aspect-ratio: 1 / 1; height: auto; background: var(--background-200); }
.media-box.purpose-media img { object-position: center; }

/* ---------- lists ---------- */
.check-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 1rem; }
.check-list li span:last-child { font-size: 0.95rem; line-height: 1.65; color: var(--foreground-700); }
.dot-accent { width: 1.75rem; height: 1.75rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent-100); color: var(--accent-800); margin-top: 0.15rem; }
.plain-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; list-style: none; }
.plain-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; color: var(--foreground-700); }
.plain-list i { font-size: 1.1rem; margin-top: 0.1rem; }

/* ---------- navbar ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  padding: 1.25rem 0; background: transparent; border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: color-mix(in oklch, var(--background-50) 95%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in oklch, var(--background-200) 70%, transparent);
  padding: 0.75rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand-icon { width: 2.75rem; height: 2.75rem; object-fit: contain; }
.brand-text { display: none; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; color: var(--background-50); transition: color 0.4s; }
.brand-tag { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent-300); margin-top: 0.3rem; transition: color 0.4s; }
.is-solid .brand-name { color: var(--foreground-950); }
.is-solid .brand-tag { color: var(--secondary-600); }

.nav-links { display: none; }
.nav-links ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: inline-block; padding: 0.55rem 1rem; font-size: 0.875rem; font-weight: 600;
  border-radius: 6px; color: var(--background-100); transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-300); }
.is-solid .nav-links a { color: var(--foreground-700); }
.is-solid .nav-links a:hover { color: var(--primary-600); }
.nav-links li.is-active > a,
.nav-links .current-menu-item > a { color: var(--accent-300); }
.is-solid .nav-links li.is-active > a,
.is-solid .nav-links .current-menu-item > a { color: var(--primary-600); }
.nav-links li.is-active > a::after,
.nav-links .current-menu-item > a::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: -2px; height: 2px; border-radius: 999px;
  background: var(--accent-500);
}

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-cta { display: none; padding: 0.7rem 1.25rem; }
.nav-toggle {
  display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
  border-radius: 6px; font-size: 1.35rem; color: var(--background-50);
}
.nav-toggle:hover { background: color-mix(in oklch, var(--background-50) 10%, transparent); }
.is-solid .nav-toggle { color: var(--foreground-950); }

.mobile-menu {
  display: none; background: var(--background-50); border-top: 1px solid color-mix(in oklch, var(--background-200) 70%, transparent);
  padding: 0.75rem 1rem 1.5rem;
}
.mobile-menu.is-open { display: block; }
.mobile-logo { width: 11rem; margin: 0 auto 1rem; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 0.8rem 0; border-bottom: 1px solid color-mix(in oklch, var(--background-200) 60%, transparent); font-size: 1rem; font-weight: 600; color: var(--foreground-800); }
.mobile-menu nav a.is-active { color: var(--primary-600); }
.mobile-cta { margin-top: 1.25rem; width: 100%; }

main { padding-top: 0; }

/* ---------- hero ---------- */
.hero { position: relative; width: 100%; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease-out;
  background-size: cover; background-position: top center;
}
.hero-slide.is-active { opacity: 1; animation: soft-zoom 9s ease-out forwards; }
.hero-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in oklch, var(--primary-950) 68%, transparent) 0%, color-mix(in oklch, var(--primary-950) 45%, transparent) 40%, color-mix(in oklch, var(--primary-950) 78%, transparent) 100%);
}
.hero-content { position: relative; padding-top: 8rem; padding-bottom: 11rem; }
.hero-title { font-size: 2.9rem; line-height: 0.98; color: var(--background-50); max-width: 20ch; }
.hero-title-em { display: block; font-style: italic; color: var(--accent-400); }
.hero-lead { margin-top: 1.75rem; font-size: 1.1rem; line-height: 1.65; color: var(--background-200); max-width: 40rem; }
.hero-actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid color-mix(in oklch, var(--background-50) 15%, transparent); background: color-mix(in oklch, var(--primary-950) 55%, transparent); backdrop-filter: blur(4px); }
.hero-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.hero-stat { padding: 1.25rem 0.75rem; border-left: 1px solid color-mix(in oklch, var(--background-50) 10%, transparent); }
.hero-stat:first-child, .hero-stat:nth-child(3) { border-left: none; }
.stat-value { font-family: var(--font-heading); font-size: 1.6rem; color: var(--accent-400); }
.stat-label { margin-top: 0.25rem; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: color-mix(in oklch, var(--background-200) 80%, transparent); }

/* ---------- step cards ---------- */
.step-card { position: relative; }
.step-num { font-family: var(--font-heading); font-size: 2.5rem; line-height: 1; color: color-mix(in oklch, var(--accent-400) 80%, transparent); }
.step-num.light-step { color: color-mix(in oklch, var(--accent-400) 80%, transparent); }
.step-card .card-title { margin-top: 1rem; }

/* ---------- bg image CTA ---------- */
.bg-image-cta { position: relative; overflow: hidden; }
.bg-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bg-overlay { position: absolute; inset: 0; background: color-mix(in oklch, var(--primary-950) 80%, transparent); }
.bg-image-cta .container { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
.narrow { max-width: 52rem; margin: 0 auto; }
.bg-image-cta .hero-actions { align-items: center; }

/* ---------- page hero ---------- */
.page-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; background-size: cover; background-position: top center; }
.page-hero-mask { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in oklch, var(--primary-950) 45%, transparent) 0%, color-mix(in oklch, var(--primary-950) 82%, transparent) 100%); }
.page-hero-content { position: relative; padding-top: 9rem; padding-bottom: 3.5rem; }
.page-hero-title { font-size: 2.6rem; line-height: 1.05; color: var(--background-50); }
.page-hero-lead { margin-top: 1rem; font-size: 1rem; color: var(--background-200); max-width: 42rem; }

/* ---------- in-page jump targets ---------- */
#core-values, #at-a-glance, #get-involved { scroll-margin-top: 6rem; }

/* ---------- tile grid ---------- */
.tile-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 8px; padding: 1.6rem; min-height: 15.5rem; border: 1px solid transparent; cursor: pointer; transition: border-color 0.25s, transform 0.25s; }
.tile:hover { transform: translateY(-2px); }
.tile-top { display: flex; align-items: center; justify-content: space-between; }
.tile-icon { width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 1.25rem; transition: transform 0.3s; }
.tile:hover .tile-icon { transform: translateY(-2px); }
.tile-num { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; }
.tile-body { margin-top: 1rem; }
.tile-text { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.tile-reveal { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.35s ease, opacity 0.3s ease; }
.tile:hover .tile-reveal, .tile:focus-visible .tile-reveal { max-height: 12rem; opacity: 1; }
.tile-note { margin-top: 0.75rem; font-size: 0.9rem; line-height: 1.55; }
.tile-cta { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.85rem; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.tile-cta i { transition: transform 0.3s; }
.tile:hover .tile-cta i { transform: translateX(4px); }
.tile-dark { background: var(--primary-950); border-color: var(--primary-950); color: var(--background-50); }
.tile-dark .tile-icon { background: color-mix(in oklch, var(--background-50) 10%, transparent); color: var(--background-50); }
.tile-dark .tile-num { color: color-mix(in oklch, var(--background-200) 70%, transparent); }
.tile-neutral { background: var(--background-100); border-color: color-mix(in oklch, var(--background-300) 70%, transparent); color: var(--foreground-900); }
.tile-neutral .tile-icon { background: var(--primary-100); color: var(--primary-600); }
.tile-neutral .tile-num { color: var(--foreground-400); }
.tile-neutral:hover { border-color: var(--accent-300); }
.tile-tint { background: var(--secondary-100); border-color: var(--secondary-200); color: var(--secondary-900); }
.tile-tint .tile-icon { background: var(--secondary-500); color: var(--background-50); }
.tile-tint .tile-num { color: color-mix(in oklch, var(--secondary-700) 70%, transparent); }
.tile-accent { background: var(--accent-500); border-color: var(--accent-500); color: var(--primary-950); }
.tile-accent .tile-icon { background: color-mix(in oklch, var(--primary-950) 10%, transparent); color: var(--primary-950); }
.tile-accent .tile-num { color: color-mix(in oklch, var(--primary-900) 70%, transparent); }

/* ---------- glance / at a glance ---------- */
.glance-card { border-radius: 8px; border: 1px solid color-mix(in oklch, var(--background-300) 70%, transparent); background: var(--background-100); padding: 2rem; }
.glance-list { margin-top: 1.5rem; }
.glance-list > div { padding: 1rem 0; border-top: 1px solid color-mix(in oklch, var(--background-300) 70%, transparent); }
.glance-list > div:first-child { border-top: none; padding-top: 0; }
.glance-list dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-700); font-weight: 700; }
.glance-list dd { margin-top: 0.4rem; font-size: 0.95rem; color: var(--foreground-800); line-height: 1.6; }

/* ---------- cta strip ---------- */
.cta-strip { background: var(--primary-950); }
.cta-strip-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; padding-top: 4rem; padding-bottom: 4rem; }

/* ---------- cta band (partner) ---------- */
.cta-band { margin-top: 3.5rem; border-radius: 8px; background: var(--primary-950); padding: 2.5rem 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band-title { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600; color: var(--background-50); line-height: 1.2; max-width: 42rem; }

/* ---------- numbered cards ---------- */
.numbered { display: flex; align-items: flex-start; gap: 1rem; }
.num-badge { flex-shrink: 0; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--primary-100); color: var(--primary-600); font-weight: 700; font-size: 0.85rem; }

/* ---------- programmes ---------- */
.programme-list { display: flex; flex-direction: column; gap: 4rem; }
.programme { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.media-icon { position: absolute; top: 1.25rem; left: 1.25rem; width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--background-50); color: var(--primary-600); font-size: 1.5rem; }
.programme-index { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-700); }
.programme-title { font-size: 1.6rem; line-height: 1.2; margin-top: 0.75rem; }
.programme .muted { margin-top: 1rem; font-size: 0.95rem; line-height: 1.65; }

/* ---------- gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.chip { padding: 0.55rem 1.25rem; border-radius: 999px; font-size: 0.875rem; font-weight: 600; background: var(--background-100); color: var(--foreground-700); transition: background 0.2s, color 0.2s; white-space: nowrap; }
.chip:hover { background: var(--secondary-100); }
.chip.is-active { background: var(--primary-600); color: var(--background-50); }

.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.gallery-item { position: relative; display: block; width: 100%; height: 260px; border-radius: 8px; overflow: hidden; padding: 0; }
.gallery-item.tall { height: 300px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.7s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklch, var(--primary-950) 80%, transparent), color-mix(in oklch, var(--primary-950) 10%, transparent) 55%, transparent); opacity: 0.85; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 0.95; }
.gallery-caption { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; text-align: left; }
.gallery-cat { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-300); }
.gallery-title { display: block; margin-top: 0.25rem; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--background-50); }
.gallery-expand { position: absolute; top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: color-mix(in oklch, var(--background-50) 90%, transparent); color: var(--primary-700); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-expand { opacity: 1; }
.gallery-item.is-hidden { display: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: color-mix(in oklch, var(--primary-950) 92%, transparent); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lb-figure { max-width: 64rem; width: 100%; }
#lbImage { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 8px; }
.lb-figure figcaption { margin-top: 1rem; text-align: center; }
.lb-cat { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-400); }
.lb-title { display: block; font-family: var(--font-heading); font-size: 1.15rem; color: var(--background-50); }
.lb-close, .lb-nav { position: absolute; width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: color-mix(in oklch, var(--background-50) 10%, transparent); color: var(--background-50); font-size: 1.5rem; }
.lb-close:hover, .lb-nav:hover { background: color-mix(in oklch, var(--background-50) 20%, transparent); }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.75rem; top: 50%; transform: translateY(-50%); }

/* ---------- contact ---------- */
.info-card { display: flex; flex-direction: column; }
.info-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-700); font-weight: 700; }
.info-value { margin-top: 0.4rem; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--foreground-950); word-break: break-word; }
.map-box { margin-top: 2rem; border-radius: 8px; overflow: hidden; border: 1px solid color-mix(in oklch, var(--background-300) 70%, transparent); height: 300px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }

.form-card { border-radius: 8px; border: 1px solid color-mix(in oklch, var(--background-300) 70%, transparent); background: var(--background-50); padding: 1.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--foreground-800); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; border-radius: 6px; border: 1px solid color-mix(in oklch, var(--background-300) 70%, transparent);
  background: var(--background-50); padding: 0.8rem 1rem; color: var(--foreground-950);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--foreground-400); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary-400); box-shadow: 0 0 0 2px color-mix(in oklch, var(--primary-400) 40%, transparent); }
.hint { margin-top: 0.4rem; font-size: 0.72rem; color: var(--foreground-400); }

.form-error { margin-top: 1.25rem; display: flex; align-items: flex-start; gap: 0.75rem; border-radius: 6px; border: 1px solid var(--secondary-300); background: var(--secondary-50); padding: 0.85rem 1rem; color: var(--secondary-900); font-size: 0.9rem; }
.form-error[hidden] { display: none; }
.form-error i { color: var(--secondary-700); font-size: 1.1rem; }

.form-success { border-radius: 8px; border: 1px solid var(--accent-300); background: var(--accent-50); padding: 2.25rem; text-align: center; }
.form-success[hidden] { display: none; }
.success-icon { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent-500); color: var(--primary-950); font-size: 1.75rem; }
.form-success .card-title { font-size: 1.5rem; }
.form-success .muted { max-width: 28rem; margin: 0.75rem auto 0; }

/* anti-spam honeypot (non-inline, hard to associate) */
.form-aux-field { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--primary-950); color: var(--background-100); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer-brand img { width: 3rem; height: 3rem; object-fit: contain; }
.footer-name { display: block; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; color: var(--background-50); }
.footer-tag { display: block; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent-300); margin-top: 0.35rem; }
.footer-text { font-size: 0.9rem; line-height: 1.7; color: color-mix(in oklch, var(--background-200) 80%, transparent); max-width: 20rem; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.footer-social a { width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: color-mix(in oklch, var(--background-50) 10%, transparent); color: var(--background-100); transition: background 0.2s, color 0.2s; }
.footer-social a:hover { background: var(--accent-500); color: var(--primary-950); }
.footer-heading { font-size: 1rem; font-weight: 600; color: var(--accent-300); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; }
.footer-links a { font-size: 0.9rem; color: color-mix(in oklch, var(--background-200) 80%, transparent); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-300); }
.footer-contact { display: flex; flex-direction: column; gap: 1rem; list-style: none; font-size: 0.9rem; color: color-mix(in oklch, var(--background-200) 80%, transparent); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact i { color: var(--accent-400); margin-top: 0.15rem; }
.footer-bottom { border-top: 1px solid color-mix(in oklch, var(--background-50) 10%, transparent); }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.footer-bottom-inner p { font-size: 0.75rem; color: color-mix(in oklch, var(--background-200) 60%, transparent); }

/* ---------- glance (at a glance cards) ---------- */
.glance-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-700); font-weight: 700; }
.glance-value { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.6; color: var(--foreground-800); }

/* ---------- simple footer (Get In Touch only) ---------- */
.footer-simple { padding-top: 4rem; padding-bottom: 3.5rem; }
.contact-channel {
  display: block; border-radius: 8px; text-align: left; padding: 1.5rem;
  border: 1px solid color-mix(in oklch, var(--background-50) 10%, transparent);
  background: color-mix(in oklch, var(--background-50) 5%, transparent);
  transition: border-color 0.2s, background 0.2s;
}
.contact-channel:hover { border-color: color-mix(in oklch, var(--accent-400) 60%, transparent); background: color-mix(in oklch, var(--background-50) 10%, transparent); }
.channel-icon { width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: color-mix(in oklch, var(--accent-500) 15%, transparent); color: var(--accent-300); font-size: 1.4rem; margin-bottom: 1rem; }
.channel-label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-300); }
.channel-value { display: block; margin-top: 0.4rem; font-size: 0.9rem; color: var(--background-100); word-break: break-word; }
.footer-simple-meta { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.footer-hours { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: color-mix(in oklch, var(--background-200) 75%, transparent); }
.footer-hours i { color: var(--accent-400); }

/* ---------- reveal + animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes soft-zoom { from { transform: scale(1.02); } to { transform: scale(1.06); } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-slide.is-active { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { height: 420px; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .brand-text { display: flex; }
  .hero-actions { flex-direction: row; align-items: center; }
  .footer-bottom-inner { flex-direction: row; }
}

@media (min-width: 768px) {
  .section { padding: 5.5rem 0; }
  .h2 { font-size: 2.6rem; }
  .lead { font-size: 1.08rem; }
  .hero-title { font-size: 4.25rem; }
  .page-hero-title { font-size: 3.2rem; }
  .card-title { font-size: 1.75rem; }
  .programme-title { font-size: 2rem; }
  .nav-cta { display: inline-flex; }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 3rem; }
  .cta-strip-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .split, .split-center, .split-start { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
  .programme { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
  .programme.reverse .media-box { order: 2; }
  .h-460 { height: 28rem; }
  .h-540 { height: 33rem; }
  .tile { padding: 1.75rem; min-height: 16.5rem; }
  .hero-content { padding-top: 10rem; padding-bottom: 13rem; }
  .footer-grid { padding-top: 5rem; padding-bottom: 5rem; }
}

@media (min-width: 1024px) {
  .container { padding-left: 3rem; padding-right: 3rem; }
  .nav-links { display: block; }
  .nav-toggle { display: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-simple-meta { flex-direction: row; justify-content: center; gap: 2rem; }
  .hero-title { font-size: 4.9rem; }
  .hero-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-stat { border-left: 1px solid color-mix(in oklch, var(--background-50) 10%, transparent); }
  .hero-stat:first-child { border-left: none; }
  .hero-stat:nth-child(3) { border-left: 1px solid color-mix(in oklch, var(--background-50) 10%, transparent); }
}