/* =========================================================
   SQUAD GUARD FORCE — Design Tokens & Base
   Type: Poppins (display) / Inter (body)
   Palette: Ivory paper + antique brass gold + deep ink
   Signature: "Perimeter Scan" — radar sweep + patrol line
   ========================================================= */

:root{
  --ivory:        #FAF7EF;
  --ivory-deep:   #F1EADA;
  --paper:        #FFFFFF;
  --ink:          #201B14;
  --ink-soft:     #5E5646;
  --ink-faint:    #8B8272;

  --gold:         #A9781F;
  --gold-deep:    #7C591A;
  --gold-bright:  #C99A3A;
  --gold-pale:    #EEE0BA;
  --gold-mist:    rgba(169,120,31,0.08);

  --line:         rgba(32,27,20,0.10);
  --line-soft:    rgba(32,27,20,0.06);

  --shadow-sm:    0 2px 10px rgba(32,27,20,0.06);
  --shadow-md:    0 12px 30px rgba(32,27,20,0.10);
  --shadow-lg:    0 24px 60px rgba(32,27,20,0.16);
  --shadow-gold:  0 14px 34px rgba(169,120,31,0.28);

  --radius-sm:    10px;
  --radius-md:    18px;
  --radius-lg:    28px;
  --radius-full:  999px;

  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  --container:    1220px;
  --nav-h:        84px;

  --ease: cubic-bezier(.22,.85,.32,1);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

*, *::before, *::after{ box-sizing: border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; }

body{
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }

::selection{ background: var(--gold-pale); color: var(--ink); }

:focus-visible{
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Background texture — faint dotted patrol grid */
body::before{
  content:"";
  position: fixed;
  inset:0;
  z-index:-2;
  background-image: radial-gradient(circle, rgba(169,120,31,0.11) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events:none;
}
body::after{
  content:"";
  position: fixed;
  inset:0;
  z-index:-3;
  background: var(--ivory);
}

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.12;
  font-weight: 700;
}

h1{ font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 700; }
h2{ font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3{ font-size: clamp(1.2rem, 1.6vw, 1.45rem); }

p{ color: var(--ink-soft); }
.lead{ font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }

/* Eyebrow label — not numbered, used as a small identifying tag */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-body);
  font-weight:600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.eyebrow::before{
  content:"";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display:inline-block;
}

.section{
  padding: 108px 0;
  position: relative;
}
.section-tight{ padding: 72px 0; }

.section-head{
  max-width: 680px;
  margin-bottom: 56px;
}
.section-head.center{
  margin-inline:auto;
  text-align:center;
}

/* ===================== BUTTONS ===================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight:600;
  font-size: 0.96rem;
  border-radius: var(--radius-full);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space:nowrap;
  position:relative;
}

.btn-primary{
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(169,120,31,0.38);
}

.btn-ghost{
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover{
  background: var(--paper);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-dark{
  background: var(--ink);
  color: var(--ivory);
}
.btn-dark:hover{
  background: var(--gold-deep);
  transform: translateY(-3px);
}

.btn-sm{ padding: 12px 24px; font-size: .88rem; }

/* pulse ring — used once, on the primary hero CTA only */
.pulse-ring{ position:relative; }
.pulse-ring::after{
  content:"";
  position:absolute; inset:0;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gold-bright);
  animation: pulseRing 2.6s var(--ease) infinite;
}
@keyframes pulseRing{
  0%{ transform:scale(1); opacity:.65; }
  100%{ transform:scale(1.24); opacity:0; }
}

/* ===================== GLASS CARD ===================== */
.card-glass{
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-md);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card-glass:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-pale);
}

.card-solid{
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card-solid:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* ===================== SCROLL REVEAL ===================== */
.reveal{
  opacity:0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view{ opacity:1; transform:none; }
.reveal-delay-1{ transition-delay: .1s; }
.reveal-delay-2{ transition-delay: .2s; }
.reveal-delay-3{ transition-delay: .3s; }
.reveal-delay-4{ transition-delay: .4s; }
.reveal-delay-5{ transition-delay: .5s; }

/* ===================== BADGE / CHIP ===================== */
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--gold-mist);
  border: 1px solid rgba(169,120,31,0.22);
  color: var(--gold-deep);
  font-size: .82rem;
  font-weight:600;
}

/* divider */
.divider{
  height:1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  width:100%;
}

@media (max-width: 980px){
  .section{ padding: 76px 0; }
}
