/* v89 PREVIEW: tighter, even phone section rhythm (was 56/56 stacking to ~128px gaps) */
@media(max-width:767px){
.template-index #studios,.template-index #reviews,.template-index #homes,.template-index #journal,.template-index #science,.template-index .rp-quote,
.template-index .rp-section:has(>.rp-cats),.template-index .rp-section:has(.rp-feature),.template-index .rp-help-wrap{
 padding-top:40px!important;padding-bottom:40px!important}
}

/* v89 PREVIEW: phone rails -> 2-col compact card grids (Om: old-site style "ye ese 4 ka grp kiya kar") */
@media(max-width:767px){

/* trusted-by clients: 2-col x 3 rows */
body .rp-quote .rp-clients.rp-mobile-rail{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-columns:none!important;gap:10px!important;overflow:visible!important;scroll-snap-type:none!important;margin-right:0!important;padding:4px 0 0!important;max-width:100%!important}
body .rp-quote .rp-client{scroll-snap-align:none!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important}
body .rp-quote .rp-client-img{height:84px!important;aspect-ratio:auto!important}
body .rp-quote .rp-client-body{padding:9px 10px 11px!important;min-height:0!important}
body .rp-quote .rp-client-body b{font-size:11.5px!important;line-height:1.25!important;display:block!important}
body .rp-quote .rp-client-body span{font-size:9.5px!important;line-height:1.3!important;display:block!important}

/* home categories: 2-col, third tile full width */
body.template-index .rp-cats.rp-mobile-rail{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-columns:none!important;gap:10px!important;overflow:visible!important;scroll-snap-type:none!important;margin-right:0!important;padding:4px 0 0!important;max-width:100%!important}
body.template-index .rp-cats .rp-cat{width:auto!important;min-width:0!important;max-width:none!important;height:120px!important;min-height:0!important;border-radius:16px!important;scroll-snap-align:none!important}
body.template-index .rp-cats .rp-cat--3{grid-column:1/span 2!important;justify-self:stretch!important;width:auto!important;height:110px!important}
body.template-index .rp-cats .rp-cat h3{font-size:14px!important}
body.template-index .rp-cats .rp-cat p{display:none!important}

/* real installs: 2-col x 3 rows */
body.template-index #homes .rp-glass-grid{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-columns:none!important;gap:10px!important;overflow:visible!important;scroll-snap-type:none!important;margin-right:0!important;padding:4px 0 0!important;max-width:100%!important}
body.template-index #homes .rp-glass-card{height:auto!important;min-height:0!important;aspect-ratio:auto!important;scroll-snap-align:none!important;width:auto!important;min-width:0!important;max-width:none!important}
body.template-index #homes .rp-glass-card>img{aspect-ratio:1/1!important;height:auto!important;width:100%!important;object-fit:cover!important}
body.template-index #homes .rp-glass-bar{position:absolute!important;top:auto!important;left:8px!important;right:8px!important;bottom:8px!important;padding:6px 8px 6px 12px!important;border-radius:999px!important;background:rgba(16,18,22,.6)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}
body.template-index #homes .rp-glass-bar span{font-size:9px!important;line-height:1.25!important;color:#fff!important}
body.template-index #homes .rp-glass-plus{display:none!important}

/* journal: compact stacked rows (matches old-site article list; long titles) */
body.template-index #journal .rp-journal{display:block!important;overflow:visible!important;scroll-snap-type:none!important;margin-right:0!important;padding:4px 0 0!important;max-width:100%!important}
body.template-index #journal .rp-article{display:grid!important;grid-template-columns:124px minmax(0,1fr)!important;column-gap:14px!important;align-items:center!important;scroll-snap-align:none!important;width:auto!important;max-width:none!important;margin:0 0 12px!important}
body.template-index #journal .rp-article-img{height:100px!important;aspect-ratio:auto!important}
body.template-index #journal .rp-article-body{padding:0!important}
body.template-index #journal .rp-article-tag{font-size:9px!important}
body.template-index #journal .rp-article h3{font-size:13px!important;line-height:1.35!important;margin:4px 0 0!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body.template-index #journal .rp-article-body p,.template-index #journal .rp-article-cta{display:none!important}


/* studios "where to find us": 2-col compact grid (old-site skeleton, keeps photos) */
body.template-index #studios .rp-studio-grid{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-columns:none!important;gap:10px!important;overflow:visible!important;scroll-snap-type:none!important;margin-right:0!important;padding:4px 0 0!important;max-width:100%!important}
body.template-index #studios .rp-studio{scroll-snap-align:none!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important}
body.template-index #studios .rp-studio-photo{height:92px!important;width:100%!important;object-fit:cover!important}
body.template-index #studios .rp-studio-body{padding:10px 12px 12px!important;min-height:0!important}
body.template-index #studios .rp-studio-body h4{font-size:13px!important;margin:0 0 3px!important}
body.template-index #studios .rp-studio-body p{font-size:9.5px!important;line-height:1.35!important;margin:0 0 6px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body.template-index #studios .rp-open{font-size:8.5px!important;line-height:1.4!important}

/* collection "shop by type" builds: 2x2, photo top + flat solid text panel below (no overlay on photo) */
body.template-collection .rp-cats.rp-mobile-rail{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-columns:none!important;gap:12px!important;overflow:visible!important;scroll-snap-type:none!important;margin-right:0!important;padding:4px 0 0!important;max-width:100%!important}
body.template-collection .rp-cats .rp-cat{width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;padding:0!important;justify-content:flex-start!important;align-items:stretch!important;border-radius:16px!important;background:#17232b!important;aspect-ratio:auto!important;scroll-snap-align:none!important}
body.template-collection .rp-cats .rp-cat>img{position:relative!important;inset:auto!important;height:150px!important;width:100%!important;object-fit:cover!important;display:block!important}
body.template-collection .rp-cats .rp-cat>div{position:static!important;inset:auto!important;padding:12px 14px 14px!important;background:none!important;border-radius:0!important;width:auto!important;text-align:left!important}
body.template-collection .rp-cats .rp-cat>div h3{font-size:16px!important;margin:0 0 4px!important}
body.template-collection .rp-cats .rp-cat>div p{font-size:12px!important;line-height:1.45!important;max-width:none!important;margin-bottom:0!important}
body.template-collection .rp-cats:has(.rp-cat--4) .rp-cat-tag{position:absolute!important;top:10px!important;left:10px!important;right:auto!important;bottom:auto!important;margin:0!important;padding:6px 10px!important;font-size:9px!important;background:#263b47!important;border:none!important;z-index:3!important}
body.template-collection .rp-cats .rp-cat::before{left:auto!important;right:12px!important;top:12px!important}
}

/* v89 PREVIEW: outlet map locations in footer (real addresses from riseandplunge.com) */
.rp-foot-maps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:26px 0 6px}
.rp-foot-map{background:#1b252c;border:1px solid rgba(255,255,255,.09);border-radius:14px;overflow:hidden}
.rp-foot-map iframe{display:block;width:100%;height:150px;border:0;filter:grayscale(.2)}
.rp-foot-map-body{padding:12px 14px 13px;display:flex;flex-direction:column;gap:4px}
.rp-foot-map-body b{color:#f2f5f6;font-size:13px}
.rp-foot-map-body span{color:#9fb2bd;font-size:11px;line-height:1.45}
.rp-foot-map-body a{color:#aec6d2;font-size:11px;text-decoration:none}
.rp-foot-map-body a:hover{text-decoration:underline}
@media(max-width:1023px){.rp-foot-maps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.rp-foot-maps{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:20px}.rp-foot-map iframe{height:140px}}

/* v89.1 seam fix (Om 23 Nov): science flat #dfe5e9 made a hard edge under journal; match shared light-section bg */
.template-index #science{background:radial-gradient(ellipse 105% 50% at 12% 50%,#dce2e6,transparent 100%),radial-gradient(ellipse 95% 48% at 94% 52%,#e0e5e9,transparent 100%),var(--rp-light-edge)!important}

/* v90 PREVIEW: footer outlets -> plain clickable cards (Om: "ye mat dal just clickable links dal"), no embeds */
.rp-foot-map{padding:2px 0}
.rp-foot-map-body{padding:12px 14px 13px}
.rp-foot-map-body span:last-child a[href*="google.com/maps"]{display:inline-block;margin-top:2px;padding:4px 10px;border:1px solid rgba(255,255,255,.22);border-radius:999px;color:#dfe9ee}

/* v90 PREVIEW: outlets as own compact bottom section (Om: "chota kar, spacing og hi, niche 1 section") */
.rp-foot-outlets{border-top:1px solid rgba(255,255,255,.08);margin-top:22px;padding-top:14px}
.rp-foot-outlets-head{color:#8fa3ae;font-size:10px;letter-spacing:.16em;text-transform:uppercase;margin-bottom:10px}
.rp-foot-maps{margin:0!important;gap:10px!important}
.rp-foot-map{padding:0!important}
.rp-foot-map-body{padding:9px 12px 10px!important;gap:2px!important}
.rp-foot-map-body b{font-size:12px!important}
.rp-foot-map-body span{font-size:10px!important;line-height:1.4!important}
.rp-foot-map-body span:last-child a[href*="google.com/maps"]{padding:2px 8px!important;font-size:10px!important;margin-top:1px!important}
@media(max-width:767px){
.rp-foot-outlets{margin-top:18px;padding-top:12px}
.rp-foot-maps{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:0!important}
.rp-foot-map-body{padding:8px 10px 9px!important}
.rp-foot-map-body b{font-size:11px!important}
.rp-foot-map-body span{font-size:9px!important}
.rp-foot-map-body a{font-size:9px!important}
}

/* v90 PREVIEW: desktop footer - outlets fill the dead space next to Support column (Om: "idhar mostly") */
@media(min-width:768px){
.rp-foot-top .rp-foot-col:nth-child(4){grid-row:1/span 2}
.rp-foot-top .rp-foot-outlets{grid-column:1/span 3;grid-row:2;align-self:end;border-top:0!important;margin-top:0!important;padding-top:0!important}
.rp-foot-top{row-gap:30px!important}
}
@media(max-width:767px){
.rp-foot-top .rp-foot-outlets{grid-column:1/-1}
}

/* v90 PREVIEW: range grid alignment (Om: "not in proper alignment") - tiles fill cells (equal gutters, flush edges), label left-aligned with number */
body.template-index .rp-cats .rp-cat{width:100%!important}
body.template-index .rp-cats .rp-cat h3{margin-left:0!important;padding-left:0!important;text-align:left!important}
body.template-index .rp-cats .rp-cat>div{padding-left:0!important}




/* v95 PREVIEW: which setup is right for you (real prices) */
.rp-pick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rp-pick{background:#fff;border:1px solid #e2e9ec;border-radius:16px;padding:20px 20px 18px;display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit}
.rp-pick b{font-size:16px;letter-spacing:-0.01em}
.rp-pick .rp-pick-price{font-size:14px;font-weight:700;color:#3d5a6a}
.rp-pick p{margin:0;font-size:12.5px;line-height:1.5;color:#5a6b75}
.rp-pick .rp-pick-cta{margin-top:auto;padding-top:8px;font-size:12px;font-weight:700;color:#3d5a6a}
@media(max-width:767px){
.rp-pick-grid{grid-template-columns:minmax(0,1fr);gap:10px}
.rp-pick{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:10px;padding:14px 16px}
.rp-pick b{font-size:14px}
.rp-pick p{flex-basis:100%;font-size:11.5px}
.rp-pick .rp-pick-cta{padding-top:2px}
}

/* v95 PREVIEW: order-to-first-plunge steps */
.rp-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;counter-reset:step}
.rp-step{background:#fff;border:1px solid #e2e9ec;border-radius:14px;padding:16px 16px 14px;counter-increment:step}
.rp-step::before{content:counter(step);display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;background:#6E93A6;color:#fff;font-size:13px;font-weight:700;margin-bottom:10px}
.rp-step b{display:block;font-size:13.5px;margin-bottom:4px}
.rp-step span{font-size:11.5px;line-height:1.45;color:#5a6b75}
@media(max-width:767px){.rp-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rp-step{padding:12px 12px 10px}}


/* v95 PREVIEW: book your session band (old-site CTA) */
.rp-bookband{background:#17232b;border-radius:0;text-align:center}
.rp-bookband .rp-eyebrow{color:rgba(255,255,255,.5)}
.rp-bookband h2{color:#fff;margin:10px 0 18px}

/* v96 PREVIEW: studios BOOK A SESSION -> flat dark grey primary (Om 23 Nov) */
#studios .rp-btn-dark, .template-index #studios .rp-btn-dark{background:#2e3944!important;color:#f2f5f6!important;border:1px solid #2e3944!important;box-shadow:0 6px 16px rgba(20,30,40,.18)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#studios .rp-btn-dark:hover{background:#3a4754!important}

/* v96 PREVIEW: home red light tile taller + tighter gap below range grid (Om 23 Nov) */
@media(max-width:767px){
body.template-index .rp-cats .rp-cat--3{height:150px!important}
.template-index .rp-section:has(>.rp-cats){padding-bottom:24px!important}
}

/* v96 PREVIEW: seamless dark run trust-bar -> book band -> footer (Om 23 Nov: gradient blend) */
.rp-bookband{background:linear-gradient(180deg,#171c21 0%,#14181c 100%)!important}
.rp-footer{border-top:none!important;box-shadow:none!important}

/* v96: soft shadow on white pick/step cards, desktop only (Om 23-Nov) */
@media (min-width:768px){
.rp-pick,.rp-step{box-shadow:0 10px 30px rgba(16,28,36,.08),0 2px 8px rgba(16,28,36,.05)}
}
/* v96: native-feel rails on phone (no snap stickiness) */
@media (max-width:760px){
.rp-mobile-rail{scroll-snap-type:none!important}
}

/* v91: journal row text rhythm (Om: "text spacing sucks") */
body.template-index #journal .rp-article-body{padding:16px 18px 16px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:0!important}
body.template-index #journal .rp-article-tag{display:block!important;margin:0 0 5px!important;line-height:1!important}
body.template-index #journal .rp-article h3{margin:0!important;line-height:1.3!important}

/* v94 PREVIEW: product "Also consider" + science "three modalities" rails -> 2-col compact grids (Om 23 Nov: "ha dalna") */
@media(max-width:767px){
body .rp-product-grid.rp-mobile-rail{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-columns:none!important;gap:10px!important;overflow:visible!important;scroll-snap-type:none!important;margin-right:0!important;padding:4px 0 0!important;max-width:100%!important}
body .rp-product-grid.rp-mobile-rail>.rp-card{scroll-snap-align:none!important;width:auto!important;min-width:0!important;max-width:none!important}
body .rp-product-grid.rp-mobile-rail .rp-card-media{height:120px!important;aspect-ratio:auto!important}
body .rp-product-grid.rp-mobile-rail .rp-card-body{padding:12px 10px!important}
body .rp-product-grid.rp-mobile-rail .rp-card-titlerow{min-height:0!important;margin-bottom:8px!important;padding-bottom:8px!important}
body .rp-product-grid.rp-mobile-rail .rp-card h3{font-size:13px!important}
body .rp-product-grid.rp-mobile-rail>.rp-card:nth-child(3):last-child{grid-column:1/span 2}

body .rp-cats--science.rp-mobile-rail{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-columns:none!important;gap:10px!important;overflow:visible!important;scroll-snap-type:none!important;margin-right:0!important;padding:4px 0 0!important;max-width:100%!important}
body .rp-cats--science.rp-mobile-rail>.rp-cat-banded{scroll-snap-align:none!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important}
body .rp-cats--science .rp-cat-banded-media{height:110px!important}
body .rp-cats--science .rp-cat-banded-body{padding:10px 12px 12px!important}
body .rp-cats--science .rp-cat-banded-body h3{font-size:14px!important}
body .rp-cats--science .rp-cat-banded-body p{font-size:10px!important;line-height:1.4!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body .rp-cats--science.rp-mobile-rail>.rp-cat-banded:nth-child(3):last-child{grid-column:1/span 2}
}

/* v96: blend footer top with dark sections (Om: "ye sab" site-wide) */
.rp-footer{background:linear-gradient(180deg,#171c21 0%,#14181c 22%)!important}

/* v96: compare lineup as stacked cards on phone */
@media(max-width:767px){
.rp-cmp-wrap{overflow-x:visible!important;border:0!important;border-radius:0!important}
.rp-cmp{min-width:0!important;width:100%!important;border-collapse:collapse}
.rp-cmp thead{display:none!important}
.rp-cmp,.rp-cmp tbody,.rp-cmp tr,.rp-cmp td{display:block!important;width:100%!important;box-sizing:border-box}
.rp-cmp tbody tr{border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin-bottom:12px;background:#fff}
.rp-cmp td.rp-cmp-skip{display:none!important}
.rp-cmp td{border:0!important;padding:2px 0!important;font-size:13.5px!important}
.rp-cmp td[data-label]::before{content:attr(data-label);display:block;margin-top:8px;font-family:var(--display);font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--slate)}
.rp-cmp td[data-label]{margin-bottom:2px}
.rp-cmp-name{font-weight:700;font-size:15px!important}
.rp-cmp td:first-child{margin-bottom:4px}
.rp-cmp-cta{display:inline-block!important;margin-top:10px;font-size:12px;font-weight:700;color:#3d5a6a}
}

/* === Bug fix (Om: "nichese curve!" + white notch crop): science modality cards ===
   Card had 3px radius + hairline border while media had 16px top radius -> white wedge
   of card bg showed at top corners, square bottom corners, odd border on cold card. */
.rp-cat-banded--science{border-radius:16px!important;border:none!important;overflow:hidden!important}
.rp-cat-banded--science .rp-cat-banded-media{border-radius:0!important}

/* === Bug fix (Om: "ye alignment placing sahi kar" - two-ways header) ===
   Intro paragraph floated at far top-right of a 2-col grid. Stack it under the
   heading on the shared left edge. Only two-ways used the side-paragraph pattern. */
.rp-two-ways-light .rp-sec-head{grid-template-areas:'eyebrow eyebrow' 'title title' 'intro intro'!important}
.rp-two-ways-light .rp-sec-head>p{align-self:start!important;max-width:52ch!important;width:auto!important;margin:14px 0 0!important}

/* === Bug fix: phone tap targets in footer outlet cards + designer credit (were ~11-12px tall) === */
.rp-foot-map-body span a{display:inline-block;padding:8px 0;margin:-3px 0}
.rp-credit a{display:inline-block;padding:8px 0;margin:-3px 0}
@media(max-width:767px){.rp-glass-plus{width:34px!important;height:34px!important;line-height:34px!important}}

/* v97.2+v98 LIVE (Om: "live krde"): compact equal-size outlet cards on phone.
   Tight 4/8/12 rhythm, no dead gaps, full untruncated address, side-by-side actions;
   every rail card identical width AND height, buttons pinned to the same y. */
@media(max-width:767px){
.rp-outlet-grid{align-items:stretch!important}
.rp-outlet-card{display:flex!important;flex-direction:column!important}
.rp-outlet-card{border-radius:16px!important;padding:10px 10px 12px!important}
.rp-outlet-card-in{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
.rp-mobile-rail .rp-outlet-card-media{height:150px!important;border-radius:12px!important;aspect-ratio:auto!important}
.rp-outlet-card .rp-glass-bar{padding:5px 6px 5px 12px!important;font-size:11px!important;top:10px!important;right:10px!important;left:auto!important}
.rp-outlet-card .rp-glass-plus{width:28px!important;height:28px!important}
.rp-outlet-card-in{padding:12px 6px 0!important}
.rp-outlet-card-body .rp-eyebrow{font-size:10px!important;margin:0!important}
.rp-outlet-card-body h3{font-size:20px!important;margin:3px 0 0!important;line-height:1.1!important}
.rp-outlet-tagline{font-size:12px!important;line-height:1.45!important;margin:6px 0 0!important}
.rp-outlet-meta{margin-top:12px!important;border-top:1px solid rgba(255,255,255,.09)!important}
.rp-outlet-meta-row{display:grid!important;grid-template-columns:62px 1fr!important;gap:10px!important;padding:8px 0!important;align-items:start!important}
.rp-outlet-meta-row b{font-size:9.5px!important;letter-spacing:.12em!important;color:rgba(255,255,255,.42)!important;padding-top:2px!important;min-width:0!important}
.rp-outlet-meta-row span{font-size:12px!important;line-height:1.45!important;display:block!important;-webkit-line-clamp:none!important;overflow:visible!important}
.rp-outlet-card-actions{display:flex!important;flex-direction:row!important;gap:8px!important;margin-top:auto!important;padding:14px 6px 0!important}
.rp-outlet-card-actions .rp-btn{flex:1 1 0!important;min-width:0!important;padding:12px 6px!important;font-size:10.5px!important;letter-spacing:.08em!important;text-align:center!important;justify-content:center!important;min-height:42px!important;display:inline-flex!important;align-items:center!important}
}
