﻿:root {
    /* Typography */
    --dev-font-display: "Barlow Condensed", sans-serif;
    --dev-font-code: "JetBrains Mono", monospace;
    --dev-font-body: "Switzer", sans-serif;

    /* Backgrounds */
    --dev-bg-canvas: #0a0a0c;
    --dev-bg-surface: #111216;
    --dev-bg-elevated: #18191f;

    /* Text */
    --dev-text-primary: #f2eee7;
    --dev-text-muted: #8f8d95;

    /* Accents */
    --dev-accent-violet: #a970ff;
    --dev-accent-lime: #d7ff64;
    --dev-accent-coral: #ff765d;
    --dev-status-success: #45d483;

    /* Structure */
    --dev-border: #2a2b31;
    --dev-page-width: 1440px;
    --dev-rail-width: 92px;
}

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

body {
    min-height: 100vh;
    background-color: #f0f0f0;
    color: #171717;
    font-family: "Switzer", sans-serif;
}

body.portfolio-terminal {
    overflow-x: hidden;
    background-color: var(--dev-bg-canvas);
    color: var(--dev-text-primary);
    font-family: var(--dev-font-code);
}

/* Terminal portfolio â€” navigation rail */
.portfolio-terminal > .site-header {
    display: none;
}

.portfolio-terminal > main,
.portfolio-terminal > .site-footer {
    margin-left: var(--dev-rail-width);
}

.dev-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: var(--dev-rail-width);
    height: 100dvh;
    padding: 22px 0;
    background-color: var(--dev-bg-canvas);
    border-right: 1px solid var(--dev-border);
}

.dev-rail__brand {
    color: var(--dev-text-primary);
    font-family: var(--dev-font-display);
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
}

.dev-rail__navigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 34px;
}

.dev-rail__link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 72px;
    padding: 14px 10px 14px 16px;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.dev-rail__number {
    color: var(--dev-accent-violet);
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
}

.dev-rail__label {
    color: var(--dev-text-primary);
    font-size: 10px;
    line-height: 1;
    font-weight: 500;
}

.dev-rail__dot {
    width: 6px;
    height: 6px;
    background-color: var(--dev-text-muted);
    border-radius: 50%;
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.dev-rail__link:hover,
.dev-rail__link:focus-visible {
    background-color: var(--dev-bg-elevated);
}

.dev-rail__link.is-active .dev-rail__dot {
    background-color: var(--dev-accent-violet);
    box-shadow: 0 0 12px rgb(169 112 255 / 70%);
}

.dev-rail__location {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 4px;
    margin-top: auto;
    padding-left: 16px;
    color: var(--dev-text-muted);
    font-size: 8px;
    line-height: 1.35;
}

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

ul {
    list-style: none;
}

.site-header {
    display: flex;
    justify-content: center;
    padding: 24px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 64px;
    padding: 10px 10px 10px 18px;
    background-color: #ffffff;
    border-radius: 40px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 8%);
}

.navigation__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
}

.navigation__brand img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
}

.navigation__menu {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 600;
}

.navigation__menu a {
    display: block;
    padding: 12px 8px;
    color: #242424;
}

.navigation__contact {
    display: flex;
    flex: 0 0 128px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 128px;
    min-width: 128px;
    height: 42px;
    padding: 12px 18px;
    overflow: hidden;
    color: #ffffff;
    background-color: #111111;
    border: 0;
    border-radius: 28px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition:
        width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        flex-basis 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        padding 0.35s ease;
}

.navigation__contact img {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    max-width: 1920px;
    min-height: auto;
    margin: 0 auto;
    padding: 96px 120px;
}

.hero__content {
    display: flex;
    flex: 0 1 670px;
    flex-direction: column;
    align-items: flex-start;
}

.hero__availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 10px 24px 10px 12px;
    background-color: #ffffff;
    border: 1px solid #dedcd6;
    border-radius: 19px;
    box-shadow: 0 6px 14px rgb(0 0 0 / 8%);
    font-size: 13px;
    font-weight: 600;
}

.hero__status-dot {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-color: rgb(33 179 11 / 45%);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgb(33 179 11 / 0%);
    animation: online-pulse 1.5s ease-out infinite;
}

.hero__status-dot::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background-color: #21b30b;
    border-radius: 50%;
}

@keyframes online-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgb(33 179 11 / 45%);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgb(33 179 11 / 0%);
    }
}

.hero__title {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -1.5px;
}

.hero__title-muted {
    color: #828282;
}

.hero__title-strong {
    color: #000000;
}

.hero__description {
    max-width: 610px;
    margin-top: 24px;
    color: #5e5b56;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.36px;
}

.hero__description-highlight {
    color: #000000;
    font-weight: 600;
}

.hero__location {
    margin-top: 24px;
    color: #77746e;
    font-size: 10px;
    line-height: 15px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero__location img {
    display: block;
    width: 24px;
    height: 24px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 29px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    gap: 12px;
}

.button img {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.button--primary {
    min-width: 180px;
    background-color: #171717;
    color: #ffffff;
    box-shadow: 0 7px 14px rgb(0 0 0 / 16%);
}

.button--secondary {
    min-width: 160px;
    background-color: #ffffff;
    color: #111111;
    border: 1px solid #d8d6d0;
    font-size: 14px;
}

.button {
    transition: transform 0.2s ease;
}

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

.hero__visual {
    display: flex;
    flex: 0 1 480px;
    justify-content: center;
}

.hero__visual img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
}

.navigation__menu a {
    transition: color 0.2s ease;
}

.navigation__menu a:hover {
    color: #828282;
}

.navigation__toggle {
    display: none;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.navigation__contact-default,
.navigation__contact-hover {
    width: auto;
}

.navigation__contact-hover,
.navigation__contact-icon--hover,
.navigation__contact-icon--whatsapp {
    display: none !important;
}

.navigation__contact:hover,
.navigation__contact:focus-visible {
    flex-basis: 188px;
    width: 188px;
    padding: 12px;
}

.navigation__contact:hover .navigation__contact-default,
.navigation__contact:hover .navigation__contact-icon--default,
.navigation__contact:focus-visible .navigation__contact-default,
.navigation__contact:focus-visible .navigation__contact-icon--default {
    display: none !important;
}

.navigation__contact:hover .navigation__contact-hover,
.navigation__contact:hover .navigation__contact-icon--hover,
.navigation__contact:hover .navigation__contact-icon--whatsapp,
.navigation__contact:focus-visible .navigation__contact-hover,
.navigation__contact:focus-visible .navigation__contact-icon--hover,
.navigation__contact:focus-visible .navigation__contact-icon--whatsapp {
    display: block !important;
}

.technology-slider {
    display: flex;
    align-items: center;
    gap: 75px;
    min-height: 128px;
    padding: 24px 120px;
    background-color: #f0f0f0;
    overflow: hidden;
}

.technology-slider__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
}

.technology-slider__eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #77746e;
    font-size: 16px;
    line-height: 15px;
    font-weight: 600;
    letter-spacing: 1.28px;
}

.technology-slider__status-dot {
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.technology-slider__title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000000;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.4px;
    white-space: nowrap;
}

.technology-slider__title img {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.technology-slider__group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.technology-slider__item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.technology-slider__item img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.technology-slider__item span {
    min-width: 130px;
    color: #0a0d12;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

.technology-slider__viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;

    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            #000000 12%,
            #000000 88%,
            transparent 100%);

    mask-image: linear-gradient(to right,
            transparent 0%,
            #000000 12%,
            #000000 88%,
            transparent 100%);
}

.technology-slider__group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.technology-slider__track {
    display: flex;
    width: max-content;
}

.technology-slider__track {
    display: flex;
    width: max-content;
    animation: technology-scroll 20s linear infinite;
}

.technology-slider__group {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
}

.technology-slider--paused .technology-slider__track {
    animation-play-state: paused;
}

.skills {
    padding: 0 120px 126px;
    background-color: #f0f0f0;
}

.skills__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 418px;
    align-items: center;
    gap: 64px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.skills__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 101px;
    min-width: 0;
    min-height: 568px;
}

.skills__title {
    color: #111111;
    font-size: 62px;
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -3.72px;
}

.skills__title span {
    display: block;
}

.skills__title-muted {
    width: max-content;
    color: transparent;
    background: linear-gradient(180deg,
            #c7c7cc 0%,
            #111111 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.skills__stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skills__stack-title {
    color: #111111;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.56px;
}

.skills__logos {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            #000000 10%,
            #000000 90%,
            transparent 100%);

    mask-image: linear-gradient(to right,
            transparent 0%,
            #000000 10%,
            #000000 90%,
            transparent 100%);
}

.skills__logos-track {
    display: flex;
    align-items: center;
    width: max-content;
}

.skills__logos-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding-right: 6px;
}

.skills__logo-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 69px;
    height: 69px;
    flex: 0 0 69px;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 12px;
}

.skills__logo-tile img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.skills__logos-track {
    animation: skills-logo-scroll 30s linear infinite;
    will-change: transform;
}

.skills__capabilities {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    width: 418px;
}

.skills__capability {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.skills__capability-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    background-color: #0e0e0d;
    border-radius: 50%;
}

