:root {
  --aegis-black:#070707;
  --aegis-panel:#101010;
  --aegis-ivory:#f4f0e8;
  --aegis-muted:#aaa39a;
  --aegis-copper:#c9905d;
  --aegis-copper-light:#e7b47e;
  --aegis-line:rgba(201,144,93,.32);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--aegis-black)}
body{margin:0;background:var(--aegis-black);color:var(--aegis-ivory)}
body.aegis-loading{overflow:hidden}
a{text-decoration:none}

.aegis-header{position:fixed;inset:0 0 auto 0;z-index:50;padding:22px 4vw;transition:background .45s ease,border-color .45s ease,backdrop-filter .45s ease}
.aegis-header.is-scrolled{background:rgba(7,7,7,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.06)}
.aegis-header__inner{display:flex;align-items:center;gap:34px;max-width:1440px;margin:auto}
.aegis-brand img{display:block;width:52px;height:52px;object-fit:contain}
.aegis-nav{margin-left:auto}
.aegis-nav .wp-block-navigation-item__content{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;opacity:.86;transition:color .25s ease,opacity .25s ease}
.aegis-nav .wp-block-navigation-item__content:hover{color:var(--aegis-copper-light);opacity:1}
.aegis-header-cta .wp-block-button__link,.aegis-cta .wp-block-button__link{background:linear-gradient(135deg,var(--aegis-copper-light),var(--aegis-copper));color:#101010;padding:15px 22px;border:1px solid rgba(255,255,255,.08);box-shadow:0 8px 30px rgba(201,144,93,.08);transition:transform .25s ease,box-shadow .25s ease}
.aegis-header-cta .wp-block-button__link:hover,.aegis-cta .wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 12px 38px rgba(201,144,93,.2)}

