/* All Terrain Campers
   Palette: granite, brushed aluminum, Sierra pine, trail-blaze yellow.
   Type: Barlow Condensed for headings (road-sign, workshop feel), Barlow for reading. */

:root {
    --granite: #23292b;
    --granite-2: #3a4346;
    --aluminum: #e3e8ea;
    --aluminum-2: #c9d1d4;
    --snow: #f6f8f8;
    --white: #ffffff;
    --pine: #2c5a4c;
    --pine-dark: #1f4237;
    --blaze: #e9b44c;
    --blaze-dark: #d39b2c;
    --mist: #535e61;
    --danger: #a33a2a;

    --font-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, sans-serif;
    --font-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;

    --wrap: 72rem;
    --gutter: clamp(1rem, 4vw, 2rem);
    --radius: 6px;
    --step--1: 0.875rem;
    --step-0: 1.0625rem;
    --step-1: 1.25rem;
    --step-2: 1.6rem;
    --step-3: clamp(1.9rem, 3vw + 1rem, 2.6rem);
    --step-4: clamp(2.6rem, 6vw + 1rem, 4.75rem);

    /* Set per font pairing (Admin > Appearance): wider heading fonts are scaled down a little. */
    --head-scale: 1;
    --head-weight: 700;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--granite);
    background: var(--snow);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); text-underline-offset: 0.18em; }
a:hover { color: var(--pine-dark); }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, .h3 {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    line-height: 1.08;
    letter-spacing: 0.005em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}
h1 { font-size: calc(var(--step-4) * var(--head-scale)); }
h2 { font-size: calc(var(--step-3) * var(--head-scale)); }
h3, .h3 { font-size: calc(var(--step-2) * var(--head-scale)); font-weight: 600; }
p { margin: 0 0 1em; }
small { font-size: var(--step--1); }
code { font-size: 0.9em; background: var(--aluminum); padding: 0.1em 0.35em; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--blaze); color: var(--granite); padding: 0.5rem 1rem; z-index: 100; }
.skip:focus { left: 0.5rem; }
.muted { color: var(--mist); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font: 600 1.05rem/1 var(--font-body);
    padding: 0.85em 1.3em;
    border-radius: var(--radius);
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}
.btn-blaze { background: var(--blaze); color: var(--granite); }
.btn-blaze:hover { background: var(--blaze-dark); color: var(--granite); }
.btn-pine { background: var(--pine); color: var(--white); }
.btn-pine:hover { background: var(--pine-dark); color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-small { padding: 0.5em 0.9em; font-size: 0.95rem; background: var(--aluminum); color: var(--granite); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: var(--granite);
    color: var(--white);
    border-bottom: 3px solid var(--blaze);
}
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand {
    display: flex; align-items: center; gap: 0.6rem;
    color: var(--white); text-decoration: none;
    font: 700 1.55rem/1 var(--font-head);
    letter-spacing: 0.01em;
    margin-right: auto;
}
.brand:hover { color: var(--white); }
.brand-mark { width: 2.4rem; height: auto; color: var(--blaze); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.main-nav a {
    display: block; padding: 0.5rem 0.7rem;
    color: var(--aluminum); text-decoration: none; font-weight: 500;
    border-radius: var(--radius);
}
.main-nav a:hover { color: var(--white); background: var(--granite-2); }
.main-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--blaze); border-radius: 0; }
.header-phone {
    color: var(--granite); background: var(--blaze);
    font-weight: 600; text-decoration: none; white-space: nowrap;
    padding: 0.5rem 0.9rem; border-radius: var(--radius);
}
.header-phone:hover { background: var(--blaze-dark); color: var(--granite); }
.nav-toggle { display: none; }

@media (max-width: 62rem) {
    .header-row { flex-wrap: wrap; gap: 0.75rem; }
    .js .nav-toggle {
        display: inline-flex; order: 2; align-items: center; justify-content: center;
        width: 2.75rem; height: 2.75rem; background: none; border: 1px solid var(--granite-2);
        border-radius: var(--radius); color: var(--white); cursor: pointer;
    }
    .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
        display: block; width: 1.25rem; height: 2px; background: currentColor; position: relative;
    }
    .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; }
    .nav-toggle-bars::before { top: -6px; }
    .nav-toggle-bars::after { top: 6px; }
    .header-phone { order: 1; }
    .main-nav { order: 3; flex-basis: 100%; }
    .js .main-nav { display: none; }
    .js .nav-open .main-nav { display: block; }
    .main-nav ul { flex-direction: column; padding-bottom: 0.75rem; }
    .main-nav a { padding: 0.75rem 0.5rem; }
    .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blaze); padding-left: 0.9rem; }
}
@media (max-width: 26rem) {
    .brand span { font-size: 1.3rem; }
    .header-phone { font-size: 0.9rem; padding: 0.45rem 0.6rem; }
}

