/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #050505;
    color: #ffffff;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

ul {
    list-style: none;
}


/* ========================================
   VARIABLES
======================================== */

:root {
    --bg: #050505;
    --bg-soft: #0a0a0a;
    --card: #0f0f0f;
    --card-hover: #141414;

    --white: #ffffff;
    --text: #d8d8d8;
    --muted: #8d8d8d;
    --muted-dark: #5d5d5d;

    --border: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(255, 255, 255, 0.18);

    --container: 1200px;

    --transition: 0.3s ease;
}


/* ========================================
   GLOBAL
======================================== */

.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 120px 0;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    margin-bottom: 18px;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--muted);

    font-family: "Space Grotesk", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
}

.section-tag {
    display: block;

    margin-bottom: 18px;

    color: var(--muted);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 65px;
}

.section-header > div {
    max-width: 720px;
}

.section-header h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;

    letter-spacing: -0.045em;
}

.section-header h2 span {
    display: block;
    color: var(--muted);
}

.section-header > p {
    max-width: 420px;

    color: var(--muted);

    font-size: 0.95rem;
    line-height: 1.8;
}


/* ========================================
   BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 54px;

    padding: 0 22px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--white);
    color: #000000;
}

.btn-primary:hover {
    background: #e7e7e7;
}

.btn-secondary {
    border-color: var(--border);
    background: transparent;

    color: var(--white);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
}

.btn-light {
    background: #ffffff;
    color: #000000;
}

.btn-light:hover {
    background: #dddddd;
}


/* ========================================
   HEADER
======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;

    width: 100%;

    border-bottom: 1px solid transparent;

    transition:
        background var(--transition),
        border-color var(--transition),
        backdrop-filter var(--transition);
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.88);

    border-color: var(--border);

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    
}

.header-container {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.logo {
    font-family: "Space Grotesk", sans-serif;

    font-size: 1.35rem;
    font-weight: 700;

    letter-spacing: -0.05em;
}

.nav {
    display: flex;
    align-items: center;

    gap: 30px;
}

.nav-link {
    position: relative;

    color: var(--muted);

    font-size: 0.85rem;
    font-weight: 600;

    transition: color var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -9px;

    width: 0;
    height: 1px;

    background: #ffffff;

    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-button {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding: 12px 17px;

    border: 1px solid var(--border);
    border-radius: 999px;

    font-size: 0.8rem;
    font-weight: 700;

    transition:
        border-color var(--transition),
        background var(--transition);
}

.header-button:hover {
    border-color: var(--border-hover);

    background: rgba(255, 255, 255, 0.05);
}


/* MOBILE MENU */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    width: 18px;
    height: 1px;

    background: #ffffff;

    transition: var(--transition);
}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 145px 0 90px;

    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.13;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);

    background-size: 70px 70px;

    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.85),
        transparent 85%
    );

    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.85),
        transparent 85%
    );
}

.hero-blur {
    position: absolute;

    border-radius: 50%;

    filter: blur(130px);

    pointer-events: none;
}

.hero-blur-one {
    width: 450px;
    height: 450px;

    top: 8%;
    right: 5%;

    background: rgba(255, 255, 255, 0.06);
}

.hero-blur-two {
    width: 350px;
    height: 350px;

    left: -100px;
    bottom: -60px;

    background: rgba(255, 255, 255, 0.04);
}

.hero-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 85px;
}

.hero-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--muted);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.2em;
}

.hero-content h1 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(4rem, 8vw, 7rem);

    line-height: 0.9;

    letter-spacing: -0.07em;
}

.hero-content h1 span {
    display: block;

    color: #5e5e5e;
}

.hero-content h2 {
    max-width: 720px;

    margin-top: 26px;

    color: #dedede;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(1.45rem, 2.8vw, 2.1rem);
    line-height: 1.35;

    letter-spacing: -0.03em;
}

.hero-description {
    max-width: 650px;

    margin-top: 24px;

    color: var(--muted);

    font-size: 1rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 35px;
}

.hero-social {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 34px;
}

.hero-social a {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: #cfcfcf;

    transition:
        border-color var(--transition),
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.hero-social a:hover {
    transform: translateY(-3px);

    color: #ffffff;

    border-color: var(--border-hover);

    background: rgba(255, 255, 255, 0.04);
}


/* FOTO HERO */

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-photo-wrapper {
    position: relative;

    width: min(100%, 440px);
}

.hero-photo-glow {
    position: absolute;

    inset: 12%;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.11);

    filter: blur(80px);
}

.hero-photo {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 580px;

    object-fit: cover;
    object-position: center;

    filter: grayscale(1) contrast(1.05);

    border-radius: 30px;

    border: 1px solid var(--border);

    background: #0b0b0b;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.photo-number {
    position: absolute;

    top: -18px;
    right: -15px;

    z-index: 3;

    color: rgba(255, 255, 255, 0.1);

    font-family: "Space Grotesk", sans-serif;

    font-size: 6rem;
    font-weight: 700;

    line-height: 1;
}

