/* =========================================
   RESET
========================================= */

@font-face {
	font-family: ComicMono;
	src:url("ComicMonoNF.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #050507;
    color: #f5f5f7;
    /* font-family: "Inter", sans-serif; */
    font-family: "ComicMono", sans-serif;
    overflow-x: hidden;
}

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

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


/* =========================================
   VARIABLES
========================================= */

:root {
    --black: #050507;
    --dark: #0a0a0e;
    --card: #0e0e14;

    --pink: #ff1493;
    --pink-light: #ff4bb2;

    --blue: #00bfff;
    --blue-light: #38d5ff;

    --purple: #8b5cf6;
    --purple-light: #a78bfa;

    --green: #22c55e;
    --green-light: #4ade80;

    --orange: #f97316;
    --orange-light: #fb923c;

    --red: #ef4444;
    --red-light: #f87171;

    --yellow: #eab308;
    --yellow-light: #facc15;

    --white: #f5f5f7;
    --muted: #898994;

    --border: rgba(255,255,255,0.09);

    /* --font-heading: "Space Grotesk", sans-serif; */
	--font-heading: "ComicMono", sans-serif;
}


/* =========================================
   BACKGROUND
========================================= */

body {
    position: relative;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(255, 20, 147, 0.05),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 40%,
            rgba(0, 191, 255, 0.05),
            transparent 30%
        ),
        var(--black);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.15;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 80%
    );
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.025;
    z-index: 999;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
}

.glow-pink {
    background: var(--pink);
    top: 0;
    left: -250px;
}

.glow-blue {
    background: var(--blue);
    top: 40%;
    right: -250px;
}

/* =========================================
   NAVIGATION
========================================= */

.navbar {
    height: 85px;
    padding: 0 7vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);

    background: rgba(5,5,7,0.75);
    backdrop-filter: blur(20px);

    position: sticky;
    top: 0;
    z-index: 100;
}

.logo,
.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span:not(.logo-bracket),
.footer-logo span {
    color: var(--pink);
}

.logo-bracket {
    color: var(--blue);
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.25s;
}

.navbar nav a:hover {
    color: white;
}

.nav-button {
    padding: 11px 18px;

    border: 1px solid rgba(0,191,255,0.5);
    color: var(--blue-light);

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;

    transition: 0.3s;
}

.nav-button:hover {
    background: var(--blue);
    color: #000;

    box-shadow:
        0 0 25px rgba(0,191,255,0.35);
}

nav a {
    position: relative;
    /* color: #777; */
    text-decoration: none;
    padding: 10px 15px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    height: 2px;
    background: #000;

    transform: scaleX(0);
    transition: transform 0.25s ease;
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
}

nav a.active {
    color: #FFF;
}


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

.hero {
    /* min-height: calc(100vh - 85px); */
    padding: 70px 10vw;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--muted);
    font-size: 11px;
    letter-spacing: 2px;

    margin-bottom: 25px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #00ff9d;
    border-radius: 50%;

    box-shadow:
        0 0 10px #00ff9d;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(55px, 8vw, 105px);
    line-height: 0.92;
    letter-spacing: -5px;

    max-width: 850px;
}