/* ---------- Hero: photo over a topographic fallback ---------- */
.hero {
    position: relative;
    color: var(--white);
    background-color: var(--granite);
    background-image:
        linear-gradient(90deg, rgba(20,24,25,0.86) 0%, rgba(20,24,25,0.55) 55%, rgba(20,24,25,0.15) 100%),
        url("/images/hero.jpg"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400'%3E%3Cg fill='none' stroke='%233a4346' stroke-width='1.5'%3E%3Cpath d='M-20 320c80-40 140-10 220-50s120-110 210-100 140 60 210 30'/%3E%3Cpath d='M-20 280c90-50 150-20 230-60s110-100 200-90 150 50 210 20'/%3E%3Cpath d='M-20 240c100-60 160-30 240-70s100-90 190-80 160 40 210 10'/%3E%3Cpath d='M-20 200c110-70 170-40 250-80s90-80 180-70 170 30 210 0'/%3E%3Cpath d='M-20 360c70-30 130 0 210-40s130-120 220-110 130 70 210 40'/%3E%3Cpath d='M40 120c40-30 90-40 130-20s50 50 10 60-110-10-140-40z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, cover, 600px 400px;
    background-position: center, center 60%, center;
}
.hero-inner { padding-block: clamp(4.5rem, 14vw, 9.5rem) clamp(3.5rem, 10vw, 7rem); }
.hero h1 { max-width: 13ch; margin-bottom: 0.3em; }
.hero-lede { font-size: var(--step-1); max-width: 34rem; color: var(--aluminum); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-tight { padding-block: clamp(2rem, 5vw, 3rem); }
.section-panel { background: var(--aluminum); }
.section-lede { font-size: var(--step-1); color: var(--mist); max-width: 42rem; }
.section-lede p { margin: 0; }
.page-head { background: var(--granite); color: var(--white); padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--granite-2); }
.page-head h1 { font-size: calc(clamp(2.2rem, 4vw + 1rem, 3.5rem) * var(--head-scale)); }
.page-head .section-lede { color: var(--aluminum-2); margin: 0; }
.page-head a { color: var(--blaze); }

.prose { max-width: 40rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5em; }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
@media (max-width: 48rem) { .split { grid-template-columns: 1fr; } }

.facts { list-style: none; margin: 0; padding: 0; border-left: 4px solid var(--pine); }
.facts li { padding: 0.9rem 0 0.9rem 1.25rem; border-bottom: 1px solid var(--aluminum-2); }
.facts li:last-child { border-bottom: 0; }
.facts strong { display: block; font: 600 var(--step-1)/1.2 var(--font-head); color: var(--pine-dark); }

/* ---------- Fit finder: truck size x bed length ---------- */
.fit { margin-top: 1.5rem; border: 2px solid var(--granite); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.fit-row { display: grid; grid-template-columns: minmax(10rem, 1.2fr) 1fr 1fr; }
.fit-row + .fit-row { border-top: 1px solid var(--aluminum-2); }
.fit-head { background: var(--granite); color: var(--white); font: 600 var(--step-1)/1.2 var(--font-head); }
.fit-head > span { padding: 0.75rem 1rem; }
.fit-truck { padding: 1rem; font: 600 var(--step-1)/1.2 var(--font-head); background: var(--snow); }
.fit-truck small { display: block; font: 400 var(--step--1)/1.4 var(--font-body); color: var(--mist); margin-top: 0.3rem; }
.fit-cell { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem; border-left: 1px solid var(--aluminum-2); align-content: flex-start; }
.fit-cell a {
    flex: 1 1 8rem;
    display: block; padding: 0.7rem 0.9rem;
    border: 1px solid var(--aluminum-2); border-left: 4px solid var(--pine);
    border-radius: 3px; text-decoration: none;
    font: 700 1.5rem/1.1 var(--font-head); color: var(--granite);
}
.fit-cell a:hover { border-color: var(--pine); background: var(--snow); }
.fit-cell a small { display: block; font: 500 var(--step--1)/1.4 var(--font-body); color: var(--mist); }
.fit-none { color: var(--mist); padding: 0.7rem 0; }
@media (max-width: 40rem) {
    .fit-head { display: none; }
    .fit-row { grid-template-columns: 1fr 1fr !important; }
    .fit-truck { grid-column: 1 / -1; }
    .fit-cell { border-left: 0; }
    .fit-cell:nth-child(odd) { border-left: 1px solid var(--aluminum-2); }
    .fit-cell:nth-child(n+4) { border-top: 1px solid var(--aluminum-2); }
    .fit-cell::before { flex-basis: 100%; font-size: var(--step--1); color: var(--mist); }
    .fit-cell::before { content: attr(data-label); }
}

/* ---------- Testimonials ---------- */
.quotes { columns: 2 22rem; column-gap: 2.5rem; }
.quote { break-inside: avoid; margin: 0 0 2.5rem; }
.quote blockquote { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--blaze); font-size: var(--step-1); line-height: 1.55; }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: 0.75rem; padding-left: 1.25rem; color: var(--mist); font-weight: 500; }

/* ---------- Call band ---------- */
.call-band { background: var(--pine); color: var(--white); padding-block: 2.5rem; }
.call-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.call-band-inner > p:first-child { font: 600 var(--step-2)/1.2 var(--font-head); margin: 0; max-width: 32rem; }
.call-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

/* ---------- Camper models ---------- */
.model { padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--aluminum-2); }
.model:nth-of-type(even) { background: var(--white); }
.model-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
@media (max-width: 48rem) { .model-grid { grid-template-columns: 1fr; } }
.model h2 { font-size: calc(clamp(2.4rem, 4vw + 1rem, 3.4rem) * var(--head-scale)); margin-bottom: 0.1em; }
.model-fit { font: 600 var(--step-1)/1.3 var(--font-head); color: var(--pine); }
.model-price { font: 700 var(--step-2)/1 var(--font-head); margin-top: 1.25rem; }
.model-detail img { border-radius: var(--radius); margin-bottom: 1.25rem; }
.specs { display: grid; grid-template-columns: auto 1fr; margin: 0 0 1.25rem; border-top: 2px solid var(--granite); }
.specs dt, .specs dd { padding: 0.6rem 0; border-bottom: 1px solid var(--aluminum-2); margin: 0; }
.specs dt { font-weight: 600; padding-right: 1.5rem; }
.specs .specs-full { grid-column: 1 / -1; font-weight: 400; }
.equipment summary { cursor: pointer; font-weight: 600; color: var(--pine); padding: 0.4rem 0; }
.columns { columns: 2 14rem; column-gap: 2rem; padding-left: 1.1rem; margin: 0.5rem 0 0; }
.columns li { break-inside: avoid; margin-bottom: 0.3rem; }

.note-card { background: var(--white); border: 1px solid var(--aluminum-2); border-top: 4px solid var(--pine); padding: 1.5rem; border-radius: 0 0 var(--radius) var(--radius); }
.note-card p:last-child { margin: 0; }

.feature-groups { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 1.5rem; }
.feature-groups h3 { border-bottom: 2px solid var(--granite); padding-bottom: 0.4rem; }
.feature-groups ul { padding-left: 1.1rem; margin: 0; }
.feature-groups li { margin-bottom: 0.4rem; }

