:root {
    --cherry: #a3162b;
    --cherry-dark: #7c1020;
    --graphite: #1f2328;
    --steel: #4b5560;
    --fog: #e9ecef;
    --paper: #f6f7f8;
    --line: #cdd3d9;
    --white: #fff;
    --head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --nav-h: 68px;
    --bp: 980px;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h)
}

body {
    margin: 0;
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--graphite);
    background: var(--white)
}

img {
    max-width: 100%;
    display: block
}

a {
    color: var(--cherry)
}

h1,
h2,
h3 {
    font-family: var(--head);
    line-height: 1.05;
    margin: 0 0 .5em;
    letter-spacing: .01em
}

h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 800
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700
}

h3 {
    font-size: 1.5rem;
    font-weight: 700
}

p {
    margin: 0 0 1em;
    max-width: 62ch
}

ul {
    padding-left: 1.2rem
}

:focus-visible {
    outline: 3px solid var(--cherry);
    outline-offset: 3px
}

.wrap {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto
}

section {
    padding: clamp(3.5rem, 8vw, 6rem) 0
}

.skip {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--white);
    padding: .5rem 1rem;
    z-index: 200
}

.skip:focus {
    left: 0
}

/* Image placeholders: swap each .ph div for an <img> */
.ph {
    background: repeating-linear-gradient(135deg, #d5dade 0 14px, #dde1e5 14px 28px);
    color: var(--steel);
    display: grid;
    place-content: center;
    text-align: center;
    font-size: .85rem;
    padding: .75rem;
    border: 1px dashed #9aa4ad;
    width: 100%
}

.ph strong {
    display: block;
    font-family: var(--head);
    font-size: 1.2rem;
    color: var(--graphite)
}

/* Header + collapsing nav */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--graphite);
    color: var(--white);
    height: var(--nav-h)
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h)
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--white);
    text-decoration: none;
    font-family: var(--head);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: .02em;
    line-height: 1
}

.brand .logo {
    width: 40px;
    height: 40px;
    background: var(--cherry);
    display: grid;
    place-content: center;
    font-size: 1.3rem;
    flex: none
}

.brand small {
    display: block;
    font-family: var(--body);
    font-weight: 400;
    font-size: .7rem;
    letter-spacing: .04em;
    color: #b8c0c8;
    margin-top: 3px
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: .25rem
}

nav a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: .6rem .85rem;
    font-weight: 500;
    border-bottom: 3px solid transparent
}

nav a:hover,
nav a.active {
    border-bottom-color: var(--cherry)
}

nav a.cta {
    background: var(--cherry);
    margin-left: .5rem;
    border-bottom: 0
}

nav a.cta:hover {
    background: var(--cherry-dark)
}

.toggle {
    display: none;
    background: none;
    border: 2px solid #5a636c;
    color: var(--white);
    width: 46px;
    height: 46px;
    cursor: pointer;
    padding: 0
}

.toggle span,
.toggle span::before,
.toggle span::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    margin: auto;
    position: relative;
    transition: transform .2s, background .2s
}

.toggle span::before,
.toggle span::after {
    content: "";
    position: absolute;
    left: 0
}

.toggle span::before {
    top: -7px
}

.toggle span::after {
    top: 7px
}

.toggle[aria-expanded="true"] span {
    background: transparent
}

.toggle[aria-expanded="true"] span::before {
    transform: translateY(7px) rotate(45deg)
}

.toggle[aria-expanded="true"] span::after {
    transform: translateY(-7px) rotate(-45deg)
}

@media (max-width:980px) {
    .toggle {
        display: block
    }

    nav {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--graphite);
        border-top: 1px solid #39414a;
        display: none
    }

    nav.open {
        display: block
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: .5rem 1.25rem 1.25rem
    }

    nav a {
        padding: .9rem 0;
        border-bottom: 1px solid #39414a
    }

    nav a.cta {
        margin: 1rem 0 0;
        text-align: center;
        border: 0
    }
}

@media (max-width:420px) {
    .brand small {
        display: none
    }

    .brand {
        font-size: 1.3rem
    }
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 0;
    text-align: center;
    background: var(--graphite) url("truck.jpg") center bottom/cover no-repeat;
    display: flex;
    flex-direction: column;
    /* min-height: min(86vh, 820px) */
    min-height: min(10vh, 820px)
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    z-index: 0
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(20, 24, 28, .88) 0%, rgba(20, 24, 28, .62) 45%, rgba(20, 24, 28, .15) 100%)
}

.hero-inner,
.states {
    position: relative;
    z-index: 2
}

@media (prefers-reduced-motion:reduce) {
    .hero-video {
        display: none
    }
}

.hero-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(3rem, 9vw, 6rem) 0 clamp(8rem, 22vw, 16rem)
}

.hero h1 {
    max-width: 16ch;
    margin-inline: auto;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45)
}

.hero p {
    color: #eef1f4;
    font-size: 1.2rem;
    margin-inline: auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .5)
}

.hero h1 em {
    font-style: normal;
    color: #ff8d9c
}

.anniv {
    display: inline-block;
    border-bottom: 3px solid var(--cherry);
    padding: 0 0 .35rem;
    margin-bottom: 1.5rem;
    font-family: var(--head);
    font-weight: 700;
    font-size: 1.25rem;
    color: #f0f3f5
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
    justify-content: center
}

.btn {
    display: inline-block;
    padding: .85rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--cherry);
    background: var(--cherry);
    color: var(--white)
}

.btn:hover {
    background: var(--cherry-dark);
    border-color: var(--cherry-dark)
}

.btn.ghost {
    background: rgba(20, 24, 28, .45);
    border-color: #d3d9de
}

