/* The Holy Geeta — site styles (hand-written, no framework)
   Theme: "Copper & Cream" — cream pages, copper accents, deep-brown text;
   Cormorant Garamond headings, Lora body. */

:root {
  --deep: #011a33;          /* footer / deepest */
  --bg: #fcf7ef;            /* page */
  --bg-2: #e8eef5;          /* alternate band */
  --navy: #e8eef5;          /* blue band */
  --teal: #022140;
  --teal-d: #011a33;
  --teal-l: #022140;
  --accent: var(--teal);
  --accent-d: var(--teal-d);
  --accent-l: var(--teal-l);
  --gold: #0a3560;
  --gold-l: #8fa8c4;
  --gold-d: #011a33;
  --head: #022140;
  --text: #1f2a37;
  --muted: #4a5868;
  --text-strong: #0f1a26;
  --accent-rgb: 2 33 64;
  --accent-l-rgb: 2 33 64;
  --accent-d-rgb: 1 26 51;
  --gold-rgb: 10 53 96;
  --deep-rgb: 2 33 64;
  --bg-rgb: 252 247 239;
  --navy-rgb: 232 238 245;
  --line: rgb(var(--accent-l-rgb) / .18);
  --line-gold: rgb(var(--gold-rgb) / .35);
  --glass: #ffffff;
  --glass-2: #ffffff;

  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Lora", Georgia, serif;
  --f-deva: "Tiro Devanagari Sanskrit", "Lora", serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 14px 34px -20px rgb(2 33 64 / .28);
  --shadow-lg: 0 24px 50px -26px rgb(2 33 64 / .35);
  --glow: 0 10px 26px -12px rgb(27 74 122 / .55);
  --header-h: 76px;
  --ease: cubic-bezier(.25, .6, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html { background-color: var(--bg); }
body {
  margin: 0; color: var(--text); font: 400 1rem/1.8 var(--f-body);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 700px at 90% 0, rgb(var(--accent-rgb) / .14), transparent 60%),
    radial-gradient(900px 600px at 0 900px, rgb(var(--gold-rgb) / .06), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-l); }
:focus-visible { outline: 3px solid var(--teal-l); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--deep); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; color: var(--head); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.25rem; }
h1 em, h2 em { color: var(--gold); font-style: italic; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--deep); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.deva { font-family: var(--f-deva); }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

.eyebrow { font: 600 .82rem/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-l); margin: 0 0 .9rem; }
.eyebrow-gold { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.8; color: var(--text); }
.lead-sm { font-size: 1.1rem; }

/* ---------- ornaments ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 0 auto 1.2rem; }
.ornament span { height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child { transform: scaleX(-1); }
.ornament .ic { width: 40px; height: 24px; }
.mandala { pointer-events: none; display: block; }

/* framed image (hero art, Gurudev's photo): white mat inside a thin copper rule */
.arch { margin: 0; position: relative; }
.arch img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 4px; border: 8px solid #fff;
  box-shadow: 0 0 0 1px #c9d3de, var(--shadow-lg);
}

/* glass frame for videos */
.frame { position: relative; padding: 10px; background: var(--glass); border: 1px solid var(--line); border-radius: calc(var(--r-lg) + 10px); }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { font-size: 1.05rem; padding: 1em 1.9em; }
.btn-saffron { background: linear-gradient(135deg, var(--teal), var(--teal-d)); color: #fff; box-shadow: var(--glow); }
.btn-saffron:hover { color: #fff; box-shadow: 0 14px 34px -10px rgb(var(--accent-rgb) / .85); }
.btn-ink { background: var(--gold); color: var(--deep); }
.btn-ink:hover { background: var(--gold-l); color: var(--deep); }
.btn-quiet, .btn-ghost-dark { border-color: var(--line-gold); color: var(--gold-l); background: transparent; }
.btn-quiet:hover, .btn-ghost-dark:hover { background: rgb(var(--gold-rgb) / .1); border-color: var(--gold); color: var(--gold-l); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.actions-center { justify-content: center; }

.chip {
  display: inline-flex; align-items: center; gap: .4em; padding: .32em .95em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--glass); color: var(--text);
  font-size: .86rem; font-weight: 500; text-decoration: none; transition: border-color .3s, color .3s, background-color .3s;
}
.chip .ic { width: .85em; height: .85em; opacity: .7; }
.chip:hover { border-color: var(--gold); color: var(--gold-l); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; color: var(--gold); }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }
.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-gold); background: var(--glass); color: var(--gold); cursor: pointer; transition: background-color .3s, color .3s;
}
.icon-btn:hover { background: var(--gold); color: var(--deep); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(var(--deep-rgb) / .82); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-gold);
  transition: transform .4s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { width: 118px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: .5em .85em; border-radius: 999px; color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .3s, background-color .3s; }
.nav ul a:hover { color: #fff; background: var(--glass-2); }
.nav ul a[aria-current="page"] { color: var(--deep); background: var(--teal-l); }
.nav-donate { padding: .6em 1.35em; background: var(--gold); color: var(--deep); font-weight: 700; box-shadow: 0 8px 22px -10px rgb(var(--gold-rgb) / .8); }
.nav-donate:hover { background: var(--gold-l); color: var(--deep); }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    background: var(--glass); border: 1px solid var(--line); color: #fff; cursor: pointer;
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 28px; background: rgb(var(--deep-rgb) / .97); border-bottom: 1px solid var(--line-gold);
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul a { padding: .8em 1em; font-size: 1.05rem; }
  .nav-donate { justify-content: center; }
  .brand img { width: 100px; }
}

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero h1 em { color: var(--gold); }

