/* Tara Mandala homepage, built from the v8 comp (tm-homepage-v7.ai, Aug 18 2026).
   Layout: full-bleed bands alternating centered text blocks and 50/50 photo splits on a 1280px container.
   Single-theme by design: the brand palette is fixed, every color comes from the tokens below. */
:root {
  --plum: #460034;
  --purple: #691851;
  --red: #992a38;
  --rose: #84474a;
  --gold: #aa5c13;
  --orange: #c65000;
  --fyd: #a82b17;
  --green: #17553e;
  --blue: #206c9b;
  --brick: #70393b;
  --yana: #ac402b;
  --cream: #f8f4ed;
  --cream-line: #e9d6c4;
  --white: #ffffff;
  --ink: var(--purple);
  --on-dark: #ffffff;
  --scrim: rgba(25, 0, 18, 0.55);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Google Sans Flex", "Google Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
  --gutter-l: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  --band-y: clamp(64px, 5.2vw, 100px);

  --fs-h1: clamp(2rem, 1.2rem + 1.8vw, 2.875rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 1.4vw, 2.375rem);
  --fs-h2-split: clamp(1.75rem, 1.1rem + 1.3vw, 2.25rem);
  --fs-h3: clamp(1.625rem, 1.2rem + 0.9vw, 2.125rem);
  --fs-body: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  --fs-eyebrow: clamp(0.875rem, 0.8rem + 0.2vw, 1.0625rem);
  --fs-btn: 1.0625rem;

  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.9;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-header:not(.is-solid) :focus-visible { outline-color: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--white); color: var(--purple); padding: 12px 20px; border-radius: 28px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------- shared type ---------- */
.container { width: 100%; max-width: calc(var(--container) + 48px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: var(--band-y); }
.band--cream { background: var(--cream); }
.stack { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stack--left { align-items: flex-start; text-align: left; }
.eyebrow { font-size: var(--fs-eyebrow); line-height: 1.4; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--gold); }
.eyebrow--rose { color: var(--rose); }
.eyebrow--light { color: var(--on-dark); }
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 600; color: var(--purple); text-wrap: balance; letter-spacing: 0; }
.h1 { font-size: var(--fs-h1); line-height: 1.24; }
.h2 { font-size: var(--fs-h2); line-height: 1.32; }
.h2--split { font-size: var(--fs-h2-split); line-height: 1.33; }
.h2--xl { font-size: var(--fs-h1); line-height: 1.24; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; }
.on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark p { color: var(--on-dark); }
.lede { font-size: var(--fs-lead); line-height: 1.86; max-width: 34em; text-wrap: pretty; }
.copy { max-width: 36em; text-wrap: pretty; }
.copy strong { font-weight: 650; }
.ornament { width: 40px; height: 40px; }
.head { gap: clamp(14px, 1.3vw, 22px); }
.head > .ornament { margin-bottom: clamp(4px, 0.6vw, 12px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 56px; padding: 0 32px; border-radius: 28px;
  font-family: var(--sans); font-size: var(--fs-btn); font-weight: 550; line-height: 1.2; letter-spacing: 0;
  text-decoration: none; white-space: nowrap;
  background: var(--red); color: var(--white);
  box-shadow: 0 2px 3px rgba(70, 0, 52, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, filter 0.18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(70, 0, 52, 0.22); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn .i { width: 0.78em; height: 0.78em; flex: none; fill: currentColor; }
.btn--purple { background: var(--purple); }
.btn--gold { background: var(--gold); }
.btn--yana { background: var(--yana); }
.btn--white { background: var(--white); color: var(--purple); }
.btn--mist { background: #ece5ea; color: var(--plum); }
.btn--plum-soft { background: #7d4c70; color: var(--white); }
.btn--glass { background: rgba(255, 255, 255, 0.2); color: var(--white); box-shadow: none; backdrop-filter: blur(2px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.3); box-shadow: none; }
.btn--ring { --c: var(--brick); background: var(--white); color: var(--c); min-height: 56px; padding: 0 30px; box-shadow: inset 0 0 0 1px var(--c), inset 0 0 0 3px var(--white), inset 0 0 0 4px var(--c); }
.btn--ring:hover { background: var(--c); color: var(--white); box-shadow: inset 0 0 0 1px var(--c); filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.btn-row--left { justify-content: flex-start; }
.textlink { display: inline-flex; align-items: center; gap: 0.4em; font-size: clamp(1rem, 0.95rem + 0.15vw, 1.125rem); font-weight: 550; text-decoration: none; line-height: 1.4; }
.textlink .i { width: 0.72em; height: 0.72em; fill: currentColor; transition: transform 0.18s ease; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.textlink:hover .i { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  color: var(--white);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.site-header__bar { position: relative; display: flex; align-items: center; justify-content: center; height: 96px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.site-header.is-solid { background: var(--white); color: var(--purple); box-shadow: 0 1px 0 rgba(105, 24, 81, 0.12); }
.site-header.is-compact .site-header__bar { height: 76px; }
.home-link { position: absolute; left: var(--gutter-l); top: 50%; translate: 0 -50%; display: none; align-items: center; text-decoration: none; color: inherit; }
.home-link svg, .drawer__top svg, .footer__brand svg.wordmark { height: auto; fill: currentColor; }
.home-link svg { width: 180px; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.25)); }
.site-header.is-solid .home-link svg { filter: none; }
.primary-nav > ul { display: flex; gap: clamp(20px, 2.2vw, 44px); }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; font-size: 1.0625rem; font-weight: 500; line-height: 1; padding: 12px 2px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25); }
.site-header.is-solid .nav-trigger { text-shadow: none; }
.nav-trigger .chev { width: 10px; height: 10px; fill: currentColor; transition: rotate 0.2s ease; }
.nav-trigger[aria-expanded="true"] .chev { rotate: 180deg; }
.nav-trigger[aria-expanded="true"], .nav-trigger:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.menu-btn { position: absolute; right: var(--gutter-r); top: 50%; translate: 0 -50%; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; }
.menu-btn svg { width: 28px; height: 22px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.25)); }
.site-header.is-solid .menu-btn svg { filter: none; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); color: var(--purple);
  border-top: 1px solid rgba(105, 24, 81, 0.1);
  box-shadow: 0 24px 40px rgba(70, 0, 52, 0.12);
  padding-block: 40px 48px;
}
.mega__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.mega__intro { display: flex; flex-direction: column; gap: 12px; }
.mega__intro p:not(.h3) { font-size: 1.0625rem; line-height: 1.8; }
.mega__intro .h3 { font-size: clamp(1.75rem, 1.3rem + 0.6vw, 2.125rem); }
.mega__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 40px; }
.mega__links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--cream-line); font-size: 1.0625rem; line-height: 1.4; text-decoration: none; font-weight: 500; }
.mega__links a:hover { color: var(--red); }
.mega__about-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.mega .btn--ring { --c: var(--purple); }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__scrim { position: absolute; inset: 0; background: var(--scrim); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--white); color: var(--purple); overflow-y: auto; overscroll-behavior: contain;
  padding: calc(20px + env(safe-area-inset-top, 0px)) max(28px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) 28px;
  display: flex; flex-direction: column; gap: 8px;
  animation: drawer-in 0.28s ease both;
}
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer__top svg { width: 190px; }
.drawer__close { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; }
.drawer__close svg { width: 18px; height: 22px; fill: currentColor; }
.drawer details { border-bottom: 1px solid var(--cream-line); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--serif); font-weight: 600; font-size: 1.625rem; line-height: 1.2; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .chev { width: 14px; height: 14px; fill: currentColor; transition: rotate 0.2s ease; }
.drawer details[open] summary .chev { rotate: 180deg; }
.drawer details ul { padding-bottom: 14px; }
.drawer details a { display: block; padding: 8px 0; font-size: 1.0625rem; line-height: 1.4; text-decoration: none; font-weight: 500; }
.drawer details a:hover { color: var(--red); }
.drawer details p { font-size: 1rem; line-height: 1.7; padding-bottom: 8px; }
.drawer__utility { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.drawer__utility .btn { width: 100%; padding: 0 16px; }

/* ---------- hero ---------- */
.hero { position: relative; height: clamp(440px, 44.8vw, 860px); overflow: hidden; background: #2b1a22; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img { object-fit: cover; object-position: 48% 58%; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 240px; z-index: 1; background: linear-gradient(to bottom, rgba(20, 6, 16, 0.74), rgba(20, 6, 16, 0.36) 45%, rgba(20, 6, 16, 0)); }
.hero__mark { position: absolute; z-index: 2; left: 50%; bottom: clamp(36px, 2.6vw, 50px); translate: -50% 0; width: clamp(64px, 4.6vw, 88px); height: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35)); }

