/* Picture sources select a portrait still before JavaScript runs.
   The desktop image keeps its approved placement and dimensions. */
.showcase-slide>picture {position:absolute;inset:0;width:100%;height:100%}
.showcase-slide>picture>img {width:100%;height:100%;object-fit:cover;object-position:center}
/* One studio identity stays in place while the featured rooms change. */
.showcase-topline {z-index:1}
.showcase-topline h1 {font-size:clamp(22px,2vw,28px);line-height:1.15;letter-spacing:-.025em;margin-bottom:7px;text-shadow:0 2px 16px #0005}
.showcase-topline .eyebrow {font-size:10px;letter-spacing:.16em;text-shadow:0 1px 8px #0006}
.explore-project {display:none}
@media (max-width:800px), (max-width:1000px) and (max-height:500px) {
  :root {
    --header:calc(76px + env(safe-area-inset-top, 0px));
    --pad:clamp(20px, 5.5vw, 32px);
  }
  .site-header {
    grid-template-columns:1fr auto;
    padding-top:env(safe-area-inset-top, 0px);
    padding-left:max(var(--pad), env(safe-area-inset-left, 0px));
    padding-right:max(var(--pad), env(safe-area-inset-right, 0px));
    background:transparent;
    color:#fff;
    border-bottom:0;
  }
  .site-header.is-solid {background:var(--design-bg);color:var(--design-ink);border-bottom:1px solid var(--design-line)}
  .brand, .brand img {width:40px;height:52px}
  .brand .logo-dark {opacity:0}
  .brand .logo-light {opacity:1}
  .site-header.is-solid .logo-dark {opacity:1}
  .site-header.is-solid .logo-light {opacity:0}
  .site-header nav {display:none}
  .menu-toggle {display:flex;align-items:center;gap:14px;min-width:72px;min-height:48px;padding:0;font-size:13px}
  body.menu-open {position:fixed;top:var(--menu-scroll-top,0);left:0;right:0;overflow:hidden}
  body.menu-open .site-header {background:var(--design-bg);color:var(--design-ink)}
  body.menu-open .brand .logo-dark {opacity:1}
  body.menu-open .brand .logo-light {opacity:0}
  .mobile-menu {bottom:0;max-height:calc(100svh - var(--header));max-height:calc(100dvh - var(--header));overflow-y:auto;overscroll-behavior:contain;padding-top:24px;padding-bottom:max(24px, env(safe-area-inset-bottom, 0px))}
  .mobile-menu a {min-height:62px;padding:19px 0;font-size:clamp(26px,7vw,34px)}

  .showcase {
    --mobile-foot:max(14px, env(safe-area-inset-bottom, 0px));
    height:100svh;
    min-height:500px;
    padding:0;
    background:var(--design-deep);
    color:#fff;
  }
  .showcase-topline {display:block;top:auto;bottom:calc(var(--mobile-foot) + 108px);left:max(var(--pad),env(safe-area-inset-left,0px));max-width:calc(50% - max(var(--pad),env(safe-area-inset-left,0px)) - 8px)}
  .showcase-topline h1 {font-size:clamp(20px,5.5vw,24px)}
  .showcase-slides {height:100%;min-width:0;align-items:stretch}
  .showcase-slide {height:100%;padding:0;--scene-focus:50%}
  #project-jumeirah {--scene-focus:53%}
  #project-kismet {--scene-focus:64%}
  #project-regency {--scene-focus:82%}
  #project-seven-routes {--scene-focus:53%}
  .showcase-slide>img, .showcase-slide>video, .showcase-slide>picture>img {height:100%;object-fit:cover;object-position:var(--scene-focus) center;background:var(--design-deep)}
  .showcase-shade {display:block;background:linear-gradient(180deg,#0006,transparent 19%,transparent 55%,#0002 66%,#000b 100%)}
  .showcase-caption {position:absolute;inset:auto max(var(--pad),env(safe-area-inset-right,0px)) calc(var(--mobile-foot) + 108px) 50%;display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:0}
  .showcase-description {display:none}
  .round-link {flex-shrink:0;min-width:0;max-width:100%;color:#fff;font-size:11px;gap:10px;min-height:44px}
  .round-link>.explore-copy {min-width:0;max-width:110px;white-space:normal;line-height:1.4;text-align:right;overflow-wrap:break-word}
  .explore-project {display:block;font-size:10px;line-height:1.4;margin-top:3px;color:#fffc}
  .circle {width:44px;height:44px;flex-shrink:0;border-color:#fffa;font-size:20px;background:#0001}
  .round-link:hover .circle {background:#fff;color:var(--design-ink)}

  .showcase-bottom {position:absolute;inset:auto var(--pad) var(--mobile-foot);margin:0;padding:0;min-width:0}
  .showcase-utility {display:flex;align-items:center;gap:14px;min-height:48px;padding-right:112px;margin:0 0 4px;font-size:11px}
  .showcase-utility button {min-height:48px;font-size:12px;text-align:left;border:0;padding:8px 0;white-space:nowrap;text-shadow:0 1px 8px #0006}
  #project-count {margin-left:auto;font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}
  .showcase-utility a {display:none}
  .showcase-arrows {position:absolute;inset:auto var(--pad) calc(var(--mobile-foot) + 48px) auto;display:flex;gap:8px;z-index:1;height:48px;align-items:center}
  .showcase-arrows button {width:48px;height:48px;border-color:#fff8;background:#0001;color:#fff;font-size:23px;backdrop-filter:none}
  .showcase-arrows button:hover {background:#fff;color:var(--design-ink)}
  .project-strip {display:flex;overflow:visible;gap:10px;padding:0;margin:0;scrollbar-width:none}
  .project-strip button, .project-strip button[aria-current=true] {position:relative;flex:1 1 0;min-width:0;min-height:44px;padding:0;border:0;color:#fff;font-size:0;align-items:center}
  .project-strip button>span {display:none}
  .project-strip button::before {content:"";display:block;width:100%;height:2px;background:#fff6;transition:background .2s,height .2s}
  .project-strip button[aria-current=true]::before {height:3px;background:#fff}
  .project-strip button:hover::before {background:#fff}
  .project-strip button:focus-visible {outline-offset:0}

  .section-space {padding-top:56px;padding-bottom:56px}
  .studio {grid-template-columns:1fr;gap:30px}
  .studio-image {aspect-ratio:1.2}
  .studio h2, .services h2 {font-size:clamp(35px,9vw,48px)}
  .studio-editorial {padding:0}
  .studio-detail p, .service-copy p {font-size:14px;line-height:1.8}
  .studio-intro {font-size:16px}
  .text-link {display:inline-flex;align-items:center;min-height:44px;line-height:1.6;font-size:13px}
  .services-heading {display:block}
  .services-heading>p {margin-top:20px;font-size:14px}
  .service-grid {grid-template-columns:1fr;gap:36px}
  .service-image {aspect-ratio:1.6}
  .service-copy {grid-template-columns:1fr;gap:12px;padding-top:18px}
  .service-copy h3 {font-size:28px}
  .services-tail {align-items:flex-start;flex-direction:column;gap:16px}
  .services-tail p {font-size:13px;line-height:1.7}
  .contact {padding-bottom:18px}
  .contact-main {flex-wrap:wrap;align-items:flex-start;gap:24px}
  .contact h2 {font-size:clamp(34px,8.8vw,58px);overflow-wrap:break-word}
  .contact-arrow {width:52px;height:52px;font-size:28px}
  .email-link {font-size:19px;min-height:44px;line-height:1.7;margin-top:28px}
  .contact-meta {grid-template-columns:minmax(0,1fr) auto;gap:16px 20px;font-size:13px}
  .contact-address {grid-column:1/-1}
  .contact-address p>span {font-size:12px}
  footer {font-size:12px;align-items:flex-start;flex-direction:column;gap:16px;padding-bottom:max(24px, env(safe-area-inset-bottom, 0px))}
  footer nav {flex-wrap:wrap;gap:0 24px}
  footer a {display:inline-flex;align-items:center;min-height:44px}
}
@media (max-width:800px) and (orientation:portrait) {
  .showcase-slide.has-portrait {--scene-focus:50%}
}
@media (max-width:360px) and (orientation:portrait) {
  .showcase-caption {gap:12px}
  .showcase-utility {gap:8px;padding-right:106px}
  .showcase-utility button {font-size:11px}
  .showcase-arrows {gap:6px}
  .showcase-arrows button {width:46px;height:46px}
}
@media (max-width:1000px) and (max-height:500px) and (orientation:landscape) {
  :root {--header:calc(62px + env(safe-area-inset-top, 0px))}
  .brand, .brand img {width:34px;height:44px}
  .showcase {height:100svh;min-height:0}
}
@media (min-width:600px) and (max-width:1000px) and (max-height:500px) and (orientation:landscape) {
  .showcase-utility {gap:12px}
  .showcase-shade {background:linear-gradient(#0006,transparent 25%,transparent 45%,#000a)}
}