/* ---------- page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; border-bottom: 1px solid var(--line-gold); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(var(--deep-rgb) / .62) 0%, rgb(var(--bg-rgb) / .88) 100%), linear-gradient(90deg, rgb(var(--navy-rgb) / .4), rgb(var(--accent-d-rgb) / .2));
}
/* legacy banners with words baked into the artwork: keep them as quiet texture */
.page-vision .page-hero::before { background: linear-gradient(180deg, rgb(var(--deep-rgb) / .82), rgb(var(--bg-rgb) / .92)); }
.page-hero h1 { color: #fff; margin: 0 0 .6rem; font-size: clamp(2.5rem, 5vw, 3.8rem); }
.page-hero .eyebrow { color: var(--teal-l); }
.page-hero .ornament { color: var(--gold); margin-bottom: 0; }
.page-hero .lead { max-width: 640px; margin: 1.2rem auto 0; color: var(--text-strong); }
.crumbs { display: flex; justify-content: center; gap: 10px; align-items: center; font-size: .86rem; margin-bottom: 1.1rem; color: var(--muted); }
.crumbs a { color: var(--teal-l); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 110px); }
.section-paper { background: rgb(255 255 255 / .025); border-block: 1px solid rgb(var(--accent-l-rgb) / .07); }
.section-sandal { background: linear-gradient(180deg, rgb(var(--navy-rgb) / .55), rgb(var(--navy-rgb) / .25)); border-block: 1px solid rgb(var(--accent-l-rgb) / .07); }
.section-ink { background: linear-gradient(160deg, var(--deep), var(--bg-2)); border-block: 1px solid var(--line-gold); }
.section-head { text-align: center; max-width: 860px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head-left { text-align: left; margin-inline: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media-r { grid-template-columns: 1fr 1.15fr; }
@media (max-width: 860px) { .split, .split-media-r { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Guru & quotes ---------- */
.quote-stage { display: grid; min-height: 10rem; align-items: center; margin: .5rem 0 1rem; }
.quote { grid-area: 1 / 1; margin: 0; }
.quote.is-active { animation: fadeIn 1s var(--ease); }
.quote blockquote { margin: 0; font: italic 500 clamp(1.4rem, 2.5vw, 2rem)/1.45 var(--f-display); color: #fff; text-wrap: pretty; }
.quote figcaption { margin-top: 1rem; color: var(--gold); font-weight: 500; letter-spacing: .04em; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- video thumbnails ---------- */
.video { position: relative; display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 9; background: var(--deep); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video:hover img { transform: scale(1.04); }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--teal), var(--teal-d)); color: #fff;
  box-shadow: 0 0 0 8px rgb(var(--accent-rgb) / .25), var(--glow); transition: transform .3s var(--ease), background .3s;
}
.video-play .ic { width: 22px; height: 22px; margin-left: 3px; }
.video:hover .video-play { transform: scale(1.08); background: var(--gold); color: var(--deep); box-shadow: 0 0 0 8px rgb(var(--gold-rgb) / .25); }
.video-lg { border-radius: var(--r-lg); }
.video-lg .video-play { width: 74px; height: 74px; }
.video-yt {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; background: rgb(var(--deep-rgb) / .75); color: #fff; font-size: .74rem; font-weight: 500;
}
.video-yt .ic { width: 15px; height: 15px; color: #ff4e45; }
.video-label { margin: .7rem 0 0; font-weight: 500; color: var(--text); }
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.video-grid .video { box-shadow: var(--shadow); }

/* ---------- jewels (feature cards) ---------- */
.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.jewel {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 30px 28px 26px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--text); text-decoration: none; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background-color .4s, box-shadow .4s;
}
.jewel::after { 
  content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / .22), transparent 70%); transition: opacity .4s; opacity: .6; pointer-events: none;
}
.jewel:hover { transform: translateY(-5px); border-color: var(--line-gold); background: var(--glass-2); box-shadow: var(--shadow); color: var(--text); }
.jewel:hover::after { opacity: 1; }
.jewel h3 { margin-bottom: .35em; }
.jewel p { color: var(--muted); flex: 1; font-size: .95rem; }
.jewel-ic {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / .25), rgb(var(--navy-rgb) / .6)); color: var(--teal-l);
  border: 1px solid var(--line); transition: background .4s, color .4s, transform .4s var(--ease);
}
.jewel:hover .jewel-ic { background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: var(--deep); transform: rotate(-6deg); }
.jewel-ic .ic { width: 36px; height: 36px; }
.jewel-more { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--gold); margin-top: 6px; font-size: .92rem; }

/* ---------- app ---------- */
.app-icon { border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 20px; }
.center .app-icon { margin-inline: auto; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.center .badges { justify-content: center; }
.badges img { height: 48px; width: auto; border-radius: 9px; box-shadow: 0 0 0 1px rgb(255 255 255 / .45); }
/* the App Store badge's lettering is transparent – it needs a light backing to read on dark */
.badges a:nth-child(2) img { background: #fff; }
.title-logo { display: flex; align-items: center; gap: 18px; margin-bottom: 1.2rem; }
.title-logo h2 { margin: 0; font-size: clamp(1.7rem, 2.5vw, 2.25rem); line-height: 1.2; }
.title-logo .app-icon { margin: 0; flex: none; width: 76px; height: 76px; border-radius: 18px; }
.title-logo-center { justify-content: center; text-align: left; margin-bottom: 1.4rem; }
.title-logo-center .eyebrow { margin-bottom: .3rem; }
@media (max-width: 520px) { .title-logo { gap: 14px; } .title-logo .app-icon { width: 60px; height: 60px; border-radius: 14px; } }

/* ---------- voices ---------- */
.voices { columns: 3 300px; column-gap: 22px; }
.voice { break-inside: avoid; margin: 0 0 22px; padding: 30px 28px 26px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; transition: border-color .4s; }
.voice:hover { border-color: var(--line-gold); }
.voice::before { content: "“"; position: absolute; top: -6px; left: 20px; font: 700 4.5rem/1 var(--f-display); color: var(--gold); opacity: .55; }
.voice blockquote { margin: 16px 0 20px; font: italic 400 1.12rem/1.6 var(--f-display); color: var(--text-strong); }
.voice figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--gold-l); font-size: .95rem; }
.voice img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); background: var(--bg-2); }

