/* ============================================================
   BSAP — Bangalore Society of Analytical Psychology
   Design system: warm, literary, contemplative
   ============================================================ */

/* Google Fonts removed — using system Georgia throughout */

/* ---------- Tokens ---------- */
:root {
  /* surfaces — warm, soft, light */
  --cream:      oklch(0.972 0.013 83);
  --cream-deep: oklch(0.949 0.018 80);
  --paper:      oklch(0.993 0.006 90);

  /* ink — warm near-black */
  --ink:        oklch(0.262 0.014 64);
  --ink-soft:   oklch(0.438 0.013 64);
  --ink-faint:  oklch(0.598 0.011 66);

  /* accents — muted sage + warm clay (shared low chroma) */
  --sage:       oklch(0.585 0.045 150);
  --sage-deep:  oklch(0.452 0.046 152);
  --sage-wash:  oklch(0.925 0.022 150);
  --clay:       oklch(0.612 0.058 50);
  --clay-deep:  oklch(0.498 0.060 48);
  --clay-wash:  oklch(0.928 0.024 60);

  /* lines */
  --line:       oklch(0.886 0.011 78);
  --line-soft:  oklch(0.928 0.009 80);

  /* type */
  --font-display: Georgia, "Times New Roman", serif;
  --font-body:    Georgia, "Times New Roman", serif;
  --font-label:   Georgia, "Times New Roman", serif;

  /* layout */
  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);

  --radius: 6px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px oklch(0.4 0.02 64 / 0.04), 0 4px 14px oklch(0.4 0.02 64 / 0.05);
  --shadow-md: 0 2px 6px oklch(0.4 0.02 64 / 0.05), 0 18px 44px oklch(0.4 0.02 64 / 0.09);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.075rem;
  line-height: 1.72;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--sage-wash); color: var(--ink); }

/* paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.h-display {
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: normal;
}
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.12; }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.18; }
h4 { font-size: 1.3rem; letter-spacing: 0; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--sage);
  display: inline-block;
}
.eyebrow.centered { justify-content: center; }

.lead {
  font-size: clamp(1.18rem, 1.7vw, 1.42rem);
  line-height: 1.62;
  color: var(--ink-soft);
  font-weight: 400;
}

.serif-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.serif-quote cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-label);
  font-style: normal;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.center { text-align: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 1.35rem;
}
.site-header.scrolled {
  background: oklch(0.972 0.013 83 / 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-soft);
  padding-block: 0.85rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .mark svg { width: 100%; height: 100%; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
  list-style: none;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px; height: 22px;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 18px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; z-index: 120; }
  .nav-links, .nav-cta .btn { display: none; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--gutter);
    gap: 0.4rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
  }
  body.nav-open .mobile-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .mobile-menu-close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--ink);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    font-family: var(--font-label);
  }
  .mobile-menu a {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    color: var(--ink);
    padding-block: 0.35rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .mobile-menu a:last-of-type { border: none; }
}
@media (min-width: 941px) { .mobile-menu { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.92em 1.7em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-sage { background: var(--sage); color: var(--paper); }
.btn-sage:hover { background: var(--sage-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.text-link {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}
.text-link:hover { gap: 0.85rem; border-color: var(--sage); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card .card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-wash);
  color: var(--sage-deep);
  margin-bottom: 1.4rem;
}
.card .card-icon svg { width: 24px; height: 24px; }
.card h4 { margin-bottom: 0.6rem; }
.card p { font-size: 1rem; line-height: 1.66; }
.card .text-link { margin-top: 1.3rem; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Site images ---------- */
.site-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  /* No forced aspect-ratio or object-fit — images render at natural proportions */
}
/* .site-img--short kept for compatibility but no longer forces crop */
.site-img--short {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.img-slot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--cream-deep) 0 14px, var(--paper) 14px 28px);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  min-height: 280px;
  color: var(--ink-faint);
}
.img-slot span {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--paper);
  padding: 0.5em 1em;
  border-radius: 100px;
  border: 1px solid var(--line);
}

/* ---------- Lists (editorial) ---------- */
.list-feature { list-style: none; padding: 0; display: grid; gap: 1.4rem; }
.list-feature li {
  position: relative;
  padding-left: 2.4rem;
  font-size: 1.06rem;
  line-height: 1.6;
}
.list-feature li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
}
.list-feature li strong { color: var(--ink); font-weight: 600; }

