/* ==========================================================================
   DESIGN A: INSTITUTIONAL HERITAGE & PRIVATE WEALTH
   Palette: Deep Midnight Navy (#0A1128), Antique Gold (#C5A880), Ivory (#FAFAF8)
   Typography: Cinzel / Playfair Display (Serif) + Inter (Sans)
   ========================================================================== */

body.theme-institutional {
  background-color: #FAFAF8;
  color: #1A202C;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Typography specifics */
.theme-institutional h1,
.theme-institutional h2,
.theme-institutional h3,
.theme-institutional .brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0A1128;
  letter-spacing: -0.015em;
}

.theme-institutional .brand-subtitle {
  font-family: 'Inter', sans-serif;
  color: #9A7B4F;
  letter-spacing: 0.12em;
}

/* Top Utility Bar */
.theme-institutional .top-utility-bar {
  background: #0A1128;
  border-color: rgba(197, 168, 128, 0.25);
  color: #CBD5E1;
}
.theme-institutional .top-badge {
  background: rgba(197, 168, 128, 0.15);
  color: #E6CA9E;
  border: 1px solid rgba(197, 168, 128, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}
.theme-institutional .top-utility-link {
  color: #C5A880;
}

/* Site Header */
.theme-institutional .site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}
.theme-institutional .site-header.scrolled {
  box-shadow: 0 4px 20px rgba(10, 17, 40, 0.08);
}
.theme-institutional .nav-link,
.theme-institutional .nav-dropdown-btn {
  color: #334155;
}
.theme-institutional .nav-link:hover,
.theme-institutional .nav-dropdown-btn:hover {
  color: #0A1128;
}
.theme-institutional .nav-link.is-active {
  color: #0A1128;
  font-weight: 700;
}
.theme-institutional .compliance-menu {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-top: 3px solid #C5A880;
}
.theme-institutional .compliance-menu-link:hover {
  background: #F8F9FA;
}
.theme-institutional .comp-link-title {
  color: #0A1128;
}

/* HERO / IDENTITY SECTION */
.inst-hero {
  background: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.08) 0%, rgba(10, 17, 40, 0.02) 70%), #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  padding: 4.5rem 0 4rem;
}
.inst-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.inst-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8C6D3B;
  background: #FDF8EE;
  border: 1px solid #F1DFC1;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}
.inst-hero-title {
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.inst-hero-title span {
  color: #9A7B4F;
  font-style: italic;
}
.inst-hero-desc {
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
}
.inst-credential-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.inst-credential-pill {
  background: #FAFAF8;
  border: 1px solid #E2E8F0;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: #1E293B;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Hero Right Side: Institutional Seal Card */
.inst-seal-card {
  background: #0A1128;
  border: 1px solid #C5A880;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #F8FAFC;
  box-shadow: 0 15px 35px rgba(10, 17, 40, 0.2);
  position: relative;
  overflow: hidden;
}
.inst-seal-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.inst-seal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
  padding-bottom: 1.25rem;
}
.inst-seal-title {
  color: #FFFFFF !important;
  font-size: 1.35rem;
}
.inst-seal-sub {
  color: #C5A880;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.inst-stat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.inst-stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: var(--radius-sm);
}
.inst-stat-val {
  font-size: 1.3rem;
  font-weight: 700;
  color: #E6CA9E;
  margin-bottom: 0.25rem;
}
.inst-stat-lbl {
  font-size: 0.75rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* SECTION TITLES */
.inst-section {
  padding: 5rem 0;
}
.inst-section.bg-alt {
  background: #F4F4F0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}
.inst-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.inst-section-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8C6D3B;
  margin-bottom: 0.75rem;
}
.inst-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0A1128;
  margin-bottom: 0.85rem;
}
.inst-section-subtitle {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.7;
}

/* DUAL FOUNDERS DOSSIER */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.founder-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
}
.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #C5A880;
}
.founder-top {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.founder-avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid #C5A880;
  padding: 3px;
  flex-shrink: 0;
  background: #FAFAF8;
}
.founder-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.founder-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0A1128;
  margin-bottom: 0.25rem;
}
.founder-credentials {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8C6D3B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.founder-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}
.founder-bio {
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.founder-focus-list {
  list-style: none;
  background: #FAFAF8;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.founder-focus-item {
  font-size: 0.84rem;
  color: #334155;
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.founder-focus-item svg {
  color: #9A7B4F;
  flex-shrink: 0;
}
.founder-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #E5E7EB;
  padding-top: 1.25rem;
  font-size: 0.84rem;
}
.founder-email-link {
  color: #0A1128;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* RESEARCH SEGMENTS GRID */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.segment-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.segment-card:hover {
  border-color: #C5A880;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.segment-icon-wrap {
  width: 48px;
  height: 48px;
  background: #FDF8EE;
  border: 1px solid #F1DFC1;
  color: #8C6D3B;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}
.segment-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0A1128;
  margin-bottom: 0.75rem;
}
.segment-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.segment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.segment-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: #FAFAF8;
  border: 1px solid #E5E7EB;
  color: #1E293B;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* REGULATORY PORTALS SECTION */
.reg-portals-box {
  background: #0A1128;
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}
.reg-portals-intro h2 {
  color: #FFFFFF !important;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.reg-portals-intro p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.7;
}
.reg-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.reg-portal-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.reg-portal-card:hover {
  background: rgba(197, 168, 128, 0.15);
  border-color: #C5A880;
}
.reg-card-title {
  color: #E6CA9E;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.reg-card-desc {
  color: #94A3B8;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* SEBI DISCLAIMER BANNER */
.theme-institutional .sebi-statutory-banner {
  background: #FFFFFF;
  border-color: #E5E7EB;
}
.theme-institutional .disclaimer-badge {
  background: #FDF8EE;
  color: #8C6D3B;
  border: 1px solid #F1DFC1;
}
.theme-institutional .disclaimer-core-text {
  color: #334155;
}
.theme-institutional .disclaimer-pill {
  background: #FAFAF8;
  border: 1px solid #E5E7EB;
  color: #1E293B;
}

/* FOOTER */
.theme-institutional .site-footer {
  background: #0A1128;
  color: #94A3B8;
}
.theme-institutional .footer-col-title {
  color: #E6CA9E;
}
.theme-institutional .footer-link {
  color: #CBD5E1;
}
.theme-institutional .footer-link:hover {
  color: #FFFFFF;
}
.theme-institutional .footer-bottom {
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
  .inst-hero-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .segments-grid { grid-template-columns: 1fr 1fr; }
  .reg-portals-box { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .segments-grid { grid-template-columns: 1fr; }
  .reg-links-grid { grid-template-columns: 1fr; }
}
