/* BSS Gurugram: MOBILE PRESENTATION (<=767px)
 * Same approved markup, imagery, content, typography, palette and section order.
 * Desktop V9 hero.css + home.css are unchanged.
 * This file intentionally loads last, because existing CSS includes historical
 * smartphone !important overrides. Do not move these rules into hero.css.
 */
.mobile-hero-arrows { display: none; }

@media (max-width: 767px) {
  :root {
    --bss-mobile-nav-h: 70px;
    --nav-h: var(--bss-mobile-nav-h);
  }
  html { scroll-padding-top: calc(var(--bss-mobile-nav-h) + 8px); }
  html, body { max-width: 100%; overflow-x: clip; }
  body { margin: 0; }
  body button, body a { -webkit-tap-highlight-color: transparent; }

  /* 1 — Fixed mobile header, always visible. Original brand and palette. */
  body .site-nav,
  body .site-nav.is-visible,
  body .site-nav:not(.is-visible) {
    position: fixed !important;
    inset: 0 0 auto !important;
    z-index: 9999 !important;
    height: var(--bss-mobile-nav-h) !important;
    min-height: var(--bss-mobile-nav-h) !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    transform: none !important;
    background: #dfa65e !important;
    border-bottom: 1px solid rgba(89,51,23,.22) !important;
    box-shadow: 0 3px 12px rgba(51,28,12,.12) !important;
    pointer-events: auto !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transition: none !important;
  }
  body .site-nav .brand,
  body .site-nav:not(.is-visible) .brand,
  body .site-nav.is-visible .brand {
    display: flex !important;
    flex: 1 1 auto !important;
    gap: 10px !important;
    min-width: 0 !important;
    max-width: calc(100% - 58px) !important;
    color: #432619 !important;
  }
  body .site-nav .brand::before { content: none !important; display: none !important; }
  body .site-nav .brand-mark,
  body .site-nav.is-visible .brand-mark {
    display: block !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
  }
  body .site-nav .brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
  body .site-nav .brand-identity { min-width: 0 !important; white-space: normal !important; }
  body .site-nav .brand-identity b,
  body .site-nav:not(.is-visible) .brand b,
  body .site-nav.is-visible .brand b {
    color: #432619 !important;
    font-size: clamp(14px,4.35vw,20px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
    white-space: normal !important;
  }
  body .site-nav .brand-identity small,
  body .site-nav:not(.is-visible) .brand small,
  body .site-nav.is-visible .brand small {
    color: #5e3727 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    letter-spacing: .06em !important;
    margin-top: 3px !important;
    white-space: normal !important;
  }
  body .site-nav .nav-toggle,
  body .site-nav.is-visible .nav-toggle,
  body .site-nav:not(.is-visible) .nav-toggle {
    display: block !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 11px !important;
    border: 0 !important;
    color: #432619 !important;
    background: transparent !important;
    pointer-events: auto !important;
    cursor: pointer;
    touch-action: manipulation;
  }
  body .site-nav .nav-toggle span:not(.sr-only) { background: #432619 !important; }
  body .site-nav nav,
  body .site-nav.is-visible nav,
  body .site-nav:not(.is-visible) nav {
    display: block !important;
    position: absolute !important;
    top: var(--bss-mobile-nav-h) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    max-height: calc(100dvh - var(--bss-mobile-nav-h)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    pointer-events: auto !important;
    background: #e6b579 !important;
    -webkit-overflow-scrolling: touch;
  }
  body .site-nav .primary-menu,
  body .site-nav.is-visible .primary-menu,
  body .site-nav:not(.is-visible) .primary-menu { display: none !important; }
  body .site-nav .primary-menu.is-open,
  body .site-nav.is-visible .primary-menu.is-open,
  body .site-nav:not(.is-visible) .primary-menu.is-open {
    display: block !important;
    padding: 10px 16px 22px !important;
    max-height: none !important;
    overflow: visible !important;
  }
  body .site-nav .primary-menu > li > a { min-height: 44px; white-space: normal; }
  body .site-nav .primary-menu .has-menu ul { position: static; }
  body .site-nav .primary-menu ul a { white-space: normal; min-height: 44px; }

  /* 2 — A normal compact hero. Seven original photographs + all original copy.
   * Swipe or use accessible dots/arrows; no seven-viewport scroll chapters. */
  body .hero-final {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: var(--bss-mobile-nav-h) 0 0 !important;
    overflow: visible !important;
    background: #2a201a;
  }
  body .hero-final .hero-stage {
    position: relative !important;
    top: auto !important;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    isolation: isolate;
    touch-action: pan-y;
  }
  body .hero-final .hero-slide,
  body .hero-final .hero-slide:not(.is-active) {
    display: none !important;
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 0 !important;
    visibility: hidden !important;
    clip-path: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    pointer-events: none !important;
  }
  body .hero-final .hero-slide.is-active {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1;
  }
  body .hero-final .hero-slide::after,
  body .hero-final .hero-slide::before { display: none !important; }
  body .hero-final .hero-slide .hero-backdrop { display: none !important; }
  body .hero-final .hero-visual,
  body .hero-final .hero-slide .hero-visual {
    position: relative !important;
    inset: auto !important;
    order: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
    max-height: 410px !important;
    aspect-ratio: 16 / 9;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #231b17 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  body .hero-final .hero-visual > img,
  body .hero-final .hero-slide .hero-visual > img {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  body .hero-final .hero-slide .hero-smoke,
  body .hero-final .hero-slide .mandir-radiance { display: none !important; }
  body .hero-final .hero-copy,
  body .hero-final .slide-guru .guru-intro,
  body .hero-final .slide-ashram .hero-copy,
  body .hero-final .hero-copy:not(.ashram-intro) {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    order: 1;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 25px 22px 18px !important;
    margin: 0 !important;
    color: #fff6e9 !important;
    background: linear-gradient(145deg,#4b2c22,#302019) !important;
    text-align: left !important;
    transform: none !important;
    filter: none !important;
    overflow: visible !important;
  }
  body .hero-final .hero-copy > *,
  body .hero-final .hero-slide .hero-copy > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  body .hero-final .hero-copy .hero-kicker.hero-shloka {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    max-width: 100% !important;
    font-family: "Noto Serif Devanagari", serif !important;
    font-size: clamp(11px,3vw,13px) !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    padding: 8px 9px !important;
    margin: 0 0 15px !important;
    white-space: normal !important;
    color: #fff1d6 !important;
    text-wrap: pretty;
  }
  body .hero-final .hero-copy h1,
  body .hero-final .hero-copy h2,
  body .hero-final .slide-guru .guru-intro h1,
  body .hero-final .slide-ashram .hero-copy h2 {
    font-family: "Forum",Georgia,serif !important;
    font-size: clamp(32px,8.2vw,44px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.015em !important;
    margin: 0 0 12px !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  body .hero-final .slide-guru .guru-intro h1 span,
  body .hero-final .slide-ashram .ashram-hero-title span { white-space: normal !important; }
  body .hero-final .hero-copy .hero-lead,
  body .hero-final .hero-copy .hero-founder-subtitle {
    font-family: "Montserrat",Arial,sans-serif !important;
    font-size: clamp(13px,3.55vw,16px) !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #ffead1 !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 17px !important;
  }
  body .hero-final .hero-copy .hero-cta {
    min-height: 44px;
    padding: 11px 16px !important;
    font-family: "Montserrat",Arial,sans-serif !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    touch-action: manipulation;
  }
  body .hero-final .hero-slide .hero-quote.sacred-scroll,
  body .hero-final .slide-ashram .hero-quote.sacred-scroll {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    order: 3;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 13px 22px 16px !important;
    background: #302019 !important;
    border: 0 !important;
    border-top: 1px solid rgba(244,209,159,.25) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    backdrop-filter: none !important;
    opacity: 1 !important;
    animation: none !important;
    transition: none !important;
  }
  body .hero-final .hero-slide .hero-quote.sacred-scroll p {
    font: italic 400 clamp(14px,3.8vw,17px)/1.48 "Forum",Georgia,serif !important;
    margin: 0 0 7px !important;
    color: #fff1de !important;
  }
  body .hero-final .hero-slide .hero-quote.sacred-scroll cite {
    font: 500 11px/1.4 "Montserrat",Arial,sans-serif !important;
    color: #f8cc98 !important;
    text-align: right !important;
  }
  body .hero-final .hero-progress {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 8px 13px !important;
    background: #302019 !important;
    border-top: 1px solid rgba(255,235,205,.16) !important;
  }
  body .hero-final .hero-progress .progress-line { display: none !important; }
  body .hero-final .hero-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0 !important;
    gap: 1px !important;
    margin: 0 !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }
  body .hero-final .hero-dots button {
    display: grid !important;
    flex: 0 0 26px !important;
    place-items: center !important;
    width: 26px !important;
    min-width: 26px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    scroll-snap-align: none !important;
    cursor: pointer;
  }
  body .hero-final .hero-dots button b { display: none !important; }
  body .hero-final .hero-dots button::after {
    content: "" !important;
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    border: 1px solid rgba(255,246,229,.85) !important;
    border-radius: 50% !important;
    background: transparent !important;
    transform: none !important;
    transition: background .15s, transform .15s !important;
  }
  body .hero-final .hero-dots button.is-active::after {
    background: #f3bd65 !important;
    border-color: #f3bd65 !important;
    transform: scale(1.25) !important;
  }
  body .hero-final .mobile-hero-arrows {
    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
  }
  body .hero-final .mobile-hero-arrows button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(244,210,159,.55);
    border-radius: 50%;
    background: rgba(255,245,227,.10);
    color: #ffeed6;
    font-size: 20px;
    cursor: pointer;
    touch-action: manipulation;
  }
  body .hero-final .mobile-hero-arrows button:disabled { opacity: .35; cursor: default; }
  body .hero-final .hero-dots button:focus-visible,
  body .hero-final .mobile-hero-arrows button:focus-visible {
    outline: 2px solid #ffda9c !important;
    outline-offset: 2px !important;
  }
  body .hero-final .hero-sound-control {
    position: absolute !important;
    z-index: 50 !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 10px !important;
    border-radius: 50% !important;
  }

  /* Slide 3: keep the approved aerial media and all 11 real photo callouts.
   * The photos become a simple horizontal strip below the aerial preview. */
  /* Slide 3 mirrors the other mobile slides: aerial video FIRST, then text/CTAs. */
  body .hero-final .slide-ashram .hero-copy { order: 1 !important; }
  body .hero-final .slide-ashram .earth-scene {
    position: relative !important;
    inset: auto !important;
    order: 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 0;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    background: #283e34 !important;
  }
  body .hero-final .slide-ashram .earth-stage {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    flex: none;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    overflow: hidden !important;
    background: #283e34 !important;
    pointer-events: auto !important;
  }
  body .hero-final .slide-ashram .earth-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: none !important;
  }
  body .hero-final .slide-ashram .earth-marker-portal,
  body .hero-final .slide-ashram .earth-pins,
  body .hero-final .slide-ashram .earth-boundary { display: none !important; }
  body .hero-final .slide-ashram .earth-play-toggle {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    display: grid !important;
    place-items: center !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    pointer-events: auto !important;
  }
  body .hero-final .slide-ashram .earth-attribution {
    position: absolute !important;
    bottom: 7px !important;
    top: auto !important;
    left: 10px !important;
    right: auto !important;
    font-size: 9px !important;
  }
  body .hero-final .slide-ashram .earth-card-strip {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex !important;
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 105px !important;
    max-width: 100% !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 12px 13px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    pointer-events: auto !important;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  body .hero-final .slide-ashram .earth-card {
    position: relative !important;
    flex: 0 0 115px !important;
    width: 115px !important;
    height: 80px !important;
    max-height: 80px !important;
    min-width: 115px !important;
    scroll-snap-align: start;
  }
  body .hero-final .slide-ashram .earth-card b { font-size: 10px !important; line-height: 1.2 !important; }
  body .hero-final .slide-ashram > .earth-info,
  body .hero-final .slide-ashram .earth-info {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    order: 2;
    width: calc(100% - 26px) !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 13px 12px !important;
    overflow: visible !important;
    pointer-events: auto !important;
    background: #fff8eb !important;
    box-shadow: none !important;
    border-radius: 10px !important;
  }
  body .hero-final .slide-ashram .earth-info[hidden] { display: none !important; }
  body .hero-final .slide-ashram .earth-info img { width: 100%; height: 155px !important; object-fit: cover !important; }
  body .hero-final .slide-ashram .earth-info h3 { font-size: 25px !important; }
  body .hero-final .slide-ashram .earth-info p { font-size: 12px !important; line-height: 1.5 !important; }
  body .hero-final .slide-ashram .earth-resume { display: none !important; }

  /* 3 — Ten homepage sections stay in their approved HTML sequence, without
   * desktop overlap or sticky panels. Existing ornamentation/colors are kept. */
  body .cards {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }
  body .cards > .story-card,
  body .cards > .story-card:first-child,
  body .cards > section.story-card,
  body .cards > footer.story-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    scroll-snap-align: none !important;
    scroll-margin-top: calc(var(--bss-mobile-nav-h) + 8px);
    box-shadow: none !important;
  }
  body .cards > .story-card > .section-shell,
  body .cards > .story-card > .section-shell.section-shell {
    position: relative !important;
    display: block;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 42px 20px 48px !important;
    overflow: visible !important;
  }
  body .cards > .story-card .section-shell h2 {
    font-size: clamp(31px,8vw,43px) !important;
    line-height: 1.08 !important;
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: break-word;
  }
  body .cards > .story-card .section-shell h3 {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  body .cards > .story-card :is(img,video,iframe) { max-width: 100%; }
  body .cards > .story-card :is(button,a[role="button"]) { touch-action: manipulation; }
  body :is(.cards,.story-card,.section-shell) { min-width: 0 !important; }
  body .section-bg { pointer-events: none; }

  /* Section 01 — title, left narrative, portrait, right narrative. */
  body #guru-maharaj > .section-shell.guru-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 25px !important;
    padding: 42px 23px 52px !important;
  }
  body #guru-maharaj .guru-main-title { order: 0 !important; text-align: center; }
  body #guru-maharaj .guru-copy-left { order: 1 !important; }
  body #guru-maharaj .guru-portrait {
    order: 2 !important;
    align-self: center !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 0 !important;
  }
  body #guru-maharaj .guru-portrait img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 95% !important;
    max-height: 350px !important;
    object-fit: contain;
  }
  body #guru-maharaj .halo { width: min(72vw,320px) !important; top: 10% !important; }
  body #guru-maharaj .guru-copy-right { order: 3 !important; }
  body #guru-maharaj .guru-copy {
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  body #guru-maharaj .guru-bio-link { max-width: 100%; white-space: normal !important; }




  /* Guru Maharaj — complete mobile ornamental frame */
  body .cards > #guru-maharaj.story-card {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body .cards > #guru-maharaj > .section-shell.guru-layout {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 76px !important;
  }

  body .cards > #guru-maharaj .guru-copy {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body .cards > #guru-maharaj .guru-ornamental-frame {
    inset: 10px 10px 16px !important;
    z-index: 3 !important;
  }

  /* Section 02 — five service pillars remain in the original order. */
  body #sangha > .section-shell.sangha-content { padding: 12px 20px 32px !important; }
  body #sangha .pillar-grid,
  body #sangha .fact-band {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 14px !important;
    height: auto !important;
    max-height: none !important;
  }
  body #sangha .pillar-grid > * { min-width: 0 !important; min-height: 0 !important; height: auto !important; }
  body #sangha .pillar-grid p { font-size: 14px !important; line-height: 1.55 !important; }

  /* Section 03 — same tab/content order, readable vertical arrangement. */
  body #gurugram > .section-shell.ashram-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    padding: 42px 20px 48px !important;
  }
  body #gurugram :is(.ashram-intro,.ashram-workspace,.ashram-visual,.vertical-tabs) {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
  }
  body #gurugram .vertical-tabs button { min-height: 44px !important; touch-action: manipulation; }
  body #gurugram :is(.ashram-workspace,.ashram-panel,.ashram-visual) { overflow-wrap: anywhere; }
  body #gurugram .ashram-visual img { height: auto; max-height: 340px; object-fit: contain; }

  /* Sections 04–05 — retain original poster, copy and school gallery. */
  body #mandir > .section-shell.mandir-layout,
  body #school .school-upper {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 25px !important;
  }
  body #mandir .mandir-poster { width: 100%; aspect-ratio: 16/10; }
  body #mandir .play-button { max-width: 80%; }
  body #school .school-gallery { width: 100% !important; min-width: 0 !important; }
  body #school .school-main { min-height: 0 !important; height: auto !important; aspect-ratio: 16/10; }
  body #school .school-main > img { width: 100%; height: 100%; object-fit: cover; }
  body #school .school-facts { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body #school .school-facts article { min-width: 0; }
  body #school .school-pills { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body #school :is(.gallery-prev,.gallery-next) { min-width: 44px; min-height: 44px; }
  body #school .thumbnail-track { scroll-snap-type: x proximity; }

  /* Section 06 — all six original activity images and text in source order. */
  body #activities .activity-grid.activities-visual-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 20px !important;
    width: 100%;
  }
  body #activities .activity-grid .activity-tile {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  /* Activity photos: give mobile images a taller, consistent photographic frame.
     The original 16:9 frame cropped faces and upper portions of the eye-care
     and worship photographs. Keep all six existing images in their source order. */
  body #activities .activity-tile__image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden;
  }
  body #activities .activities-visual-grid .activity-tile .activity-tile__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  /* The eye-care scene's important subjects are toward the top of its frame. */
  body #activities .activities-visual-grid .activity-tile:nth-child(2) .activity-tile__image img {
    object-position: 51% 28% !important;
  }
  body #activities .activity-tile__content { position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; min-height: 0 !important; }

  /* Section 07 — same eleven-photo mosaic, now two columns and touch details. */
  body #ashram-life .explore-layout { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 20px !important; }
  body #ashram-life .mosaic {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    grid-auto-rows: minmax(125px,auto);
    grid-template-rows: none !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  body #ashram-life .mosaic-tile {
    grid-area: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 135px !important;
    min-height: 0 !important;
    max-height: 150px !important;
    overflow: hidden !important;
  }
  body #ashram-life .mosaic-tile img { width: 100%; height: 100%; object-fit: cover; }
  body #ashram-life .story-panel { width: 100% !important; min-width: 0 !important; height: auto !important; max-height: none !important; overflow: visible !important; }

  /* Sections 08–10 — original cards, participation choices, map and invitation. */
  body #news .bss-news-grid,
  body #involved .involved-grid.bss-participation-grid,
  body #visit > .section-shell.bss-visit-layout {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 20px !important;
    height: auto !important;
  }
  body #news .bss-news-card,
  body #involved .bss-participation-card { min-width: 0 !important; height: auto !important; min-height: 0 !important; max-height: none !important; }
  body #news .bss-news-card img { width: 100%; object-fit: cover; }
  body #involved .bss-participation-card { padding: 23px 20px !important; }
  body #visit .bss-visit-copy { min-width: 0 !important; max-width: 100% !important; }
  body #visit .bss-wp-map-slot { width: 100% !important; max-width: 100% !important; min-height: 290px !important; height: auto !important; }
  body #visit .bss-wp-map-slot iframe { display: block; width: 100%; min-height: 290px; }
  body #footer .bss-footer-columns { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 26px; }
}

