/* ============================================
   BUFFALO PSYCHIATRIC CENTER — CUSTOM STYLES
   Charcoal + Coral | Playfair Display + Inter
   ============================================ */

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

:root {
    --charcoal-900: #0f0f0f;
    --charcoal-800: #1a1a1a;
    --charcoal-700: #1f1f1f;
    --charcoal-600: #2d2d2d;
    --charcoal-500: #3d3d3d;
    --charcoal-400: #6b6b6b;
    --charcoal-300: #9a9a9a;
    --charcoal-200: #c8c8c8;
    --charcoal-100: #e8e8e8;
    --charcoal-50: #f5f5f5;

    --coral-600: #a8432e;
    --coral-500: #c4553d;
    --coral-400: #d4694f;
    --coral-300: #e0856f;
    --coral-200: #eab09a;
    --coral-100: #f5d5cc;
    --coral-50: #fdf0ed;

    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --header-h: 72px;
    --container-max: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--charcoal-700);
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--coral-500);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    transition: top var(--transition);
}
.skip-link:focus {
    top: 16px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.0);
    transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.logo-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal-700);
    letter-spacing: -0.01em;
}

.logo-tagline {
    font-size: 10px;
    font-weight: 500;
    color: var(--coral-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo-light .logo-name {
    color: #fff;
}

.logo-light .logo-tagline {
    color: var(--coral-300);
}

/* NAV */
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal-600);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral-500);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--coral-500);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--charcoal-700);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), transform var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--coral-500);
    color: #fff !important;
    transform: translateY(-1px);
}

/* MENU TOGGLE */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.menu-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal-700);
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--charcoal-900);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 15, 15, 0.92) 0%,
        rgba(31, 31, 31, 0.82) 50%,
        rgba(15, 15, 15, 0.72) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 85, 61, 0.15);
    border: 1px solid rgba(196, 85, 61, 0.3);
    color: var(--coral-300);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--coral-500);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.08;
    color: #ffffff;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-headline .accent {
    color: var(--coral-400);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--charcoal-200);
    line-height: 1.65;
    max-width: 580px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 64px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--coral-500);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--coral-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 85, 61, 0.35);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    font-size: 13px;
    color: var(--charcoal-300);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--charcoal-300);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--coral-500), transparent);
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--coral-500);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--coral-500);
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal-800);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-sub {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--charcoal-400);
    line-height: 1.6;
    max-width: 600px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 120px 0;
    background: #ffffff;
}

.services .container:first-child {
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--charcoal-50);
    border: 1px solid var(--charcoal-100);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card:hover {
    background: var(--charcoal-700);
    border-color: var(--charcoal-700);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover .service-title {
    color: #ffffff;
}

.service-card:hover .service-desc {
    color: var(--charcoal-200);
}

.service-card:hover .service-link {
    color: var(--coral-400);
}

.service-card:hover .service-icon svg rect {
    fill: var(--charcoal-600);
}

.service-icon {
    width: 48px;
    height: 48px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal-800);
    letter-spacing: -0.01em;
    transition: color var(--transition);
}

.service-desc {
    font-size: 15px;
    color: var(--charcoal-400);
    line-height: 1.65;
    flex-grow: 1;
    transition: color var(--transition);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--coral-500);
    transition: all var(--transition);
}

.service-link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--charcoal-900);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

.about-image-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--charcoal-900);
}

.about-image-accent img {
    width: 260px;
    height: 200px;
    object-fit: cover;
}

.about-stat-float {
    position: absolute;
    top: -24px;
    left: -24px;
    background: var(--coral-500);
    color: #ffffff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 24px rgba(196, 85, 61, 0.4);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-number {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.about-stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.about-content .section-title {
    color: #ffffff;
}

.about-content .section-sub {
    color: var(--charcoal-300);
}

.about-body {
    font-size: 16px;
    color: var(--charcoal-200);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal-100);
}

.about-feature svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* ============================================
   APPROACH
   ============================================ */
.approach {
    padding: 120px 0;
    background: #ffffff;
}

.approach-header {
    text-align: center;
    margin-bottom: 72px;
}

.approach-header .section-sub {
    margin: 0 auto;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.approach-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(to right, var(--coral-500), var(--coral-200), var(--coral-500));
    z-index: 0;
}

.approach-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 800;
    color: var(--coral-100);
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal-800);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: var(--charcoal-400);
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* ============================================
   COMMUNITY / CTA
   ============================================ */
.community {
    padding: 120px 0;
    background: var(--charcoal-700);
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 85, 61, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.community-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.community .section-title {
    color: #ffffff;
}

.community-body {
    font-size: 17px;
    color: var(--charcoal-200);
    line-height: 1.75;
    margin-bottom: 20px;
}

.community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--charcoal-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact .section-title {
    margin-bottom: 20px;
}

.contact-body {
    font-size: 16px;
    color: var(--charcoal-400);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-detail-icon svg {
    width: 22px;
    height: 22px;
    color: var(--coral-500);
}

.contact-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--charcoal-300);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal-700);
    line-height: 1.5;
}

.contact-link {
    color: var(--coral-500);
    transition: color var(--transition);
}

.contact-link:hover {
    color: var(--coral-400);
}

/* FORM */
.contact-form-wrap {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--charcoal-100);
}

.form-title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--charcoal-800);
    margin-bottom: 8px;
}

.form-sub {
    font-size: 14px;
    color: var(--charcoal-400);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal-600);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--charcoal-100);
    border-radius: var(--radius-sm);
    font-family: var(--sans);
    font-size: 15px;
    color: var(--charcoal-700);
    background: #ffffff;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--charcoal-300);
}

.form-input:focus {
    border-color: var(--coral-500);
    box-shadow: 0 0 0 3px rgba(196, 85, 61, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: #e8f5e9;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: #1f5a3a;
}

.form-success svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal-900);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
    font-size: 14px;
    color: var(--charcoal-300);
    line-height: 1.7;
    margin-top: 20px;
    max-width: 280px;
}

.footer-col-title {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col li a {
    font-size: 14px;
    color: var(--charcoal-300);
    transition: color var(--transition);
}

.footer-col li a:hover {
    color: var(--coral-400);
}

.footer-link-phone {
    color: var(--coral-400) !important;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 32px 0;
}

.footer-copy {
    font-size: 13px;
    color: var(--charcoal-400);
}

.footer-notice {
    font-size: 12px;
    color: var(--charcoal-500);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .approach-steps::before {
        display: none;
    }

    .about-grid {
        gap: 48px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: #ffffff;
        padding: calc(var(--header-h) + 24px) 32px 32px;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .nav-link {
        font-size: 17px;
    }

    .nav-cta {
        padding: 14px 24px;
    }

    .hero-content {
        padding: 100px 0 100px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-accent {
        right: 0;
        bottom: -24px;
    }

    .about-stat-float {
        top: -16px;
        left: -16px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .approach-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .community-actions {
        flex-direction: column;
    }

    .community-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* MOBILE NAV OVERLAY */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}
