/* GENERAL */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@font-face {
    font-family: 'Dancing Script';
    src: url('fonts/DancingScript-Bold.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    background-color: #FAFAF8;
    color: #111111;
}


/* NAVIGATION */

.navbar {
    height: 75px;
    padding: 0 40px;

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

    background-color: #FAFAF8;

    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 100;
}


/* LOGO */

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 0;

    color: #111111;
    text-decoration: none;
}


/* NAVIGATION LINKS */

/* APPLE-INSPIRED NAVIGATION */

.nav-links a {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;

    text-transform: none;

    color: #111111;
    text-decoration: none;

    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #19274F;
}


/* HERO SECTION */

.hero {
    min-height: 70vh;

    background-color: #F1F0ED;

    display: flex;
    align-items: flex-end;

    padding: 60px 45px;
}

.hero-content {
    max-width: 800px;
}

.hero-label {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;

    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(42px, 5vw, 75px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;

    max-width: 520px;
    margin-bottom: 30px;

    color: #111111;
}


/* HERO BUTTON */
/* MINIMALIST HERO LINK */

/* HERO BUTTON */

/* SLIDING FILL BUTTON */

/* HERO BUTTON */

.hero-button {
    position: relative;
    display: inline-block;
    overflow: hidden;
    isolation: isolate;

    padding: 16px 30px;

    background-color: #19274F;
    color: #FFFFFF;

    border: 1px solid #19274F;

    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

    font-size: 14px;

    font-weight: 500;

    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;

    transition: color 0.4s ease;
}

/* SLIDING WHITE BACKGROUND */

.hero-button::before {
    content: "";
    position: absolute;
    inset: 0;

    background-color: #FFFFFF;

    transform: translateX(-101%);
    transition: transform 0.4s ease;

    z-index: -1;
}

/* MOUSE ENTERS */

.hero-button:hover {
    color: #19274F;
}

.hero-button:hover::before {
    transform: translateX(0);
}

/* MOUSE LEAVES */

.hero-button:not(:hover)::before {
    transform: translateX(101%);
}
/* PROJECT GRID */

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.project-card {
    text-decoration: none;
    color: #111111;
}

/* PROJECT IMAGE CONTAINER */

.project-body .project-image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;

    margin: 30px 0 0;
    padding: 0;

    background: transparent;
    overflow: visible;
}

/* PROJECT IMAGE */

.project-body .project-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;

    object-fit: contain;
}



.project-card h3 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
}


/* MOBILE */

@media (max-width: 768px) {

    .navbar {
        height: auto;
        padding: 20px;

        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        min-height: 60vh;
        padding: 30px 25px;
    }

    .hero-content h1 {
        letter-spacing: -1px;
    }

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

    .projects {
        padding: 50px 20px;
    }
    
}
/* =====================================
   PORTFOLIO SECTIONS
===================================== */

.portfolio-section {
    padding: 80px 45px;
    background-color: #FAFAF8;
    scroll-margin-top: 75px;
}


/* SECTION HEADINGS */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 35px;
}

.section-heading h2 {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #111111;
}

.section-heading span {
    font-size: 12px;
    letter-spacing: 1px;
    color: #111111;
}


/* TWO-COLUMN GRID */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 25px;
}


/* PROJECT CARDS */

.portfolio-card {
    display: block;
    text-decoration: none;
    color: #111111;
}


/* PROJECT IMAGES */

.portfolio-image {
    width: 100%;
    aspect-ratio: 4 / 3;

    background-color: #E5E5E5;

    overflow: hidden;
    margin-bottom: 18px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}


/* IMAGE HOVER EFFECT */




/* PROJECT TITLES */

.portfolio-card h3 {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.3px;

    margin-bottom: 8px;
}


/* PROJECT CATEGORY LABELS */

.portfolio-card p {
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 500;

    color: #555555;
}


/* =====================================
   MANUFACTURING DIVIDER
===================================== */

.manufacturing-section {
    border-top: 1px solid #19274F;
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

    .portfolio-section {
        padding: 50px 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .portfolio-card h3 {
        font-size: 17px;
    }

}
/* TYPOGRAPHY */



.nav-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.8px;
}

.hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -3px;
}

.section-heading h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.portfolio-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.portfolio-card p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}
/* FEATURED PROJECT */

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

.featured-project .portfolio-image {
    aspect-ratio: 16 / 7;
}

.featured-project h3 {
    font-size: 26px;
    margin-top: 10px;
}

.featured-project p {
    font-size: 12px;
}
/* =========================================
   HOMEPAGE HERO — TWO SIDE-BY-SIDE PHOTOS
========================================= */