/* ---------- Divider mark ---------- */
.rule {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 0;
}

/* ---------- Eyebrow group helper ---------- */
.stack-sm > * + * { margin-top: 1rem; }
.stack-md > * + * { margin-top: 1.6rem; }
.stack-lg > * + * { margin-top: 2.4rem; }

/* ---------- Reveal animation (progressive enhancement) ----------
   Visible by default; JS adds .reveals-armed to <html> to enable the
   entrance animation, so content is never permanently hidden if JS fails. */
.reveal { opacity: 1; transform: none; }
html.reveals-armed .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.reveals-armed .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  html.reveals-armed .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: oklch(0.82 0.012 80);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem;
}
.site-footer h4, .site-footer .brand { color: var(--cream); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid oklch(0.4 0.012 64);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { font-size: 1.5rem; margin-bottom: 1.2rem; }
.footer-about { max-width: 38ch; font-size: 1rem; color: oklch(0.74 0.012 80); }
.footer-col h5 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.7 0.04 150);
  margin-bottom: 1.3rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a {
  color: oklch(0.82 0.012 80);
  font-size: 1rem;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.footer-col a:hover { color: var(--cream); padding-left: 5px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2.5rem;
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: oklch(0.64 0.012 80);
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 0.5rem; margin-bottom: 1.4rem; }
.field label {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85em 1em;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-wash);
}

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  justify-self: start;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-deep);
  background: var(--clay-wash);
  padding: 0.4em 0.85em;
  border-radius: 100px;
}
.pill.sage { color: var(--sage-deep); background: var(--sage-wash); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-top: clamp(8rem, 14vw, 12rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero .h-display { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.page-hero .lead { max-width: 60ch; margin-top: 1.6rem; }

/* ============================================================
   INNER PAGES
   ============================================================ */

/* ---------- Page hero w/ mandala ---------- */
.page-hero { background: var(--cream); }
.page-hero-mandala {
  position: absolute;
  top: -12%;
  right: clamp(-26%, -6vw, -2%);
  width: min(56vh, 600px);
  height: min(56vh, 600px);
  z-index: 0;
  opacity: 0.8;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 1.4rem; }

/* ---------- Prose ---------- */
.prose p { margin-bottom: 1.2rem; }
.prose p:last-child { margin-bottom: 0; }
.prose .lead { margin-bottom: 1.8rem; }

/* ---------- Two-column text + media (reusable) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split.text-first .split-media { order: 2; }
.split-media { position: relative; }
.split-media .img-slot { min-height: 420px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split .split-media { order: -1 !important; }
}

/* ---------- Value / numbered items ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3rem) clamp(2rem, 5vw, 4rem);
}
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }
.value-item { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start; }
.value-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sage-deep);
  width: 48px; height: 48px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  display: grid; place-items: center;
  flex: none;
}
.value-item h4 { margin-bottom: 0.5rem; }
.value-item p { font-size: 1rem; }

/* ---------- Leadership ---------- */
.leader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 480px;
  margin-inline: auto;
}
.leader-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--sage-wash);
  padding: 14px;
  margin-bottom: 1rem;
}
.leader-avatar > div { width: 100%; height: 100%; }
.leader-card h4 { font-size: 1.6rem; }
.leader-role {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.leader-card .meta { font-size: 0.98rem; color: var(--ink-faint); line-height: 1.55; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sage-deep);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2, .cta-band h3 { color: var(--cream); }
.cta-band .eyebrow { color: var(--sage-wash); }
.cta-band .eyebrow::before { background: var(--sage-wash); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.cta-band .btn-ghost { color: var(--cream); border-color: oklch(0.7 0.04 150); }
.cta-band .btn-ghost:hover { border-color: var(--cream); background: oklch(1 0 0 / 0.08); }
.cta-band .btn-primary { background: var(--cream); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--paper); }

/* ---------- Feature cards w/ emoji-free icon tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 820px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } }
.tile {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.tile-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--sage-wash);
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}
.tile-icon svg { width: 22px; height: 22px; }
.tile h4 { margin-bottom: 0.5rem; }
.tile p { font-size: 0.98rem; line-height: 1.6; }

/* ---------- Filter tabs ---------- */
.tabs { display: inline-flex; gap: 0.4rem; background: var(--cream-deep); padding: 0.4rem; border-radius: 100px; }
.tabs button {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  padding: 0.55em 1.3em;
  border-radius: 100px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.tabs button.active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Detailed event card ---------- */
.event-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.event-card.past { opacity: 0.62; }
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line); }
.ec-date {
  display: grid; justify-items: center; align-content: center;
  width: 96px; height: 96px;
  border-radius: var(--radius-lg);
  background: var(--sage-wash);
}
.ec-date .d { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--ink); line-height: 1; }
.ec-date .m { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); margin-top: 0.25rem; }
.ec-body { display: grid; gap: 0.5rem; }
.ec-meta { font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.ec-body h4 { color: var(--ink); }
.ec-body p { font-size: 1rem; max-width: 68ch; }
.ec-action { white-space: nowrap; }
@media (max-width: 760px) {
  .event-card { grid-template-columns: 72px 1fr; }
  .ec-date { width: 72px; height: 72px; }
  .ec-date .d { font-size: 1.6rem; }
  .ec-action { grid-column: 2; justify-self: start; }
}

/* ---------- Reading list ---------- */
.book-list { display: grid; gap: 0; }
.book {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.6rem;
  padding: clamp(1.6rem, 3vw, 2.2rem) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.book:last-child { border-bottom: 1px solid var(--line); }
.book-spine {
  width: 44px; height: 64px;
  border-radius: 3px 5px 5px 3px;
  background: linear-gradient(105deg, var(--sage-deep), var(--sage));
  box-shadow: var(--shadow-sm);
  position: relative;
}
.book-spine::after { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1.5px; background: oklch(1 0 0 / 0.25); }
.book:nth-child(2n) .book-spine { background: linear-gradient(105deg, var(--clay-deep), var(--clay)); }
.book h4 { margin-bottom: 0.2rem; }
.book .author { font-style: italic; color: var(--ink-faint); margin-bottom: 0.7rem; font-size: 1rem; }
.book p { font-size: 1rem; line-height: 1.6; }

/* ---------- Video cards ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr; } }
.video-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.video-thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  display: block;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  z-index: 2;
}
.video-card:hover .video-play { transform: scale(1.08); background: var(--sage); }
.video-play svg { width: 20px; height: 20px; color: var(--sage-deep); margin-left: 3px; transition: color 0.3s var(--ease); }
.video-card:hover .video-play svg { color: var(--cream); }
.video-info { padding: 1.3rem 1.4rem 1.5rem; }
.video-info h4 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.video-info p { font-size: 0.95rem; line-height: 1.55; }
.video-dur { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.7rem; display: block; }

/* ---------- Link list ---------- */
.link-list { display: grid; gap: 0; }
.link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}
.link-list .link-row:last-child { border-bottom: 1px solid var(--line); }
.link-row:hover { padding-left: 0.8rem; }
.link-row h4 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.link-row p { font-size: 0.98rem; }
.link-row .arrow { font-size: 1.4rem; color: var(--sage-deep); transition: transform 0.35s var(--ease); }
.link-row:hover .arrow { transform: translateX(6px); }

/* ---------- Accordion (newsletter archive) ---------- */
.accordion { display: grid; gap: 0; }
.acc-item { border-top: 1px solid var(--line); }
.accordion .acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none; border: none;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
}
.acc-toggle {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.acc-toggle::before, .acc-toggle::after {
  content: ""; position: absolute;
  background: var(--ink-soft);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.acc-toggle::before { width: 13px; height: 1.5px; }
.acc-toggle::after { width: 1.5px; height: 13px; }
.acc-item.open .acc-toggle { background: var(--sage); border-color: var(--sage); }
.acc-item.open .acc-toggle::before, .acc-item.open .acc-toggle::after { background: var(--cream); }
.acc-item.open .acc-toggle::after { transform: scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.acc-body-inner { padding: 0 0 1.7rem; color: var(--ink-soft); }
.acc-body-inner .tags { font-family: var(--font-label); font-size: 0.85rem; letter-spacing: 0.02em; color: var(--ink-soft); line-height: 1.9; }

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--line-soft); }
.contact-detail:first-of-type { border-top: 1px solid var(--line-soft); }
.cd-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--sage-wash); color: var(--sage-deep); display: grid; place-items: center; }
.cd-icon svg { width: 20px; height: 20px; }
.cd-label { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.3rem; }
.cd-value { font-size: 1.1rem; color: var(--ink); }
.cd-value:hover { color: var(--sage-deep); }
.form-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.req { color: var(--clay-deep); }

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
}
.hero-mandala {
  position: absolute;
  top: 50%;
  right: clamp(-30%, -8vw, -4%);
  transform: translateY(-50%);
  width: min(82vh, 880px);
  height: min(82vh, 880px);
  z-index: 0;
  will-change: transform;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 56rem; }
