:root {
    --color-dark: #0a0a0a;
    --color-light: #f4f3f0;
    --color-text-dark: #111111;
    --color-text-light: #ffffff;
    --color-accent: #7bc13a;
    /* Green script color */
    --color-subtle: #888888;

    --font-main: 'Outfit', sans-serif;
    --font-script: 'Caveat', cursive;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    background-color: var(--color-dark);
    overflow-x: hidden;
}

/* NOISE AND TEXTURES */
.noise-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
    background: transparent;
    filter: url(#noiseFilter);
}

.paper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23ffffff' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

/* SECTION 1: HERO */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--color-text-light);
}

.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: overlay;
    animation: pulse 4s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUpFade {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideLeftFade {
    0% {
        opacity: 0;
        transform: translateX(30px) rotate(-5deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(-5deg);
    }
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #cccccc;
    margin-bottom: -20px;
    margin-left: -500px;
    opacity: 0;
    animation: slideDownFade 1s ease-out 0.2s forwards;
}

.title {
    font-size: 15vw;
    font-weight: 900;
    line-height: 1;
    text-transform: capitalize;
    background: linear-gradient(180deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
    text-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: scaleUpFade 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}

.signature {
    font-family: var(--font-script);
    color: var(--color-accent);
    font-size: 6vw;
    position: absolute;
    bottom: -20px;
    right: 0;
    opacity: 0;
    transform: rotate(-5deg);
    animation: slideLeftFade 1s ease-out 1s forwards;
}

/* SECTION 2: ABOUT */
.about {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background-color: var(--color-light);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 5%;
}

.about-container {
    position: relative;
    z-index: 2;
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
    padding-right: 20px;
}

.hello-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.hello {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    color: var(--color-text-dark);
}

.signature-note {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    opacity: 0.8;
}

.i-am {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 40px;
}

.greetings {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.portrait-placeholder {
    width: 400px;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.portrait-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(120%);
}

/* SECTION 3: TOC (EXPERTISE) */
.toc {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background-color: var(--color-light);
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toc-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.toc-title {
    font-size: 8rem;
    font-weight: 900;
    line-height: 0.8;
    margin-bottom: 80px;
    position: relative;
    letter-spacing: -3px;
}

.script-accent {
    font-family: var(--font-script);
    font-size: 5rem;
    color: var(--color-accent);
    position: absolute;
    top: -40px;
    left: 20px;
    font-weight: 400;
    z-index: 2;
    transform: rotate(-5deg);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 60px 40px;
}

.grid-item {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.bg-number {
    position: absolute;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.item-title {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.script-overlay {
    font-family: var(--font-script);
    color: var(--color-accent);
    font-size: 2.5rem;
    font-weight: 400;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: rotate(-10deg);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .subtitle {
        margin-left: 0;
        margin-bottom: 0;
        font-size: 1.2rem;
    }

    .title {
        font-size: 20vw;
    }

    .signature {
        font-size: 10vw;
        bottom: -30px;
    }

    .about-container {
        flex-direction: column;
    }

    .hello {
        font-size: 5rem;
    }

    .signature-note {
        font-size: 2rem;
    }

    .portrait-placeholder {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 4/5;
    }

    .toc-title {
        font-size: 5rem;
    }

    .script-accent {
        font-size: 3.5rem;
        top: -30px;
        left: 0;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .item-title {
        font-size: 1.8rem;
    }

    .script-overlay {
        font-size: 2rem;
    }
}

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