/* HERO LAYOUT */

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

    gap: 40px;
    padding: 60px 45px;

    overflow: hidden;
}

/* LEFT SIDE — TEXT */

.hero-content {
    flex: 0 1 42%;
    min-width: 0;
}

/* RIGHT SIDE — PHOTOS */

/* TWO PHOTOS — DIFFERENT WIDTHS */

.hero-collage {
    display: grid;

    /* Lifestyle photo wider than lathe photo */
    grid-template-columns: 3fr 2fr;

    gap: 15px;

    flex: 0 1 58%;
    min-width: 0;

    height: 300px;
}

/* PHOTO CONTAINERS */

.hero-collage .collage-photo {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background-color: #E5E5E5;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

/* PHOTO IMAGES */

.hero-collage .collage-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

/* HOVER EFFECT */

.hero-collage .collage-photo:hover {
    transform: translateY(-8px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);

    z-index: 10;
}

.hero-collage .collage-photo:hover img {
    transform: scale(1.05);
}

/* MOBILE */

@media (max-width: 768px) {

    .hero {
        flex-direction: column;
        align-items: stretch;

        gap: 40px;
        padding: 50px 25px;
    }

    .hero-content {
        flex: none;
        width: 100%;
    }

    .hero-collage {
        flex: none;
        width: 100%;

        height: 300px;
        gap: 12px;
    }

}

/* SMALL PHONES */

@media (max-width: 480px) {

    .hero-collage {
        height: 220px;
        gap: 10px;
    }

}

/* ACCESSIBILITY */

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

    .hero-collage .collage-photo,
    .hero-collage .collage-photo img {
        transition: none;
    }

}

/* =========================================
   INDIVIDUAL PROJECT PAGE
========================================= */

.project-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 90px 40px;
}


/* PROJECT INTRO */

.project-intro {
    padding-bottom: 80px;
    border-bottom: 1px solid #DDDDDD;
}

.project-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #19274F;
    margin-bottom: 25px;
}

.project-intro h1 {
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.project-subtitle {
    font-size: 22px;
    color: #555555;
    margin-bottom: 50px;
}


/* PROJECT DETAILS */

.project-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-details span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #777777;
}

.project-details p {
    margin-top: 10px;
    font-size: 15px;
}


/* PROJECT SECTIONS */

.project-section {
    padding: 85px 0;
    border-bottom: 1px solid #DDDDDD;
}

.section-number {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #19274F;
    margin-bottom: 25px;
}

.project-section h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

.project-section > p:not(.section-number) {
    max-width: 750px;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 35px;
}


/* PROJECT IMAGES */

.project-image {
    margin-top: 45px;
    background-color: #FFFFFF;
    padding: 30px;
}

.project-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* SPECIFICATIONS */

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.spec-grid > div {
    background-color: #FFFFFF;
    padding: 35px 25px;
}

.spec-grid h3 {
    font-size: 36px;
    font-weight: 700;
    color: #19274F;
    margin-bottom: 12px;
}

.spec-grid p {
    font-size: 13px;
    color: #555555;
}


/* BACK BUTTON */

.project-back {
    padding-top: 60px;
}

.project-back a {
    color: #19274F;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.project-back a:hover {
    text-decoration: underline;
}


/* MOBILE */

@media (max-width: 768px) {

    .project-page {
        padding: 50px 25px;
    }

    .project-section {
        padding: 60px 0;
    }

    .project-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .project-image {
        padding: 12px;
    }

    .project-intro h1 {
        letter-spacing: -1.5px;
    }

}
/* PROJECT PAGE BACKGROUND */

.project-body .project-section {
    height: auto;
    min-height: 0;

    padding: 45px 35px;
    margin: 25px 0;

    border: none;
    border-radius: 12px;

    background-color: #FFFFFF;
}
/* FEATURED PROJECT — COMPACT */

.featured-project .portfolio-image {
    height: 300px;
    overflow: hidden;
}

.featured-project .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* SMALL PROJECT CARDS */

.portfolio-card:not(.featured-project) .portfolio-image {
    height: 180px;
    overflow: hidden;
}

.portfolio-card:not(.featured-project) .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* THREE-COLUMN PROJECT GRID */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
/* =========================================
   PROJECT CARD HOVER EFFECT
========================================= */

/* Project card */

