:root {
    --bg-primary: #060810;
    --bg-secondary: #0B0F1E;
    --bg-card: #111827;
    --bg-elevated: #1A2235;
    --accent-gold: #C9A84C;
    --accent-gold-light: #E8C96A;
    --accent-gold-dim: #8B7235;
    --text-primary: #F4F1EC;
    --text-secondary: #9AA0A6;
    --text-muted: #6B7280;
    --border: rgba(201, 168, 76, 0.18);
    --success: #4ADE80;
    --loss: #F87171;
    --font-display: 'Cormorant Garamond', serif;
    --font-ui: 'Syne', sans-serif;
    --font-mono: 'DM Mono', monospace;
    --section-pad: 120px 0;
    --container: 1240px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* BASE RESETS & SCROLLBAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}
html {
    scroll-behavior: smooth;
    background: var(--bg-primary);
}
body { 
    font-family: var(--font-mono); 
    background: var(--bg-primary); 
    color: var(--text-primary); 
    line-height: 1.8;
    font-size: 14px;
    overflow-x: hidden;
}
body.menu-open {
    overflow: hidden;
}
::-webkit-scrollbar {
    width: 3px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 300;
    color: var(--text-primary);
}
h1 {
    font-size: clamp(52px, 7vw, 92px);
    line-height: 1.03;
}
h2 {
    font-size: clamp(36px, 5vw, 56px);
}
p {
    color: var(--text-secondary);
}
.italic {
    font-style: italic;
    color: var(--accent-gold-light);
}
.tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.tag::before {
    content: "———";
    margin-right: 12px;
    opacity: 0.6;
}

/* LAYOUT CONTAINER SYSTEM */
.container {
    max-width: min(90vw, 1720px);
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 64px);
}
section {
    padding: var(--section-pad);
    position: relative;
    border-bottom: 1px solid var(--border);
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

/* CARD SYSTEM */
.card { 
    background: var(--bg-card); 
    padding: 40px; 
    border: 1px solid var(--border); 
    border-top: 3px solid var(--accent-gold); 
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.45);
}
.card-no-gold {
    border-top: 1px solid var(--border);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    font-family: var(--font-ui);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
    border: none;
}
.btn-gold {
    background: var(--accent-gold);
    color: #000;
}
.btn-gold:hover {
    background: var(--accent-gold-light);
}
.btn-outline {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}
.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: transparent;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 168, 76, 0.18);
}

/* GLOBAL ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    animation: pulse 2s infinite;
}
.pulse-dot.live {
    background: var(--success);
}

/* GPU Optimization Hints */
.card, .btn, .fade-up, .hero-footer, .nav-links a {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* NAVIGATION (DESKTOP) */
nav { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.4s;
    border-bottom: 1px solid transparent;
    padding: 25px 0;
}
nav.scrolled { 
    backdrop-filter: blur(28px);
    background: rgba(6, 8, 16, 0.82);
    border-bottom: 1px solid var(--border); 
    padding: 15px 0;
}
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}
.logo-mark {
    width: 38px;
    height: 38px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-family: var(--font-display);
    font-size: 14px;
}
.logo-text {
    font-family: var(--font-ui);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    color: var(--text-primary);
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 10px;
    font-family: var(--font-ui);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    position: relative;
}
.nav-links a:hover {
    color: var(--accent-gold);
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.35s ease;
}
.nav-links a:hover::after {
    width: 100%;
}

/* MOBILE NAV HAMBURGER & DRAWER */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2001;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    will-change: transform, opacity;
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent-gold);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent-gold);
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 400px);
    height: 100vh;
    background: rgba(6, 8, 16, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    border-left: 1px solid var(--border);
    padding: 100px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: right;
}
.nav-drawer.active {
    right: 0;
}
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    z-index: 1999;
    transition: opacity 0.4s ease;
}
.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.drawer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 16px;
    font-family: var(--font-ui);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: 0.3s;
    border-bottom: 1px solid rgba(201, 168, 76, 0.05);
    padding-bottom: 12px;
}
.drawer-links a:hover, .drawer-links a.active {
    color: var(--accent-gold);
    padding-left: 10px;
    border-color: var(--accent-gold);
}
.drawer-footer {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    font-size: 11px;
    color: var(--text-muted);
}

