/* =========================================================
   STRATEGIC SECURITY — inner pages
   (services, about, why us, jobs, reviews, contact)
   Builds on styles.css tokens + components.
   ========================================================= */

/* Anchors clear the sticky header */
section[id],.anchor{scroll-margin-top:96px}

/* Current page in the nav */
.nav__link[aria-current="page"]{color:var(--text)}
.nav__link[aria-current="page"]::after{transform:scaleX(1)}
.dd__item[aria-current="page"]{background:var(--steel-750);border-color:rgba(242,194,0,.35)}

/* Whole service card is clickable */
.svc__more::after{content:"";position:absolute;inset:0;z-index:4}
.svc h3 a{color:inherit}

/* ============================================================ PAGE HERO */
.phero{position:relative;overflow:hidden;isolation:isolate;background:var(--steel-950);padding:52px 0 64px;border-bottom:1px solid var(--line)}
.phero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;filter:grayscale(.06) contrast(1.05) brightness(.72)}
.phero__grade{position:absolute;inset:0;z-index:-1;background:
  linear-gradient(90deg,rgba(7,10,15,.96) 0%,rgba(7,10,15,.87) 40%,rgba(7,10,15,.48) 76%,rgba(7,10,15,.62) 100%),
  linear-gradient(0deg,rgba(7,10,15,.92) 0%,transparent 42%)}
