:root {
    --bg: #1c0f13;
    --text: #fff5f7;
    --text-dark: #e8a5b2;
    --brand: #ff8fa3;
    --muted: #d4a3b3;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Cursor Overrides */
body,
a,
button,
input,
textarea {
    cursor: none !important;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--brand);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--muted);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

/* Magnetic Hover Interaction */
.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: var(--brand);
    background-color: rgba(255, 143, 163, 0.15);
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* Lenis */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 6rem);
    letter-spacing: 5px;
    margin-bottom: 2rem;
}

.loader-bar {
    width: 0%;
    height: 3px;
    background: var(--text);
    align-self: flex-start;
    margin-left: 20%;
}

/* Nav */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    mix-blend-mode: difference;
    z-index: 1000;
}

.logo {
    font-family: var(--font-heading);
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-btn {
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    border: 1px solid white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: white;
    color: black;
}

/* Hero Canvas Interactive Area */
.hero {
    height: 150vh;
    position: relative;
    padding-top: 25vh;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-text-wrapper {
    padding: 0 4rem;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 15vw, 15rem);
    line-height: 1.1;
    text-transform: uppercase;
    will-change: transform;
    pointer-events: none;
    /* so canvas can feel the mouse under it if we want, but tracking window works too */
}

.indent {
    margin-left: 15vw;
}

/* Quote Reveal */
.quote-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15vw;
    text-align: center;
    background: var(--bg);
    position: relative;
    z-index: 3;
    /* stays over canvas */
}

.reveal-text {
    font-size: clamp(2rem, 4.5vw, 4.5rem);
    line-height: 1.2;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.reveal-text .word {
    display: inline-block;
}

/* Horizontal Scroll */
.horizontal-section {
    height: 100vh;
    overflow: hidden;
    background-color: var(--text);
    color: var(--bg);
}

.h-scroll-container {
    display: flex;
    height: 100%;
    width: 400vw;
}

.h-panel {
    width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8vw;
}

.text-panel h2 {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 15vw, 12rem);
    line-height: 1.1;
    text-transform: uppercase;
}

/* Interactive Typography Cards */
.card-panel {
    align-items: center;
    perspective: 2000px;
    /* Strong perspective for 3D tilt */
}

.card-wrapper {
    width: 60vw;
    height: 70vh;
    background: linear-gradient(145deg, rgba(255, 143, 163, 0.1), rgba(255, 143, 163, 0.02));
    border: 1px solid rgba(255, 143, 163, 0.3);
    border-radius: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.1s ease-out, box-shadow 0.3s;
    transform-style: preserve-3d;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 143, 163, 0.05);
}

.card-wrapper:hover {
    box-shadow: 0 30px 70px rgba(255, 143, 163, 0.3), inset 0 0 30px rgba(255, 143, 163, 0.1);
    border-color: rgba(255, 143, 163, 0.7);
}

.card-content {
    transform: translateZ(80px);
    /* Pushes text forward from card surface */
    text-align: center;
    pointer-events: none;
}

.card-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1;
    color: var(--bg);
    /* Sharp dark contrast */
    margin-bottom: 1rem;
}

.card-desc {
    font-size: 1.5rem;
    color: #b73e5c;
    /* Darker elegant pink for readability */
    text-transform: uppercase;
    font-weight: 600;
}

/* Footer / CTA */
.footer-cta {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5vw;
    background: var(--bg);
    position: relative;
    z-index: 3;
}

.cta-content {
    width: 100%;
    max-width: 900px;
    margin-top: 20vh;
}

.retro-phone-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.retro-title {
    font-family: 'VT323', monospace;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 1;
    margin-bottom: 2rem;
    text-align: center;
    color: #ff91a4;
    /* Soft Coral/Bubblegum Pink from image */
    text-shadow: 4px 4px 0px rgba(255, 255, 255, 0.1);
}

.bow-icon {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.9em;
    font-weight: 300;
}

.phone-body {
    background: #fff0f5;
    /* Soft Hello Kitty White-Pink */
    padding: 2rem;
    border-radius: 40px;
    border: 4px solid #ffc2cd;
    box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.4), inset -5px -5px 15px rgba(255, 145, 164, 0.1);
    width: 100%;
    max-width: 500px;
}

