/* Truck Door Co.
   Fleet lettering: white door panels, navy vinyl with an orange drop shadow,
   pinstripes. Deliberately not the Smoke and Bones Works look, and not one
   of the client site styles either (those use Barlow Condensed and Inter). */

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

:root {
    --navy: #13233F;
    --navy-2: #1F3560;
    --orange: #F26A1B;
    --orange-deep: #C94F0C;
    --fleet: #FFFFFF;
    --steel: #E7EAEE;
    --steel-2: #D3D8DF;
    --seam: #A7B0BC;
    --ink: #13233F;
    --muted: #4E5968;

    --pinstripe: linear-gradient(var(--orange), var(--orange)) top / 100% 3px no-repeat,
                 linear-gradient(var(--navy), var(--navy)) 0 6px / 100% 2px no-repeat;

    --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
    --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius: 10px;
    --wrap: 1160px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--fleet);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Top bar ---------- */

.topbar {
    background: var(--fleet);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--steel-2);
}
.topbar::after {
    content: "";
    display: block;
    height: 7px;
    background: var(--pinstripe);
}
.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--navy);
}
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-mark img { width: 100%; height: 100%; }
.brand-name {
    font-family: var(--display);
    font-weight: 900;
    font-size: 1.65rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.brand-name span { color: var(--orange); }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: .98rem;
    color: var(--navy);
}
.nav-links a:hover { color: var(--orange-deep); }
.nav-links a.nav-cta {
    background: var(--orange);
    color: var(--navy);
    padding: .55rem 1rem;
    border-radius: 6px;
    font-weight: 700;
}
.nav-links a.nav-cta:hover { background: var(--navy); color: var(--fleet); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--body);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
    text-decoration: none;
    padding: .95rem 1.5rem;
    min-height: 52px;
    border-radius: 8px;
    border: 2px solid var(--orange);
    background: var(--orange);
    color: var(--navy);
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: var(--fleet); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--fleet); }
.btn-dark { background: var(--navy); border-color: var(--navy); color: var(--fleet); }
.btn-dark:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- Type ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange-deep);
    margin-bottom: .9rem;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 7px;
    background: var(--pinstripe);
}

.section-title,
.hero h1,
.cta-band h2,
.service-top h2,
.start-form legend,
.start-side h2 {
    font-family: var(--display);
    font-weight: 900;
    text-transform: uppercase;
    line-height: .95;
    letter-spacing: .005em;
    color: var(--navy);
}
.section-title { font-size: clamp(2.3rem, 5vw, 3.4rem); }

.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; }

section { padding: 88px 0; }

/* ---------- Hero ---------- */

.hero {
    background: var(--steel);
    padding: 64px 0 80px;
    border-bottom: 1px solid var(--steel-2);
}
.hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: center;
}
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.2rem); }
.hero h1 em {
    font-style: normal;
    color: var(--orange);
    text-shadow: 3px 3px 0 var(--navy);
}
.hero .lede { font-size: 1.15rem; margin-top: 1.4rem; max-width: 34rem; color: #2C3A52; }
.hero .lede strong { color: var(--navy); }

/* The truck */
.door-wrap { margin: 0; }
.truck { display: block; width: 100%; max-width: 560px; height: auto; margin-left: auto; overflow: visible; }
.t-name { font-family: var(--display); font-weight: 900; font-size: 37px; letter-spacing: .5px; }
.t-trade { font-family: var(--body); font-weight: 700; font-size: 14px; letter-spacing: 1.6px; }
.t-small { font-family: var(--body); font-weight: 700; font-size: 12px; letter-spacing: 2px; }
.t-url { font-family: var(--display); font-weight: 900; font-size: 22px; }
.t-sticker { font-family: var(--display); font-weight: 900; font-size: 26px; }
.door-caption {
    max-width: 560px;
    margin: .6rem 0 0 auto;
    font-size: .95rem;
    color: var(--muted);
    text-align: center;
}

/* ---------- Built-for strip ---------- */

.strip { background: var(--navy); color: var(--fleet); }
.strip .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .4rem 1.1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.strip .label { color: var(--orange); }
.strip .dot { color: var(--orange); font-size: .9rem; }

/* ---------- Cards ---------- */

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

.card {
    position: relative;
    background: var(--fleet);
    border: 2px solid var(--steel-2);
    border-radius: var(--radius);
    padding: 26px 24px 24px;
}
.card h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: .5rem; color: var(--navy); }
.card p { color: var(--muted); }
.card-no {
    font-family: var(--display);
    font-weight: 900;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--orange);
    margin-bottom: .7rem;
}

