/*
Theme Name: Active Perimeter AI
Theme URI: https://activeperimeterai.com/
Author: Active Perimeter AI
Description: Lightweight, accessible block theme for Active Perimeter AI.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: active-perimeter-ai
*/
:root{--ap-ink:#eaf2ff;--ap-muted:#aabbd4;--ap-bg:#071321;--ap-panel:#10253b;--ap-line:#28415c;--ap-cyan:#40c7ed;--ap-gold:#e7be73}html{scroll-behavior:smooth}body{background:var(--ap-bg);color:var(--ap-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:0}a{color:var(--ap-cyan)}a:hover{color:#b8efff}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--ap-gold);outline-offset:3px}.wp-site-blocks{overflow:hidden}.ap-header{position:relative;z-index:2;border-bottom:1px solid var(--ap-line);background:#081a2b}.ap-header .wp-block-site-title a{font-weight:800;letter-spacing:.04em;text-decoration:none;color:white}.ap-header .wp-block-navigation a{color:#d9e8fb;text-decoration:none;font-size:.91rem}.ap-header .wp-block-navigation a:hover{color:var(--ap-cyan)}.ap-hero{position:relative;isolation:isolate;background:radial-gradient(ellipse at 88% 20%,#164d66 0%,transparent 46%),linear-gradient(135deg,#081927 0%,#0c2c48 75%,#102d3a 100%);border-bottom:1px solid #28435b;padding:clamp(70px,10vw,142px) 24px}.ap-hero:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.14;background-image:linear-gradient(#6db5cf 1px,transparent 1px),linear-gradient(90deg,#6db5cf 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(90deg,transparent 20%,#000)}.ap-hero-inner{max-width:1120px;margin:auto}.ap-kicker{text-transform:uppercase;letter-spacing:.22em;color:var(--ap-cyan);font-size:.77rem;font-weight:800}.ap-hero h1{font-size:clamp(2.6rem,6.5vw,5.5rem);line-height:1.08;letter-spacing:-.055em;max-width:850px;margin:18px 0 26px;color:#f6fbff}.ap-hero p{font-size:clamp(1.04rem,2vw,1.3rem);color:#c2d3e8;max-width:650px;line-height:1.68}.ap-button a,.wp-block-button__link{background:var(--ap-cyan)!important;color:#052238!important;border-radius:6px!important;font-weight:800!important;padding:14px 25px!important;text-decoration:none!important}.ap-button.secondary a{background:transparent!important;color:white!important;border:1px solid #6d92ac}.ap-section{padding:75px 24px}.ap-section.alt{background:#0c2033}.ap-section-inner{max-width:1120px;margin:auto}.ap-section h2{font-size:clamp(1.85rem,3.4vw,2.8rem);letter-spacing:-.04em;color:#f7fbff}.ap-lead{max-width:760px;color:var(--ap-muted);line-height:1.75;font-size:1.1rem}.ap-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:38px 0}.ap-card{border:1px solid var(--ap-line);background:linear-gradient(145deg,#122d45,#0b2033);border-radius:12px;padding:26px;min-height:170px}.ap-card strong{font-size:1.18rem;color:#f5fbff}.ap-card p{color:#b6c7dc;line-height:1.65}.ap-label{font-size:.75rem;letter-spacing:.17em;text-transform:uppercase;color:var(--ap-cyan);font-weight:800}.ap-page{max-width:890px;margin:0 auto;padding:60px 24px 90px;min-height:55vh}.ap-page h1{font-size:clamp(2.15rem,4.5vw,3.5rem);letter-spacing:-.04em}.ap-page h2{margin-top:42px}.ap-page p,.ap-page li{color:#c0d0e3;line-height:1.82}.ap-page a{overflow-wrap:anywhere}.ap-footer{border-top:1px solid var(--ap-line);background:#050f1b;padding:42px 24px}.ap-footer p{color:#9fb3cc;font-size:.88rem}.ap-footer a{color:#c8d9ee}.ap-pill{display:inline-block;border:1px solid #3e7085;color:#9de6f8;border-radius:99px;padding:8px 14px;font-size:.79rem}.ap-sms-form{max-width:650px;background:#10273c;border:1px solid #41627b;border-radius:12px;padding:24px;margin:28px 0}.ap-sms-form label{display:block;font-weight:700;margin-bottom:8px}.ap-sms-form input[type=tel]{display:block;background:#061a2b;border:1px solid #62809b;border-radius:5px;padding:13px;color:#fff;width:100%;box-sizing:border-box;font-size:1rem}.ap-sms-form .ap-consent{display:flex;gap:12px;align-items:flex-start;margin:22px 0;line-height:1.6;color:#c5d8e9;font-size:.93rem}.ap-sms-form .ap-consent input{margin-top:5px;min-width:20px;min-height:20px}.ap-sms-form button{background:var(--ap-cyan);border:0;border-radius:5px;color:#041828;padding:14px 24px;font-weight:800;cursor:pointer}.ap-sms-note{border-left:3px solid #e7be73;padding:10px 16px;background:#3b2b16;color:#ffebbd}.ap-sms-result{margin-top:14px;padding:12px 16px;border:1px solid #689d99;background:#14372f;color:#d2fff6}.ap-micro{font-size:.87rem;color:#a5bbd2}.ap-hp{position:absolute;left:-99999px}@media(max-width:800px){.ap-card-grid{grid-template-columns:1fr}.ap-section{padding:52px 20px}.ap-hero{padding:70px 20px}.ap-header .wp-block-group{flex-wrap:wrap!important}.ap-header .wp-block-navigation{width:100%}.ap-page{padding:45px 20px 65px}}

/* Version 1.1: photographic homepage and refined corporate presentation */
:root{--ap-bright:#129afb;--ap-pale:#eff6ff;--ap-dark:#061528}
.ap-container{max-width:1180px;padding-inline:26px;margin-inline:auto;box-sizing:border-box}
.ap-header{z-index:40;background:#061425;border-bottom:1px solid rgba(151,194,225,.18);position:relative}
.ap-header-inner{max-width:1220px!important;min-height:82px;padding:10px 25px;box-sizing:border-box;gap:26px}
.ap-brand{gap:12px!important;flex-wrap:nowrap!important}.ap-brand-icon{display:flex;color:#eaf8ff;width:41px;height:46px;flex-shrink:0}.ap-brand-icon svg{width:100%;height:100%}
.ap-brand .wp-block-site-title{margin:0;white-space:nowrap}.ap-brand .wp-block-site-title a{font-size:1.28rem;letter-spacing:-.025em;font-weight:850;color:#f1f8ff}
.ap-header .wp-block-navigation a{font-size:.87rem;font-weight:650}.ap-header .wp-block-navigation-item.ap-nav-sms a{border:1px solid #379fe2;background:#0c3e70;border-radius:7px;padding:11px 15px;color:#fff}
.ap-home-hero{position:relative;min-height:620px;display:flex;align-items:center;background:#071a32;overflow:hidden;isolation:isolate}
.ap-home-hero__photo{position:absolute;inset:0 0 0 38%;background-image:url('assets/security-camera-hero.webp');background-position:50% 50%;background-size:cover;z-index:-2}
.ap-home-hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,#051528 0%,#071a31 28%,rgba(7,26,49,.91) 43%,rgba(7,26,49,.35) 70%,rgba(7,26,49,.08) 100%),linear-gradient(0deg,rgba(2,14,27,.7),transparent 30%);z-index:-1}
.ap-home-hero__content{width:100%;padding-block:94px 100px}.ap-eyebrow{display:flex;align-items:center;gap:10px;color:#81d9ff;font-size:.78rem;font-weight:800;letter-spacing:.2em}.ap-dot{width:8px;height:8px;border-radius:50%;background:#20b7ff;box-shadow:0 0 0 5px rgba(32,183,255,.13)}
.ap-home-hero h1{font-size:clamp(3rem,5.4vw,5.55rem);letter-spacing:-.058em;line-height:1.065;max-width:790px;margin:25px 0;color:#f4faff;text-wrap:balance}.ap-home-hero h1 span{color:#46bcff}
.ap-home-hero__intro{font-size:clamp(1.03rem,1.65vw,1.25rem);max-width:570px;color:#d9e6f7;line-height:1.7;margin-bottom:33px}
.ap-actions{display:flex;gap:13px;flex-wrap:wrap}.ap-cta{display:inline-flex;align-items:center;justify-content:center;gap:21px;background:linear-gradient(120deg,#0b98ed,#0873dc);color:#fff!important;border:1px solid #149bff;border-radius:8px;text-decoration:none;font-weight:750;font-size:.97rem;padding:16px 23px;box-shadow:0 8px 25px rgba(0,73,146,.19);transition:transform .2s,background .2s}.ap-cta:hover{transform:translateY(-2px);background:#0485e0;color:white!important}.ap-cta--outline{background:rgba(7,29,50,.38);border-color:#95c1dd;box-shadow:none}.ap-home-hero__note{font-size:.8rem;color:#bbcada;margin-top:28px}.ap-mini-shield{color:#3ac2fc;margin-right:5px}
.ap-benefit-strip{background:#081a2d;border-top:1px solid #20425f;border-bottom:1px solid #28506c}.ap-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.ap-benefit{display:flex;gap:15px;padding:29px 15px;align-items:center;min-width:0}.ap-benefit+.ap-benefit{border-left:1px solid #2a4763}.ap-benefit-icon{width:38px;flex-shrink:0;text-align:center;color:#47c2ff;font-size:1.8rem;white-space:nowrap;font-weight:700}.ap-benefit strong,.ap-benefit span{display:block}.ap-benefit strong{font-size:.97rem;color:#f9fbff}.ap-benefit div span{color:#a6bdd6;margin-top:4px;font-size:.8rem;line-height:1.4}
.ap-home-section{padding:95px 0}.ap-home-section--light{background:linear-gradient(130deg,#edf5fe,#fbfdff 65%);color:#0c1d35}.ap-story{display:grid;grid-template-columns:1.08fr 1fr;gap:70px;align-items:center}.ap-story__visual img{display:block;width:100%;height:auto;border-radius:13px;box-shadow:0 22px 55px rgba(5,33,61,.22)}.ap-story__caption{margin-top:11px;font-size:.72rem;color:#60748d;text-align:center}.ap-overline{color:#1486d4;letter-spacing:.18em;font-size:.74rem;font-weight:850;margin:0 0 17px}.ap-home-section h2{color:inherit;line-height:1.14;font-size:clamp(2.05rem,3.4vw,3.2rem);letter-spacing:-.045em;margin:0 0 24px}.ap-story__text>p:not(.ap-overline),.ap-feature-split__copy>p:not(.ap-overline){color:#486078;line-height:1.8;font-size:1.05rem}.ap-checks{list-style:none;padding:0;margin:22px 0 25px}.ap-checks li{padding:9px 0 9px 33px;position:relative;font-size:.94rem;color:#1e3651}.ap-checks li:before{content:'✓';position:absolute;left:1px;color:#0687db;font-size:1.13rem;font-weight:850}.ap-text-link{font-weight:800;color:#087ad1!important;text-decoration:none}
.ap-home-section--dark{background:#091b30;color:white}.ap-home-section--dark .ap-overline{color:#53c6fb}.ap-section-heading{display:flex;justify-content:space-between;align-items:end;gap:60px}.ap-section-heading>div{max-width:650px}.ap-section-heading>p{max-width:400px;line-height:1.75;color:#b4c8dd}.ap-process{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}.ap-process-card{border:1px solid #2b4b66;background:linear-gradient(145deg,#112d47,#0b2138);border-radius:13px;padding:32px;min-height:205px}.ap-process-number{color:#78a9c6;font-size:.78rem;letter-spacing:.14em}.ap-process-symbol{font-size:2rem;color:#47c2fa;margin:22px 0 8px}.ap-process-card h3{color:#fff;font-size:1.45rem;margin:0 0 8px}.ap-process-card p{color:#b6c7db;line-height:1.7;margin:0}
.ap-home-section--split{background:#0b2238;color:#fff;padding:0}.ap-feature-split{display:grid;grid-template-columns:1fr 1fr;min-height:445px;gap:45px;align-items:center}.ap-feature-split__copy{padding:76px 0}.ap-feature-split__copy>p:not(.ap-overline){color:#bed0e1}.ap-feature-split__copy .ap-cta{margin-top:16px}.ap-feature-split__image{align-self:stretch;min-height:420px;background:url('assets/perimeter-camera-detail.webp') center 45%/cover no-repeat;border-left:1px solid #2a536e;border-right:1px solid #2a536e}
.ap-home-section--contact{background:linear-gradient(120deg,#e7f3ff,#fff);color:#0b1d33;padding:66px 0}.ap-contact-banner{display:flex;align-items:center;justify-content:space-between;gap:60px}.ap-contact-banner h2{margin-bottom:12px}.ap-contact-banner p:not(.ap-overline){color:#4f637b;line-height:1.65;max-width:730px}.ap-contact-banner .ap-cta{flex-shrink:0}
.ap-footer{padding:50px 24px;background:#04101e;border-top-color:#15314d}.ap-footer-inner{max-width:1140px!important}.ap-footer-brand{font-size:1.28rem!important;color:white!important;letter-spacing:.04em}.ap-footer-brand span{color:#38b9ff}.ap-footer-legal{font-size:.75rem!important;border-top:1px solid #1b354d;padding-top:18px;margin-top:25px}
.ap-page{max-width:920px;background:transparent}.ap-page h1{font-weight:850}.ap-page h2{color:#eaf6ff}.ap-page h1:after{content:'';display:block;width:65px;height:4px;background:#18a4f5;border-radius:5px;margin-top:19px}
@media(max-width:1050px){.ap-header-inner{gap:15px}.ap-brand .wp-block-site-title a{font-size:1.04rem}.ap-header .wp-block-navigation a{font-size:.8rem}.ap-benefit{padding:24px 10px;gap:9px}.ap-story{gap:30px}.ap-feature-split{gap:30px}}
@media(max-width:780px){.ap-header-inner{min-height:72px;padding:12px 18px}.ap-brand-icon{width:32px;height:37px}.ap-header .wp-block-navigation{width:auto!important}.ap-container{padding-inline:21px}.ap-home-hero{min-height:610px}.ap-home-hero__photo{inset:0;background-position:66% center;opacity:.54}.ap-home-hero__shade{background:linear-gradient(90deg,rgba(4,17,31,.96),rgba(4,17,31,.72))}.ap-home-hero__content{padding-block:85px}.ap-home-hero h1{font-size:clamp(2.55rem,9vw,4.1rem)}.ap-benefit-grid{grid-template-columns:repeat(2,1fr)}.ap-benefit:nth-child(3){border-left:0}.ap-benefit:nth-child(n+3){border-top:1px solid #2a4763}.ap-home-section{padding:64px 0}.ap-story,.ap-feature-split{grid-template-columns:1fr}.ap-section-heading{display:block}.ap-section-heading>p{max-width:700px}.ap-process{grid-template-columns:1fr}.ap-process-card{min-height:unset}.ap-feature-split__copy{padding:60px 0 15px}.ap-feature-split__image{min-height:310px}.ap-contact-banner{display:block}.ap-contact-banner .ap-cta{margin-top:18px}}
@media(max-width:420px){.ap-brand .wp-block-site-title a{font-size:.94rem}.ap-benefit{gap:7px;padding:20px 8px}.ap-benefit-icon{width:26px;font-size:1.3rem}.ap-benefit strong{font-size:.83rem}.ap-benefit div span{font-size:.71rem}.ap-actions{flex-direction:column;align-items:stretch}.ap-cta{justify-content:center}.ap-home-hero{min-height:unset}}

/* Ensure photographic homepage sections span the viewport in WordPress block layouts. */
body.home .wp-block-post-content,body.home .wp-block-post-content > .ap-home-hero,body.home .wp-block-post-content > .ap-benefit-strip,body.home .wp-block-post-content > .ap-home-section{max-width:none!important;width:100%!important;margin-left:auto!important;margin-right:auto!important}
