/*

   MACHINEABILITY WEBSITE STYLES

   ----------------------------

   Main color and width settings are near the top in :root.

   Later override sections are intentional: they adjust earlier styles for the dark theme and image-based pages.

   Change the earlier base rules first; check later overrides before changing the same selector.

*/

/* MachineAbility light industrial theme */



/* GLOBAL SETTINGS & BASE ELEMENTS */

:root {
    --navy: #142b3a;
    --ink: #1d2b35;
    --muted: #64727c;
    --line: #dce3e7;
    --soft: #f3f6f7;
    --accent: #d47b36;
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: white;
    font: 16px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}

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

img {
    display: block;
    max-width: 100%;
}

.wrap {
    width: min(var(--max),calc(100% - 48px));
    margin: auto;
}

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 12px;
    top: 12px;
    background: white;
    padding: 12px;
    z-index: 20;
}



/* SITE HEADER & NAVIGATION */

.site-header {
    background: var(--navy);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #ffffff20;
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.brand b {
    display: block;
    letter-spacing: .13em;
    font-size: 15px;
}

.brand small {
    display: block;
    color: #b9c9d3;
    font-size: 9px;
    letter-spacing: .15em;
    margin-top: 3px;
}

.brand-mark {
    width: 39px;
    height: 39px;
    border: 1px solid #86a7ba;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-size: 19px;
    font-weight: 800;
    color: #dce8ee;
}

.brand-mark span {
    color: var(--accent);
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    font-size: 13px;
    color: #d6e0e5;
    padding: 29px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover,nav a
.active {
    color: white;
    border-color: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #607989;
    color: white;
    padding: 9px 12px;
    border-radius: 4px;
}



/* HERO & BUTTONS */

.hero {
    background: linear-gradient(120deg,#eef3f5,#f8fafb);
    padding: 76px 0 84px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 64px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .17em;
    font-weight: 750;
    color: #a75e2c;
    margin: 0 0 15px;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(42px,5.4vw,68px);
    line-height: 1.04;
    letter-spacing: -.045em;
    margin: 0 0 22px;
    color: var(--navy);
    font-weight: 750;
}

.hero h1 em,.page-hero h1 em {
    font-style: normal;
    color: #9c5a2d;
}

.lead {
    font-size: 18px;
    line-height: 1.65;
    color: #586873;
    max-width: 650px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 13px 19px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
}

.btn-primary {
    background: var(--navy);
    color: white;
}

.btn-primary:hover {
    background: #294b60;
}

.btn-outline {
    border: 1px solid #b8c4cb;
    color: var(--navy);
}

.hero-note {
    font-size: 12px;
    color: #65747d;
    display: flex;
    align-items: center;
    gap: 9px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4f927c;
}

.hero-visual {
    position: relative;
}

.hero-visual>img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 22px 55px #182c3a24;
}

.visual-caption {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: #142b3aeb;
    color: white;
    padding: 14px 18px;
    border-left: 3px solid var(--accent);
}

.visual-caption b,
.visual-caption span {
    display: block;
}

.visual-caption span {
    font-size: 11px;
    color: #c7d4dc;
}



/* SECTIONS & CONTENT CARDS */

.section {
    padding: 82px 0;
}

.section-dark {
    background: var(--navy);
    color: white;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 36px;
    margin-bottom: 34px;
}

.section-heading h2,
.contact-band h2 {
    font-size: clamp(30px,3.6vw,43px);
    line-height: 1.13;
    letter-spacing: -.035em;
    color: var(--navy);
    margin: 0;
}

.section-heading>p {
    max-width: 440px;
    color: var(--muted);
    margin: 0;
}

.section-heading,.light h2 {
    color: white;
}

.section-heading.light .eyebrow {
    color: #e4a16b;
}

.text-link {
    font-size: 13px;
    color: #e2a16c;
    font-weight: 700;
    white-space: nowrap;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.cap-card {
    border: 1px solid var(--line);
    padding: 25px 22px;
    min-height: 225px;
    transition: .2s;
}

.cap-card:hover {
    transform: translateY(-4px);
    border-color: #b8c7d0;
    box-shadow: 0 14px 28px #142b3a0d;
}

.card-icon {
    font-size: 12px;
    color: #a75e2c;
    font-weight: 800;
    letter-spacing: .12em;
}

.cap-card h3 {
    font-size: 19px;
    margin: 22px 0 8px;
    color: var(--navy);
}

.cap-card p,.project-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

.arrow {
    font-size: 12px;
    color: #a75e2c;
    font-weight: 700;
}

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

.project-card {
    display: block;
    background: #1c394a;
    border: 1px solid #ffffff18;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .35s;
}

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

.project-card>div {
    padding: 22px;
}

.project-card small {
    font-size: 10px;
    letter-spacing: .13em;
    color: #e5a16a;
}

.project-card h3 {
    font-size: 21px;
    margin: 8px 0;
    color: white;
}

.project-card p {
    color: #c2d0d8;
}

.section-dark .project-card {
    background: #1b3545;
}



/* CONTACT BANNER & PAGE HEADERS */

.contact-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: var(--soft);
    padding: 38px;
}

.contact-band h2 {
    font-size: 30px;
}

.contact-band p:not(.eyebrow) {
    color: var(--muted);
    margin-bottom: 0;
}

.page-hero {
    background: var(--soft);
    padding: 70px 0 76px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(42px,5vw,62px);
}

.page-hero .lead {
    margin-bottom: 0;
}



/* CAPABILITY & PROJECT DETAIL LAYOUTS */

.capability-list {
    display: grid;
    gap: 0;
}

.capability-row {
    display: grid;
    grid-template-columns: 1fr .85fr;
    align-items: center;
    gap: 60px;
    padding: 42px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 100px;
}

.capability-row h2 {
    font-size: 30px;
    letter-spacing: -.03em;
    color: var(--navy);
    margin: 0 0 12px;
}

.capability-row p,.prose p,.prose li {
    color: #56656f;
}

.capability-row ul,.contact-note ul {
    padding-left: 20px;
    color: #56656f;
    font-size: 14px;
}

.capability-row figure {
    margin: 0;
}

.capability-row img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    border-radius: 4px;
}

.project-grid-all .project-card {
    background: white;
    border: 1px solid var(--line);
}

.project-grid-all .project-card h3 {
    color: var(--navy);
}

.project-grid-all .project-card p {
    color: var(--muted);
}

.project-grid-all .project-card img {
    height: 245px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0,760px) 1fr;
    gap: 70px;
    margin-bottom: 40px;
}