.gradient-text {
    /* display: block; */

    background:
        linear-gradient(
            100deg,
            var(--pink),
            var(--blue)
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-text-invent {
    display: block;

    background:
        linear-gradient(
            100deg,
            var(--blue),
            var(--pink)
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 520px;

    margin-top: 30px;

    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.button {
    padding: 15px 22px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: 0.3s;
}

.button-primary {
    background: var(--pink);

    box-shadow:
        0 0 30px rgba(255,20,147,0.2);
}

.button-primary:hover {
    background: #ff35a7;

    transform: translateY(-3px);

    box-shadow:
        0 10px 40px rgba(255,20,147,0.3);
}

.button-outline {
    border: 1px solid var(--border);
    color: var(--muted);
}

.button-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}


/* =========================================
   AVATAR
========================================= */

.avatar-area {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 500px;
}

.avatar-card {
    width: min(350px, 80vw);

    padding: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(255,20,147,0.15),
            rgba(0,191,255,0.08)
        );

    border: 1px solid rgba(255,255,255,0.12);

    position: relative;
    z-index: 2;

    box-shadow:
        0 0 80px rgba(255,20,147,0.08);
}

.avatar-top,
.avatar-bottom {
    display: flex;
    justify-content: space-between;

    color: var(--muted);

    font-size: 8px;
    letter-spacing: 2px;

    padding: 8px;
}

.avatar-top span:last-child {
    color: var(--blue);
}

.avatar-wrapper {
    aspect-ratio: 1;

    overflow: hidden;

    /* background:
        linear-gradient(
            145deg,
            #18101a,
            #071218
        ); */
}

.avatar {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        saturate(1.15)
        contrast(1.05);
}

.avatar-ring {
    position: absolute;

    border: 1px solid;

    border-radius: 50%;

    animation: rotate 20s linear infinite;
}

.ring-one {
    width: 430px;
    height: 430px;

    border-color:
        rgba(255,20,147,0.3)
        transparent
        rgba(255,20,147,0.3)
        transparent;
}

.ring-two {
    width: 520px;
    height: 520px;

    border-color:
        transparent
        rgba(0,191,255,0.25)
        transparent
        rgba(0,191,255,0.25);

    animation-direction: reverse;
    animation-duration: 30s;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================
   SIGNATURE
========================================= */

.signature-section {
    padding: 30px 7vw 100px;

    display: flex;
    align-items: center;
    gap: 30px;
}

.section-line {
    height: 1px;
    background: var(--border);
    flex: 1;
}

.signature-container {
    max-width: 500px;

    padding: 15px 30px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,0.015);
}

.signature {
    max-height: 100px;
    width: auto;

    margin: auto;

    opacity: 0.9;
}


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

.section {
    padding: 50px 10vw;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 25px;

    margin-bottom: 70px;
}

.section-number {
    font-family: var(--font-heading);
    color: var(--pink);

    font-size: 13px;
    letter-spacing: 2px;
}

.section-number.blue {
    color: var(--blue);
}

.eyebrow {
    color: var(--muted);

    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section h2 {
    margin-top: 8px;

    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 65px);
    letter-spacing: -3px;
}

.section h2 span {
    color: var(--pink);
}

.section h2 .blue-text {
    color: var(--blue);
}

/* =========================================
   ABOUT
========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 100px;
    align-items: center;
}

.about-text {
    max-width: 700px;
}

.about-text p {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 20px;
}

.about-text .large-text {
    color: white;

    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1.4;

    margin-top: 0;
}

.info-card {
    overflow: hidden;
    min-height: 320px;

    padding: 35px;

    background: var(--card);

    border: 1px solid var(--border);

    position: relative;

    /* box-shadow:
        -8px 8px 0 rgba(255,20,147,0.15); */
}

.card-label {
    color: var(--blue);

    font-size: 9px;
    letter-spacing: 3px;
}

.info-card h3 {
    margin-top: 30px;

    font-family: var(--font-heading);
    font-size: 38px;
    line-height: 1;
}

.info-card h3 span {
    color: var(--pink);
}

.card-stat {
    display: flex;
    justify-content: space-between;

    padding: 15px 0;

    border-bottom: 1px solid var(--border);

    margin-top: 15px;

    font-size: 9px;
    letter-spacing: 1px;
    color: var(--muted);
}

.card-stat strong {
    color: white;
}

.card-stat i {
    display: inline-block;

    width: 5px;
    height: 5px;

    margin-right: 5px;

    border-radius: 50%;
    background: #00ff9d;

    box-shadow: 0 0 8px #00ff9d;
}

.card-corner {
    width: 15px;
    height: 15px;

    position: absolute;
}

.top-left {
    top: -1px;
    left: -1px;

    border-top: 2px solid var(--pink);
    border-left: 2px solid var(--pink);
}

.top-right {
    top: -1px;
    right: -1px;

    border-top: 2px solid var(--green);
    border-right: 2px solid var(--green);
}

.bottom-right {
    bottom: -1px;
    right: -1px;

    border-bottom: 2px solid var(--blue);
    border-right: 2px solid var(--blue);
}

.bottom-left {
    bottom: -1px;
    left: -1px;

    border-bottom: 2px solid var(--orange);
    border-left: 2px solid var(--orange);
}

.info-bg {
    position: absolute;

    /* Small, pushed to the right */
    width: 300px;
    height: 300px;

    right: 5px;
    top: 50%;

    transform: translateY(-50%);

    object-fit: cover;

    /* Make it feel distant */
    opacity: 0.35;

    filter:
        grayscale(50%)
        contrast(0.8)
        brightness(0.7)
        blur(1px);

    z-index: 0;

    /*
       Fade the LEFT side of the image away.
       This keeps the image mostly on the right.
    */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        transparent 20%,
        rgba(0, 0, 0, 0.5) 55%,
        black 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        transparent 20%,
        rgba(0, 0, 0, 0.5) 55%,
        black 100%
    );

    pointer-events: none;

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.info-pink::before {
    background: var(--pink);
}

.info-blue::before {
    background: var(--blue);
}

.info-purple::before {
    background: var(--purple);
}

.info-green::before {
    background: var(--green);
}

.info-orange::before {
    background: var(--orange);
}

.info-red::before {
    background: var(--red);
}

.info-yellow::before {
    background: var(--yellow);
}

.info-pink .info-link {
    color: var(--pink);
}

.info-blue .info-link {
    color: var(--blue);
}

.info-purple .info-link {
    color: var(--purple);
}

.info-green .info-link {
    color: var(--green);
}

.info-orange .info-link {
    color: var(--orange);
}

.info-red .info-link {
    color: var(--red);
}

.info-yellow .info-link {
    color: var(--yellow);
}

.info-card.info-pink {
    box-shadow:
        -8px 8px 0 rgba(255,20,147,0.15);
}

.info-card.info-blue {
    box-shadow:
        -8px 8px 0 rgba(20,147,255,0.15);
}

.info-card.info-purple {
    box-shadow:
        -8px 8px 0 rgba(147,20,255,0.15);
}

.info-card.info-green {
    box-shadow:
        -8px 8px 0 rgba(34,197,94,0.15);
}

.info-card.info-orange {
    box-shadow:
        -8px 8px 0 rgba(249,115,22,0.15);
}

.info-card.info-red {
    box-shadow:
        -8px 8px 0 rgba(239,68,68,0.15);
}

.info-card.info-yellow {
    box-shadow:
        -8px 8px 0 rgba(234,179,8,0.15);
}

.info-card:hover {
    transform: translateY(-8px);

    border-color: rgba(255,255,255,0.2);
}

.info-card:hover::before {
    opacity: 0.35;
}

.info-card::before {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    border-radius: 50%;

    filter: blur(80px);

    opacity: 0.15;

    right: -100px;
    bottom: -100px;

    transition: 0.35s;
}

/* =========================================
   PROJECTS
========================================= */

.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    min-height: 420px;

    padding: 30px;

    background: var(--card);

    border: 1px solid var(--border);

    position: relative;
    overflow: hidden;

    transition: 0.35s;
}