/* ---------- Price tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 28rem; }
.price-table th, .price-table td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--aluminum); vertical-align: top; }
.price-table thead th { font: 600 1.15rem/1.2 var(--font-head); background: var(--granite); color: var(--white); border: 0; }
.price-table tbody th { font-weight: 500; }
.price-table tbody th small { display: block; color: var(--mist); font-weight: 400; }
.price-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.price-table .is-shell th, .price-table .is-shell td { background: var(--snow); }
.price-table tbody tr:hover th, .price-table tbody tr:hover td { background: color-mix(in srgb, var(--pine) 6%, white); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 50rem; }
.faq { border-bottom: 1px solid var(--aluminum-2); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 0.5rem; top: 50%; width: 0.7rem; height: 0.7rem;
    border-right: 2px solid var(--pine); border-bottom: 2px solid var(--pine);
    transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq summary h2 { font-size: 1.45rem; font-weight: 600; margin: 0; display: inline; }
.faq .prose { padding-bottom: 1.25rem; }

/* ---------- Forms ---------- */
.form { max-width: 40rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1.1rem; flex: 1; min-width: 0; }
/* Side-by-side fields share label, box and hint rows, so the boxes line up even when one label wraps. */
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); column-gap: 1rem; align-items: start; }
.field-row-3 { grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); }
.field-row > .field { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0.3rem; align-content: start; }
.field-row > .check { grid-row: span 3; align-self: center; margin: 0; }
fieldset.field-row { border: 0; padding: 0; margin: 0; }
fieldset legend { font-weight: 600; margin-bottom: 0.5rem; padding: 0; }
label { font-weight: 600; }
.optional { font-weight: 400; color: var(--mist); }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea {
    font: inherit; color: inherit;
    padding: 0.65rem 0.75rem;
    border: 1px solid #8f9a9d; border-radius: var(--radius);
    background: var(--white); width: 100%;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blaze); outline-offset: 0; border-color: var(--granite); }
.input-validation-error { border-color: var(--danger) !important; }
.field-error, .form-errors { color: var(--danger); font-size: var(--step--1); font-weight: 500; }
.form-errors ul { margin: 0 0 1rem; padding-left: 1.1rem; }
.validation-summary-valid { display: none; }
.hint { color: var(--mist); font-size: var(--step--1); }
.check { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; margin: 0.5rem 0 1.1rem; }
.check input { width: 1.15rem; height: 1.15rem; flex: none; margin: 0; accent-color: var(--pine); }
.hp { position: absolute; left: -9999px; }
.notice { background: color-mix(in srgb, var(--pine) 12%, white); border-left: 4px solid var(--pine); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; }

.contact-grid { display: grid; gap: 3rem; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
@media (max-width: 52rem) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--granite); color: var(--white); padding: 1.75rem; border-radius: var(--radius); }
.contact-card a { color: var(--blaze); }
.contact-card address { font-style: normal; margin-bottom: 0.5rem; }
.contact-list { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--granite-2); }
.contact-list dt { color: var(--aluminum-2); }
.contact-list dd { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--granite); color: var(--aluminum-2); padding-top: 3rem; font-size: 0.97rem; }
.site-footer a { color: var(--aluminum); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); padding-bottom: 2rem; }
.footer-name { font: 700 1.4rem/1.1 var(--font-head); color: var(--white); }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.footer-legal { border-top: 1px solid var(--granite-2); padding-block: 1.25rem; font-size: var(--step--1); }
.footer-legal p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
    .site-header, .call-band, .site-footer nav { display: none; }
    .hero, .page-head { background: none; color: #000; }
}

/* ---------- Photo galleries ---------- */
.gallery { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.gallery-compact { gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--aluminum-2); }
.gallery figcaption { margin-top: 0.6rem; font-size: var(--step--1); color: var(--mist); line-height: 1.45; }
.gallery-steps { counter-reset: step; }
.gallery-steps li { counter-increment: step; }
.gallery-steps figcaption { color: var(--granite); font-size: var(--step-0); }
.gallery-steps figcaption::before {
    content: counter(step); display: inline-grid; place-items: center;
    width: 1.75rem; height: 1.75rem; margin-right: 0.5rem; border-radius: 50%;
    background: var(--pine); color: var(--white); font: 700 1rem/1 var(--font-head);
}
.split .gallery { margin-top: 0; }

/* ---------- Announcement bar and cookie notice ---------- */
.announcement { background: var(--blaze); color: var(--granite); font-weight: 500; }
.announcement-inner { display: flex; align-items: center; gap: 1rem; min-height: 2.5rem; padding-block: 0.4rem; }
.announcement p { margin: 0 auto 0 0; }
.announcement a { color: var(--granite); font-weight: 600; }
.announcement-close { background: none; border: 0; font-size: 1.5rem; line-height: 1; padding: 0.25rem 0.5rem; cursor: pointer; color: var(--granite); }
.btn-outline { border-color: var(--granite); color: var(--granite); background: var(--white); }
.btn-outline:hover { background: var(--aluminum); color: var(--granite); }
.cookie-notice { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; pointer-events: none; }
.cookie-notice[hidden] { display: none; }
.cookie-inner {
    pointer-events: auto; max-width: 38rem; background: var(--white); color: var(--granite);
    border: 1px solid var(--aluminum-2); border-top: 4px solid var(--pine); border-radius: var(--radius);
    padding: 1.1rem 1.25rem; box-shadow: 0 10px 30px rgba(20, 24, 25, 0.25);
}
.cookie-title { font: 700 var(--step-1)/1.2 var(--font-head); margin-bottom: 0.4rem; }
.cookie-inner p { font-size: var(--step--1); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-actions .btn { padding: 0.7em 1.1em; font-size: 0.98rem; }

/* ---------- Header build button ---------- */
.main-nav a.nav-build { background: var(--pine); color: var(--white); margin-left: 0.35rem; }
.main-nav a.nav-build:hover { background: var(--pine-dark); }
.main-nav a.nav-build[aria-current="page"] { box-shadow: none; border-radius: var(--radius); }
@media (max-width: 62rem) { .main-nav a.nav-build { margin: 0.4rem 0 0; text-align: center; } }

/* ---------- Home model cards ---------- */
.model-cards { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.model-card a { display: block; height: 100%; text-decoration: none; color: var(--granite); background: var(--white); border: 1px solid var(--aluminum-2); border-radius: var(--radius); overflow: hidden; }
.model-card a:hover { border-color: var(--pine); }
.model-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--aluminum); }
.model-card-body { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem 1rem; }
.model-card-body strong { font: 700 1.7rem/1 var(--font-head); }
.model-card-body small { color: var(--mist); }
.model-card-price { font-weight: 600; color: var(--pine); margin-top: 0.3rem; }
.model-cards-foot { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }

/* ---------- Camper builder ---------- */
.builder { padding-block: clamp(2rem, 5vw, 3rem); }
.builder-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; }
@media (max-width: 60rem) { .builder-grid { grid-template-columns: 1fr; } }
.step { border: 0; margin: 0 0 2.25rem; padding: 0; min-width: 0; }
.step[disabled] { opacity: 0.55; }
.step legend { font: 700 var(--step-2)/1.2 var(--font-head); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.6rem; padding: 0; }
.step-num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--pine); color: var(--white); font-size: 1.1rem; }
.step-hint { color: var(--mist); }
.choice-row { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin-bottom: 0.9rem; }
.choice-row[hidden] { display: none; }
.choice, .camper-card { position: relative; display: block; cursor: pointer; font-weight: 400; }
.choice input, .camper-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice > span, .camper-card-body {
    display: flex; flex-direction: column; gap: 0.2rem; height: 100%; padding: 0.9rem 1rem;
    background: var(--white); border: 2px solid var(--aluminum-2); border-radius: var(--radius);
}
.choice small, .camper-card-body small { color: var(--mist); }
.choice-price { margin-top: 0.25rem; font-weight: 600; }
.choice-price em { font-style: normal; color: var(--pine); font-weight: 500; }
.choice input:checked + span, .camper-card input:checked + .camper-card-body { border-color: var(--pine); box-shadow: inset 0 0 0 1px var(--pine); background: color-mix(in srgb, var(--pine) 7%, white); }
.choice input:focus-visible + span, .camper-card input:focus-visible + .camper-card-body { outline: 3px solid var(--blaze); outline-offset: 2px; }
.camper-cards { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.camper-card-body { padding: 0 0 0.9rem; overflow: hidden; }
.camper-card-body img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 0.5rem; }
/* Floor plans of each camper (Infrastructure/CamperArt.cs). */
.camper-card-body .camper-art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--snow); margin-bottom: 0.5rem; }
.camper-tag { display: inline-block; margin: 0 0 0.35rem 0.9rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--granite); color: var(--white); font: 700 0.72rem/1.2 var(--font-body); letter-spacing: 0.05em; text-transform: uppercase; }
.camper-card-body .shell-note { display: block; margin: 0.6rem 0.9rem 0; padding: 0.5rem 0.6rem; border-radius: 6px; background: color-mix(in srgb, var(--blaze) 22%, white); color: #5a4100; font-size: 0.8rem; line-height: 1.4; }
/* Option icons (Infrastructure/OptionArt.cs), shown where an option has no picture. */
.option-icon { flex: none; display: block; width: 3rem; height: 3rem; padding: 2px; border-radius: 6px; background: var(--snow); }
.option-icon .option-art { display: block; width: 100%; height: 100%; }
.camper-card-body strong, .camper-card-body small, .camper-price { padding-inline: 0.9rem; }
.camper-card-body strong { font: 700 1.5rem/1 var(--font-head); }
.camper-price { font-weight: 600; color: var(--pine); }
.option-group-title { font-size: var(--step-1); margin: 1.5rem 0 0.5rem; }
.option-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--aluminum-2); }
.option { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.25rem; border-bottom: 1px solid var(--aluminum-2); font-weight: 400; cursor: pointer; }
.option input { width: 1.15rem; height: 1.15rem; accent-color: var(--pine); flex: none; }
.option span:first-of-type { flex: 1; }
.option-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.option.in-package { color: var(--mist); }
.builder-summary { position: sticky; top: calc(5.5rem + env(safe-area-inset-top, 0px)); background: var(--white); border: 1px solid var(--aluminum-2); border-top: 4px solid var(--blaze); border-radius: var(--radius); padding: 1.25rem; }
@media (max-width: 60rem) { .builder-summary { position: static; } }
.summary-truck { color: var(--mist); margin-bottom: 0.5rem; }
.summary-lines { list-style: none; margin: 0; padding: 0; }
.summary-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--aluminum); font-size: var(--step--1); }
.summary-lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0.9rem 0 0.6rem; }
.summary-total strong { font: 700 var(--step-2)/1 var(--font-head); color: var(--pine); }
/* Deposit needed to order, under the total in the builder and on sent quotes. */
.summary-deposit { display: flex; justify-content: space-between; align-items: baseline; margin: -0.2rem 0 0.6rem; padding: 0.4rem 0.6rem; border-radius: 6px; background: color-mix(in srgb, var(--blaze) 20%, white); font-size: 0.92rem; }
.summary-deposit strong { font: 700 1.15rem/1 var(--font-head); color: var(--granite); }
.summary-actions { display: flex; gap: 0.5rem; margin: 0; }
.summary-action {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
    padding: 0.55rem 0.75rem; font: 600 0.95rem/1.2 var(--font-body); color: var(--granite);
    background: var(--white); border: 1px solid var(--aluminum-2); border-radius: var(--radius); cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.summary-action:hover { border-color: var(--pine); background: var(--snow); }
.summary-action:focus-visible { outline: 3px solid var(--blaze); outline-offset: 2px; }
.summary-action svg { width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.summary-action.is-done { border-color: var(--pine); color: var(--pine); background: color-mix(in srgb, var(--pine) 7%, white); }
.quote-summary { max-width: 32rem; margin-top: 1.5rem; background: var(--white); border: 1px solid var(--aluminum-2); border-radius: var(--radius); padding: 1.25rem; }
@media print {
    .builder-steps, .announcement, .cookie-notice, .summary-actions { display: none !important; }
    .builder-grid { grid-template-columns: 1fr; }
    .builder-summary { position: static; border: 0; }
}

/* ---------- Articles ---------- */
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; max-width: 52rem; }
.article-card { display: grid; gap: 1.25rem; grid-template-columns: 14rem 1fr; align-items: start; }
.article-card:not(:has(img)) { grid-template-columns: 1fr; }
@media (max-width: 40rem) { .article-card { grid-template-columns: 1fr; } }
.article-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.article-card h2 { margin-bottom: 0.2rem; }
.article-card h2 a { color: var(--granite); text-decoration: none; }
.article-card h2 a:hover { color: var(--pine); text-decoration: underline; }
.article-card p { margin-bottom: 0.4rem; }
.crumbs { margin: 0 0 0.6rem; }
.article-hero { max-width: 48rem; width: 100%; border-radius: var(--radius); margin-bottom: 1.75rem; }
.article-body { max-width: 42rem; }
.article-body h2 { font-size: var(--step-2); margin-top: 1.75em; }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--aluminum-2); max-width: 42rem; }

