/* =========================================================
   DEV ARYA — PORTFOLIO V2
   Dark / Red / Editorial / Brutalist
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #f2f2f2;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

img,
video {
    display: block;
    width: 100%;
}

img {
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --black: #080808;
    --dark: #101010;
    --dark-2: #161616;
    --white: #f2f2f2;
    --grey: #898989;
    --line: #292929;
    --red: #c50000;

    --page-padding: 4vw;
    --max-width: 1600px;
}


/* =========================================================
   GLOBAL
========================================================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");

    opacity: 0.12;
    mix-blend-mode: screen;
}

main {
    width: 100%;
}

.section {
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    padding: 12rem var(--page-padding);
}

.eyebrow {
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.section-heading {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
}

.section-number {
    color: var(--grey);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding-top: 0.5rem;
}

.section-heading h2 {
    margin-top: 1rem;

    font-size: clamp(4rem, 8vw, 9rem);
    line-height: 0.82;
    letter-spacing: -0.07em;
    text-transform: uppercase;
}

.section-heading h2 span {
    color: var(--red);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    z-index: 1000;

    top: 0;
    left: 0;

    width: 100%;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 1.5rem var(--page-padding);

    border-bottom: 1px solid rgba(255,255,255,0.1);

    background: rgba(8,8,8,0.82);
    backdrop-filter: blur(15px);
}

.logo {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.logo span,
.footer span {
    color: var(--red);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--grey);
    transition: 0.25s ease;
}

.nav a:hover {
    color: var(--red);
}

.availability {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 0.6rem;

    font-size: 0.62rem;
    letter-spacing: 0.12em;
}

.availability span {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: rgb(15, 182, 15);

    box-shadow: 0 0 12px var(--red);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 8rem var(--page-padding) 3rem;

    position: relative;

    border-bottom: 1px solid var(--line);
}

.hero-meta {
    position: absolute;
    top: 8rem;
    left: var(--page-padding);
    right: var(--page-padding);

    display: flex;
    justify-content: space-between;

    color: var(--grey);

    font-size: 0.65rem;
    letter-spacing: 0.14em;
}

.hero-content {
    max-width: 1100px;
}

.hero h1 {
    margin-top: 1.5rem;

    font-size: clamp(6rem, 16vw, 17rem);
    line-height:1;

    letter-spacing: -0.09em;
    font-weight: 900;
}

.hero h1 span {
    color: var(--red);
}

.hero-description {
    margin-top: 4rem;
    margin-left: 18vw;

    font-size: clamp(1.2rem, 2vw, 2rem);
    line-height: 1.15;
    color: #bcbcbc;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;

    margin-top: 3rem;
    margin-left: 18vw;

    padding: 1rem 1.2rem;

    border: 1px solid var(--red);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    transition: 0.3s ease;
}

.button span {
    font-size: 1rem;
}

.button:hover {
    background: var(--red);
    color: #fff;
}

.hero-footer {
    position: absolute;

    bottom: 2rem;
    left: var(--page-padding);
    right: var(--page-padding);

    display: flex;
    justify-content: space-between;

    color: var(--grey);

    font-size: 0.6rem;
    letter-spacing: 0.12em;
}


/* =========================================================
   REEL
========================================================= */

.reel-container {
    position: relative;

    width: 80%;
    margin: auto;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #111;
    border: none;
}

.reel-video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    background: #000;
}

