/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --purple: #9338F4;
    --purple-light: #a85ff6;
    --purple-dark: #6b20c0;
    --blue-deep: #0019FF;
    --blue-light: #00B1FF;
    --sideral: #02021E;
    --bg-dark: #161616;
    --text-white: #f0eef5;
    --text-muted: rgba(255,255,255,0.6);
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--purple) transparent;
    scroll-snap-type: y proximity;
}

body {
    scroll-snap-type: y proximity;
    background: #000;
    color: var(--text-white);
    font-family: 'Quicksand', sans-serif;
    overflow-x: hidden;
    cursor: none;
}

/* Light patches background for sections after hero */
.page-content {
    position: relative;
    background: #000;
}

/* Planet background — starts at statement section, covers rest */
.planet-bg-wrap {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.planet-bg-wrap canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#planet-stars-canvas {
    z-index: 1;
}

.statement-section,
.bio-section,
.section-divider,
.cta-section,
#footer {
    position: relative;
    z-index: 1;
}

a { color: inherit; text-decoration: none; cursor: none; }
img { max-width: 100%; display: block; }
em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; }

::selection {
    background: rgba(142, 117, 179, 0.4);
    color: #fff;
}

/* ============ CUSTOM CURSOR ============ */
#custom-cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: 10001;
    pointer-events: none;
    mix-blend-mode: screen;
    will-change: transform;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
    opacity: 0;
}

#custom-cursor.visible {
    opacity: 1;
}

#custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 12px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: radial-gradient(circle, #fff 0%, rgba(147,56,244,0.6) 70%, transparent 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(147,56,244,0.5), 0 0 20px rgba(147,56,244,0.2);
}

#cursor-trail {
    position: fixed;
    inset: 0;
    z-index: 10002;
    pointer-events: none;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}

/* ============ NAVIGATION ============ */
#main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1003;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3rem;
    background: linear-gradient(to bottom, rgba(8,7,15,0.6), transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#main-nav.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-logo {
    height: 22px;
    width: auto;
    filter: brightness(1.1);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.2rem;
}

.nav-links a {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--purple-light);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: rgba(12, 11, 24, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 0.6rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.6rem 1.4rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown li a:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple-light);
}

.dropdown li a::after {
    display: none;
}

/* Social icons in nav */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Hamburger button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    padding: 4px;
    cursor: none;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.hamburger-btn.active {
    position: fixed;
    top: 0.8rem;
    right: 1.2rem;
    z-index: 1005;
}

.hamburger-btn.active span {
    width: 26px;
    height: 3px;
    background: #fff;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(8, 7, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li a {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.mobile-nav-links li a:hover {
    color: var(--purple-light);
}

.mobile-nav-dropdown {
    list-style: none;
    padding: 0.8rem 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.mobile-nav-dropdown a {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.55) !important;
    letter-spacing: 0.08em;
}

.mobile-nav-dropdown a:hover {
    color: var(--purple-light) !important;
}

.mobile-nav-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.mobile-nav-socials a {
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav-socials a:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* ============ FIXED BUTTONS ============ */
#fixed-buttons {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#fixed-buttons.nav-hidden {
    transform: translateY(-50%) translateX(120%);
    opacity: 0;
}

.btn-fixed {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--purple-light);
    backdrop-filter: blur(10px);
}

.btn-fixed:hover {
    background: rgba(139, 92, 246, 0.35);
    border-color: var(--purple-light);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    transform: scale(1.05);
}

.btn-star {
    font-size: 0.8em;
}

/* ============ BACKGROUND AURA ============ */
#light-trails-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

#chrome-canvas {
    display: none;
}

/* ============ GRAIN OVERLAY ============ */
.grain-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 100;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    mix-blend-mode: overlay;
}

/* ============ HERO SECTION ============ */
.hero-about {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent, #000);
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    text-align: center;
    padding-top: 12vh;
    display: flex;
    justify-content: center;
}

.hero-content {
    max-width: 700px;
    padding: 2rem;
}

.hero-video {
    position: absolute;
    bottom: -25%;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
    filter: contrast(1.15) brightness(0.95);
}

#chrome-canvas {
    display: none;
}

