/* Praetorio Protection Group — shared styles */

:root {
  --navy: #0E1B33;
  --navy-deep: #0A1528;
  --gold: #C9A24B;
  --gold-dark: #9C7A2E;
  --cream: #F7F5F0;
  --ivory: #F5F3EE;
  --text: #4A5262;
  --muted: #9CA6B8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Work Sans', -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); font-family: var(--sans); color: var(--text); }
main { flex: 1; }
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip { position: absolute; left: -9999px; top: 0; padding: 12px 18px; background: var(--gold); color: var(--navy); font-weight: 600; z-index: 10; }
.skip:focus { left: 0; }

/* Shared type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; line-height: 1.6; color: var(--gold); text-transform: uppercase; }
.eyebrow--lg { font-size: clamp(15px, 2.4vw, 17px); }
.eyebrow--xl { font-size: clamp(20px, 3.6vw, 26px); }
.eyebrow--dark { color: var(--gold-dark); }
.statement { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(18px, 2.6vw, 22px); line-height: 1.55; color: var(--ivory); }
.rule { width: 32px; height: 1px; background: var(--gold); border: 0; margin: 0; }
.rule--soft { background: rgba(201,162,75,0.4); }
.more { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); padding: 6px 0; }
.more:hover { color: var(--ivory); }
.on-image { text-shadow: 0 2px 12px rgba(0,0,0,0.85); }
.stack { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; margin: 0 auto; }

/* Nav */
.nav { background: var(--navy); border-bottom: 1px solid rgba(201,162,75,0.25); }
.nav__inner { max-width: 1180px; margin: 0 auto; padding: 22px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { width: 34px; height: 34px; object-fit: contain; display: block; }
.nav__links { display: flex; gap: clamp(20px, 4vw, 40px); }
.nav__links a { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; color: #EDE6D6; padding: 8px 0; white-space: nowrap; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--gold); }

/* Home hero */
.hero { background: var(--navy); padding: clamp(72px, 12vw, 128px) var(--gutter) 60px; }
.hero .stack { max-width: 760px; gap: 28px; }
.hero__wordmark { width: min(300px, 70vw); height: auto; margin-bottom: 4px; }
.hero__tagline { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(20px, 3vw, 24px); line-height: 1.25; color: var(--ivory); }
.cta { display: inline-block; margin-top: 8px; padding: 15px 40px; background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; border-radius: 2px; transition: background 0.15s, color 0.15s; }
.cta:hover { background: var(--navy); color: var(--cream); box-shadow: inset 0 0 0 1px var(--gold); }

.divider { height: 10px; background: var(--navy-deep); }

/* Full-bleed image bands */
.band { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 90px) var(--gutter); }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band__img--blur { inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); filter: blur(2px); }
.band__shade { position: absolute; inset: 0; z-index: 1; }
.band .stack { position: relative; z-index: 2; max-width: 780px; }
.band p.body { font-size: 16px; line-height: 1.8; color: var(--ivory); }

.band--ninth { padding-top: 50px; padding-bottom: clamp(90px, 14vw, 140px); }
.band--ninth .band__img { object-position: center 78%; }
.band--ninth .band__shade { background: linear-gradient(180deg, rgba(6,6,8,0.55) 0%, rgba(6,6,8,0.78) 55%, rgba(6,6,8,0.9) 100%); }

.band--jet { padding-bottom: clamp(180px, 30vw, 300px); }
.band--jet .band__img { object-position: center 42%; }
.band--jet .band__shade { background: linear-gradient(180deg, rgba(6,6,8,1) 0%, rgba(6,6,8,0.85) 18%, rgba(6,6,8,0.6) 42%, rgba(6,6,8,0.25) 78%, rgba(6,6,8,0.12) 100%); }

.band--investigators .band__img { inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); object-position: center 30%; filter: blur(1px); }
.band--investigators .band__shade { background: linear-gradient(180deg, rgba(6,6,8,0.45) 0%, rgba(6,6,8,0.55) 55%, rgba(6,6,8,0.68) 100%); }

