:root {
    --c-dark-blue: #1A116E;
    --c-pink: #DE4A7F;
    --c-orange: #F09A46;
    --c-white: #FFFFFF;
    --c-black: #111111;
    --c-gray: #f5f5f7;
    
    --font-heading: 'Puffin Display', 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--c-dark-blue);
    background-color: var(--c-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* --- THE PAST --- */
#the-past {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-color: var(--c-black);
    color: var(--c-white);
    z-index: 100;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

#the-past.revealed {
    transform: translateY(-100vh);
}

.past-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.old-logo {
    max-width: 300px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity 0.3s;
}
.old-logo:hover { opacity: 1; filter: grayscale(0%); cursor: pointer; }

.past-caption {
    margin-top: 1rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
    opacity: 0.5;
}

.interaction-hint {
    animation: bounce 2s infinite;
    opacity: 0.7;
}

.mouse-icon {
    width: 30px; height: 50px;
    border: 2px solid var(--c-white);
    border-radius: 15px;
    margin: 1rem auto;
    position: relative;
}

.wheel {
    width: 4px; height: 8px;
    background: var(--c-white);
    border-radius: 2px;
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-15px); } 60% { transform: translateY(-7px); } }
@keyframes scroll { 0% { top: 8px; opacity: 1; } 100% { top: 24px; opacity: 0; } }

/* --- OVERLAY WAVES --- */
.wave-transition-overlay {
    position: fixed;
    top: 100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99;
    pointer-events: none;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
.wave-transition-overlay img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    transform: translateY(-50%);
    opacity: 0.9;
}

.wave-transition-overlay.revealed {
    transform: translateY(-200vh);
}

/* MAIN CONTENT (Hidden init) */
main.locked {
    height: 100vh;
    overflow: hidden;
}

/* --- THE REVEAL HERO --- */
.hero-container {
    text-align: center;
    z-index: 2;
    position: relative;
    padding-top: 10vh;
}

.new-logo {
    max-width: 400px;
    margin-bottom: 3rem;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--c-dark-blue);
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #555;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.scroll-down {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-pink);
}

.bg-lines {
    position: absolute;
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
}
.line-hero {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: contain;
}

/* ANIMATIONS */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* BRAND ELEMENTS */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--c-dark-blue);
    margin-bottom: 1rem;
}

.element-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.color-card {
    background: var(--c-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 17, 110, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.color-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 17, 110, 0.1);
}

.color-swatch {
    height: 150px;
    width: 100%;
}
.color-card.dark-blue .color-swatch { background-color: var(--c-dark-blue); }
.color-card.pink .color-swatch { background-color: var(--c-pink); }
.color-card.orange .color-swatch { background-color: var(--c-orange); }
.color-card.white .color-swatch { background-color: var(--c-white); border-bottom: 1px solid #eee; }

.color-info {
    padding: 2rem;
}
.color-info h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.color-info .hex {
    display: inline-block;
    background: var(--c-gray);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-family: monospace;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* TYPOGRAPHY */
.typography-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}
.type-card {
    padding: 3rem;
    border-radius: 24px;
    background: var(--c-gray);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.type-card.primary { background: var(--c-dark-blue); color: var(--c-white); }
.type-card.primary .type-header .badge { background: var(--c-pink); color: var(--c-white); }
.type-card.primary .type-desc { color: rgba(255,255,255,0.8); }

.type-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.badge { background: var(--c-dark-blue); color: var(--c-white); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.type-sample { font-size: 3rem; margin-bottom: 1.5rem; word-break: break-all; line-height: 1.1; }
.type-sample.puffin { font-family: var(--font-heading); }
.type-sample.montserrat { font-family: var(--font-body); }
.type-desc { font-size: 0.95rem; }

/* ASSETS */
.assets-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}
.asset-card {
    display: flex;
    flex-direction: column;
    background: var(--c-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.asset-img-wrapper {
    padding: 2rem;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.asset-img-wrapper.dark-blue-bg { background: var(--c-gray); }
.asset-img-wrapper.pink-bg { background: var(--c-gray); }

.asset-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.asset-content { padding: 2rem; }
.asset-content h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }

/* FADE IN SCROLL */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    text-align: center;
    padding: 4rem 0;
    background: var(--c-gray);
    margin-top: 4rem;
}
.footer-logo { max-width: 150px; margin-bottom: 1rem; opacity: 0.8; }

@media (max-width: 768px) {
    .assets-section { grid-template-columns: 1fr; }
    h1 { font-size: 2.2rem; }
    .old-logo { max-width: 200px; }
    .new-logo { max-width: 250px; }
    .type-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