a.card { display: block; text-decoration: none; color: inherit; }
.card.lift { transition: border-color .15s, transform .15s, box-shadow .15s; }
.card.lift:hover {
    border-color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 18px 30px -20px rgba(19, 35, 63, .5);
}
.card .more { display: inline-block; margin-top: 1rem; font-weight: 700; color: var(--orange-deep); }

.tag {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--steel);
    border-radius: 4px;
    padding: .25rem .55rem;
    margin-bottom: .7rem;
}

.work-card { padding: 14px 14px 22px; }
.work-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    border-radius: 6px;
    border: 1px solid var(--steel-2);
    margin-bottom: 1.1rem;
}
.work-card .tag, .work-card h3, .work-card p, .work-card .more { margin-left: 8px; margin-right: 8px; }
#work .grid-3.grid-2 { max-width: none; }

.included { background: var(--steel); }
.included .card { border-color: transparent; }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }

.service {
    display: flex;
    flex-direction: column;
    background: var(--fleet);
    border: 2px solid var(--steel-2);
    border-radius: 14px;
    overflow: hidden;
}
.service-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 26px 28px 20px;
    border-bottom: 1px solid var(--steel-2);
}
.service-top h2 { font-size: 2.3rem; }
.price {
    font-family: var(--display);
    font-weight: 900;
    font-size: 3rem;
    line-height: 1;
    color: var(--navy);
    white-space: nowrap;
}
.price small { font-size: 1.1rem; font-weight: 700; color: var(--muted); margin-left: 2px; }
.service-body { padding: 22px 28px 6px; flex: 1; }
.service-intro { font-size: 1.08rem; margin-bottom: 1.3rem; }
.service-cols { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.service-body h3 {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem;
}
.ticks { list-style: none; display: grid; gap: .4rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .42em;
    width: 1rem;
    height: .55rem;
    border-left: 3px solid var(--orange);
    border-bottom: 3px solid var(--orange);
    transform: rotate(-45deg);
}
.plan-cta { padding: 18px 28px 28px; }
.plan-cta .btn { width: 100%; }

.service.featured { border-color: var(--navy); }
.service.featured .service-top { background: var(--navy); border-bottom-color: var(--navy); }
.service.featured .service-top h2,
.service.featured .price { color: var(--fleet); }
.service.featured .price small { color: #B9C3D3; }
.plan-flag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--orange);
    color: var(--navy);
    border-radius: 4px;
    padding: .2rem .5rem;
    margin-left: .6rem;
    vertical-align: middle;
    font-family: var(--body);
}

/* ---------- Steps ---------- */

.steps { background: var(--navy); color: var(--fleet); }
.steps .section-title { color: var(--fleet); }
.steps .eyebrow { color: var(--orange); }
.step { border-top: 2px solid rgba(255,255,255,.18); padding-top: 1.2rem; }
.step-num {
    font-family: var(--display);
    font-weight: 900;
    font-size: 3.2rem;
    line-height: 1;
    color: var(--orange);
    margin-bottom: .6rem;
}
.step h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.step p { color: #C9D1DE; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--steel-2); }
.faq details:first-of-type { border-top: 1px solid var(--steel-2); }
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    font-family: var(--display);
    font-weight: 900;
    font-size: 1.8rem;
    line-height: .8;
    color: var(--orange);
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 1.3rem; color: var(--muted); max-width: 70ch; }
.faq details a { color: var(--orange-deep); font-weight: 600; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--orange); padding: 64px 0; }
.cta-band .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
}
.cta-band h2 { font-size: clamp(2.3rem, 5vw, 3.3rem); }
.cta-band p { font-size: 1.12rem; margin-top: .6rem; max-width: 36rem; }
.cta-band .btn-row { margin-top: 0; }
.cta-band .btn-ghost:hover { background: var(--navy); }

/* ---------- Footer ---------- */