.project-card::before {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    border-radius: 50%;

    filter: blur(80px);

    opacity: 0.15;

    right: -100px;
    bottom: -100px;

    transition: 0.35s;
}

.project-pink::before {
    background: var(--pink);
}

.project-blue::before {
    background: var(--blue);
}

.project-purple::before {
    background: var(--purple);
}

.project-green::before {
    background: var(--green);
}

.project-orange::before {
    background: var(--orange);
}

.project-red::before {
    background: var(--red);
}

.project-yellow::before {
    background: var(--yellow);
}

.project-card:hover {
    transform: translateY(-8px);

    border-color: rgba(255,255,255,0.2);
}

.project-card:hover::before {
    opacity: 0.35;
}

.project-number {
    font-family: var(--font-heading);

    font-size: 70px;
    font-weight: 700;

    color: rgba(255,255,255,0.2);

    position: absolute;
    top: 15px;
    right: 20px;
}

.project-content {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
}

.project-type {
    /* color: var(--muted); */

    font-size: 9px;
    letter-spacing: 2px;
}

.project-card h3 {
    color: var(--white);
    margin-top: 10px;

    font-family: var(--font-heading);
    font-size: 32px;
}

.project-card p {
    color: var(--muted);

    line-height: 1.6;
    font-size: 13px;

    margin-top: 10px;

    max-width: 280px;
}

