:root {
    --bg: #080808;
    --bg-surface: #101010;
    --text-primary: #f0ebe3;
    --text-muted: #6b6b6b;
    --accent: #c9a96e;
    --accent-light: #e0c999;
    --border: rgba(201, 169, 110, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ─── NAV ─── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.8rem 5rem;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(8,8,8,0.85); backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(201,169,110,0.06);
    transition: all 0.5s ease;
}
nav.scrolled { padding: 1.2rem 5rem; }

.nav-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem; letter-spacing: 0.22em;
    color: var(--text-primary); text-decoration: none;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 3rem; list-style: none; }
.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 0; height: 1px; background: var(--accent); transition: width 0.4s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 1001; }
.hamburger span { width: 24px; height: 1.5px; background: var(--text-primary); transition: all 0.3s; }

/* ─── HERO ─── */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    filter: brightness(0.2) saturate(0.7);
}
.hero-content {
    position: relative; z-index: 1; text-align: center;
    max-width: 900px; padding: 0 2rem;
}
.hero-eyebrow {
    font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 2.5rem; font-weight: 400;
}
.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1.08; margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: var(--text-muted); max-width: 500px; margin: 0 auto 3.5rem;
    font-weight: 300;
}
.btn-primary {
    display: inline-block; padding: 1.1rem 3rem;
    border: 1px solid var(--accent); color: var(--accent);
    text-decoration: none; font-size: 0.72rem; letter-spacing: 0.2em;
    text-transform: uppercase; transition: all 0.4s;
}
.btn-primary:hover { background: var(--accent); color: var(--bg); }

.scroll-indicator {
    position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
}
.scroll-indicator span {
    display: block; width: 1px; height: 40px; background: var(--accent);
    animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ─── SECTIONS ─── */
section { padding: 8rem 5rem; }
.section-eyebrow {
    font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1.2rem; font-weight: 400;
}
.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1rem; line-height: 1.15;
}
.section-desc { color: var(--text-muted); max-width: 550px; font-weight: 300; font-size: 0.95rem; }
.divider { width: 50px; height: 1px; background: var(--accent); margin: 2rem 0; }

/* ─── FEATURED WORK ─── */
.featured-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 4rem;
}
.featured-item { position: relative; overflow: hidden; cursor: pointer; }
.featured-item img {
    width: 100%; height: 450px; object-fit: cover;
    transition: transform 0.7s ease;
}
.featured-item:hover img { transform: scale(1.03); }
.featured-item-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 20%, rgba(8,8,8,0.95) 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2.5rem; opacity: 0; transition: opacity 0.5s;
}
.featured-item:hover .featured-item-overlay { opacity: 1; }
.featured-item-overlay h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem; margin-bottom: 0.4rem;
}
.featured-item-overlay p { color: var(--accent); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; }

@media (max-width: 768px) {
    .featured-grid { grid-template-columns: 1fr; }
    .featured-item img { height: 300px; }
}

/* ─── SERVICES ─── */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; margin-top: 4rem;
}
.service-card {
    padding: 3rem 2.5rem; background: var(--bg-surface);
    border: 1px solid var(--border); transition: all 0.4s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.service-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem; color: var(--accent); opacity: 0.3; margin-bottom: 1.5rem;
}
.service-name { font-size: 1.2rem; margin-bottom: 0.8rem; }
.service-desc { color: var(--text-muted); font-size: 0.88rem; font-weight: 300; line-height: 1.7; }

/* ─── WORK GALLERY ─── */
.work-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem; margin-top: 4rem;
}
.work-item { position: relative; overflow: hidden; cursor: pointer; }
.work-item img {
    width: 100%; height: 400px; object-fit: cover;
    transition: transform 0.7s ease;
}
.work-item:hover img { transform: scale(1.03); }
.work-item-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 40%, rgba(8,8,8,0.95));
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2rem; opacity: 0; transition: opacity 0.5s;
}
.work-item:hover .work-item-overlay { opacity: 1; }
.work-item-overlay h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; }
.work-item-overlay p { color: var(--accent); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 0.3rem; }

@media (max-width: 768px) {
    .work-grid { grid-template-columns: 1fr; }
    .work-item img { height: 280px; }
}

/* ─── ABOUT ─── */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 4rem; align-items: center;
}
.about-image { width: 100%; height: 550px; object-fit: cover; }
.about-text { font-size: 0.95rem; color: var(--text-muted); font-weight: 300; line-height: 1.85; }
.about-text p { margin-bottom: 1.5rem; }

.values-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 5rem;
}
.value-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem; color: var(--accent); opacity: 0.3; margin-bottom: 1rem;
}
.value-name { font-size: 1.1rem; margin-bottom: 0.6rem; }
.value-desc { color: var(--text-muted); font-size: 0.85rem; font-weight: 300; line-height: 1.65; }

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image { height: 320px; }
    .values-grid { grid-template-columns: 1fr; }
}

/* ─── PROCESS ─── */
.process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem;
}
.process-step { text-align: center; padding: 2.5rem 2rem; }
.process-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem; color: var(--accent); opacity: 0.25; margin-bottom: 1.5rem;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.7rem; }
.process-step p { color: var(--text-muted); font-size: 0.85rem; font-weight: 300; line-height: 1.65; }

@media (max-width: 768px) {
    .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── STATS ─── */
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
    margin-top: 5rem; text-align: center;
}
.stat-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem; color: var(--accent); margin-bottom: 0.5rem;
}
.stat-label { color: var(--text-muted); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; }

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── CONTACT ─── */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 4rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%; padding: 1rem 1.2rem;
    background: var(--bg-surface); border: 1px solid var(--border);
    color: var(--text-primary); font-family: 'Inter', sans-serif;
    font-size: 0.9rem; margin-bottom: 1rem; transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { height: 180px; resize: vertical; }
.contact-form button {
    padding: 1.1rem 3rem; background: var(--accent); border: none;
    color: var(--bg); font-size: 0.72rem; letter-spacing: 0.2em;
    text-transform: uppercase; cursor: pointer; transition: all 0.3s;
}
.contact-form button:hover { background: var(--accent-light); }

.contact-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.contact-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.contact-info a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
.contact-info a:hover { color: var(--accent-light); }

.social-links { display: flex; gap: 1rem; margin-top: 2.5rem; }
.social-links a {
    width: 42px; height: 42px; border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); text-decoration: none; font-size: 1rem;
    transition: all 0.3s;
}
.social-links a:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ─── FOOTER ─── */
footer {
    padding: 3rem 5rem; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
footer p { color: var(--text-muted); font-size: 0.72rem; letter-spacing: 0.05em; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.72rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 768px) {
    footer { padding: 2rem 1.5rem; flex-direction: column; gap: 1rem; text-align: center; }
}

/* ─── ANIMATIONS ─── */
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        flex-direction: column; justify-content: center; align-items: center;
        background: var(--bg); transition: right 0.4s; gap: 2rem;
    }
    .nav-links.open { right: 0; }
    section { padding: 5rem 1.5rem; }
}
