/* ==========================================================================
   Voice of Peace — Design system
   TANS Humanity Foundation
   Mobile-first. Breakpoints: 640px (tablet), 1024px (desktop).
   ========================================================================== */

:root {
  /* Colour */
  --color-charcoal: #232323;
  --color-terracotta: #D98A4E;
  --color-terracotta-dark: #B96A32;
  --color-olive: #6B7245;
  --color-olive-dark: #545C36;
  --color-bg: #FAF7F2;
  --color-surface: #FFFFFF;
  --color-muted: #6B6660;
  --color-glow: rgba(217, 138, 78, 0.25);
  --color-line: rgba(35, 35, 35, 0.08);
  --color-white: #FFFFFF;

  /* Typography */
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-md: clamp(1.05rem, 0.95rem + 0.4vw, 1.125rem);
  --text-lg: clamp(1.2rem, 1rem + 0.8vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.15rem + 1.6vw, 2.15rem);
  --text-2xl: clamp(1.85rem, 1.2rem + 2.6vw, 2.85rem);
  --text-hero: clamp(2.6rem, 1.4rem + 5.5vw, 5.4rem);

  /* Space */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6.5rem;
  --header-h: 4.5rem;
  --container: 1200px;
  --gutter: 1.25rem;

  /* Shape & elevation */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 10px rgba(35, 35, 35, 0.05);
  --shadow-md: 0 10px 28px rgba(35, 35, 35, 0.08);
  --shadow-lg: 0 18px 40px rgba(35, 35, 35, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px var(--color-bg), 0 0 0 6px var(--color-terracotta);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--color-charcoal);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body.is-nav-open {
  overflow: hidden;
}

body.is-nav-open .site-header {
  background: rgba(250, 247, 242, 0.97);
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--color-terracotta);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -100%;
  z-index: 2000;
  padding: 0.6rem 1rem;
  background: var(--color-charcoal);
  color: var(--color-white);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-md);
}

.visually-hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--color-terracotta);
  outline-offset: 3px;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.text-link:focus-visible {
  outline: 3px solid var(--color-terracotta);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  max-width: 42rem;
  margin-bottom: var(--space-2xl);
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header p + p,
.section-header .section-intro + p {
  margin-top: var(--space-md);
}

.eyebrow {
  margin-bottom: var(--space-sm);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-olive);
}

.eyebrow.light {
  color: #d7d2c8;
}

.section-intro {
  margin-top: var(--space-md);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-charcoal);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-2xl);
}

h3 {
  font-size: var(--text-lg);
}

h4 {
  font-size: 1.05rem;
}

.center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn-primary {
  background: var(--color-terracotta);
  color: var(--color-white);
  box-shadow: 0 8px 20px var(--color-glow);
}

.btn-primary:hover {
  background: var(--color-terracotta-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-charcoal);
  color: var(--color-charcoal);
}

.btn-outline:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.btn-olive {
  background: transparent;
  border-color: var(--color-olive);
  color: var(--color-olive-dark);
}

.btn-olive:hover {
  background: var(--color-olive);
  color: var(--color-white);
}

.btn-header {
  display: inline-flex;
  min-height: 2.4rem;
  padding: 0.4rem 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--color-olive-dark);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1.5px;
  transition: background-size 0.3s var(--ease), color 0.2s ease;
}

.text-link:hover {
  background-size: 100% 1.5px;
  color: var(--color-terracotta-dark);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    height 0.3s var(--ease);
}

