/* ==========================================================================
   Upfront Security Associates — site styles
   Design: "The Standard" (navy · white · signal red · gold)
   ========================================================================== */

:root {
  --navy: #0A1730;
  --navy-deep: #06101F;
  --navy-2: #13254A;
  --red: #C1121F;
  --red-dark: #9E0E19;
  --gold: #E8B04B;
  --gold-soft: #F2C46D;
  --ink: #1A2333;
  --muted: #5A6578;
  --muted-light: #B9C3D6;
  --line: #E7EAF0;
  --soft: #F4F6FA;
  --white: #ffffff;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 30px 80px rgba(10, 23, 48, .14);
  --shadow-sm: 0 10px 30px rgba(10, 23, 48, .08);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 24px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--navy); line-height: 1.08; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red);
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--line::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.h-display { font-size: clamp(46px, 6.4vw, 92px); line-height: 1; }
.h-1 { font-size: clamp(36px, 4.4vw, 58px); }
.h-2 { font-size: clamp(30px, 3.6vw, 46px); }
.h-3 { font-size: 26px; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); }
.section--navy .lead, .hero .lead { color: #D5DCEA; }
em.accent { font-style: italic; color: var(--gold-soft); }
.muted { color: var(--muted); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head > div { max-width: 700px; }
.section-head p { max-width: 420px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center > div, .section-head--center p { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 15px 28px; border-radius: 999px;
  font: 800 16px/1.2 var(--sans); border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 28px rgba(193, 18, 31, .35); }
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { color: var(--navy); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--outline { border-color: #C9D0DC; color: var(--navy); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-weight: 800; color: var(--red); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: var(--muted-light); font-size: 13px; font-weight: 500; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--muted-light); }
.topbar a:hover { color: var(--white); }
.topbar strong { color: var(--white); }
.topbar__badge { display: inline-flex; align-items: center; gap: 8px; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ---------- Header (centered masthead) ---------- */
.site-header { position: relative; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.masthead { display: flex; justify-content: center; padding-top: 26px; padding-bottom: 22px; }
.brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand__mark { background: var(--white); border-radius: 20px; padding: 10px 12px; display: flex; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-2px); }
.brand__mark img { height: 136px; width: auto; }
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1.15; gap: 6px; }
.brand__name { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: .005em; }
.brand__sub { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); }
@media (max-width: 760px) {
  .masthead { padding-top: 18px; padding-bottom: 14px; }
  .brand { gap: 8px; }
  .brand__mark { border-radius: 14px; padding: 7px 9px; }
  .brand__mark img { height: 84px; }
  .brand__sub { font-size: 10px; letter-spacing: .2em; }
}

/* ---------- Navigation bar (sticky, under the masthead) ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50; background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .3s;
}
.navbar.is-scrolled { box-shadow: 0 10px 30px rgba(6, 16, 31, .35); }
.navbar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; min-height: 68px; }
.navbar__call { display: none; }

.nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__link { display: block; padding: 10px 16px; border-radius: 999px; color: var(--white); font-weight: 600; font-size: 15.5px; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .1); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 999px 999px 999px 999px; }
.nav__cta { margin-left: 12px; min-height: 46px; padding: 12px 22px; font-size: 15px; }
.nav-toggle {
  display: none; min-height: 46px; padding: 0 16px; gap: 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25);
  background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; font: 700 15px var(--sans);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav__close { width: 48px; padding: 0; }

@media (max-width: 1060px) {
  .navbar__inner { justify-content: space-between; min-height: 64px; }
  .nav-toggle { display: inline-flex; }
  .navbar__call { display: inline-flex; min-height: 46px; padding: 11px 18px; font-size: 15px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); z-index: 60;
    background: var(--navy-deep); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 96px 24px 32px; transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .35); overflow-y: auto; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { font-size: 20px; padding: 14px 16px; border-radius: 12px; }
  .nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); border-radius: 12px; }
  .nav__cta { margin: 20px 0 0; width: 100%; }
  .nav__close { position: absolute; top: 24px; right: 24px; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1061px) { .nav__close { display: none !important; } }
.nav-backdrop { position: fixed; inset: 0; background: rgba(6, 16, 31, .55); z-index: 49; opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: radial-gradient(120% 90% at 85% 10%, #16305E 0%, var(--navy) 55%, var(--navy-deep) 100%); overflow: hidden; }
.hero__rings { position: absolute; right: -180px; top: -140px; width: 760px; height: 760px; pointer-events: none; }
.hero__rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(242, 196, 109, .16); }
.hero__rings span:nth-child(2) { inset: 90px; }
.hero__rings span:nth-child(3) { inset: 180px; }
.hero__inner { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(150px, 15vw, 190px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px); }
.hero__copy { flex: 1 1 520px; min-width: 0; }
.hero h1 { color: var(--white); margin-top: 22px; }
.hero .lead { max-width: 560px; margin-top: 26px; }
.hero .btn-row { margin-top: 38px; }
.hero__photo { flex: 1 1 440px; min-width: 0; margin: 0; position: relative; }
.hero__photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid rgba(242, 196, 109, .55); border-radius: 30px; }
.hero__photo img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 30%; border-radius: 30px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.hero__photo figcaption {
  position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px;
  background: rgba(6, 16, 31, .78); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px; padding: 12px 16px; font-size: 14px; color: #D5DCEA;
}
.hero__photo figcaption strong { color: var(--white); font-weight: 700; }
.hero__badge { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-soft); font-weight: 700; font-size: 13px; }
@media (max-width: 760px) {
  .hero__photo::before { inset: 14px -10px -14px 10px; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.page-hero__inner { position: relative; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero h1 { color: var(--white); margin-top: 18px; max-width: 860px; }
.page-hero .lead { margin-top: 20px; max-width: 640px; color: #D5DCEA; }
.page-hero__rings { position: absolute; right: -120px; top: -60px; width: 520px; height: 520px; pointer-events: none; }
.page-hero__rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(242, 196, 109, .22); }
.page-hero__rings span:nth-child(2) { inset: 70px; }
.page-hero__rings span:nth-child(3) { inset: 140px; }
.page-hero--photo .page-hero__media { position: absolute; inset: 0; }
.page-hero--photo .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo .page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 23, 48, .96), rgba(10, 23, 48, .75) 55%, rgba(10, 23, 48, .45)); }
.breadcrumb { font-size: 14px; color: var(--muted-light); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted-light); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Concierge card ---------- */
.concierge { position: relative; z-index: 2; margin-top: -110px; }
.concierge__card {
  background: var(--white); border-radius: 24px; box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 38px);
  display: flex; flex-wrap: wrap; gap: 22px 32px; align-items: center; justify-content: space-between;
}
.concierge__title { font-family: var(--serif); font-size: 29px; color: var(--navy); line-height: 1.15; }
.concierge__intro { flex: 1 1 280px; }
.concierge__intro p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.chips { flex: 2 1 560px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  border: 1.5px solid #D5DBE5; padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; color: var(--navy); background: var(--white);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.chip:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.chip svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Credentials strip ---------- */
.creds { padding: 72px 0 8px; }
.creds__label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #8A93A5; }
.creds__grid { margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.creds__item { text-align: center; padding: 16px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); color: var(--navy); }
.creds__item + .creds__item { border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .creds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creds__item:nth-child(3) { border-left: 0; }
  .creds__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 32px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 56px); color: var(--navy); line-height: 1; }
.stat__num sup { font-size: .45em; color: var(--red); vertical-align: super; }
.stat__label { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Feature (photo) cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 22px; }
.feature {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; color: var(--white);
  isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s;
}
.feature:hover { color: var(--white); transform: translateY(-6px); box-shadow: 0 26px 60px rgba(10, 23, 48, .25); }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.feature:hover img { transform: scale(1.04); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 23, 48, 0) 30%, rgba(10, 23, 48, .94) 100%); }
.feature__tag { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.feature__title { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 36px); margin-top: 8px; line-height: 1.1; }
.feature__text { font-size: 15px; line-height: 1.6; color: #D5DCEA; margin-top: 10px; max-width: 470px; }
.feature__more { margin-top: 16px; font-weight: 800; font-size: 15px; display: inline-flex; gap: 8px; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(10, 23, 48, .12); border-color: transparent; }
.card__icon { width: 54px; height: 54px; border-radius: 16px; background: #FBE9EA; display: flex; align-items: center; justify-content: center; }
.card__icon svg { width: 26px; height: 26px; stroke: var(--red); }
.card h3 { font-size: 26px; margin-top: 20px; }
.card p { font-size: 15px; color: var(--muted); margin-top: 8px; }
.card ul { list-style: none; margin-top: 14px; }
.card li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink); margin-top: 8px; line-height: 1.5; }
.card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }

