:root {
    --bg: #050507;
    --bg-soft: #09090d;
    --text: #f5f5f7;
    --muted: #8b8b98;
    --border: rgba(255,255,255,.09);

    --blue: #5b8cff;
    --purple: #9b6cff;
    --cyan: #5ee7ff;
    --pink: #ff7ac8;
    --arch: #1793d1;

    --radius: 22px;
    --maxw: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 6px;
}

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

.background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

.grid {
    position: absolute;
    inset: 0;

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

    background-size: 60px 60px;

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

.orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;

    filter: blur(100px);
    opacity: .14;

    animation: float 12s ease-in-out infinite;
}

.orb.one {
    background: var(--blue);
    top: -200px;
    left: -100px;
}

.orb.two {
    background: var(--purple);
    right: -200px;
    top: 30%;
    animation-delay: -4s;
}

.orb.three {
    background: var(--cyan);
    left: 30%;
    bottom: -300px;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -50px); }
}

/* =========================
   CURSOR GLOW
========================= */

.cursor-glow {
    position: fixed;
    left: -300px;
    top: -300px;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(91,140,255,.08),
        transparent 65%
    );

    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
}

@media (pointer: coarse) {
    .cursor-glow { display: none; }
}

/* =========================
   NAVBAR
========================= */

.site-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: min(var(--maxw), calc(100% - 40px));

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

    padding: 13px 18px;

    background: rgba(10,10,14,.65);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);

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

    z-index: 100;
}

.logo {
    font-family: "JetBrains Mono", monospace;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

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

.nav-links {
    display: flex;
    gap: 25px;
    font-size: 13px;
    color: var(--muted);
}

.nav-links a {
    position: relative;
    transition: color .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
    transform: translateX(-50%);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    color: #aaa;
    white-space: nowrap;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 12px #4ade80;
}

.nav-toggle {
    display: none;

    width: 34px;
    height: 34px;

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

    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 10px;

    color: var(--text);
    cursor: pointer;
}

.nav-toggle svg {
    width: 18px;
    height: 18px;
}

/* =========================
   LAYOUT
========================= */

main {
    display: block;
}

section {
    width: min(var(--maxw), calc(100% - 40px));
    margin: auto;
    padding: 130px 0;
}

.page-head {
    padding: 190px 0 40px;
}

.page-head + section {
    padding-top: 90px;
}

/* =========================
   HERO (home)
========================= */

.hero {
    min-height: 100vh;

    width: min(1200px, calc(100% - 40px));

    display: grid;
    grid-template-columns: 1.1fr .9fr;

    align-items: center;
    gap: 80px;

    padding: 120px 0 60px;
}

.hero > * {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 12px;

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

    background: rgba(255,255,255,.025);

    color: var(--muted);
    font-size: 12px;

    margin-bottom: 25px;

    animation: appear .8s ease both;
}

.eyebrow span {
    color: var(--blue);
}

h1 {
    font-size: clamp(55px, 7vw, 100px);
    line-height: .92;
    letter-spacing: -5px;

    animation: appear .8s .1s ease both;
}

.gradient {
    background: linear-gradient(
        100deg,
        #fff,
        #8caaff 40%,
        #a878ff
    );

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

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

    margin-top: 30px;

    font-size: 18px;
    line-height: 1.7;

    color: var(--muted);

    animation: appear .8s .2s ease both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 35px;

    animation: appear .8s .3s ease both;
}

/* =========================
   BUTTONS
========================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 13px 19px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 600;

    transition: .3s ease;
}

.button svg {
    width: 15px;
    height: 15px;
}

.button.primary {
    background: white;
    color: black;
}

.button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,255,255,.12);
}

.button.secondary {
    border: 1px solid var(--border);
    color: #ddd;
    background: rgba(255,255,255,.025);
}

.button.secondary:hover {
    border-color: rgba(255,255,255,.2);
    transform: translateY(-3px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 30px;

    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    color: var(--blue);

    transition: gap .25s ease;
}

.link-arrow:hover {
    gap: 10px;
}

/* =========================
   TERMINAL WINDOW
========================= */

.code-window {
    --tilt: perspective(1000px) rotateY(-5deg);

    position: relative;

    background: rgba(10,10,15,.75);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);

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

    box-shadow:
        0 30px 100px rgba(0,0,0,.5),
        0 0 80px rgba(91,140,255,.08);

    transform: var(--tilt);

    animation:
        appear 1s .3s ease both,
        levitate 6s 1.3s ease-in-out infinite;
}

