/* ==========================================
   Gravity Energy Storage Systems Report
   "Industrial Earth / Stone / Amber Gold"
   ========================================== */

:root {
    --primary-color: #78350f;
    --secondary-color: #d97706;
    --accent-color: #92400e;
    --success-color: #065f46;
    --warning-color: #b45309;
    --danger-color: #7f1d1d;
    --info-color: #1e3a5f;
    --teal-color: #0f766e;
    --stone-dark: #0c0a09;
    --stone-deep: #1c1917;
    --stone-mid: #292524;

    --text-main: #1c1917;
    --text-secondary: #44403c;
    --text-muted: #78716c;
    --bg-main: #faf7f5;
    --bg-secondary: #f5f0eb;
    --bg-card: #ffffff;
    --border: #e7e0d8;

    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: 250ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); line-height: 1.75; color: var(--text-main); background: var(--bg-main); }

/* LOADING */
.loading-screen { position: fixed; inset: 0; background: linear-gradient(135deg, #0c0a09 0%, #292524 60%, #78350f 100%); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.7s ease; }
.loading-screen.hidden { opacity: 0; pointer-events: none; }
.loader { text-align: center; }
.loader img { width: 64px; height: 64px; margin-bottom: 1rem; border-radius: 50%; box-shadow: 0 0 40px rgba(120,53,15,0.8); }
.loader .pulse { width: 70px; height: 70px; border-radius: 50%; background: rgba(217,119,6,0.3); animation: pulse 1.5s ease-in-out infinite; margin: 0.5rem auto; }
.loader p { color: #fbbf24; margin-top: 1rem; font-weight: 600; letter-spacing: 1px; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: 0.25; } }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,247,245,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); box-shadow: 0 1px 12px rgba(120,53,15,0.08); }
.header-container { max-width: 1500px; margin: 0 auto; padding: 0.9rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.logo-link { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text-main); font-weight: 800; font-size: 1.1rem; }
.main-nav { display: flex; gap: 1.75rem; }
.nav-link { text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 0.93rem; transition: color var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.reports-link { color: var(--primary-color); font-weight: 700; }
.cta-link { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white !important; padding: 0.4rem 1.1rem; border-radius: 6px; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); z-index: 101; width: 0; transition: width 0.1s linear; }

/* LAYOUT */
.report-container { display: grid; grid-template-columns: 280px 1fr; max-width: 1500px; margin: 0 auto; gap: 3rem; padding: 2rem; align-items: start; }
@media (max-width: 1024px) { .report-container { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* SIDEBAR */
.sidebar { position: sticky; top: 75px; height: fit-content; max-height: calc(100vh - 90px); overflow-y: auto; }
.sidebar-header { padding: 1rem 1.25rem; background: linear-gradient(135deg, var(--stone-dark), var(--primary-color)); border-radius: 10px; margin-bottom: 0.75rem; color: white; }
.sidebar-header h3 { font-size: 0.9rem; font-weight: 700; }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.2rem; }
.sidebar-nav .nav-link { padding: 0.65rem 1rem; border-radius: 7px; font-size: 0.83rem; font-weight: 500; color: var(--text-secondary); }
.sidebar-nav .nav-link:hover { background: var(--bg-secondary); color: var(--primary-color); }
.sidebar-nav .nav-link.active { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; font-weight: 600; }
.metrics-widget { margin-top: 1.5rem; padding: 1.25rem; background: var(--bg-card); border-radius: 10px; border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(120,53,15,0.08); }
.metrics-widget h4 { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.metric-item { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid #f1f5f9; }
.metric-item:last-child { border-bottom: none; }
.metric-label { font-size: 0.78rem; color: var(--text-secondary); }
.metric-value { font-weight: 700; color: var(--primary-color); font-family: var(--font-mono); font-size: 0.85rem; }
.metric-value.negative { color: var(--danger-color); }
.metric-value.warning { color: var(--warning-color); }
.metric-value.positive { color: var(--success-color); }

/* MAIN CONTENT */
.main-content { max-width: 920px; min-width: 0; padding-bottom: 4rem; }

/* HERO */
.hero-section { margin-bottom: 4rem; }
.classification-banner { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 1.2rem; background: linear-gradient(135deg, var(--stone-dark), var(--primary-color)); color: white; border-radius: 6px; margin-bottom: 2rem; font-size: 0.77rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.report-metadata { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.badge { padding: 0.35rem 0.85rem; border-radius: 9999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.sector-badge { background: #fef3c7; color: #78350f; }
.type-badge { background: #e7e5e4; color: #292524; }
.priority-badge { background: #fff7ed; color: #9a3412; }

.hero-title { margin-bottom: 1.5rem; }
.title-main { display: block; font-size: 2.6rem; font-weight: 900; line-height: 1.1; background: linear-gradient(135deg, var(--stone-dark), var(--primary-color), var(--secondary-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-sub { display: block; font-size: 1.25rem; font-weight: 600; color: var(--text-secondary); margin-top: 0.75rem; line-height: 1.45; }

.lead-text { font-size: 1.1rem; line-height: 1.9; color: var(--text-secondary); }

.stats-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin: 2.5rem 0; }
.stat-card { padding: 1.75rem; border-radius: 12px; background: var(--bg-card); border: 2px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(120,53,15,0.15); }
.stat-danger { border-color: #7f1d1d; background: linear-gradient(135deg, rgba(127,29,29,0.06), rgba(239,68,68,0.04)); }
.stat-warning { border-color: var(--warning-color); background: linear-gradient(135deg, rgba(180,83,9,0.08), rgba(251,191,36,0.04)); }
.stat-info { border-color: var(--primary-color); background: linear-gradient(135deg, rgba(120,53,15,0.08), rgba(217,119,6,0.04)); }
.stat-success { border-color: var(--success-color); background: linear-gradient(135deg, rgba(6,95,70,0.08), rgba(52,211,153,0.04)); }
.stat-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.stat-number { font-size: 2.4rem; font-weight: 900; font-family: var(--font-mono); background: linear-gradient(135deg, var(--stone-dark), var(--primary-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.stat-unit { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin: 0.5rem 0 0.35rem; }
.stat-label { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
.sources-banner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.25rem; background: var(--bg-secondary); border-radius: 8px; border: 1px solid var(--border); }
.sources-label { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.source-logos { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.source-tag { font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.65rem; background: white; border: 1px solid var(--border); border-radius: 20px; color: var(--primary-color); }

/* SECTIONS */
.section-main { margin-bottom: 4rem; padding: 2.5rem; background: var(--bg-card); border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 2px 16px rgba(120,53,15,0.06); }
.section-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 2px solid var(--bg-secondary); }
.section-title { font-size: 1.6rem; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 1rem; }
.section-number { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; background: linear-gradient(135deg, var(--stone-dark), var(--primary-color)); color: white; font-size: 1rem; font-weight: 900; flex-shrink: 0; }
.section-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.reading-time { font-size: 0.8rem; color: var(--text-muted); }
.section-priority { font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.75rem; background: #fef3c7; color: #78350f; border-radius: 20px; }
.lead-paragraph { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 1.75rem; line-height: 1.85; border-left: 4px solid var(--primary-color); padding-left: 1.25rem; }
.content-block { margin-bottom: 2rem; }
.content-block h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-main); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.content-block p { margin-bottom: 1rem; color: var(--text-secondary); }

/* FORMULA / PHYSICS BOX */
.physics-box { background: linear-gradient(135deg, var(--stone-dark), var(--stone-deep)); color: #e7e5e4; border-radius: 10px; padding: 1.75rem; margin: 1.5rem 0; border: 1px solid rgba(120,53,15,0.3); }
.physics-box h4 { color: #fbbf24; font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; letter-spacing: 0.5px; }
.formula-line { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.93rem; line-height: 1.7; }
.formula-line:last-of-type { border-bottom: none; }
.formula-result { margin-top: 1rem; padding: 1rem; background: rgba(120,53,15,0.2); border-left: 4px solid #fbbf24; border-radius: 4px; font-weight: 600; font-size: 0.92rem; color: #fde68a; }
.formula-highlight { background: rgba(217,119,6,0.15); padding: 0.2rem 0.5rem; border-radius: 4px; font-family: var(--font-mono); font-weight: 700; color: #fbbf24; }

/* GRAVITY VIZ */
.gravity-viz { background: linear-gradient(135deg, #0c0a09, #1c1917); border-radius: 12px; padding: 2rem; margin: 2rem 0; position: relative; overflow: hidden; border: 1px solid rgba(120,53,15,0.3); }
.gravity-viz h4 { color: #fbbf24; font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; }
.shaft-diagram { display: flex; gap: 3rem; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.shaft-column { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.shaft-label { color: #d6d3d1; font-size: 0.78rem; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; }
.shaft-body { width: 60px; background: rgba(120,53,15,0.2); border: 2px solid rgba(120,53,15,0.5); border-radius: 4px; position: relative; display: flex; flex-direction: column; align-items: center; }
.shaft-mass { width: 52px; background: linear-gradient(180deg, #92400e, #78350f); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 800; color: #fbbf24; letter-spacing: 0.5px; transition: all 1.5s ease-in-out; position: relative; }
.shaft-depth-label { color: #a8a29e; font-size: 0.72rem; margin-top: 0.35rem; font-family: var(--font-mono); }
.shaft-power-label { color: #34d399; font-size: 0.78rem; font-weight: 700; margin-top: 0.35rem; }
.shaft-space { flex: 1; background: repeating-linear-gradient(180deg, transparent 0px, transparent 8px, rgba(120,53,15,0.15) 8px, rgba(120,53,15,0.15) 9px); }

/* WARNING / SUCCESS BLOCKS */
.warning-block { background: #fffbeb; border: 1px solid #fde68a; border-left: 4px solid var(--warning-color); border-radius: 8px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.danger-block { background: #fef2f2; border: 1px solid #fecaca; border-left: 4px solid #991b1b; border-radius: 8px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.success-block { background: #f0fdf4; border: 1px solid #bbf7d0; border-left: 4px solid #059669; border-radius: 8px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.highlight-block { background: linear-gradient(135deg, #fff7ed, #fef3c7); border: 1px solid #fed7aa; border-left: 4px solid var(--secondary-color); border-radius: 8px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }

/* EXECUTIVE SUMMARY BOX */
.olympus-box { background: linear-gradient(135deg, var(--stone-dark) 0%, #292524 100%); color: #e7e5e4; border-radius: 14px; padding: 2.5rem; margin-bottom: 3rem; border: 1px solid rgba(120,53,15,0.4); box-shadow: 0 8px 32px rgba(120,53,15,0.2); }
.ai-summary-box { background: rgba(120,53,15,0.15); border: 1px solid rgba(120,53,15,0.3); border-radius: 10px; padding: 1.75rem; margin-bottom: 1.5rem; }
.ai-summary-box h3 { color: #fbbf24; font-size: 1.1rem; margin-bottom: 1rem; }
.ai-summary-box p { color: #d6d3d1; line-height: 1.85; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 0.6rem 0; padding-left: 1.75rem; position: relative; font-size: 0.93rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: #fbbf24; font-weight: 700; }

/* TABLES */
.table-wrapper { overflow-x: auto; margin: 1.5rem 0; border-radius: 10px; border: 1px solid var(--border); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table thead { background: linear-gradient(135deg, var(--stone-dark), var(--primary-color)); color: white; }
.data-table th { padding: 1rem; text-align: left; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.data-table td { padding: 0.9rem 1rem; border-bottom: 1px solid #f1f5f9; vertical-align: top; color: var(--text-secondary); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-secondary); }
.cell-green { color: #059669; font-weight: 700; }
.cell-red { color: #b91c1c; font-weight: 700; }
.cell-amber { color: #d97706; font-weight: 700; }
.cell-blue { color: #1e40af; font-weight: 700; }
.cell-stone { color: var(--primary-color); font-weight: 700; }

/* CHARTS */
.chart-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; margin: 2rem 0; box-shadow: 0 2px 12px rgba(120,53,15,0.06); }
.chart-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.35rem; flex-wrap: wrap; }
.chart-icon { font-size: 1.5rem; }
.chart-header h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-main); }
.chart-subtitle { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.chart-body canvas { max-width: 100%; }
.chart-footer { font-size: 0.77rem; color: var(--text-muted); margin-top: 1rem; border-top: 1px solid #f1f5f9; padding-top: 0.75rem; }

/* TIMELINE */
.timeline { position: relative; padding-left: 2.5rem; margin-top: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #78350f 0%, #d97706 50%, #065f46 100%); border-radius: 4px; }
.timeline-item { position: relative; margin-bottom: 2.5rem; background: #ffffff; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; box-shadow: 0 4px 12px rgba(120,53,15,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.timeline-item:hover { transform: translateX(5px); box-shadow: 0 8px 24px rgba(120,53,15,0.1); border-color: #fbbf24; }
.timeline-item::before { content: ''; position: absolute; left: -3rem; top: 1.5rem; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-color); border: 4px solid var(--bg-main); box-shadow: 0 0 0 2px var(--primary-color); z-index: 2; transition: all 0.3s; }
.timeline-item.success-item::before { background: #065f46; box-shadow: 0 0 0 2px #065f46; }
.timeline-date { display: inline-block; padding: 0.3rem 0.8rem; background: #fef3c7; color: #78350f; border-radius: 20px; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.timeline-item.success-item .timeline-date { background: #d1fae5; color: #065f46; }
.timeline-content h4 { font-size: 1.15rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.75rem; }
.timeline-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* PLAYER CARDS */
.winner-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.winner-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; border-top: 3px solid var(--primary-color); box-shadow: 0 2px 8px rgba(120,53,15,0.06); transition: transform var(--transition), box-shadow var(--transition); }
.winner-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(120,53,15,0.12); }
.winner-card h4 { font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; }
.winner-sector { font-size: 0.75rem; font-weight: 700; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.75rem; }
.winner-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1rem; }
.winner-ticker { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; background: #fef3c7; color: #78350f; border-radius: 4px; margin: 0.2rem; font-family: var(--font-mono); }

/* SPONSORSHIP */
.sponsorship-banner { background: linear-gradient(135deg, var(--stone-dark), var(--stone-deep)); border-radius: 14px; margin-bottom: 3rem; overflow: hidden; }
.sp-bar { height: 4px; background: linear-gradient(90deg, #78350f, #d97706, #f59e0b); }
.sp-body { display: flex; align-items: center; gap: 2rem; padding: 1.75rem 2rem; flex-wrap: wrap; }
.sp-text-col { flex: 1; min-width: 220px; }
.sp-label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: #d97706; margin-bottom: 0.35rem; }
.sp-hl { font-size: 1.2rem; font-weight: 800; color: white; margin-bottom: 0.5rem; }
.sp-copy { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.sp-rule { width: 1px; height: 80px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.sp-cta-wrap { text-align: center; min-width: 140px; }
.sp-icon-top { color: #d97706; font-size: 1.5rem; margin-bottom: 0.75rem; }
.sp-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; background: linear-gradient(135deg, #d97706, #f59e0b); color: var(--stone-dark); font-weight: 800; font-size: 0.88rem; border-radius: 8px; text-decoration: none; transition: all var(--transition); }
.sp-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(217,119,6,0.4); }
.sp-footnote { font-size: 0.72rem; color: rgba(255,255,255,0.35); margin-top: 0.5rem; }

/* BAR CHART */
.waste-viz { background: var(--bg-secondary); border-radius: 10px; padding: 1.5rem; margin: 1.5rem 0; }
.waste-viz h4 { font-size: 0.9rem; font-weight: 700; color: var(--text-main); margin-bottom: 1.25rem; }
.waste-bar-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.85rem; }
.waste-bar-label { width: 210px; font-size: 0.8rem; color: var(--text-secondary); text-align: right; flex-shrink: 0; }
.waste-bar-track { flex: 1; background: #e7e5e4; border-radius: 6px; height: 28px; overflow: hidden; }
.waste-bar-fill { height: 100%; border-radius: 6px; display: flex; align-items: center; justify-content: flex-end; padding-right: 0.75rem; font-size: 0.78rem; font-weight: 700; color: white; transition: width 1.2s ease; }
.bar-gess { background: linear-gradient(90deg, #78350f, #d97706); }
.bar-liion { background: linear-gradient(90deg, #1e40af, #60a5fa); }
.bar-phs { background: linear-gradient(90deg, #065f46, #34d399); }
.bar-flywh { background: linear-gradient(90deg, #581c87, #c084fc); }
.bar-caes { background: linear-gradient(90deg, #134e4a, #5eead4); }
.waste-bar-value { width: 80px; font-size: 0.82rem; font-weight: 700; color: var(--primary-color); font-family: var(--font-mono); }

/* CALCULATOR */
.calculator-section { background: linear-gradient(135deg, rgba(120,53,15,0.04), rgba(217,119,6,0.08)); border: 1px solid rgba(120,53,15,0.2); border-radius: 12px; padding: 2rem; margin-top: 2rem; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem; margin-bottom: 1.75rem; }
.calc-label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); margin-bottom: 0.5rem; }
.calc-input, .calc-select { width: 100%; padding: 0.8rem; border: 1px solid var(--border); border-radius: 8px; background: white; color: var(--text-main); font-family: var(--font-mono); font-size: 1rem; transition: border-color var(--transition); }
.calc-input:focus, .calc-select:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 0 3px rgba(217,119,6,0.1); }
.calc-result { background: linear-gradient(135deg, var(--stone-dark), var(--stone-deep)); border-radius: 10px; padding: 1.5rem; color: white; }
.calc-result-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: #fbbf24; margin-bottom: 0.35rem; font-weight: 700; }
.calc-result-value { font-size: 2.6rem; font-weight: 900; font-family: var(--font-mono); color: #fde68a; }
.calc-result-sub { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 0.4rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 1.25rem 1.5rem; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--text-main); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-icon { color: var(--primary-color); font-size: 1.25rem; flex-shrink: 0; transition: transform var(--transition); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 1000px; padding: 0 1.5rem 1.25rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.75; }

/* DATA SOURCES */
.data-sources-section ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.data-sources-section li { font-size: 0.85rem; color: var(--text-secondary); padding-left: 1.25rem; position: relative; }
.data-sources-section li::before { content: '→'; position: absolute; left: 0; color: var(--primary-color); font-weight: 700; }
.data-sources-section a { color: var(--primary-color); text-decoration: none; }
.data-sources-section a:hover { text-decoration: underline; }

/* RELATED */
.related-reports { max-width: 1500px; margin: 0 auto; padding: 3rem 2rem; }
.related-reports h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 2rem; color: var(--text-main); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.related-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; text-decoration: none; color: inherit; transition: all var(--transition); display: block; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(120,53,15,0.1); border-color: var(--secondary-color); }
.related-card-badge { font-size: 0.7rem; font-weight: 700; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.related-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; line-height: 1.4; }
.related-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* FOOTER */
.report-footer { background: var(--stone-dark); color: rgba(255,255,255,0.6); padding: 2.5rem 2rem; }
.footer-content { max-width: 1500px; margin: 0 auto; text-align: center; font-size: 0.88rem; }
.footer-content a { color: #fbbf24; }

/* DISCLAIMER */
.disclaimer-section { background: linear-gradient(135deg, rgba(120,53,15,0.04), rgba(217,119,6,0.06)); border: 1px solid rgba(120,53,15,0.2); border-radius: 10px; padding: 1.5rem; margin: 1.5rem 0; }
.disclaimer-section h4 { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--warning-color); margin-bottom: 0.75rem; }
.disclaimer-section p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; }

/* VERTICAL COMPARISON VIZ */
.vert-compare { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
@media (max-width: 768px) { .vert-compare { grid-template-columns: 1fr; } }
.vert-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; text-align: center; }
.vert-card.active { border-color: var(--secondary-color); background: linear-gradient(135deg, rgba(217,119,6,0.04), rgba(251,191,36,0.02)); }
.vert-card h5 { font-size: 0.9rem; font-weight: 800; color: var(--text-main); margin-bottom: 1rem; }
.vert-shaft { margin: 0 auto 1rem; width: 40px; border-left: 3px solid #78716c; border-right: 3px solid #78716c; position: relative; display: flex; flex-direction: column; align-items: center; }
.vert-block { width: 36px; border-radius: 3px; font-size: 0.6rem; font-weight: 800; display: flex; align-items: center; justify-content: center; color: white; }
.vert-metric { font-size: 1.4rem; font-weight: 900; font-family: var(--font-mono); color: var(--primary-color); }
.vert-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ANIMATION */
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.5); opacity: 0; } }
@keyframes fall { 0% { transform: translateY(0); } 100% { transform: translateY(calc(var(--shaft-height) - var(--block-height))); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* MOBILE */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .main-nav.open { display: flex; flex-direction: column; position: fixed; top: 62px; left: 0; right: 0; background: rgba(250,247,245,0.99); border-bottom: 1px solid var(--border); padding: 1rem 2rem; gap: 0.75rem; z-index: 99; }
    .header-container { padding: 0.9rem 1.25rem; }
    .report-container { padding: 1rem; gap: 1.5rem; }
    .section-main { padding: 1.5rem; }
    .hero-section { margin-bottom: 2.5rem; }
    .title-main { font-size: 1.9rem; }
    .title-sub { font-size: 1rem; }
    .stats-dashboard { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .section-header { flex-direction: column; gap: 0.5rem; }
    .section-meta { align-items: flex-start; }
    .waste-bar-label { width: 130px; }
    .calc-grid { grid-template-columns: 1fr 1fr; }
}
