:root {
    --bg-dark: #121214;         /* Rich organic volcanic basalt */
    --bg-card: #18181c;         /* Warm stone/basalt card face */
    --bg-panel: #1a1a1f;        /* Deep basalt contrast panel */
    --primary-text: #f3f4f6;    /* Soft crisp warm-white */
    --muted-text: #9ca3af;      /* Soft charcoal gray */
    --accent: #cca43b;          /* Natural sand gold accent */
    --accent-hover: #b08d2e;
    --border: #27272a;          /* Clean organic structural border */
    --red-alert: #f87171;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-dark); color: var(--primary-text);
    background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 24px 24px;
    font-family: var(--font-body); line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--primary-text); }
a { text-decoration: none; color: inherit; }

/* Buttons - Sharp, Intentional & Clean (No aggressive AI roundedness or massive glowing dropshadows) */
.btn {
    display: inline-block; padding: 0.9rem 1.8rem;
    font-family: var(--font-heading); font-weight: 600; 
    text-transform: uppercase; letter-spacing: 1.5px;
    border: none; cursor: pointer; transition: all 0.2s ease;
    text-align: center; font-size: 0.85rem; border-radius: 2px;
}
.tech-btn {
    background-color: var(--accent); color: var(--bg-dark);
}
.tech-btn:hover {
    background-color: var(--primary-text); color: var(--bg-dark);
}
.secondary-btn { 
    background: transparent; border: 1px solid var(--border); color: var(--primary-text); 
}
.secondary-btn:hover { 
    background: var(--border); border-color: var(--border); 
}
.btn-small { padding: 0.5rem 1.2rem; font-size: 0.75rem; }
.full-width { display: block; width: 100%; }

/* Navigation */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 5%; position: sticky; top: 0; z-index: 1000;
    background: rgba(18, 18, 20, 0.92); border-bottom: 1px solid var(--border);
}
.nav-brand { 
    font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; 
    letter-spacing: 2px; display: flex; align-items: center; gap: 12px; color: var(--primary-text); 
}
.nav-brand .dim { color: var(--accent); font-weight: 400; font-size: 0.95em; }

/* Desktop Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}
.menu-header { display: none; }
.nav-links a {
    font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--primary-text);
    text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; }

@keyframes menuFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero { position: relative; min-height: 52vh; display: flex; align-items: center; padding: 0 5%; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); margin-bottom: 1rem; color: var(--primary-text); letter-spacing: -0.5px; }
.accent-text { color: var(--accent); }
.hero-subline { font-size: 1.15rem; color: var(--muted-text); margin-bottom: 2.2rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; }
.eyebrow {
    display: inline-block; padding: 3px 12px;
    background: rgba(204, 164, 59, 0.08); color: var(--accent);
    font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; border-radius: 2px; margin-bottom: 1.2rem;
    border: 1px solid rgba(204, 164, 59, 0.25);
}

/* Sections */
section { padding: 6rem 5%; }
.center { text-align: center; }
.section-heading h2 { font-family: var(--font-heading); font-size: 2.3rem; margin-bottom: 0.8rem; color: var(--primary-text); letter-spacing: -0.5px; }

/* Grids - Solid, high-end organic layouts */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.service-card {
    background: var(--bg-card); border: 1px solid var(--border); padding: 2.5rem 2rem;
    border-radius: 4px; position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    color: var(--primary-text);
}
.service-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}
.highlight-card { border: 1px solid var(--accent); background: #1b1b18; }
.high-value-badge {
    position: absolute; top: -12px; right: 20px;
    background: var(--accent); color: var(--bg-dark);
    font-family: var(--font-heading); font-size: 0.7rem; font-weight: 800; padding: 3px 10px;
    border-radius: 2px; letter-spacing: 1px;
}

.card-icon { font-size: 2rem; margin-bottom: 1.2rem; color: var(--accent); }
.service-card h3 { margin-bottom: 1rem; font-size: 1.3rem; color: var(--primary-text); }
.service-card ul { list-style: none; color: var(--muted-text); }
.service-card ul li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; font-size: 0.95rem; }
.service-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