.prose h2 {
    color: var(--navy);
    font-size: 25px;
    margin: 34px 0 12px;
}

.prose p {
    margin: 0 0 18px;
}

.prose a {
    color: #9c5a2d;
    text-decoration: underline;
}

.detail-aside {
    border-left: 1px solid var(--line);
    padding-left: 24px;
    color: var(--muted);
    font-size: 13px;
    align-self: start;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.gallery figure {
    margin: 0;
    background: #edf1f3;
}

.gallery img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}
.gallery-two-col {
    grid-template-columns: repeat(2, 1fr);
}
.gallery-two-col img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.gallery-one-col {
    grid-template-columns: repeat(1, 1fr);
}
.gallery-one-col img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.gallery-big {
    grid-template-columns: repeat(1, 1fr);
}
.gallery-big img {
    width: 100%;
    height: 800px;
    object-fit: cover;
}

.back-link {
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.narrow {
    max-width: 760px;
}



/* CONTACT PAGE */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 80px;
}

.email-link {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: #9c5a2d;
    margin: 12px 0;
}

.muted {
    font-size: 12px;
    color: #81909a;
}

.contact-note {
    background: var(--soft);
    padding: 28px;
}

.contact-note h3 {
    color: var(--navy);
}

.contact-note li {
    margin: 9px 0;
}



/* FOOTER */

.site-footer {
    background: #102330;
    color: white;
    padding: 42px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    align-items: center;
}

.footer-inner p {
    font-size: 12px;
    color: #aebec8;
}

