/* =====================================================
   MICHAEL WALSHE
===================================================== */


:root {

    --background: #eee8de;

    --paper: #f8f3eb;

    --paper2: #e5ded2;

    --ink: #20231f;

    --text: #56594f;

    --muted: #858078;

    --line: #ccc3b6;

    --green: #29483b;

    --green2: #3d6251;

    --navy: #273f50;

    --grid-line: rgba(32, 35, 31, 0.035);

}


:root[data-theme="dark"] {

    --background: #14171c;

    --paper: #1b1f26;

    --paper2: #242932;

    --ink: #eef0ee;

    --text: #b7bcc4;

    --muted: #7d838d;

    --line: #333944;

    --green: #2f5544;

    --green2: #47795f;

    --navy: #2f4b68;

    --grid-line: rgba(255, 255, 255, 0.035);

}



/* =====================================================
   RESET
===================================================== */


* {

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    background:
        var(--background);

    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);

    background-size: 42px 42px;

    color:
        var(--ink);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    transition:
        background-color .3s ease,
        color .3s ease;

}


img {

    display: block;

    width: 100%;

}


a {

    color: inherit;

    text-decoration: none;

}



/* =====================================================
   CURSOR COORDINATE READOUT
===================================================== */


.cursor-readout {

    position: fixed;

    top: 0;

    left: 0;

    z-index: 999;

    pointer-events: none;

    font-family:
        'Courier New',
        monospace;

    font-size: 9px;

    letter-spacing: .5px;

    color:
        var(--muted);

    background:
        var(--paper);

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

    padding: 3px 6px;

    opacity: 0;

    transition: opacity .2s ease;

}


@media (hover: none), (pointer: coarse) {

    .cursor-readout {

        display: none;

    }

}



/* =====================================================
   WIDTH
===================================================== */


.topbar,
main,
footer {

    width:
        min(
            1180px,
            calc(100% - 46px)
        );

    margin-left: auto;

    margin-right: auto;

}



/* =====================================================
   NAV
===================================================== */


.topbar {

    height: 78px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

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

}


.brand {

    font-size: 14px;

    font-weight: 700;

}


nav {

    display: flex;

    align-items: center;

    gap: 25px;

}


nav a {

    position: relative;

    display: inline-block;

    color:
        var(--muted);

    font-size: 11px;

    padding-bottom: 4px;

    transition: transform .15s ease-out, color .2s ease;

}


nav a::after {

    content: '';

    position: absolute;

    left: 0;

    bottom: 0;

    width: 0;

    height: 1px;

    background:
        var(--ink);

    transition:
        width .25s ease;

}


nav a:hover {

    color:
        var(--ink);

}


nav a:hover::after {

    width: 100%;

}



/* THEME TOGGLE — mechanical rocker switch */


.theme-toggle {

    background: none;

    border: none;

    padding: 0;

    cursor: pointer;

}


.toggle-track {

    display: block;

    width: 34px;

    height: 18px;

    border-radius: 9px;

    background:
        var(--line);

    position: relative;

    transition: background .25s ease;

}


.toggle-thumb {

    position: absolute;

    top: 2px;

    left: 2px;

    width: 14px;

    height: 14px;

    border-radius: 50%;

    background:
        var(--ink);

    transition: transform .25s ease, background .25s ease;

}


:root[data-theme="dark"] .toggle-track {

    background:
        var(--green2);

}


:root[data-theme="dark"] .toggle-thumb {

    transform: translateX(16px);

    background:
        #f2f2f0;

}



/* =====================================================
   SCROLL REVEAL
===================================================== */


.reveal {

    opacity: 0;

    transform: translateY(28px);

    transition:
        opacity .7s ease,
        transform .7s ease;

}


.reveal.is-visible {

    opacity: 1;

    transform: translateY(0);

}



/* =====================================================
   THIS IS THE IMPORTANT PART:
   EVERY ROW IS EXACTLY 2 COLUMNS
===================================================== */


.row {

    display: grid;

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

    gap: 22px;

    margin-top: 22px;

}



/* =====================================================
   ALL BOXES
===================================================== */


.box {

    position: relative;

    min-width: 0;

    overflow: hidden;

    background:
        var(--paper);

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

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background-color .3s ease;

}


.box:hover {

    transform:
        translateY(-4px);

    border-color:
        #a89e8f;

    box-shadow:
        0 15px 38px
        rgba(45,38,28,.08);

}