/* COMPONENT: TIMELINE (ABOUT & INDEX) */
.timeline-item {
    position: relative;
    padding-left: 30px;
    border-left: 1px solid var(--border);
    padding-bottom: 40px;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 0;
    width: 9px;
    height: 9px;
    background: var(--accent-gold);
}
.timeline-year {
    font-family: var(--font-ui);
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 5px;
    font-size: 12px;
}

/* COMPONENT: FLOW CONTAINER (INDEX) */
.flow-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 60px 0;
}
.flow-container::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border);
    z-index: 0;
}
.flow-step {
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
    padding: 0 15px;
    text-align: center;
}
.flow-circle {
    width: 50px;
    height: 50px;
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: var(--bg-card);
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--accent-gold);
}

/* COMPONENT: METRICS BOX */
.metric-box {
    border: 1px solid var(--border);
    padding: 25px;
    text-align: center;
}
.metric-num {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 10px;
}

/* COMPONENT: DATA TABLES */
.log-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.log-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-ui);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
}
.log-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 12px;
}
.res-win { color: var(--success); }
.res-loss { color: var(--loss); }
.res-active { color: var(--accent-gold); }

/* COMPONENT: RISK PROGRESS BARS */
.risk-bar-container {
    margin-bottom: 25px;
}
.risk-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.risk-bar-bg {
    height: 4px;
    background: var(--bg-secondary);
    width: 100%;
}
.risk-bar-fill {
    height: 100%;
    background: var(--accent-gold);
    width: 0;
    transition: 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* COMPONENT: FORMS & INPUTS */
.form-status {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 30px;
}
.form-input {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 15px;
    color: #fff;
    font-family: var(--font-mono);
    margin-bottom: 20px;
    outline: none;
    transition: 0.3s;
}
.form-input:focus {
    border-color: var(--accent-gold);
}
.form-warning {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid var(--loss);
    padding: 20px;
    margin-bottom: 25px;
    font-size: 12px;
}

/* COMPONENT: TESTIMONIALS */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.45);
}
.testimonial-name {
    font-family: var(--font-ui);
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 15px;
}
.testimonial-section {
    margin-bottom: 20px;
}
.testimonial-section-title {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.testimonial-section-content {
    font-size: 13px;
    color: var(--text-secondary);
}
.testimonial-quote {
    font-style: italic;
    color: var(--accent-gold-light);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* COMPONENT: LATEST UPDATE CARD */
.latest-update-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.latest-update-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.45);
}
.latest-update-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 12px;
}
.latest-update-month {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.latest-update-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* COMPONENT: MONTH SELECTION CHIPS */
.archive-section {
    margin-bottom: 40px;
}
.archive-year {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 20px;
}
.month-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.month-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}
.month-chip:hover {
    background: var(--bg-elevated);
    border-color: rgba(201, 168, 76, 0.35);
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(201, 168, 76, 0.08);
}
.month-chip.active {
    background: rgba(201, 168, 76, 0.12);
    border-color: rgba(201, 168, 76, 0.45);
    color: var(--accent-gold);
    box-shadow: 0 18px 40px rgba(201, 168, 76, 0.12);
}

/* COMPONENT: SYSTEM MODALS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 48px;
    max-width: 920px;
    width: min(92vw, 920px);
    max-height: 86vh;
    overflow-y: auto;
    position: relative;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}
.modal-close:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* MARKET LETTER DETAILS */
.market-letter-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.market-letter-header h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin: 0;
    line-height: 1.2;
}
.header-pre {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--accent-gold);
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.market-letter-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}
.market-letter-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .market-letter-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .market-letter-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.metric-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 20px;
    text-align: center;
}
.metric-card-label {
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.metric-card-value {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    color: var(--accent-gold);
}
.metric-card-value.loss {
    color: var(--loss);
}
.metric-card-value.market-type {
    color: var(--text-primary);
    font-size: 15px;
}

.market-letter-section {
    margin-bottom: 42px;
}
.market-letter-section-title {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.market-letter-section-content {
    font-family: var(--font-ui);
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}
.market-letter-section-content ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
.market-letter-section-content li {
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}
.market-letter-section-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}
.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
.modal-content::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
}

/* COMPONENT: FOOTERS */
footer {
    padding: 80px 0;
    background: #04050a;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
}
.compliance-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 60px;
}
.compliance-text {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 2;
}