@keyframes levitate {
    0%, 100% { transform: var(--tilt) translateY(0); }
    50% { transform: var(--tilt) translateY(-12px); }
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 11px 12px 11px 18px;

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

.window-title {
    display: flex;
    align-items: center;
    gap: 9px;

    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #666;
}

.window-title svg {
    width: 13px;
    height: 13px;
    color: var(--arch);
}

.window-controls {
    display: flex;
    gap: 2px;
}

.window-controls span {
    display: grid;
    place-items: center;

    width: 24px;
    height: 24px;

    border-radius: 6px;
    color: #555;
}

.window-controls svg {
    width: 10px;
    height: 10px;
}

.terminal {
    padding: 22px 25px 25px;

    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    line-height: 1.7;

    color: #aaa;

    overflow-x: auto;
}

.terminal pre {
    font: inherit;
}

.prompt .user {
    color: var(--arch);
    font-weight: 600;
}

.prompt .cmd {
    color: var(--text);
}

.fetch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 26px;
    row-gap: 14px;

    margin: 14px 0 16px;
}

.fetch-logo {
    color: var(--arch);
    font-weight: 600;
    line-height: 1.3;
}

.fetch-info .host {
    color: var(--text);
    font-weight: 600;
}

.fetch-info .rule {
    color: #444;
}

.fetch-info .key {
    color: var(--arch);
    font-weight: 600;
}

.palette {
    display: flex;
    margin-top: 8px;
}

.palette span {
    width: 18px;
    height: 12px;
}

.cursor {
    display: inline-block;

    width: 7px;
    height: 15px;

    background: var(--arch);

    vertical-align: middle;

    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* =========================
   SECTION HEADINGS
========================= */

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

    font-family: "JetBrains Mono", monospace;
    font-size: 12px;

    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(35px, 5vw, 55px);
    letter-spacing: -2px;
    line-height: 1.05;
}

.page-head .section-title {
    font-size: clamp(45px, 7vw, 85px);
    letter-spacing: -4px;
    line-height: .95;

    animation: appear .8s .1s ease both;
}

.page-head .section-label {
    animation: appear .8s ease both;
}

.section-description {
    max-width: 640px;

    margin-top: 15px;

    color: var(--muted);
    line-height: 1.7;
}

.page-head .section-description {
    margin-top: 25px;
    font-size: 17px;

    animation: appear .8s .2s ease both;
}

.page-head .hero-buttons {
    margin-top: 30px;
}

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

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

.project {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 28px;

    min-height: 280px;

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

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

    overflow: hidden;

    transition:
        transform .4s ease,
        border-color .4s ease;
}

.project.wide {
    grid-column: 1 / -1;
}

.project.compact {
    min-height: 0;
}

.project::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -120px;
    bottom: -120px;

    border-radius: 50%;

    background: var(--project-color, var(--blue));

    filter: blur(90px);

    opacity: .15;

    transition: .4s;
    pointer-events: none;
}

.project:hover {
    transform: translateY(-7px);
    border-color: rgba(255,255,255,.18);
}

.project:hover::before {
    opacity: .3;
}

.project-number {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    font-family: "JetBrains Mono", monospace;
    color: #555;
    font-size: 12px;
}

.project-number em {
    font-style: normal;
    color: var(--project-color, var(--blue));
}

.project h3 {
    font-size: 25px;
    letter-spacing: -.5px;
    margin-top: 40px;
}

.project.compact h3 {
    font-size: 20px;
    margin-top: 22px;
}

.project p {
    color: var(--muted);
    line-height: 1.6;
    margin-top: 12px;
    max-width: 620px;
}

.project .tags {
    margin-top: auto;
    padding-top: 25px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.tag {
    padding: 6px 9px;

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

    font-family: "JetBrains Mono", monospace;
    font-size: 10px;

    color: #aaa;
}

/* =========================
   FLAGSHIP
========================= */

.flagship {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: 50px;

    margin-top: 50px;
    padding: 40px;

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

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.015)
        );

    overflow: hidden;
}

.flagship::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    left: -220px;
    top: -220px;

    border-radius: 50%;

    background: var(--project-color, var(--blue));

    filter: blur(130px);
    opacity: .14;

    pointer-events: none;
}

.flagship > * {
    position: relative;
    min-width: 0;
}

.flagship h3 {
    margin-top: 28px;

    font-size: clamp(40px, 5vw, 60px);
    letter-spacing: -2.5px;
    line-height: 1;
}

