/* ============================================================
   PRANDEEP.COM
   Personal Brand / Entity Authority Page
============================================================ */

:root {
    --bg: #070709;
    --bg-secondary: #0d0d10;
    --card: #111116;
    --card-hover: #16161c;

    --text: #f7f7f8;
    --muted: #9b9ba5;
    --line: rgba(255, 255, 255, 0.10);

    --accent: #7c5cff;
    --accent-two: #b4ff5c;

    --container: 1240px;
    --radius: 24px;

    --font:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

button {
    font: inherit;
}

p {
    margin-top: 0;
}

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

.narrow {
    max-width: 860px;
}


/* ============================================================
   HEADER
============================================================ */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid transparent;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        backdrop-filter 0.3s ease;
}

.site-header.scrolled {
    background: rgba(7, 7, 9, 0.78);
    border-color: var(--line);
    backdrop-filter: blur(18px);
}

.nav-container {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand,
.footer-brand {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.brand span,
.footer-brand span {
    color: var(--accent-two);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navigation a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: white;
}

.navigation .nav-cta {
    padding: 10px 18px;
    color: white;
    border: 1px solid var(--line);
    border-radius: 100px;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
}

.menu-button span {
    width: 22px;
    height: 1px;
    display: block;
    margin: 7px auto;
    background: white;
}


/* ============================================================
   HERO
============================================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 150px 0 90px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 90px;
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-label {
    margin-bottom: 20px;
    color: var(--accent-two);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.hero h1 {
    margin: 0 0 26px;
    max-width: 790px;
    font-size: clamp(72px, 9vw, 140px);
    line-height: 0.86;
    letter-spacing: -0.075em;
}

.gradient-text {
    display: block;
    color: transparent;
    background:
        linear-gradient(
            120deg,
            #ffffff 5%,
            #8d79ff 45%,
            #b4ff5c 100%
        );
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-intro {
    max-width: 680px;
    margin-bottom: 18px;
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.hero-description {
    max-width: 630px;
    color: var(--muted);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 750;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: white;
    color: #08080a;
}

.button-primary:hover {
    background: var(--accent-two);
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
}

.button-secondary:hover {
    background: rgba(255,255,255,.08);
}

.hero-proof {
    display: flex;
    gap: 36px;
    margin-top: 54px;
}

.hero-proof div {
    display: flex;
    flex-direction: column;
}

.hero-proof strong {
    font-size: 13px;
    letter-spacing: 0.08em;
}

.hero-proof span {
    color: var(--muted);
    font-size: 12px;
}

.hero-visual {
    position: relative;
}

.portrait-card {
    width: min(100%, 480px);
    margin-left: auto;
    position: relative;
}

.portrait-frame {
    padding: 8px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.18),
            rgba(255,255,255,.02)
        );
    border: 1px solid var(--line);
    border-radius: 34px;
}

.portrait-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 27px;
    filter: saturate(.9);
}

.floating-card {
    position: absolute;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(13, 13, 16, 0.78);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 70px rgba(0,0,0,.4);
    font-size: 13px;
    font-weight: 650;
}

.floating-card-one {
    left: -60px;
    bottom: 110px;
    padding: 16px 20px;
}

.floating-card-two {
    top: 40px;
    right: -42px;
    padding: 13px 18px;
    color: var(--accent-two);
}

.pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--accent-two);
    box-shadow: 0 0 0 5px rgba(180,255,92,.1);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.glow-one {
    width: 500px;
    height: 500px;
    right: 2%;
    top: 10%;
    background: rgba(124,92,255,.15);
}

.glow-two {
    width: 450px;
    height: 450px;
    left: -240px;
    bottom: -100px;
    background: rgba(180,255,92,.07);
}


/* ============================================================
   SECTIONS
============================================================ */

.section {
    padding: 130px 0;
    border-top: 1px solid var(--line);
}

.section-heading-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 110px;
}

.section-heading-grid h2,
.section-top h2,
.entity-section h2,
.faq-section h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.about-copy {
    color: var(--muted);
    font-size: 18px;
}

.about-copy strong {
    color: white;
}

.about-copy p + p {
    margin-top: 24px;
}


/* ============================================================
   STATEMENT
============================================================ */

.statement {
    padding: 160px 0;
    text-align: center;
    background:
        radial-gradient(
            circle at center,
            rgba(124,92,255,.14),
            transparent 55%
        );
}

.statement p {
    color: var(--muted);
}

.statement h2 {
    max-width: 950px;
    margin: auto;
    font-size: clamp(46px, 7vw, 96px);
    line-height: .99;
    letter-spacing: -.06em;
}

.statement h2 span {
    color: var(--accent-two);
}


/* ============================================================
   WORK
============================================================ */

.section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 62px;
}

.section-top > p {
    max-width: 390px;
    color: var(--muted);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.work-card {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: rgba(255,255,255,.2);
}

.work-card.featured {
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(124,92,255,.22),
            transparent 45%
        ),
        var(--card);
}

.work-number {
    color: var(--muted);
    font-size: 12px;
}

