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

:root {
    --ink: #0e0e0e;
    --soft-ink: #1f1f1f;
    --paper: #ffffff;
    --mist: #f2f2f2;
    --line: #d9d9d9;
    --accent: #151515;
}

body {
    background: #1a1a2e;
    color: var(--ink);
    font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 6vw;
    align-items: center;
    padding: 8vh 8vw 6vh;
    scroll-snap-align: start;
    min-height: 100vh;
    background: radial-gradient(circle at 10% 10%, #f7f7f7 0%, #ffffff 55%, #f5f5f5 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.hero-copy {
    max-width: 520px;
    animation: fade-up 0.8s ease forwards;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.36em;
    font-size: 0.72rem;
    color: var(--soft-ink);
    margin-bottom: 18px;
}

.hero-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 18px;
}

.hero-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--soft-ink);
    margin-bottom: 28px;
}

.text-dan {
    color: #6366f1;
    font-weight: 500;
}

.text-creative {
    color: #ec4899;
    font-weight: 500;
}

.hero-image {
    position: relative;
    margin: 0;
    padding: 0;
    background: #f9f7f3;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.12);
    transform: rotate(1.5deg);
    animation: fade-up 0.9s ease 0.15s forwards;
    opacity: 0;
}

.hero-image::before {
    content: "A Beginning";
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: "Times New Roman", serif;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.3em;
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 8px;
    margin: 0 16px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.1);
    padding: 50px 16px 16px;
}

.hero-image figcaption {
    font-size: 0.75rem;
    color: var(--soft-ink);
    margin-top: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.details {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 4vh 8vw 8vh;
}

.detail-card {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    animation: fade-up 0.8s ease forwards;
    opacity: 0;
}

.detail-card:nth-child(1) {
    animation-delay: 0.1s;
}

.detail-card:nth-child(2) {
    animation-delay: 0.2s;
}

.detail-card:nth-child(3) {
    animation-delay: 0.3s;
}

.detail-card h2 {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.detail-card p {
    color: var(--soft-ink);
    line-height: 1.6;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 6vh;
    }

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

@media (max-width: 600px) {
    .hero {
        padding: 5vh 6vw 4vh;
    }

    .hero-image {
        transform: rotate(0.5deg);
    }
}

/* Scroll Container */
.scroll-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y proximity;
}

/* Gabe Section */
.gabe-section {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #4a6274 50%, #5d7a8c 75%, #6b8a9e 100%);
    position: relative;
    overflow: hidden;
}

.gabe-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(241, 196, 15, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(192, 57, 43, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.gabe-image {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    max-width: 90vw;
    max-height: 85vh;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

.gabe-image img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes gabe-reveal {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-copy,
    .hero-image,
    .detail-card,
    .gabe-image {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .scroll-container {
        scroll-behavior: auto;
    }
}
