/* Shepherd Security Group — base, header, buttons, hero */
:root {
  --navy: #071c34;
  --navy-2: #0c2746;
  --navy-deep: #040f1f;
  --gold: #a98030;
  --gold-bright: #d0a64e;
  --gold-soft: #f3e7cc;
  --ivory: #faf7f0;
  --paper: #ffffff;
  --ink: #0d1b2e;
  --slate: #46566b;
  --line: #e7e0d1;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(7, 28, 52, .35);
  --display: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --label: "Barlow", "Segoe UI", system-ui, sans-serif;
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus, :focus-visible { outline: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 48px); }
.gold { color: var(--gold-bright); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 13px/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 22px; }
.eyebrow.dark { color: var(--gold); }
.eyebrow .rule { width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* Buttons: selection state is the button's own border, never an outline ring */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--b); font: 600 15px/1 var(--display); text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(180deg, #d7ae57, #b58835); color: #1b1203; --b: #c99a42; box-shadow: 0 10px 28px -10px rgba(201, 154, 66, .7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(201, 154, 66, .85); }
.btn-gold:focus-visible { --b: #fff3d6; }
.btn-ghost { color: #fff; --b: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover, .btn-ghost:focus-visible { --b: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }
.btn-navy { background: var(--navy); color: #fff; --b: var(--navy); }
.btn-navy:hover, .btn-navy:focus-visible { background: var(--navy-2); --b: var(--gold); }
.btn-outline { color: var(--navy); --b: rgba(7, 28, 52, .25); }
.btn-outline:hover, .btn-outline:focus-visible { --b: var(--navy); }

/* Header */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.topbar.scrolled { background: rgba(4, 15, 31, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: rgba(255, 255, 255, .08); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; border-bottom: 1.5px solid transparent; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 21px/1 var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.brand-sub { font: 600 10.5px/1 var(--label); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-bright); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font: 500 15px/1 var(--display); color: rgba(255, 255, 255, .82); text-decoration: none; padding: 8px 0; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.nav a:not(.btn):hover, .nav a:not(.btn):focus-visible { color: #fff; border-bottom-color: var(--gold-bright); }
.nav-cta { padding: 11px 18px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .25); background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: calc(150px + env(safe-area-inset-top, 0px)) 0 64px; background:
  radial-gradient(1200px 600px at 80% 20%, rgba(208, 166, 78, .16), transparent 60%),
  radial-gradient(900px 700px at 10% 110%, rgba(36, 84, 140, .35), transparent 60%),
  linear-gradient(180deg, var(--navy-deep), var(--navy) 70%, #0a2442); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); pointer-events: none; }
.hero-glow { position: absolute; width: 520px; height: 520px; right: 8%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(208, 166, 78, .22), transparent 65%); filter: blur(10px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); font-weight: 700; letter-spacing: -.022em; line-height: 1.04; }
.lede { margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .78); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; font: 500 14px/1.2 var(--display); color: rgba(255, 255, 255, .7); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(208, 166, 78, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9' fill='none' stroke='%23d0a64e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.halo { position: absolute; width: 440px; height: 440px; border-radius: 50%; border: 1px solid rgba(208, 166, 78, .35); box-shadow: 0 0 0 40px rgba(208, 166, 78, .05), 0 0 0 80px rgba(208, 166, 78, .03); }
.hero-emblem { position: relative; width: min(330px, 70vw); height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); animation: bob 7s ease-in-out infinite; }
.float-card { position: absolute; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .6); }
.shift-card { left: -12%; bottom: -2%; width: 292px; padding: 16px 18px; animation: bob 8s ease-in-out -2s infinite; }
.sc-head { display: flex; justify-content: space-between; align-items: center; }
.sc-tag { font: 600 11px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.sc-live { display: flex; align-items: center; gap: 6px; font: 600 11px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: #1d7a4a; }
.sc-live i { width: 7px; height: 7px; border-radius: 50%; background: #23a565; box-shadow: 0 0 0 0 rgba(35, 165, 101, .6); animation: pulse 2s infinite; }
.sc-title { font: 700 18px/1.2 var(--display); margin-top: 10px; }
.sc-meta { font-size: 13px; color: var(--slate); margin-top: 3px; }
.sc-bar { height: 6px; border-radius: 6px; background: #ece6d8; margin: 14px 0 12px; overflow: hidden; }
.sc-bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); animation: fill 2.4s 1s cubic-bezier(.4, 0, .2, 1) forwards; }
.sc-foot { display: flex; align-items: center; gap: 10px; }
.sc-avatars { display: flex; }
.sc-avatars b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 9.5px/1 var(--display); letter-spacing: .02em; color: #fff; background: var(--navy); border: 2px solid #fff; }
.sc-avatars b + b { margin-left: -8px; background: var(--navy-2); }
.sc-status { font: 600 13px/1.2 var(--display); color: var(--navy); }
.chip { display: flex; align-items: center; gap: 9px; padding: 11px 15px; font: 600 13.5px/1 var(--display); border-radius: 999px; }
.chip svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-a { right: -2%; top: 14%; animation: bob 9s ease-in-out -4s infinite; }
.chip-b { right: 2%; bottom: 24%; animation: bob 7.5s ease-in-out -1s infinite; }

.trust-strip { position: relative; z-index: 1; margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .12); }
.trust-strip div { padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.trust-strip div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .08); }
.trust-strip strong { font: 600 16px/1.2 var(--display); color: #fff; }
.trust-strip span { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .62); }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fill { to { width: 100%; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(35, 165, 101, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 165, 101, 0); } }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { min-height: 460px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .trust-strip div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 1120px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: calc(76px + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: rgba(4, 15, 31, .97); border-bottom: 1px solid rgba(255, 255, 255, .1); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-cta { margin-top: 18px; padding: 15px; }
  .topbar.menu-open { background: rgba(4, 15, 31, .97); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .wrap.narrow { width: calc(100% - 36px); }
  .hero { padding-top: calc(118px + env(safe-area-inset-top, 0px)); }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 440px; place-items: start center; padding-top: 34px; }
  .halo { width: 300px; height: 300px; top: 12px; }
  .hero-emblem { width: 200px; }
  .shift-card { left: 0; bottom: 0; width: 240px; padding: 13px 15px; }
  .chip { font-size: 12.5px; padding: 9px 12px; }
  .chip-a { right: 0; top: 4%; }
  .chip-b { right: 0; bottom: 150px; }
  .trust-strip { grid-template-columns: 1fr; margin-top: 48px; }
  .trust-strip div, .trust-strip div + div { padding: 20px 0 0; border-left: 0; }
  .brand-name { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sc-bar span { width: 100%; }
  .js .reveal { opacity: 1; transform: none; }
}