.hero-photo-card {
    position: absolute;

    z-index: 4;

    left: -40px;
    bottom: 38px;

    display: flex;
    align-items: center;

    gap: 13px;

    min-width: 225px;

    padding: 16px 18px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: rgba(8, 8, 8, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.status-dot {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
}

.hero-photo-card div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.hero-photo-card strong {
    font-size: 0.88rem;
}

.hero-photo-card span {
    color: var(--muted);

    font-size: 0.75rem;
}

.scroll-down {
    position: absolute;

    left: 50%;
    bottom: 30px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--muted);

    font-size: 0.74rem;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* ========================================
   SOBRE
======================================== */

.about {
    border-top: 1px solid var(--border);
}

.about-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;
}

.about-title {
    position: sticky;
    top: 120px;

    height: fit-content;
}

.about-title h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2.6rem, 5vw, 4.2rem);

    line-height: 1.05;

    letter-spacing: -0.05em;
}

.about-title h2 span {
    display: block;

    color: #666666;
}

.about-highlight {
    color: #ffffff !important;

    font-size: clamp(1.35rem, 2.5vw, 1.8rem) !important;

    font-family: "Space Grotesk", sans-serif;

    line-height: 1.45 !important;
}

.about-content p {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 1rem;
    line-height: 1.85;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 45px;
}

.about-stat {
    padding: 22px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: #0a0a0a;
}

.about-stat strong {
    display: block;

    margin-bottom: 5px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.1rem;
}

.about-stat span {
    color: var(--muted);

    font-size: 0.76rem;
}


/* ========================================
   SKILLS
======================================== */

.skills {
    background: #080808;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.skill-card {
    position: relative;

    min-height: 290px;

    padding: 32px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition:
        background var(--transition),
        transform var(--transition);
}

.skill-card:hover {
    background: #111111;
}

.skill-number {
    position: absolute;

    top: 24px;
    right: 25px;

    color: #505050;

    font-size: 0.7rem;
    font-weight: 700;
}

.skill-card > i {
    margin-top: 40px;
    margin-bottom: 30px;

    color: #ffffff;

    font-size: 2rem;
}

.skill-card h3 {
    margin-bottom: 12px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.2rem;
}

.skill-card p {
    color: var(--muted);

    font-size: 0.88rem;
    line-height: 1.7;
}


/* ========================================
   PROJECTS
======================================== */

.projects {
    overflow: hidden;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}

.project-card {
    display: block;

    padding-bottom: 25px;

    border-bottom: 1px solid var(--border);
}

.project-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    border-radius: 18px;

    background: #111111;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: grayscale(1);

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.035);

    filter: grayscale(0.25);
}

.project-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    background: rgba(0, 0, 0, 0.58);

    opacity: 0;

    transition: opacity var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay span {
    font-size: 0.85rem;
    font-weight: 700;
}

.project-content {
    padding-top: 22px;
}

.project-category {
    display: block;

    margin-bottom: 9px;

    color: #666666;

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-content h3 {
    margin-bottom: 10px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.55rem;
}

.project-content p {
    max-width: 620px;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.7;
}

.project-large {
    grid-column: span 2;
}

.project-large .project-image {
    aspect-ratio: 21 / 9;
}


/* ========================================
   CODEX
======================================== */

.codex {
    position: relative;

    overflow: hidden;

    background: #ffffff;

    color: #000000;
}

.codex-background {
    position: absolute;
    inset: 0;

    opacity: 0.09;

    background-image:
        linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);

    background-size: 70px 70px;
}

.codex-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 90px;
}

.codex .section-number {
    border-color: rgba(0, 0, 0, 0.12);

    color: #555555;
}

.codex .section-tag {
    color: #666666;
}

.codex-content h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(4rem, 8vw, 7rem);

    line-height: 0.9;

    letter-spacing: -0.07em;
}

.codex-content h2 span {
    display: block;

    color: #727272;
}

.codex-highlight {
    max-width: 650px;

    margin-top: 28px;

    font-size: 1.35rem;
    line-height: 1.55;

    font-weight: 600;
}

.codex-content > p:not(.codex-highlight):not(.codex-commercial) {
    max-width: 650px;

    margin-top: 20px;

    color: #585858;

    line-height: 1.8;
}

.codex-services {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin: 30px 0;
}

.codex-services span {
    padding: 9px 13px;

    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;

    font-size: 0.78rem;
    font-weight: 700;
}

.codex-commercial {
    max-width: 650px;

    margin-bottom: 30px;

    color: #303030;

    font-weight: 700;
    line-height: 1.7;
}

.codex-card {
    min-height: 520px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 40px;

    border-radius: 25px;

    background: #050505;

    color: #ffffff;
}

.codex-card-label {
    margin-bottom: auto;

    color: #666666;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.2em;
}
.codex-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 260px;

    margin: 20px 0;
}

.codex-logo-image {
    width: 100%;
    max-width: 310px;

    object-fit: contain;

    filter: brightness(1.05);

    transition: transform 0.3s ease;
}

.codex-card:hover .codex-logo-image {
    transform: scale(1.04);
}

