/*
 * DESIGN PHILOSOPHY: Industrial Brutalism with Warm Earth Tones
 * Color: Deep charcoal (#1C1A17), Amber gold (#D4840A), Dusty terracotta (#8B4513), Off-white (#F0EDE8)
 */

:root {
    --primary: #D4840A;
    --background: #F0EDE8;
    --foreground: #1C1A17;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
}

/* Industrial design utilities */
.amber-rule {
    height: 3px;
    background: var(--primary);
    display: block;
}

.section-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(6rem, 15vw, 14rem);
    font-weight: 900;
    line-height: 1;
    color: rgba(28, 26, 23, 0.06);
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.02em;
    z-index: 0;
}

/* For dark sections, make section number light */
section.bg-\[#1C1A17\] .section-number {
    color: rgba(240, 237, 232, 0.06);
}

.industrial-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 0;
    padding: 0.75rem 2rem;
    transition: all 0.2s ease;
    display: inline-block;
    cursor: pointer;
}

.industrial-btn-primary {
    background: var(--primary);
    color: #120141; /* From oklch(0.12 0.01 65) roughly */
    border: 2px solid var(--primary);
}

.industrial-btn-primary:hover {
    background: #B87308;
    border-color: #B87308;
}

.industrial-btn-outline {
    background: transparent;
    color: var(--background);
    border: 2px solid var(--background);
}

.industrial-btn-outline:hover {
    background: var(--background);
    color: var(--foreground);
}

/* Noise texture overlay */
.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.04;
    z-index: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--foreground);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
}

::-webkit-scrollbar-thumb:hover {
    background: #B87308;
}

/* Navbar active state */
nav.scrolled {
    background-color: rgba(28, 26, 23, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Scroll animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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