/**
 * ═══════════════════════════════════════════════════════════════
 * THE NEXT GEN GAINER — Master Stylesheet
 * Design System: Finovate — Bright, High-Trust Financial Consulting
 * Palette: White / Light Grey / Charcoal / Navy & Gold Accents
 * ═══════════════════════════════════════════════════════════════
 */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    /* Backgrounds */
    --bg-white:       #FFFFFF;
    --bg-light:       #F4F7F6;
    --bg-soft:        #F2F3F5;
    --bg-cream:       #FAFAF8;

    /* Text */
    --text-primary:   #1A1A1A;
    --text-secondary: #4A5568;
    --text-muted:     #6B7280;
    --text-light:     #9CA3AF;

    /* Accent — Forest & Mint */
    --navy:           #1A3A32;
    --navy-mid:       #245544;
    --navy-light:     #2E6B56;
    --gold:           #B2F1C3;
    --gold-light:     #D4F8E0;
    --gold-dim:       #7DDBA0;
    --gold-glow:      rgba(178, 241, 195, 0.12);
    --amber:          #F6AD55;

    /* Borders */
    --border-light:   #E5E7EB;
    --border-softer:  #F0F0F0;

    /* Typography */
    --font-display:   'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent:    'Plus Jakarta Sans', 'Inter', sans-serif;

    /* Spacing */
    --section-pad:    clamp(80px, 10vw, 140px);
    --container:      1200px;
    --gutter:         clamp(1.25rem, 4vw, 2.5rem);

    /* Transitions */
    --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition:     0.4s var(--ease);

    /* Shadows */
    --shadow-soft:    0 2px 20px rgba(0, 0, 0, 0.04);
    --shadow-card:    0 4px 32px rgba(0, 0, 0, 0.06);
    --shadow-hover:   0 12px 48px rgba(0, 0, 0, 0.08);
    --shadow-header:  0 4px 20px rgba(0, 0, 0, 0.03);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold-dim);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--navy);
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 500;
}

h4 {
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    font-family: var(--font-body);
    color: var(--gold-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

p {
    margin-bottom: 1.4em;
    color: var(--text-secondary);
    text-align: justify;
    font-size: 1.08rem;
    line-height: 1.85;
}

.text-gold { color: var(--gold); }
.text-white { color: var(--bg-white); }

.accent-text {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--gold-dim);
    font-size: 1rem;
}

.imperial-quote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
    border-left: 3px solid var(--navy);
    padding-left: 2rem;
    margin: 3rem 0;
    text-align: left;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: var(--section-pad) 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-dark {
    background-color: var(--bg-light);
}

.section-mid {
    background-color: var(--bg-white);
}

.section-subtle {
    background-color: var(--bg-soft);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.section-header h4 {
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1.25rem;
}

.section-header p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-muted);
}

/* Gold Dividers */
.gold-rule {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1.75rem auto;
    border: none;
}

.gold-rule-left {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1.75rem 0;
    border: none;
}

/* ══════════════════════════════════════════════════════════════
   HEADER & NAVIGATION — Ultra-Clean White
   ══════════════════════════════════════════════════════════════ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
    background: var(--bg-white);
    box-shadow: var(--shadow-header);
    transition: box-shadow var(--transition), padding var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.header-container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}

.site-header.scrolled .header-container {
    height: 72px;
}

/* Logo — No bounding box */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy);
    border: none;
    padding: 0;
    letter-spacing: 0.05em;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-item.active .nav-link,
.nav-item.mega-active .nav-link {
    color: var(--navy);
}

.nav-numeral {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--gold-dim);
    margin-right: 0.15rem;
}

.nav-chevron {
    width: 10px;
    height: 6px;
    opacity: 0.4;
    color: var(--text-muted);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-item.mega-active .nav-chevron {
    transform: rotate(180deg);
    opacity: 0.8;
}

/* Gold underline slide animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.1rem;
    right: 1.1rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    transform: scaleX(1);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 420px;
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    pointer-events: none;
}

.mega-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.mega-inner {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow-hover);
}

.mega-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-softer);
}

.mega-pillar-numeral {
    font-family: var(--font-accent);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.mega-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 0.25rem;
}

.mega-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.mega-links {
    list-style: none;
    display: grid;
    gap: 0;
}

.mega-links li a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-softer);
    transition: padding-left var(--transition), background var(--transition);
}

.mega-links li:last-child a {
    border-bottom: none;
}

.mega-links li a:hover {
    padding-left: 0.75rem;
    background: var(--bg-light);
    border-radius: 4px;
}

.mega-links li a.active {
    border-left: 2px solid var(--gold);
    padding-left: 0.75rem;
}

.mega-link-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.mega-link-desc {
    display: block;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-light);
    margin-top: 0.1rem;
}

.mega-links li a:hover .mega-link-label {
    color: var(--navy);
}

/* Header CTA */
.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bg-white);
    background: var(--navy);
    border: 1.5px solid var(--navy);
    border-radius: 8px;
    transition: all var(--transition);
    flex-shrink: 0;
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    padding: 10px;
}

