/* ============================================
   Lesmes Unlimited — Professional Services
   Color Palette: Burgundy (#6B1B2A) + Blush (#F5E6E0)
   Typography: Cormorant Garamond + Inter
   ============================================ */

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

:root {
    --burgundy: #6B1B2A;
    --burgundy-deep: #4A1019;
    --burgundy-light: #8B2E3F;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-mid: #E8D0C8;
    --cream: #FDF9F7;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #3D3D3D;
    --text-light: #6B6B6B;
    --text-faint: #9A9A9A;
    --line: #E8DDD8;
    --line-light: #F0E8E4;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Grain overlay */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    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");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* ============================================
   Typography
   ============================================ */
.eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.lead {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.8;
    max-width: 520px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--burgundy-deep);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--burgundy);
    border: 1px solid var(--burgundy);
}

.btn-ghost:hover {
    background: var(--burgundy);
    color: var(--white);
}

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

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-light);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 1px 20px rgba(107, 27, 42, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--burgundy);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--burgundy);
    border-radius: 4px;
}

.nav-logo span:last-child {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-mid);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--burgundy);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--burgundy);
}

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

.nav-cta {
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    color: var(--burgundy) !important;
    border: 1px solid var(--burgundy);
    padding: 0.6rem 1.2rem;
    transition: var(--transition);
}

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

.nav-cta:hover {
    background: var(--burgundy) !important;
    color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 32px;
    height: 32px;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 1px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.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);
}

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 72px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: calc(100vh - 72px);
}

.hero-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg);
    padding-left: calc(var(--space-lg) + 0px);
    position: relative;
}

.hero-aside::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--burgundy), transparent);
    opacity: 0.2;
}

.eyebrow {
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.hero-title em {
    font-style: italic;
    color: var(--burgundy);
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 400px;
    margin-bottom: var(--space-lg);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
    position: relative;
    overflow: hidden;
}

.visual-frame {
    position: absolute;
    inset: 0;
}

.visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85) contrast(1.02);
}

.visual-accent {
    position: absolute;
    top: 15%;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--burgundy);
    opacity: 0.2;
    z-index: 1;
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--line);
    background: var(--white);
}

.stat {
    flex: 1;
    text-align: center;
    padding: var(--space-sm) var(--space-md);
}

.stat-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.3rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--burgundy);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--line);
    flex-shrink: 0;
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

.section-header {
    margin-bottom: var(--space-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line-light);
    border: 1px solid var(--line);
}

.service-card {
    background: var(--cream);
    padding: var(--space-lg);
    position: relative;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--white);
}

.service-card:hover .card-icon {
    background: var(--burgundy);
    color: var(--white);
}

.card-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--text-faint);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--burgundy);
    margin-bottom: var(--space-md);
    transition: var(--transition);
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.75;
    font-weight: 300;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-lg);
    align-items: center;
}

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

.about-image-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    filter: saturate(0.88);
}

.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 1px;
    background: var(--burgundy);
    opacity: 0.3;
}

.about-content {
    padding-left: var(--space-md);
}

.about-content .lead {
    margin-bottom: var(--space-md);
}

.about-content p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: var(--space-sm);
    font-weight: 300;
}

.about-values {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.value-label {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--burgundy);
    white-space: nowrap;
    min-width: 90px;
}

.value-line {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.value-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 300;
    white-space: nowrap;
}

/* ============================================
   Approach
   ============================================ */
.approach {
    padding: var(--space-2xl) 0;
    background: var(--burgundy);
    color: var(--white);
}

.approach-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.approach-header .eyebrow {
    color: var(--blush-mid);
}

.approach-header .section-title {
    color: var(--white);
}

.approach-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 var(--space-sm);
}

.step-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--blush-mid);
    opacity: 0.5;
    display: block;
    margin-bottom: var(--space-xs);
}

.step h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.step p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    font-weight: 300;
}

.step-connector {
    width: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-connector::before {
    content: '';
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.step-connector::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    position: absolute;
    margin-left: 8px;
}

/* ============================================
   Testimonial
   ============================================ */
.testimonial {
    padding: var(--space-2xl) 0;
    background: var(--blush);
}

.testimonial-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    width: 40px;
    height: 40px;
    color: var(--burgundy);
    opacity: 0.25;
    margin-bottom: var(--space-md);
}

.testimonial blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.testimonial blockquote p {
    font-style: normal;
}

.testimonial-attribution {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
}

/* ============================================
   CTA / Contact
   ============================================ */
.cta {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.cta-left {
    padding-right: var(--space-md);
}

.cta-left .lead {
    margin-bottom: var(--space-lg);
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cta-phone,
.cta-email {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--burgundy);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line-light);
}

.cta-phone:hover,
.cta-email:hover {
    color: var(--burgundy-deep);
}

.cta-phone svg,
.cta-email svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cta-address {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.7;
    padding-top: 0.5rem;
}

.cta-address svg {
    width: 16px;
    height: 16px;
    color: var(--burgundy);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Form */
.cta-right {
    background: var(--white);
    border: 1px solid var(--line);
    padding: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid var(--line);
    padding: 0.85rem 1rem;
    outline: none;
    transition: var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-faint);
}

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

.form-note {
    font-size: 0.78rem;
    color: var(--text-faint);
    text-align: center;
    margin-top: var(--space-sm);
    font-weight: 300;
}

.form-success {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--burgundy);
    margin-bottom: var(--space-md);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.form-success p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.5);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: var(--space-md);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: var(--space-sm);
}

.footer-brand .logo-mark {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.footer-brand span:last-child {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.footer-tagline {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.78rem;
    font-weight: 300;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-aside {
        padding: var(--space-lg);
    }

    .hero-title {
        font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    }

    .about-layout {
        gap: var(--space-md);
    }

    .approach-steps {
        gap: 0;
    }

    .step {
        padding: 0 var(--space-xs);
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 249, 247, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-md);
        gap: 0;
        border-bottom: 1px solid var(--line);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: var(--space-sm) 0;
        border-bottom: 1px solid var(--line-light);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        text-align: center;
        margin-top: var(--space-sm);
        border: 1px solid var(--burgundy);
        padding: 0.8rem 1.2rem;
    }

    .nav-toggle {
        display: block;
    }

    /* Hero mobile */
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero-aside {
        padding: var(--space-lg) var(--space-md);
        justify-content: center;
    }

    .hero-aside::before {
        display: none;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    /* Services mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* About mobile */
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding-left: 0;
    }

    .about-image-wrap img {
        height: 280px;
    }

    /* Approach mobile */
    .approach-steps {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .step-connector {
        display: none;
    }

    .step {
        padding: 0;
    }

    /* CTA mobile */
    .cta-layout {
        grid-template-columns: 1fr;
    }

    .cta-left {
        padding-right: 0;
    }

    .cta-phone,
    .cta-email {
        font-size: 1rem;
    }

    /* Footer mobile */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .cta-right {
        padding: var(--space-md);
    }
}