.footer-links {
    display: flex;
    gap: 22px;
    font-size: 12px;
    color: #d4dfe5;
}

.footer-inner>small {
    grid-column: 1/-1;
    color: #8296a2;
    font-size: 11px;
    border-top: 1px solid #ffffff20;
    padding-top: 18px;
}

.brand-footer .brand-mark {
    width: 34px;
    height: 34px;
}

@media (max-width:850px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .hero-visual>img {
        height: 350px;
    }
    .cap-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .project-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .section-heading {
        align-items: start;
        flex-direction: column;
    }
    .capability-row {
        gap: 30px;
    }
    .detail-layout {
        gap: 30px;
    }
}

@media (max-width:600px) {
    .wrap {
        width: min(var(--max),calc(100% - 32px));
    }
    .header-inner {
        min-height: 70px;
    }
    .menu-toggle {
        display: block;
    }
    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 10px 20px 20px;
        flex-direction: column;
        gap: 0;
    }
    nav.open {
        display: flex;
    }
    nav a {
        padding: 12px 0;
    }
    .brand b {
        font-size: 13px;
    }
    .hero {
        padding: 55px 0;
    }
    .hero h1,.page-hero h1 {
        font-size: 43px;
    }
    .hero-visual>img {
        height: 280px;
    }
    .section {
        padding: 58px 0;
    }
    .cap-grid,.project-grid,.gallery {
        grid-template-columns: 1fr;
    }
    .project-card img {
        height: 220px;
    }
    .capability-row {
        grid-template-columns: 1fr;
        padding: 30px 0;
    }
    .capability-row img {
        height: 230px;
    }
    .detail-layout,.contact-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .detail-aside {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 18px 0 0;
    }
    .gallery img {
        height: 250px;
    }
    .contact-band {
        align-items: start;
        flex-direction: column;
        padding: 25px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-links {
        flex-wrap: wrap;
    }
    .footer-inner>small {
        grid-column: auto;
    }
}



/* DARK THEME OVERRIDES */

/* MachineAbility dark industrial theme */

:root {
    --navy: #0e1d28;
    --ink: #dce5ea;
    --muted: #a6b4bd;
    --line: #2b3d49;
    --soft: #14232e;
    --accent: #d78a4d;
    --max: 1200px;
}

body {
    background: #0b141c;
    color: #dce5ea;
}

.site-header {
    background: #0a141c;
    border-bottom-color: #263844;
}

.brand small {
    color: #9fb0bb;
}

nav a {
    color: #c5d0d6;
}

.hero:not(.hero--image) {
    background: #101e28;
}

.hero h1,.page-hero h1,.section-heading h2,.contact-band h2,.capability-row h2,.prose h2 {
    color: #edf3f6;
}

.hero h1 em,.page-hero h1 em,.section-heading h2 em {
    color: #e1a06a;
}

.lead {
    color: #c1cdd4;
}

.hero-note {
    color: #b3c1c9;
}

.btn-primary {
    background: #c9793e;
    color: #101a21;
}

.btn-primary:hover {
    background: #e09255;
}

.btn-outline {
    border-color: #8a9aa4;
    color: #f0f4f6;
    background: #101c26aa;
}

.section {
    background: #0b141c;
}

.section-dark {
    background: #101f2a;
}

.section-heading>p {
    color: #b3c0c8;
}

.cap-card {
    background: #111f29;
    border-color: #2b3d49;
}

.cap-card h3 {
    color: #edf3f6;
}

.cap-card p,.project-card p {
    color: #b7c4cc;
}

.cap-card:hover {
    border-color: #9c704f;
    box-shadow: 0 14px 28px #0005;
}

.card-icon,.arrow {
    color: #e3a06b;
}

.project-card,.project-grid-all .project-card {
    background: #132430;
    border-color: #2c414f;
}

.project-card h3,.project-grid-all .project-card h3 {
    color: #f1f5f7;
}

.project-card p,.project-grid-all .project-card p {
    color: #bac7cf;
}

.page-hero {
    background: #101f2a;
    border-color: #2b3d49;
}

