/* Juta Properties: shared tablet and phone layouts. Desktop styles stay intact. */
@media(max-width:1100px){
  :root{--gutter:clamp(24px,4vw,40px)}
  .header{height:82px;gap:16px}
  .header .logo{width:135px}
  .header-actions{margin-left:auto;gap:16px}
  .header-actions>.button{display:none}
  .menu-toggle{display:flex;align-items:center;gap:12px;min-height:44px}
  .nav,.nav.open{position:absolute;top:82px;left:0;right:0;display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:20px var(--gutter) 28px;background:#f7f8fa;border-bottom:1px solid var(--line);visibility:hidden;opacity:0;transform:translateY(-18px);clip-path:inset(0 0 100% 0);transition:clip-path .5s var(--motion-ease),opacity .35s,transform .5s var(--motion-ease),visibility .5s;max-height:calc(100svh - 82px);overflow:auto;box-shadow:none}
  .nav.open{visibility:visible;opacity:1;transform:translateY(0);clip-path:inset(0 0 0 0)}
  .menu-open{overflow:hidden}
  .menu-open .menu-backdrop{opacity:1;visibility:visible}
  .nav a{font-size:21px;padding:12px 0;width:100%;border-bottom:1px solid var(--line)}
  .nav a:after{display:none}
  .home-full-hero{height:auto;min-height:calc(100svh - 82px);overflow:visible;flex-direction:column;align-items:stretch}
  .home-full-hero .hero-copy{flex:1 0 auto;width:100%;max-width:none;padding:32px var(--gutter);justify-content:center}
  .home-full-hero h1{font-size:clamp(36px,5.8vw,58px)}
  .home-full-hero .hero-copy>p{font-size:16px;max-width:620px;line-height:1.65}
  .home-full-hero .hero-slides{position:relative;inset:auto;order:1;width:100%;height:auto;max-height:none;aspect-ratio:1916/821;flex:none;margin:0;z-index:0}
  .home-full-hero .hero-slide img{object-fit:cover;object-position:center;transform:none}
  .page-head.supplied-photo-head{flex-direction:column;align-items:stretch;padding:0;min-height:0}
  .supplied-photo-head>.wrap{display:flex;flex-direction:column;justify-content:center;width:100%;max-width:none;min-height:280px;margin:0;padding:36px var(--gutter)}
  .supplied-photo-head .page-head-photo{position:relative;inset:auto;order:1;width:100%;aspect-ratio:836/471;z-index:0;mask-image:none;-webkit-mask-image:none}
  .supplied-photo-head .page-head-photo img{inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:none!important}
  .supplied-photo-head:after{display:none}
  .supplied-photo-head h1{font-size:clamp(32px,4.5vw,46px);max-width:760px;line-height:1.12}
  .supplied-photo-head p{font-size:16px;max-width:650px;margin-top:20px}
  .supplied-photo-head .breadcrumb{font-size:12px;margin-bottom:20px}
  .supplied-photo-head .eyebrow{margin-bottom:16px}
  .split-heading{grid-template-columns:1fr;gap:28px}
  .compact-detail-layout,.contact-layout{grid-template-columns:1fr;gap:32px}
  .project-showcase .property-card,.project-showcase .property-card:nth-child(even){grid-template-columns:1fr}
  .project-showcase .project-image-link,.project-showcase .property-art{min-height:0;height:clamp(300px,44vw,450px)}
  .project-showcase .property-info{padding:28px}
  .service-row{grid-template-columns:40px minmax(0,1fr);gap:20px}
  .service-row>ul,.service-row>.service-photo{grid-column:2}
  .brochure-layout{gap:32px;grid-template-columns:minmax(0,.7fr) minmax(0,1fr)}
  .brochure-copy h2{font-size:34px}
  .footer-main{grid-template-columns:1fr 1fr;gap:32px}
  .footer-main>div:first-child{grid-column:1/-1}
}
/* Short, wide tablets use a more compact copy block without squeezing the photo. */
@media(min-width:701px) and (max-width:1100px) and (max-height:850px){
  .home-full-hero .hero-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;padding-block:20px;flex:1 0 auto}
  .home-full-hero .hero-copy>.eyebrow,.home-full-hero h1,.home-full-hero .hero-copy>p{grid-column:1/-1}
  .home-full-hero .eyebrow{font-size:11px;margin-bottom:10px}
  .home-full-hero h1{font-size:clamp(34px,4.2vw,44px)}
  .home-full-hero .hero-copy>p{font-size:14px;max-width:none;line-height:1.5;margin-top:12px}
  .home-full-hero .hero-actions{flex-direction:row;align-items:center;gap:20px;margin-top:16px}
  .home-full-hero .button{padding:12px 20px;font-size:13px}
  .home-full-hero .slider-controls{align-self:center;margin:16px 0 0 22px}
  .home-full-hero .scroll-cue{min-height:28px}
}
@media(max-width:700px){
  .home-full-hero .hero-copy{padding:28px var(--gutter)}
  .home-full-hero h1{font-size:clamp(30px,8.8vw,48px)}
  .home-full-hero h1 em{white-space:normal}
  .home-full-hero .eyebrow{font-size:10px;max-width:none;margin-bottom:16px;line-height:1.6}
  .home-full-hero .hero-copy>p{font-size:15px;line-height:1.6;margin-top:18px}
  .home-full-hero .hero-actions{gap:18px;margin-top:22px}
  .home-full-hero .button{font-size:14px;padding:14px 22px}
  .home-full-hero .slider-controls{margin-top:18px}
  .supplied-photo-head>.wrap{min-height:0;padding:32px var(--gutter)}
  .supplied-photo-head h1{font-size:clamp(28px,7.6vw,38px);line-height:1.15}
  .supplied-photo-head p{font-size:15px;line-height:1.6}
  .supplied-photo-head .eyebrow{font-size:10px;margin-bottom:14px}
  .supplied-photo-head .breadcrumb{margin-bottom:20px}
  .page-head:not(.supplied-photo-head){min-height:280px;padding-block:36px}
  .page-head:not(.supplied-photo-head) h1{font-size:clamp(30px,8vw,42px)}
  .principles{grid-template-columns:1fr;gap:28px}
  .value-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
  .contact-card{padding:28px}
  .brochure-layout{grid-template-columns:1fr;gap:28px}
  .brochure-copy h2{font-size:30px}
  .compact-title{display:block}
  .compact-title h1{font-size:clamp(32px,8vw,44px)}
  .property-category{display:block;margin-top:14px}
  .footer-main{grid-template-columns:1fr}
  .project-filters{width:100%}
  .project-filters button{padding:12px 8px;min-width:0;flex:1;font-size:12px}
}
@media(max-width:380px){
  .header{padding-inline:16px;gap:10px}
  .header .logo{width:112px}
  .header-actions{gap:10px}
  .languages{font-size:11px;gap:5px}
  .menu-toggle{font-size:12px;padding:8px 10px;gap:8px}
  .value-list{grid-template-columns:1fr}
  .home-full-hero .button{padding-inline:18px}
}
@media(max-height:500px) and (max-width:1100px){.home-full-hero{min-height:0}.home-full-hero .hero-copy{padding-block:24px}}
@media(prefers-reduced-motion:reduce){.nav,.nav.open{transition:none}}