.project-link {
    display: inline-flex;
    gap: 10px;

    margin-top: 25px;

    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-pink {
    color: var(--pink);
}

.project-blue {
    color: var(--blue);
}

.project-purple {
    color: var(--purple);
}

.project-green {
    color: var(--green);
}

.project-orange {
    color: var(--orange);
}

.project-red {
    color: var(--red);
}

.project-yellow {
    color: var(--yellow);
}

/* =========================================
   PROJECT BACKGROUND IMAGE
========================================= */

.project-card {
    position: relative;
    overflow: hidden;
}

.project-bg {
    position: absolute;

    /* Small, pushed to the right */
    width: 300px;
    height: 300px;

    right: -40px;
    top: 50%;

    transform: translateY(-50%);

    object-fit: cover;

    /* Make it feel distant */
    opacity: 0.35;

    filter:
        grayscale(50%)
        contrast(0.8)
        brightness(0.7)
        blur(1px);

    z-index: 0;

    /*
       Fade the LEFT side of the image away.
       This keeps the image mostly on the right.
    */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        transparent 20%,
        rgba(0, 0, 0, 0.5) 55%,
        black 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        transparent 20%,
        rgba(0, 0, 0, 0.5) 55%,
        black 100%
    );

    pointer-events: none;

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}


/* Keep all text ABOVE the image */

.project-content {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;

    z-index: 2;
}

.project-number {
    position: absolute;
    z-index: 2;
}


/* Subtle hover effect */

.project-card:hover .project-bg {
    opacity: 0.45;

    transform:
        translateY(-50%)
        scale(1.04);
}


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

.contact {
    /* OG Large Single Thinggy */
    /* margin: 100px 7vw;

    padding: 120px 30px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(255,20,147,0.06),
            rgba(0,191,255,0.06)
        );

    border: 1px solid var(--border);

    position: relative;
    overflow: hidden; */

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.contact-card {
    min-height: 150px;

    padding: 28px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--card);
    border: 1px solid var(--border);

    position: relative;
    overflow: hidden;

    transition: 0.3s;
}

.contact-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    filter: blur(70px);
    opacity: 0;

    transition: 0.3s;
}

.contact-card:hover::before {
    opacity: 0.18;
}

.contact-card.contact-pink {
    box-shadow:
        8px -8px 0 rgba(255,20,147,0.15);
}

.contact-card.contact-blue {
    box-shadow:
        8px -8px 0 rgba(20,147,255,0.15);
}

.contact-card.contact-purple {
    box-shadow:
        8px -8px 0 rgba(147,20,255,0.15);
}

.contact-card.contact-green {
    box-shadow:
        8px -8px 0 rgba(34,197,94,0.15);
}

.contact-card.contact-orange {
    box-shadow:
        8px -8px 0 rgba(249,115,22,0.15);
}

.contact-card.contact-red {
    box-shadow:
        8px -8px 0 rgba(239,68,68,0.15);
}

.contact-card.contact-yellow {
    box-shadow:
        8px -8px 0 rgba(234,179,8,0.15);
}

