/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Fallback: always visible if JS disabled or reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal { opacity: 1; transform: none; }
}

/* ── Gold Accent Line ── */
.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f45c30, #eab308);
    border-radius: 2px;
}

/* ── Hero ── */
.hero-gradient {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 30%, #2a1510 60%, #1a1a1a 80%, #0f0f0f 100%);
}
.hero-scrim {
    background: linear-gradient(
        to bottom,
        rgba(8,8,8,0.55) 0%,
        rgba(8,8,8,0.35) 40%,
        rgba(8,8,8,0.45) 70%,
        rgba(8,8,8,0.85) 100%
    );
}
.hero-img {
    will-change: transform;
}
.hero-title {
    text-shadow: 0 2px 40px rgba(0,0,0,0.6);
}
.hero-subtitle {
    text-shadow: 0 1px 20px rgba(0,0,0,0.5);
}
.hero-badge {
    box-shadow: 0 4px 24px rgba(244,92,48,0.15);
}

/* Hero entrance */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge { animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-title { animation: heroFadeUp 0.8s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-subtitle { animation: heroFadeUp 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-ctas { animation: heroFadeUp 0.8s 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-scroll { animation: heroFadeUp 0.8s 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* ── Navbar ── */
#site-header {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#site-header.scrolled {
    background: rgba(8,8,8,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* ── Section Header ── */
.section-header { margin-bottom: 3rem; }

/* ── Philosophy Section ── */
.philosophy-bg {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1510 50%, #1a1a1a 100%);
}

/* ── CTA Section ── */
.cta-gradient {
    background: linear-gradient(135deg, #c03212 0%, #f45c30 40%, #e5451d 70%, #9c2a14 100%);
}

/* ── Mobile Menu ── */
.mobile-link {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ── Menu Button ── */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
#menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 24px;
    margin-left: 0;
}

/* ── Card Hover ── */
.scroll-reveal.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f0f0f; }
::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #f45c30; }

/* ── Selection ── */
::selection { background: rgba(244,92,48,0.3); color: #fff; }
