/* ==========================================================================
   Sambhav Foundation: Design System
   Fonts: Nunito Sans (display and text)
   ========================================================================== */

:root {
  /* Spacing rhythm, used by every section on every page:
     --sec      padding at the top and bottom of a section (so content-to-content between sections is 2 x --sec)
     --head-gap space between a section heading (with its intro) and the content below it */
  --sec: clamp(36px, 3.8vw, 56px);
  --head-gap: var(--sec);
  --orange: #E8691F;
  --orange-600: #CF5512;
  --orange-50: #FDF1E8;
  --peach: #F2A97E;
  --peach-200: #F9D9C5;
  --sand: #F1D7A0;
  --sand-200: #F8EBCB;
  --gold: #E3A93B;
  --coral: #D9645A;
  --teal: #0F4D4A;
  --teal-600: #1C6B66;
  --ink: #1C1B1A;
  --text: #3E3B38;
  --muted: #6E6A65;
  --line: #ECE5DD;
  --bg: #FFFFFF;
  --bg-alt: #FFFFFF;
  --card: #FFFFFF;
  --band: var(--orange);
  --heading: var(--teal);

  --f-display: "Lora", Georgia, "Times New Roman", serif; /* headings and big numbers: Lora Semi Bold */
  --f-text: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(40, 24, 10, .06);
  --shadow-md: 0 12px 32px -12px rgba(40, 24, 10, .16);
  --shadow-lg: 0 30px 60px -20px rgba(40, 24, 10, .22);
  --shadow-glow: 0 18px 40px -12px rgba(232, 105, 31, .45);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.22, 1, .36, 1);
  --container: 1600px;                 /* one page width for header and content, so the logo lines up with the text */
  --gutter: clamp(16px, 5vw, 72px);    /* side margin grows evenly with the screen: 16px on phones, about 5% on laptops and TVs */
  --header-h: 84px;
}

/* Saadhya sub-brand: warm terracotta */
.theme-saadhya {
  --orange: #C2544E;
  --orange-600: #A8413B;
  --orange-50: #F7E6E0;
  --peach: #E98A7F;
  --peach-200: #F5DCD4;
  --sand: #F3C9B9;
  --sand-200: #FBEDE7;
  --heading: #3A1F1A;
  --bg: #FFFDFC;
  --band: #C2544E;
  --shadow-glow: 0 18px 40px -12px rgba(194, 84, 78, .45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--heading); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sand); color: var(--ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2 * var(--gutter), 880px); margin-inline: auto; }