.contact-pink::before  { background: var(--pink); }
.contact-blue::before  { background: var(--blue); }
.contact-purple::before { background: var(--purple); }
.contact-green::before  { background: var(--green); }
.contact-orange::before { background: var(--orange); }
.contact-red::before    { background: var(--red); }
.contact-yellow::before { background: var(--yellow); }

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-pink:hover  { border-color: var(--pink); }
.contact-blue:hover  { border-color: var(--blue); }
.contact-purple:hover { border-color: var(--purple); }
.contact-green:hover  { border-color: var(--green); }
.contact-orange:hover { border-color: var(--orange); }
.contact-red:hover    { border-color: var(--red); }
.contact-yellow:hover { border-color: var(--yellow); }

.contact-card:hover::before {
    opacity: 0.18;
}

.contact-type {
    /* color: var(--muted); */

    font-size: 9px;
    letter-spacing: 2px;
}

.contact-card h3 {
    color: var(--white);
    margin-top: 8px;

    font-family: var(--font-heading);
    font-size: 25px;

    position: relative;
}

.contact-card p {
    margin-top: 6px;

    color: var(--muted);

    font-size: 12px;

    position: relative;
}

.contact-arrow {
    font-size: 24px;

    position: relative;

    transition: 0.3s;
}

.contact-pink { color: var(--pink); }
.contact-blue { color: var(--blue); }
.contact-purple { color: var(--purple); }
.contact-green { color: var(--green); }
.contact-orange { color: var(--orange); }
.contact-red { color: var(--red); }
.contact-yellow { color: var(--yellow); }

.contact-card:hover .link-arrow {
    transform: translate(4px, -4px);
}

.contact-glow {
    position: absolute;

    width: 500px;
    height: 200px;

    background: linear-gradient(
        90deg,
        var(--pink),
        var(--blue)
    );

    filter: blur(120px);
    opacity: 0.1;

    left: 50%;
    top: 40%;

    transform: translate(-50%, -50%);
}

.contact h2 {
    position: relative;

    margin-top: 20px;

    font-family: var(--font-heading);
    font-size: clamp(45px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -5px;
}

.contact h2 span {
    background:
        linear-gradient(
            90deg,
            var(--pink),
            var(--blue)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.contact p {
    position: relative;

    color: var(--muted);

    max-width: 450px;

    margin: 30px auto;

    line-height: 1.7;
}

.contact-button {
    display: inline-flex;
    gap: 20px;

    position: relative;

    padding: 16px 25px;

    background: white;
    color: black;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;

    transition: 0.3s;
}

.contact-button:hover {
    background: var(--pink);
    color: white;

    box-shadow:
        0 0 40px rgba(255,20,147,0.3);
}


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

footer {
    padding: 35px 7vw;

    /* border-top: 1px solid var(--border); */

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--muted);

    font-size: 10px;
    letter-spacing: 1px;
}

.socials {
    display: flex;
    gap: 25px;
}

.socials a {
    transition: 0.25s;
}

.socials a:hover {
    color: var(--blue);
}

.copyright {
    color: #55555f;
}

/* =========================================
   LINKS
========================================= */

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

.link-card {
    min-height: 150px;

    padding: 28px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--card);
    border: 1px solid var(--border);

    position: relative;
    overflow: hidden;

    transition: 0.3s;
}

.link-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    filter: blur(70px);
    opacity: 0.18;

    transition: 0.3s;
}

.link-pink::before  { background: var(--pink); }
.link-blue::before  { background: var(--blue); }
.link-purple::before { background: var(--purple); }
.link-green::before  { background: var(--green); }
.link-orange::before { background: var(--orange); }
.link-red::before    { background: var(--red); }
.link-yellow::before { background: var(--yellow); }

.link-card:hover {
    transform: translateY(-5px);
}

.link-pink:hover  { border-color: var(--pink); }
.link-blue:hover  { border-color: var(--blue); }
.link-purple:hover { border-color: var(--purple); }
.link-green:hover  { border-color: var(--green); }
.link-orange:hover { border-color: var(--orange); }
.link-red:hover    { border-color: var(--red); }
.link-yellow:hover { border-color: var(--yellow); }

.link-card:hover::before {
    opacity: 0.18;
}

.link-type {
    /* color: var(--muted); */

    font-size: 9px;
    letter-spacing: 2px;
}