.work-card h3 {
    max-width: 480px;
    margin: auto 0 18px;
    font-size: 33px;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.work-card p {
    max-width: 520px;
    color: var(--muted);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tag-list span {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 100px;
    color: #bcbcc5;
    font-size: 11px;
}


/* ============================================================
   PROJECT
============================================================ */

.project-section {
    padding-top: 0;
    border-top: 0;
}

.project-card {
    min-height: 560px;
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: center;
    gap: 60px;
    padding: 70px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(180,255,92,.12),
            transparent 35%
        ),
        #0d0d10;
}

.project-content h2 {
    max-width: 650px;
    margin: 0 0 25px;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 1;
    letter-spacing: -.055em;
}

.project-content > p:not(.section-label) {
    max-width: 580px;
    color: var(--muted);
    font-size: 18px;
}

.text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 25px;
    font-weight: 700;
}

.text-link span {
    color: var(--accent-two);
}

.project-wordmark {
    text-align: center;
    font-size: clamp(120px, 16vw, 230px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.12em;
    opacity: .85;
}

.project-wordmark span {
    color: var(--accent-two);
}


/* ============================================================
   EXPERTISE
============================================================ */

.large-heading {
    margin: 0 0 60px;
    font-size: clamp(50px, 7vw, 95px);
    line-height: .95;
    letter-spacing: -.065em;
}

.expertise-row {
    display: grid;
    grid-template-columns: 70px 1fr .8fr;
    align-items: center;
    gap: 25px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.expertise-row:last-child {
    border-bottom: 1px solid var(--line);
}

.expertise-row > span {
    color: var(--muted);
    font-size: 12px;
}

.expertise-row h3 {
    margin: 0;
    font-size: clamp(22px, 3vw, 35px);
    letter-spacing: -.035em;
}

.expertise-row p {
    margin: 0;
    color: var(--muted);
}


/* ============================================================
   ENTITY
============================================================ */

.entity-section {
    background: #0b0b0e;
}

.entity-section .lead {
    margin-top: 38px;
    color: white;
    font-size: clamp(22px, 3vw, 31px);
    line-height: 1.45;
}

.entity-section p:not(.section-label):not(.lead) {
    color: var(--muted);
    font-size: 18px;
}

.entity-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 55px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.entity-facts div {
    display: flex;
    flex-direction: column;
    padding: 25px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.entity-facts small {
    margin-bottom: 5px;
    color: var(--muted);
}


/* ============================================================
   FAQ
============================================================ */

.faq {
    margin-top: 50px;
}

details {
    border-top: 1px solid var(--line);
}

details:last-child {
    border-bottom: 1px solid var(--line);
}

summary {
    position: relative;
    padding: 28px 42px 28px 0;
    cursor: pointer;
    list-style: none;
    font-size: 20px;
    font-weight: 650;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: 5px;
    font-size: 24px;
    color: var(--accent-two);
}

details[open] summary::after {
    content: "−";
}

details p {
    max-width: 710px;
    padding: 0 0 28px;
    color: var(--muted);
}


/* ============================================================
   CONTACT
============================================================ */

.contact-section {
    text-align: center;
    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(124,92,255,.17),
            transparent 55%
        );
}

.contact-section h2 {
    max-width: 950px;
    margin: 0 auto 30px;
    font-size: clamp(50px, 8vw, 105px);
    line-height: .93;
    letter-spacing: -.07em;
}

.contact-section h2 span {
    display: block;
    color: var(--muted);
}

.contact-section > .container > p:not(.section-label) {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
}

.large-button {
    margin-top: 36px;
    padding-inline: 32px;
}


/* ============================================================
   FOOTER
============================================================ */

footer {
    padding: 36px 0;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

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

.footer-grid p:nth-child(2) {
    text-align: center;
}

.footer-grid p:last-child {
    text-align: right;
}


/* ============================================================
   ANIMATION
============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 900px) {

    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .menu-button {
        display: block;
        cursor: pointer;
    }

    .navigation {
        position: fixed;
        inset: 84px 0 auto;
        display: none;
        padding: 30px 24px 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        background: rgba(7,7,9,.98);
        border-bottom: 1px solid var(--line);
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        font-size: 18px;
    }

    .hero {
        padding-top: 135px;
    }

    .hero-grid,
    .section-heading-grid,
    .project-card {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 65px;
    }

    .portrait-card {
        margin: auto;
    }

    .section-heading-grid {
        gap: 45px;
    }

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

    .project-card {
        padding: 50px 30px;
    }

    .project-wordmark {
        padding: 30px 0;
    }

    .expertise-row {
        grid-template-columns: 45px 1fr;
    }

    .expertise-row p {
        grid-column: 2;
    }

    .section-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-grid p,
    .footer-grid p:nth-child(2),
    .footer-grid p:last-child {
        text-align: left;
    }
}


@media (max-width: 600px) {

    .section {
        padding: 90px 0;
    }

    .hero h1 {
        font-size: clamp(62px, 21vw, 92px);
    }

    .hero-proof {
        gap: 20px;
        justify-content: space-between;
    }

    .hero-proof div {
        max-width: 90px;
    }

    .floating-card-one {
        left: 8px;
        bottom: 30px;
    }

    .floating-card-two {
        right: 8px;
        top: 18px;
    }

    .work-card {
        min-height: 340px;
        padding: 28px;
    }

    .project-card {
        min-height: auto;
    }

    .entity-facts {
        grid-template-columns: 1fr;
    }

    .statement {
        padding: 110px 0;
    }
}


/* Respect accessibility preferences */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}