@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;900&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: #FFEBE5;
    color: #0A0A0A;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ---- Page load animation ---- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Scroll reveal ---- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.expertise-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.expertise-item.reveal:nth-child(3) { transition-delay: 0.2s; }

/* ---- Hero (preserved from original) ---- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 5rem;
    align-items: center;
    max-width: 1000px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.label {
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #DC2626;
    margin-bottom: 0.25rem;
    margin-left: 0.3rem;
}

h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-bottom: 1.25rem;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 400;
    color: #374151;
    line-height: 1.6;
    margin-left: 0.3rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 0.3rem;
}

.contact-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #DC2626;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s, text-decoration-color 0.2s;
    text-underline-offset: 4px;
}

.contact-link:hover {
    opacity: 1;
    text-decoration: underline;
    text-decoration-color: #DC2626;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
}

.social-link:hover {
    color: #DC2626;
}

.hero-image img {
    width: 320px;
    height: 400px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    filter: sepia(8%) saturate(105%) hue-rotate(-5deg);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* ---- Sections (shared) ---- */

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
}

/* ---- About ---- */

.about {
    padding: 5rem 0 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.about-content {
    margin-top: 1.5rem;
    max-width: 620px;
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
    color: #0A0A0A;
    margin-bottom: 1.25rem;
}

.about-lead strong {
    font-weight: 900;
}

.about-content p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 1rem;
}

/* ---- Expertise ---- */

.expertise {
    padding: 4rem 0 5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.expertise-item {
    padding: 2rem 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    transition: border-color 0.2s;
}

.expertise-item:hover {
    border-color: rgba(220, 38, 38, 0.2);
}

.expertise-num {
    font-size: 0.65rem;
    font-weight: 900;
    color: #DC2626;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 1.25rem;
}

.expertise-item h3 {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.expertise-item p {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: #374151;
}

/* ---- Contact ---- */

.contact-section {
    padding: 5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
}

.contact-sub {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* ---- Footer ---- */

.footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 400;
    color: #9CA3AF;
    letter-spacing: 0.02em;
}

/* ---- Accessibility ---- */

@media (prefers-reduced-motion: reduce) {
    .hero-grid {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-image img,
    .expertise-item,
    .contact-link,
    .social-link {
        transition: none;
    }
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
    .hero {
        padding: 2rem;
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-text {
        align-items: center;
    }

    .label,
    .tagline {
        margin-left: 0;
    }

    .hero-actions {
        margin-left: 0;
        justify-content: center;
    }

    .hero-image {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        width: 260px;
        height: 320px;
    }

    .section-inner {
        padding: 0 2rem;
    }

    .about {
        padding: 3.5rem 0 3rem;
    }

    .expertise {
        padding: 3rem 0 3.5rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-section {
        padding: 3.5rem 0;
    }

    .contact-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 3.2rem;
    }

    .contact-heading {
        font-size: 2rem;
    }
}