.section { padding-block: var(--sec); position: relative; }
.section-sm { padding-block: var(--sec); }
.sec-head { margin-bottom: var(--head-gap); }
/* section that opens with a heading and shares the previous section's background: drop its top padding so the heading sits midway between the two blocks of content */
.section.flush-top, .section-sm.flush-top { padding-top: 0; }
/* these follow a section whose content ends early, or open onto a carousel with its own inner padding: nudge them so the heading stays centred */
#voices-partners.flush-top, #voices-field.flush-top, .flush-top[aria-labelledby="collab-h"], #programmes.flush-top { padding-top: 18px; }
#voices-partners .spark-title, #voices-field .spark-title { margin-bottom: calc(var(--head-gap) - 18px); }
@media (max-width: 760px) { #voices-partners.flush-top { padding-top: 36px; } }
.bg-white { background: var(--bg-alt); }
.bg-tint { background: var(--orange-50); }
.bg-sand { background: var(--sand-200); }
.center { text-align: center; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 12px/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.display { font-size: clamp(38px, 5.4vw, 64px); }
.h2 { font-size: clamp(30px, 3.8vw, 46px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.text-orange { color: var(--orange); }
.italic { font-style: italic; }

/* marker highlight that sweeps in */
.mark {
  position: relative; z-index: 0; white-space: nowrap;
  background: linear-gradient(var(--sand), var(--sand)) no-repeat 0 88% / 0% 82%;
  transition: background-size .8s var(--ease) .2s;
  padding: 0 .12em; margin: 0 -.12em;
}
.is-in .mark, .mark.is-in { background-size: 100% 82%; }
/* on phones a long highlighted phrase may wrap; the highlight is drawn per line */
@media (max-width: 560px) { .mark { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; } }

/* Section title with spark marks */
.spark-title {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; color: var(--ink);
  font-size: clamp(26px, 3vw, 36px); margin: 0 0 var(--head-gap); text-align: center;
}
.spark { width: 46px; height: 46px; flex: none; color: var(--orange); overflow: visible; }
.spark path { stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; fill: none; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .5s var(--ease); }
.spark path:nth-child(2) { transition-delay: .1s; }
.spark path:nth-child(3) { transition-delay: .2s; }
.is-in .spark path, .spark.is-in path { stroke-dashoffset: 0; }
.spark-r { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 12px; font-weight: 800; font-size: 16px; letter-spacing: .01em;
  background: var(--bg); color: var(--fg); border: 2px solid transparent;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn-primary { box-shadow: 0 6px 16px -8px rgba(232,105,31,.5); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-outline { --bg: transparent; --fg: var(--orange); border-color: var(--orange); }
.btn-outline:hover { --bg: var(--orange); --fg: #fff; }
.btn-white { --bg: #fff; --fg: var(--orange); box-shadow: 0 14px 30px -10px rgba(0,0,0,.25); }
.btn-white:hover { transform: translateY(-1px); }
.btn-ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost-light:hover { --bg: #fff; --fg: var(--orange); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-dark:hover { background: #000; }
.btn-pill { border-radius: 999px; }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 999px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 800; }
.link-arrow svg { transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Preloader ---------- */
.preloader { display: none !important; }
.preloader-x {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--bg); transition: opacity .6s var(--ease) .1s, visibility .6s;
}
.preloader img { width: 180px; animation: pl-pop 1s var(--ease) both; }
.preloader .pl-bar { position: absolute; left: 50%; bottom: 42%; width: 160px; height: 3px; margin-left: -80px; border-radius: 3px; background: var(--line); overflow: hidden; }
.preloader .pl-bar::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform-origin: left; animation: pl-load 1s var(--ease) forwards; }
.preloader.done { opacity: 0; visibility: hidden; }
@keyframes pl-pop { from { opacity: 0; transform: scale(.85) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pl-load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.no-preload .preloader { display: none; }

/* page fade for transitions */
body { animation: page-in .6s var(--ease) both; }
body.leaving { opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .3s ease; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Scroll progress ---------- */
/* hide the page scrollbar (scrolling still works) */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--orange)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 2px solid var(--orange);
  transition: height .35s var(--ease), box-shadow .35s, background-color .35s, transform .45s var(--ease);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
}
.site-header.scrolled { --header-h: 70px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.25); border-bottom-color: transparent; }
.site-header.hide { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; transition: height .35s var(--ease), transform .4s var(--ease); }
.scrolled .brand img { height: 42px; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav ul { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a {
  position: relative; font-size: 15px; font-weight: 700; color: var(--ink); padding: 8px 0;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 22px; flex: none; }
.header-cta .contact-link { font-weight: 700; font-size: 15px; color: var(--ink); transition: color .25s; }
.header-cta .contact-link:hover { color: var(--orange); }
.header-cta .btn { padding: 10px 20px; font-size: 14px; border-radius: 999px; }
.theme-saadhya .header-cta .btn-outline { --bg: var(--orange); --fg: #fff; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; margin-left: auto; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0% at calc(100% - 40px) 40px); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .7s var(--ease); }
.mobile-menu a { font-family: var(--f-text); font-weight: 700; font-size: 34px; color: var(--ink); padding: 6px 0; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s; }
.mobile-menu a[aria-current="page"], .mobile-menu a:hover { color: var(--orange); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .2s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .25s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .3s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .35s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .4s; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; opacity: 0; transition: opacity .5s .45s; font-family: var(--f-text); font-size: 17px; color: #fff; padding: 14px 28px; }
.mobile-menu .btn:hover { color: #fff; }
.menu-open .mobile-menu .btn { opacity: 1; }
body.menu-open { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translate3d(-24px, 0, 0); }
[data-reveal="right"] { transform: translate3d(24px, 0, 0); }
[data-reveal="zoom"] { transform: scale(.97); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* split-word heading reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .2em; margin-bottom: -.2em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 40ms + var(--d, 0s)); }
.split.is-in .w > span { transform: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); margin-bottom: 20px; }
.hero h1 .line { display: block; }
.hero .dot-mark { position: relative; display: inline-block; }
.hero .dot-mark::before {
  content: ""; position: absolute; z-index: -1; width: 1.05em; height: 1.05em; left: -.08em; top: 50%;
  border-radius: 50%; background: var(--sand); transform: translateY(-50%);
}
@keyframes dot-in { to { transform: translateY(-50%) scale(1); } }
.hero .tagline { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); margin-bottom: 44px; }
.hero .tagline b { color: var(--orange); font-weight: 700; }
.burst { position: relative; display: inline-block; }
.burst > svg { position: absolute; left: -34px; top: -34px; width: 40px; height: 40px; color: var(--orange); }
.burst > svg { display: none; }
.burst > svg path:nth-child(2) { animation-delay: .1s; }
@keyframes burst { 0%, 60%, 100% { transform: scale(1); opacity: 1; } 75% { transform: scale(.7); opacity: .5; } }

.hero-visual { position: relative; aspect-ratio: 1.3; }
.hero-visual .blob {
  position: absolute; left: 14%; top: 0; width: 74%; aspect-ratio: 1;
  background: var(--peach); border-radius: 50%; z-index: 0;
}
.hero-visual .frame { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }
.hero-visual .blob.b2 { display: none; }
@keyframes blob {
  0%, 100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; transform: rotate(0); }
  33% { border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; transform: rotate(8deg); }
  66% { border-radius: 44% 56% 52% 48% / 56% 44% 58% 42%; transform: rotate(-6deg); }
}
.hero-visual img { width: 100%; filter: drop-shadow(0 24px 28px rgba(80,40,10,.14)); }
.float-chip { display: none !important; }
.float-chip-x {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 700; color: var(--ink); animation: floaty 6s ease-in-out infinite;
}
.float-chip i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); font-style: normal; }
.float-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 11px; }
.float-chip.c1 { left: -2%; top: 18%; }
.float-chip.c2 { right: 0; bottom: 14%; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Stats card */
.stats-card {
  position: relative; z-index: 3; margin-top: clamp(24px, 4vw, 40px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 80px -30px rgba(60, 30, 10, .25);
  padding: 34px 20px;
}
.stat { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 6px 16px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease-back); }
.stat:hover .ico { transform: scale(1.06); }
.stat strong { display: block; font: 600 clamp(26px, 2.6vw, 34px)/1.1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 16px; }

/* ---------- Full-screen hero slideshow (home) ---------- */
.has-hero .site-header { position: fixed; left: 0; right: 0; top: 0; }
.has-hero:not(.menu-open) .site-header:not(.scrolled) {
  background: transparent; border-bottom-color: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.has-hero:not(.menu-open) .site-header:not(.scrolled) .nav a,
.has-hero:not(.menu-open) .site-header:not(.scrolled) .contact-link { color: #fff; }
.has-hero:not(.menu-open) .site-header:not(.scrolled) .nav a::after { background: #fff; }
.has-hero:not(.menu-open) .site-header:not(.scrolled) .nav a:hover { color: #fff; opacity: .85; }
.has-hero:not(.menu-open) .site-header:not(.scrolled) .btn-outline { --fg: #fff; border-color: rgba(255,255,255,.85); }
.has-hero:not(.menu-open) .site-header:not(.scrolled) .btn-outline:hover { --bg: #fff; --fg: var(--orange); border-color: #fff; }
.has-hero:not(.menu-open) .site-header:not(.scrolled) .menu-toggle span { background: #fff; }
.has-hero:not(.menu-open) .site-header:not(.scrolled) .brand img { filter: drop-shadow(0 1px 10px rgba(0,0,0,.35)); }
/* over the slideshow the logo's dark-red FOUNDATION line switches to white */
.brand .brand-light { display: none; }
.has-hero:not(.menu-open) .site-header:not(.scrolled) .brand img:not(.brand-light) { display: none; }
.has-hero:not(.menu-open) .site-header:not(.scrolled) .brand .brand-light { display: block; }

.hero-slides {
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden; isolation: isolate; background: #1b130d; color: #fff;
}
.hero-slides .slides, .hero-slides .slide { position: absolute; inset: 0; margin: 0; }
.hero-slides .slide { opacity: 0; z-index: 0; transition: opacity 1.6s cubic-bezier(.4, 0, .2, 1); }
.hero-slides .slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.hero-slides .slide.is-active { opacity: 1; z-index: 2; }
.hero-slides .slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  transform-origin: var(--pos, 50% 50%);
}
.hero-slides .slide.is-active img, .hero-slides .slide.is-prev img { animation: hero-zoom 9s ease-out forwards; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .67) 0%, rgba(0, 0, 0, .47) 7%, rgba(0, 0, 0, .25) 13%, rgba(0, 0, 0, .09) 17%, rgba(0, 0, 0, 0) 20%),
    linear-gradient(0deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .82) 20%, rgba(0, 0, 0, .55) 34%, rgba(0, 0, 0, 0) 52%);
}
.hero-actions .btn-hero { padding: 12px 30px; font-size: 15px; min-width: 132px; }
.hero-actions .btn-ghost-light.btn-hero { border-color: rgba(255,255,255,.85); }
.hero-content {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  padding-top: 84px; padding-bottom: clamp(28px, 4.5vh, 48px);
}
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 18px;
  font: 700 13px/1.4 var(--f-text); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.92);
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; width: 36px; height: 2px; background: var(--orange); flex: none; }
.hero-slides h1 {
  color: #fff; font-weight: 600; font-size: clamp(30px, 3.6vw, 60px); line-height: 1.1; letter-spacing: -.02em;
  margin: 0 auto 30px; max-width: none; white-space: nowrap; text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-actions .btn-ghost-light { border-color: rgba(255,255,255,.7); }

.impact-strip { padding-top: clamp(28px, 4vw, 44px); padding-bottom: var(--sec); }
.impact-strip .stats-card { margin-top: 0; }

@media (max-width: 860px) {
  .hero-slides { min-height: 560px; }
  .hero-content { padding-top: 72px; padding-bottom: 40px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .12em; max-width: 30ch; margin-inline: auto; }
  .hero-eyebrow::before, .hero-eyebrow::after { display: none; }
  .hero-slides h1 { font-size: clamp(34px, 9vw, 52px); margin-bottom: 26px; white-space: normal; max-width: none; text-wrap: balance; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .67) 0%, rgba(0, 0, 0, .47) 7%, rgba(0, 0, 0, .25) 13%, rgba(0, 0, 0, .09) 17%, rgba(0, 0, 0, 0) 20%),
      linear-gradient(0deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .8) 28%, rgba(0, 0, 0, .5) 44%, rgba(0, 0, 0, 0) 62%);
  }
}
@media (max-width: 560px) {
  .hero-actions .btn { padding: 14px 22px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides .slide img { animation: none !important; }
}

/* ---------- Vision & Mission runner (home) ---------- */
.runner {
  position: relative; overflow: hidden; background: var(--teal); color: #fff; padding-block: 18px;
  border-top: 3px solid var(--orange);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.runner-track { display: flex; width: max-content; animation: marquee var(--runner-speed, 70s) linear infinite; }
/* pause only while a mouse is over it, a key-board user is on a link, or a finger is held down;
   never "stuck" after a click or a trip to another page and back */
@media (hover: hover) and (pointer: fine) { .runner:hover .runner-track { animation-play-state: paused; } }
.runner:has(:focus-visible) .runner-track, .runner.is-held .runner-track { animation-play-state: paused; }
.runner-group { display: flex; align-items: center; flex: none; }
.runner-item { margin: 0; white-space: nowrap; font-size: clamp(15px, 1.25vw, 18px); font-weight: 600; line-height: 1.4; color: rgba(255,255,255,.95); }
.runner-label {
  display: inline-block; margin-right: 12px; padding: 4px 12px; border-radius: 999px; vertical-align: 1px;
  background: var(--orange); color: #fff; font-size: .72em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.runner-label:hover, .runner-label:focus-visible { background: #fff; color: var(--orange); }
.runner-dot { flex: none; width: 8px; height: 8px; margin-inline: clamp(28px, 4vw, 56px); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227,169,59,.2); }
@media (max-width: 560px) {
  .runner { padding-block: 14px; }
  .runner-track { --runner-speed: 55s; }
}
@media (prefers-reduced-motion: reduce) {
  .runner { mask-image: none; -webkit-mask-image: none; padding-block: 26px; }
  .runner-track { animation: none; width: auto; justify-content: center; }
  .runner-group { flex-direction: column; align-items: stretch; gap: 14px; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
  .runner-group[aria-hidden="true"], .runner-dot { display: none; }
  .runner-item { white-space: normal; }
}

/* runner placed inside the hero, under the headline */
.runner--hero {
  width: 100vw; margin-inline: calc(50% - 50vw); padding-block: 14px;
  background: var(--orange); border-top: 0;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.45);
  mask-image: none; -webkit-mask-image: none;
}
/* soft fade at both ends, in the same orange, so text slides in and out gently */
.runner--hero::before, .runner--hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: clamp(28px, 7vw, 120px); pointer-events: none;
}
.runner--hero::before { left: 0; background: linear-gradient(90deg, var(--orange), rgba(232,105,31,0)); }
.runner--hero::after { right: 0; background: linear-gradient(270deg, var(--orange), rgba(232,105,31,0)); }
.runner--hero .runner-item { font-size: clamp(16px, 1.35vw, 20px); font-weight: 700; color: #fff; text-shadow: none; }
.runner--hero .runner-label { background: #fff; color: var(--orange); box-shadow: none; }
.runner--hero .runner-label:hover, .runner--hero .runner-label:focus-visible { background: var(--teal); color: #fff; }
.runner--hero .runner-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.28); }
.hero-slides h1 { margin-bottom: 22px; }
@media (max-width: 860px) {
  .runner--hero { padding-block: 11px; }
  .runner--hero .runner-item { font-size: 16px; }
  .hero-slides h1 { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .runner--hero { padding-block: 18px; }
  .runner--hero::before, .runner--hero::after { display: none; }
  .runner--hero .runner-group { max-width: 62ch; text-align: center; }
}

/* ---------- Logo marquee ---------- */
.marquee { position: relative; overflow: hidden; background: #fff; padding-block: 34px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: clamp(48px, 7vw, 110px); width: max-content; animation: marquee var(--speed, 48s) linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 60px; width: auto; max-width: 220px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.reverse .marquee-track { animation-direction: reverse; }

/* ---------- Who we are ---------- */
.wwa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.collage { position: relative; aspect-ratio: 1.5; clip-path: inset(-30% -30% 0 -30%); } /* everything stands on one baseline: the bottom edge */
.collage .circ { position: absolute; border-radius: 50%; }
.collage .circ.peach { background: var(--peach); width: 64%; aspect-ratio: 1; left: 0; bottom: -16%; }
.collage .circ.sand { background: var(--sand); width: 50%; aspect-ratio: 1; right: 0; bottom: -12%; }
.collage img { position: absolute; bottom: 0; filter: grayscale(1) contrast(1.05); transition: filter .6s, transform .6s var(--ease); }
.collage:hover img { filter: grayscale(0); }

.collage .i1 { left: 3%; width: 40%; z-index: 1; }
.collage .i2 { left: 28%; width: 47%; z-index: 3; }
.collage .i3 { right: 3%; width: 36%; z-index: 2; }

.wwa-copy h2 { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.35; }
.wwa-copy h2 .text-orange { position: relative; display: inline-block; }
.wwa-copy p { color: var(--muted); }
.wwa-copy p b { color: var(--ink); }
.wwa-copy em { color: var(--ink); font-weight: 700; }

/* ---------- Testimonials ---------- */
.t-carousel { position: relative; }
.t-track { display: flex; gap: 28px; transition: transform .8s var(--ease); will-change: transform; padding-block: 20px; }
.t-card {
  flex: 0 0 min(440px, 82vw); background: #fff; border-radius: var(--r-lg); padding: 34px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transform: scale(.96); opacity: .6; transition: transform .8s var(--ease), opacity .8s var(--ease), box-shadow .8s;
}
.t-card.active { transform: scale(1); opacity: 1; box-shadow: var(--shadow-md); }
.t-card .q { width: 44px; height: 38px; color: var(--orange); margin-bottom: 18px; }
.t-card p { font-size: 17px; color: var(--text); }
.t-person { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.t-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 600 20px var(--f-display); color: #fff; background: linear-gradient(135deg, var(--orange), var(--gold)); flex: none; }
.t-person strong { display: block; font-family: var(--f-text); font-size: 19px; color: var(--ink); }
.t-person small { letter-spacing: .2em; text-transform: uppercase; font-size: 11px; font-weight: 800; color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.dots button { width: 14px; height: 4px; border-radius: 4px; background: var(--line); transition: width .5s var(--ease), background .3s; }
.dots button.active { width: 36px; background: var(--orange); }
.carousel-nav { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: all .3s var(--ease); }
.icon-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- Orange band / social wall ---------- */
.band { background: var(--band); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: rgba(255,255,255,.85); }
.band .arc { position: absolute; z-index: -1; border-radius: 50%; border: clamp(40px, 7vw, 90px) solid rgba(255,255,255,.06); pointer-events: none; }
.band .arc.a1 { width: 70vw; aspect-ratio: 1; left: -30vw; top: 25%; }
.band .arc.a2 { width: 60vw; aspect-ratio: 1; right: -18vw; top: -40%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* kept narrower than the page so the post cards read at a natural, compact size */
.social-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; max-width: 1000px; margin-inline: auto; }
.social-card { background: #fff; color: var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0,0,0,.35); transition: transform .5s var(--ease), box-shadow .5s; display: flex; flex-direction: column; }
.social-card:hover { transform: translateY(-4px); }
.social-card.video { grid-column: span 7; padding: 24px; }
.social-card.feature { grid-column: span 5; }
.social-card.post { grid-column: span 4; }
.social-card .media { position: relative; overflow: hidden; background: var(--sand-200); }
.social-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.social-card:hover .media img { transform: scale(1.03); }
.social-card.video .media { aspect-ratio: 16/9; border-radius: 16px; }
.social-card.video .media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.social-card.video.is-playing { cursor: default; }
.social-card.post .media, .social-card.feature .media { aspect-ratio: 4/3; }
.play {
  position: absolute; inset: 0; margin: auto; width: 82px; height: 82px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--orange); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

@keyframes pulse-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.social-meta { padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.social-meta .src { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; color: var(--muted); }
.social-meta .src svg { width: 18px; height: 18px; color: var(--orange); }
.social-meta p { margin: 0; font-size: 15px; color: var(--text); }
.social-card.video .social-meta { padding: 18px 4px 0; }
.social-card.video h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; color: var(--ink); margin: 0; }

/* ---------- Awards ---------- */
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: center; background: #fff; padding-block: 48px; }
.award { display: grid; place-items: center; text-align: center; perspective: 800px; }
/* Awards: the laurel-and-ribbon template (assets/img/award-wreath.webp) with the award written inside.
   Text sizes use container units, so everything scales with the wreath. */
.award .wreath { position: relative; width: min(300px, 86%); aspect-ratio: 900 / 823; container-type: inline-size;
  background: url(../assets/img/award-wreath.webp) center / contain no-repeat;
  filter: drop-shadow(0 12px 18px rgba(120, 80, 10, .14)); transition: transform .5s var(--ease); }
.award:nth-child(2) .wreath { width: min(340px, 92%); }
.award:hover .wreath { transform: translateY(-4px); }
.aw-body { position: absolute; left: 25%; right: 25%; top: 7%; height: 48%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #0B1730; line-height: 1; }
.aw-small { font: 700 4.5cqw/1.15 "Cinzel", Georgia, serif; letter-spacing: .08em; text-transform: uppercase; }
.aw-big { font: 700 9.2cqw/1 "Cinzel", Georgia, serif; text-transform: uppercase; margin: .6cqw 0 .9cqw; }
.aw-xl { font-size: 13cqw; margin: 0; }
.aw-long { font-size: 6.2cqw; letter-spacing: -.01em; }
.aw-year { font: 800 5cqw/1 var(--f-text); letter-spacing: .14em; margin-top: 1cqw; }
.aw-rule { display: block; width: 46%; height: 2px; margin: 2.4cqw 0; border-radius: 2px; background: linear-gradient(90deg, transparent, #C9972E 20%, #F1D489 50%, #C9972E 80%, transparent); }
.aw-logo { width: 50%; height: auto; }
.aw-org { font: 700 3.7cqw/1.25 var(--f-text); letter-spacing: .06em; text-transform: uppercase; }
.aw-org-sm { font-size: 3.1cqw; font-weight: 600; margin-top: 1cqw; color: #3B4458; }
.aw-logo + .aw-org-sm { margin-top: 2.2cqw; }
.award:nth-child(1) .aw-body, .award:nth-child(3) .aw-body { top: 12.5%; } /* sit closer to the ribbon */
.award figcaption { margin-top: 14px; font-weight: 700; color: var(--muted); font-size: 14px; }

/* ---------- Donor CTA ---------- */
.give-cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px);
  background: radial-gradient(120% 140% at 100% 0%, var(--orange) 0%, var(--orange-600) 50%, #9F3E0B 100%);
  color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; isolation: isolate;
}
.theme-saadhya .give-cta { background: radial-gradient(120% 140% at 100% 0%, #C9605A 0%, #A8413B 50%, #6E2620 100%); }
.give-cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.give-cta p { color: rgba(255,255,255,.88); }
.give-cta .glow { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,150,.45), transparent 65%); right: -80px; top: -120px; }
.give-cta .trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.give-cta .trust-row span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.give-cta .amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.give-cta .amounts a { text-align: center; padding: 16px 8px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); font-weight: 800; transition: all .3s var(--ease); }
.give-cta .amounts a small { display: block; font-weight: 600; font-size: 12px; opacity: .85; }
.give-cta .amounts a:hover { background: #fff; color: var(--orange); }
.give-cta .btn-white { margin-top: 14px; }

/* ---------- Footer ---------- */
/* Footer: flat and full width (no orange band, no floating card) */
.site-footer { position: relative; background: #fff; border-top: 1px solid var(--line); padding-top: clamp(44px, 5.5vw, 72px); }
.footer-card {
  padding: 0 0 clamp(36px, 4.5vw, 56px);
  display: grid; grid-template-columns: auto auto 1fr; gap: clamp(32px, 6vw, 90px);
}
.footer-card h4 { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 24px; letter-spacing: -.02em; margin-bottom: 18px; }
.footer-card li + li { margin-top: 10px; }
.footer-card a { font-size: 18px; color: var(--ink); background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 0 2px; transition: background-size .4s var(--ease), color .2s; padding-bottom: 2px; }
.footer-card a:hover { color: var(--orange); background-size: 100% 2px; }
.footer-card .legal a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 24px; } /* logo level with the headings, icons level with the last links, both on the right edge */
.footer-brand img { width: 210px; margin-top: -10px; }
.footer-brand p { text-align: right; font-size: 14px; color: var(--muted); margin: -10px 0 0; max-width: 300px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); transition: transform .4s var(--ease-back), background .3s, color .3s; background-image: none !important; padding: 0; }
.socials a:hover { background: var(--orange); color: #fff; }
.footer-bottom { color: var(--ink); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 22px 26px; border-top: 1px solid var(--line); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); display: grid; place-items: center; color: var(--orange); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: all .4s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }
.to-top svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--orange); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; stroke-linecap: round; }

/* ---------- Generic cards ---------- */
.card { background: var(--card); border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tilt { transform-style: preserve-3d; }

.page-hero { padding-block: clamp(48px, 7vw, 100px) var(--sec); position: relative; overflow: hidden; }
.split-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.round-photo { position: relative; aspect-ratio: 1; }
.round-photo::before { content: ""; position: absolute; inset: 0 4% 6% 4%; border-radius: 50%; background: var(--peach); }
.round-photo img { position: relative; width: 100%; }

/* About: pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; }
.pillar { padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 44px); position: relative; }
.pillar + .pillar::before { content: ""; position: absolute; left: 0; top: 15%; bottom: 25%; width: 1px; background: var(--line); }
.pillar .p-ico { width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; color: #fff; margin-bottom: 22px; transition: transform .6s var(--ease-back); }

.pillar h3 { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 22px; }
.pillar p { color: var(--muted); font-size: 16px; margin: 0; }

/* About: venn */
.venn-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.venn { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin-inline: auto; }
.venn .v {
  position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: clamp(13px, 1.3vw, 16px); text-align: center; line-height: 1.25; padding: 12%; mix-blend-mode: multiply;
  transition: transform .8s var(--ease), filter .4s; cursor: default;
}
.venn .v svg { width: 44px; height: 44px; margin-bottom: 10px; }
.venn .v span { mix-blend-mode: normal; }
.venn .v1 { left: 21%; top: 0; background: rgba(247, 158, 115, .9); padding-bottom: 22%; }
.venn .v2 { left: 0; top: 36%; background: rgba(220, 96, 88, .85); padding-right: 22%; }
.venn .v3 { right: 0; top: 36%; background: rgba(241, 186, 112, .9); padding-left: 22%; }
.venn:not(.is-in) .v1 { transform: translateY(-30px); }
.venn:not(.is-in) .v2 { transform: translate(-30px, 20px); }
.venn:not(.is-in) .v3 { transform: translate(30px, 20px); }

.venn .core { position: absolute; left: 50%; top: 56%; width: 5%; aspect-ratio: 1; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(255,255,255,.35); z-index: 3; }
@keyframes core { 50% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } }
.venn-copy h2 { color: var(--orange); }
.venn-copy p { text-align: justify; hyphens: auto; }

/* Themes band (tabs) */
.themes-band { text-align: center; padding-block: var(--sec); }
.themes-band h2 { font-size: clamp(30px, 4vw, 48px); }
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 28px 0 38px; }
.tabs button {
  position: relative; z-index: 1; padding: 13px 30px; border-radius: 999px; font-weight: 800; font-size: 18px;
  color: #fff; border: 2px solid rgba(255,255,255,.7); transition: color .35s, background .35s, transform .3s var(--ease);
}
.tabs button:hover { background: rgba(255,255,255,.12); }
.tabs button[aria-selected="true"] { background: #FFF5EE; color: var(--ink); border-color: #FFF5EE; box-shadow: 0 10px 24px -10px rgba(0,0,0,.3); }

.theme-panel { display: grid; grid-template-columns: .82fr 1.18fr; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: left; }
.theme-panel[hidden] { display: none; }
.theme-panel.anim { animation: panel-in .7s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.theme-panel figure { margin: 0; position: relative; min-height: 340px; display: flex; flex-direction: column; }
.theme-panel figure .ph { flex: 1; position: relative; overflow: hidden; background: var(--sand-200); }
.theme-panel figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .8s, transform 1.2s var(--ease); }
.theme-panel:hover figure img { filter: grayscale(0); }
.theme-panel figcaption { background: linear-gradient(90deg, var(--orange), var(--orange-600)); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; padding: 14px 24px; }
.theme-panel .body { padding: clamp(24px, 3.5vw, 44px); }
.theme-panel .body h3 { font-size: clamp(26px, 2.8vw, 36px); color: var(--teal); }
.theme-panel .body .eyebrow { color: var(--orange); }
.theme-stats { display: flex; gap: clamp(20px, 4vw, 48px); padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.theme-stats strong { display: block; font: 600 clamp(32px, 3.4vw, 44px)/1 var(--f-display); }
.theme-stats div:nth-child(1) strong { color: var(--orange); }
.theme-stats div:nth-child(2) strong { color: var(--coral); }
.theme-stats div:nth-child(3) strong { color: var(--gold); }
.theme-stats span { display: block; font-size: 14px; font-weight: 700; color: var(--teal); line-height: 1.3; margin-top: 8px; }
.theme-panel .body p { font-family: var(--f-text); font-size: 18px; color: var(--text); margin: 0; }
.theme-focus { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.theme-focus li { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--orange-50); color: var(--orange-600); }

/* Changemakers */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person { text-align: center; padding: 34px 18px 30px; }
.person .avatar {
  width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  font: 600 30px var(--f-display); color: #fff; position: relative; transition: transform .6s var(--ease-back);
}

.av-orange { background: linear-gradient(135deg, #EF7A2F, #F6A169); }
.av-teal { background: linear-gradient(135deg, #165F5A, #3F8D88); }
.av-coral { background: linear-gradient(135deg, #CE5C51, #E99079); }
.av-gold { background: linear-gradient(135deg, #E9A93A, #F4CF7B); }
.person h3 { font-size: 20px; margin-bottom: 8px; }
.person p { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin: 0; }
.divider-label { display: flex; align-items: center; gap: 24px; margin: clamp(48px, 6vw, 72px) 0 32px; font-size: 13px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; color: var(--teal); }
.divider-label::before, .divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Courses ---------- */
.badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--orange-50); border: 1px solid var(--peach); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge-pill svg { color: var(--orange); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.mini-stat { padding: 16px 22px; border: 1.5px solid var(--orange); border-radius: 14px; background: #fff; min-width: 108px; transition: transform .4s var(--ease), box-shadow .4s, background .3s; }
.mini-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.mini-stat strong { display: block; font: 600 32px/1 var(--f-display); color: var(--orange); }
.mini-stat span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.sun-photo { position: relative; display: grid; place-items: end center; }
.sun-photo::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: var(--sand); top: 6%; left: 6%; }
.sun-photo img { position: relative; width: 78%; }

/* Programmes block: heading, search and filters share the course list's 1080px column, with rounded sides */
.prog-shell { width: min(100% - 2 * var(--gutter), 1080px); margin-inline: auto; }
/* white band behind the heading; the filter bar overlaps its lower edge */
.prog-band { --gap: clamp(22px, 2.6vw, 32px);
  padding-block: 0; }
.prog-band .spark-title { margin: 0; }
.prog-band + .filter-bar { margin-top: var(--head-gap); }
#programmes-list { padding: clamp(24px, 2.6vw, 32px) 0 0; }
.search-box { display: flex; max-width: 520px; margin-inline: auto; background: #fff; border-radius: 12px; box-shadow: var(--shadow-md); overflow: hidden; transition: box-shadow .3s; }
.search-box:focus-within { box-shadow: 0 0 0 3px var(--peach), var(--shadow-md); }
.search-box input { flex: 1; border: 0; padding: 16px 22px; font-size: 17px; background: transparent; outline: none; min-width: 0; }
.search-box button { width: 62px; background: var(--orange); color: #fff; display: grid; place-items: center; transition: background .3s; }
.search-box button:hover { background: var(--orange-600); }
.filter-bar { background: var(--peach-200); border: 1.5px solid var(--orange); border-radius: 22px; padding: 12px; margin-top: 0; position: sticky; top: calc(var(--header-h) + 10px); z-index: 20; box-shadow: 0 12px 26px -16px rgba(74, 38, 12, .35); transition: top .35s var(--ease); }
.filter-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; }
/* search sits inside the filter bar as its first, widest item */
.filter-bar .search-box { flex: 1 1 260px; max-width: none; margin: 0; border-radius: 999px; box-shadow: 0 0 0 1px rgba(232, 105, 31, .15); }
.filter-bar .search-box:focus-within { box-shadow: 0 0 0 3px var(--peach); }
.filter-bar .search-box input { padding: 9px 4px 9px 20px; font-size: 15px; }
.filter-bar .search-box button { width: 40px; height: 40px; margin: 0 1px 0 0; border-radius: 999px; flex: none; align-self: center; }
.filter-bar .search-box button svg { width: 18px; height: 18px; }
@media (max-width: 1100px) {
  .filter-bar .search-box { flex-basis: 100%; }
  .filter-bar .search-box + .filter-sep { display: none; }
}
@media (max-width: 600px) {
  .filter-bar .filter-group:not(.fg-select) { flex-basis: 100%; justify-content: center; }
  .filter-bar .fg-select { flex: 1 1 40%; min-width: 0; }
  .filter-bar .fg-select .select, .filter-bar .fg-select select { width: 100%; min-width: 0; }
  .filter-bar .fg-select select { padding-left: 14px; padding-right: 32px; }
  .filter-bar .fg-select .select::after { right: 14px; }
}
.filter-group { display: flex; align-items: center; gap: 10px; }
.filter-group > label, .filter-group > span { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.filter-sep { width: 1.5px; height: 30px; background: var(--ink); opacity: .5; }
.seg { display: flex; gap: 8px; }
.seg button { padding: 7px 16px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: all .3s var(--ease); }
.seg button:hover { border-color: var(--orange); }
.seg button[aria-pressed="true"] { background: var(--orange); color: #fff; box-shadow: 0 6px 16px -6px rgba(232,105,31,.6); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; border: 0; background: #fff; border-radius: 999px; padding: 8px 42px 8px 18px; font-weight: 700; font-size: 15px; width: 184px; text-overflow: ellipsis; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

.results-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.results-meta b { color: var(--orange); }
.reset-link { font-weight: 800; color: var(--orange); font-size: 14px; }
.course-list { display: grid; gap: 22px; }
.course-card { padding: 26px 28px; display: block; position: relative; overflow: hidden; }
.course-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.course-card:hover::before { transform: scaleY(1); transform-origin: top; }
.course-card h3 { font-size: 26px; color: var(--ink); margin-bottom: 12px; transition: color .3s; }
.course-card:hover h3 { color: var(--orange); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.tag { font-size: 14px; font-weight: 700; padding: 5px 14px; border-radius: 999px; background: var(--sand-200); color: #C08A10; }
.tag.lvl { background: var(--orange-50); color: var(--orange-600); }
.course-card p { font-size: 17px; color: var(--text); margin-bottom: 14px; max-width: 90ch; }
.course-card.leaving { animation: card-out .3s var(--ease) forwards; }
.course-card.entering { animation: card-in .55s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes card-out { to { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.empty-state { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: var(--r-lg); }
.empty-state svg { margin: 0 auto 16px; color: var(--peach); }

/* presence map */
.presence { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; position: sticky; top: calc(var(--header-h) + 90px); }
.map-card .bar { height: 28px; background: var(--peach-200); }
.map-wrap { position: relative; padding: 24px; }
.map-inner { position: relative; }
.map-wrap img { width: 100%; }
.pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--orange-600); border: 2px solid #fff; transition: transform .35s var(--ease-back); cursor: pointer; }

@keyframes pin-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.pin.active { transform: scale(1.4); z-index: 2; }
.pin .pin-label { position: absolute; left: 50%; bottom: 150%; transform: translateX(-50%) translateY(6px); background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all .3s var(--ease); }
.pin.active .pin-label { opacity: 1; transform: translateX(-50%) translateY(0) scale(.6); }
.state-list { display: grid; gap: 10px; }
.state-list-head { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.state-list-head span { background: var(--orange-50); color: var(--orange); border-radius: 999px; padding: 2px 14px; }
.state { display: grid; grid-template-columns: 1fr auto; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: default; transition: all .35s var(--ease); }
.state strong { font-weight: 700; color: var(--ink); }
.state small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.state em { font-style: normal; color: var(--orange); font-weight: 800; font-size: 13px; }
.state:hover, .state.active { border-color: var(--orange); box-shadow: var(--shadow-sm); }

/* course detail */
.back-link { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--orange); margin-bottom: 26px; }
.back-link svg { transition: transform .35s var(--ease); }
.back-link:hover svg { transform: translateX(-6px); }
.detail-card { padding: clamp(24px, 4vw, 44px); }
.detail-card h1 { font-size: clamp(34px, 4vw, 48px); color: var(--ink); }
.label-caps { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin: 28px 0 12px; }
.detail-about { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.info-tile { background: var(--bg); border-radius: 14px; padding: 18px 24px; transition: transform .4s var(--ease), background .3s; }
.info-tile:hover { background: var(--orange-50); }
.info-tile span { display: block; font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8B8378; }
.info-tile strong { font-size: 22px; font-weight: 600; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--orange); }
.chip.loc { border-color: var(--orange); color: var(--orange); background: var(--orange-50); font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }
.detail-actions { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
.detail-actions .btn { padding-block: 20px; font-size: 18px; }

/* ---------- Resources ---------- */
/* background is the exact colour the hero photo was blended onto (#EEF5F0), so the photo has no visible edge */
.res-hero { position: relative; min-height: clamp(520px, 62vw, 720px); display: grid; place-items: center; text-align: center; overflow: hidden; background: #EEF5F0; }
.res-hero .mark { background-image: linear-gradient(#CFE7DA, #CFE7DA); }
/* the photo is split into its two groups, each anchored to its own edge, so the title always sits in the clear gap between them */
.res-hero .res-hero-photos img { position: absolute; bottom: 0; top: auto; left: auto; right: auto; transform: none; width: auto; max-width: none; height: clamp(400px, 34vw, 600px); }
.res-hero .res-hero-photos .rh-left { left: 0; }
.res-hero .res-hero-photos .rh-right { right: 0; }
.res-hero .copy { max-width: 500px; }
.res-hero img { position: absolute; bottom: 0; left: 50%; width: max(1560px, 112%); max-width: none; transform: translateX(-50%); will-change: transform; }
.res-hero .copy { position: relative; z-index: 2; max-width: 620px; padding: 40px var(--gutter) 160px; }
.res-hero h1 { font-size: clamp(26px, 2.8vw, 38px); }
.res-hero .copy::before { content: ""; position: absolute; z-index: -1; inset: -10% -14% 20%; background: radial-gradient(closest-side, rgba(238,245,240,.95), rgba(238,245,240,0)); pointer-events: none; }
/* narrower screens: the gap between the groups gets too small for the title, so the two groups sit side by side under the text */
@media (max-width: 1180px) {
  .res-hero { min-height: 0; display: flex; flex-direction: column; align-items: center; }
  .res-hero .copy { padding: clamp(40px, 6vw, 64px) var(--gutter) 12px; }
  .res-hero .res-hero-photos { order: 2; display: flex; justify-content: space-between; align-items: flex-end; width: 100%; }
  .res-hero .res-hero-photos img { position: static; height: auto; width: min(44%, 380px); }
}
.res-hero p { color: var(--ink); font-size: 19px; max-width: 460px; margin: 0 auto 28px; }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cap-card { padding: 30px; position: relative; overflow: hidden; }
.cap-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; bottom: -60px; background: var(--orange-50); transform: scale(0); transition: transform .7s var(--ease); z-index: 0; }

.cap-card > * { position: relative; z-index: 1; }
.cap-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cap-head i { width: 46px; height: 46px; border-radius: 10px; background: var(--orange); color: #fff; display: grid; place-items: center; flex: none; transition: transform .6s var(--ease-back); }

.cap-head h3 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); color: var(--orange-600); letter-spacing: .01em; text-transform: uppercase; font-weight: 600; }
.cap-card h4 { font-size: 19px; }
.cap-card p { color: var(--muted); font-size: 16px; margin: 0; }
.presence-band { text-align: center; padding-block: var(--sec); }
.presence-band h2 { font-size: clamp(30px, 3.6vw, 44px); }
.presence-band p { font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; max-width: 900px; margin: 0 auto; }
/* Annual reports: cover cards */
.ar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
@media (max-width: 1100px) { .ar-grid { grid-template-columns: repeat(3, 1fr); } }
.ar-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.ar-cover { display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #FDF8F1; border: 1px solid #F1E2CF; box-shadow: 0 14px 30px -18px rgba(60, 30, 10, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ar-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ar-card:hover .ar-cover, .ar-card:focus-visible .ar-cover { transform: translateY(-6px); box-shadow: 0 26px 44px -20px rgba(60, 30, 10, .5); }
.ar-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 2px 0; }
.ar-body strong { font: 600 19px/1.25 var(--f-display); color: var(--teal); }
.ar-sub { font-size: 14px; color: var(--text); line-height: 1.4; }
.ar-body small { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ar-go { color: var(--orange); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.ar-card:hover .ar-go svg { transform: translateX(3px); }
.ar-go svg { transition: transform .3s var(--ease); }
@media (max-width: 960px) { .ar-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } }
@media (max-width: 420px) { .ar-grid { gap: 24px 14px; } .ar-body strong { font-size: 16px; } }
.reports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.report { display: flex; align-items: center; gap: 16px; padding: 24px; background: #FDF8F1; border: 1px solid #F1E2CF; border-radius: 14px; transition: all .4s var(--ease); }
.report i { width: 46px; height: 46px; border-radius: 10px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; flex: none; transition: all .4s var(--ease); }
.report strong { display: block; color: var(--teal); font-size: 16px; }
.report small { color: var(--muted); }
.report:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #fff; }
.report:hover i { background: var(--orange); color: #fff; }

.lab { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.coverflow { position: relative; height: 340px; perspective: 1200px; }
.cf-item { position: absolute; top: 0; left: 50%; width: 56%; height: 300px; margin-left: -28%; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s; cursor: pointer; }
.cf-item img { width: 100%; height: 100%; object-fit: cover; }
.cf-item[data-pos="0"] { transform: translateX(0) translateZ(0); z-index: 3; }
.cf-item[data-pos="-1"] { transform: translateX(-52%) translateZ(-220px) rotateY(35deg); z-index: 2; filter: brightness(.9); }
.cf-item[data-pos="1"] { transform: translateX(52%) translateZ(-220px) rotateY(-35deg); z-index: 2; filter: brightness(.9); }
.cf-dots { position: absolute; bottom: 0; left: 0; right: 0; }
.lab-copy { position: relative; z-index: 4; }
.lab-copy .eyebrow::before { display: none; }
.lab-copy h2 { font-size: clamp(26px, 2.8vw, 34px); }

.fund-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center; }
.fund-collage { position: relative; aspect-ratio: 2; }
.fund-collage .c1 { position: absolute; left: 0; top: 0; width: 54%; aspect-ratio: 1; border-radius: 50%; background: var(--sand); }
.fund-collage .c2 { position: absolute; right: 0; top: 0; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--peach); }
.fund-collage img { position: absolute; bottom: 0; filter: grayscale(1); transition: filter .7s; }
.fund-collage:hover img { filter: none; }
.fund-collage .kids { left: 0; width: 58%; }
.fund-collage .boy { right: 2%; width: 48%; }
/* single ready-made collage image (circles and photos in one file) */
.fund-collage:has(.fund-photo) { aspect-ratio: auto; }
.fund-collage .fund-photo { position: static; display: block; width: 100%; height: auto; filter: none; }
.qr-card { background: #FDF6EC; border-radius: 30px; padding: 26px; text-align: center; }
.qr-card small { font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.qr-card .qr { background: #fff; border-radius: 10px; padding: 12px; margin: 14px auto 22px; width: 190px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

@keyframes scan { 0% { top: -30%; } 100% { top: 100%; } }

/* forms */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-family: var(--f-text); font-weight: 600; font-size: 18px; color: var(--teal); margin-bottom: 8px; }
.field label .req, .legend-label .req { color: var(--orange); }
.legend-label { font-family: var(--f-text); font-weight: 600; font-size: 18px; color: var(--teal); margin-bottom: 8px; padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid #DDD3C7; border-radius: 10px; padding: 14px 16px; background: #fff; font-size: 16px;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-50); }
.field.invalid input, .field.invalid textarea { border-color: #D33; animation: shake .4s; }
.field .err { display: none; color: #C22; font-size: 13px; font-weight: 700; margin-top: 6px; }
.field.invalid .err { display: block; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); margin-top: 3px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; animation: panel-in .6s var(--ease); }
.form-success .tick { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; animation: pop .6s var(--ease-back); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Saadhya ---------- */
.sa-hero { background: var(--orange); color: #fff; padding-block: var(--sec); overflow: hidden; position: relative; isolation: isolate; }
.sa-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(255,255,255,.12), transparent 60%), radial-gradient(40% 60% at 10% 100%, rgba(0,0,0,.12), transparent 60%); }
.sa-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 62px); }
.sa-hero p { color: rgba(255,255,255,.9); font-size: clamp(17px, 1.5vw, 21px); max-width: 560px; }
.label-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px; border-radius: 999px; background: rgba(255,255,255,.18); font-weight: 800; letter-spacing: .14em; font-size: clamp(12px, 1.2vw, 16px); text-transform: uppercase; margin-bottom: 26px; }
.label-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
@keyframes blink { 50% { opacity: .3; } }
.sa-photo { position: relative; aspect-ratio: 1; }
.sa-photo .disc { position: absolute; inset: 0; border-radius: 50%; background: #E9746C; overflow: hidden; }
.sa-photo img { position: absolute; bottom: 0; left: 0; width: 100%; filter: grayscale(1); border-radius: 0 0 50% 50% / 0 0 30% 30%; transition: filter .8s; }
.sa-photo:hover img { filter: grayscale(0); }
.glass-stats { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid rgba(255,255,255,.6); border-radius: 26px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.glass-stats div { padding: 26px clamp(18px, 3vw, 40px); }
.glass-stats div + div { border-left: 1px solid rgba(255,255,255,.3); }
.glass-stats strong { display: block; font: 600 clamp(36px, 4vw, 54px)/1.1 var(--f-display); }
.glass-stats span { font-size: 18px; color: rgba(255,255,255,.9); letter-spacing: .02em; }

.about-sa { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: center; }
.about-sa h2 { font-size: clamp(24px, 2.4vw, 30px); color: var(--orange-600); }
.about-sa p { font-size: 19px; color: var(--ink); text-align: justify; }
.philosophy { background: var(--orange); color: #fff; border-radius: 26px; padding: clamp(28px, 3.5vw, 44px); position: relative; overflow: hidden; }

.philosophy h3 { color: #fff; }
.philosophy p { color: rgba(255,255,255,.92); font-weight: 600; }
.philosophy blockquote { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.35); font: italic 600 19px/1.6 var(--f-text); }

.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.help-card { padding: 26px; background: #fff; border-radius: 20px; transition: transform .5s var(--ease), box-shadow .5s; }
.help-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.help-card i { width: 46px; height: 46px; border-radius: 12px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; margin-bottom: 22px; transition: all .5s var(--ease-back); }
.help-card:hover i { background: var(--orange); color: #fff; }
.help-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--ink); }
.help-card p { color: var(--muted); font-size: 15px; margin: 0; }

.serve-photo { position: relative; max-width: 900px; margin: 40px auto 0; }
.serve-photo::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 14%; border-radius: 300px 300px 0 0; background: var(--peach-200); }
.serve-photo img { position: relative; width: 100%; }
.cond-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px auto; max-width: 900px; }
.cond-chips li { padding: 9px 20px; border-radius: 999px; background: var(--peach-200); border: 1px solid #EBC5BA; color: var(--orange-600); font-weight: 800; font-size: 15px; transition: all .3s var(--ease); }
.cond-chips li:hover { background: var(--orange); color: #fff; }
.statement { max-width: 960px; margin-inline: auto; background: var(--peach-200); border: 1px solid #EBC5BA; border-radius: 20px; padding: clamp(24px, 3vw, 36px) clamp(24px, 5vw, 80px); text-align: center; }
.statement h3 { color: var(--orange-600); font-size: clamp(20px, 2vw, 26px); }
.statement p { margin: 0; color: var(--muted); font-size: 18px; }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.path-card { background: #fff; border-radius: 20px; padding: 26px; transition: transform .5s var(--ease), box-shadow .5s; position: relative; overflow: hidden; }
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.path-card .letter { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font: 600 17px var(--f-display); margin-bottom: 18px; transition: transform .6s var(--ease-back); }

.path-card .ages { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); }
.path-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; color: var(--ink); margin: 4px 0 8px; }
.path-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.path-card .big { display: none; position: absolute; right: -10px; bottom: -40px; font: 600 160px/1 var(--f-display); color: var(--orange-50); z-index: 0; pointer-events: none; transition: transform .8s var(--ease); }
.path-card:hover .big { transform: translateY(-14px); }
.path-card > *:not(.big) { position: relative; z-index: 1; }

.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.care-card { background: #fff; border-radius: 22px; padding: 24px 24px 22px; color: var(--text); display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.care-card:hover { transform: translateY(-3px); }
.care-card h3 { color: var(--orange-600) !important; font-size: 22px; }
.care-card p { font-size: 15.5px; color: var(--text); }
.care-card .ph { margin-top: auto; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; }
.care-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.care-card:hover .ph img { transform: scale(1.03); }

.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.story { background: var(--bg); border: 1px solid #F0DCD3; border-radius: 22px; padding: clamp(24px, 3vw, 34px); position: relative; }
.story-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.story-head .s-av { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font: 600 20px var(--f-display); flex: none; }
.story-head strong { display: block; font-size: 18px; color: var(--ink); }
.story-head small { color: var(--orange-600); font-weight: 800; }
.story p { color: var(--muted); font-size: 16px; }
.story .more { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.story .more > div { min-height: 0; }
.story.open .more { grid-template-rows: 1fr; }
.story .toggle { font-weight: 800; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
.story .toggle svg { transition: transform .4s var(--ease); }
.story.open .toggle svg { transform: rotate(180deg); }
.story .timeline { display: none; gap: 8px; margin-top: 8px; margin-bottom: 18px; }
.story .timeline span { flex: 1; height: 4px; border-radius: 4px; background: var(--peach-200); position: relative; overflow: hidden; }
.story .timeline span::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.story.is-in .timeline span::after { transform: scaleX(1); }
.story.is-in .timeline span:nth-child(2)::after { transition-delay: .4s; }
.story.is-in .timeline span:nth-child(3)::after { transition-delay: .8s; }

.act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.act-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #F0DCD3; transition: transform .5s var(--ease), box-shadow .5s; }
.act-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.act-card .top { height: 140px; display: grid; place-items: center; background: linear-gradient(135deg, var(--peach-200), #EFD3C7); color: var(--orange); }
.act-card .top svg { width: 40px; height: 40px; transition: transform .7s var(--ease-back); }

.act-card .body { padding: 22px 24px; }
.act-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--ink); }
.act-card p { color: var(--muted); font-size: 15.5px; margin: 0; }

.split-cta { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--orange); color: #fff; position: relative; }
.split-cta .txt { padding: clamp(40px, 5vw, 60px) clamp(24px, 4vw, 60px); text-align: center; }
.split-cta h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); }
.split-cta p { color: rgba(255,255,255,.9); font-size: 19px; }
.split-cta .pic { position: relative; background: #fff; margin: -30px 4% -30px 0; padding: 12px; border-radius: 22px; box-shadow: var(--shadow-lg); }
.split-cta .pic img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: 50% 40%; border-radius: 14px; }

/* ---------- Donate ---------- */
.dn-hero { background: var(--orange); color: #fff; padding: clamp(48px, 6vw, 80px) 0 clamp(120px, 12vw, 160px); position: relative; isolation: isolate; overflow: hidden; }
.dn-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 90% at 90% 10%, rgba(255,255,255,.14), transparent 60%), linear-gradient(160deg, transparent 40%, rgba(80,15,10,.35)); }
.dn-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; }
.dn-hero p { color: rgba(255,255,255,.92); font-size: clamp(18px, 1.6vw, 22px); max-width: 500px; line-height: 1.4; }
.note-box { margin-top: 24px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); border-radius: 14px; padding: 16px 20px; font-weight: 700; max-width: 500px; }
.photo-card { border: 1.5px solid rgba(255,255,255,.35); border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); padding: 0 0 18px; box-shadow: 0 30px 60px -30px rgba(40,0,0,.45); overflow: hidden; }
.photo-card img { width: 100%; margin-top: -40px; }
.photo-card .cap { margin: 10px 18px 0; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.18); font-size: 14px; font-weight: 700; }
.pledge { position: relative; z-index: 2; margin-top: calc(-1 * clamp(70px, 8vw, 100px)); background: #fff; border-radius: 24px; box-shadow: 0 30px 70px -30px rgba(60,10,5,.35); display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 60px); }
.pledge strong { font: 600 clamp(44px, 5vw, 64px)/1 var(--f-display); color: var(--orange); }
.pledge > div:first-child span { display: block; color: var(--muted); font-size: 18px; margin-top: 8px; }
.pledge > div + div { border-left: 1px solid var(--line); padding-left: clamp(24px, 5vw, 70px); font-size: clamp(18px, 1.6vw, 21px); color: var(--ink); }
.pledge b { color: var(--orange-600); }

.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.calc-left { padding: clamp(26px, 4vw, 48px); }
.calc-right { background: linear-gradient(160deg, var(--orange), var(--orange-600)); color: #fff; padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.calc-right::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255,255,255,.08); right: -120px; bottom: -120px; }
.freq { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; margin-bottom: 22px; position: relative; }
.freq button { position: relative; z-index: 1; padding: 9px 22px; border-radius: 999px; font-weight: 800; font-size: 14px; transition: color .3s; }
.freq button[aria-pressed="true"] { color: #fff; }
.freq .slider { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--orange); transition: transform .45s var(--ease), width .45s var(--ease); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amount-grid button { padding: 16px 8px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 800; font-size: 18px; color: var(--ink); background: #fff; transition: all .3s var(--ease); }
.amount-grid button:hover { border-color: var(--orange); }
.amount-grid button[aria-pressed="true"] { background: var(--orange-50); border-color: var(--orange); color: var(--orange-600); box-shadow: 0 8px 20px -10px rgba(194,84,78,.6); }
.custom-amt { display: flex; align-items: center; margin-top: 14px; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .3s; }
.custom-amt:focus-within { border-color: var(--orange); }
.custom-amt span { padding: 0 6px 0 18px; font-weight: 800; color: var(--muted); }
.custom-amt input { border: 0; outline: none; padding: 15px 12px; font-size: 18px; font-weight: 700; width: 100%; }
.range { width: 100%; margin-top: 22px; accent-color: var(--orange); }
.impact-amt { font: 600 clamp(44px, 5vw, 64px)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.impact-text { font-size: 19px; line-height: 1.5; margin: 14px 0 24px; min-height: 3em; }
.impact-text b { background: rgba(255,255,255,.2); padding: 0 6px; border-radius: 6px; }
.impact-bars { display: grid; gap: 10px; margin-bottom: 26px; }
.impact-bar { font-size: 13px; font-weight: 700; }
.impact-bar .track { height: 6px; border-radius: 6px; background: rgba(255,255,255,.2); margin-top: 6px; overflow: hidden; }
.impact-bar .fill { height: 100%; background: #fff; border-radius: 6px; width: 0; transition: width .8s var(--ease); }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.tier { position: relative; background: #fff; border: 1px solid #EFDCD3; border-radius: 22px; padding: 28px 24px 24px; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--peach); }
.tier h3 { font-size: 20px; color: var(--ink); }
.tier .price { font: 600 clamp(30px, 3vw, 38px)/1 var(--f-display); color: var(--orange); }
.tier .per { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 8px 0 20px; }
.tier ul { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; color: var(--text); line-height: 1.45; }
.tier li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--orange); margin-top: 5px; transition: background .3s; }
.tier:hover li::before { background: var(--orange-50); }
.tier.featured { border: 1.5px solid var(--orange); background: linear-gradient(180deg, #FFF6F3, #fff 40%); box-shadow: var(--shadow-md); }
.tier .flag { position: absolute; top: -14px; left: 24px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; }

.doc-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.doc-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 10px 20px -10px rgba(120,30,20,.6); transition: all .35s var(--ease); }
.doc-pills a:hover { transform: translateY(-2px); background: var(--orange-600); }

.secure-card { max-width: 680px; margin-inline: auto; background: #fff; border: 1.5px dashed #EBC5BA; border-radius: 24px; padding: clamp(28px, 4vw, 48px); text-align: center; }
.secure-card i { width: 56px; height: 56px; border-radius: 14px; background: var(--peach-200); color: var(--orange); display: grid; place-items: center; margin: 0 auto 18px; }
.secure-card h3 { color: var(--orange-600); }
.secure-card p { color: var(--muted); max-width: 440px; margin: 0 auto 20px; }
.pay-icons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pay-icons span { font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 7px 14px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.platforms { text-align: center; margin-top: 50px; }
.platforms small { font-weight: 800; letter-spacing: .16em; color: var(--orange-600); }
.platforms img { width: 300px; margin: 18px auto 0; transition: transform .4s var(--ease); }


/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(28, 16, 10, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 38px); box-shadow: 0 40px 80px -20px rgba(0,0,0,.4); transform: translateY(30px) scale(.96); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.modal.open .modal-dialog { transform: none; opacity: 1; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: transform .3s var(--ease), background .3s; }
.modal-close:hover { background: var(--orange-50); }
.modal h2 { font-size: 28px; padding-right: 40px; }
.summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: var(--orange-50); border-radius: 14px; margin-bottom: 22px; }
.summary strong { font: 600 28px var(--f-display); color: var(--orange); }
.notice { padding: 14px 16px; border-radius: 12px; background: var(--sand-200); font-size: 14px; color: var(--ink); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 600; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .help-grid, .people-grid { grid-template-columns: 1fr 1fr; }
  .social-card.video, .social-card.feature { grid-column: span 12; }
  .social-card.post { grid-column: span 6; }
  .social-card.post:last-child { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .hero-grid, .wwa-grid, .split-hero, .venn-wrap, .about-sa, .presence, .lab, .fund-grid, .calc, .give-cta, .theme-panel, .split-cta { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero { text-align: left; }
  .stats-card { grid-template-columns: 1fr; padding: 10px 20px; }
  .stat { justify-content: flex-start; padding: 18px 6px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .wwa-grid .collage { order: 2; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar::before { left: 10%; right: 10%; top: 0; bottom: auto; width: auto; height: 1px; }
  .path-grid, .care-grid, .reports { grid-template-columns: 1fr; }
  .stories, .act-grid, .cap-grid { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr; gap: 40px; }
  .footer-card { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; order: -1; align-items: center; }
  .footer-brand p { text-align: center; }
  .map-card { position: relative; top: 0; }
  .round-photo, .sun-photo, .sa-photo { max-width: 420px; margin-inline: auto; width: 100%; }
  .split-cta .pic { margin: 0 var(--gutter) 30px; }
  .pledge { grid-template-columns: 1fr; gap: 18px; }
  .pledge > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .detail-actions { grid-template-columns: 1fr; }
  .glass-stats strong { font-size: 34px; }
  .glass-stats span { font-size: 14px; }
  .filter-bar { position: relative; top: 0; }
  .filter-sep { display: none; }
  .theme-panel figure { min-height: 260px; }
  .res-hero .copy { padding-bottom: 46vw; }
  .coverflow { height: 300px; }
  .cf-item { height: 250px; }
}
@media (max-width: 560px) {
  .tiers, .help-grid, .people-grid { grid-template-columns: 1fr; }
  .info-grid, .form-row { grid-template-columns: 1fr; }
  .social-card.post { grid-column: span 12; }
  .glass-stats { grid-template-columns: 1fr; }
  .glass-stats div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.3); }
  .footer-card { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .give-cta .amounts { grid-template-columns: 1fr 1fr 1fr; }
  .tabs button { padding: 10px 20px; font-size: 15px; }
  .float-chip { display: none; }
  .burst { margin-left: 30px; }
  .burst > svg { left: -30px; top: -30px; width: 32px; height: 32px; }
  .filter-group { flex-wrap: wrap; justify-content: center; }
  .socials a { width: 50px; height: 50px; }
  .spark { width: 34px; height: 34px; }
  .spark-title { gap: 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* ---------- Vision & Mission page ---------- */
.vm-jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.vm-photo { position: relative; }
.vm-photo::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; border-radius: var(--r-xl); background: var(--peach-200); z-index: -1; }
.vm-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.vm-hero .split-hero { isolation: isolate; }

.vm-statements { padding-top: clamp(24px, 4vw, 48px); }
.vm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 32px); }
.vm-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl);
  padding: clamp(30px, 4.5vw, 56px); color: #fff; scroll-margin-top: calc(var(--header-h) + 24px);
}
.vm-card::after { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; right: -110px; top: -130px; border-radius: 50%; border: 56px solid rgba(255,255,255,.07); }
.vm-vision { background: radial-gradient(120% 140% at 0% 0%, var(--orange) 0%, var(--orange-600) 55%, #A8460F 100%); }
.vm-mission { background: radial-gradient(120% 140% at 0% 0%, var(--teal-600) 0%, var(--teal) 60%, #0A3634 100%); }
.vm-card h2 { color: #fff; font-size: clamp(15px, 1.2vw, 17px); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 22px 0 14px; opacity: .9; }
.vm-card p { margin: 0; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.4; font-weight: 600; color: #fff; letter-spacing: -.005em; }
.vm-mission p { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; font-weight: 500; }
.vm-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff; }
.vm-ico svg { width: 26px; height: 26px; }
.vm-card:target { box-shadow: 0 0 0 4px rgba(232,105,31,.25), var(--shadow-lg); }

.vm-head { margin-bottom: clamp(32px, 5vw, 56px); }
.vm-how { background: #fff; }
/* How we work: three open columns split by thin rules, each led by a solid orange / yellow icon tile */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); }
.principle { position: relative; padding: clamp(8px, 1.4vw, 16px) clamp(20px, 3vw, 44px); }
.principle + .principle::before { content: ""; position: absolute; left: 0; top: 4%; bottom: 10%; width: 1px; background: var(--line); }
.principle h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(19px, 1.7vw, 22px); color: var(--ink); margin: 22px 0 10px; }
.principle p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.pr-ico { width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center; background: var(--gold); color: #fff; box-shadow: 0 10px 22px -12px rgba(207, 85, 18, .7); transition: transform .5s var(--ease-back); }
.principle:nth-child(2) .pr-ico { background: var(--orange); }
.principle:hover .pr-ico { transform: translateY(-3px) rotate(-4deg); }
.pr-ico svg { width: 26px; height: 26px; }

.focus { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.focus + .focus { margin-top: clamp(56px, 8vw, 104px); }
.focus:nth-of-type(even) .focus-media { order: 2; }
.focus-media { position: relative; }
.focus-media::before { content: ""; position: absolute; inset: 7% 7% -6% -5%; border-radius: var(--r-xl); background: var(--sand-200); z-index: -1; }
.focus:nth-of-type(even) .focus-media::before { inset: 7% -5% -6% 7%; background: var(--peach-200); }
.focus-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.focus-num { display: inline-block; font-size: 15px; font-weight: 800; letter-spacing: .14em; color: var(--orange); padding: 6px 14px; border-radius: 999px; background: var(--orange-50); }
.focus-body h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; color: var(--teal); margin: 16px 0 14px; }
.focus-body p { color: var(--text); }
.impact { margin: 22px 0; padding: 18px 20px 18px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); box-shadow: var(--shadow-sm); color: var(--ink) !important; font-size: 16px; line-height: 1.6; }
.impact-label { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.impact-label svg { width: 16px; height: 16px; }

.vm-cta-wrap { padding-top: 0; }
.vm-cta-actions { display: grid; gap: 12px; }

@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
  .principle { padding: 26px 4px; }
  .principle + .principle::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
}
@media (max-width: 860px) {
  .vm-pair { grid-template-columns: 1fr; }
  .focus { grid-template-columns: 1fr; }
  .focus:nth-of-type(even) .focus-media { order: 0; }
  .vm-photo { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .principles { grid-template-columns: 1fr; }
  .principle:last-child { grid-column: auto; }
  .vm-jump .btn { flex: 1 1 0; }
}

/* =========================================================
   Responsive & device polish
   ========================================================= */
/* never allow sideways panning (iOS Safari ignores overflow on body alone) */
html, body { overflow-x: clip; }
.t-carousel, .venn-wrap, .coverflow, .marquee { overflow-x: clip; }
.mobile-menu { overflow-y: auto; overscroll-behavior: contain; }

/* notched phones: keep fixed UI clear of rounded corners and the home bar */
@supports (padding: max(0px)) {
  .site-header .container { padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right)); }
  .to-top { right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); }
  .mobile-menu { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
}

/* comfortable tap targets (at least ~40px) without changing the look */
.dots button { position: relative; width: 32px; height: 32px; background: none; border-radius: 0; }
.dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 4px; border-radius: 4px; background: var(--line); transform: translate(-50%, -50%); transition: width .5s var(--ease), background .3s; }
.dots button.active { width: 44px; background: none; }
.dots button.active::before { width: 36px; background: var(--orange); }
.dots { gap: 0; }
.footer-card a { display: inline-block; padding: 7px 0 4px; }
.header-cta .contact-link { padding: 10px 4px; }
.story .toggle { padding-block: 10px; }

/* range slider: bigger, easier thumb on touch screens */
.range { -webkit-appearance: none; appearance: none; height: 36px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--orange) var(--fill, 0%), var(--line) var(--fill, 0%)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--orange); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(232,105,31,.25); }

/* minimum readable size for small labels */
.t-person small, .tier .flag { font-size: 12px; }
@media (max-width: 860px) {
  .hero-eyebrow { font-size: 12px; }
}

/* phones held sideways and other short screens: keep the hero copy on screen */
@media (max-height: 520px) and (orientation: landscape) {
  .hero-slides { min-height: 0; height: 100vh; height: 100svh; }
  .hero-content { padding-top: 64px; padding-bottom: 18px; }
  .hero-eyebrow { display: none; }
  .hero-slides h1 { font-size: clamp(26px, 4.6vw, 40px); margin-bottom: 16px; white-space: nowrap; max-width: none; }
  .mobile-menu a { font-size: 24px; }
}

/* touch screens: no sticky hover lifts after a tap */
@media (hover: none) {
  .btn:hover, .card:hover, .social-card:hover, .tier:hover, .course-card:hover { transform: none; }
}

/* very large screens: let the content breathe a little more */
@media (min-width: 1680px) {
  body { font-size: 18px; }
}

/* ---------- Training-centre finder (Courses page) ---------- */
.cmap { position: relative; aspect-ratio: 1000 / 1075; max-height: calc(100svh - var(--header-h) - 190px); min-height: 420px; width: 100%; background: #F3EEE6; z-index: 0; }
.cmap-fallback { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.cmap.is-live { background: #EDE8E0; }
.cmap .leaflet-container, .cmap.leaflet-container { font: inherit; }
.cmap .cmap-tiles { filter: grayscale(.85) sepia(.18) brightness(1.04) contrast(.92); }
.cmap-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 12px 18px; background: var(--peach-200); font-size: 13px; font-weight: 700; color: var(--ink); }
.cmap-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.lg-active { background: var(--orange-600); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--orange-600); }
.lg-soon { background: #fff; border: 3px solid var(--gold); }
.cmap-reset { margin-left: auto; min-height: 32px; padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--orange-600); font-weight: 800; font-size: 13px; border: 1.5px solid var(--orange); cursor: pointer; }
.cmap-reset:hover { background: var(--orange); color: #fff; }

.cpin { background: none; border: 0; }
.cpin i { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--orange-600); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); transition: transform .25s var(--ease); }
.cpin.is-soon i { background: #fff; border-color: var(--gold); border-width: 4px; }
.cpin:hover i, .cpin:focus i { transform: scale(1.3); }
.cclust { background: none; }
.cclust span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 14px; border: 3px solid #fff; box-shadow: 0 0 0 5px rgba(232,105,31,.28), 0 4px 12px rgba(0,0,0,.25); }
.cmap .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,.18)); }
.cmap .leaflet-popup-content { margin: 16px 18px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.cpop strong { display: block; font-size: 17px; font-weight: 800; }
.cpop-where { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.cpop p { margin: 8px 0; color: var(--muted); font-size: 13px; }
.cpop .cbadge { margin: 2px 0 4px; }
.cpop-links { display: flex; gap: 14px; margin-top: 10px; }
.cmap .cpop-links a { color: var(--orange-600); font-weight: 800; }
.cmap .leaflet-control-zoom a { width: 34px; height: 34px; line-height: 32px; color: var(--ink); }
.cmap .leaflet-control-attribution { font-size: 10px; }

.centre-panel { min-width: 0; }
.centre-tools { display: grid; gap: 12px; margin: 6px 0 10px; }
.centre-search input { width: 100%; min-height: 48px; padding: 12px 18px 12px 46px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%238B8378' stroke-width='2.2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 18px 50%; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .25s; }
.centre-search input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-50); }
.centre-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.centre-filter button { min-height: 36px; padding: 6px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: all .25s var(--ease); }
.centre-filter button:hover { border-color: var(--orange); }
.centre-filter button.is-on { background: var(--orange); border-color: var(--orange); color: #fff; }
.centre-count { min-height: 1.2em; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.centre-count:empty { display: none; }
.centre-list { display: grid; gap: 10px; max-height: calc(100svh - var(--header-h) - 60px); overflow-y: auto; overscroll-behavior: contain; padding: 2px 6px 2px 2px; scrollbar-width: thin; }
.centre-empty { padding: 20px; background: #fff; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); }

.cstate { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .3s, box-shadow .3s; }
.cstate:hover, .cstate[open] { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.cstate summary { display: grid; grid-template-columns: 1fr auto 20px; gap: 0 10px; align-items: center; padding: 14px 18px; cursor: pointer; list-style: none; }
.cstate summary::-webkit-details-marker { display: none; }
.cstate summary::after { content: ""; grid-column: 3; grid-row: 1; width: 9px; height: 9px; border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); justify-self: center; }
.cstate[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.cstate summary strong { font-weight: 700; color: var(--ink); font-size: 17px; }
.cstate summary em { font-style: normal; color: var(--orange); font-weight: 800; font-size: 13px; }
.cstate summary small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.cstate[open] summary small { display: none; }
.centres { list-style: none; margin: 0; padding: 0 12px 12px; display: grid; gap: 8px; }
.centre { padding: 14px 16px; border-radius: 10px; background: var(--bg, #FBF7F2); }
.centre-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.centre-top strong { font-weight: 800; color: var(--ink); }
.centre > small { display: block; color: var(--muted); font-size: 13px; }
.caddr { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink); opacity: .82; }
.cbadge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #FDF1D8; color: #8A5A00; font-size: 12px; font-weight: 800; }
.cbadge--n { background: var(--orange-50); color: var(--orange-600); }
.ctags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.ctags li { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink); }
.ctags li.more { color: var(--orange-600); border-color: transparent; background: var(--orange-50); }
.cactions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.cactions a, .cactions button { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font: inherit; font-size: 14px; font-weight: 800; color: var(--orange-600); background: none; border: 0; padding: 0; cursor: pointer; }
.cactions a:hover, .cactions button:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .cmap { aspect-ratio: auto; height: min(70svh, 520px); min-height: 360px; max-height: none; }
  .centre-list { max-height: 70svh; }
}
@media (max-width: 560px) {
  .cmap { height: 62svh; }
  .cmap-legend { gap: 6px 14px; padding: 10px 14px; }
  .cmap-reset { margin-left: 0; }
  .cstate summary { padding: 12px 14px; }
  .centres { padding: 0 8px 8px; }
}

/* ---------- Course data additions ---------- */
.tag.nsdc { background: #E6F1EF; color: var(--teal); }
.course-meta { margin: -4px 0 14px; font-size: 14px; font-weight: 700; color: var(--teal); }
.course-more { display: flex; justify-content: center; margin-top: 28px; }
.course-more:empty { display: none; }
.outcomes { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink); font-size: 17px; line-height: 1.55; }
.outcomes li::marker { color: var(--orange); }
.loc-note { list-style: none; padding: 14px 18px; border-radius: 12px; background: var(--orange-50); color: var(--ink); font-weight: 600; line-height: 1.5; }
.course-centres { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.course-centres summary { padding: 14px 18px; cursor: pointer; font-weight: 800; color: var(--orange-600); }
.course-centres ul { list-style: none; margin: 0; padding: 0 12px 12px; display: grid; gap: 8px; max-height: 460px; overflow-y: auto; }
.course-centres li { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 14px; background: #fff; border-radius: 10px; }
.course-centres li strong { color: var(--ink); }
.course-centres li small { display: block; color: var(--muted); font-size: 13px; }
.course-centres li p { margin: 4px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.course-centres li a { flex: none; font-weight: 800; font-size: 14px; color: var(--orange-600); min-height: 32px; display: inline-flex; align-items: center; }
@media (max-width: 560px) {
  .course-centres li { flex-direction: column; gap: 4px; }
  .outcomes { font-size: 16px; }
}
@media (max-width: 560px) {
  .info-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .info-tile { padding: 14px 16px; }
  .info-tile span { font-size: 12px; letter-spacing: .06em; }
  .info-tile strong { font-size: 17px; line-height: 1.35; display: block; margin-top: 2px; }
}

/* ---------- Courses hero: SAMBHAV photo wordmark ----------
   Each letter is cut out on its own (assets/img/sambhav-letters.webp holds the seven side by side),
   so a letter never clips a neighbour's hat, and its shadow follows its own shape.
   -t (tablet) and -m (phone) are smaller copies of the same image.
   Once the letters have risen, a soft light passes across the word a single time. */
.courses-hero { padding-top: clamp(36px, 5vw, 72px); text-align: center; }
.faces-wrap { width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; }
.faces { --img: url(../assets/img/sambhav-letters.webp?v=2); --shadow: drop-shadow(0 16px 20px rgba(74, 38, 12, .27)) drop-shadow(0 3px 5px rgba(74, 38, 12, .225));
  position: relative; isolation: isolate; margin: clamp(4px, 1.2vw, 14px) auto 0; aspect-ratio: 3502 / 606; }
/* a warm halo behind the word lifts it off the page */
.faces::before { content: ""; position: absolute; inset: -8% 4% -14%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(246, 170, 120, .30), rgba(246, 170, 120, .10) 55%, transparent 72%);
  opacity: 0; transition: opacity 1.4s var(--ease) .3s; }
.faces.is-in::before { opacity: 1; }
/* the light sweep, cut to each letter's own shape */
.faces span::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-mask: var(--img) no-repeat var(--bp) 0 / var(--bs) 100%; mask: var(--img) no-repeat var(--bp) 0 / var(--bs) 100%; }
.faces.is-in span::after { animation: faces-sweep 1s var(--ease) forwards; animation-delay: calc(1.3s + var(--i) * 110ms); }
@keyframes faces-sweep { to { background-position: 0% 0; } }
.faces span {
  position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w);
  background: var(--img) no-repeat; background-size: var(--bs) 100%; background-position: var(--bp) 0;
  filter: var(--shadow);
  opacity: 0; transform: translate3d(0, 26%, 0);
  transition: opacity .8s var(--ease), transform 1s var(--ease), filter .35s var(--ease);
  transition-delay: calc(var(--i) * 90ms);
}
.faces.is-in span { opacity: 1; transform: none; }
@media (hover: hover) {
  .faces.is-in span:hover { transform: translate3d(0, -5%, 0); transition-delay: 0s; transition-duration: .35s;
    filter: drop-shadow(0 25px 25px rgba(74, 38, 12, .315)) drop-shadow(0 5px 7px rgba(74, 38, 12, .225)); }
}
.faces-cap { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto -6px;
  font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.faces-cap::before, .faces-cap::after { content: ""; height: 1px; flex: 1; max-width: 120px; background: linear-gradient(90deg, transparent, var(--orange)); }
.faces-cap::after { transform: scaleX(-1); }
.faces-badge { margin-top: clamp(22px, 2.6vw, 30px); }
.courses-hero-text { margin-top: clamp(18px, 2.4vw, 28px); }
.courses-hero-text .mini-stats { justify-content: center; margin-top: clamp(20px, 2.4vw, 26px); }
@media (max-width: 1000px) { .faces { --img: url(../assets/img/sambhav-letters-t.webp?v=2); } }
@media (max-width: 600px) {
  .faces { --img: url(../assets/img/sambhav-letters-m.webp?v=2); --shadow: drop-shadow(0 7px 9px rgba(74, 38, 12, .27)) drop-shadow(0 2px 3px rgba(74, 38, 12, .2)); }
  .courses-hero-text .mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .courses-hero-text .mini-stat { min-width: 0; padding: 14px 8px; }
  .courses-hero-text .mini-stat span { font-size: 11.5px; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) { .faces span { opacity: 1; transform: none; transition: none; } .faces span::after { display: none; } .faces::before { opacity: 1; transition: none; } }

@media (max-width: 600px) { .footer-bottom { padding-bottom: 84px; } } /* room for the back-to-top button */

/* ---------- Donate page: donation form panel ---------- */
.give-summary { justify-content: flex-start; }
.give-kicker { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: 12px; }
.give-summary .impact-text { min-height: 0; margin: 12px 0 26px; font-weight: 700; }
.give-steps { list-style: none; counter-reset: step; padding: 22px 0 0; margin: 0 0 26px; border-top: 1px solid rgba(255,255,255,.25); display: grid; gap: 14px; position: relative; z-index: 1; }
.give-steps li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.45; }
.give-steps li::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.give-steps b { background: rgba(255,255,255,.22); padding: 1px 7px; border-radius: 6px; white-space: nowrap; }
.give-pay { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.give-pay span { font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
#give .form-success h3 { color: var(--ink); margin-bottom: 10px; }
#give .form-success p { color: var(--muted); margin: 0 auto 20px; max-width: 420px; }
@media (max-width: 860px) { #give .give-summary { order: -1; } }
@media (max-width: 560px) { #give .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer: social icons centred in their circles, row centred under the logo ---------- */
/* logo + icons sized to roughly match the height of the link columns beside them */
.footer-card { --brand-w: clamp(215px, 27vw, 365px); --soc: clamp(48px, 4.8vw, 63px); }
.footer-brand { justify-content: flex-start; gap: clamp(16px, 1.7vw, 24px); }
.footer-card .footer-brand img { width: var(--brand-w); height: auto; margin-top: -14px; }
.footer-card .socials { width: var(--brand-w); justify-content: center; gap: clamp(14px, 1.6vw, 22px); }
.footer-card .socials a { display: grid; place-items: center; width: var(--soc); height: var(--soc); padding: 0; line-height: 0; }
.footer-card .socials svg { display: block; width: calc(var(--soc) * .42); height: calc(var(--soc) * .42); }

/* ---------- Header: Resources dropdown ---------- */
/* every top-level tab uses the same flex box so "Resources ⌄" sits on the same line as the others */
.nav > ul { align-items: center; }
.nav > ul > li { display: flex; align-items: center; }
.nav > ul > li > a { display: block; line-height: inherit; }
.nav .has-sub { position: relative; gap: 4px; }
.nav .sub-toggle { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; color: var(--ink); transition: color .25s, transform .3s var(--ease); }
.nav .sub-toggle:hover, .nav .has-sub.hover .sub-toggle { color: var(--orange); }
.nav .has-sub.open .sub-toggle, .nav .has-sub.hover .sub-toggle { transform: rotate(180deg); }
.nav .sub-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.has-hero:not(.menu-open) .site-header:not(.scrolled) .nav .sub-toggle { color: #fff; }
.nav .subnav {
  position: absolute; top: calc(100% + 12px); left: 50%; z-index: 20;
  display: grid; gap: 2px; min-width: 200px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.nav .subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.nav .has-sub.hover .subnav, .nav .has-sub.open .subnav, .nav .has-sub:has(.subnav a:focus-visible) .subnav {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .3s var(--ease);
}
/* !important: the white panel must keep dark text even over the homepage's transparent (white-text) header */
.site-header .nav .subnav a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 15px; white-space: nowrap; color: var(--ink) !important; opacity: 1 !important; }
.site-header .nav .subnav a::after { display: none; }
.site-header .nav .subnav a:hover, .site-header .nav .subnav a:focus-visible { background: var(--orange-50); color: var(--orange) !important; outline: none; }

/* phone menu: Resources sections listed under Resources */
.mobile-menu { overflow-y: auto; }
.mobile-menu .mm-sub { display: flex; flex-direction: column; margin: -2px 0 6px 4px; padding-left: 16px; border-left: 2px solid var(--line); }
.mobile-menu .mm-sub a { font-size: 20px; padding: 4px 0; }

/* Testimonial cards: photo avatars; name row pinned to the bottom so cards of different lengths line up */
.t-card { display: flex; flex-direction: column; }
.t-card blockquote { margin: 0; }
.t-card .t-person { margin-top: auto; padding-top: 18px; }
.t-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; background: var(--orange-50); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--peach-200); }
.t-person small { display: block; line-height: 1.5; margin-top: 2px; }

/* Homepage: four impact numbers in one row (icon above figure) */
.stats-card.stats-4 { grid-template-columns: repeat(4, 1fr); padding: 30px 10px; }
.stats-4 .stat { flex-direction: column; text-align: center; gap: 12px; padding: 4px 12px; }
.stats-4 .stat > div > span { display: block; font-size: 14.5px; line-height: 1.35; margin-top: 6px; }
@media (max-width: 860px) {
  .stats-card.stats-4 { grid-template-columns: 1fr; padding: 10px 20px; }
  .stats-4 .stat { flex-direction: row; text-align: left; gap: 18px; padding: 16px 6px; }
  .stats-4 .stat > div > span { margin-top: 2px; }
}

/* About: Our story points in the "pillar" style, two on top and two below */
.pillars.pillars-2x2 { grid-template-columns: repeat(2, 1fr); margin-top: clamp(8px, 2vw, 24px); }
@media (min-width: 861px) {
  .pillars-2x2 .pillar + .pillar::before { display: none; }
  .pillars-2x2 .pillar:nth-child(even)::before { content: ""; display: block; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: var(--line); }
  .pillars-2x2 .pillar:nth-child(n+3)::after { content: ""; position: absolute; top: 0; left: clamp(20px, 3vw, 44px); right: clamp(20px, 3vw, 44px); height: 1px; background: var(--line); }
}
@media (max-width: 860px) { .pillars.pillars-2x2 { grid-template-columns: 1fr; } }

/* Our story (2 x 2 numbered cards) and the people rows (About page) */
.story-steps { grid-template-columns: repeat(2, 1fr); }
.story-steps .principle, .story-steps .principle:nth-child(4) { grid-column: auto; }
.story-steps .principle h3 { margin-top: 16px; }
.vm-head .lead { margin: 14px auto 0; max-width: 820px; }
/* people rows: one line of compact cards; 5 visible on desktop, the rest scroll sideways */
.people-rail { position: relative; --per-row: 4.4; --gap: 18px; } /* a part-card shows at the edge, so both rows scroll */
.people-center {
  display: flex; flex-wrap: nowrap; gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  padding: 18px 12px 28px; margin: -18px -12px -28px; /* room for card shadows and the enlarged centre card inside the scroller */
  scrollbar-width: none;
}
.people-center::-webkit-scrollbar { display: none; }
@media (hover: none) { .people-center { scroll-snap-type: x proximity; } } /* swipes settle on a card on touch screens */
.people-center > .person { flex: 0 0 calc((100% - (var(--per-row) - 1) * var(--gap)) / var(--per-row)); scroll-snap-align: start; padding: 26px 12px 22px; }
.people-center > .person:first-child { margin-left: auto; }  /* centres a row that fits, */
.people-center > .person:last-child { margin-right: auto; }  /* without breaking scrolling when it doesn't */
.people-center .person .avatar { width: 100px; height: 100px; font-size: 26px; margin-bottom: 18px; transition: box-shadow .45s var(--ease); }
.people-center .person h3 { font-size: 18px; margin-bottom: 7px; white-space: nowrap; }
.people-center .person p { font-size: 11px; letter-spacing: .13em; line-height: 1.5; min-height: 3em; } /* two lines reserved so every card is the same height */
.people-next { margin-top: clamp(56px, 7vw, 88px); }

/* arrow buttons, shown only when a row has more cards than fit */
.rail-btn {
  position: absolute; top: 76px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; /* level with the photos, clear of names and titles */
  display: grid; place-items: center; background: #fff; color: var(--orange); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); transform: translateY(-50%); transition: opacity .25s, background .25s, color .25s;
}
.rail-btn.prev { left: -22px; }
.rail-btn.next { right: -22px; }
.rail-btn:hover { background: var(--orange); color: #fff; }
.rail-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }
.people-rail:not(.is-scrollable) .rail-btn { display: none; }
/* soft fade on the edge that has more cards */
.people-rail.is-scrollable::before, .people-rail.is-scrollable::after { content: ""; position: absolute; top: 0; bottom: 0; width: 36px; z-index: 2; pointer-events: none; transition: opacity .25s; }
.people-rail.is-scrollable::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); opacity: var(--fade-l, 0); }
.people-rail.is-scrollable::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); opacity: var(--fade-r, 1); }

@media (max-width: 1024px) { .people-rail { --per-row: 3.4; } .rail-btn.prev { left: -10px; } .rail-btn.next { right: -10px; } }
@media (max-width: 640px) { .story-steps { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .people-rail { --per-row: 1.22; --gap: 14px; } .rail-btn { width: 40px; height: 40px; } .rail-btn.prev { left: -4px; } .rail-btn.next { right: -4px; } .people-rail.is-scrollable::before { display: none; } } /* phones: one person per swipe with a peek of the next; arrows beside the photo, clear of the names */

/* Resources sub-pages (Blogs, Annual Report, Press) */
.res-follow { grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); justify-content: center; }

/* header: Resources stays highlighted on its sub-pages; current sub-page marked in the dropdown */
.nav a[aria-current="true"] { color: var(--orange); }
.nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.site-header .nav .subnav a[aria-current="page"] { background: var(--orange-50); color: var(--orange) !important; }
.mobile-menu a[aria-current="true"] { color: var(--orange); }

.sub-hero { background: linear-gradient(180deg, #FFF8EE 0%, #FBEBD0 100%); padding-block: clamp(36px, 5vw, 64px) clamp(34px, 4.5vw, 56px); text-align: center; border-bottom: 1px solid #F1E2CF; }
.sub-hero-inner { display: flex; flex-direction: column; align-items: center; }
.sub-hero h1 { margin: 6px 0 12px; }
.sub-hero .lead { margin: 0 auto 28px; color: var(--ink); opacity: .8; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--muted); opacity: .7; }
.crumbs a { color: var(--orange-600); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .25s; }
.crumbs a:hover { text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--ink); }

/* segmented switcher between the three sub-pages */
.res-switch { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid #EFDCC6; border-radius: 999px; box-shadow: var(--shadow-sm); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.res-switch::-webkit-scrollbar { display: none; }
.res-switch a { flex: none; padding: 10px 22px; border-radius: 999px; font-weight: 800; font-size: 15px; color: var(--ink); white-space: nowrap; transition: background .25s, color .25s; }
.res-switch a:hover { background: var(--orange-50); color: var(--orange); }
.res-switch a[aria-current="page"] { background: var(--orange); color: #fff; box-shadow: 0 8px 18px -10px rgba(232,105,31,.8); }
.res-switch a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.sub-body { padding-top: clamp(40px, 5vw, 64px); }
.sub-empty { text-align: center; margin: 0 auto 26px; max-width: 560px; color: var(--muted); }
.sub-empty p { margin: 0; }
.sub-empty b { color: var(--ink); }
.sub-back { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 60px); }
.sub-back .btn { gap: 10px; }
@media (max-width: 560px) {
  .res-switch a { padding: 9px 14px; font-size: 14px; }
}

/* =========================================================
   Blog: listing (blogs.html) and articles (blog/*.html)
   ========================================================= */
/* colour tones shared by chips, labels and series tiles */
.tone-orange { --tone: var(--orange); --tone-bg: var(--orange-50); }
.tone-teal   { --tone: var(--teal-600); --tone-bg: #E4F0EE; }
.tone-coral  { --tone: var(--coral); --tone-bg: #FBE9E6; }
.tone-gold   { --tone: #B9801A; --tone-bg: var(--sand-200); }

.blog-stats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 22px 0 0; padding: 0; color: var(--muted); font-size: 15px; }
.blog-stats strong { color: var(--ink); font-family: var(--f-display); font-size: 19px; font-weight: 600; }

/* ---- cards ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 28px); }
.post-card[hidden] { display: none; }
.post-card .post-link, .post-feature .post-link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: inherit; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.post-card .post-link:hover, .post-card .post-link:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--peach-200); }
.post-card .post-link:focus-visible, .post-feature .post-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.post-media { position: relative; overflow: hidden; background: var(--sand-200); aspect-ratio: 16 / 10; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-link:hover .post-media img { transform: scale(1.05); }
.post-cat { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--tone-bg); color: var(--tone); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.post-media .post-cat { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13.5px; color: var(--muted); }
.post-title { font-family: var(--f-display); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--ink); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .25s; }
.post-link:hover .post-title { color: var(--orange-600); }
.post-excerpt { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 800; font-size: 14.5px; }
.post-more svg { transition: transform .35s var(--ease); }
.post-link:hover .post-more svg { transform: translateX(4px); }

/* ---- latest story ---- */
.blog-top { padding-bottom: 0; }
.post-feature .post-link { display: grid; grid-template-columns: 1.15fr 1fr; box-shadow: var(--shadow-md); }
.post-feature .post-media { aspect-ratio: auto; min-height: 340px; }
.post-feature .post-body { justify-content: center; gap: 14px; padding: clamp(28px, 4vw, 52px); }
.post-feature .post-title { font-size: clamp(26px, 2.6vw, 36px); -webkit-line-clamp: 4; }
.post-feature .post-excerpt { font-size: 17px; -webkit-line-clamp: 4; }
.post-feature .btn { align-self: flex-start; margin-top: 8px; gap: 10px; }
.feature-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.feature-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px var(--orange-50); }
.post-link:hover .post-media img { transform: scale(1.04); }

/* ---- series tiles ---- */
.series-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); margin-top: clamp(20px, 2.4vw, 28px); }
.series-tile { position: relative; overflow: hidden; isolation: isolate; text-align: left; display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); color: #fff; background: var(--tone); box-shadow: var(--shadow-md); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.series-tile.tone-orange { background: radial-gradient(120% 140% at 0% 0%, var(--orange) 0%, var(--orange-600) 60%, #A8460F 100%); }
.series-tile.tone-teal { background: radial-gradient(120% 140% at 0% 0%, var(--teal-600) 0%, var(--teal) 65%, #0A3634 100%); }
.series-tile::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; border: 44px solid rgba(255,255,255,.08); }
.series-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.series-tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.series-kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.series-tile strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.series-text { font-size: 15.5px; opacity: .9; max-width: 42ch; }
.series-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 800; font-size: 14.5px; }
.series-go svg { transition: transform .35s var(--ease); }
.series-tile:hover .series-go svg { transform: translateX(4px); }

/* ---- list head + toolbar ---- */
.blog-list { padding-top: clamp(48px, 5vw, 72px); }
.blog-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.blog-list-head .h2 { margin: 0; }
.blog-count { margin: 0; color: var(--muted); font-size: 15px; }
.blog-toolbar { position: sticky; top: calc(var(--header-h) - 2px); z-index: 20; display: flex; flex-direction: column; gap: 14px; padding: 16px 0 18px; margin-bottom: clamp(18px, 2.4vw, 28px); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cat-filter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.cat-filter::-webkit-scrollbar { display: none; }
.cat-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.cat-chip span { font-size: 12px; font-weight: 800; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 2px 8px; transition: inherit; }
.cat-chip:hover { border-color: var(--tone, var(--orange)); color: var(--tone, var(--orange)); }
.cat-chip.is-on { background: var(--tone, var(--ink)); border-color: var(--tone, var(--ink)); color: #fff; box-shadow: 0 8px 18px -10px rgba(0,0,0,.45); }
.cat-chip.is-on span { background: rgba(255,255,255,.2); color: #fff; }
.cat-chip:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
a.cat-chip { padding: 7px 14px; font-size: 13px; background: var(--tone-bg); border-color: transparent; color: var(--tone); }
a.cat-chip:hover { background: var(--tone); color: #fff; }
.blog-tools { display: flex; gap: 12px; flex-wrap: wrap; }
.blog-search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #fff; border: 1.5px solid #DDD3C7; border-radius: 999px; color: var(--muted); transition: border-color .25s, box-shadow .25s; }
.blog-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-50); }
.blog-search input { flex: 1; border: 0; outline: 0; background: transparent; padding: 12px 0; font-size: 15.5px; color: var(--ink); min-width: 0; }
.blog-year select { appearance: none; -webkit-appearance: none; height: 100%; min-height: 46px; padding: 0 42px 0 18px; border: 1.5px solid #DDD3C7; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231C1B1A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; }
.blog-year select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-50); }
.blog-empty { text-align: center; padding: 48px 20px; border: 1.5px dashed #E5D6C6; border-radius: var(--r-lg); color: var(--muted); }
.blog-empty strong { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.blog-empty button { color: var(--orange); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.blog-more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.blog-more[hidden] { display: none; }

/* ---- article ---- */
.article-hero { background: linear-gradient(180deg, #FFF8EE 0%, #FBEBD0 70%, var(--bg) 100%); padding-top: clamp(32px, 4.5vw, 60px); }
.article-head { max-width: 880px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.article-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 14px; }
.article-title { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.14; margin: 0 0 18px; color: var(--ink); text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; color: var(--muted); font-size: 15px; }
.article-meta .by { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.article-meta .by img { width: 28px; height: 28px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: var(--shadow-sm); }
.article-meta svg { vertical-align: -2px; display: inline-block; flex: none; }
.article-meta > span:not(.by) { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.article-cover-wrap { max-width: 1040px; margin-top: clamp(28px, 4vw, 44px); }
.article-cover { margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sand-200); }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }

/* gap is always wider than the breakout overhang of wide blocks (.cj-wide/.cj-letter/.cj-gallery use up to 6vw / 80px),
   so the sticky share buttons never sit under them */
.article-layout { display: grid; grid-template-columns: 64px minmax(0, 720px); justify-content: center; column-gap: clamp(24px, 9vw, 124px); row-gap: clamp(20px, 4vw, 56px); padding-block: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.article-share { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.article-share > span { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.article-share a, .article-share button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--orange); box-shadow: var(--shadow-sm); transition: background .25s, color .25s, transform .3s var(--ease); }
.article-share a:hover, .article-share button:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.article-share .copied { background: var(--teal-600); color: #fff; }

.prose { font-size: 18px; line-height: 1.8; color: var(--text); }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-child { font-size: 20.5px; line-height: 1.7; color: var(--ink); }
.prose > p:first-child::first-letter { float: left; font-family: var(--f-display); font-weight: 600; font-size: 3.4em; line-height: .9; margin: .06em .1em 0 0; color: var(--orange); }
.prose p { margin: 0; }
.prose h2, .prose h3 { font-family: var(--f-display); color: var(--teal); line-height: 1.3; margin: 1.9em 0 .4em; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); }
.prose h3 { font-size: clamp(20px, 2vw, 24px); }
.prose h2 + *, .prose h3 + * { margin-top: .4em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--orange-600); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--orange) 45%, transparent); transition: text-decoration-color .25s; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.6em; }
.prose ul > li::before { content: ""; position: absolute; left: .25em; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-50); }
.prose ol > li::marker { color: var(--orange); font-weight: 800; }
.prose li + li { margin-top: .5em; }
.prose blockquote { margin: 1.8em 0; padding: 22px 26px 22px 30px; border-left: 4px solid var(--orange); background: #fff; border-radius: 0 var(--r-md) var(--r-md) 0; box-shadow: var(--shadow-sm); font-family: var(--f-display); font-size: 21px; line-height: 1.5; color: var(--ink); }
.prose blockquote p + p { margin-top: .6em; }
.prose blockquote cite { display: block; margin-top: 10px; font-family: var(--f-text); font-style: normal; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; height: auto; border-radius: var(--r-md); box-shadow: var(--shadow-md); background: var(--sand-200); }
.prose figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose .post-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); background: #000; }
.prose .post-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .post-file a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--orange); color: #fff; text-decoration: none; font-weight: 800; }

.article-foot { max-width: 880px; padding-bottom: clamp(16px, 2vw, 24px); }
.article-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-pager a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.article-pager a:hover { border-color: var(--peach-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-pager small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.article-pager span { font-family: var(--f-display); font-weight: 600; font-size: 17px; line-height: 1.35; }
.pager-next { text-align: right; align-items: flex-end; }
.article-back { display: flex; justify-content: center; margin-top: 28px; }
.article-back .btn { gap: 10px; }
.related { background: #fff; border-top: 1px solid var(--line); }
.related-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: var(--head-gap); }
.related-head .h2 { margin: 0; }

@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-feature .post-link { grid-template-columns: 1fr; }
  .post-feature .post-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .series-row { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-share { position: static; flex-direction: row; justify-content: center; order: 2; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 8px; }
  .article-share > span { margin: 0 6px 0 0; }
  .prose { font-size: 17px; }
  .prose > p:first-child { font-size: 18.5px; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .blog-toolbar { top: calc(var(--header-h) - 2px); padding: 12px 0 14px; }
  .blog-year { flex: 1 1 100%; }
  .blog-year select { width: 100%; }
  .article-pager { grid-template-columns: 1fr; }
  .pager-next { text-align: left; align-items: flex-start; }
}

/* =========================================================
   Press: newsroom (press.html) and release pages (press/*.html)
   ========================================================= */
.crumbs-light ol { color: rgba(255,255,255,.75); }
.crumbs-light a { color: #fff; }
.crumbs-light li + li::before { color: rgba(255,255,255,.6); }
.crumbs-light [aria-current] { color: #FCE1C8; }
.eyebrow-light { color: rgba(255,255,255,.85); }
.tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--tone-bg); color: var(--tone); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.pr-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 8px 20px -10px rgba(232,105,31,.9); }
.pr-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pr-pulse 2s infinite; }
@keyframes pr-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.pr-partners { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.pr-partners span { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
.pr-partners i { font-style: normal; font-size: 22px; color: var(--gold); }

/* ---- release hero: sea + sunrise ---- */
.pr-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(34px, 5vw, 64px) 0 clamp(110px, 12vw, 160px);
  background: radial-gradient(70% 90% at 85% 10%, rgba(232,105,31,.55) 0%, rgba(232,105,31,0) 60%), radial-gradient(60% 70% at 0% 100%, rgba(227,169,59,.25) 0%, rgba(227,169,59,0) 60%), linear-gradient(160deg, #0F4D4A 0%, #12625D 45%, #0B3B44 100%); }
.pr-sun { position: absolute; z-index: -1; right: 6%; top: 14%; width: clamp(140px, 18vw, 260px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #FFD9A8 0%, #F6A169 45%, rgba(232,105,31,.0) 72%); filter: blur(2px); opacity: .85; animation: pr-float 9s ease-in-out infinite; }
@keyframes pr-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
.pr-hero-inner { max-width: 960px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: relative; }
.pr-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.pr-date { font-weight: 700; font-size: 15px; color: #FCE1C8; letter-spacing: .02em; }
.pr-title { color: #fff; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.14; margin: 4px 0 0; text-wrap: balance; }
.pr-decks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.pr-decks li { position: relative; padding-left: 22px; font-size: clamp(16px, 1.4vw, 18.5px); font-style: italic; line-height: 1.55; color: rgba(255,255,255,.9); }
.pr-decks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); transform: rotate(45deg); }
.pr-hero-actions { margin-top: 6px; }
.pr-hero-actions .btn, .pr-aside .btn, .press-feature-actions .btn { gap: 10px; }
.pr-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 8vw, 110px); }
.pr-waves .w1 { fill: rgba(250,248,245,.35); animation: pr-wave 12s ease-in-out infinite alternate; }
.pr-waves .w2 { fill: var(--bg); }
@keyframes pr-wave { from { transform: translateX(0); } to { transform: translateX(-60px); } }

/* ---- figures + photo ---- */
.pr-figures { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(-96px, -9vw, -64px); }
.pr-fig { display: flex; flex-direction: column; gap: 6px; padding: clamp(18px, 2vw, 26px); border-radius: var(--r-lg); background: #fff; border-top: 5px solid var(--tone); box-shadow: var(--shadow-md); }
.pr-fig strong { font: 600 clamp(26px, 2.8vw, 38px)/1.05 var(--f-display); color: var(--tone); }
.pr-fig span { font-size: 14.5px; font-weight: 700; color: var(--text); }
.pr-photo { margin: clamp(24px, 3vw, 36px) auto 0; max-width: 1040px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.pr-photo img { width: 100%; height: auto; }

/* ---- body + sidebar ---- */
.pr-layout { display: grid; grid-template-columns: 250px minmax(0, 720px); justify-content: center; gap: clamp(24px, 4vw, 56px); padding-block: clamp(40px, 5vw, 64px) clamp(16px, 2vw, 24px); }
.pr-aside { position: relative; }
.pr-aside-card { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pr-aside-label { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.pr-aside-card > strong { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--ink); margin-top: -8px; }
.pr-aside-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; color: var(--teal-600); }
.pr-share { position: static; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; padding-top: 14px; border-top: 1px solid var(--line); }
.pr-share > span { width: 100%; margin: 0; text-align: left; }
.pr-share a, .pr-share button { width: 40px; height: 40px; }
.pr-body .pr-lead { font-size: 19.5px; line-height: 1.7; color: var(--ink); }
.pr-body .pr-lead::first-letter { all: unset; }
.pr-dateline { color: var(--orange-600); letter-spacing: .02em; }
.pr-body h2 { position: relative; padding-left: 18px; }
.pr-body h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 4px; background: linear-gradient(var(--orange), var(--gold)); }

.pr-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.6em 0 2em; }
.pr-area { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 14px; padding: 18px 18px 18px 16px; border-radius: var(--r-md); background: var(--tone-bg); }
.pr-area-ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tone); color: #fff; box-shadow: 0 10px 20px -12px var(--tone); }
.pr-area-ico svg { width: 24px; height: 24px; }
.pr-area-num { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: var(--tone); }
.pr-area strong { font-family: var(--f-display); font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--ink); }

.pr-quote { position: relative; margin: 2em 0; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-lg); background: var(--tone-bg); border: 1px solid color-mix(in srgb, var(--tone) 22%, transparent); }
.pr-quote .pr-qmark { width: 42px; height: 36px; color: var(--tone); margin-bottom: 12px; }
.pr-quote blockquote { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; font-family: var(--f-text); font-size: 17.5px; line-height: 1.75; color: var(--ink); }
.pr-quote blockquote p { margin: 0; }
.pr-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed color-mix(in srgb, var(--tone) 35%, transparent); font-size: 14.5px; color: var(--muted); text-align: left; }
.pr-quote figcaption img, .pr-q-initial { width: 44px; height: 44px; border-radius: 50%; flex: none; background: #fff; padding: 5px; box-shadow: var(--shadow-sm); }
.pr-q-initial { display: grid; place-items: center; padding: 0; background: var(--tone); color: #fff; font: 600 20px var(--f-display); }
.pr-quote figcaption strong { display: block; font-size: 16.5px; color: var(--ink); }
.pr-end { text-align: center; letter-spacing: .5em; font-weight: 800; color: var(--orange); margin: 2.2em 0 !important; }
.pr-note { padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-lg); background: var(--tone-bg); }
.pr-note + .pr-note { margin-top: 16px; }
.pr-note h2 { margin: 0 0 .5em; padding: 0; font-size: 21px; color: var(--tone); }
.pr-note h2::before { display: none; }
.pr-note p { font-size: 16.5px; line-height: 1.7; }
.pr-note p + p { margin-top: .8em; }

/* ---- newsroom ---- */
.press-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(60% 80% at 90% 0%, rgba(232,105,31,.18), transparent 60%), radial-gradient(50% 70% at 5% 100%, rgba(15,77,74,.14), transparent 60%), linear-gradient(180deg, #FFF8EE 0%, #FBEBD0 100%); }
.press-ring { position: absolute; z-index: -1; border-radius: 50%; border: 28px solid rgba(232,105,31,.08); pointer-events: none; }
.press-ring.r1 { width: 360px; height: 360px; left: -140px; top: -160px; }
.press-ring.r2 { width: 260px; height: 260px; right: -80px; bottom: -150px; border-color: rgba(15,77,74,.08); }
.press-latest { padding-bottom: 0; }
.press-section-head { margin-bottom: 18px; }
.press-feature { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #0F4D4A; isolation: isolate; }
.press-feature-media { position: relative; display: block; min-height: 380px; overflow: hidden; }
.press-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.press-feature:hover .press-feature-media img { transform: scale(1.04); }
.press-ribbon { position: absolute; left: 18px; top: 18px; padding: 8px 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.press-feature-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 4vw, 48px) clamp(26px, 3.6vw, 44px) clamp(56px, 6vw, 70px); color: #fff; overflow: hidden;
  background: radial-gradient(80% 70% at 100% 0%, rgba(232,105,31,.5) 0%, rgba(232,105,31,0) 60%), linear-gradient(160deg, #12625D 0%, #0F4D4A 55%, #0B3B44 100%); }
.press-sun { position: absolute; z-index: -1; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,217,168,.55), rgba(246,161,105,0) 70%); }
.press-feature-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 700; color: #FCE1C8; font-size: 14.5px; }
.press-feature-body .pr-partners { font-size: 15px; }
.press-feature-body .pr-partners span { padding: 6px 12px; }
.press-feature h3 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.22; color: #fff; }
.press-feature h3 a { color: inherit; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px; transition: background-size .45s var(--ease); }
.press-feature h3 a:hover { background-size: 100% 2px; }
.press-feature-body > p { margin: 0; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.6; font-style: italic; }
.press-mini-figs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; }
.press-mini-figs li { padding: 7px 12px; border-radius: 12px; background: rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.9); }
.press-mini-figs strong { color: var(--gold); font-family: var(--f-display); font-size: 17px; margin-right: 3px; }
.press-feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.press-feature-waves { position: absolute; z-index: 2; right: 0; bottom: -1px; width: 48%; height: 46px; fill: rgba(255,255,255,.08); pointer-events: none; }

.press-archive-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.press-archive-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.press-archive-intro p { color: var(--muted); }
.press-timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 16px; }
.press-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--orange), var(--gold) 40%, var(--line) 80%); border-radius: 2px; }
.press-year span { position: relative; display: inline-block; font: 600 22px var(--f-display); color: var(--teal); }
.press-year span::before { content: ""; position: absolute; left: -27px; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); transform: translateY(-50%); box-shadow: 0 0 0 5px var(--orange-50); }
.press-item > a, .press-item > div { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.press-item > a:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--peach-200); }
.press-item time { display: grid; place-items: center; width: 64px; height: 68px; border-radius: 16px; background: linear-gradient(160deg, var(--orange), var(--orange-600)); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1; box-shadow: 0 10px 20px -12px rgba(232,105,31,.9); }
.press-item time strong { font: 600 26px var(--f-display); letter-spacing: 0; }
.press-item-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.press-item-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.press-item-body > strong { font-family: var(--f-display); font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--ink); }
.press-item-more { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 800; font-size: 14px; }
.press-item.is-soon > div { background: transparent; border: 1.5px dashed #E5D6C6; box-shadow: none; }
.press-soon-dot { width: 64px; height: 52px; border-radius: 16px; background: repeating-linear-gradient(135deg, var(--sand-200) 0 8px, #fff 8px 16px); }
.press-item.is-soon strong { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--muted); }
.press-item.is-soon .press-item-body span { font-size: 14px; color: var(--muted); }

.press-contact { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(30px, 4vw, 52px); border-radius: var(--r-xl); color: #fff; box-shadow: var(--shadow-lg);
  background: radial-gradient(70% 120% at 100% 0%, rgba(227,169,59,.55), transparent 60%), linear-gradient(135deg, var(--orange) 0%, var(--orange-600) 60%, #A8460F 100%); }
.press-contact .press-ring.r3 { width: 300px; height: 300px; right: -90px; bottom: -160px; border-color: rgba(255,255,255,.1); }
.press-contact h2 { color: #fff; margin: 6px 0 8px; font-size: clamp(26px, 2.8vw, 36px); }
.press-contact p { margin: 0; color: rgba(255,255,255,.9); max-width: 46ch; }
.press-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.press-contact-actions .btn { gap: 10px; }

@media (max-width: 1024px) {
  .pr-layout { grid-template-columns: minmax(0, 720px); }
  .pr-aside-card { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .pr-aside-card .btn-block { width: auto; }
  .pr-share { border-top: 0; padding-top: 0; }
  .pr-share > span { width: auto; }
  .press-feature { grid-template-columns: 1fr; }
  .press-feature-media { min-height: 0; aspect-ratio: 16 / 9; }
  .press-archive-grid { grid-template-columns: 1fr; }
  .press-archive-intro { position: static; }
}
@media (max-width: 760px) {
  .pr-figures { grid-template-columns: 1fr 1fr; }
  .pr-areas { grid-template-columns: 1fr; }
  .pr-sun { opacity: .5; }
  .press-feature-waves { width: 100%; }
}
@media (max-width: 480px) {
  .press-item > a, .press-item > div { grid-template-columns: 1fr; }
  .press-item time { width: auto; height: auto; padding: 8px 12px; display: inline-flex; gap: 6px; justify-self: start; }
  .press-item time strong { font-size: 18px; }
  .press-soon-dot { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pr-sun, .pr-waves .w1, .pr-badge::before { animation: none; } }

/* =========================================================
   Blog post: Companions in the Journey (content from the compendium)
   ========================================================= */
.prose .cj-pull { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; color: var(--orange); text-align: center; margin: 1.4em 0 !important; }
.prose .cj-pull::before, .prose .cj-pull::after { content: ""; display: block; width: 60px; height: 3px; margin: 0 auto 18px; border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--gold)); }
.prose .cj-pull::after { margin: 18px auto 0; }
.prose .cj-wide { margin: 2em calc(-1 * min(clamp(0px, 6vw, 80px), var(--gutter))); }
.prose .cj-wide img { border-radius: var(--r-lg); }
.prose .cj-group img { box-shadow: var(--shadow-sm); }
.cj-byline { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14.5px; color: var(--muted); }
.cj-byline strong, .cj-voice figcaption strong, .cj-sign strong { display: block; font-size: 16px; color: var(--ink); }
.prose .cj-avatar, .prose figure img.cj-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: var(--orange-50); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--peach-200); }

/* "Building Sambhav": a warm orange letter panel, like the compendium page */
.prose .cj-letter { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 3vw, 34px); align-items: start; margin: 2.6em calc(-1 * min(clamp(0px, 6vw, 80px), var(--gutter))); padding: clamp(26px, 3.4vw, 42px); border-radius: var(--r-xl); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 90% at 100% 0%, rgba(227,169,59,.45), transparent 60%), linear-gradient(150deg, var(--orange) 0%, var(--orange-600) 65%, #A8460F 100%); }
.prose .cj-letter::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -110px; bottom: -150px; border-radius: 50%; border: 50px solid rgba(255,255,255,.08); }
.cj-letter-img { width: 100%; border-radius: var(--r-md); box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.prose .cj-letter h2 { color: #fff; margin: 6px 0 .6em; padding: 0; }
.prose .cj-letter h2::before { display: none; }
.prose .cj-letter p { color: rgba(255,255,255,.94); font-size: 16.5px; line-height: 1.75; }
.prose .cj-letter p + p { margin-top: .9em; }
.cj-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.prose .cj-letter .cj-kicker { color: #FFE3B8; }
.prose .cj-letter .cj-sign { margin-top: 1.2em; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.3); font-size: 14px; }
.prose .cj-letter .cj-sign strong { color: #fff; font-family: var(--f-display); font-size: 18px; font-weight: 600; }

/* voices */
.cj-voices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prose .cj-voice { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 20px; border-radius: var(--r-lg); background: var(--tone-bg); border-top: 4px solid var(--tone); }
.prose .cj-voice blockquote { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; font-family: var(--f-display); font-size: 17.5px; line-height: 1.5; color: var(--ink); }
.prose .cj-voice blockquote::before { content: "\201C"; display: block; font-size: 52px; line-height: .6; height: 22px; color: var(--tone); }
.prose .cj-voice figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; text-align: left; font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* gallery: a lively mosaic */
.cj-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 10px; margin: 0 calc(-1 * min(clamp(0px, 6vw, 80px), var(--gutter))); }
.prose .cj-shot { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--sand-200); }
.prose .cj-shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; transition: transform .7s var(--ease); }
.prose .cj-shot:hover img { transform: scale(1.06); }
.cj-shot:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.cj-shot:nth-child(6) { grid-column: span 2; }
.cj-shot:nth-child(8) { grid-column: span 2; }

/* download call-to-action */
.cj-download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; margin-top: 2.4em; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--peach-200); box-shadow: var(--shadow-md); }
.cj-download > div { display: flex; flex-direction: column; gap: 4px; }
.cj-download strong { font-family: var(--f-display); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--ink); }
.cj-download > div > span:last-child { font-size: 14px; color: var(--muted); }
.prose .cj-download .btn { color: #fff; text-decoration: none; gap: 10px; }

@media (max-width: 760px) {
  .prose .cj-wide, .prose .cj-letter, .cj-gallery { margin-inline: 0; }
  .prose .cj-letter { grid-template-columns: 1fr; }
  .cj-letter-img { aspect-ratio: 4 / 3; max-height: 320px; }
  .cj-voices { grid-template-columns: 1fr; }
  .cj-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .cj-shot:nth-child(6), .cj-shot:nth-child(8) { grid-column: span 1; }
  .cj-download .btn { width: 100%; justify-content: center; }
}

/* ---------- Team cards: official photos + LinkedIn links ---------- */
.person .avatar-photo { display: block; object-fit: cover; background: var(--orange-50); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--peach-200); }
.person { position: relative; }
.person.has-link { padding: 0 !important; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.person-link { display: block; height: 100%; padding: 32px 14px 28px; color: inherit; border-radius: inherit; }
.person.has-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CFE0F2; }
/* team rows use a wider area than the usual 1200px so each card has more room */
#our-people > .container { width: min(100% - 2 * var(--gutter), var(--container)); }
/* the card nearest the middle of its row grows slightly (class set by main.js as the row scrolls) */
.people-center > .person.is-focus { transform: scale(1.07); border-color: var(--peach-200); z-index: 1; }
.people-center > .person.is-focus:hover { transform: translateY(-4px) scale(1.07); }
.people-center > .person.is-focus .avatar-photo { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--orange); }
@media (prefers-reduced-motion: reduce) { .people-center > .person.is-focus, .people-center > .person.is-focus:hover { transform: none; } }
.person-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.person-li { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #EAF2FB; color: #0A66C2; transition: background .25s, color .25s; }
.person.has-link:hover .person-li { background: #0A66C2; color: #fff; }

/* ---------- PDF preview overlay (js/main.js) ---------- */
html.pdf-open { overflow: hidden; }
.pdf-modal { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; padding: clamp(10px, 2.5vw, 28px); }
.pdf-modal[hidden] { display: none; }
.pdf-backdrop { position: absolute; inset: 0; background: rgba(28, 16, 10, .62); backdrop-filter: blur(5px); opacity: 0; transition: opacity .25s; }
.pdf-panel { position: relative; display: flex; flex-direction: column; width: min(1040px, 100%); height: min(94vh, 100%); background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 90px -20px rgba(0,0,0,.5); opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .25s, transform .35s var(--ease); }
.pdf-modal.is-open .pdf-backdrop { opacity: 1; }
.pdf-modal.is-open .pdf-panel { opacity: 1; transform: none; }
.pdf-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #FFF8EE, #fff); }
.pdf-icon { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); }
.pdf-title { flex: 1; min-width: 0; font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdf-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.pdf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 800; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.pdf-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.pdf-close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); transition: background .2s, color .2s; }
.pdf-close:hover { background: var(--ink); color: #fff; }
.pdf-btn:focus-visible, .pdf-close:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.pdf-frame-wrap { position: relative; flex: 1; background: #525659; }
.pdf-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #525659; }
.pdf-loading { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.8); font-weight: 700; }
.pdf-modal.is-loaded .pdf-loading { display: none; }
@media (max-width: 640px) {
  .pdf-btn span { display: none; }
  .pdf-btn { padding: 9px 11px; }
  .pdf-title { font-size: 15px; line-height: 1.25; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (prefers-reduced-motion: reduce) { .pdf-backdrop, .pdf-panel { transition: none; } }

/* Donate tiers: which option to pick on the Razorpay page (it can't be pre-selected from the link) */
.tier-hint { margin: 10px 0 0; text-align: center; font-size: 13px; line-height: 1.4; color: var(--muted); }
.tier-hint b { color: var(--orange-600); font-weight: 800; }
.tier.featured .tier-hint { color: var(--muted); }

/* =========================================================
   Stories from the Field: LinkedIn / Instagram style post cards
   ========================================================= */
.sp-card { --li: #0A66C2; color: #1d1d1d; font-family: var(--f-text); }
.sp-card.sp-wide { grid-column: span 5; }
.sp-card.sp-third { grid-column: span 4; }
.sp-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.sp-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 4px; flex: none; }
.sp-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sp-who strong { font-size: 14.5px; font-weight: 800; color: #1d1d1d; }
.sp-who small { font-size: 12px; color: #666; display: inline-flex; align-items: center; gap: 4px; }
.sp-brand { width: 22px; height: 22px; flex: none; align-self: flex-start; }
.sp-brand.li { color: var(--li); }
.sp-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.sp-link:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.sp-caption { padding: 0; margin: 0 16px 12px; font-size: 14px; line-height: 1.5; color: #1d1d1d; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sp-caption p { margin: 0; display: inline; }
.sp-caption p + p::before { content: " "; }
.sp-media { position: relative; overflow: hidden; background: var(--sand-200); aspect-ratio: 4 / 3; }
.sp-li .sp-media { flex: 1; aspect-ratio: auto; min-height: 220px; }
.sp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sp-card:hover .sp-media img { transform: scale(1.03); }
.sp-media.sq { aspect-ratio: 1 / 1; }
.sp-count { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: 13px; font-weight: 800; backdrop-filter: blur(4px); }
.sp-stats { display: flex; align-items: center; gap: 6px; padding: 10px 16px 8px; font-size: 12.5px; color: #666; border-bottom: 1px solid #e8e8e8; }
.sp-stats > span:last-child:not(:nth-child(2)) { margin-left: auto; }
.sp-reacts { display: inline-flex; }
.sp-reacts i { font-style: normal; font-size: 11px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1.5px #fff; margin-right: -4px; }
.sp-reacts i:last-child { margin-right: 4px; }
.sp-actions.li { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px 6px 6px; }
.sp-actions.li a { display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; padding: 10px 4px; border-radius: 8px; font-size: 13.5px; font-weight: 700; color: #555; transition: background .2s, color .2s; }
.sp-actions.li a:hover { background: #f0f0f0; color: var(--li); }

/* Instagram */
.sp-ig .sp-head { padding: 12px 14px; }
.sp-ring { flex: none; padding: 2px; border-radius: 50%; background: conic-gradient(from 210deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75); }
.sp-ring .sp-avatar { width: 38px; height: 38px; border: 2px solid #fff; padding: 3px; }
.sp-users { font-size: 14px; line-height: 1.3; }
.sp-users strong { font-weight: 800; }
.sp-users span { color: #737373; font-weight: 400; }
.sp-follow { flex: none; padding: 7px 14px; border-radius: 8px; background: #0095F6; color: #fff; font-size: 13px; font-weight: 700; transition: background .2s; }
.sp-follow:hover { background: #1877F2; }
.sp-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 4px; }
.sp-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.sp-dots i.on { background: #0095F6; }
.sp-actions.ig { display: flex; align-items: center; gap: 14px; padding: 10px 14px 4px; }
.sp-actions.ig a { display: grid; color: #262626; transition: color .2s, transform .2s; }
.sp-actions.ig a:hover { color: #737373; transform: scale(1.08); }
.sp-actions.ig a:first-child:hover { color: #ED4956; }
.sp-actions.ig .sp-save { margin-left: auto; }
.sp-ig-body { padding: 4px 14px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.sp-likes { font-weight: 800; }
.sp-ig-caption { margin: 0; line-height: 1.45; color: #262626; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-ig-caption strong { font-weight: 800; margin-right: 4px; }
.sp-tags { color: #00376B; }
.sp-more { font-size: 13px; color: #737373; margin-top: 2px; }
.sp-more:hover { color: #262626; }

/* rounded boxes, no borders, all with the same soft warm shadow (brand-coloured glows showed as smudges on the orange) */
.sp-li, .sp-ig { box-shadow: 0 18px 40px -22px rgba(120,40,0,.45); }
.social-card.video { position: relative; box-shadow: 0 18px 40px -22px rgba(120,40,0,.45); }
.sp-li:hover, .sp-ig:hover { box-shadow: 0 24px 48px -20px rgba(120,40,0,.55); }
.social-card.video:hover { box-shadow: 0 24px 48px -20px rgba(120,40,0,.55); }
.social-card.video .social-meta .src svg { color: #FF0000; }

/* one corner badge for every platform logo: same size, same top-right spot */
.sp-card { position: relative; }
.sp-corner { position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 14px -4px rgba(0,0,0,.28); pointer-events: none; }
.sp-corner .sp-brand { width: 20px; height: 20px; align-self: center; }
a.sp-corner { pointer-events: auto; transition: transform .25s var(--ease), box-shadow .25s; }
a.sp-corner:hover { box-shadow: 0 6px 18px -4px rgba(0,0,0,.35); }
a.sp-corner:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sp-head a.sp-corner:hover { transform: translateY(-50%) scale(1.08); }
.sp-corner.yt .sp-brand { width: 22px; height: 16px; }
.social-card.video .sp-corner { top: 36px; right: 36px; } /* 12px inside the thumbnail's corner */
.sp-head, .sp-ig .sp-head { padding-right: 60px; position: relative; } /* keep header text and buttons clear of the badge */
.sp-head .sp-corner { top: 50%; right: 14px; transform: translateY(-50%); } /* centred on the avatar/name row */
.sp-ig .sp-follow { margin-left: auto; }

@media (max-width: 1024px) {
  .sp-card.sp-wide, .sp-card.sp-third { grid-column: span 6; }
  .sp-li .sp-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 640px) {
  .sp-card.sp-wide, .sp-card.sp-third { grid-column: span 12; }
  .sp-actions.li a span { display: none; }
}

/* Resources: the teal line under each section title is a supporting statement, so it sits smaller than the title */
.spark-title + .h2 { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.3; }

/* Blogs: the featured story opens like a book. Four real spreads from "Companions in the Journey"
   sit over the cover and turn away one by one, hinged on the spine, each time the card scrolls into view.
   Only transform and opacity animate (GPU-composited), so the motion stays smooth. */
.post-feature .book { position: relative; perspective: 2400px; perspective-origin: 0% 50%; overflow: hidden; background: #2b2418; isolation: isolate; }
.post-feature .book > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateZ(0); }
.post-feature .book::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; z-index: 8; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.36), rgba(0,0,0,.10) 45%, rgba(255,255,255,.08) 70%, rgba(0,0,0,0)); }
.post-feature .book::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 8px; z-index: 8; pointer-events: none;
  background: repeating-linear-gradient(90deg, #f4ecdc 0 1px, #d9ccb2 1px 2px); box-shadow: inset 3px 0 6px -2px rgba(0,0,0,.35); }
.book-page { position: absolute; inset: 0; transform-origin: 0 50%; transform: rotateY(0deg) translateZ(0);
  backface-visibility: hidden; -webkit-backface-visibility: hidden; will-change: transform;
  background-color: #FBF5E8; background-size: cover; background-position: center; --d: 0s; }
/* light and shade travelling across the page as it lifts (opacity only) */
.book-page::after { content: ""; position: absolute; inset: 0; opacity: 0; will-change: opacity; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.05) 0%, rgba(255,255,255,.22) 35%, rgba(0,0,0,.28) 100%); }
.book-page:nth-of-type(1) { z-index: 5; --d: .6s; }
.book-page:nth-of-type(2) { z-index: 4; --d: 2.9s; }
.book-page:nth-of-type(3) { z-index: 3; --d: 5.2s; }
.book-page:nth-of-type(4) { z-index: 2; --d: 7.5s; }
.book-page:nth-of-type(1) { background-image: linear-gradient(90deg, rgba(60,40,20,.26), rgba(60,40,20,0) 7%), url(../assets/img/blog/companions-page-1.webp?v=c1); }
.book-page:nth-of-type(2) { background-image: linear-gradient(90deg, rgba(60,40,20,.26), rgba(60,40,20,0) 7%), url(../assets/img/blog/companions-page-2.webp?v=c1); }
.book-page:nth-of-type(3) { background-image: linear-gradient(90deg, rgba(60,40,20,.26), rgba(60,40,20,0) 7%), url(../assets/img/blog/companions-page-3.webp?v=c1); }
.book-page:nth-of-type(4) { background-image: linear-gradient(90deg, rgba(60,40,20,.26), rgba(60,40,20,0) 7%), url(../assets/img/blog/companions-page-4.webp?v=c1); }
/* the page beneath darkens slightly while the one above is still over it, then brightens as it is revealed */
.book-page::before { content: ""; position: absolute; inset: 0; background: #1a1208; opacity: 0; pointer-events: none; will-change: opacity; }
.book.is-in .book-page { animation: book-turn 2.2s cubic-bezier(.65, .05, .36, 1) var(--d) both; }
.book.is-in .book-page::after { animation: book-light 2.2s cubic-bezier(.65, .05, .36, 1) var(--d) both; }
@keyframes book-turn {
  0%   { transform: rotateY(0deg) translateZ(0); }
  100% { transform: rotateY(-180deg) translateZ(0); }
}
@keyframes book-light {
  0%   { opacity: 0; }
  40%  { opacity: 1; }
  100% { opacity: 1; }
}
.book.is-in > img { animation: book-settle 2.6s cubic-bezier(.22, .61, .36, 1) 9.6s both; }
@keyframes book-settle { from { transform: scale(1.045) translateZ(0); } to { transform: scale(1) translateZ(0); } }
@media (prefers-reduced-motion: reduce) {
  .book-page { display: none; }
  .book.is-in > img { animation: none; }
}


/* Press: latest release, newsroom style. Photo left, a plain white sheet on the right. */
.prc-card { display: grid; grid-template-columns: 1.08fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 24px 60px -34px rgba(40, 30, 20, .35); }
.prc-media { position: relative; display: block; min-height: 440px; overflow: hidden; background: #efe7dc; }
.prc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prc-card:hover .prc-media img { transform: scale(1.03); }
.prc-body { display: flex; flex-direction: column; justify-content: center; gap: 0; padding: clamp(30px, 4.2vw, 56px); }
.prc-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.prc-kicker time { color: var(--muted); font-weight: 700; letter-spacing: .08em; }
.prc-kicker time::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 0 10px 3px 0; opacity: .6; }
.prc-title { margin: 0; font: 600 clamp(23px, 2.2vw, 31px)/1.22 var(--f-display); color: var(--ink); letter-spacing: -.005em; }
.prc-title a { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.prc-title a:hover { color: var(--teal); background-size: 100% 1.5px; }
.prc-dek { margin: 16px 0 0; font-size: 16.5px; line-height: 1.65; color: var(--text); max-width: 56ch; }
.prc-figs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.prc-figs div { padding: 0 clamp(18px, 2.4vw, 30px); border-left: 1px solid var(--line); }
.prc-figs div:first-child { padding-left: 0; border-left: 0; }
.prc-figs dd { order: -1; margin: 0; font: 600 clamp(24px, 2.2vw, 30px)/1.1 var(--f-display); color: var(--teal); }
.prc-figs div { display: flex; flex-direction: column; }
.prc-figs dt { margin-top: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.prc-pdf { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); }
.prc-pdf small { font-weight: 600; color: var(--muted); }
.prc-pdf:hover { color: var(--orange); }
.prc-partner { margin: 26px 0 0; font-size: 13.5px; color: var(--muted); }
.prc-partner strong { color: var(--ink); font-weight: 700; }
@media (max-width: 900px) {
  .prc-card { grid-template-columns: 1fr; }
  .prc-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 420px) { .prc-figs div { padding: 0 14px; } }

/* Press release page: plain newsroom header (no ornaments), figures as one ruled strip */
.prh { background: linear-gradient(180deg, #FBF5EC, #FFFDF9); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); }
/* the photo fills the right of the hero and fades into the cream towards the text (mask, no hard edge) */
.prh { position: relative; overflow: hidden; isolation: isolate; }
.prh-inner { position: relative; z-index: 1; display: flex; min-height: clamp(460px, 42vw, 600px); align-items: center; }
.prh-text { max-width: min(620px, 50%); }
.prh-photo { position: absolute; z-index: 0; inset: 0 0 0 auto; width: 60%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 42%, rgba(0,0,0,.5) 64%, rgba(0,0,0,.12) 82%, transparent 94%);
          mask-image: linear-gradient(to left, #000 0%, #000 42%, rgba(0,0,0,.5) 64%, rgba(0,0,0,.12) 82%, transparent 94%); }
.prh-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; display: block; animation: prh-drift 18s ease-out both; }
@keyframes prh-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (max-width: 960px) {
  .prh { padding-top: 0; }
  .prh-photo { position: relative; inset: auto; width: 100%; height: clamp(240px, 56vw, 420px);
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
  .prh-inner { display: block; min-height: 0; margin-top: -24px; }
  .prh-text { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .prh-photo img { animation: none; } }
.prh .crumbs { margin-bottom: clamp(22px, 3vw, 34px); justify-content: flex-start; text-align: left; }
.prh .crumbs ol { justify-content: flex-start; }
.prh-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 0 0 18px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.prh-kicker span:first-child { color: var(--orange); }
.prh-kicker > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .55; margin: 0 12px 3px; }
.prh-title { margin: 0; font: 600 clamp(28px, 3vw, 42px)/1.18 var(--f-display); color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
.prh-decks { list-style: none; margin: 24px 0 0; padding: 0; max-width: 64ch; display: grid; gap: 12px; }
.prh-decks li { position: relative; padding-left: 26px; font-size: 17.5px; line-height: 1.6; color: var(--text); }
.prh-decks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 2px; border-radius: 2px; background: var(--orange); }
.prh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.prh-partner { font-size: 14px; color: var(--muted); }
.prh-partner strong { color: var(--ink); }
.prh-figs { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(32px, 4vw, 48px) 0 clamp(28px, 3.4vw, 40px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prh-figs div { display: flex; flex-direction: column; padding: 4px clamp(16px, 2.4vw, 30px); border-left: 1px solid var(--line); }
.prh-figs div:first-child { padding-left: 0; border-left: 0; }
.prh-figs dd { order: -1; margin: 0; font: 600 clamp(28px, 3vw, 40px)/1.1 var(--f-display); color: var(--teal); }
.prh-figs dd.prh-fig-text { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.25; padding-top: .45em; white-space: nowrap; }
.prh-figs dt { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .prh-figs { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .prh-figs div:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Resources hero: hands photo under a dark tint, text in white on top */
.res-hero.rsh { min-height: clamp(500px, 52vw, 660px); background: #14100c; display: grid; place-items: center; }
.rsh .rsh-bg { position: absolute; inset: 0; z-index: 0; }
.rsh .rsh-bg img { position: absolute; inset: 0; left: 0; bottom: auto; width: 100%; height: 100%; max-width: none; transform: none; object-fit: cover; object-position: 50% 45%; animation: rsh-drift 20s ease-out both; }
.rsh .rsh-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 75% at 50% 50%, rgba(12, 9, 6, .72), rgba(12, 9, 6, .5) 70%, rgba(12, 9, 6, .6)); }
@keyframes rsh-drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.rsh .copy { position: relative; z-index: 2; max-width: 760px; padding: clamp(64px, 8vw, 110px) var(--gutter); }
.rsh .copy::before { display: none; }
.rsh h1 { color: #fff; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.15; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.rsh .mark, .rsh .mark.is-in { color: #fff; background: none; padding: 0; }
.rsh p { color: rgba(255, 255, 255, .9); font-size: clamp(17px, 1.4vw, 20px); max-width: 560px; margin: 20px auto 32px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
@media (max-width: 760px) {
  .res-hero.rsh { min-height: 520px; display: grid; }
  .rsh .copy { padding: 72px var(--gutter); }
  .rsh .rsh-bg img { object-position: 55% 50%; }
}
@media (prefers-reduced-motion: reduce) { .rsh .rsh-bg img { animation: none; } }

/* Learning Labs: story cards (clean event photos from each story PDF, captions in HTML) */
#learning-labs .coverflow { height: 400px; }
.cf-story { height: 350px; width: 64%; margin-left: -32%; border-radius: 16px; background: #1b1510; }
.cf-story img { object-fit: cover; }
.cf-story::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.86) 22%, rgba(0,0,0,.62) 42%, rgba(0,0,0,.28) 62%, rgba(0,0,0,.08) 78%, rgba(0,0,0,0) 90%); }
.cf-cap { text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.cf-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 20px 22px 20px; color: #fff; display: flex; flex-direction: column; gap: 3px; }
.cf-kick { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #FFC79A; }
.cf-cap strong { font: 600 22px/1.2 var(--f-display); }
.cf-cap small { font-size: 13.5px; color: rgba(255,255,255,.85); line-height: 1.4; }
.cf-read { margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: #fff; padding: 7px 14px; border-radius: 999px; background: var(--orange); transition: background .3s, transform .3s; }
.cf-read:hover { background: var(--orange-600); transform: translateX(2px); }
.cf-story:not([data-pos="0"]) .cf-cap { opacity: 0; transition: opacity .5s; }
.cf-story:not([data-pos="0"]) .cf-read { pointer-events: none; }
.cf-story[data-pos="0"] .cf-cap { opacity: 1; transition: opacity .6s .3s; }
@media (max-width: 1100px) { #learning-labs .coverflow { height: 360px; } .cf-story { height: 310px; } }
@media (max-width: 600px) { #learning-labs .coverflow { height: 340px; } .cf-story { height: 290px; width: 78%; margin-left: -39%; } .cf-cap strong { font-size: 19px; } }

/* Saadhya hero: the group photo is the background, under a tint of the Saadhya colour (strongest behind the text) */
.sa-hero--bg { background: var(--orange); }
.sa-hero--bg .sa-bg { position: absolute; inset: 0; z-index: -2; }
.sa-hero--bg .sa-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; animation: sa-drift 20s ease-out both; }
.sa-hero--bg .sa-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--orange) 94%, #000) 0%, color-mix(in srgb, var(--orange) 86%, transparent) 38%, color-mix(in srgb, var(--orange) 55%, transparent) 70%, color-mix(in srgb, var(--orange) 35%, transparent) 100%),
              linear-gradient(0deg, color-mix(in srgb, var(--orange) 70%, #000 10%) 0%, transparent 45%); }
.sa-hero--bg::before { display: none; }
.sa-hero--bg .split-hero { grid-template-columns: minmax(0, 640px); min-height: clamp(300px, 30vw, 420px); align-content: center; }
.sa-hero--bg h1, .sa-hero--bg p { text-shadow: 0 2px 18px rgba(0,0,0,.25); }
@keyframes sa-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (max-width: 760px) {
  .sa-hero--bg .sa-bg::after { background: linear-gradient(180deg, color-mix(in srgb, var(--orange) 80%, transparent) 0%, color-mix(in srgb, var(--orange) 90%, transparent) 55%, var(--orange) 100%); }
}
@media (prefers-reduced-motion: reduce) { .sa-hero--bg .sa-bg img { animation: none; } }

/* Blogs: "Latest stories" book. One box: the story title on top, then an open book
   (photo on the left page, the story on the right page). Pages turn on the spine. */
.sbook { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: 0 30px 70px -40px rgba(60, 35, 15, .45); padding: clamp(20px, 2.6vw, 34px); outline: none; }
.sbook:focus-visible { box-shadow: 0 0 0 3px var(--orange), 0 30px 70px -40px rgba(60, 35, 15, .45); }
.sb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 4px 4px clamp(18px, 2vw, 24px); }
.sb-count { margin-left: 10px; color: var(--muted); letter-spacing: .12em; }
.sb-title { margin: 10px 0 0; font: 600 clamp(24px, 2.6vw, 36px)/1.18 var(--f-display); color: var(--ink); min-height: 2.36em; max-width: 30ch; }
.sb-nav { display: flex; gap: 10px; flex: none; }
.sb-nav button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.sb-nav button:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.sb-nav button:disabled { opacity: .35; cursor: default; }
.sb-book { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(400px, 34vw, 500px); perspective: 2200px; border-radius: 10px; background: #efe5d3;
  box-shadow: 0 2px 0 #e2d3b8, 0 4px 0 #ece0ca, 0 6px 0 #e2d3b8, 0 18px 30px -18px rgba(60, 35, 15, .5); touch-action: pan-y; }
.sb-slot { position: relative; overflow: hidden; }
.sb-slot-left { border-radius: 10px 0 0 10px; }
.sb-slot-right { border-radius: 0 10px 10px 0; }
.sb-page { position: absolute; inset: 0; background: #FFFCF6; }
/* left page: the whole photo, never cropped, on a soft blurred copy of itself that fills the page */
.sb-left { background: #2a2219; }
.sb-left .sb-fill { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(22px) saturate(1.15) brightness(.82); transform: translateZ(0); }
.sb-left .sb-photo { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }
.sb-slot-right > .sb-right { position: relative; min-height: 100%; }
.sb-face .sb-page { position: absolute; inset: 0; }
.sb-left::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(0,0,0,0) 82%, rgba(0,0,0,.3)); pointer-events: none; }
.sb-right { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: clamp(24px, 4vw, 56px);
  background: linear-gradient(90deg, rgba(120, 90, 50, .16), rgba(120, 90, 50, 0) 12%), #FFFCF6; }
.sb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; color: var(--muted); }
.sb-meta .post-cat { position: static; }
.sb-excerpt { margin: 0; font: italic 500 clamp(17px, 1.45vw, 21px)/1.6 var(--f-display); color: var(--text); }
@media (max-width: 760px) { .sb-excerpt { font-size: 17px; } }
.sb-folio { position: absolute; bottom: 14px; font-size: 12px; font-weight: 700; color: #b7a585; letter-spacing: .08em; }
.sb-left .sb-folio { left: 18px; color: rgba(255,255,255,.85); z-index: 3; }
.sb-right .sb-folio { right: 20px; }
.sb-spine { position: absolute; z-index: 4; top: 0; bottom: 0; left: calc(50% - 14px); width: 28px; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.16) 45%, rgba(0,0,0,.22) 50%, rgba(0,0,0,.12) 55%, rgba(0,0,0,0)); }
/* the turning leaf */
.sb-leaf { position: absolute; z-index: 5; top: 0; bottom: 0; width: 50%; transform-style: preserve-3d; will-change: transform; }
.sb-leaf.is-right { left: 50%; transform-origin: 0 50%; }
.sb-leaf.is-left { left: 0; transform-origin: 100% 50%; }
.sb-face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.sb-back { transform: rotateY(180deg); }
.sb-shade { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.05)); will-change: opacity; }
.sb-leaf.is-left .sb-front .sb-shade, .sb-leaf.is-right .sb-back .sb-shade { background: linear-gradient(270deg, rgba(0,0,0,.35), rgba(0,0,0,.05)); }
@media (max-width: 760px) {
  .sb-head { align-items: flex-start; flex-direction: column; }
  .sb-nav { align-self: flex-end; margin-top: -8px; }
  .sb-title { min-height: 0; font-size: 24px; }
  .sb-book { grid-template-columns: 1fr; min-height: 0; }
  .sb-slot-right, .sb-spine { display: none; }
  .sb-slot-left { border-radius: 10px; }
  .sb-slot-left > .sb-full { position: relative; }
  .sb-full { display: flex; flex-direction: column; }
  .sb-full .sb-left { position: relative; height: 240px; flex: none; }
  .sb-full .sb-right { position: relative; flex: 1; justify-content: flex-start; background: #FFFCF6; }
  .sb-leaf.is-full { left: 0; width: 100%; transform-origin: 0 50%; border-radius: 10px; overflow: hidden; }
}

/* page-turn effects: a glint of light sweeping across the curling page, a warm glow on its edge,
   and the shadow it casts on the page underneath (all transform / opacity, so it stays smooth) */
.sb-glint { position: absolute; z-index: 5; top: -10%; bottom: -10%; left: -20%; width: 140%; opacity: 0; pointer-events: none; will-change: transform, opacity;
  background: linear-gradient(100deg, transparent 32%, rgba(255, 246, 228, .16) 42%, rgba(255, 255, 255, .62) 50%, rgba(255, 238, 210, .18) 58%, transparent 68%); mix-blend-mode: screen; }
.sb-edge { position: absolute; z-index: 6; top: 0; bottom: 0; width: 3px; opacity: 0; pointer-events: none; will-change: opacity;
  background: linear-gradient(180deg, rgba(255, 214, 170, .2), #FFE3C2, rgba(255, 214, 170, .2)); box-shadow: 0 0 16px 5px rgba(255, 170, 100, .45), 0 0 40px 10px rgba(255, 200, 140, .25); }
.sb-leaf.is-right .sb-edge, .sb-leaf.is-full .sb-edge { right: 0; }
.sb-leaf.is-left .sb-edge { left: 0; }
.sb-cast { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; will-change: opacity; }
.sb-cast.from-left { background: linear-gradient(90deg, rgba(20, 12, 4, .55), rgba(20, 12, 4, .12) 45%, transparent 75%); }
.sb-cast.from-right { background: linear-gradient(270deg, rgba(20, 12, 4, .55), rgba(20, 12, 4, .12) 45%, transparent 75%); }

.t-card.no-anim { transition: none !important; }

/* Blogs book, readable: each story runs over several pages (js/storybook.js) and pages turn with an e-book curl */
.sb-book { min-height: 0; height: clamp(440px, 38vw, 560px); }
.sb-slot-right > .sb-right { position: absolute; inset: 0; min-height: 0; }
.sb-slot-left > .sb-page:not(.sb-left) { background: linear-gradient(270deg, rgba(120, 90, 50, .16), rgba(120, 90, 50, 0) 12%), #FFFCF6; }
.sb-slot-right > .sb-page { background: linear-gradient(90deg, rgba(120, 90, 50, .16), rgba(120, 90, 50, 0) 12%), #FFFCF6; }
.sb-text, .sb-end, .sb-blank { background: #FFFCF6; }
.sb-flow { position: absolute; inset: clamp(26px, 3vw, 38px) clamp(26px, 3.2vw, 44px) 46px; overflow: hidden; font: 400 15.5px/1.68 var(--f-display); color: var(--text); }
.sb-flow p { margin: 0 0 .85em; }
.sb-flow h2, .sb-flow h3, .sb-flow h4 { margin: .2em 0 .55em; font: 600 17px/1.3 var(--f-display); color: var(--ink); letter-spacing: .01em; }
.sb-flow ul, .sb-flow ol { margin: 0 0 .85em; padding-left: 1.2em; }
.sb-flow li { margin-bottom: .3em; }
.sb-flow blockquote { margin: 0 0 .85em; padding-left: 14px; border-left: 3px solid var(--orange); font-style: italic; }
.sb-flow figure { margin: 0 0 14px; }
.sb-flow figure img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: cover; border-radius: 6px; }
.sb-end { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 40px 36px; }
.sb-end-mark { font-size: 26px; color: var(--orange); line-height: 1; }
.sb-end-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sb-end h4 { margin: 0 0 6px; font: 600 clamp(19px, 1.8vw, 24px)/1.25 var(--f-display); color: var(--ink); max-width: 22ch; }
.sb-end-next { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 30ch; }
.sb-end-next b { color: var(--ink); font-weight: 700; }
.sb-measure { position: absolute; left: 0; top: 0; visibility: hidden; pointer-events: none; z-index: -1; }
.sb-measure .sb-page { position: absolute; inset: 0; }
/* a folded corner on the right page hints that it turns */
.sb-slot-right::after { content: ""; position: absolute; right: 0; bottom: 0; z-index: 3; width: 30px; height: 30px; pointer-events: none;
  background: linear-gradient(315deg, #efe5d3 0 47%, rgba(80, 55, 25, .18) 50%, #FFF6E6 54%, #E8D9BC 100%); border-top-left-radius: 6px;
  box-shadow: -2px -2px 6px rgba(60, 40, 15, .08); transition: width .35s var(--ease), height .35s var(--ease); }
.sbook:hover .sb-slot-right::after { width: 44px; height: 44px; }
.sb-book { cursor: pointer; }
.sb-book a, .sb-book button { cursor: pointer; }
/* the turning page: windows turned to the crease, each holding a counter-turned page (js/storybook.js) */
.sb-c-stage { position: absolute; z-index: 6; pointer-events: none; }
.sb-c-win { position: absolute; left: 0; top: 0; overflow: hidden; transform-origin: 0 0; will-change: transform; backface-visibility: hidden; }
.sb-c-page { position: absolute; left: 0; top: 0; overflow: hidden; transform-origin: 0 0; will-change: transform; backface-visibility: hidden; background: #FFFCF6; }
.sb-c-back .sb-c-page { box-shadow: 0 0 34px rgba(40, 25, 8, .22); }
.sb-c-page > .sb-page, .sb-c-mirror > .sb-page { position: absolute; inset: 0; }
.sb-c-mirror { position: absolute; inset: 0; transform: scaleX(-1); }
.sb-c-back .sb-c-page::after { content: ""; position: absolute; inset: 0; background: rgba(90, 65, 30, .06); pointer-events: none; }
.sb-c-shade, .sb-c-gloss, .sb-c-cast { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 5; transform-origin: 0 0; pointer-events: none; opacity: 0; }
.sb-c-shade::before, .sb-c-gloss::before, .sb-c-cast::before { content: ""; position: absolute; top: -1600px; height: 3200px; }
.sb-c-shade::before { left: -170px; width: 170px; background: linear-gradient(90deg, rgba(0,0,0,0), rgba(30, 18, 5, .12) 70%, rgba(30, 18, 5, .26)); }
.sb-c-gloss::before { left: 0; width: 170px; background: linear-gradient(90deg, rgba(255, 255, 255, .7), rgba(255, 252, 240, .25) 14%, rgba(60, 40, 15, .1) 42%, rgba(60, 40, 15, 0) 100%); }
.sb-c-cast::before { left: 0; width: 130px; background: linear-gradient(90deg, rgba(25, 15, 4, .38), rgba(25, 15, 4, .12) 35%, rgba(25, 15, 4, 0)); }
@media (max-width: 760px) {
  .sb-book { height: 620px; }
  .sb-slot-right::after { display: none; }
  .sb-slot-left::after { content: ""; position: absolute; right: 0; bottom: 0; z-index: 3; width: 30px; height: 30px; pointer-events: none;
    background: linear-gradient(315deg, #efe5d3 0 47%, rgba(80, 55, 25, .18) 50%, #FFF6E6 54%, #E8D9BC 100%); border-top-left-radius: 6px; }
  .sb-flow { font-size: 15.5px; }
}

/* Book page grid: every page shares the same margins, mirrored across the spine
   (outer 32px, inner 44px, head 46px, foot 48px); page numbers sit on the outer corners of the foot line,
   running heads on the head line, and text is justified to the margins. */
.sb-page { --pg-top: 46px; --pg-foot: 48px; --pg-out: 32px; --pg-in: 44px; }
.side-l { --pg-l: var(--pg-out); --pg-r: var(--pg-in); }
.side-r { --pg-l: var(--pg-in); --pg-r: var(--pg-out); }
.side-1 { --pg-l: 30px; --pg-r: 30px; }
.sb-runhead { position: absolute; top: 20px; left: var(--pg-l, 32px); right: var(--pg-r, 32px); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #b3a07f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-l .sb-runhead { text-align: left; }
.side-r .sb-runhead { text-align: right; }
.side-1 .sb-runhead { text-align: center; }
.sb-text .sb-flow { inset: var(--pg-top) var(--pg-r, 32px) var(--pg-foot) var(--pg-l, 32px); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.sb-text .sb-flow h2, .sb-text .sb-flow h3, .sb-text .sb-flow h4, .sb-text .sb-flow figure { text-align: left; }
.sb-text .sb-flow > :last-child { margin-bottom: 0; }
.sb-folio, .sb-left .sb-folio, .sb-right .sb-folio { position: absolute; bottom: 18px; top: auto; z-index: 3; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: #b3a07f; line-height: 1; }
.side-l .sb-folio { left: var(--pg-out); right: auto; }
.side-r .sb-folio { right: var(--pg-out); left: auto; }
.side-1 .sb-folio { left: 50%; right: auto; transform: translateX(-50%); }
.sb-left .sb-folio { color: rgba(255, 255, 255, .9); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
/* the opening page and the closing page sit on the same margins */
.sb-right.side-r, .sb-right.side-1 { padding: var(--pg-top) var(--pg-r) var(--pg-foot) var(--pg-l); justify-content: center; }
.sb-end { padding: var(--pg-top) var(--pg-r, 32px) var(--pg-foot) var(--pg-l, 32px); }
.sb-flow figure img { max-height: 200px; }

/* Blogs: the featured story stays still (no hover zoom or lift) */
.post-feature .post-link:hover .post-media img, .post-feature .post-link:hover { transform: none; }
/* keep the Sambhav mark in the bottom-right corner of the cover in view */
.post-feature .post-media img { object-position: right center; }
@media (max-width: 760px) { .post-feature .post-media { aspect-ratio: 16 / 10; } }
@media (min-width: 761px) { .post-feature .post-link { grid-template-columns: 1.6fr 1fr; } }

/* Partner and collaborator logos (assets/img/logos/). Each sits in an <a class="logo-item">; give it an href to link the logo. */
.logo-item { display: flex; align-items: center; justify-content: center; flex: none; height: 64px; color: inherit; }
.logo-item img { height: 100%; width: auto; max-width: 200px; object-fit: contain; filter: grayscale(.15); transition: filter .3s, transform .3s; }
a.logo-item[href]:hover img, a.logo-item[href]:focus-visible img { filter: none; transform: scale(1.05); }
.marquee + .marquee { padding-top: 0; }
@media (max-width: 600px) { .logo-item { height: 48px; } .logo-item img { max-width: 150px; } }

/* Collaborators: three logos shown once, centred (no scrolling strip) */
.collab-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px clamp(32px, 4.2vw, 76px); padding: 34px 20px; }
.collab-row .logo-item { height: 58px; }
@media (max-width: 600px) { .collab-row { gap: 28px 40px; } .collab-row .logo-item { height: 46px; } }

/* ---------- Big screens and TVs ----------
   The design is drawn for laptops. On wider screens the whole page is scaled up in steps,
   so text, menus and photos fill a TV the way they fill a laptop. --z is the scale. */
:root { --z: 1; }
@media (min-width: 1800px) { :root { --z: 1.1; } }
@media (min-width: 2100px) { :root { --z: 1.25; } }
@media (min-width: 2400px) { :root { --z: 1.4; } }
@media (min-width: 2800px) { :root { --z: 1.6; } }
@media (min-width: 3200px) { :root { --z: 1.8; } }
@media (min-width: 3600px) { :root { --z: 2; } }
html { zoom: var(--z); }
/* things sized to the screen itself are divided back, so they still fit it exactly */
.hero-slides { height: calc(100svh / var(--z)); }
.runner--hero { width: calc(100vw / var(--z)); margin-inline: calc(50% - 50vw / var(--z)); }
.cmap { max-height: calc(100svh / var(--z) - var(--header-h) - 190px); }
.centre-list { max-height: calc(100svh / var(--z) - var(--header-h) - 60px); }
/* the hero's ticker sits on the bottom edge of the screen, with no dark band under it */
.hero-content { padding-bottom: 0; }
/* it now touches the bottom edge, where scroll-reveal never fires, so it fades in on load instead */
.runner--hero { animation: runner-in .9s cubic-bezier(.2,.7,.2,1) .5s both; }
@keyframes runner-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .runner--hero { animation: none; } }

/* ---------- About page hero: full-width embroidery photo with a dark fade from the left ---------- */
.about-hero { isolation: isolate; display: flex; align-items: center; min-height: clamp(460px, 40vw, 600px); padding-block: clamp(64px, 8vw, 120px); background: #141110; }
.about-hero > .container { flex: 0 0 auto; }
.about-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.about-hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; animation: sa-drift 20s ease-out both; }
.about-hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,11,10,.94) 0%, rgba(14,11,10,.86) 30%, rgba(14,11,10,.66) 46%, rgba(14,11,10,.3) 62%, rgba(14,11,10,.06) 78%, rgba(14,11,10,0) 88%); }
.about-hero-txt { max-width: 610px; }
.about-hero h1 { color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,.35); }
.about-hero h1 .mark { color: var(--teal); text-shadow: none; }
.about-hero .eyebrow { color: #F6B48A; }
.about-hero .lead { color: rgba(255,255,255,.88); }
@media (max-width: 860px) {
  .about-hero { min-height: 0; align-items: flex-end; padding-block: clamp(210px, 58vw, 320px) 40px; }
  .about-hero-bg { bottom: auto; height: clamp(330px, 92vw, 480px); }
  .about-hero-bg img { object-position: 46% 35%; }
  .about-hero-bg::after { background: linear-gradient(180deg, rgba(14,11,10,.1) 0%, rgba(14,11,10,.15) 40%, rgba(14,11,10,.75) 72%, #141110 100%); }
}
@media (prefers-reduced-motion: reduce) { .about-hero-bg img { animation: none; } }

/* ---------- Donate page hero: Saadhya group photo behind a red fade from the left ---------- */
.dn-hero--bg .dn-bg { position: absolute; inset: 0; z-index: -2; }
.dn-hero--bg .dn-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; animation: sa-drift 20s ease-out both; }
.dn-hero--bg .dn-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--orange-600) 97%, transparent) 0%, color-mix(in srgb, var(--orange-600) 93%, transparent) 42%, color-mix(in srgb, var(--orange) 80%, transparent) 56%, color-mix(in srgb, var(--orange) 42%, transparent) 70%, color-mix(in srgb, var(--orange) 18%, transparent) 86%, color-mix(in srgb, var(--orange) 10%, transparent) 100%),
              linear-gradient(0deg, color-mix(in srgb, var(--orange) 80%, #000 8%) 0%, transparent 40%); }
.dn-hero--bg::before { display: none; }
.dn-hero--bg .split-hero { grid-template-columns: minmax(0, 640px); min-height: clamp(380px, 34vw, 500px); align-content: center; }
.dn-hero--bg h1, .dn-hero--bg p { text-shadow: 0 2px 18px rgba(0,0,0,.25); }
@media (max-width: 760px) {
  .dn-hero--bg .dn-bg::after { background: linear-gradient(180deg, color-mix(in srgb, var(--orange) 55%, transparent) 0%, color-mix(in srgb, var(--orange) 85%, transparent) 45%, var(--orange) 100%); }
}
@media (prefers-reduced-motion: reduce) { .dn-hero--bg .dn-bg img { animation: none; } }

.nowrap { white-space: nowrap; }
/* Donate page closing box: text beside the button on wide screens, stacked on phones and small tablets */
.give-cta--wide { grid-template-columns: 1.4fr auto; }
@media (max-width: 860px) { .give-cta--wide { grid-template-columns: 1fr; justify-items: start; } }
/* justified paragraphs read well on wide screens, but on phones they leave large gaps between words */
@media (max-width: 600px) { .about-sa p, .about-sa blockquote, .venn-copy p { text-align: left; hyphens: manual; } }
/* tablets: the headline runs most of the way across, so the photo behind it is toned down evenly rather than faded only on the left */
@media (max-width: 1024px) {
  .sa-hero--bg .sa-bg::after, .dn-hero--bg .dn-bg::after {
    background: linear-gradient(180deg, color-mix(in srgb, var(--orange-600) 86%, transparent) 0%, color-mix(in srgb, var(--orange-600) 93%, transparent) 50%, color-mix(in srgb, var(--orange) 97%, transparent) 100%);
  }
}

/* ---------- Page changes: the browser's own quick cross-fade (no scripted delay) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: ease-out; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
/* the tapped menu item lights up straight away so the tap is felt while the next page loads */
.mobile-menu a.is-going { color: var(--orange); }
/* the menu circle closes faster than it opens */
.mobile-menu { transition: clip-path .42s var(--ease), visibility 0s .42s; }