.capability-row {
    border-color: #2b3d49;
}

.capability-row p,.prose p,.prose li,.capability-row ul {
    color: #b7c4cc;
}

.capability-row img,.gallery img {
    border-radius: 3px;
}

.gallery figure {
    background: #132430;
    border: 1px solid #2b3d49;
}

.gallery figcaption {
    padding: 10px 12px;
    color: #bdc9d0;
    font-size: 12px;
}

.detail-aside {
    border-color: #2b3d49;
    color: #b6c3cb;
}

.contact-band,.contact-note {
    background: #142430;
    border: 1px solid #2b3d49;
}

.contact-band p:not(.eyebrow),.contact-note li {
    color: #b9c6ce;
}

.contact-note h3 {
    color: #edf3f6;
}

.email-link {
    color: #e3a06b;
}

.prose a {
    color: #e3a06b;
}

.back-link {
    border-color: #2b3d49;
}

.site-footer {
    background: #070f15;
    border-top: 1px solid #263844;
}

.footer-inner p,.footer-inner>small {
    color: #94a5af;
}

.footer-links {
    color: #c5d0d6;
}



/* IMAGE-BASED HERO & FEATURED PROJECT STYLES */

.hero--image {
    min-height: 660px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: #07121a url("assets/image/PanAmerica.jpg") center 55%/cover no-repeat;
    overflow: hidden;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(4,12,18,.97) 0%,rgba(4,12,18,.88) 36%,rgba(4,12,18,.28) 100%),linear-gradient(0deg,rgba(4,12,18,.38),transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.hero--image h1 {
    color: #f3f6f8;
    font-size: clamp(50px,6vw,78px);
    max-width: 720px;
}

.hero--image h1 em {
    color: #e5a16a;
}

.hero--image .lead {
    max-width: 660px;
    color: #d0dbe1;
    font-size: 18px;
}

.hero--image .eyebrow {
    color: #e4a16b;
}

.hero-caption {
    position: absolute;
    right: 32px;
    bottom: 22px;
    z-index: 1;
    color: #d1dce2;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: #08131bbd;
    padding: 9px 13px;
    border-left: 2px solid #d78a4d;
}

.cap-grid-six {
    grid-template-columns: repeat(3,1fr);
}

.page-hero-image {
    background: #0a151e url("assets/image/PanAmerica.jpg") center 56%/cover no-repeat;
    position: relative;
    isolation: isolate;
}

.page-hero-image:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#07121af2,#07121ac9 60%,#07121a75);
    z-index: -1;
}

.page-hero-image h1 {
    color: #f3f6f8;
}

.page-hero-image .lead {
    color: #d1dce2;
}

.pan-hero {
    background-position: center 60%;
}

.art-gallery {
    grid-template-columns: repeat(4,1fr);
}

.art-gallery img {
    height: 250px;
    object-fit: cover;
}

.art-gallery figure:nth-child(2),.art-gallery figure:nth-child(5),.art-gallery figure:nth-child(7) {
    grid-row: span 1;
}

.pan-layout {
    display: grid;
    grid-template-columns: minmax(0,760px) 1fr;
    gap: 64px;
}

.pan-aside {
    background: #132430;
    border: 1px solid #2b3d49;
    border-left: 3px solid #c9793e;
    padding: 24px;
}

.pan-aside h3 {
    color: #f0f4f6;
    margin-top: 0;
}

.pan-aside ul {
    padding-left: 20px;
    line-height: 1.8;
}

.video-note {
    padding: 15px 18px;
    background: #132430;
    border-left: 3px solid #c9793e;
}

.video-callout {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    border: 1px solid #344b5a;
    background: #132430;
}

.video-callout h3 {
    color: #f0f4f6;
    margin: 0 0 6px;
}

.video-callout p {
    color: #b8c6ce;
    margin: 0;
}

.video-play {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #c9793e;
    color: #101a21;
    font-size: 21px;
    padding-left: 4px;
}

.video-callout .btn {
    margin-left: auto;
    white-space: nowrap;
}