/* ---------- news ---------- */
.news { display: grid; gap: 28px; }
.news-item { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; padding: 22px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); }
.news-item img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.news-date { font-size: .8rem; font-weight: 600; color: var(--teal-l); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; }
.news-h { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.news-item p { color: var(--muted); }
@media (max-width: 700px) { .news-item { grid-template-columns: 1fr; } }

/* ---------- vision ---------- */
.master { grid-template-columns: .85fr 1.15fr; }
.master-photo { margin: 0 auto; max-width: 380px; width: 100%; aspect-ratio: 800 / 1146; position: relative; } /* whole portrait, not cropped */
.master-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 4px; border: 8px solid #fff; box-shadow: 0 0 0 1px #c9d3de, var(--shadow-lg); }
@media (max-width: 860px) { .master { grid-template-columns: 1fr; } .master-photo { max-width: 300px; } }
.twin { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.panel { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); }
.panel .eyebrow { color: var(--gold); }
.panel-text { font: italic 400 1.2rem/1.65 var(--f-display); color: var(--text-strong); margin: 0; }
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--text); transition: background-color .3s, color .3s, border-color .3s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.social svg { width: 18px; height: 18px; }

/* "Living the Geeta Way": four cards with an icon */
.living { background: linear-gradient(180deg, transparent, rgb(var(--navy-rgb) / .5)); }
.living-head { max-width: 820px; }
.living-head p { font-size: 1.02rem; line-height: 1.8; color: var(--muted); margin-bottom: .8em; }
.shrines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 1020px) { .shrines { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shrines { grid-template-columns: 1fr; } }
.shrine {
  position: relative; text-align: center; padding: 56px 24px 30px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line);
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  transition: border-color .4s, transform .4s var(--ease), background-color .4s;
}
.shrine:hover { border-color: var(--line-gold); transform: translateY(-5px); background: var(--glass-2); }
.shrine-ic {
  display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--accent-d) 0 30%, var(--navy) 31% 55%, rgb(var(--accent-rgb) / .25) 56%);
  color: var(--gold-l); border: 2px solid var(--gold);
}
.shrine-ic .ic { width: 34px; height: 34px; }
.shrine h3 { font-size: 1.3rem; margin-bottom: .5em; }
.shrine p { color: var(--muted); font-size: .93rem; margin: 0; }
.living-cta { margin: 2.6rem 0 0; }
@media (max-width: 560px) { .shrine { padding: 40px 22px 26px; border-radius: 140px 140px var(--r-lg) var(--r-lg) / 70px 70px var(--r-lg) var(--r-lg); } }