.toggle-bar {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-primary);
    transition: transform var(--transition), opacity var(--transition);
}

/* ── Mobile Nav Overlay ────────────────────────────────────── */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    overflow-y: auto;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    padding: 2rem clamp(1.5rem, 5vw, 3rem);
    min-height: 100vh;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.mobile-close {
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.mobile-close:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--bg-white);
}

.mobile-pillar {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-softer);
    padding-bottom: 1rem;
}

.mobile-pillar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 0;
}

.mobile-pillar-title:hover {
    color: var(--gold-dim);
}

.mobile-pillar-links {
    display: none;
    flex-direction: column;
    padding: 0.5rem 0 0.5rem 2rem;
}

.mobile-pillar.open .mobile-pillar-links {
    display: flex;
}

.mobile-pillar-links a {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-softer);
}

.mobile-pillar-links a:hover {
    color: var(--navy);
    padding-left: 0.5rem;
}

.mobile-direct {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.mobile-cta-link {
    display: block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bg-white);
    background: var(--navy);
    border: 1.5px solid var(--navy);
    border-radius: 8px;
    transition: all var(--transition);
}

.mobile-cta-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

/* ══════════════════════════════════════════════════════════════
   HERO SECTIONS — Clean & Bright
   ══════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(10rem, 18vh, 14rem) var(--gutter) clamp(6rem, 10vh, 10rem);
    overflow: hidden;
    background: var(--bg-white);
}

.hero-home {
    min-height: 100vh;
    background: linear-gradient(170deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.hero-inner {
    min-height: 85vh;
}

.hero-page {
    min-height: 55vh;
    background: linear-gradient(170deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.04;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.9) 50%,
        rgba(255, 255, 255, 0.98) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-style: normal;
    font-weight: 600;
    color: var(--gold-dim);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: block;
}

.hero h1 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--text-muted);
    line-height: 1.9;
    max-width: 560px;
    margin: 0 auto 3rem;
    text-align: center;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.8rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bg-white);
    background: var(--navy);
    border: 1.5px solid var(--navy);
    border-radius: 8px;
    transition: all var(--transition);
}

.hero-cta:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.hero-cta-secondary {
    background: transparent;
    color: var(--navy);
}

.hero-cta-secondary:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--bg-white);
}

/* ══════════════════════════════════════════════════════════════
   VAULT / PILLAR CARDS — Clean White Boxes
   ══════════════════════════════════════════════════════════════ */

.vault-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.vault-card {
    position: relative;
    background: var(--bg-white);
    border: none;
    border-radius: 8px;
    padding: clamp(2.5rem, 4vw, 3.5rem);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition);
    overflow: hidden;
}

.vault-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    opacity: 0;
    transition: opacity var(--transition);
}

.vault-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.vault-card:hover::before {
    opacity: 1;
}

.vault-numeral {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--border-light);
    line-height: 1;
    margin-bottom: 1.25rem;
}

.vault-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.vault-subtitle {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gold-dim);
    margin-bottom: 1.5rem;
}

.vault-card p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.vault-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy);
    transition: gap var(--transition), color var(--transition);
}

.vault-link:hover {
    gap: 0.9rem;
    color: var(--gold-dim);
}

.vault-link-arrow {
    font-size: 1.1rem;
    transition: transform var(--transition);
}

.vault-link:hover .vault-link-arrow {
    transform: translateX(4px);
}

/* ══════════════════════════════════════════════════════════════
   TRIO / PRINCIPAL CARDS
   ══════════════════════════════════════════════════════════════ */

.trio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 3vw, 3rem);
    align-items: start;
}

.trio-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-white);
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition);
}

.trio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.trio-card.principal {
    box-shadow: var(--shadow-card);
}

