/*
 * HMS Express
 * Premium responsive trucking website
 * Palette: warm beige, freight red, charcoal, and ivory
 */

:root {
    --red: #9e2028;
    --red-dark: #77161d;
    --red-bright: #bd2933;
    --ink: #1f2021;
    --ink-soft: #353638;
    --muted: #69645e;
    --beige: #e8dccb;
    --beige-light: #f4eee5;
    --ivory: #fbf9f5;
    --white: #ffffff;
    --line: #d9cfc1;
    --success: #1e6b4f;
    --error: #9b1c27;
    --shadow-sm: 0 12px 32px rgba(42, 31, 24, 0.08);
    --shadow-lg: 0 28px 70px rgba(39, 25, 19, 0.14);
    --radius-sm: 4px;
    --radius: 10px;
    --radius-lg: 18px;
    --container: 1180px;
    --transition: 220ms ease;
    --font-sans: "Segoe UI Variable", "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--ivory);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(3.15rem, 6.6vw, 6.4rem);
}

h2 {
    margin-bottom: 24px;
    font-size: clamp(2.35rem, 4.5vw, 4.2rem);
    font-weight: 730;
}

h3 {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

em {
    color: var(--red);
    font-style: normal;
}

::selection {
    color: var(--white);
    background: var(--red);
}

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

.section {
    padding: 120px 0;
}

.section-soft {
    background: var(--beige-light);
}

.section-dark {
    color: rgba(255, 255, 255, 0.72);
    background: var(--ink);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--ink);
    border-radius: var(--radius-sm);
    transform: translateY(-160%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--red-bright);
    outline-offset: 3px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #f4c8bc;
}

.eyebrow-light > span {
    display: inline-block;
    width: 22px;
    height: 2px;
    margin-right: 8px;
    vertical-align: middle;
    background: currentColor;
}

.lead {
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 650;
    line-height: 1.55;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 14px 24px;
    border: 1px solid var(--red);
    border-radius: var(--radius-sm);
    color: var(--white);
    background: var(--red);
    box-shadow: none;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button:hover {
    color: var(--white);
    background: var(--red-dark);
    border-color: var(--red-dark);
    box-shadow: 0 10px 28px rgba(119, 22, 29, 0.24);
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.button-sm {
    min-height: 43px;
    padding: 11px 18px;
    font-size: 0.74rem;
}

.button-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.button-ghost:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.button-light {
    color: var(--red-dark);
    background: var(--white);
    border-color: var(--white);
}

.button-light:hover {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}

.button-dark {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}

.button-dark:hover {
    background: var(--red);
    border-color: var(--red);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 4px;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--transition), border-color var(--transition), gap var(--transition);
}

.text-link:hover {
    gap: 20px;
    color: var(--red);
    border-color: var(--red);
}

.text-link-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.text-link-light:hover {
    color: var(--white);
    border-color: var(--white);
}

/* Header */
.utility-bar {
    position: relative;
    z-index: 101;
    color: rgba(255, 255, 255, 0.72);
    background: #171819;
    font-size: 0.73rem;
    letter-spacing: 0.03em;
}

.utility-inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
}

.utility-inner p,
.utility-links {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}

.utility-inner svg {
    width: 13px;
    stroke: #e7b9af;
    fill: none;
    stroke-width: 1.8;
}

.utility-links {
    gap: 13px;
}

.utility-links span {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
}

.utility-links a {
    transition: color var(--transition);
}

.utility-links a:hover {
    color: var(--white);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(251, 249, 245, 0.97);
    border-bottom: 1px solid rgba(32, 32, 33, 0.08);
    backdrop-filter: blur(14px);
    transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 28px rgba(32, 32, 33, 0.09);
}

.nav-wrap {
    display: flex;
    min-height: 80px;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 40px;
    height: 40px;
}

.brand-mark path:first-child {
    fill: var(--red);
    stroke: none;
}

.brand-mark path:not(:first-child) {
    fill: none;
    stroke: var(--white);
    stroke-width: 2.4;
    stroke-linecap: round;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 0.85;
}