.tilt-card {

    position: relative;

    transition:
        transform .15s ease-out,
        box-shadow .22s ease,
        border-color .22s ease;

    will-change: transform;

}


.tilt-card::before {

    content: '';

    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;

    opacity: 0;

    background:
        radial-gradient(
            circle at var(--mx, 50%) var(--my, 50%),
            rgba(255,255,255,.35),
            transparent 55%
        );

    mix-blend-mode: overlay;

    transition: opacity .3s ease;

}


.tilt-card:hover::before {

    opacity: 1;

}



/* =====================================================
   ROW 1
===================================================== */


.intro-box,
.current-box {

    min-height: 400px;

    padding: 28px;

}


.intro-box::before,
.intro-box::after {

    content: '+';

    position: absolute;

    color:
        var(--muted);

    font-size: 10px;

    opacity: .5;

    pointer-events: none;

}


.intro-box::before {

    top: 8px;

    left: 8px;

}


.intro-box::after {

    bottom: 8px;

    right: 8px;

}



/* PROFILE */


.intro-top {

    display: flex;

    align-items: center;

    gap: 23px;

}


.profile {

    width: 105px;

    height: 125px;

    object-fit: cover;

}


.eyebrow {

    display: block;

    color:
        var(--muted);

    font-size: 8px;

    letter-spacing: 1.3px;

}


.intro-top h1 {

    margin:
        9px 0 7px;

    font-family:
        Georgia,
        serif;

    font-size: 49px;

    line-height: .82;

    letter-spacing: -3px;

    font-weight: 400;

}


.college {

    margin: 0;

    color:
        var(--green);

    text-transform:
        uppercase;

    font-size: 8px;

    letter-spacing: 1.7px;

}


.intro-copy {

    margin-top:
        30px;

    max-width:
        470px;

}


.intro-copy p {

    margin:
        8px 0;

    color:
        var(--text);

    font-size: 13px;

    line-height: 1.55;

}


.small-links {

    display: flex;

    gap: 19px;

    margin-top:
        27px;

}


.small-links a {

    font-size: 10px;

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

}



/* CURRENT */


.current-box {

    background:
        var(--green);

    color: white;

}


.box-top {

    display: flex;

    justify-content:
        space-between;

    align-items:
        center;

}


.current-box
.eyebrow {

    color:
        #b9cac2;

}


.green-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background:
        #a6d2af;

    animation:
        pulse 2s ease-in-out infinite;

}


@keyframes pulse {

    0%, 100% {

        opacity: 1;

        box-shadow:
            0 0 0 0 rgba(166,210,175,.5);

    }

    50% {

        opacity: .6;

        box-shadow:
            0 0 0 4px rgba(166,210,175,0);

    }

}


.current-main {

    margin-top:
        47px;

}


.current-small {

    margin:
        0 0 9px;

    color:
        #9fb6ac;

    font-size: 8px;

    letter-spacing: 1px;

}


.current-main h2 {

    max-width:
        440px;

    margin:
        0;

    font-family:
        Georgia,
        serif;

    font-weight: 400;

    font-size: 38px;

    line-height: 1;

}


.current-line {

    height: 1px;

    margin:
        34px 0 24px;

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

}


.current-link {

    display: flex;

    justify-content:
        space-between;

    align-items:
        center;

    padding:
        13px 0;

    border-top:
        1px solid
        rgba(255,255,255,.18);

    font-size: 11px;

}


.current-link span {

    color:
        #b8c8c1;

    font-size:
        8px;

}



/* =====================================================
   PORTFOLIO
===================================================== */


.portfolio-box {

    height: 500px;

}


.portfolio-top {

    height: 70px;

    padding:
        0 20px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

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

}


.portfolio-top h2 {

    margin: 0;

    font-size: 16px;

}


.wip {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 72px;

    height: 38px;

    background:
        var(--green);

    color:
        white;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.portfolio-visual {

    height: 378px;

    overflow: hidden;

}


.portfolio-visual img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease;

}


.portfolio-box:hover
.portfolio-visual img {

    transform:
        scale(1.025);

}


.cad-visual {

    padding:
        17px;

    background:
        #ecebe7;

}


.cad-visual img {

    object-fit: contain;

}


.buggy-visual {

    padding:
        14px;

    background:
        #ecebe7;

}


.buggy-visual img {

    object-fit: contain;

}


.portfolio-bottom {

    height: 51px;

    padding:
        0 20px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    color:
        var(--muted);

    font-size: 8px;

}


