/* ========================================
   SHIVES CUSTOM HARDWOOD FLOORING
   Stylesheet
======================================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #1e293b;
    background-color: #fffaf5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* --- CUSTOM PROPERTIES --- */
:root {
    --navy-900: #0a1628;
    --navy-800: #1e3a5f;
    --navy-700: #264b73;
    --navy-600: #2d5580;
    --gold-500: #d4a017;
    --gold-400: #e6b422;
    --gold-300: #f0c94d;
    --gold-200: #f5d97a;
    --cream-50: #fffaf5;
    --cream-100: #fff5eb;
    --cream-200: #ffeed8;
    --warm-gray-100: #f8f6f3;
    --warm-gray-200: #f0ece6;
    --warm-gray-300: #e0d9d0;
    --warm-gray-600: #6b6560;
    --warm-gray-800: #3d3835;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.06);
    --shadow-md: 0 8px 30px rgba(30, 58, 95, 0.09);
    --shadow-lg: 0 16px 50px rgba(30, 58, 95, 0.12);
    --shadow-xl: 0 24px 60px rgba(30, 58, 95, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- CONTAINER --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}
@media (min-width: 1200px) {
    .container {
        padding: 0 48px;
    }
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy-800);
}

.text-gold {
    color: var(--gold-500);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    border-color: var(--gold-500);
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.35);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.45);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
}

/* --- SECTION COMMON --- */
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--warm-gray-600);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-desc {
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 72px;
    }
}

/* ========================================
   HEADER
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 250, 245, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.06);
    transition: all var(--transition);
}
.site-header.scrolled {
    background: rgba(255, 250, 245, 0.96);
    box-shadow: var(--shadow-sm);
}

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

/* --- LOGO --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    border-radius: var(--radius-sm);
    position: relative;
    flex-shrink: 0;
}
.logo-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 7px;
    right: 7px;
    height: 3px;
    background: var(--gold-500);
    border-radius: 2px;
    box-shadow: 0 5px 0 var(--gold-500), 0 10px 0 var(--gold-500);
    opacity: 0.85;
}

.logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--navy-800);
    line-height: 1;
}
.logo-sub {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-500);
    line-height: 1.2;
}

/* --- NAV --- */
.main-nav ul {
    display: none;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--navy-800);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.main-nav a:hover {
    background: rgba(30, 58, 95, 0.06);
    color: var(--navy-700);
}

/* --- NAV TOGGLE --- */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.nav-toggle:hover {
    background: rgba(30, 58, 95, 0.06);
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy-800);
    position: relative;
    transition: all var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--navy-800);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ========================================
   HERO
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 40%, #2d5580 70%, #1a3d6e 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212, 160, 23, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(45, 85, 128, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(212, 160, 23, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: var(--gold-300);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 68px);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-desc {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}
.stat-num {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

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

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    color: var(--cream-50);
    line-height: 0;
}
.hero-wave svg {
    width: 100%;
    height: 60px;
}

/* ========================================
   SERVICES
======================================== */
.services {
    padding: 88px 0 96px;
    background: var(--cream-50);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(30, 58, 95, 0.05);
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 160, 23, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 15px;
    color: var(--warm-gray-600);
    line-height: 1.75;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   WHY US
======================================== */
.why-us {
    padding: 96px 0;
    background: var(--cream-100);
}

.why-us-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.why-us-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.why-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-us-content .section-title {
    margin-bottom: 20px;
}

.why-us-intro {
    font-size: 17px;
    color: var(--warm-gray-600);
    line-height: 1.75;
    margin-bottom: 36px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    margin-top: 2px;
}

.feature-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 14px;
    color: var(--warm-gray-600);
    line-height: 1.65;
}

@media (min-width: 900px) {
    .why-us-layout {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

/* ========================================
   PROCESS
======================================== */
.process {
    padding: 96px 0;
    background: var(--cream-50);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(30, 58, 95, 0.05);
    transition: all var(--transition);
}
.process-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.step-number {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    color: var(--gold-500);
    line-height: 1;
    opacity: 0.5;
    min-width: 70px;
}

.step-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 6px;
}

.step-desc {
    font-size: 15px;
    color: var(--warm-gray-600);
    line-height: 1.7;
}
.step-desc a {
    color: var(--gold-500);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(212, 160, 23, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition);
}
.step-desc a:hover {
    text-decoration-color: var(--gold-500);
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .process-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 28px 24px;
    }
    .step-number {
        font-size: 40px;
        min-width: auto;
    }
}

/* ========================================
   GALLERY
======================================== */
.gallery {
    padding: 96px 0;
    background: var(--cream-100);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay span {
    color: #fff;
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   CTA BANNER
======================================== */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse 50% 80% at 80% 20%, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    color: #fff;
}

.cta-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-inner {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

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

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

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

.contact-intro {
    font-size: 16px;
    color: var(--warm-gray-600);
    line-height: 1.75;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
}

.contact-detail strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 2px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.contact-detail p {
    font-size: 15px;
    color: var(--warm-gray-600);
    line-height: 1.6;
}
.contact-detail a {
    color: var(--gold-500);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 160, 23, 0.3);
    transition: border-color var(--transition);
}
.contact-detail a:hover {
    border-color: var(--gold-500);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* --- FORM --- */
.contact-form-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(30, 58, 95, 0.06);
}

.form-title {
    font-size: 26px;
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--warm-gray-600);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--navy-800);
    background: var(--warm-gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-300);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.1);
}

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

.form-success {
    text-align: center;
    padding: 32px 16px;
}
.form-success h4 {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-800);
    margin: 16px 0 8px;
}
.form-success p {
    font-size: 15px;
    color: var(--warm-gray-600);
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.75;
    margin-top: 16px;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--gold-400);
}

.footer-contact address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
}
.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ========================================
   REVEAL ANIMATIONS
======================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Progressive enhancement: hide initially only when JS is available and motion is preferred */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   MOBILE NAV OVERLAY
======================================== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 22, 40, 0.5);
    backdrop-filter: blur(4px);
}
.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--cream-50);
    z-index: 1000;
    padding: 96px 32px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
}
.mobile-nav.open {
    right: 0;
}
.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav a {
    display: block;
    padding: 14px 16px;
    font-size: 17px;
    font-weight: 500;
    color: var(--navy-800);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.mobile-nav a:hover {
    background: rgba(30, 58, 95, 0.06);
}
.mobile-nav .btn {
    margin-top: 16px;
    justify-content: center;
}

/* ========================================
   UTILITY / ACCESSIBILITY
======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}

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