.skills__capability-icon img {
    display: block;
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.skills__capability p {
    color: #111111;
    font-size: 24px;
    line-height: 38px;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes skills-logo-scroll {
    from {
        transform: translateX(0);
    }

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

.about {
    padding: 0 120px 126px;
    background-color: #f0f0f0;
}

.about__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.about__title {
    display: flex;
    flex-direction: column;
    width: 617px;
    max-width: 100%;
    color: #111111;
    font-size: 62px;
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -3.72px;
}

.about__title-muted {
    width: max-content;
    max-width: 100%;
    color: transparent;
    background: linear-gradient(180deg,
            #c7c7cc 0%,
            #111111 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.about__content {
    display: grid;
    grid-template-columns:
        minmax(320px, 442px) minmax(0, 617px);
    justify-content: space-between;
    align-items: start;
    gap: 64px;
    margin-top: 48px;
}

.about__profile,
.about__summary {
    min-width: 0;
}

.about__profile {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about__photo-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 442 / 489;
    overflow: hidden;
    border-radius: 16px;
}

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

.about__socials {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.about__socials a,
.about__socials img {
    display: block;
    width: 30px;
    height: 30px;
}

.about__identity h3 {
    color: #000000;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.48px;
}

.about__identity p {
    margin-top: 2px;
    color: #545454;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.36px;
}

.about__history {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about__history-title {
    color: #000000;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.72px;
}

.about__history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about__history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 4px 4px 2px rgb(174 174 178 / 50%);
}

.about__history-item strong {
    width: 42px;
    flex: 0 0 42px;
    color: #000000;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.36px;
}

.about__history-item img {
    display: block;
    width: 22px;
    height: 2px;
    flex-shrink: 0;
    transform: rotate(90deg);
}

.about__history-item span {
    min-width: 0;
    color: #545454;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.36px;
}

.about__summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 84px;
    padding-top: 48px;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 46px;
    width: 100%;
}

.about__text p {
    color: #111111;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 500;
}

.about__text-highlight {
    color: #111111;
}

.about__text-muted {
    color: #828282;
}

.about__signature {
    display: block;
    width: min(100%, 496px);
    height: auto;
    transform: rotate(-3.16deg);
    transform-origin: center;
}

.work-process {
    padding: 126px 120px;
    background-color: #f0f0f0;
}

.work-process__container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.work-process__header {
    display: grid;
    grid-template-columns:
        minmax(0, 617px) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
}

.work-process__title {
    display: flex;
    flex-direction: column;
    color: #2b2b2b;
    font-size: 62px;
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -3.72px;
}

.work-process__title-muted {
    width: max-content;
    max-width: 100%;
    color: transparent;
    background: linear-gradient(180deg,
            #c7c7cc 0%,
            #111111 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.work-process__intro {
    color: #828282;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 500;
}

.work-process__intro span {
    display: block;
}

.work-process__intro-highlight {
    color: #111111;
}

.work-process__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 64px;
}

.work-process__step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    min-width: 0;
}

.work-process__step-icon {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.work-process__step-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.work-process__step-content h3 {
    color: #2b2b2b;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
}

.work-process__step-content p {
    color: #828282;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 500;
}

.faq {
    padding: 126px 120px;
    background-color: #f0f0f0;
    font-family: "Switzer", sans-serif;
}

.faq__container {
    display: flex;
    flex-direction: column;
    gap: 61px;
    width: 100%;
    max-width: 1142px;
    margin: 0 auto;
}

.faq__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 473px;
    max-width: 100%;
}

.faq__eyebrow {
    color: #b8b8b8;
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
}

.faq__title {
    display: flex;
    flex-direction: column;
    color: #171717;
    font-size: 64px;
    line-height: 57px;
    font-weight: 600;
    letter-spacing: -2px;
}

.faq__title-muted {
    color: #94928d;
}

.faq__body {
    display: grid;
    grid-template-columns:
        minmax(0, 526px) minmax(0, 584px);
    align-items: start;
    gap: 32px;
}

.faq__contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    min-height: 450px;
    padding: 36px;
    background-color: #ffffff;
    border: 1.5px solid #dedede;
    border-radius: 16px;
}

.faq__avatar {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 50%;
}

.faq__contact-title {
    display: flex;
    flex-direction: column;
    color: #111111;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -2.16px;
}

.faq__contact-title-muted {
    width: max-content;
    max-width: 100%;
    color: transparent;
    background: linear-gradient(180deg,
            #c7c7cc 0%,
            #111111 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.faq__contact-content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 390px;
    max-width: 100%;
}

.faq__contact-content>p {
    color: #545454;
    font-size: 17px;
    line-height: 26px;
    font-weight: 500;
}

.faq__schedule-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 280px;
    max-width: 100%;
    height: 48px;
    padding: 12px 18px;
    color: #ffffff;
    background-color: #000000;
    border-radius: 38px;
    font-size: 18px;
    line-height: 18px;
    font-weight: 600;
}

.faq__schedule-button span {
    white-space: nowrap;
}

.faq__schedule-button img {
    display: block;
    width: 24px;
    height: 24px;
}

.faq__accordion {
    width: 100%;
    min-width: 0;
}

.faq__item {
    width: 100%;
    padding: 20px 24px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1.5px solid #dedede;
    border-radius: 16px;
}

.faq__item+.faq__item {
    margin-top: 12px;
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 0;
    color: #171717;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.faq__question span {
    min-width: 0;
    font-family: "Switzer", sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

.faq__question img {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq__answer {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.35s ease,
        margin-top 0.35s ease,
        opacity 0.25s ease;
}

.faq__answer p {
    color: #64615b;
    font-family: "Switzer", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.faq__item--open .faq__answer {
    max-height: 140px;
    margin-top: 12px;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .technology-slider__track:hover {
        animation-play-state: paused;
    }
}

@keyframes technology-scroll {
    from {
        transform: translateX(0);
    }

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

.projects {
    padding: 126px 120px;
    background-color: #f0f0f0;
}

.projects__container {
    width: 100%;
    max-width: 1234px;
    margin: 0 auto;
}

.projects__title {
    color: #111111;
    font-size: 64px;
    line-height: 62px;
    font-weight: 600;
}

.projects__title-word {
    display: inline-block;
    opacity: 0;
    filter: blur(5px);
    transform: translateY(10px);
    transition:
        opacity 600ms ease,
        filter 600ms ease,
        transform 600ms ease;
}

.projects__title.is-visible .projects__title-word {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.projects__title.is-visible .projects__title-word:nth-child(2) {
    transition-delay: 120ms;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 19px;
    min-width: 0;
    min-height: 0;
    padding: 42px 25px 44px;
    overflow: hidden;
    background-color: #b8b8b8;
    border-radius: 20px;
    box-shadow: 0 16px 36px rgb(0 0 0 / 10%);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
}

.project-card__preview {
    width: 100%;
    height: auto;
    aspect-ratio: 555 / 319;
    padding: 12px 13px 14px 12px;
    overflow: hidden;
    background-color: #ffffff;
    border: 8px solid #000000;
    border-radius: 4px;
}

.project-card__preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.project-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.project-card__title {
    color: #f0f0f0;
    font-size: 24px;
    line-height: 29px;
    font-weight: 600;
}

.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    color: #f0f0f0;
    font-size: 16px;
    line-height: 19px;
    font-weight: 600;
    white-space: nowrap;
}

.project-card__link img {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.projects__all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: max-content;
    margin: 48px auto 0;
    color: #111111;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.projects__all-text {
    position: relative;
}

.projects__all-text::after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 1.5px;
    background-color: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects__all-icon {
    position: relative;
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    overflow: hidden;
}

.projects__all-arrow {
    position: absolute;
    inset: 0;
    display: block;
    width: 24px;
    height: 24px;
    filter: brightness(0);
    rotate: 0deg;
    transition:
        translate 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease;
}

.projects__all-arrow--current {
    opacity: 1;
    translate: 0 0;
}

.projects__all-arrow--next {
    opacity: 0;
    translate: -130% 130%;
}

.projects__all-link:hover .projects__all-text::after,
.projects__all-link:focus-visible .projects__all-text::after {
    transform: scaleX(1);
}

.projects__all-link:hover .projects__all-arrow--current,
.projects__all-link:focus-visible .projects__all-arrow--current {
    opacity: 0;
    translate: 130% -130%;
}

.projects__all-link:hover .projects__all-arrow--next,
.projects__all-link:focus-visible .projects__all-arrow--next {
    opacity: 1;
    translate: 0 0;
}

.skills__logos--paused .skills__logos-track {
    animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) {
    .skills__logos-track:hover {
        animation-play-state: paused;
    }
}

.about__socials a {
    opacity: 0;
    pointer-events: none;
    transform: translateX(520px);
    transition:
        opacity 0.4s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.about__socials a:nth-child(1) {
    transition-delay: 0.05s;
}

.about__socials a:nth-child(2) {
    transition-delay: 0.17s;
}

.about__socials a:nth-child(3) {
    transition-delay: 0.29s;
}

.about__socials a:nth-child(4) {
    transition-delay: 0.41s;
}

.about__socials--visible a {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.about__socials a img {
    transition: transform 0.25s ease;
}

.final-cta {
    padding: 126px 120px;
    background-color: #f0f0f0;
}

.final-cta__card {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 44px;
    overflow: hidden;
    background-color: #000000;
    border-radius: 16px;
    box-shadow: 0 18px 34px rgb(0 0 0 / 18%);
}

.final-cta__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 578px) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
}

.final-cta__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    min-width: 0;
}

.final-cta__gradient {
    position: absolute;
    z-index: 1;
    top: -204px;
    right: -195px;
    display: block;
    width: 520px;
    height: 520px;
    pointer-events: none;
}

.final-cta__heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.final-cta__eyebrow {
    color: #00c8b3;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}

.final-cta__title {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-size: 48px;
    line-height: 58px;
    font-weight: 500;
}

.final-cta__title-accent {
    width: max-content;
    max-width: 100%;
    color: transparent;
    background: linear-gradient(90deg,
            #00c8b3 0%,
            #f2f2f7 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.final-cta__action {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.final-cta__description {
    max-width: 578px;
    color: #d3ebf5;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
}

.final-cta__buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.final-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 44px;
    border-radius: 29px;
    font-weight: 600;
}

.final-cta__button img {
    display: block;
    width: 24px;
    height: 24px;
}

.final-cta__button--work {
    width: 220px;
    padding: 0 18px;
    color: #ffffff;
    background-color: #2b2b2b;
    font-size: 16px;
    white-space: nowrap;
}

.final-cta__button--github {
    width: 160px;
    color: #111111;
    background-color: #ffffff;
    border: 1px solid #d8d6d0;
    font-size: 14px;
}

.final-cta__opportunities {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    min-width: 0;
}

.final-cta__opportunities-title {
    color: #ffffff;
    font-size: 24px;
    line-height: 22px;
    font-weight: 600;
}

.final-cta__opportunities-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.final-cta__opportunities-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f0f0f0;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
}

.final-cta__opportunities-list img,
.final-cta__location>img {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.final-cta__location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.final-cta__location p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    line-height: 22px;
}

.final-cta__location strong {
    font-weight: 600;
}

.final-cta__location span {
    font-weight: 400;
}

@media (hover: hover) and (pointer: fine) {

    .about__socials a:hover img,
    .about__socials a:focus-visible img {
        transform: scale(1.15);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about__socials a {
        opacity: 1;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .about__socials a img {
        transition: none;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        padding: 128px 22px 48px;
        gap: 48px;
    }

    .navigation__menu,
    .navigation__contact {
        display: none;
    }

    .navigation {
        width: 100%;
        max-width: 372px;
        min-height: 70px;
        justify-content: space-between;
        padding: 8px 13px;
        border-radius: 32px;
        background-color: rgb(255 255 255 / 50%);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgb(255 255 255 / 70%);
    }

    .navigation__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
    }

    .navigation__toggle img {
        display: block;
        width: 36px;
        height: 36px;
    }

    .navigation.navigation--open {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: 54px 1fr 56px;
        min-height: 380px;
        padding: 12px 14px;
        background-color: rgb(255 255 255 / 50%);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgb(255 255 255 / 70%);
        border-radius: 32px;
        box-shadow: 0 16px 40px rgb(0 0 0 / 12%);
    }

    .site-header {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1000;
        width: 100%;
    }

    .navigation--open .navigation__menu {
        display: flex;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 24px;
        font-size: 28px;
        line-height: 1.2;
    }

    .navigation--open .navigation__menu a {
        padding: 0;
    }

    .navigation--open .navigation__contact {
        display: flex;
        grid-column: 1 / -1;
        width: 100%;
        height: 56px;
        background-color: #111111;
        color: #ffffff;
        border: 1.5px solid #111111;
        border-radius: 36px;
        box-shadow: none;
        font-size: 24px;
        font-weight: 700;
    }

    .navigation--open .navigation__contact img {
        display: none;

    }

    .hero__content {
        flex: none;
        width: 100%;
    }

    .hero__title {
        margin-top: 22px;
        font-size: 40px;
        line-height: 1.05;
        letter-spacing: -1.2px;
    }

    .hero__description {
        margin-top: 20px;
        font-size: 16px;
        line-height: 18px;
        letter-spacing: -0.28px;
    }

    .hero__visual {
        flex: none;
        width: 100%;
    }

    .technology-slider {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px 22px;
    }

    .technology-slider__viewport {
        width: 100%;
    }

    .technology-slider__intro {
        width: 100%;
    }

    .technology-slider__title {
        max-width: 100%;
        font-size: 16px;
        line-height: 20px;
        white-space: normal;
    }

    .hero__actions {
        width: 100%;
        gap: 14px;
    }

    .hero__actions .button {
        flex: 1;
        min-width: 0;
        padding: 0 14px;
    }

    .hero {
        width: 100%;
        max-width: 100%;
        padding-inline: clamp(16px, 5.64vw, 22px);
        overflow: hidden;
    }

    .hero__content {
        min-width: 0;
    }

    .hero__title,
    .hero__description {
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .hero__title {
        font-size: clamp(34px, 10vw, 40px);
    }

    .projects {
        padding: 80px 22px;
    }

    .projects__title {
        font-size: clamp(40px, 12vw, 48px);
        line-height: 1;
    }

    .projects__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }

    .project-card {
        min-height: 0;
        padding: 16px;
        gap: 16px;
        border-radius: 16px;
    }

    .project-card__preview {
        height: auto;
        aspect-ratio: 555 / 319;
        padding: 8px;
        border-width: 6px;
    }

    .project-card__preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .skills {
        padding: 80px 22px;
    }

    .skills__container {
        grid-template-columns: minmax(0, 1fr);
        gap: 64px;
    }

    .skills__intro {
        gap: 48px;
        min-height: 0;
    }

    .skills__title {
        font-size: clamp(40px, 12vw, 52px);
        line-height: 0.98;
        letter-spacing: -2.4px;
    }

    .skills__stack-title {
        font-size: 24px;
        line-height: 1.2;
    }

    .skills__capabilities {
        width: 100%;
        gap: 24px;
    }

    .skills__capability {
        gap: 16px;
    }

    .skills__capability-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .skills__capability-icon img {
        width: 25px;
        height: 25px;
    }

    .skills__capability p {
        min-width: 0;
        font-size: clamp(16px, 5vw, 20px);
        line-height: 1.25;
        white-space: normal;
    }

    .about {
        padding: 80px 22px;
    }

    .about__title {
        width: 100%;
        font-size: clamp(40px, 12vw, 52px);
        line-height: 0.98;
        letter-spacing: -2.4px;
    }

    .about__title-muted {
        width: auto;
    }

    .about__content {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
        margin-top: 40px;
    }

    .about__summary {
        padding-top: 0;
    }

    .about__summary {
        gap: 48px;
    }

    .about__text {
        gap: 32px;
    }

    .about__text p {
        font-size: clamp(18px, 5vw, 20px);
        line-height: 1.25;
    }

    .about__signature {
        width: 100%;
        max-width: 346px;
        margin: 0 auto;
    }

    .work-process {
        padding: 80px 22px;
    }

    .work-process__container {
        gap: 40px;
    }

    .work-process__header {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 24px;
    }

    .work-process__title {
        font-size: clamp(40px, 12vw, 52px);
        line-height: 0.98;
        letter-spacing: -2.4px;
    }

    .work-process__intro {
        font-size: clamp(18px, 5vw, 20px);
        line-height: 1.25;
    }

    .work-process__steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .work-process__steps {
        gap: 36px;
    }

    .work-process__step {
        gap: 16px;
    }

    .work-process__step-icon {
        width: 44px;
        height: 44px;
    }

    .work-process__step-content {
        gap: 8px;
    }

    .work-process__step-content h3 {
        font-size: 28px;
        line-height: 1.2;
    }

    .work-process__step-content p {
        font-size: clamp(18px, 5vw, 20px);
        line-height: 1.25;
    }

    .faq {
        padding: 80px 22px;
    }

    .faq__container {
        gap: 40px;
    }

    .faq__title {
        font-size: clamp(40px, 12vw, 52px);
        line-height: 0.95;
        letter-spacing: -1.5px;
    }

    .faq__body {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .faq__contact-card {
        min-height: 0;
        padding: 24px;
    }

    .faq__avatar {
        width: 64px;
        height: 64px;
    }

    .faq__contact-title {
        font-size: 30px;
        letter-spacing: -1.5px;
    }

    .faq__contact-content {
        gap: 24px;
    }

    .final-cta {
        padding: 80px 22px;
    }

    .final-cta__card {
        padding: 48px 24px;
    }

    .final-cta__content {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .final-cta__title {
        font-size: clamp(36px, 10.5vw, 44px);
        line-height: 1.1;
    }

    .final-cta__title-accent {
        width: auto;
    }

    .final-cta__buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .final-cta__button--work,
    .final-cta__button--github {
        width: 100%;
    }

    .final-cta__gradient {
        top: 42%;
        right: -300px;
    }

    .final-cta__location {
        align-items: flex-start;
    }

    .final-cta__location p {
        display: block;
        font-size: 16px;
        line-height: 22px;
    }

    .final-cta__location p strong,
    .final-cta__location p span {
        display: inline;
    }

    .final-cta__location p span {
        margin: 0 8px;
    }
}

.project-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.project-card__preview img {
    transition: transform 0.4s ease;
}

.site-footer {
    padding: 48px 120px 129px;
    color: #ffffff;
    background-color: #000000;
}

.site-footer__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer__title {
    display: flex;
    flex-direction: column;
    width: 748px;
    max-width: 100%;
    color: #ffffff;
    font-size: 64px;
    line-height: 55px;
    font-weight: 600;
}

.site-footer__title span:first-child {
    color: #00c8b3;
}

.site-footer__contact {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 1136px;
    margin-top: 73px;
}

.site-footer__email,
.site-footer__social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 220px;
}

.site-footer__email h3,
.site-footer__social h3 {
    color: #ffffff;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

.site-footer__email a {
    color: #f0f0f0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.site-footer__social-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-footer__social-links a,
.site-footer__social-links img {
    display: block;
    width: 30px;
    height: 30px;
}

.site-footer__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
    margin-top: 40px;
}

.site-footer__menu,
.site-footer__legal {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-footer__bottom h3 {
    color: #ffffff;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

.site-footer__menu-links {
    display: flex;
    gap: 64px;
}

.site-footer__menu-links div,
.site-footer__legal-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer__bottom a,
.site-footer__copyright {
    color: #f0f0f0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.site-footer__bottom a:hover {
    color: #00c8b3;
}

.site-footer__copyright {
    align-self: flex-end;
}

.site-footer__divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-top: 32px;
}

.site-footer__divider-line {
    display: block;
    width: 100%;
    height: 3px;
}

.site-footer__divider-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.site-footer__social-links a {
    transition: transform 0.25s ease;
}

.site-footer__social-links a:hover {
    transform: scale(1.12);
}

.site-footer {
    font-family: "Switzer", sans-serif;
}


@media (max-width: 768px) {
    .site-footer {
        padding: 64px 28px 48px;
    }

    .site-footer__title {
        width: 100%;
        font-size: 46px;
        line-height: 42px;
    }

    .site-footer__contact {
        flex-direction: column;
        gap: 36px;
        margin-top: 64px;
    }

    .site-footer__email,
    .site-footer__social {
        width: 100%;
    }

    .site-footer__divider {
        margin-top: 36px;
    }

    .site-footer__bottom {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px 32px;
        margin-top: 40px;
    }

    .site-footer__menu-links {
        flex-direction: column;
        gap: 8px;
    }

    .site-footer__copyright {
        grid-column: 1 / -1;
        align-self: auto;
        margin-top: 8px;
    }
}


@media (hover: hover) and (pointer: fine) {
    .project-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 44px rgb(0 0 0 / 16%);
    }

    .project-card:hover .project-card__preview img {
        transform: scale(1.02);
    }
}

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

    .hero__status-dot,
    .technology-slider__track {
        animation: none;
    }
}

/* Contact panel */

.contact-page__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
    padding: 32px 40px 48px;
    overflow-y: auto;
    background-color: #ffffff;
}

.contact-page__close {
    position: absolute;
    top: 24px;
    right: 32px;
    z-index: 2;
    color: #111111;
    font-size: 32px;
    line-height: 32px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.contact-page__close:hover {
    transform: scale(1.15);
}

.contact-page__header {
    padding-right: 40px;
}

.contact-page__header h2 {
    margin: 0;
    color: #0a0a0a;
    font-size: 34px;
    line-height: 42px;
    font-weight: 700;
    letter-spacing: -1px;
}

.contact-page__header p {
    margin: 8px 0 0;
    color: #75757a;
    font-size: 16px;
    line-height: 24px;
}

.contact-page__profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}

.contact-page__avatar {
    position: relative;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
}

.contact-page__avatar img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
}

.contact-page__status {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 14px;
    height: 14px;
    background-color: #00c8b3;
    border: 3px solid #ffffff;
    border-radius: 50%;
}

.contact-page__profile-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-page__profile-text strong {
    color: #0a0a0a;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

.contact-page__profile-text a {
    color: #61636b;
    font-size: 14px;
    line-height: 20px;
}

/* Contact form */

.contact-page .contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.contact-page .contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-page .contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-page .contact-form__field>span {
    color: #0d0d0d;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea,
.contact-page .contact-form select {
    width: 100%;
    color: #111111;
    background-color: #fefefe;
    border: 1px solid #d1d4d9;
    border-radius: 12px;
    outline: none;
    font: inherit;
    font-size: 15px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-page .contact-form input {
    height: 52px;
    padding: 0 14px;
}

.contact-page .contact-form textarea {
    min-height: 150px;
    padding: 14px;
    resize: vertical;
}

.contact-page .contact-form select {
    height: 54px;
    padding: 0 52px 0 14px;
    color: #828282;
    background-image: url("assets/images/contact-chevron-down-icon.svg");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 24px 24px;
    appearance: none;
    cursor: pointer;
}

.contact-page .contact-form input::placeholder,
.contact-page .contact-form textarea::placeholder {
    color: #80828a;
}

.contact-page .contact-form input:focus,
.contact-page .contact-form textarea:focus,
.contact-page .contact-form select:focus {
    border-color: #00c8b3;
    box-shadow: 0 0 0 3px rgba(0, 200, 179, 0.14);
}

.contact-page .contact-form__submit,
.contact-page .contact-form__whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 54px;
    border-radius: 27px;
    font-family: "Switzer", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-page .contact-form__submit {
    margin-top: 6px;
    color: #ffffff;
    background-color: #050505;
    border: 0;
    box-shadow: 0 6px 18px rgba(0, 200, 179, 0.22);
}

.contact-page .contact-form__whatsapp {
    color: #0d0d0d;
    background-color: #ffffff;
    border: 1px solid #121212;
}

.contact-page .contact-form__submit img,
.contact-page .contact-form__whatsapp img {
    display: block;
    width: 24px;
    height: 24px;
}

.contact-page .contact-form__submit:hover,
.contact-page .contact-form__whatsapp:hover {
    transform: scale(1.02);
}

.contact-page .contact-form__whatsapp:hover {
    box-shadow: 0 6px 18px rgba(0, 200, 179, 0.16);
}

.contact-page .contact-form__note {
    margin: -10px 0 0;
    color: #7a7d85;
    font-size: 13px;
    line-height: 18px;
}

/* Contact modal */

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 640px;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.4s;
}

.contact-modal.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.contact-modal__backdrop {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.4s ease;
}

.contact-modal.is-open .contact-modal__backdrop {
    opacity: 1;
}

.contact-modal .contact-page__panel {
    grid-column: 2;
    grid-row: 1;
    z-index: 2;
    width: 100%;
    height: 100dvh;
    overflow-y: auto;
    background-color: #ffffff;
    transform: translateX(100%);
    animation: none !important;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-modal.is-open .contact-page__panel {
    transform: translateX(0);
}

.contact-modal .contact-page__close {
    border: 0;
    background: transparent;
    cursor: pointer;
}

body.contact-modal-open {
    overflow: hidden;
}

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

    .contact-modal .contact-page__panel {
        grid-column: 1;
    }
}

/* Initial page animations */

.site-header,
.hero__availability,
.hero__title,
.hero__description,
.hero__location,
.hero__actions,
.hero__visual,
.technology-slider {
    opacity: 0;
    animation: page-appear 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.site-header {
    animation-delay: 0.1s;
}

.hero__availability {
    animation-delay: 0.4s;
}

.hero__location {
    animation-delay: 0.7s;
}

.hero__actions {
    animation-delay: 0.8s;
}

.hero__visual {
    animation-delay: 0.5s;
}

.technology-slider {
    animation-delay: 0.9s;
}

.hero__word {
    display: inline-block;
    opacity: 0;
    filter: blur(5px);
    transform: translateY(10px);
    animation: hero-word-appear 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: calc(0.2s + (var(--word-index) * 0.08s));
}

.hero__description {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(10px);
    animation: hero-description-appear 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes hero-word-appear {
    from {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(10px);
    }

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

@keyframes hero-description-appear {
    from {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(10px);
    }

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

@keyframes page-appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    .site-header,
    .hero__availability,
    .hero__location,
    .hero__actions,
    .hero__visual,
    .technology-slider {
        opacity: 1;
        animation: none;
    }
}

/* Projects archive page */
.project-archive {
    min-height: 100svh;
    background-color: #f7f7f5;
    color: #111111;
}

.project-archive__hero {
    padding: 210px 24px 112px;
}

.project-archive__container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.project-archive__eyebrow {
    margin: 0 0 32px;
    color: #666666;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-archive__title {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: clamp(88px, 11vw, 168px);
    font-weight: 500;
    line-height: 0.82;
    letter-spacing: -0.07em;
}

.project-archive__title span:last-child {
    color: #777777;
}

.project-archive__description {
    max-width: 720px;
    margin: 64px 0 0 auto;
    color: #444444;
    font-size: 22px;
    line-height: 1.5;
}

.project-archive__work {
    padding: 0 24px 140px;
}

.project-archive__work .projects__grid {
    margin-top: 0;
}

.project-card__link--disabled {
    color: #777777;
    cursor: default;
}

.project-card__link--disabled img {
    opacity: 0.55;
}

.project-card__link--disabled:hover img {
    transform: none;
}

@media (max-width: 700px) {
    .project-archive__hero {
        padding: 150px 22px 72px;
    }

    .project-archive__eyebrow {
        margin-bottom: 24px;
        font-size: 13px;
    }

    .project-archive__title {
        font-size: clamp(62px, 20vw, 84px);
        line-height: 0.88;
    }

    .project-archive__description {
        margin: 48px 0 0;
        font-size: 18px;
    }

    .project-archive__work {
        padding: 0 22px 96px;
    }
}

/* Individual case study pages */
.case-study {
    min-height: 100svh;
    background-color: #f7f7f5;
    color: #111111;
}

.case-study__container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.case-study__hero {
    padding: 180px 24px 112px;
}

.case-study__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #555555;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition:
        color 200ms ease,
        transform 200ms ease;
}

.case-study__back:hover {
    color: #111111;
    transform: translateX(-4px);
}

.case-study__eyebrow {
    margin: 96px 0 28px;
    color: #666666;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.case-study__title {
    margin: 0;
    font-size: clamp(96px, 14vw, 210px);
    font-weight: 500;
    line-height: 0.82;
    letter-spacing: -0.07em;
}

.case-study__intro {
    max-width: 760px;
    margin: 72px 0 0 auto;
    color: #333333;
    font-size: clamp(24px, 2.5vw, 38px);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.case-study__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin: 96px 0 0;
    padding: 32px 0;
    border-top: 1px solid #cfcfcb;
    border-bottom: 1px solid #cfcfcb;
}

.case-study__meta div {
    min-width: 0;
}

.case-study__meta dt {
    margin-bottom: 10px;
    color: #777777;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.case-study__meta dd {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
}

.case-study__cover {
    padding: 0 24px 120px;
}

.case-study__cover-frame {
    padding: 28px;
    border-radius: 32px;
    background-color: #d8d8d5;
}

.case-study__cover-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.case-study__section {
    padding: 120px 24px;
    border-top: 1px solid #d7d7d3;
}

.case-study__section--muted {
    background-color: #e9e9e5;
}

.case-study__two-columns {
    display: grid;
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(64px, 10vw, 160px);
    align-items: start;
}

.case-study__section h2 {
    margin: 0;
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.case-study__copy {
    max-width: 720px;
}

.case-study__copy p {
    margin: 0;
    font-size: 21px;
    line-height: 1.65;
}

.case-study__copy p + p {
    margin-top: 28px;
}

.case-study__next {
    padding: 120px 24px;
    background-color: #111111;
    color: #ffffff;
}

.case-study__next p {
    margin: 0 0 24px;
    color: #888888;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.case-study__next a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: #ffffff;
    font-size: clamp(52px, 8vw, 118px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.06em;
    text-decoration: none;
}

.case-study__next a span:last-child {
    font-size: 0.55em;
    transition: transform 250ms ease;
}

.case-study__next a:hover span:last-child {
    transform: translate(8px, -8px);
}

@media (max-width: 800px) {
    .case-study__hero {
        padding: 140px 22px 80px;
    }

    .case-study__eyebrow {
        margin-top: 64px;
        font-size: 13px;
    }

    .case-study__title {
        font-size: clamp(66px, 20vw, 96px);
        line-height: 0.88;
    }

    .case-study__intro {
        margin-top: 48px;
        font-size: 24px;
    }

    .case-study__meta {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
        margin-top: 64px;
    }

    .case-study__cover {
        padding: 0 22px 80px;
    }

    .case-study__cover-frame {
        padding: 12px;
        border-radius: 20px;
    }

    .case-study__cover-frame img {
        border-radius: 12px;
    }

    .case-study__section {
        padding: 80px 22px;
    }

    .case-study__two-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .case-study__section h2 {
        font-size: 48px;
    }

    .case-study__copy p {
        font-size: 18px;
    }

    .case-study__next {
        padding: 80px 22px;
    }

    .case-study__next a {
        font-size: clamp(44px, 13vw, 64px);
    }
}

/* 404 page */
.error-page {
    background-color: #f7f7f5;
}

.error-hero {
    display: grid;
    place-items: center;
    min-height: 100svh;
    padding: 170px 24px 100px;
    overflow: hidden;
}

.error-hero__content {
    width: 100%;
    max-width: 1400px;
    text-align: center;
}

.error-hero__code {
    margin: 0;
    color: #111111;
    font-size: clamp(190px, 38vw, 520px);
    font-weight: 600;
    line-height: 0.75;
    display: flex;
    justify-content: center;
    gap: clamp(16px, 3vw, 48px);
    letter-spacing: -0.05em;
}

.error-hero__title {
    margin: 64px 0 0;
    color: #111111;
    font-size: clamp(48px, 5vw, 80px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.05em;
}

.error-hero__description {
    margin: 24px auto 0;
    color: #777777;
    font-size: 18px;
    line-height: 1.5;
}

.error-hero__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 16px 22px;
    border-radius: 999px;
    background-color: #111111;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 200ms ease,
        transform 200ms ease;
}

.error-hero__link:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.error-hero__arrow {
    display: inline-block;
    transition: transform 200ms ease;
}

.error-hero__link:hover .error-hero__arrow {
    transform: translate(3px, -3px);
}

@media (max-width: 700px) {
    .error-hero {
        min-height: 100svh;
        padding: 140px 22px 80px;
    }

    .error-hero__code {
        font-size: clamp(150px, 47vw, 260px);
        line-height: 0.8;
    }

    .error-hero__title {
        margin-top: 48px;
        font-size: clamp(40px, 12vw, 56px);
    }

    .error-hero__description {
        max-width: 320px;
        font-size: 16px;
    }
}

/* Privacy Policy page */
.privacy-page {
    min-height: 100svh;
    padding: 180px 24px 140px;
    background-color: #f7f7f5;
    color: #111111;
}

.privacy-policy__container {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.privacy-policy__header {
    margin-bottom: 72px;
}

.privacy-policy__title {
    margin: 0;
    font-size: clamp(64px, 8vw, 112px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.privacy-policy__updated {
    margin: 48px 0 0;
    color: #555555;
    font-size: 18px;
    font-style: italic;
    line-height: 1.5;
}

.privacy-policy__content {
    font-size: 19px;
    line-height: 1.65;
}

.privacy-policy__content section {
    scroll-margin-top: 140px;
}

.privacy-policy__content section + section {
    margin-top: 56px;
}

.privacy-policy__content h2 {
    margin: 0 0 24px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.privacy-policy__content h3 {
    margin: 32px 0 18px;
    font-size: 20px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
}

.privacy-policy__content p {
    margin: 0;
}

.privacy-policy__content p + p {
    margin-top: 20px;
}

.privacy-policy__content ul {
    margin: 20px 0 0;
    padding-left: 28px;
}

.privacy-policy__content li {
    padding-left: 6px;
}

.privacy-policy__content li + li {
    margin-top: 8px;
}

.privacy-policy__content address {
    margin-top: 20px;
    font-style: normal;
}

.privacy-policy__content a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.privacy-policy__content a:hover {
    text-decoration-thickness: 2px;
}

.privacy-policy__notice {
    margin-top: 72px !important;
    padding-top: 32px;
    border-top: 1px solid #cfcfcb;
    font-weight: 500;
}

@media (max-width: 700px) {
    .privacy-page {
        padding: 140px 22px 96px;
    }

    .privacy-policy__header {
        margin-bottom: 56px;
    }

    .privacy-policy__title {
        font-size: clamp(52px, 16vw, 68px);
        line-height: 0.95;
    }

    .privacy-policy__updated {
        margin-top: 32px;
        font-size: 16px;
    }

    .privacy-policy__content {
        font-size: 17px;
        line-height: 1.65;
    }

    .privacy-policy__content section + section {
        margin-top: 48px;
    }

    .privacy-policy__content h2 {
        font-size: 24px;
    }

    .privacy-policy__content h3 {
        margin-top: 28px;
        font-size: 19px;
    }

    .privacy-policy__content ul {
        padding-left: 24px;
    }

    .privacy-policy__notice {
        margin-top: 56px !important;
    }
}

/* Language switcher */

.language-switcher {
    position: relative;
}

.language-switcher__trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 64px;
    height: 36px;
    padding: 0 12px;
    color: #242424;
    background-color: #f5f5f5;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.language-switcher__trigger:hover,
.language-switcher__trigger:focus-visible {
    color: #ffffff;
    background-color: #111111;
    border-color: #111111;
    outline: none;
}

.language-switcher__chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
}

.language-switcher--open .language-switcher__chevron {
    transform: translateY(2px) rotate(225deg);
}

.language-switcher__menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 50;
    width: 174px;
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgb(0 0 0 / 14%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.language-switcher--open .language-switcher__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.language-switcher__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    color: #242424;
    background-color: transparent;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.language-switcher__option:hover,
.language-switcher__option:focus-visible {
    background-color: #f0f0f0;
    outline: none;
}

.language-switcher__option.is-active {
    color: #ffffff;
    background-color: #111111;
}

@media (max-width: 900px) {
    .navigation--open .language-switcher {
        width: 100%;
    }

    .navigation--open .language-switcher__trigger {
        justify-content: space-between;
        width: 100%;
        height: 44px;
        padding: 0 16px;
        background-color: rgb(255 255 255 / 65%);
    }

    .navigation--open .language-switcher__menu {
        position: static;
        display: none;
        width: 100%;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        box-shadow: 0 10px 24px rgb(0 0 0 / 8%);
    }

    .navigation--open
        .language-switcher--open
        .language-switcher__menu {
        display: block;
    }
}

.language-switcher__option-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switcher__flag {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    pointer-events: none;
    user-select: none;
}

.language-switcher__option + .language-switcher__option {
    margin-top: 12px;
}

.language-switcher__option-code {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    opacity: 0.65;
}

@media (min-width: 901px) {
    .language-switcher__menu {
        right: auto;
        left: 50%;
        transform: translate(-50%, -6px);
    }

    .language-switcher--open .language-switcher__menu {
        transform: translate(-50%, 0);
    }
}

/* Keep the language menu above the page content */

.site-header {
    position: relative;
    z-index: 1000;
}

.navigation {
    position: relative;
    overflow: visible;
}

.language-switcher {
    z-index: 1001;
}

.language-switcher__menu {
    z-index: 1002;
}

.language-switcher__option {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

@media (min-width: 1100px) {
    html[lang="pt-BR"] .about__title,
    html[lang="es"] .about__title {
        width: 820px;
    }

    html[lang="pt-BR"] .about__title > span,
    html[lang="es"] .about__title > span {
        white-space: nowrap;
    }
}

/* Let translated actions use their natural width on small screens. */
@media (max-width: 700px) {
    html[lang="pt-BR"] .hero__actions,
    html[lang="es"] .hero__actions {
        flex-wrap: wrap;
    }

    html[lang="pt-BR"] .hero__actions .button,
    html[lang="es"] .hero__actions .button {
        flex: 1 1 max-content;
        max-width: 100%;
    }
}

/* DEV HERO â€” LAYOUT */

.portfolio-terminal .dev-hero {
    width: 100%;
    max-width: calc(var(--dev-page-width) - var(--dev-rail-width));
    min-height: 760px;
    margin: 0 auto;
    padding: 38px 40px 64px;
    color: var(--dev-text-primary);
    background-color: var(--dev-bg-canvas);
    border-bottom: 1px solid var(--dev-border);
}

.portfolio-terminal .dev-hero__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
    color: var(--dev-text-muted);
    border-bottom: 1px solid var(--dev-border);
    font-family: var(--dev-font-code);
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.portfolio-terminal .dev-hero__layout {
    display: grid;
    grid-template-columns:
        minmax(380px, 1.15fr)
        minmax(420px, 1fr)
        minmax(120px, 0.32fr);
    align-items: center;
    gap: 34px;
    min-height: 650px;
    padding-top: 42px;
}

.portfolio-terminal .dev-hero__identity,
.portfolio-terminal .dev-terminal,
.portfolio-terminal .dev-hero__note {
    min-width: 0;
}

.portfolio-terminal .dev-hero__identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-terminal .dev-hero__note {
    align-self: center;
}
/* DEV HERO â€” IDENTITY */

.portfolio-terminal .dev-hero__availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 34px;
    color: var(--dev-text-muted);
    font-family: var(--dev-font-code);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.portfolio-terminal .dev-hero__status-dot {
    position: relative;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    background-color: var(--dev-status-success);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgb(69 212 131 / 12%);
    animation: dev-status-pulse 1.8s ease-out infinite;
}

@keyframes dev-status-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 4px rgb(69 212 131 / 18%);
    }

    50% {
        box-shadow: 0 0 0 10px rgb(69 212 131 / 0%);
    }
}

.portfolio-terminal .dev-hero__title {
    display: flex;
    flex-direction: column;
    margin: 0;
    color: var(--dev-text-primary);
    font-family: var(--dev-font-display);
    font-size: clamp(76px, 6.4vw, 108px);
    line-height: 0.82;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.portfolio-terminal .dev-hero__title span {
    display: block;
}

.portfolio-terminal .dev-hero__role {
    margin-top: 30px;
    color: var(--dev-accent-violet);
    font-family: var(--dev-font-code);
    font-size: clamp(18px, 1.5vw, 23px);
    line-height: 1.4;
    font-weight: 500;
}

.portfolio-terminal .dev-hero__summary {
    max-width: 520px;
    margin-top: 18px;
    color: var(--dev-text-muted);
    font-family: var(--dev-font-code);
    font-size: 15px;
    line-height: 1.65;
}

.portfolio-terminal .dev-hero__summary span {
    display: block;
}

.portfolio-terminal .dev-hero__location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    color: var(--dev-text-muted);
    font-family: var(--dev-font-code);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.portfolio-terminal .dev-hero__location img {
    display: block;
    width: 18px;
    height: 18px;
    opacity: 0.7;
    filter: invert(1);
}
/* DEV HERO â€” TERMINAL */

.portfolio-terminal .dev-terminal {
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgb(24 25 31 / 96%),
            rgb(13 14 18 / 98%)
        );
    border: 1px solid #3a3b43;
    border-radius: 14px;
    box-shadow:
        0 26px 70px rgb(0 0 0 / 45%),
        inset 0 1px 0 rgb(255 255 255 / 4%);
    font-family: var(--dev-font-code);
}

.portfolio-terminal .dev-terminal__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 46px;
    padding: 0 16px;
    background-color: rgb(255 255 255 / 3%);
    border-bottom: 1px solid var(--dev-border);
}

.portfolio-terminal .dev-terminal__controls {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-self: start;
}

.portfolio-terminal .dev-terminal__controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.portfolio-terminal .dev-terminal__controls span:nth-child(1) {
    background-color: #ff5f57;
}

.portfolio-terminal .dev-terminal__controls span:nth-child(2) {
    background-color: #febc2e;
}

.portfolio-terminal .dev-terminal__controls span:nth-child(3) {
    background-color: #28c840;
}

.portfolio-terminal .dev-terminal__filename {
    color: var(--dev-text-muted);
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.03em;
}

.portfolio-terminal .dev-terminal__close {
    justify-self: end;
    color: #686971;
    font-size: 18px;
    line-height: 1;
}

.portfolio-terminal .dev-terminal__body {
    padding: 24px 26px 26px;
}

.portfolio-terminal .dev-terminal__code {
    max-width: 100%;
    overflow: hidden;
    color: #d7d7dc;
    font-family: var(--dev-font-code);
    font-size: 12px;
    line-height: 1.65;
    font-weight: 400;
    white-space: pre-wrap;
    tab-size: 2;
}

.portfolio-terminal .code-keyword {
    color: var(--dev-accent-violet);
}

.portfolio-terminal .code-property {
    color: #7db8ff;
}

.portfolio-terminal .code-string {
    color: var(--dev-accent-lime);
}

.portfolio-terminal .code-boolean {
    color: var(--dev-accent-coral);
}

.portfolio-terminal .dev-terminal__output {
    margin-top: 20px;
    padding-top: 18px;
    color: #c8c8ce;
    border-top: 1px solid var(--dev-border);
    font-size: 12px;
    line-height: 1.8;
}

.portfolio-terminal .dev-terminal__output p {
    margin: 0;
}

.portfolio-terminal .dev-terminal__prompt {
    margin-right: 8px;
    color: var(--dev-accent-violet);
}

.portfolio-terminal .dev-terminal__success {
    color: var(--dev-status-success);
}

.portfolio-terminal .dev-terminal__cursor-line {
    display: flex;
    align-items: center;
    min-height: 22px;
}

.portfolio-terminal .dev-terminal__cursor {
    display: inline-block;
    width: 7px;
    height: 14px;
    background-color: var(--dev-text-primary);
    animation: dev-terminal-blink 1s steps(1) infinite;
}

@keyframes dev-terminal-blink {
    0%,
    48% {
        opacity: 1;
    }

    49%,
    100% {
        opacity: 0;
    }
}
/* DEV HERO â€” CREATIVE NOTE */

.portfolio-terminal .dev-hero__note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    color: var(--dev-text-muted);
    font-style: normal;
}

.portfolio-terminal .dev-hero__note p {
    margin: 0;
    font-family: var(--dev-font-code);
    font-size: 10px;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.portfolio-terminal .dev-hero__note > span {
    display: block;
    width: 34px;
    height: 1px;
    background-color: var(--dev-text-muted);
    transform: rotate(-4deg);
    transform-origin: left center;
}

.portfolio-terminal .dev-hero__note strong {
    display: block;
    color: #b5b2ba;
    font-family: "Segoe Print", "Bradley Hand", cursive;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: 0.015em;
    text-transform: none;
    transform: rotate(-5deg);
    transform-origin: left top;
}

.portfolio-terminal .dev-hero__note::after {
    content: "";
    display: block;
    width: 58px;
    height: 1px;
    margin-top: -12px;
    background-color: #77747d;
    transform: rotate(-13deg);
    transform-origin: left center;
}
/* DEV HERO â€” RESPONSIVE */

/* Notebook */
@media (max-width: 1250px) {
    .portfolio-terminal .dev-hero {
        padding-inline: 32px;
    }

    .portfolio-terminal .dev-hero__layout {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(400px, 1fr);
        gap: 40px;
    }

    .portfolio-terminal .dev-hero__note {
        display: none;
    }

    .portfolio-terminal .dev-hero__title {
        font-size: clamp(68px, 7vw, 92px);
    }
}

/* Tablet */
@media (max-width: 920px) {
    .portfolio-terminal .dev-hero {
        min-height: auto;
        padding: 32px 30px 60px;
    }

    .portfolio-terminal .dev-hero__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 52px;
        min-height: auto;
        padding-top: 54px;
    }

    .portfolio-terminal .dev-hero__identity {
        max-width: 650px;
    }

    .portfolio-terminal .dev-hero__title {
        font-size: clamp(76px, 12vw, 104px);
    }

    .portfolio-terminal .dev-terminal {
        max-width: 650px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .portfolio-terminal .dev-rail {
        position: sticky;
        inset: auto;
        top: 0;
        z-index: 1000;
        display: flex;
        width: 100%;
        height: 64px;
        min-height: 64px;
        padding: 0 18px;
        flex-direction: row;
        align-items: center;
        background-color: rgb(10 10 12 / 92%);
        border-right: 0;
        border-bottom: 1px solid var(--dev-border);
        backdrop-filter: blur(14px);
    }

    .portfolio-terminal .dev-rail__brand {
        width: auto;
        min-width: auto;
        height: auto;
        padding: 0;
        border-bottom: 0;
        font-size: 20px;
    }

    .portfolio-terminal .dev-rail__navigation {
        display: flex;
        flex: 1;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 18px;
        margin: 0;
    }

    .portfolio-terminal .dev-rail__link {
        display: block;
        min-height: auto;
        padding: 8px 0;
    }

    .portfolio-terminal .dev-rail__number,
    .portfolio-terminal .dev-rail__dot,
    .portfolio-terminal .dev-rail__location {
        display: none;
    }

    .portfolio-terminal .dev-rail__label {
        font-size: 9px;
        letter-spacing: 0.05em;
    }

    .portfolio-terminal > main,
    .portfolio-terminal > .site-footer {
        margin-left: 0;
    }

    .portfolio-terminal .dev-hero {
        width: 100%;
        padding: 24px 20px 48px;
    }

    .portfolio-terminal .dev-hero__section-header {
        padding-bottom: 14px;
        font-size: 9px;
    }

    .portfolio-terminal .dev-hero__section-header span:last-child {
        display: none;
    }

    .portfolio-terminal .dev-hero__layout {
        gap: 42px;
        padding-top: 42px;
    }

    .portfolio-terminal .dev-hero__availability {
        margin-bottom: 28px;
        font-size: 9px;
        letter-spacing: 0.02em;
    }

    .portfolio-terminal .dev-hero__title {
        font-size: clamp(58px, 18vw, 82px);
        line-height: 0.86;
    }

    .portfolio-terminal .dev-hero__role {
        margin-top: 24px;
        font-size: 16px;
    }

    .portfolio-terminal .dev-hero__summary {
        margin-top: 16px;
        font-size: 13px;
    }

    .portfolio-terminal .dev-hero__location {
        margin-top: 24px;
        font-size: 9px;
    }

    .portfolio-terminal .dev-terminal {
        max-width: 100%;
        border-radius: 12px;
    }

    .portfolio-terminal .dev-terminal__body {
        padding: 20px 18px 22px;
    }

    .portfolio-terminal .dev-terminal__code,
    .portfolio-terminal .dev-terminal__output {
        font-size: 10px;
    }
}

@media (max-width: 430px) {
    .portfolio-terminal .dev-rail {
        padding-inline: 14px;
    }

    .portfolio-terminal .dev-rail__navigation {
        gap: 11px;
    }

    .portfolio-terminal .dev-rail__label {
        font-size: 8px;
    }

    .portfolio-terminal .dev-hero {
        padding-inline: 16px;
    }

    .portfolio-terminal .dev-hero__title {
        font-size: clamp(54px, 17vw, 70px);
    }

    .portfolio-terminal .dev-terminal__bar {
        padding-inline: 12px;
    }

    .portfolio-terminal .dev-terminal__body {
        padding-inline: 14px;
    }

    .portfolio-terminal .dev-terminal__code,
    .portfolio-terminal .dev-terminal__output {
        font-size: 9px;
    }
}
/* DEV MOBILE â€” FINAL POLISH */

.portfolio-terminal .dev-terminal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #777982;
    background: transparent;
    border: 0;
}

@media (max-width: 760px) {
    .portfolio-terminal .dev-rail__brand {
        flex: 0 0 auto;
        margin-right: 24px;
    }

    .portfolio-terminal .dev-rail__navigation {
        min-width: 0;
        justify-content: space-between;
        gap: 0;
    }

    .portfolio-terminal .dev-rail__link {
        flex: 0 1 auto;
        white-space: nowrap;
    }
}

@media (max-width: 430px) {
    .portfolio-terminal .dev-rail__brand {
        margin-right: 18px;
    }

    .portfolio-terminal .dev-rail__navigation {
        gap: 8px;
    }

    .portfolio-terminal .dev-rail__label {
        font-size: 7.5px;
    }
}
/* DEV SKILLS â€” LAYOUT AND PROFILE */

.portfolio-terminal .dev-skills {
    position: relative;
    width: 100%;
    max-width: calc(var(--dev-page-width) - var(--dev-rail-width));
    margin: 0 auto;
    padding: 38px 40px 72px;
    color: var(--dev-text-primary);
    background-color: var(--dev-bg-canvas);
    border-bottom: 1px solid var(--dev-border);
}

.portfolio-terminal .dev-skills__about-anchor {
    position: absolute;
    top: 0;
    left: 0;
}

.portfolio-terminal .dev-skills__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
    color: var(--dev-text-muted);
    border-bottom: 1px solid var(--dev-border);
    font-family: var(--dev-font-code);
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.portfolio-terminal .dev-skills__layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(48px, 6vw, 88px);
    padding-top: 54px;
}

.portfolio-terminal .dev-skills__profile {
    min-width: 0;
}

.portfolio-terminal .dev-skills .about__photo-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: var(--dev-bg-surface);
    border: 1px solid #36373e;
    border-radius: 8px;
    box-shadow: 0 22px 60px rgb(0 0 0 / 34%);
}

.portfolio-terminal .dev-skills .about__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.86) contrast(1.03);
    transition:
        filter 0.4s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-terminal .dev-skills .about__photo-wrapper:hover .about__photo {
        filter: saturate(1) contrast(1.05);
        transform: scale(1.025);
    }
}

.portfolio-terminal .dev-skills .about__socials {
    right: 12px;
    bottom: 12px;
    gap: 7px;
}

.portfolio-terminal .dev-skills .about__socials a,
.portfolio-terminal .dev-skills .about__socials img {
    width: 34px;
    height: 34px;
}

.portfolio-terminal .dev-skills .about__socials a {
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgb(0 0 0 / 28%);
}

.portfolio-terminal .dev-skills__identity {
    padding: 22px 0 24px;
    border-bottom: 1px solid var(--dev-border);
}

.portfolio-terminal .dev-skills__identity h3 {
    margin: 0;
    color: var(--dev-text-primary);
    font-family: var(--dev-font-display);
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.portfolio-terminal .dev-skills__identity p {
    margin-top: 8px;
    color: var(--dev-accent-violet);
    font-family: var(--dev-font-code);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.portfolio-terminal .dev-skills__timeline {
    padding-top: 24px;
}

.portfolio-terminal .dev-skills__timeline-label {
    margin: 0 0 16px;
    color: var(--dev-text-muted);
    font-family: var(--dev-font-code);
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.09em;
}

.portfolio-terminal .dev-skills__timeline ol {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portfolio-terminal .dev-skills__timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    min-height: 54px;
    padding-bottom: 18px;
    font-family: var(--dev-font-code);
}

.portfolio-terminal .dev-skills__timeline li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 0;
    left: 4px;
    width: 1px;
    background-color: var(--dev-border);
}

.portfolio-terminal .dev-skills__timeline li::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 9px;
    height: 9px;
    background-color: var(--dev-accent-violet);
    border: 2px solid var(--dev-bg-canvas);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--dev-border);
}

.portfolio-terminal .dev-skills__timeline strong {
    padding-left: 18px;
    color: var(--dev-text-primary);
    font-size: 11px;
    line-height: 1.6;
    font-weight: 500;
}

.portfolio-terminal .dev-skills__timeline li span {
    color: var(--dev-text-muted);
    font-size: 11px;
    line-height: 1.6;
}
/* DEV SKILLS â€” CONTENT */

.portfolio-terminal .dev-skills__content {
    min-width: 0;
    padding-top: 6px;
}

.portfolio-terminal .dev-skills__eyebrow {
    margin: 0;
    color: var(--dev-accent-violet);
    font-family: var(--dev-font-code);
    font-size: 10px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.portfolio-terminal .dev-skills__title {
    margin: 16px 0 0;
    color: var(--dev-text-primary);
    font-family: var(--dev-font-display);
    font-size: clamp(58px, 5.4vw, 80px);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.portfolio-terminal .dev-skills__story {
    display: grid;
    gap: 20px;
    max-width: 760px;
    margin-top: 36px;
}

.portfolio-terminal .dev-skills__story p {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    color: var(--dev-text-muted);
    font-family: var(--dev-font-code);
    font-size: 13px;
    line-height: 1.7;
}

.portfolio-terminal .dev-skills__story-highlight {
    display: block;
    color: var(--dev-text-primary);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.portfolio-terminal .dev-skills__stack {
    margin-top: 38px;
    padding-top: 28px;
    border-top: 1px solid var(--dev-border);
}

.portfolio-terminal .dev-skills__stack > p {
    margin: 0 0 16px;
    color: var(--dev-text-muted);
    font-family: var(--dev-font-code);
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.09em;
}

.portfolio-terminal .dev-skills__stack ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portfolio-terminal .dev-skills__stack li {
    padding: 9px 12px;
    color: #cbc9d0;
    background-color: var(--dev-bg-surface);
    border: 1px solid var(--dev-border);
    font-family: var(--dev-font-code);
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.03em;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-terminal .dev-skills__stack li:hover {
        color: var(--dev-text-primary);
        background-color: var(--dev-bg-elevated);
        border-color: var(--dev-accent-violet);
        transform: translateY(-2px);
    }
}

.portfolio-terminal .dev-skills__capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.portfolio-terminal .dev-skills__capabilities article {
    min-width: 0;
    min-height: 168px;
    padding: 22px;
    background:
        linear-gradient(
            145deg,
            rgb(24 25 31 / 88%),
            rgb(15 16 20 / 96%)
        );
    border: 1px solid var(--dev-border);
    transition:
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.portfolio-terminal .dev-skills__capabilities article img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.82;
}

.portfolio-terminal .dev-skills__capabilities article h3 {
    margin: 24px 0 0;
    color: var(--dev-text-primary);
    font-family: var(--dev-font-display);
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
}

.portfolio-terminal .dev-skills__capabilities article p {
    max-width: 270px;
    margin: 10px 0 0;
    color: var(--dev-text-muted);
    font-family: var(--dev-font-code);
    font-size: 10px;
    line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-terminal .dev-skills__capabilities article:hover {
        border-color: #4a4b55;
        box-shadow: 0 18px 44px rgb(0 0 0 / 24%);
        transform: translateY(-4px);
    }
}
/* DEV SKILLS â€” LOGO CAROUSEL */

.portfolio-terminal .dev-skills__capabilities article img {
    filter: none;
    opacity: 0.8;
}

.portfolio-terminal .dev-skills__logos {
    position: relative;
    width: 100%;
    margin-top: 52px;
    padding: 20px 0;
    overflow: hidden;
    background-color: transparent;
    border-top: 1px solid var(--dev-border);
    border-bottom: 1px solid var(--dev-border);
    cursor: pointer;
    mask-image:
        linear-gradient(
            to right,
            transparent,
            #000000 5%,
            #000000 95%,
            transparent
        );
}

.portfolio-terminal .dev-skills__logos .skills__logos-track {
    display: flex;
    width: max-content;
}

.portfolio-terminal .dev-skills__logos .skills__logos-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    padding-right: 10px;
}

.portfolio-terminal .dev-skills__logos .skills__logo-tile {
    display: flex;
    width: 82px;
    height: 68px;
    flex: 0 0 82px;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            145deg,
            rgb(24 25 31 / 90%),
            rgb(15 16 20 / 96%)
        );
    border: 1px solid var(--dev-border);
    border-radius: 6px;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.portfolio-terminal .dev-skills__logos .skills__logo-tile img {
    display: block;
    width: auto;
    max-width: 38px;
    height: auto;
    max-height: 38px;
    object-fit: contain;
}

.portfolio-terminal .dev-skills__logos img[src*="github-icon"],
.portfolio-terminal .dev-skills__logos img[src*="nextjs-logo"],
.portfolio-terminal .dev-skills__logos img[src*="framer-logo"] {
    filter: invert(1);
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-terminal .dev-skills__logos .skills__logo-tile:hover {
        background-color: var(--dev-bg-elevated);
        border-color: var(--dev-accent-violet);
        transform: translateY(-3px);
    }
}
/* DEV SKILLS — STACK DESKTOP ALIGNMENT */

@media (min-width: 821px) {
    .portfolio-terminal .dev-skills__stack {
        display: flex;
        align-items: center;
        gap: 18px;
        margin-top: 114px;
        padding-top: 0;
        border-top: 0;
    }

    .portfolio-terminal .dev-skills__stack > p {
        flex: 0 0 auto;
        margin: 0;
        white-space: nowrap;
    }

    .portfolio-terminal .dev-skills__stack ul {
        flex: 1 1 auto;
        flex-wrap: nowrap;
        min-width: 0;
        gap: 8px;
    }

    .portfolio-terminal .dev-skills__stack li {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

/* DEV SKILLS — RESPONSIVE */

@media (max-width: 1100px) {
    .portfolio-terminal .dev-skills {
        padding-left: 32px;
        padding-right: 32px;
    }

    .portfolio-terminal .dev-skills__layout {
        grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
        gap: 40px;
    }

    .portfolio-terminal .dev-skills__title {
        font-size: clamp(52px, 5vw, 70px);
    }
}

@media (max-width: 820px) {
    .portfolio-terminal .dev-skills {
        padding: 32px 24px 60px;
    }

    .portfolio-terminal .dev-skills__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
        padding-top: 40px;
    }

    .portfolio-terminal .dev-skills__profile {
        width: min(100%, 420px);
    }

    .portfolio-terminal .dev-skills__content {
        padding-top: 0;
    }

    .portfolio-terminal .dev-skills__title {
        font-size: clamp(50px, 9vw, 68px);
    }

    .portfolio-terminal .dev-skills__story {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .portfolio-terminal .dev-skills {
        padding: 28px 18px 48px;
    }

    .portfolio-terminal .dev-skills__section-header {
        gap: 12px;
        padding-bottom: 14px;
        font-size: 10px;
    }

    .portfolio-terminal .dev-skills__section-header > :last-child {
        display: none;
    }

    .portfolio-terminal .dev-skills__layout {
        gap: 34px;
        padding-top: 32px;
    }

    .portfolio-terminal .dev-skills__profile {
        width: 100%;
    }

    .portfolio-terminal .dev-skills__identity {
        padding: 18px 0 20px;
    }

    .portfolio-terminal .dev-skills__identity h3 {
        font-size: 25px;
    }

    .portfolio-terminal .dev-skills__timeline {
        padding-top: 20px;
    }

    .portfolio-terminal .dev-skills__timeline li {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .portfolio-terminal .dev-skills__title {
        margin-top: 14px;
        font-size: clamp(46px, 14vw, 62px);
        line-height: 0.94;
    }

    .portfolio-terminal .dev-skills__story {
        gap: 18px;
        margin-top: 28px;
    }

    .portfolio-terminal .dev-skills__story p {
        font-size: 12px;
    }

    .portfolio-terminal .dev-skills__story-highlight {
        font-size: 13px;
    }

    .portfolio-terminal .dev-skills__stack {
        margin-top: 30px;
        padding-top: 22px;
    }

    .portfolio-terminal .dev-skills__stack ul {
        gap: 7px;
    }

    .portfolio-terminal .dev-skills__stack li {
        padding: 8px 10px;
        font-size: 9px;
    }

    .portfolio-terminal .dev-skills__capabilities {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-top: 28px;
    }

    .portfolio-terminal .dev-skills__capabilities article {
        min-height: 0;
        padding: 20px;
    }

    .portfolio-terminal .dev-skills__capabilities article h3 {
        margin-top: 20px;
        font-size: 23px;
    }

    .portfolio-terminal .dev-skills__logos {
        margin-top: 38px;
        padding: 16px 0;
    }

    .portfolio-terminal .dev-skills__logos .skills__logos-group {
        gap: 8px;
        padding-right: 8px;
    }

    .portfolio-terminal .dev-skills__logos .skills__logo-tile {
        width: 68px;
        height: 58px;
        flex-basis: 68px;
    }
}

@media (max-width: 420px) {
    .portfolio-terminal .dev-skills {
        padding-left: 16px;
        padding-right: 16px;
    }

    .portfolio-terminal .dev-skills__timeline li {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
    }

    .portfolio-terminal .dev-skills__timeline strong,
    .portfolio-terminal .dev-skills__timeline li span {
        font-size: 10px;
    }

    .portfolio-terminal .dev-skills__capabilities article {
        padding: 18px;
    }
}
/* DEV SKILLS — STACK ICONS */

.portfolio-terminal .dev-skills__stack li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.portfolio-terminal .dev-skills__stack li img {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    object-fit: contain;
}

.portfolio-terminal .dev-skills__stack li span {
    display: block;
    line-height: 1;
}
/* DEV SKILLS — STACK COMPACT DESKTOP */

@media (min-width: 821px) {
    .portfolio-terminal .dev-skills__stack {
        gap: 14px;
    }

    .portfolio-terminal .dev-skills__stack ul {
        gap: 6px;
    }

    .portfolio-terminal .dev-skills__stack li {
        gap: 5px;
        padding-left: 8px;
        padding-right: 8px;
        font-size: 9px;
    }

    .portfolio-terminal .dev-skills__stack li img {
        width: 12px;
        height: 12px;
        flex-basis: 12px;
    }
}
/* DEV SKILLS — STACK MARQUEE */

.portfolio-terminal .dev-skills__stack {
    min-width: 0;
    overflow: hidden;
}

.portfolio-terminal .dev-skills__stack ul {
    width: max-content;
    flex: 0 0 auto;
    animation: dev-skills-stack-scroll 30s linear infinite;
    will-change: transform;
}

.portfolio-terminal .dev-skills__stack--paused ul {
    animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-terminal .dev-skills__stack ul:hover {
        animation-play-state: paused;
    }
}

@keyframes dev-skills-stack-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
/* DEV SKILLS — STACK LEFT FADE */

.portfolio-terminal .dev-skills__stack > p {
    position: relative;
    z-index: 3;
    background-color: var(--dev-bg-canvas);
}

.portfolio-terminal .dev-skills__stack > p::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -14px;
    right: -58px;
    bottom: -14px;
    left: -20px;
    pointer-events: none;
    background:
        linear-gradient(
            to right,
            var(--dev-bg-canvas) 0%,
            var(--dev-bg-canvas) calc(100% - 58px),
            rgb(10 10 12 / 0%) 100%
        );
}
/* DEV SKILLS — STACK EDGE POLISH */

.portfolio-terminal .dev-skills__stack {
    position: relative;
}

.portfolio-terminal .dev-skills__stack ul {
    position: relative;
    left: 10px;
}

.portfolio-terminal .dev-skills__stack::after {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58px;
    pointer-events: none;
    background:
        linear-gradient(
            to right,
            rgb(10 10 12 / 0%) 0%,
            rgb(10 10 12 / 88%) 72%,
            var(--dev-bg-canvas) 100%
        );
}
/* DEV SKILLS — STACK TITLE POLISH */

.portfolio-terminal .dev-skills__stack {
    gap: 24px;
}

.portfolio-terminal .dev-skills__stack > p {
    color: var(--dev-accent-violet);
    font-size: 12px;
    line-height: 1;
}

.portfolio-terminal .dev-skills__stack > p::after {
    right: -24px;
    width: 24px;
}
/* DEV SKILLS — STACK TITLE SAFE ZONE */

.portfolio-terminal .dev-skills__stack > p {
    flex: 0 0 auto;
    padding-right: 24px;
    background-color: var(--dev-bg-canvas);
}

.portfolio-terminal .dev-skills__stack > p::after {
    top: -14px;
    right: -48px;
    bottom: -14px;
    left: auto;
    width: 48px;
    z-index: 2;
    background:
        linear-gradient(
            to right,
            var(--dev-bg-canvas) 0%,
            var(--dev-bg-canvas) 35%,
            rgb(10 10 12 / 0%) 100%
        );
}

.portfolio-terminal .dev-skills__stack ul {
    margin-left: 0;
}
/* DEV SKILLS — STACK MASK FIX */

.portfolio-terminal .dev-skills__stack > p {
    position: relative;
    z-index: 10;
    display: flex;
    min-height: 38px;
    align-items: center;
    padding-right: 24px;
    background-color: var(--dev-bg-canvas);
}

.portfolio-terminal .dev-skills__stack > p::after {
    content: "";
    position: absolute;
    z-index: 10;
    top: 0;
    right: -48px;
    bottom: 0;
    width: 48px;
    pointer-events: none;
    background:
        linear-gradient(
            to right,
            var(--dev-bg-canvas) 0%,
            var(--dev-bg-canvas) 35%,
            rgb(10 10 12 / 0%) 100%
        );
}

.portfolio-terminal .dev-skills__stack ul {
    position: relative;
    z-index: 1;
}
/* DEV SKILLS — JOURNEY CARDS */

.portfolio-terminal .dev-skills__timeline {
    position: relative;
}

.portfolio-terminal .dev-skills__timeline-label {
    margin-bottom: 20px;
    color: var(--dev-accent-violet);
    font-size: 12px;
}

.portfolio-terminal .dev-skills__timeline ol {
    position: relative;
    gap: 14px;
}

.portfolio-terminal .dev-skills__timeline ol::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 20px;
    width: 1px;
    background:
        linear-gradient(
            to bottom,
            rgb(169 112 255 / 0%),
            rgb(169 112 255 / 78%) 10%,
            rgb(169 112 255 / 78%) 90%,
            rgb(169 112 255 / 0%)
        );
}

.portfolio-terminal .dev-skills__timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 0;
}

.portfolio-terminal .dev-skills__timeline li::before,
.portfolio-terminal .dev-skills__timeline li::after {
    content: none;
}

.portfolio-terminal .dev-skills__timeline-icon {
    position: relative;
    z-index: 2;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background-color: var(--dev-bg-elevated);
    border: 1px solid rgb(169 112 255 / 42%);
    border-radius: 10px;
    box-shadow:
        0 0 0 4px var(--dev-bg-canvas),
        0 0 22px rgb(169 112 255 / 10%);
}

.portfolio-terminal .dev-skills__timeline-icon img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.portfolio-terminal .dev-skills__timeline-copy {
    min-width: 0;
    padding: 12px 14px 13px;
    background:
        linear-gradient(
            145deg,
            rgb(24 25 31 / 92%),
            rgb(15 16 20 / 96%)
        );
    border: 1px solid var(--dev-border);
    border-radius: 8px;
    transition:
        border-color 0.25s ease,
        transform 0.25s ease;
}

.portfolio-terminal .dev-skills__timeline-copy strong {
    display: block;
    padding: 0;
    color: var(--dev-accent-violet);
    font-family: var(--dev-font-code);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.portfolio-terminal .dev-skills__timeline-copy span {
    display: block;
    margin-top: 5px;
    color: var(--dev-text-muted);
    font-family: var(--dev-font-code);
    font-size: 11px;
    line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-terminal .dev-skills__timeline li:hover .dev-skills__timeline-copy {
        border-color: rgb(169 112 255 / 44%);
        transform: translateX(3px);
    }
}
/* DEV SKILLS — JOURNEY ICON STATES */

.portfolio-terminal .dev-skills__timeline-icon img {
    filter: brightness(0) invert(1);
    transition: filter 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-terminal .dev-skills__timeline li:hover .dev-skills__timeline-icon img {
        filter: brightness(0) saturate(100%) invert(53%) sepia(77%) saturate(1335%) hue-rotate(226deg) brightness(101%) contrast(101%);
    }
}
/* DEV SKILLS — JOURNEY LINE CLEANUP */

/* Remove definitivamente a linha antiga */
.portfolio-terminal .dev-skills__timeline li:not(:last-child)::before,
.portfolio-terminal .dev-skills__timeline li::after {
    content: none !important;
    display: none !important;
}

/* Mantém apenas uma linha central */
.portfolio-terminal .dev-skills__timeline ol::before {
    left: 21px;
}

/* Centraliza perfeitamente cada ícone no seu container */
.portfolio-terminal .dev-skills__timeline-icon {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    line-height: 0;
}

.portfolio-terminal .dev-skills__timeline-icon img {
    display: block;
    width: 18px;
    height: 18px;
    margin: auto;
    object-fit: contain;
    object-position: center;
}
/* DEV SKILLS — JOURNEY ICON PERFECT CENTER */

.portfolio-terminal .dev-skills__timeline-icon {
    position: relative;
    display: block;
}

.portfolio-terminal .dev-skills__timeline-icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 18px;
    height: 18px;
    margin: 0;
    object-fit: contain;
    transform: translate(-50%, -50%);
}
/* DEV SKILLS — JOURNEY ROW CENTER */

.portfolio-terminal .dev-skills__timeline li {
    align-items: center;
}

.portfolio-terminal .dev-skills__timeline-icon {
    align-self: center;
}
/* DEV SKILLS — JOURNEY REFERENCE LAYOUT */

.portfolio-terminal .dev-skills__timeline {
    margin-top: 26px;
}

.portfolio-terminal .dev-skills__timeline-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.portfolio-terminal .dev-skills__timeline-label {
    margin: 0;
    color: var(--dev-text-primary);
    font-family: var(--dev-font-code);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.12em;
}

.portfolio-terminal .dev-skills__timeline-label::first-letter {
    color: var(--dev-accent-violet);
}

.portfolio-terminal .dev-skills__timeline-intro {
    margin: 9px 0 0;
    color: var(--dev-text-muted);
    font-family: var(--dev-font-code);
    font-size: 10px;
    line-height: 1.5;
}

.portfolio-terminal .dev-skills__timeline-count {
    flex: 0 0 auto;
    color: #666876;
    font-family: var(--dev-font-code);
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.portfolio-terminal .dev-skills__timeline ol {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Linha central */
.portfolio-terminal .dev-skills__timeline ol::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 29px;
    bottom: 29px;
    left: 78px;
    width: 1px;
    background:
        linear-gradient(
            to bottom,
            rgb(169 112 255 / 0%),
            rgb(169 112 255 / 72%) 8%,
            rgb(169 112 255 / 72%) 92%,
            rgb(169 112 255 / 0%)
        );
}

.portfolio-terminal .dev-skills__timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 56px 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 0;
}

/* Ano */
.portfolio-terminal .dev-skills__timeline-year {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.portfolio-terminal .dev-skills__timeline-year strong {
    padding: 0;
    color: var(--dev-accent-violet);
    font-family: var(--dev-font-code);
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.portfolio-terminal .dev-skills__timeline-year span {
    margin-top: 7px;
    color: #555866;
    font-family: var(--dev-font-code);
    font-size: 9px;
    line-height: 1;
}

/* Container do ícone */
.portfolio-terminal .dev-skills__timeline-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    align-self: center;
    background:
        linear-gradient(
            145deg,
            rgb(24 25 31 / 98%),
            rgb(15 16 20 / 98%)
        );
    border: 1px solid rgb(169 112 255 / 34%);
    border-radius: 10px;
    box-shadow:
        0 0 0 5px var(--dev-bg-canvas),
        0 0 20px rgb(169 112 255 / 8%);
}

.portfolio-terminal .dev-skills__timeline-icon img {
    position: static;
    display: block;
    width: 18px;
    height: 18px;
    margin: 0;
    object-fit: contain;
    transform: none;
    filter: brightness(0) invert(1);
    transition: filter 0.25s ease;
}

/* Card */
.portfolio-terminal .dev-skills__timeline-copy {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 78px;
    flex-direction: column;
    justify-content: center;
    padding: 12px 34px 12px 14px;
    background:
        linear-gradient(
            145deg,
            rgb(20 21 27 / 96%),
            rgb(13 14 18 / 98%)
        );
    border: 1px solid #2b2d35;
    border-radius: 9px;
    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.portfolio-terminal .dev-skills__timeline-kicker {
    display: block;
    margin: 0 0 6px;
    color: #656879;
    font-family: var(--dev-font-code);
    font-size: 8px;
    line-height: 1;
    letter-spacing: 0.08em;
}

.portfolio-terminal .dev-skills__timeline-title {
    display: block;
    padding: 0;
    color: var(--dev-text-primary);
    font-family: var(--dev-font-code);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
}

.portfolio-terminal .dev-skills__timeline-description {
    display: block;
    margin-top: 5px;
    color: var(--dev-text-muted);
    font-family: var(--dev-font-code);
    font-size: 9px;
    line-height: 1.45;
}

.portfolio-terminal .dev-skills__timeline-arrow {
    position: absolute;
    top: 50%;
    right: 13px;
    color: #555866;
    font-family: var(--dev-font-code);
    font-size: 19px;
    line-height: 1;
    transform: translateY(-50%);
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

/* Garante que nenhuma linha antiga volte */
.portfolio-terminal .dev-skills__timeline li::before,
.portfolio-terminal .dev-skills__timeline li::after {
    content: none !important;
    display: none !important;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-terminal .dev-skills__timeline li:hover .dev-skills__timeline-copy {
        border-color: rgb(169 112 255 / 48%);
        transform: translateX(3px);
    }

    .portfolio-terminal .dev-skills__timeline li:hover .dev-skills__timeline-icon img {
        filter: brightness(0) saturate(100%) invert(53%) sepia(77%) saturate(1335%) hue-rotate(226deg) brightness(101%) contrast(101%);
    }

    .portfolio-terminal .dev-skills__timeline li:hover .dev-skills__timeline-arrow {
        color: var(--dev-accent-violet);
        transform: translate(2px, -50%);
    }
}
/* DEV SKILLS — JOURNEY META INLINE */

.portfolio-terminal .dev-skills__timeline ol::before {
    left: 22px;
}

.portfolio-terminal .dev-skills__timeline li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
}

.portfolio-terminal .dev-skills__timeline-year {
    display: none;
}

.portfolio-terminal .dev-skills__timeline-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 8px;
    font-family: var(--dev-font-code);
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.08em;
}

.portfolio-terminal .dev-skills__timeline-index {
    color: #666876;
}

.portfolio-terminal .dev-skills__timeline-meta-separator {
    color: var(--dev-accent-violet);
}

.portfolio-terminal .dev-skills__timeline-year-inline {
    color: var(--dev-accent-violet);
    font-weight: 600;
}

.portfolio-terminal .dev-skills__timeline-kicker {
    margin: 0;
    color: #777a89;
    font-size: inherit;
    line-height: inherit;
}

.portfolio-terminal .dev-skills__timeline-copy {
    min-height: 88px;
    padding-top: 14px;
    padding-bottom: 14px;
}
/* DEV SKILLS — JOURNEY CARD COMPACT */

.portfolio-terminal .dev-skills__timeline-arrow {
    display: none;
}

.portfolio-terminal .dev-skills__timeline-copy {
    min-height: 0;
    padding: 12px 16px;
}

.portfolio-terminal .dev-skills__timeline-title {
    margin: 0;
}

.portfolio-terminal .dev-skills__timeline-description {
    margin-top: 4px;
    max-width: none;
    line-height: 1.4;
}

.portfolio-terminal .dev-skills__timeline li {
    min-height: 0;
}
/* DEV SKILLS — JOURNEY CARD ICON TOP ROW */

.portfolio-terminal .dev-skills__timeline-copy {
    position: relative;
    padding-right: 52px;
}

.portfolio-terminal .dev-skills__timeline-meta {
    padding-right: 8px;
    margin-bottom: 10px;
}

.portfolio-terminal .dev-skills__timeline-card-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.portfolio-terminal .dev-skills__timeline-card-icon img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-terminal .dev-skills__timeline li:hover .dev-skills__timeline-card-icon img {
        filter: brightness(0) saturate(100%) invert(53%) sepia(77%) saturate(1335%) hue-rotate(226deg) brightness(101%) contrast(101%);
    }
}
/* DEV SKILLS — JOURNEY CAPABILITY LOOK */

/* Remove a trilha visual lateral */
.portfolio-terminal .dev-skills__timeline ol::before,
.portfolio-terminal .dev-skills__timeline-step {
    display: none;
}

/* Cada item vira um card único */
.portfolio-terminal .dev-skills__timeline li {
    display: block;
    min-height: 0;
}

/* Card com linguagem da segunda imagem */
.portfolio-terminal .dev-skills__timeline-copy {
    position: relative;
    min-height: 0;
    padding: 22px 22px 20px 64px;
    background:
        linear-gradient(
            145deg,
            rgb(24 25 31 / 88%),
            rgb(15 16 20 / 96%)
        );
    border: 1px solid var(--dev-border);
    border-radius: 0;
}

/* Ícone dentro do card, no topo esquerdo */
.portfolio-terminal .dev-skills__timeline-card-icon {
    position: absolute;
    top: 22px;
    left: 22px;
    right: auto;
    display: flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.portfolio-terminal .dev-skills__timeline-card-icon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Meta e texto */
.portfolio-terminal .dev-skills__timeline-meta {
    margin-bottom: 14px;
    padding-right: 0;
}

.portfolio-terminal .dev-skills__timeline-title {
    margin: 0 0 10px;
}

.portfolio-terminal .dev-skills__timeline-description {
    margin-top: 0;
    max-width: none;
}

/* Remove qualquer sobra das setas antigas */
.portfolio-terminal .dev-skills__timeline-arrow {
    display: none !important;
}
/* DEV SKILLS — JOURNEY GRID 2X2 */

.portfolio-terminal .dev-skills__timeline ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.portfolio-terminal .dev-skills__timeline li {
    display: block;
    min-width: 0;
}

.portfolio-terminal .dev-skills__timeline-copy {
    height: 100%;
    min-height: 150px;
}

@media (max-width: 820px) {
    .portfolio-terminal .dev-skills__timeline ol {
        grid-template-columns: minmax(0, 1fr);
    }

    .portfolio-terminal .dev-skills__timeline-copy {
        min-height: 0;
    }
}
/* DEV SKILLS — STATIC TECH GRID */

.portfolio-terminal .dev-skills__tech-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 28px;
}

.portfolio-terminal .dev-skills__tech-item {
    display: flex;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    background:
        linear-gradient(
            145deg,
            rgb(24 25 31 / 88%),
            rgb(15 16 20 / 96%)
        );
    border: 1px solid var(--dev-border);
}

.portfolio-terminal .dev-skills__tech-item img {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
}

.portfolio-terminal .dev-skills__tech-item span {
    min-width: 0;
    color: var(--dev-text-primary);
    font-family: var(--dev-font-code);
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-terminal .dev-skills__tech-item {
        transition:
            border-color 0.25s ease,
            transform 0.25s ease;
    }

    .portfolio-terminal .dev-skills__tech-item:hover {
        border-color: rgb(169 112 255 / 46%);
        transform: translateY(-2px);
    }
}

@media (max-width: 600px) {
    .portfolio-terminal .dev-skills__tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* DEV SKILLS — TECH GRID LAST ITEM */

.portfolio-terminal .dev-skills__tech-item:last-child {
    grid-column: 2;
}
/* DEV SKILLS — PROFILE CARD SHELL */

.portfolio-terminal .dev-skills__profile-card {
    padding: 14px;
    background:
        linear-gradient(
            145deg,
            rgb(14 15 19 / 98%),
            rgb(9 10 13 / 98%)
        );
    border: 1px solid rgb(169 112 255 / 34%);
    border-radius: 0;
    box-shadow:
        0 0 0 1px rgb(255 255 255 / 2%) inset,
        0 18px 44px rgb(0 0 0 / 22%);
}

/* Mantém a foto no mesmo tamanho visual */
.portfolio-terminal .dev-skills__profile-card .about__photo-wrapper {
    width: 100%;
    margin: 0;
}

/* Identidade dentro do mesmo bloco */
.portfolio-terminal .dev-skills__profile-card .dev-skills__identity {
    margin-top: 0;
    padding: 22px 0 20px;
}

/* Grid permanece compacto */
.portfolio-terminal .dev-skills__profile-card .dev-skills__tech-grid {
    margin: 0;
    padding-top: 18px;
    border-top: 0;
}

/* Último item continua centralizado */
.portfolio-terminal .dev-skills__profile-card .dev-skills__tech-item:last-child {
    grid-column: 2;
}
/* DEV SKILLS — PROFILE RAIL */

.portfolio-terminal .dev-skills__profile-rail {
    display: grid;
    grid-template-columns: auto minmax(24px, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.portfolio-terminal .dev-skills__profile-rail-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-family: "JetBrains Mono", monospace;
    font-size: 7px;
    line-height: 1.05;
    letter-spacing: 0.14em;
    color: var(--dev-text-primary);
}

.portfolio-terminal .dev-skills__profile-rail-copy--right {
    text-align: right;
    align-items: flex-end;
}

.portfolio-terminal .dev-skills__profile-rail-line {
    width: 100%;
    height: 1px;
    background: rgb(242 238 231 / 52%);
}

.portfolio-terminal .dev-skills__profile-rail-slash {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1;
    letter-spacing: -0.12em;
    color: var(--dev-text-primary);
}

@media (max-width: 600px) {
    .portfolio-terminal .dev-skills__profile-rail {
        grid-template-columns: auto minmax(18px, 1fr) auto auto;
        gap: 8px;
        margin-bottom: 12px;
    }

    .portfolio-terminal .dev-skills__profile-rail-copy {
        font-size: 6px;
    }

    .portfolio-terminal .dev-skills__profile-rail-slash {
        font-size: 10px;
    }
}
/* DEV SKILLS — PROFILE FOOTER */

.portfolio-terminal .dev-skills__profile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid rgb(242 238 231 / 20%);
}

.portfolio-terminal .dev-skills__profile-footer-dev {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: "JetBrains Mono", monospace;
    font-size: 7px;
    line-height: 1;
    letter-spacing: 0.15em;
    color: var(--dev-text-primary);
}

.portfolio-terminal .dev-skills__profile-footer-dev img {
    width: 10px;
    height: 10px;
    object-fit: contain;
}

.portfolio-terminal .dev-skills__profile-footer-motto {
    font-family: "JetBrains Mono", monospace;
    font-size: 7px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-align: right;
    color: var(--dev-text-primary);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .portfolio-terminal .dev-skills__profile-footer {
        margin-top: 18px;
        padding-top: 12px;
    }

    .portfolio-terminal .dev-skills__profile-footer-dev,
    .portfolio-terminal .dev-skills__profile-footer-motto {
        font-size: 6px;
    }
}
/* DEV SKILLS — IDENTITY PURPLE LINE */

.portfolio-terminal .dev-skills__profile-card .dev-skills__identity {
    position: relative;
    border-bottom: 0;
}

.portfolio-terminal .dev-skills__profile-card .dev-skills__identity::after {
    content: "";
    display: block;
    width: 72px;
    height: 2px;
    margin-top: 16px;
    background: var(--dev-accent-violet);
}
/* DEV SKILLS — CAPABILITY ICON VISIBILITY */

.portfolio-terminal .dev-skills__capabilities article > img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
/* DEV SKILLS — CAPABILITY COMPACT */

.portfolio-terminal .dev-skills__capabilities article {
    min-height: 0;
    padding: 18px 22px;
}

.portfolio-terminal .dev-skills__capabilities article > img {
    margin-bottom: 18px;
}

.portfolio-terminal .dev-skills__capabilities article h3 {
    margin-bottom: 10px;
}

.portfolio-terminal .dev-skills__capabilities article p {
    margin: 0;
}
/* DEV SKILLS — CAPABILITIES ONE ROW */

@media (min-width: 1100px) {
    .portfolio-terminal .dev-skills__capabilities {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* DEV SKILLS — CAPABILITIES HEADING GAP */

.portfolio-terminal .dev-skills__capabilities-heading {
    text-align: left;
    margin-bottom: 32px;
}

.portfolio-terminal .dev-skills__capabilities-heading p {
    margin-top: 6px;
}
/* DEV SKILLS — CAPABILITIES TOP GAP */

.portfolio-terminal .dev-skills__capabilities-section {
    margin-top: 64px;
}
/* DEV SKILLS — MATRIX BACKGROUND FOUNDATION */

.portfolio-terminal .dev-skills__capabilities-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 48px 36px;
    background: #0a0a0c;
}

.portfolio-terminal .dev-skills__matrix {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.portfolio-terminal .dev-skills__capabilities-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgb(10 10 12 / 45%),
            rgb(10 10 12 / 68%)
        );
}

.portfolio-terminal .dev-skills__capabilities-heading,
.portfolio-terminal .dev-skills__capabilities {
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .portfolio-terminal .dev-skills__capabilities-section {
        padding: 32px 18px;
    }
}
/* DEV MATRIX — SIDE RAILS */

.portfolio-terminal .dev-matrix-side {
    position: absolute;
    z-index: 0;
    top: 0;
    width: 120px;
    height: 100%;
    pointer-events: none;
    opacity: 0.5;
}

.portfolio-terminal .dev-matrix-side--left {
    left: 92px;
    -webkit-mask-image:
        linear-gradient(
            to right,
            rgb(0 0 0 / 100%) 0%,
            rgb(0 0 0 / 88%) 42%,
            transparent 100%
        );
    mask-image:
        linear-gradient(
            to right,
            rgb(0 0 0 / 100%) 0%,
            rgb(0 0 0 / 88%) 42%,
            transparent 100%
        );
}

.portfolio-terminal .dev-matrix-side--right {
    right: 0;
    -webkit-mask-image:
        linear-gradient(
            to left,
            rgb(0 0 0 / 100%) 0%,
            rgb(0 0 0 / 88%) 42%,
            transparent 100%
        );
    mask-image:
        linear-gradient(
            to left,
            rgb(0 0 0 / 100%) 0%,
            rgb(0 0 0 / 88%) 42%,
            transparent 100%
        );
}

.portfolio-terminal .site-header,
.portfolio-terminal .dev-hero,
.portfolio-terminal .dev-skills {
    position: relative;
    z-index: 1;
}

@media (max-width: 760px) {
    .portfolio-terminal .dev-matrix-side {
        width: 54px;
        opacity: 0.26;
    }

    .portfolio-terminal .dev-matrix-side--left {
        left: 0;
    }
}

/* DEV SKILLS — TECH GRID COMPACT ALIGN */

.portfolio-terminal .dev-skills__profile-card .dev-skills__tech-grid {
    gap: 7px;
    padding-top: 14px;
}

.portfolio-terminal .dev-skills__profile-card .dev-skills__tech-item {
    min-height: 46px;
    padding: 7px 10px;
}

.portfolio-terminal .dev-skills__profile-card .dev-skills__tech-item img {
    width: 16px;
    height: 16px;
}

.portfolio-terminal .dev-skills__profile-card .dev-skills__tech-item span {
    font-size: 9px;
}

.portfolio-terminal .dev-skills__profile-card .dev-skills__profile-footer {
    margin-top: 14px;
    padding-top: 11px;
}

/* DEV SKILLS — TECH CARD SIZE RESTORE */

.portfolio-terminal .dev-skills__profile-card .dev-skills__tech-grid {
    gap: 8px;
    padding-top: 10px;
}

.portfolio-terminal .dev-skills__profile-card .dev-skills__tech-item {
    min-height: 58px;
    padding: 10px 12px;
}

.portfolio-terminal .dev-skills__profile-card .dev-skills__tech-item img {
    width: 18px;
    height: 18px;
}

.portfolio-terminal .dev-skills__profile-card .dev-skills__tech-item span {
    font-size: 10px;
}

.portfolio-terminal .dev-skills__profile-card .dev-skills__identity {
    padding-top: 16px;
    padding-bottom: 12px;
}

.portfolio-terminal .dev-skills__profile-card .dev-skills__profile-footer {
    margin-top: 10px;
    padding-top: 10px;
}

/* DEV PROJECTS — TERMINAL REDESIGN */

.portfolio-terminal .dev-projects {
    position: relative;
    padding: 92px 48px 100px;
    color: var(--dev-text-primary);
    background:
        radial-gradient(
            circle at 50% 0%,
            rgb(169 112 255 / 5%),
            transparent 38%
        ),
        #0a0a0c;
}

.portfolio-terminal .dev-projects__container {
    width: 100%;
    max-width: 1580px;
    margin: 0 auto;
}


/* HEADER */

.portfolio-terminal .dev-projects__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    align-items: end;
    gap: 64px;
    margin-bottom: 34px;
}

.portfolio-terminal .dev-projects__heading {
    min-width: 0;
}

.portfolio-terminal .dev-projects__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 14px;
    margin: 0;
    color: var(--dev-text-primary);
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.portfolio-terminal .dev-projects__slashes {
    color: var(--dev-accent-violet);
    font-size: 1.08em;
    letter-spacing: -0.18em;
    transform: translateX(-3px);
}

.portfolio-terminal .dev-projects__title .projects__title-word {
    color: inherit;
}

.portfolio-terminal .dev-projects__subtitle {
    margin: 15px 0 0;
    color: var(--dev-text-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.015em;
}

.portfolio-terminal .dev-projects__header-note {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    padding-bottom: 9px;
}

.portfolio-terminal .dev-projects__header-note > span {
    display: block;
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            rgb(169 112 255 / 60%),
            rgb(169 112 255 / 10%)
        );
}

.portfolio-terminal .dev-projects__header-note strong {
    color: #a99bbd;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.18em;
    white-space: nowrap;
}


/* GRID */

.portfolio-terminal .dev-projects__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
}


/* CARD */

.portfolio-terminal .dev-project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px 15px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgb(18 19 24 / 98%),
            rgb(12 13 17 / 98%)
        );
    border: 1px solid rgb(169 112 255 / 36%);
    border-radius: 5px;
    box-shadow:
        0 0 0 1px rgb(255 255 255 / 1.5%) inset,
        0 16px 36px rgb(0 0 0 / 18%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
        border-color 220ms ease,
        transform 260ms ease,
        box-shadow 260ms ease;
}

.portfolio-terminal .dev-project-card::before,
.portfolio-terminal .dev-project-card::after {
    position: absolute;
    width: 28px;
    height: 1px;
    background: var(--dev-accent-violet);
    content: "";
    opacity: 0.8;
}

.portfolio-terminal .dev-project-card::before {
    top: -1px;
    left: 0;
}

.portfolio-terminal .dev-project-card::after {
    right: 0;
    bottom: -1px;
}


/* META */

.portfolio-terminal .dev-project-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 18px;
    color: #91899f;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-terminal .dev-project-card__meta span:first-child {
    color: var(--dev-accent-violet);
}


/* IMAGE */

.portfolio-terminal .dev-project-card .project-card__preview {
    width: 100%;
    aspect-ratio: 16 / 8.6;
    padding: 0;
    overflow: hidden;
    background: #08090c;
    border: 1px solid rgb(242 238 231 / 30%);
    border-radius: 4px;
}

.portfolio-terminal .dev-project-card .project-card__preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transform: scale(1);
    transition:
        transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 400ms ease;
}


/* FOOTER */

.portfolio-terminal .dev-project-card .project-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-height: 34px;
}

.portfolio-terminal .dev-project-card .project-card__title {
    margin: 0;
    color: var(--dev-text-primary);
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(17px, 1.45vw, 23px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.portfolio-terminal .dev-project-card .project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b98aff;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.portfolio-terminal .dev-project-card .project-card__link img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.72;
    transition:
        transform 220ms ease,
        opacity 220ms ease;
}


/* VIEW ALL */

.portfolio-terminal .dev-projects__bottom {
    display: grid;
    grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
    align-items: center;
    gap: 34px;
    max-width: 850px;
    margin: 40px auto 0;
}

.portfolio-terminal .dev-projects__bottom-line {
    display: block;
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgb(169 112 255 / 45%)
        );
}

.portfolio-terminal .dev-projects__bottom-line:last-child {
    background:
        linear-gradient(
            90deg,
            rgb(169 112 255 / 45%),
            transparent
        );
}

.portfolio-terminal .dev-projects .projects__all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: max-content;
    margin: 0;
    padding: 11px 22px;
    color: var(--dev-text-primary);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.045em;
    border: 1px solid var(--dev-accent-violet);
    border-radius: 999px;
    background: rgb(169 112 255 / 3%);
    transition:
        color 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.portfolio-terminal .dev-projects .projects__all-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}

.portfolio-terminal .dev-projects .projects__all-arrow {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}


/* HOVER */

@media (hover: hover) and (pointer: fine) {

    .portfolio-terminal .dev-project-card:hover {
        transform: translateY(-4px);
        border-color: rgb(169 112 255 / 72%);
        box-shadow:
            0 0 0 1px rgb(169 112 255 / 6%) inset,
            0 20px 44px rgb(0 0 0 / 30%),
            0 0 26px rgb(169 112 255 / 5%);
    }

    .portfolio-terminal .dev-project-card:hover .project-card__preview img {
        transform: scale(1.018);
    }

    .portfolio-terminal .dev-project-card .project-card__link:hover img {
        transform: translate(2px, -2px);
        opacity: 1;
    }

    .portfolio-terminal .dev-projects .projects__all-link:hover {
        color: #ffffff;
        background: rgb(169 112 255 / 10%);
        box-shadow: 0 0 24px rgb(169 112 255 / 10%);
    }
}


/* TABLET */

@media (max-width: 1000px) {

    .portfolio-terminal .dev-projects {
        padding: 78px 30px 86px;
    }

    .portfolio-terminal .dev-projects__header {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .portfolio-terminal .dev-projects__header-note {
        max-width: 520px;
    }

    .portfolio-terminal .dev-projects__grid {
        gap: 14px;
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .portfolio-terminal .dev-projects {
        padding: 64px 18px 72px;
    }

    .portfolio-terminal .dev-projects__title {
        gap: 0 9px;
        font-size: clamp(30px, 9vw, 42px);
    }

    .portfolio-terminal .dev-projects__subtitle {
        max-width: 34ch;
        font-size: 11px;
    }

    .portfolio-terminal .dev-projects__header-note {
        display: none;
    }

    .portfolio-terminal .dev-projects__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .portfolio-terminal .dev-project-card {
        padding: 11px 11px 13px;
    }

    .portfolio-terminal .dev-project-card .project-card__footer {
        gap: 14px;
    }

    .portfolio-terminal .dev-project-card .project-card__title {
        font-size: 17px;
    }

    .portfolio-terminal .dev-project-card .project-card__link {
        font-size: 9px;
    }

    .portfolio-terminal .dev-projects__bottom {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 30px;
    }

    .portfolio-terminal .dev-projects__bottom-line {
        display: none;
    }

    .portfolio-terminal .dev-projects .projects__all-link {
        margin: 0 auto;
    }
}

/* DEV PROJECTS — COMPACT CARD HEIGHT */

.portfolio-terminal .dev-project-card {
    gap: 10px;
    padding: 12px 14px 13px;
}

.portfolio-terminal .dev-project-card .project-card__preview {
    aspect-ratio: 16 / 7.8;
}

.portfolio-terminal .dev-project-card .project-card__footer {
    min-height: 30px;
}

.portfolio-terminal .dev-project-card .project-card__title {
    font-size: clamp(16px, 1.3vw, 21px);
}

.portfolio-terminal .dev-projects__grid {
    gap: 16px;
}

/* FRONTEND MENTOR COLLECTION */

.portfolio-terminal .dev-projects__mentor {
    margin-top: 76px;
    padding-top: 32px;
    border-top: 1px solid var(--dev-border);
}

.portfolio-terminal .dev-projects__mentor-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.portfolio-terminal .dev-projects__mentor-eyebrow {
    margin: 0 0 12px;
    color: var(--dev-accent-violet);
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: 0.12em;
}

.portfolio-terminal .dev-projects__mentor-heading h2 {
    margin: 0;
    color: var(--dev-text-primary);
    font-family: var(--dev-font-display);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    font-weight: 800;
}

.portfolio-terminal .dev-projects__mentor-credit {
    max-width: 420px;
    margin: 0;
    color: var(--dev-text-muted);
    font-size: 10px;
    line-height: 1.6;
}

.portfolio-terminal .dev-projects__mentor-description {
    margin: 14px 0 24px;
    color: var(--dev-text-muted);
    font-size: 11px;
    line-height: 1.6;
}

.portfolio-terminal .dev-projects__grid--mentor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-terminal .dev-projects__grid--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-terminal .dev-project-card--mentor .project-card__preview {
    aspect-ratio: 16 / 9;
}

.portfolio-terminal .dev-project-card.dev-project-card--mentor .project-card__footer {
    width: 100%;
    padding: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.portfolio-terminal .dev-project-card--mentor .dev-project-card__info {
    width: 100%;
    align-items: flex-start;
    text-align: left;
}

.portfolio-terminal .dev-project-card--mentor .project-card__title {
    overflow-wrap: anywhere;
    text-align: left;
}

.portfolio-terminal .dev-project-card--mentor .dev-project-card__description {
    min-height: 2.8em;
    margin: 7px 0 10px;
    font-size: 9px;
    line-height: 1.5;
    text-align: left;
}

.portfolio-terminal .dev-project-card--mentor .dev-project-card__stack {
    width: 100%;
    justify-content: flex-start;
}

.portfolio-terminal .dev-project-card--mentor .dev-project-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    gap: 8px;
}

.portfolio-terminal .dev-project-card.dev-project-card--mentor .project-card__link {
    width: auto;
    min-width: 120px;
    flex: 0 1 auto;
    min-height: 40px;
    gap: 7px;
    padding: 8px 7px;
    font-size: 8px;
    letter-spacing: 0.02em;
}

.portfolio-terminal .dev-project-card--mentor .project-card__link img {
    width: 12px;
    height: 12px;
}

.portfolio-terminal .dev-project-card__actions a:focus-visible,
.portfolio-terminal .dev-projects__mentor-link:focus-visible {
    outline: 2px solid var(--dev-accent-lime);
    outline-offset: 3px;
}

.portfolio-terminal .dev-projects__mentor-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    margin-top: 28px;
    padding: 10px 16px;
    color: var(--dev-text-primary);
    border: 1px solid var(--dev-accent-violet);
    font-size: 9px;
    line-height: 1.4;
    text-align: center;
}

.portfolio-terminal .dev-projects__mentor-link img {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    filter: brightness(0) invert(1);
}

@media (max-width: 1100px) {
    .portfolio-terminal .dev-projects__grid--featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .portfolio-terminal .dev-projects__mentor {
        margin-top: 56px;
        padding-top: 24px;
    }

    .portfolio-terminal .dev-projects__mentor-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .portfolio-terminal .dev-projects__mentor-credit {
        font-size: 9px;
    }

    .portfolio-terminal .dev-projects__grid--mentor,
    .portfolio-terminal .dev-projects__grid--featured {
        grid-template-columns: minmax(0, 1fr);
    }

    .portfolio-terminal .dev-project-card--mentor .dev-project-card__description {
        min-height: 0;
    }

    .portfolio-terminal .dev-projects__mentor-link {
        display: flex;
        width: 100%;
    }
}

/* DEV PROJECTS — SQUARE STACK AND BUTTONS */

.portfolio-terminal .dev-project-card .project-card__footer {
    align-items: flex-end;
    gap: 24px;
    min-height: 76px;
}

.portfolio-terminal .dev-project-card__info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.portfolio-terminal .dev-project-card__description {
    margin: 4px 0 8px;
    color: var(--dev-text-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}


/* TECHNOLOGY BUTTONS */

.portfolio-terminal .dev-project-card__stack {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.portfolio-terminal .dev-project-card__stack span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 5px 12px;
    color: var(--dev-text-primary);
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.035em;
    white-space: nowrap;
    background: rgb(12 13 17 / 88%);
    border: 1px solid rgb(169 112 255 / 72%);
    border-radius: 0;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 1%) inset;
    transition:
        color 200ms ease,
        border-color 200ms ease,
        background-color 200ms ease;
}


/* VIEW PROJECT — SQUARE */

.portfolio-terminal .dev-project-card .project-card__link {
    flex: 0 0 auto;
    min-width: 148px;
    min-height: 42px;
    padding: 10px 16px;
    justify-content: center;
    gap: 12px;
    color: #c194ff;
    background: rgb(10 10 12 / 70%);
    border: 1px solid var(--dev-accent-violet);
    border-radius: 0;
    transition:
        color 200ms ease,
        background-color 200ms ease,
        box-shadow 200ms ease,
        transform 200ms ease;
}

.portfolio-terminal .dev-project-card .project-card__link img {
    width: 13px;
    height: 13px;
}


/* VIEW ALL — SQUARE */

.portfolio-terminal .dev-projects .projects__all-link {
    min-width: 240px;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 0;
    background: rgb(10 10 12 / 82%);
}


/* HOVER */

@media (hover: hover) and (pointer: fine) {

    .portfolio-terminal .dev-project-card__stack span:hover {
        color: #ffffff;
        border-color: var(--dev-accent-violet);
        background: rgb(169 112 255 / 9%);
    }

    .portfolio-terminal .dev-project-card .project-card__link:hover {
        color: #ffffff;
        background: rgb(169 112 255 / 10%);
        box-shadow: 0 0 20px rgb(169 112 255 / 10%);
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .portfolio-terminal .dev-project-card .project-card__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .portfolio-terminal .dev-project-card .project-card__link {
        width: 100%;
        min-width: 0;
    }

    .portfolio-terminal .dev-project-card__stack span {
        padding-inline: 10px;
    }

    .portfolio-terminal .dev-projects .projects__all-link {
        width: 100%;
        min-width: 0;
    }
}

/* DEV PROJECTS — REMOVE VIEW ALL UNDERLINE */

.portfolio-terminal .dev-projects .projects__all-text {
    text-decoration: none;
}

.portfolio-terminal .dev-projects .projects__all-text::after {
    display: none;
}

/* DEV FINAL CTA — RECRUITMENT REDESIGN */

.portfolio-terminal .final-cta {
    padding: 96px 48px 110px;
    background:
        linear-gradient(
            180deg,
            #0a0a0c 0%,
            #0b0c11 100%
        );
}

.portfolio-terminal .final-cta__card {
    position: relative;
    max-width: 1540px;
    padding: 62px 72px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 88% 16%,
            rgb(169 112 255 / 12%),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #0d0e13 0%,
            #090a0e 100%
        );
    border: 1px solid rgb(169 112 255 / 72%);
    border-radius: 0;
    box-shadow:
        0 24px 60px rgb(0 0 0 / 26%),
        0 0 40px rgb(169 112 255 / 4%);
}

.portfolio-terminal .final-cta__content {
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(0, 0.92fr);
    align-items: stretch;
    gap: 72px;
}

.portfolio-terminal .final-cta__intro {
    gap: 30px;
}

.portfolio-terminal .final-cta__heading {
    gap: 18px;
}

.portfolio-terminal .final-cta__eyebrow {
    margin: 0;
    color: #b184ff;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-terminal .final-cta__eyebrow::before {
    content: "// ";
    color: var(--dev-accent-violet);
}

.portfolio-terminal .final-cta__title {
    display: block;
    max-width: 760px;
    margin: 0;
    color: var(--dev-text-primary);
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(44px, 4.4vw, 68px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.055em;
}

.portfolio-terminal .final-cta__title > span {
    display: inline;
}

.portfolio-terminal .final-cta__title-accent {
    color: transparent;
    background:
        linear-gradient(
            90deg,
            #a970ff 0%,
            #7657ff 58%,
            #f2eee7 100%
        );
    background-clip: text;
    -webkit-background-clip: text;
}

.portfolio-terminal .final-cta__description {
    max-width: 650px;
    margin: 0;
    color: var(--dev-text-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 400;
}

.portfolio-terminal .final-cta__buttons {
    gap: 14px;
}

.portfolio-terminal .final-cta__button {
    height: 48px;
    padding: 0 22px;
    border-radius: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition:
        border-color 200ms ease,
        background-color 200ms ease,
        color 200ms ease,
        box-shadow 200ms ease,
        transform 200ms ease;
}

.portfolio-terminal .final-cta__button--work {
    width: auto;
    min-width: 190px;
    color: var(--dev-text-primary);
    background: rgb(169 112 255 / 8%);
    border: 1px solid var(--dev-accent-violet);
}

.portfolio-terminal .final-cta__button--github {
    width: auto;
    min-width: 160px;
    color: var(--dev-text-primary);
    background: transparent;
    border: 1px solid rgb(242 238 231 / 24%);
}

.portfolio-terminal .final-cta__button img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}


/* RIGHT COLUMN */

.portfolio-terminal .final-cta__opportunities {
    position: relative;
    justify-content: center;
    gap: 30px;
    padding-left: 68px;
    border-left: 1px solid rgb(169 112 255 / 20%);
}

.portfolio-terminal .final-cta__opportunities-title {
    margin: 0;
    color: var(--dev-text-primary);
    font-family: "JetBrains Mono", monospace;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.portfolio-terminal .final-cta__opportunities-list {
    gap: 17px;
    width: 100%;
}

.portfolio-terminal .final-cta__opportunities-list li {
    gap: 14px;
    color: #b8b4c2;
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 400;
}

.portfolio-terminal .final-cta__opportunities-list img,
.portfolio-terminal .final-cta__location > img {
    width: 38px;
    height: 38px;
    padding: 9px;
    object-fit: contain;
    border: 1px solid rgb(169 112 255 / 38%);
    background: rgb(169 112 255 / 5%);
    filter:
        brightness(0)
        saturate(100%)
        invert(55%)
        sepia(52%)
        saturate(5051%)
        hue-rotate(238deg)
        brightness(105%);
}

.portfolio-terminal .final-cta__location {
    gap: 14px;
    color: #b8b4c2;
}

.portfolio-terminal .final-cta__location p {
    gap: 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    line-height: 1.4;
}

.portfolio-terminal .final-cta__location strong {
    font-weight: 400;
}


/* REMOVE OLD TEAL GRADIENT ASSET */

.portfolio-terminal .final-cta__gradient {
    display: none;
}


/* HOVER */

@media (hover: hover) and (pointer: fine) {

    .portfolio-terminal .final-cta__button--work:hover {
        color: #ffffff;
        background: rgb(169 112 255 / 16%);
        box-shadow: 0 0 24px rgb(169 112 255 / 12%);
        transform: translateY(-2px);
    }

    .portfolio-terminal .final-cta__button--github:hover {
        border-color: var(--dev-accent-violet);
        background: rgb(169 112 255 / 7%);
        transform: translateY(-2px);
    }
}


/* TABLET */

@media (max-width: 1000px) {

    .portfolio-terminal .final-cta {
        padding: 78px 30px 90px;
    }

    .portfolio-terminal .final-cta__card {
        padding: 48px 38px;
    }

    .portfolio-terminal .final-cta__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .portfolio-terminal .final-cta__opportunities {
        padding-top: 40px;
        padding-left: 0;
        border-top: 1px solid rgb(169 112 255 / 20%);
        border-left: 0;
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .portfolio-terminal .final-cta {
        padding: 64px 18px 72px;
    }

    .portfolio-terminal .final-cta__card {
        padding: 34px 22px;
    }

    .portfolio-terminal .final-cta__title {
        font-size: clamp(34px, 10vw, 46px);
    }

    .portfolio-terminal .final-cta__description {
        font-size: 12px;
    }

    .portfolio-terminal .final-cta__buttons {
        width: 100%;
    }

    .portfolio-terminal .final-cta__button--work,
    .portfolio-terminal .final-cta__button--github {
        width: 100%;
    }

    .portfolio-terminal .final-cta__opportunities-list li {
        align-items: center;
        font-size: 11px;
    }

    .portfolio-terminal .final-cta__location p {
        font-size: 11px;
    }
}

/* DEV FINAL CTA — UNIFIED BLACK BACKGROUND */

.portfolio-terminal .final-cta {
    background: #0a0a0c;
    border-top: 0;
}

.portfolio-terminal .final-cta::before,
.portfolio-terminal .final-cta::after {
    display: none;
}

.portfolio-terminal .dev-projects {
    border-bottom: 0;
    background: #0a0a0c;
}

/* DEV SKILLS — REMOVE SECTION DIVIDER */

.portfolio-terminal .dev-skills {
    border-bottom: 0;
    background: #0a0a0c;
}

/* DEV FOOTER — TERMINAL REDESIGN */

.portfolio-terminal .dev-footer {
    padding: 72px 48px 36px;
    color: var(--dev-text-primary);
    background: #0a0a0c;
    font-family: "JetBrains Mono", monospace;
}

.portfolio-terminal .dev-footer__container {
    width: 100%;
    max-width: 1580px;
    margin: 0 auto;
}


/* TOP */

.portfolio-terminal .dev-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 80px;
    padding-bottom: 46px;
    border-bottom: 1px solid var(--dev-border);
}

.portfolio-terminal .dev-footer__eyebrow,
.portfolio-terminal .dev-footer__label {
    margin: 0;
    color: var(--dev-accent-violet);
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-terminal .dev-footer__title {
    margin: 20px 0 0;
    color: var(--dev-text-primary);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: -0.06em;
}

.portfolio-terminal .dev-footer__title span {
    color: var(--dev-accent-violet);
}

.portfolio-terminal .dev-footer__description {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--dev-text-muted);
    font-size: 12px;
    line-height: 1.7;
}

.portfolio-terminal .dev-footer__contact {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.portfolio-terminal .dev-footer__email {
    margin-top: 18px;
    color: var(--dev-text-primary);
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.2;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.portfolio-terminal .dev-footer__location {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 26px;
    color: var(--dev-text-muted);
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: 0.08em;
}


/* MIDDLE */

.portfolio-terminal .dev-footer__middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 26px 0;
    border-bottom: 1px solid var(--dev-border);
}

.portfolio-terminal .dev-footer__nav,
.portfolio-terminal .dev-footer__socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.portfolio-terminal .dev-footer__nav a,
.portfolio-terminal .dev-footer__socials a {
    color: var(--dev-text-muted);
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition:
        color 180ms ease,
        transform 180ms ease;
}


/* BOTTOM */

.portfolio-terminal .dev-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 22px;
}

.portfolio-terminal .dev-footer__bottom p {
    margin: 0;
    color: #706d76;
    font-size: 8px;
    line-height: 1.4;
    letter-spacing: 0.08em;
}


/* HOVER */

@media (hover: hover) and (pointer: fine) {

    .portfolio-terminal .dev-footer__email:hover,
    .portfolio-terminal .dev-footer__nav a:hover,
    .portfolio-terminal .dev-footer__socials a:hover {
        color: var(--dev-accent-violet);
    }

    .portfolio-terminal .dev-footer__socials a:hover {
        transform: translateY(-2px);
    }
}


/* TABLET */

@media (max-width: 1000px) {

    .portfolio-terminal .dev-footer {
        padding: 64px 30px 32px;
    }

    .portfolio-terminal .dev-footer__top {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .portfolio-terminal .dev-footer__contact {
        justify-content: flex-start;
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .portfolio-terminal .dev-footer {
        padding: 54px 18px 28px;
    }

    .portfolio-terminal .dev-footer__top {
        gap: 38px;
        padding-bottom: 36px;
    }

    .portfolio-terminal .dev-footer__title {
        font-size: clamp(38px, 14vw, 58px);
    }

    .portfolio-terminal .dev-footer__description {
        font-size: 11px;
    }

    .portfolio-terminal .dev-footer__email {
        font-size: 17px;
    }

    .portfolio-terminal .dev-footer__middle {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .portfolio-terminal .dev-footer__nav,
    .portfolio-terminal .dev-footer__socials {
        gap: 16px;
    }

    .portfolio-terminal .dev-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

/* DEV SKILLS — SECTION TITLE REDESIGN */

.portfolio-terminal .dev-skills__section-header {
    align-items: center;
    padding-bottom: 16px;
    color: var(--dev-text-muted);
    border-bottom: 1px solid rgb(242 238 231 / 12%);
}

.portfolio-terminal .dev-skills__section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portfolio-terminal .dev-skills__section-index {
    color: var(--dev-accent-violet);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.portfolio-terminal .dev-skills__section-slash {
    color: rgb(169 112 255 / 48%);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
}

.portfolio-terminal .dev-skills__section-name {
    color: var(--dev-text-primary);
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.portfolio-terminal .dev-skills__section-meta {
    color: #77747d;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.16em;
}

@media (max-width: 700px) {
    .portfolio-terminal .dev-skills__section-meta {
        display: none;
    }
}

/* DEV SECTION BAND — FUTURISTIC HEADER */

.portfolio-terminal .dev-section-band {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(140px, 1fr) auto;
    align-items: center;
    gap: 26px;
    min-height: 96px;
    padding: 0 28px;
    border: 0;
    background:
        linear-gradient(
            180deg,
            rgb(255 255 255 / 1.2%) 0%,
            transparent 48%,
            rgb(169 112 255 / 1.2%) 100%
        );
}


/* TITLE */

.portfolio-terminal .dev-section-band .dev-skills__section-title {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: max-content;
}

.portfolio-terminal .dev-section-band .dev-skills__section-index {
    color: var(--dev-accent-violet);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-shadow: 0 0 16px rgb(169 112 255 / 28%);
}

.portfolio-terminal .dev-section-band .dev-skills__section-slash {
    color: rgb(169 112 255 / 48%);
    font-size: 14px;
    letter-spacing: 0.04em;
}

.portfolio-terminal .dev-section-band .dev-skills__section-name {
    color: var(--dev-text-primary);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.12em;
}


/* TECH LINE */

.portfolio-terminal .dev-section-band__line {
    display: grid;
    grid-template-columns:
        88px
        74px
        auto
        minmax(60px, 1fr)
        auto
        110px;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.portfolio-terminal .dev-section-band__accent {
    display: block;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            var(--dev-accent-violet),
            rgb(169 112 255 / 18%)
        );
    box-shadow: 0 0 16px rgb(169 112 255 / 22%);
}

.portfolio-terminal .dev-section-band__segment,
.portfolio-terminal .dev-section-band__stretch {
    display: block;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            rgb(242 238 231 / 6%),
            rgb(242 238 231 / 26%),
            rgb(242 238 231 / 6%)
        );
}

.portfolio-terminal .dev-section-band__stretch {
    width: 100%;
}

.portfolio-terminal .dev-section-band__dots {
    color: rgb(169 112 255 / 65%);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.34em;
    white-space: nowrap;
}


/* META */

.portfolio-terminal .dev-section-band .dev-skills__section-meta {
    position: relative;
    z-index: 2;
    color: #77747d;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.18em;
    white-space: nowrap;
}


/* CORNERS */

.portfolio-terminal .dev-section-band__corner {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 46px;
    transform: translateY(-50%);
    pointer-events: none;
}

.portfolio-terminal .dev-section-band__corner::before,
.portfolio-terminal .dev-section-band__corner::after {
    content: "";
    position: absolute;
    background: rgb(169 112 255 / 68%);
}

.portfolio-terminal .dev-section-band__corner--left {
    left: 0;
    border-left: 1px solid rgb(169 112 255 / 30%);
}

.portfolio-terminal .dev-section-band__corner--left::before {
    top: 0;
    left: 0;
    width: 11px;
    height: 1px;
}

.portfolio-terminal .dev-section-band__corner--left::after {
    top: -7px;
    left: -5px;
    width: 11px;
    height: 11px;
    background:
        linear-gradient(
            var(--dev-accent-violet),
            var(--dev-accent-violet)
        )
        center / 1px 11px no-repeat,
        linear-gradient(
            var(--dev-accent-violet),
            var(--dev-accent-violet)
        )
        center / 11px 1px no-repeat;
}

.portfolio-terminal .dev-section-band__corner--right {
    right: 0;
    border-right: 1px solid rgb(169 112 255 / 30%);
}

.portfolio-terminal .dev-section-band__corner--right::before {
    right: 0;
    bottom: 0;
    width: 11px;
    height: 1px;
}

.portfolio-terminal .dev-section-band__corner--right::after {
    right: -5px;
    bottom: -7px;
    width: 11px;
    height: 11px;
    background:
        linear-gradient(
            var(--dev-accent-violet),
            var(--dev-accent-violet)
        )
        center / 1px 11px no-repeat,
        linear-gradient(
            var(--dev-accent-violet),
            var(--dev-accent-violet)
        )
        center / 11px 1px no-repeat;
}


/* MOBILE */

@media (max-width: 700px) {

    .portfolio-terminal .dev-section-band {
        grid-template-columns: auto 1fr;
        gap: 18px;
        min-height: 78px;
        padding: 0 18px;
    }

    .portfolio-terminal .dev-section-band__line {
        grid-template-columns: 52px minmax(30px, 1fr);
        gap: 10px;
    }

    .portfolio-terminal .dev-section-band__line > :nth-child(3),
    .portfolio-terminal .dev-section-band__line > :nth-child(5),
    .portfolio-terminal .dev-section-band__line > :nth-child(6) {
        display: none;
    }

    .portfolio-terminal .dev-section-band .dev-skills__section-meta {
        display: none;
    }

    .portfolio-terminal .dev-section-band .dev-skills__section-index,
    .portfolio-terminal .dev-section-band .dev-skills__section-name {
        font-size: 13px;
    }
}

/* DEV SECTION BAND — SAME BLACK BACKGROUND */

.portfolio-terminal .dev-section-band {
    background: #0a0a0c;
}

/* DEV PROJECTS — SECTION BAND MATCH */

.portfolio-terminal .dev-projects__section-band {
    margin-bottom: 18px;
    background: #0a0a0c;
}

.portfolio-terminal .dev-projects__section-title {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: max-content;
}

.portfolio-terminal .dev-projects__section-index {
    color: var(--dev-accent-violet);
    font-family: "JetBrains Mono", monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-shadow: 0 0 16px rgb(169 112 255 / 28%);
}

.portfolio-terminal .dev-projects__section-slash {
    color: rgb(169 112 255 / 48%);
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    letter-spacing: 0.04em;
}

.portfolio-terminal .dev-projects__section-title h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--dev-text-primary);
    font-family: "JetBrains Mono", monospace;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-terminal .dev-projects__section-meta {
    position: relative;
    z-index: 2;
    color: #77747d;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.portfolio-terminal .dev-projects__subtitle {
    margin: 0 0 28px;
    color: var(--dev-text-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

@media (max-width: 700px) {

    .portfolio-terminal .dev-projects__section-title h2,
    .portfolio-terminal .dev-projects__section-index {
        font-size: 13px;
    }

    .portfolio-terminal .dev-projects__section-meta {
        display: none;
    }

    .portfolio-terminal .dev-projects__subtitle {
        margin-bottom: 22px;
        font-size: 10px;
    }
}

/* DEV HERO — LANGUAGE NAV */

.portfolio-terminal .dev-hero__section-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.portfolio-terminal .dev-hero__section-label {
    justify-self: start;
}

.portfolio-terminal .dev-hero__section-role {
    justify-self: end;
}

.portfolio-terminal .dev-hero__languages {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #5f5d66;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.08em;
}

.portfolio-terminal .dev-hero__language {
    padding: 0;
    color: #77747d;
    background: transparent;
    border: 0;
    font: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    transition:
        color 160ms ease,
        text-shadow 160ms ease;
}

.portfolio-terminal .dev-hero__language[aria-pressed="true"] {
    color: var(--dev-accent-violet);
    text-shadow: 0 0 12px rgb(169 112 255 / 24%);
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-terminal .dev-hero__language:hover {
        color: var(--dev-text-primary);
    }
}

.portfolio-terminal .dev-hero__language:focus-visible {
    outline: 1px solid var(--dev-accent-violet);
    outline-offset: 4px;
}

@media (max-width: 700px) {
    .portfolio-terminal .dev-hero__section-header {
        grid-template-columns: 1fr auto;
    }

    .portfolio-terminal .dev-hero__languages {
        justify-self: end;
        gap: 7px;
        font-size: 8px;
    }

    .portfolio-terminal .dev-hero__section-role {
        display: none;
    }
}

/* DEV SKILLS — PROFILE FOOTER DEV ONLY */

.portfolio-terminal .dev-skills__profile-footer > :not(.dev-skills__profile-footer-dev) {
    display: none;
}

/* DEV HERO — ACTION BUTTONS */

.portfolio-terminal .dev-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.portfolio-terminal .dev-hero__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 20px;
    color: var(--dev-text-primary);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 0;
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.portfolio-terminal .dev-hero__action--work {
    min-width: 190px;
    background: rgb(169 112 255 / 10%);
    border: 1px solid var(--dev-accent-violet);
}

.portfolio-terminal .dev-hero__action--github {
    min-width: 160px;
    background: transparent;
    border: 1px solid rgb(242 238 231 / 24%);
}

.portfolio-terminal .dev-hero__action img {
    display: block;
    width: 17px;
    height: 17px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (hover: hover) and (pointer: fine) {

    .portfolio-terminal .dev-hero__action--work:hover {
        color: #ffffff;
        background: rgb(169 112 255 / 16%);
        box-shadow: 0 0 22px rgb(169 112 255 / 10%);
        transform: translateY(-2px);
    }

    .portfolio-terminal .dev-hero__action--github:hover {
        border-color: var(--dev-accent-violet);
        background: rgb(169 112 255 / 7%);
        transform: translateY(-2px);
    }
}

@media (max-width: 700px) {

    .portfolio-terminal .dev-hero__actions {
        width: 100%;
        gap: 10px;
        margin-top: 24px;
    }

    .portfolio-terminal .dev-hero__action {
        flex: 1 1 160px;
        min-width: 0;
    }
}

/* DEV PROJECTS — MONEY PILOT VIDEO */

.portfolio-terminal .project-card__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0c;
}

.portfolio-terminal .dev-project-card__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

/* LANDING NAV — PROJECTS DEV THEME */

body.portfolio-terminal {
    --projects-nav-surface: #111216;
    --projects-nav-elevated: #18191f;
    --projects-nav-border: #26272e;
    --projects-nav-text: #f2eee7;
    --projects-nav-muted: #8f8d95;
    --projects-nav-violet: #a970ff;
    --projects-nav-coral: #ff765d;
    --projects-nav-font: "JetBrains Mono", ui-monospace, monospace;
}

body.portfolio-terminal .site-header {
    padding: 20px 24px;
}

body.portfolio-terminal .navigation {
    background-color: var(--projects-nav-surface);
    border: 1px solid var(--projects-nav-border);
    border-radius: 6px;
    box-shadow: none;
}

body.portfolio-terminal .navigation__brand {
    color: var(--projects-nav-text);
    font-family: var(--projects-nav-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

body.portfolio-terminal .navigation__brand img {
    border: 1px solid var(--projects-nav-border);
    border-radius: 4px;
}

body.portfolio-terminal .navigation__menu a {
    color: var(--projects-nav-muted);
    font-family: var(--projects-nav-font);
    font-size: 12px;
    letter-spacing: 0.3px;
}

body.portfolio-terminal .navigation__menu a:hover,
body.portfolio-terminal .navigation__menu a:focus-visible {
    color: var(--projects-nav-violet);
}

body.portfolio-terminal .navigation__contact {
    background-color: var(--projects-nav-coral);
    color: #0d0d0f;
    border-radius: 4px;
    font-family: var(--projects-nav-font);
}

body.portfolio-terminal .navigation__toggle img {
    filter: invert(1) brightness(1.4);
}

body.portfolio-terminal .language-switcher__trigger {
    background-color: var(--projects-nav-elevated);
    border-color: var(--projects-nav-border);
    color: var(--projects-nav-text);
    border-radius: 4px;
    font-family: var(--projects-nav-font);
}

body.portfolio-terminal .language-switcher__trigger:hover,
body.portfolio-terminal .language-switcher__trigger:focus-visible {
    background-color: var(--projects-nav-violet);
    border-color: var(--projects-nav-violet);
    color: #0d0d0f;
}

body.portfolio-terminal .language-switcher__menu {
    background-color: var(--projects-nav-surface);
    border-color: var(--projects-nav-border);
    border-radius: 6px;
}

body.portfolio-terminal .language-switcher__option {
    color: var(--projects-nav-text);
    font-family: var(--projects-nav-font);
    border-radius: 3px;
}

body.portfolio-terminal .language-switcher__option:hover,
body.portfolio-terminal .language-switcher__option:focus-visible {
    background-color: var(--projects-nav-elevated);
}

body.portfolio-terminal .language-switcher__option.is-active {
    color: var(--projects-nav-violet);
}

@media (max-width: 900px) {
    body.portfolio-terminal .navigation,
    body.portfolio-terminal .navigation.navigation--open {
        background-color: rgba(17, 18, 22, 0.85);
        border: 1px solid var(--projects-nav-border);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

    body.portfolio-terminal .navigation--open .navigation__menu a {
        color: var(--projects-nav-text);
    }

    body.portfolio-terminal .navigation--open .navigation__contact {
        background-color: var(--projects-nav-coral);
        border-color: var(--projects-nav-coral);
        color: #0d0d0f;
    }
}

/* LANDING NAV — REPLACE INTRO BAR */

body.portfolio-terminal > .site-header {
    display: flex;
    justify-content: center;
    position: relative;
    width: calc(100% - var(--dev-rail-width));
    margin-left: var(--dev-rail-width);
    z-index: 20;
}

body.portfolio-terminal .dev-hero__section-header {
    display: none;
}

@media (max-width: 900px) {
    body.portfolio-terminal > .site-header {
        width: 100%;
        margin-left: 0;
    }
}

/* LANDING NAV — COMPACT SIZE */

body.portfolio-terminal > .site-header {
    padding: 6px 12px;
}

body.portfolio-terminal .navigation {
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    height: 52px;
    min-height: 0;
    padding: 5px 10px;
}

body.portfolio-terminal .navigation__brand {
    gap: 9px;
}

body.portfolio-terminal .navigation__brand img {
    width: 34px;
    height: 34px;
}

body.portfolio-terminal .navigation__menu {
    gap: 24px;
}

body.portfolio-terminal .language-switcher__trigger {
    box-sizing: border-box;
    height: 38px;
    min-height: 0;
    padding: 5px 10px;
}

body.portfolio-terminal .navigation__contact {
    box-sizing: border-box;
    height: 38px;
    min-height: 0;
    padding: 0 15px;
}

body.portfolio-terminal .navigation__contact-icon {
    width: 19px;
    height: 19px;
}

@media (max-width: 900px) {
    body.portfolio-terminal > .site-header {
        padding: 6px 10px;
    }

    body.portfolio-terminal .navigation {
        width: 100%;
        height: 52px;
        min-height: 0;
        padding: 5px 10px;
    }

    body.portfolio-terminal .navigation__brand img {
        width: 34px;
        height: 34px;
    }

    body.portfolio-terminal .navigation.navigation--open {
        height: auto;
        min-height: 52px;
    }

    body.portfolio-terminal .navigation--open .navigation__contact {
        width: 100%;
        height: 46px;
    }
}

/* SHARED PROJECT CONTACT FOOTER */
.project-contact-footer{
  margin:0;
  background:#0a0a0c;
  color:var(--dev-text-primary);
  font-family:"JetBrains Mono",monospace;
}
.project-contact-footer .final-cta__buttons{
  flex-wrap:wrap;
}
.project-contact-footer .final-cta__button{
  min-height:48px;
  height:auto;
  max-width:100%;
  padding-block:14px;
  white-space:normal;
  text-align:center;
}
.project-contact-footer .final-cta__location p{
  flex-wrap:wrap;
  min-width:0;
}
.project-contact-footer .final-cta__button:focus-visible{
  outline:2px solid #a970ff;
  outline-offset:4px;
}
@media(prefers-reduced-motion:reduce){
  .project-contact-footer .final-cta__button{
    transition:none;
    transform:none;
  }
}