.brand-copy strong {
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.brand-copy span {
    margin-top: 6px;
    color: var(--red);
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.31em;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.primary-nav > a:not(.button) {
    position: relative;
    padding: 29px 0 27px;
    color: #4d4a46;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.primary-nav > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    height: 2px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.primary-nav > a:not(.button):hover,
.primary-nav > a[aria-current="page"]:not(.button) {
    color: var(--red);
}

.primary-nav > a:not(.button):hover::after,
.primary-nav > a[aria-current="page"]:not(.button)::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
}

/* Home hero */
.hero {
    position: relative;
    min-height: calc(100vh - 118px);
    max-height: 860px;
    overflow: hidden;
    color: var(--white);
    background: #2d2b2a;
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-media {
    background: url("../images/hms-express-truck.jpg") center center / cover no-repeat;
    transform: scale(1.01);
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(18, 17, 17, 0.92) 0%, rgba(18, 17, 17, 0.76) 38%, rgba(18, 17, 17, 0.18) 68%, rgba(18, 17, 17, 0.16) 100%),
        linear-gradient(0deg, rgba(18, 17, 17, 0.6) 0%, transparent 40%);
}

.hero-inner {
    position: relative;
    display: flex;
    min-height: calc(100vh - 118px);
    max-height: 860px;
    align-items: center;
    padding-top: 35px;
    padding-bottom: 120px;
}

.hero-content {
    width: min(720px, 64%);
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 28px;
    color: var(--white);
    font-size: clamp(2.9rem, 5.2vw, 5.1rem);
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.18);
}

.hero h1 em {
    color: #f1c3b6;
}

.hero-lead {
    max-width: 610px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.05rem, 1.8vw, 1.24rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-proof {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(23, 24, 25, 0.46);
    backdrop-filter: blur(16px);
}

.hero-proof div {
    min-height: 94px;
    padding: 22px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof div:last-child {
    border-right: 0;
}

.hero-proof strong,
.hero-proof span {
    display: block;
}

.hero-proof strong {
    margin-bottom: 2px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.005em;
}

.hero-proof span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
}

/* Home sections */
.intro-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 120px;
    align-items: start;
}

.section-heading h2 {
    max-width: 700px;
}

.intro-copy {
    padding-top: 32px;
    color: var(--muted);
}

.intro-copy p:not(.lead) {
    margin-bottom: 30px;
}

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

.section-heading-row h2 {
    margin-bottom: 0;
}

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

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

.service-card {
    position: relative;
    min-height: 350px;
    padding: 34px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #e4dacf;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: #d4bdae;
    box-shadow: var(--shadow-lg);
    transform: translateY(-7px);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.icon-box {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 52px;
    color: var(--red);
    background: var(--beige-light);
    border-radius: var(--radius-sm);
}

.icon-box svg {
    width: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-number {
    position: absolute;
    top: 37px;
    right: 34px;
    color: #b7aca1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.service-card h3 {
    margin-bottom: 14px;
}

.service-card > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.performance {
    overflow: hidden;
}

.performance-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 100px;
    align-items: center;
}

.performance-visual {
    position: relative;
    min-height: 490px;
    padding: 80px 48px;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.42), transparent 30%),
        var(--beige);
    border-radius: var(--radius-lg);
}

.performance-visual::before,
.performance-visual::after {
    position: absolute;
    border: 1px solid rgba(158, 32, 40, 0.14);
    border-radius: 50%;
    content: "";
}

.performance-visual::before {
    width: 260px;
    height: 260px;
    top: -110px;
    right: -80px;
}

.performance-visual::after {
    width: 170px;
    height: 170px;
    right: -10px;
    bottom: -90px;
}