/* ---------- intro + pillars ---------- */
.intro { padding-block: clamp(64px, 4.6vw, 88px) clamp(64px, 5vw, 96px); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; margin-top: clamp(48px, 3.4vw, 66px); }
.pillar { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.pillar img { width: 120px; height: 120px; margin-bottom: 12px; }
.pillar__label { font-size: clamp(1.0625rem, 0.95rem + 0.3vw, 1.25rem); letter-spacing: 0.24em; font-weight: 600; line-height: 1.2; text-transform: uppercase; }
.pillar--purple { color: var(--purple); }
.pillar--red { color: var(--red); }
.pillar--rose { color: var(--rose); }

/* ---------- split bands ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__media { position: relative; min-height: min(40.625vw, 780px); overflow: hidden; }
.split__media picture, .split__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.split__media img { object-fit: cover; }
.split__media--shop { min-height: min(38.54vw, 740px); }
.split__media--tint::after { content: ""; position: absolute; inset: 0; background: var(--tint, var(--purple)); opacity: var(--tint-a, 0.5); }
.split__body { display: flex; align-items: center; justify-content: center; padding: clamp(56px, 5vw, 96px) clamp(24px, 5vw, 96px); }
.split__body .stack { max-width: 700px; gap: clamp(14px, 1.3vw, 22px); }
.split__body .btn-row { margin-top: clamp(14px, 1.6vw, 30px); }
.split__body .copy { max-width: 30em; }
.split--cream .split__body { background: var(--cream); }
.split--purple .split__body { background: var(--purple); }
.split--plum .split__body { background: var(--plum); }
.split--plum .split__media { min-height: min(39.58vw, 760px); }
.split--reverse .split__media { order: 2; }

/* ---------- training ---------- */
.programs { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; column-gap: clamp(40px, 10vw, 200px); row-gap: 48px; margin-top: clamp(40px, 4.4vw, 86px); }
.program { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; text-decoration: none; }
.program__art { height: 205px; display: grid; place-items: center; }
.program__art img { max-height: 205px; width: auto; }
.program__word { height: 52px; display: grid; place-items: center; }
.program__word img { height: 52px; width: auto; }
.program__word span { font-family: var(--serif); font-weight: 600; font-size: 2rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange); line-height: 1; }
.program--fyd { color: var(--fyd); }
.program--mm { color: var(--orange); }

