/* Custom styles — thin, minimalist, charcoal + coral */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background: #ff502d;
    color: #fff;
}

/* Thin custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f6f6f7;
}
::-webkit-scrollbar-thumb {
    background: #c7c7cc;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
}

/* Scroll reveal base — progressive enhancement only */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* Navbar shadow on scroll */
.navbar-scrolled {
    box-shadow: 0 1px 0 rgba(30, 30, 34, 0.06);
}

/* Subtle line accents */
.section-line {
    width: 40px;
    height: 1px;
    background: #ff502d;
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.6s ease;
}
.img-zoom:hover {
    transform: scale(1.03);
}