.service-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-links>a {
    display: block;
    padding: 28px;
    border: 1px solid #2b3d49;
    background: #132430;
}

.service-links h2 {
    color: #edf3f6;
    margin: 8px 0 0;
    font-size: 24px;
}



/* RESPONSIVE LAYOUTS */

@media (max-width:850px) {
    .cap-grid-six {
        grid-template-columns: repeat(2,1fr);
    }
    .art-gallery {
        grid-template-columns: repeat(2,1fr);
    }
    .pan-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .video-callout {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .video-callout .btn {
        margin-left: 0;
    }
}

@media (max-width:600px) {
    .hero--image {
        min-height: 610px;
        padding: 72px 0;
        background-position: 62% center;
    }
    .hero-shade {
        background: linear-gradient(90deg,rgba(4,12,18,.96),rgba(4,12,18,.73));
    }
    .hero--image h1 {
        font-size: 47px;
    }
    .hero--image .lead {
        font-size: 16px;
    }
    .hero-caption {
        right: 16px;
        bottom: 14px;
        font-size: 9px;
    }
    .cap-grid-six,.art-gallery,.service-links {
        grid-template-columns: 1fr;
    }
    .art-gallery img {
        height: 260px;
    }
    .video-callout {
        padding: 20px;
    }
    .video-callout .btn {
        width: 100%;
        justify-content: center;
    }
}



/* ADDITIONAL DARK THEME OVERRIDES */

/* MachineAbility dark industrial theme */

:root {
    --navy: #0e1d28;
    --ink: #dce5ea;
    --muted: #a6b4bd;
    --line: #2b3d49;
    --soft: #14232e;
    --accent: #d78a4d;
    --max: 1200px;
}

body {
    background: #0b141c;
    color: #dce5ea;
}

.site-header {
    background: #0a141c;
    border-bottom-color: #263844;
}

.brand small {
    color: #9fb0bb;
}

nav a {
    color: #c5d0d6;
}

.hero:not(.hero--image) {
    background: #101e28;
}

.hero h1,.page-hero h1,.section-heading h2,.contact-band h2,.capability-row h2,.prose h2 {
    color: #edf3f6;
}

.hero h1 em,.page-hero h1 em,.section-heading h2 em {
    color: #e1a06a;
}

.lead {
    color: #c1cdd4;
}

.hero-note {
    color: #b3c1c9;
}

.btn-primary {
    background: #c9793e;
    color: #101a21;
}

.btn-primary:hover {
    background: #e09255;
}

.btn-outline {
    border-color: #8a9aa4;
    color: #f0f4f6;
    background: #101c26aa;
}

.section {
    background: #0b141c;
}

.section-dark {
    background: #101f2a;
}

.section-heading>p {
    color: #b3c0c8;
}

.cap-card {
    background: #111f29;
    border-color: #2b3d49;
}

.cap-card h3 {
    color: #edf3f6;
}

.cap-card p,.project-card p {
    color: #b7c4cc;
}

.cap-card:hover {
    border-color: #9c704f;
    box-shadow: 0 14px 28px #0005;
}

.card-icon,.arrow {
    color: #e3a06b;
}

.project-card,.project-grid-all .project-card {
    background: #132430;
    border-color: #2c414f;
}

.project-card h3,.project-grid-all .project-card h3 {
    color: #f1f5f7;
}

.project-card p,.project-grid-all .project-card p {
    color: #bac7cf;
}

.page-hero {
    background: #101f2a;
    border-color: #2b3d49;
}

.capability-row {
    border-color: #2b3d49;
}

.capability-row p,.prose p,.prose li,.capability-row ul {
    color: #b7c4cc;
}

.capability-row img,.gallery img {
    border-radius: 3px;
}

.gallery figure {
    background: #132430;
    border: 1px solid #2b3d49;
}

.gallery figcaption {
    padding: 10px 12px;
    color: #bdc9d0;
    font-size: 12px;
}

.detail-aside {
    border-color: #2b3d49;
    color: #b6c3cb;
}

.contact-band,.contact-note {
    background: #142430;
    border: 1px solid #2b3d49;
}

.contact-band p:not(.eyebrow),.contact-note li {
    color: #b9c6ce;
}

.contact-note h3 {
    color: #edf3f6;
}

.email-link {
    color: #e3a06b;
}

.prose a {
    color: #e3a06b;
}

.back-link {
    border-color: #2b3d49;
}

.site-footer {
    background: #070f15;
    border-top: 1px solid #263844;
}

.footer-inner p,.footer-inner>small {
    color: #94a5af;
}

.footer-links {
    color: #c5d0d6;
}



/* IMAGE HERO & FEATURE PAGE OVERRIDES Page overrides*/

.hero--image {
    min-height: 660px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: #07121a url("assets/image/cnc-milling-hero.jpg") center 55%/cover no-repeat;
    overflow: hidden;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(4,12,18,.97) 0%,rgba(4,12,18,.88) 36%,rgba(4,12,18,.28) 100%),linear-gradient(0deg,rgba(4,12,18,.38),transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.hero--image h1 {
    color: #f3f6f8;
    font-size: clamp(50px,6vw,78px);
    max-width: 720px;
}

.hero--image h1 em {
    color: #e5a16a;
}

.hero--image .lead {
    max-width: 660px;
    color: #d0dbe1;
    font-size: 18px;
}

.hero--image .eyebrow {
    color: #e4a16b;
}

.hero-caption {
    position: absolute;
    right: 32px;
    bottom: 22px;
    z-index: 1;
    color: #d1dce2;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: #08131bbd;
    padding: 9px 13px;
    border-left: 2px solid #d78a4d;
}

.cap-grid-six {
    grid-template-columns: repeat(3,1fr);
}

.page-hero-image {
    background: #0a151e url("assets/image/PanAmerica.jpg") center 56%/cover no-repeat;
    position: relative;
    isolation: isolate;
}
  
.page-hero-image:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#07121af2,#07121ac9 60%,#07121a75);
    z-index: -1;
}
.page-hero-image_2 {
    background: #0a151e url("assets/image/ClausingNC_1.jpg") center 56%/cover no-repeat;
    position: relative;
    isolation: isolate;
}   
.page-hero-image_2:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#07121af2,#07121ac9 60%,#07121a75);
    z-index: -1;
}

