:root {
    --brand-orange: #EA580C;
    --brand-orange-light: #FB923C;
    --text-coal: #0C0C0C;
    --text-dim: #737373;
    --bg-off-white: #FCFCFB;
    --bg-warm: #F7F6F3;
    --border-soft: #E5E5E5;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    background-color: var(--bg-off-white);
    color: var(--text-coal);
    overflow-x: hidden;
}

.heading-font {
    font-family: 'General Sans', sans-serif;
    font-weight: 600;
}

/* ═══ Industrial Texture Background ═══ */
.industrial-texture {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Cpath d='M20 0v40M0 20h40' stroke='%23000' stroke-width='0.3' opacity='0.03'/%3E%3C/svg%3E");
}

/* ═══ Oversized Type Section ═══ */
.mega-type {
    font-family: 'General Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(4rem, 10vw, 10rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
}

/* ═══ Stacked Module Sections ═══ */
.module {
    border-top: 1px solid var(--border-soft);
    position: relative;
}

.module::before {
    content: attr(data-module);
    position: absolute;
    top: 1.5rem; left: 2rem;
    font-family: 'General Sans', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-orange);
}

/* ═══ Monolith Service Blocks ═══ */
.monolith-block {
    background: white;
    border: 1px solid var(--border-soft);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.monolith-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.monolith-block::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--brand-orange);
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.monolith-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.07);
}

.monolith-block:hover::before {
    opacity: 1;
}

.monolith-block:hover::after {
    width: 100%;
}

/* ═══ Horizontal Scroll Stats ═══ */
.stat-ticker {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.stat-ticker .stat-item {
    flex: 1;
    padding: 3rem 2.5rem;
    border-right: 1px solid var(--border-soft);
    text-align: center;
    transition: background 0.3s ease;
}

.stat-ticker .stat-item:last-child {
    border-right: none;
}

.stat-ticker .stat-item:hover {
    background: var(--bg-warm);
}

/* ═══ Timeline Track ═══ */
.timeline-track {
    position: relative;
    padding-left: 4rem;
}

.timeline-track::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-orange), var(--border-soft));
}

.timeline-node {
    position: relative;
    padding: 2rem 0;
}

.timeline-node::before {
    content: '';
    position: absolute;
    left: -3.3rem;
    top: 2.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand-orange);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
}

/* ═══ Entrance Animations ═══ */
.emerge {
    opacity: 0;
    transform: translateY(60px);
    animation: emergeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.emerge-left {
    opacity: 0;
    transform: translateX(-60px);
    animation: emergeLeft 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes emergeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes emergeLeft {
    to { opacity: 1; transform: translateX(0); }
}

.wait-1 { animation-delay: 0.12s; }
.wait-2 { animation-delay: 0.24s; }
.wait-3 { animation-delay: 0.36s; }
.wait-4 { animation-delay: 0.48s; }
.wait-5 { animation-delay: 0.6s; }
.wait-6 { animation-delay: 0.72s; }

/* ═══ Buttons ═══ */
.btn-fill {
    background: var(--brand-orange);
    color: white;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.btn-fill:hover {
    background: #C2410C;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px rgba(234, 88, 12, 0.3);
}

.btn-wire {
    border: 2px solid var(--text-coal);
    color: var(--text-coal);
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-wire:hover {
    background: var(--text-coal);
    color: white;
}

/* ═══ Wide Marquee ═══ */
.marquee-wrap {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marqueeSlide 30s linear infinite;
}

@keyframes marqueeSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ═══ Footer ═══ */
.footer-coal {
    background: var(--text-coal);
    color: #A3A3A3;
}

/* ═══ Misc ═══ */
::selection {
    background: var(--brand-orange);
    color: white;
}

.text-gradient {
    background: linear-gradient(to right, var(--brand-orange), var(--brand-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Diagonal cut decoration */
.diagonal-cut {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