.hero-inner .h-display { margin: 1.7rem 0 2rem; max-width: none; }
.hero-inner .lead { max-width: 50ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  z-index: 1;
}
.hero-scroll span {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero-scroll i {
  width: 1px; height: 46px;
  background: linear-gradient(var(--ink-faint), transparent);
  position: relative; overflow: hidden;
}
.hero-scroll i::after {
  content: "";
  position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--sage-deep);
  animation: scrolldrop 2.4s var(--ease) infinite;
}
@keyframes scrolldrop { 0% { top: -50%; } 60%, 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll i::after { animation: none; } }
@media (max-width: 720px) {
  .hero { min-height: 92svh; }
  .hero-mandala { right: -30%; opacity: 0.55; }
  .hero-scroll { display: none; }
}

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head .lead { max-width: 38ch; }

/* ---------- About split ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about-split h2 { line-height: 1.04; }
.about-media { position: relative; }
.about-badge {
  position: absolute;
  left: -2.2rem; bottom: -2.2rem;
  width: 150px; height: 150px;
  background: var(--cream);
  border-radius: 50%;
  padding: 12px;
  box-shadow: var(--shadow-md);
}
.about-badge > div { width: 100%; height: 100%; }
@media (max-width: 820px) {
  .about-split { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-badge { left: auto; right: -1rem; bottom: -1.5rem; width: 110px; height: 110px; }
}

/* ---------- IAAP band ---------- */
.iaap-band { background: var(--sage-deep); color: var(--cream); }
.iaap-inner {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.iaap-mark { width: 96px; height: 96px; flex: none; opacity: 0.9; }
.iaap-mark > div { width: 100%; height: 100%; }
.iaap-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: var(--cream);
}
.iaap-text strong { font-weight: 600; }
@media (max-width: 600px) { .iaap-mark { width: 64px; height: 64px; } }