.trio-portrait {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.75rem;
    border: 3px solid var(--bg-light);
    filter: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.trio-card:hover .trio-portrait {
    border-color: var(--gold);
    box-shadow: 0 0 0 6px var(--gold-glow);
}

.trio-role {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 600;
    color: var(--gold-dim);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.5rem;
    display: block;
}

.trio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.trio-card p {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   TIMELINE (About Page)
   ══════════════════════════════════════════════════════════════ */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold), var(--gold), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease);
}

.timeline-item.timeline-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 2rem);
    text-align: right;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 2rem);
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--bg-white);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--gold-glow);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--navy);
    font-weight: 400;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════════════
   SERVICE PAGES — Imperial Layout (Bright Edition)
   ══════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb {
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--navy);
}

.breadcrumb-sep {
    margin: 0 0.5rem;
    color: var(--border-light);
}

/* 40-Year Horizon Section */
.horizon-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.horizon-narrative h2 {
    margin-bottom: 1.75rem;
}

.horizon-narrative p {
    font-size: 1.05rem;
    line-height: 1.85;
}

.horizon-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-white);
    border: none;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--navy);
    display: block;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Modern Synergy Section */
.synergy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.synergy-card {
    background: var(--bg-white);
    border: none;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition);
}

.synergy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.synergy-icon {
    font-size: 1.8rem;
    color: var(--amber);
    margin-bottom: 1.25rem;
    display: block;
}

.synergy-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.synergy-card p {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--bg-white);
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    color: var(--amber);
}

.service-item h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.service-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   CTA STRIP — Clean Accent Band
   ══════════════════════════════════════════════════════════════ */

.cta-strip {
    text-align: center;
    padding: var(--section-pad) var(--gutter);
    background: var(--navy);
}

.cta-strip h2 {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 400;
    margin-bottom: 1.25rem;
    color: var(--bg-white);
}

.cta-strip p {
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 3rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--navy);
    background: var(--gold);
    border: 1.5px solid var(--gold);
    border-radius: 8px;
    transition: all var(--transition);
    cursor: pointer;
}

.cta-btn:hover {
    background: var(--bg-white);
    border-color: var(--bg-white);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════════════════════════ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-style: normal;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-glow);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A3A32' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-select option {
    background: var(--bg-white);
    color: var(--text-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.8rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bg-white);
    background: var(--navy);
    border: 1.5px solid var(--navy);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
}

.form-submit:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.form-submit.submitting {
    opacity: 0.6;
    pointer-events: none;
}

.contact-info h3 {
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════════════
   PILLAR OVERVIEW PAGES
   ══════════════════════════════════════════════════════════════ */

.pillar-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pillar-service-card {
    background: var(--bg-white);
    border: none;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.pillar-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.pillar-service-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pillar-service-card .accent-text {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.pillar-service-card p {
    font-size: 1rem;
    flex-grow: 1;
    color: var(--text-secondary);
}

.pillar-service-card .vault-link {
    margin-top: auto;
    padding-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   PHILOSOPHY / MANIFESTO SECTION
   ══════════════════════════════════════════════════════════════ */

.philosophy-section {
    text-align: center;
    background: var(--bg-light);
}

.philosophy-content {
    max-width: 700px;
    margin: 0 auto;
}

.philosophy-content h2 {
    margin-bottom: 2.5rem;
}

.philosophy-content p {
    font-size: 1.15rem;
    line-height: 1.95;
    text-align: center;
    color: var(--text-secondary);
}

.philosophy-signature {
    margin-top: 3rem;
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-dim);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER — Clean & Minimal
   ══════════════════════════════════════════════════════════════ */

.site-footer {
    background: var(--bg-white);
    padding-top: 0;
}

.footer-gold-rule {
    height: 1px;
    background: var(--border-light);
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(3.5rem, 7vw, 5rem) var(--gutter);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--navy);
}

.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
}

.footer-contact p,
.footer-contact a {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-contact a:hover {
    color: var(--navy);
}

.footer-bottom {
    border-top: 1px solid var(--border-softer);
    padding: 1.75rem var(--gutter);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible,
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stagger-item.visible,
.stagger-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.stagger-group .stagger-item:nth-child(1) { transition-delay: 0s; }
.stagger-group .stagger-item:nth-child(2) { transition-delay: 0.12s; }
.stagger-group .stagger-item:nth-child(3) { transition-delay: 0.24s; }
.stagger-group .stagger-item:nth-child(4) { transition-delay: 0.36s; }
.stagger-group .stagger-item:nth-child(5) { transition-delay: 0.48s; }
.stagger-group .stagger-item:nth-child(6) { transition-delay: 0.6s; }
.stagger-group .stagger-item:nth-child(7) { transition-delay: 0.72s; }

/* Parallax (kept for compatibility, subtle on bright) */
.parallax-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* ══════════════════════════════════════════════════════════════
   SPLIT HERO — Editorial Portrait Layout (Home)
   ══════════════════════════════════════════════════════════════ */

.hero.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    text-align: left;
    padding: 0;
    min-height: 100vh;
    align-items: stretch;
    background: var(--bg-white);
}

.hero-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(8rem, 15vh, 12rem) clamp(2rem, 5vw, 5rem) clamp(4rem, 8vh, 8rem);
    max-width: 640px;
    margin-left: auto;
}

.hero.hero-split .hero-subtitle {
    text-align: left;
    margin: 0 0 2.5rem;
    max-width: none;
}

.hero.hero-split .gold-rule {
    margin: 1.75rem 0;
    background: var(--gold);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-portrait {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.hero-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: contrast(1.1) saturate(0.85);
    transition: transform 8s ease;
}

.hero-portrait:hover .hero-portrait-img {
    transform: scale(1.03);
}

.hero-portrait-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--bg-white) 0%, rgba(255,255,255,0.2) 12%, transparent 35%),
        linear-gradient(0deg, rgba(201, 168, 76, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 5%);
    pointer-events: none;
}

/* Film grain texture overlay */
.hero-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   CONCEPT ART BANNER — Cinematic Sub-Page Imagery
   ══════════════════════════════════════════════════════════════ */

.concept-banner {
    position: relative;
    width: 100%;
    height: clamp(280px, 35vw, 480px);
    overflow: hidden;
    background: var(--bg-light);
}

.concept-frame {
    position: relative;
    width: 100%;
    height: 100%;
}

.concept-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
    filter: grayscale(0.5) contrast(1.15) brightness(1.05);
    transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
}

