/* =========================================================
   FONTS
========================================================= */

@font-face {
    font-family: "Space Grotesk";
    src: url("SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: "Altone Trial";
    src: url("Altone Trial-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}


/* =========================================================
   ROOT
========================================================= */

:root {
    --cream: #f7f5ef;
    --cream-dark: #ebe9e2;

    --navy: #062844;
    --navy-dark: #031b30;

    --blue: #1263ad;
    --blue-light: #347aa0;

    --green: #0a5547;
    --green-dark: #064b43;

    --gold: #d9a441;

    --text: #193b4d;
    --muted: #5c6d76;

    --line: rgba(8, 45, 72, 0.12);
}


/* =========================================================
   GLOBAL RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    width: 100%;

    overflow-x: hidden;

    background: var(--cream);

    color: var(--text);

    font-family: "Space Grotesk", Arial, sans-serif;
}

img {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;
}


/* =========================================================
   HEADER
========================================================= */

header {
    position: relative;

    width: 100%;

    height: 72vh;
    min-height: 650px;

    overflow: hidden;

    color: white;

    background-image: url("background3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    font-family: "Space Grotesk", sans-serif;
}


/* dark overlay */

.header-overlay {
    position: absolute;

    inset: 0;

    z-index: 0;

    background:
        linear-gradient(
            90deg,
            rgba(1, 24, 50, 0.35),
            rgba(1, 18, 38, 0.68)
        );
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    position: relative;

    z-index: 10;

    width: min(1180px, 84%);

    margin: 0 auto;

    padding-top: 34px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}


.main-nav ul {
    display: flex;

    align-items: center;

    gap: 48px;

    margin: 0;

    padding: 0;

    list-style: none;
}


.main-nav ul li {
    margin: 0;

    padding: 0;
}


.main-nav a {
    position: relative;

    color: rgba(255, 255, 255, 0.9);

    text-decoration: none;

    font-size: 15px;

    padding-bottom: 12px;

    transition:
        opacity 0.25s ease,
        color 0.25s ease;
}


.main-nav ul a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 1px;

    background: white;

    transform: translateX(-50%);

    transition: width 0.3s ease;
}


.main-nav ul a:hover::after,
.main-nav ul a.active::after {
    width: 52px;
}


.main-nav ul a:hover {
    opacity: 0.72;
}


/* =========================================================
   DOWNLOAD CV BUTTON
========================================================= */

.cv-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 22px;

    min-height: 45px;

    padding: 0 20px !important;

    border: 1px solid rgba(255, 255, 255, 0.72);

    background: rgba(3, 20, 40, 0.22);

    color: white;

    text-decoration: none;

    backdrop-filter: blur(7px);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.cv-button:hover {
    background: white;

    color: var(--navy-dark);

    transform: translateY(-2px);
}


.cv-button span {
    font-size: 20px;
}


/* =========================================================
   HEADER CONTENT
========================================================= */

.header-content {
    position: absolute;

    z-index: 5;

    top: 51%;
    left: 50%;

    width: min(900px, 75%);

    transform: translate(-50%, -50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}


.header-intro {
    margin-bottom: 27px;

    animation: fadeUp 0.8s ease forwards;
}


.header-intro > p:first-child {
    margin: 0 0 7px;

    font-size: 16px;

    color: rgba(255, 255, 255, 0.92);
}


.header-intro .specialties {
    margin: 0;

    font-size: 15px;

    color: rgba(255, 255, 255, 0.78);
}


.specialties span {
    margin: 0 10px;

    opacity: 0.55;
}


/* JUSTIN HUA */

header .header-content h1 {
    margin: 0;

    color: white;

    font-family: "Altone Trial", "Space Grotesk", sans-serif;

    font-size: clamp(65px, 6vw, 100px);

    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.035em;

    text-transform: uppercase;

    animation: fadeUp 0.9s ease 0.15s both;
}


/* =========================================================
   ANIMATED GOLD LINE
========================================================= */

.engineering-line {
    width: min(500px, 62%);

    height: 16px;

    margin-top: 38px;

    background:
        repeating-linear-gradient(
            120deg,
            var(--gold) 0,
            var(--gold) 8px,
            transparent 8px,
            transparent 15px
        );

    transform: skewX(-10deg);

    animation:
        fadeUp 0.8s ease 0.3s both,
        moveStripes 8s linear 1s infinite;
}


/* =========================================================
   CURRENT FOCUS
========================================================= */

.current-focus {
    margin-top: 90px;

    animation: fadeUp 0.8s ease 0.45s both;
}


.focus-label {
    margin: 0 0 10px !important;

    color: rgba(255, 255, 255, 0.42) !important;

    font-size: 9px !important;

    font-weight: 500;

    letter-spacing: 0.35em;
}


.focus-items {
    margin: 0 !important;

    font-size: 14px !important;

    color: rgba(255, 255, 255, 0.82) !important;
}


.focus-items span {
    margin: 0 8px;

    opacity: 0.55;
}


/* =========================================================
   RIGHT NUMBERS
========================================================= */




.section-number {
    display: flex;

    align-items: center;

    gap: 13px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 13px;
}


.section-number span {
    width: 14px;
    height: 1px;

    background: rgba(255, 255, 255, 0.6);

    transition: width 0.3s ease;
}


.section-number:hover span,
.section-number.active span {
    width: 28px;
}


.section-number.active {
    color: white;
}


/* =========================================================
   HEADER ANIMATIONS
========================================================= */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes moveStripes {

    from {
        background-position: 0 0;
    }

    to {
        background-position: 150px 0;
    }
}


/* =========================================================
   ABOUT SECTION
========================================================= */

.about-section {
    position: relative;

    width: 100%;

    min-height: 650px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    padding: 70px max(6vw, 60px);

    overflow: hidden;

    background: var(--cream);
}


/* =========================================================
   ABOUT LEFT
========================================================= */

.about-main {
    position: relative;

    z-index: 5;

    display: flex;

    align-items: center;
    justify-content: flex-end;

    padding-right: 60px;
}


.about-copy {
    width: 100%;

    max-width: 700px;
}


.about-eyebrow {
    margin: 0 0 28px;

    color: var(--navy);

    font-size: 20px;

    font-weight: 600;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.about-copy h1 {
    margin: 0 0 34px;

    color: var(--navy);

    font-family: "Altone Trial", "Space Grotesk", sans-serif;

    font-size: clamp(44px, 4vw, 50px);

    line-height: 1.05;

    font-weight: 700;
    font-style: 60px;
}


.about-copy p:not(.about-eyebrow) {
    max-width: 700px;

    margin: 0 0 25px;

    color: var(--text);

    font-size: 20px;

    line-height: 1.75;
}


/* =========================================================
   ABOUT LINKS
========================================================= */

.about-buttons {
    display: flex;

    align-items: center;

    gap: 50px;

    margin-top: 40px;

    flex-wrap: wrap;
}

.about-link {
    display: inline-flex;

    align-items: center;

    gap: 25px;

    padding: 14px 22px;

    border-radius: 5px;

    background: #082d48;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
    transform 0.25s ease,
    background 0.25s ease;
}


.about-link spanspan {
    font-size: 18px;

    transition: transform 0.25s ease;
}



.about-link:hover {
    transform: translateY(-2px);

    background: #0d3d5e;
}


/* =========================================================
   ABOUT RIGHT
========================================================= */

.about-image {
    position: relative;

    min-height: 520px;

    display: flex;

    align-items: center;
    justify-content: center;

    /* SHIFT WHOLE IMAGE AREA RIGHT */
    transform: translateX(100px);
}


/* =========================================================
   PORTRAIT
========================================================= */

.portrait-wrapper {
    position: relative;

    z-index: 5;

    width: 600px;
    height: 600px;

    flex-shrink: 0;
}


/* outer blue ring */

.portrait-wrapper::before {
    content: "";

    position: absolute;

    inset: -14px;

    z-index: 4;

    border: 1.5px solid #174b6c;

    border-radius: 50%;

    pointer-events: none;
}


/* cream gap */

.portrait-wrapper::after {
    content: "";

    position: absolute;

    inset: -6px;

    z-index: 3;

    border: 8px solid var(--cream);

    border-radius: 50%;

    pointer-events: none;
}


.portrait-wrapper img {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    object-fit: cover;
    object-position: center 25%;

    transition: transform 0.6s ease;
}


.portrait-wrapper:hover img {
    transform: scale(1.018);
}


/* =========================================================
   ORBIT DOT
========================================================= */

.orbit-dot {
    position: absolute;

    z-index: 10;

    right: -5px;
    bottom: 55px;

    width: 16px;
    height: 16px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 0 7px var(--cream);

    animation: pulseDot 2.5s ease-in-out infinite;
}


@keyframes pulseDot {

    0%,
    100% {
        box-shadow:
            0 0 0 7px var(--cream),
            0 0 0 8px rgba(18, 99, 173, 0);
    }

    50% {
        box-shadow:
            0 0 0 7px var(--cream),
            0 0 0 16px rgba(18, 99, 173, 0.09);
    }
}


/* =========================================================
   DOT GRID
========================================================= */

.dot-grid {
    position: absolute;

    z-index: 1;

    width: 90px;
    height: 75px;

    left: 0;
    top: 5%;

    opacity: 0.48;

    background-image:
        radial-gradient(
            circle,
            var(--blue-light) 1.4px,
            transparent 1.7px
        );

    background-size: 18px 18px;
}


/* =========================================================
   DECORATIVE SIDE CIRCLES
========================================================= */

.side-circles {
    position: absolute;

    z-index: 1;

    left: 5%;
    bottom: -5%;

    width: 240px;
    height: 240px;

    pointer-events: none;
}


.circle {
    position: absolute;

    top: 50%;
    left: 50%;

    border-radius: 50%;

    transform: translate(-50%, -50%);
}


.circle-1 {
    width: 230px;
    height: 230px;

    border: 1px solid rgba(30, 92, 125, 0.08);
}


.circle-2 {
    width: 175px;
    height: 175px;

    border: 1px solid rgba(30, 92, 125, 0.11);
}


.circle-3 {
    width: 115px;
    height: 115px;

    border: 1px solid rgba(30, 92, 125, 0.14);
}


/* =====================================================
   FEATURED PROJECTS
===================================================== */

.featured-projects {
    width: 100%;

    padding: 90px 7vw 110px;

    background: #f7f5ef;
}


/* =====================================================
   SECTION HEADING
===================================================== */

.projects-heading {
    width: min(1250px, 100%);

    margin: 0 auto 45px;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}


.projects-eyebrow {
    margin: 0 0 10px;

    color: #1263ad;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.projects-heading h2 {
    margin: 0;

    color: #082d48;

    font-family: "Altone Trial", "Space Grotesk", sans-serif;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1;

    font-weight: 700;
}


.view-all {
    display: inline-flex;

    align-items: center;

    gap: 20px;

    color: #0a5547;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}


.view-all span {
    font-size: 18px;

    transition: transform 0.25s ease;
}


.view-all:hover span {
    transform: translateX(5px);
}


/* =====================================================
   TWO-COLUMN GRID
===================================================== */

.featured-grid {
    width: min(1250px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 26px;
}


/* =====================================================
   CARD
===================================================== */

.featured-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid rgba(8, 45, 72, 0.12);

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.46);

    box-shadow:
        0 8px 25px rgba(4, 33, 53, 0.035);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.featured-card:hover {
    transform: translateY(-7px);

    border-color: rgba(18, 99, 173, 0.22);

    box-shadow:
        0 22px 45px rgba(4, 33, 53, 0.09);
}


/* =====================================================
   PROJECT IMAGE
===================================================== */

.project-image-link {
    display: block;

    text-decoration: none;
}


.featured-image {
    position: relative;

    width: 100%;
    height: 310px;

    overflow: hidden;

    background: #e7e7e3;
}


.featured-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.55s ease;
}


.featured-card:hover .featured-image img {
    transform: scale(1.035);
}


/* =====================================================
   FEATURED BADGE
===================================================== */

.featured-badge {
    position: absolute;

    z-index: 3;

    top: 18px;
    left: 18px;

    padding: 7px 11px;

    border-radius: 6px;

    background: #1263ad;

    color: white;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.06em;
}


/* =====================================================
   CONTENT
===================================================== */

.featured-content {
    padding: 24px 24px 20px;
}


.featured-content h3 {
    margin: 0 0 12px;

    font-size: 25px;
    line-height: 1.2;

    color: #0c2e43;
}


.featured-content h3 a {
    color: inherit;

    text-decoration: none;
}


.featured-content p {
    max-width: 520px;

    margin: 0 0 26px;

    color: #4a5c65;

    font-size: 14px;
    line-height: 1.6;
}


/* =====================================================
   CARD BOTTOM
===================================================== */

.project-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* =====================================================
   TAGS
===================================================== */

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.project-tags span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 26px;

    padding: 0 9px;

    border-radius: 5px;

    background: #e9e9e4;

    color: #4a5d65;

    font-size: 9px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.025em;
}


/* =====================================================
   YEAR / ARROW
===================================================== */

.project-year {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    color: #173c50;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}


.project-year span {
    font-size: 18px;

    color: #1263ad;

    transition: transform 0.25s ease;
}


.project-year:hover span {
    transform: translateX(5px);
}



/* =========================================================
   OLD HERO BUTTON SUPPORT
========================================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 30px;

    flex-wrap: wrap;
}


.hero-buttons a {
    text-decoration: none;

    font-weight: 600;
}


.btn-primary {
    display: inline-flex;

    align-items: center;

    gap: 30px;

    padding: 15px 24px;

    border-radius: 4px;

    background: var(--green-dark);

    color: white;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.btn-primary:hover {
    transform: translateY(-2px);

    background: #073c37;
}


.btn-secondary {
    display: inline-flex;

    align-items: center;

    gap: 30px;

    color: var(--navy);
}

.straight-line {
    border: none;
    border-top: 0.25px solid #4b52be;
    opacity: 50%;
    margin: 30px 0;
}
/* =========================================================
   PROJECTS
========================================================= */
/* =========================================================
   PROJECT PAGE
========================================================= */

.projects {
    width: 100%;

    padding: 110px 7vw 130px;

    background: #f7f5ef;

    color: #082d48;
}


/* =========================================================
   PROJECT HEADER
========================================================= */

.projects-header {
    width: min(1350px, 100%);

    margin: 0 auto 65px;

    display: grid;

    grid-template-columns: 1fr 0.7fr;

    gap: 80px;

    align-items: end;
}


.projects-eyebrow {
    margin: 0 0 14px;

    color: #d9a441;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.projects-header h1 {
    margin: 0;

    color: #062844;

    font-family: "Altone Trial", "Space Grotesk", sans-serif;

    font-size: clamp(52px, 5vw, 78px);

    font-weight: 700;

    line-height: 0.98;

    letter-spacing: -0.035em;
}


.projects-intro {
    max-width: 470px;

    margin: 0 0 5px;

    color: #5c6d76;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   FEATURED PROJECT
========================================================= */

.featured-project {
    width: min(1350px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.3fr 0.7fr;

    min-height: 570px;

    overflow: hidden;

    border-radius: 8px;

    background: #062844;

    box-shadow:
        0 18px 50px rgba(3, 27, 48, 0.08);
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.featured-image {
    position: relative;

    min-height: 570px;

    overflow: hidden;

    background: #dfe2df;
}


.featured-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.7s ease;
}


.featured-project:hover .featured-image img {
    transform: scale(1.035);
}


/* slight fade toward content */

.featured-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 65%,
            rgba(6, 40, 68, 0.22)
        );

    pointer-events: none;
}
.featured-image-link {
    display: block;

    text-decoration: none;

    cursor: pointer;
}

/* =========================================================
   FEATURED BADGE
========================================================= */

.featured-badge {
    position: absolute;

    z-index: 3;

    top: 25px;
    left: 25px;

    padding: 7px 12px;

    border-radius: 4px;

    background: #d9a441;

    color: #062844;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* =========================================================
   PROJECT NUMBER
========================================================= */

.project-number {
    position: absolute;

    z-index: 3;

    top: 20px;
    right: 20px;

    padding: 7px 9px;

    border-radius: 4px;

    background: rgba(6, 40, 68, 0.82);

    color: white;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.08em;

    backdrop-filter: blur(5px);
}


/* =========================================================
   FEATURED CONTENT
========================================================= */

.featured-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 65px 55px;

    color: white;
}


.project-category {
    margin: 0 0 20px;

    color: #d9a441;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.featured-content h2 {
    margin: 0 0 28px;

    color: white;

    font-family: "Altone Trial", "Space Grotesk", sans-serif;

    font-size: clamp(42px, 4vw, 64px);

    line-height: 0.97;

    letter-spacing: -0.035em;
}


.project-description {
    margin: 0 0 30px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   TAGS
========================================================= */

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.project-tags span {
    display: inline-flex;

    align-items: center;

    min-height: 26px;

    padding: 0 10px;

    border: 1px solid rgba(8, 45, 72, 0.12);

    border-radius: 20px;

    background: rgba(8, 45, 72, 0.05);

    color: #405966;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.03em;

    text-transform: uppercase;
}


.featured-content .project-tags span {
    border-color: rgba(255, 255, 255, 0.20);

    background: rgba(255, 255, 255, 0.06);

    color: rgba(255, 255, 255, 0.82);
}


/* =========================================================
   FEATURED LINK
========================================================= */

.project-link {
    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 38px;

    margin-top: 45px;

    padding-bottom: 7px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.45);

    color: white;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}


.project-link span {
    font-size: 18px;

    transition: transform 0.25s ease;
}


.project-link:hover span {
    transform: translate(4px, -4px);
}


/* =========================================================
   MORE PROJECTS HEADER
========================================================= */

.projects-subheader {
    width: min(1350px, 100%);

    margin: 80px auto 25px;

    padding-bottom: 14px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(8, 45, 72, 0.15);
}


.projects-subheader p,
.projects-subheader span {
    margin: 0;

    color: #6d7c84;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.16em;
}


/* =========================================================
   SECONDARY PROJECT GRID
========================================================= */

.project-grid {
    width: min(1350px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   PROJECT ITEM
========================================================= */

.project-item {
    min-width: 0;

    overflow: hidden;

    border: 1px solid rgba(8, 45, 72, 0.11);

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.52);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.project-item:hover {
    transform: translateY(-7px);

    border-color: rgba(18, 99, 173, 0.22);

    box-shadow:
        0 20px 45px rgba(4, 33, 53, 0.085);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.project-image {
    position: relative;

    width: 100%;

    height: 270px;

    overflow: hidden;

    background: #e5e7e3;
}


.project-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.55s ease;
}


.project-item:hover .project-image img {
    transform: scale(1.045);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.project-info {
    padding: 26px 24px 22px;
}


.project-info .project-category {
    margin-bottom: 12px;

    color: #1263ad;
}


.project-info h3 {
    margin: 0 0 13px;

    color: #062844;

    font-family: "Space Grotesk", sans-serif;

    font-size: 21px;

    line-height: 1.25;
}


.project-small-description {
    min-height: 68px;

    margin: 0 0 24px;

    color: #61737d;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   CARD BOTTOM
========================================================= */

.project-bottom {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;

    padding-top: 18px;

    border-top: 1px solid rgba(8, 45, 72, 0.08);
}


/* =========================================================
   ROUND PROJECT ARROW
========================================================= */

.project-arrow {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(8, 45, 72, 0.18);

    border-radius: 50%;

    color: #062844;

    font-size: 16px;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.project-arrow:hover {
    background: #062844;

    color: white;

    transform: translate(2px, -2px);
}


/* =========================================================
   OPTIONAL IMAGE POSITIONING
========================================================= */

/* Skateboard */
.featured-project .featured-image img {
    object-position: center;
}


/* Handora */
.project-item:nth-child(1) .project-image img {
    object-position: center;
}


/* Tumor segmentation */
.project-item:nth-child(2) .project-image img {
    object-position: center;
}


/* Lithography */
.project-item:nth-child(3) .project-image img {
    object-position: center;
}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 1050px) {

    .projects {
        padding:
            90px
            5vw
            110px;
    }


    .projects-header {
        grid-template-columns: 1fr;

        gap: 24px;
    }


    .projects-intro {
        max-width: 620px;
    }


    /* Featured changes to vertical */

    .featured-project {
        grid-template-columns: 1fr;

        min-height: auto;
    }


    .featured-image {
        min-height: 440px;
    }


    .featured-content {
        padding: 50px;
    }


    /* 2 cards per row */

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* third project fills width nicely */

    .project-item:last-child {
        grid-column: 1 / -1;

        width: calc(50% - 12px);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .projects {
        padding:
            70px
            22px
            90px;
    }


    .projects-header {
        margin-bottom: 42px;
    }


    .projects-header h1 {
        font-size: 46px;
    }


    .projects-intro {
        font-size: 13px;
    }


    /* Featured */

    .featured-image {
        min-height: 300px;
    }


    .featured-content {
        padding:
            38px
            26px;
    }


    .featured-content h2 {
        font-size: 40px;
    }


    .project-description {
        font-size: 12px;
    }


    .project-link {
        margin-top: 35px;
    }


    /* More Projects */

    .projects-subheader {
        margin-top: 60px;
    }


    .project-grid {
        grid-template-columns: 1fr;
    }


    .project-item:last-child {
        grid-column: auto;

        width: 100%;
    }


    .project-image {
        height: 250px;
    }


    .project-small-description {
        min-height: auto;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .projects {
        padding-left: 18px;
        padding-right: 18px;
    }


    .projects-header h1 {
        font-size: 40px;
    }


    .featured-image {
        min-height: 235px;
    }


    .featured-content {
        padding:
            32px
            20px;
    }


    .featured-content h2 {
        font-size: 35px;
    }


    .project-image {
        height: 215px;
    }


    .project-info {
        padding: 21px 18px;
    }


    .project-info h3 {
        font-size: 19px;
    }


    .project-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }


    .project-arrow {
        align-self: flex-end;
    }

}

/* =========================================================
   ABOUT PAGE SECTION
========================================================= */

.about-page-section {
    width: 100%;

    background: #f7f5ef;

    padding: 80px 6vw 90px;

    color: #082d48;
}


.about-page-inner {
    width: min(1350px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 70px;

    align-items: center;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.about-info {
    width: 100%;
}


.about-info h1 {
    margin: 0;

    font-family: "Altone Trial", "Space Grotesk", sans-serif;

    font-size: clamp(50px, 4.5vw, 72px);

    line-height: 1;

    color: #082d48;
}


.about-accent {
    width: 65px;

    height: 9px;

    margin: 22px 0 24px;

    background:
        repeating-linear-gradient(
            120deg,
            #d9a441 0,
            #d9a441 5px,
            transparent 5px,
            transparent 9px
        );
}




/* =========================================================
   INFO GRID
========================================================= */

.about-details-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    column-gap: 55px;

    row-gap: 35px;

    margin-bottom: 40px;
}


.about-detail-item {
    display: grid;

    grid-template-columns: 48px 1fr;

    gap: 16px;

    align-items: start;
}


.detail-icon {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 2px solid #2c5a76;

    border-radius: 50%;

    color: #2c5a76;

    font-size: 17px;

    font-weight: 700;
}


.about-detail-item h3 {
    margin: 0 0 6px;

    font-size: 15px;

    color: #0a2f49;
}


.about-detail-item p {
    margin: 0;

    font-size: 13px;

    line-height: 1.65;

    color: #4d636f;
}

/* =========================================================
   RIGHT PROFILE
========================================================= */

.about-profile {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   PORTRAIT
========================================================= */

.about-portrait {
    position: relative;

    width: 430px;
    height: 430px;

    z-index: 5;
}


.about-portrait::before {
    content: "";

    position: absolute;

    inset: -13px;

    border: 1.5px solid #2c6384;

    border-radius: 50%;

    z-index: 4;
}


.about-portrait::after {
    content: "";

    position: absolute;

    inset: -6px;

    border: 7px solid #f7f5ef;

    border-radius: 50%;

    z-index: 3;
}


.about-portrait img {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    object-position: center 25%;
}


/* =========================================================
   BLUE DOT
========================================================= */

.about-orbit-dot {
    position: absolute;

    right: 4px;
    bottom: 55px;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: #1263ad;

    z-index: 10;

    box-shadow:
        0 0 0 8px #f7f5ef;
}


/* =========================================================
   DOT GRID
========================================================= */

.about-dot-grid {
    position: absolute;

    width: 110px;
    height: 110px;

    right: -15%;
    top: 20%;

    opacity: 0.45;

    background-image:
        radial-gradient(
            circle,
            #39769a 1.4px,
            transparent 1.7px
        );

    background-size: 19px 19px;
}


/* =========================================================
   DECORATIVE CIRCLES
========================================================= */

.about-side-circles {
    position: absolute;

    left: -10%;

    bottom: -5%;

    width: 210px;
    height: 210px;
}


.about-side-circles span {
    position: absolute;

    top: 50%;
    left: 50%;

    border-radius: 50%;

    transform: translate(-50%, -50%);
}


.about-side-circles span:nth-child(1) {
    width: 200px;
    height: 200px;

    border: 1px solid rgba(35, 89, 120, 0.07);
}


.about-side-circles span:nth-child(2) {
    width: 145px;
    height: 145px;

    border: 1px solid rgba(35, 89, 120, 0.10);
}


.about-side-circles span:nth-child(3) {
    width: 90px;
    height: 90px;

    border: 1px solid rgba(35, 89, 120, 0.13);
}


/* =========================================================
   EXPERIENCE SECTION
========================================================= */

.experience-section {
    width: min(1350px, 100%);
    margin: 85px auto 0;
}


.experience-section h2 {
    margin: 0 0 35px;

    font-family: "Altone Trial", "Space Grotesk", sans-serif;

    font-size: 32px;

    color: #082d48;
}


/* =========================================================
   TIMELINE
========================================================= */

.timeline-wrapper {
    position: relative;

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 20px;
}


.timeline-line {
    position: absolute;

    top: 10px;

    left: 4%;

    right: 4%;

    height: 2px;

    background: #8a9aa3;
}


.timeline-item {
    position: relative;

    z-index: 2;

    text-align: center;

    padding-top: 35px;
}


.timeline-dot {
    position: absolute;

    top: 1px;
    left: 50%;

    transform: translateX(-50%);

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: var(--gold);

    border: 3px solid #f7f5ef;

    box-shadow:
        0 0 0 1px #082d48;
}


.timeline-item h3 {
    margin: 0 0 10px;

    font-size: 17px;

    color: #082d48;
}


.timeline-item strong {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    color: #1d394a;
}


.timeline-item p {
    margin: 0;

    font-size: 12px;

    line-height: 1.55;

    color: #64737b;
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1000px) {

    .about-page-inner {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .about-profile {
        min-height: 470px;
    }


    .about-portrait {
        width: 380px;
        height: 380px;
    }


    .about-dot-grid {
        right: 8%;
    }


    .about-side-circles {
        left: 10%;
    }


    .timeline-wrapper {
        grid-template-columns: repeat(5, minmax(150px, 1fr));

        overflow-x: auto;

        padding-bottom: 15px;
    }


    .timeline-line {
        min-width: 800px;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 650px) {

    .about-page-section {
        padding: 60px 22px 70px;
    }


    .about-info h1 {
        font-size: 45px;
    }


    .about-details-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .about-profile {
        min-height: 390px;
    }


    .about-portrait {
        width: min(320px, 78vw);
        height: min(320px, 78vw);
    }


    .about-dot-grid {
        transform: scale(0.7);

        right: -20px;
    }


    .about-side-circles {
        transform: scale(0.7);

        left: -30px;
    }


    .experience-section {
        margin-top: 60px;
    }


    .experience-section h2 {
        font-size: 27px;
    }


    .timeline-wrapper {
        display: flex;

        flex-direction: column;

        gap: 0;

        overflow: visible;

        padding-left: 30px;
    }


    .timeline-line {
        top: 0;

        bottom: 0;

        left: 8px;

        right: auto;

        width: 2px;
        height: auto;

        min-width: 0;
    }


    .timeline-item {
        text-align: left;

        padding:
            0
            0
            35px
            20px;
    }


    .timeline-dot {
        top: 4px;
        left: -22px;

        transform: none;
    }

}
.section-container {
    position: relative;

    width: min(1250px, 100%);

    margin: 0 auto;
}


.section-label {
    margin: 0 0 12px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.resume-section h2,
.skills-section h2{
    margin: 0;

    color: var(--navy);

    font-family: "Altone Trial", "Space Grotesk", sans-serif;

    font-size: clamp(36px, 3.2vw, 52px);

    line-height: 1.1;
}



/* ======================================================
   EXPERIENCE & EDUCATION
====================================================== */

.resume-section {
    padding: 95px 7vw 105px;

    background: var(--cream);

    border-top: 1px solid var(--border);
}


.section-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;
}






/* ======================================================
   RESUME ROWS
====================================================== */

.resume-list {
    position: relative;

    border-top: 1px solid var(--border);
}


.resume-row {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(150px, 0.7fr)
        minmax(250px, 1.15fr)
        minmax(300px, 1.5fr);

    gap: 50px;

    align-items: start;

    padding: 30px 20px;

    border-bottom: 1px solid var(--border);

    transition:
        background 0.25s ease,
        padding-left 0.25s ease;
}


.resume-row:hover {
    padding-left: 30px;

    background: rgba(18, 99, 173, 0.025);
}


/* DATE */

.resume-date {
    position: relative;

    display: flex;

    align-items: center;

    gap: 20px;
}


.resume-date p {
    margin: 0;

    color: var(--navy);

    font-size: 13px;
    font-weight: 700;
}


.resume-dot {
    width: 10px;
    height: 10px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--gold);
}



/* POSITION */

.resume-position h3 {
    margin: 0 0 7px;

    color: var(--navy);

    font-size: 17px;
}


.resume-position p {
    margin: 0;

    color: var(--blue);

    font-size: 12px;
}



/* DESCRIPTION */

.resume-description {
    max-width: 500px;

    color: #344e5e;

    font-size: 13px;

    line-height: 1.7;
}



/* ======================================================
   SKILLS
====================================================== */

.skills-section {
    position: relative;

    overflow: hidden;

    padding: 95px 7vw 110px;

    background: var(--cream-dark);

    border-top: 1px solid var(--border);
}


.skills-layout {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 100px;

    max-width: 800px;

    margin-top: 45px;
}



/* TITLE */

.skill-title {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 25px;
}


.skill-icon {
    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: 1.5px solid var(--navy);

    border-radius: 50%;

    color: var(--navy);

    font-size: 14px;
    font-weight: 700;
}


.skill-title h3 {
    margin: 0 0 7px;

    color: var(--navy);

    font-size: 18px;
}


.small-blue-line {
    display: block;

    width: 40px;
    height: 2px;

    background: var(--blue);
}



/* SKILL LIST */

.skill-columns {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 35px;

    padding-left: 60px;
}


.skill-columns ul {
    margin: 0;

    padding: 0;

    list-style: none;
}


.skill-columns li {
    position: relative;

    margin-bottom: 10px;

    padding-left: 15px;

    color: #304a59;

    font-size: 13px;
}


.skill-columns li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 8px;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--blue);
}



/* ======================================================
   DECORATIVE BIOMEDICAL CIRCLES
====================================================== */

.biomedical-decoration {
    position: absolute;

    z-index: 0;

    width: 330px;
    height: 330px;

    right: 3%;
    top: 50%;

    transform: translateY(-40%);

    opacity: 0.65;
}


.bio-circle {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;
}


.bio-circle-1 {
    width: 290px;
    height: 290px;

    border: 1px solid rgba(8, 45, 72, 0.06);
}


.bio-circle-2 {
    width: 210px;
    height: 210px;

    border: 1px solid rgba(8, 45, 72, 0.09);
}


.bio-circle-3 {
    width: 125px;
    height: 125px;

    border: 1px solid rgba(8, 45, 72, 0.12);
}




/* ======================================================
   FOOTER
====================================================== */

.portfolio-footer {
    position: relative;

    overflow: hidden;

    padding: 75px 7vw;

    background: #032942;

    color: white;
}


.footer-container {
    position: relative;

    width: min(1250px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 100px;
}


.footer-cta,
.footer-contact {
    position: relative;

    z-index: 3;
}


.footer-label {
    margin: 0 0 20px;

    color: #e1a432;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.17em;
}


.footer-cta h2 {
    margin: 0;

    color: white;

    font-size: clamp(35px, 3.5vw, 52px);

    line-height: 1.15;
}


.footer-accent {
    width: 45px;
    height: 3px;

    margin: 25px 0;

    background: var(--gold);
}


.contact-btn {
    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 55px;

    min-width: 200px;

    padding: 13px 18px;

    border: 1px solid rgba(255,255,255,0.7);

    border-radius: 4px;

    color: white;

    text-decoration: none;

    font-size: 12px;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.contact-btn:hover {
    background: white;

    color: var(--navy);
}


.contact-btn span {
    font-size: 20px;
}



/* CONTACT DETAILS */

.footer-contact {
    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 17px;
}


.footer-contact a,
.footer-contact p {
    display: flex;

    align-items: center;

    gap: 14px;

    margin: 0;

    color: rgba(255,255,255,0.85);

    font-size: 12px;

    text-decoration: none;
}


.footer-contact a:hover {
    color: #e1a432;
}



/* FOOTER DECORATION */

.footer-circles {
    position: absolute;

    width: 260px;
    height: 260px;

    right: 5%;
    bottom: -160px;

    opacity: 0.3;
}


.footer-circles span {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    border: 1px solid #d59b2d;
}


.footer-circles span:nth-child(1) {
    width: 250px;
    height: 250px;
}


.footer-circles span:nth-child(2) {
    width: 180px;
    height: 180px;
}


.footer-circles span:nth-child(3) {
    width: 110px;
    height: 110px;
}


.footer-dots {
    position: absolute;

    width: 120px;
    height: 100px;

    right: 0;
    top: 0;

    opacity: 0.25;

    background-image:
        radial-gradient(
            circle,
            #ffffff 1.4px,
            transparent 1.6px
        );

    background-size: 20px 20px;
}



/* ======================================================
   TABLET
====================================================== */

@media (max-width: 900px) {

    .resume-row {
        grid-template-columns: 130px 1fr;

        gap: 25px;
    }


    .resume-description {
        grid-column: 2;
    }


    .skills-layout {
        gap: 50px;
    }


    .biomedical-decoration {
        opacity: 0.25;
    }


    .footer-container {
        gap: 50px;
    }

}



/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 650px) {

    .resume-section,
    .skills-section,
    .education-section,
    .journey-section {
        padding-left: 24px;
        padding-right: 24px;
    }


    /* HEADER */

    .section-header {
        flex-direction: column;

        align-items: flex-start;
    }


    /* RESUME */

    .resume-row {
        grid-template-columns: 1fr;

        gap: 12px;

        padding: 25px 5px;
    }


    .resume-description {
        grid-column: auto;
    }


    /* SKILLS */

    .skills-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .skill-columns {
        padding-left: 0;
    }


    .biomedical-decoration {
        right: -150px;
    }


    /* EDUCATION */

    .education-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .education-card {
        padding: 0;
    }


    .certification-card {
        padding-top: 40px;

        border-left: none;

        border-top: 1px solid var(--border);
    }


    /* TIMELINE */

    .timeline {
        display: flex;

        flex-direction: column;

        margin-top: 45px;

        padding-left: 35px;
    }


    .timeline-line {
        top: 0;
        bottom: 0;

        left: 7px;
        right: auto;

        width: 1px;
        height: auto;
    }


    .timeline-item {
        padding:
            0
            0
            40px
            25px;

        text-align: left;
    }


    .timeline-dot {
        top: 2px;
        left: -28px;

        transform: none;
    }


    .timeline-item h3 {
        margin-bottom: 8px;
    }

}

/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1000px) {

    .about-page-inner {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .about-profile {
        min-height: 470px;
    }


    .about-portrait {
        width: 380px;
        height: 380px;
    }


    .about-dot-grid {
        right: 8%;
    }


    .about-side-circles {
        left: 10%;
    }


    .timeline-wrapper {
        grid-template-columns: repeat(5, minmax(150px, 1fr));

        overflow-x: auto;

        padding-bottom: 15px;
    }


    .timeline-line {
        min-width: 800px;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 650px) {

    .about-page-section {
        padding: 60px 22px 70px;
    }


    .about-info h1 {
        font-size: 45px;
    }


    .about-details-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .about-profile {
        min-height: 390px;
    }


    .about-portrait {
        width: min(320px, 78vw);
        height: min(320px, 78vw);
    }


    .about-dot-grid {
        transform: scale(0.7);

        right: -20px;
    }


    .about-side-circles {
        transform: scale(0.7);

        left: -30px;
    }


    .experience-section {
        margin-top: 60px;
    }


    .experience-section h2 {
        font-size: 27px;
    }


    .timeline-wrapper {
        display: flex;

        flex-direction: column;

        gap: 0;

        overflow: visible;

        padding-left: 30px;
    }


    .timeline-line {
        top: 0;

        bottom: 0;

        left: 8px;

        right: auto;

        width: 2px;
        height: auto;

        min-width: 0;
    }


    .timeline-item {
        text-align: left;

        padding:
            0
            0
            35px
            20px;
    }


    .timeline-dot {
        top: 4px;
        left: -22px;

        transform: none;
    }

}
/* =========================================================
   META
========================================================= */

.project-meta {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-bottom: 1px solid var(--line);

    background: var(--cream);
}


.project-meta-item {
    padding: 28px 4vw;

    border-right: 1px solid var(--line);
}


.project-meta-item:last-child {
    border-right: none;
}


.project-meta-item span {
    color: var(--gold);

    font-size: 9px;

    letter-spacing: 0.16em;
}


.project-meta-item p {
    margin: 7px 0 0;

    color: var(--navy);

    font-size: 13px;
}


/* =========================================================
   CASE STUDY
========================================================= */

.case-study {
    width: 100%;

    padding: 80px 6vw 90px;

    background: var(--cream);
}


/* =========================================================
   PROGRESS
========================================================= */

.slider-progress {
    width: min(1250px, 100%);

    margin: 0 auto 50px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-bottom: 1px solid var(--line);
}


.progress-item {
    position: relative;

    padding: 0 0 18px;

    border: none;

    background: none;

    color: #89969d;

    cursor: pointer;

    text-align: left;
}


.progress-item::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.4s ease;
}


.progress-item.active {
    color: var(--navy);
}


.progress-item.active::after {
    width: 100%;
}


.progress-item span {
    display: block;

    margin-bottom: 4px;

    font-size: 12px;

    font-weight: 700;
}


.progress-item small {
    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


/* =========================================================
   SLIDER
========================================================= */

.slider-window {
    width: min(1250px, 100%);

    margin: 0 auto;

    overflow: hidden;

    touch-action: pan-y;
}


.slides-track {
    display: flex;

    width: 100%;

    transition:
        transform 0.7s cubic-bezier(.65,0,.35,1);
}


.case-slide {
    min-width: 100%;

    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 80px;

    align-items: center;

    min-height: 610px;

    padding: 30px 5px;
}


/* =========================================================
   SLIDE TEXT
========================================================= */

.slide-text {
    max-width: 520px;
}


.slide-number {
    margin: 0 0 20px;

    color: var(--gold);

    font-size: 12px;

    font-weight: 700;
}


.slide-eyebrow {
    margin: 0 0 15px;

    color: var(--blue);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.16em;
}


.slide-text h2,
.outcome-content h2 {
    margin: 0 0 30px;

    color: var(--navy);

    font-size: clamp(42px, 4vw, 62px);

    line-height: 1;

    letter-spacing: -0.03em;
}


.slide-text > p:not(.slide-number):not(.slide-eyebrow) {
    margin: 0 0 20px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.slide-highlight {
    margin-top: 35px;

    padding: 25px;

    border-left: 3px solid var(--gold);

    background: var(--cream-dark);
}


.slide-highlight span {
    color: var(--navy);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.12em;
}


.slide-highlight p {
    margin: 12px 0 0;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   LARGE IMAGE
========================================================= */

.slide-image-large {
    height: 500px;

    overflow: hidden;

    border-radius: 6px;
}


.slide-image-large img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.8s ease;
}


.case-slide:hover .slide-image-large img {
    transform: scale(1.025);
}


/* =========================================================
   REVERSE SLIDE
========================================================= */

.reverse-layout {
    grid-template-columns: 1.15fr 0.85fr;
}


/* =========================================================
   FEATURE LIST
========================================================= */

.feature-list {
    margin-top: 35px;

    display: grid;

    gap: 12px;
}


.feature-list div {
    padding: 12px 0;

    border-bottom: 1px solid var(--line);

    color: var(--navy);

    font-size: 13px;
}


.feature-list div::before {
    content: "✓";

    margin-right: 12px;

    color: var(--blue);
}


/* =========================================================
   TWO IMAGE GRID
========================================================= */

.build-slide {
    grid-template-columns: 0.7fr 1.3fr;
}


.two-image-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}


.two-image-grid figure {
    margin: 0;
}


.two-image-grid img {
    width: 100%;

    height: 380px;

    object-fit: contain;

    border-radius: 5px;
}


.two-image-grid figcaption {
    margin-top: 10px;

    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   OUTCOME
========================================================= */

.outcome-slide {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 70px;
}


.outcome-image {
    height: 520px;

    overflow: hidden;

    border-radius: 6px;
}


.outcome-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.outcome-content {
    align-self: center;
}


.outcome-content > p:not(.slide-number):not(.slide-eyebrow) {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


.outcome-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid var(--line);
}


.outcome-grid > div > span {
    color: var(--gold);

    font-size: 9px;

    letter-spacing: 0.13em;
}


.outcome-grid p {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}


.outcome-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 12px;
}


.outcome-tags span {
    padding: 6px 9px;

    border-radius: 20px;

    background: var(--cream-dark);

    color: var(--navy);

    font-size: 9px;
}


/* =========================================================
   CONTROLS
========================================================= */

.slider-controls {
    width: min(1250px, 100%);

    margin: 35px auto 0;

    padding-top: 25px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--line);
}


.slider-button {
    border: none;

    background: none;

    color: var(--navy);

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;
}


.slider-button:hover {
    color: var(--blue);
}


.slider-button:disabled {
    opacity: 0.3;

    cursor: default;
}


.slider-counter {
    display: flex;

    gap: 8px;

    color: #89969d;

    font-size: 11px;
}


#current-slide {
    color: var(--navy);

    font-weight: 700;
}

.project-video {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 6px;
    background: #000;
}

.project-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* =========================================================
   NEXT PROJECT
========================================================= */

.next-project {
    padding: 80px 7vw 100px;

    background: var(--navy);
}


.next-project > p {
    width: min(1250px, 100%);

    margin: 0 auto 25px;

    color: var(--gold);

    font-size: 10px;

    letter-spacing: 0.16em;
}


.next-project > a {
    width: min(1250px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 80px 1fr 80px;

    align-items: end;

    color: white;

    text-decoration: none;
}


.next-project > a > span:first-child {
    font-size: 14px;

    color: rgba(255,255,255,0.5);
}


.next-project h2 {
    margin: 0;

    font-size: clamp(45px, 5vw, 75px);

    line-height: 0.95;
}


.next-arrow {
    justify-self: end;

    font-size: 40px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .project-hero {
        height: 600px;
    }


    .project-nav ul {
        gap: 22px;
    }


    .case-slide,
    .reverse-layout,
    .build-slide,
    .outcome-slide {
        grid-template-columns: 1fr;

        gap: 40px;

        min-height: auto;
    }


    .slide-image-large,
    .outcome-image {
        height: 420px;
    }


    .two-image-grid img {
        height: 300px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .project-nav-inner {
        width: 90%;

        min-height: 65px;
    }


    .project-nav ul,
    .back-projects {
        display: none;
    }


    .project-hero {
        height: 620px;
    }


    .project-hero-content {
        left: 24px;

        width: calc(100% - 48px);
    }


    .project-hero-content h1 {
        font-size: 54px;
    }


    .project-meta {
        grid-template-columns: repeat(2, 1fr);
    }


    .project-meta-item {
        padding: 20px;

        border-bottom: 1px solid var(--line);
    }


    .case-study {
        padding:
            55px
            22px
            70px;
    }


    .slider-progress {
        grid-template-columns: repeat(4, 1fr);

        margin-bottom: 35px;
    }


    .progress-item small {
        display: none;
    }


    .case-slide {
        padding: 5px 0;
    }


    .slide-text h2,
    .outcome-content h2 {
        font-size: 40px;
    }


    .slide-image-large,
    .outcome-image {
        height: 320px;
    }


    .reverse-layout .slide-image-large {
        order: 2;
    }


    .reverse-layout .slide-text {
        order: 1;
    }


    .two-image-grid {
        grid-template-columns: 1fr;
    }


    .two-image-grid img {
        height: 270px;
    }


    .outcome-grid {
        grid-template-columns: 1fr;
    }


    .slider-controls {
        margin-top: 30px;
    }


    .next-project > a {
        grid-template-columns: 40px 1fr 45px;
    }


    .next-project h2 {
        font-size: 42px;
    }

}
.outcome-media {
    width: 100%;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    gap: 45px;

    align-items: center;

    margin-bottom: 55px;
}


/* LEFT IMAGE */

.outcome-image {
    width: 100%;
    height: 430px;

    overflow: hidden;

    border-radius: 6px;

    background: #ece9e2;
}


.outcome-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}


/* RIGHT VIDEO */

.project-video {
    width: 100%;
    height: 430px;

    overflow: hidden;

    border-radius: 6px;

    background: #000;
}


.project-video video {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    background: #000;
}
/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;

    width: 100%;

    padding: 30px 7vw 35px;

    overflow: hidden;

    background: #062844;

    color: #f7f5ef;

    font-family: "Space Grotesk", sans-serif;
}


.footer-container {
    width: min(1250px, 100%);

    margin: 0 auto;
}


/* =========================================================
   TOP
========================================================= */

.footer-top {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 80px;
}


/* LEFT */

.footer-intro {
    max-width: 650px;
}


.footer-eyebrow {
    margin: 0 0 20px;

    color: #d9a441;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}


.footer-intro h2 {
    margin: 0 0 35px;

    font-family: "Altone Trial", "Space Grotesk", sans-serif;

    font-size: clamp(20px, 5vw, 45px);

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -0.02em;

    color: #f7f5ef;
}


/* GET IN TOUCH */

.footer-email {
    display: inline-flex;

    align-items: center;

    gap: 30px;

    color: #f7f5ef;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
}


.footer-email span {
    color: #d9a441;

    font-size: 23px;

    transition: transform 0.3s ease;
}


.footer-email:hover span {
    transform: translateX(8px);
}


/* =========================================================
   LINKS
========================================================= */

.footer-links {
    display: flex;

    gap: 90px;

    padding-bottom: 8px;
}


.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;
}


.footer-column p {
    margin: 0 0 12px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.footer-column a {
    position: relative;

    color: rgba(255, 255, 255, 0.82);

    font-size: 14px;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-column a:hover {
    color: #d9a441;

    transform: translateX(4px);
}


/* =========================================================
   DOTTED LINE
========================================================= */

.footer-divider {
    width: 100%;

    margin: 70px 0 28px;

    border-top: 1px dotted rgba(255, 255, 255, 0.28);
}


/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    color: rgba(255, 255, 255, 0.5);

    font-size: 11px;
}


.footer-bottom p {
    margin: 0;
}


/* NAME + STATUS */

.footer-name {
    display: flex;

    align-items: center;

    gap: 10px;

    color: rgba(255, 255, 255, 0.82);

    font-weight: 500;
}


.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #d9a441;

    box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.1);

    animation: footerPulse 2.5s ease-in-out infinite;
}


@keyframes footerPulse {

    0%,
    100% {
        box-shadow:
            0 0 0 4px rgba(217, 164, 65, 0.08);
    }

    50% {
        box-shadow:
            0 0 0 9px rgba(217, 164, 65, 0);
    }

}


/* =========================================================
   DECORATIVE ENGINEERING CIRCLE
========================================================= */

.site-footer::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -150px;
    top: -150px;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    box-shadow:
        0 0 0 45px rgba(255, 255, 255, 0.025),
        0 0 0 90px rgba(255, 255, 255, 0.018);

    pointer-events: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .site-footer {
        padding: 70px 7vw 30px;
    }


    .footer-top {
        align-items: flex-start;

        flex-direction: column;

        gap: 60px;
    }


    .footer-links {
        width: 100%;

        gap: 100px;
    }


    .footer-intro h2 {
        font-size: 52px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 550px) {

    .site-footer {
        padding:
            60px
            24px
            28px;
    }


    .footer-intro h2 {
        font-size: 40px;
    }


    .footer-links {
        gap: 60px;
    }


    .footer-divider {
        margin-top: 55px;
    }


    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

}

/* =========================================================
   RESPONSIVE — SMALL LAPTOP
   901px - 1200px
========================================================= */

@media (max-width: 1200px) {

    /* HEADER */

    .main-nav {
        width: 90%;
    }

    .main-nav ul {
        gap: 28px;
    }

    .header-content {
        width: 82%;
    }

    /* ABOUT */

    .about-section {
        padding: 60px 5%;
    }

    .about-main {
        padding-right: 30px;
    }

    .about-copy h1 {
        font-size: 48px;
    }

    .about-image {
        padding-left: 35px;
    }

    .portrait-wrapper {
        width: 400px;
        height: 400px;
    }

    .side-circles {
        left: -7%;
        width: 190px;
        height: 190px;
    }

    .circle-1 {
        width: 185px;
        height: 185px;
    }

    .circle-2 {
        width: 140px;
        height: 140px;
    }

    .circle-3 {
        width: 95px;
        height: 95px;
    }


    /* PROJECTS */

    .projects-grid {
        width: 94%;
        column-gap: 45px;
    }
}


/* =========================================================
   RESPONSIVE — TABLET
   651px - 900px
========================================================= */

@media (max-width: 900px) {

    /* HEADER */

    header {
        min-height: 650px;
    }

    .main-nav {
        width: 92%;
    }

    .main-nav ul {
        gap: 20px;
    }

    .main-nav ul a {
        font-size: 13px;
    }

    .header-content {
        width: 88%;
    }

    header .header-content h1 {
        font-size: 62px;
    }


    /* ABOUT */

    .about-section {
        grid-template-columns: 1fr;

        min-height: auto;

        padding: 65px 8%;
    }

    .about-main {
        justify-content: flex-start;

        padding: 0;
    }

    .about-copy {
        max-width: 650px;
    }


    /* IMPORTANT:
       cancel desktop portrait shift */

    .about-image {
        width: 100%;

        min-height: 500px;

        margin-top: 35px;

        padding: 45px 0 20px;

        display: flex;

        justify-content: center;
        align-items: center;

        transform: none;
    }


    .portrait-wrapper {
        width: 370px;
        height: 370px;

        margin: 0 auto;

        transform: none;
    }


    /* decorations */

    .dot-grid {
        left: 14%;
        top: 8%;
    }

    .side-circles {
        left: 8%;
        bottom: 0;

        transform: none;
    }


    /* PROJECTS */

    .projects-grid {
        grid-template-columns: 1fr;

        max-width: 700px;

        row-gap: 85px;
    }

    .project-label {
        width: 55%;
    }

    .project-card:nth-child(1) img {
        width: 100%;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   421px - 650px
========================================================= */

@media (max-width: 650px) {

    /* HEADER */

    header {
        height: 100vh;
        min-height: 700px;
    }

    .main-nav {
        width: 92%;
        padding-top: 24px;
    }

    .main-nav ul {
        gap: 15px;
    }

    .main-nav ul a {
        font-size: 12px;
    }

    .cv-button {
        display: none;
    }

    .header-content {
        width: 92%;
    }

    header .header-content h1 {
        font-size: 50px;
    }

    .header-intro > p:first-child {
        font-size: 14px;
    }

    .header-intro .specialties {
        max-width: 340px;

        margin: 0 auto;

        font-size: 12px;

        line-height: 1.7;
    }

    .specialties span {
        margin: 0 4px;
    }

    .engineering-line {
        width: 82%;

        margin-top: 28px;
    }

    .current-focus {
        margin-top: 65px;
    }

    .focus-items {
        max-width: 330px;

        margin: 0 auto !important;

        font-size: 12px !important;

        line-height: 1.8;
    }


    /* ABOUT */

    .about-section {
        padding: 55px 24px;
    }

    .about-eyebrow {
        margin-bottom: 20px;
    }

    .about-copy h1 {
        margin-bottom: 26px;

        font-size: 39px;
    }

    .about-copy p:not(.about-eyebrow) {
        margin-bottom: 19px;

        font-size: 13px;

        line-height: 1.7;
    }

    .about-buttons {
        margin-top: 30px;

        gap: 25px;

        flex-wrap: wrap;
    }

    .about-link,
    .project-link {
        gap: 14px;

        font-size: 12px;
    }


    /* PORTRAIT */

    .about-image {
        width: 100%;

        min-height: 420px;

        margin-top: 25px;

        padding: 40px 0 20px;

        display: flex;

        justify-content: center;
        align-items: center;

        /* cancel desktop movement */
        transform: none;
    }


    .portrait-wrapper {
        width: min(310px, 78vw);
        height: min(310px, 78vw);

        margin: 0 auto;

        transform: none;
    }


    .portrait-wrapper img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center 25%;
    }


    /* DECORATIONS */

    .side-circles {
        left: 3%;
        bottom: -5px;

        transform: scale(0.7);

        transform-origin: bottom left;
    }

    .dot-grid {
        left: 7%;
        top: 7%;

        transform: scale(0.75);

        transform-origin: top left;
    }

    .orbit-dot {
        width: 13px;
        height: 13px;

        right: -2px;
        bottom: 40px;
    }


    /* PROJECTS */

    .projects {
        padding: 60px 20px 90px;
    }

    .projects-grid {
        width: 100%;

        row-gap: 75px;
    }

    .project-label {
        position: relative;

        width: 90%;

        margin-top: -30px;

        left: 0;
        top: auto;
        bottom: auto;
    }

    .label-top,
    .label-bottom {
        left: 0;
        top: auto;
        bottom: auto;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   420px and below
========================================================= */

@media (max-width: 420px) {

    .main-nav ul {
        gap: 11px;
    }

    .main-nav ul a {
        font-size: 11px;
    }

    header .header-content h1 {
        font-size: 40px;
    }

    .engineering-line {
        width: 90%;
    }


    /* ABOUT */

    .about-section {
        padding: 45px 19px;
    }

    .about-copy h1 {
        font-size: 34px;
    }


    .about-image {
        min-height: 370px;

        padding-top: 35px;

        transform: none;
    }


    .portrait-wrapper {
        width: min(270px, 75vw);
        height: min(270px, 75vw);

        margin: 0 auto;

        transform: none;
    }


    .side-circles {
        left: -10px;
        bottom: 0;

        transform: scale(0.55);

        transform-origin: bottom left;
    }


    .dot-grid {
        left: 2%;
        top: 8%;

        transform: scale(0.6);

        transform-origin: top left;
    }


    .orbit-dot {
        width: 11px;
        height: 11px;

        right: -1px;
        bottom: 32px;
    }
}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    margin: 0;
    min-height: 100vh;

    background: #f7f5ef;
    color: #062844;

    font-family: "Space Grotesk", Arial, sans-serif;
}


/* =========================================================
   NAVIGATION
========================================================= */

.contact-nav {
    width: 100%;

    background: #f7f5ef;

    border-bottom: 1px solid rgba(6, 40, 68, 0.12);
}


.contact-nav-inner {
    width: min(1350px, 88%);
    min-height: 85px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.contact-logo {
    color: #062844;

    font-size: 27px;
    font-weight: 700;

    text-decoration: none;
}


.contact-nav ul {
    display: flex;
    align-items: center;

    gap: 45px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.contact-nav ul a {
    position: relative;

    padding-bottom: 8px;

    color: #062844;

    font-size: 13px;

    text-decoration: none;
}


/* underline animation */

.contact-nav ul a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #d9a441;

    transform: translateX(-50%);

    transition: width 0.3s ease;
}


.contact-nav ul a:hover::after,
.contact-nav ul a.active::after {
    width: 100%;
}


/* =========================================================
   MAIN CONTACT AREA
========================================================= */

.contact-main {
    position: relative;

    min-height: calc(100vh - 85px);

    padding: 100px 7vw 120px;

    overflow: hidden;
}


.contact-container {
    position: relative;

    z-index: 2;

    width: min(1250px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    gap: 120px;

    align-items: center;
}


/* =========================================================
   LEFT SIDE
========================================================= */

.contact-intro {
    max-width: 570px;
}


/* BIG TITLE */

.contact-intro h1 {
    margin: 0;

    color: #062844;

    font-family:
        "Altone Trial",
        "Space Grotesk",
        Arial,
        sans-serif;

    font-size: clamp(58px, 6vw, 92px);

    line-height: 0.9;

    letter-spacing: -0.045em;

    text-transform: uppercase;
}


/* GOLD WORD */

.contact-intro h1 span {
    color: #d9a441;
}


/* DESCRIPTION */

.contact-description {
    max-width: 490px;

    margin: 42px 0 0;

    color: #61737d;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
    margin-top: 55px;

    padding-top: 30px;

    border-top: 1px solid rgba(6, 40, 68, 0.14);
}


.contact-detail > p {
    margin: 0 0 10px;

    color: #7b898f;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.17em;
}


.contact-detail a {
    display: inline-flex;

    align-items: center;

    gap: 20px;

    color: #062844;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;
}


.contact-detail a span {
    color: #1263ad;

    font-size: 20px;

    transition: transform 0.25s ease;
}


.contact-detail a:hover span {
    transform: translate(4px, -4px);
}


/* =========================================================
   LINKEDIN + GITHUB
========================================================= */

.contact-socials {
    display: flex;

    gap: 30px;

    margin-top: 30px;
}


.contact-socials a {
    color: #1263ad;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.07em;

    text-decoration: none;

    text-transform: uppercase;

    transition: color 0.25s ease;
}


.contact-socials a:hover {
    color: #062844;
}


/* =========================================================
   FORM CARD
========================================================= */

.contact-form-wrapper {
    position: relative;

    padding: 55px;

    border: 1px solid rgba(6, 40, 68, 0.13);

    background: rgba(255, 255, 255, 0.48);

    box-shadow:
        0 25px 70px rgba(6, 40, 68, 0.055);
}


.form-number {
    margin-bottom: 45px;

    color: #d9a441;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.18em;
}


/* =========================================================
   FORM INPUTS
========================================================= */

.form-group {
    position: relative;

    margin-bottom: 38px;
}


.form-group label {
    display: block;

    margin-bottom: 12px;

    color: #062844;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.15em;
}


.form-group input,
.form-group textarea {
    width: 100%;

    padding: 8px 0 14px;

    border: none;

    border-bottom: 1px solid rgba(6, 40, 68, 0.25);

    outline: none;

    resize: none;

    background: transparent;

    color: #062844;

    font-family: inherit;

    font-size: 15px;

    transition: border-color 0.25s ease;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ba4a7;
}


.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #1263ad;
}


/* =========================================================
   SEND BUTTON
========================================================= */

.contact-submit {
    width: 100%;

    margin-top: 10px;

    padding: 18px 22px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border: none;

    background: #062844;

    color: #ffffff;

    font-family: inherit;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.submit-arrow {
    font-size: 21px;

    transition: transform 0.25s ease;
}


.contact-submit:hover {
    background: #1263ad;

    transform: translateY(-2px);
}


.contact-submit:hover .submit-arrow {
    transform: translateX(5px);
}


/* =========================================================
   DECORATIVE DOT GRID
========================================================= */

.contact-dot-grid {
    position: absolute;

    left: 2vw;
    bottom: 40px;

    width: 150px;
    height: 110px;

    opacity: 0.35;

    background-image:
        radial-gradient(
            circle,
            #1263ad 1.3px,
            transparent 1.5px
        );

    background-size: 18px 18px;
}


/* =========================================================
   BOTTOM STRIP
========================================================= */

.contact-bottom {
    padding: 25px 7vw;

    border-top: 1px solid rgba(6, 40, 68, 0.12);

    background: #eeeae2;
}


.contact-bottom-inner {
    width: min(1250px, 100%);

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: 20px;
}


.contact-bottom p {
    margin: 0;

    color: #6f7c82;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 0.14em;
}


.bottom-line {
    height: 1px;

    flex: 1;

    background: rgba(6, 40, 68, 0.13);
}


.availability-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #0a5547;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .contact-main {
        padding-top: 75px;
    }


    .contact-container {
        grid-template-columns: 1fr;

        gap: 70px;
    }


    .contact-intro {
        max-width: 700px;
    }


    .contact-description {
        max-width: 600px;
    }


    .contact-form-wrapper {
        max-width: 700px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .contact-nav-inner {
        width: 90%;

        min-height: 70px;
    }


    .contact-logo {
        font-size: 23px;
    }


    .contact-nav ul {
        gap: 16px;
    }


    .contact-nav ul a {
        font-size: 11px;
    }


    .contact-main {
        min-height: auto;

        padding:
            65px
            22px
            80px;
    }


    .contact-container {
        gap: 55px;
    }


    .contact-intro h1 {
        font-size: 51px;

        line-height: 0.93;
    }


    .contact-description {
        margin-top: 30px;

        font-size: 13px;
    }


    .contact-details {
        margin-top: 40px;
    }


    .contact-detail a {
        font-size: 14px;
    }


    .contact-socials {
        flex-wrap: wrap;
    }


    .contact-form-wrapper {
        padding: 35px 25px;
    }


    .contact-bottom-inner {
        flex-wrap: wrap;
    }


    .bottom-line {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .contact-nav ul {
        gap: 11px;
    }


    .contact-nav ul a {
        font-size: 9px;
    }


    .contact-intro h1 {
        font-size: 43px;
    }


    .contact-form-wrapper {
        padding: 30px 20px;
    }


    .contact-detail a {
        font-size: 12px;
    }

}
/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }
}
/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .featured-projects {
        padding: 75px 6vw 90px;
    }


    .featured-grid {
        gap: 20px;
    }


    .featured-image {
        height: 250px;
    }


    .featured-content h3 {
        font-size: 21px;
    }


    .featured-content p {
        font-size: 13px;
    }


    .project-bottom {
        align-items: flex-end;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .featured-projects {
        padding:
            65px
            20px
            80px;
    }


    .projects-heading {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 32px;
    }


    .projects-heading h2 {
        font-size: 40px;
    }


    .featured-grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .featured-image {
        height: 260px;
    }


    .featured-content {
        padding: 20px;
    }


    .featured-content h3 {
        font-size: 22px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 430px) {

    .featured-image {
        height: 215px;
    }


    .featured-content h3 {
        font-size: 19px;
    }


    .project-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }


    .project-year {
        align-self: flex-end;
    }

}