.aegis-intro{position:fixed;inset:0;z-index:9999;background:#030303;display:grid;place-items:center;overflow:hidden;transition:opacity .78s cubic-bezier(.4,0,.2,1),visibility .78s ease}
.aegis-intro::before{content:"";position:absolute;inset:-20%;background:radial-gradient(circle at 50% 48%,rgba(201,144,93,.075),transparent 28%);opacity:0;animation:aegisIntroAmbient 3.5s ease .35s forwards}
.aegis-intro.is-exiting{opacity:0;visibility:hidden;pointer-events:none}
.aegis-intro__stage{position:relative;width:min(42vw,340px);aspect-ratio:1020/1180;filter:drop-shadow(0 0 24px rgba(231,180,126,.08));transition:transform .75s cubic-bezier(.16,1,.3,1),filter .75s ease}
.aegis-intro.is-exiting .aegis-intro__stage{transform:scale(1.035);filter:drop-shadow(0 0 42px rgba(231,180,126,.16))}
.aegis-intro__shield{position:absolute;inset:0;width:100%;height:100%;overflow:visible;opacity:.96}
.aegis-intro__shield-path{fill:none;stroke:url(#aegisIntroStroke);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;filter:drop-shadow(0 0 8px rgba(231,180,126,.32));animation:aegisShieldDraw 1.28s cubic-bezier(.65,0,.35,1) .18s forwards,aegisShieldDim .7s ease 2.15s forwards}
.aegis-intro__logo-wrap{position:absolute;inset:0;opacity:0;transform:scale(.975);clip-path:inset(100% 0 0 0);animation:aegisLogoReveal 1.05s cubic-bezier(.16,1,.3,1) 1.18s forwards}
.aegis-intro__mark{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 18px rgba(231,180,126,.11))}
.aegis-intro__shine-mark{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;opacity:0;filter:brightness(2.65) saturate(.55) contrast(1.08) drop-shadow(0 0 10px rgba(255,236,210,.28));mix-blend-mode:screen;clip-path:polygon(-34% 0,-12% 0,-52% 100%,-74% 100%);animation:aegisShineSweep 1.02s cubic-bezier(.4,0,.2,1) 2.25s forwards}
.aegis-intro__glow{position:absolute;inset:19% 16%;border-radius:50%;background:radial-gradient(circle,rgba(231,180,126,.17),rgba(201,144,93,.04) 45%,transparent 70%);opacity:0;transform:scale(.72);filter:blur(20px);animation:aegisLogoGlow .9s ease 2.05s forwards}
@keyframes aegisShieldDraw{0%{stroke-dashoffset:1;opacity:.1}35%{opacity:1}100%{stroke-dashoffset:0;opacity:1}}
@keyframes aegisShieldDim{to{opacity:.22;filter:drop-shadow(0 0 2px rgba(231,180,126,.08))}}
@keyframes aegisLogoReveal{0%{opacity:0;clip-path:inset(100% 0 0 0);transform:scale(.965)}18%{opacity:1}100%{opacity:1;clip-path:inset(0 0 0 0);transform:scale(1)}}
@keyframes aegisShineSweep{0%{clip-path:polygon(-34% 0,-12% 0,-52% 100%,-74% 100%);opacity:0}16%{opacity:.92}84%{opacity:.82}100%{clip-path:polygon(174% 0,196% 0,156% 100%,134% 100%);opacity:0}}
@keyframes aegisLogoGlow{0%{opacity:0;transform:scale(.72)}55%{opacity:1}100%{opacity:.38;transform:scale(1.08)}}
@keyframes aegisIntroAmbient{to{opacity:1}}

.aegis-hero{position:relative;min-height:100svh;display:flex;align-items:flex-end;overflow:hidden;background:#080808}
.aegis-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 48%,rgba(201,144,93,.13),transparent 30%),linear-gradient(90deg,rgba(3,3,3,.96) 0%,rgba(3,3,3,.62) 43%,rgba(3,3,3,.26) 70%,rgba(3,3,3,.55) 100%);z-index:1}
.aegis-hero::after{content:"";position:absolute;inset:auto 0 0;height:34%;background:linear-gradient(transparent,var(--aegis-black));z-index:1}
.aegis-hero__media{position:absolute;inset:0;z-index:0;background:linear-gradient(120deg,#090909,#16120f 55%,#060606);transform:scale(1.04);transition:transform .2s linear}
.aegis-hero__media::before{content:"";position:absolute;inset:8% 4% 0 42%;border:1px solid rgba(201,144,93,.22);background:linear-gradient(140deg,rgba(255,255,255,.04),rgba(201,144,93,.02));box-shadow:0 0 90px rgba(201,144,93,.06)}
.aegis-hero__content{position:relative;z-index:2;width:100%;max-width:1440px;margin:0 auto;padding:170px 5vw 11vh}
.aegis-kicker{font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--aegis-copper-light);margin:0 0 24px}
.aegis-display{font-family:var(--efas-font);font-size:clamp(3.8rem,8vw,8rem);line-height:.9;letter-spacing:-.045em;max-width:850px;margin:0 0 34px}
.aegis-lead{max-width:560px;color:#c9c2b8;font-size:clamp(1rem,1.3vw,1.18rem);margin-bottom:34px}
.aegis-scrollcue{position:absolute;right:5vw;bottom:6vh;z-index:3;font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:#a69e94;writing-mode:vertical-rl}
.aegis-scrollcue::after{content:"";display:inline-block;width:1px;height:70px;background:linear-gradient(var(--aegis-copper),transparent);margin-top:18px}

.aegis-section{padding:110px 5vw;border-top:1px solid rgba(255,255,255,.055)}
.aegis-section__inner{max-width:1340px;margin:0 auto}
.aegis-eyebrow{font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;color:var(--aegis-copper);margin-bottom:18px}
.aegis-heading{font-family:var(--efas-font);font-size:clamp(2.3rem,4.6vw,5.2rem);line-height:1;letter-spacing:-.025em;max-width:950px;margin:0 0 36px}
.aegis-copy{max-width:720px;color:var(--aegis-muted);font-size:1.05rem}
.aegis-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.07);margin-top:56px}
.aegis-card{background:var(--aegis-black);padding:34px;min-height:260px;position:relative;overflow:hidden;transition:background .35s ease,transform .35s ease}
.aegis-card:hover{background:#0d0b09;transform:translateY(-4px)}
.aegis-card::before{content:"";position:absolute;left:0;right:100%;top:0;height:1px;background:var(--aegis-copper-light);transition:right .5s ease}
.aegis-card:hover::before{right:0}
.aegis-card__num{font-size:.68rem;letter-spacing:.18em;color:var(--aegis-copper);margin-bottom:72px}
.aegis-card h3{font-family:var(--efas-font);font-weight:400;font-size:1.6rem;margin:0 0 12px}
.aegis-card p{color:var(--aegis-muted);font-size:.94rem}

.aegis-darkband{background:linear-gradient(135deg,#0e0b09,#080808 55%);position:relative;overflow:hidden}
.aegis-darkband::after{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(201,144,93,.15);border-radius:50%;right:-180px;top:-170px;box-shadow:0 0 120px rgba(201,144,93,.05)}
.aegis-process{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:58px;border-top:1px solid var(--aegis-line)}
.aegis-step{padding:28px 36px 0 0;position:relative}
.aegis-step::before{content:"";position:absolute;width:8px;height:8px;border:1px solid var(--aegis-copper);background:var(--aegis-black);top:-5px;left:0;border-radius:50%}
.aegis-step small{color:var(--aegis-copper);letter-spacing:.18em}
.aegis-step h3{font-weight:400;font-size:1.18rem;margin:20px 0 10px}
.aegis-step p{color:var(--aegis-muted);font-size:.92rem}
.aegis-footer{padding:70px 5vw 35px;border-top:1px solid rgba(255,255,255,.08)}
.aegis-footer__inner{max-width:1340px;margin:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.aegis-footer img{width:76px;opacity:.9}.aegis-footer p{color:#807b74;font-size:.82rem}

.reveal{opacity:0;transform:translateY(28px);transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1)}
.reveal.is-visible{opacity:1;transform:none}

@media (max-width:960px){.aegis-nav{display:none}.aegis-grid,.aegis-process{grid-template-columns:1fr 1fr}.aegis-hero__media::before{inset:18% -12% 0 34%}.aegis-header-cta{margin-left:auto}}
@media (max-width:640px){.aegis-header{padding:16px 20px}.aegis-brand img{width:44px;height:44px}.aegis-header-cta .wp-block-button__link{padding:12px 14px;font-size:.62rem}.aegis-hero__content{padding:150px 24px 12vh}.aegis-display{font-size:clamp(3.2rem,16vw,5rem)}.aegis-scrollcue{display:none}.aegis-section{padding:82px 24px}.aegis-grid,.aegis-process{grid-template-columns:1fr}.aegis-card{min-height:220px}.aegis-footer__inner{align-items:flex-start;flex-direction:column}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

/* v0.5 — cinematic homepage hero */
.aegis-hero{min-height:100svh;align-items:center;isolation:isolate}
.aegis-hero__media{background-image:url('../images/hero-villa.jpg');background-size:cover;background-position:center center;transform:scale(1.075);will-change:transform;animation:aegisHeroBreath 16s ease-out both}
.aegis-hero__media::before{display:none}
.aegis-hero::before{background:linear-gradient(90deg,rgba(2,2,2,.97) 0%,rgba(2,2,2,.90) 24%,rgba(2,2,2,.60) 48%,rgba(2,2,2,.16) 72%,rgba(2,2,2,.20) 100%),linear-gradient(0deg,rgba(3,3,3,.50),transparent 42%),radial-gradient(circle at 68% 50%,rgba(201,144,93,.08),transparent 35%);z-index:1}
.aegis-hero::after{height:26%;background:linear-gradient(transparent,var(--aegis-black))}
.aegis-hero__grain{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E")}
.aegis-hero__content{z-index:3;padding:150px 5vw 10vh}
.aegis-kicker{margin-bottom:26px;text-shadow:0 2px 18px rgba(0,0,0,.5)}
.aegis-display{font-size:clamp(4rem,7.5vw,7.6rem);max-width:760px;margin-bottom:30px;text-wrap:balance;text-shadow:0 3px 35px rgba(0,0,0,.35)}
.aegis-lead{max-width:590px;font-size:clamp(1rem,1.25vw,1.15rem);line-height:1.75;color:#d7d0c7;margin:0 0 34px}
.aegis-lead span{color:#aaa39a}
.aegis-hero__actions{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.aegis-hero__actions .wp-block-buttons{margin:0}
.aegis-hero__actions .wp-block-button__link{min-width:190px;display:flex;align-items:center;justify-content:space-between;gap:24px;text-transform:uppercase;font-size:.68rem;letter-spacing:.15em}
.aegis-hero__actions .wp-block-button__link span{font-size:1rem;transition:transform .25s ease}
.aegis-hero__actions .wp-block-button__link:hover span{transform:translateX(4px)}
.aegis-hero__textlink{position:relative;color:#d5cec5;font-size:.69rem;letter-spacing:.15em;text-transform:uppercase;padding:12px 0}
.aegis-hero__textlink::after{content:"";position:absolute;left:0;right:100%;bottom:5px;height:1px;background:var(--aegis-copper);transition:right .35s ease}
.aegis-hero__textlink:hover{color:var(--aegis-copper-light)}.aegis-hero__textlink:hover::after{right:0}
.aegis-hero__trust{position:absolute;z-index:4;right:5vw;bottom:9vh;display:flex;flex-direction:column;align-items:flex-start;gap:15px;padding-left:22px;border-left:1px solid var(--aegis-line)}
.aegis-hero__trust span{font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:#b8b0a6}
.aegis-hero__trust span::before{content:"";display:inline-block;width:4px;height:4px;border:1px solid var(--aegis-copper);transform:rotate(45deg);margin:0 12px 1px 0}
.aegis-scrollcue{right:2vw;bottom:5vh;color:#8d867d;writing-mode:vertical-rl;display:flex;align-items:center;gap:14px}
.aegis-scrollcue::after{height:54px;margin:0}
@keyframes aegisHeroBreath{from{transform:scale(1.075)}to{transform:scale(1.025)}}
body:not(.aegis-loading) .aegis-hero .reveal{transition-delay:.18s}
body:not(.aegis-loading) .aegis-hero .aegis-display{transition-delay:.28s}
body:not(.aegis-loading) .aegis-hero .aegis-lead{transition-delay:.38s}
body:not(.aegis-loading) .aegis-hero .aegis-hero__actions{transition-delay:.48s}
body:not(.aegis-loading) .aegis-hero .aegis-hero__trust{transition-delay:.62s}
@media (max-width:960px){.aegis-hero__media{background-position:58% center}.aegis-hero::before{background:linear-gradient(90deg,rgba(2,2,2,.95),rgba(2,2,2,.70) 56%,rgba(2,2,2,.30)),linear-gradient(0deg,rgba(3,3,3,.55),transparent 45%)}.aegis-hero__trust{display:none}}
@media (max-width:640px){.aegis-hero{min-height:100svh}.aegis-hero__media{background-position:61% center;transform:scale(1.04)}.aegis-hero::before{background:linear-gradient(90deg,rgba(2,2,2,.94),rgba(2,2,2,.62)),linear-gradient(0deg,rgba(3,3,3,.70),transparent 55%)}.aegis-hero__content{padding:130px 24px 11vh}.aegis-display{font-size:clamp(3.5rem,17vw,5.2rem)}.aegis-lead br{display:none}.aegis-hero__actions{gap:18px;align-items:flex-start;flex-direction:column}.aegis-hero__textlink{margin-left:2px}}

/* v0.6 — hybrid service navigation */
.aegis-service-card{display:flex;flex-direction:column;color:var(--aegis-ivory);cursor:pointer}
.aegis-service-card__body{margin-top:auto}
.aegis-service-card__link{display:inline-flex;align-items:center;gap:12px;margin-top:24px;color:var(--aegis-copper-light);font-size:.64rem;letter-spacing:.17em;text-transform:uppercase;opacity:.82;transition:opacity .3s ease,gap .3s ease}
.aegis-service-card__link b{font-size:1rem;font-weight:400}
.aegis-service-card:hover .aegis-service-card__link{opacity:1;gap:18px}
.aegis-service-hero{position:relative;min-height:72svh;display:flex;align-items:flex-end;overflow:hidden;padding:170px 5vw 9vh;background:radial-gradient(circle at 78% 34%,rgba(201,144,93,.12),transparent 26%),linear-gradient(125deg,#11100f,#050505 58%)}
.aegis-service-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,3,3,.12),rgba(3,3,3,.68));pointer-events:none}
.aegis-service-hero__inner{position:relative;z-index:1;width:100%;max-width:1340px;margin:auto}
.aegis-service-hero__back{display:inline-block;margin-bottom:34px;color:#a9a198;font-size:.66rem;letter-spacing:.17em;text-transform:uppercase}
.aegis-service-hero__back:hover{color:var(--aegis-copper-light)}
.aegis-service-hero h1{font-family:var(--efas-font);font-size:clamp(3.7rem,7vw,7.4rem);font-weight:400;line-height:.94;letter-spacing:-.04em;max-width:940px;margin:0 0 28px}
.aegis-service-hero p{max-width:680px;color:#b9b1a7;font-size:1.08rem;line-height:1.75}
.aegis-service-detail{padding:105px 5vw}
.aegis-service-detail__inner{max-width:1340px;margin:auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.7fr);gap:9vw}
.aegis-service-detail h2{font-family:var(--efas-font);font-weight:400;font-size:clamp(2.4rem,4.5vw,4.8rem);line-height:1;margin:0 0 30px}
.aegis-service-detail p{color:var(--aegis-muted);line-height:1.8}
.aegis-service-points{border-top:1px solid var(--aegis-line)}
.aegis-service-point{padding:20px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:.75rem;letter-spacing:.13em;text-transform:uppercase;color:#d4ccc2}
@media(max-width:760px){.aegis-service-hero{min-height:62svh;padding:140px 24px 70px}.aegis-service-detail{padding:76px 24px}.aegis-service-detail__inner{grid-template-columns:1fr;gap:45px}}

/* v0.7 — Gutenberg-editable homepage compatibility */
.aegis-hero__content.wp-block-group,.aegis-section__inner.wp-block-group{max-width:1340px;width:100%}
.aegis-hero__content.wp-block-group{max-width:1440px}
.aegis-grid.wp-block-columns,.aegis-process.wp-block-columns{gap:1px;margin-bottom:0}
.aegis-grid>.wp-block-column,.aegis-process>.wp-block-column{margin:0}
.aegis-service-card__link a{color:inherit;text-decoration:none}
.aegis-hero__trust p{margin:0;font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:#b8b0a6}
.aegis-hero__trust p::before{content:"";display:inline-block;width:4px;height:4px;border:1px solid var(--aegis-copper);transform:rotate(45deg);margin:0 12px 1px 0}
.aegis-hero__actions>p{margin:0}
.editor-styles-wrapper .aegis-intro{display:none!important}
.editor-styles-wrapper .aegis-hero{min-height:760px}
.editor-styles-wrapper .reveal{opacity:1!important;transform:none!important}

/* v0.7.1 — editable Gutenberg imagery */
.aegis-hero.wp-block-cover{position:relative;min-height:100svh;overflow:hidden;padding:0;isolation:isolate}
.aegis-hero.wp-block-cover>.wp-block-cover__image-background{z-index:0;object-fit:cover;object-position:center center;transform:scale(1.075);will-change:transform;animation:aegisHeroBreath 16s ease-out both}
.aegis-hero.wp-block-cover>.wp-block-cover__background{z-index:1;background:transparent!important;opacity:1!important}
.aegis-hero.wp-block-cover::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(2,2,2,.97) 0%,rgba(2,2,2,.90) 24%,rgba(2,2,2,.60) 48%,rgba(2,2,2,.16) 72%,rgba(2,2,2,.20) 100%),linear-gradient(0deg,rgba(3,3,3,.50),transparent 42%),radial-gradient(circle at 68% 50%,rgba(201,144,93,.08),transparent 35%);pointer-events:none}
.aegis-hero.wp-block-cover::after{content:"";position:absolute;left:0;right:0;bottom:0;height:26%;z-index:2;background:linear-gradient(transparent,var(--aegis-black));pointer-events:none}
.aegis-hero.wp-block-cover>.wp-block-cover__inner-container{position:relative;z-index:3;width:100%;min-height:100svh}

.aegis-highrisk{max-width:1340px!important;width:100%;margin:0 auto!important;gap:clamp(42px,6vw,96px)!important;align-items:center}
.aegis-darkband::after{display:none}
.aegis-highrisk__media{display:flex;align-items:center;justify-content:center}
.aegis-highrisk__visual{position:relative;width:min(34vw,520px);aspect-ratio:1;margin:0!important;border-radius:50%;overflow:hidden;border:1px solid rgba(201,144,93,.28);box-shadow:0 0 100px rgba(201,144,93,.06)}
.aegis-highrisk__visual::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(241,192,141,.05),inset 0 0 90px rgba(0,0,0,.34);pointer-events:none}
.aegis-highrisk__visual img{width:100%!important;height:100%!important;display:block;object-fit:cover;border-radius:50%;transform:scale(1.025);transition:transform 1.1s cubic-bezier(.2,.7,.2,1),filter .5s ease;filter:saturate(.75) brightness(.72) contrast(1.06)}
.aegis-highrisk__visual:hover img{transform:scale(1.065);filter:saturate(.88) brightness(.78) contrast(1.04)}
.aegis-highrisk__copy .aegis-heading{max-width:960px}

/* Make both image blocks obvious and selectable in the Site Editor without changing front-end styling. */
.editor-styles-wrapper .aegis-hero.wp-block-cover>.wp-block-cover__image-background{animation:none!important;transform:none!important}
.editor-styles-wrapper .aegis-highrisk__visual{outline:1px dashed rgba(201,144,93,.38);outline-offset:5px}
.editor-styles-wrapper .aegis-highrisk__visual img{filter:none;transform:none}

@media (max-width:960px){
  .aegis-hero.wp-block-cover>.wp-block-cover__image-background{object-position:58% center}
  .aegis-hero.wp-block-cover::before{background:linear-gradient(90deg,rgba(2,2,2,.95),rgba(2,2,2,.70) 56%,rgba(2,2,2,.30)),linear-gradient(0deg,rgba(3,3,3,.55),transparent 45%)}
  .aegis-highrisk{gap:44px!important}
  .aegis-highrisk__visual{width:min(42vw,430px)}
}
@media (max-width:780px){
  .aegis-highrisk{flex-direction:column!important}
  .aegis-highrisk__media,.aegis-highrisk__copy{flex-basis:100%!important;width:100%}
  .aegis-highrisk__visual{width:min(82vw,430px)}
}
@media (max-width:640px){
  .aegis-hero.wp-block-cover>.wp-block-cover__image-background{object-position:61% center;transform:scale(1.04)}
  .aegis-hero.wp-block-cover::before{background:linear-gradient(90deg,rgba(2,2,2,.94),rgba(2,2,2,.62)),linear-gradient(0deg,rgba(3,3,3,.70),transparent 55%)}
}


/* v0.7.2 — restore the wider v0.6.3 composition while keeping Gutenberg editing. */
/* Gutenberg's constrained-layout rules can otherwise pull these sections back to theme.json contentSize. */
.aegis-hero .aegis-hero__content.wp-block-group{
  width:100%!important;
  max-width:1440px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:5vw!important;
  padding-right:5vw!important;
  box-sizing:border-box;
}
.aegis-section > .aegis-section__inner.wp-block-group,
.aegis-section .aegis-section__inner.wp-block-group{
  width:100%!important;
  max-width:1340px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box;
}
.aegis-section > .aegis-highrisk.wp-block-columns,
.aegis-section .aegis-highrisk.wp-block-columns{
  width:100%!important;
  max-width:1340px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box;
}
.aegis-grid.wp-block-columns,
.aegis-process.wp-block-columns{
  width:100%!important;
  max-width:none!important;
}
/* Keep headings broad and cinematic instead of inheriting Gutenberg's narrower content measure. */
.aegis-section__inner > .aegis-heading,
.aegis-highrisk__copy .aegis-heading{
  max-width:950px!important;
}
.aegis-section__inner > .aegis-copy,
.aegis-highrisk__copy .aegis-copy{
  max-width:850px!important;
}

@media (min-width:1500px){
  .aegis-hero .aegis-hero__content.wp-block-group{max-width:1520px!important}
  .aegis-section > .aegis-section__inner.wp-block-group,
  .aegis-section .aegis-section__inner.wp-block-group,
  .aegis-section > .aegis-highrisk.wp-block-columns,
  .aegis-section .aegis-highrisk.wp-block-columns{max-width:1420px!important}
}
@media (max-width:640px){
  .aegis-hero .aegis-hero__content.wp-block-group{padding-left:24px!important;padding-right:24px!important}
}

/* v0.7.4 — combined brand lock-up: original EFAS wordmark + existing falcon mark. */
.aegis-brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:16px;
  min-width:max-content;
}
.aegis-brand img{display:block;object-fit:contain}
.aegis-brand .aegis-brand__mark{
  width:54px;
  height:62px;
}
.aegis-brand .aegis-brand__wordmark{
  width:238px;
  height:auto;
}
@media (max-width:1180px){
  .aegis-header__inner{gap:22px}
  .aegis-brand{gap:12px}
  .aegis-brand .aegis-brand__mark{width:46px;height:54px}
  .aegis-brand .aegis-brand__wordmark{width:195px}
  .aegis-nav .wp-block-navigation-item__content{font-size:.66rem;letter-spacing:.11em}
  .aegis-header-cta .wp-block-button__link{padding:13px 16px}
}
@media (max-width:900px){
  .aegis-brand .aegis-brand__wordmark{width:175px}
}
@media (max-width:640px){
  .aegis-header{padding:16px 20px}
  .aegis-brand{gap:10px}
  .aegis-brand .aegis-brand__mark{width:38px;height:44px}
  .aegis-brand .aegis-brand__wordmark{width:138px}
  .aegis-header-cta{display:none!important}
}


/* v0.7.5 — unified wide page grid + fully clickable service cards. */
:root{
  --aegis-shell-max:1420px;
  --aegis-shell-gutter:clamp(24px,4vw,72px);
}

/* One visual grid line across header, hero, sections, service pages and footer. */
.aegis-header{
  padding-left:0!important;
  padding-right:0!important;
}
.aegis-header__inner,
.aegis-hero .aegis-hero__content.wp-block-group,
.aegis-section > .aegis-section__inner.wp-block-group,
.aegis-section .aegis-section__inner.wp-block-group,
.aegis-section > .aegis-highrisk.wp-block-columns,
.aegis-section .aegis-highrisk.wp-block-columns,
.aegis-footer__inner,
.aegis-service-hero__inner,
.aegis-service-detail__inner{
  width:min(var(--aegis-shell-max),calc(100% - (2 * var(--aegis-shell-gutter))))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box;
}

.aegis-hero .aegis-hero__content.wp-block-group{
  padding-left:0!important;
  padding-right:0!important;
}
.aegis-section,
.aegis-footer,
.aegis-service-detail{
  padding-left:0!important;
  padding-right:0!important;
}
.aegis-service-hero{
  padding-left:0!important;
  padding-right:0!important;
}

/* Keep the right-side hero trust labels on the same right grid line. */
.aegis-hero__trust{
  right:max(var(--aegis-shell-gutter),calc((100vw - var(--aegis-shell-max))/2))!important;
}

/* The whole service tile is now the hit area, while the visible text link stays intact. */
.aegis-service-card{
  position:relative;
  cursor:pointer;
  transition:background .35s ease,transform .35s ease,box-shadow .35s ease;
}
.aegis-service-card__link a{
  position:relative;
  z-index:2;
}
.aegis-service-card__link a::after{
  content:"";
  position:absolute;
  z-index:10;
  inset:auto;
  /* Expand from the anchor to the complete positioned service card. */
  width:100%;
  height:100%;
  top:0;
  left:0;
}
/* The pseudo-element needs the card as containing block rather than the link itself. */
.aegis-service-card__link{position:static!important}
.aegis-service-card__link a{position:static!important}
.aegis-service-card__link a::after{position:absolute!important;inset:0!important;width:auto!important;height:auto!important}
.aegis-service-card:hover{
  background:#0f0c0a;
  transform:translateY(-5px);
  box-shadow:0 16px 45px rgba(0,0,0,.24),inset 0 0 0 1px rgba(201,144,93,.12);
}
.aegis-service-card:hover .aegis-service-card__link a{
  color:var(--aegis-copper-light);
}

/* Make the same grid visible while editing, without forcing a narrow Gutenberg contentSize. */
.editor-styles-wrapper .aegis-header__inner,
.editor-styles-wrapper .aegis-hero .aegis-hero__content.wp-block-group,
.editor-styles-wrapper .aegis-section > .aegis-section__inner.wp-block-group,
.editor-styles-wrapper .aegis-section .aegis-section__inner.wp-block-group,
.editor-styles-wrapper .aegis-section .aegis-highrisk.wp-block-columns{
  width:min(var(--aegis-shell-max),calc(100% - (2 * var(--aegis-shell-gutter))))!important;
}

@media (max-width:640px){
  :root{--aegis-shell-gutter:24px}
  .aegis-header{padding-top:16px!important;padding-bottom:16px!important}
  .aegis-hero .aegis-hero__content.wp-block-group{padding-left:0!important;padding-right:0!important}
  .aegis-section{padding-left:0!important;padding-right:0!important}
}

/* v0.7.6 — mobile hardening + truly fullscreen intro. */
html,body{max-width:100%;overflow-x:clip}

/* The intro must cover WordPress' admin bar, iOS safe areas and dynamic mobile viewport. */
.aegis-intro{
  position:fixed!important;
  inset:-2px!important;
  width:calc(100vw + 4px)!important;
  height:calc(100dvh + 4px)!important;
  min-height:calc(100dvh + 4px)!important;
  z-index:2147483647!important;
  background:#030303!important;
  box-shadow:0 0 0 100vmax #030303;
  padding-top:env(safe-area-inset-top);
  padding-right:env(safe-area-inset-right);
  padding-bottom:env(safe-area-inset-bottom);
  padding-left:env(safe-area-inset-left);
}
html.aegis-intro-active,
html.aegis-intro-active body{
  margin-top:0!important;
  background:#030303!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
html.aegis-intro-active #wpadminbar,
html.aegis-intro-active .aegis-header{
  visibility:hidden!important;
}
html.aegis-intro-active .aegis-intro{visibility:visible!important}

@media (max-width:767px){
  :root{--aegis-shell-gutter:20px}

  /* Header: compact, no collisions. */
  .aegis-header{padding:12px 0!important}
  .aegis-header__inner{
    width:calc(100% - 32px)!important;
    min-height:48px;
    gap:10px!important;
  }
  .aegis-brand{gap:8px!important;min-width:0!important;max-width:calc(100vw - 32px)}
  .aegis-brand .aegis-brand__mark{width:34px!important;height:40px!important;flex:0 0 auto}
  .aegis-brand .aegis-brand__wordmark{width:min(124px,36vw)!important;height:auto!important;min-width:0}
  .aegis-header-cta{display:none!important}
  .aegis-nav{display:flex!important;margin-left:auto!important;flex:0 0 auto!important}

  /* Hero: one predictable column, no inherited Gutenberg width or flex surprises. */
  .aegis-hero.wp-block-cover,
  .aegis-hero.wp-block-cover>.wp-block-cover__inner-container{min-height:100dvh!important}
  .aegis-hero.wp-block-cover>.wp-block-cover__image-background{
    object-position:60% center!important;
    transform:scale(1.035)!important;
  }
  .aegis-hero.wp-block-cover::before{
    background:linear-gradient(90deg,rgba(2,2,2,.95) 0%,rgba(2,2,2,.78) 58%,rgba(2,2,2,.48) 100%),linear-gradient(0deg,rgba(3,3,3,.76),transparent 58%)!important;
  }
  .aegis-hero .aegis-hero__content.wp-block-group{
    width:calc(100% - 40px)!important;
    min-height:100dvh;
    margin:0 auto!important;
    padding:112px 0 54px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:flex-start!important;
  }
  .aegis-kicker{
    width:100%;
    margin:0 0 18px!important;
    font-size:.62rem!important;
    line-height:1.5!important;
    letter-spacing:.21em!important;
  }
  .aegis-display{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 24px!important;
    font-size:clamp(3rem,14.5vw,4.6rem)!important;
    line-height:.9!important;
    letter-spacing:-.045em!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .aegis-lead{
    width:100%!important;
    max-width:34rem!important;
    margin:0 0 28px!important;
    font-size:.96rem!important;
    line-height:1.65!important;
  }
  .aegis-lead br{display:none!important}
  .aegis-hero__actions{
    width:100%;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:16px!important;
  }
  .aegis-hero__actions .wp-block-buttons{margin:0!important}
  .aegis-hero__actions .wp-block-button__link{padding:14px 18px!important;font-size:.68rem!important}
  .aegis-hero__textlink{margin:0!important;font-size:.68rem!important}
  .aegis-hero__trust,.aegis-scrollcue{display:none!important}

  /* Sections all use the same mobile grid and stack cleanly. */
  .aegis-section{padding:70px 0!important}
  .aegis-section > .aegis-section__inner.wp-block-group,
  .aegis-section .aegis-section__inner.wp-block-group,
  .aegis-section > .aegis-highrisk.wp-block-columns,
  .aegis-section .aegis-highrisk.wp-block-columns{
    width:calc(100% - 40px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .aegis-heading{
    max-width:100%!important;
    font-size:clamp(2.35rem,11.5vw,3.75rem)!important;
    line-height:.96!important;
    letter-spacing:-.035em!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .aegis-copy{max-width:100%!important;font-size:.98rem!important;line-height:1.65!important}

  .wp-block-columns.aegis-grid,
  .wp-block-columns.aegis-process{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:1px!important;
    width:100%!important;
  }
  .aegis-grid{margin-top:38px!important}
  .aegis-card{
    width:100%!important;
    min-width:0!important;
    min-height:205px!important;
    padding:28px!important;
    transform:none!important;
  }
  .aegis-card__num{margin-bottom:42px!important}
  .aegis-card h3{font-size:1.45rem!important}
  .aegis-card:hover{transform:none!important}

  .wp-block-columns.aegis-highrisk{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:42px!important;
  }
  .aegis-highrisk__media,
  .aegis-highrisk__copy{
    width:100%!important;
    max-width:100%!important;
    flex:0 0 auto!important;
    flex-basis:auto!important;
  }
  .aegis-highrisk__media{justify-content:flex-start!important}
  .aegis-highrisk__visual{width:min(84vw,360px)!important;max-width:100%!important;margin:0!important}
  .aegis-highrisk__copy .aegis-heading,
  .aegis-highrisk__copy .aegis-copy{max-width:100%!important}

  .aegis-process{margin-top:42px!important}
  .aegis-step{width:100%!important;min-width:0!important;padding:26px 0 8px!important}

  .aegis-footer{padding:52px 0 28px!important}
  .aegis-footer__inner{width:calc(100% - 40px)!important;flex-direction:column!important;align-items:flex-start!important;gap:28px!important}

  /* Intro mark stays comfortably inside small screens. */
  .aegis-intro__stage{width:min(68vw,260px)!important;max-height:66dvh}
}

@media (max-width:380px){
  .aegis-display{font-size:clamp(2.75rem,14vw,3.6rem)!important}
  .aegis-heading{font-size:clamp(2.1rem,10.8vw,3rem)!important}
  .aegis-hero .aegis-hero__content.wp-block-group{padding-top:96px!important}
}

/* v0.7.7 mobile navigation restored */
@media (max-width:767px){
.aegis-header{z-index:1000!important;background:rgba(5,5,5,.86)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.aegis-header__inner{justify-content:space-between!important}
.aegis-nav{display:flex!important;width:auto!important;min-width:44px!important;margin-left:auto!important;justify-content:flex-end!important}
.aegis-nav .wp-block-navigation__responsive-container-open{display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;padding:0!important;margin:0!important;color:#f5f1eb!important;background:transparent!important;border:1px solid rgba(255,255,255,.14)!important}
.aegis-nav .wp-block-navigation__responsive-container-open svg{width:22px!important;height:22px!important;fill:currentColor!important}
.aegis-nav .wp-block-navigation__container{display:none!important}
.aegis-nav .wp-block-navigation__responsive-container.is-menu-open{display:flex!important;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;padding:calc(28px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom))!important;background:#050505!important;color:#f5f1eb!important;z-index:2147483000!important}
.aegis-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:flex-start!important;justify-content:center!important;padding-top:72px!important}
.aegis-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:22px!important}
.aegis-nav .wp-block-navigation__responsive-container.is-menu-open a{font-size:1.25rem!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#f5f1eb!important}
.aegis-nav .wp-block-navigation__responsive-container-close{color:#f5f1eb!important;top:calc(18px + env(safe-area-inset-top))!important;right:20px!important}
html.aegis-intro-active .aegis-header{visibility:hidden!important}
}

/* EFAS 0.7.8: unified wordmark, no intro */
.aegis-brand .aegis-brand__wordmark{width:clamp(170px,19vw,285px)!important;height:auto!important;max-width:100%!important}
@media(max-width:700px){.aegis-brand .aegis-brand__wordmark{width:min(175px,43vw)!important}}
.aegis-footer img[src*="efas-logo.png"]{width:240px;max-width:80%;height:auto;object-fit:contain}

/* EFAS cinematic wordmark intro */
.efas-intro{background:#030303!important;isolation:isolate}
.efas-intro::before{content:"";position:absolute;inset:-15%;background:radial-gradient(ellipse at center,rgba(187,159,96,.13),transparent 55%);opacity:0;animation:efasAmbient 2.8s ease .2s forwards}
.efas-intro__stage{position:relative;width:min(82vw,950px);padding:28px 0;overflow:hidden;filter:drop-shadow(0 0 15px rgba(193,165,104,.07))}
.efas-intro__logo{position:relative;opacity:0;transform:translateY(16px) scale(.965);clip-path:inset(0 100% 0 0);animation:efasReveal 1.8s cubic-bezier(.22,1,.36,1) .35s forwards}
.efas-intro__image{display:block;width:100%;height:auto;object-fit:contain}
.efas-intro__light{position:absolute;inset:0;pointer-events:none;background:linear-gradient(108deg,transparent 33%,rgba(255,235,187,.03) 43%,rgba(255,236,194,.38) 49%,rgba(255,255,255,.18) 51%,transparent 59%);mix-blend-mode:screen;transform:translateX(-160%);animation:efasSweep 1.2s ease-in-out 1.85s forwards}
.efas-intro.is-exiting .efas-intro__stage{transform:scale(1.025);transition:transform .8s ease}
@keyframes efasReveal{0%{opacity:0;clip-path:inset(0 100% 0 0);transform:translateY(16px) scale(.965)}15%{opacity:1}100%{opacity:1;clip-path:inset(0 0 0 0);transform:none}}
@keyframes efasSweep{to{transform:translateX(160%)}}
@keyframes efasAmbient{to{opacity:1}}
@media(max-width:700px){.efas-intro__stage{width:90vw;padding:12px 0}}
@media(prefers-reduced-motion:reduce){.efas-intro__logo{opacity:1;transform:none;clip-path:none;animation:none}.efas-intro__light{display:none}}

/* EFAS 0.8.0: individual letter outline-tracing animation */
.efas-intro__stage{width:min(90vw,1100px);overflow:visible}
.efas-trace{display:block;width:100%;height:auto;overflow:visible}
.efas-trace__stroke{stroke-dasharray:100;stroke-dashoffset:100;opacity:0;animation:efasTraceLetter 1.2s cubic-bezier(.35,.05,.2,1) var(--letter-delay) forwards,efasStrokeFade .55s ease 3.85s forwards;filter:drop-shadow(0 0 5px rgba(211,182,116,.55))}
.efas-trace__fill{opacity:0;animation:efasFill 1.1s ease 3.15s forwards}
.efas-intro__light{animation:efasSweep 1.1s ease-in-out 4.2s forwards}
@keyframes efasTraceLetter{0%{stroke-dashoffset:100;opacity:1}100%{stroke-dashoffset:0;opacity:1}}
@keyframes efasStrokeFade{to{opacity:0}}
@keyframes efasFill{to{opacity:1}}
@media(prefers-reduced-motion:reduce){.efas-trace__stroke{display:none}.efas-trace__fill{opacity:1;animation:none}}

/* 0.8.1: intro must never block navigation when scripts fail */
.aegis-intro.efas-intro{animation:efasFailsafeDismiss .6s ease 7.4s forwards!important}
@keyframes efasFailsafeDismiss{to{opacity:0;visibility:hidden;pointer-events:none}}
.aegis-intro__shield,.aegis-intro__logo-wrap,.aegis-intro__mark,.aegis-intro__shine-mark{display:none!important}

/* EFAS 0.8.2: independent, resilient intro; old active-state overrides removed */
html.aegis-intro-active .aegis-intro.efas-intro{visibility:visible}
.efas-intro__fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;animation:efasFallbackReveal 1s ease 3.2s forwards;pointer-events:none}
@keyframes efasFallbackReveal{to{opacity:1}}
/* CSS-only safety exit with higher specificity than legacy !important visibility */
html.aegis-intro-active .aegis-intro.efas-intro,
html:not(.aegis-intro-active) .aegis-intro.efas-intro{animation:efasGuaranteedExit .6s ease 6.4s forwards!important}
@keyframes efasGuaranteedExit{99%{opacity:0;visibility:visible}100%{opacity:0;visibility:hidden;pointer-events:none;display:none}}
@media(prefers-reduced-motion:reduce){html .aegis-intro.efas-intro{display:none!important}}

/* EFAS v0.8.3 — clean, isolated intro. No old AEGIS intro class is used. */
.efas-opening{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;background:#030303;overflow:hidden;opacity:1;visibility:visible;pointer-events:auto;animation:efasOpeningFailsafe .01s linear 7.5s forwards}
.efas-opening__stage{position:relative;width:min(92vw,1100px);aspect-ratio:5/1}
.efas-opening__svg,.efas-opening__logo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.efas-opening__stroke{stroke-dasharray:100;stroke-dashoffset:100;opacity:0;animation:efasOpeningDraw 1.25s ease var(--letter-delay) forwards,efasOpeningStrokeOut .6s ease 3.6s forwards;filter:drop-shadow(0 0 3px rgba(201,169,109,.4))}
.efas-opening__logo{opacity:0;animation:efasOpeningLogo 1.05s ease 3.2s forwards}
.efas-opening__shine{position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 38%,rgba(255,227,163,.02) 44%,rgba(255,227,163,.18) 50%,transparent 56%);transform:translateX(-145%);mix-blend-mode:screen;animation:efasOpeningShine .85s ease 4s forwards}
.efas-opening--exit{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .7s ease,visibility .7s ease}
@keyframes efasOpeningDraw{0%{stroke-dashoffset:100;opacity:1}100%{stroke-dashoffset:0;opacity:1}}
@keyframes efasOpeningStrokeOut{to{opacity:0}}
@keyframes efasOpeningLogo{to{opacity:1}}
@keyframes efasOpeningShine{to{transform:translateX(145%)}}
@keyframes efasOpeningFailsafe{to{opacity:0;visibility:hidden;pointer-events:none}}
@media(prefers-reduced-motion:reduce){.efas-opening{display:none!important}}

/* v0.8.4: force-hide the old shield, even if a customized WP template contains it. */
html body .aegis-intro,html .aegis-intro{display:none!important;visibility:hidden!important;pointer-events:none!important}
html.aegis-intro-active,html.aegis-intro-active body,body.aegis-loading{overflow:auto!important}
html.aegis-intro-active .aegis-header{visibility:visible!important}

/* v0.8.5: remove post-animation sweep */
.efas-opening__shine,.efas-intro__light,.aegis-intro__shine-mark{display:none!important;animation:none!important}

/* EFAS v0.8.6: Each complete letter shape appears as the drawing line travels.
   No outline-first / fill-later stage. */
.efas-opening__stroke{
  fill-opacity:1!important;stroke:none!important;stroke-dasharray:none!important;
  opacity:0;clip-path:inset(0 100% 0 0);
  animation:efasSolidLetter 1.25s cubic-bezier(.4,0,.2,1) var(--letter-delay) both!important;
  filter:none!important;
}
@keyframes efasSolidLetter{
  0%{opacity:1;clip-path:inset(0 100% 0 0)}
  100%{opacity:1;clip-path:inset(0 0 0 0)}
}
/* Original logo is only used for a seamless final fidelity overlay. */
.efas-opening__logo{animation:efasOpeningLogo .3s ease 3.55s forwards!important}

/* EFAS 0.8.7 — true thick centerline drawing, masked by the original glyph shapes. */
.efas-opening__stroke{opacity:1!important;clip-path:none!important;animation:none!important;fill-opacity:1!important;filter:none!important}
.efas-centerline{stroke-dasharray:100;stroke-dashoffset:100;animation:efasCenterDraw 1.2s cubic-bezier(.38,.05,.23,1) var(--letter-delay) forwards}
@keyframes efasCenterDraw{to{stroke-dashoffset:0}}
.efas-opening__logo{animation:efasOpeningLogo .35s ease 3.55s forwards!important}
@media(prefers-reduced-motion:reduce){.efas-centerline{animation:none;stroke-dashoffset:0}}

/* 0.8.8: draw exact logo pixels, then fly toward the header. */
.efas-opening__stroke{opacity:1!important;animation:none!important;clip-path:none!important;filter:none!important}
.efas-opening__logo{opacity:0!important;animation:none!important;pointer-events:none}
.efas-opening__stage{transform-origin:center center;will-change:transform}
.efas-opening--flight{background:transparent!important;transition:background .5s ease;pointer-events:none}
.efas-opening--flight .efas-opening__stage{transition:transform 1.15s cubic-bezier(.45,0,.18,1)}
.efas-opening--flight .efas-opening__logo{opacity:1!important}
.efas-opening--flight .efas-opening__svg{opacity:0;transition:opacity .12s linear}
@media(prefers-reduced-motion:reduce){.efas-opening{display:none!important}}

/* v0.8.9 — overlapping service navigation beneath the hero */
.aegis-services-overlap.aegis-section{position:relative;z-index:5;border-top:0;padding-top:0!important;overflow:visible}
.aegis-services-overlap>.aegis-section__inner{position:relative}
.aegis-services-overlap .aegis-grid.wp-block-columns{position:relative;z-index:6;margin-top:-50px!important;margin-bottom:95px!important;overflow:visible;align-items:stretch}
.aegis-services-overlap .aegis-service-card{min-width:0;min-height:245px;overflow:visible;background:#191919;transform:translateY(0);transition:transform .4s cubic-bezier(.2,.75,.2,1),background .4s ease,box-shadow .4s ease}
.aegis-services-overlap .aegis-service-card:nth-child(even){background:#242424}
.aegis-services-overlap .aegis-service-card:hover,.aegis-services-overlap .aegis-service-card:focus-within{transform:translateY(-35px);background:#27221e;box-shadow:0 24px 45px rgba(0,0,0,.36)}
.aegis-services-overlap .aegis-service-card::before{height:2px;z-index:1}
.aegis-services-overlap .aegis-service-card__link a:focus-visible{outline:2px solid var(--aegis-copper-light);outline-offset:6px}
.aegis-services-overlap .aegis-service-card .aegis-card__num{margin-bottom:38px}
.aegis-services-overlap .aegis-service-card>p:not(.aegis-card__num):not(.aegis-service-card__link){opacity:.75;transform:translateY(0);transition:opacity .4s ease,transform .4s ease}
.aegis-services-overlap .aegis-service-card:hover>p:not(.aegis-card__num):not(.aegis-service-card__link),.aegis-services-overlap .aegis-service-card:focus-within>p:not(.aegis-card__num):not(.aegis-service-card__link){opacity:1;transform:translateY(-3px)}
@media(max-width:960px){.aegis-services-overlap .aegis-grid.wp-block-columns{margin-bottom:75px!important}.aegis-services-overlap .aegis-service-card{min-height:225px}}
@media(max-width:640px){.aegis-services-overlap.aegis-section{padding-top:0!important}.aegis-services-overlap .aegis-grid.wp-block-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:1px!important;margin-top:-38px!important;margin-bottom:60px!important}.aegis-services-overlap .aegis-grid>.wp-block-column{min-width:0!important;flex-basis:auto!important}.aegis-services-overlap .aegis-service-card{padding:20px 14px!important;min-height:195px!important}.aegis-services-overlap .aegis-service-card .aegis-card__num{margin-bottom:24px!important}.aegis-services-overlap .aegis-service-card h3{font-size:clamp(.98rem,4vw,1.3rem)!important;overflow-wrap:anywhere}.aegis-services-overlap .aegis-service-card p{font-size:.75rem}.aegis-services-overlap .aegis-service-card:hover,.aegis-services-overlap .aegis-service-card:focus-within{transform:translateY(-12px)!important}}
@media(hover:none){.aegis-services-overlap .aegis-service-card:hover{transform:none;box-shadow:none}.aegis-services-overlap .aegis-service-card:focus-within{transform:translateY(-10px)}}
@media(prefers-reduced-motion:reduce){.aegis-services-overlap .aegis-service-card{transition:none!important}}

/* v0.8.10 — full-bleed services, visibly overlapping the hero */
body.home .aegis-services-overlap.aegis-section,
body.front-page .aegis-services-overlap.aegis-section,
.aegis-services-overlap.aegis-section{
  margin-top:-155px!important;
  padding-top:0!important;
  position:relative!important;
  z-index:10!important;
  overflow:visible!important;
  border-top:0!important;
}
.aegis-services-overlap .aegis-grid.wp-block-columns{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  margin-top:0!important;
  margin-bottom:100px!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:2px!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
}
.aegis-services-overlap .aegis-grid.wp-block-columns > .wp-block-column{
  flex:initial!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}
.aegis-services-overlap .aegis-service-card{
  min-height:250px!important;
  padding:32px clamp(18px,2.6vw,48px)!important;
}
@media(max-width:800px){
  .aegis-services-overlap.aegis-section{margin-top:-105px!important}
  .aegis-services-overlap .aegis-grid.wp-block-columns{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    margin-bottom:70px!important;
  }
}
@media(max-width:480px){
  .aegis-services-overlap.aegis-section{margin-top:-80px!important}
  .aegis-services-overlap .aegis-grid.wp-block-columns{margin-bottom:55px!important}
  .aegis-services-overlap .aegis-service-card{min-height:205px!important;padding:20px 14px!important}
}

/* v0.8.11: service navigation visible on the first desktop viewport.
   Hero height, rather than overlap alone, is the source of the prior issue. */
@media(min-width:801px){
  body .aegis-hero.wp-block-cover{
    height:calc(100svh - 190px)!important;
    min-height:480px!important;
    max-height:none!important;
  }
  body .aegis-hero.wp-block-cover>.wp-block-cover__inner-container{
    height:100%!important;
    min-height:0!important;
  }
  body .aegis-services-overlap.aegis-section{margin-top:-155px!important}
  body .aegis-services-overlap .aegis-service-card{min-height:215px!important;padding-top:24px!important;padding-bottom:24px!important}
  body .aegis-services-overlap .aegis-service-card .aegis-card__num{margin-bottom:15px!important}
}
@media(min-width:801px) and (max-height:650px){
  body .aegis-hero.wp-block-cover{height:calc(100svh - 165px)!important;min-height:390px!important}
  body .aegis-services-overlap.aegis-section{margin-top:-145px!important}
  body .aegis-services-overlap .aegis-service-card{min-height:185px!important;padding-top:16px!important;padding-bottom:16px!important}
}
/* Keep tablet and mobile hero heights comfortable and the cards readable. */
@media(max-width:800px){
  body .aegis-hero.wp-block-cover{min-height:68svh!important;height:auto!important}
  body .aegis-hero.wp-block-cover>.wp-block-cover__inner-container{min-height:68svh!important}
}

/* v0.8.12: service dock is a direct sibling of the hero, independent of Gutenberg layout. */
body .aegis-hero.wp-block-cover{
  min-height:0!important;
  height:calc(100svh - 85px)!important;
  max-height:none!important;
}
body .aegis-hero.wp-block-cover>.wp-block-cover__inner-container{
  min-height:0!important;
  height:100%!important;
}
body .efas-service-dock{
  position:relative!important;
  z-index:12!important;
  width:100%!important;
  max-width:none!important;
  margin:-170px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body .efas-service-dock>.aegis-grid.wp-block-columns{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  gap:2px!important;
  align-items:stretch!important;
}
body .efas-service-dock .wp-block-column{min-width:0!important;min-height:0!important;margin:0!important;flex:initial!important}
body .efas-service-dock .aegis-service-card{
  box-sizing:border-box!important;
  min-height:220px!important;
  padding:24px clamp(15px,2vw,36px)!important;
  background:#1b1b1b;
  transition:transform .4s cubic-bezier(.2,.75,.2,1),background .4s ease,box-shadow .4s ease!important;
}
body .efas-service-dock .aegis-service-card:nth-child(even){background:#252525}
body .efas-service-dock .aegis-service-card:hover,
body .efas-service-dock .aegis-service-card:focus-within{
  transform:translateY(-35px)!important;
  background:#302821!important;
  box-shadow:0 20px 42px #0008;
}
body .efas-service-dock .aegis-service-card .aegis-card__num{margin-bottom:12px!important}
@media(max-width:800px){
  body .aegis-hero.wp-block-cover{height:78svh!important;min-height:420px!important}
  body .efas-service-dock{margin-top:-90px!important}
  body .efas-service-dock>.aegis-grid.wp-block-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .efas-service-dock .aegis-service-card{min-height:190px!important;padding:20px 15px!important}
}
@media(max-width:480px){body .efas-service-dock{margin-top:-65px!important}}
@media(prefers-reduced-motion:reduce){body .efas-service-dock .aegis-service-card{transition:none!important}}

/* v0.8.14: extend tiles down, preserving their top edge and hover. */
@media(min-width:801px){body .efas-service-dock .aegis-service-card,body .aegis-services-overlap .aegis-service-card{min-height:360px!important;height:auto!important;padding-top:32px!important;padding-bottom:38px!important}}
@media(max-width:800px){body .efas-service-dock .aegis-service-card,body .aegis-services-overlap .aegis-service-card{min-height:290px!important;height:auto!important;padding-bottom:28px!important}}

/* EFAS v0.8.15: one coherent geometric type system */
:root{--efas-font:"Poppins",Arial,sans-serif}
html,body,button,input,select,textarea,.wp-site-blocks,.wp-block{font-family:var(--efas-font)!important}
body :is(h1,h2,h3,h4,h5,h6,.wp-block-heading,.aegis-service-card h3,.aegis-service-card h2),
body :is(h1,h2,h3,h4,h5,h6,.wp-block-heading) :is(strong,b){font-family:var(--efas-font)!important;font-weight:800!important;letter-spacing:-.025em}
body h1{font-weight:900!important;line-height:1.09!important;letter-spacing:-.035em!important}
body :is(p,li,blockquote,figcaption,.wp-block-paragraph){font-family:var(--efas-font)!important;font-weight:300;letter-spacing:0}
body :is(a,button,.wp-block-button__link,.aegis-nav){font-family:var(--efas-font)!important}
body :is(.aegis-nav a,.wp-block-navigation-item__content,.wp-block-button__link){font-weight:600!important}
body :is(p,li) strong{font-weight:700}

/* EFAS v0.8.16: enforce the same Poppins family across every visible text element,
   including Gutenberg blocks, old serif selectors and custom service pages. */
:root { --efas-font: 'Poppins', Arial, sans-serif; }
html body, html body .wp-site-blocks, html body .wp-site-blocks *,
html body .aegis-site, html body .aegis-site *,
html body .aegis-service-hero *, html body .aegis-service-detail *,
html body .aegis-card *, html body .aegis-display, html body .aegis-heading,
html body .wp-block-cover *, html body .wp-block-columns *,
html body .wp-block-group *, html body .wp-block-navigation *,
html body input, html body textarea, html body select, html body button {
  font-family: 'Poppins', Arial, sans-serif !important;
}
html body :is(h1,h2,h3,h4,h5,h6,.wp-block-heading,.aegis-display,.aegis-heading,.aegis-card h3,.aegis-service-hero h1,.aegis-service-detail h2) {
  font-weight: 800 !important;
  letter-spacing: -.025em;
}
html body h1, html body .aegis-display { font-weight: 800 !important; }
html body :is(p,li,blockquote,figcaption,.wp-block-paragraph) { font-weight: 300 !important; }
html body :is(.wp-block-navigation a,.aegis-nav a,.wp-block-button__link,button) { font-weight: 600 !important; }
html body :is(strong,b) { font-weight: 700 !important; }

/* EFAS v0.8.19 — consistent main page titles; smaller heading levels stay distinct. */
@media (min-width: 768px) {
  html body .wp-site-blocks h1,
  html body .wp-site-blocks .wp-block-heading:is(h1),
  html body .wp-site-blocks .aegis-display,
  html body .wp-site-blocks .aegis-hero h1,
  html body .wp-site-blocks .aegis-service-hero h1 {
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 44px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
  }
}
@media (max-width: 767px) {
  html body .wp-site-blocks h1,
  html body .wp-site-blocks .wp-block-heading:is(h1),
  html body .wp-site-blocks .aegis-display,
  html body .wp-site-blocks .aegis-hero h1,
  html body .wp-site-blocks .aegis-service-hero h1 {
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: clamp(30px, 7vw, 40px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
  }
}

/* v0.8.20 — Poppins throughout the website; preserve heading hierarchy. */
:root { --efas-font: 'Poppins', Arial, sans-serif; }
html, body, body .wp-site-blocks, body .wp-block, body input, body button, body textarea, body select,
body h1, body h2, body h3, body h4, body h5, body h6, body p, body a, body li,
body .aegis-display, body .aegis-heading, body .aegis-card h3,
body .aegis-service-hero h1, body .aegis-service-detail h2 {
  font-family: 'Poppins', Arial, sans-serif !important;
}

/* v0.8.21 — Poppins across front end and block editor, including block overrides. */
:root { --efas-font: 'Poppins', Arial, sans-serif; }
html body, body .wp-site-blocks, body .wp-site-blocks :is(h1,h2,h3,h4,h5,h6,p,span,a,li,small,strong,em,button,input,textarea,label,blockquote,figcaption),
body :is(.aegis-display,.aegis-heading,.aegis-service-hero h1,.aegis-service-detail h2,.aegis-card h3,.aegis-nav,.wp-block-heading,.wp-block-paragraph,.wp-block-button__link,.wp-block-navigation-item__content),
.editor-styles-wrapper, .editor-styles-wrapper :is(h1,h2,h3,h4,h5,h6,p,span,a,li,button) {
  font-family: 'Poppins', Arial, sans-serif !important;
}

/* 0.8.22: finish each drawn glyph using the exact original logo pixels. */
.efas-trace-complete{opacity:0;animation:efasExactGlyphFill .38s ease-out var(--trace-complete-delay) forwards}
@keyframes efasExactGlyphFill{to{opacity:1}}
.efas-opening--flight .efas-opening__svg{opacity:0;transition:opacity .18s linear}

/* 0.8.23 — one exact original-logo image, one union mask.
   No individual image layers or per-letter positioning, so all spacing is pixel-perfect. */
.efas-opening__svg .efas-opening__stroke{opacity:1!important;animation:none!important;filter:none!important}
.efas-exact-complete{animation:efasExactReveal .15s linear 3.75s forwards}
@keyframes efasExactReveal{to{opacity:1}}
/* Keep the SAME masked image during flight: no PNG swap or alignment jump. */
.efas-opening .efas-opening__logo{display:none!important}
.efas-opening--flight .efas-opening__svg{opacity:1!important;transition:none!important}

/* v0.8.24 — per-glyph completion uses original PNG pixel bounds, no redrawn glyphs. */
.efas-glyph-complete{animation:efasGlyphExact .20s ease-out var(--glyph-delay) forwards}
@keyframes efasGlyphExact{to{opacity:1}}
.efas-exact-complete{animation:efasExactReveal .12s linear 4.02s forwards!important}
.efas-opening--flight .efas-opening__svg{opacity:1!important;transition:none!important}

/* v0.8.25 — continuous snake drawing: no per-letter rectangular reveal.
   The same original PNG is always used; final pixels are introduced
   in one long, gentle crossfade instead of 21 discrete block fills. */
.efas-opening .efas-glyph-complete{display:none!important;animation:none!important}
.efas-opening .efas-centerline{
  animation-duration:1.55s!important;
  animation-timing-function:cubic-bezier(.42,0,.20,1)!important;
}
.efas-opening .efas-exact-complete{
  opacity:0;
  animation:efasSmoothExactReveal 1.05s cubic-bezier(.25,.1,.25,1) 3.25s forwards!important;
}
@keyframes efasSmoothExactReveal{0%{opacity:0}100%{opacity:1}}

/* v0.8.26 — draw using a wide centerline mask over the ORIGINAL image.
   The widened strokes reveal exact PNG pixels, including full corners,
   rather than showing a skinny traced shape and later rectangular patches. */
.efas-opening .efas-centerline{animation-duration:1.9s!important;stroke-linecap:round;stroke-linejoin:round}
.efas-opening .efas-exact-complete{animation:efasSmoothExactReveal .8s ease-in-out 3.75s forwards!important}
.efas-opening__svg image{image-rendering:auto}

/* v0.8.27: each centerline is confined to the exact pixel bounds of its own letter.
   The SVG and PNG share the same 2000 x 400 coordinate system. */
.efas-opening__svg{overflow:visible}
.efas-opening .efas-centerline{stroke-linecap:round;stroke-linejoin:round}

/* EFAS experience metrics v0.8.28 */
.efas-stats-section{background:#0c0d0d;color:#f6f4ef;padding:clamp(65px,7vw,110px) 24px!important;max-width:none!important;margin:0!important}
.efas-stats-inner{max-width:1280px!important;margin:0 auto!important}
.efas-stats-eyebrow{font-family:Poppins,sans-serif!important;font-size:12px!important;letter-spacing:.24em;text-transform:uppercase;text-align:center;margin:0 0 15px!important}
.efas-stats-title{font-family:Poppins,sans-serif!important;font-weight:700!important;font-size:clamp(30px,3.5vw,44px)!important;line-height:1.18!important;text-align:center;margin:0 0 42px!important}
.efas-stats-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px!important;margin:0!important}
.efas-stat{box-sizing:border-box;min-width:0;flex-basis:auto!important;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#1b1b1b;padding:38px 12px!important;margin:0!important;min-height:180px;border:1px solid rgba(197,166,108,.15)}
.efas-stat-number{font-family:Poppins,sans-serif!important;color:#c5a66c!important;font-weight:700;font-size:clamp(35px,4vw,60px);line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums}
.efas-stat-label{font-family:Poppins,sans-serif!important;color:#e5e2dd!important;font-weight:400!important;font-size:clamp(12px,1.1vw,15px)!important;text-align:center;margin:14px 0 0!important}
@media(max-width:780px){.efas-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.efas-stat{min-height:155px;padding:25px 8px!important}}
@media(max-width:380px){.efas-stat-number{font-size:32px}}

/* v0.8.30 — editorial three-photo high-risk collage, square corners. */
#high-risk .aegis-highrisk__media{flex-basis:48%!important;width:48%!important;max-width:none!important;display:block!important}
#high-risk .aegis-highrisk__copy{flex-basis:52%!important;width:52%!important}
#high-risk .aegis-highrisk{gap:clamp(28px,4vw,64px)!important}
#high-risk .efas-highrisk-collage{display:grid!important;grid-template-columns:.93fr 1.07fr;grid-template-rows:1fr 1fr;gap:clamp(10px,1.2vw,18px)!important;width:100%;height:clamp(360px,42vw,560px);margin:0!important}
#high-risk .efas-highrisk-photo{min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;max-width:none!important;aspect-ratio:auto!important;margin:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;box-shadow:none!important;position:relative}
#high-risk .efas-highrisk-photo--01{grid-column:1;grid-row:1}
#high-risk .efas-highrisk-photo--02{grid-column:1;grid-row:2}
#high-risk .efas-highrisk-photo--03{grid-column:2;grid-row:1 / span 2}
#high-risk .efas-highrisk-photo img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;filter:saturate(.75) brightness(.83)!important;transition:transform .65s ease!important}
#high-risk .efas-highrisk-photo--01 img{object-position:10% 58%}
#high-risk .efas-highrisk-photo--02 img{object-position:80% 28%}
#high-risk .efas-highrisk-photo--03 img{object-position:65% center}
#high-risk .efas-highrisk-photo:hover img{transform:scale(1.035)!important}
.efas-stats-section .efas-stats-title{display:none!important}
.efas-stats-section .efas-stats-eyebrow{font-size:clamp(19px,2.3vw,30px)!important;letter-spacing:.12em!important;font-weight:700!important;margin:0 0 42px!important}
.efas-stat-icon{color:#c5a66c;width:39px;height:39px;margin:0 0 18px!important;display:flex;align-items:center;justify-content:center}
.efas-stat-icon svg{width:36px;height:36px;display:block}
@media(max-width:780px){
  #high-risk .aegis-highrisk__media,#high-risk .aegis-highrisk__copy{flex-basis:100%!important;width:100%!important}
  #high-risk .efas-highrisk-collage{height:clamp(320px,95vw,510px)}
  .efas-stat-icon{margin-bottom:10px!important}
}

/* EFAS 0.8.30 — stat cards: matching bronze/copper palette and service-card hover. */
.efas-stats-section .efas-stat{
  position:relative;z-index:0;overflow:visible;
  background:#1b1b1b!important;
  border:1px solid rgba(197,166,108,.22)!important;
  border-radius:0!important;
  transition:transform .4s cubic-bezier(.2,.75,.2,1),background .4s ease,box-shadow .4s ease,border-color .4s ease!important;
  will-change:transform;
}
.efas-stats-section .efas-stat:nth-child(even){background:#252525!important}
@media(hover:hover){
  .efas-stats-section .efas-stat:hover{
    z-index:2;transform:translateY(-35px)!important;
    background:#302821!important;
    border-color:rgba(197,166,108,.58)!important;
    box-shadow:0 20px 42px #0008!important;
  }
}
.efas-stats-section .efas-stat:focus-within{
  z-index:2;transform:translateY(-35px)!important;
  background:#302821!important;
  border-color:rgba(197,166,108,.58)!important;
  box-shadow:0 20px 42px #0008!important;
}
.efas-stats-section .efas-stat-number,
.efas-stats-section .efas-stat-icon,
.efas-stats-section .efas-stats-eyebrow{color:var(--aegis-copper-light,#c5a66c)!important}
.efas-stats-section .efas-stat-icon svg{stroke:currentColor!important}
@media(hover:none){.efas-stats-section .efas-stat:hover{transform:none!important}}
@media(prefers-reduced-motion:reduce){.efas-stats-section .efas-stat{transition:none!important;will-change:auto}.efas-stats-section .efas-stat:hover,.efas-stats-section .efas-stat:focus-within{transform:none!important}}

/* v0.8.31: consistent white stats heading; hide service tile indexes in saved WP templates too */
/* The heading color is controlled by Gutenberg, not forced by the theme. */
:where(.efas-stats-section .efas-stats-eyebrow):not(.has-text-color):not([style*="color"]),
:where(.efas-stats-section .efas-stats-title):not(.has-text-color):not([style*="color"]){color:#ffffff;}
body .aegis-services-overlap .aegis-service-card .aegis-card__num,
body .efas-service-dock .aegis-service-card .aegis-card__num{display:none!important;}

/* v0.8.32 — High-Risk Residential spans the page width instead of a centered 1420px column. */
@media (min-width:782px){
  body #high-risk > .aegis-highrisk.wp-block-columns,
  body .editor-styles-wrapper #high-risk > .aegis-highrisk.wp-block-columns{
    width:calc(100% - (2 * var(--aegis-shell-gutter, 4vw)))!important;
    max-width:none!important;
    margin-inline:var(--aegis-shell-gutter, 4vw)!important;
    gap:clamp(32px,4vw,80px)!important;
  }
  body #high-risk .aegis-highrisk__media{flex-basis:50%!important;width:50%!important}
  body #high-risk .aegis-highrisk__copy{flex-basis:50%!important;width:50%!important;text-align:left!important}
}

/* v0.8.33 — smaller three-photo collage, wider high-risk text column. */
@media (min-width:782px){
  body #high-risk > .aegis-highrisk.wp-block-columns,
  body .editor-styles-wrapper #high-risk > .aegis-highrisk.wp-block-columns{
    gap:clamp(32px,4vw,72px)!important;
    align-items:center!important;
  }
  body #high-risk .aegis-highrisk__media{
    flex:0 0 36%!important;width:36%!important;max-width:36%!important;
  }
  body #high-risk .aegis-highrisk__copy{
    flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:none!important;
  }
  body #high-risk .efas-highrisk-collage{
    height:clamp(320px,33vw,465px)!important;
  }
  body #high-risk .aegis-highrisk__copy .aegis-heading,
  body #high-risk .aegis-highrisk__copy .aegis-copy{
    max-width:100%!important;
  }
}

/* 0.8.34: native editable image/metric blocks; preserve original styling */
#ervaring .efas-stats-grid.wp-block-columns{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch}
#ervaring .efas-stat-number{margin:0!important}
#ervaring .efas-stat-icon{display:flex;justify-content:center;align-items:center;margin-bottom:12px;color:#c5a66c}
#ervaring .efas-stat-icon svg{width:34px;height:34px}
@media(max-width:780px){#ervaring .efas-stats-grid.wp-block-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* v0.8.36 — editorial staggered High-Risk collage; supports native Group, Gallery and Image blocks. */
#high-risk .efas-highrisk-collage,
.editor-styles-wrapper #high-risk .efas-highrisk-collage {
  display:grid!important;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr)!important;
  grid-template-rows: repeat(2,minmax(0,1fr))!important;
  gap:clamp(12px,1.5vw,22px)!important;
  overflow:visible!important;
  align-items:stretch!important;
}
/* WordPress Gallery wrapper is transparent to the grid, preserving image editing. */
#high-risk .efas-highrisk-collage > .wp-block-gallery,
.editor-styles-wrapper #high-risk .efas-highrisk-collage > .wp-block-gallery {
  display:contents!important;
}
#high-risk .efas-highrisk-collage .efas-highrisk-photo,
.editor-styles-wrapper #high-risk .efas-highrisk-collage .efas-highrisk-photo {
  margin:0!important; min-width:0!important; min-height:0!important;
  width:100%!important; height:100%!important; max-width:none!important;
  overflow:hidden!important; border-radius:0!important;
}
#high-risk .efas-highrisk-collage .efas-highrisk-photo--01,
.editor-styles-wrapper #high-risk .efas-highrisk-collage .efas-highrisk-photo--01 {
  grid-column:1!important;grid-row:1!important;transform:translateY(16px)!important;
}
#high-risk .efas-highrisk-collage .efas-highrisk-photo--02,
.editor-styles-wrapper #high-risk .efas-highrisk-collage .efas-highrisk-photo--02 {
  grid-column:1!important;grid-row:2!important;transform:translateY(16px)!important;
}
#high-risk .efas-highrisk-collage .efas-highrisk-photo--03,
.editor-styles-wrapper #high-risk .efas-highrisk-collage .efas-highrisk-photo--03 {
  grid-column:2!important;grid-row:1 / span 2!important;transform:translateY(-16px)!important;
}
#high-risk .efas-highrisk-collage .efas-highrisk-photo img,
.editor-styles-wrapper #high-risk .efas-highrisk-collage .efas-highrisk-photo img {
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;aspect-ratio:auto!important;border-radius:0!important;
}
@media(max-width:781px){
  #high-risk .efas-highrisk-collage .efas-highrisk-photo--01,
  #high-risk .efas-highrisk-collage .efas-highrisk-photo--02{transform:translateY(8px)!important}
  #high-risk .efas-highrisk-collage .efas-highrisk-photo--03{transform:translateY(-8px)!important}
}

/* v0.8.38: stats heading matches the hero headline ivory; Gutenberg text-color overrides remain available. */
.efas-stats-section .efas-stats-eyebrow:not(.has-text-color):not([style*="color"]){color:var(--aegis-ivory,#f4f0e8)!important;}
.efas-stats-section .efas-stats-eyebrow.has-text-color,.efas-stats-section .efas-stats-eyebrow[style*="color"]{color:inherit;}

/* v0.8.39: match the ivory hero heading on saved Gutenberg stats heading blocks. */
body .efas-stats-section .efas-stats-eyebrow,
body .efas-stats-section .efas-stats-title,
body .efas-stats-section .efas-stats-eyebrow.has-text-color,
body .efas-stats-section .efas-stats-title.has-text-color { color: #f4f0e8 !important; }

/* v0.8.40 — Match the warm off-white hero heading for the two section titles.
   Gutenberg explicit custom text colors continue to take precedence. */
body #werkwijze .aegis-heading:not(.has-text-color),
body #contact .aegis-heading:not(.has-text-color),
body .aegis-process-section .aegis-heading:not(.has-text-color) { color: #F4F0E8 !important; }

/* v0.8.43 Gutenberg service-page layout: keep original presentation while allowing native block editing. */
.aegis-service-hero__inner.wp-block-group,.aegis-service-detail__inner.wp-block-group{max-width:1340px;width:100%;}
.aegis-service-hero__inner .wp-block-heading{margin:0 0 28px;}
.aegis-service-hero__inner .aegis-service-hero__back{margin-bottom:34px;}
.aegis-service-hero__inner .aegis-eyebrow{max-width:none;}
.aegis-service-detail__inner>.wp-block-group{min-width:0;}
.aegis-service-points .aegis-service-point{padding:20px 0;}
.aegis-service-points .aegis-service-point .wp-block-paragraph{margin:0;color:inherit;font-size:inherit;letter-spacing:inherit;text-transform:inherit;}
.aegis-service-hero__inner p,.aegis-service-detail__inner p{margin-top:0;}

/* v0.8.46 — service anchor fallback for native navigation */
#diensten { scroll-margin-top: 120px; }

/* EFAS 0.8.47 — Inbraakbeveiliging: uitsluitend deze dienstenpagina */
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-story,
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-perimeter{padding:clamp(75px,9vw,145px) 5vw;background:#080808;color:#f4f0e8}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-story{background:radial-gradient(ellipse at 92% 22%,rgba(167,116,74,.1),transparent 42%),#090909}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-story__inner,
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-sectionhead{max-width:1160px;margin:0 auto}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-story__inner{max-width:920px;text-align:center}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-kicker{color:#bb9168!important;font-size:.74rem!important;letter-spacing:.2em;text-transform:uppercase;font-weight:600;margin-bottom:20px}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-story h2,
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-perimeter h2,
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-peace h2{color:#f4f0e8;font-size:clamp(2.35rem,4.7vw,5.1rem);font-weight:400;line-height:1.13;letter-spacing:-.04em;margin:0 0 28px}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-story p:not(.efas-inbraak-kicker),
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-sectionhead p:not(.efas-inbraak-kicker),
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-peace p:not(.efas-inbraak-kicker){color:#c6beb4;line-height:1.85;font-size:clamp(1rem,1.25vw,1.13rem)}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-sectionhead{margin-bottom:48px;max-width:930px}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-cardgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1380px;margin:0 auto}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-card{background:#141312;border:1px solid #302a25;overflow:hidden;transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-card:hover{transform:translateY(-12px);border-color:#9b7857;box-shadow:0 22px 55px rgba(0,0,0,.28)}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-card__image{margin:0;overflow:hidden}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-card__image img{display:block;width:100%;height:250px;object-fit:cover}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-card__copy{padding:30px 28px 35px}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-card__number{font-size:.67rem;color:#bb9168;letter-spacing:.16em;font-weight:600}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-card h3{color:#f4f0e8;font-size:clamp(1.3rem,2vw,1.9rem);font-weight:400;margin:14px 0}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-card__subtitle{color:#e6d4be;font-weight:500}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-card__copy p:last-child{color:#bcb5ac;font-size:.94rem;line-height:1.8}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-peace{background:linear-gradient(90deg,rgba(5,5,5,.9),rgba(5,5,5,.5)),url('../images/hero-villa.jpg') center 53%/cover;min-height:520px;display:flex;align-items:center;padding:100px 6vw}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-peace__inner{max-width:780px}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-peace p:not(.efas-inbraak-kicker){max-width:660px}
@media(max-width:900px){body.aegis-service-page--inbraakbeveiliging .efas-inbraak-cardgrid{grid-template-columns:1fr}body.aegis-service-page--inbraakbeveiliging .efas-inbraak-card__image img{height:270px}body.aegis-service-page--inbraakbeveiliging .efas-inbraak-peace{min-height:440px}}

/* EFAS inbraak Gutenberg-invoegpatroon v0.8.48 */
.efas-inbraak-expansion{color:#d2c9be;font-family:Poppins,sans-serif;background:#090909}
.efas-inbraak-expansion .efas-inbraak-peace,.efas-inbraak-expansion .efas-inbraak-perimeter,.efas-inbraak-expansion .efas-inbraak-closing{padding:clamp(65px,8vw,130px) max(6vw,calc((100vw - 1300px)/2));box-sizing:border-box}
.efas-inbraak-expansion .efas-inbraak-eyebrow{color:#c59663;font-size:12px;letter-spacing:.16em;text-transform:uppercase;margin-bottom:22px}
.efas-inbraak-expansion h2{color:#f4f0e8;font-size:clamp(30px,4.1vw,62px);line-height:1.13;letter-spacing:-.035em;max-width:950px;margin:0 0 30px;font-weight:800}
.efas-inbraak-expansion h3{color:#f4f0e8;font-size:clamp(21px,2vw,28px);line-height:1.22;margin:0 0 16px;font-weight:700}
.efas-inbraak-expansion p{line-height:1.8;max-width:850px}
.efas-inbraak-perimeter{background:#101010}
.efas-inbraak-tech-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:55px}
.efas-inbraak-tech-card{background:#1b1b1b;border:1px solid #3d342b;padding:0 26px 30px;transition:transform .3s ease,border-color .3s ease;overflow:hidden}
.efas-inbraak-tech-card:hover{transform:translateY(-12px);border-color:#c59663}
.efas-inbraak-tech-card .efas-inbraak-tech-image{margin:0 -26px 28px;height:225px;background:#101010}
.efas-inbraak-tech-image img{width:100%;height:100%;object-fit:cover;display:block}
.efas-inbraak-tech-card p{font-size:14px}
.efas-inbraak-closing{background:linear-gradient(90deg,rgba(8,8,8,.94),rgba(8,8,8,.72)),url('/wp-content/themes/efas-security-theme/assets/images/hero-villa.jpg') center/cover no-repeat;min-height:450px}
.efas-inbraak-advice .wp-block-button__link{background:#d6a36e;color:#14100c;padding:17px 28px;text-transform:uppercase;font-size:12px;font-weight:700;letter-spacing:.12em;border-radius:0}
@media(max-width:800px){.efas-inbraak-tech-grid{grid-template-columns:1fr!important}.efas-inbraak-tech-card .efas-inbraak-tech-image{height:240px}}

/* v0.8.49: standalone editable intrusion protection sections */
.efas-inbraak-expansion--v2 .efas-inbraak-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(30px,5vw,95px);padding:clamp(65px,8vw,125px) max(6vw,calc((100vw - 1300px)/2));background:#0a0a0a;box-sizing:border-box}
.efas-inbraak-expansion--v2 .efas-inbraak-feature:nth-of-type(odd){background:#11100f}
.efas-inbraak-expansion--v2 .efas-inbraak-feature:nth-of-type(odd) .efas-inbraak-feature__visual{order:2}
.efas-inbraak-expansion--v2 .efas-inbraak-feature__visual,.efas-inbraak-expansion--v2 .efas-inbraak-feature__copy{min-width:0}
.efas-inbraak-expansion--v2 .efas-inbraak-feature__visual figure{margin:0}
.efas-inbraak-expansion--v2 .efas-inbraak-feature__visual img{display:block;width:100%;height:clamp(300px,32vw,480px);object-fit:cover;filter:brightness(.82)}
.efas-inbraak-expansion--v2 .efas-inbraak-feature__copy h2{color:#f4f0e8;font-size:clamp(2rem,3.4vw,3.9rem);line-height:1.13;letter-spacing:-.035em;margin:14px 0 24px}
.efas-inbraak-expansion--v2 .efas-inbraak-feature__copy p:not(.efas-inbraak-eyebrow){color:#c6beb4;font-size:clamp(1rem,1.1vw,1.1rem);line-height:1.85}
.efas-inbraak-expansion--v2 .efas-inbraak-feature__copy .efas-inbraak-eyebrow{color:#c59663;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase}
@media(max-width:800px){.efas-inbraak-expansion--v2 .efas-inbraak-feature{grid-template-columns:1fr;gap:26px}.efas-inbraak-expansion--v2 .efas-inbraak-feature:nth-of-type(odd) .efas-inbraak-feature__visual{order:0}.efas-inbraak-expansion--v2 .efas-inbraak-feature__visual img{height:270px}}

/* v0.8.50 — Fix legacy peace-section flex styles conflicting with editable Gutenberg pattern. */
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-expansion--v2 > .efas-inbraak-peace {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:0;
  width:100%;
  min-height:460px;
  padding:clamp(76px,9vw,135px) max(6vw,calc((100vw - 1300px)/2));
  box-sizing:border-box;
  background:linear-gradient(90deg,rgba(5,5,5,.94) 0%,rgba(5,5,5,.75) 55%,rgba(5,5,5,.48) 100%),url('../images/hero-villa.jpg') center/cover no-repeat;
}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-expansion--v2 > .efas-inbraak-peace > * {
  flex:none;
  width:auto;
  max-width:760px;
  margin-left:0;
  margin-right:0;
}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-expansion--v2 > .efas-inbraak-peace > .efas-inbraak-eyebrow {
  margin:0 0 20px;
  color:#c59663;
}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-expansion--v2 > .efas-inbraak-peace > h2 {
  font-size:clamp(2.3rem,4.2vw,4.5rem);
  line-height:1.12;
  font-weight:800;
  margin:0 0 24px;
  max-width:850px;
}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-expansion--v2 > .efas-inbraak-peace > p:not(.efas-inbraak-eyebrow) {
  max-width:720px;
  margin:0 0 14px;
  font-size:clamp(.95rem,1.1vw,1.08rem);
  line-height:1.8;
}
@media(max-width:800px){
  body.aegis-service-page--inbraakbeveiliging .efas-inbraak-expansion--v2 > .efas-inbraak-peace{min-height:0;padding:72px 6vw;}
}

/* v0.8.51: editor-replaceable top and bottom section photographs. */
.efas-inbraak-expansion--v2 > .efas-inbraak-peace,
.efas-inbraak-expansion--v2 > .efas-inbraak-closing {
 position:relative; isolation:isolate; overflow:hidden; background:#080808 !important;
}
.efas-inbraak-expansion--v2 > .efas-inbraak-peace > .efas-inbraak-section-bg,
.efas-inbraak-expansion--v2 > .efas-inbraak-closing > .efas-inbraak-section-bg {
 position:absolute !important; inset:0; width:100% !important; height:100% !important;
 max-width:none !important; margin:0 !important; z-index:-2; pointer-events:none;
}
.efas-inbraak-expansion--v2 > .efas-inbraak-peace > .efas-inbraak-section-bg img,
.efas-inbraak-expansion--v2 > .efas-inbraak-closing > .efas-inbraak-section-bg img {
 display:block; width:100%; height:100%; object-fit:cover; object-position:center;
}
.efas-inbraak-expansion--v2 > .efas-inbraak-peace::before,
.efas-inbraak-expansion--v2 > .efas-inbraak-closing::before {
 content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
 background:linear-gradient(90deg,rgba(5,5,5,.93),rgba(5,5,5,.72) 55%,rgba(5,5,5,.44));
}
.efas-inbraak-expansion--v2 > .efas-inbraak-closing {min-height:450px;}
/* In the block editor, allow selecting the image block via list view. */
.editor-styles-wrapper .efas-inbraak-section-bg {pointer-events:auto !important;}

/* v0.8.52 — Native Gutenberg Cover blocks for editable hero and closing images. */
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover.wp-block-cover {position:relative;isolation:isolate;box-sizing:border-box;display:flex;align-items:center;min-height:520px;padding:clamp(70px,8vw,130px) max(6vw,calc((100vw - 1300px)/2));background:#080808;overflow:hidden}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover.wp-block-cover .wp-block-cover__image-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover.wp-block-cover .wp-block-cover__background{z-index:1;background:linear-gradient(90deg,rgba(5,5,5,.93),rgba(5,5,5,.64),rgba(5,5,5,.5))!important;opacity:1!important}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover.wp-block-cover .wp-block-cover__inner-container{position:relative;z-index:2;width:100%;max-width:1300px;margin:0 auto;color:#f4f0e8}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover .efas-cover-content{max-width:760px;margin:0}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover .efas-cover-content > *{max-width:100%}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover .efas-inbraak-eyebrow{color:#c59663;font-size:.76rem;letter-spacing:.11em;margin:0 0 20px}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover h2{color:#f4f0e8;font-size:clamp(2.3rem,4.2vw,4.5rem);line-height:1.12;font-weight:800;letter-spacing:-.035em;margin:0 0 24px}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover p:not(.efas-inbraak-eyebrow){color:#c6beb4;font-size:clamp(.95rem,1.1vw,1.08rem);line-height:1.8;margin:0 0 14px}
@media(max-width:800px){body.aegis-service-page--inbraakbeveiliging .efas-editable-cover.wp-block-cover{min-height:400px;padding:75px 6vw}}
/* Same preview in the site editor (which lacks the front-end body class). */
.editor-styles-wrapper .efas-editable-cover.wp-block-cover{position:relative;min-height:520px;padding:clamp(70px,8vw,130px) 6vw}
.editor-styles-wrapper .efas-editable-cover .efas-cover-content{max-width:760px;margin:0}
.editor-styles-wrapper .efas-editable-cover h2{color:#f4f0e8;font-size:clamp(2.3rem,4.2vw,4.5rem);line-height:1.12;font-weight:800}
.editor-styles-wrapper .efas-editable-cover .efas-inbraak-eyebrow{color:#c59663}

/* v0.8.53 — full-bleed editable covers, both site editor and front end.
   Override constrained Gutenberg layout and legacy service-page column widths. */
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover.wp-block-cover.alignfull,
.editor-styles-wrapper .efas-editable-cover.wp-block-cover.alignfull {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:stretch !important;
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  padding:clamp(80px,9vw,140px) max(6vw,calc((100vw - 1300px)/2)) !important;
  box-sizing:border-box !important;
  min-height:560px;
  overflow:hidden;
}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover.wp-block-cover > .wp-block-cover__inner-container,
.editor-styles-wrapper .efas-editable-cover.wp-block-cover > .wp-block-cover__inner-container {
  width:100% !important;
  max-width:1300px !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  display:block !important;
  box-sizing:border-box;
}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover .efas-cover-content,
.editor-styles-wrapper .efas-editable-cover .efas-cover-content {
  display:block !important;
  width:100% !important;
  max-width:790px !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover .efas-cover-content > *,
.editor-styles-wrapper .efas-editable-cover .efas-cover-content > * {
  width:auto !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  text-align:left !important;
}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover .efas-cover-content h2,
.editor-styles-wrapper .efas-editable-cover .efas-cover-content h2 {
  font-size:clamp(2.25rem,4vw,4.25rem) !important;
  line-height:1.12 !important;
  overflow-wrap:normal;
  word-break:normal;
}
@media(max-width:780px){
 body.aegis-service-page--inbraakbeveiliging .efas-editable-cover.wp-block-cover.alignfull,
 .editor-styles-wrapper .efas-editable-cover.wp-block-cover.alignfull {padding:76px 6vw !important;min-height:430px;}
}

/* EFAS 0.8.54 — Inbraak: full-bleed hero behind navigation, like homepage.
   Only applies when the editable top Cover is present; saved Gutenberg blocks remain editable. */
@media (min-width: 782px) {
 body.aegis-service-page--inbraakbeveiliging:has(.efas-editable-cover--top) .aegis-header {
   position:absolute !important;top:0;left:0;right:0;width:100%;z-index:80;
   background:transparent !important;
 }
 body.aegis-service-page--inbraakbeveiliging:has(.efas-editable-cover--top) .aegis-service-hero__back,
 body.aegis-service-page--inbraakbeveiliging:has(.efas-editable-cover--top) .efas-inbraak-expansion--v2 > .aegis-service-hero__back {
   position:absolute !important;z-index:30;top:128px;left:max(6vw,calc((100vw - 1300px)/2));margin:0 !important;
 }
 body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top.wp-block-cover.alignfull {
   margin-top:-105px !important;
   padding-top:210px !important;
   padding-bottom:115px !important;
   min-height:720px !important;
 }
}
@media (max-width:781px) {
 body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top.wp-block-cover.alignfull {padding-top:115px !important;}
}


/* v0.8.55 — Home-style on-scroll reveals on Inbraakbeveiliging only. */
@media (prefers-reduced-motion: no-preference) {
  body.aegis-service-page--inbraakbeveiliging .efas-scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity .9s cubic-bezier(.16,1,.3,1),
                transform .9s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--efas-reveal-delay, 0ms);
    will-change: opacity, transform;
  }
  body.aegis-service-page--inbraakbeveiliging .efas-scroll-reveal.efas-scroll-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }
}
/* The Gutenberg editor is always fully visible and editable. */
.editor-styles-wrapper .efas-scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
}


/* v0.8.56 — shared desktop alignment for homepage and all service pages.
   Use the homepage's shell dimensions, header and square copper CTA.
   The styles target frontend only and preserve Gutenberg editing. */
@media (min-width: 782px) {
  body:not(.wp-admin) .aegis-header {
    padding-left:0 !important;
    padding-right:0 !important;
  }
  body:not(.wp-admin) .aegis-header > .aegis-header__inner,
  body:not(.wp-admin) .aegis-header .aegis-header__inner {
    width:min(var(--aegis-shell-max,1420px),calc(100% - 2 * var(--aegis-shell-gutter,clamp(24px,4vw,72px)))) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding:0 !important;
    box-sizing:border-box !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }
}
body:not(.wp-admin) .aegis-header-cta .wp-block-button__link,
body:not(.wp-admin) .aegis-header-cta .wp-element-button {
  border-radius:0 !important;
  background:linear-gradient(135deg,var(--aegis-copper-light),var(--aegis-copper)) !important;
  color:#101010 !important;
  padding:15px 22px !important;
  font-size:.68rem !important;
  font-weight:700 !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  white-space:nowrap;
}
/* Shared wide inner grid for all service-page content. */
body:not(.wp-admin) .aegis-service-detail,
body:not(.wp-admin) .aegis-service-detail > .efas-inbraak-expansion,
body:not(.wp-admin) .aegis-service-detail > .aegis-service-detail__inner {
  width:100% !important;
  max-width:none !important;
}
body:not(.wp-admin) .efas-inbraak-expansion--v2 .efas-inbraak-feature {
  padding-left:max(var(--aegis-shell-gutter,clamp(24px,4vw,72px)),calc((100% - var(--aegis-shell-max,1420px))/2)) !important;
  padding-right:max(var(--aegis-shell-gutter,clamp(24px,4vw,72px)),calc((100% - var(--aegis-shell-max,1420px))/2)) !important;
  gap:clamp(30px,4vw,80px) !important;
}
body:not(.wp-admin) .efas-inbraak-expansion--v2 .efas-inbraak-feature__visual,
body:not(.wp-admin) .efas-inbraak-expansion--v2 .efas-inbraak-feature__copy {min-width:0 !important;}
body:not(.wp-admin) .efas-inbraak-expansion--v2 .efas-inbraak-peace,
body:not(.wp-admin) .efas-inbraak-expansion--v2 .efas-inbraak-perimeter,
body:not(.wp-admin) .efas-inbraak-expansion--v2 .efas-inbraak-closing {
  padding-left:max(var(--aegis-shell-gutter,clamp(24px,4vw,72px)),calc((100% - var(--aegis-shell-max,1420px))/2)) !important;
  padding-right:max(var(--aegis-shell-gutter,clamp(24px,4vw,72px)),calc((100% - var(--aegis-shell-max,1420px))/2)) !important;
}
body:not(.wp-admin) .efas-editable-cover.wp-block-cover.alignfull > .wp-block-cover__inner-container {
  max-width:var(--aegis-shell-max,1420px) !important;
  width:100% !important;
}
body:not(.wp-admin) .efas-editable-cover.wp-block-cover.alignfull {
  padding-left:max(var(--aegis-shell-gutter,clamp(24px,4vw,72px)),calc((100vw - var(--aegis-shell-max,1420px))/2)) !important;
  padding-right:max(var(--aegis-shell-gutter,clamp(24px,4vw,72px)),calc((100vw - var(--aegis-shell-max,1420px))/2)) !important;
}
@media (max-width:781px) {
 body:not(.wp-admin) .efas-inbraak-expansion--v2 .efas-inbraak-feature {
   padding:72px 20px !important;
   grid-template-columns:1fr !important;
 }
 body:not(.wp-admin) .efas-editable-cover.wp-block-cover.alignfull {
   padding-left:20px !important;
   padding-right:20px !important;
 }
}

/* v0.8.57 — Make the four Gutenberg security features genuinely full-bleed.
   The saved WordPress template may wrap the pattern in a constrained Group.
   Center each feature against the viewport rather than that Group. */
@media (min-width: 801px) {
  body.aegis-service-page--inbraakbeveiliging .efas-inbraak-expansion--v2 .efas-inbraak-feature {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    padding-left: clamp(28px, 4vw, 76px) !important;
    padding-right: clamp(28px, 4vw, 76px) !important;
    gap: clamp(36px, 4vw, 84px) !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
  body.aegis-service-page--inbraakbeveiliging .efas-inbraak-expansion--v2 .efas-inbraak-feature__visual img {
    width: 100% !important;
    height: clamp(360px, 33vw, 620px) !important;
    object-fit: cover;
  }
}
/* Avoid horizontal overflow on narrow screens while preserving stacked groups. */
@media (max-width: 800px) {
  body.aegis-service-page--inbraakbeveiliging .efas-inbraak-expansion--v2 .efas-inbraak-feature {
    width: 100% !important;
    max-width: 100% !important;
    left: auto;
    transform: none;
  }
}

/* EFAS v0.8.58 — isolated Gutenberg access-control layout */
body:not(.wp-admin) .efas-access-page {max-width:none!important;width:100%!important;margin:0!important;padding:0!important;}
body:not(.wp-admin) .efas-access-page > * {max-width:none!important;}
.efas-access-page .efas-access-eyebrow {color:#d7a56d!important;font-size:12px!important;letter-spacing:.15em;text-transform:uppercase;margin:0 0 20px!important;}
.efas-access-page h2 {font-family:Poppins,sans-serif!important;color:#f4f0e8!important;font-size:clamp(32px,3.8vw,66px)!important;font-weight:800!important;line-height:1.12!important;letter-spacing:-.035em;margin:0 0 28px!important;}
.efas-access-page p:not(.efas-access-eyebrow){color:#c9c1b9!important;font-size:clamp(15px,1.05vw,18px)!important;line-height:1.85!important;}
body:not(.wp-admin) .efas-access-page .efas-access-feature {width:100%!important;max-width:none!important;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(30px,4vw,90px);padding:clamp(70px,8vw,150px) max(5vw,calc((100vw - 1640px)/2))!important;background:#090909;}
body:not(.wp-admin) .efas-access-page .efas-access-feature:nth-of-type(2n){background:#101010;}
body:not(.wp-admin) .efas-access-page .efas-access-feature:nth-of-type(2n) .efas-access-feature__visual{order:2;}
.efas-access-feature__visual,.efas-access-feature__copy{min-width:0!important;width:100%!important;max-width:none!important;}
.efas-access-feature__visual figure{margin:0!important;}
.efas-access-feature__visual img{display:block;width:100%!important;max-width:none!important;aspect-ratio:1.38;object-fit:cover;}
body:not(.wp-admin) .efas-access-page .efas-access-cover{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;min-height:clamp(600px,75vh,900px)!important;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;padding:140px max(5vw,calc((100vw - 1640px)/2)) 100px!important;}
.efas-access-cover .wp-block-cover__inner-container{width:100%!important;max-width:1640px!important;margin:0 auto!important;}
.efas-access-cover__copy{max-width:830px!important;margin:0!important;}
.efas-access-cover__copy p{max-width:760px;}
@media(max-width:780px){body:not(.wp-admin) .efas-access-page .efas-access-feature{grid-template-columns:1fr!important;padding:65px 6vw!important;gap:30px!important;}body:not(.wp-admin) .efas-access-page .efas-access-feature:nth-of-type(2n) .efas-access-feature__visual{order:0;}body:not(.wp-admin) .efas-access-page .efas-access-cover{padding:130px 6vw 70px!important;min-height:620px!important;}}
@media(prefers-reduced-motion:no-preference){body:not(.wp-admin) .efas-access-page .efas-access-feature__visual,body:not(.wp-admin) .efas-access-page .efas-access-feature__copy{animation:efasAccessIn .8s both;animation-timeline:view();animation-range:entry 0% cover 28%;}@keyframes efasAccessIn{from{opacity:0;transform:translateY(35px)}to{opacity:1;transform:translateY(0)}}}

/* v0.8.59 — Access control: isolate inserted Gutenberg page from legacy template */
@supports selector(body:has(.efas-access-page)) {
 body:not(.wp-admin):has(.efas-access-page) .wp-site-blocks > .aegis-service-hero,
 body:not(.wp-admin):has(.efas-access-page) .wp-site-blocks > .aegis-service-detail {display:none!important;}
 body:not(.wp-admin):has(.efas-access-page) .wp-site-blocks > main > .aegis-service-hero,
 body:not(.wp-admin):has(.efas-access-page) .wp-site-blocks > main > .aegis-service-detail {display:none!important;}
}
body:not(.wp-admin) .wp-site-blocks:has(.efas-access-page) {display:block!important;}
body:not(.wp-admin) .efas-access-page {display:block!important;position:relative!important;float:none!important;clear:both!important;max-width:none!important;width:100%!important;min-width:0!important;margin:0!important;transform:none!important;left:auto!important;right:auto!important;}
body:not(.wp-admin) .efas-access-page > .efas-access-cover {display:flex!important;position:relative!important;float:none!important;clear:both!important;width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;}
body:not(.wp-admin) .efas-access-page .efas-access-cover__copy {width:100%!important;max-width:820px!important;}
body:not(.wp-admin) .efas-access-page > .efas-access-feature {float:none!important;clear:both!important;max-width:none!important;}
@media(max-width:780px){body:not(.wp-admin) .efas-access-page > .efas-access-cover{width:100%!important;margin-left:0!important;margin-right:0!important;}}

/* v0.8.60: isolated full-width access template and editable cover layout */
body:not(.wp-admin) .wp-site-blocks:has(.efas-access-page) > .wp-block-group,
body:not(.wp-admin) .wp-site-blocks:has(.efas-access-page) > main {max-width:none!important;width:100%!important;margin:0!important;padding:0!important;}
body:not(.wp-admin) .efas-access-page {display:block!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;}
body:not(.wp-admin) .efas-access-page > .efas-access-cover {width:100%!important;max-width:none!important;margin:0!important;}
body:not(.wp-admin) .efas-access-page > .efas-access-feature {max-width:none!important;width:100%!important;margin:0!important;}
.editor-styles-wrapper .efas-access-page {max-width:none!important;width:100%!important;}
.editor-styles-wrapper .efas-access-feature {max-width:none!important;width:100%!important;}
.editor-styles-wrapper .efas-access-cover {max-width:none!important;width:100%!important;}

/* v0.8.61 — Gutenberg controls access cover imagery (both hero and closing cover).
   Do not introduce theme-provided background-image URLs on these covers. */
body:not(.wp-admin) .efas-access-page .efas-access-cover.wp-block-cover {
  background-color:#080808;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  isolation:isolate;
}
body:not(.wp-admin) .efas-access-page .efas-access-cover.wp-block-cover > img.wp-block-cover__image-background,
body:not(.wp-admin) .efas-access-page .efas-access-cover.wp-block-cover > video.wp-block-cover__video-background {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  opacity:1!important;
  visibility:visible!important;
  z-index:0!important;
}
body:not(.wp-admin) .efas-access-page .efas-access-cover.wp-block-cover > .wp-block-cover__background {
  z-index:1!important;
  pointer-events:none;
}
body:not(.wp-admin) .efas-access-page .efas-access-cover.wp-block-cover > .wp-block-cover__inner-container {
  position:relative;
  z-index:2!important;
}

/* EFAS 0.8.64 — one Gutenberg-friendly hero treatment across service pages.
   Use the actual Cover background image, never a hard-coded image URL. */
body.aegis-service-page {--efas-content-max:1420px;--efas-content-gutter:clamp(24px,4vw,72px);overflow-x:clip;}
body.aegis-service-page .efas-access-page,
body.aegis-service-page .efas-access-page > .wp-block-cover {max-width:none!important;}
body.aegis-service-page .efas-access-page > .efas-access-cover.wp-block-cover,
body.aegis-service-page .efas-editable-cover.wp-block-cover {
  position:relative!important;isolation:isolate!important;
  width:100vw!important;max-width:none!important;
  margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;
  box-sizing:border-box!important;overflow:hidden!important;
  min-height:clamp(600px,76svh,900px)!important;
  padding:clamp(120px,12vh,170px) max(var(--efas-content-gutter),calc((100vw - var(--efas-content-max))/2)) 100px!important;
  background-color:#080808!important;
}
/* Remove the light beige overlay baked into the saved access Cover, and supply
   a homepage-style dark left-to-right fade using the native Gutenberg overlay. */
body.aegis-service-page .efas-access-cover.wp-block-cover > .wp-block-cover__background,
body.aegis-service-page .efas-editable-cover.wp-block-cover > .wp-block-cover__background {
  display:block!important;position:absolute!important;inset:0!important;
  background:linear-gradient(90deg,rgba(0,0,0,.87) 0%,rgba(0,0,0,.73) 25%,rgba(0,0,0,.39) 55%,rgba(0,0,0,.16) 100%)!important;
  opacity:1!important;z-index:1!important;pointer-events:none!important;
}
body.aegis-service-page .efas-access-cover.wp-block-cover::after,
body.aegis-service-page .efas-editable-cover.wp-block-cover::after {
  content:""!important;position:absolute!important;inset:auto 0 0!important;
  height:19%!important;background:linear-gradient(to bottom,transparent,#090909)!important;
  z-index:2!important;pointer-events:none!important;
}
body.aegis-service-page .efas-access-cover.wp-block-cover > .wp-block-cover__inner-container,
body.aegis-service-page .efas-editable-cover.wp-block-cover > .wp-block-cover__inner-container {
  position:relative!important;z-index:3!important;width:100%!important;
  max-width:var(--efas-content-max)!important;margin:0 auto!important;
}
body.aegis-service-page .efas-access-cover__copy {width:100%!important;max-width:820px!important;margin:0!important;}
body.aegis-service-page .efas-access-page .efas-access-feature {
  padding-left:max(var(--efas-content-gutter),calc((100vw - var(--efas-content-max))/2))!important;
  padding-right:max(var(--efas-content-gutter),calc((100vw - var(--efas-content-max))/2))!important;
}
@media(max-width:780px){
 body.aegis-service-page .efas-access-page > .efas-access-cover.wp-block-cover,
 body.aegis-service-page .efas-editable-cover.wp-block-cover {min-height:620px!important;padding:130px 24px 95px!important;}
 body.aegis-service-page .efas-access-page .efas-access-feature {padding-left:24px!important;padding-right:24px!important;}
}
@media(prefers-reduced-motion:no-preference){
 body.aegis-service-page .efas-access-page .efas-access-feature__visual,
 body.aegis-service-page .efas-access-page .efas-access-feature__copy {animation:none!important;}
 body.aegis-service-page .efas-scroll-reveal {opacity:0;translate:0 28px;transition:opacity .8s ease,translate .8s ease;}
 body.aegis-service-page .efas-scroll-reveal.efas-scroll-visible {opacity:1;translate:0 0;}
}

/* EFAS 0.8.65 — shared navigation strip and hero overlays. */
body:not(.wp-admin) .aegis-header {
  background:rgba(5,5,5,.94)!important;
  padding-top:12px!important;padding-bottom:12px!important;
  min-height:72px!important;box-sizing:border-box!important;
}
body:not(.wp-admin) .aegis-header__inner {min-height:48px!important;}
/* Preserve the native Cover image selected in the editor. */
body.aegis-service-page .efas-access-cover.wp-block-cover > .wp-block-cover__background,
body.aegis-service-page .efas-editable-cover.wp-block-cover > .wp-block-cover__background {
  background:linear-gradient(90deg,rgba(0,0,0,.95) 0%,rgba(0,0,0,.79) 22%,rgba(0,0,0,.45) 49%,rgba(0,0,0,.12) 100%)!important;
}
/* The same header-to-hero boundary on both Gutenberg service page variants. */
body.aegis-service-page .efas-access-page > .efas-access-cover.wp-block-cover,
body.aegis-service-page .efas-editable-cover--top.wp-block-cover {
  margin-top:0!important;
}
body.aegis-service-page .efas-access-cover__copy {position:relative!important;}
body.aegis-service-page .efas-service-back {
  display:inline-block;color:#f6f1eb;text-decoration:none;
  font-size:13px;line-height:1.5;letter-spacing:.025em;
  margin:0 0 clamp(35px,5vh,65px);transition:color .2s ease;
}
body.aegis-service-page .efas-service-back:hover {color:#dfaa77;}
@media(max-width:780px){body:not(.wp-admin) .aegis-header{min-height:62px!important;padding:10px 18px!important;}body.aegis-service-page .efas-service-back{margin-bottom:32px;}}

/* EFAS 0.8.66 — transparent header; dark backdrop only on hover/focus. */
body:not(.wp-admin) .aegis-header {
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transition:background-color .35s ease,backdrop-filter .35s ease,-webkit-backdrop-filter .35s ease!important;
}
@media (hover:hover) {
  body:not(.wp-admin) .aegis-header:hover {
    background:rgba(5,5,5,.94)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }
}
body:not(.wp-admin) .aegis-header:focus-within {
  background:rgba(5,5,5,.94)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
}

/* EFAS 0.8.67 — remove the residual WordPress block gap above hero sections.
   The header is an overlay, never a separate black strip. */
body:not(.wp-admin) .wp-site-blocks > .wp-block-template-part:has(.aegis-header) {
  margin:0!important;padding:0!important;height:0!important;min-height:0!important;
  position:relative!important;z-index:1000!important;
}
body:not(.wp-admin) .wp-site-blocks > .wp-block-template-part:has(.aegis-header) + * {
  margin-block-start:0!important;
}
body:not(.wp-admin) .aegis-header {
  position:fixed!important;top:0!important;left:0!important;right:0!important;
  margin:0!important;border:0!important;
  background:transparent!important;
}
/* WordPress sometimes adds a block-gap to the first section nested in main. */
body:not(.wp-admin) .wp-site-blocks > main:first-of-type,
body:not(.wp-admin) .wp-site-blocks > main:first-of-type > :first-child {
  margin-block-start:0!important;
}

/* EFAS 0.8.68 — unified header overlay and hero origin. */
body:not(.wp-admin) .wp-site-blocks {margin-top:0!important;padding-top:0!important;}
body:not(.wp-admin) .wp-site-blocks > :first-child {margin-block-start:0!important;}
body:not(.wp-admin) .wp-site-blocks > .wp-block-template-part:has(.aegis-header),
body:not(.wp-admin) .wp-site-blocks > header.wp-block-template-part {height:0!important;min-height:0!important;margin:0!important;padding:0!important;position:relative!important;z-index:1000!important;}
body:not(.wp-admin) .aegis-header,
body:not(.wp-admin) .aegis-header.is-scrolled {position:fixed!important;inset:0 0 auto 0!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:background-color .35s ease,backdrop-filter .35s ease!important;}
body:not(.wp-admin) .aegis-header:hover,
body:not(.wp-admin) .aegis-header:focus-within {background:rgba(5,5,5,.94)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;}
body:not(.wp-admin) .wp-site-blocks > .wp-block-cover.aegis-hero,
body:not(.wp-admin) .wp-site-blocks > main > .wp-block-cover:first-child,
body:not(.wp-admin) .wp-site-blocks > .aegis-service-detail,
body:not(.wp-admin) .wp-site-blocks > main:first-of-type {margin-block-start:0!important;}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top.wp-block-cover.alignfull {margin-top:0!important;}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-peace {margin-top:0!important;padding-top:0!important;}

/* EFAS 0.8.69: verified 24px Gutenberg block gap above homepage hero.
   Scope to public frontend; preserve Site Editor layout and cover overlay. */
body:not(.wp-admin) .wp-site-blocks .aegis-hero.wp-block-cover {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* EFAS 0.8.70 — identical visual fade for homepage and all service-page heroes.
   The Cover background image remains controlled by Gutenberg. */
body.aegis-service-page .efas-access-cover.wp-block-cover > .wp-block-cover__background,
body.aegis-service-page .efas-editable-cover.wp-block-cover > .wp-block-cover__background {
  background:linear-gradient(90deg,rgba(2,2,2,.97) 0%,rgba(2,2,2,.90) 24%,rgba(2,2,2,.60) 48%,rgba(2,2,2,.16) 72%,rgba(2,2,2,.20) 100%),linear-gradient(0deg,rgba(3,3,3,.50),transparent 42%),radial-gradient(circle at 68% 50%,rgba(201,144,93,.08),transparent 35%)!important;
  opacity:1!important;
}
body.aegis-service-page .efas-access-cover.wp-block-cover::after,
body.aegis-service-page .efas-editable-cover.wp-block-cover::after {
  height:26%!important;
  background:linear-gradient(transparent,var(--aegis-black,#080808))!important;
}
@media(max-width:960px){
 body.aegis-service-page .efas-access-cover.wp-block-cover > .wp-block-cover__background,
 body.aegis-service-page .efas-editable-cover.wp-block-cover > .wp-block-cover__background {
  background:linear-gradient(90deg,rgba(2,2,2,.95),rgba(2,2,2,.70) 56%,rgba(2,2,2,.30)),linear-gradient(0deg,rgba(3,3,3,.55),transparent 45%)!important;
 }
}
@media(max-width:640px){
 body.aegis-service-page .efas-access-cover.wp-block-cover > .wp-block-cover__background,
 body.aegis-service-page .efas-editable-cover.wp-block-cover > .wp-block-cover__background {
  background:linear-gradient(90deg,rgba(2,2,2,.94),rgba(2,2,2,.62)),linear-gradient(0deg,rgba(3,3,3,.70),transparent 55%)!important;
 }
}

/* v0.8.74: hide feature content before JS observer initializes.
   Prevents first-paint flash and downward jump on the three service pages.
   Inbraakbeveiliging is deliberately untouched. */
@media (prefers-reduced-motion: no-preference) {
  body.aegis-service-page--toegangscontrole .efas-access-page .efas-access-feature__visual,
  body.aegis-service-page--toegangscontrole .efas-access-page .efas-access-feature__copy,
  body.aegis-service-page--camerabeveiliging .efas-access-page .efas-access-feature__visual,
  body.aegis-service-page--camerabeveiliging .efas-access-page .efas-access-feature__copy,
  body.aegis-service-page--maatwerk-engineering .efas-access-page .efas-access-feature__visual,
  body.aegis-service-page--maatwerk-engineering .efas-access-page .efas-access-feature__copy {
    opacity:0;
    transform:translate3d(0,28px,0);
    transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1);
    transition-delay:var(--efas-reveal-delay,0ms);
  }
  body.aegis-service-page--toegangscontrole .efas-access-page .efas-access-feature .efas-scroll-visible,
  body.aegis-service-page--camerabeveiliging .efas-access-page .efas-access-feature .efas-scroll-visible,
  body.aegis-service-page--maatwerk-engineering .efas-access-page .efas-access-feature .efas-scroll-visible {
    opacity:1;
    transform:translate3d(0,0,0);
  }
}
.editor-styles-wrapper .efas-access-feature__visual,
.editor-styles-wrapper .efas-access-feature__copy {opacity:1!important;transform:none!important;}


/* v0.8.75 — Match Inbraakbeveiliging's full-viewport feature width on the
   other three service pages. Do not change reveal timing or Inbraak layout. */
@media (min-width: 801px) {
  body:is(.aegis-service-page--camerabeveiliging,.aegis-service-page--toegangscontrole,.aegis-service-page--maatwerk-engineering)
  .efas-inbraak-expansion--v2 .efas-inbraak-feature {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    padding-left: clamp(28px, 4vw, 76px) !important;
    padding-right: clamp(28px, 4vw, 76px) !important;
    gap: clamp(36px, 4vw, 84px) !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
  body:is(.aegis-service-page--camerabeveiliging,.aegis-service-page--toegangscontrole,.aegis-service-page--maatwerk-engineering)
  .efas-inbraak-expansion--v2 .efas-inbraak-feature__visual img {
    width: 100% !important;
    height: clamp(360px, 33vw, 620px) !important;
    object-fit: cover;
  }
}
@media (max-width: 800px) {
  body:is(.aegis-service-page--camerabeveiliging,.aegis-service-page--toegangscontrole,.aegis-service-page--maatwerk-engineering)
  .efas-inbraak-expansion--v2 .efas-inbraak-feature {
    width: 100% !important;
    max-width: 100% !important;
    left: auto;
    transform: none;
  }
}

/* v0.8.76: widen the ACTUAL saved Gutenberg access layout as well as file templates.
   Previous fix only targeted .efas-inbraak-feature and missed .efas-access-feature. */
@media (min-width:801px) {
 body.aegis-service-page:is(.aegis-service-page--camerabeveiliging,.aegis-service-page--toegangscontrole,.aegis-service-page--maatwerk-engineering)
 .efas-access-page > .efas-access-feature,
 body.aegis-service-page:is(.aegis-service-page--camerabeveiliging,.aegis-service-page--toegangscontrole,.aegis-service-page--maatwerk-engineering)
 .efas-inbraak-expansion--v2 > .efas-inbraak-feature {
   position:relative!important;
   left:50%!important;
   width:100vw!important;
   max-width:none!important;
   margin-left:0!important;
   margin-right:0!important;
   transform:translateX(-50%)!important;
   box-sizing:border-box!important;
   padding-left:clamp(28px,4vw,76px)!important;
   padding-right:clamp(28px,4vw,76px)!important;
   grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   gap:clamp(36px,4vw,84px)!important;
 }
 body.aegis-service-page:is(.aegis-service-page--camerabeveiliging,.aegis-service-page--toegangscontrole,.aegis-service-page--maatwerk-engineering)
 .efas-access-feature__visual img {width:100%!important;max-width:none!important;height:clamp(360px,33vw,620px)!important;object-fit:cover!important;}
}
@media(max-width:800px) {
 body.aegis-service-page:is(.aegis-service-page--camerabeveiliging,.aegis-service-page--toegangscontrole,.aegis-service-page--maatwerk-engineering)
 .efas-access-page > .efas-access-feature {position:relative!important;left:auto!important;transform:none!important;width:100%!important;max-width:none!important;grid-template-columns:1fr!important;}
}
body.aegis-service-page .efas-access-cover .efas-service-back--inserted {display:inline-block!important;position:relative!important;z-index:5!important;margin:0 0 34px!important;color:#f6f1eb!important;text-decoration:none!important;font-size:13px!important;}
body.aegis-service-page .efas-access-cover .efas-service-back--inserted:hover {color:#dfaa77!important;}

/* v0.8.77: Align only the Inbraak top hero to the other service page covers. */
@media(min-width:782px){
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top.wp-block-cover.alignfull{padding:140px max(5vw,calc((100vw - 1640px)/2)) 100px!important;min-height:clamp(600px,75vh,900px)!important;justify-content:flex-start!important;}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top > .wp-block-cover__inner-container{max-width:1640px!important;}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top .efas-cover-content{max-width:820px!important;}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top .efas-cover-content h2{font-size:clamp(32px,3.8vw,66px)!important;line-height:1.12!important;margin-bottom:28px!important;}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top .efas-cover-content p:not(.efas-inbraak-eyebrow){font-size:clamp(15px,1.05vw,18px)!important;line-height:1.85!important;}
body.aegis-service-page--inbraakbeveiliging:has(.efas-editable-cover--top) .aegis-service-hero__back{left:max(5vw,calc((100vw - 1640px)/2))!important;top:68px!important;}
}
@media(max-width:781px){body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top.wp-block-cover.alignfull{padding:130px 6vw 95px!important;min-height:620px!important;}}

/* v0.8.78 — Align only Inbraakbeveiliging's top hero with the three access-style heroes.
   Existing image, fade, feature rows and scroll effects remain untouched. */
@media (min-width:782px) {
 body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top.wp-block-cover.alignfull {
   padding:clamp(120px,12vh,170px) max(var(--efas-content-gutter),calc((100vw - var(--efas-content-max))/2)) 100px!important;
   min-height:clamp(600px,75vh,900px)!important;
 }
 body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top.wp-block-cover > .wp-block-cover__inner-container {
   max-width:var(--efas-content-max)!important;
   margin:0 auto!important;
 }
 body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top .efas-cover-content {
   max-width:820px!important;
 }
 body.aegis-service-page--inbraakbeveiliging:has(.efas-editable-cover--top) .efas-inbraak-expansion--v2 > .efas-inbraak-peace > .aegis-service-hero__back {
   position:absolute!important;
   top:92px!important;
   left:max(var(--efas-content-gutter),calc((100vw - var(--efas-content-max))/2))!important;
   margin:0!important;
   z-index:30!important;
 }
}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top .efas-cover-content h2 {
  text-transform:none!important;
  font-size:clamp(32px,3.8vw,66px)!important;
  line-height:1.12!important;
  letter-spacing:-.035em!important;
  font-weight:800!important;
  margin:0 0 28px!important;
}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top .efas-cover-content .efas-inbraak-eyebrow {
  color:#d7a56d!important;
  font-size:12px!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
  margin:0 0 20px!important;
}
body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top .efas-cover-content p:not(.efas-inbraak-eyebrow) {
  font-size:clamp(15px,1.05vw,18px)!important;
  line-height:1.85!important;
  margin:0 0 20px!important;
}
@media(max-width:781px){
 body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top.wp-block-cover.alignfull{padding:130px 24px 95px!important;min-height:620px!important;}
 body.aegis-service-page--inbraakbeveiliging .efas-editable-cover--top.wp-block-cover > .wp-block-cover__inner-container{max-width:var(--efas-content-max)!important;}
}

/* v0.8.79 — native access-style hero for Inbraak only */
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-access-hero {max-width:none!important;width:100%!important;margin:0!important;padding:0!important;}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-access-hero .efas-access-cover--top {margin-top:0!important;}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-back-link {margin:0 0 28px!important;font-size:14px!important;line-height:1.5!important;}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-back-link a {color:#fff!important;text-decoration:none!important;}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-back-link a:hover {color:#d7a06c!important;}
body.aegis-service-page--inbraakbeveiliging .efas-inbraak-access-hero .efas-access-cover__copy h2 {text-transform:none!important;}

/* EFAS 0.8.80 — bronze expanding detail under homepage Werkwijze. */
body.home #werkwijze .aegis-step{cursor:pointer;transition:background .3s,color .3s,box-shadow .3s;outline-offset:4px}
body.home #werkwijze .aegis-step:hover,body.home #werkwijze .aegis-step.efas-step--active{background:rgba(166,105,54,.17)!important;box-shadow:inset 0 3px #c99563}
body.home #werkwijze .aegis-step.efas-step--active h3,body.home #werkwijze .aegis-step.efas-step--active small,body.home #werkwijze .aegis-step:hover h3{color:#d7a16d!important}
body.home #werkwijze .efas-process-detail{display:grid;grid-template-columns:1.08fr .92fr;background:linear-gradient(115deg,#62412b,#91613f 65%,#a4734d);color:#fff7ed;border:1px solid rgba(220,171,116,.3);overflow:hidden;max-height:0;opacity:0;visibility:hidden;transform:translateY(-12px);transition:max-height .48s cubic-bezier(.2,.75,.25,1),opacity .34s,transform .48s,visibility .48s;margin:0}
body.home #werkwijze .efas-process-detail--open{max-height:480px;opacity:1;visibility:visible;transform:translateY(0)}
body.home #werkwijze .efas-process-detail__copy{padding:clamp(28px,4vw,62px);display:flex;flex-direction:column;justify-content:center}
body.home #werkwijze .efas-process-detail__eyebrow{font-size:11px;letter-spacing:.17em;color:#f1d3af}
body.home #werkwijze .efas-process-detail h3{font-size:clamp(26px,2.7vw,43px);line-height:1.15;color:#fff8f0!important;margin:16px 0 18px}
body.home #werkwijze .efas-process-detail p{font-size:clamp(14px,1vw,17px);line-height:1.8;color:#f8e8d6!important;max-width:580px;margin:0}
body.home #werkwijze .efas-process-detail__image{min-height:320px;overflow:hidden}
body.home #werkwijze .efas-process-detail__image img{display:block;width:100%;height:100%;min-height:320px;object-fit:cover}
@media(max-width:700px){body.home #werkwijze .efas-process-detail{grid-template-columns:1fr}body.home #werkwijze .efas-process-detail--open{max-height:750px}body.home #werkwijze .efas-process-detail__copy{padding:26px 24px}body.home #werkwijze .efas-process-detail__image,body.home #werkwijze .efas-process-detail__image img{min-height:200px;max-height:240px}}
@media(prefers-reduced-motion:reduce){body.home #werkwijze .efas-process-detail,body.home #werkwijze .aegis-step{transition:none!important}}

/* v0.8.81: expanded Werkwijze detail exactly matches width of the four steps. */
body.home #werkwijze .efas-process-detail {
  max-width:none!important;
  box-sizing:border-box;
}
body.home #werkwijze .efas-process-detail__image img {object-position:center;}

/* v0.8.82 — full viewport bronze process panel, without moving step cards. */
body.home #werkwijze .efas-process-detail {
  max-width:none!important;
  box-sizing:border-box!important;
  margin-right:0!important;
}
body.home #werkwijze {overflow:visible!important;}

/* v0.8.83 — editable Gutenberg detail cards; true centered full-viewport panel. */
body.home #werkwijze .efas-process-detail--editable {
 position:relative!important;box-sizing:border-box!important;
 margin:0!important;padding:0!important;max-width:none!important;
 display:block!important;
}
body.home #werkwijze .efas-process-detail--editable:not(.efas-process-detail--open) {
 max-height:0!important;opacity:0!important;visibility:hidden!important;
}
body.home #werkwijze .efas-process-detail--editable.efas-process-detail--open {
 max-height:600px!important;opacity:1!important;visibility:visible!important;
}
body.home #werkwijze .efas-process-card {max-width:none!important;margin:0!important;padding:0!important;}
body.home #werkwijze .efas-process-card[hidden]{display:none!important;}
body.home #werkwijze .efas-process-card__columns {
 display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;
 margin:0!important;align-items:stretch!important;
}
body.home #werkwijze .efas-process-card__columns > .wp-block-column {min-width:0!important;flex-basis:auto!important;margin:0!important;}
body.home #werkwijze .efas-process-detail__image figure {height:100%!important;margin:0!important;}
body.home #werkwijze .efas-process-detail__image img {height:100%!important;min-height:320px!important;object-fit:cover!important;}
@media(max-width:700px){
 body.home #werkwijze .efas-process-card__columns {grid-template-columns:1fr!important;}
 body.home #werkwijze .efas-process-detail--editable.efas-process-detail--open{max-height:850px!important;}
}
.editor-styles-wrapper .efas-process-detail--editable {
 max-height:none!important;opacity:1!important;visibility:visible!important;
 transform:none!important;display:block!important;
}
.editor-styles-wrapper .efas-process-detail--editable .efas-process-card {margin:12px 0!important;}

/* EFAS v0.8.84 — discreet, seamless luxury process reveal.
   Only the editable homepage Werkwijze panels are affected. */
body.home #werkwijze .efas-process-detail--editable {
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-card {
  background:
    radial-gradient(ellipse 64% 95% at 27% 54%,rgba(112,73,45,.30) 0%,rgba(65,42,29,.17) 45%,transparent 82%),
    linear-gradient(90deg,#0b0a09 0%,#17120f 26%,#16110e 49%,#0b0a09 100%)!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-card__columns {
  background:transparent!important;
  min-height:355px;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__copy {
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  position:relative;
  z-index:2;
  padding:clamp(32px,4.8vw,86px)!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__copy h3 {
  color:#f5eee6!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__copy p:not(.efas-process-detail__eyebrow) {
  color:#d1c4b7!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image {
  position:relative!important;
  overflow:hidden!important;
  background:#0b0a09!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image:after {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,#16110e 0%,rgba(22,17,14,.82) 9%,rgba(22,17,14,.30) 35%,transparent 69%),
    linear-gradient(0deg,rgba(11,10,9,.32),transparent 32%,transparent 78%,rgba(11,10,9,.15));
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image img {
  filter:saturate(.76) brightness(.78)!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
@media(max-width:700px){
 body.home #werkwijze .efas-process-detail--editable .efas-process-detail__copy {
   padding:32px 26px!important;
 }
 body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image:after {
   background:linear-gradient(180deg,#16110e 0%,rgba(22,17,14,.35) 32%,transparent 75%);
 }
}

/* EFAS 0.8.85 — balanced full-width layout for editable process details. */
body.home #werkwijze .efas-process-detail--editable .efas-process-card,
body.home #werkwijze .efas-process-detail--editable .efas-process-card__columns {
  width:100%!important;
  max-width:none!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-card__columns {
  display:grid!important;
  grid-template-columns:56% 44%!important;
  gap:0!important;
  align-items:stretch!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__copy {
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  padding-left:clamp(44px,calc((100vw - 1280px)/2),190px)!important;
  padding-right:clamp(45px,5vw,100px)!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__copy > * {
  max-width:700px!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image {
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image figure {
  width:100%!important;
  max-width:none!important;
}
@media(max-width:700px) {
 body.home #werkwijze .efas-process-detail--editable .efas-process-card__columns {
   grid-template-columns:1fr!important;
 }
 body.home #werkwijze .efas-process-detail--editable .efas-process-detail__copy {
   padding:32px 26px!important;
 }
}

/* v0.8.86 — identical vertical alignment and image framing for all four tabs */
@media (min-width:701px) {
 body.home #werkwijze .efas-process-detail--editable .efas-process-card,
 body.home #werkwijze .efas-process-detail--editable .efas-process-card__columns {
   height:440px!important;min-height:440px!important;max-height:440px!important;
 }
 body.home #werkwijze .efas-process-detail--editable .efas-process-card__columns {
   align-items:stretch!important;
 }
 body.home #werkwijze .efas-process-detail--editable .efas-process-detail__copy {
   height:440px!important;min-height:0!important;
   display:flex!important;flex-direction:column!important;
   justify-content:center!important;align-items:flex-start!important;
   box-sizing:border-box!important;
 }
 body.home #werkwijze .efas-process-detail--editable .efas-process-detail__copy > * {
   width:100%;max-width:700px!important;
 }
 body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image,
 body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image figure,
 body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image img {
   height:440px!important;min-height:440px!important;max-height:440px!important;
   margin-top:0!important;margin-bottom:0!important;
 }
 body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image img {
   object-fit:cover!important;object-position:center center!important;
 }
}

/* v0.8.87 — fluid Werkwijze width on large screens; centered on both sides.
   Keep the full-bleed expanding detail panel and mobile layout unchanged. */
@media (min-width: 961px) {
  body.home #werkwijze > .aegis-section__inner {
    width: calc(100% - clamp(48px, 8vw, 160px)) !important;
    max-width: 1800px !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }
  body.home #werkwijze .aegis-process.wp-block-columns {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  body.home #werkwijze .aegis-process > .wp-block-column {
    min-width: 0 !important;
  }
  body.home #werkwijze .aegis-step {
    padding-right: clamp(16px, 2vw, 40px) !important;
  }
}

/* v0.8.88: center the editable Werkwijze navigation at 90vw on wide screens.
   Overrides WordPress constrained-layout max-width on the inner Gutenberg Group. */
@media (min-width: 961px) {
  body.home section#werkwijze.wp-block-group.aegis-section > .wp-block-group.aegis-section__inner,
  body.home #werkwijze > .aegis-section__inner.is-layout-constrained {
    width: 90% !important;
    max-width: 1900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  body.home #werkwijze > .aegis-section__inner > .wp-block-columns.aegis-process {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    gap: 0 !important;
  }
  body.home #werkwijze .aegis-process > .wp-block-column.aegis-step {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 28px clamp(18px, 2vw, 42px) 28px 0 !important;
  }
  body.home #werkwijze .aegis-process > .wp-block-column.aegis-step:last-child {
    padding-right: 0 !important;
  }
  body.home #werkwijze .efas-process-detail--editable {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }
  body.home #werkwijze .efas-process-detail--editable .efas-process-detail__copy {
    padding-left: max(5vw, calc((100vw - 1900px)/2)) !important;
  }
}

/* v0.8.89 — remove color/darkening overlay from Werkwijze photos only. */
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image::after {
  content:none!important;
  background:none!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image img {
  filter:none!important;
  opacity:1!important;
}

/* v0.8.90 — improve visibility of original Werkwijze photography. */
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image img {
  filter:brightness(1.34) saturate(1.12) contrast(1.04)!important;
  opacity:1!important;
}
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image::before,
body.home #werkwijze .efas-process-detail--editable .efas-process-detail__image::after {
  content:none!important; background:none!important; box-shadow:none!important;
}

/* v0.8.61: all four services use the exact inbraakbeveiliging page geometry. */
body.aegis-service-page .efas-inbraak-expansion--v2 {width:100%;max-width:none;margin:0;}
body.aegis-service-page .efas-inbraak-expansion--v2 > .efas-inbraak-peace {width:100%;max-width:none;}
body.aegis-service-page .efas-inbraak-expansion--v2 > .efas-inbraak-peace > .efas-editable-cover--top {width:100vw!important;max-width:none!important;position:relative;left:50%;transform:translateX(-50%);margin:0!important;}
body.aegis-service-page .efas-inbraak-expansion--v2 .efas-inbraak-feature__visual figure,body.aegis-service-page .efas-inbraak-expansion--v2 .efas-inbraak-feature__visual img {width:100%!important;max-width:none!important;}
body.aegis-service-page .efas-inbraak-expansion--v2 .efas-inbraak-feature {max-width:none!important;}
@media(max-width:800px){body.aegis-service-page .efas-inbraak-expansion--v2 > .efas-inbraak-peace > .efas-editable-cover--top{width:100%!important;left:auto;transform:none;}}

/* Service back navigation: sentence case on every service page. */
body.aegis-service-page .efas-service-back, body.aegis-service-page .efas-service-back a, body.aegis-service-page .efas-inbraak-back-link, body.aegis-service-page .efas-inbraak-back-link a, body.aegis-service-page .aegis-service-hero__back, body.aegis-service-page .aegis-service-hero__back a {text-transform:none!important;}

/* Force sentence case regardless of WordPress template or service-page body classes. */
a[href*="#diensten"]:not(.wp-block-navigation-item__content), .aegis-service-hero__back, .efas-service-back, .efas-inbraak-back-link {
  text-transform: none !important;
}
.aegis-service-hero__back *, .efas-service-back *, .efas-inbraak-back-link * {
  text-transform: none !important;
}

body a[href*="#diensten"]:not(.wp-block-navigation-item__content),body .aegis-service-hero__back,body .aegis-service-hero__back a{ text-transform:lowercase!important;font-variant-caps:normal!important;}

/* Harmonized service typography, matching the calmer homepage section scale. */
body.aegis-service-page .efas-access-page h2,
body.aegis-service-page .efas-inbraak-expansion h2,
body.aegis-service-page .efas-editable-cover h2 {
font-size:clamp(30px,3.2vw,48px)!important;line-height:1.18!important;letter-spacing:-.03em!important;text-transform:none!important;}
body.aegis-service-page .efas-inbraak-expansion h3,
body.aegis-service-page .efas-access-page h3 {
font-size:clamp(21px,2vw,28px)!important;line-height:1.25!important;text-transform:none!important;}
body.aegis-service-page .efas-access-page p:not(.efas-access-eyebrow):not(.efas-service-back),
body.aegis-service-page .efas-inbraak-expansion p:not(.efas-inbraak-eyebrow):not(.efas-inbraak-kicker):not(.efas-inbraak-back-link),
body.aegis-service-page .efas-editable-cover p:not(.efas-inbraak-eyebrow) {
font-size:clamp(14px,1vw,17px)!important;line-height:1.8!important;}
body.aegis-service-page .efas-access-eyebrow,
body.aegis-service-page .efas-inbraak-eyebrow,
body.aegis-service-page .efas-inbraak-kicker {
font-size:clamp(11px,.8vw,12px)!important;text-transform:none!important;letter-spacing:.12em!important;}
body.aegis-service-page .efas-service-back,
body.aegis-service-page .efas-inbraak-back-link,
body.aegis-service-page .aegis-service-hero__back,
body.aegis-service-page .efas-service-back a,
body.aegis-service-page .efas-inbraak-back-link a,
body.aegis-service-page .aegis-service-hero__back a {
font-size:14px!important;text-transform:none!important;font-variant-caps:normal!important;}

/* Service-page typography: same restrained size hierarchy, uppercase all headings and labels. */
body .efas-inbraak-expansion :is(h1,h2,h3,h4),
body .efas-access-page :is(h1,h2,h3,h4),
body .efas-editable-cover :is(h1,h2,h3,h4),
body .efas-inbraak-peace :is(h1,h2,h3,h4),
body .efas-inbraak-expansion .efas-inbraak-eyebrow,
body .efas-inbraak-expansion .efas-inbraak-kicker,
body .efas-access-page .efas-access-eyebrow,
body .efas-inbraak-expansion .efas-access-eyebrow,
body .efas-inbraak-expansion .efas-inbraak-advice__eyebrow {
 text-transform:uppercase!important;
 font-variant-caps:normal!important;
}
body .efas-inbraak-expansion h1,
body .efas-inbraak-expansion h2,
body .efas-access-page h1,
body .efas-access-page h2,
body .efas-editable-cover h2 {
 font-size:clamp(28px,3vw,40px)!important;
 line-height:1.18!important;
}
body .efas-inbraak-expansion h3,
body .efas-access-page h3 {
 font-size:clamp(20px,1.8vw,26px)!important;
}
body .efas-inbraak-expansion p:not(.efas-inbraak-eyebrow):not(.efas-inbraak-kicker):not(.aegis-service-hero__back),
body .efas-access-page p:not(.efas-access-eyebrow):not(.efas-service-back) {
 font-size:clamp(14px,1vw,17px)!important;
 line-height:1.75!important;
}
body .aegis-service-hero__back,
body .aegis-service-hero__back a,
body .efas-service-back,
body .efas-service-back a {
 text-transform:none!important;
 font-variant-caps:normal!important;
}

/* Definitive typography: service headings in capitals at homepage heading scale. */
body .aegis-service-detail .efas-inbraak-expansion .efas-editable-cover .efas-cover-content h2.wp-block-heading,
body .aegis-service-detail .efas-inbraak-expansion .efas-inbraak-feature__copy h2.wp-block-heading,
body .aegis-service-detail .efas-inbraak-expansion .efas-inbraak-feature__copy h3.wp-block-heading,
body .aegis-service-detail .efas-inbraak-expansion .efas-inbraak-peace h2.wp-block-heading,
body .aegis-service-detail .efas-inbraak-expansion .efas-inbraak-advice h2.wp-block-heading,
body .aegis-service-detail .efas-inbraak-expansion .efas-access-cover__copy h2.wp-block-heading,
body .aegis-service-detail .efas-inbraak-expansion .efas-access-feature__copy h2.wp-block-heading,
body .aegis-service-detail .efas-inbraak-expansion .wp-block-heading {
 text-transform:uppercase!important;
 font-size:clamp(28px,3vw,40px)!important;
 line-height:1.18!important;
 letter-spacing:-.025em!important;
}
body .aegis-service-detail .efas-inbraak-expansion .efas-inbraak-eyebrow,
body .aegis-service-detail .efas-inbraak-expansion .efas-access-eyebrow,
body .aegis-service-detail .efas-inbraak-expansion .efas-inbraak-kicker {
 text-transform:uppercase!important;
}
body .aegis-service-detail .aegis-service-hero__back,
body .aegis-service-detail .aegis-service-hero__back a {
 text-transform:none!important;
}

/* 12-11-2026: contactknop onder "Persoonlijk advies" centreren */
.aegis-darkband .wp-block-buttons.aegis-cta:has(a[href^="mailto:"]) {
  justify-content: center;
}