/* ==========================================================================
   Guruji Maharaj sections (Home + About)
   Layout ideas from the Guruji design, painted with the site theme
   (cream / saffron / maroon / gold, Raleway + Helvetica). Every class is g-*
   so nothing collides with sevadar-landing.css or site.css.
   ========================================================================== */

.dev{font-family:'Rozha One','Raleway',sans-serif; font-weight:400;}

/* ---------- Hero ---------- */
/* Banner photo: Guruji sits on the right, the left is open sky for the text.
   No Ken Burns zoom so his head is never cropped; the overlay only darkens
   the text side and leaves him in full colour. */
/* Guruji banner on Home and About. The photo is sized to the hero height minus
   the menu (--banner-gap) and pinned bottom-right, so his head always sits
   below the menu. The strip above and any gap on the left are filled with a
   gradient sampled from the photo's own top edge, so there is no visible seam. */
.g-hero, .site--about .page-hero{--banner-gap:110px;}
.g-hero .hero-photo-layer, .site--about .page-hero .hero-photo-layer{
  inset:0; animation:none;
  --banner-fill:linear-gradient(90deg, #91431d 0%, #9c4e20 25%, #ad5b23 50%, #b76221 75%, #c46b1f 100%);
  background-image:url('../images/guruji_home_banner_2.jpeg'), var(--banner-fill);
  background-size:auto calc(100% - var(--banner-gap)), cover;
  background-position:right bottom, center;
  background-repeat:no-repeat;
}
/* Soft fade over the join between the fill and the photo's top edge. */
.g-hero .hero-photo-layer::after, .site--about .page-hero .hero-photo-layer::after{
  content:''; position:absolute; left:0; right:0; top:calc(var(--banner-gap) - 24px); height:36px;
  background:var(--banner-fill);
  -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
          mask-image:linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
}
.g-hero .hero-photo-overlay, .site--about .page-hero .hero-photo-overlay{
  background:linear-gradient(90deg, rgba(40,12,8,0.62) 0%, rgba(40,12,8,0.38) 38%, rgba(40,12,8,0) 62%),
             linear-gradient(180deg, rgba(40,12,8,0.25) 0%, rgba(40,12,8,0) 25%, rgba(30,8,6,0.35) 100%);
}
/* Height follows the banner's wide shape so Guruji is not cropped on big screens. */
/* Tall enough that the photo (1600x605) spans the full width below the menu gap. */
.g-hero{min-height:clamp(600px, calc(37.8vw + var(--banner-gap)), 100vh);}
/* Text hugs the left edge and stays in the left ~40%, clear of Guruji. */
.g-hero .container.hero-grid{grid-template-columns:minmax(0,1fr); max-width:none; margin:0;
  padding-left:clamp(32px, 6vw, 120px); padding-right:32px;}
.g-hero .hero-copy{max-width:min(620px, 40vw);}
.g-hero .g-om-kicker{display:flex; flex-direction:column; align-items:flex-start; gap:4px; letter-spacing:.04em; color:var(--gold); font-weight:600; margin-bottom:18px; font-size:21.1px;}
.g-hero .g-om-kicker .dev{font-size:22px; line-height:1;}
/* About page banner: same layout as Home, text on the left, Guruji on the right. */
.site--about .page-hero{min-height:clamp(640px, calc(37.8vw + var(--banner-gap)), 100vh); padding-bottom:160px;}
.site--about .page-hero__inner{max-width:min(660px, 44vw); margin:0; padding-left:clamp(32px, 6vw, 120px); padding-right:0;}
.page-hero .g-om-kicker{color:#fff; display:flex; flex-direction:column; align-items:flex-start; gap:4px; letter-spacing:.04em; font-weight:600;}
.g-hero h1{font-size:clamp(42px,5.2vw,80px); font-weight:800; line-height:.98; margin-bottom:18px;}
.g-hero h1 .g-ji{margin-left:.14em;}
/* The rising-word mask clips descenders (the y in "Jay", the j in "Guruji") and the
   italic overhang; give it room below and to the right without moving the layout. */
.g-hero h1 .split-word{padding:0 .08em .18em 0; margin:0 -.08em -.18em 0;}
.g-hero .g-subhead{font-family:'Raleway',sans-serif; font-style:italic; font-size:clamp(17px,1.8vw,22px); color:#fff; margin-bottom:16px; max-width:32ch; line-height:1.3;}



/* ---------- canvases: shared ---------- */
canvas[data-3d]{touch-action:pan-y; cursor:grab;}
canvas[data-3d]:active{cursor:grabbing;}
canvas[data-3d]:focus-visible{outline:2px solid var(--gold); outline-offset:4px; border-radius:12px;}
.no-3d canvas[data-3d]{display:none;}

/* ---------- Mantra strip ---------- */
.g-mantra{background:linear-gradient(90deg,var(--saffron-deep),var(--saffron)); color:#fff; overflow:hidden; white-space:nowrap;
  padding:14px 0 12px; font-size:15px; line-height:1; position:relative; z-index:2;}
.g-mantra .g-track-m{display:inline-flex;}
.g-mantra .g-run{display:inline-flex; gap:48px; padding-right:48px; align-items:center;}
.g-mantra .dev{font-size:19px;}
.g-mantra .g-sep{color:var(--gold); font-size:12px;}
.g-mantra .g-track-m{animation:g-marquee 150s linear infinite;}
@keyframes g-marquee{to{transform:translateX(-50%)}}

/* ---------- Grace ---------- */
.g-grace{background:var(--cream);}
.g-grace .g-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,6vw,96px); align-items:start;}
.g-statement{font-size:clamp(36px,4.6vw,58px); color:var(--maroon-deep); line-height:1.05; margin-bottom:24px;}
.g-statement em{color:var(--saffron-deep); font-style:italic;}
.g-grace .g-intro p{color:var(--ink-soft); font-size:17px; max-width:34rem;}
.g-grace .g-intro p + p{margin-top:14px;}
.g-grace .g-intro p.g-strong{color:var(--maroon); font-family:'Raleway',sans-serif; font-size:20px; font-style:italic;}
.g-terms-title{font-size:22px; color:var(--maroon-deep); margin-bottom:10px;}
.g-terms{margin:0;}
.g-terms > div{display:grid; grid-template-columns:10rem 1fr; gap:16px; padding:20px 0; border-top:1px solid var(--line); transition:padding-left .4s var(--ease);}
.g-terms > div:hover{padding-left:10px;}
.g-terms dt{font-family:'Raleway',sans-serif; font-weight:600; font-size:19px; color:var(--saffron-deep);}
.g-terms dd{margin:0; color:var(--ink-soft); font-size:15.5px;}

/* ---------- About (maroon band with 3D linga) ---------- */
.g-about{background:linear-gradient(160deg,var(--maroon) 0%,var(--maroon-deep) 60%,#3d0e17 100%); color:#fff; position:relative; overflow:hidden;}
.g-about::before{content:''; position:absolute; top:-30%; right:-15%; width:55%; height:160%;
  background:radial-gradient(circle,rgba(216,168,87,.18),transparent 65%); pointer-events:none;}
.g-about .g-grid{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,.9fr); gap:clamp(24px,3vw,48px); align-items:stretch; position:relative;}
.g-about .kicker{color:var(--gold);}
.g-about h2{font-size:clamp(30px,3.4vw,44px); line-height:1.12; color:#fff; margin:12px 0 26px;}
.g-about h2 span{display:block;}
.g-about h2 .g-accent{color:var(--gold); font-style:italic;}
.g-about p{color:rgba(255,255,255,.75); max-width:32rem; font-size:15.5px;}
.g-about p + p{margin-top:14px;}
.g-about p.g-first{color:#fff; font-size:17px;}
.g-portrait{margin:36px 0 0; max-width:280px;}
.g-portrait svg{display:block; width:100%; height:auto; color:var(--gold); filter:drop-shadow(0 20px 40px rgba(0,0,0,.35));}
.g-portrait figcaption{margin-top:16px; font-family:'Raleway',sans-serif; font-style:italic; font-size:20px; line-height:1.35; color:#fff;}
.g-linga{position:relative; min-height:520px; margin:0; border-left:1px solid rgba(255,255,255,.14); border-right:1px solid rgba(255,255,255,.14);}
.g-linga canvas{display:block; width:100%; height:calc(100% - 48px); --m3d-fill:#2B1B14; --m3d-line:#D8A857;}
.g-linga figcaption{font-size:13px; color:rgba(255,255,255,.6); padding:10px 20px 0;}
.g-three{display:flex; flex-direction:column; justify-content:flex-end;}
.g-three .g-om-big{font-family:'Rozha One',serif; font-size:clamp(80px,8vw,116px); line-height:1; color:var(--gold); margin-bottom:12px;
  text-shadow:0 0 40px rgba(216,168,87,.35);}
.g-three dl{margin:0;}
.g-three dl div{border-top:1px solid rgba(255,255,255,.16); padding:16px 0;}
.g-three dt{font-family:'Raleway',sans-serif; font-weight:600; font-size:24px; color:#fff;}
.g-three dd{margin:0; font-size:15px; color:rgba(255,255,255,.7);}
.g-about .g-more{margin-top:28px;}
.g-about--page .g-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);}


/* ---------- Stories of grace ---------- */
.g-stories{background:var(--cream);}
.g-stories .g-head{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; margin-bottom:40px;}
.g-stories .g-head h2{font-size:clamp(32px,4.4vw,54px); color:var(--maroon-deep); margin-top:10px;}
.g-ctrl{display:flex; gap:10px;}
.g-ctrl button{width:48px; height:48px; border-radius:50%; border:1.5px solid var(--maroon); background:none; color:var(--maroon);
  font-size:18px; cursor:pointer; transition:background .25s,color .25s,transform .25s;}
.g-ctrl button:hover{background:var(--maroon); color:#fff; transform:scale(1.06);}
.g-track{list-style:none; margin:0; padding:0 0 16px; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(280px,380px);
  gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin;}
.g-track li{scroll-snap-align:start; background:#fff; border-radius:var(--radius); padding:30px 28px; border:1px solid var(--line);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);}
.g-track li:hover{transform:translateY(-6px); box-shadow:var(--shadow);}
.g-rule{height:1px; background:var(--line); margin:0 0 22px; position:relative;}
.g-rule::before{content:''; position:absolute; left:0; top:-6px; width:13px; height:13px; border-radius:50%; background:#fff; border:2px solid var(--saffron);}
.g-track h3{font-size:22px; color:var(--maroon-deep); line-height:1.25; margin-bottom:10px;}
.g-track p{font-size:15.5px; color:var(--ink-soft); margin:0;}

/* ---------- Satsang + app ---------- */
.g-reach{background:var(--cream-2);}
.g-reach .g-grid{display:grid; grid-template-columns:1fr 1fr; gap:24px;}
.g-reach .g-cell{background:#fff; border-radius:var(--radius); padding:clamp(32px,4vw,52px); border:1px solid var(--line); position:relative; overflow:hidden;}
.g-reach .g-cell--dark{background:linear-gradient(160deg,var(--maroon),var(--maroon-deep)); color:#fff; border:0;}
.g-reach .g-cell--dark::after{color:rgba(216,168,87,.12);}
.g-reach h2{font-size:clamp(26px,3vw,38px); color:var(--maroon-deep); margin-bottom:12px; line-height:1.15;}
.g-reach .g-cell--dark h2{color:#fff;}
.g-reach p{color:var(--ink-soft); max-width:30rem;}
.g-reach .g-cell--dark p{color:rgba(255,255,255,.78);}
.g-reach .g-actions{display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; position:relative; z-index:1;}
.g-soon{display:inline-block; font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--gold); margin-top:20px;}

/* ---------- Visit ---------- */
.g-visit{background:linear-gradient(135deg,var(--saffron-deep),var(--saffron)); color:#fff; position:relative; overflow:hidden;}
.g-visit .g-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; align-items:start;}
.g-visit h2{font-size:clamp(38px,5.5vw,68px); color:#fff; margin-bottom:16px; line-height:1;}
.g-visit p{color:rgba(255,255,255,.9); max-width:30rem; font-size:17px;}
.g-visit dl{margin:0;}
.g-visit dl div{display:grid; grid-template-columns:10rem 1fr; gap:16px; padding:16px 0; border-top:1px solid rgba(255,255,255,.35);}
.g-visit dt{font-weight:700; font-size:14px; text-transform:uppercase; letter-spacing:.06em;}
.g-visit dd{margin:0;}
.g-visit dd a{color:#fff;}
.g-visit dd.g-todo{opacity:.75; font-style:italic;}
.g-visit .btn{margin-top:24px;}

/* ---------- Closing line ---------- */
.g-closing{background:var(--cream); text-align:center; padding:80px 0 70px;}
.g-closing .g-close{font-family:'Raleway',sans-serif; font-weight:600; font-size:clamp(26px,3.2vw,38px); color:var(--maroon-deep); line-height:1.3;}
.g-closing .g-tag{color:var(--saffron-deep); margin-top:6px; font-style:italic;}

/* ---------- About page: pillars ---------- */
.g-pillars{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.g-pillar{background:#fff; border-radius:var(--radius); padding:36px 30px; border:1px solid var(--line); text-align:center;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);}
.g-pillar:hover{transform:translateY(-8px); box-shadow:var(--shadow);}
.g-pillar .g-pillar-dev{font-family:'Rozha One',serif; font-size:44px; color:var(--saffron-deep); line-height:1.2;}
.g-pillar h3{font-size:26px; color:var(--maroon-deep); margin:8px 0 10px;}
.g-pillar p{color:var(--ink-soft); margin:0;}

/* ---------- responsive ---------- */
@media (max-width:1050px){
  .g-about .g-grid{grid-template-columns:1fr 1fr;}
  .g-about:not(.g-about--page) .g-linga{grid-column:1/-1; grid-row:2; min-height:440px; border:0;
    border-top:1px solid rgba(255,255,255,.14); border-bottom:1px solid rgba(255,255,255,.14);}
}
@media (max-width:900px){
  .g-hero .hero-grid{grid-template-columns:1fr;}
  /* Phones: text on top, then Guruji in full below it, so the text never
     covers his face. The hero leaves room at the bottom for the photo. */
  .g-hero, .site--about .page-hero{--banner-h:min(330px, 84vw); min-height:auto;}
  .g-hero{padding-bottom:calc(var(--banner-h) + 20px);}
  .site--about .page-hero{padding-bottom:calc(var(--banner-h) + 60px);}
  .g-hero .container.hero-grid{padding-left:24px; padding-right:24px;}
  .g-hero .hero-copy{max-width:none;}
  .g-hero .g-om-kicker{align-items:center;}
  .g-hero .scroll-cue{display:none;}
  .g-hero .hero-photo-layer, .site--about .page-hero .hero-photo-layer{
    /* Only the right half of the photo shows here, so the fill matches that part's top edge. */
    --banner-fill:linear-gradient(90deg, #a55522 0%, #b25e22 50%, #be6720 100%);
    background-size:auto var(--banner-h), cover; background-position:84% bottom, center;}
  .g-hero .hero-photo-layer::after, .site--about .page-hero .hero-photo-layer::after{
    top:auto; bottom:calc(var(--banner-h) - 20px); height:56px;}
  .g-hero .hero-photo-overlay, .site--about .page-hero .hero-photo-overlay{
    background:linear-gradient(180deg, rgba(40,12,8,0.5) 0%, rgba(40,12,8,0.3) 55%, rgba(40,12,8,0) 75%);}
  .site--about .page-hero__inner{max-width:none; padding-left:24px; padding-right:24px;}
  .g-grace .g-grid, .g-reach .g-grid, .g-visit .g-grid{grid-template-columns:1fr;}
  .g-terms > div, .g-visit dl div{grid-template-columns:1fr; gap:4px;}
  .g-pillars{grid-template-columns:1fr;}
  .g-about--page .g-grid{grid-template-columns:1fr;}
  .g-about--page .g-linga{border:0; min-height:420px;}
}
@media (max-width:640px){
  .g-about .g-grid{grid-template-columns:1fr;}
  .g-about .g-linga{grid-row:auto;}
}



/* ==========================================================================
   Calm site
   Visitors found the page "blinking": pulsing dots, a zooming header photo,
   ticking countdown digits and sections fading in on scroll. Every CSS
   animation on the public site now jumps straight to its end state and stops,
   and reveal-on-scroll content is simply there. Hover effects still work.
   Kept moving on purpose: the mantra strip and the 3D models (site-3d.js).
   ========================================================================== */
body.site *, body.site *::before, body.site *::after{
  animation-duration:.001s !important;
  animation-delay:0s !important;
  animation-iteration-count:1 !important;
}
body.site .reveal, body.site .reveal-scale, body.site .reveal-left, body.site .reveal-right,
body.site .reveal-stagger > *, body.site .step, body.site .sacred-badge,
body.site .split-word span{
  opacity:1 !important; transform:none !important; transition:none !important;
}
body.site .year-strip .month__bar i{height:var(--h);}
#loader, #cursor-glow, #ember-field{display:none !important;}

/* The scrolling strips (mantra strip, Volunteers ticker) always keep looping. */
body.site .g-mantra .g-track-m{animation:g-marquee 150s linear infinite !important;}
body.site .marquee-track{animation:marqueeScroll 52s linear infinite !important;}

/* ---------- Nav spacing ----------
   "Levittown Meditation Center" is a long name; keep clear space between it,
   the links and the buttons, and let it wrap to two lines when room is short. */
.site .nav-inner{gap:40px;}
.site .nav .brand{flex-shrink:0;}
.site .nav .brand-name{line-height:1.1; white-space:normal; overflow:visible; text-overflow:clip;}
.site .nav-links{gap:30px;}
.site .nav-links a, .site .nav-cta .btn{white-space:nowrap;}
@media (max-width:1680px){
  .site .nav .brand{font-size:19px;}
  .site .nav .brand-name{max-width:10.5em;}
  .site .nav-inner{gap:28px;}
  .site .nav-links{gap:24px; font-size:14.5px;}
}

/* ---------- YouTube videos ---------- */
.g-videos{background:var(--cream-2);}
.g-videos .g-head{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; margin-bottom:36px;}
.g-videos .g-head h2{font-size:clamp(32px,4.4vw,54px); color:var(--maroon-deep); margin:10px 0 8px;}
.g-videos .g-head p{color:var(--ink-soft); max-width:34rem; margin:0;}
.btn-yt{background:#CC0000; color:#fff; display:inline-flex; align-items:center; gap:10px;}
.btn-yt:hover{background:#A80000; color:#fff;}
.btn-yt svg{width:20px; height:20px;}

.g-video-grid{display:grid; grid-template-columns:minmax(0,1.9fr) minmax(0,1fr); gap:28px; align-items:start;}
.g-video-grid.is-single{grid-template-columns:minmax(0,1fr); max-width:900px; margin:0 auto;}
.g-video{margin:0;}
.g-video__stage{position:relative; aspect-ratio:16/9; border-radius:var(--radius); overflow:hidden; background:var(--maroon-deep); box-shadow:var(--shadow);}
.g-video__play, .g-video__stage iframe{position:absolute; inset:0; width:100%; height:100%; border:0; padding:0; display:block;}
.g-video__play{cursor:pointer; background:none;}
.g-video__play img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s var(--ease), filter .4s;}
.g-video__play::after{content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,rgba(42,10,16,.45));}
.g-video__play:hover img{transform:scale(1.04); filter:brightness(.9);}
.g-video__play:focus-visible{outline:3px solid var(--saffron); outline-offset:-3px;}
.g-video__btn{position:absolute; left:50%; top:50%; z-index:1; width:78px; height:78px; margin:-39px 0 0 -39px; border-radius:50%;
  display:grid; place-items:center; background:rgba(204,0,0,.92); color:#fff; box-shadow:0 10px 30px rgba(0,0,0,.35);
  transition:transform .3s var(--ease), background .3s;}
.g-video__btn svg{width:34px; height:34px; margin-left:4px;}
.g-video__play:hover .g-video__btn{transform:scale(1.1); background:#CC0000;}
.g-video figcaption{margin-top:14px; font-size:20px; font-weight:600; color:var(--maroon-deep);}

.g-playlist{list-style:none; margin:0; padding:0; display:grid; gap:12px;}
.g-playlist__item{display:grid; grid-template-columns:150px minmax(0,1fr); gap:14px; align-items:center; width:100%; text-align:left;
  padding:10px; border:1px solid var(--line); border-radius:14px; background:#fff; cursor:pointer; color:var(--ink);
  transition:border-color .3s, box-shadow .3s, transform .3s var(--ease);}
.g-playlist__item:hover{transform:translateX(4px); box-shadow:var(--shadow);}
.g-playlist__item.is-active{border-color:var(--saffron); box-shadow:0 0 0 2px rgba(232,132,58,.25);}
.g-playlist__item:focus-visible{outline:3px solid var(--saffron); outline-offset:2px;}
.g-playlist__thumb{position:relative; aspect-ratio:16/9; border-radius:10px; overflow:hidden; background:var(--maroon-deep);}
.g-playlist__thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.g-playlist__thumb svg{position:absolute; left:50%; top:50%; width:30px; height:30px; margin:-15px 0 0 -15px; padding:6px 4px 6px 8px;
  border-radius:50%; background:rgba(204,0,0,.9); color:#fff; box-sizing:border-box;}
.g-playlist__title{font-weight:600; font-size:15px; line-height:1.35; color:var(--maroon-deep);
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;}

@media (max-width:900px){
  .g-video-grid{grid-template-columns:minmax(0,1fr);}
  .g-playlist__item{grid-template-columns:130px minmax(0,1fr);}
}

/* ==========================================================================
   About page: life, teachings, Bade Mandir
   ========================================================================== */

/* ---------- Life ---------- */
.g-life{background:var(--cream);}
.g-life .section-head h2{color:var(--maroon-deep);}
.g-life__grid{display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr); gap:clamp(32px,5vw,80px); align-items:start;}
.g-life__aside{position:sticky; top:110px;}
.g-life__photo{margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); aspect-ratio:3/4; background:var(--maroon-deep);}
.g-life__photo img, .g-life__inline img{width:100%; height:100%; object-fit:cover; display:block;}
.g-timeline{list-style:none; margin:28px 0 0; padding:0 0 0 22px; border-left:2px solid var(--line);}
.g-timeline li{position:relative; padding:0 0 18px;}
.g-timeline li::before{content:''; position:absolute; left:-29px; top:4px; width:12px; height:12px; border-radius:50%;
  background:#fff; border:2px solid var(--saffron);}
.g-timeline b{display:block; font-family:'Raleway',sans-serif; color:var(--saffron-deep); font-size:16px;}
.g-timeline span{color:var(--ink-soft); font-size:14.5px;}
.g-life__story{max-width:42rem;}
.g-life__story p{color:var(--ink-soft); font-size:17px; line-height:1.75;}
.g-life__story p + p{margin-top:14px;}
.g-life__story .g-lede{font-family:'Raleway',sans-serif; font-size:clamp(20px,2vw,24px); line-height:1.5; color:var(--maroon-deep);}
.g-life__story .g-note{font-size:15.5px; font-style:italic;}
.g-chapter{margin-top:44px; padding-top:28px; border-top:1px solid var(--line);}
.g-chapter h3{font-size:clamp(24px,2.6vw,30px); color:var(--maroon-deep); margin-bottom:14px; display:flex; align-items:baseline; gap:14px;}
.g-chapter__n{font-size:14px; font-family:'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight:700; color:var(--saffron-deep); letter-spacing:.08em;}
.g-life__inline{margin:40px 0 0; border-radius:var(--radius); overflow:hidden; aspect-ratio:16/10; box-shadow:var(--shadow);}
.g-life__inline img{object-position:center top;}
.g-saying{margin:22px 0 0; padding:18px 24px; border-left:3px solid var(--saffron); background:#fff; border-radius:0 14px 14px 0;
  font-family:'Raleway',sans-serif; font-style:italic; font-size:20px; line-height:1.45; color:var(--maroon-deep);}
.g-saying cite{display:block; margin-top:8px; font-family:'Helvetica Neue',Helvetica,Arial,sans-serif; font-style:normal; font-size:12.5px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase; color:var(--saffron-deep);}
.g-saying cite::before{content:'— ';}
.g-life__close{margin-top:44px !important; color:var(--maroon) !important; font-weight:600; display:flex; flex-direction:column; gap:4px;}
.g-life__close .dev{font-size:22px;}

/* ---------- Teachings ---------- */
.g-teach{background:var(--cream-2);}
.g-teach__head{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:32px; align-items:end; margin-bottom:40px;}
.g-teach__head h2{font-size:clamp(32px,4.4vw,54px); color:var(--maroon-deep); margin-top:10px; line-height:1.05;}
.g-teach__head p{color:var(--ink-soft); font-size:17px; margin:0;}
.g-teach__grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px;}
.g-teach__card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);}
.g-teach__card:hover{transform:translateY(-6px); box-shadow:var(--shadow);}
.g-teach__card h3{font-size:21px; color:var(--maroon-deep); margin-bottom:8px;}
.g-teach__card p{color:var(--ink-soft); font-size:15.5px; margin:0;}
.g-teach__sayings{display:flex; flex-wrap:wrap; justify-content:center; gap:14px 40px; margin-top:44px;
  font-family:'Raleway',sans-serif; font-style:italic; font-size:clamp(24px,3vw,34px); color:var(--saffron-deep);}

/* ---------- Bade Mandir ---------- */
.g-mandir h2{font-size:clamp(34px,4.4vw,56px); margin:12px 0 24px;}
.g-mandir__top{display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(28px,4vw,60px); align-items:stretch; position:relative;}
.g-mandir__model{border:0; border-left:1px solid rgba(255,255,255,.14); min-height:480px;}
/* Photo of the Bade Mandir in place of the 3D temple model. */
.g-mandir__photo{padding-left:clamp(20px,3vw,40px); min-height:0; align-self:center; display:flex; flex-direction:column; justify-content:center;}
.g-mandir__photo img{display:block; width:100%; max-width:520px; height:auto; aspect-ratio:553/555; object-fit:cover; margin:0 auto; border-radius:var(--radius); box-shadow:0 20px 50px rgba(0,0,0,.35);}
.g-mandir__photo figcaption{text-align:center;}
.g-mandir__features{margin:48px 0 0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; position:relative;}
.g-mandir__features div{border-top:1px solid rgba(255,255,255,.2); padding-top:16px;}
.g-mandir__features dt{font-family:'Raleway',sans-serif; font-weight:600; font-size:20px; color:var(--gold);}
.g-mandir__features dd{margin:6px 0 0; color:rgba(255,255,255,.75); font-size:15px;}

.g-miracles{background:var(--cream);}
.g-miracles .section-head h2{color:var(--maroon-deep);}
.g-miracles__list{max-width:52rem; margin:0 auto; display:grid; gap:28px;}
.g-miracle{display:grid; grid-template-columns:64px minmax(0,1fr); gap:24px; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); padding:clamp(24px,3.5vw,40px);}
.g-miracle__n{width:56px; height:56px; border-radius:50%; display:grid; place-items:center; font-family:'Raleway',sans-serif;
  font-size:26px; font-weight:600; color:#fff; background:linear-gradient(145deg,var(--saffron),var(--maroon));}
.g-miracle h3{font-size:clamp(22px,2.4vw,28px); color:var(--maroon-deep); margin:6px 0 12px;}
.g-miracle p{color:var(--ink-soft); font-size:16.5px; line-height:1.7;}
.g-miracle p + p, .g-miracle .g-saying + p{margin-top:14px;}
.g-miracle .g-saying{background:var(--cream);}
.g-prayer{max-width:44rem; margin:48px auto 0; text-align:center; font-family:'Raleway',sans-serif; font-weight:600;
  font-size:clamp(20px,2.4vw,26px); line-height:1.45; color:var(--maroon-deep);}

@media (max-width:1050px){
  .g-teach__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .g-mandir__features{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:900px){
  .g-life__grid, .g-teach__head, .g-mandir__top{grid-template-columns:minmax(0,1fr);}
  .g-life__aside{position:static; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start;}
  .g-timeline{margin-top:0;}
  .g-mandir__model{border-left:0; border-top:1px solid rgba(255,255,255,.14); min-height:400px;}
  .g-mandir__photo{padding-left:0; padding-top:24px; min-height:0;}
  .g-mandir__photo img{height:auto; min-height:0; aspect-ratio:1/1;}
}
@media (max-width:640px){
  .g-life__aside{grid-template-columns:minmax(0,1fr);}
  .g-life__photo{aspect-ratio:4/5;}
  .g-teach__grid, .g-mandir__features{grid-template-columns:minmax(0,1fr);}
  .g-miracle{grid-template-columns:minmax(0,1fr); gap:14px;}
}