.site-header.is-scrolled {
  height: 4rem;
  background: rgba(250, 247, 242, 0.94);
  box-shadow: 0 8px 24px rgba(35, 35, 35, 0.06);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.logo img,
.logo-mark {
  display: block;
  width: auto;
  height: 3.6rem;
  object-fit: contain;
  background: transparent !important;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  outline: none;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.logo-org {
  font-size: 0.7rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.nav-desktop {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
}

.nav-list a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-charcoal);
  padding: 0.25rem 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1.5px;
  background: var(--color-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  transform: scaleX(1);
}

.nav-list a.is-active {
  color: var(--color-terracotta-dark);
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 1.5rem 2rem;
  background: rgba(250, 247, 242, 0.97);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s var(--ease), visibility 0.4s var(--ease);
}

.nav-overlay.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile {
  width: min(100%, 28rem);
  text-align: center;
}

.nav-mobile-list {
  display: grid;
  gap: 0.35rem;
  margin-bottom: var(--space-xl);
}

.nav-mobile-list a {
  display: block;
  padding: 0.7rem 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
}

.nav-mobile .btn {
  width: 100%;
}

.nav-mobile-social {
  justify-content: center;
  margin-top: var(--space-xl);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  background:
    linear-gradient(180deg, var(--color-bg) 0%, #f6eee4 55%, rgba(217, 138, 78, 0.16) 100%);
}

.hero-sun {
  position: absolute;
  top: 6%;
  right: -18%;
  width: min(78vw, 34rem);
  height: min(78vw, 34rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 138, 78, 0.5) 0%, rgba(217, 138, 78, 0.16) 42%, transparent 70%);
  filter: blur(12px);
  animation: sun-pulse 9s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  max-width: 52rem;
}

.hero-kicker {
  margin-bottom: var(--space-md);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-olive);
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.95;
}

.hero-sub {
  margin-top: var(--space-lg);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.45;
  max-width: 38rem;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin: var(--space-xl) 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-olive-dark);
}

.hero-strip .dot {
  color: var(--color-terracotta);
}

.hero-lead {
  max-width: 40rem;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-xl);
}

.hero-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-xl);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.path-arrow {
  color: var(--color-terracotta);
  animation: arrow-nudge 2.8s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Impact strip
   -------------------------------------------------------------------------- */

.impact {
  background: var(--color-surface);
}

.impact-grid {
  display: grid;
  gap: var(--space-md);
}

.impact-card,
.focus-card,
.action-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.impact-card {
  padding: var(--space-xl);
}

.icon-wrap,
.card-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  color: var(--color-olive-dark);
  background: rgba(107, 114, 69, 0.1);
}

.icon-wrap svg,
.card-icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

.impact-card h3,
.action-card h3,
.focus-card h4 {
  margin-bottom: 0.4rem;
}

.impact-card p,
.focus-card p,
.action-card p {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   About / Why
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  gap: var(--space-2xl);
}

.about-copy p + p {
  margin-top: var(--space-md);
  color: var(--color-muted);
}

.about-copy p:first-of-type {
  color: var(--color-charcoal);
}

.focus-panel {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.focus-heading {
  margin-bottom: var(--space-lg);
  font-size: 1.15rem;
}

.focus-grid {
  display: grid;
  gap: var(--space-md);
}

.focus-card {
  padding: var(--space-lg);
  background: var(--color-bg);
}

/* --------------------------------------------------------------------------
   Journey / timeline
   -------------------------------------------------------------------------- */

.timeline {
  --progress: 0;
  position: relative;
  display: grid;
  gap: var(--space-xl);
  margin: 0 auto var(--space-3xl);
  max-width: 28rem;
  padding-left: 1.1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: rgba(107, 114, 69, 0.22);
}

.timeline::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.4rem;
  width: 2px;
  height: calc((100% - 0.8rem) * var(--progress));
  background: var(--color-olive);
  transform-origin: top;
  transition: height 1.2s var(--ease);
}

.timeline-item {
  position: relative;
  padding-left: var(--space-xl);
}

.timeline-node {
  position: absolute;
  left: -1.1rem;
  top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-charcoal);
  z-index: 1;
}

.timeline-item.is-complete .timeline-node {
  background: var(--color-olive);
  border-color: var(--color-olive);
}

.timeline-item.is-current .timeline-node {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 6px var(--color-glow);
}