.band--plain { background: #060608; }


/* Our Members: portrait photo full-bleed behind the text. Wide screens: text sits right, over the dark SUV.
   Narrow screens: text sits low, over the grille. */
.band--members { background: #060608; min-height: 700px; display: flex; align-items: center; }
.band--members .band__img { object-position: center top; }
.band--members .band__shade { background: linear-gradient(90deg, rgba(6,6,8,0.15) 0%, rgba(6,6,8,0.3) 45%, rgba(6,6,8,0.78) 62%, rgba(6,6,8,0.88) 100%); }
.band--members .stack { width: 38%; max-width: 480px; margin: 0 3% 0 auto; }

.band--team { padding-top: clamp(220px, 38vw, 420px); }
.band--team .band__img { object-position: center 22%; }
.band--team .band__shade { background: linear-gradient(180deg, rgba(6,6,8,0.05) 0%, rgba(6,6,8,0.25) 40%, rgba(6,6,8,0.88) 72%, rgba(6,6,8,0.96) 100%); }

/* Inner page header */
.page-head { background: var(--navy); padding: clamp(64px, 10vw, 110px) var(--gutter); }
.page-head .stack { max-width: 720px; }
.page-head__motto { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(24px, 4.4vw, 32px); line-height: 1.3; color: #F2EFE8; letter-spacing: 0.01em; }

/* Leadership */
.leaders { background: var(--cream); padding: clamp(64px, 9vw, 100px) var(--gutter); }
.leaders__inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.leaders__inner > .eyebrow { text-align: center; }
.leaders__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 56px 48px; justify-items: center; }
.leader { max-width: 420px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.leader img { width: 208px; height: 208px; object-fit: cover; border-radius: 10px; display: block; }
.leader__pending { width: 208px; height: 208px; border-radius: 10px; background: linear-gradient(160deg, #17294D, #0E1B33); border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; color: #8A93A6; }
.leader h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--navy); }
.leader__role { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--gold-dark); text-transform: uppercase; }
.leader__bio { font-size: 14px; line-height: 1.7; text-align: left; }

/* Capabilities */
.caps { background: var(--navy); padding: clamp(60px, 9vw, 90px) var(--gutter) clamp(72px, 10vw, 110px); }
.caps__inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.caps__inner > .eyebrow { text-align: center; }
.caps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 44px; }
.cap { display: flex; flex-direction: column; gap: 12px; }
.cap::before { content: ""; width: 32px; height: 2px; background: var(--gold); }
.cap h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; color: #F2EFE8; }
.cap p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.caps__also { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.caps__also p { font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 780px; }

/* Contact band */
.contact { background: var(--navy); border-top: 1px solid rgba(201,162,75,0.25); padding: clamp(64px, 9vw, 96px) var(--gutter); }
.contact .stack { max-width: 620px; }
.contact p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.contact__mail { font-family: var(--serif); font-size: clamp(16px, 3.4vw, 22px); color: var(--ivory); overflow-wrap: anywhere; }
.contact__mail:hover { color: var(--gold); }

/* Footer */
.footer { background: var(--navy-deep); padding: 64px var(--gutter) 48px; }
.footer__inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer__mark { width: 40px; height: 40px; object-fit: contain; display: block; }
.footer__name { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--gold); }
.footer__place { font-size: 13px; color: #7C8598; }
.footer a.footlink { color: var(--gold); opacity: 0.85; }
.footer a.footlink:hover { opacity: 1; }
.footer__mail { font-size: 13px; letter-spacing: 0.04em; overflow-wrap: anywhere; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 8px; }
.footer__links a { font-size: 12px; letter-spacing: 0.08em; padding: 4px 0; }
.footer__legal { margin-top: 20px; font-size: 11px; line-height: 1.6; color: #6B7488; letter-spacing: 0.02em; }

@media (max-width: 480px) {
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 11.5px; letter-spacing: 0.06em; }
  .eyebrow { letter-spacing: 0.16em; }
  .cta { padding: 15px 32px; }
}

/* On narrow screens the team photo sits above its text instead of behind it */
@media (max-width: 760px) {
  .band--members { display: block; min-height: 0; padding-top: 92vw; padding-bottom: 64px; }
  .band--members .band__shade { background: linear-gradient(180deg, rgba(6,6,8,0.05) 0%, rgba(6,6,8,0.15) 30%, rgba(6,6,8,0.8) 48%, rgba(6,6,8,0.92) 100%); }
  .band--members .stack { width: auto; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 700px) {
  .band--team { padding: 0 0 56px; background: #060608; }
  .band--team .band__img { position: static; height: auto; display: block; }
  .band--team .band__shade { display: none; }
  .band--team .stack { padding: 40px var(--gutter) 0; }
}