/* ---------- pending copy marker ---------- */
.pending { border: 1.5px dashed currentColor; border-radius: 12px; padding: 14px 18px; font-size: 1rem; line-height: 1.6; opacity: 0.9; max-width: 34em; }
.pending strong { display: block; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8125rem; margin-bottom: 4px; }

/* ---------- global sangha ---------- */
.sangha__grid { display: grid; grid-template-columns: minmax(0, 550px) minmax(0, 580px); justify-content: center; gap: clamp(40px, 8vw, 150px); align-items: center; margin-top: clamp(48px, 4.6vw, 88px); }
.sangha__list li + li { border-top: 1px solid var(--cream-line); }
.sangha__item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 20px; align-items: center; padding: 30px 0; text-decoration: none; }
.sangha__list li:first-child .sangha__item { padding-top: 6px; }
.sangha__list li:last-child .sangha__item { padding-bottom: 6px; }
.sangha__item img { width: 58px; height: 58px; }
.sangha__item .eyebrow { font-size: 0.75rem; letter-spacing: 0.22em; font-weight: 600; color: currentColor; }
.sangha__title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.15; }
.sangha__item:hover .sangha__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.c-red { color: var(--red); }
.c-gold { color: var(--gold); }
.c-rose { color: var(--rose); }
.screen { border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 18px 40px rgba(70, 0, 52, 0.14), 0 2px 6px rgba(70, 0, 52, 0.08); aspect-ratio: 580 / 350; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.sangha__cta { margin-top: clamp(48px, 4.4vw, 86px); display: flex; justify-content: center; }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: clamp(440px, 29.2vw, 560px); padding: 56px 24px; color: var(--white); }
.tile picture, .tile > picture img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.tile > picture img { object-fit: cover; transform: scale(1.06); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tile); opacity: var(--tile-a, 0.8); }
.tile--purple { --tile: var(--purple); --tile-btn: #7f3b6b; }
.tile--gold { --tile: #9e5207; --tile-a: 0.9; --tile-btn: #8a4a10; }
.tile--red { --tile: var(--red); --tile-btn: #a94b57; }
.tile .btn { background: var(--tile-btn); color: var(--white); box-shadow: 0 2px 3px rgba(40, 0, 20, 0.25); }
.tile__icon { width: 156px; height: 156px; margin-bottom: 20px; }
.tile .eyebrow { color: rgba(255, 255, 255, 0.92); }
.tile .h2 { color: var(--white); margin-bottom: 18px; }

/* ---------- lineages ---------- */
.lineages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin-top: clamp(48px, 5vw, 96px); }
.lineage { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; }
.lineage img { width: 150px; height: 150px; margin-bottom: 14px; }
.lineage .eyebrow { font-size: 1rem; letter-spacing: 0.16em; font-weight: 650; color: currentColor; }
.lineage .h3 { color: currentColor; margin-bottom: 14px; }
.lineage--red { color: var(--red); }
.lineage--gold { color: var(--gold); }
.lineage--rose { color: var(--rose); }
.lineage--green { color: var(--green); }

/* ---------- programs (cards) ---------- */
.quote { max-width: 41em; font-size: var(--fs-body); line-height: 1.9; text-wrap: pretty; }
.quote footer { margin-top: 18px; font-size: var(--fs-eyebrow); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.cards-head { margin-top: clamp(48px, 4.4vw, 80px); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); justify-content: center; gap: 48px clamp(32px, 5.2vw, 100px); margin-top: 32px; }
.card { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--c); height: 100%; }
.card__media { width: 100%; aspect-ratio: 360 / 340; border-radius: 20px; overflow: hidden; display: grid; place-items: center; background: var(--tintbg, var(--cream)); margin-bottom: 26px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--art img { width: 62%; height: auto; object-fit: contain; }
.card .eyebrow { font-size: 1rem; letter-spacing: 0.16em; font-weight: 650; color: currentColor; }
.card .h3 { color: currentColor; margin-top: 6px; }
.card__date { margin-top: auto; padding-top: 18px; font-size: 1.0625rem; font-weight: 650; line-height: 1.5; }
.card__meta { font-size: 1rem; line-height: 1.5; }
.card .btn { margin-top: 30px; }
.card--brick { --c: var(--brick); }
.card--fyd { --c: var(--fyd); --tintbg: #f7ebe8; }
.card--rose { --c: var(--rose); --tintbg: #f3ecec; }
.cards-foot { margin-top: clamp(40px, 3.6vw, 64px); display: flex; justify-content: center; }

/* ---------- pure land ---------- */
.banner { position: relative; height: clamp(260px, 30.26vw, 581px); overflow: hidden; }
.banner picture, .banner img { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner img { object-fit: cover; object-position: 30% 50%; }
.offerings { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; column-gap: clamp(40px, 10vw, 200px); row-gap: 48px; margin-top: clamp(48px, 4.8vw, 92px); }
.offering { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; }
.offering__art { height: 160px; display: grid; place-items: end center; margin-bottom: 20px; }
.offering__art img { max-height: 160px; width: auto; }
.offering .eyebrow { font-size: 1rem; letter-spacing: 0.16em; font-weight: 650; color: currentColor; }
.offering .h3 { font-size: clamp(1.5rem, 1.15rem + 0.7vw, 1.875rem); color: currentColor; margin-bottom: 14px; }
.offering--gold { color: var(--gold); }
.offering--rose { color: var(--rose); }

/* ---------- death and dying ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 662px); justify-content: center; gap: clamp(40px, 4.1vw, 78px); align-items: center; }
.feature__media { border-radius: 48px 0 48px 0; overflow: hidden; aspect-ratio: 540 / 730; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature .stack { gap: clamp(14px, 1.3vw, 22px); }
.eyebrow-icon { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow-icon img { width: 40px; height: 40px; }
.feature .btn-row { margin-top: clamp(10px, 1.4vw, 26px); }

/* ---------- support ---------- */
.support .split__body { position: relative; overflow: hidden; }
.support__mandala { position: absolute; width: min(660px, 72%); left: 50%; top: 50%; translate: -50% -50%; opacity: 0.16; pointer-events: none; }
.support .stack { position: relative; }

/* ---------- books ---------- */
.books { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px clamp(24px, 2.7vw, 52px); margin-top: clamp(40px, 4.4vw, 84px); }
.books a { display: block; width: 110px; transition: transform 0.2s ease; }
.books a:hover { transform: translateY(-4px); }
.books img { width: 110px; height: auto; }

/* ---------- social ---------- */
.social { display: flex; gap: clamp(20px, 2.7vw, 52px); justify-content: center; margin-top: clamp(32px, 2.8vw, 54px); }
.social a { width: 100px; height: 100px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: transform 0.2s ease; }
.social a::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; opacity: 0.12; }
.social a:hover { transform: translateY(-3px); }
.social a:hover::before { opacity: 0.2; }
.social svg { position: relative; width: 26px; height: 26px; fill: currentColor; }
.social .s-purple { color: var(--purple); }
.social .s-red { color: var(--red); }
.social .s-gold { color: var(--gold); }
.social .s-green { color: var(--green); }

/* ---------- footer ---------- */
.site-footer { background: var(--plum); color: var(--white); padding-top: clamp(56px, 5.6vw, 104px); padding-bottom: calc(clamp(40px, 3.6vw, 72px) + env(safe-area-inset-bottom, 0px)); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 40px clamp(48px, 7vw, 140px); align-items: start; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__brand svg.wordmark { width: 318px; color: var(--cream); }
.footer__brand p { font-style: italic; font-size: 1.125rem; line-height: 1.6; max-width: 28em; color: var(--white); }
.footer__brand .btn { margin-top: 18px; }
.footer__col h2 { font-family: var(--sans); font-size: 1rem; letter-spacing: 0.12em; font-weight: 650; text-transform: uppercase; line-height: 1.4; margin-bottom: 14px; }
.footer__col li a { display: inline-block; padding: 4px 0; font-size: 1rem; line-height: 1.5; }
.footer__bottom { margin-top: clamp(40px, 3.6vw, 64px); padding-top: clamp(28px, 2.4vw, 44px); border-top: 1px solid rgba(255, 255, 255, 0.28); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 1.0625rem; line-height: 1.5; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .home-link { display: flex; }
  .site-header__bar { justify-content: flex-start; }
  .lineages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media, .split__media--shop { aspect-ratio: 4 / 3; min-height: 0; }
  .sangha__grid { grid-template-columns: 1fr; max-width: 580px; margin-inline: auto; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 420px; }
  .cards { grid-template-columns: minmax(0, 400px); }
  .feature { grid-template-columns: minmax(0, 560px); }
  .feature__media { aspect-ratio: 4 / 3; border-radius: 36px 0 36px 0; }
  .feature .stack { align-items: center; text-align: center; }
  .feature .btn-row { justify-content: center; }
  .support__mandala { width: 90%; }
}
@media (max-width: 640px) {
  :root { --gutter-l: max(20px, env(safe-area-inset-left, 0px)); --gutter-r: max(20px, env(safe-area-inset-right, 0px)); }
  .site-header__bar { height: 72px; }
  .site-header.is-compact .site-header__bar { height: 64px; }
  .home-link svg { width: 150px; }
  .hero { height: clamp(420px, 112vw, 560px); }
  .hero picture img { object-position: 47% 60%; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .programs, .offerings { grid-template-columns: 1fr; }
  .program__art { height: 170px; }
  .program__art img { max-height: 170px; }
  .program__word img { height: 42px; }
  .program__word span { font-size: 1.75rem; }
  .lineages { gap: 36px 12px; }
  .lineage img { width: 120px; height: 120px; }
  .books { display: grid; grid-template-columns: repeat(3, 96px); justify-content: center; }
  .books a, .books img { width: 96px; }
  .social a { width: 72px; height: 72px; }
  .social svg { width: 22px; height: 22px; }
  .btn { padding: 0 26px; }
  .btn-row .btn { flex: 1 1 auto; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand svg.wordmark { width: 260px; }
  .footer__bottom { flex-direction: column; }
  .drawer__utility { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .lineages { grid-template-columns: 1fr; }
}