@media (max-width: 360px) {
  :root { --bss-mobile-nav-h: 66px; }
  body .site-nav .brand-mark, body .site-nav.is-visible .brand-mark { flex-basis: 40px !important; width: 40px !important; height: 40px !important; }
  body .site-nav .brand-identity b { font-size: 14px !important; }
  body .hero-final .hero-copy { padding: 20px 17px 16px !important; }
  body .hero-final .hero-dots button { flex-basis: 23px !important; width: 23px !important; min-width: 23px !important; }
  body .cards > .story-card > .section-shell { padding-left: 17px !important; padding-right: 17px !important; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  body .hero-final .hero-slide *, body .story-card * { animation: none !important; scroll-behavior: auto !important; }
}

/* Stronger than V9's `.hero.hero-final {height:900svh!important}`.
 * Without this correction phones still get an eight-screen empty scroll gap. */
@media (max-width: 767px) {
  body #hero.hero.hero-final { height: auto !important; min-height: 0 !important; max-height: none !important; }
}

/* Final source-level corrections: the approved Ashram deck uses absolutely
   positioned photographs; it needs a real mobile-height canvas. The Explore
   section's historic mobile order/first-tile spans must not override source order. */
@media (max-width: 767px) {
  body #gurugram .ashram-visual {
    position: relative !important;
    width: 100% !important;
    height: clamp(325px,108vw,470px) !important;
    min-height: 325px !important;
    max-height: 470px !important;
    overflow: visible !important;
  }
  body #gurugram .ashram-visual .photo-deck {
    position: relative !important;
    height: 100% !important;
    min-height: 325px !important;
    width: min(100%,400px) !important;
    margin: 0 auto !important;
  }
  body #gurugram .ashram-visual .deck-card { max-width: 72% !important; }
  body #ashram-life .explore-layout { display: grid !important; grid-template-columns: minmax(0,1fr) !important; }
  body #ashram-life .explore-layout > .mosaic {
    order: 0 !important;
    grid-row: 1 !important;
    grid-column: 1 !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    grid-auto-rows: 138px !important;
    height: auto !important;
    min-height: 0 !important;
  }
  body #ashram-life .explore-layout > .story-panel {
    order: 1 !important;
    grid-row: 2 !important;
    grid-column: 1 !important;
  }
  body #ashram-life .mosaic .mosaic-tile,
  body #ashram-life .mosaic .mosaic-tile:first-child {
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    height: 138px !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* A small audio button follows the carousel controls in normal flow, so it
   cannot cover the Ashram heading (which precedes its aerial photograph). */