.timeline-item h3 {
  font-size: 1.2rem;
}

.timeline-item p {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.journey-copy {
  display: grid;
  gap: var(--space-xl);
}

.journey-block {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.journey-block h3 {
  margin-bottom: var(--space-md);
}

.journey-block p + p {
  margin-top: var(--space-md);
}

.journey-block p {
  color: var(--color-muted);
}

.journey-values {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-olive-dark) !important;
}

/* --------------------------------------------------------------------------
   What we do
   -------------------------------------------------------------------------- */

.what-we-do .section-header p:last-child {
  color: var(--color-muted);
}

.initiatives-lead {
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

.card-grid {
  display: grid;
  gap: var(--space-md);
}

.action-card {
  padding: var(--space-xl);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pull-quote {
  max-width: 36rem;
  margin: var(--space-3xl) auto 0;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-terracotta);
  border-bottom: 1px solid var(--color-terracotta);
  text-align: center;
}

.pull-quote p {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Together / chips
   -------------------------------------------------------------------------- */

.together {
  background: var(--color-surface);
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.chip-cloud li {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--color-bg);
}

.chip-cloud li:nth-child(odd) {
  border: 1.5px solid var(--color-terracotta);
  color: var(--color-terracotta-dark);
}

.chip-cloud li:nth-child(even) {
  border: 1.5px solid var(--color-olive);
  color: var(--color-olive-dark);
}

.together-close {
  margin-top: var(--space-2xl);
  text-align: center;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Regional events — India programme
   -------------------------------------------------------------------------- */

.regional-events {
  background: var(--color-surface);
}

.eyebrow.terracotta {
  color: var(--color-terracotta-dark);
}

.regional-intro {
  max-width: 65ch;
  margin: var(--space-md) auto 0;
  color: var(--color-muted);
}

.regional-intro strong {
  color: var(--color-terracotta-dark);
  font-weight: 700;
}

/* Featured launch event card */
.event-hero {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-charcoal) 0%, #2d2d2d 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.event-hero-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: var(--space-lg) var(--space-xl);
  background: rgba(217, 138, 78, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.event-hero-num {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--color-terracotta);
  border-radius: 50%;
  background: var(--color-terracotta);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 6px var(--color-glow);
  flex-shrink: 0;
}

.event-hero-body {
  flex: 1;
  padding: var(--space-xl);
}

.event-hero-body h3 {
  font-size: var(--text-xl);
  margin-bottom: 0.4rem;
  color: var(--color-white);
}

.event-hero-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  background: rgba(217, 138, 78, 0.18);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-terracotta);
}

.event-hero-desc {
  color: rgba(244, 239, 231, 0.8);
  font-size: var(--text-sm);
  line-height: 1.65;
  max-width: 42rem;
}

/* Events table */
.events-table-wrap {
  margin-bottom: var(--space-3xl);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
}

.events-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.events-table thead {
  display: none;
}

.events-table tbody,
.events-table tr,
.events-table td {
  display: block;
}

.events-table tbody.reveal-stagger > tr {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.events-table tbody.reveal-stagger.is-visible > tr {
  opacity: 1;
  transform: none;
}

.events-table tbody.reveal-stagger.is-visible > tr:nth-child(1) { transition-delay: 0.05s; }
.events-table tbody.reveal-stagger.is-visible > tr:nth-child(2) { transition-delay: 0.12s; }
.events-table tbody.reveal-stagger.is-visible > tr:nth-child(3) { transition-delay: 0.19s; }
.events-table tbody.reveal-stagger.is-visible > tr:nth-child(4) { transition-delay: 0.26s; }

.events-table tr {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}

.events-table tr:last-child {
  border-bottom: 0;
}

.events-table td {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.35rem 0;
  color: var(--color-charcoal);
  font-size: var(--text-sm);
}

.events-table td::before {
  content: attr(data-label);
  flex-shrink: 0;
  min-width: 5.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.events-table td:first-child {
  align-items: center;
}

.event-num {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 2px solid var(--color-olive);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-olive-dark);
  background: transparent;
}

.event-region {
  font-weight: 700;
  font-size: 1rem;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border: 1.5px solid var(--color-olive);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-olive-dark);
  background: rgba(107, 114, 69, 0.06);
}

.event-pill.is-confirmed {
  border-color: var(--color-terracotta);
  background: var(--color-terracotta);
  color: var(--color-white);
}

/* Event format */
.event-format {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
}

.event-format-title {
  display: inline-block;
  margin-bottom: var(--space-xl);
  padding-bottom: 0.45rem;
  border-bottom: 3px solid var(--color-olive);
  font-size: var(--text-lg);
  color: var(--color-charcoal);
}

.event-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: format-step;
}

.event-steps li {
  position: relative;
  padding: 0 0 1.35rem 3.35rem;
  color: var(--color-charcoal);
  counter-increment: format-step;
}

.event-steps li:last-child {
  padding-bottom: 0;
}

.step-text {
  display: block;
  padding-top: 0.2rem;
  line-height: 1.55;
}

.event-steps li::before {
  content: counter(format-step);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--color-olive);
  border-radius: 50%;
  background: var(--color-surface);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-olive-dark);
}