.portfolio-bottom strong {

    color:
        var(--ink);

}



/* =====================================================
   EXPERIENCE
===================================================== */


.experience-box {

    min-height: 590px;

    padding:
        0 12px 12px;

    background:
        var(--green);

}


.experience-header {

    height: 80px;

    margin:
        0 -12px 12px;

    padding:
        0 20px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    border-bottom:
        1px solid
        rgba(255,255,255,.18);

}


.experience-header h2 {

    margin:
        4px 0 0;

    color:
        white;

    font-size: 17px;

}


.experience-eyebrow {

    color:
        #a9bdb4;

}


.experience-header > a {

    color:
        #d5dfda;

    font-size: 9px;

}



/* COMPANY PREVIEWS */


.company-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

}


.company-card {

    position: relative;

    height: 237px;

    overflow: hidden;

    background:
        var(--badge-color, #d9d8d2);

}


.company-card > img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .3s ease;

}


.company-card:hover > img {

    transform:
        scale(1.04);

}


.company-logo {

    object-fit: contain !important;

    padding: 28px;

}


.company-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            to top,
            rgba(10,14,11,.94),
            rgba(10,14,11,.5) 35%,
            rgba(10,14,11,.05) 72%
        );

}


.company-info {

    position: absolute;

    left: 14px;

    right: 14px;

    bottom: 13px;

    color: white;

}


.company-info > span {

    font-size: 6px;

    letter-spacing: 1px;

    color:
        #d0d8d3;

}


.company-info h3 {

    margin:
        4px 0;

    font-family:
        Georgia,
        serif;

    font-size: 21px;

    font-weight: 400;

}


.company-info p {

    max-width:
        220px;

    margin:
        0 0 7px;

    color:
        #d9dfdb;

    font-size: 7.5px;

    line-height: 1.4;

}


.company-info strong {

    font-size: 7.5px;

    font-weight: 500;

}



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


.manufacturing-box {

    min-height:
        590px;

    padding:
        27px;

}


.manufacturing-title {

    margin-top:
        55px;

}


.manufacturing-title > span {

    color:
        var(--green);

    font-size:
        9px;

    letter-spacing:
        2px;

}


.manufacturing-title h2 {

    max-width:
        460px;

    margin:
        10px 0 25px;

    font-family:
        Georgia,
        serif;

    font-size:
        45px;

    line-height:
        .98;

    letter-spacing:
        -2px;

    font-weight:
        400;

}


.manufacturing-description {

    max-width:
        450px;

    color:
        var(--text);

    font-size:
        11px;

    line-height:
        1.55;

}


.sectors {

    margin-top:
        38px;

}


.sectors > div {

    display: grid;

    grid-template-columns:
        28px 130px 1fr;

    gap:
        12px;

    padding:
        13px 0;

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

    transition: padding-left .2s ease;

}


.sectors > div:hover {

    padding-left: 6px;

}


.sectors span {

    color:
        var(--muted);

    font-size:
        7px;

}


.sectors h3 {

    margin: 0;

    font-size:
        10px;

}


.sectors p {

    margin: 0;

    color:
        var(--muted);

    font-size:
        8px;

    line-height: 1.4;

}



/* =====================================================
   PERSONAL
===================================================== */


.life-box {

    height: 430px;

    padding:
        14px;

}


.life-images {

    height: 315px;

    display: grid;

    grid-template-columns:
        1.45fr .55fr;

    gap:
        10px;

}


.life-images img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.life-main {

    overflow: hidden;

}


.life-secondary {

    display: grid;

    grid-template-rows:
        1fr 1fr;

    gap: 10px;

    overflow: hidden;

}


.life-secondary img {

    height: 100%;

}


.life-bottom {

    height: 86px;

    padding:
        13px 5px 0;

    display: flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

}


.life-bottom h2 {

    margin:
        6px 0 0;

    font-family:
        Georgia,
        serif;

    font-size:
        24px;

    font-weight: 400;

}



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


.contact-box {

    height:
        430px;

    padding:
        27px;

    background:
        var(--navy);

    color:
        white;

}


.contact-eyebrow {

    color:
        #b2bec5;

}


.contact-box h2 {

    max-width:
        455px;

    margin:
        44px 0 36px;

    font-family:
        Georgia,
        serif;

    font-size:
        39px;

    line-height:
        1.03;

    font-weight:
        400;

}