@media (max-width: 767px) {
  body .hero-final .hero-sound-control {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 15px 10px auto !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    background: rgba(255,242,216,.14) !important;
    border: 1px solid rgba(255,226,185,.55) !important;
  }
  body #ashram-life .mosaic .mosaic-tile:first-child {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
    height: 284px !important;
    max-height: none !important;
  }
}
@media (min-width: 600px) and (max-width: 767px) {
  body #activities .activity-grid.activities-visual-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

/* Mobile header sound control — SAME button and existing soundtrack.
 * The JavaScript moves it back into the hero on desktop/orientation change.
 * Keep the original fonts and saffron/brown palette. */
@media (max-width: 767px) {
  body .site-nav .brand,
  body .site-nav.is-visible .brand,
  body .site-nav:not(.is-visible) .brand {
    max-width: calc(100% - 94px) !important;
  }
  body .site-nav > .hero-sound-control {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 1 !important;
    flex: 0 0 42px !important;
    box-sizing: border-box !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 2px 0 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    background: rgba(255, 248, 231, .20) !important;
    color: #432619 !important;
    border: 1px solid rgba(67,38,25,.24) !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    cursor: pointer;
    touch-action: manipulation;
  }
  body .site-nav > .hero-sound-control:focus-visible {
    outline: 2px solid #633521 !important;
    outline-offset: 2px;
  }
  body .site-nav > .hero-sound-control[data-playing="true"] {
    background: rgba(255,245,222,.45) !important;
  }
  body .site-nav > .hero-sound-control .sound-icon,
  body .site-nav > .hero-sound-control .sound-icon svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    line-height: 1 !important;
  }
  body .site-nav > .hero-sound-control[data-playing="true"] .sound-muted { display: none !important; }
  body .site-nav > .hero-sound-control:not([data-playing="true"]) .sound-waves { display: none !important; }
  body .site-nav > .hero-sound-control .sound-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    clip-path: inset(50%) !important;
  }
  /* The footer illustration must not extend the page beyond its colored
     background. Previous mobile override accidentally exposed overflow. */
  body #cards > #footer.story-card {
    overflow: hidden !important;
  }
}
@media (max-width: 360px) {
  body .site-nav > .hero-sound-control {
    flex-basis: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
}


/* Mobile hero slides 3, 6 & 7 — pair the existing CTA and Gallery CTA.
   On very narrow devices only, stack them to preserve readability. */
@media (max-width: 767px) {
  body .hero-final .hero-copy .bss-hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body .hero-final .hero-copy .bss-hero-actions a.hero-cta {
    display: inline-flex !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    padding: 9px 7px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
  }
  body .hero-final .hero-copy .bss-hero-actions a.bss-hero-gallery-link {
    background: linear-gradient(180deg,#913f32,#6e291f) !important;
    color: #fffaf2 !important;
    border: 1px solid rgba(255,218,187,.85) !important;
    animation: none !important;
  }
}
@media (max-width: 359px) {
  body .hero-final .hero-copy .bss-hero-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 225px !important;
  }
}

/* Mobile header — crisp branding without desktop text shadows */
@media (max-width: 767px) {
  body .site-nav:not(.is-visible) .brand-identity b,
  body .site-nav.is-visible .brand-identity b {
    color: #382316 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
  }

  body .site-nav:not(.is-visible) .brand-identity small,
  body .site-nav.is-visible .brand-identity small {
    color: #503322 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
  }
}


/* BSS Guru bottom frame — in-flow correction */
@media (max-width: 767px) {

  body .cards > #guru-maharaj
  > .section-shell.guru-layout::after {
    content: "✥" !important;
    display: block !important;
    order: 4 !important;
    flex: 0 0 30px !important;
    align-self: stretch !important;
    width: 100% !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 0 7px !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid #ad783f !important;
    color: #ad783f !important;
    font: 20px/22px Georgia, serif !important;
    text-align: center !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    z-index: 7 !important;
  }

  body .cards > #guru-maharaj .guru-ornamental-frame {
    border-bottom: 0 !important;
  }

  body .cards > #guru-maharaj .guru-frame-bottom {
    display: none !important;
  }
}