footer { background: var(--navy); color: #C9D1DE; padding: 44px 0 36px; }
footer::before { content: ""; display: block; }
footer .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
}
footer .brand { color: var(--fleet); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--orange); }
.footer-fine { width: 100%; font-size: .9rem; color: #8E9AB0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem; }

/* ---------- Focus ---------- */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

/* ---------- Entrance ---------- */

@media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise .55s cubic-bezier(.2,.7,.2,1) both; }
    .d1 { animation-delay: .06s; }
    .d2 { animation-delay: .12s; }
    .d3 { animation-delay: .18s; }
    .door-wrap { animation: rise .7s .1s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Sign-up page ---------- */

.start-main { background: var(--steel); padding: 56px 0 88px; }
.start-main .section-title { font-size: clamp(2.3rem, 5vw, 3.4rem); }
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.start-form {
    background: var(--fleet);
    border: 1px solid var(--steel-2);
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 20px 40px -30px rgba(19, 35, 63, .45);
}
.start-form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.start-form legend { font-size: 1.75rem; margin-bottom: 12px; }
.start-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.start-form label.f { display: block; font-weight: 700; margin-bottom: 14px; }
.start-form label.f > span { display: block; margin-bottom: 6px; }
.start-form input[type="text"],
.start-form input[type="email"],
.start-form input[type="tel"],
.start-form select,
.start-form textarea {
    width: 100%;
    font: inherit;
    font-weight: 400;
    color: var(--ink);
    background: var(--fleet);
    border: 2px solid var(--steel-2);
    border-radius: 8px;
    padding: .75rem .85rem;
    min-height: 50px;
}
.start-form input:hover, .start-form select:hover, .start-form textarea:hover { border-color: var(--seam); }
.start-form input:focus, .start-form select:focus, .start-form textarea:focus { border-color: var(--navy); outline-offset: 0; }
.start-form textarea { min-height: 110px; resize: vertical; }
.start-form .opt { font-weight: 400; color: var(--muted); }
.start-form .btn { width: 100%; }
.choice { display: grid; gap: 12px; }
.choice.two, .choice.four { grid-template-columns: 1fr 1fr; }
.choice label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 2px solid var(--steel-2);
    border-radius: 10px;
    background: var(--fleet);
    padding: 14px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.choice label:hover { border-color: var(--seam); }
.choice label:has(input:checked) { border-color: var(--navy); background: #FFF3EA; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input { margin-top: 5px; accent-color: var(--orange-deep); width: 18px; height: 18px; flex: none; }
.choice b { display: block; color: var(--navy); }
.choice a { font-size: .92rem; color: var(--orange-deep); font-weight: 600; }
.start-side {
    background: var(--navy);
    color: #D7DEE9;
    padding: 28px;
    border-radius: 14px;
    position: sticky;
    top: 100px;
}
.start-side h2 { font-size: 1.9rem; margin: 0 0 14px; color: var(--fleet); }
.start-side ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.start-side li::marker { color: var(--orange); font-weight: 700; }
.start-note { color: var(--muted); font-size: .95rem; margin: 14px 0 0; }
.start-alert {
    border: 2px solid var(--orange-deep);
    border-left-width: 8px;
    background: #FFF3EA;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-weight: 700;
}
.hp { position: absolute; left: -9999px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
    .truck, .door-caption { margin-left: auto; margin-right: auto; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .start-grid { grid-template-columns: 1fr; }
    .start-side { position: static; }
}

@media (max-width: 820px) {
    .nav-links li:not(:last-child) { display: none; }
    .plans { grid-template-columns: 1fr; }
    .grid-3.grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    section { padding: 64px 0; }
    .hero { padding: 40px 0 56px; }
    .grid-3 { grid-template-columns: 1fr; }
    .btn-row .btn { flex: 1 1 100%; }
    .brand-name { font-size: 1.4rem; }
    .brand-mark { width: 32px; height: 32px; }
    .strip .wrap { font-size: 1.1rem; gap: .2rem .7rem; }
    .service-top { flex-direction: column; gap: .4rem; padding: 22px 22px 18px; }
    .service-body, .plan-cta { padding-left: 22px; padding-right: 22px; }
    .start-form { padding: 22px 18px; }
    .start-form .row, .choice.two, .choice.four { grid-template-columns: 1fr; }
}