/* ---------- Builder rules ---------- */
.option span:first-of-type small { display: block; font-weight: 400; margin-top: 0.15rem; }
.option-hint { color: var(--mist); }
.option-why { color: var(--danger); }
.option.is-blocked { color: var(--mist); cursor: not-allowed; }
.choice.is-blocked { cursor: not-allowed; }
.choice.is-blocked > span { opacity: 0.6; }
.builder-notice { background: color-mix(in srgb, var(--blaze) 14%, white); border-left: 4px solid var(--blaze); padding: 0.6rem 0.9rem; margin: 0.5rem 0 0; font-size: var(--step--1); }

/* ---------- Top menu: "More" dropdown ---------- */
.main-nav a, .nav-more summary, .header-phone { white-space: nowrap; }
.nav-more { position: relative; }
.nav-more details { position: relative; }
.nav-more summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.35rem;
    padding: 0.5rem 0.7rem; color: var(--aluminum); font-weight: 500; border-radius: var(--radius);
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after {
    content: ""; width: 0.45rem; height: 0.45rem; margin-top: -0.2rem;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.nav-more details[open] summary::after { transform: rotate(225deg); margin-top: 0.2rem; }
.nav-more summary:hover, .nav-more details[open] summary { color: var(--white); background: var(--granite-2); }
.nav-more summary.is-current { color: var(--white); box-shadow: inset 0 -3px 0 var(--blaze); border-radius: 0; }
.nav-more ul {
    position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 30; min-width: 13rem;
    display: block; list-style: none; margin: 0; padding: 0.4rem;
    background: var(--granite); border: 1px solid var(--granite-2); border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.nav-more ul a { padding: 0.6rem 0.75rem; }
.nav-more ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blaze); border-radius: 0; }

@media (max-width: 62rem) {
    /* Inside the hamburger menu, "More" expands in place instead of floating. */
    .nav-more summary { padding: 0.75rem 0.5rem; }
    .nav-more ul { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--granite-2); border-radius: 0; margin: 0 0 0.25rem 0.75rem; padding: 0 0 0 0.5rem; min-width: 0; }
}

/* ---------- Builder pictures ---------- */
.choice.has-pic > span { padding-top: 0; overflow: hidden; }
.choice.has-pic img { width: calc(100% + 2rem); max-width: none; margin: 0 -1rem 0.6rem; aspect-ratio: 16 / 9; object-fit: cover; background: var(--aluminum); }
.option-row { display: flex; align-items: center; gap: 0.6rem; border-bottom: 1px solid var(--aluminum-2); }
.option-row .option { flex: 1; border-bottom: 0; }
.option-pic { flex: none; width: 4rem; padding: 0; border: 1px solid var(--aluminum-2); border-radius: 4px; background: var(--aluminum); cursor: zoom-in; overflow: hidden; }
.option-pic img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.option-pic:hover { border-color: var(--pine); }
.option-zoom { border: 0; border-radius: var(--radius); padding: 1rem; max-width: min(48rem, 92vw); }
.option-zoom::backdrop { background: rgba(20, 24, 25, 0.7); }
.option-zoom figure { margin: 0 0 0.75rem; }
.option-zoom img { width: 100%; border-radius: 4px; }
.option-zoom figcaption { margin-top: 0.5rem; font-weight: 600; }

/* ---------- Admin preview of another color scheme ---------- */
.preview-bar { background: var(--blaze); color: var(--granite); text-align: center; padding: 0.5rem 1rem; font-size: var(--step--1); }
.preview-bar a { color: var(--granite); font-weight: 600; margin-left: 0.5rem; }

