/* ABOUT PREVIEW SECTION */
#about-preview {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    z-index: 50;
    background-color: var(--secondary-bg);
    background-image: radial-gradient(var(--radial-gradient-color) 1px, transparent 1px);
    background-size: 24px 24px;
    background-attachment: fixed;
}

#about-preview::before {
    content: "";
    position: absolute;
    top: -20px;
    /* Slightly overlap previous section */
    left: 0;
    width: 100%;
    height: 41px;
    background-color: var(--secondary-bg);
    z-index: 10;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L20,40 L40,25 L60,35 L80,20 L100,45 L120,25 L140,35 L160,15 L180,40 L200,20 L220,35 L240,10 L260,30 L280,15 L300,40 L320,20 L340,35 L360,15 L380,45 L400,25 L420,35 L440,15 L460,40 L480,20 L500,35 L520,10 L540,30 L560,15 L580,40 L600,20 L620,35 L640,15 L660,45 L680,25 L700,35 L720,15 L740,40 L760,20 L780,35 L800,10 L820,30 L840,15 L860,40 L880,20 L900,35 L920,15 L940,45 L960,25 L980,35 L1000,15 L1020,40 L1040,20 L1060,35 L1080,10 L1100,30 L1120,15 L1140,40 L1160,20 L1180,35 L1200,30 V60 H0 Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L20,40 L40,25 L60,35 L80,20 L100,45 L120,25 L140,35 L160,15 L180,40 L200,20 L220,35 L240,10 L260,30 L280,15 L300,40 L320,20 L340,35 L360,15 L380,45 L400,25 L420,35 L440,15 L460,40 L480,20 L500,35 L520,10 L540,30 L560,15 L580,40 L600,20 L620,35 L640,15 L660,45 L680,25 L700,35 L720,15 L740,40 L760,20 L780,35 L800,10 L820,30 L840,15 L860,40 L880,20 L900,35 L920,15 L940,45 L960,25 L980,35 L1000,15 L1020,40 L1040,20 L1060,35 L1080,10 L1100,30 L1120,15 L1140,40 L1160,20 L1180,35 L1200,30 V60 H0 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    filter: drop-shadow(0 -10px 10px var(--rgba-black-10));
}

#about-preview::after {
    content: "";
    position: absolute;
    bottom: -20px;
    /* Slightly overlap previous section */
    left: 0;
    width: 100%;
    transform: rotate(180deg);
    height: 41px;
    background-color: var(--secondary-bg);
    z-index: 10;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L20,40 L40,25 L60,35 L80,20 L100,45 L120,25 L140,35 L160,15 L180,40 L200,20 L220,35 L240,10 L260,30 L280,15 L300,40 L320,20 L340,35 L360,15 L380,45 L400,25 L420,35 L440,15 L460,40 L480,20 L500,35 L520,10 L540,30 L560,15 L580,40 L600,20 L620,35 L640,15 L660,45 L680,25 L700,35 L720,15 L740,40 L760,20 L780,35 L800,10 L820,30 L840,15 L860,40 L880,20 L900,35 L920,15 L940,45 L960,25 L980,35 L1000,15 L1020,40 L1040,20 L1060,35 L1080,10 L1100,30 L1120,15 L1140,40 L1160,20 L1180,35 L1200,30 V60 H0 Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L20,40 L40,25 L60,35 L80,20 L100,45 L120,25 L140,35 L160,15 L180,40 L200,20 L220,35 L240,10 L260,30 L280,15 L300,40 L320,20 L340,35 L360,15 L380,45 L400,25 L420,35 L440,15 L460,40 L480,20 L500,35 L520,10 L540,30 L560,15 L580,40 L600,20 L620,35 L640,15 L660,45 L680,25 L700,35 L720,15 L740,40 L760,20 L780,35 L800,10 L820,30 L840,15 L860,40 L880,20 L900,35 L920,15 L940,45 L960,25 L980,35 L1000,15 L1020,40 L1040,20 L1060,35 L1080,10 L1100,30 L1120,15 L1140,40 L1160,20 L1180,35 L1200,30 V60 H0 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    filter: drop-shadow(0 -10px 10px var(--rgba-black-10));
}



.about-left {
    flex: 1;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: clamp(80px, 10vw, 140px);
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -5px;
    text-shadow: 2px 2px 10px var(--rgba-black-05);
    margin-bottom: 20px;
}

.about-right {
    /* flex: 1; */
    padding-left: 15%;

    /* display: flex;
    flex-direction: column; */
}

.about-text {
    font-family: var(--font-main);
    font-size: clamp(20px, 2vw, 20px);
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 500;
}

.about-text span {
    /* display: block; */
    margin-bottom: 10px;
}




/* ABOUT SECTION FINAL (3D SPATIAL) */
#about {
    display: block;
    min-height: 100vh;
    width: 100vw;
    color: var(--text-dark);
    position: relative;
    z-index: 10000;
}

.spatial-container {
    width: 100vw;
    height: 100vh;
    perspective: 1200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* QUOTE TYPOGRAPHY & LIQUID GLASS CONTAINER */
.quote-content {
    text-align: center;
    max-width: 900px;
    min-height: 400px;
    z-index: 10;
    position: relative;
    pointer-events: none;
    /* background: rgba(40, 40, 40, 0.2);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px; */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); */
}

.quote-text {
    font-size: 40px;
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    font-family: var(--font-main);
    text-shadow: 0 4px 20px var(--rgba-black-10);
    color: var(--text-dark);
}