/* ---------- Standard / process ---------- */
.standard {
  position: relative; overflow: hidden; background: var(--navy); color: var(--white);
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
}
.standard h2 { color: var(--white); max-width: 780px; margin-top: 14px; }
.standard__rings { position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; pointer-events: none; }
.standard__rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(242, 196, 109, .25); }
.standard__rings span + span { inset: 60px; }
.steps { padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px; margin-top: 52px; list-style: none; counter-reset: step; }
.step { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 22px; }
.step__num { font-family: var(--serif); font-size: 44px; color: var(--gold-soft); line-height: 1; }
.step h3 { font-family: var(--sans); font-weight: 800; font-size: 19px; color: var(--white); margin-top: 14px; }
.step p { color: var(--muted-light); font-size: 15px; margin-top: 8px; }

/* ---------- Split layout ---------- */
.split { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 64px); align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split--top { align-items: flex-start; }

/* ---------- Team ---------- */
.photo-frame { position: relative; border-radius: 28px; overflow: hidden; }
.photo-frame img { width: 100%; height: clamp(360px, 42vw, 540px); object-fit: cover; object-position: center 35%; }
.photo-frame__caption {
  position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px); border-radius: 18px; padding: 16px 20px;
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted);
}
.photo-frame__caption strong { color: var(--navy); font-size: 16px; }
.mini-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 32px; }
.mini-team strong { display: block; color: var(--navy); }
.mini-team span { font-size: 14px; color: var(--muted); }