.link-card h3 {
    color: var(--white);
    margin-top: 8px;

    font-family: var(--font-heading);
    font-size: 25px;

    position: relative;
}

.link-card p {
    margin-top: 6px;

    color: var(--muted);

    font-size: 12px;

    position: relative;
}

.link-arrow {
    font-size: 24px;

    position: relative;

    transition: 0.3s;
}

.link-pink { color: var(--pink); }
.link-blue { color: var(--blue); }
.link-purple { color: var(--purple); }
.link-green { color: var(--green); }
.link-orange { color: var(--orange); }
.link-red { color: var(--red); }
.link-yellow { color: var(--yellow); }

/* .link-pink .link-arrow  { color: var(--pink); }
.link-blue .link-arrow  { color: var(--blue); }
.link-purple .link-arrow { color: var(--purple); }
.link-green .link-arrow  { color: var(--green); }
.link-orange .link-arrow { color: var(--orange); }
.link-red .link-arrow    { color: var(--red); }
.link-yellow .link-arrow { color: var(--yellow); }

.link-pink:hover .link-arrow  { color: var(--pink); }
.link-blue:hover .link-arrow  { color: var(--blue); }
.link-purple:hover .link-arrow { color: var(--purple); }
.link-green:hover .link-arrow  { color: var(--green); }
.link-orange:hover .link-arrow { color: var(--orange); }
.link-red:hover .link-arrow    { color: var(--red); }
.link-yellow:hover .link-arrow { color: var(--yellow); } */

.link-card:hover .link-arrow {
    transform: translate(4px, -4px);
}

/* =========================================
   LINK DIVIDERS
========================================= */