.route-card {
    position: relative;
    z-index: 2;
    padding: 34px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.route-topline,
.route-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.route-topline {
    padding-bottom: 22px;
    border-bottom: 1px solid #e8e0d7;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.route-topline strong {
    color: var(--success);
}

.route-map {
    position: relative;
    height: 110px;
}

.route-line {
    position: absolute;
    top: 55px;
    right: 5px;
    left: 5px;
    height: 3px;
    background: #d8d0c7;
}

.route-line::after {
    display: block;
    width: 64%;
    height: 100%;
    background: var(--red);
    content: "";
}

.route-dot {
    position: absolute;
    z-index: 2;
    top: 48px;
    width: 17px;
    height: 17px;
    background: var(--white);
    border: 4px solid var(--red);
    border-radius: 50%;
}

.route-dot-start {
    left: 0;
}

.route-dot-mid {
    left: 62%;
    box-shadow: 0 0 0 8px rgba(158, 32, 40, 0.12);
}

.route-dot-end {
    right: 0;
    border-color: #c7beb5;
}

.route-labels {
    color: #7a736c;
    font-size: 0.7rem;
}

.performance-badge {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 48px;
    display: flex;
    width: 145px;
    height: 145px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--red);
    border: 7px solid var(--beige);
    border-radius: 50%;
    text-align: center;
}

.performance-badge strong,
.performance-badge span {
    display: block;
}

.performance-badge strong {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
}

.performance-badge span {
    font-size: 0.68rem;
    opacity: 0.75;
}

.performance-copy > p:not(.eyebrow) {
    margin-bottom: 28px;
    color: var(--muted);
}

.check-list,
.benefit-list,
.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list {
    margin-bottom: 36px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 0;
    color: #45423e;
    font-weight: 650;
}

.check-list span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: var(--red);
    background: var(--beige-light);
    border-radius: 50%;
    font-size: 0.74rem;
}

.driver-banner {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.75);
    background:
        linear-gradient(110deg, rgba(109, 18, 25, 0.97), rgba(157, 31, 40, 0.94)),
        var(--red);
}

.driver-banner::before {
    position: absolute;
    top: -250px;
    right: -100px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.driver-banner-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.75fr;
    gap: 120px;
    align-items: center;
    padding-top: 105px;
    padding-bottom: 105px;
}

.driver-callout h2 {
    max-width: 680px;
    color: var(--white);
}

.driver-callout > p:not(.eyebrow) {
    max-width: 620px;
    margin-bottom: 32px;
}

.driver-quote {
    padding-left: 42px;
    border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.driver-quote blockquote {
    margin: 0 0 18px;
    color: var(--white);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.42rem;
    font-style: italic;
    line-height: 1.6;
}

.driver-quote p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Interior page hero */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 118px 0 88px;
    background: var(--beige-light);
}

.page-hero::before {
    position: absolute;
    top: -320px;
    right: -140px;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(158, 32, 40, 0.12);
    border-radius: 50%;
    content: "";
}

.page-hero-compact {
    padding-top: 95px;
    padding-bottom: 78px;
}

.page-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 0.55fr;
    gap: 90px;
    align-items: end;
}

.page-hero h1 {
    max-width: 850px;
    margin-bottom: 0;
    font-size: clamp(2.8rem, 4.8vw, 4.7rem);
}

.page-hero-aside {
    padding: 26px 0 3px 28px;
    border-left: 2px solid var(--red);
}

.page-hero-aside p {
    margin: 0;
    color: var(--muted);
    font-size: 1.03rem;
}

.page-hero-rule {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 6px;
    background: var(--beige);
}

.page-hero-rule span {
    display: block;
    width: 32%;
    height: 100%;
    background: var(--red);
}

/* About */
.story-grid {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 120px;
    align-items: center;
}

