/* Shared OEM brand system. Public forms keep their original names and behavior. */
:root { --ink:#172337; --navy:#152137; --red:#d9273f; --muted:#56647a; --line:#dce2ea; --surface:#f3f5f8; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:#fff; font:16px/1.65 "Segoe UI",Arial,sans-serif; }
img { max-width:100%; height:auto; }
a { color:inherit; text-underline-offset:4px; }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #1b73d0; outline-offset:4px; }
h1,h2,h3,h4,h5,h6 { line-height:1.15; letter-spacing:-.035em; margin:0 0 20px; color:var(--ink); }
h1 { font-size:clamp(2.5rem,5vw,4.5rem); max-width:900px; }
h2 { font-size:clamp(1.8rem,3vw,2.7rem); }
h3 { font-size:1.45rem; }
p { margin:0 0 20px; }
.shell { width:calc(100% - 64px); margin-inline:auto; }
.intro-carousel { width:100%; margin:0; overflow:hidden; }
.eyebrow { color:var(--red); font-weight:700; font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; margin:0 0 16px; }
.button,button[type=submit] { display:inline-flex; align-items:center; justify-content:center; padding:14px 22px; background:var(--red); color:white; border:1px solid transparent; border-radius:6px; font-weight:650; text-decoration:none; line-height:1.4; cursor:pointer; }
.button:hover,button[type=submit]:hover { background:#b71f34; }
.button.secondary { background:white; color:var(--ink); border-color:var(--line); }
.skip-link { position:absolute; top:-100px; left:20px; background:white; padding:12px; z-index:20; }
.skip-link:focus { top:10px; }
.utility-bar { background:#0e1728; color:#dbe1eb; font-size:.875rem; }
.utility-bar .shell { display:flex; gap:30px; padding-block:9px; }
.utility-bar .shell>:first-child { margin-right:auto; }
.utility-bar a { color:#fff; text-decoration:none; }
/* Keep navigation content opaque over a half-transparent navy background. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    isolation: isolate;
    background: rgba(21, 33, 55, 0.5);
    opacity: 1;
    box-shadow: 0 2px 12px #10192b22;
}
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:25px; min-height:102px; }
.brand { flex:0 0 165px; display:block; }
.brand img { display:block; width:165px; }
#primary-nav { display:flex; gap:20px; align-items:center; color:#fff; font-size:.9rem; }
#primary-nav>a { text-decoration:none; }
#primary-nav details { position:relative; }
#primary-nav summary { cursor:pointer; list-style:none; white-space:nowrap; }
#primary-nav summary::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
#primary-nav summary::-webkit-details-marker { display:none; }
.nav-dropdown { position:absolute; top:32px; left:-16px; width:225px; background:white; color:var(--ink); border:1px solid var(--line); border-radius:8px; box-shadow:0 12px 30px #10192b22; padding:10px; }
.nav-dropdown a { display:block; text-decoration:none; padding:10px; }
.nav-dropdown a:hover { background:var(--surface); }
.nav-cta { padding:12px 16px; }
.menu-toggle { display:none; border:1px solid #ffffff66; background:none; color:white; padding:9px 15px; border-radius:4px; }
.hero { position:relative; background:var(--navy); color:white; overflow:hidden; }
.hero::before { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#101b2cf2 8%,#101b2cb8 52%,#101b2c20),url('/assets/2adc4b4d8d590b21f73c.jpg') center 68%/cover; }
.hero-content { position:relative; padding-block:90px 110px; max-width:760px; }
.hero .eyebrow { color:#ff8c9c; }
.hero h1 { color:white; font-size:clamp(3rem,5.7vw,5.5rem); line-height:1.02; }
.hero h1 span { color:#ff5e72; }
.hero p:not(.eyebrow) { max-width:560px; color:#e0e6ef; font-size:1.15rem; }
.actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }
.service-band { border-bottom:1px solid var(--line); background:var(--surface); }
.service-band .shell { display:grid; grid-template-columns:repeat(3,1fr); }
.service-band article { padding:25px 28px; border-right:1px solid var(--line); }
.service-band article:first-child { padding-left:0; }
.service-band strong { display:block; font-size:1.1rem; margin-bottom:3px; }
.service-band p { color:var(--muted); margin:0; font-size:.9rem; }
.section { padding-block:80px; }
.section-tint { background:var(--surface); }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:35px; margin-bottom:32px; }
.section-heading p { max-width:430px; color:var(--muted); }
.resource-grid,.card-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:24px; }
.resource-card { padding:30px; border:1px solid var(--line); border-radius:10px; background:white; }
.resource-card p { color:var(--muted); }
.text-link { color:var(--red); font-weight:650; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.split>img { border-radius:12px; width:100%; max-height:500px; object-fit:cover; }
/* Restore the original road photograph on interior-page title banners. */
.page-hero {
    background: linear-gradient(90deg, rgba(14, 23, 40, .82), rgba(14, 23, 40, .45)),
        url('/assets/2adc4b4d8d590b21f73c.jpg') center 68% / cover no-repeat;
    padding: 60px 0;
    color: white;
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom:16px; color:white; }
.page-hero .eyebrow { color:#ff8596; }
.page-hero p:last-child { max-width:720px; color:#f0f3f8; margin-bottom:0; }
.directory-toolbar { display:flex; align-items:center; gap:22px; flex-wrap:wrap; margin-bottom:32px; }
.directory-toolbar label { font-weight:650; }
.directory-toolbar input { padding:12px 16px; border:1px solid var(--line); border-radius:6px; min-width:280px; max-width:100%; }
.directory-toolbar output { color:var(--muted); }
.staff-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.staff-card { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; }
.staff-card>img,.portrait-placeholder { width:100%; aspect-ratio:1/1; object-fit:cover; background:#e9edf3; }
.portrait-placeholder { display:grid; place-items:center; font-size:4rem; color:#7e8ca3; }
.staff-details { padding:24px; }
.staff-details h2 { font-size:1.4rem; margin:0 0 8px; }
.staff-role { color:var(--red); font-weight:600; margin-bottom:16px; }
.staff-details a { display:block; font-size:.95rem; overflow-wrap:anywhere; text-decoration:none; margin-bottom:6px; }
.staff-details .bio { color:var(--muted); font-size:.95rem; margin-top:16px; }
.leader { display:grid; grid-template-columns:minmax(0,360px) 1fr; gap:64px; margin-top:50px; padding-bottom:50px; border-bottom:1px solid var(--line); }
.leader img { width:100%; border-radius:10px; }
.leader h3 { font-size:2rem; margin-bottom:8px; }
.prose { white-space:pre-line; color:var(--muted); line-height:1.85; }
.contact-strip { padding:45px 0; border-top:1px solid var(--line); background:#f3f5f8; }
.contact-strip .shell { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.contact-strip h2 { font-size:2rem; margin:0; }
.site-footer { background:var(--navy); color:#c7d1df; padding:60px 0 20px; font-size:.95rem; }
.footer-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; }
.footer-grid h2 { color:white; font-size:1rem; letter-spacing:0; margin-bottom:22px; }
.footer-grid a { display:block; text-decoration:none; margin:0 0 10px; }
.footer-grid img { margin-bottom:20px; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; border-top:1px solid #ffffff24; margin-top:40px; padding-top:22px; font-size:.8rem; }
.video-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.video-grid iframe { width:100%; aspect-ratio:16/9; border:0; border-radius:10px; }
.product-card img { width:100%; aspect-ratio:4/3; object-fit:contain; background:white; }
.legacy-content { padding-block:55px 75px; overflow-wrap:anywhere; }
.legacy-content h2 { font-size:1.8rem; }
.legacy-content h3 { font-size:1.4rem; }
.legacy-content svg { width:24px; height:24px; }
.legacy-content form { max-width:900px; margin:24px auto; padding:32px; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.legacy-content input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.legacy-content select,.legacy-content textarea { width:100%; padding:12px 14px; border:1px solid #c6cfdb; border-radius:5px; background:white; margin-bottom:18px; color:var(--ink); }
.legacy-content input[type=checkbox],.legacy-content input[type=radio] { width:18px; height:18px; margin-right:8px; }
.legacy-content label { display:block; font-weight:600; margin-bottom:7px; }
.legacy-content fieldset { border:1px solid var(--line); padding:20px; margin-bottom:24px; min-width:0; }
.legacy-content .resource-grid { margin-block:22px; }
.legacy-content iframe { width:100%; min-height:330px; border:0; border-radius:8px; }
.legacy-content .resource-grid>div { min-width:0; }
.legacy-content figure { margin:0; }
.legacy-content .button { margin:8px 0; }
.legacy-content input:disabled { background:#e5e9ee; }
.repeater-actions button { border:1px solid #c6cfdb; border-radius:5px; background:#fff; color:var(--ink); }
@media(max-width:1100px) { #primary-nav { gap:12px; font-size:.82rem; } .shell { width:calc(100% - 40px); } .brand { flex-basis:140px; } }
@media(max-width:900px) { .menu-toggle { display:block; } #primary-nav { display:none; position:absolute; top:100%; left:0; right:0; background:var(--navy); padding:25px; font-size:1rem; } #primary-nav.is-open { display:flex; flex-direction:column; align-items:stretch; } .nav-dropdown { position:static; width:100%; margin-top:12px; } .header-inner { min-height:88px; } .staff-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .split { gap:30px; } .leader { gap:30px; grid-template-columns:260px 1fr; } .footer-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:600px) { .utility-bar .shell>span:first-child,.business-hours { display:none; } .utility-bar .shell { justify-content:center; } .hero-content { padding-block:65px 75px; } .service-band .shell { grid-template-columns:1fr; } .service-band article,.service-band article:first-child { padding:18px 0; border-right:0; border-bottom:1px solid var(--line); } .section { padding-block:48px; } .section-heading,.contact-strip .shell { display:block; } .contact-strip .button { margin-top:24px; } .split,.staff-grid,.leader,.video-grid { grid-template-columns:1fr; } .leader { gap:24px; } .leader img { max-width:320px; } .page-hero { padding:40px 0; } .footer-grid { gap:30px; } .footer-bottom { display:block; } .footer-bottom span { display:block; } .legacy-content form { padding:20px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }

/* A single grid keeps resource headings and actions aligned across both rows. */
.forms-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 24px;
}
.forms-resource-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
}
.forms-resource-card h2 {
    margin: 0 0 16px;
    font-size: 1.5rem;
    line-height: 1.3;
}
.forms-resource-card p {
    margin: 0 0 24px;
    color: var(--muted);
}
.forms-resource-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    margin-top: auto;
}
.forms-resource-actions .button {
    width: 100%;
    min-height: 52px;
    text-align: center;
}
@media (max-width: 1100px) {
    .forms-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .forms-resource-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .forms-resource-card {
        padding: 24px;
    }
}

/* Original home-page content, arranged consistently at each screen size. */
.inventory-summary {
    background: var(--navy);
    color: white;
    text-align: center;
}
.inventory-summary h2 { color: white; }
.inventory-statistics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 36px 0 0;
}
.inventory-statistics > div { display: flex; flex-direction: column; gap: 8px; }
.inventory-statistics dt { order: 1; }
.inventory-statistics dd { margin: 0; font-size: 2.75rem; font-weight: 750; }
.home-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}
.home-product-grid .resource-card { padding: 20px; }
.home-product-grid h3 { font-size: 1.2rem; }
.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
}
.partner-logo-grid li {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}
.partner-logo-grid img { width: 150px; height: 150px; max-width: 100%; object-fit: contain; }
.home-partners + .home-partners { padding-top: 0; }
@media (max-width: 1100px) {
    .home-product-grid, .partner-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .inventory-statistics, .home-product-grid, .partner-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .home-product-grid .resource-card { padding: 12px; }
    .partner-logo-grid li { min-height: 150px; }
}

/* One full-width story at a time, with uncropped, proportionally scaled media. */
.news-controls { display: flex; align-items: center; gap: 10px; }
.news-controls[hidden], .news-pagination[hidden], .news-card[hidden] { display: none; }
.news-controls button {
    min-width: 44px; height: 44px; border: 1px solid var(--line);
    border-radius: 6px; background: white; color: var(--ink); cursor: pointer;
    font-size: 1.1rem;
}
.news-controls .news-pause { padding-inline: 18px; font-size: .9rem; }
.news-track { width: 100%; }
.news-card {
    display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    background: var(--surface); min-width: 0;
}
.news-card > img, .news-photo-placeholder {
    display: block; width: 100%; height: 360px; max-width: 100%;
    object-fit: contain; padding: 24px; background: white;
}
.news-photo-placeholder { display: flex; align-items: center; justify-content: center; color: var(--ink); font-weight: 700; }
.news-card-content { display: flex; flex-direction: column; justify-content: center; padding: 40px; overflow-wrap: anywhere; }
.news-card time, .news-article time { color: var(--muted); font-size: .85rem; }
.news-card h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); margin-block: 16px; }
.news-card h3 a { text-decoration: none; color: var(--ink); }
.news-card p { color: var(--muted); }
.news-card .text-link { align-self: flex-start; }
.news-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.news-pagination button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #bdc6d3; cursor: pointer; }
.news-pagination button[aria-current="true"] { background: var(--red); }
.news-position { margin-left: 8px; color: var(--muted); font-size: .85rem; }
.news-article { max-width: 900px; overflow-wrap: anywhere; }
.news-article h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; }
.news-summary { font-size: 1.2rem; }
.news-article-photo { width: 100%; max-height: 560px; object-fit: contain; margin-block: 24px; }
.news-body { white-space: pre-wrap; line-height: 1.8; }
@media (max-width: 600px) {
    .news-card { grid-template-columns: 1fr; }
    .news-card > img, .news-photo-placeholder { height: 230px; padding: 20px; }
    .news-card-content { padding: 24px; }
    .news-controls { margin-top: 20px; }
}

/* Keep the navigation on screen while the contact bar scrolls naturally. */
html { scroll-padding-top: 120px; }
.utility-bar .shell { align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.utility-social { display: flex; align-items: center; gap: 16px; }
.utility-social a { display: inline-flex; align-items: center; min-height: 28px; }
.utility-social svg { width: 16px; height: 16px; }
.utility-contacts { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 8px 18px; font-size: .75rem; }
.utility-contacts a, .utility-contacts span { white-space: nowrap; }
@media (max-width: 900px) {
    #primary-nav { max-height: calc(100dvh - 88px); overflow-y: auto; }
    .utility-contacts { justify-content: center; }
    html { scroll-padding-top: 104px; }
}
@media (max-width: 600px) {
    .utility-bar .shell > .utility-social { margin-right: 0; }
    .utility-contacts { width: 100%; gap: 6px 16px; }
}

/* Let the intro video sit behind the translucent home-page navigation. */
.home-page .site-header {
    margin-bottom: -102px;
}
@media (max-width: 900px) {
    .home-page .site-header {
        margin-bottom: -88px;
    }
}

/* White artwork needs a contrasting surface without altering the uploaded image. */
.news-card > img.news-image-dark, .news-article-photo.news-image-dark { background: #152137; }

/* Keep the invoice title on one line, scaling it to fit narrow screens. */
.page-hero .invoice-title {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1.5rem, 6vw, 4.5rem);
}

.invoice-introduction {
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

/* Interior banners start behind the navigation, with their text below the menu. */
body:has(.page-hero) .site-header {
    margin-bottom: -102px;
}
.page-hero {
    padding-top: 162px;
}
@media (max-width: 900px) {
    body:has(.page-hero) .site-header {
        margin-bottom: -88px;
    }
    .page-hero {
        padding-top: 148px;
    }
}
@media (max-width: 600px) {
    .page-hero {
        padding-top: 128px;
    }
}

/* Use the full banner width for the About Us headline. */
.page-hero .about-title {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1rem, 4.8vw, 4.5rem);
}

/* Equal-height columns place both maps below the tallest contact-details block. */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-block: 22px;
}
.location-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.location-details { flex: 1; }
.location-column iframe { display: block; flex-shrink: 0; height: 450px; }
@media (max-width: 700px) {
    .locations-grid { grid-template-columns: 1fr; gap: 40px; }
}