.quote-author {
    font-size: 25px;
    font-weight: 600;
    text-align: right;
    margin-bottom: 40px;
    font-family: var(--font-main);
    opacity: 0;
    transform: translateY(20px);
    color: var(--text-dark);
    letter-spacing: 2px;
}

.quote-subtitle {
    font-size: 18px;
    color: var(--color-gray-medium);
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    letter-spacing: 1px;
    margin-top: -35px;
}

#about .quote-text {
    animation: fadeInQuote 0.8s ease-out 0.4s forwards;
}

#about .quote-author {
    animation: fadeInQuote 0.8s ease-out 0.7s forwards;
}

#about .quote-subtitle {
    animation: fadeInQuote 0.8s ease-out 1.2s forwards;
}

@keyframes fadeInQuote {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3D POLAROIDS (Interactive Parallax) */
.polaroid {
    position: absolute;
    background: var(--color-white);
    padding: 10px 10px 40px 10px;
    box-shadow: 0 8px 20px var(--rgba-black-10);
    border-radius: 5px;
    pointer-events: none;
    transition: box-shadow 0.4s ease;
    z-index: -1 !important;
    rotate: var(--rt);
}

.polaroid img {
    width: 150px;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Specific Placements without overlap */
.p1 {
    top: 5%;
    left: 5%;
    --rt: -12deg;
}

.p2 {
    top: 5%;
    right: 5%;
    --rt: 15deg;
}

.p3 {
    bottom: 5%;
    left: 5%;
    --rt: 8deg;
}

.p4 {
    bottom: 5%;
    right: 5%;
    --rt: -10deg;
}

.p5 {
    top: 5%;
    left: 45%;
    --rt: 4deg;
}

.p6 {
    bottom: 5%;
    left: 30%;
    --rt: -6deg;
}

.p7 {
    top: 40%;
    right: 2%;
    --rt: -8deg;
}

.p8 {
    bottom: 5%;
    right: 30%;
    --rt: 12deg;
}

.p9 {
    top: 40%;
    left: 2%;
    --rt: 5deg;
}

.hide-main {
    display: none !important;
}

/* ABOUT FOOTER SECTION */
#about-footer {
    width: 100%;
    min-height: 100vh;
    padding: 120px 2% 80px;
    background-color: var(--secondary-bg);
    background-image: radial-gradient(var(--radial-gradient-color) 1px, transparent 1px);
    background-size: 24px 24px;
    background-attachment: fixed;
    position: relative;
    z-index: 100;
    margin-top: -100vh;
    display: flex;
    align-items: center;
}

#about-footer::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 41px;
    background-color: var(--secondary-bg);
    z-index: 10;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L20,40 L40,25 L60,35 L80,20 L100,45 L120,25 L140,35 L160,15 L180,40 L200,20 L220,35 L240,10 L260,30 L280,15 L300,40 L320,20 L340,35 L360,15 L380,45 L400,25 L420,35 L440,15 L460,40 L480,20 L500,35 L520,10 L540,30 L560,15 L580,40 L600,20 L620,35 L640,15 L660,45 L680,25 L700,35 L720,15 L740,40 L760,20 L780,35 L800,10 L820,30 L840,15 L860,40 L880,20 L900,35 L920,15 L940,45 L960,25 L980,35 L1000,15 L1020,40 L1040,20 L1060,35 L1080,10 L1100,30 L1120,15 L1140,40 L1160,20 L1180,35 L1200,30 V60 H0 Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L20,40 L40,25 L60,35 L80,20 L100,45 L120,25 L140,35 L160,15 L180,40 L200,20 L220,35 L240,10 L260,30 L280,15 L300,40 L320,20 L340,35 L360,15 L380,45 L400,25 L420,35 L440,15 L460,40 L480,20 L500,35 L520,10 L540,30 L560,15 L580,40 L600,20 L620,35 L640,15 L660,45 L680,25 L700,35 L720,15 L740,40 L760,20 L780,35 L800,10 L820,30 L840,15 L860,40 L880,20 L900,35 L920,15 L940,45 L960,25 L980,35 L1000,15 L1020,40 L1040,20 L1060,35 L1080,10 L1100,30 L1120,15 L1140,40 L1160,20 L1180,35 L1200,30 V60 H0 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    filter: drop-shadow(0 -10px 10px var(--rgba-black-10));
}

/* #about-footer::before {
    content: "";
    position: absolute;
    top: -25vh;
    left: 0;
    width: 100%;
    height: 25vh;
    background: linear-gradient(to bottom, transparent, var(--secondary-bg));
    z-index: 10;
    pointer-events: none;
} */

.about-footer-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7rem;
    position: relative;
    z-index: 15;
}

.about-footer-title {
    font-family: var(--font-heading);
    font-size: clamp(80px, 12vw, 180px);
    color: var(--text-dark);
    line-height: 0.8;
    letter-spacing: -6px;
    margin: 0;
    text-transform: lowercase;
    /* opacity: 0.9; */
    will-change: transform;
}

.about-footer-left span {
    font-family: var(--font-main);
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-dark);
    display: block;
    margin-top: 5px;
    padding-left: 10px;
    font-weight: 500;
}

.about-footer-right {
    position: relative;
    top: -30px;
    /* Aligns the links straight with 'the end...' */
}

.about-footer-right .footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 0;
    will-change: transform;
}

.about-footer-right .footer-link {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-dark);
    text-decoration: none;
    font-family: var(--font-display, monospace);
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-footer-right .footer-link:hover {
    transform: translateX(-10px);
    color: var(--color-black);
}