.hero-label {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(142,117,179,0.3);
}

.hero-title em {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15em;
    color: var(--purple-light);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-white);
}

/* ============ BIO EDITORIAL SECTION ============ */
.bio-editorial {
    padding: 2rem 5%;
    position: relative;
    z-index: 1;
    overflow: visible;
    scroll-snap-align: center;
}

.bio-editorial-inner {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 3fr auto;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 0;
    min-height: 600px;
}

/* Paragraph text — left side */
.editorial-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    z-index: 5;
    align-self: start;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    padding-top: 12rem;
    grid-column: 1;
    grid-row: 1;
}

/* Photo — center */
.editorial-photo-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 700px;
    z-index: 2;
    grid-column: 2;
    grid-row: 1 / 3;
}

.editorial-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.editorial-blur-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Typography — vertical words, right of photo */
.editorial-typo-right {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    align-self: end;
    margin-bottom: 2rem;
    z-index: 3;
    gap: 0.3rem;
    grid-column: 3;
    grid-row: 1 / 3;
}

.editorial-word-sm,
.editorial-word-lg {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    color: #fff;
}

.editorial-word-sm {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: clamp(1.3rem, 2vw, 2rem);
    letter-spacing: 0.35em;
    opacity: 0.8;
}

.editorial-word-lg {
    font-family: 'Wallington Pro', 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(4.5rem, 7vw, 7.5rem);
    letter-spacing: 0.05em;
    line-height: 0.9;
}

.editorial-word-passionate {
    margin-bottom: 3rem;
}

/* Bottom paragraph — after words */
.editorial-text-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    z-index: 5;
    padding: 1.5rem 1.5rem 0;
    grid-column: 1;
    grid-row: 2;
}

/* Decorative stars */
.editorial-star {
    position: absolute;
    color: var(--purple);
    z-index: 4;
    animation: starSpin 8s linear infinite;
}

.star-1 {
    top: 18%;
    right: -1.5rem;
    font-size: 2.5rem;
}

.star-2 {
    bottom: 15%;
    right: -2rem;
    font-size: 2rem;
    animation-duration: 6s;
}

.star-3 {
    top: 50%;
    right: -1rem;
    font-size: 0.8rem;
    animation-duration: 10s;
    animation-direction: reverse;
}

.star-5 {
    top: 22%;
    right: 12rem;
    font-size: 0.9rem;
    animation-duration: 9s;
}

.star-6 {
    top: 48%;
    right: 10rem;
    font-size: 1.4rem;
    animation-duration: 7s;
    animation-direction: reverse;
}

.star-7 {
    bottom: 15%;
    right: 13rem;
    font-size: 0.6rem;
    animation-duration: 5s;
}

@keyframes starSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============ STATEMENT SECTION ============ */
.statement-section {
    padding: 16rem 5% 8rem;
    position: relative;
    z-index: 1;
}