.codex-card-line {
    width: 100%;
    height: 1px;

    margin: 35px 0 22px;

    background: rgba(255, 255, 255, 0.12);
}

.codex-card > span:not(.codex-card-label) {
    margin-top: 8px;

    color: #b6b6b6;

    font-size: 0.86rem;
}


/* ========================================
   JOURNEY
======================================== */

.journey {
    border-bottom: 1px solid var(--border);
}

.journey-list {
    border-top: 1px solid var(--border);
}

.journey-item {
    display: grid;
    grid-template-columns: 180px 1fr;

    gap: 40px;

    padding: 35px 0;

    border-bottom: 1px solid var(--border);
}

.journey-year {
    color: #5f5f5f;

    font-size: 0.76rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.journey-content h3 {
    margin-bottom: 8px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.25rem;
}

.journey-content p {
    max-width: 700px;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.7;
}


/* ========================================
   CONTACT
======================================== */

.contact {
    text-align: center;

    padding: 140px 0;
}

.contact-container {
    max-width: 850px;
}

.contact h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(3.5rem, 8vw, 7rem);

    line-height: 0.95;

    letter-spacing: -0.07em;
}

.contact h2 span {
    display: block;

    color: #5f5f5f;
}

.contact > .container > p,
.contact-container > p {
    max-width: 620px;

    margin: 28px auto 0;

    color: var(--muted);

    line-height: 1.8;
}

.contact-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 35px;
}

.contact-social {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;

    margin-top: 35px;
}

.contact-social a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--muted);

    font-size: 0.8rem;

    transition: color var(--transition);
}

.contact-social a:hover {
    color: #ffffff;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    padding: 60px 0 30px;

    border-top: 1px solid var(--border);

    background: #050505;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr auto;

    gap: 40px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 12px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.4rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--muted);

    font-size: 0.84rem;
}

.footer-links {
    display: flex;
    align-items: flex-start;

    gap: 25px;
}

.footer-links a {
    color: var(--muted);

    font-size: 0.8rem;

    transition: color var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

    border-top: 1px solid var(--border);
}

.footer-bottom p,
.footer-bottom a {
    color: #666666;

    font-size: 0.75rem;
}

.footer-bottom a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: #ffffff;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {

    .section {
        padding: 95px 0;
    }

    .header-button {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-container {
        position: relative;
    }

    .nav {
        position: absolute;

        top: calc(100% + 1px);
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 0 5%;

        max-height: 0;

        overflow: hidden;

        opacity: 0;
        visibility: hidden;

        background: #080808;

        border-bottom: 1px solid var(--border);

        transition:
            max-height 0.4s ease,
            opacity 0.3s ease,
            visibility 0.3s ease,
            padding 0.3s ease;
    }

    .nav.active {
        max-height: 500px;

        padding-top: 15px;
        padding-bottom: 15px;

        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 15px 0;

        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        min-height: 0 ;

        padding-top: 140px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-social {
        justify-content: center;
    }

    .hero-photo-wrapper {
        max-width: 390px;
    }

    .hero-photo {
        height: 500px;
    }

    .hero-photo-card {
        left: 50%;
        bottom: -25px;

        transform: translateX(-50%);
    }

    .scroll-down {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .about-title {
        position: static;

        text-align: center;
    }

    .about-content {
        max-width: 760px;

        margin: 0 auto;

        text-align: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;

        gap: 20px;
    }

    .section-header > p {
        max-width: 650px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .codex-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .codex-content {
        text-align: center;
    }

    .codex-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .codex-services {
        justify-content: center;
    }

    .codex-card {
        max-width: 520px;

        margin: 0 auto;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .container {
        width: min(91%, var(--container));
    }

    .section {
        padding: 80px 0;
    }

    .header-container {
        min-height: 70px;
    }

    .hero {
        padding-top: 115px;
        padding-bottom: 70px;
    }

    .hero-content h1 {
        font-size: clamp(3.6rem, 18vw, 5.4rem);
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 0.92rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-photo-wrapper {
        max-width: 310px;
    }

    .hero-photo {
        height: 410px;

        border-radius: 22px;
    }

    .photo-number {
        font-size: 4.5rem;
    }

    .hero-photo-card {
        min-width: 210px;

        padding: 14px 16px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 45px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card {
        min-height: 235px;

        padding: 26px;
    }

    .projects-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .project-large {
        grid-column: span 1;
    }

    .project-large .project-image,
    .project-image {
        aspect-ratio: 16 / 11;
    }

    .codex-content h2 {
        font-size: clamp(3.6rem, 20vw, 5.5rem);
    }

    .codex-card {
        min-height: 420px;

        padding: 28px;
    }

    .codex-card-logo {
        font-size: 7rem;
    }

    .journey-item {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .contact {
        padding: 100px 0;
    }

    .contact h2 {
        font-size: clamp(3.4rem, 18vw, 5.3rem);
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
    }

    .contact-social {
        flex-wrap: wrap;
    }

    .footer-container {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;

        text-align: center;
    }

}