.page-hero-image h1 {
    color: #f3f6f8;
}

.page-hero-image .lead {
    color: #d1dce2;
}

.pan-hero {
    background-position: center 60%;
}

.art-gallery {
    grid-template-columns: repeat(4,1fr);
}

.art-gallery img {
    height: 250px;
    object-fit: cover;
}

.art-gallery figure:nth-child(2),.art-gallery figure:nth-child(5),.art-gallery figure:nth-child(7) {
    grid-row: span 1;
}

.pan-layout {
    display: grid;
    grid-template-columns: minmax(0,760px) 1fr;
    gap: 64px;
}

.pan-aside {
    background: #132430;
    border: 1px solid #2b3d49;
    border-left: 3px solid #c9793e;
    padding: 24px;
}

.pan-aside h3 {
    color: #f0f4f6;
    margin-top: 0;
}

.pan-aside ul {
    padding-left: 20px;
    line-height: 1.8;
}

.video-note {
    padding: 15px 18px;
    background: #132430;
    border-left: 3px solid #c9793e;
}

.video-callout {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    border: 1px solid #344b5a;
    background: #132430;
}

.video-callout h3 {
    color: #f0f4f6;
    margin: 0 0 6px;
}

.video-callout p {
    color: #b8c6ce;
    margin: 0;
}

.video-play {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #c9793e;
    color: #101a21;
    font-size: 21px;
    padding-left: 4px;
}

.video-callout .btn {
    margin-left: auto;
    white-space: nowrap;
}

.service-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-links>a {
    display: block;
    padding: 28px;
    border: 1px solid #2b3d49;
    background: #132430;
}

.service-links h2 {
    color: #edf3f6;
    margin: 8px 0 0;
    font-size: 24px;
}



/* RESPONSIVE OVERRIDES */