/* ---------- Owner reviews ---------- */
.highlights { list-style: none; margin: 1.25rem 0 1rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.highlight { background: var(--white); border: 1px solid var(--aluminum-2); border-top: 4px solid var(--pine); border-radius: var(--radius); padding: 1.1rem 1.25rem; display: flex; flex-direction: column; }
.highlight h3 { font-size: calc(var(--step-1) * 1.1); margin-bottom: 0.35rem; }
.highlight p { margin-bottom: 0.6rem; }
.highlight-source { margin-top: auto; font-size: var(--step--1); font-weight: 600; }
.review-links { list-style: none; margin: 1.25rem 0 0; padding: 0; max-width: 46rem; }
.review-links li { padding: 1rem 0; border-bottom: 1px solid var(--aluminum-2); }
.review-links li:first-child { border-top: 1px solid var(--aluminum-2); }
.review-links a { font-weight: 600; font-size: var(--step-1); }
.review-meta { display: block; color: var(--mist); font-size: var(--step--1); margin: 0.15rem 0 0.4rem; }
.review-links p { margin: 0; }
.review-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.review-cta p:last-child { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

/* ---------- Builder drawings (used until a photo is added) ---------- */
.choice.has-pic .truck-art { display: block; width: calc(100% + 2rem); margin: 0 -1rem 0.6rem; aspect-ratio: 16 / 9; background: var(--snow); }
.truck-art .t-ground { stroke: var(--aluminum-2); stroke-width: 1.5; }
.truck-art .t-bedmark { fill: var(--blaze); opacity: 0.45; }
.truck-art .t-dim { stroke: var(--granite); stroke-width: 2; stroke-linecap: round; }
.truck-art .t-dim-text { fill: var(--granite); font: 700 15px var(--font-body); }

/* ---------- Pictures in the "Which camper fits your truck?" table ---------- */
.fit-truck-pic, .fit-bed-pic { display: block; overflow: hidden; border-radius: 4px; background: var(--white); aspect-ratio: 16 / 9; }
.fit-truck-pic { width: 100%; max-width: 13rem; margin-bottom: 0.6rem; border: 1px solid var(--aluminum-2); }
.fit-bed-pic { width: 100%; max-width: 10rem; margin-bottom: 0.5rem; }
.fit-truck-pic img, .fit-bed-pic img, .fit-truck-pic .truck-art, .fit-bed-pic .truck-art { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Builder: beds with no standard camper ---------- */
.choice[hidden] { display: none; }
.callus-note { grid-column: 1 / -1; background: color-mix(in srgb, var(--blaze) 14%, white); border-left: 4px solid var(--blaze); border-radius: var(--radius); padding: 1rem 1.25rem; }
.callus-note p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 0.5rem 0 0; }
.fit-cell a.fit-call { border-left-color: var(--blaze); }

/* ---------- Tables in articles and page text ---------- */
.table-scroll { overflow-x: auto; max-width: 100%; margin: 1.25rem 0; }
.prose-table { border-collapse: collapse; min-width: 34rem; width: 100%; font-size: var(--step--1); }
.prose-table th, .prose-table td { padding: 0.55rem 0.75rem; text-align: left; border-bottom: 1px solid var(--aluminum-2); }
.prose-table thead th { background: var(--granite); color: var(--white); font-weight: 600; }
.prose-table tbody tr:nth-child(even) { background: var(--snow); }
.prose-table td:nth-child(n+3) { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Truck bed finder ---------- */
.finder-grid { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: start; }
@media (max-width: 52rem) { .finder-grid { grid-template-columns: 1fr; } }
.finder-form select, .finder-form input[type="number"] { width: 100%; }
.finder-result { background: var(--white); border: 1px solid var(--aluminum-2); border-top: 4px solid var(--pine); border-radius: var(--radius); padding: 1.1rem 1.25rem; min-height: 8rem; }
.finder-result h2 { margin-bottom: 0.1rem; }
.finder-facts { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin: 0.75rem 0 1rem; }
.finder-facts dt { font-size: var(--step--1); color: var(--mist); }
.finder-facts dd { margin: 0; font: 700 var(--step-2)/1.1 var(--font-head); }
.finder-facts dd span { display: block; font: 400 var(--step--1)/1.4 var(--font-body); color: var(--mist); }
.finder-match { font-size: var(--step-1); margin-bottom: 0.4rem; }
.finder-campers { margin: 0 0 1rem; padding-left: 1.2rem; }
.finder-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.bed-table .bed-table-make th { background: var(--aluminum); color: var(--granite); }
.small-print { font-size: var(--step--1); margin-top: 0.75rem; }
.finder-form fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.finder-form legend { width: 100%; font-weight: 700; margin-bottom: 0.4rem; padding: 0; }
.finder-form .check { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 400; margin: 0; }
.finder-form .check input { width: auto; margin: 0; accent-color: var(--pine); }

/* ---------- Logo (Pages/Shared/_Logo.cshtml) ---------- */
.brand-logo { line-height: 0; color: var(--white); }
.brand-logo .atc-logo { height: 2.6rem; width: auto; display: block; }
.footer-logo { display: block; width: 13rem; max-width: 100%; color: var(--white); line-height: 0; margin-bottom: 0.75rem; }
.footer-logo .atc-logo { width: 100%; height: auto; display: block; }
.footer-tagline { font: var(--head-weight, 700) 1rem/1.3 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--aluminum); margin: 0 0 0.6rem; }

/* Header phone button: the full number on wide screens, a compact "Call" button where space is tight. */
.phone-call { display: none; }
@media (max-width: 75rem) {
    .phone-num { display: none; }
    .phone-call { display: inline; }
    .header-row { gap: 1rem; }
    .main-nav a, .main-nav summary { padding-left: 0.6rem; padding-right: 0.6rem; }
}
@media (max-width: 40rem) {
    .header-row { gap: 0.6rem; flex-wrap: nowrap; }
    .brand-logo { min-width: 0; flex: 0 1 14rem; }
    .brand-logo .atc-logo { width: 100%; height: auto; max-height: 2.8rem; }
}

/* "hidden" always hides, even on elements styled as flex or block (buttons, previews). */
[hidden] { display: none !important; }

/* From our owners: photo, story, name and camper. */
.quote { scroll-margin-top: 6rem; }
.quote-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin: 0 0 1rem; }
.quote blockquote p + p { margin-top: 0.6rem; }
.quote figcaption strong { display: block; color: var(--granite); font-weight: 700; }
.quote figcaption span { display: block; font-weight: 400; }
.quote:target { outline: 3px solid var(--blaze); outline-offset: 10px; border-radius: var(--radius); }
.gallery .story-link { font-weight: 600; }

/* Draft preview banner (signed-in admins viewing unpublished pages and articles). */
.draft-banner { background: color-mix(in srgb, var(--blaze) 30%, white); border-bottom: 3px solid var(--blaze); padding: 0.75rem 0; color: var(--granite); }
.draft-banner a { color: var(--granite); font-weight: 600; margin-left: 0.5rem; }
.wide-form { max-width: 56rem; }

/* ---------- Icons (Infrastructure/Icons.cs, Font Awesome Free, CC BY 4.0) ---------- */
.icon { width: 1em; height: 1em; flex: none; fill: currentColor; vertical-align: -0.125em; }
.btn, .header-phone, .link-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.45em; }
.main-nav a.nav-build { display: flex; align-items: center; justify-content: center; gap: 0.45em; }
.summary-action .icon { fill: currentColor; stroke: none; }
.icon-link { display: inline-flex; align-items: center; gap: 0.4em; }
.icon-after { margin-left: 0.3em; font-size: 0.85em; vertical-align: 0; }
.icon-list { list-style: none; padding: 0; margin: 0; }
.icon-list li { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0 0 0.45rem; }
.icon-list .icon { margin-top: 0.2em; color: var(--blaze); }
.contact-list dt { display: flex; align-items: center; gap: 0.5em; }
.contact-list dt .icon { color: var(--blaze); }
/* ---------- Site search: header box with suggestions, and the results page ---------- */
.search-toggle { display: none; }
.site-search { position: relative; display: flex; align-items: center; }
.site-header .site-search input[type="search"] {
    width: 12.5rem; height: 2.5rem; padding: 0 2.5rem 0 0.9rem; margin: 0;
    border: 1px solid var(--granite-2); border-radius: 999px; background: var(--granite-2); color: var(--white);
    font: inherit; font-size: 0.95rem; transition: width 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none; appearance: none;
}
.site-header .site-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.site-header .site-search input::placeholder { color: #aab4b7; }
.site-header .site-search input[type="search"]:focus { background: var(--white); color: var(--granite); border-color: var(--white); outline: 2px solid var(--blaze); outline-offset: 1px; }
.site-search-go, .site-search-close {
    position: absolute; right: 0.3rem; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 999px;
    background: none; color: var(--aluminum); display: grid; place-items: center; cursor: pointer;
}
.site-search input:focus ~ .site-search-go { color: var(--granite); }
.site-search-go .icon, .site-search-close .icon, .search-toggle .icon { width: 1.05rem; height: 1.05rem; }
.site-search-close { display: none; }
.site-search-panel {
    position: absolute; top: calc(100% + 0.6rem); right: 0; width: min(30rem, 92vw); max-height: 70vh; overflow: auto;
    background: var(--white); color: var(--granite); border-radius: var(--radius); padding: 0.4rem; z-index: 30;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.ss-item { display: grid; grid-template-columns: auto 1fr auto; gap: 0.65rem; align-items: baseline; padding: 0.55rem 0.65rem; border-radius: 4px; color: var(--granite); text-decoration: none; }
.ss-item[aria-selected="true"], .ss-item:hover, .ss-all[aria-selected="true"], .ss-all:hover { background: var(--snow); color: var(--granite); }
.ss-kind, .search-kind {
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
    color: var(--pine); background: color-mix(in srgb, var(--pine) 12%, white); padding: 0.12rem 0.45rem; border-radius: 999px;
}
.ss-title { font-weight: 500; line-height: 1.3; }
.ss-extra { color: var(--mist); font-size: 0.85rem; white-space: nowrap; }
.ss-title mark, .search-hit mark { background: color-mix(in srgb, var(--blaze) 45%, white); color: inherit; padding: 0 0.06em; border-radius: 2px; }
.ss-all { display: block; margin-top: 0.25rem; padding: 0.6rem 0.65rem; border-top: 1px solid var(--aluminum); border-radius: 0 0 4px 4px; color: var(--pine); font-weight: 600; text-decoration: none; }
.ss-none { margin: 0.55rem 0.65rem; color: var(--mist); }

/* Wide screens: the header row runs a little wider than the page so the search box fits beside the menu. */
@media (min-width: 90.01rem) { .site-header .header-row { max-width: 82rem; } }

/* Narrower: a magnifier opens a full-width search bar under the header, and the phone button says "Call". */
@media (max-width: 90rem) {
    .header-row { gap: 1rem; }
    .phone-num { display: none; }
    .phone-call { display: inline; }
    .js .search-toggle {
        display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0;
        background: none; border: 1px solid var(--granite-2); border-radius: var(--radius); color: var(--white); cursor: pointer;
    }
    .js .search-toggle[aria-expanded="true"] { background: var(--granite-2); }
    .js .site-search { display: none; }
    /* The open search bar slides out just under the header, so nothing in the header moves. */
    .js .search-open .site-search {
        display: flex; position: absolute; left: 0; right: 0; top: 100%;
        padding: 0.7rem var(--gutter) 0.9rem; background: var(--granite); border-bottom: 3px solid var(--blaze);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    }
    .js .search-open .site-header .site-search input[type="search"] { width: 100%; height: 2.85rem; padding-right: 5rem; font-size: 1rem; }
    .js .search-open .site-search-go { right: calc(var(--gutter) + 2.6rem); }
    .js .search-open .site-search-close { display: grid; right: calc(var(--gutter) + 0.4rem); }
    .js .search-open .site-search-panel { left: var(--gutter); right: var(--gutter); width: auto; top: calc(100% - 0.4rem); }
}
@media (max-width: 62rem) { .js .search-toggle { order: 2; } }
@media (max-width: 40rem) {
    .header-row { gap: 0.6rem; }
    .js .search-toggle { width: 2.5rem; height: 2.5rem; flex: none; }
}

/* Results page */
.search-page-form { display: flex; gap: 0.5rem; max-width: 40rem; margin-top: 1rem; }
.page-head .search-page-form input[type="search"] { flex: 1; min-width: 0; height: 3rem; padding: 0 1rem; border: 1px solid var(--aluminum-2); border-radius: var(--radius); font: inherit; }
.search-page-form .btn { white-space: nowrap; }
.search-count { color: var(--mist); margin: 0 0 1rem; }
.search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; max-width: 52rem; }
.search-hit { padding: 1rem 1.15rem; background: var(--white); border: 1px solid var(--aluminum); border-radius: var(--radius); }
.search-hit h2 { font-size: 1.3rem; margin: 0.4rem 0 0.2rem; }
.search-hit h2 a { text-decoration: none; }
.search-hit h2 a:hover { text-decoration: underline; }
.search-extra { margin: 0; font-weight: 600; color: var(--granite); }
.search-snippet { margin: 0.3rem 0 0; color: var(--mist); }
.search-starters { columns: 2 14rem; }
.search-help { margin-top: 1.5rem; }

/* Builder step 1: a question above the truck sizes and above the bed lengths. */
.builder .step-label { font: var(--head-weight, 700) 1.2rem/1.25 var(--font-head); color: var(--granite); margin: 0.2rem 0 0.7rem; }
.builder #bed-label { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--aluminum); }
.builder .step-label-note { display: block; font: 400 0.9rem/1.4 var(--font-body); color: var(--mist); margin-top: 0.2rem; }

/* ---------- Camper pages (/our-campers/{slug}) and camper cards ---------- */
.crumbs-trail { font-size: 0.9rem; color: var(--mist); margin: 0 0 0.6rem; }
.crumbs-trail a { color: inherit; }
.camper-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: center; }
.camper-hero h1 { margin: 0.2rem 0 0; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; }
.camper-fit { font: var(--head-weight, 700) 1.35rem/1.2 var(--font-head); color: var(--pine); margin: 0.5rem 0 1rem; }
.camper-price { margin: 1.2rem 0 0; }
.camper-price strong { display: block; font: var(--head-weight, 700) 2rem/1 var(--font-head); color: var(--granite); }
.camper-price span { display: block; font-size: 0.9rem; color: var(--mist); margin-top: 0.4rem; }
.camper-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.3rem 0 0; }
.camper-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.camper-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.75rem; margin: 0; }
.camper-facts div { background: var(--white); border: 1px solid var(--aluminum); border-radius: var(--radius); padding: 0.8rem 1rem; }
.camper-facts dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mist); }
.camper-facts dd { margin: 0.2rem 0 0; font: var(--head-weight, 700) 1.3rem/1.2 var(--font-head); color: var(--granite); }
.camper-plan { margin: 0; background: var(--white); border: 1px solid var(--aluminum); border-radius: var(--radius); padding: 1rem; }
.camper-plan .truck-art { display: block; width: 100%; height: auto; max-width: 46rem; margin: 0 auto; background: var(--snow); border-radius: calc(var(--radius) - 2px); }
.camper-plan figcaption { color: var(--mist); font-size: 0.9rem; margin-top: 0.6rem; text-align: center; }
.camper-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; }
.check-list { list-style: none; padding: 0; margin: 0; columns: 2 14rem; column-gap: 2rem; }
.check-list li { break-inside: avoid; padding: 0.3rem 0 0.3rem 1.6rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.62rem; width: 0.9rem; height: 0.5rem; border-left: 2.5px solid var(--pine); border-bottom: 2.5px solid var(--pine); transform: rotate(-45deg); }
.option-list { list-style: none; padding: 0; margin: 0; }
.option-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--aluminum); }
.option-list li span:last-child { font-weight: 700; white-space: nowrap; }
.camper-more-link { margin-top: 1rem; }
.not-included { background: color-mix(in srgb, var(--blaze) 22%, white); border-radius: var(--radius); padding: 0.9rem 1.1rem; margin-top: 1rem; }
.camper-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; }
.camper-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--aluminum); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.camper-card:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12); transform: translateY(-2px); color: inherit; }
.camper-card img, .camper-card-plan { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.camper-card-plan { display: grid; place-items: center; background: var(--snow); }
.camper-card-plan .truck-art { width: 100%; height: auto; }
.camper-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.camper-card-name { font: var(--head-weight, 700) 1.6rem/1.1 var(--font-head); color: var(--granite); }
.camper-card-fit { color: var(--pine); font-weight: 600; }
.camper-card-text { color: var(--granite); }
.camper-card-price { font: var(--head-weight, 700) 1.3rem/1.2 var(--font-head); color: var(--granite); margin-top: auto; padding-top: 0.5rem; }
.camper-card-more { color: var(--pine); font-weight: 700; }
.tag-shell { align-self: flex-start; display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: var(--granite); color: var(--white); border-radius: 999px; padding: 0.12rem 0.55rem; }
@media (max-width: 52rem) { .camper-hero, .camper-two { grid-template-columns: 1fr; gap: 1.5rem; } .camper-photo { order: -1; } }

/* ---------- Floating Feedback button and form (Pages/Shared/_Feedback.cshtml) ---------- */
.feedback-fab {
    position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.1rem; border: 0; border-radius: 999px;
    background: var(--pine); color: var(--white); font: inherit; font-weight: 700; cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feedback-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3); }