/* ---------- Events list ---------- */
.events-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.event-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.event-row:hover { padding-left: 1rem; }
.event-date {
  display: grid;
  justify-items: center;
  align-content: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.event-row:hover .event-date { background: var(--sage-wash); border-color: var(--sage); }
.event-date .d { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--ink); line-height: 1; }
.event-date .m { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.2rem; }
.event-body { display: grid; gap: 0.55rem; }
.event-body h4 { color: var(--ink); }
.event-body p { font-size: 1rem; max-width: 62ch; }
.event-arrow {
  font-size: 1.5rem;
  color: var(--sage-deep);
  transition: transform 0.4s var(--ease);
}
.event-row:hover .event-arrow { transform: translateX(6px); }
@media (max-width: 620px) {
  .event-row { grid-template-columns: auto 1fr; }
  .event-arrow { display: none; }
  .event-date { width: 64px; height: 64px; }
  .event-date .d { font-size: 1.5rem; }
}

/* ---------- Newsletter ---------- */
.newsletter-band { background: var(--cream-deep); }
.newsletter-form {
  display: flex;
  gap: 0.8rem;
  max-width: 480px;
  margin-inline: auto;
}
.newsletter-form input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1.05rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85em 1.1em;
  color: var(--ink);
}
.newsletter-form input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-wash); }
.fineprint { font-size: 0.9rem; color: var(--ink-faint); }
@media (max-width: 520px) { .newsletter-form { flex-direction: column; } }

/* ---------- Contact band ---------- */
.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
}
.contact-band h3 { max-width: 18ch; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  font-size: 1.05rem;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}
.contact-link:hover { color: var(--sage-deep); }
.contact-link .ci { color: var(--sage-deep); }
.contact-actions .btn { margin-top: 0.5rem; }