.concept-banner:hover .concept-image {
    transform: scale(1.03);
    filter: grayscale(0.25) contrast(1.1) brightness(1.05);
}

.concept-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            var(--bg-white) 0%,
            rgba(248, 249, 250, 0.15) 15%,
            rgba(248, 249, 250, 0.05) 70%,
            var(--bg-light) 100%
        );
    pointer-events: none;
}

/* Duotone warm tint */
.concept-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.06) 0%, rgba(10, 22, 40, 0.04) 100%);
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   INSIGHTS / ACADEMY SECTION
   ══════════════════════════════════════════════════════════════ */

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.insight-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition);
}

.insight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.insight-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-light);
}

.insight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.insight-card:hover .insight-thumb img {
    transform: scale(1.05);
}

.insight-thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.06), transparent);
    pointer-events: none;
}

.insight-body {
    padding: 2rem;
}

.insight-category {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-dim);
    display: block;
    margin-bottom: 0.75rem;
}

.insight-body h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.insight-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    text-align: left;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet & Mobile
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .vault-grid,
    .trio-grid,
    .synergy-grid,
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero.hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-split-content {
        max-width: none;
        margin-left: 0;
        padding: clamp(8rem, 12vh, 10rem) var(--gutter) 4rem;
        text-align: center;
    }

    .hero.hero-split .hero-subtitle {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-portrait {
        height: 50vh;
        min-height: 400px;
    }

    .horizon-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .concept-banner {
        height: clamp(200px, 30vw, 350px);
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-container {
        height: 72px;
    }

    .vault-grid,
    .trio-grid,
    .synergy-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .horizon-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: 80vh;
        padding-top: 8rem;
    }

    .hero-page {
        min-height: 50vh;
    }

    .hero-portrait {
        height: 40vh;
        min-height: 300px;
    }

    h1 {
        font-size: clamp(2.2rem, 7vw, 3rem);
    }

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .cta-strip {
        padding: clamp(4rem, 8vw, 6rem) var(--gutter);
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 2.5rem;
        padding-right: 0;
        text-align: left;
        flex-direction: row;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-dot {
        left: 0;
    }

    .pillar-services-grid {
        grid-template-columns: 1fr;
    }

    .concept-banner {
        height: clamp(180px, 30vw, 280px);
    }
}

@media (max-width: 480px) {
    .horizon-stats {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        padding: 0.95rem 1.8rem;
        font-size: 0.85rem;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════════ */

@media print {
    .site-header,
    .mobile-nav-overlay,
    .cta-strip,
    .hero-bg,
    .hero-overlay {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    .vault-card,
    .synergy-card,
    .service-item,
    .stat-card,
    .pillar-service-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