.phone-screen {
    background: #ff91a4;
    /* Matched to the image pink */
    padding: 1rem;
    border-radius: 20px;
    border: 4px solid #c05167;
    margin-bottom: 2rem;
}

.retro-form {
    background: #ffe4e1;
    /* Soft Misty Rose LCD */
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px inset #ffc2cd;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: inset 0 0 15px rgba(255, 145, 164, 0.15);
}

.lcd-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lcd-input label {
    font-family: 'VT323', monospace;
    color: #c05167;
    /* Darker elegant pink */
    font-size: 1.5rem;
    line-height: 1;
}

.retro-input {
    background: transparent;
    border: none;
    border-bottom: 2px dashed #c05167;
    color: #c05167;
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    padding: 0.2rem 0;
    resize: none;
}

.retro-input:focus {
    outline: none;
    border-bottom: 2px solid #c05167;
    background: rgba(192, 81, 103, 0.05);
}

.retro-input::placeholder {
    color: rgba(192, 81, 103, 0.4);
}

.retro-btn {
    background: #fff;
    color: #ff91a4;
    font-family: 'VT323', monospace;
    font-size: 2rem;
    padding: 1rem;
    border: 3px outset #ffc2cd;
    cursor: none;
    margin-top: 1rem;
    transition: transform 0.1s;
}

.retro-btn:active {
    border-style: inset;
    transform: scale(0.98);
}

.phone-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 1rem;
}

.key {
    background: #fff;
    border: 4px solid #fff0f5;
    border-bottom-color: #ffc2cd;
    border-right-color: #ffc2cd;
    border-radius: 50% 50% 10px 10px;
    /* Chunky key shape */
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'VT323', monospace;
    font-size: 2rem;
    color: #ff91a4;
    cursor: none;
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s, box-shadow 0.1s;
}

.key:active,
.key:hover:active {
    transform: translateY(4px);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    border-bottom-width: 2px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 2rem 4rem;
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
}

/* About Section */
.about-section {
    position: relative;
    background: var(--text);
    /* Light theme for this block to contrast with dark */
    color: var(--bg);
    padding: 10vh 5vw;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about-pin {
    width: 50%;
    height: 100vh;
    display: flex;
    align-items: center;
}

.massive-name {
    font-family: var(--font-heading);
    font-size: clamp(8rem, 15vw, 22rem);
    line-height: 0.8;
    color: var(--brand);
    /* Signature pink */
    transition: transform 0.3s;
}

.massive-name:hover {
    transform: scale(1.02);
}

.massive-name span {
    color: var(--bg);
    /* Deep dot to match bg */
}

.about-scrollable {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding-top: 30vh;
    padding-bottom: 30vh;
}

.about-block {
    margin-bottom: 60vh;
}

.about-block:last-child {
    margin-bottom: 20vh;
}

.about-block h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    font-family: var(--font-body);
}

.about-block p {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-family: var(--font-heading);
}

/* Responsive Overrides */
@media(max-width: 1024px) {
    .quote-section {
        padding: 0 10vw;
    }

    .card-wrapper {
        width: 80vw;
    }

    .about-container {
        flex-direction: column;
    }

    .about-pin {
        width: 100%;
        height: 60vh;
    }

    .about-scrollable {
        width: 100%;
        padding-top: 10vh;
        padding-bottom: 20vh;
    }

    .about-block {
        margin-bottom: 20vh;
    }

    .massive-name {
        font-size: clamp(8rem, 25vw, 15rem);
        text-align: center;
        width: 100%;
    }
}

@media(max-width: 768px) {
    .site-nav {
        padding: 1.5rem;
    }

    .hero {
        height: 100vh;
        padding-top: 15vh;
    }

    .hero-text-wrapper {
        padding: 0 1.5rem;
    }

    .indent {
        margin-left: 0;
    }

    .quote-section {
        padding: 0 2rem;
    }

    .card-wrapper {
        width: 85vw;
        height: 50vh;
    }

    .footer-bottom {
        padding: 2rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}