.contact-links {

    border-top:
        1px solid
        rgba(255,255,255,.25);

}


.contact-links a {

    display: grid;

    grid-template-columns:
        70px 1fr 20px;

    gap:
        12px;

    padding:
        13px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.18);

    transition: padding-left .2s ease;

}


.contact-links a:hover {

    padding-left: 6px;

}


.contact-links span {

    color:
        #b2bec5;

    font-size: 7px;

}


.contact-links strong {

    font-size:
        9px;

    font-weight: 400;

}


.contact-links i {

    font-size:
        9px;

    font-style: normal;

}



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


footer {

    display: flex;

    justify-content:
        space-between;

    margin-top:
        22px;

    padding:
        22px 0 40px;

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

    color:
        var(--muted);

    font-size:
        8px;

}



/* =====================================================
   ONLY COLLAPSE ON SMALL SCREENS
===================================================== */


/* =====================================================
   PLACEHOLDER PAGES (cad.html / projects.html)
===================================================== */


.placeholder-wrap {

    min-height: 60vh;

    display: flex;

    align-items: center;

    justify-content: center;

}


.placeholder-box {

    max-width: 480px;

    text-align: center;

    padding: 50px 40px;

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

    background: var(--paper);

}


.placeholder-box h1 {

    margin: 14px 0 10px;

    font-family:
        Georgia,
        serif;

    font-size: 30px;

    line-height: 1.15;

    font-weight: 400;

}


.placeholder-box p {

    margin: 0 0 22px;

    color:
        var(--text);

    font-size: 13px;

}



/* =====================================================
   PROJECT LIST (projects.html)
===================================================== */


.project-list {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 22px;

    margin: 30px auto 60px;

}


.project-card {

    display: flex;

    flex-direction: column;

}


.project-card-visual {

    height: 260px;

    overflow: hidden;

    background: #ecebe7;

}


.project-card-visual img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;

}


.project-card:hover .project-card-visual img {

    transform: scale(1.03);

}


.project-card-info {

    padding: 22px;

}


.project-card-info h2 {

    margin: 8px 0 10px;

    font-family:
        Georgia,
        serif;

    font-size: 24px;

    font-weight: 400;

}


.project-card-info p {

    margin: 0 0 14px;

    color: var(--text);

    font-size: 12px;

    line-height: 1.55;

}


.project-card-info strong {

    font-size: 10px;

    letter-spacing: .5px;

}


.project-card-wip {

    align-items: center;

    justify-content: center;

    gap: 14px;

    color: var(--muted);

    font-size: 11px;

    padding: 22px;

}


@media (max-width: 760px) {

    .project-list {

        grid-template-columns: 1fr;

    }

}



/* =====================================================
   PROJECT DETAIL PAGE (project-buggy.html)
===================================================== */


.project-header {

    max-width: 720px;

    margin: 50px auto 10px;

}


.project-header h1 {

    margin: 12px 0 14px;

    font-family:
        Georgia,
        serif;

    font-size: 42px;

    line-height: 1.02;

    letter-spacing: -1px;

    font-weight: 400;

}


.project-header p {

    margin: 0 0 20px;

    color: var(--text);

    font-size: 13px;

    line-height: 1.6;

    max-width: 600px;

}


.project-gallery {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin: 30px auto;

}


.project-gallery .gallery-item {

    height: 260px;

}


.project-body {

    max-width: 720px;

    margin: 20px auto 70px;

}


.project-body h2 {

    margin: 46px 0 14px;

    font-family:
        Georgia,
        serif;

    font-size: 24px;

    font-weight: 400;

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

    padding-top: 30px;

}


.project-body h2:first-child {

    margin-top: 0;

    border-top: none;

    padding-top: 0;

}


.project-body p {

    margin: 0 0 14px;

    color: var(--text);

    font-size: 13px;

    line-height: 1.65;

}


.project-body ul {

    margin: 0 0 14px;

    padding-left: 20px;

    color: var(--text);

    font-size: 13px;

    line-height: 1.65;

}


.project-body li {

    margin-bottom: 6px;

}


.project-body code {

    font-family: 'Courier New', monospace;

    font-size: 12px;

    background: var(--paper2);

    padding: 1px 5px;

    border-radius: 2px;

}


.project-body pre {

    background: var(--ink);

    color: #d7ddd8;

    padding: 18px 20px;

    overflow-x: auto;

    font-family: 'Courier New', monospace;

    font-size: 12px;

    line-height: 1.6;

    margin: 0 0 20px;

}


