:root {
    /* Art Deco Color Palette */
    --gold: #d4af37;
    --gold-deep: #a9852f;
    --gold-soft: rgba(212, 175, 55, 0.1);
    
    --bg-dark: #0f1110;
    --bg-paper: #161817;
    --bg-paper-alt: #1a1d1b;
    
    --text-main: #fdfbf7;
    --text-mut: #a0a5a3;
    
    --line: rgba(212, 175, 55, 0.2);
    
    /* Typography */
    --font-deco: 'Marcellus', serif;
    --font-sans: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Outer decorative border (classic deco touch) */
.deco-border {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--line);
    pointer-events: none;
    z-index: 9999;
}
.deco-border::before, .deco-border::after {
    content: '';
    position: absolute;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    top: 7px;
    left: 7px;
    border: 1px solid rgba(212, 175, 55, 0.05);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    position: relative;
    z-index: 100;
}

.logo {
    font-family: var(--font-deco);
    font-size: 24px;
    color: var(--gold);
    letter-spacing: 0.1em;
    border: 1px solid var(--gold);
    padding: 6px 12px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-mut);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.eyebrow {
    font-size: 14px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-deco);
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--text-main);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.drule {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}
.drule::before, .drule::after {
    content: "";
    height: 1px;
    width: 100px;
    background: var(--line);
}
.drule i {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    margin: 0 15px;
}

.subtitle {
    font-size: 18px;
    color: var(--text-mut);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn.primary {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.btn.primary:hover {
    background: var(--gold-soft);
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Background Geo Lines */
.hero-bg-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100%;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
}

/* Sections & Layout */
.section {
    padding: 100px 50px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.section.center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}
.section-header h2 {
    font-family: var(--font-deco);
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: 400;
    letter-spacing: 0.1em;
}
.sub-header {
    color: var(--text-mut);
    font-size: 15px;
    margin-top: 10px;
}

.two-col {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.lead {
    font-size: 24px;
    color: var(--text-main);
    font-family: var(--font-deco);
    margin-bottom: 24px;
}
.col-text p {
    color: var(--text-mut);
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 300;
}

/* Skills */
.col-skills h3 {
    font-family: var(--font-deco);
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}
.skill-list {
    list-style: none;
}
.skill-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-mut);
    font-size: 15px;
}
.skill-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: var(--gold-deep);
    transform: rotate(45deg);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--bg-paper);
    position: relative;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--line);
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.card-border {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(212, 175, 55, 0.05);
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 2;
}

.project-tag {
    font-family: var(--font-deco);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-deep);
    display: block;
    margin-bottom: 15px;
}

.project-card h3 {
    font-family: var(--font-deco);
    font-size: 24px;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.project-card p {
    color: var(--text-mut);
    font-size: 14px;
    margin-bottom: 25px;
    font-weight: 300;
    line-height: 1.7;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tech-stack span {
    font-size: 11px;
    font-family: var(--font-deco);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border: 1px solid var(--line);
    color: var(--text-main);
    background: var(--bg-paper-alt);
}

@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