/* Structural section backgrounds */
.bg-panel-section {
    background: var(--bg-panel);
    padding: 5rem 5%;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
}
.bg-dark-section {
    background: var(--bg-dark);
}

.section-description {
    color: var(--muted-text);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Footer */
footer { text-align: center; padding: 3.5rem 5%; background: var(--bg-dark); color: #6b7280; font-size: 0.85rem; border-top: 1px solid var(--border); }
footer a { color: var(--accent); }
.footer-contact { margin-bottom: 1.5rem; color: var(--primary-text); font-size: 0.95rem; }
.footer-link { color: var(--accent); white-space: nowrap; transition: color 0.2s; }
.footer-link:hover { color: #fff; }
.footer-credits { font-size: 0.7rem; margin-top: 1.2rem; color: #4b5563; text-transform: uppercase; letter-spacing: 2px; }

/* Form Elements */
input[type="text"], input[type="email"], select, textarea {
    width: 100%; padding: 0.85rem; background: var(--bg-dark) !important; 
    border: 1px solid var(--border); color: var(--primary-text); 
    border-radius: 2px; font-family: var(--font-body); font-size: 0.9rem;
    transition: border-color 0.2s ease;
}
input[type="text"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--accent);
}

/* Utility Classes */
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-4 { margin-top: 4rem; }
.text-center { text-align: center; }
.text-muted { color: var(--muted-text); }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.z-1 { z-index: 1; }

/* Showcase / Recent Work List Styles */
.recent-work-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.recent-work-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-decoration: none;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}
.recent-work-item:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.recent-work-item-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.recent-work-item-text h4 {
    color: var(--primary-text);
    font-size: 1.15rem;
    margin-bottom: 4px;
}
.recent-work-item-text p {
    color: var(--muted-text);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================
   MOBILE & RESPONSIVE STYLES
   ============================ */
@media (max-width: 900px) {
    .navbar { padding: 1rem 5%; }
    .nav-brand { font-size: 1rem; }
    
    .nav-links {
        position: fixed; top: 0; right: 0; width: 100%; height: 100vh;
        background: rgba(18, 18, 20, 0.99);
        display: none; flex-direction: column; justify-content: center; align-items: center;
        z-index: 2000; padding: 2rem; gap: 1.8rem;
    }
    .nav-links.open { display: flex; }
    .nav-links a { color: var(--primary-text); font-size: 1.6rem; opacity: 0; transform: translateY(20px); }
    .nav-links.open a { animation: menuFadeIn 0.5s forwards cubic-bezier(0.23, 1, 0.32, 1); }
    .nav-links a:nth-child(2) { animation-delay: 0.1s; }
    .nav-links a:nth-child(3) { animation-delay: 0.15s; }
    .nav-links a:nth-child(4) { animation-delay: 0.2s; }
    
    .nav-toggle {
        display: block; background: none; border: 1px solid var(--border);
        border-radius: 2px; color: var(--primary-text); font-size: 1.4rem;
        padding: 0.4rem 0.7rem; cursor: pointer; line-height: 1;
        transition: all 0.2s ease; z-index: 3000; position: relative;
    }
    .nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
    .nav-toggle.active { border-color: var(--accent); color: var(--accent); }

    .hero { min-height: 45vh; padding: 0 6%; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-subline { font-size: 1rem; margin-bottom: 2rem; }
    .hero-actions { flex-direction: column; gap: 0.8rem; }
    .hero-actions .btn { width: 100%; text-align: center; }

    section { padding: 4rem 5%; }
    .section-heading h2 { font-size: 1.8rem; }
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
    
    .recent-work-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 1.5rem;
    }
    .recent-work-item-content {
        gap: 1rem;
    }
    .recent-work-item .btn {
        width: 100%;
        text-align: center;
    }

    footer { padding: 2.5rem 5%; }
    footer p { font-size: 0.8rem; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 1.7rem; }
    .section-heading h2 { font-size: 1.4rem; }
    .eyebrow { font-size: 0.65rem; }
    .navbar { padding: 0.8rem 4%; }
    .nav-brand { font-size: 0.8rem; letter-spacing: 1px; }
}
