/* ============================================================
   SIRMIUM CAPITAL — Master Design System
   Colors: Navy #0A1628 | Gold #C9A55C | White #FFFFFF
   ============================================================ */

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

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:        #0A1628;
  --navy-light:  #0F2040;
  --navy-mid:    #152E55;
  --gold:        #C9A55C;
  --gold-light:  #D9BC84;
  --gold-dark:   #A8873A;
  --white:       #FFFFFF;
  --off-white:   #F5F3EF;
  --text-muted:  rgba(201,165,92,0.55);
  --border:      rgba(201,165,92,0.25);

  --font-head:   'Cormorant Garamond', Georgia, serif;
  --font-body:   'Inter', -apple-system, sans-serif;

  --radius:      6px;
  --radius-lg:   12px;
  --shadow:      0 4px 24px rgba(0,0,0,0.18);
  --shadow-gold: 0 0 0 1px rgba(201,165,92,0.35), 0 8px 32px rgba(10,22,40,0.4);

  --transition:  all 0.28s cubic-bezier(0.4,0,0.2,1);
  --max-width:   1200px;
}

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

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
p  { color: inherit; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  opacity: 0.85;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-light { background: var(--off-white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 32px;
}
.gold-rule.center { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,165,92,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.btn-navy {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}
.btn-lg { padding: 17px 36px; font-size: 1rem; }

/* ── NAVIGATION ─────────────────────────────────────────── */
.sc-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.sc-nav.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08); /* subtle shadow for white ground */
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--navy) !important;
}
.dropdown-menu a:hover { background: rgba(201,165,92,0.1); color: var(--gold) !important; }
.dropdown-menu a::after { display: none !important; }

.nav-cta { margin-left: 8px; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,165,92,0.07) 0%, transparent 65%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 span { color: var(--gold); font-style: italic; }
.hero-lead {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Team photos in hero */
.hero-photos {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}
.hero-photo {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.hero-photo:first-child {
  transform: translateY(-24px);
}
.photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, transparent 100%);
  padding: 32px 20px 20px;
  text-align: center;
}
.photo-caption strong {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
}
.photo-caption span {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-photo-border {
  border: 1px solid var(--border);
}

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
  background: var(--gold);
  padding: 28px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.stat-item { text-align: center; }
.stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.7;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(10,22,40,0.2);
}

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10,22,40,0.1);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.card-dark {
  background: var(--navy-light);
  border: 1px solid var(--border);
  color: var(--white);
}
.card-dark:hover {
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}
.card-body { padding: 32px; }
.card-icon {
  width: 52px; height: 52px;
  background: rgba(201,165,92,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 12px; }
.card p { opacity: 0.75; font-size: 0.9rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 20px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* Niche cards */
.niche-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.niche-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.niche-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}
.niche-card h3 { color: var(--white); margin: 16px 0 12px; }
.niche-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ── SECTION HEADERS ─────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header .lead { max-width: 600px; }
.section-header.center .lead { margin-left: auto; margin-right: auto; }

/* ── TEAM ────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.team-card { display: flex; gap: 32px; align-items: flex-start; }
.team-photo {
  width: 160px;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.team-info h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.team-bio {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

/* ── RESEARCH / NEWSLETTER ───────────────────────────────── */
.newsletter-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.newsletter-section::after {
  content: '';
  position: absolute;
  right: -200px;
  top: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,165,92,0.08) 0%, transparent 70%);
}
.newsletter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,165,92,0.12);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin-top: 32px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}

/* ── PROCESS STEPS ───────────────────────────────────────── */
.process-steps {
  display: flex;
  gap: 0;
  align-items: flex-start;
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  right: -50%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.process-step h4 { color: var(--white); margin-bottom: 8px; }
.process-step p { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* ── COMPLIANCE STRIP ─────────────────────────────────────── */
.compliance-strip {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.compliance-text {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1.6;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.sc-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
  color: var(--navy);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo img { height: 48px; margin-bottom: 20px; }
.footer-desc {
  color: rgba(10,22,40,0.65); /* navy with opacity */
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-links h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(10,22,40,0.7); /* navy with opacity */
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-legal {
  font-size: 0.72rem;
  color: rgba(10,22,40,0.45); /* navy with opacity */
  line-height: 1.7;
  max-width: 700px;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(10,22,40,0.5); /* navy with opacity */
  white-space: nowrap;
}

/* ── NEWSLETTER POPUP MODAL ──────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  box-shadow: var(--shadow-gold);
}
.modal-overlay.open .modal {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }
.modal-logo { height: 36px; margin-bottom: 28px; }
.modal h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 12px;
}
.modal p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-form input {
  padding: 14px 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.modal-form input:focus { border-color: var(--gold); }
.modal-form input::placeholder { color: rgba(255,255,255,0.35); }
.modal-fine {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: 8px;
}

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,0.65); max-width: 600px; margin: 20px auto 0; }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  justify-content: center;
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ── BLOCKQUOTE / TESTIMONIAL ────────────────────────────── */
.sc-quote {
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  background: rgba(201,165,92,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
}
.sc-quote p {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
}
.sc-quote cite {
  font-size: 0.8rem;
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ── ACCORDION (FAQ) ─────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  gap: 16px;
}
.faq-icon {
  width: 24px; height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.faq-answer-inner {
  padding-bottom: 20px;
  color: rgba(10,22,40,0.65);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ── UTILITY ─────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-grid, .grid-2, .grid-3, .team-grid { grid-template-columns: 1fr; }
  .hero-photos { gap: 12px; }
  .hero-photo img { height: 320px; }
  .hero-photo:first-child { transform: none; }
  .stats-bar { padding: 32px 0; }
  .stats-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; align-items: start; }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .process-steps { flex-direction: column; gap: 32px; }
  .process-step::after { display: none; }
  .newsletter-form { flex-direction: column; }
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0;
    background: var(--white);
    padding: 40px 24px;
    gap: 24px;
    overflow-y: auto;
  }
  .nav-toggle { display: flex; }
  .team-card { flex-direction: column; }
  .modal { padding: 32px 24px; }
}