.links-divider {
    display: flex;
    align-items: center;
    gap: 20px;

    margin: 55px 0 25px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.links-divider::before,
.links-divider::after {
    content: "";

    height: 1px;

    background: var(--border);

    flex: 1;
}

.links-divider span {
    color: var(--blue);

    white-space: nowrap;
}

.links-divider:first-of-type {
    margin-top: 0;
}

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

@media (max-width: 900px) {

    .navbar {
        padding: 0 5vw;
    }

    .navbar nav {
        display: none;
    }

    .hero {
        padding: 20px 7vw;

        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .avatar-area {
        min-height: 420px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .project-card {
        min-height: 350px;
    }

}


@media (max-width: 600px) {

    .navbar {
        height: 70px;
    }

    .nav-button {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 20px;
    }

    .hero h1 {
        font-size: 55px;
        letter-spacing: -3px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .ring-one {
        width: 320px;
        height: 320px;
    }

    .ring-two {
        width: 370px;
        height: 370px;
    }

    .avatar-area {
        min-height: 360px;
    }

    .signature-section {
        padding-bottom: 50px;
    }

    .signature-container {
        padding: 10px 15px;
    }

    .section {
        padding: 80px 7vw;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .section h2 {
        font-size: 43px;
    }

    .about-text .large-text {
        font-size: 23px;
    }

    .contact {
        margin: 50px 5vw;
        padding: 80px 20px;
    }

    .contact h2 {
        font-size: 50px;
        letter-spacing: -3px;
    }

    footer {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .socials {
        flex-wrap: wrap;
        justify-content: center;
    }

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

}


/* =========================================
   BLOG
========================================= */

/* ── Sub-navigation (archive / search) ─── */

.blog-subnav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.blog-subnav a {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.25s;
}

.blog-subnav a:hover {
    color: var(--blue);
}

/* ── Back link ─────────────────────────── */

.blog-back {
    display: inline-block;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    transition: color 0.25s;
}

.blog-back:hover {
    color: var(--blue);
}

/* ── Single post ───────────────────────── */

.blog-single {
    padding-top: 30px;
}

.blog-post-full {
    max-width: 780px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 40px;
}

.blog-post-meta {
    display: flex;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 16px;
}

.blog-post-desc {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
}

.blog-post-cover {
    margin: 0 0 40px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.blog-post-cover img {
    width: 100%;
    display: block;
}

.blog-post-content {
    font-size: 16px;
    line-height: 1.85;
    color: #d4d4d8;
}

.blog-post-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    letter-spacing: -1px;
    margin: 40px 0 16px;
    color: #fff;
}

.blog-post-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin: 32px 0 12px;
    color: #fff;
}

.blog-post-content p {
    margin-bottom: 18px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 0 0 18px 24px;
    color: #d4d4d8;
}

.blog-post-content li {
    margin-bottom: 6px;
}

.blog-post-content a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-post-content a:hover {
    color: var(--blue-light);
}

.blog-post-content code {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: "SF Mono", "Fira Code", monospace;
}

.blog-post-content pre {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 20px 24px;
    overflow-x: auto;
    margin-bottom: 18px;
    border-radius: 6px;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
}

.blog-post-content blockquote {
    border-left: 3px solid var(--pink);
    padding-left: 20px;
    margin: 0 0 18px;
    color: var(--muted);
    font-style: italic;
}

.blog-post-content img {
    max-width: 100%;
    border: 1px solid var(--border);
    margin: 24px 0;
}

/* ── Post tags ─────────────────────────── */

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.blog-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.5px;
    transition: all 0.25s;
}

.blog-tag:hover {
    border-color: var(--pink);
    color: var(--pink);
}

/* ── Post navigation (prev / next) ─────── */

.blog-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.blog-nav-link {
    color: var(--muted);
    font-size: 13px;
    transition: color 0.25s;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-nav-link:hover {
    color: var(--blue);
}

/* ── Pagination ────────────────────────── */

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.blog-pagination-link {
    color: var(--blue);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.25s;
}

.blog-pagination-link:hover {
    color: var(--blue-light);
}

.blog-pagination-info {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
}

/* ── Search form ───────────────────────── */

.blog-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.blog-search-form.inline {
    margin-bottom: 0;
}

.blog-search-input {
    padding: 10px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.25s;
    min-width: 220px;
}

.blog-search-input.small {
    min-width: 160px;
    padding: 8px 14px;
    font-size: 12px;
}

.blog-search-input:focus {
    border-color: var(--blue);
}

.blog-search-input::placeholder {
    color: #555;
}

.blog-search-btn {
    padding: 10px 20px;
    background: var(--blue);
    color: #000;
    border: none;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.25s;
}

.blog-search-btn:hover {
    background: var(--blue-light);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

/* ── Archive ───────────────────────────── */

.blog-archive-year {
    margin-bottom: 40px;
}

.blog-archive-year-heading {
    font-family: var(--font-heading);
    font-size: 32px;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--pink);
}

.blog-archive-month {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--muted);
    margin: 16px 0 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-archive-list {
    list-style: none;
    padding: 0;
}

.blog-archive-list li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 14px;
}

.blog-archive-list li time {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
    min-width: 50px;
}

.blog-archive-list li span {
    color: var(--muted);
}

.blog-archive-list li a {
    color: #d4d4d8;
    transition: color 0.25s;
}

.blog-archive-list li a:hover {
    color: var(--pink);
}

/* ── Empty state ───────────────────────── */

.blog-empty {
    color: var(--muted);
    font-size: 15px;
    padding: 40px 0;
}

.blog-subtitle {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ── Tags cloud ────────────────────────── */

.blog-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    color: #d4d4d8;
    font-size: 14px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: all 0.25s;
}

.blog-tag-pill:hover {
    border-color: var(--pink);
    color: var(--pink);
    transform: translateY(-2px);
}

.blog-tag-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    color: var(--muted);
    font-size: 11px;
    font-family: "Inter", sans-serif;
}

/* ── Responsive ────────────────────────── */

@media (max-width: 768px) {
    .blog-post-nav {
        flex-direction: column;
        gap: 12px;
    }

    .blog-nav-link {
        max-width: 100%;
    }

    .blog-search-form {
        flex-direction: column;
    }

    .blog-search-input {
        min-width: 100%;
    }

    .blog-subnav {
        flex-direction: column;
        align-items: flex-start;
    }
}