.team-group + .team-group { margin-top: 72px; }
.team-group__title { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.team-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 22px; }
.bio {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--white);
  display: flex; flex-direction: column; scroll-margin-top: 110px;
}
.bio:target { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232, 176, 75, .25); }
.bio__head { display: flex; gap: 18px; align-items: center; }
.avatar {
  flex: 0 0 auto; width: 68px; height: 68px; border-radius: 50%;
  background: var(--navy); color: var(--gold-soft); font-family: var(--serif); font-size: 26px;
  display: flex; align-items: center; justify-content: center; letter-spacing: .02em;
}
.bio h3 { font-size: 26px; }
.bio__role { font-size: 14px; font-weight: 700; color: var(--red); margin-top: 2px; }
.bio__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 13px; font-weight: 700; color: var(--navy); background: var(--soft); border-radius: 999px; padding: 6px 12px; }
.bio__summary { margin-top: 16px; color: var(--muted); font-size: 16px; }
.bio details { margin-top: 14px; }
.bio summary {
  cursor: pointer; font-weight: 800; color: var(--navy); list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
}
.bio summary::-webkit-details-marker { display: none; }
.bio summary::after { content: "+"; display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); align-items: center; justify-content: center; font-size: 18px; transition: transform .25s; }
.bio details[open] summary::after { transform: rotate(45deg); }
.bio__full { margin-top: 10px; color: var(--ink); font-size: 15.5px; }
.bio__full p + p { margin-top: 12px; }

