:root {
    --gold: #c8972a;
    --gold-light: #e8b84b;
    --gold-pale: #f5e8c8;
    --dark: #0d0b08;
    --dark-2: #1a1610;
    --dark-3: #252016;
    --mid: #3a3020;
    --text: #e8e0d0;
    --text-muted: #9a9080;
    --white: #faf8f4;
    --accent: #8b5e3c;
    --himalaya: #4a7c9e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease, opacity 0.3s;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: linear-gradient(to bottom, rgba(13, 11, 8, 0.95), transparent);
    backdrop-filter: blur(2px);
    transition: background 0.4s;
}

nav.scrolled {
    background: rgba(13, 11, 8, 0.98);
}

.nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
}
.nav-logo a {
    text-decoration: none;
    color: inherit;
}

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

.nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 1px;
    background: var(--gold);
    transition: all 0.3s;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(139, 94, 60, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(74, 124, 158, 0.08) 0%, transparent 50%);
}

.hero-lines {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(200, 151, 42, 0.04) 80px);
}

.hero-tag {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    opacity: 0;
    animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-name em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-tagline {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 420px;
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin: 2rem 0;
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
}

.hero-origin {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeUp 1s ease 1.1s forwards;
}

.hero-origin svg {
    color: var(--gold);
    flex-shrink: 0;
}

.hero-socials {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
    opacity: 0;
    animation: fadeUp 1s ease 1.3s forwards;
}

.hero-socials a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(200, 151, 42, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.hero-socials a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200, 151, 42, 0.1);
    transform: translateY(-3px);
}

.hero-right {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-photo-frame {
    position: relative;
    width: 360px;
    opacity: 0;
    animation: fadeIn 1.2s ease 0.8s forwards;
}

.hero-photo-frame::before {
    content: '';
    position: absolute;
    inset: -16px;
    border: 1px solid rgba(200, 151, 42, 0.2);
    border-radius: 2px;
}

.hero-photo-frame::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
    background: rgba(200, 151, 42, 0.06);
    border-radius: 2px;
    z-index: -1;
}

.hero-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    filter: sepia(10%) contrast(1.05);
}

/* Placeholder avatar when no image */
.hero-avatar-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--dark-3) 0%, var(--mid) 100%);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--gold);
}

.hero-avatar-placeholder svg {
    opacity: 0.6;
}

.hero-avatar-placeholder span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-style: italic;
}

.hero-photo-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--dark-2);
    border: 1px solid rgba(200, 151, 42, 0.3);
    padding: 1rem 1.4rem;
    border-radius: 2px;
}

.hero-photo-badge .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
}

.hero-photo-badge .lbl {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease infinite;
}

/* SECTION COMMON */
section {
    padding: 3rem 6rem 7rem 6rem;
}

.section-tag {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-title em {
    font-style: italic;
    color: var(--gold-light);
}

.gold-rule {
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem 0 2.5rem;
}

/* ABOUT */
#about {
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: 'PRALHAD';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: 'Cinzel', serif;
    font-size: 8rem;
    color: rgba(200, 151, 42, 0.04);
    letter-spacing: 0.3em;
    pointer-events: none;
    white-space: nowrap;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.about-text p strong {
    color: var(--text);
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(200, 151, 42, 0.06);
    border: 1px solid rgba(200, 151, 42, 0.15);
    padding: 1.8rem;
    border-radius: 2px;
    transition: border-color 0.3s, transform 0.3s;
}

.stat-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.stat-card .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card .desc {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.journey-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 1px solid rgba(200, 151, 42, 0.2);
    margin-top: 1.5rem;
}

.journey-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.journey-item::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 0.4rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(200, 151, 42, 0.5);
}

.journey-year {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.journey-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* VENTURES */
#ventures {
    background: var(--dark);
}

.ventures-intro {
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.ventures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.venture-card {
    background: var(--dark-2);
    border: 1px solid rgba(200, 151, 42, 0.1);
    border-radius: 2px;
    padding: 2.2rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.venture-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.venture-card:hover {
    border-color: rgba(200, 151, 42, 0.35);
    transform: translateY(-6px);
}

.venture-card:hover::before {
    transform: scaleX(1);
}

.venture-icon {
    width: 48px;
    height: 48px;
    background: rgba(200, 151, 42, 0.1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    font-size: 1.4rem;
}

.venture-type {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.venture-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.venture-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

.venture-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.venture-link {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border: 1px solid rgba(200, 151, 42, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    transition: all 0.3s;
}

.venture-link:hover {
    background: rgba(200, 151, 42, 0.15);
    border-color: var(--gold);
}

.venture-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(200, 151, 42, 0.15);
    color: var(--gold);
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
}

/* PERSONAL */
#personal {
    background: var(--dark-2);
    position: relative;
}

.personal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.personal-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.5;
    position: relative;
    padding-left: 2rem;
}

.personal-quote::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -1rem;
    font-size: 6rem;
    color: rgba(200, 151, 42, 0.15);
    font-style: normal;
    line-height: 1;
}

.personal-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(200, 151, 42, 0.04);
    border: 1px solid rgba(200, 151, 42, 0.1);
    border-radius: 2px;
    transition: border-color 0.3s;
}

.detail-row:hover {
    border-color: rgba(200, 151, 42, 0.3);
}

.detail-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    padding-top: 2px;
}

.detail-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* CONTACT */
#contact {
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(200, 151, 42, 0.06) 0%, transparent 70%);
}

.contact-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.contact-email {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--gold-light);
    font-style: italic;
    margin: 2rem 0;
}

.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.social-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.4rem;
    border: 1px solid rgba(200, 151, 42, 0.25);
    border-radius: 100px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    transition: all 0.3s;
}

.social-pill:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200, 151, 42, 0.08);
    transform: translateY(-3px);
}

/* FOOTER */
footer {
    background: var(--dark-2);
    text-align: center;
    padding: 2.5rem;
    border-top: 1px solid rgba(200, 151, 42, 0.1);
}

footer p {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

footer span {
    color: var(--gold);
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

.reveal-delay-4 {
    transition-delay: 0.6s;
}

.reveal-delay-5 {
    transition-delay: 0.75s;
}

/* MOBILE */
@media (max-width: 1024px) {
    nav {
        padding: 1.2rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 5rem;
    }

    .hero-left {
        text-align: center;
    }

    .hero-divider {
        margin: 1.5rem auto;
    }

    .hero-origin {
        justify-content: center;
    }

    .hero-socials {
        justify-content: center;
    }

    .hero-right {
        height: 60vw;
        min-height: 320px;
    }

    .hero-photo-frame {
        width: 220px;
    }

    section {
        padding: 4rem 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .ventures-grid {
        grid-template-columns: 1fr;
    }

    .personal-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nav-mobile {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: rgba(13, 11, 8, 0.98);
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 90;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

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

    .nav-mobile a {
        font-family: 'Cinzel', serif;
        font-size: 1.5rem;
        color: var(--text);
        text-decoration: none;
        letter-spacing: 0.2em;
        transition: color 0.3s;
    }

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

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