/* ==========================================================================
   Design review changes (27 Nov 2026): photo-led, warmer, shorter.
   Loaded last on every page, so these rules refine the earlier files.
   ========================================================================== */

/* 1. Clean edges: the blurred navy-to-light divider bands are gone */
.depth-edge,.dawn{display:none!important}

/* 2. The slow-scroll scenes on home are about half as long */
.fx .mv-track{height:220svh}
.fx #m4{height:200svh}

/* 3. Page heroes lead with a real photo */
.phero-media:has(.is-placeholder){display:none!important}
.phero.has-photo{min-height:min(78svh,46rem)}
.phero.has-photo .phero-media{width:min(60vw,58rem)}
.phero.has-photo .phero-media img{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 34%);mask-image:linear-gradient(to right,transparent 0,#000 34%)}
.phero .lede.ref{font-size:clamp(1.25rem,1rem + 1vw,1.6rem);line-height:1.3}
@media (max-width:899px){
  .phero.has-photo{min-height:0;align-items:start;grid-template-rows:auto auto}
  .phero.has-photo .phero-media{display:block;position:relative;inset:auto;width:100%;height:min(56svh,30rem)}
  .phero.has-photo .phero-media img{-webkit-mask-image:linear-gradient(to bottom,#000 55%,transparent 100%);mask-image:linear-gradient(to bottom,#000 55%,transparent 100%)}
  .phero.has-photo .phero-media .media{--shade:linear-gradient(0deg,var(--cosmic),rgba(7,30,52,0) 45%),linear-gradient(180deg,rgba(7,30,52,.55),rgba(7,30,52,0) 30%)}
  .phero.has-photo .phero-inner{padding-block:0 clamp(2.5rem,7vh,4rem);margin-top:-4.5rem}
  .phero:not(.has-photo) .phero-inner{padding-top:calc(var(--hdr-h) + 2rem)}
}

/* 4. One shared photo look: slightly calmer colour, same contrast everywhere */
.media img{filter:saturate(.94) contrast(1.02)}

/* 5. Header: larger logo, readable utility links on light sections */
.brand img{height:calc(var(--hdr-h) - .45rem)}
.nav-util a{opacity:1!important;font-weight:500}
.site-header.is-light .nav-util a{color:var(--ink)}

/* 6. Readable body text */
.on-ivory,.on-white{--fg-2:#2E4356}
@media (max-width:600px){body{font-size:1.0625rem}}

/* 7. Home: three dimensions on one line, the question block compact */
@media (min-width:900px){#m5 .dim:nth-child(2),#m5 .dim:nth-child(3){margin-top:0}}
#m2{min-height:auto;padding-block:clamp(4rem,10vh,7rem)}
.vision-cta{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.5rem;margin-top:var(--sp-7)}
.vision-cta span{font-size:var(--t-h3);font-weight:600;color:#fff}

/* 8. 360° day cards: Day 7 as the finale; swipeable on phones */
@media (min-width:760px){.days .day:nth-child(7){grid-column:1/-1;border-top-width:5px;background:linear-gradient(135deg,#fff 60%,rgba(247,192,52,.18))}}
@media (max-width:759px){
  .days{grid-auto-flow:column;grid-auto-columns:86%;overflow-x:auto;scroll-snap-type:x mandatory;gap:var(--sp-4);padding:0 var(--gutter) var(--sp-4);margin-inline:calc(var(--gutter) * -1);-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .days::-webkit-scrollbar{display:none}
  .day{scroll-snap-align:center}
}

/* 9. Footer: two columns on phones, so it is half as long */
@media (max-width:719px){
  .f-grid{grid-template-columns:1fr 1fr;column-gap:var(--sp-5);row-gap:var(--sp-6)}
  .f-grid > :first-child,.f-grid > :last-child{grid-column:1/-1}
  .f-grid a{min-height:2.5rem}
}

/* 10. FAQ */
.faq-list{display:grid;gap:0;border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.1rem 0;font-size:var(--t-h3);font-weight:600;line-height:1.3}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";flex:none;font-size:1.6rem;font-weight:400;color:var(--accent);transition:transform .25s}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{margin:0 0 1.25rem;max-width:40rem;color:var(--fg-2)}

/* 11. Video places */
.vmedia{position:relative;margin:0 0 var(--sp-7);border-radius:14px;overflow:hidden;background:#000;aspect-ratio:16/9}
.vmedia.r-4x5{aspect-ratio:4/5}
.vmedia.is-empty{display:none}
.vmedia video{display:block;width:100%;height:100%;object-fit:cover}
.vmedia figcaption{position:absolute;left:1rem;bottom:1rem;max-width:70%;color:#fff;font-size:.9rem;text-shadow:0 1px 8px rgba(0,0,0,.6)}
.vsound{position:absolute;right:1rem;bottom:1rem;z-index:2;min-height:2.75rem;padding:.5rem 1rem;border:1px solid rgba(255,255,255,.6);border-radius:999px;background:rgba(7,30,52,.55);color:#fff;font:600 .85rem var(--font,system-ui);cursor:pointer;backdrop-filter:blur(6px)}
.vsound:hover{background:rgba(7,30,52,.8)}
/* hero photo blends into the navy on the left with no visible edge */
.phero.has-photo .phero-media::after{background:linear-gradient(90deg,var(--cosmic) 0%,rgba(7,30,52,.55) 22%,rgba(7,30,52,0) 48%),linear-gradient(0deg,rgba(7,30,52,.75) 0%,rgba(7,30,52,0) 35%)}
.phero.has-photo{background:var(--cosmic)}
@media (max-width:899px){.phero.has-photo .phero-media::after{background:linear-gradient(0deg,var(--cosmic) 0%,rgba(7,30,52,0) 45%)}}
@media (max-width:719px){.site-footer{padding-top:var(--sp-7)}}
#m6::before,#m9::before,#m11::before{display:none!important}
/* hero photo always fills its box exactly, so the focus point decides the crop */
.phero-media .media{aspect-ratio:auto!important;height:100%}
.phero-media .media img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}

/* ==========================================================================
   Phone-first pass (27 Nov 2026)
   ========================================================================== */

/* A. Home hero on phones: one immersive, full-screen photo with the words on top */
@media (max-width:899px){
  #m1{min-height:100svh}
  #m1 .hero-photo{inset:0!important;height:auto!important;width:100%!important;left:0!important}
  #m1 .hero-photo img{object-position:58% 18%!important;-webkit-mask-image:none!important;mask-image:none!important}
  #m1 .hero-shade{background:linear-gradient(to top,rgba(7,30,52,.98) 8%,rgba(7,30,52,.82) 34%,rgba(7,30,52,.18) 62%,rgba(7,30,52,.35) 100%)!important}
  #m1 .hero-inner{padding-block:0 calc(2rem + env(safe-area-inset-bottom))}
  #m1 h1{font-size:clamp(2.5rem,11vw,3.4rem)}
  #m1 .hero-sub{margin-top:.75rem;font-size:1.2rem}
  #m1 .hero-actions{margin-top:1.25rem;gap:.75rem}
  #m1 .hero-actions .btn{flex:1 1 auto;justify-content:center}
  #m1 .hero-horizon{display:none}
}

/* B. Register bar: slim, glassy, steps aside while reading */
.sticky-cta{display:flex;align-items:center;justify-content:space-between;gap:.75rem;
  left:.75rem!important;right:.75rem!important;bottom:calc(.75rem + env(safe-area-inset-bottom));width:auto!important;translate:none!important;
  padding:.45rem .45rem .45rem 1.1rem!important;border-radius:999px;background:rgba(7,30,52,.86)!important;color:#fff;
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 12px 34px -10px rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.14);
  transform:translateY(calc(100% + 2rem))}
.sticky-cta.is-on{transform:none}
.sticky-cta .sc-text{font-size:.9rem;line-height:1.2;color:rgba(255,255,255,.86);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sticky-cta .sc-text strong{color:var(--gold)}
.sticky-cta .btn{width:auto!important;min-height:2.75rem!important;padding-inline:1.25rem;flex:none;box-shadow:none!important}
@media (min-width:600px){.sticky-cta{left:50%!important;right:auto!important;width:24rem!important;translate:-50% 0!important}}

/* C. Tighter rhythm on phones */
@media (max-width:719px){
  :root{--sec-y:4rem}
  #m5b .split{gap:1.25rem}
  .f-logo{width:6rem}
  .hgf{font-size:clamp(2.6rem,13vw,3.6rem)}
}

/* D. Swipe rows on phones: three dimensions, two practices */
@media (max-width:759px){
  #m5 .trio,#m7 .practices{display:grid;grid-auto-flow:column;grid-auto-columns:82%;grid-template-columns:none;gap:1rem;overflow-x:auto;
    scroll-snap-type:x mandatory;scroll-padding-inline:var(--gutter);margin-inline:calc(var(--gutter) * -1);padding:0 var(--gutter) .5rem;scrollbar-width:none}
  #m5 .trio::-webkit-scrollbar,#m7 .practices::-webkit-scrollbar{display:none}
  #m5 .dim,#m7 .practice{scroll-snap-align:start;margin-top:0!important}
  #m5 .dim .media{aspect-ratio:4/5}
  #m7 .practice .media{aspect-ratio:4/5!important}
}

/* E. Photo reel: "One morning. Seven moments." */
.reel-head{display:flex;justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:var(--sp-6)}
.reel-head .lead{margin-top:var(--sp-3);max-width:34rem}
.reel-nav{display:none;gap:.5rem}
@media (min-width:900px){.reel-nav{display:flex}}
.reel-btn{width:3rem;height:3rem;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--fg);font-size:1.2rem;cursor:pointer}
.reel-btn:hover{background:var(--ink);color:#fff}
.reel{list-style:none;margin:0;display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gutter);
  padding:0 var(--gutter) 1rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.reel{padding-inline:max(var(--gutter),calc((100vw - var(--max)) / 2 - 8px));scroll-padding-inline:max(var(--gutter),calc((100vw - var(--max)) / 2 - 8px))}
.reel::-webkit-scrollbar{display:none}
.reel-card{flex:0 0 min(78vw,22rem);scroll-snap-align:start;position:relative;border-radius:18px;overflow:hidden;background:var(--cosmic);color:#fff}
.reel-card .media{aspect-ratio:4/5;border-radius:0}
.reel-card .media::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(7,30,52,.92) 0%,rgba(7,30,52,.25) 45%,rgba(7,30,52,0) 70%);pointer-events:none;z-index:2}
.reel-cap{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:1.25rem;display:grid;gap:.25rem}
.reel-n{font-size:.75rem;letter-spacing:.14em;color:var(--gold);font-weight:700}
.reel-cap strong{font-size:1.6rem;line-height:1.1;letter-spacing:-.02em}
.reel-cap span:last-child{font-size:.95rem;line-height:1.4;color:rgba(255,255,255,.86)}

/* F. Timeline (founder page) */
.timeline{list-style:none;margin:var(--sp-7) 0 0;padding:0;position:relative;display:grid;gap:var(--sp-6)}
.timeline::before{content:"";position:absolute;left:.45rem;top:.5rem;bottom:.5rem;width:2px;background:linear-gradient(var(--gold),rgba(247,192,52,.15))}
.timeline li{position:relative;padding-left:2.25rem;display:grid;gap:.35rem}
.timeline li::before{content:"";position:absolute;left:0;top:.35rem;width:1rem;height:1rem;border-radius:50%;background:#fff;border:3px solid var(--gold)}
.tl-when{font-size:.8rem;font-weight:700;letter-spacing:.12em;color:#9A6B00}
.timeline h3{font-size:var(--t-h3);line-height:1.25;margin:0}
.timeline p{margin:.25rem 0 0;color:var(--fg-2);max-width:38rem}
@media (min-width:900px){
  .timeline{grid-template-columns:repeat(5,1fr);gap:1.5rem}
  .timeline::before{left:0;right:0;top:.45rem;bottom:auto;width:auto;height:2px;background:linear-gradient(90deg,var(--gold),rgba(247,192,52,.2))}
  .timeline li{padding:2rem 0 0}
  .timeline li::before{top:0}
}

/* G. "On this page" chips under long-page heroes; they stay reachable while scrolling */
.jump{position:sticky;top:var(--hdr-h);z-index:40;background:rgba(250,241,221,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(10,31,51,.08)}
.jump-row{display:flex;gap:.5rem;overflow-x:auto;padding-block:.65rem;scrollbar-width:none}
.jump-row::-webkit-scrollbar{display:none}
.jump a{flex:none;padding:.45rem .9rem;border-radius:999px;border:1px solid rgba(10,31,51,.18);color:var(--ink);text-decoration:none;font-size:.875rem;font-weight:500;white-space:nowrap}
.jump a:hover{background:var(--ink);color:#fff}
h2[id^="h-"]{scroll-margin-top:calc(var(--hdr-h) + 4.5rem)}

/* H. Every photo frame fills its box; the focus point decides the crop */
.media > img{width:100%;height:100%;object-fit:cover;display:block}
.reel-sec,.tl-sec{background:var(--bg);color:var(--fg)}
@media (min-width:1024px){.sticky-cta{display:none!important}}

/* I. "Try it now": one-minute guided breath (home) */
.breathe-sec{background:radial-gradient(120% 90% at 70% 50%,#134B6F 0%,var(--ocean-deep) 55%,var(--cosmic) 100%);color:#fff;overflow:hidden}
.breathe{display:grid;gap:var(--sp-7);align-items:center}
.br-kicker{color:var(--gold);font-weight:600;font-size:.95rem;margin:0 0 var(--sp-3)}
.breathe-copy .lead{color:var(--on-dark-2);max-width:32rem}
.breathe-note{font-size:var(--t-small);color:rgba(197,219,230,.8);margin-top:var(--sp-4)}
.breathe-stage{display:grid;justify-items:center;gap:var(--sp-5);text-align:center}
.breathe-orb{--s:.55;position:relative;width:min(78vw,22rem);aspect-ratio:1}
.breathe-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.br-track{fill:none;stroke:rgba(121,186,208,.22);stroke-width:2}
.br-prog{fill:none;stroke:var(--gold);stroke-width:3;stroke-linecap:round;stroke-dasharray:603.2;stroke-dashoffset:603.2;transition:stroke-dashoffset .3s linear}
.breathe-glow{position:absolute;inset:9%;border-radius:50%;background:radial-gradient(circle at 50% 45%,rgba(247,192,52,.92) 0%,rgba(214,150,30,.7) 34%,rgba(22,136,184,.35) 64%,rgba(22,136,184,0) 72%);transform:scale(var(--s));transition:transform 4s cubic-bezier(.45,.05,.35,1);filter:blur(1px)}
.breathe-orb.is-out .breathe-glow{transition-duration:6s}
.breathe-core{position:absolute;inset:0;display:grid;place-content:center;gap:.25rem;color:var(--cosmic)}
.br-word{font-family:var(--font-ref);font-size:clamp(1.6rem,1.2rem + 1.6vw,2.3rem);font-weight:500;color:#fff;text-shadow:0 1px 3px rgba(7,30,52,.7),0 0 18px rgba(7,30,52,.5);transition:opacity .5s}
.br-count{font-size:.95rem;font-weight:600;color:#fff;opacity:.85;min-height:1.4em;text-shadow:0 1px 8px rgba(7,30,52,.5)}
.breathe-ctl [hidden],.breathe-end[hidden]{display:none!important}
.breathe-ctl{display:flex;gap:var(--sp-3);justify-content:center;flex-wrap:wrap}
.breathe-end{max-width:26rem}
.breathe-end p{color:var(--on-dark-2);margin:0 0 var(--sp-3)}
.br-end-t{font-family:var(--font-ref);font-size:var(--t-ref-m);color:#fff!important}
.breathe-end-ctl{display:flex;gap:var(--sp-4);align-items:center;justify-content:center;flex-wrap:wrap;margin-top:var(--sp-4)!important}
@media (min-width:900px){.breathe{grid-template-columns:1fr 1fr}}
@media (prefers-reduced-motion:reduce){.breathe-glow{transition:none}}

/* J. Thought of the day (live from the My Inner Journey app) */
.wrap.narrow{max-width:46rem}
.thought-sec{background:radial-gradient(90% 70% at 20% 30%,#0E3354 0%,var(--cosmic) 70%);color:#fff}
.thought-sec[hidden]{display:none}
.thought-card{display:grid;border-radius:20px;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));border:1px solid rgba(247,192,52,.28);box-shadow:0 30px 80px -30px rgba(0,0,0,.6)}
.tc-photo{position:relative;margin:0;aspect-ratio:1200/769;background:#0B2A46}
.tc-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;display:block}
.tc-day{position:absolute;left:1rem;top:1rem;display:grid;justify-items:center;line-height:1;padding:.55rem .75rem;border-radius:12px;background:rgba(7,30,52,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff}
.tc-day small{font-size:.7rem;letter-spacing:.14em;color:var(--gold)}
.tc-day b{font-family:var(--font-ref);font-size:1.9rem;font-weight:500}
.tc-body{padding:clamp(1.5rem,1rem + 2.5vw,3rem);display:grid;gap:var(--sp-4);align-content:center}
.tc-label{margin:0;color:var(--gold);font-weight:600;font-size:.9rem}
.tc-title{margin:0;font-family:var(--font-ref);font-weight:500;font-size:clamp(1.8rem,1.2rem + 2.2vw,3rem);line-height:1.1;color:#FCE7B0}
.tc-text{margin:0;padding:0;border:0}
.tc-text p{margin:0;font-size:clamp(1.08rem,1rem + .45vw,1.3rem);line-height:1.6;color:#fff}
.tc-text p::before{content:"\201C";color:var(--gold);font-family:var(--font-ref);font-size:1.5em;line-height:0;margin-right:.1em;vertical-align:-.25em}
.tc-name{margin:0;display:flex;align-items:center;gap:.6rem;color:var(--gold);font-size:.95rem}
.tc-name::before{content:"";width:2rem;height:1px;background:var(--gold)}
.tc-actions{display:flex;gap:var(--sp-3);flex-wrap:wrap;margin-top:var(--sp-2)}
.tc-actions [hidden]{display:none!important}
.tc-app{margin:0;font-size:var(--t-small);color:var(--on-dark-2)}
.tc-app .tlink{margin-right:.5rem}
.thought-sec:lang(hi) .tc-text p,.thought-card[lang=hi] .tc-text p{font-family:"Noto Sans Devanagari",var(--font-body);line-height:1.75}
@media (min-width:900px){.thought-card{grid-template-columns:1.05fr 1fr}.tc-photo{aspect-ratio:auto;min-height:100%}}
@media (max-width:719px){.thought-sec{--sec-y:3rem}.thought-card{border-radius:16px}}

/* K. Full-bleed photo panels: the photo covers the whole panel on every screen (no dark gap under it) */
.hpanel .media,#m14 .vision .media,.phero-media .media{aspect-ratio:auto;height:100%}
.hpanel .media>img,#m14 .vision .media>img{height:100%}
#m14 .vision .shade{background:linear-gradient(180deg,rgba(7,30,52,.35) 0%,rgba(7,30,52,.62) 45%,rgba(7,30,52,.9) 100%)}
@media (max-width:719px){#m14 .vision{min-height:88svh;align-items:end}#m14 .vision .wrap{padding-block:6rem 7rem}}

/* L. Founders: two equal portraits, both names */
#m8 .m8-duo{display:grid;grid-template-columns:1fr 1fr;gap:clamp(.75rem,2vw,1.5rem);align-items:start}
#m8 .m8-person{margin:0}
#m8 .m8-person .media{aspect-ratio:4/5;border-radius:14px;overflow:hidden;box-shadow:0 18px 40px -22px rgba(10,31,51,.55)}
#m8 .m8-person:nth-child(2){margin-top:clamp(1.5rem,5vw,3.5rem)}
#m8 .m8-person figcaption{display:grid;gap:.15rem;margin-top:.75rem}
#m8 .m8-person figcaption strong{font-size:clamp(1rem,.9rem + .5vw,1.2rem);line-height:1.25;color:var(--ink)}
#m8 .m8-person figcaption span{font-size:.85rem;line-height:1.35;color:var(--ink-2)}
#m8 .m8-links{display:flex;flex-wrap:wrap;gap:.75rem 1.75rem}
/* The current home-founder photo is a wide stage shot: frame it closer so both portraits match. Applies to this photo file only. */
#m8 .m8-person img[src*="home-founder/1795716785672"]{transform:scale(1.55);transform-origin:52% 30%}
