/* ============================================================
   SIRMIUM CAPITAL — Design System
   Colors: Deep Navy · Gold · White
   Fonts: Playfair Display (headings) · Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --navy-deep:    #0B1C3A;
  --navy-mid:     #1A3057;
  --navy-light:   #243e6b;
  --gold:         #C9A84C;
  --gold-light:   #DFC06A;
  --gold-muted:   #9B7D35;
  --white:        #FFFFFF;
  --off-white:    #F8F6F0;
  --surface:      #F2EFE8;
  --text-dark:    #0B1C3A;
  --text-mid:     #3D5278;
  --text-light:   #6B7FA3;
  --border:       #D8D0BC;
  --border-light: #EAE6DC;

  /* Typography */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Layout */
  --max-width:  1200px;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(11,28,58,0.08);
  --shadow-md:  0 4px 16px rgba(11,28,58,0.12);
  --shadow-lg:  0 8px 32px rgba(11,28,58,0.16);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.20);

  /* Transitions */
  --transition: 0.22s ease;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Brand selection highlight */
::selection {
  background: rgba(201,168,76,0.2);
  color: var(--navy-deep);
}

/* Screen reader only */
.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;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--navy-deep);
}
h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
p  { font-size: 1rem; line-height: 1.75; color: var(--text-mid); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-sm);
}
.lead { font-size: 1.15rem; line-height: 1.8; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.section { padding: var(--space-3xl) 0; }
.section-sm { padding: var(--space-2xl) 0; }

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0 var(--space-xl);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.nav-logo-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--navy-mid);
}
.btn-outline-navy:hover {
  background: var(--navy-deep);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ── GOLD DIVIDER ────────────────────────────────────────── */
.gold-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: var(--space-md) 0 var(--space-lg);
}
.gold-line-center { margin: var(--space-md) auto var(--space-lg); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: var(--navy-deep);
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(26,48,87,0.8) 0%, transparent 60%);
  padding: var(--space-3xl) var(--space-xl);
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 { color: var(--white); margin-bottom: var(--space-lg); }
.hero h1 span { color: var(--gold); }
.hero .lead { color: rgba(255,255,255,0.75); margin-bottom: var(--space-xl); }
.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.hero-stat-item { text-align: center; padding: var(--space-md); }
.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.hero-fiduciary {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: rgba(201,168,76,0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.hero-fiduciary p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) var(--space-xl);
}
.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}
.trust-item-icon {
  color: var(--gold);
  font-size: 1rem;
}
.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* ── NICHE CARDS ─────────────────────────────────────────── */
.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.niche-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.niche-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.niche-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.niche-card:hover::before { transform: scaleX(1); }
/* Tap state on mobile */
@media (hover: none) {
  .niche-card:active {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
  }
  .niche-card:active::before { transform: scaleX(1); }
}
.niche-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(11,28,58,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}
.niche-card h3 { font-size: 1.15rem; margin-bottom: var(--space-sm); }
.niche-card p { font-size: 0.88rem; margin-bottom: var(--space-md); }
.niche-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.niche-card:hover .niche-link { gap: 8px; }

/* ── FEATURE SECTION ─────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.feature-list { display: flex; flex-direction: column; gap: var(--space-lg); margin-top: var(--space-xl); }
.feature-item { display: flex; gap: var(--space-md); align-items: flex-start; }
.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 2px;
}
.feature-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.88rem; }

/* ── NEWSLETTER SECTION ─────────────────────────────────── */
.newsletter-section {
  background: var(--navy-deep);
  padding: var(--space-3xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}
.newsletter-section::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.newsletter-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.newsletter-inner h2 { color: var(--white); margin-bottom: var(--space-md); }
.newsletter-inner p { color: rgba(255,255,255,0.7); margin-bottom: var(--space-xl); }
.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 500px;
  margin: 0 auto var(--space-md);
}
.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.11);
}
.newsletter-form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.newsletter-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* ── TESTIMONIAL / QUOTE ─────────────────────────────────── */
.quote-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quote-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: var(--space-lg);
  line-height: 1;
}
.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}
.quote-author { font-size: 0.82rem; font-weight: 600; color: var(--text-mid); }

/* ── RESEARCH / ARTICLE CARDS ────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: block;
  text-decoration: none;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.article-card-body { padding: var(--space-lg); }
.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.article-card h4 { font-size: 1rem; margin-bottom: var(--space-sm); color: var(--navy-deep); }
.article-card p { font-size: 0.84rem; }
.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--space-2xl); }
.section-header p { margin-top: var(--space-md); }

/* ── BACKGROUND VARIANTS ─────────────────────────────────── */
.bg-white    { background: var(--white); }
.bg-off      { background: var(--off-white); }
.bg-navy     { background: var(--navy-deep); }
.bg-surface  { background: var(--surface); }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
  color: rgba(255,255,255,0.65);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-xl);
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.footer-brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  display: block;
}
.footer-brand p { font-size: 0.84rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}
.footer-col ul li { margin-bottom: var(--space-sm); }
.footer-col ul li a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-links {
  display: flex;
  gap: var(--space-lg);
}
.footer-links a { font-size: 0.75rem; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-disclaimer {
  max-width: var(--max-width);
  margin: var(--space-xl) auto 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-lg);
}

/* ── CHATBOT WIDGET ──────────────────────────────────────── */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}
.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
  transition: all var(--transition);
  color: var(--navy-deep);
  font-size: 1.4rem;
}
.chat-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(201,168,76,0.5); }

/* ── UTILITIES ───────────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy-deep); }
.text-white  { color: var(--white); }
.text-mid    { color: var(--text-mid); }
.text-center { text-align: center; }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { max-width: 480px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --space-xl: 1.5rem; --space-2xl: 2.5rem; --space-3xl: 4rem; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .trust-bar-inner { gap: var(--space-lg); }
  .trust-divider { display: none; }
  .newsletter-form { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-md); }
  .nav { padding: 0 var(--space-md); }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