.flagship-tagline {
    margin-top: 12px;

    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    color: var(--project-color, var(--blue));
}

.flagship-lead {
    margin-top: 18px;

    color: var(--muted);
    line-height: 1.7;
}

.flagship-lead code {
    font-family: "JetBrains Mono", monospace;
    font-size: .88em;
    color: var(--text);
}

.feature-list {
    list-style: none;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;

    margin-top: 24px;

    font-size: 13.5px;
    color: #bbb;
}

.feature-list li {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.feature-list li::before {
    content: "▸";
    font-size: 11px;
    color: var(--project-color, var(--blue));
}

.flagship .hero-buttons {
    margin-top: 30px;
    animation: none;
}

.shots {
    position: relative;
    padding-bottom: 14%;

    transform: perspective(1200px) rotateY(-6deg);
}

.shot {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;

    background: #111;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        0 0 60px rgba(255,77,77,.06);
}

.shot img {
    width: 100%;
    height: auto;
}

.shot.small {
    position: absolute;
    left: -8%;
    bottom: 0;

    width: 56%;
}

a.project {
    cursor: pointer;
}

/* =========================
   SKILLS / FACT TILES
========================= */

.skills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 45px;
}

.skill {
    padding: 20px;

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

    background: rgba(255,255,255,.02);

    transition: .3s;
}

.skill:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.045);
}

.skill-name {
    font-weight: 600;
    font-size: 14px;
}

.skill-type {
    margin-top: 5px;

    color: #666;

    font-size: 11px;
    font-family: "JetBrains Mono", monospace;
    text-transform: uppercase;
}

.facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 45px;
}

.fact {
    padding: 26px;
}

.fact .skill-type {
    margin: 0 0 12px;
    color: var(--blue);
}

.fact p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 15px;
}

.fact .tags {
    margin-top: 4px;
}

.skill-group-label {
    margin-top: 45px;

    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
}

.skill-group-label + .skills {
    margin-top: 14px;
}

/* =========================
   TIMELINE
========================= */

.timeline {
    margin-top: 50px;
    border-left: 1px solid var(--border);
    padding-left: 35px;
}

.experience {
    position: relative;
    padding-bottom: 50px;
}

.experience:last-child {
    padding-bottom: 0;
}

.experience::before {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--dot, var(--blue));

    left: -39.5px;
    top: 4px;

    box-shadow: 0 0 20px var(--dot, var(--blue));
}

.experience.upcoming {
    --dot: var(--purple);
}

.experience-date {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--dot, var(--blue));
    text-transform: uppercase;
}

.experience h3 {
    margin-top: 9px;
    font-size: 22px;
    letter-spacing: -.3px;
}

.experience-company {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.experience p {
    max-width: 650px;
    margin-top: 15px;
    color: #888;
    line-height: 1.7;
}

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

.contact {
    text-align: center;
    padding: 160px 0;
}

.contact h2 {
    font-size: clamp(45px, 7vw, 85px);
    letter-spacing: -4px;
    line-height: 1;
}

.contact p {
    max-width: 550px;
    margin: 20px auto 35px;
    color: var(--muted);
    line-height: 1.7;
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 24px;

    min-width: 0;
}

a.contact-card:hover {
    border-color: rgba(255,255,255,.18);
}

.contact-card .ico {
    flex: 0 0 auto;

    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

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

    background: rgba(91,140,255,.08);
    color: var(--blue);
}

.contact-card .ico svg {
    width: 18px;
    height: 18px;
}

.contact-card .label {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
}

.contact-card .value {
    margin-top: 4px;
    font-weight: 600;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.contact-card > span:last-child {
    min-width: 0;
}

.contact-card .go {
    margin-left: auto;
    color: #555;
    transition: .3s ease;
}

a.contact-card:hover .go {
    color: var(--text);
    transform: translateX(3px);
}

/* =========================
   GALLERY
========================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 35px;
}

.gallery-item {
    position: relative;

    padding: 0;

    aspect-ratio: 4 / 3;

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

    background: rgba(255,255,255,.02);

    overflow: hidden;
    cursor: zoom-in;

    color: inherit;
    font: inherit;
    text-align: left;

    transition:
        transform .4s ease,
        border-color .4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,.18);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.portrait img {
    object-position: center 15%;
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 30px 16px 14px;

    background: linear-gradient(to top, rgba(5,5,7,.9), transparent);

    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #ddd;
}

.lightbox {
    position: fixed;
    inset: 0;

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

    padding: 40px 20px;

    background: rgba(5,5,7,.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    z-index: 200;
}

.lightbox.open {
    display: flex;
    animation: fade .25s ease both;
}

.lightbox img {
    max-width: min(1100px, 100%);
    max-height: 85vh;

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

    box-shadow: 0 30px 100px rgba(0,0,0,.6);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;

    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

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

    background: rgba(255,255,255,.05);
    color: var(--text);
    cursor: pointer;
}

.lightbox-close svg {
    width: 16px;
    height: 16px;
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================
   AWARDS
========================= */

.award-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 760px;
    margin-top: 34px;
}

.award-stats a {
    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 18px 20px;

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

    background: rgba(255,255,255,.02);

    transition: .3s;
}

.award-stats a:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.045);
    border-color: rgba(255,255,255,.18);
}

