/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --burgundy:    #722F37;
    --burgundy-d:  #5A252C;
    --burgundy-l:  #8B3A42;
    --blush:       #F2E0DC;
    --blush-l:     #FAF3F1;
    --blush-mid:   #E8CEC8;
    --cream:       #FDF8F6;
    --white:       #FEFCFB;
    --charcoal:    #1E1A19;
    --text:        #2C2423;
    --text-mid:    #5C4F4D;
    --text-light:  #8A7B79;
    --line:        #E8DED9;
    --line-light:  #F0E8E5;

    --font-serif:  'Cormorant Garamond', Georgia, serif;
    --font-sans:   'Manrope', system-ui, sans-serif;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in:  cubic-bezier(0.64, 0, 0.36, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ── Typography ────────────────────────────────────────── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 48px;
    height: 1px;
    background: var(--burgundy);
    margin-bottom: 2rem;
}

.section-header { margin-bottom: 4rem; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    border: 1px solid var(--burgundy);
}
.btn-primary:hover {
    background: var(--burgundy-d);
    border-color: var(--burgundy-d);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(114, 47, 55, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-full { width: 100%; }

/* ── Header ────────────────────────────────────────────── */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    transition: all 0.5s var(--ease-out);
}

#site-header.scrolled {
    background: rgba(254, 252, 251, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-line-one {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color 0.5s var(--ease-out);
}

.logo-line-two {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-top: 0.25rem;
    transition: color 0.5s var(--ease-out);
}

#site-header.scrolled .logo-line-one { color: var(--charcoal); }
#site-header.scrolled .logo-line-two { color: var(--burgundy); }

/* ── Navigation ────────────────────────────────────────── */
.main-nav { display: flex; align-items: center; }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.4s var(--ease-out);
}

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

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

#site-header.scrolled .nav-links a { color: var(--text-mid); }
#site-header.scrolled .nav-links a:hover { color: var(--burgundy); }
#site-header.scrolled .nav-links a::after { background: var(--burgundy); }

/* ── Mobile Nav Toggle ─────────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--white);
    transition: all 0.4s var(--ease-out);
    transform-origin: center;
}

#site-header.scrolled .nav-toggle-line { background: var(--charcoal); }

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 4px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

/* ── Page Overlay ──────────────────────────────────────── */
#page-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 26, 25, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

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

/* ── Hero ──────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 26, 25, 0.45) 0%,
        rgba(30, 26, 25, 0.55) 50%,
        rgba(30, 26, 25, 0.75) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Sections ──────────────────────────────────────────── */
.section {
    padding: 7rem 0;
}

/* ── Services ──────────────────────────────────────────── */
.services { background: var(--white); }

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

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    transition: all 0.5s var(--ease-out);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: width 0.5s var(--ease-out);
}

.service-card:hover::before { width: 100%; }
.service-card:hover { background: var(--blush-l); }

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--burgundy);
}

.service-icon svg {
    stroke: var(--burgundy);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-mid);
}

/* ── Approach ──────────────────────────────────────────── */
.approach { background: var(--cream); }

.approach-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-image-wrap {
    overflow: hidden;
}

.approach-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 7/9;
}

.approach-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-mid);
    margin-bottom: 1.25rem;
}

.approach-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.approach-feature {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.approach-feature-label {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--charcoal);
}

.approach-feature-line {
    width: 24px;
    height: 1px;
    background: var(--burgundy);
}

/* ── Gallery ───────────────────────────────────────────── */
.gallery { background: var(--white); }

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

.gallery-item {
    overflow: hidden;
    background: var(--line-light);
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.gallery-item:nth-child(1) { aspect-ratio: 3/4; }
.gallery-item:nth-child(2) { aspect-ratio: 1; }
.gallery-item:nth-child(3) { aspect-ratio: 3/4; }
.gallery-item:nth-child(4) { aspect-ratio: 1; }
.gallery-item:nth-child(5) { aspect-ratio: 3/4; }
.gallery-item:nth-child(6) { aspect-ratio: 1; }

.gallery-item:hover img { transform: scale(1.04); }

/* ── About ─────────────────────────────────────────────── */
.about { background: var(--cream); }

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-title { margin-bottom: 1.25rem; }

.about-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-mid);
    margin-bottom: 1.25rem;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

/* ── Contact ───────────────────────────────────────────── */
.contact { background: var(--white); }

.contact-intro {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-mid);
    max-width: 480px;
    margin-top: 1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-detail {
    margin-bottom: 2rem;
}

.contact-detail-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-detail-value {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.4;
}

.contact-detail-value a {
    color: var(--burgundy);
    transition: color 0.3s var(--ease-out);
}

.contact-detail-value a:hover { color: var(--burgundy-d); }

.contact-divider {
    height: 1px;
    background: var(--line);
    margin: 2rem 0;
}

.contact-note {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
}

/* ── Form ──────────────────────────────────────────────── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.required { color: var(--burgundy); }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 0;
    border: none;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 300;
    transition: border-color 0.3s var(--ease-out);
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
}

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

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

.form-group select {
    cursor: pointer;
    color: var(--text-light);
}

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

/* ── Form Success ──────────────────────────────────────── */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    color: var(--burgundy);
}

.success-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.success-text {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-mid);
}

/* ── Footer ────────────────────────────────────────────── */
#site-footer {
    background: var(--charcoal);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s var(--ease-out);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy,
.footer-location {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255,255,255,0.35);
}

/* ── Scroll Reveal ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ── Mobile Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; }
    .approach-layout { grid-template-columns: 1fr; gap: 3rem; }
    .approach-image-wrap { max-height: 500px; }
    .about-layout { grid-template-columns: 1fr; gap: 3rem; }
    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .section { padding: 5rem 0; }
    .container { padding: 0 1.5rem; }

    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(254, 252, 251, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--ease-out);
    }

    .main-nav.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        letter-spacing: 0.15em;
        color: var(--text);
        padding: 1rem 2rem;
        transition: color 0.3s var(--ease-out);
    }

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

    .hero { min-height: 600px; }
    .hero-headline { font-size: clamp(1.75rem, 8vw, 2.75rem); }
    .hero-sub { font-size: 0.95rem; }

    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(5) { aspect-ratio: 3/4; }
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6) { aspect-ratio: 1; }

    .form-row { grid-template-columns: 1fr; }

    .footer-top { flex-direction: column; gap: 2rem; text-align: center; }
    .footer-nav { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .header-inner { padding: 0; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 2rem 1.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(5) { aspect-ratio: 4/5; }
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6) { aspect-ratio: 4/5; }
    .approach-features { grid-template-columns: 1fr; }
}

/* ── Reduced Motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
