/* ============================================================
   SRPI SITE — GLOBAL STYLESHEET
   Sentinel Research & Policy Institute
   Brand: Navy #13294b / Dark Blue #16467e / Medium Blue #1d5ba6
          Gold #c9a84c / Slate #8d99ae / Crimson #e63946 (rare)
   Type: Montserrat (headings) / Open Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600;700&display=swap');

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #333333;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: #1d5ba6; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Shared eyebrow / section title / rule pattern (used across every page) ── */
.srpi-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1d5ba6;
  margin-bottom: 12px;
}
.srpi-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: #13294b;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.srpi-rule {
  width: 44px;
  height: 3px;
  background: #c9a84c;
  margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.srpi-header {
  background: #13294b;
  position: relative;
  z-index: 100;
}
.srpi-header-inner {
  max-width: 1300px;
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.srpi-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.srpi-header-brand img { width: 36px; height: 36px; }
.srpi-header-brand span {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.srpi-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.srpi-nav-item { position: relative; }
.srpi-nav-item > a {
  display: block;
  color: rgba(255,255,255,0.88);
  padding: 20px 13px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.srpi-nav-item > a:hover { color: #c9a84c; }
.srpi-nav-item.current > a {
  color: #c9a84c;
  border-bottom: 2px solid #c9a84c;
  padding-bottom: 18px;
}
.srpi-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #13294b;
  border-top: 2px solid #c9a84c;
  min-width: 230px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  padding: 6px 0 8px;
  list-style: none;
  margin: 0;
}
.srpi-nav-item:hover .srpi-submenu { display: block; }
.srpi-submenu li a {
  display: block;
  color: rgba(255,255,255,0.80);
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.srpi-submenu li:last-child a { border-bottom: none; color: #c9a84c; }
.srpi-submenu li a:hover { background: rgba(255,255,255,0.07); color: #c9a84c; padding-left: 24px; }
.srpi-header-actions { display: flex; align-items: center; flex-shrink: 0; gap: 10px; }
.srpi-donate-pill {
  background: #c9a84c;
  color: #13294b;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.srpi-donate-pill:hover { background: #e0bc5a; }
.srpi-social-icons { display: flex; gap: 10px; }
.srpi-social-icons a { color: rgba(255,255,255,0.88); text-decoration: none; }
.srpi-social-icons a:hover { color: #c9a84c; }
.srpi-mobile-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  color: rgba(255,255,255,0.88);
  padding: 8px 10px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .srpi-nav, .srpi-header-actions .srpi-donate-pill, .srpi-social-icons { display: none; }
  .srpi-mobile-toggle { display: block; }
  .srpi-header-brand span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
  body.nav-open .srpi-nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #0e1f38;
    flex-direction: column;
    align-items: stretch;
    padding: 60px 0 32px;
    overflow-y: auto;
  }
  body.nav-open .srpi-nav-item > a {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  body.nav-open .srpi-submenu {
    display: block;
    position: static;
    background: rgba(0,0,0,0.2);
    box-shadow: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    width: 100%;
  }
  body.nav-open .srpi-mobile-close {
    display: flex;
    justify-content: flex-end;
    padding: 0 20px;
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 1000;
  }
}
.srpi-mobile-close { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.srpi-footer { background: #0d1f38; }
.srpi-footer-rule-top { width: 100%; height: 2px; background: linear-gradient(90deg,transparent,#c9a84c,transparent); }
.srpi-footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px clamp(1.5rem,5vw,2rem) 40px;
  text-align: center;
}
.srpi-footer-main img { width: 220px; max-width: 100%; margin: 0 auto 20px; opacity: 0.45; }
.srpi-footer-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  margin-bottom: 32px;
}
.srpi-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; list-style: none; padding: 0; margin: 0 0 24px; }
.srpi-footer-nav a {
  color: rgba(255,255,255,0.55);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.srpi-footer-nav a:hover { color: #c9a84c; }
.srpi-footer-social { display: flex; justify-content: center; gap: 12px; }
.srpi-footer-social a { color: rgba(255,255,255,0.45); text-decoration: none; }
.srpi-footer-social a:hover { color: #c9a84c; }
.srpi-footer-rule { width: 100%; height: 1px; background: rgba(255,255,255,0.08); }
.srpi-footer-legal { max-width: 1100px; margin: 0 auto; padding: 24px clamp(1.5rem,5vw,2rem) 32px; text-align: center; }
.srpi-footer-legal p { color: rgba(255,255,255,0.28); font-size: 12px; font-style: italic; line-height: 1.7; max-width: 720px; margin: 0 auto 10px; }
.srpi-footer-legal p.copyright { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; font-style: normal; color: rgba(255,255,255,0.22); }
@media (max-width: 600px) { .srpi-footer-nav { display: none; } }

/* ============================================================
   SHARED: Conflict of interest disclosure (all pages)
   ============================================================ */
.srpi-coi { background: #f8f9fb; border-top: 1px solid #dde2ea; padding: 32px; }
.srpi-coi__inner { max-width: 900px; margin: 0 auto; }
.srpi-coi details summary {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d99ae;
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.srpi-coi details summary::-webkit-details-marker { display: none; }
.srpi-coi details summary::before { content: '▶'; font-size: 9px; transition: transform 0.2s; color: #8d99ae; }
.srpi-coi details[open] summary::before { transform: rotate(90deg); }
.srpi-coi__text { margin-top: 16px; font-size: 13px; color: #888888; line-height: 1.7; font-style: italic; }
.srpi-coi__text p { margin-bottom: 12px; }
.srpi-coi__text p:last-child { margin-bottom: 0; }

/* ============================================================
   Generic buttons (reused site-wide)
   ============================================================ */
.btn-gold {
  display: inline-block;
  background: #c9a84c; color: #13294b;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px;
  border-radius: 3px; padding: 14px 28px; text-decoration: none; transition: background 0.2s;
}
.btn-gold:hover { background: #e0bc5a; }
.btn-outline {
  display: inline-block;
  color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px;
  padding: 14px 28px; text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { border-color: #c9a84c; color: #c9a84c; }
.btn-navy {
  display: inline-block;
  background: #13294b; color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px;
  border-radius: 3px; padding: 10px 20px; text-decoration: none;
}