.event-steps li::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 2.15rem;
  bottom: 0;
  width: 2px;
  background: rgba(107, 114, 69, 0.18);
}

.event-steps li:last-child::after {
  display: none;
}

.event-format-note {
  max-width: 48rem;
  margin: var(--space-xl) 0 0;
  padding: var(--space-lg);
  border-left: 3px solid var(--color-terracotta);
  background: rgba(217, 138, 78, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.event-format-note p {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-style: italic;
  line-height: 1.65;
  color: var(--color-muted);
}

/* Tablet+ table layout */
@media (min-width: 768px) {
  .event-hero {
    flex-direction: row;
  }

  .event-hero-badge {
    flex-direction: column;
    justify-content: center;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    min-width: 7rem;
  }

  .events-table thead {
    display: table-header-group;
  }

  .events-table tbody {
    display: table-row-group;
  }

  .events-table tr {
    display: table-row;
    padding: 0;
    border-bottom: 0;
  }

  .events-table td {
    display: table-cell;
    padding: 1rem 1.25rem;
    vertical-align: middle;
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--color-line);
  }

  .events-table tr:last-child td {
    border-bottom: 0;
  }

  .events-table td::before {
    display: none;
  }

  .events-table thead th {
    padding: 0.95rem 1.25rem;
    background: var(--color-charcoal);
    color: var(--color-white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 2px solid var(--color-terracotta);
  }

  .events-table thead th:first-child {
    border-top-left-radius: var(--radius-lg);
  }

  .events-table thead th:last-child {
    border-top-right-radius: var(--radius-lg);
  }

  .events-table tbody tr:nth-child(odd) {
    background: var(--color-surface);
  }

  .events-table tbody tr:nth-child(even) {
    background: var(--color-bg);
  }

  .events-table tbody tr {
    transition: background 0.2s ease;
  }

  .events-table tbody tr:hover {
    background: rgba(217, 138, 78, 0.05);
  }

  .events-table tbody.reveal-stagger > tr {
    transform: none;
  }

  .events-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: var(--radius-lg);
  }

  .events-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: var(--radius-lg);
  }

  .event-format {
    padding: var(--space-3xl);
  }
}

/* --------------------------------------------------------------------------
   Principles (inverted)
   -------------------------------------------------------------------------- */

.principles {
  background: var(--color-charcoal);
  color: #f4efe7;
}

.principles h2,
.principles h3 {
  color: var(--color-white);
}

.principles .section-header p {
  color: #d7d2c8;
}

.principle-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: var(--space-3xl);
}