/* COMPONENT: PAGE-HERO LAYOUTS */
.page-hero { 
    min-height: 60vh;
    display: flex;
    align-items: center;
    margin-top: 100px;
    background: radial-gradient(circle at center, rgba(201,168,76,0.07) 0%, transparent 70%);
}
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.04;
    pointer-events: none;
}

/* COMPONENT: ACCORDION (FAQ) */
details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent-gold);
    margin-bottom: 24px;
    padding: 24px clamp(16px, 3vw, 32px);
    transition: all 0.35s ease;
}
details[open] {
    border-color: rgba(201, 168, 76, 0.45);
    box-shadow: 0 20px 40px rgba(201, 168, 76, 0.08);
}
summary {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    user-select: none;
}
summary::-webkit-details-marker { display: none; }
.accordion-icon {
    color: var(--accent-gold);
    font-family: var(--font-mono);
    font-weight: 300;
    font-size: 20px;
    transition: transform 0.35s ease;
}
details[open] summary .accordion-icon {
    transform: rotate(45deg);
}
.accordion-content {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.accordion-content p {
    margin-bottom: 12px;
}
.accordion-content p:last-child {
    margin-bottom: 0;
}
.category-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    color: var(--text-primary);
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* RESPONSIVE LAYOUT MEDIA QUERIES */
@media (max-width: 900px) {
    /* Hide desktop nav links & show hamburger menu toggle */
    .nav-links, nav .btn-gold {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    
    /* Layout reflows */
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    section {
        padding: 70px 24px;
    }
    .container {
        padding: 0 20px;
    }
    h1 {
        font-size: 42px;
    }
    .page-hero {
        margin-top: 80px;
        min-height: auto;
        padding: 40px 0;
    }
    
    /* Letter updates reflow */
    .latest-update-card {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .month-chips {
        gap: 10px;
    }
    .month-chip {
        padding: 8px 16px;
        font-size: 10px;
    }
    
    /* Modals */
    .market-letter-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .modal-content {
        padding: 30px;
        max-height: 90vh;
    }
    .modal-close {
        top: 20px;
        right: 20px;
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
    .market-letter-header {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .metric-card-value {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .market-letter-metrics {
        grid-template-columns: 1fr;
    }
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    .month-chip {
        padding: 8px 14px;
        font-size: 9px;
    }
    .latest-update-month {
        font-size: 24px;
    }
}

/* ==========================================================================
   VSC PREMIUM REDESIGN SYSTEMS
   ========================================================================== */

/* Three.js Canvas Container */
#hero-canvas-container {
    width: 100%;
    height: 100%;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(201,168,76,0.03) 0%, transparent 80%);
}
#hero-canvas-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    outline: none;
}

/* Unified SVG Icon styling */
.icon-svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--accent-gold);
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition);
}
.card:hover .icon-svg, .visual-card:hover .icon-svg, .framework-card:hover .icon-svg {
    transform: scale(1.1);
    stroke: var(--accent-gold-light);
    filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.3));
}

/* Premium Dashboard Strip */
.dashboard-strip {
    background: #080b15;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
    position: relative;
    z-index: 10;
    margin-top: -1px;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.dashboard-card {
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid rgba(201, 168, 76, 0.08);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}
.dashboard-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 12px 30px rgba(201, 168, 76, 0.06);
    transform: translateY(-2px);
}
.dashboard-label {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.dashboard-val {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--accent-gold);
    font-weight: 300;
}

/* Visual Stories Card Grid */
.visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}
.visual-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.visual-card:hover::after {
    transform: scaleX(1);
}
.visual-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Execution Framework Rebuild */
.framework-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
    position: relative;
}
.framework-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 35px 30px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}
.framework-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.35);
}
.framework-card-num {
    font-family: var(--font-display);
    font-size: 44px;
    color: rgba(201, 168, 76, 0.15);
    position: absolute;
    top: 20px;
    right: 25px;
    line-height: 1;
}
.framework-connector-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold) 20%, var(--accent-gold) 80%, transparent);
    z-index: 1;
    opacity: 0.15;
}