.project-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin: 18px 0 0;

}


.project-tags span {

    font-size: 9px;

    letter-spacing: .5px;

    color: var(--muted);

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

    padding: 5px 10px;

}


@media (max-width: 760px) {

    .project-gallery {

        grid-template-columns: 1fr 1fr;

    }

    .project-gallery .gallery-item {

        height: 160px;

    }

}



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


.project-hero {

    display: grid;

    grid-template-columns:
        1.1fr 1fr;

    gap: 30px;

    margin: 40px auto 20px;

    align-items: center;

}


.project-hero-visual {

    height: 420px;

    overflow: hidden;

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

    background: #ecebe7;

}


.project-hero-visual img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.project-hero-info h1 {

    margin: 12px 0 16px;

    font-family:
        Georgia,
        serif;

    font-size: 38px;

    line-height: 1.05;

    letter-spacing: -1px;

    font-weight: 400;

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

}


.group-tag {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 9px;

    letter-spacing: .5px;

    color: var(--muted);

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

    padding: 4px 9px;

    vertical-align: middle;

}


.wip-tag {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 9px;

    letter-spacing: .5px;

    color: #8a5a00;

    border: 1px solid #b8952e;

    background: rgba(184,149,46,.14);

    padding: 4px 9px;

    vertical-align: middle;

}


.project-hero-info p {

    color: var(--text);

    font-size: 13px;

    line-height: 1.6;

    max-width: 480px;

    margin: 0 0 20px;

}


.stat-row {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 20px;

}


.stat-row span {

    font-size: 9px;

    letter-spacing: .4px;

    color: var(--muted);

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

    padding: 6px 10px;

}


.stat-gold {

    color: var(--ink) !important;

    border-color: #b8952e !important;

    background: rgba(184,149,46,.12);

}


.stat-wip {

    color: #8a5a00 !important;

    border-color: #b8952e !important;

    background: rgba(184,149,46,.14);

    font-weight: 700;

}


@media (max-width: 760px) {

    .project-hero {

        grid-template-columns: 1fr;

    }

    .project-hero-visual {

        height: 280px;

    }

}



/* =====================================================
   PROJECT OVERVIEW / ARCHITECTURE
===================================================== */


.overview-row {

    max-width: 700px;

}


.arch-flow {

    max-width: 480px;

    margin: 24px 0;

    display: flex;

    flex-direction: column;

}


.arch-flow div {

    padding: 12px 16px;

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

    background: var(--paper2);

    font-size: 11px;

    text-align: center;

    position: relative;

}


.arch-flow div:not(:last-child) {

    margin-bottom: 18px;

}


.arch-flow div:not(:last-child)::after {

    content: '↓';

    position: absolute;

    left: 50%;

    bottom: -20px;

    transform: translateX(-50%);

    color: var(--muted);

    font-size: 12px;

}


.fritzing-card {

    max-width: 620px;

    padding: 20px;

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

    background: var(--paper2);

    text-align: center;

}


.fritzing-card img {

    width: 100%;

    max-width: 480px;

    margin: 0 auto;

}


.fritzing-caption {

    display: block;

    margin-top: 14px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.5;

}



/* =====================================================
   DEVELOPMENT STAGES
===================================================== */


.stage-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

}


.stage-card {

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

    background: var(--paper2);

    padding: 20px;

}


.stage-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 14px;

}


.stage-num {

    font-size: 10px;

    color: var(--muted);

    letter-spacing: 1px;

}


.stage-badge {

    font-size: 9px;

    letter-spacing: .5px;

    font-weight: 700;

    padding: 4px 9px;

    color: white;

}


