/* ============================================================
   BRIDGE ARK GROUP — SITE-WIDE STYLESHEET
   Shared by every page for a consistent look.
   ============================================================ */

:root {
  --paper: #F5F2EA;
  --paper-raised: #FDFCFA;
  --ink: #221F1A;
  --ink-soft: #454239;
  --line: #B7AE93;
  --accent: #33504A;
  --accent-soft: #E6EDEA;
  --error: #A6483A;
  --link-blue: #2A4E9C;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

/* ---------- Header / Nav ---------- */

.site-header {
  border-bottom: 2px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  flex-shrink: 0;
  display: block;
  color: var(--accent);
}

.logo-wordmark {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent);
}

/* ---------- Page container ---------- */

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.35;
  margin: 32px 0 14px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 26px 0 10px;
}

p { font-size: 16px; margin: 0 0 16px; }

.subheadline {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.text-center {
  text-align: center;
}

.intro,
.callout {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper-raised);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin: 0 0 40px;
  border-radius: 2px;
}

.intro p, .callout p { margin: 0 0 12px; }
.intro p:last-child, .callout p:last-child { margin-bottom: 0; }

.cta-block {
  margin: 24px 0;
}

.cta-button {
  display: inline-block;
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  background: var(--accent);
  color: #FFFFFF !important;
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.cta-button:hover { opacity: 0.92; }

.cta-microcopy {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 12px;
}

hr.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}

.transition-line {
  font-style: italic;
  color: var(--ink-soft);
  margin: 44px 0 8px;
}

.faq-item { margin-bottom: 22px; }
.faq-q { font-weight: 600; margin-bottom: 6px; }

.article-card {
  padding: 20px 0;
  border-bottom: 2px solid var(--line);
}
.article-card:last-child { border-bottom: none; }
.article-card h3 { margin: 0 0 6px; }
.article-card h3 a { text-decoration: none; color: var(--ink); }
.article-card h3 a:hover { color: var(--accent); }
.article-card p { color: var(--ink-soft); margin: 0; }

.link-blue {
  color: var(--link-blue) !important;
  text-decoration: underline !important;
  font-weight: 600;
}
.link-blue:hover { opacity: 0.85; }

.standfirst {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  margin: -8px 0 36px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.back-link:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 2px solid var(--line);
  margin-top: 60px;
  padding: 32px 24px 48px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover { color: var(--accent); }

.footer-sector {
  font-size: 13px;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Legal pages ---------- */

.legal-body ul { padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

@media (max-width: 640px) {
  h1 { font-size: 27px; }
  .wrap { padding: 40px 18px 32px; }
  .header-inner { padding: 14px 18px; }
  .logo-wordmark { font-size: 18px; }
}
