/* ─── Custom utility styles ─── */

/* Selection color */
::selection {
    background: rgba(27, 67, 50, 0.15);
    color: #1a2420;
}

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #1B4332;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Remove default select arrow and add custom */
select.form-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    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='%237a8a82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* Subtle page transitions */
@media (prefers-reduced-motion: no-preference) {
    .page-transition {
        animation: fadeIn 0.6s ease forwards;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Print styles */
@media print {
    .nav, .mobile-menu, .hamburger { display: none !important; }
    body { background: white; color: black; }
    section { padding: 2rem 0; }
    a { color: black; text-decoration: underline; }
}