.stage-bronze { background: #a06a3e; }
.stage-silver { background: #8b8f94; }
.stage-gold   { background: #b8952e; }


.stage-card h3 {

    margin: 0 0 10px;

    font-family:
        Georgia,
        serif;

    font-size: 17px;

    font-weight: 400;

}


.stage-card p,
.stage-card ul {

    font-size: 11.5px;

    line-height: 1.55;

    color: var(--text);

}


.stage-card ul {

    margin: 0 0 10px;

    padding-left: 18px;

}


.stage-card li {

    margin-bottom: 5px;

}


@media (max-width: 760px) {

    .stage-grid {

        grid-template-columns: 1fr;

    }

}



/* =====================================================
   ENGINEERING HIGHLIGHTS
===================================================== */


.highlight-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

}


.highlight-card {

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

    padding: 20px;

    transition: border-color .2s ease, transform .2s ease;

}


.highlight-card:hover {

    border-color: #a89e8f;

    transform: translateY(-3px);

}


.highlight-icon {

    display: block;

    font-size: 22px;

    margin-bottom: 10px;

}


.highlight-card h3 {

    margin: 0 0 8px;

    font-size: 13px;

    font-weight: 700;

}


.highlight-card p {

    margin: 0;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.5;

}


@media (max-width: 760px) {

    .highlight-grid {

        grid-template-columns: 1fr 1fr;

    }

}


.highlight-grid-5 {

    grid-template-columns:
        repeat(3, 1fr);

}


@media (max-width: 900px) {

    .highlight-grid-5 {

        grid-template-columns: 1fr 1fr;

    }

}



/* =====================================================
   RESULT BANNER
===================================================== */


.result-banner {

    max-width: 1180px;

    margin: 50px auto;

    padding: 50px 40px;

    text-align: center;

    background: var(--green);

    color: white;

}


.result-banner .eyebrow {

    color: #b9cac2;

}


.result-banner h2 {

    margin: 14px 0 16px;

    font-family:
        Georgia,
        serif;

    font-size: 30px;

    font-weight: 400;

}


.result-flow {

    margin: 0;

    color: #d3e0da;

    font-size: 12px;

    letter-spacing: .3px;

}



/* =====================================================
   STATUS BANNER (in-progress notice)
===================================================== */


.status-banner {

    max-width: 900px;

    margin: 0 auto 10px;

    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 20px 24px;

    border: 1px solid #b8952e;

    background: rgba(184,149,46,.08);

}


.status-icon {

    font-size: 20px;

    line-height: 1;

}


.status-banner p {

    margin: 0;

    color: var(--text);

    font-size: 12.5px;

    line-height: 1.6;

}


.status-banner strong {

    color: #8a5a00;

}



/* =====================================================
   COMPARISON TABLE
===================================================== */


.compare-table-wrap {

    overflow-x: auto;

    margin: 20px 0;

}


.compare-table {

    width: 100%;

    border-collapse: collapse;

    font-size: 11px;

}


.compare-table th,
.compare-table td {

    text-align: left;

    padding: 10px 12px;

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

    vertical-align: top;

}


.compare-table th {

    background: var(--paper2);

    font-size: 9px;

    letter-spacing: .5px;

    color: var(--muted);

    white-space: nowrap;

}


.compare-table td {

    color: var(--text);

    line-height: 1.5;

}


.compare-table td:first-child {

    font-weight: 700;

    color: var(--ink);

    white-space: nowrap;

}



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


.gallery-intro {

    max-width: 640px;

    margin: 50px auto 10px;

}


.gallery-intro h1 {

    margin: 12px 0 14px;

    font-family:
        Georgia,
        serif;

    font-size: 42px;

    line-height: 1.02;

    letter-spacing: -1px;

    font-weight: 400;

}


.gallery-intro p {

    margin: 0 0 20px;

    color:
        var(--text);

    font-size: 13px;

    line-height: 1.55;

}


.back-link {

    display: inline-block;

    font-size: 11px;

    color:
        var(--muted);

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

    padding-bottom: 2px;

    transition: color .2s ease, border-color .2s ease;

}


.back-link:hover {

    color:
        var(--ink);

    border-color:
        var(--ink);

}


.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    grid-auto-rows: 220px;

    gap: 14px;

    margin: 30px auto 60px;

}


.gallery-item {

    position: relative;

    overflow: hidden;

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

    background: var(--paper2);

}


.gallery-item.tall {

    grid-row: span 2;

}


.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;

}


.gallery-item:hover img {

    transform: scale(1.05);

}


@media (max-width: 760px) {

    .gallery-grid {

        grid-template-columns:
            1fr 1fr;

        grid-auto-rows: 160px;

    }

    .gallery-intro h1 {

        font-size: 32px;

    }

}



@media (max-width: 760px) {

    .topbar,
    main,
    footer {

        width:
            calc(100% - 22px);

    }


    nav {

        gap: 12px;

    }


    .row {

        grid-template-columns:
            1fr;

    }


    .company-grid {

        grid-template-columns:
            1fr 1fr;

    }


    footer {

        flex-direction:
            column;

        gap: 4px;

    }

}