/* Landscape iPads retain the desktop text-left/photo-right hero composition. */
@media(min-width:851px) and (max-width:1100px) and (min-height:600px) and (orientation:landscape){
  .home-full-hero{display:flex;flex-direction:row;align-items:center;height:calc(100svh - 82px);min-height:0;overflow:hidden;isolation:isolate}
  .home-full-hero .hero-slides{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;z-index:-3;margin:0}
  .home-full-hero .hero-slide img{object-fit:cover;object-position:center}
  .home-full-hero .hero-shade{display:block;background:linear-gradient(90deg,rgba(8,29,49,.84),rgba(8,29,49,.48) 42%,rgba(8,29,49,.1) 80%)}
  .home-full-hero .hero-copy{display:flex;flex-direction:column;flex:0 0 42%;width:42%;max-width:none;min-height:0;height:auto;padding:24px 20px 24px var(--gutter);justify-content:center;align-items:flex-start}
  .home-full-hero .eyebrow{font-size:10px;margin-bottom:16px}
  .home-full-hero h1{font-size:clamp(36px,4.2vw,48px);line-height:1.06}
  .home-full-hero .hero-copy>p{max-width:340px;font-size:15px;line-height:1.6;margin-top:18px}
  .home-full-hero .hero-actions{flex-direction:column;align-items:flex-start;gap:18px;margin-top:22px}
  .home-full-hero .button{font-size:13px;padding:13px 20px}
  .home-full-hero .scroll-cue{min-height:28px}
  .home-full-hero .slider-controls{margin:18px 0 0;align-self:flex-start}
  .page-head.supplied-photo-head{display:flex;flex-direction:row;align-items:center;min-height:460px;padding-block:40px;isolation:isolate}
  .supplied-photo-head>.wrap{display:block;width:46%;max-width:none;min-height:0;margin:0;padding:0 24px 0 var(--gutter)}
  .supplied-photo-head .page-head-photo{position:absolute;inset:0 0 0 33%;order:0;width:auto;aspect-ratio:auto;z-index:-2;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 10%,rgba(0,0,0,.42) 23%,rgba(0,0,0,.78) 38%,#000 55%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 10%,rgba(0,0,0,.42) 23%,rgba(0,0,0,.78) 38%,#000 55%)}
  .supplied-photo-head .page-head-photo img{object-fit:cover;object-position:center}
  .supplied-photo-head h1{font-size:clamp(32px,3.7vw,40px);line-height:1.12}
  .supplied-photo-head p{font-size:15px;line-height:1.6;margin-top:20px}
}

/* Portrait phones/tablets: one image-backed header with readable overlay copy. */
@media(max-width:1100px) and (orientation:portrait){
  .home-full-hero{display:flex;flex-direction:row;align-items:center;height:auto;min-height:calc(100svh - 82px);overflow:hidden;isolation:isolate}
  .home-full-hero .hero-slides{position:absolute;inset:0;order:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;z-index:-3;margin:0}
  .home-full-hero .hero-slide img{object-fit:cover;object-position:64% center}
  .home-full-hero .hero-shade{display:block;background:linear-gradient(180deg,rgba(7,27,47,.8) 0%,rgba(7,27,47,.68) 48%,rgba(7,27,47,.3) 100%)}
  .home-full-hero .hero-copy{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1;width:100%;max-width:760px;min-height:calc(100svh - 82px);padding:40px var(--gutter)}
  .home-full-hero h1{font-size:clamp(36px,7.8vw,62px);line-height:1.08}
  .home-full-hero .hero-copy>p{font-size:16px;max-width:520px;color:#f1f5f9}
  .home-full-hero .hero-actions{flex-direction:column;align-items:flex-start}
  .home-full-hero .slider-controls{align-self:flex-start;margin:22px 0 0}
  .page-head.supplied-photo-head{display:flex;flex-direction:row;align-items:center;position:relative;min-height:clamp(480px,calc(100svh - 82px),720px);padding:40px 0;isolation:isolate;overflow:hidden}
  .supplied-photo-head>.wrap{position:relative;display:block;width:100%;min-height:0;max-width:760px;margin:0;padding:0 var(--gutter)}
  .supplied-photo-head .page-head-photo{position:absolute;inset:0;order:0;width:100%;height:100%;aspect-ratio:auto;z-index:-2;mask-image:none;-webkit-mask-image:none}
  .supplied-photo-head .page-head-photo img{object-fit:cover;object-position:65% center}
  .supplied-photo-head:after{display:block;background:linear-gradient(180deg,rgba(7,27,47,.88) 0%,rgba(7,27,47,.68) 52%,rgba(7,27,47,.3) 100%)}
  .supplied-photo-head h1{font-size:clamp(32px,5.8vw,48px);line-height:1.12;max-width:660px}
  .supplied-photo-head p{font-size:16px;color:#f1f5f9;max-width:580px}
  .supplied-photo-head .breadcrumb{color:#e4edf6}
}

/* Compact phone portrait headers; content can grow naturally without clipping. */
@media(max-width:700px) and (orientation:portrait){
 .page-head.supplied-photo-head{min-height:360px;padding-block:36px}
 .supplied-photo-head>.wrap{padding-inline:var(--gutter)}
 .supplied-photo-head h1{font-size:clamp(28px,7.6vw,38px)}
 .supplied-photo-head p{font-size:15px;line-height:1.6;margin-top:16px}
 .home-full-hero{min-height:0}
 .home-full-hero .hero-copy{min-height:0;padding:36px var(--gutter)}
 .home-full-hero h1{font-size:clamp(30px,7.8vw,48px)}
}

/* Show the complete replacement Jertih photograph, including on hover. */
.property-art:has(>img[src*="photo_6086876305740730291_y"]){height:auto;min-height:0;aspect-ratio:1;transform:none!important}
.project-showcase .project-image-link:has(img[src*="photo_6086876305740730291_y"]){height:auto;min-height:0;align-self:start}
.property-art>img[src*="photo_6086876305740730291_y"]{width:100%;height:100%;object-fit:contain;transform:none!important}
.photo-story-small .photo-window:has(img[src*="photo_6086876305740730291_y"]){height:auto;aspect-ratio:1}
.photo-window img[src*="photo_6086876305740730291_y"]{position:relative;inset:auto;width:100%;height:auto;object-fit:contain;transform:none!important}

/* Slow project-photo motion replaces the pointer-triggered zoom. */
.project-showcase .property-art .project-cover,
.project-showcase .property-card:hover .project-cover{
 transform:none!important;transition:none;transform-origin:center;
 animation:project-photo-kenburns 24s ease-in-out infinite alternate;
}
@keyframes project-photo-kenburns{from{scale:1}to{scale:1.025}}
@media(prefers-reduced-motion:reduce){
 .project-showcase .property-art .project-cover{animation:none;scale:1}
}

.footer-bottom{flex-wrap:wrap;gap:16px 24px}.footer-credit{display:inline-block}.footer-credit a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.footer-credit a:hover{color:var(--navy)}@media(max-width:560px){.footer-credit{display:block;margin-top:14px}}