.founder { background: var(--soft); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.founder__aside { flex: 0 1 300px; min-width: 0; }
.founder__main { flex: 1 1 440px; min-width: 0; }
.founder .avatar { width: 120px; height: 120px; font-size: 44px; }
.timeline { list-style: none; margin-top: 24px; border-left: 2px solid #D5DBE5; padding-left: 22px; }
.timeline li { position: relative; padding-bottom: 16px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--soft); }
.timeline time { font-weight: 800; color: var(--navy); font-size: 14px; letter-spacing: .04em; display: block; }
.timeline span { font-size: 15px; color: var(--muted); }

/* ---------- Schools ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.logo-tile { background: var(--navy-deep); border-radius: 20px; padding: 22px 14px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.logo-tile img { height: 110px; width: auto; object-fit: contain; }
.logo-tile span { font-size: 13px; font-weight: 700; color: var(--white); line-height: 1.3; }
@media (max-width: 480px) { .logo-tile img { height: 72px; } .logo-tile span { font-size: 12px; } }

.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list svg { flex: 0 0 auto; width: 26px; height: 26px; margin-top: 1px; }

/* ---------- Testimonials ---------- */
.stars { display: flex; gap: 4px; justify-content: center; }
.stars svg { width: 22px; height: 22px; fill: var(--gold); }
.quote-hero { max-width: 940px; margin: 0 auto; text-align: center; }
.quote-hero blockquote { margin: 26px 0 0; font-family: var(--serif); font-size: clamp(30px, 3.8vw, 50px); line-height: 1.15; color: var(--navy); }
.quote-hero cite { display: block; margin-top: 18px; font-style: normal; font-weight: 700; color: var(--muted); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; margin-top: 56px; }
.quote { margin: 0; background: var(--soft); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.55; font-weight: 600; color: var(--ink); }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote figcaption strong { color: var(--navy); }

.review { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); background: var(--white); }
.review + .review { margin-top: 24px; }
.review__mark { font-family: var(--serif); font-size: 96px; line-height: .6; color: var(--red); height: 40px; }
.review blockquote { margin: 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.75; color: var(--ink); }
.review blockquote p + p { margin-top: 14px; }
.review__pull { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; color: var(--navy); margin-bottom: 18px; }
.review figcaption { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.review figcaption .avatar { width: 52px; height: 52px; font-size: 19px; }
.review figcaption strong { display: block; color: var(--navy); font-size: 17px; }
.review figcaption span { font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 16px; margin-top: 32px; }
.contact-item a { overflow-wrap: anywhere; }
.contact-item { display: flex; align-items: center; gap: 16px; font-weight: 700; color: var(--navy); }
.contact-item__icon { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.contact-item__icon svg { width: 20px; height: 20px; stroke: var(--white); }
.contact-item small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8A93A5; }
.contact-item a { color: var(--navy); }
.contact-item a:hover { color: var(--red); }
.contact-item--big a { font-size: 22px; font-weight: 800; }

.form-card { background: var(--white); border-radius: 28px; padding: clamp(26px, 4vw, 40px); box-shadow: 0 30px 80px rgba(10, 23, 48, .10); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--navy); }
.field .req { color: var(--red); }
.input, .select, .textarea {
  font: 500 16px/1.4 var(--sans); color: var(--ink); width: 100%;
  padding: 14px 16px; border: 1.5px solid #D5DBE5; border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10, 23, 48, .1); }
.textarea { resize: vertical; min-height: 130px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A1730' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border: 1.5px solid #D5DBE5; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--navy); transition: all .2s; }
.radio-pill input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 13px; color: #6B7487; text-align: center; }
.form__status { border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; font-size: 15px; display: none; }
.form__status.is-ok { display: block; background: #E8F6EE; color: #11603A; }
.form__status.is-err { display: block; background: #FDECEC; color: #8F1119; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: var(--white); border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 56px) clamp(24px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 44px); max-width: 640px; }
.cta-band p { color: #FDE3E5; margin-top: 8px; }
.cta-band .btn--white { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #8C98B0; font-size: 15px; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { height: 64px; width: auto; }
.footer-brand strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--white); line-height: 1.2; }
.site-footer h3 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--muted-light); }
.site-footer a:hover { color: var(--white); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #1B2740; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #2A3A5C; display: flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--white); }
.social a:hover svg { fill: var(--navy); }
.social svg { width: 18px; height: 18px; fill: var(--muted-light); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
    padding: 8px; background: rgba(6, 16, 31, .94); border-radius: 999px; backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .callbar.is-visible { transform: none; }
  .callbar .btn { min-height: 48px; padding: 12px 14px; font-size: 15px; }
  body { padding-bottom: 0; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .1s; }
.js .reveal-d2 { transition-delay: .2s; }
.js .reveal-d3 { transition-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .9s var(--ease) both; }
.rise-2 { animation-delay: .15s; }
.rise-3 { animation-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; align-items: center; }

/* ---------- K-12 training programs ---------- */
.training-intro { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px 10px 12px; font-weight: 700; font-size: 15px; color: var(--navy); box-shadow: var(--shadow-sm); }
.pill svg { width: 22px; height: 22px; stroke: var(--red); }
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 24px; margin-top: 48px; }
.course {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s;
}
.course:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(10, 23, 48, .14); }
.course__top {
  position: relative; background: radial-gradient(120% 140% at 100% 0%, #1D3A6E 0%, var(--navy) 60%); color: var(--white);
  padding: 26px 26px 22px; display: flex; gap: 18px; align-items: flex-start; overflow: hidden;
}
.course__top::after { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(242, 196, 109, .25); }
.course__icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; background: rgba(242, 196, 109, .14); border: 1px solid rgba(242, 196, 109, .35); display: flex; align-items: center; justify-content: center; }
.course__icon svg { width: 28px; height: 28px; stroke: var(--gold-soft); }
.course__num { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--gold-soft); }
.course h3 { color: var(--white); font-size: 25px; margin-top: 6px; line-height: 1.12; }
.course__meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 26px 0; }
.course__chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--soft); border-radius: 999px; padding: 6px 12px; }
.course__chip svg { width: 15px; height: 15px; stroke: var(--red); }
.course__body { padding: 14px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.course__body > p { color: var(--muted); font-size: 16px; }
.course__body ul { list-style: none; display: grid; gap: 9px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.course__body li { position: relative; padding-left: 26px; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.course__body li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: #FBE9EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C1121F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }

.photo-duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.photo-duo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: var(--radius); }
.photo-duo figure { margin: 0; position: relative; }
.photo-duo figure:first-child { grid-row: span 2; }
.photo-duo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(6, 16, 31, .78); color: var(--white); font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; }
@media (max-width: 640px) { .photo-duo { grid-template-columns: 1fr; } .photo-duo figure:first-child { grid-row: auto; } }

.band-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: var(--white); isolation: isolate; }
.band-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 23, 48, .95) 0%, rgba(10, 23, 48, .82) 50%, rgba(10, 23, 48, .45) 100%); }
.band-photo__inner { padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); max-width: 720px; }
.band-photo h2 { color: var(--white); }
.band-photo p { color: #D5DCEA; }

/* ---------- Mobile: navigation bar above the logo ---------- */
@media (max-width: 1060px) {
  body { display: flex; flex-direction: column; }
  body > * { flex-shrink: 0; }
  .navbar { order: -2; }
  .site-header { order: -1; }
  .topbar { display: none; }
}

/* ---------- Mobile: quick-contact icons in the nav bar ---------- */
.navbar__actions { display: none; }
@media (max-width: 1060px) {
  .navbar__actions { display: flex; align-items: center; gap: 8px; }
  .navbar__icon {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22);
    color: var(--white); background: rgba(255, 255, 255, .04); transition: background .2s, border-color .2s;
  }
  .navbar__icon:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
  .navbar__icon svg { width: 20px; height: 20px; }
  .navbar__bbb { width: auto; padding: 0 12px; color: var(--gold-soft); border-color: rgba(242, 196, 109, .45); background: rgba(242, 196, 109, .08); font-weight: 800; font-size: 14px; letter-spacing: .02em; }
  .navbar__bbb:hover { color: var(--gold-soft); background: rgba(242, 196, 109, .16); }
  .navbar__call { padding: 11px 16px; }
}
@media (max-width: 400px) {
  .nav-toggle:not(.nav__close) { padding: 0 12px; font-size: 0; gap: 0; }
  .nav-toggle:not(.nav__close) svg { width: 24px; height: 24px; }
  .navbar__actions { gap: 6px; }
}
@media (max-width: 400px) { .navbar__bbb-label { display: none; } }

/* ---------- Mobile: centered "How can we protect you?" card ---------- */
@media (max-width: 760px) {
  .concierge__card { flex-direction: column; align-items: stretch; text-align: center; gap: 22px; }
  .concierge__intro { flex: none; }
  .concierge__intro p { max-width: 320px; margin-left: auto; margin-right: auto; }
  .chips { flex: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .chip { flex-direction: column; justify-content: center; text-align: center; gap: 8px; padding: 16px 10px; font-size: 14.5px; line-height: 1.25; min-height: 92px; border-radius: 18px; }
  .chip svg { width: 22px; height: 22px; color: var(--red); }
  .chip:hover svg { color: var(--white); }
  .chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 359px) {
  .chips { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Discreet staff login (footer) ---------- */
.footer-legal { display: inline-flex; align-items: center; gap: 12px; }
.footer-lock { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; color: #44516B; opacity: .7; transition: color .2s, opacity .2s, background .2s; }
.footer-lock svg { width: 14px; height: 14px; }
.footer-lock:hover, .footer-lock:focus-visible { color: var(--gold-soft); opacity: 1; background: rgba(255, 255, 255, .05); }