.portfolio-card {
    position: relative;
    display: block;
    border: 1px solid transparent;
    border-radius: 8px;
    overflow: hidden;

    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* Image container */

.portfolio-card .portfolio-image {
    position: relative;
    overflow: hidden;
}

/* Keep images completely still */

.portfolio-card .portfolio-image img,
.portfolio-card:hover .portfolio-image img {
    transform: none;
}



/* 3D PCB RENDER */

.project-image img[src*="3d-board-layout"] {
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* =========================================
   PROJECT CARD — NAVY INFO HOVER
========================================= */


/* Bottom information area */

.portfolio-card .project-info {
    background-color: #FFFFFF;
    padding: 22px 24px;

    transition:
        background-color 0.35s ease,
        padding 0.35s ease;
}

/* Project title */

.portfolio-card .project-info h3 {
    color: #111111;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;

    transition:
        color 0.35s ease;
     
}

/* Description */

.portfolio-card .project-info p {
    color: #666666;
    font-size: 13px;
    margin: 0;

    transition: color 0.35s ease;
}

/* NAVY BACKGROUND ON HOVER */

.portfolio-card:hover .project-info,
.portfolio-card:focus-visible .project-info {
    background-color: #19274F;
}

/* White text and subtle expansion */

.portfolio-card:hover .project-info h3,
.portfolio-card:focus-visible .project-info h3 {
    color: #FFFFFF;
    transform: none;
}

/* Description becomes white */

.portfolio-card:hover .project-info p,
.portfolio-card:focus-visible .project-info p {
    color: rgba(255, 255, 255, 0.8);
}
.portfolio-card {
    border: none;
    box-shadow: none;
}

.portfolio-card:hover {
    border: none;
    box-shadow: none;
}
.featured-project .project-info h3 {
    font-size: 24px;
}
.portfolio-card:not(.featured-project) .project-info h3 {
    font-size: 18px;
}
/* REMOVE GAP BETWEEN PROJECT IMAGE AND TITLE */

.portfolio-card {
    gap: 0;
}

.portfolio-card .portfolio-image {
    margin: 0;
    padding: 0;
    border: none;
}

.portfolio-card .portfolio-image img {
    display: block;
    margin: 0;
    padding: 0;
}

.portfolio-card .project-info {
    margin: 0;
    border: none;
}
/* APPLY TITLE HOVER EFFECT TO ALL PROJECTS */

/* Normal title section */
.portfolio-grid .portfolio-card .project-info {
    background-color: #FFFFFF;
    transition: background-color 0.35s ease;
}

/* Normal text */
.portfolio-grid .portfolio-card .project-info h3 {
    color: #111111;
    transition: color 0.35s ease;
}

.portfolio-grid .portfolio-card .project-info p {
    color: #666666;
    transition: color 0.35s ease;
}

/* Hover: navy background */
.portfolio-grid .portfolio-card:hover .project-info {
    background-color: #19274F;
}

/* Hover: white text */
.portfolio-grid .portfolio-card:hover .project-info h3 {
    color: #FFFFFF;
    transform: none;
}

.portfolio-grid .portfolio-card:hover .project-info p {
    color: rgba(255, 255, 255, 0.8);
}
/* SISYPHUS ANIMATION */

.sisyphus-scene {
    position: relative;
    width: 320px;
    height: 180px;
    overflow: hidden;
    margin: 40px auto;
    --sisyphus-blue: #14213D;
}

/* Hill */

.sisyphus-hill {
    position: absolute;
    width: 360px;
    height: 2px;
    background: var(--sisyphus-blue);
    bottom: 35px;
    left: -10px;
    transform: rotate(-20deg);
    transform-origin: left center;
}

/* Moving character and rock */

.sisyphus-climber {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 0;
    bottom: 42px;
    z-index: 2;

    animation: climbHill 8s linear infinite;
}

/* Boulder */

.sisyphus-rock {
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--sisyphus-blue);
    border-radius: 50%;
    left: 43px;
    top: 10px;

    animation: rollRock 1.5s linear infinite;
}

/* Human silhouette */

.sisyphus-person {
    position: absolute;
    width: 45px;
    height: 80px;
    left: 5px;
    top: 12px;
}

/* Head */

.person-head {
    position: absolute;
    width: 17px;
    height: 17px;
    background: var(--sisyphus-blue);
    border-radius: 50%;
    left: 14px;
    top: 0;
}

/* Body */

.person-body {
    position: absolute;
    width: 9px;
    height: 35px;
    background: var(--sisyphus-blue);
    left: 20px;
    top: 16px;
    transform: rotate(25deg);
    border-radius: 5px;
}

/* Arm pushing rock */

.person-arm {
    position: absolute;
    width: 32px;
    height: 6px;
    background: var(--sisyphus-blue);
    left: 23px;
    top: 30px;
    transform: rotate(-25deg);
    border-radius: 5px;
}

/* Legs */

.person-leg {
    position: absolute;
    width: 6px;
    height: 30px;
    background: var(--sisyphus-blue);
    top: 47px;
    left: 18px;
    transform-origin: top center;
    border-radius: 4px;
}

.leg-left {
    animation: walking 0.6s ease-in-out infinite alternate;
}

.leg-right {
    animation: walking 0.6s ease-in-out infinite alternate-reverse;
}

/* =========================================
   NOZZLE FIRING SYSTEM
========================================= */

/* COMPONENT LIST */

.nozzle-components {
    margin-top: 35px;
    border-top: 1px solid #E5E5E5;
}

/* EACH COMPONENT ROW */

.nozzle-components > div {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
    padding: 18px 15px;

    border-bottom: 1px solid #E5E5E5;

    font-size: 15px;

    transition: background-color 0.3s ease;
}

/* COMPONENT NAME */

.nozzle-components > div span:first-child {
    color: #111111;
    font-weight: 500;
}

/* QUANTITY */

.nozzle-components > div span:last-child {
    color: #19274F;
    font-weight: 600;
}

/* HEADER */

.nozzle-components .component-header {
    background-color: #19274F;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.nozzle-components .component-header span:first-child,
.nozzle-components .component-header span:last-child {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* HOVER */

.nozzle-components > div:not(.component-header):hover {
    background-color: #F5F5F3;
}

/* PROJECT VIDEO */

.project-body .project-image video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;

    background-color: #111111;
    border-radius: 4px;
}

/* CLICKABLE CALCULATIONS IMAGE */

.project-body .project-image a {
    display: block;
    width: 100%;
}

.project-body .project-image a img {
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

/* MOBILE */

@media (max-width: 768px) {

    .nozzle-components > div {
        padding: 15px 10px;
        font-size: 13px;
    }

}
/* =========================================
   DESKINATOR PROJECT PAGE
   MATCHES EXISTING PORTFOLIO STYLE
========================================= */

/* MAIN PAGE */

.deskinator-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 90px 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    color: #111111;
}


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

.deskinator-hero {
    padding-bottom: 80px;
    border-bottom: 1px solid #DDDDDD;
    text-align: left;
}

.deskinator-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #19274F;
    margin-bottom: 25px;
}

.deskinator-hero h1 {
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.deskinator-subtitle {
    font-size: 22px;
    font-weight: 400;
    color: #555555;
    margin-bottom: 30px;
}

.deskinator-intro {
    max-width: 750px;
    font-size: 16px;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 30px;
}


/* PROJECT TAGS */

.deskinator-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.deskinator-tags span {
    display: inline-block;
    padding: 9px 16px;

    border: 1px solid #DDDDDD;
    border-radius: 4px;

    font-size: 12px;
    font-weight: 500;
    color: #19274F;

    background-color: #FFFFFF;
}


/* HERO IMAGE */

.deskinator-hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;

    margin-top: 35px;
    background-color: #FFFFFF;
}


/* CAPTIONS */

.deskinator-caption {
    font-size: 13px;
    color: #777777;
    line-height: 1.6;
    margin-top: 12px;
    text-align: center;
}


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

.project-body .deskinator-section {
    height: auto;
    min-height: 0;

    padding: 45px 35px;
    margin: 25px 0;

    border: none;
    border-radius: 12px;

    background-color: #FFFFFF;
}

.deskinator-section h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -1.5px;

    color: #111111;
    margin-bottom: 25px;
}

