/* ── Triborough Preservation — Custom Styles ── */

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

/* Selection color */
::selection {
    background: rgba(232, 93, 69, 0.15);
    color: #1C1F27;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAFAF8;
}
::-webkit-scrollbar-thumb {
    background: #C8CCD4;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A0A4AD;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #E85D45;
    outline-offset: 2px;
}

/* ── Hero image parallax (desktop only) ── */
@media (prefers-reduced-motion: no-preference) {
    #hero .order-1 {
        will-change: transform;
    }
}

/* ── Subtle grain texture overlay ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.018;
    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)'/%3E%3C/svg%3E");
}

/* ── Form select styling ── */
select.form-input {
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%235A5E6B" 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;
    background-size: 12px;
    padding-right: 2rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ── Print styles ── */
@media print {
    .nav, .hamburger, .mobile-menu, #contact-form, iframe { display: none; }
    body { color: #000; background: #fff; }
    a[href]::after { content: ' (' attr(href) ')'; }
}