.story-panel {
    position: relative;
    min-height: 460px;
    padding: 50px;
    overflow: hidden;
    color: var(--white);
    background: var(--red);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.story-panel::after {
    position: absolute;
    right: -150px;
    bottom: -190px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    content: "";
}

.story-kicker {
    display: block;
    margin-bottom: 100px;
    color: #f2c1b7;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.story-panel p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-family: var(--font-sans);
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 720;
    line-height: 1.22;
    letter-spacing: -0.022em;
}

.story-copy {
    color: var(--muted);
}

.story-copy h2 {
    color: var(--ink);
}

.story-copy p {
    margin-bottom: 22px;
}

.story-copy .lead {
    color: var(--ink);
}

.values .section-heading-row > p {
    color: rgba(255, 255, 255, 0.6);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.value-item {
    min-height: 295px;
    padding: 34px 28px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.value-item:last-child {
    border-right: 0;
}

.value-item > span {
    display: block;
    margin-bottom: 60px;
    color: #dd817f;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.value-item h3 {
    margin-bottom: 14px;
    font-size: 1.34rem;
}

.value-item p {
    margin: 0;
    font-size: 0.89rem;
}

.commitment-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 120px;
}

.commitment-copy > p:not(.eyebrow) {
    margin-bottom: 32px;
    color: var(--muted);
}

.commitment-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.commitment-steps li {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 22px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.commitment-steps li > span {
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.commitment-steps h3 {
    margin: 0 0 8px;
}

.commitment-steps p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

/* Forms and contact */
.form-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 0.64fr 1fr;
    gap: 75px;
    align-items: start;
}

.form-sidebar,
.contact-info {
    position: sticky;
    top: 120px;
}

.form-sidebar h2,
.contact-info h2 {
    font-size: clamp(2.25rem, 3.8vw, 3.6rem);
}

.form-sidebar > p:not(.eyebrow),
.contact-info > p:not(.eyebrow) {
    color: var(--muted);
}

.benefit-list {
    margin-top: 38px;
    border-top: 1px solid var(--line);
}

.benefit-list li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 13px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.benefit-list li > span {
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.benefit-list strong,
.benefit-list small {
    display: block;
}

.benefit-list strong {
    margin-bottom: 3px;
}

.benefit-list small {
    color: var(--muted);
    font-size: 0.82rem;
}

.privacy-note {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    margin-top: 34px;
    padding: 20px;
    background: var(--beige-light);
    border-left: 3px solid var(--red);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.privacy-note svg {
    width: 24px;
    fill: none;
    stroke: var(--red);
    stroke-width: 1.6;
}

.privacy-note p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.privacy-note strong {
    display: block;
    color: var(--ink);
}

.form-card {
    padding: clamp(30px, 5vw, 58px);
    background: var(--white);
    border: 1px solid #e4dacf;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-card-heading {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e9e2d9;
}

.form-card-heading h2 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 3.2vw, 3rem);
}

.form-card-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.form-card-heading > p:last-child > span[aria-hidden] {
    color: var(--red);
}

.form-alert {
    display: grid;
    gap: 2px;
    margin-bottom: 28px;
    padding: 16px 18px;
    border-left: 4px solid;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
}

.form-alert-success {
    color: #174e3b;
    background: #eaf5ef;
    border-color: var(--success);
}

.form-alert-error {
    color: #7a1820;
    background: #fff0f1;
    border-color: var(--error);
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.turnstile-field {
    width: 100%;
    min-height: 65px;
    margin-top: 24px;
}

.turnstile-field .cf-turnstile {
    width: 100%;
    max-width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 18px;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: #3f3c39;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.form-field label span {
    color: var(--red);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid #cfc5b8;
    border-radius: var(--radius-sm);
    color: var(--ink);
    background: #fdfcf9;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-field input,
.form-field select {
    height: 52px;
    padding: 0 15px;
}

.form-field select {
    appearance: none;
    padding-right: 44px;
    background-image:
        linear-gradient(45deg, transparent 50%, #6c655e 50%),
        linear-gradient(135deg, #6c655e 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 22px,
        calc(100% - 15px) 22px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

.form-field textarea {
    min-height: 150px;
    padding: 14px 15px;
    line-height: 1.5;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #979087;
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
    border-color: #a99c8e;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    background: var(--white);
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(158, 32, 40, 0.1);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
    border-color: var(--error);
}

.option-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.option-field legend {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    color: #3f3c39;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.option-field legend span {
    color: var(--red);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.option-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.option-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.option-card > span {
    position: relative;
    display: block;
    min-height: 96px;
    padding: 20px 20px 18px 52px;
    background: #fdfcf9;
    border: 1px solid #cfc5b8;
    border-radius: var(--radius-sm);
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.option-card > span::before {
    position: absolute;
    top: 23px;
    left: 20px;
    width: 18px;
    height: 18px;
    background: var(--white);
    border: 2px solid #a99c8e;
    border-radius: 50%;
    content: "";
    transition: border-color var(--transition), box-shadow var(--transition);
}

.option-card strong,
.option-card small {
    display: block;
}

.option-card strong {
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 0.9rem;
}

.option-card small {
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

.option-card input:checked + span {
    background: #fff8f6;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(158, 32, 40, 0.08);
}

.option-card input:checked + span::before {
    border-color: var(--red);
    box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 10px var(--red);
}

.option-card input:focus-visible + span {
    outline: 3px solid var(--red-bright);
    outline-offset: 3px;
}

.field-error,
.form-global-error {
    display: block;
    margin-top: 6px;
    color: var(--error);
    font-size: 0.76rem;
    font-weight: 650;
}

.form-global-error {
    margin: 22px 0 0;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

.form-submit-row p {
    max-width: 240px;
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.45;
}

.contact-details {
    display: grid;
    gap: 0;
    margin: 38px 0;
    font-style: normal;
    border-top: 1px solid var(--line);
}

.contact-details > div {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.contact-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--red);
    background: var(--beige-light);
    border-radius: 50%;
}

.contact-icon svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-details p,
.contact-details small,
.contact-details strong,
.contact-details a {
    display: block;
    margin: 0;
}

.contact-details small {
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-details strong,
.contact-details a {
    color: var(--ink);
    font-style: normal;
    font-weight: 750;
}

.contact-details a:hover {
    color: var(--red);
}

.hours-card {
    padding: 24px;
    color: rgba(255, 255, 255, 0.7);
    background: var(--ink);
    border-radius: var(--radius);
}

.hours-card span,
.hours-card strong {
    display: block;
}

.hours-card span {
    margin-bottom: 4px;
    color: #e3a49e;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hours-card strong {
    color: var(--white);
    font-size: 0.9rem;
}

.hours-card p {
    margin: 15px 0 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.76rem;
}

/* 404 */
.error-section {
    display: grid;
    min-height: 70vh;
    place-items: center;
    padding: 110px 0;
    text-align: center;
    background: var(--beige-light);
}

.error-inner {
    max-width: 720px;
}

.error-code {
    margin-bottom: -30px;
    color: rgba(158, 32, 40, 0.08);
    font-family: var(--font-sans);
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 800;
    line-height: 0.7;
}

.error-inner h1 {
    margin-bottom: 20px;
    font-size: clamp(3rem, 6vw, 5rem);
}

.error-inner > p:not(.eyebrow, .error-code) {
    max-width: 570px;
    margin: 0 auto 32px;
    color: var(--muted);
}

.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

/* Footer */
.footer-cta {
    color: var(--white);
    background: var(--red);
}

.footer-cta-inner {
    display: flex;
    min-height: 230px;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.footer-cta h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.58);
    background: #171819;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.7fr 1fr 1fr;
    gap: 65px;
    padding-top: 76px;
    padding-bottom: 65px;
}

.brand-footer .brand-copy strong {
    color: var(--white);
}

.footer-brand-column > p {
    max-width: 320px;
    margin: 24px 0 0;
    font-size: 0.84rem;
}

.footer-heading {
    margin: 3px 0 22px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact {
    display: grid;
    gap: 9px;
    font-style: normal;
}

.footer-hours,
.footer-note {
    margin: 0;
}

.footer-note {
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.36);
    font-size: 0.74rem;
}

.footer-bottom {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 0.7rem;
}

.footer-bottom p {
    margin: 0;
}

/* Motion */
.reveal {
    opacity: 1;
    transform: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-grid .reveal:nth-child(2),
.values-grid .reveal:nth-child(2) {
    transition-delay: 80ms;
}

.service-grid .reveal:nth-child(3),
.values-grid .reveal:nth-child(3) {
    transition-delay: 160ms;
}

.values-grid .reveal:nth-child(4) {
    transition-delay: 240ms;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .section {
        padding: 90px 0;
    }

    .primary-nav {
        gap: 22px;
    }

    .hero-content {
        width: 72%;
    }

    .intro-grid,
    .story-grid {
        gap: 70px;
    }

    .performance-grid {
        gap: 60px;
    }

    .driver-banner-inner,
    .commitment-grid {
        gap: 70px;
    }

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

    .value-item:nth-child(2) {
        border-right: 0;
    }

    .value-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .form-layout,
    .contact-layout {
        grid-template-columns: 0.72fr 1fr;
        gap: 45px;
    }

    .footer-grid {
        grid-template-columns: 1.3fr repeat(3, 1fr);
        gap: 35px;
    }

}

/* Mobile navigation and stacked layouts */
@media (max-width: 780px) {
    /* Removing backdrop-filter here keeps the fixed menu anchored to the
       viewport instead of the translucent header container. */
    .site-header {
        background: #fbf9f5;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .section {
        padding: 72px 0;
    }

    .utility-inner > p {
        display: none;
    }

    .utility-inner {
        justify-content: center;
    }

    .utility-links {
        width: 100%;
        justify-content: space-between;
    }

    .nav-wrap {
        min-height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .primary-nav {
        position: fixed;
        z-index: 999;
        top: 108px;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        padding: 42px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        visibility: hidden;
        overflow-y: auto;
        background-color: #fbf9f5;
        background-image: none;
        box-shadow: 0 24px 60px rgba(31, 32, 33, 0.16);
        isolation: isolate;
        overscroll-behavior: contain;
        opacity: 0;
        transform: translateX(100%);
        transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    }

    .primary-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .site-header.is-scrolled .primary-nav {
        top: 70px;
    }

    .primary-nav > a:not(.button) {
        padding: 20px 4px;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

    .primary-nav > a:not(.button)::after {
        display: none;
    }

    .primary-nav .button {
        margin-top: 28px;
    }

    .hero,
    .hero-inner {
        min-height: 720px;
        max-height: none;
    }

    .hero-media {
        background-position: 64% center;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(18, 17, 17, 0.92), rgba(18, 17, 17, 0.52)),
            linear-gradient(0deg, rgba(18, 17, 17, 0.86), transparent 55%);
    }

    .hero-inner {
        align-items: flex-start;
        padding-top: 86px;
        padding-bottom: 190px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 10vw, 3.2rem);
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .hero-proof div {
        display: flex;
        min-height: 50px;
        align-items: center;
        justify-content: space-between;
        padding: 11px 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-proof div:last-child {
        border-bottom: 0;
    }

    .hero-proof strong,
    .hero-proof span {
        margin: 0;
    }

    .intro-grid,
    .performance-grid,
    .driver-banner-inner,
    .story-grid,
    .commitment-grid,
    .form-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .intro-copy {
        padding-top: 0;
    }

    .section-heading-row {
        display: grid;
        gap: 22px;
        margin-bottom: 38px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 310px;
    }

    .performance-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    .performance-visual {
        width: 100%;
        min-height: 390px;
        padding: 65px 24px;
    }

    .route-card {
        padding: 25px 20px;
    }

    .performance-badge {
        right: 8px;
        bottom: 22px;
        width: 122px;
        height: 122px;
    }

    .driver-banner-inner {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .driver-quote {
        padding-top: 28px;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.32);
        border-left: 0;
    }

    .page-hero,
    .page-hero-compact {
        padding: 78px 0 62px;
    }

    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .page-hero h1 {
        font-size: clamp(2.3rem, 9.5vw, 3.15rem);
    }

    .page-hero-aside {
        max-width: 520px;
    }

    .page-hero-rule span {
        width: 58%;
    }

    .story-panel {
        min-height: 390px;
    }

    .story-kicker {
        margin-bottom: 70px;
    }

    .form-sidebar,
    .contact-info {
        position: static;
    }

    .footer-cta-inner {
        align-items: flex-start;
        padding-top: 60px;
        padding-bottom: 60px;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px 30px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .utility-links {
        font-size: 0.66rem;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .hero-actions,
    .footer-cta-actions,
    .form-submit-row,
    .error-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button,
    .footer-cta-actions .button,
    .form-submit-row .button {
        width: 100%;
    }

    .service-card {
        padding: 28px;
    }

    .story-panel {
        min-height: 350px;
        padding: 34px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-item,
    .value-item:nth-child(2) {
        min-height: auto;
        padding: 30px 10px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .value-item > span {
        margin-bottom: 30px;
    }

    .form-card {
        margin-right: -4px;
        margin-left: -4px;
        border-radius: var(--radius);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .form-field-wide {
        grid-column: auto;
    }

    .form-submit-row p {
        max-width: none;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand-column {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        justify-content: center;
        padding: 22px 0;
        flex-direction: column;
        gap: 3px;
    }
}