.btn.ghost:hover {
    background: rgba(20, 24, 28, .8)
}

.states {
    margin: 0;
    padding: 0;
    background: var(--cherry);
    display: flex;
    flex-wrap: wrap
}

.states li {
    list-style: none;
    flex: 1 1 120px;
    padding: 1rem .5rem;
    text-align: center;
    font-family: var(--head);
    font-weight: 700;
    font-size: 1.2rem;
    border-right: 1px solid rgba(255, 255, 255, .25)
}

.states li:last-child {
    border-right: 0
}

/* Generic two-column blocks */
.cols {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 3rem;
    align-items: center
}

.cols.flip {
    grid-template-columns: 1.1fr .9fr
}

@media (max-width:820px) {

    .cols,
    .cols.flip {
        grid-template-columns: 1fr;
        gap: 2rem
    }
}

.video {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    margin-top: 1.5rem
}

.video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0
}

/* About */
.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin: 2rem 0
}

.facts div {
    background: var(--white);
    padding: 1rem
}

.facts b {
    display: block;
    font-family: var(--head);
    font-size: 2.2rem;
    line-height: 1;
    color: var(--cherry)
}

.facts span {
    font-size: .9rem;
    color: var(--steel)
}

@media (max-width:560px) {
    .facts {
        grid-template-columns: repeat(2, 1fr)
    }
}

.who .ph {
    aspect-ratio: 4/3
}

.customers {
    columns: 2;
    column-gap: 2rem;
    margin: 1rem 0 1.5rem
}

.customers li {
    break-inside: avoid;
    margin-bottom: .4rem
}

@media (max-width:560px) {
    .customers {
        columns: 1
    }
}

.mission {
    background: var(--fog)
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem
}

.pillar {
    background: var(--white);
    border-top: 5px solid var(--cherry);
    padding: 1.25rem
}

.pillar p {
    margin: 0;
    font-size: 1rem
}

@media (max-width:820px) {
    .pillars {
        grid-template-columns: 1fr
    }
}

.members {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem
}

.members .ph {
    width: 180px;
    aspect-ratio: 3/2
}

/* Products */
.prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1rem;
    margin-top: 2rem
}

.prod {
    border: 1px solid var(--line);
    border-top: 5px solid var(--cherry);
    padding: 1.1rem 1.25rem;
    background: var(--white)
}

.prod h3 {
    font-size: 1.35rem;
    margin-bottom: .4rem
}

.prod p {
    margin: 0;
    font-size: .97rem;
    color: var(--steel)
}

/* Territory */
.territory {
    background: var(--graphite);
    color: var(--white)
}

.territory p {
    color: #d3d9de
}

.territory .ph {
    aspect-ratio: 5/4;
    background: repeating-linear-gradient(135deg, #2c333a 0 14px, #333b43 14px 28px);
    border-color: #5a636c;
    color: #b8c0c8
}

.territory .ph strong {
    color: var(--white)
}

.reps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .75rem
}

.reps li {
    background: #2a3036;
    border-left: 5px solid var(--cherry);
    padding: .9rem 1.1rem
}

.reps b {
    font-family: var(--head);
    font-size: 1.3rem;
    display: block;
    line-height: 1.1
}

.reps span {
    display: block;
    font-size: .95rem;
    color: #c3cad1
}

.offices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem
}

.office {
    background: var(--white);
    color: var(--graphite);
    padding: 1rem 1.25rem;
    border-bottom: 5px solid var(--cherry)
}

.office h3 {
    font-size: 1.3rem;
    margin: 0 0 .25rem
}

.office p {
    margin: 0;
    font-size: .95rem;
    color: var(--steel)
}

.office.hq {
    border-bottom-color: #ff7b8d
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem
}

.person {
    border: 1px solid var(--line);
    background: var(--white);
    display: flex;
    flex-direction: column
}

.person .ph {
    /* aspect-ratio: 4/3; */
    aspect-ratio: 3/4;
    border: 0;
    border-bottom: 1px dashed #9aa4ad
}

.person-body {
    padding: 1.1rem 1.25rem 1.25rem
}

.person h3 {
    margin: 0
}

.role {
    color: var(--cherry);
    font-weight: 600;
    margin: .1rem 0 .75rem;
    font-size: .98rem
}

.person p {
    font-size: .97rem;
    color: var(--steel)
}

.person dl {
    margin: .75rem 0 0;
    font-size: .95rem
}

.person dt {
    float: left;
    clear: left;
    width: 3.6rem;
    color: var(--steel)
}

.person dd {
    margin: 0 0 .15rem 3.6rem;
    overflow-wrap: anywhere
}

/* Contact */
.contact {
    background: var(--fog)
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 3rem
}

address {
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 1.5rem
}

.map {
    position: relative;
    aspect-ratio: 4/3;
    background: #cfd5da
}

.map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0
}

form {
    display: grid;
    gap: 1rem;
    align-content: start
}

label {
    display: grid;
    gap: .35rem;
    font-weight: 500;
    font-size: .95rem
}

input,
textarea,
select {
    font: inherit;
    padding: .75rem .85rem;
    border: 2px solid #9aa4ad;
    background: var(--white);
    color: var(--graphite);
    border-radius: 0;
    width: 100%
}

input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--cherry);
    border-color: var(--cherry)
}

textarea {
    min-height: 140px;
    resize: vertical
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

@media (max-width:820px) {

    .contact-grid,
    .two {
        grid-template-columns: 1fr
    }
}

button.btn {
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    justify-self: start
}

footer {
    background: #14181c;
    color: #9aa4ad;
    padding: 1.5rem 0;
    font-size: .9rem
}

footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1.5rem
}

footer a {
    color: #d3d9de
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}