:root {
  --navy: #021F47;
  --gold: #DBA111;
  --border: #e2e8f0;
  --text: #1e293b;
  --muted: #64748b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: Inter, system-ui, -apple-system, sans-serif; color: var(--text); background: #fff; line-height: 1.55; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* Header */
header { background: var(--navy); color: white; position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1140px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 14px; color: white; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-img { height: 52px; width: auto; }
.logo-wordmark { display: flex; gap: 12px; }
.wm-col { display: flex; flex-direction: column; align-items: flex-start; }
.wm-letter { font-weight: 700; font-size: 15px; letter-spacing: 0.5px; line-height: 1; }
.wm-word { font-size: 11px; opacity: 0.8; margin-top: 2px; }

nav { display: flex; align-items: center; gap: 22px; }
nav a { color: white; font-size: 14px; font-weight: 500; position: relative; }
nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: white; transition: width 0.2s; }
nav a:hover::after, nav a.active::after { width: 100%; }
nav a:hover::after { width: 100%; }
nav a:hover { color: white; text-decoration: none; }
.nav-cta { background: var(--gold); color: var(--navy) !important; padding: 7px 14px; border-radius: 5px; font-weight: 600; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: #c4920e; }

.btc-price { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #DBA111; margin-right: 8px; white-space: nowrap; }
.btc-price::before { content: "₿"; font-size: 15px; }

/* Hero */
.hero { background: var(--navy); color: white; padding: 90px 24px 80px; text-align: center; }
.hero-inner { max-width: 860px; margin: 0 auto; }
.eyebrow { font-size: 13px; letter-spacing: 0.6px; opacity: 0.85; margin-bottom: 18px; }
.hero h1 { font-size: 44px; font-weight: 700; margin: 0 0 18px; line-height: 1.12; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-lead { font-size: 18px; opacity: 0.92; margin: 0 0 28px; line-height: 1.6; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--gold); color: var(--navy); padding: 13px 26px; border-radius: 6px; font-weight: 600; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: #c4920e; text-decoration: none; }
.btn-print, a.btn-print { background: white; color: #021F47; border: 2px solid #021F47; padding: 12px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-print:hover, .btn-print:active, a.btn-print:hover { background: #DBA111; color: #021F47; border-color: #DBA111; text-decoration: none; }
.btn-primary:hover { background: #c4920e; text-decoration: none; }
.btn-secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.45); padding: 13px 26px; border-radius: 6px; font-weight: 600; text-decoration: none; display: inline-block; }
.btn-secondary:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.hero-meta { margin-top: 18px; font-size: 13px; opacity: 0.75; }

/* Sections */
.section-inner { max-width: 1140px; margin: 0 auto; padding: 64px 24px; }
.section-label { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.section-title { font-size: 34px; color: var(--navy); margin: 0 0 14px; font-weight: 700; }
.section-lead { font-size: 17px; color: #445; line-height: 1.65; margin: 0 0 28px; }

.page-hero { background: var(--navy); color: white; padding: 56px 24px; }
.page-hero .section-inner { padding: 0; }
.page-hero h1 { margin: 0 0 10px; font-size: 36px; }
.page-hero p { margin: 0; opacity: 0.9; max-width: 720px; font-size: 17px; }

/* Principles */
.principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.principle-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 20px; position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.principle-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(2,31,71,0.08); }
.principle-num { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: 1px; margin-bottom: 6px; }
.principle-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 17px; }
.principle-card p { margin: 0; font-size: 14px; color: #445; }
.principle-popout { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; }
.principle-card:hover .principle-popout { display: block; }
.popout-row { margin-bottom: 8px; }
.popout-row strong { display: block; color: var(--navy); font-size: 12px; }

/* Insights / Services cards */
.insight-grid, .service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.insight-card, .service-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 22px; transition: transform 0.2s, box-shadow 0.2s; }
.insight-card:hover, .service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(2,31,71,0.08); }
.insight-card h3, .service-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.insight-card p, .service-card p { margin: 0; font-size: 14px; color: #445; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); }

/* Office cards */
.contact-grid, .office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.office-card { border: 1px solid var(--border); border-radius: 10px; padding: 20px; transition: background 0.25s, color 0.25s; background: white; color: var(--text); }
.office-card:hover { background: var(--navy); color: white; }
.office-card:hover h3, .office-card:hover address, .office-card:hover .office-label, .office-card:hover .office-email { color: white; }
.office-card.highlight { background: white; color: var(--text); }

/* Footer */
footer { background: var(--navy); color: white; padding: 28px 24px; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; }
footer a { color: var(--gold); }
footer a:hover { color: #e8c36a; }

/* Drill-down card hover — navy fill, white font */
.insight-card:hover,
.service-card:hover,
.principle-card:hover,
.chart-card:hover,
a.insight-item:hover,
a.service-item:hover {
  background: var(--navy) !important;
  color: white !important;
  border-color: var(--navy) !important;
}
.insight-card:hover h3,
.service-card:hover h3,
.principle-card:hover h3,
.chart-card:hover h3,
.insight-card:hover p,
.service-card:hover p,
.principle-card:hover p,
.chart-card:hover p,
a.insight-item:hover,
a.service-item:hover {
  color: white !important;
}
.principle-card:hover .principle-num { color: var(--gold) !important; }
.principle-card:hover .principle-popout,
.principle-card:hover .popout-row strong,
.principle-card:hover .popout-row span { color: white !important; }
.article { max-width: 860px; margin: 0 auto; padding: 40px 24px 60px; }
.article p { font-size: 16px; line-height: 1.65; color: #334; }

/* Services */
.service-item { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.service-letter { flex-shrink: 0; width: 36px; height: 36px; background: var(--navy); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.service-item h3 { margin: 0 0 6px; color: var(--navy); font-size: 18px; }
.service-item p { margin: 0; font-size: 15px; }
.service-popout { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; padding: 0 14px; background: #f8fafc; border-radius: 8px; font-size: 13px; line-height: 1.5; transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.35s ease, padding 0.35s ease; }
.service-item:hover .service-popout { max-height: 220px; opacity: 1; margin-top: 12px; padding: 14px; }

/* Insights list */
.insights-list { max-width: 860px; margin: 0 auto; padding: 20px 24px 40px; }
.insight-item { border-bottom: 1px solid var(--border); }
.insight-header { display: flex; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; }
.insight-num { font-weight: 700; color: var(--gold); font-size: 14px; min-width: 28px; }
.insight-header h3, .insight-header a { margin: 0; font-size: 17px; color: var(--navy); flex: 1; }
.insight-header:hover { background: var(--navy); color: white; border-radius: 6px; padding-left: 12px; padding-right: 12px; }
.insight-header:hover h3, .insight-header:hover a, .insight-header:hover span { color: white !important; }

/* CTA box */
.cta-box { background: var(--navy); color: #fff; padding: 32px; border-radius: 10px; margin: 32px 0; }
.cta-box h3 { margin: 0 0 8px; color: #fff; }
.cta-box p { margin: 0 0 16px; color: #fff; opacity: 0.95; }
.disclaimer { font-size: 12px; color: var(--muted); margin-top: 24px; }

/* Page hero on subpages */
.page-hero .section-label { color: var(--gold); }
.page-hero h1 { color: white; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
th { background: var(--navy); color: white; font-weight: 600; }

@media (max-width: 760px) {
  .header-inner { flex-direction: column; gap: 12px; }
  nav { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 30px; }
  .contact-grid, .office-grid { grid-template-columns: 1fr; }
  .btc-price { font-size: 12px; }
}

/* footer-centered-v1 */
footer { text-align: center; }
.footer-inner { flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
