/* Approved artwork: trim its surrounding whitespace in layout, without redrawing it. */
.home .hero-photo{filter:brightness(.82);object-position:50% 58%}
.approved-brand{display:block;position:relative;overflow:hidden;flex-shrink:0;width:224px;height:auto;aspect-ratio:1540/550;line-height:1;mix-blend-mode:multiply}
.approved-brand img{position:absolute;display:block;width:141.039%;max-width:none;height:auto;left:-21.429%;top:-13.636%;object-fit:initial}
.site-header{height:104px;gap:24px}
.footer-logo.approved-brand{width:230px;max-width:100%;filter:invert(1);mix-blend-mode:screen}
.footer-grid{grid-template-columns:1.3fr 1.2fr 1.4fr .7fr}
.footer-grid>div{min-width:0}
@media(max-width:1200px){.brand.approved-brand{width:204px}.site-header{padding-left:4vw;padding-right:4vw;gap:18px}.site-header nav{gap:14px}.footer-grid{grid-template-columns:1.2fr 1fr 1.2fr}}
@media(min-width:801px) and (max-width:1050px){.site-header .header-cta{display:none}.brand.approved-brand{width:214px}.site-header nav{gap:18px}}
@media(max-width:800px){.site-header{height:94px}.brand.approved-brand{width:199px}.site-header .header-cta{display:none}.menu-toggle{display:flex;align-items:center;gap:10px;min-height:44px}.site-header nav{display:none;position:absolute;top:94px;left:0;right:0;background:var(--paper);padding:20px 6vw 30px;border-bottom:1px solid var(--line);box-shadow:0 20px 25px #0001}.site-header nav.is-open{display:flex;flex-direction:column;align-items:stretch;gap:0}.site-header nav a{font-family:var(--serif);font-size:28px;padding:10px 0}.site-header nav a:after{display:none}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:600px){.site-header{height:88px;padding-left:5vw;padding-right:5vw;gap:10px}.brand.approved-brand{width:clamp(170px,50vw,204px)}.site-header nav{top:88px}.menu-toggle{font-size:12px;padding-left:4px;gap:7px}.footer-grid{grid-template-columns:1fr}.footer-logo.approved-brand{width:240px}}
@media print{.site-header,.footer{display:none}}

/* Evaan Joshi: preserve the full portrait photographs and original camera clips. */
.project-evaan-joshi .project-cover{display:flex;justify-content:center;background:#e9e4db}
.project-evaan-joshi .project-cover img{width:auto;max-width:100%;height:auto;max-height:min(82svh,1000px);object-fit:contain}
.project-evaan-joshi .gallery img{height:auto;max-height:82svh;object-fit:contain;background:#e9e4db}
.project-evaan-joshi .project-film{filter:none;object-fit:contain}

/* Keep the Opera Home panoramic viewer and its copy inside the same clean grid. */
.walkthrough-layout{
  grid-template-columns:minmax(0,.86fr) minmax(0,2fr);
  column-gap:clamp(28px,3.2vw,64px);
  align-items:center;
}
.walkthrough-copy,.walkthrough-view{min-width:0}
.walkthrough-copy{padding-right:0}
.walkthrough-copy h2{max-width:none;font-size:clamp(42px,3.2vw,60px);line-height:1.02}
.walkthrough-intro{max-width:38ch;margin-top:20px}
.walkthrough-story{margin-top:20px;padding-top:18px}
.walkthrough-disclosure{max-width:48ch;margin-top:16px}
.walkthrough-view{align-self:center;width:100%;height:min(72svh,820px);min-height:0}
.walkthrough-controls{position:relative;z-index:2;flex-shrink:0;padding-top:8px;padding-bottom:18px;background:#e9e4da}
.walkthrough-sticky{min-height:600px}
@media(max-height:820px) and (min-width:801px){
  .walkthrough-top{padding-top:12px}
  .walkthrough-view{height:min(68svh,690px)}
  .walkthrough-copy h2{font-size:clamp(40px,3vw,56px)}
  .walkthrough-number{margin-bottom:12px}
  .walkthrough-intro{margin-top:14px}
  .walkthrough-story{margin-top:14px;padding-top:12px}
  .walkthrough-story h3{font-size:24px}
  .walkthrough-story p{font-size:13px;margin-top:7px}
  .walkthrough-disclosure{font-size:10px;margin-top:10px}
  .walkthrough-controls{padding-bottom:10px}
}
@media(max-width:1000px) and (min-width:601px){
  .walkthrough-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);column-gap:24px}
  .walkthrough-copy h2{font-size:clamp(38px,4.2vw,52px)}
  .walkthrough-view{height:min(60svh,650px)}
  .walkthrough-story h3{font-size:23px}
  .walkthrough-copy .walkthrough-disclosure{font-size:10px}
  .tour-chapters{gap:12px}
  .tour-chapters button{font-size:10px}
}
@media(max-width:600px){
  .walkthrough-layout{column-gap:0}
  .walkthrough-copy h2{font-size:clamp(30px,8vw,38px);max-width:270px}
  .walkthrough-view{width:100%;height:auto;min-height:265px}
  .walkthrough-disclosure{max-width:100%}
  .walkthrough-controls{background:transparent}
}

/* Essentia case-study photos: preserve full framing and centre every view. */
.project-essentia-salon .project-cover img{
  height:min(650px,74svh);
  object-fit:contain;
  background:#e9e4da;
}
.project-essentia-salon .gallery figure:nth-child(2){padding-top:0}
.project-essentia-salon .gallery figure:nth-child(3){margin-top:0}
.project-essentia-salon .gallery-item{
  display:grid;
  place-items:center;
  background:#e9e4da;
}
.project-essentia-salon .gallery img{
  height:auto;
  max-height:min(76svh,760px);
  object-fit:contain;
  object-position:center;
}
@media(max-width:600px){
  .project-essentia-salon .project-cover img{height:min(430px,70svh)}
  .project-essentia-salon .gallery img{max-height:78svh}
}

/* Falcon 66 case study: keep original room compositions centred and uncropped. */
.project-falcon-66 .project-cover{display:flex;justify-content:center;background:#e9e4db}
.project-falcon-66 .project-cover img{width:100%;height:auto;max-height:min(78svh,900px);object-fit:contain}
.project-falcon-66 .gallery img{height:auto;max-height:82svh;object-fit:contain;background:#e9e4db}
.project-falcon-66 .project-film{filter:none;object-fit:contain}

/* Sachdeva Residence case study: show the complete source framing, centred. */
.project-sachdeva-125 .project-cover{display:flex;justify-content:center;background:#e9e4db}
.project-sachdeva-125 .project-cover img{width:100%;height:auto;max-height:min(78svh,900px);object-fit:contain}
.project-sachdeva-125 .gallery img{height:auto;max-height:82svh;object-fit:contain;background:#e9e4db}
.project-sachdeva-125 .project-film{filter:none;object-fit:contain}
/* A subtle display grade on Sachdeva walkthrough playback; source clips stay untouched. */
.project-sachdeva-125 .project-film{filter:brightness(1.035) contrast(1.045) saturate(1.04);object-fit:contain}
.project-video-jump{display:flex;justify-content:flex-end;margin-top:-12px;padding-bottom:14px}
.project-videos{scroll-margin-top:32px}
/* Sachdeva videos are transcoded to H.264; respect each clip’s true aspect ratio. */
.project-sachdeva-125 .project-film{aspect-ratio:auto;height:auto;max-height:76svh}

/* Keep the Opera walkthrough usable when a browser declines WebGL/Three.js. */
.walkthrough.is-fallback{height:420svh}
.walkthrough.is-fallback .walkthrough-sticky{position:sticky;top:0;height:100svh;min-height:600px}
.walkthrough.is-fallback .walkthrough-controls{display:block}
.walkthrough.is-fallback .house-view-bottom{display:flex}
.walkthrough.is-fallback .tour-chapters{display:flex}
.walkthrough.is-fallback .house-fallback{visibility:hidden}
.walkthrough.is-fallback .house-canvas.is-fallback-view{opacity:1;background-image:url('../projects/opera-home/visualizations/opera-360-inspired.webp');background-size:auto 100%;background-position:var(--panorama-position,0%) center;background-repeat:no-repeat;cursor:grab}
.walkthrough.is-fallback.is-orbit .house-canvas.is-fallback-view{cursor:grabbing;touch-action:none}
@media(max-width:600px){
 .walkthrough.is-fallback{height:340svh}
 .walkthrough.is-fallback .walkthrough-sticky{min-height:780px}
 .walkthrough.is-fallback .tour-chapters{display:grid}
}
@media(prefers-reduced-motion:reduce){
 .walkthrough.is-fallback{height:auto}
 .walkthrough.is-fallback .walkthrough-sticky{position:relative;height:auto;min-height:780px}
}

/* Keep the full Prince Residence elevation visible in its portrait project cover. */
.project-prince-residence .prince-elevation-cover{position:relative;display:grid;place-items:center;height:min(82svh,920px);min-height:620px;overflow:hidden;isolation:isolate;background:#d8d2c7}
.project-prince-residence .prince-elevation-cover .elevation-backdrop{position:absolute;inset:-2%;z-index:0;width:104%!important;height:104%!important;object-fit:cover!important;filter:blur(24px) brightness(.62) saturate(.72);opacity:.58}
.project-prince-residence .prince-elevation-cover .elevation-main{position:relative;z-index:1;width:100%;height:100%!important;object-fit:contain!important;object-position:center;filter:drop-shadow(0 12px 32px rgba(0,0,0,.28))}
@media(max-width:700px){.project-prince-residence .prince-elevation-cover{height:78svh;min-height:560px}.project-prince-residence .prince-elevation-cover .elevation-backdrop{filter:blur(18px) brightness(.67) saturate(.72)}}

/* Social profiles and answer-first editorial summaries */
.social-heading{margin:18px 0 8px}
.social-links{display:flex;flex-wrap:wrap;gap:6px 14px;max-width:250px}
.social-links a{font-size:12px;line-height:1.6}
.article-quick-answer{max-width:900px;margin:0 auto 28px;padding:20px 24px;border-left:2px solid var(--ink,#302b25);background:rgba(255,255,255,.42)}
.article-quick-answer span{display:block;margin-bottom:7px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.article-quick-answer p{margin:0;font-size:16px;line-height:1.7}
@media(max-width:700px){.article-quick-answer{margin:0 20px 22px;padding:16px 18px}.article-quick-answer p{font-size:15px}}

/* Dedicated FAQ library */
.faq-hub-link{padding-bottom:50px}.faq-library{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,2fr);gap:clamp(35px,6vw,100px);padding-bottom:100px;align-items:start}.faq-directory{position:sticky;top:32px}.faq-directory nav{display:grid;border-top:1px solid var(--line)}.faq-directory nav a{display:flex;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.5}.faq-directory nav a>span:last-child{color:var(--muted);font-size:12px}.faq-search{padding:26px;background:#e9e3d9;border-radius:8px;margin-bottom:48px}.faq-search label{display:block;font-size:16px;font-weight:600;margin-bottom:12px}.faq-search-row{display:flex;gap:12px}.faq-search input{min-width:0;flex:1;width:100%;padding:13px 14px;background:var(--paper);border:1px solid #938779;border-radius:4px}.faq-search button{padding:10px 14px;border:1px solid #938779;border-radius:4px;font-size:14px}.faq-search #faq-count{font-size:13px;margin-top:10px}.faq-topic{margin-bottom:62px;scroll-margin-top:35px}.faq-topic-heading{margin-bottom:22px}.faq-topic h2{font-size:clamp(33px,3.1vw,47px);line-height:1.1}.faq-topic-heading p{font-size:15px;margin-top:13px;max-width:600px}.faq-question{border-top:1px solid var(--line);scroll-margin-top:30px}.faq-question summary{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;padding:23px 0;cursor:pointer;font-size:17px;line-height:1.55;list-style:none}.faq-question summary::-webkit-details-marker{display:none}.faq-question summary span{flex:none;font-size:23px;font-weight:400;line-height:1.1}.faq-question[open] summary span{transform:rotate(45deg)}.faq-answer{padding:0 12px 25px 0}.faq-answer p{font-size:16px;line-height:1.9;color:#5d554c}.faq-permalink{display:block;width:fit-content;font-size:12px;margin-top:16px;text-decoration:underline;text-underline-offset:4px}.faq-answer-link{display:block;font-size:14px;margin-top:16px;text-decoration:underline;text-underline-offset:4px}.faq-budget-note{font-size:14px;line-height:1.8;padding:18px 20px;background:#e9e3d9;border-left:2px solid #8f795d;margin-bottom:20px}.faq-budget-note a,#faq-empty a{text-decoration:underline}.faq-closing{padding:36px 0 0;border-top:1px solid var(--line)}.faq-closing h2{font-size:clamp(38px,4vw,58px)}.faq-closing>p:not(.eyebrow){margin-top:20px}.faq-closing .button{margin-top:24px}.faq-directory .text-link{margin-top:18px}#faq-empty{padding:25px 0 45px}
@media(max-width:800px){.faq-library{grid-template-columns:1fr;gap:35px}.faq-directory{position:static}.faq-directory nav{grid-template-columns:1fr 1fr;column-gap:24px}.faq-directory .eyebrow{margin-bottom:14px}.faq-topic{margin-bottom:45px}.faq-search{margin-bottom:35px}.faq-question summary{font-size:16px}.faq-answer p{font-size:15px}}
@media(max-width:430px){.faq-directory nav{grid-template-columns:1fr}.faq-search{padding:19px}.faq-search-row{gap:7px}.faq-search input{font-size:16px;padding:11px 9px}.faq-search button{padding:8px}.faq-question summary{gap:15px}}