.deskinator-section h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.5px;

    color: #111111;
    margin-top: 35px;
    margin-bottom: 18px;
}

.deskinator-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 12px;
}

.deskinator-section p {
    max-width: 850px;
    font-size: 16px;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 25px;
}

.deskinator-section ul,
.deskinator-section ol {
    padding-left: 25px;
    margin: 25px 0;

    font-size: 15px;
    line-height: 2;
    color: #555555;
}

.deskinator-section li {
    margin-bottom: 10px;
}


/* =========================================
   PROJECT INFORMATION
========================================= */

.deskinator-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.deskinator-info-grid h3 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #777777;

    margin: 0 0 10px;
}

.deskinator-info-grid p {
    font-size: 15px;
    color: #111111;
    margin: 0;
}


/* =========================================
   DESIGN OBJECTIVES
========================================= */

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

.deskinator-objective {
    padding: 30px 25px;
    background-color: #FAFAF8;
    border-radius: 8px;
}

.deskinator-objective h3 {
    font-size: 28px;
    font-weight: 700;
    color: #19274F;
    margin: 0 0 20px;
}

.deskinator-objective h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 12px;
}

.deskinator-objective p {
    font-size: 14px;
    line-height: 1.8;
    color: #555555;
    margin: 0;
}


/* =========================================
   PROJECT IMAGES
========================================= */

