/* =========================================================
   01) TOKENS / ROOT
========================================================= */
:root {
    --bg: #ffffff;
    --ink: #0b0b0b;
    --muted: rgba(11, 11, 11, .65);
    --line: rgba(11, 11, 11, .14);

    --pink: #f6cfd9;
    --purple: #b6a7ff;

    --radius: 999px;
    --wrap: 1100px;
    --headerH: 56px;

    --grad: linear-gradient(135deg, var(--pink), var(--purple));

    --mx: 50vw;
    --my: 50vh;

    --c1: rgba(246, 207, 217, .50);
    --c2: rgba(182, 167, 255, .42);
    --c3: rgba(255, 255, 255, .14);
}

/* =========================================================
   02) BASE / RESET
========================================================= */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

/* ENABLE SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    /* overflow: hidden; */
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(var(--wrap), calc(100% - 56px));
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .78;
}

.h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3.2vw, 44px);
    letter-spacing: -.02em;
}

.muted {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    /* increase from default */
}

.snap,
.site-header,
.loader {
    position: relative;
    z-index: 1;
}

/* ENABLE RESPONSIVE IMAGES */
img {
    max-width: 100%;
    height: auto;
    display: block;
}




/* =========================================================
   04) SHARED COMPONENTS
========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 12px;
    letter-spacing: .2px;
    white-space: nowrap;
}

.btn-outline {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .45);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.btn-outline:hover {
    border-color: rgba(182, 167, 255, .65);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(182, 167, 255, .18);
}

.panel {
    border-radius: 28px;
    padding: clamp(22px, 4vw, 44px);
    border: 1px solid rgba(255, 255, 255, .40);
    background: rgba(255, 255, 255, .35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .10);
}

.panel--glass {
    position: relative;
    overflow: hidden;
}

.panel--glass::before {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;
    background:
        radial-gradient(900px 420px at 18% 12%, rgba(255, 255, 255, .55), transparent 55%),
        radial-gradient(700px 360px at 82% 8%, rgba(255, 255, 255, .35), transparent 60%);
    opacity: .55;
}

.panel--glass>* {
    position: relative;
    z-index: 1;
}

/* =========================================================
   05) HEADER + SCROLLER
========================================================= */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    font-size: 14px;
    letter-spacing: .2px;
    opacity: .85;
}

.menu {
    display: flex;
    gap: 18px;
    font-size: 13px;
}

.menu a {
    padding: 6px 2px;
    opacity: .8;
    position: relative;
}

.menu a.active {
    opacity: 1;
}

.menu a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    border-radius: 99px;
}


/* ADD SPACE BETWEEN SECTIONS */
section {
    padding: 2em 0;
}

.hero {
    /* padding-block-start: calc(4em + var(--headerH)); */

    min-height: calc(100vh - var(--headerH));
}

.hero,
.projects,
.about,
.contact,
.footer-sec {
    background: transparent !important;
}

/* =========================================================
   06) HERO
========================================================= */
.hero {
    display: flex;
    align-items: center;
    /* overflow: hidden; */
    color: rgba(0, 0, 0, .92);
}

.hero-parallax {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero>.wrap {
    position: relative;
    z-index: 1;
}

.hero-parallax .l1 {
    position: absolute;
    inset: -12%;
    background:
        radial-gradient(900px 520px at 18% 22%, rgba(246, 207, 217, .55), transparent 60%),
        radial-gradient(820px 520px at 82% 30%, rgba(182, 167, 255, .45), transparent 62%),
        linear-gradient(135deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .55));
    opacity: .9;
    transform: translate3d(0, calc(var(--py, 0px) * .10), 0) scale(1.04);
}

.hero-parallax .l2 {
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at var(--mx) var(--my),
            rgba(255, 255, 255, .40),
            rgba(255, 255, 255, .10) 38%,
            transparent 62%);
    opacity: .8;
    transform: translate3d(0, calc(var(--py, 0px) * .16), 0);
}