.phero__edge{position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,transparent,var(--gold),transparent)}
.phero__wrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.82fr);gap:52px;align-items:center}
.phero h1{font-size:clamp(2.1rem,4.1vw,3.55rem);font-weight:700;margin:14px 0 0;letter-spacing:.005em}
.phero h1 .gold{color:var(--gold)}
.phero__sub{font-size:clamp(1.02rem,1.3vw,1.16rem);color:#c7d2e0;max-width:60ch;margin:18px 0 28px;line-height:1.62}
.phero__sub b{color:#fff;font-weight:600}
.phero .hero__chips{margin-top:26px}
.phero--short .phero__wrap{grid-template-columns:1fr}
.phero--short .phero__left{max-width:820px}

.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-family:var(--f-tech);font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:22px}
.crumbs a{color:var(--muted);transition:color .2s}
.crumbs a:hover{color:var(--gold)}
.crumbs .sep{opacity:.45}
.crumbs [aria-current]{color:var(--gold)}

/* Quick-quote card */
.qcard{position:relative;background:linear-gradient(180deg,rgba(17,24,38,.95),rgba(10,13,20,.95));backdrop-filter:blur(10px);border:1px solid var(--line-2);border-radius:14px;padding:28px 26px 22px;box-shadow:0 40px 80px -30px rgba(0,0,0,.9)}
.qcard::before{content:"";position:absolute;left:24px;right:24px;top:-1px;height:3px;border-radius:0 0 3px 3px;background:linear-gradient(90deg,var(--gold-deep),var(--gold),var(--gold-2))}
.qcard__tag{display:inline-flex;align-items:center;gap:8px;font-family:var(--f-tech);font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-bottom:10px}
.qcard__tag i{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 8px var(--cyan);animation:pulse2 1.8s infinite}
.qcard h2{font-size:1.45rem;margin-bottom:6px}
.qcard .sub{color:var(--muted);font-size:.9rem;margin-bottom:18px;line-height:1.5}
.qcard .field{margin-bottom:12px}
.qcard .field label{margin-bottom:6px}
.qcard .field input,.qcard .field select{padding:12px 14px}
.qcard .form-row{gap:12px}
.qcard__call{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;font-family:var(--f-tech);font-size:.78rem;letter-spacing:.05em;color:var(--muted)}
.qcard__call svg{width:14px;height:14px;color:var(--gold)}
.qcard__call a{color:var(--text);font-weight:600}
.qcard__call a:hover{color:var(--gold)}
.qcard .form__ok{padding:22px 4px}

/* ============================================================ LONG-FORM COPY */
.prose p{color:var(--muted);font-size:1.04rem;line-height:1.78;margin:0 0 18px}
.prose p:last-child{margin-bottom:0}
.prose b,.prose strong{color:var(--text);font-weight:600}
.prose h3{font-size:1.3rem;margin:32px 0 12px}
.prose a{color:var(--gold);text-decoration:underline;text-decoration-color:rgba(242,194,0,.45);text-underline-offset:3px}
.section--light .prose a{color:#9a6f04;text-decoration-color:rgba(154,111,4,.45)}
.prose .h-lg{margin:16px 0 22px}

/* Overview + at-a-glance panel */
.ov__grid{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(0,.72fr);gap:60px;align-items:start}
.glance{position:sticky;top:104px;border:1px solid var(--line-2);border-radius:14px;background:var(--steel-850);padding:28px 26px;box-shadow:0 18px 40px -28px rgba(20,32,58,.45)}
.glance h3{font-size:1.15rem;margin-bottom:16px}
.glance ul{list-style:none;display:grid;gap:13px}
.glance li{display:flex;gap:12px;align-items:flex-start;font-size:.96rem;line-height:1.5;color:var(--text)}
.glance li .ic{flex:0 0 24px;height:24px;border-radius:6px;display:grid;place-items:center;background:var(--gold-soft);border:1px solid rgba(242,194,0,.4);color:var(--gold)}
.section--light .glance li .ic{color:#9a6f04}
.glance li .ic svg{width:14px;height:14px}
.glance__cta{margin-top:22px;padding-top:20px;border-top:1px solid var(--line);display:grid;gap:10px}
.glance__cta .btn{width:100%}
.glance__cta small{display:block;text-align:center;font-family:var(--f-tech);font-size:.72rem;letter-spacing:.05em;color:var(--muted)}

/* ============================================================ WHAT'S INCLUDED */
.inc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.inc{position:relative;padding:30px 26px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,var(--steel-800),var(--steel-850));transition:transform .3s var(--ease),border-color .3s}
.inc:hover{transform:translateY(-6px);border-color:rgba(242,194,0,.4)}
.inc__ic{width:48px;height:48px;border-radius:11px;display:grid;place-items:center;margin-bottom:18px;background:var(--gold-soft);border:1px solid rgba(242,194,0,.32);color:var(--gold)}
.inc__ic svg{width:24px;height:24px}
.inc h3{font-size:1.12rem;letter-spacing:.02em;margin-bottom:9px}
.inc p{color:var(--muted);font-size:.95rem;line-height:1.66}

/* ============================================================ IMAGE / TEXT SPLIT */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.split--rev .split__media{order:2}
.split__media{position:relative}
.split__media .frame{position:relative;border:1px solid var(--line-2);padding:10px;background:var(--steel-850)}
.split__media img{width:100%;height:500px;object-fit:cover;filter:grayscale(.06) contrast(1.04)}
.split__badge{position:absolute;left:-16px;bottom:30px;background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#181200;padding:16px 20px;border-radius:8px;box-shadow:0 24px 50px -18px rgba(242,194,0,.5);max-width:230px}
.split__badge b{display:block;font-family:var(--f-display);font-size:1.9rem;line-height:1}
.split__badge span{display:block;font-family:var(--f-tech);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;margin-top:5px}

.checklist{list-style:none;display:grid;gap:13px;margin-top:24px}
.checklist li{display:flex;gap:12px;align-items:flex-start;color:var(--text);font-size:1rem;line-height:1.55}
.checklist li::before{content:"";flex:0 0 22px;height:22px;margin-top:1px;border-radius:5px;border:1px solid rgba(242,194,0,.38);
  background:var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2c200' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 6'/%3E%3C/svg%3E") center/13px no-repeat}
.section--light .checklist li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a6f04' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 6'/%3E%3C/svg%3E")}

/* ============================================================ STATS ROW */
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:46px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--line)}
.kpis div{background:var(--steel-850);padding:26px 16px;text-align:center}
.kpis b{display:block;font-family:var(--f-display);font-size:2.25rem;line-height:1;color:var(--text)}
.kpis b em{font-style:normal;color:var(--gold)}
.kpis span{display:block;font-family:var(--f-tech);font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-top:10px}

/* ============================================================ SERVICE AREAS */
.areas-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.areas-chips span{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid var(--line-2);border-radius:40px;background:var(--steel-850);font-family:var(--f-tech);font-size:.84rem;letter-spacing:.03em;color:var(--text)}
.areas-chips svg{width:14px;height:14px;color:var(--gold)}
.section--light .areas-chips svg{color:#9a6f04}
.areas-note{text-align:center;color:var(--muted);margin:24px auto 0;max-width:64ch;font-size:.97rem;line-height:1.7}
.areas-note b{color:var(--text)}

/* ============================================================ CONTACT PAGE */
.map{border:1px solid var(--line-2);border-radius:14px;overflow:hidden;height:400px;background:var(--steel-850)}
.map iframe{display:block;width:100%;height:100%;border:0;filter:grayscale(.25) contrast(1.02)}
.hours{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hours div{padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--steel-850)}
.hours b{display:block;font-family:var(--f-display);font-size:1.2rem;text-transform:uppercase;letter-spacing:.02em;margin-bottom:6px}
.hours span{color:var(--muted);font-size:.95rem;line-height:1.6}

/* ============================================================ JOBS */
.roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.role{padding:30px 28px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,var(--steel-800),var(--steel-850))}
.role__top{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.role__top .inc__ic{margin:0;flex:0 0 48px}
.role h3{font-size:1.2rem}
.role .tag{display:inline-block;margin-top:4px;font-family:var(--f-tech);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.role p{color:var(--muted);font-size:.95rem;line-height:1.66}

/* Reviews page — CTA card in the testimonial grid */
.quote--cta{display:flex;flex-direction:column;justify-content:center;background:linear-gradient(160deg,rgba(242,194,0,.12),var(--steel-850) 60%);border-color:rgba(242,194,0,.32)}
.quote--cta h3{font-size:1.35rem;margin-bottom:10px}
.quote--cta p{color:var(--muted)}
.quote--cta .btn{margin-top:18px;align-self:flex-start}

/* Section heads that sit left with a button on the right */
.head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;flex-wrap:wrap;margin-bottom:48px}
.head-row .section-head{margin-bottom:0}

/* ============================================================ RESPONSIVE */
@media (max-width:1080px){
  .phero__wrap,.ov__grid,.split{grid-template-columns:1fr;gap:40px}
  .glance{position:static}
  .inc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .split--rev .split__media{order:0}
  .split__media img{height:380px}
  .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hours{grid-template-columns:1fr}
  .roles{grid-template-columns:1fr}
}
@media (max-width:600px){
  .phero{padding:34px 0 46px}
  .inc-grid{grid-template-columns:1fr}
  .split__media img{height:280px}
  .split__badge{left:12px;bottom:12px}
  .qcard{padding:24px 18px 20px}
  .qcard .form-row{grid-template-columns:1fr}
  .map{height:300px}
  .kpis b{font-size:1.8rem}
}

/* Stacked section heads inside .services (styles.css makes them flex rows) */
.services .section-head.stack{display:block;max-width:760px}
.services .section-head.center.stack{margin-inline:auto}

/* 3-up "who it's for" grid with longer copy */
.ind-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ind-grid--3 .ind h3{font-size:1.1rem}
.ind-grid--3 .ind p{font-size:.95rem;line-height:1.62}
@media (max-width:1080px){.ind-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.ind-grid--3{grid-template-columns:1fr}}

/* Testimonials on a light section */
.section--light .quote p{color:#3a465a}
.section--light .quote{box-shadow:0 16px 34px -24px rgba(20,32,58,.4)}
.section--light .quote__mark{opacity:.55}

/* Buttons inside long-form copy keep their own colours */
.prose a.btn{text-decoration:none}
.prose a.btn-gold,.section--light .prose a.btn-gold{color:#181200}
.prose a.btn-ghost{color:var(--text)}

/* Comparison block — let columns shrink on small phones */
@media (max-width:900px){.cmp__grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){.cmp__col{padding:30px 20px}.cmp__foot .btn{white-space:normal;text-align:center}}

/* Small-phone safety (≤ 380px) */
@media (max-width:1080px){.phero__wrap,.ov__grid,.split{grid-template-columns:minmax(0,1fr)}}
.glance li{overflow-wrap:anywhere}
@media (max-width:380px){
  .trust__label{white-space:normal;text-align:center;letter-spacing:.14em}
  .stats__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat{padding:34px 12px}
}

/* "All services" shortcut inside the mobile dropdown */
@media (max-width:900px){.dd__item.mobile-only{display:flex}}

/* ============================================================ FORMS (live) */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.form__err{margin:4px 0 14px;padding:12px 14px;border-radius:8px;border:1px solid rgba(255,90,90,.45);background:rgba(255,90,90,.1);color:#ffb4b4;font-size:.9rem;line-height:1.5}
.btn[disabled]{opacity:.75;cursor:wait}
.steps--3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:980px;margin-inline:auto}

/* ============================================================ BLOG */
.bgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bcard{position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--steel-850);transition:transform .3s var(--ease),border-color .3s,box-shadow .3s}
.bcard:hover{transform:translateY(-6px);border-color:rgba(242,194,0,.45)}
.section--light .bcard{box-shadow:0 16px 34px -24px rgba(20,32,58,.4)}
.bcard__media{aspect-ratio:16/10;overflow:hidden;background:var(--steel-800)}
.bcard__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.bcard:hover .bcard__media img{transform:scale(1.05)}
.bcard__body{display:flex;flex-direction:column;flex:1;padding:22px 22px 24px}
.bcard__meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-family:var(--f-tech);font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.bcard__meta .cat{color:var(--gold)}
.section--light .bcard__meta .cat{color:#9a6f04}
.bcard h2,.bcard h3{font-size:1.16rem;line-height:1.3;letter-spacing:.01em;margin-bottom:10px}
.bcard h2 a,.bcard h3 a{color:var(--text)}
.bcard h2 a::after,.bcard h3 a::after{content:"";position:absolute;inset:0;z-index:2}
.bcard p{color:var(--muted);font-size:.92rem;line-height:1.6;margin-bottom:18px}
.bcard__more{margin-top:auto;display:inline-flex;align-items:center;gap:8px;font-family:var(--f-tech);font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.section--light .bcard__more{color:#9a6f04}
.bcard__more svg{width:14px;height:14px;transition:transform .3s var(--ease)}
.bcard:hover .bcard__more svg{transform:translateX(4px)}

/* Article */
.post__grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:64px;align-items:start}
.post__body{max-width:760px}
.post__body h2{font-size:clamp(1.5rem,2.3vw,1.85rem);line-height:1.2;margin:46px 0 14px}
.post__body h3{font-size:1.22rem;margin:30px 0 10px}
.post__body > h2:first-child,.post__body > h3:first-child{margin-top:0}
.post__body p,.post__body li{font-size:1.06rem;line-height:1.8}
.section--light .post__body p,.section--light .post__body li{color:#334155}
.post__body .post__lead{font-size:1.2rem;line-height:1.7;color:var(--text)!important}
.post__body .post__key{margin-bottom:8px}
.post__body .post__key strong{color:#9a6f04;font-family:var(--f-display);font-size:1.25rem;font-weight:600;letter-spacing:.01em}
.post__body ul,.post__body ol{list-style:none;display:grid;gap:10px;margin:0 0 22px;padding:0}
.post__body ul li{position:relative;padding-left:26px}
.post__body ul li::before{content:"";position:absolute;left:4px;top:.72em;width:8px;height:8px;background:var(--gold);transform:rotate(45deg)}
.post__body ol{counter-reset:n}
.post__body ol li{counter-increment:n;position:relative;padding-left:42px}
.post__body ol li::before{content:counter(n);position:absolute;left:0;top:.18em;width:28px;height:28px;border-radius:7px;display:grid;place-items:center;background:var(--gold-soft);border:1px solid rgba(242,194,0,.45);color:#7a5800;font-family:var(--f-display);font-size:.95rem;font-weight:600}
.post__fig{margin:6px 0 28px}
.post__fig img{display:block;max-width:100%;height:auto;border-radius:10px;border:1px solid var(--line-2)}
.post__cap{font-size:.86rem!important;color:var(--muted)!important;margin-top:-18px!important}
.post__callout{margin:28px 0;padding:22px 24px;border-left:3px solid var(--gold);border-radius:0 12px 12px 0;background:linear-gradient(90deg,rgba(242,194,0,.13),rgba(242,194,0,.04))}
.post__callout p{margin:0 0 8px!important}
.post__callout p:last-child{margin-bottom:0!important}
.post__body blockquote{margin:32px 0;padding:4px 0 4px 26px;border-left:3px solid var(--gold)}
.post__body blockquote p{font-family:var(--f-display);font-size:clamp(1.3rem,2vw,1.6rem);line-height:1.35;color:var(--text)!important;margin:0}
.post__table{overflow-x:auto;margin:0 0 24px}
.post__table table{width:100%;border-collapse:collapse;font-size:.95rem}
.post__table td,.post__table th{padding:10px 12px;border-bottom:1px solid var(--line-2);text-align:left}
.post__end{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-top:46px;padding-top:28px;border-top:1px solid var(--line-2)}
.post__by{display:flex;align-items:center;gap:14px;max-width:440px}
.post__by img{width:56px;height:56px;object-fit:contain;border-radius:12px;background:#0a0d14;padding:6px}
.post__by b{display:block;font-family:var(--f-display);font-size:1.1rem;text-transform:uppercase;letter-spacing:.02em}
.post__by span{display:block;color:var(--muted);font-size:.86rem;line-height:1.5}
.post__side{position:sticky;top:104px;display:grid;gap:18px}
.side-card{border:1px solid var(--line-2);border-radius:14px;background:var(--steel-850);padding:24px;box-shadow:0 18px 40px -28px rgba(20,32,58,.45)}
.side-card h3{font-size:1.15rem;margin-bottom:12px}
.side-card p{color:var(--muted);font-size:.93rem;line-height:1.6;margin-bottom:18px}
.side-card--cta{background:linear-gradient(180deg,#111826,#0a0d14);border-color:rgba(242,194,0,.35)}
.side-card--cta h3{color:#fff}
.side-card--cta p{color:#aab6c8}
.side-call{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;font-family:var(--f-tech);font-size:.8rem;letter-spacing:.05em;color:#dfe6f0}
.side-call svg{width:14px;height:14px;color:var(--gold)}
.side-links{list-style:none;display:grid;gap:2px}
.side-links a{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:8px;font-size:.93rem;color:var(--text);transition:background .2s,color .2s}
.side-links a:hover{background:var(--steel-800);color:#9a6f04}
.side-links svg{width:16px;height:16px;color:#9a6f04;flex:0 0 16px}

@media (max-width:1080px){
  .bgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .post__grid{grid-template-columns:minmax(0,1fr);gap:44px}
  .post__side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .steps--3{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:700px){
  .bgrid{grid-template-columns:minmax(0,1fr)}
  .post__side{grid-template-columns:minmax(0,1fr)}
  .post__body p,.post__body li{font-size:1.02rem}
  .post__body .post__lead{font-size:1.1rem}
}

/* Desktop nav between tablet and wide screens — 8 links + CTA must fit */
@media (min-width:901px) and (max-width:1320px){
  .nav__link{padding:12px 10px;letter-spacing:.07em}
}
@media (min-width:901px) and (max-width:1180px){
  .nav__call{display:none}
}
@media (min-width:901px) and (max-width:1040px){
  .nav__menu > li:first-child{display:none}          /* Home — the logo links home */
  .nav__link{padding:12px 8px;font-size:.78rem;letter-spacing:.05em}
  .nav__actions .btn{padding-inline:18px}
}