.deskinator-image {
    display: block;

    width: 100%;
    max-width: 950px;
    height: auto;

    object-fit: contain;

    margin: 35px auto 15px;
    padding: 0;

    background-color: #FFFFFF;
}


/* TWO-COLUMN IMAGE GRID */

.deskinator-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.deskinator-image-grid figure {
    margin: 0;
}

.deskinator-image-grid img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: contain;

    background-color: #FAFAF8;
    border-radius: 4px;
}

.deskinator-image-grid figcaption {
    font-size: 13px;
    line-height: 1.6;
    color: #777777;
    text-align: center;
    margin-top: 12px;
}


/* =========================================
   VIDEOS
========================================= */

.deskinator-video {
    display: block;

    width: 100%;
    max-width: 950px;
    height: auto;
    max-height: 650px;

    margin: 35px auto;

    background-color: #111111;
    border-radius: 4px;
}


/* =========================================
   COMPONENT GRID
========================================= */

.deskinator-component-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 35px 0;
}

.deskinator-component-grid > div {
    padding: 30px 25px;

    background-color: #FAFAF8;
    border-radius: 8px;
}

.deskinator-component-grid h4 {
    font-size: 16px;
    font-weight: 600;
    color: #19274F;
    margin-bottom: 12px;
}

.deskinator-component-grid p {
    font-size: 14px;
    line-height: 1.8;
    color: #555555;
    margin: 0;
}


/* =========================================
   POWER CALCULATIONS
========================================= */

.deskinator-equation {
    padding: 25px;
    margin: 20px 0;

    background-color: #FAFAF8;
    border-left: 3px solid #19274F;

    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #111111;

    text-align: center;
}

.deskinator-total {
    background-color: #19274F;
    border-left: none;

    color: #FFFFFF;
    font-size: 23px;
    font-weight: 600;
}


/* =========================================
   TESTING & RESULTS
========================================= */

.deskinator-results {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 35px 0;
}

.deskinator-results > div {
    background-color: #FAFAF8;
    padding: 35px 20px;
    text-align: center;
}

.deskinator-results h3 {
    font-size: 30px;
    font-weight: 700;
    color: #19274F;
    margin: 0 0 12px;
}

.deskinator-results p {
    font-size: 13px;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}


/* =========================================
   BACK TO PROJECTS
========================================= */

.project-body .deskinator-back {
    padding: 40px 0;
    margin-top: 30px;

    background: transparent;
    text-align: left;
}

.deskinator-back a {
    color: #19274F;
    text-decoration: none;

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

    transition: opacity 0.3s ease;
}

.deskinator-back a:hover {
    opacity: 0.6;
}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 768px) {

    .deskinator-page {
        padding: 50px 25px;
    }

    .deskinator-hero {
        padding-bottom: 50px;
    }

    .deskinator-hero h1 {
        letter-spacing: -1.5px;
    }

    .deskinator-subtitle {
        font-size: 19px;
    }

    .deskinator-intro {
        font-size: 15px;
    }

    .project-body .deskinator-section {
        padding: 30px 20px;
        margin: 20px 0;
    }

    .deskinator-section h2 {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .deskinator-section h3 {
        font-size: 19px;
    }

    .deskinator-section p {
        font-size: 15px;
    }

    .deskinator-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .deskinator-objectives {
        grid-template-columns: 1fr;
    }

    .deskinator-component-grid {
        grid-template-columns: 1fr;
    }

    .deskinator-image-grid {
        grid-template-columns: 1fr;
    }

    .deskinator-image-grid img {
        height: auto;
    }

    .deskinator-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deskinator-equation {
        font-size: 16px;
        padding: 20px 12px;
    }

    .deskinator-total {
        font-size: 18px;
    }

    .deskinator-video {
        max-height: none;
    }

}


/* EXTRA SMALL SCREENS */

@media (max-width: 480px) {

    .deskinator-page {
        padding: 35px 15px;
    }

    .deskinator-hero h1 {
        font-size: 38px;
    }

    .deskinator-tags {
        gap: 8px;
    }

    .deskinator-tags span {
        font-size: 11px;
        padding: 7px 12px;
    }

    .deskinator-results h3 {
        font-size: 24px;
    }

    .deskinator-results > div {
        padding: 25px 12px;
    }

}
/* =========================================
   TEMPERATURE MONITORING SYSTEM
========================================= */

/* TWO-COLUMN IMAGE LAYOUT */

.temperature-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.temperature-image-grid figure {
    margin: 0;
}

.temperature-image-grid img {
    display: block;
    width: 100%;
    height: 350px;

    object-fit: contain;

    background-color: #FAFAF8;
    border-radius: 4px;
}

.temperature-image-grid figcaption {
    font-size: 13px;
    line-height: 1.6;
    color: #777777;

    text-align: center;
    margin-top: 12px;
}


/* ELECTRICAL CALCULATIONS */

.temperature-equation {
    background-color: #FAFAF8;

    border-left: 3px solid #19274F;

    padding: 25px;
    margin: 20px 0;

    text-align: center;
}

.temperature-equation p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;

    color: #111111;
    margin-bottom: 12px;
}