.reel-overlay {
    position: absolute;

    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;

    display: flex;
    justify-content: space-between;

    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

.section-intro {
    max-width: 600px;

    margin-top: 2rem;

    color: var(--grey);

    font-size: 1rem;
    line-height: 1.6;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    border-top: 1px solid var(--line);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service {
    min-height: 350px;

    padding: 2rem;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    transition: 0.3s ease;
}

.service:hover {
    background: #111;
}

.service-number {
    display: block;

    margin-bottom: 6rem;

    color: var(--red);

    font-size: 0.65rem;
}

.service h3 {
    font-size: 2.5rem;
    letter-spacing: -0.06em;
}

.service p {
    margin-top: 1.5rem;

    max-width: 250px;

    color: var(--grey);

    font-size: 0.85rem;
    line-height: 1.5;
}

.overlap-statement {
    margin-top: 8rem;

    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 900;

    letter-spacing: -0.07em;
}

.overlap-statement span {
    color: var(--red);
}


/* =========================================================
   WORK
========================================================= */

.work {
    background: #0b0b0b;
}

.work-heading {
    margin-bottom: 8rem;
}

.project {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr;
    gap: 5vw;

    margin-bottom: 14rem;
}

.project-reverse {
    grid-template-columns: 0.8fr 1.6fr;
}

.project-reverse .project-image {
    order: 2;
}

.project-reverse .project-info {
    order: 1;
}

.project-image {
    position: relative;

    min-height: 600px;

    overflow: hidden;

    background: #151515;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}

.project:hover .project-image img {
    transform: scale(1.04);
}

.project-index {
    position: absolute;

    top: 1.5rem;
    left: 1.5rem;

    padding: 0.5rem 0.7rem;

    background: var(--red);

    font-size: 0.65rem;
    font-weight: 700;
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 1rem 0;
}

.project-type {
    margin-bottom: 2rem;

    color: var(--red);

    font-size: 0.6rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.project-info h3 {
    font-size: clamp(3rem, 5vw, 6rem);

    line-height: 0.85;

    letter-spacing: -0.07em;
}

.project-description {
    max-width: 400px;

    color: var(--grey);

    line-height: 1.6;
}

.text-link {
    width: fit-content;

    margin-top: 2rem;

    padding-bottom: 0.5rem;

    border-bottom: 1px solid var(--red);

    color: #fff;

    font-size: 0.7rem;
    letter-spacing: 0.1em;

    transition: 0.25s ease;
}

.text-link:hover {
    color: var(--red);
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience-card {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    padding: 3rem 0;
}

.experience-top {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.experience-role {
    color: var(--red);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.experience-top h3 {
    margin-top: 1rem;

    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.85;
    letter-spacing: -0.07em;
}

.experience-date {
    color: var(--grey);

    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.experience-body {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin-top: 5rem;

    gap: 5rem;
}

.experience-body > p {
    max-width: 600px;

    color: #aaa;

    line-height: 1.7;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-content: start;
}

.experience-tags span {
    padding: 0.6rem 0.8rem;

    border: 1px solid var(--line);

    color: var(--grey);

    font-size: 0.6rem;
    letter-spacing: 0.08em;
}


/* =========================================================
   EDUCATION
========================================================= */

.education {
    background: #0b0b0b;
}

.education-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;

    gap: 5vw;
}

.education-title p {
    color: var(--red);

    font-size: 0.7rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.education-title h3 {
    margin-top: 1.5rem;

    font-size: clamp(4rem, 7vw, 8rem);

    line-height: 0.8;

    letter-spacing: -0.08em;
}

.education-title span {
    display: block;

    margin-top: 2rem;

    color: var(--grey);

    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.education-reel {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #111;
    border: 1px solid var(--line);
}

.education-reel video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    background: #000;
}

.education-reel > span {
    position: absolute;

    bottom: 1rem;
    left: 1rem;

    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

.education-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0;

    margin-top: 4rem;

    border-top: 1px solid var(--line);
}

.education-skills span {
    padding: 1.5rem;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    color: var(--grey);

    font-size: 0.65rem;
    letter-spacing: 0.1em;
}


/* =========================================================
   TASTE
========================================================= */

.taste-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;

    gap: 8vw;

    align-items: end;
}

.big-statement {
    font-size: clamp(4rem, 8vw, 9rem);

    line-height: 0.82;

    font-weight: 900;

    letter-spacing: -0.08em;
}

.big-statement span {
    color: var(--red);
}

.taste-description {
    max-width: 420px;

    color: var(--grey);

    line-height: 1.7;
}

.interest-marquee {
    margin-top: 10rem;

    width: 100%;
    overflow: hidden;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    padding: 1.5rem 0;

    color: var(--red);

    font-size: 0.7rem;
    letter-spacing: 0.15em;

    white-space: nowrap;
}


/* =========================================================
   IDEAL WORK
========================================================= */

.ideal-work {
    background: var(--red);
    color: #080808;

    max-width: none;
}

.ideal-work .section-heading h2 span,
.ideal-work .eyebrow,
.ideal-work .section-number {
    color: #080808;
}

.ideal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid rgba(0,0,0,0.35);
    border-left: 1px solid rgba(0,0,0,0.35);
}

.ideal-grid > div {
    min-height: 300px;

    padding: 2rem;

    border-right: 1px solid rgba(0,0,0,0.35);
    border-bottom: 1px solid rgba(0,0,0,0.35);
}

.ideal-grid span {
    font-size: 0.7rem;
}

.ideal-grid h3 {
    margin-top: 6rem;

    font-size: 2rem;
    line-height: 0.95;
    letter-spacing: -0.05em;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10vw;
}

.about-name {
    font-size: clamp(5rem, 12vw, 13rem);

    font-weight: 900;

    line-height: 0.72;

    letter-spacing: -0.1em;
}

.about-name span {
    color: var(--red);
}

.about-copy {
    max-width: 600px;
}

.about-lead {
    margin-bottom: 3rem;

    color: #fff;

    font-size: 1.5rem;
    line-height: 1.3;
}

.about-copy > p:not(.about-lead) {
    margin-bottom: 1.5rem;

    color: var(--grey);

    line-height: 1.7;
}

.currently {
    margin-top: 4rem;

    padding-top: 2rem;

    border-top: 1px solid var(--line);
}

.currently span {
    display: block;

    margin-bottom: 1rem;

    color: var(--red);

    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

.currently strong {
    font-size: 1.2rem;
    line-height: 1.2;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    min-height: 90vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-top: 1px solid var(--line);
}

.contact h2 {
    margin-top: 3rem;

    font-size: clamp(4rem, 10vw, 12rem);

    line-height: 0.78;

    letter-spacing: -0.09em;
}

.contact h2 span {
    color: var(--red);
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 7rem;

    border-top: 1px solid var(--line);
}

.contact-links a {
    padding: 2rem;

    border-right: 1px solid var(--line);

    font-size: 1rem;

    transition: 0.25s ease;
}

.contact-links a:hover {
    background: var(--red);
    color: #080808;
}

.contact-links span {
    display: block;

    margin-bottom: 1rem;

    color: var(--red);

    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

.contact-links a:hover span {
    color: #080808;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    display: flex;
    justify-content: space-between;

    padding: 1.5rem var(--page-padding);

    border-top: 1px solid var(--line);

    color: var(--grey);

    font-size: 0.6rem;
    letter-spacing: 0.1em;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    :root {
        --page-padding: 5vw;
    }

    .site-header {
        grid-template-columns: 1fr auto;
    }

    .nav {
        display: none;
    }

    .section {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .section-heading {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
        margin-bottom: 4rem;
    }

    .hero h1 {
        font-size: clamp(5rem, 20vw, 10rem);
    }

    .hero-description,
    .button {
        margin-left: 0;
    }

    .hero-footer span:nth-child(n+3) {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project,
    .project-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;

        margin-bottom: 8rem;
    }

    .project-reverse .project-image,
    .project-reverse .project-info {
        order: initial;
    }

    .project-image {
        min-height: 60vw;
    }

    .experience-body {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .education-content {
        grid-template-columns: 1fr;
    }

    .taste-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .ideal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .contact-links {
        grid-template-columns: 1fr;
    }

    .contact-links a {
        border-bottom: 1px solid var(--line);
    }

    .footer {
        flex-direction: column;
        gap: 0.8rem;
    }
}


@media (max-width: 600px) {

    .availability {
        display: none;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-meta {
        top: 6rem;
    }

    .hero-footer {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .section-heading h2 {
        font-size: clamp(3.5rem, 15vw, 6rem);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service {
        min-height: 280px;
    }

    .project-info h3 {
        font-size: 3.5rem;
    }

    .experience-top {
        flex-direction: column;
    }

    .education-reel {
        height: 60vw;
    }

    .ideal-grid {
        grid-template-columns: 1fr;
    }

    .ideal-grid > div {
        min-height: 220px;
    }

    .big-statement {
        font-size: clamp(3.5rem, 17vw, 6rem);
    }

    .about-name {
        font-size: 28vw;
    }

    .contact h2 {
        font-size: clamp(3.5rem, 16vw, 7rem);
    }

}