.award-stats strong {
    font-size: 18px;
    letter-spacing: -.3px;
}

.award-stats span {
    color: var(--muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
}

.projects.home-awards {
    grid-template-columns: repeat(3, 1fr);
}

.awards {
    display: grid;
    gap: 18px;
    margin-top: 50px;
}

.awards .projects {
    margin-top: 0;
}

.award {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 36px;
    align-items: center;

    scroll-margin-top: 110px;
}

.award.stacked {
    grid-template-columns: 1fr;
    gap: 28px;
}

.award-facts {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-top: 20px;

    list-style: none;

    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--muted);
}

.award-facts li::before {
    content: "→ ";
    color: var(--project-color, var(--blue));
}

.award-certs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.award.stacked .award-certs {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.award-certs.single {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 380px;
    justify-self: end;
}

.award-certs .gallery-item {
    border-radius: 12px;
}

.award-certs .gallery-caption {
    padding: 24px 12px 10px;
    font-size: 10.5px;
}

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

footer {
    width: min(var(--maxw), calc(100% - 40px));
    margin: auto;

    padding: 30px 0;

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

    display: flex;
    justify-content: space-between;
    gap: 10px;

    color: #555;

    font-size: 12px;

    font-family: "JetBrains Mono", monospace;
}

footer a:hover {
    color: var(--text);
}

.footer-links {
    display: flex;
    gap: 18px;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

.js .reveal {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

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

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

@media (max-width: 800px) {

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        gap: 0;

        padding: 8px;

        background: #0a0a0e;

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

        box-shadow: 0 20px 60px rgba(0,0,0,.6);

        font-size: 15px;
    }

    .nav-links.open {
        display: flex;
        animation: fade .2s ease both;
    }

    .nav-links a {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .nav-links a.active {
        background: rgba(255,255,255,.05);
    }

    .nav-links a.active::after {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 50px;
        min-height: 0;
        padding-top: 150px;
    }

    h1 {
        letter-spacing: -3px;
    }

    .code-window {
        --tilt: none;
    }

    .projects,
    .facts,
    .contact-grid,
    .award {
        grid-template-columns: 1fr;
    }

    .award {
        gap: 26px;
    }

    .award-certs.single {
        max-width: none;
    }

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

    .flagship {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 28px;
    }

    .shots {
        transform: none;
    }

    .shot.small {
        left: -4%;
    }

    .skills {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    section {
        padding: 90px 0;
    }

    .page-head {
        padding: 150px 0 20px;
    }

    .page-head + section {
        padding-top: 70px;
    }

    .page-head .section-title {
        letter-spacing: -2.5px;
    }

    .contact {
        padding: 110px 0;
    }

    .contact h2 {
        letter-spacing: -2.5px;
    }

    footer {
        flex-direction: column;
    }
}

@media (max-width: 500px) {

    .site-nav {
        top: 12px;
        width: calc(100% - 24px);
        padding: 10px 12px;
    }

    .nav-status {
        display: none;
    }

    section,
    .hero,
    footer {
        width: calc(100% - 32px);
    }

    h1 {
        letter-spacing: -2px;
    }

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

    .terminal {
        padding: 18px 20px 20px;
        font-size: 12px;
    }

    .project,
    .fact {
        padding: 22px;
    }

    .flagship {
        padding: 22px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .skills,
    .gallery-grid,
    .award-stats {
        grid-template-columns: 1fr;
    }

    .award.stacked .award-certs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-card {
        padding: 18px;
        gap: 14px;
    }

    .contact-card .value {
        font-size: 14px;
    }

    .contact-card .go {
        display: none;
    }
}