.temperature-equation p:last-child {
    margin-bottom: 0;
}


/* SUBHEADINGS */

.project-body .project-section h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.5px;

    color: #111111;

    margin-top: 35px;
    margin-bottom: 18px;
}


/* MOBILE */

@media (max-width: 768px) {

    .temperature-image-grid {
        grid-template-columns: 1fr;
    }

    .temperature-image-grid img {
        height: auto;
    }

    .temperature-equation {
        padding: 20px 12px;
    }

    .temperature-equation p {
        font-size: 15px;
        overflow-wrap: anywhere;
    }

}

/* =========================================
   MANUFACTURING & FABRICATION PAGE
========================================= */


/* INTRO */

.manufacturing-page .manufacturing-intro {
    max-width: 800px;

    font-size: 16px;
    line-height: 1.9;

    color: #555555;

    margin-bottom: 45px;
}


/* =========================================
   IMAGE GRID
========================================= */

.manufacturing-image-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 25px;

    margin: 35px 0;
}

.manufacturing-image-grid figure {
    margin: 0;
}

.manufacturing-image-grid img {
    display: block;

    width: 100%;
    height: 350px;

    object-fit: contain;

    background-color: #FAFAF8;

    border-radius: 4px;
}

.manufacturing-image-grid figcaption {
    font-size: 13px;

    line-height: 1.6;

    color: #777777;

    text-align: center;

    margin-top: 12px;
}


/* SINGLE IMAGE CAPTION */

.manufacturing-caption {
    font-size: 13px !important;

    color: #777777 !important;

    text-align: center;

    margin-top: 12px;
}


/* =========================================
   MANUFACTURING PROCESS
========================================= */

.manufacturing-process {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-top: 35px;
}

.manufacturing-process > div {
    background-color: #FAFAF8;

    padding: 30px 25px;

    border-radius: 8px;
}

.manufacturing-process span {
    display: block;

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

    color: #19274F;

    margin-bottom: 20px;
}

.manufacturing-process h4 {
    font-size: 17px;
    font-weight: 600;

    color: #111111;

    margin-bottom: 12px;
}

.manufacturing-process p {
    font-size: 14px;

    line-height: 1.8;

    color: #555555;

    margin: 0;
}


/* =========================================
   TECHNICAL SKILLS
========================================= */

.manufacturing-skills {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 35px;
}

.manufacturing-skills span {
    display: inline-block;

    padding: 12px 20px;

    background-color: #FAFAF8;

    border: 1px solid #E5E5E5;
    border-radius: 4px;

    font-size: 13px;
    font-weight: 500;

    color: #19274F;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.manufacturing-skills span:hover {
    background-color: #19274F;
    color: #FFFFFF;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .manufacturing-image-grid {
        grid-template-columns: 1fr;
    }

    .manufacturing-image-grid img {
        height: auto;
    }

    .manufacturing-process {
        grid-template-columns: 1fr;
    }

    .manufacturing-page .manufacturing-intro {
        font-size: 15px;
    }

}
/* =========================================
   EXPERIENCE — MINIMAL TIMELINE
========================================= */

.experience-section {
    background-color: #FAFAF8;
    border-top: 1px solid #E5E5E5;
}

/* TIMELINE CONTAINER */

.experience-timeline {
    position: relative;
    max-width: 950px;
    margin: 60px auto 0;
    padding-left: 50px;
}

/* VERTICAL NAVY LINE */

.experience-timeline::before {
    content: "";
    position: absolute;

    left: 7px;
    top: 8px;
    bottom: 50px;

    width: 1px;
    background-color: #19274F;
}

/* EACH EXPERIENCE */

