/* PANGEA INDUSTRIES | v28 visual refinement. Maintains approved brand system. */
#our-story.p28-intro-overlap{padding-top:clamp(53px,6.6vw,88px)!important;padding-bottom:clamp(49px,6vw,78px)!important;isolation:isolate;position:relative;overflow:hidden}
#our-story.p28-intro-overlap>.wrap{position:relative;z-index:3}
#our-story .p28-triangle{position:absolute;right:5%;top:1%;width:clamp(280px,45vw,640px);height:clamp(260px,39vw,570px);background:linear-gradient(136deg,#e7f3fd,#9ecced80);clip-path:polygon(100% 0,100% 100%,0 40%);opacity:.86;z-index:0;pointer-events:none}
#our-story .plane{width:clamp(175px,26vw,420px)!important;height:clamp(240px,27vw,420px)!important;right:1%;top:3%;background:#0c6ba324!important;z-index:1;transform:rotate(-10deg)}
#our-story .p28-architecture{position:absolute;inset:-24% -6% -27% 32%;background:url('../images/architecture/panel-cove-elevation.webp') center center/contain no-repeat;opacity:.21;filter:grayscale(1) contrast(1.2);z-index:1;pointer-events:none}
#our-story .eyebrow{position:relative;z-index:3;margin-bottom:14px}
#our-story .display-heading{margin:0 0 clamp(18px,2.7vw,35px)!important;max-width:min(1020px,91vw);z-index:3;position:relative}
#our-story .intro-grid{grid-template-columns:minmax(0,1.15fr) minmax(235px,.6fr);gap:clamp(35px,5vw,85px)!important;position:relative;z-index:3;align-items:start}
#our-story .intro-copy .lead{margin-top:0}
#our-story .intro-copy>p:not(.lead){margin-top:14px;max-width:590px}
#our-story .intro-copy .button{margin-top:14px}
#our-story .stat-stack{margin-top:-5px!important}
#our-story .stat-stack>div{padding-bottom:12px!important;margin-bottom:16px!important}
#our-story .stat-stack strong{font-size:clamp(3.2rem,4vw,4.5rem)}
/* Architectural weight outside untouched service cards. */
.p28-capabilities{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(145deg,#eef5fa 0%,#f9fcfe 54%,#e7f1f9 100%);padding-top:85px!important;padding-bottom:104px!important}
.p28-capabilities>.wrap{position:relative;z-index:4}
.p28-capabilities .section-head{position:relative;z-index:2}
.p28-capabilities .capability-grid{position:relative;z-index:3;box-shadow:0 23px 48px #08243a0d}
.p28-capabilities .capability-card{background:#fff!important;box-shadow:none!important}
.p28-capabilities .capability-card:hover{background:#e8f3fb!important;color:#09243d}
.p28-geo-corner{position:absolute;right:-10%;top:-90px;width:min(46vw,670px);height:680px;pointer-events:none;background:linear-gradient(145deg,#0c6ba30e,#0b69a82b);clip-path:polygon(100% 0,100% 100%,0 45%);z-index:0}
.p28-geo-line{position:absolute;left:-13%;bottom:-170px;width:min(65vw,1000px);height:590px;border:2px solid #0864ab32;transform:skew(-20deg) rotate(12deg);pointer-events:none;z-index:0}
.p28-geo-line:after{content:"";position:absolute;inset:10% 14%;border:1px solid #1677ac51;transform:rotate(-20deg)}
.p28-geo-top{position:absolute;left:48%;top:2%;width:330px;height:250px;border:1px solid #0a6fbd4b;clip-path:polygon(10% 0,100% 32%,54% 100%);background:#0d80d00b;transform:rotate(18deg)}
.p28-geo-drawing{position:absolute;inset:8% -9% 0 20%;background:url('../images/architecture/panel-qe-elevation.webp') center right/contain no-repeat;opacity:.19;pointer-events:none;filter:grayscale(1)}
/* Gallery frames: fill the same fixed size with tasteful centre crop; full-screen photo stays uncropped. */
#portfolio.p28-portfolio{padding-bottom:45px!important}
#completed-work.p28-completed-work{padding-top:59px!important}
#portfolio .section-head{margin-bottom:34px}
#completed-work .section-head{margin-bottom:38px}
.completed-project .completed-photo-stage,
.completed-project .completed-photo-stage.is-portrait,
.completed-project .completed-photo-stage.is-square,
.completed-project .completed-photo-stage.is-panorama{aspect-ratio:16/10!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;background:#0b293e!important;overflow:hidden!important}
.completed-project .completed-photo-stage img.completed-photo{width:100%!important;height:100%!important;max-height:100%!important;max-width:100%!important;object-fit:cover!important;object-position:center center!important;display:block}
.completed-project .completed-photo-stage img.completed-photo[hidden]{display:none!important}
.completed-image-dialog figure img{object-fit:contain!important}
/* About: compact identity banner with large map behind the actual messaging. */
.brand-statement.p28-brand-statement{padding:clamp(70px,7vw,100px) 0 clamp(65px,7vw,95px)!important;min-height:0!important;background:#08243a;isolation:isolate}
.p28-brand-statement>.wrap{position:relative;z-index:4}
.p28-brand-statement>.wrap:before{content:"";position:absolute;inset:-18% -10% -20% -6%;background:linear-gradient(90deg,#08243aa8 3%,#08243a5c 63%,transparent 100%);pointer-events:none;z-index:-1}
.p28-brand-statement h2{font-size:clamp(2.95rem,5.6vw,5.45rem)!important;line-height:1.03!important;margin:15px 0!important;max-width:790px}
.p28-brand-statement p:last-child{max-width:680px!important;margin-top:21px!important;color:#e2edf5!important;line-height:1.65}
.p28-brand-statement>img{position:absolute!important;inset:-32% 0 -32% auto!important;width:94%!important;height:165%!important;max-width:none!important;object-fit:contain!important;object-position:right center!important;transform:none!important;opacity:.24!important;z-index:0!important;filter:grayscale(1) brightness(2.2) drop-shadow(0 15px 48px #1b9fd642)!important}
.p28-brand-statement:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#061d30c9,#072b4499 51%,#07283a28);pointer-events:none;z-index:1}
/* Show official NHBRC white logo on an appropriate navy tile; CIDB on white. */
.credential-list .credential-mark.p28-cidb{background:#fff;min-height:90px;width:168px;flex-basis:168px;border:1px solid #ddebf2}
.credential-list .credential-mark.p28-nhbrc{background:#08243a;min-height:90px;width:168px;flex-basis:168px;border:1px solid #155c8e}
.credential-list .credential-mark.p28-cidb img{max-height:68px;width:auto;max-width:150px;object-fit:contain}
.credential-list .credential-mark.p28-nhbrc img{max-height:72px;max-width:152px;width:auto;height:auto;object-fit:contain}
.credential-list>div{gap:24px}
.client-reel-logo.p28-client-logo{background:#fff}
.client-reel-logo.p28-client-logo img{filter:none!important;max-height:76px;max-width:92%;width:auto;height:auto;object-fit:contain}
.client-reel-logo.p28-client-logo:has(img[src*="client-just-property"]){background:#0b385c}
.client-reel-logo.p28-client-logo:has(img[src*="client-steers"]){background:#fff}
.client-reel-logo.p28-client-logo:has(img[src*="client-debonairs"]){background:#fff}
/* Location in header is context, not interactive. */
.site-header .nav-location:not(a){cursor:default!important;user-select:none;pointer-events:none}
@media(max-width:950px){
 #our-story .intro-grid{grid-template-columns:1fr 260px;gap:38px!important}
 .p28-capabilities{padding-block:75px!important}
 .brand-statement.p28-brand-statement{padding-block:70px!important}
}
@media(max-width:760px){
 #our-story.p28-intro-overlap{padding:50px 0 64px!important}
 #our-story .display-heading{margin-bottom:22px!important}
 #our-story .intro-grid{grid-template-columns:1fr!important;gap:33px!important}
 #our-story .stat-stack{margin-top:0!important}
 #our-story .p28-triangle{right:-24%;top:8%;width:84vw;height:440px;opacity:.55}
 #our-story .p28-architecture{inset:0 -25% 25% 12%;opacity:.12}
 .p28-capabilities{padding-top:70px!important;padding-bottom:68px!important}
 .p28-geo-corner{right:-38%;width:96vw;height:460px;top:0}
 .p28-geo-line{width:106vw;left:-25%;bottom:-240px}
 .p28-geo-drawing{inset:4% -48% 0 3%;opacity:.14}
 #portfolio.p28-portfolio{padding-bottom:25px!important}
 #completed-work.p28-completed-work{padding-top:42px!important}
 .completed-project .completed-photo-stage,.completed-project .completed-photo-stage.is-portrait,.completed-project .completed-photo-stage.is-square{aspect-ratio:4/3!important}
 .p28-brand-statement>img{width:125%!important;height:170%!important;right:-30%!important;opacity:.19!important}
 .brand-statement.p28-brand-statement{padding:55px 0 60px!important}
 .p28-brand-statement h2{font-size:clamp(2.7rem,9.3vw,4.2rem)!important}
 .credential-list .credential-mark.p28-cidb,.credential-list .credential-mark.p28-nhbrc{flex-basis:120px;width:120px;min-height:70px}
}

/* Wonkla-inspired editorial: open complete source-backed articles without leaving the category. */
dialog.p28-article-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(1030px,94vw)!important;height:min(90dvh,900px)!important;max-height:94dvh!important;max-width:94vw!important;padding:0!important;overflow-y:auto!important;overflow-x:hidden!important;background:#f7fafc!important;border:1px solid #bad5e6!important;color:#092941!important;box-shadow:0 35px 100px #0007!important;scroll-behavior:smooth!important;overscroll-behavior:contain}
dialog.p28-article-dialog[open]{display:block!important;grid-template-columns:none!important}
dialog.p28-article-dialog::backdrop{background:#031625db!important;backdrop-filter:blur(7px)}
.p28-reader-head{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px clamp(22px,4vw,45px);background:#08243a;color:white;border-bottom:2px solid #1075b3;box-shadow:0 7px 24px #081f3440}
.p28-reader-head>div{display:flex;gap:15px;align-items:center;flex-wrap:wrap}
.p28-reader-head strong{font:700 .74rem var(--pangea-heading);letter-spacing:.15em}
.p28-reader-head>div span{font:400 .75rem var(--pangea-body);color:#bcd5e9}
.p28-reader-close{background:#fff!important;color:#092a43!important;border:1px solid #b7d8ed!important;display:flex;align-items:center;gap:11px;min-height:42px;padding:10px 14px!important;cursor:pointer!important;white-space:nowrap;font:700 .73rem var(--pangea-heading)!important}
.p28-reader-close:hover{background:#bfe8fd!important}
.p28-reader-triangle{display:block;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:11px solid #075d9a}
.p28-reader-content{padding:clamp(32px,6vw,67px) clamp(24px,8vw,89px) clamp(42px,7vw,80px)!important}
.p28-reader-content .p26-article-main{max-width:770px;margin:auto!important}
.p28-reader-content .p26-article-main>h2{font-size:clamp(2.15rem,3.7vw,3.5rem)!important;line-height:1.1}
.p28-reader-content .p26-article-main .p26-deck{font-size:1.19rem!important;line-height:1.55!important}
.p28-reader-content .p26-article-section h3{font-size:clamp(1.5rem,2.5vw,2rem)!important}
.p28-reader-content .p26-article-section p{font-size:1.02rem!important;line-height:1.79!important}
.p28-reader-content .p26-article-takeaways{padding:25px 32px}
.p28-reader-content .p26-source-list{margin-top:38px}
.p28-reader-content a{color:#085b95}
.p28-reader-content a:hover{text-decoration:underline}
.p28-reader-content .p26-article-end{margin-top:25px}
.p28-article-dialog:focus-visible,.p28-reader-close:focus-visible{outline:3px solid #6dbde9;outline-offset:-3px}
.p26-insight-card a[data-p28-open-article]{cursor:pointer}
.p26-insight-card a[data-p28-open-article]:focus-visible{outline:3px solid #1476b2;outline-offset:5px}
@media(max-width:760px){
 dialog.p28-article-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border:0!important}
 .p28-reader-head{padding:13px 17px;min-height:61px;align-items:center}
 .p28-reader-head>div span{display:none}
 .p28-reader-close{min-height:40px;font-size:.65rem!important;padding:10px 11px!important}
 .p28-reader-content{padding:32px 19px 50px!important}
 .p28-reader-content .p26-article-main>h2{font-size:clamp(2rem,9vw,2.8rem)!important}
 .p28-reader-content .p26-article-section p{font-size:.99rem!important}
 .p28-reader-content .p26-article-takeaways{padding:23px}
}
/* Film placeholder sections were removed from v28; no empty spaces or dead controls. */
.p26-insights-index{padding-top:96px!important}
@media(max-width:760px){.p26-insights-index{padding-top:72px!important}}