/* ---------- courses ---------- */
.intro-text { font-size: 1.1rem; color: var(--text); }
.intro-text p:first-child::first-letter { font: 700 3.4em/.8 var(--f-display); float: left; padding: .08em .12em 0 0; color: var(--gold); }
.course { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.course-flip .course-body { order: 2; }
@media (max-width: 860px) { .course { grid-template-columns: 1fr; } .course-flip .course-body { order: 0; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 1.6rem 0 2rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stats div { background: rgb(var(--bg-rgb) / .92); padding: 16px 18px; }
.stats dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 2px 0 0; font: 700 1.35rem/1.2 var(--f-display); color: var(--gold-l); }
@media (max-width: 460px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- subnav / tabs ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgb(var(--deep-rgb) / .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: top .4s var(--ease); }
.site-header.is-hidden ~ main .subnav { top: 0; }
.subnav-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: .5em 1.05em; border-radius: 999px; text-decoration: none; white-space: nowrap; color: var(--muted); font-size: .92rem; font-weight: 500; transition: background-color .3s, color .3s; }
.subnav a:hover { background: var(--glass-2); color: #fff; }
.subnav a.is-active { background: var(--teal-l); color: var(--deep); }
.subnav-icons .subnav-inner { justify-content: center; }
.subnav-icons a { display: inline-flex; align-items: center; gap: 8px; }
.subnav-icons a .ic { width: 19px; height: 19px; color: var(--teal-l); }
.subnav-icons a.is-active .ic { color: var(--deep); }
@media (max-width: 900px) { .subnav-icons .subnav-inner { justify-content: flex-start; } }
.tabbar a[role="tab"] { cursor: pointer; }
.tabs-on .tab-panel { padding-block: clamp(40px, 5vw, 64px); }
.tabs-on .tab-panel[hidden] { display: none; }
.tabs-on .tab-panel .tr-medal { display: none; }
.tabs-on .tab-panel .tr-head { margin-bottom: clamp(24px, 3vw, 36px); }
.tabs-on .tab-panel .tr-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.tabs-on .hero-book { margin-bottom: clamp(40px, 5vw, 64px); }
.tabs-on .tab-panel .reveal { opacity: 1; transform: none; }

/* ---------- treasures ---------- */
.byline { font: italic 400 1.2rem var(--f-display); color: var(--gold); margin-top: -.2rem; }
.book-cover { border-radius: 3px 8px 8px 3px; box-shadow: -4px 0 0 rgb(0 0 0 / .15) inset, var(--shadow-lg); background: var(--bg-2); }
.tr-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 52px); }
.tr-medal { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; background: var(--glass); color: var(--teal-l); border: 1px solid var(--gold); box-shadow: 0 0 0 6px rgb(var(--gold-rgb) / .1); }
.tr-medal .ic { width: 30px; height: 30px; }
.tr-head h2 { margin-bottom: .3em; }
.tr-head .ornament { margin-bottom: .6rem; }
.tr-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.hero-book {
  display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(36px, 6vw, 80px); align-items: center;
  padding: clamp(28px, 4vw, 56px); margin-bottom: clamp(72px, 9vw, 120px);
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / .1), rgb(var(--navy-rgb) / .5)); border: 1px solid var(--line); border-radius: calc(var(--r-lg) + 10px);
}
.hero-book-art { position: relative; display: grid; place-items: center; padding: 36px 20px; }
.hero-book-arch { display: none; }
.hero-book-cover { position: relative; width: min(270px, 70%); transform: rotate(-3deg); transition: transform .6s var(--ease); }
.hero-book:hover .hero-book-cover { transform: rotate(0) translateY(-6px); }
.hero-book-body h2 { font-size: clamp(2.2rem, 4vw, 3.1rem); margin-bottom: .1em; }
.buy-box { margin-top: 1.6rem; padding: 22px 24px; background: rgb(var(--deep-rgb) / .5); border: 1px solid var(--line-gold); border-radius: var(--r-lg); }
.buy-title { margin: 0 0 12px; font: 700 1.25rem/1.2 var(--f-display); color: #fff; }
.buy-title span { display: block; margin-top: 4px; font: 500 .72rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-row-alt { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.buy-btn { display: inline-flex; align-items: center; gap: 8px; padding: .6em 1.35em; border-radius: 999px; background: linear-gradient(135deg, var(--teal), var(--teal-d)); color: #fff; text-decoration: none; font-weight: 600; transition: box-shadow .3s; }
.buy-btn:hover { color: #fff; box-shadow: var(--glow); }
.buy-btn .ic { width: .9em; height: .9em; opacity: .85; }
@media (max-width: 860px) { .hero-book { grid-template-columns: 1fr; } .hero-book-art { max-width: 360px; margin: 0 auto; width: 100%; } }

.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 22px; }
@media (min-width: 1100px) { .shelf { grid-template-columns: repeat(5, 1fr); gap: 18px; } .shelf-cover .book-cover { width: 118px; } }
.shelf-book { display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .4s, transform .4s var(--ease), background-color .4s; }
.shelf-book:hover { border-color: var(--line-gold); transform: translateY(-5px); background: var(--glass-2); }
.shelf-cover { display: grid; place-items: center; padding: 26px 18px 22px; background: radial-gradient(circle at 50% 40%, rgb(var(--accent-rgb) / .22), transparent 70%); border-bottom: 1px solid var(--line); }
.shelf-cover .book-cover { width: 128px; aspect-ratio: 210 / 330; object-fit: cover; transition: transform .5s var(--ease); }
.shelf-book:hover .shelf-cover .book-cover { transform: translateY(-4px) rotate(-2deg); }
.shelf-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.shelf-body h3 { font-size: 1.12rem; margin-bottom: .45em; }
.shelf-body p { flex: 1; font-size: .86rem; line-height: 1.65; color: var(--muted); margin-bottom: 1rem; }
.shelf-buy { display: flex; flex-wrap: wrap; gap: 6px; }

.media-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .media-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.media-card { display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .4s; }
.media-card:hover { border-color: var(--line-gold); }
.media-card-img { display: grid; place-items: center; background: radial-gradient(circle, rgb(var(--accent-rgb) / .2), transparent 70%); padding: 24px; border-bottom: 1px solid var(--line); }
.media-card-img img { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: #fff; }
.media-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.media-card-body h3 { font-size: 1.25rem; }
.media-card-body p { flex: 1; font-size: .92rem; color: var(--muted); }
.media-card[lang="hi"] h3, .media-card[lang="hi"] p { font-family: var(--f-body); }

.podcast-panel { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding: clamp(26px, 4vw, 52px); background: linear-gradient(135deg, rgb(var(--navy-rgb) / .6), rgb(var(--accent-rgb) / .1)); border: 1px solid var(--line); border-radius: calc(var(--r-lg) + 10px); }
.podcast-art { border-radius: 50%; border: 6px solid rgb(var(--gold-rgb) / .55); box-shadow: var(--shadow-lg); width: 100%; background: #fff; }
@media (max-width: 760px) { .podcast-panel { grid-template-columns: 1fr; } .podcast-art { max-width: 240px; margin: 0 auto; } }
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 1.6rem; max-width: 460px; }
.platform { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); color: #fff; text-decoration: none; font-weight: 500; transition: border-color .3s, background-color .3s; }
.platform span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(var(--accent-rgb) / .2); color: var(--teal-l); }
.platform:hover { border-color: var(--gold); color: #fff; }
.platform:hover span { background: var(--gold); color: var(--deep); }

.clix-grid { display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); }
.clix { grid-column: span 2; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .4s, background-color .4s, transform .4s var(--ease); }
.clix:hover { border-color: var(--line-gold); background: var(--glass-2); color: var(--text); transform: translateY(-4px); }
.clix-wide { grid-column: span 3; }
.clix p { flex: 1; color: var(--muted); font-size: .94rem; }
.clix .jewel-more { color: var(--gold); }
.clix-play { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-d)); color: #fff; box-shadow: var(--glow); }
.clix-play .ic { width: 16px; height: 16px; margin-left: 2px; }
.clix:hover .clix-play { background: var(--gold); color: var(--deep); }
@media (max-width: 860px) { .clix-grid { grid-template-columns: 1fr; } .clix, .clix-wide { grid-column: auto; } }

.chant-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
@media (max-width: 640px) { .chant-list { grid-template-columns: 1fr; } }
.chant { display: grid; grid-template-columns: 52px 1fr 40px; align-items: center; gap: 14px; padding: 12px 16px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: #fff; transition: border-color .3s, background-color .3s; }
.chant:hover { border-color: var(--line-gold); background: var(--glass-2); color: #fff; }
.chant-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold); font: 700 1.2rem var(--f-display); color: var(--gold); }
.chant-n.deva { font-family: var(--f-deva); font-weight: 400; }
.chant-t { font: 600 1.1rem/1.15 var(--f-display); }
.chant-t small { display: block; margin-top: 3px; font: 400 .78rem var(--f-body); color: var(--muted); }
.chant-play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(var(--accent-rgb) / .2); color: var(--teal-l); transition: background-color .3s, color .3s; }
.chant-play .ic { width: 15px; height: 15px; margin-left: 2px; }
.chant:hover .chant-play { background: var(--gold); color: var(--deep); }

/* ---------- capsules: library layout ---------- */
.capsule-sec { padding-block: clamp(40px, 5vw, 72px); }
.capsule-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 24px 20px; }

/* ---------- gifts ---------- */
.gift-list { display: grid; gap: clamp(40px, 6vw, 72px); }
.gift { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(18px, 3vw, 28px); background: var(--glass); border: 1px solid var(--line); border-radius: calc(var(--r-lg) + 6px); }
.gift-flip .strip { order: 2; }
@media (max-width: 860px) { .gift { grid-template-columns: minmax(0, 1fr); } .gift-flip .strip { order: 0; } }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 12px; scrollbar-color: var(--gold) transparent; scrollbar-width: thin; min-width: 0; }
.strip img { flex: none; width: 82%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); scroll-snap-align: start; background: #fff; }
.strip-wide { padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2); scroll-padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2); margin-bottom: 36px; }
.strip-wide img { width: clamp(180px, 24vw, 260px); }
.gift-body h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.gift-body p { color: var(--muted); }
.contact { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 .6rem; color: var(--text); }
.contact .ic { color: var(--teal-l); margin-top: .35em; }