.timeline-item {
    position: relative;
    padding-bottom: 75px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* SMALL NAVY DOT */

.timeline-dot {
    position: absolute;

    left: -49px;
    top: 5px;

    width: 13px;
    height: 13px;

    background-color: #19274F;
    border-radius: 50%;
}

/* DATE */

.timeline-date {
    display: block;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;

    color: #19274F;

    margin-bottom: 15px;
}

/* JOB TITLE */

.timeline-content h3 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.8px;

    color: #111111;

    margin-bottom: 12px;
}

/* ORGANIZATION */

.timeline-content p {
    font-size: 15px;
    font-weight: 400;

    color: #666666;
    line-height: 1.7;
}

/* DIVIDER */

.timeline-divider {
    color: #AAAAAA;
    margin: 0 6px;
}

/* SUBTLE HOVER */

.timeline-content {
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(6px);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .experience-timeline {
        padding-left: 35px;
        margin-top: 40px;
    }

    .experience-timeline::before {
        left: 6px;
    }

    .timeline-dot {
        left: -35px;
        width: 12px;
        height: 12px;
    }

    .timeline-item {
        padding-bottom: 55px;
    }

    .timeline-content h3 {
        font-size: 22px;
    }

    .timeline-content p {
        font-size: 14px;
    }

    .timeline-date {
        font-size: 11px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .timeline-content {
        transition: none;
    }
}
/* =========================================
   SKILLS — MINIMALIST LAYOUT
========================================= */

.skills-section {
    background-color: #FAFAF8;
    border-top: 1px solid #E5E5E5;
}

/* TWO-COLUMN GRID */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 65px 80px;
    margin-top: 50px;
}

/* CATEGORY */

.skill-category {
    border-top: 1px solid #19274F;
    padding-top: 25px;
}

/* CATEGORY HEADING */

.skill-category h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #19274F;
    margin-bottom: 25px;
}

/* INDIVIDUAL SKILLS */

.skill-category p {
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.3px;
    color: #111111;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* MOBILE */

@media (max-width: 768px) {

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 35px;
    }

    .skill-category p {
        font-size: 17px;
    }

}
/* =====================================
   CONTACT SECTION — MINIMAL
===================================== */

.contact-section {
    padding: 80px 45px 120px;
    background-color: #FAFAF8;
    border-top: 1px solid #19274F;
}

.contact-links {
    margin-top: 40px;
    border-top: 1px solid #DDDDDD;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 28px 0;
    border-bottom: 1px solid #DDDDDD;
}

/* LABEL */

.contact-row span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #777777;
}

/* LINKS */

.contact-row a {
    font-size: 18px;
    font-weight: 500;
    color: #111111;
    text-decoration: none;

    transition: color 0.3s ease;
}

.contact-row a:hover {
    color: #19274F;
}

/* MOBILE */

@media (max-width: 768px) {

    .contact-section {
        padding: 60px 20px 80px;
    }

    .contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .contact-row a {
        font-size: 16px;
        overflow-wrap: anywhere;
    }

}
/* =====================================
   HOMEPAGE — SINGLE LIFESTYLE PHOTO
===================================== */

.hero-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-images img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
}
/* =====================================
   EXPERIENCE — TWO COLUMN LAYOUT
===================================== */

.experience-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
    width: 100%;
}

/* LEFT: TIMELINE */

.experience-layout .experience-timeline {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 50px 0 0;
    padding-left: 50px;
}

/* RIGHT: PHOTO */

.experience-layout .experience-photo {
    width: 100%;
    margin: 0;
    align-self: center;
}

.experience-layout .experience-photo img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    border-radius: 2px;
}

/* MOBILE */

@media (max-width: 768px) {

    .experience-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .experience-layout .experience-timeline {
        margin-top: 35px;
    }

    .experience-layout .experience-photo {
        margin-top: 0;
    }

    .experience-layout .experience-photo img {
        height: auto;
        max-height: 450px;
    }

}
/* =====================================
   EXPERIENCE — SMALLER PHOTO
===================================== */

/* EXPERIENCE — TIMELINE + PHOTO */

.experience-layout {
    display: grid;
    grid-template-columns: 650px 350px;
    gap: 50px;
    align-items: center;
    justify-content: start;
}

.experience-layout .experience-photo {
    width: 350px;
    max-width: 100%;
    margin: 0;
    justify-self: start;
}

.experience-layout .experience-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
}

/* MOBILE */

@media (max-width: 1100px) {
    .experience-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 30px;
    }

    .experience-layout .experience-photo {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .experience-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .experience-layout .experience-photo {
        width: 100%;
        max-width: 350px;
    }
}