.principle-pills li {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(250, 247, 242, 0.28);
  border-radius: var(--radius-full);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.inclusion {
  max-width: 46rem;
  margin-inline: auto;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.inclusion h3 {
  margin-bottom: var(--space-md);
}

.inclusion p + p {
  margin-top: var(--space-md);
}

.inclusion p {
  color: #d7d2c8;
}

/* --------------------------------------------------------------------------
   Vision
   -------------------------------------------------------------------------- */

.vision-inner {
  max-width: 44rem;
}

.vision-quote {
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.vision-quote p {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.55;
}

.vision-list {
  display: grid;
  gap: 0.9rem;
}

.vision-list li {
  position: relative;
  padding-left: 1.4rem;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.45;
}

.vision-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-olive);
}

.vision-close {
  margin-top: var(--space-2xl);
  text-align: center;
  font-weight: 600;
  color: var(--color-olive-dark);
}

/* --------------------------------------------------------------------------
   Promise
   -------------------------------------------------------------------------- */

.promise {
  background: var(--color-surface);
}

.promise-grid {
  display: grid;
  gap: var(--space-2xl);
}

.promise-intro p {
  margin-top: var(--space-md);
  color: var(--color-muted);
}

.promise-list {
  display: grid;
  gap: 0.75rem;
}

.promise-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  font-weight: 600;
}

.promise-list li::before {
  content: "";
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7245' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.4-9.2-9.2C1.4 8.6 3.7 5 7.2 5c2 0 3.3 1.1 4.8 3.1C13.5 6.1 14.8 5 16.8 5c3.5 0 5.8 3.6 4.4 6.8C19 16.6 12 21 12 21z'/%3E%3Cpath d='M8.5 12.2l2.2 2.2 4.8-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.message-banner {
  margin: 0;
  padding: 1.6rem 1.25rem;
  background: var(--color-terracotta);
  color: var(--color-white);
  text-align: center;
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   CTA + contact
   -------------------------------------------------------------------------- */

.cta-inner {
  max-width: 42rem;
  text-align: center;
}

.cta-inner p {
  margin-top: var(--space-md);
  color: var(--color-muted);
}

.cta-stand {
  font-family: var(--font-serif) !important;
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-charcoal) !important;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: var(--space-xl);
}

.contact {
  padding-top: 0;
}

.contact-inner {
  max-width: 40rem;
}

.contact-form,
.form-success {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  gap: var(--space-md);
}

.field {
  margin-bottom: var(--space-md);
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--text-sm);
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--color-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(35, 35, 35, 0.16);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--color-terracotta);
  outline-offset: 1px;
  border-color: var(--color-terracotta);
}

.field-error {
  margin-top: 0.3rem;
  color: #8a3b1d;
  font-size: var(--text-xs);
}

.form-note {
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.form-success h3 {
  margin-bottom: var(--space-sm);
}

.social-follow {
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.contact-address {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: var(--space-lg);
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.55;
}

.contact-address-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-terracotta);
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-terracotta-dark);
  transition: color 0.2s ease;
}


.contact-email:hover {
  color: var(--color-terracotta);
}

.contact-email .contact-address-icon {
  margin-top: 0;
}

.social-label {
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-olive-dark);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: var(--space-lg);
}

.social-follow .social-list {
  justify-content: center;
  margin-top: 0;
}

.social-link {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 231, 0.28);
  color: #f4efe7;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}

.social-link svg {
  width: 1.15rem;
  height: 1.15rem;
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  color: var(--color-white);
  transform: translateY(-2px);
}

.social-on-light .social-link {
  border-color: rgba(35, 35, 35, 0.14);
  color: var(--color-charcoal);
  background: var(--color-surface);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-charcoal);
  color: #f4efe7;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-top {
  display: grid;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(250, 247, 242, 0.12);
}

.footer-brand img {
  width: 8.25rem;
  height: 8.25rem;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  margin-bottom: var(--space-md);
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-white);
}

.footer-tagline,
.footer-strip {
  margin-top: var(--space-sm);
  color: #d7d2c8;
  max-width: 28rem;
}