.feedback-fab:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; }
.feedback-fab .icon { width: 1.2rem; height: 1.2rem; }
.feedback-dialog { width: min(34rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.feedback-dialog::backdrop { background: rgba(20, 24, 26, 0.55); }
.feedback-dialog .form { margin: 0; }
.feedback-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--aluminum); }
.feedback-head h2 { margin: 0; }
.feedback-close { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border: 0; border-radius: 999px; background: none; color: var(--mist); cursor: pointer; }
.feedback-close:hover { background: var(--snow); color: var(--granite); }
.feedback-body, .feedback-done { padding: 1rem 1.25rem 1.25rem; }
.feedback-body textarea { width: 100%; }
.feedback-kinds { border: 0; margin: 0.75rem 0 0.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.feedback-kinds legend { font-weight: 700; margin-bottom: 0.45rem; padding: 0; }
.feedback-kind { position: relative; cursor: pointer; }
.feedback-kind input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.feedback-kind span { display: inline-block; padding: 0.4rem 0.85rem; border: 1px solid var(--aluminum-2); border-radius: 999px; background: var(--white); color: var(--granite); font-weight: 600; font-size: 0.92rem; transition: background-color 0.12s ease, border-color 0.12s ease; }
.feedback-kind:hover span { border-color: var(--pine); }
.feedback-kind input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--white); }
.feedback-kind input:focus-visible + span { outline: 3px solid var(--blaze); outline-offset: 2px; }
.feedback-error { color: #a12a1b; font-weight: 600; margin: 0.25rem 0 0; }
.feedback-images { margin: 0.25rem 0 0.75rem; }
.feedback-images-label { font-weight: 700; margin: 0 0 0.4rem; }
.feedback-images-label .optional { font-weight: 400; }
.feedback-thumbs { list-style: none; margin: 0 0 0.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.feedback-thumbs:empty { display: none; }
.feedback-thumb { position: relative; width: 6.5rem; }
.feedback-thumb img, .feedback-thumb-busy { display: block; width: 6.5rem; height: 4.6rem; object-fit: cover; border: 1px solid var(--aluminum); border-radius: 6px; background: var(--snow); }
.feedback-thumb-busy { display: grid; place-items: center; padding: 0.3rem; text-align: center; font-size: 0.75rem; color: var(--mist); }
.feedback-thumb.is-busy .feedback-thumb-busy { animation: feedback-pulse 1.2s ease-in-out infinite; }
@keyframes feedback-pulse { 50% { opacity: 0.5; } }
.feedback-thumb-label { display: block; font-size: 0.72rem; color: var(--mist); line-height: 1.25; margin-top: 0.2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feedback-thumb-remove { position: absolute; top: -0.45rem; right: -0.45rem; width: 1.6rem; height: 1.6rem; border: 0; border-radius: 999px; background: var(--granite); color: var(--white); font-size: 1.05rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.feedback-thumb-remove:hover { background: #a12a1b; }
.feedback-add { cursor: pointer; }
.feedback-add .icon { width: 1rem; height: 1rem; }
@media (max-width: 40rem) {
    .feedback-fab { padding: 0.8rem; }
    .feedback-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .feedback-fab .icon { width: 1.4rem; height: 1.4rem; }
}
@media print { .feedback-fab, .feedback-dialog { display: none !important; } }

/* Standard features: a green check on every item. */
.feature-groups ul { list-style: none; padding-left: 0; }
.feature-groups li { position: relative; padding-left: 1.7rem; }
.feature-groups li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.1em; height: 1.1em; background: var(--pine);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
