/* Bhawani Estates | Media & menu presentation pass | 2026-11-24
   Keeps the existing brand, content, CMS markers and PHP admin backend intact.
   Principle: show complete source photographs and complete video frames, not a cropped zoom. */
:root{--media-v7-ink:#2d2226;--media-v7-frame:#e5ddd0;--media-v7-deep:#2d2529}
html,body{max-width:100%;overflow-x:clip}
main,main section,main article,main figure,main div{min-width:0}
img,video{max-width:100%}

/* 01 — Menu: legible at 1366px, 1024px and mobile; no oversized/clipped links. */
.site-menu{
  box-sizing:border-box;width:min(960px,100vw);height:100dvh;max-height:100dvh;
  padding:clamp(18px,2.8vw,37px);overflow-y:auto;overscroll-behavior:contain;
  background:#292124;color:#f3eee6;
}
.site-menu[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:clamp(8px,1.4vh,18px)}
.site-menu .menu-top{align-items:center;min-height:45px;gap:20px}
.site-menu .menu-top h2{font-family:var(--sans);font-weight:600;font-size:clamp(15px,1.2vw,19px);line-height:1.35;letter-spacing:0}
.site-menu .menu-top button{flex:none;min-width:89px;min-height:40px}
.site-menu .menu-center{
  display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  gap:clamp(22px,3vw,42px);align-items:center;min-height:0;max-height:none;
}
.site-menu .menu-image{
  position:relative;align-self:center;justify-self:center;
  height:clamp(200px,45svh,490px);width:100%;max-width:420px;aspect-ratio:auto;
  background:#342c2c;display:grid;place-items:center;overflow:hidden;border:1px solid #8c756b55;
}
.site-menu .menu-image img{
  position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;
  object-position:center;filter:none;transform:none!important;
}
.site-menu .menu-center nav{align-self:center;display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
.site-menu .menu-center nav a{
  font:400 clamp(25px,2.55vw,37px)/1.16 var(--serif);
  letter-spacing:-.035em;overflow-wrap:break-word;word-break:normal;
  padding:clamp(8px,1.1vh,13px) 0;min-height:0;white-space:normal;
  border-bottom:1px solid #bba89a48;transition:color .22s,padding-left .22s;
}
.site-menu .menu-center nav a:is(:hover,:focus-visible,[aria-current]){padding-left:8px;color:#f0cd88}
.site-menu .project-shortcuts{justify-content:flex-start;gap:8px 18px;padding:9px 0 2px;min-height:0}
.site-menu .project-shortcuts a{font-size:12px;text-underline-offset:4px;color:#e4d6c7}
.site-menu .motion-prefs{margin-top:2px;padding-top:12px;min-height:0}
.site-menu .motion-prefs label{flex-wrap:wrap;gap:8px;font-size:12px;color:#e6d9ce}
.site-menu .motion-prefs select{font-size:12px;max-width:100%}
@media(max-height:730px) and (min-width:761px){
 .site-menu[open]{gap:7px}
 .site-menu .menu-image{height:min(40svh,310px)}
 .site-menu .menu-center nav a{font-size:clamp(23px,2.2vw,31px);padding:6px 0}
 .site-menu .project-shortcuts{padding:4px 0}
 .site-menu .motion-prefs{padding-top:7px}
}
@media(max-width:760px){
 .site-menu{padding:clamp(18px,5vw,27px);width:100vw}
 .site-menu[open]{display:flex;flex-direction:column;gap:14px}
 .site-menu .menu-center{display:block;min-height:0;max-height:none;flex:1 0 auto}
 .site-menu .menu-image{display:none}
 .site-menu .menu-center nav a{font-size:clamp(24px,6.5vw,34px);padding:12px 0;line-height:1.13}
 .site-menu .project-shortcuts{justify-content:flex-start;flex-wrap:wrap}
 .site-menu .motion-prefs{margin-top:auto}
}
@media(max-width:390px){.site-menu .menu-center nav a{font-size:25px;padding:10px 0}.site-menu .menu-top h2{font-size:15px}}

/* 02 — Home: a premium two-column opening. Media and copy never cover one another. */
.page-index .cover{
 display:grid;grid-template-columns:minmax(0,44%) minmax(0,56%);
 position:relative;isolation:isolate;min-height:clamp(560px,72svh,780px);
 background:#2c2028;color:#fff;overflow:hidden;
}
.page-index .covermedia{
 position:relative;inset:auto;grid-column:2;grid-row:1;min-height:clamp(560px,72svh,780px);
 width:100%;height:auto;z-index:0;overflow:hidden;background:radial-gradient(ellipse at center,#746769 0,#30272c 74%);
}
.page-index .coverframe{position:absolute;inset:0;margin:0;display:grid;place-items:center;overflow:hidden}
.page-index .coverframe img{
 display:block;width:100%;height:100%;max-width:100%;max-height:100%;
 object-fit:contain!important;object-position:center!important;
 transform:none!important;animation:none!important;filter:none!important;
}
.page-index .covermedia .home-film{
 position:absolute;inset:0;width:100%;height:100%;object-fit:contain!important;
 object-position:center;transform:none!important;filter:none;
}
.page-index .coverveil{display:none}
.page-index .covercopy{
 grid-column:1;grid-row:1;position:relative;z-index:2;
 display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
 max-width:none;margin:0;width:100%;min-width:0;
 padding:clamp(35px,4.7vw,77px) clamp(23px,4.2vw,72px) 148px;
 background:#2c2028;
}
.page-index .herostory{width:100%;min-width:0}
.page-index .herostory h2{font-size:clamp(43px,5.2vw,79px);line-height:1.05;letter-spacing:-.056em;overflow-wrap:break-word}
.page-index .herostory em{display:block}
.page-index .herostory>p:not(.heroeyebrow){font-size:clamp(14px,1.16vw,17px);line-height:1.55;max-width:34ch}
.page-index .coverfoot{
 position:absolute;bottom:0;left:clamp(23px,4.2vw,72px);right:auto;
 width:calc(44% - clamp(46px,8.4vw,144px));min-width:0;max-width:42%;
 display:flex;align-items:flex-end;justify-content:space-between;gap:10px;flex-wrap:wrap;
 padding:12px 0 19px;z-index:5;border-top:1px solid #9a8a845c;
}
.page-index .scene-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px 14px;flex:1;max-width:none;min-width:0}
.page-index .scene-picks button{font-size:12px;min-height:30px;padding:5px 0;overflow-wrap:anywhere}
.page-index .coverpick{width:auto;min-width:0}
.page-index .covercontrols{display:flex;gap:2px}
.page-index .covercontrols button{width:32px;height:32px;min-width:32px;min-height:32px}
@media(max-width:980px) and (min-width:761px){
 .page-index .cover{grid-template-columns:minmax(0,45%) minmax(0,55%)}
 .page-index .covercopy{padding-bottom:155px}
 .page-index .coverfoot{width:calc(45% - 50px);max-width:none;left:25px}
 .page-index .coverfoot .scene-picks{flex-basis:100%}
 .page-index .herostory h2{font-size:clamp(42px,5.3vw,61px)}
}
@media(max-width:760px){
 .page-index .cover{display:flex;flex-direction:column;min-height:0!important}
 .page-index .covermedia{order:0;display:block;flex:none;height:clamp(250px,63vw,430px);min-height:0!important}
 .page-index .covercopy{order:1;display:block;padding:33px var(--pad) 130px;min-height:245px}
 .page-index .herostory h2{font-size:clamp(42px,9.8vw,68px)}
 .page-index .coverfoot{left:var(--pad);right:var(--pad);width:auto;max-width:none;bottom:0;gap:10px}
 .page-index .scene-picks{flex:1;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr))}
 .page-index .coverveil{display:none}
}

/* 03 — Project detail heroes: no text placed over building details and no forced zoom. */
.page-property .propertycover{
 position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 min-height:clamp(440px,44vw,650px);background:#392933;isolation:isolate;
}
.page-property .propertycover .propertyart,
.page-property .propertycover.artplate .propertyart,
.page-property .propertycover[data-kind] .propertyart{
 position:relative!important;inset:auto!important;left:auto!important;right:auto!important;
 grid-column:2;grid-row:1;z-index:0;
 display:grid;place-items:center;min-width:0;min-height:clamp(430px,44vw,650px);
 overflow:hidden;background:radial-gradient(ellipse at center,#78696b,#392d34 74%);
}
.page-property .propertycover .propertyart img,
.page-property .propertycover .propertyart img.architecture-original,
.page-property .propertycover .propertyart img.outline-layer{
 max-width:100%;height:100%;object-fit:contain!important;object-position:center!important;
 transform:none!important;animation:none!important;
}
.page-property .propertycover .propertyshade{display:none!important}
.page-property .propertycover .propertytext,
.page-property .propertycover.artplate .propertytext,
.page-property .propertycover[data-kind] .propertytext{
 grid-column:1;grid-row:1;z-index:2;margin:0!important;width:100%!important;
 align-self:center;padding:clamp(38px,5vw,80px) clamp(23px,4.4vw,74px)!important;
 background:#392933;isolation:isolate;
}
.page-property .propertycover .propertytext h1{max-width:100%;font-size:clamp(39px,5vw,75px);line-height:1.05}
.page-property .propertycover .propertytext .return{margin-bottom:clamp(16px,3.3vw,48px)}
.page-property .propertycover .propertytext>p:last-child{font-size:clamp(14px,1.45vw,18px);line-height:1.5}
.page-property .propertycover .inspect-art{bottom:17px;right:17px;font-size:12px}
.page-property .media-limited .propertyart img.architecture-original,
.page-property .media-limited .propertyart img.outline-layer{
 width:min(100%,var(--native-image-max));max-width:100%;margin:auto
}
@media(max-width:760px){
 .page-property .propertycover{display:flex;flex-direction:column;min-height:0!important}
 .page-property .propertycover .propertyart,
 .page-property .propertycover.artplate .propertyart,
 .page-property .propertycover[data-kind] .propertyart{
  order:0;flex:none;display:grid;width:100%;height:clamp(230px,64vw,420px);min-height:0!important;
 }
 .page-property .propertycover .propertytext,
 .page-property .propertycover.artplate .propertytext,
 .page-property .propertycover[data-kind] .propertytext{
  order:1;padding:25px var(--pad) 35px!important;min-height:0
 }
 .page-property .propertycover .propertytext h1{font-size:clamp(35px,9vw,57px);max-width:none}
 .page-property .propertycover .propertytext .return{margin:0 0 12px}
 .page-property .propertycover .inspect-art{top:8px;bottom:auto;right:10px;padding:7px 11px}
}

/* 04 — Other page openers: image/video in its own stage; text on solid background. */
.opening{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:clamp(410px,42vw,600px);background:#33262d}
.opening .openimage{position:relative;inset:auto;grid-column:2;grid-row:1;z-index:0;display:grid;place-items:center;overflow:hidden;min-height:clamp(410px,42vw,600px);background:radial-gradient(ellipse at center,#645657,#31262c 72%)}
.opening .openimage:after{display:none}
.opening .openimage img,.opening .openimage video{width:100%;height:100%;object-fit:contain!important;object-position:center;transform:none!important;animation:none!important}
.opening .opentext{grid-column:1;grid-row:1;align-self:center;z-index:1;padding:clamp(40px,5vw,80px) clamp(24px,5vw,85px)!important;width:100%;max-width:100%;min-width:0}
.opening .opentext h1{font-size:clamp(44px,5.2vw,77px);line-height:1.02}
.opening .ambientctl{z-index:3;right:15px;bottom:15px}
@media(max-width:760px){
 .opening{display:flex;flex-direction:column;min-height:0!important}
 .opening .openimage{order:0;width:100%;height:clamp(230px,63vw,400px);min-height:0}
 .opening .opentext{order:1;padding:32px var(--pad) 42px!important}
 .opening .opentext h1{font-size:clamp(39px,9.5vw,60px)}
}

/* 05 — Documentary/legacy video and the video player: display the entire frame. */
.reel-stage,.reel-scroll{height:auto;max-height:none}
html[data-motion=full] .reel-scroll{height:auto}
html[data-motion=full] .reel-stage,.reel-stage{position:relative!important;top:auto!important;height:clamp(450px,63svh,710px)!important;min-height:0;overflow:hidden}
.reel-back video,.reel-back img{object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important}
.reel-back{background:#262126}
.page-film .film video,.film video{display:block;width:min(100%,1280px);height:auto;max-height:min(72svh,720px);object-fit:contain!important;aspect-ratio:16/9;margin:0 auto;background:#201a1e}
.page-film .film .chapters button img{object-fit:contain!important;background:#302a2d;transform:none!important}

/* 06 — All gallery, card and story assets: no destructive cropping or oversized zoom. */
.cardpic,.bv5-collection-img,.bv5-related-image,.splitpic,.viewstage,.folioimg,
.bv5-nextchapter-image,.atlas-visual,.screening a,.archivephoto,.enquiry-project{background:var(--media-v7-frame)}
.cardpic img,.bv5-collection-img img,.bv5-related-image img,.splitpic img,.viewframe img,
.folioimg img,.placechoice img,.bv5-nextchapter-image img,.atlas-image,.screening img,
.archivephoto img,.person img,.panorama>img,.gallery figure img,
.chapters button img,.enquiry-project img,.regional-body img,.yearpanel figure img,
.drawing-sheet img,.arch-spread img{
 object-fit:contain!important;object-position:center!important;transform:none!important;
 filter:none!important;
}
.cardpic>img,.bv5-collection-img img,.bv5-related-image img,.splitpic img,
.bv5-nextchapter-image img{max-width:100%;max-height:100%}
@media(hover:hover) and (pointer:fine){
 .card:hover .cardpic img,.bv5-collection:hover img,.bv5-nextchapter:hover img,
 .bv5-related-grid>a:hover img,.placechoice:hover img{transform:none!important}
}
.bv5-collection-img{height:clamp(255px,31vw,465px)}
.bv5-collection:nth-child(n+2) .bv5-collection-img{height:clamp(230px,28vw,395px)}
.bv5-related-image{height:clamp(180px,22vw,305px)}
.bv5-nextchapter-image{min-height:350px}
.bv5-nextchapter-image img{inset:0}
.splitpic{min-height:clamp(265px,31vw,435px)}
.foliopicture{max-height:560px}
.folioimg img{background:#e5ded2}
.viewstage{height:clamp(250px,39vw,550px)}
.atlas-image{max-height:100%;background:#3f3234}
.panorama>img,.gallery figure img{height:auto;max-height:min(78svh,680px)}
.drawing-sheet img,.arch-spread img{height:auto;max-height:75svh}
.person img{aspect-ratio:auto;max-height:480px;background:#e9e3d8}
.archivephoto img{width:100%;height:100%}
.enquiry-project img{width:88px;height:88px;min-height:88px}
/* Image-led location cards become readable, non-overlapping horizontal figures. */
.placechoice{aspect-ratio:auto;display:flex;flex-direction:column;isolation:auto;min-height:0;background:#fbf7ef;color:var(--wine);border:1px solid #d0c6b7}
.placechoice::after{display:none}
.placechoice img{position:relative;inset:auto;z-index:auto;flex:none;display:block;width:100%;height:clamp(180px,21vw,300px);background:#ddd2c3}
.placechoice>div{position:relative;inset:auto;padding:18px 21px 22px;background:transparent;color:var(--wine)}
.placechoice h3{color:var(--wine);font-size:clamp(25px,2.5vw,38px)}
.placechoice p{color:#5b4b45;font-size:13px}
/* Ayan film teaser similarly separates full media from caption/call-to-action. */
.screening{background:#2e2128}
.screening a{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);min-height:0;align-items:stretch;background:#2e2128}
.screening img{position:relative;inset:auto;grid-column:1;grid-row:1;display:block;width:100%;height:clamp(260px,34vw,470px);object-fit:contain!important;background:#3e3033}
.screening a div{grid-column:2;grid-row:1;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(25px,4vw,65px);background:none}
.screening a h2{font-size:clamp(35px,3.6vw,56px);line-height:1.1}
@media(max-width:760px){
 .bv5-collection-img,.bv5-collection:nth-child(n+2) .bv5-collection-img{height:auto;aspect-ratio:1.45}
 .bv5-related-image{height:auto;aspect-ratio:1.45}
 .bv5-nextchapter-image{min-height:260px;height:clamp(240px,60vw,370px)}
 .splitpic{min-height:260px}
 .placechoice img{height:clamp(185px,52vw,315px)}
 .screening a{display:flex;flex-direction:column}
 .screening img{height:clamp(220px,60vw,380px)}
 .screening a div{padding:28px var(--pad) 36px}
 .reel-stage,html[data-motion=full] .reel-stage{height:clamp(380px,64svh,580px)!important}
}
@media(prefers-reduced-motion:reduce){
 .site-menu .menu-image img,.cardpic img,.coverframe img,.propertyart img{animation:none!important;transition:none!important}
}
html[data-motion=reduce] :is(.site-menu .menu-image img,.cardpic img,.coverframe img,.propertyart img){animation:none!important;transition:none!important}

/* 07 — Legacy and film intros: separate editorial copy from architectural imagery. */
.reel-stage,html[data-motion=full] .reel-stage{
 display:grid;grid-template-columns:minmax(0,44%) minmax(0,56%);
 align-items:stretch;padding:0!important;background:#292124;
}
.reel-stage .reel-back{position:relative;inset:auto;grid-column:2;grid-row:1;z-index:0;overflow:hidden;min-width:0;background:#34292e}
.reel-stage .reel-shade{display:none}
.reel-stage .reel-titles{
 position:relative;z-index:2;grid-column:1;grid-row:1;
 align-self:center;max-width:none;min-width:0;
 padding:clamp(32px,4vw,65px) clamp(24px,4vw,70px) 90px;
}
.reel-stage .reel-titles h1{font-size:clamp(43px,5.3vw,77px);line-height:1.06;letter-spacing:-.055em}
.reel-stage .scriptline{font-size:clamp(18px,2.2vw,30px);line-height:1.28}
.reel-stage .reel-foot{
 left:clamp(24px,4vw,70px);right:auto;bottom:18px;
 width:calc(44% - clamp(48px,8vw,140px));min-width:0;
 flex-wrap:wrap;gap:5px 12px;font-size:11px;
}
/* Film opener: show each of its three actual frames in full. */
.filmtitle{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);
 align-items:center;gap:9px 24px;min-height:300px;
 padding:40px var(--pad)!important;background:#211a1c;
}
.filmtitle .cinema-strip{
 position:relative;inset:auto;grid-column:2;grid-row:1/span 3;z-index:0;
 height:clamp(185px,23vw,285px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
 overflow:hidden;background:#30252a;
}
.filmtitle .cinema-strip img{
 width:100%;height:100%;object-fit:contain!important;
 object-position:center;max-width:100%;background:#30252a;filter:none;
}
.filmtitle .cinema-strip::after{display:none}
.filmtitle .eye,.filmtitle h1,.filmtitle>p:last-child{grid-column:1;min-width:0}
.filmtitle h1{font-size:clamp(38px,5vw,67px);line-height:1.07;margin:0}
.filmtitle>p:last-child{max-width:48ch;margin:0;font-size:15px;line-height:1.6}
@media(max-width:760px){
 .reel-stage,html[data-motion=full] .reel-stage{display:flex;flex-direction:column;height:auto!important;min-height:0}
 .reel-stage .reel-back{order:0;flex:none;width:100%;height:clamp(230px,63vw,400px)}
 .reel-stage .reel-titles{order:1;width:100%;padding:29px var(--pad) 18px}
 .reel-stage .reel-titles h1{font-size:clamp(42px,10vw,61px)}
 .reel-stage .reel-foot{order:2;position:relative;left:auto;right:auto;bottom:auto;width:auto;margin:0 var(--pad) 17px}
 .filmtitle{display:flex;flex-direction:column;align-items:stretch;padding:24px var(--pad) 34px!important;gap:14px}
 .filmtitle .cinema-strip{order:0;flex:none;width:100%;height:clamp(140px,36vw,220px)}
 .filmtitle .eye{order:1;margin:4px 0 0}
 .filmtitle h1{order:2;font-size:clamp(37px,9vw,54px)}
 .filmtitle>p:last-child{order:3}
}
