/* gabs.report — experimental type layout */
/* Palette: #111111, #ffffff, #222222, #f97316, #3b82f6, #1a1a1a, #666666 */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #111111;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.report-label {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.65rem;
    font-weight: 400;
    color: #666666;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: labelIn 0.8s ease 0.3s forwards;
}

.cropped-title {
    overflow: hidden;
    max-height: 130px;
    line-height: 1;
}

.cropped-title--lower {
    max-height: 100px;
    margin-top: -10px;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(6rem, 18vw, 14rem);
    line-height: 0.85;
    color: #ffffff;
    text-align: center;
    opacity: 0;
    animation: titleReveal 1s ease 0.5s forwards;
}

.brand-name--accent {
    color: #f97316;
    animation-delay: 0.7s;
}

.hero-subtitle {
    font-size: 0.85rem;
    color: #666666;
    margin-top: 2.5rem;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeUp 0.6s ease 1.2s forwards;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s ease 1.4s forwards;
}

.meta-item {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.6rem;
    color: #666666;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.meta-divider {
    width: 30px;
    height: 1px;
    background: #f97316;
}

/* ===========================
   DATA SECTION
   =========================== */

.data-section {
    max-width: 780px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

.data-row {
    margin-bottom: 3rem;
}

.stat-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: #1a1a1a;
    border-left: 3px solid #f97316;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.stat-card:hover {
    border-color: #3b82f6;
}

.stat-watermark {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 220px;
    color: #222222;
    position: absolute;
    top: -40px;
    right: -15px;
    z-index: 0;
    user-select: none;
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s ease;
}

.stat-card:hover .stat-watermark {
    color: #282828;
}

.stat-body {
    position: relative;
    z-index: 1;
}

.stat-headline {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.4;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.8rem;
    color: #f97316;
    display: inline-block;
    vertical-align: baseline;
    margin-right: 0.25rem;
}

.stat-detail {
    font-size: 0.8rem;
    color: #666666;
    margin-top: 0.4rem;
    line-height: 1.6;
}

.stat-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #f97316, #3b82f6);
    transition: width 1.2s ease;
}

.stat-card:hover .stat-bar {
    width: 100%;
}

/* Pull stat */
.data-pull {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 3rem 0;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
    margin-top: 2rem;
}

.pull-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(4rem, 10vw, 7rem);
    color: #f97316;
    line-height: 0.9;
}

.pull-context {
    font-size: 0.85rem;
    color: #666666;
    line-height: 1.6;
}

/* ===========================
   INSIGHTS SECTION
   =========================== */

.insights-section {
    max-width: 780px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    display: inline-block;
    border-bottom: 2px solid #f97316;
    padding-bottom: 0.4rem;
}

.insight-row {
    margin-bottom: 1.5rem;
}

.insight-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #1a1a1a;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.insight-card:hover {
    border-color: #333333;
}

.insight-card--angled {
    transform: rotate(-2deg);
}

.insight-card--angled:hover {
    transform: rotate(-2deg) translateX(8px);
}

.insight-card--angled-reverse {
    transform: rotate(1.5deg);
}

.insight-card--angled-reverse:hover {
    transform: rotate(1.5deg) translateX(8px);
}

.insight-index {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.65rem;
    color: #f97316;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    padding-top: 0.2rem;
}

.insight-text {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.6;
}

.highlight-blue {
    color: #3b82f6;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
}

.highlight-orange {
    color: #f97316;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
}

/* Breakout insight */
.insight-breakout {
    position: relative;
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: #1a1a1a;
    overflow: hidden;
}

.breakout-watermark {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 120px;
    color: #222222;
    position: absolute;
    top: -15px;
    left: -5px;
    z-index: 0;
    user-select: none;
    line-height: 1;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.breakout-text {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.7;
    max-width: 550px;
    border-left: 3px solid #3b82f6;
    padding-left: 1.5rem;
}

/* ===========================
   SUMMARY SECTION
   =========================== */

.summary-section {
    max-width: 780px;
    margin: 0 auto;
    padding: 5rem 1.5rem 6rem;
    border-top: 1px solid #222222;
}

.summary-inner {
    max-width: 600px;
}

.summary-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.summary-body {
    font-size: 0.85rem;
    color: #999999;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.summary-metrics {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding: 2rem 0;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: #f97316;
}

.metric-label {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.6rem;
    color: #666666;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.end-label {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.65rem;
    color: #666666;
    margin-top: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes labelIn {
    from { opacity: 0; letter-spacing: 0.6em; }
    to { opacity: 1; letter-spacing: 0.3em; }
}

@keyframes titleReveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.visible .insight-card--angled {
    transform: rotate(-2deg);
}

.fade-in.visible .insight-card--angled-reverse {
    transform: rotate(1.5deg);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 600px) {
    .cropped-title {
        max-height: 80px;
    }

    .cropped-title--lower {
        max-height: 65px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-watermark {
        font-size: 140px;
    }

    .pull-number {
        font-size: 3.5rem;
    }

    .data-pull {
        flex-direction: column;
        gap: 0.75rem;
    }

    .summary-metrics {
        gap: 1.5rem;
    }

    .breakout-watermark {
        font-size: 80px;
    }
}