/* ---------- donate ---------- */
.big-quote { margin-block: 0; }
.big-quote blockquote { margin: 0; font: italic 400 clamp(1.4rem, 2.6vw, 2rem)/1.5 var(--f-display); color: #fff; }
.big-quote figcaption { margin-top: 1.2rem; color: var(--gold); font-weight: 500; }
.donate-img { border-radius: 4px; border: 8px solid #fff; box-shadow: 0 0 0 1px #c9d3de, var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.gift-quote { text-align: center; font: italic 400 clamp(1.25rem, 2.2vw, 1.7rem)/1.5 var(--f-display); color: var(--gold-l); max-width: 760px; margin: 0 auto 2.4rem; }
.section-ink h2.center { margin-bottom: 2rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.big-deva { font-size: 6rem; line-height: 1; color: var(--gold); margin: 0 0 1rem; }

/* ---------- footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--deep), var(--deep)); color: var(--muted); padding-top: 72px; font-size: .94rem; border-top: 1px solid var(--line-gold); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--teal), var(--gold), var(--teal), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
@media (max-width: 1020px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 130px; margin-bottom: 12px; }
.footer-h { font: 600 .76rem/1.4 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--teal-l); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-block: 22px; border-top: 1px solid var(--line); font-size: .86rem; }
.footer-base p { margin: 0; }

/* ---------- gentle reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .quote.is-active { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ================= light theme adjustments ================= */
a:hover { color: var(--teal-d); }
::selection { background: var(--gold-l); color: var(--head); }
h1 em, h2 em, .hero h1 em { color: var(--gold); }
.section-paper { background: var(--bg-2); border-block: 1px solid rgb(var(--gold-rgb) / .12); }
.section-sandal { background: var(--navy); border-block: 1px solid rgb(var(--accent-rgb) / .1); }
.section-ink { background: var(--navy); border-block: 1px solid rgb(var(--accent-rgb) / .12); }
.living { background: linear-gradient(180deg, var(--bg), var(--navy)); }

/* header: white, frosted */
.site-header { background: rgb(255 255 255 / .9); border-bottom: 1px solid rgb(var(--gold-rgb) / .25); box-shadow: 0 6px 20px -16px rgb(2 33 64 / .4); }
.brand img, .footer-brand img { filter: none; }
.nav ul a { color: var(--text); }
.nav ul a:hover { color: var(--head); background: var(--navy); }
.nav ul a[aria-current="page"] { color: #fff; background: var(--teal); }
.nav-donate, .nav-donate:hover { color: #fff; }
.nav-donate { background: var(--gold); box-shadow: 0 8px 20px -10px rgb(var(--gold-rgb) / .7); }
.nav-donate:hover { background: var(--gold-d); }
@media (max-width: 1020px) {
  .nav-toggle { color: var(--head); background: #fff; }
  .nav { background: rgb(255 255 255 / .98); }
}

/* the logo is light-coloured artwork: give it a soft teal backing so it reads on white */
.brand { display: inline-grid; padding: 6px 12px; border-radius: 14px; background: linear-gradient(135deg, #011a33, #022140); }
.brand img { width: 104px; }
@media (max-width: 1020px) { .brand img { width: 92px; } }

/* buttons */
.btn-ink { color: #fff; }
.btn-ink:hover { background: var(--gold-d); color: #fff; }
.btn-quiet, .btn-ghost-dark { color: var(--gold-d); border-color: rgb(var(--gold-rgb) / .45); }
.btn-quiet:hover, .btn-ghost-dark:hover { color: var(--gold-d); background: rgb(var(--gold-rgb) / .08); }
.chip { background: #fff; }
.chip:hover { color: var(--gold-d); }
.icon-btn { background: #fff; }
.icon-btn:hover, .video:hover .video-play, .chant:hover .chant-play, .clix:hover .clix-play, .platform:hover span { color: #fff; }

/* page banners stay dark (photos behind white titles) */
.page-hero::before { background: linear-gradient(180deg, rgb(2 26 51 / .55) 0%, rgb(2 26 51 / .82) 100%); }
.page-vision .page-hero::before { background: linear-gradient(180deg, rgb(2 26 51 / .8), rgb(2 26 51 / .9)); }
.page-hero .lead { color: #eef2f7; }
.page-hero .eyebrow, .crumbs a { color: #b7c8db; }
.crumbs { color: rgb(255 255 255 / .75); }
.page-hero .ornament { color: #9fb4cc; }

/* cards: white with soft shadow instead of glass */
.jewel, .voice, .news-item, .panel, .shrine, .shelf-book, .media-card, .clix, .chant, .platform,
.jewel:hover, .shelf-book:hover, .shrine:hover, .clix:hover { box-shadow: var(--shadow-lg); }
.jewel::after { display: none; }
.jewel-ic { background: var(--navy); }
.jewel:hover .jewel-ic { color: #fff; }

.quote blockquote, .big-quote blockquote { color: var(--head); }
.voice figcaption { color: var(--gold-d); }
.gift-quote { color: var(--gold-d); }
.stats div { background: #fff; }
.stats dd { color: var(--head); }
.shrine-ic { background: var(--navy); color: var(--teal-d); border-color: var(--gold-l); }

/* sticky sub-navigation and tabs */
.subnav { background: rgb(255 255 255 / .94); }
.subnav a:hover { color: var(--head); background: var(--navy); }
.subnav a.is-active, .subnav-icons a.is-active .ic { color: #fff; }
.subnav a.is-active { background: var(--teal); }

/* treasures */
.hero-book { background: linear-gradient(135deg, #fff, var(--navy)); }
.buy-box { background: #fff; }
.buy-title { color: var(--head); }
.media-card-img, .shelf-cover { background: radial-gradient(circle at 50% 40%, var(--navy), #fff 75%); }
.podcast-panel { background: linear-gradient(135deg, var(--navy), #fff); }

/* store badges on a light page */
.badges img { box-shadow: none; }
.badges a:nth-child(2) img { background: transparent; }

/* footer stays a deep teal band for contrast */
.site-footer { background: linear-gradient(180deg, #011a33, #022140); color: #c9d3de; }
.site-footer a { color: #e8eef5; }
.site-footer a:hover { color: #fff; }
.footer-h { color: #9fb4cc; }
.footer-base { border-top-color: rgb(255 255 255 / .12); }
.site-footer .social a { color: #e8eef5; border-color: rgb(255 255 255 / .25); }
.site-footer .social a:hover { background: #9fb4cc; border-color: #9fb4cc; color: #022140; }

/* ================= Copper & Cream ================= */
body { background-image: none; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 1.9vw, 1.6rem); }
.site-header { background: rgb(255 250 242 / .95); border-bottom: 2px solid #0a3560; }
.brand { border-radius: 4px; background: linear-gradient(135deg, #011a33, #1b4a7a); }
.nav ul a[aria-current="page"] { color: #022140; background: none; box-shadow: inset 0 -2px 0 #022140; border-radius: 0; font-weight: 600; }
.nav-donate { background: #12304f; border-radius: 4px; box-shadow: none; }
.nav-donate:hover { background: #022140; }
.btn { border-radius: 4px; }
.btn-ink { background: linear-gradient(135deg, #022140, #1b4a7a); box-shadow: none; }
.btn-ink:hover { background: #011a33; }
.btn-quiet, .btn-ghost-dark { color: #011a33; border-color: #1b4a7a; }
.jewel, .voice, .news-item, .panel, .shrine, .shelf-book, .media-card, .clix, .chant, .platform,
.jewel:hover, .shelf-book:hover, .shrine:hover, .clix:hover { box-shadow: 0 18px 36px -26px rgb(2 33 64 / .5); }
.jewel-ic, .shrine-ic { background: #e8eef5; border-radius: 6px; }
.subnav a.is-active { border-radius: 4px; }
.site-footer { background: #011a33; }

.frame { border-radius: 6px; padding: 8px; background: #fff; border-color: #c9d3de; }
.video { border-radius: 3px; }
.chip, .buy-box, .store-btn, .icon-btn { border-radius: 4px; }
.buy-box { border-color: #c9d3de; }

/* ===== one background: every section and card sits on the page colour ===== */
.section-paper, .section-sandal, .section-ink, .living,
.hero, .page-section, section:not(.page-hero) { background: var(--bg); border-block: 0; }
.jewel, .jewel:hover, .voice, .news-item, .panel, .shrine, .shrine:hover, .shelf-book, .shelf-book:hover,
.media-card, .clix, .clix:hover, .chant, .chant:hover, .platform, .gift, .hero-book,
.podcast-panel, .buy-box, .media-card-img, .shelf-cover, .stats div, .chip, .icon-btn,
.jewel-ic, .shrine-ic { border: 1px solid #c9d3de; }

/* ===== stronger contrast ===== */
.site-header { border-bottom-color: #0a3560; }
.nav ul a { color: #1f2a37; font-weight: 500; }
.jewel, .voice, .news-item, .panel, .shrine, .shelf-book, .media-card, .clix, .chant, .platform,
.jewel p, .shrine p, .voice blockquote, .shelf-book p, .media-card p, .clix p, .news-item p, .gift p, .panel p { color: #2a3644; }
.eyebrow, .series-label, .jewel a, .card-link { color: #022140; font-weight: 600; }
.site-footer { color: #e3e8ee; }
.site-footer a { color: #f3f7fb; }
.footer-h { color: #b7c8db; }

/* ===== cards: white on the cream page ===== */
.jewel, .jewel:hover, .voice, .news-item, .panel, .shrine, .shrine:hover, .shelf-book, .shelf-book:hover,
.media-card, .clix, .clix:hover, .chant, .chant:hover, .platform, .gift, .hero-book,
.podcast-panel, .buy-box, .media-card-img, .shelf-cover, .stats div { background: #fff; }


/* ===== page banner: full image (never cropped) + white title box overlapping its bottom edge ===== */
.page-hero { background: var(--bg); color: var(--text); text-align: center; border-bottom: 0; overflow: visible; padding-bottom: clamp(28px, 4vw, 44px); }
.page-hero::before { content: none; }
.page-hero-img { display: block; width: 100%; height: auto; aspect-ratio: 1349 / 500; object-fit: cover; object-position: center 30%; }
.page-hero-box {
  position: relative; max-width: 720px; margin: clamp(-80px, -6vw, -28px) auto 0;
  padding: clamp(22px, 3vw, 32px) clamp(20px, 4vw, 44px);
  background: #fff; border: 1px solid #c9d3de; border-top: 4px solid #022140; border-radius: 4px;
  box-shadow: 0 24px 50px -30px rgb(2 33 64 / .5);
}
.page-hero h1 { color: var(--head); margin: 0; font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.page-hero .eyebrow { color: #022140; margin: 0 0 .3rem; }
.page-hero .lead { color: var(--text); margin: .8rem auto 0; max-width: 36em; }
.crumbs { justify-content: center; gap: 8px; margin-bottom: .6rem; color: var(--muted); }
.crumbs a { color: #022140; font-weight: 600; }
.crumbs a:hover { color: var(--head); }
.page-hero { overflow: hidden; }
/* the Donate photo has a thin white border baked into the file: zoom 3% so it falls outside the frame */
.page-donate .page-hero-img { transform: scale(1.03); }

/* ===== home banner: copper panel with text, full picture on the right fading into it ===== */
.hero .hero-img { display: block; width: 100%; height: auto; }
.hero.hero-F { color: #eef4fa; background: linear-gradient(90deg, #011a33 0%, #0a3560 45%, #2a5c8f 100%);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 58%); align-items: center; }
.hero-F h1 { color: #fff; font-size: clamp(2.4rem, 4vw, 3.6rem); }
.hero-F h1 em { color: #cfe0f2; }
.hero-F .lead { color: #eef4fa; }
.hero-F .btn-saffron { background: #fff; color: #022140; box-shadow: none; }
.hero-F .btn-saffron:hover { background: #eaf0f6; color: #022140; }
.hero-F .btn-quiet { color: #fff; border-color: rgb(255 255 255 / .6); background: transparent; }
.hero-F .btn-quiet:hover { background: rgb(255 255 255 / .1); color: #fff; }
/* whole picture, never cropped; its left, top and bottom edges fade into the copper */
.hero-F .hero-img { grid-column: 2; grid-row: 1; aspect-ratio: 1349 / 780; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect; }
.hero-F > .wrap { grid-column: 1; grid-row: 1; width: auto; margin: 0; position: relative; z-index: 1;
  padding: 48px 0 48px max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero-F .hero-text { max-width: 500px; margin-right: -60px; text-shadow: 0 1px 2px rgb(1 20 40 / .35); }
@media (max-width: 900px) {
  .hero.hero-F { grid-template-columns: 1fr; }
  .hero-F .hero-img { grid-column: 1; -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }
  .hero-F > .wrap { grid-column: 1; grid-row: 2; padding: 4px var(--gutter) 44px; }
  .hero-F .hero-text { margin-right: 0; }
}

/* ===== home: "Geeta words of wisdom" as an open book ===== */
.book { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #c9d3de;
  border-radius: 6px; box-shadow: 0 30px 60px -36px rgb(2 33 64 / .55); }
.book::after { /* the fold between the two pages */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 44px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(2 33 64 / .1) 50%, transparent); }
.book-page { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 52px) clamp(24px, 4.5vw, 60px); }
.book-photo img { width: 100%; max-width: 300px; height: auto; margin-inline: auto; border-radius: 3px; }
.book .quote-stage { min-height: 9rem; margin: .4rem 0 0; }
.book .quote figcaption { color: #022140; font-weight: 600; font-size: .95rem; }
.book-folio { margin: 1.6rem 0 0; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #6b7785; }
.quote-dots { display: flex; gap: 6px; margin-top: .9rem; }
.quote-dots button { width: 24px; height: 24px; padding: 7px; border: 0; background: none; cursor: pointer; }
.quote-dots button::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #022140; }
.quote-dots button[aria-current]::before { background: #022140; }
@media (max-width: 760px) {
  .book { grid-template-columns: 1fr; }
  .book::after { display: none; }
  .book-photo { padding-bottom: 0; }
  .book-photo img { max-width: 240px; }
}

/* ===== spacing: sections share one background, so back-to-back sections must not double their padding ===== */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section + .section { padding-top: clamp(16px, 2vw, 28px); } /* gap between sections: about 120px on desktop, 70px on phones */

/* Cormorant (headings) only has old-style numbers, where "1" looks like "ı": short labels that are mostly numbers use Lora */

/* ===== Geeta Capsules: one series at a time (auto-advances; ‹ › arrows) ===== */
.capsule-sec .wrap { position: relative; }
.cap-series[hidden] { display: none; }
.cap-series:not([hidden]) { animation: fadeIn .6s var(--ease); }
.cap-nav { position: absolute; right: 0; top: 0; z-index: 1; display: flex; align-items: center; gap: 12px; }
.cap-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #c9d3de; background: #fff; color: #022140; cursor: pointer; transition: background .3s, color .3s; }
.cap-arrow:hover { background: #022140; color: #fff; }
.cap-arrow .ic { width: 18px; height: 18px; }
.cap-count { min-width: 3.4em; text-align: center; font-weight: 600; color: #56636f; font-variant-numeric: tabular-nums; }
.cap-head { border-bottom: 1px solid #c9d3de; padding: 0 140px 16px 0; margin-bottom: 24px; }
.cap-head .eyebrow { margin: 0 0 .3rem; }
.cap-head h2 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.cap-meta { margin: .35rem 0 0; color: #56636f; font-size: .92rem; }
.cap-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cap-card { background: #fff; border: 1px solid #c9d3de; border-radius: 8px; padding: 8px; transition: transform .3s, box-shadow .3s; }
.cap-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgb(2 33 64 / .5); }
.cap-card .video { border-radius: 4px; }
.cap-label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 4px 4px; font: 500 1rem/1.3 var(--f-body); color: var(--head); }
.cap-n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #c9d3de; color: #022140; font: 600 .75rem var(--f-body); }
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .cap-nav { position: static; justify-content: flex-end; margin-bottom: 10px; }
  .cap-head { padding-right: 0; }
  .cap-grid { gap: 12px; }
  .cap-label { font-size: .9rem; }
  .cap-card .video-yt { display: none; }
  .cap-card .video-play { width: 44px; height: 44px; box-shadow: 0 0 0 5px rgb(var(--accent-rgb) / .25); }
}


/* Courses: keep the two courses close together (one course follows straight after the other) */
.course-sec + .course-sec { padding-top: 0; }
.section.course-sec-tight { padding-bottom: clamp(28px, 3.5vw, 44px); }

/* ===== Gifts: product grid with photo galleries ===== */
.gal-main { aspect-ratio: 4 / 3; background: #fff; border-radius: 6px; overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 2px; }
.gal-thumb { flex: none; width: 64px; height: 50px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: none; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumb:hover { opacity: 1; }
.gal-thumb[aria-current] { border-color: #022140; opacity: 1; }
.gB-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.gB-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #c9d3de; border-radius: 10px; padding: 10px; }
.gB-body { padding: 14px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.gB-body h2 { font-size: 1.7rem; margin: 0 0 8px; }
.gB-body p { font-size: .95rem; }
.gB-body .link-arrow { margin-top: auto; }
.gB-up-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 30px; margin-bottom: 26px; }
.gB-up-head .section-head { margin-bottom: 0; }
.gB-mosaic { columns: 6 150px; column-gap: 10px; }
.gB-mosaic img { width: 100%; margin-bottom: 10px; border-radius: 6px; break-inside: avoid; }
@media (max-width: 1000px) { .gB-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .gB-grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Vision: Living the Geeta Way – four cards (no arches) ===== */
section.lvB { background: var(--bg); }
.lvB-head { max-width: 820px; }
.lvB-head p { line-height: 1.8; margin: 0 auto .9em; }
.lvB-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lvB-card { background: #fff; border: 1px solid #c9d3de; border-top: 4px solid #022140; border-radius: 6px; padding: 26px 22px; }
.lv-ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 8px; background: #e8eef5; color: #022140; border: 1px solid #c9d3de; }
.lv-ic .ic { width: 28px; height: 28px; }
.lvB-card h3 { font-size: 1.4rem; margin: 0 0 .4em; }
.lvB-card p { color: #2a3644; font-size: .94rem; margin: 0; }
.lvB-cta { margin: 2.4rem 0 0; }
@media (max-width: 1000px) { .lvB-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lvB-grid { grid-template-columns: minmax(0, 1fr); } }
/* Vision living: navy accents */
.lvB { --navy-g: linear-gradient(130deg, rgb(2, 33, 64) 0%, rgb(2, 33, 64) 100%); }
.lvB-card { border-top: 0; position: relative; overflow: hidden; padding-top: 30px; }
.lvB-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--navy-g); }
.lvB .lv-ic { background: var(--navy-g); color: #fff; border-color: rgb(2, 33, 64); }
.lvB .btn-saffron { background: var(--navy-g); color: #fff; }
.lvB h2, .lvB h3 { color: rgb(2, 33, 64); }

/* ===== Navy nav bar ===== */
.site-header { background: linear-gradient(130deg, rgb(2, 33, 64) 0%, rgb(2, 33, 64) 100%); border-bottom: 0; box-shadow: 0 6px 20px -14px rgb(1 20 40 / .6); }
.brand { background: none; padding: 6px 0; }
.nav ul a { color: #dbe5f0; }
.nav ul a:hover { color: #fff; background: rgb(255 255 255 / .1); }
.nav ul a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #fff; }
.nav-donate, .nav-donate:hover { background: #fff; color: #022140; }
.nav-donate:hover { background: #e8eef5; }
@media (max-width: 1020px) {
  .nav-toggle { background: rgb(255 255 255 / .08); color: #fff; border-color: rgb(255 255 255 / .25); }
  .nav { background: #022140; border-bottom: 0; }
  .nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 #fff; }
}
.book::after { display: none; }
/* quote box keeps one height: hidden sayings still take up space (stacked in one grid cell), so the
   stage is always as tall as the longest saying and only the text changes */
.quote-stage .quote[hidden] { display: block; visibility: hidden; }
.book .quote-stage { min-height: 0; align-items: start; }

/* ===== one size for every section title (same font, weight and size on all pages) ===== */
main h2, .title-logo h2, .tabs-on .tab-panel .tr-head h2, .hero-book-body h2, .cap-head h2 {
  font-family: var(--f-display); font-weight: 600; font-style: normal; font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1.15;
}
/* titles inside small cards stay card-sized */
main .gB-body h2, main .news-item h2, main .news-h { font-size: 1.7rem; }
.nowrap { white-space: nowrap; }

/* ===== custom picture icons ===== */
.picon { display: block; height: auto; border-radius: 14px; box-shadow: 0 10px 22px -14px rgb(2 33 64 / .7); }
.jewel-pic { width: 60px; margin-bottom: 18px; transition: transform .4s var(--ease); }
.jewel:hover .jewel-pic { transform: translateY(-3px); }
.lv-pic { width: 60px; margin-bottom: 18px; }
.subnav-icons a .tab-pic { width: 26px; border-radius: 6px; box-shadow: none; }

/* ===== Treasures: hover states keep dark text on the white cards/buttons ===== */
.platform, .platform:hover, .chant, .chant:hover { color: #022140; }
.platform:hover, .chant:hover { background: #f3f7fb; border-color: #022140; }
.platform span, .chant-play { background: #e8eef5; color: #022140; }
.platform:hover span, .chant:hover .chant-play { background: #022140; color: #fff; }
.chant-n { border-color: #022140; color: #022140; }
.buy-btn, .buy-btn:hover { background: linear-gradient(130deg, rgb(2, 33, 64) 0%, rgb(2, 33, 64) 100%); color: #fff; }
.buy-btn:hover { background: #1b4a7a; }
.book { background: none; border: 0; box-shadow: none; border-radius: 0; }
.book { border: 1px solid #b7c3d1; border-radius: 6px; }

/* ===== Home: Jewels of the Geeta – cards with a navy header strip ===== */
section.jF { background: var(--bg); }
.jF-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.jF-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #c9d3de; border-radius: 8px; overflow: hidden; text-decoration: none; color: #2a3644; transition: box-shadow .3s, transform .3s; }
.jF-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -24px rgb(2 33 64 / .6); }
.jF-top { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: linear-gradient(130deg, rgb(2, 33, 64) 0%, rgb(2, 33, 64) 100%); }
.jF-pic { width: 48px; box-shadow: 0 0 0 1px rgb(255 255 255 / .25); }
.jF-top b { font: 600 1.45rem/1.2 var(--f-display); color: #fff; }
.jF-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.jF-body > span { flex: 1; font-size: .94rem; line-height: 1.65; margin-bottom: 14px; }
.jF-body em { font-style: normal; display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: #022140; font-size: .92rem; }
@media (max-width: 1000px) { .jF-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .jF-grid { grid-template-columns: minmax(0, 1fr); } }
/* jewels: only "Learn more" is a link */
.jF-card:hover { transform: none; box-shadow: none; }
.jF-top h3 { margin: 0; font: 600 1.45rem/1.2 var(--f-display); color: #fff; }
.jF-body p { flex: 1; font-size: .94rem; line-height: 1.65; margin: 0 0 14px; color: #2a3644; }
.jF-more { align-self: flex-start; display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: #022140; font-size: .92rem; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.jF-more:hover { color: #022140; border-bottom-color: #022140; }
.jF-more .ic { transition: transform .3s; }
.jF-more:hover .ic { transform: translateX(3px); }
.jF-more { gap: 0; } .jF-more .ic { margin-left: .45em; }