.statement-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.statement-big {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--text-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.statement-small {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.statement-cursive {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 1.5rem;
    letter-spacing: 0.02em;
}

/* ============ BIO SECTION (second) ============ */
.bio-section {
    padding: 3rem 10%;
    position: relative;
    z-index: 1;
}

.bio-content {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.6fr 1fr;
    align-items: center;
    gap: 4rem;
    justify-content: center;
}

.bio-reverse .bio-content {
    direction: ltr;
}

.bio-text {
    flex: 1;
}

.bio-paragraph {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 300;
    line-height: 1.9;
    color: #fff;
    margin-bottom: 2rem;
}

.bio-section .bio-paragraph {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    line-height: 1.8;
    color: #fff;
}

.bio-paragraph:last-child { margin-bottom: 0; }

.bio-photo-wrap {
    width: 100%;
    height: auto;
    overflow: hidden;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.bio-photo-wrap:hover {
    box-shadow: none;
}

.bio-photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s;
}

.bio-photo-wrap:hover .bio-photo {
    transform: scale(1.03);
}

/* ============ SECTION DIVIDER ============ */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.divider-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
}

.divider-star-svg {
    font-size: 1rem;
    color: var(--purple-light);
    opacity: 0.6;
    animation: pulse-star 3s ease-in-out infinite;
}

@keyframes pulse-star {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* ============ STUDIO SECTION (particle text) ============ */
.studio-section {
    padding: 0;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#particle-text-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.studio-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 5%;
    margin-top: 12rem;
}

.studio-text-wrap {
    margin-top: 1rem;
}

.studio-text {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.studio-text:last-child { margin-bottom: 0; }

/* ============ CTA SECTION ============ */
.cta-section {
    padding: 4rem 5% 10rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-video {
    width: 50%;
    height: auto;
    display: block;
    margin: 4rem auto 0;
}

.cta-text {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.cta-headline em {
    font-size: 1.15em;
    color: var(--purple-light);
}

.cta-line {
    display: block;
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    filter: blur(6px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-line.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.cta-content .cta-button {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-content .cta-button.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.cta-signature {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--purple-light);
    margin-bottom: 3rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid rgba(142,117,179,0.5);
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-white);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(142,117,179,0.2), rgba(90,61,122,0.3));
    opacity: 0;
    transition: opacity 0.4s;
}

.cta-button:hover {
    border-color: var(--purple-light);
    box-shadow: 0 0 30px rgba(142,117,179,0.3);
    transform: translateY(-2px);
}

.cta-button:hover::before { opacity: 1; }

.cta-button span { font-size: 0.7em; opacity: 0.6; }

/* ============ FOOTER ============ */
#footer {
    padding: 4rem 2rem 2rem;
    background: transparent;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-logo {
    width: 220px;
    margin: 0 auto 0.8rem;
    opacity: 0.8;
}

.footer-tagline {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.footer-socials a {
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
    opacity: 1;
    transform: scale(1.2);
}

.footer-copy {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.08em;
}

/* ============ ANIMATIONS (initial states) ============ */
.anim-fade {
    opacity: 0;
    transform: translateY(30px);
}

.anim-slide {
    opacity: 0;
    transform: translateX(-40px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .bio-content, .bio-reverse .bio-content {
        flex-direction: column;
        text-align: center;
    }

    .bio-photo-wrap {
        width: 280px;
        height: 360px;
    }
}

@media (max-width: 768px) {
    .desktop-br { display: none; }
    /* Nav */
    #main-nav { padding: 0.8rem 1.2rem; }
    .nav-center { display: none; }
    .nav-right .social-icons { display: none; }
    .hamburger-btn { display: flex; }
    .mobile-nav-overlay { display: flex; }
    .nav-logo { height: 28px; }

    /* Fixed buttons — bottom bar */
    #fixed-buttons {
        right: 50%;
        transform: translateX(50%);
        top: auto;
        bottom: 1.2rem;
        flex-direction: row;
        gap: 0.6rem;
        width: calc(100% - 2rem);
        justify-content: center;
    }
    #fixed-buttons.nav-hidden {
        transform: translateX(50%) translateY(120%);
    }
    .btn-fixed {
        font-size: 0.8rem;
        padding: 1rem 1.5rem;
        backdrop-filter: blur(15px);
        flex: 1;
        justify-content: center;
        max-width: 48%;
    }
    .btn-star { font-size: 0.85em; }

    /* Footer — extra bottom padding for fixed buttons */
    #footer { padding: 3rem 1.5rem 6rem; }
    .footer-logo { width: clamp(160px, 45vw, 220px); }
    .footer-tagline { font-size: 0.85rem; }
    .footer-socials { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
    .footer-copy { font-size: 0.7rem; }

    /* Hero — reduce empty space */
    .hero-about { height: 100vh; min-height: auto; }
    .hero-overlay { padding-top: 15vh; }
    .hero-label { font-size: 0.7rem; letter-spacing: 3px; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-video {
        bottom: 0;
        width: 280%;
        left: -90%;
    }

    /* Bio editorial — single column, no snap on mobile */
    .bio-editorial { padding: 2rem 0; scroll-snap-align: none; }
    .bio-editorial-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 0;
    }
    .editorial-text {
        order: 1;
        padding: 3rem 8% 0.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        grid-column: auto;
        grid-row: auto;
        align-self: auto;
    }
    .editorial-text-bottom {
        order: 4;
        padding: 1.5rem 8% 0;
        text-align: center;
        grid-column: auto;
        grid-row: auto;
    }
    .editorial-photo-wrap {
        order: 2;
        min-height: 55vh;
        width: 100%;
        margin-top: -2rem;
        grid-column: auto;
        grid-row: auto;
    }
    .editorial-photo {
        object-fit: cover;
        object-position: top center;
    }
    .editorial-typo-right {
        order: 3;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-left: 0;
        padding-top: 0.5rem;
        width: 100%;
        gap: 0.2rem;
        text-align: center;
        margin: 0 auto;
        position: relative;
        padding-bottom: 2rem;
        grid-column: auto;
        grid-row: auto;
    }
    .editorial-word-lg,
    .editorial-word-sm {
        writing-mode: horizontal-tb !important;
        transform: none !important;
    }
    .editorial-word-lg { font-size: 2.5rem; }
    .editorial-word-sm { font-size: 0.85rem; letter-spacing: 0.35em; }
    .editorial-word-passionate { margin-bottom: 0; }
    /* Stars — scattered around the words */
    .editorial-star {
        position: absolute !important;
        display: block !important;
        opacity: 0.7;
    }
    .star-6 { top: 8px; left: 15%; font-size: 1.1rem !important; }
    .star-5 { top: 40%; left: 2%; font-size: 0.8rem !important; }
    .star-2 { display: none !important; }
    .star-1 { top: 30%; right: 25%; left: auto !important; font-size: 0.85rem !important; }
    .star-3 { bottom: 30%; right: 28%; left: auto !important; top: auto !important; font-size: 0.8rem !important; display: block !important; }

    /* Statement section — less top padding on mobile */
    .statement-section { padding: 8rem 5% 5rem; }
    .statement-small { font-size: 1.2rem; }
    .statement-cursive { font-size: clamp(1.15rem, 4.2vw, 1.4rem); }

    /* Bio section (magazine photo) — stack vertically */
    .bio-section { padding: 3rem 6%; }
    .bio-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .bio-photo-wrap {
        width: 80%;
        max-width: 280px;
        height: auto;
        margin: 0 auto;
    }
    .bio-section .bio-paragraph {
        font-size: clamp(1.15rem, 4.2vw, 1.4rem);
        line-height: 1.6;
    }
    .bio-paragraph { font-size: clamp(1.15rem, 4.2vw, 1.4rem); }

    /* Studio section */
    .studio-section { min-height: 80vh; }
    .studio-content { margin-top: 8rem; }
    .studio-text { font-size: 0.95rem; }

    /* CTA */
    .cta-section { padding: 4rem 6% 6rem; }
    .cta-headline { font-size: 1.6rem; }

    /* Decorative elements */
    .deco-planet { width: 120px; top: 5%; right: 3%; }
    .deco-constellation { width: 200px; }
    .deco-stars-1 { width: 180px; }
    .deco-stars-2 { width: 150px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-video {
        bottom: 5%;
        width: 300%;
        left: -100%;
    }

    .editorial-text { padding-top: 3rem; }
    .editorial-photo-wrap { min-height: 50vh; margin-top: -2rem; }
    .editorial-word-lg { font-size: 1.8rem; }
    .editorial-word-sm { font-size: 0.65rem; }

    .bio-section .bio-paragraph { font-size: clamp(1.15rem, 4.2vw, 1.4rem); }
    .bio-photo-wrap { width: 75%; max-width: 260px; }

    .studio-text { font-size: 0.9rem; }
    .cta-text { font-size: 0.9rem; }
    .cta-headline { font-size: 1.4rem; }
    .cta-button { padding: 0.85rem 2rem; font-size: 0.78rem; letter-spacing: 2px; }

    .nav-logo { height: 24px; }
    .mobile-nav-links li a { font-size: 1.1rem; }
    .mobile-nav-dropdown a { font-size: 0.85rem !important; }
    .btn-fixed { font-size: 0.75rem; padding: 0.9rem 1.2rem; }
    #fixed-buttons { bottom: 1rem; }
    .footer-logo { width: clamp(140px, 50vw, 180px); }

    /* Popup form responsive */
    .popup-modal {
        width: min(380px, 92vw);
        padding: 22px 20px;
        border-radius: 18px;
        max-height: 90vh;
    }
    .popup-title { font-size: clamp(1.2rem, 4vw, 1.4rem); }
    .popup-subtitle { font-size: 0.78rem; margin-bottom: 16px; }
    .popup-field label { font-size: 0.7rem; }
    .popup-field input,
    .popup-field textarea { font-size: 0.85rem; padding: 9px 12px; border-radius: 10px; }
    .popup-submit { padding: 12px 32px; font-size: 0.82rem; }
}

@media (max-width: 360px) {
    .hero-title { font-size: 1.8rem; }
    .cta-headline { font-size: 1.3rem; }
}

/* ============ PROJECT FORM POPUP ============ */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow: hidden;
}

.popup-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

#popup-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.glow-spot {
    position: absolute;
    pointer-events: none;
    filter: blur(25px);
    opacity: 0;
    animation: glowPulse var(--dur) ease-in-out var(--delay) infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0; transform: scale(0.7) rotate(0deg); }
    30% { opacity: 0.9; transform: scale(1.1) rotate(8deg); }
    70% { opacity: 0.6; transform: scale(0.95) rotate(-5deg); }
}

.popup-modal {
    position: relative;
    z-index: 1;
    width: min(420px, 90vw);
    max-height: 96vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 28px 32px;
    border-radius: 24px;
    background: rgba(22, 22, 22, 0.02);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.025);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-modal::-webkit-scrollbar { display: none; }

.popup-overlay.open .popup-modal {
    transform: translateY(0) scale(1);
}

.popup-inner { position: relative; z-index: 1; }

.popup-close {
    position: absolute;
    top: 1.2rem; right: 1.4rem;
    background: none; border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem 0.5rem;
    transition: color 0.2s;
    z-index: 2;
}

.popup-close:hover { color: rgba(60, 200, 240, 0.9); }

.popup-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 1.5rem);
    font-weight: 600;
    color: rgba(60, 200, 240, 0.92);
    margin: 0 0 6px;
    letter-spacing: 0.01em;
}

.popup-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(60, 190, 230, 0.4);
    margin: 0 0 20px;
    letter-spacing: 0.03em;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.popup-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.popup-field label {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(60, 190, 230, 0.55);
}

.popup-field input,
.popup-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    color: rgba(60, 200, 240, 0.9);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    resize: none;
}

.popup-field textarea { min-height: 60px; }

.popup-field input::placeholder,
.popup-field textarea::placeholder { color: rgba(255, 255, 255, 0.2); }

.popup-field input:focus,
.popup-field textarea:focus {
    border-color: rgba(100, 80, 255, 0.4);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 20px rgba(80, 60, 220, 0.15);
}

.popup-field input:-webkit-autofill,
.popup-field input:-webkit-autofill:hover,
.popup-field input:-webkit-autofill:focus,
.popup-field input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(22, 22, 22, 0.95) inset !important;
    -webkit-text-fill-color: rgba(60, 200, 240, 0.9) !important;
    caret-color: rgba(60, 200, 240, 0.9);
    border-color: rgba(255, 255, 255, 0.08) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.popup-submit {
    width: auto;
    margin: 12px auto 0;
    padding: 14px 40px;
    display: block;
    background: rgba(60, 200, 240, 0.06);
    border: 1px solid rgba(60, 200, 240, 0.5);
    border-radius: 30px;
    color: rgba(60, 200, 240, 0.95);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-submit:hover {
    background: rgba(60, 200, 240, 0.15);
    box-shadow: 0 0 20px rgba(60, 200, 240, 0.25);
    transform: translateY(-1px);
}

.popup-submit:active { transform: translateY(0); }

.popup-footer-note {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.8rem;
    color: rgba(60, 190, 230, 0.5);
    margin: 12px 0 0;
    letter-spacing: 0.05em;
    text-align: center;
}

.popup-success { text-align: center; padding: 2rem 0; }
.popup-success p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    color: rgba(60, 200, 240, 0.85);
    margin-top: 0.5rem;
}

/* Hide cursor on touch devices */
@media (hover: none) {
    #custom-cursor, #cursor-trail { display: none; }
    body, a, button { cursor: auto; }
}