/* Founder Editorial Profile Section */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.founder-img-box {
    position: relative;
    border: 1px solid var(--border);
    padding: 15px;
    background: var(--bg-secondary);
}
.founder-img-box::before, .founder-img-box::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: var(--accent-gold);
    border-style: solid;
}
.founder-img-box::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}
.founder-img-box::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}
.founder-img-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #070a13 0%, #151c2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.1);
    position: relative;
    overflow: hidden;
}
.founder-img-placeholder::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.03), transparent);
    transform: rotate(30deg);
    animation: shimmer 6s infinite linear;
}
@keyframes shimmer {
    0% { transform: translate(-30%, -30%) rotate(30deg); }
    100% { transform: translate(30%, 30%) rotate(30deg); }
}
.founder-img-signature {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--accent-gold);
    margin-top: 15px;
    font-style: italic;
    letter-spacing: 1px;
}

/* Market Environment Section */
.market-env-card {
    background: radial-gradient(circle at top right, rgba(201, 168, 76, 0.05), transparent 70%), var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent-gold);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    position: relative;
}
.market-env-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.market-env-val {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}
.market-env-val.bullish { color: var(--success); }
.market-env-val.defensive { color: var(--loss); }
.market-env-val.neutral { color: var(--accent-gold); }

/* Client Testimonials Splitting */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    color: var(--accent-gold);
    font-size: 16px;
    font-weight: 500;
}
.testimonial-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.testimonial-panel {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.testimonial-panel-title {
    font-family: var(--font-mono);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}
.testimonial-panel-title.before { color: rgba(248, 113, 113, 0.7); }
.testimonial-panel-title.after { color: rgba(74, 222, 128, 0.7); }
.testimonial-panel-content {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Premium Market Letters Snapshots */
.market-letter-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}
.market-letter-card:hover {
    border-color: rgba(201, 168, 76, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.market-letter-cover {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #090e1a 0%, #15223c 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.market-letter-cover::after {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.15;
    transform: rotate(15deg);
}
.market-letter-cover-svg {
    position: absolute;
    width: 80%;
    height: 80%;
    opacity: 0.2;
}
.market-letter-info {
    padding: 30px;
}

/* Premium Publication Blog Cards */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.blog-cover {
    height: 200px;
    background: linear-gradient(135deg, #090d18 0%, #171f34 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-cover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(201,168,76,0.04) 0%, transparent 70%);
}
.blog-cover-svg {
    width: 80%;
    height: 80%;
    opacity: 0.25;
    position: absolute;
}
.blog-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 15px;
}
.blog-cat {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Investor Learning Journey Timeline (Offerings) */
.learning-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
    position: relative;
}
.learning-timeline::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 5px;
    width: 1px;
    height: calc(100% - 10px);
    background: var(--border);
}
.learning-timeline-node {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
}
.learning-timeline-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--accent-gold);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(6, 8, 16, 0.9);
}
.learning-timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px 40px;
    flex-grow: 1;
    transition: var(--transition);
}
.learning-timeline-node:hover .learning-timeline-content {
    border-color: rgba(201, 168, 76, 0.35);
    transform: translateX(4px);
}

/* Media Query Overrides */
@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .market-env-card {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }
    .framework-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .framework-connector-line {
        display: none;
    }
    .learning-timeline-content {
        padding: 24px 20px;
    }
}

@media (max-width: 600px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .market-env-card {
        grid-template-columns: 1fr;
    }
    .testimonial-split {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        transition-duration: 0.2s !important;
    }
    .card, .btn, details, .nav-links a::after, .menu-toggle span, .nav-drawer,
    .visual-card, .framework-card, .market-letter-card, .blog-card, .learning-timeline-content {
        transition-duration: 0.2s !important;
    }
}

/* COMPONENT: FORM & INPUTS (ENQUIRE) */
.form-warning {
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid var(--border);
    padding: 16px 20px;
    margin-bottom: 30px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent-gold);
}
.form-warning strong {
    color: var(--text-primary);
    text-transform: uppercase;
    font-family: var(--font-ui);
    letter-spacing: 1px;
}
.form-input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 16px 20px;
    margin-bottom: 20px;
    outline: none;
    transition: var(--transition);
}
.form-input::placeholder {
    color: var(--text-muted);
}
.form-input:focus {
    border-color: var(--accent-gold);
    background: var(--bg-elevated);
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.1);
}
select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23C9A84C' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 45px;
    cursor: pointer;
}
select.form-input option {
    background: var(--bg-card);
    color: var(--text-primary);
}
