/* ===== RAP – Integrated Corporate Security Group · base =====
   Palette follows the brand brief: royal blue, deep navy, premium gold, white and a soft background.
   Files: base.css (tokens, reset, type) · components.css (buttons, cards, carousels) · layout.css (header, hero, footer, dialog) · sections.css */
:root{
  --royal:#0646A8; --navy:#071A3D; --gold:#D4AF37; --gold-hi:#F3D675; --white:#FFFFFF; --soft:#F5F7FB;
  --navy-2:#0B2554; --gold-deep:#B8921F; --gold-ink:#8A6A10;
  --text:#1F2D47; --muted:#5B6880; --line:rgba(7,26,61,.1);
  --on-navy:#E8EDF7; --on-navy-2:#B9C5DA;
  --gold-grad:linear-gradient(135deg,#F3D675 0%,#D4AF37 48%,#B8921F 100%);
  --serif:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --sans:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --ease:cubic-bezier(.22,.7,.2,1); --ease-out:cubic-bezier(.16,1,.3,1);
  --radius:6px;
  --shadow:0 24px 50px -30px rgba(7,26,61,.45);
  --topbar-h:42px; --nav-h:84px;
  --wm:url(../img/rap-watermark.webp);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + var(--topbar-h) - 8px);-webkit-text-size-adjust:100%}
body{margin:0;font:400 1rem/1.7 var(--sans);color:var(--text);background:var(--white);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;overflow-x:clip}
img,svg,canvas{max-width:100%}
img{display:block;height:auto}
a{color:inherit;text-decoration:none}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{margin:0;font-family:var(--serif);font-weight:700;line-height:1.2;letter-spacing:-.02em;color:var(--navy)}
p{margin:0 0 1rem}
button{padding:0;font:inherit;color:inherit;background:none;border:0;cursor:pointer}
[hidden]{display:none!important}
::selection{background:var(--gold);color:var(--navy)}
:focus-visible{outline:2px solid var(--royal);outline-offset:3px;border-radius:2px}
.bg-navy :focus-visible,.on-navy :focus-visible,.hero :focus-visible,.topbar :focus-visible,.site-footer :focus-visible{outline-color:var(--gold-hi)}

.container{width:min(1200px,100% - 3rem);margin-inline:auto}
.section{position:relative;padding:clamp(4.5rem,8vw,7rem) 0}
.bg-soft{background:var(--soft)}
.bg-navy{background:var(--navy);color:var(--on-navy)}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-999px;top:0;z-index:1200;padding:.7rem 1.1rem;background:var(--gold);color:var(--navy);font-weight:600}
.skip-link:focus{left:0}

.ico{flex:none;width:1.2em;height:1.2em;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* section headings: gold label + navy title */
.label{display:inline-flex;align-items:center;gap:.8rem;margin:0 0 1rem;font:600 .78rem/1 var(--sans);letter-spacing:.22em;text-transform:uppercase;color:var(--gold-ink)}
.label::before{content:"";flex:none;width:2.2rem;height:2px;background:var(--gold-grad)}
.bg-navy .label,.on-navy .label{color:var(--gold)}
.title{font-size:clamp(1.57rem,3.1vw,2.25rem);text-wrap:balance}
.bg-navy .title,.on-navy .title{color:var(--white)}
.lead{color:var(--muted);font-size:1.05rem}
.bg-navy .lead,.on-navy .lead{color:var(--on-navy-2)}
.section-head{max-width:720px;margin-bottom:3rem}
.section-head .title{margin-bottom:1rem}
.section-head .lead{margin:0}
.section-head.center{margin-inline:auto;text-align:center}
.section-head.center .label::after{content:"";flex:none;width:2.2rem;height:2px;background:var(--gold-grad)}

/* scroll-reveal start states (GSAP animates them in; without GSAP they simply stay visible) */
.js:not(.no-anim) [data-reveal]{opacity:0}