@media (max-width:850px) {
    .cap-grid-six {
        grid-template-columns: repeat(2,1fr);
    }
    .art-gallery {
        grid-template-columns: repeat(2,1fr);
    }
    .pan-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .video-callout {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .video-callout .btn {
        margin-left: 0;
    }
}

@media (max-width:600px) {
    .hero--image {
        min-height: 610px;
        padding: 72px 0;
        background-position: 62% center;
    }
    .hero-shade {
        background: linear-gradient(90deg,rgba(4,12,18,.96),rgba(4,12,18,.73));
    }
    .hero--image h1 {
        font-size: 47px;
    }
    .hero--image .lead {
        font-size: 16px;
    }
    .hero-caption {
        right: 16px;
        bottom: 14px;
        font-size: 9px;
    }
    .cap-grid-six,.art-gallery,.service-links {
        grid-template-columns: 1fr;
    }
    .art-gallery img {
        height: 260px;
    }
    .video-callout {
        padding: 20px;
    }
    .video-callout .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================
   PAN AMERICA PARTS LIST PAGES
   ========================================================== */
.parts-layout{display:grid;grid-template-columns:minmax(0,860px) minmax(210px,1fr);gap:48px;align-items:start}
.parts-intro{margin-bottom:28px}
.parts-intro h2,.parts-tools h2{color:#edf3f6;font-size:clamp(25px,3vw,34px);line-height:1.15;margin:0 0 14px}
.parts-intro p:not(.eyebrow){color:#b7c4cc;max-width:760px}
.parts-table-wrap{width:100%;overflow-x:auto;border:1px solid #2b3d49;border-radius:4px;background:#111f29}
.parts-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums}
.parts-table th,.parts-table td{padding:12px 14px;border-bottom:1px solid #2b3d49;text-align:left;vertical-align:top}
.parts-table thead th{color:#eaf0f3;background:#1a303e;font-size:11px;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
.parts-table .part-description{min-width:260px;color:#dce5ea}
.parts-table .part-number{color:#e4a16b;white-space:nowrap;font-weight:650}
.parts-table .numeric{text-align:right;white-space:nowrap}
.parts-table .parts-group th{padding-top:16px;padding-bottom:8px;color:#e4a16b;background:#0d1a23;font-size:10px;letter-spacing:.14em;text-transform:uppercase}
.parts-table tbody tr:not(.parts-group):hover{background:#172a36}
.parts-table tfoot th,.parts-table tfoot td{background:#1a303e;color:#f2f5f7;font-weight:750;border-bottom:0}
.parts-table .parts-total td{color:#f0b17e;font-size:15px}
.parts-table .parts-total-secondary th,.parts-table .parts-total-secondary td{background:#142430;font-size:13px}
.parts-note{margin-top:24px;padding:22px 24px;background:#132430;border:1px solid #2b3d49;border-left:3px solid #c9793e}
.parts-note h3{margin:0 0 8px;color:#edf3f6}
.parts-note p{margin:0 0 8px;color:#b7c4cc}
.parts-note p:last-child{margin-bottom:0}
.parts-tools{margin-top:42px}
.parts-tools h2{margin-bottom:18px}
.tools-table .part-description{min-width:0}
.parts-disclaimer{margin:24px 0;color:#91a2ad;font-size:12px;line-height:1.65}
.parts-aside{position:sticky;top:110px;padding:22px;background:#132430;border:1px solid #2b3d49;border-left:3px solid #c9793e}
.parts-aside h3{margin-top:0;color:#edf3f6}
.parts-aside p,.parts-aside li{color:#b7c4cc}
.parts-aside a{color:#e3a06b}
.parts-aside a:hover{text-decoration:underline}
.parts-aside ul{padding-left:18px;line-height:1.9}
@media(max-width:850px){.parts-layout{grid-template-columns:1fr;gap:30px}.parts-aside{position:static}}
@media(max-width:600px){.parts-table{font-size:12px}.parts-table th,.parts-table td{padding:10px 11px}.parts-table .part-description{min-width:220px}}