.footer-strip {
  font-size: var(--text-sm);
}

.footer-address {
  margin-top: var(--space-sm);
  font-style: normal;
  font-size: var(--text-xs);
  color: #b9b3aa;
  line-height: 1.55;
}


.footer-address a {
  color: var(--color-terracotta);
  transition: color 0.2s ease;
}

.footer-address a:hover {
  color: #e9a66e;
}

.footer-nav ul {
  display: grid;
  gap: 0.55rem;
}

.footer-nav a {
  color: #f4efe7;
}

.footer-nav a:hover {
  color: var(--color-terracotta);
}

.footer-bottom {
  padding-top: var(--space-xl);
}

.footer-path {
  color: #d7d2c8;
  margin-top: 0;
}

.copyright {
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: #b9b3aa;
}

/* Privacy dialog */
.privacy-dialog {
  width: min(36rem, calc(100% - 2rem));
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  background: var(--color-surface);
  color: var(--color-charcoal);
  box-shadow: var(--shadow-lg);
}

.privacy-dialog::backdrop {
  background: rgba(35, 35, 35, 0.55);
}

.privacy-inner {
  padding: var(--space-xl);
}

.privacy-inner h2 {
  margin-bottom: var(--space-md);
}

.privacy-inner p + p {
  margin-top: var(--space-md);
  color: var(--color-muted);
}

.privacy-inner form {
  margin-top: var(--space-xl);
}

/* --------------------------------------------------------------------------
   Motion — reveals
   -------------------------------------------------------------------------- */

.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible,
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.28s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(11) { transition-delay: 0.44s; }
.reveal-stagger.is-visible > *:nth-child(12) { transition-delay: 0.48s; }
.reveal-stagger.is-visible > *:nth-child(13) { transition-delay: 0.52s; }

@keyframes sun-pulse {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.07); opacity: 1; }
}

@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  .hero-sun,
  .path-arrow {
    animation: none;
  }

  .reveal,
  .reveal-stagger > *,
  .events-table tbody.reveal-stagger > tr,
  .action-card,
  .btn,
  .nav-overlay,
  .timeline::after {
    transition: none;
  }

  .reveal,
  .reveal-stagger > *,
  .events-table tbody.reveal-stagger > tr {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Tablet 640px+
   -------------------------------------------------------------------------- */

@media (max-width: 420px) {
  .logo-org {
    display: none;
  }
}

@media (min-width: 640px) {
  :root {
    --gutter: 1.75rem;
    --header-h: 5rem;
  }

  .section {
    padding: var(--space-4xl) 0;
  }

  .logo img,
  .logo-mark {
    width: auto;
    height: 4.1rem;
  }

  .logo-name {
    font-size: 1.15rem;
  }

  .btn-header {
    min-height: 2.5rem;
    padding: 0.45rem 1.15rem;
  }

  .impact-grid,
  .focus-grid,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav ul {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   Desktop 1024px+
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

  .nav-list {
    gap: 0.15rem 0.85rem;
  }

  .nav-list a {
    font-size: 0.9rem;
  }

  .event-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2.25rem;
  }

  .event-steps li {
    padding-bottom: 0;
  }

  .event-steps li::after {
    display: none;
  }

  .nav-overlay {
    display: none !important;
  }

  .about-grid,
  .promise-grid,
  .footer-top {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
    gap: var(--space-3xl);
  }

  .impact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline {
    max-width: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    margin-bottom: var(--space-4xl);
  }

  .timeline::before,
  .timeline::after {
    left: 8%;
    right: 8%;
    top: 0.55rem;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .timeline::after {
    right: auto;
    width: calc(84% * var(--progress));
    height: 2px;
    transition: width 1.2s var(--ease);
  }

  .timeline-item {
    text-align: center;
    padding: 2rem 1rem 0;
  }

  .timeline-node {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .journey-copy {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .hero-inner {
    max-width: 56rem;
  }
}