.hero-parallax .l3 {
    position: absolute;
    inset: -18%;
    background:
        radial-gradient(720px 520px at var(--mx) var(--my), rgba(246, 207, 217, .30), transparent 62%),
        radial-gradient(760px 520px at var(--mx) var(--my), rgba(182, 167, 255, .24), transparent 64%);
    opacity: .7;
    filter: blur(2px);
    transform: translate3d(0, calc(var(--py, 0px) * .24), 0);
}

.hero-parallax .grain {
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image:
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, .035), rgba(0, 0, 0, .035) 1px, transparent 1px, transparent 4px);
    mix-blend-mode: soft-light;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 24px;
}

h1 {
    margin: 0;
    font-size: clamp(48px, 5.6vw, 82px);
    line-height: .95;
    letter-spacing: -1.5px;
}

.accent {
    background: linear-gradient(90deg, #d8ccff, #b6a7ff, #9fe7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    animation: floatText 4s ease-in-out infinite;
}

@keyframes floatText {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0px);
    }
}

.lead {
    margin: 14px 0 0;
    color: rgba(11, 11, 11, .7);
    font-size: 14px;
    line-height: 1.4;
}

.hero-parallax-text {
    transform: translate3d(0, calc(var(--tpy, 0px) * -0.10), 0);
    will-change: transform;
}


/* =========================================================
   07) PROJECTS
========================================================= */
.section-head {
    margin: 0 0 18px;
}

.strip {
    margin: 10px 0 26px;
    background: #242424;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .15);
}

.strip-inner {
    overflow: hidden;
    padding: 14px 0;
}

.marquee {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    animation: marquee 18s linear infinite;
    font-size: 13px;
    letter-spacing: .35px;
    font-weight: 550;
    color: #fff;
}

.marquee .dot {
    opacity: .7;
    color: rgba(255, 255, 255, .7);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 16px;
}

.card--featured {
    grid-column: 1 / span 2;
    grid-row: span 2;
}

.card--featured .thumb {
    aspect-ratio: 16 / 11;
    min-height: 360px;
}

.card--featured .meta h3 {
    font-size: 16px;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .card--featured {
        grid-column: auto;
        grid-row: auto;
    }

    .card--featured .thumb {
        min-height: 240px;
    }
}

.card {
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, .42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .10);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .16);
    border-color: rgba(255, 255, 255, .75);
}

.thumb {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    position: relative;
}

.thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(0, 0, 0, .08));
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.meta {
    padding: 12px 12px 14px;
}

.meta h3 {
    margin: 0;
    font-size: 14px;
    letter-spacing: -.01em;
}

.meta p {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--muted);
}

/* =========================================================
   08) ABOUT
========================================================= */
.about {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
}

.about-card {
    width: min(1000px, 100%);
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
    border-radius: 32px;
    padding: 60px;
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .4);
}

.about-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .22);
    object-fit: cover;
    display: block;
}



/* =========================================================
   09) CONTACT
========================================================= */
.contact {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: center;
    border-radius: 32px;
    padding: clamp(28px, 4.5vw, 60px);
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .4);
}

.contact-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

/* =========================================================
   10) FOOTER
========================================================= */
.footer-sec {
    display: flex;
    align-items: center;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.footer-links {
    display: flex;
    gap: 14px;
    font-size: 12px;
    opacity: .75;
}

.footer-links a:hover {
    opacity: 1;
}

/* =========================================================
   11) RESPONSIVE
========================================================= */
@media (max-width: 900px) {
    .menu {
        display: flex;
        gap: 14px;
        font-size: 13px;
    }

    .menu a[href="#top"] {
        display: none;
    }

    .nav {
        padding: 12px 0;
    }

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

    .about-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 44px;
    }

    .about-img {
        max-width: 420px;
        margin: 0 auto;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        justify-content: center;
    }
}

/* =========================================================
   LOADER
========================================================= */

body.is-loading {
    overflow: hidden;
}

body.is-loading .snap {
    pointer-events: none;
}

/* full screen overlay */
.loader {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: transparent;
    transition: opacity .5s ease, visibility .5s ease;
}

.loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* background layers */
.loader-parallax {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.loader-parallax .layer.l1 {
    position: absolute;
    inset: -10%;
}

/* center card */
.loader-inner {
    position: relative;
    z-index: 1;
}