/* PHOTO */

.experience-layout .experience-photo {
    width: 350px;
    max-width: 100%;
    margin: 0;
    justify-self: end;
}

.experience-layout .experience-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
}

/* MOBILE */

@media (max-width: 768px) {
    .experience-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .experience-layout .experience-photo {
        width: 100%;
        max-width: 350px;
        justify-self: start;
    }
}
/* MOVE HOMEPAGE PHOTO TO THE RIGHT */

@media (min-width: 769px) {
    .hero-collage {
        transform: translateX(50px);
    }
}
/* =====================================
   MANUFACTURING CARD — FINAL DESIGN
===================================== */

/* Manufacturing stays in the project grid */

.portfolio-grid .manufacturing-card {
    grid-column: span 1;
    width: 100%;
    max-width: 100%;
}

/* Same height as Temperature Sensing Box */

.portfolio-grid .manufacturing-card .portfolio-image {
    height: 180px;
    overflow: hidden;
}

/* Adjust photo to show your face */

.portfolio-grid .manufacturing-card .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

/* Blue hover */

.portfolio-grid .manufacturing-card:hover .project-info,
.portfolio-grid .manufacturing-card:focus-visible .project-info {
    background-color: #72B8C4;
}

/* Dark text on blue */


/* Mobile */

@media (max-width: 768px) {
    .portfolio-grid .manufacturing-card {
        grid-column: auto;
    }
}
/* MANUFACTURING CARD — BLUE HOVER + WHITE TEXT */

.portfolio-grid .manufacturing-card:hover .project-info,
.portfolio-grid .manufacturing-card:focus-visible .project-info {
    background-color: #72B8C4;
}

/* Title turns white */
.portfolio-grid .manufacturing-card:hover .project-info h3,
.portfolio-grid .manufacturing-card:focus-visible .project-info h3 {
    color: #FFFFFF;
}

/* Description turns white */
.portfolio-grid .manufacturing-card:hover .project-info p,
.portfolio-grid .manufacturing-card:focus-visible .project-info p {
    color: #FFFFFF;
}
/* =====================================
   HOMEPAGE HERO — REFINED LAYOUT
===================================== */

@media (min-width: 769px) {

    .hero {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        align-items: center;
        gap: 35px;
        padding: 65px 45px;
    }

    .hero-content {
        width: 100%;
        max-width: none;
    }

    /* Remove previous photo offset */
    .hero-collage {
        display: block;
        width: 100%;
        height: 310px;
        transform: none;
    }

    .hero-collage .collage-photo {
        width: 100%;
        height: 100%;
    }
}

/* BIGGER NAME */

.hero-label {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #19274F;
    margin-bottom: 22px;
}

/* SMALLER, CLEANER HEADLINE */

.hero-content h1 {
    font-size: clamp(34px, 3.5vw, 52px);
    font-weight: 700;
    letter-spacing: -1.8px;
    line-height: 1.15;
    max-width: 650px;
    margin-bottom: 28px;
}

/* WIDER PARAGRAPH */

.hero-description {
    max-width: 650px;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.1px;
    margin-bottom: 30px;
}

/* MOBILE */

@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.85;
    }

    .hero-collage {
        display: block;
        width: 100%;
    }
}
/* HOMEPAGE — SMALLER LIFESTYLE PHOTO */

.hero-collage {
    display: flex;
    justify-content: center;
    align-items: center;

    flex: 0 1 42%;
    height: auto;

    transform: none;
}

.hero-collage .collage-photo {
    width: 100%;
    max-width: 430px;
    height: auto;
    overflow: visible;
}

.hero-collage .collage-photo img {
    display: block;
    width: 100%;
    height: auto;

    object-fit: contain;
}

/* Remove the zoom effect */
.hero-collage .collage-photo:hover img {
    transform: none;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-collage {
        width: 100%;
        flex: none;
    }

    .hero-collage .collage-photo {
        max-width: 430px;
    }
}

/* MOVE HOMEPAGE PHOTO SLIGHTLY LEFT */

/* MOVE HOMEPAGE PHOTO LEFT */

@media (min-width: 769px) {
    .hero-collage {
        transform: translateX(-10px);
        justify-content: flex-start;
    }

    .hero-collage .collage-photo {
        max-width: 430px;
    }
}

.hero-contact {
    display: inline;
    margin-left: 8px;

    color: #1E3A5F;
    font-size: inherit;
    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 5px;

    transition: color 0.3s ease;
}

.hero-contact:hover {
    color: #4A6A91;
}