/* ==========================================================================
   Summit Motors — inventory-first. Bone / ink / red. Oswald + Inter.
   Mobile first; the filter rail appears at 1000px.
   ========================================================================== */

:root {
  --paper:  #F2F0EB;
  --white:  #FFFFFF;
  --ink:    #131416;
  --ink-2:  #4C5157;
  --ink-3:  #8B9199;
  --rule:   #DCD8D0;
  --rule-2: #BEB8AD;
  --red:    #DC2626;
  --red-2:  #A81B1B;

  --head: "Oswald", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --wrap: 1400px;
  --bar-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: 1.05;
  margin: 0 0 .45em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.05rem; }
h4 { font-size: .9rem; }

p { margin: 0 0 1em; color: var(--ink-2); }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }

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

.skip { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 300; }
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

.mono, .num { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

.kicker {
  font-family: var(--head); font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 0 0 8px;
}
.eyebrow { font-family: var(--head); font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 0 0 8px; }

.section { padding: 40px 0; }
.section--tint { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--deep { background: var(--ink); }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: #B4B9C0; }
.section--flush { padding-top: 0; }

.section__head { margin-bottom: 20px; max-width: 62ch; }
.section__head p { margin: 0; }
.section__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section__bar .section__head { margin-bottom: 0; }

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border: 2px solid transparent; border-radius: 0;
  font-family: var(--head); font-size: .88rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  transition: background .14s, color .14s, border-color .14s;
}
.btn--gold, .btn--primary { background: var(--red); color: #fff; }
.btn--gold:hover, .btn--primary:hover { background: var(--red-2); color: #fff; }
.btn--forest { background: var(--ink); color: #fff; }
.btn--forest:hover { background: var(--red); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink-2); }
.btn--ghost:hover { color: var(--red); }
.btn--sm { min-height: 38px; padding: 0 13px; font-size: .78rem; }
.btn--block { width: 100%; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------ top chrome */

.utility { background: var(--ink); color: #9AA0A8; font-size: .74rem; }
.utility__inner {
  display: flex; align-items: center; justify-content: center; gap: 6px 16px;
  flex-wrap: wrap; padding: 7px 16px; text-align: center;
  font-family: var(--head); font-weight: 300; letter-spacing: .08em; text-transform: uppercase;
}
.utility a { color: #D6DADF; }
.utility a:hover { color: var(--red); }
.utility__sep { opacity: .4; }
.utility strong { color: #fff; font-weight: 500; }

.topbar { position: sticky; top: 0; z-index: 90; background: var(--white); border-bottom: 2px solid var(--ink); }
.topbar__inner { display: flex; align-items: center; gap: 14px; min-height: 60px; }

.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand__mark { width: 8px; height: 30px; background: var(--red); flex: none; }
.brand__name {
  font-family: var(--head); font-weight: 600; font-size: 1.18rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink); line-height: 1;
}
.brand--light .brand__name { color: #fff; }

/* persistent search lives in the header on every page */
.hsearch { display: none; flex: 1; max-width: 460px; position: relative; }
.hsearch input {
  width: 100%; height: 42px; padding: 0 14px;
  border: 2px solid var(--rule-2); background: var(--paper);
  font-family: var(--body); font-size: .9rem; color: var(--ink);
}
.hsearch input:focus { border-color: var(--ink); outline: none; background: #fff; }
.hsearch button {
  position: absolute; right: 0; top: 0; height: 42px; padding: 0 16px;
  border: 0; background: var(--ink); color: #fff; cursor: pointer;
  font-family: var(--head); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
}
.hsearch button:hover { background: var(--red); }

.topbar__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.topbar__call { display: none; }
.mainnav { display: none; }

.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 2px solid var(--ink);
  background: transparent; color: var(--ink); cursor: pointer;
}
.iconbtn:hover { background: var(--ink); color: #fff; }
.iconbtn svg { width: 20px; height: 20px; fill: currentColor; }

/* quick filter rail, sits under the header on every listing view */
.quickbar { background: var(--white); border-bottom: 1px solid var(--rule); }
.quickbar__inner { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.quickbar__inner::-webkit-scrollbar { display: none; }
.quickbar a {
  flex: none; padding: 13px 18px;
  font-family: var(--head); font-size: .82rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
  border-right: 1px solid var(--rule); white-space: nowrap;
}
.quickbar a:hover { background: var(--paper); color: var(--ink); }
.quickbar a.is-on { background: var(--ink); color: #fff; }
.quickbar a.is-on:hover { background: var(--ink); }
.quickbar .n { color: var(--red); font-weight: 600; margin-left: 6px; }
.quickbar a.is-on .n { color: #fff; }

/* ---------------------------------------------------------- mobile drawer */

.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(19,20,22,.6); }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(92%, 400px); background: var(--white); display: flex; flex-direction: column; overflow-y: auto; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--ink); }
.drawer__title { font-family: var(--head); font-size: .84rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.drawer__head .iconbtn { border-color: rgba(255,255,255,.45); color: #fff; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 56px; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--rule);
  background: transparent; font-family: var(--head); font-size: 1.05rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-align: left; cursor: pointer;
}
.drawer__link.is-active { color: var(--red); }
.drawer__toggle .chev { width: 20px; height: 20px; transition: transform .18s; }
.drawer__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.drawer__sub { list-style: none; margin: 0; padding: 0; background: var(--paper); }
.drawer__sub[hidden] { display: none; }
.drawer__sub a { display: block; padding: 12px 18px 12px 32px; font-size: .9rem; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.drawer__foot { margin-top: auto; padding: 18px; border-top: 2px solid var(--ink); }
.drawer__hours { font-size: .8rem; color: var(--ink-3); margin: 0 0 10px; }

/* ==================================================== inventory workbench */

.board { display: grid; gap: 0; }

.rail { background: var(--white); border: 1px solid var(--rule); padding: 18px; margin-bottom: 18px; }
.rail__group { margin-bottom: 20px; }
.rail__group:last-child { margin-bottom: 0; }
.rail__title {
  font-family: var(--head); font-size: .74rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink); margin: 0 0 10px;
  padding-bottom: 8px; border-bottom: 2px solid var(--ink);
}
.rail__list { list-style: none; margin: 0; padding: 0; }
.rail__list li { border-bottom: 1px solid var(--rule); }
.rail__list li:last-child { border-bottom: 0; }
.rail__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: .88rem; }
.rail__list a:hover { color: var(--red); }
.rail__n { font-size: .78rem; color: var(--ink-3); }

.sortbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; padding: 0 0 14px; border-bottom: 2px solid var(--ink); margin-bottom: 18px;
}
.sortbar__count { font-family: var(--head); font-size: 1.1rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin: 0; }
.sortbar__count em { font-style: normal; color: var(--red); }
.sortbar select {
  height: 38px; padding: 0 30px 0 10px; border: 2px solid var(--ink); background: var(--white);
  font-family: var(--head); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}

/* ------------------------------------------------------------ stock card */

.vlist { display: grid; gap: 16px; }

.vcard { background: var(--white); border: 1px solid var(--rule); display: flex; flex-direction: column; color: inherit; transition: border-color .14s, box-shadow .14s; }
.vcard:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); color: inherit; }

.vcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--rule); overflow: hidden; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; }

.vcard__tags { position: absolute; top: 0; left: 0; display: flex; align-items: flex-start; }
.tag {
  font-family: var(--head); font-size: .68rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 9px; background: var(--ink); color: #fff;
}
.tag--gold { background: var(--red); color: #fff; }

.vcard__body { padding: 14px 15px 0; flex: 1; }
.vcard__title { font-size: 1.02rem; margin: 0 0 2px; line-height: 1.15; }
.vcard__trim { font-size: .78rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; font-family: var(--head); }

.vcard__price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 10px; }
.vcard__amount { font-family: var(--head); font-weight: 600; font-size: 1.5rem; color: var(--red); letter-spacing: 0; }
.vcard__miles { font-size: .8rem; color: var(--ink-2); }

.specrows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 0 0 4px; }
.specrow { display: flex; flex-direction: column; }
.specrow dt { font-family: var(--head); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.specrow dd { font-size: .8rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vcard__foot { padding: 12px 15px; margin-top: 12px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; }
.vcard__cta { font-family: var(--head); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.vcard:hover .vcard__cta { color: var(--red); }
.vcard__arrow { color: var(--red); font-weight: 600; }

.empty { background: var(--white); border: 2px dashed var(--rule-2); padding: 44px 20px; text-align: center; }

/* ------------------------------------------------------------ dealer strip */

.dealer { display: grid; gap: 0; border: 1px solid var(--rule); background: var(--white); }
.dealer__cell { padding: 22px; border-bottom: 1px solid var(--rule); }
.dealer__cell:last-child { border-bottom: 0; }
.dealer__title { font-family: var(--head); font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 12px; }
.dealer__big { font-family: var(--head); font-size: 1.6rem; font-weight: 600; margin: 0 0 4px; }

.hours { margin: 0; font-size: .86rem; }
.hours__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--rule); }
.hours__row:last-child { border-bottom: 0; }
.hours dt, .hours dd { margin: 0; }
.hours__row--today { color: var(--red); font-weight: 600; }

.map { border: 1px solid var(--rule); aspect-ratio: 16 / 10; background: var(--rule); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ----------------------------------------------------------- source band */

.sourceband { background: var(--ink); color: #fff; padding: 34px 0; }
.sourceband h2 { color: #fff; margin-bottom: 6px; }
.sourceband p { color: #B4B9C0; margin: 0 0 18px; }
.sourceband__form { display: grid; gap: 10px; }

/* ----------------------------------------------------------- services */

.cardgrid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.scard { display: block; background: var(--white); padding: 22px 20px; color: inherit; }
.scard:hover { background: var(--ink); color: #fff; }
.scard:hover h3, .scard:hover p { color: #fff; }
.scard h3 { margin-bottom: 6px; }
.scard p { font-size: .88rem; margin: 0; }

/* ---------------------------------------------------------- testimonials */

.quotes { display: grid; gap: 16px; }
.quote { background: var(--white); border-left: 4px solid var(--red); padding: 20px 22px; margin: 0; }
.quote__stars { color: var(--red); letter-spacing: 3px; margin: 0 0 10px; font-size: .85rem; }
.quote__text { font-size: .98rem; color: var(--ink); margin-bottom: 12px; }
.quote__who { font-family: var(--head); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.quote__who strong { color: var(--ink-2); font-weight: 500; }

/* ------------------------------------------------------------------ forms */

.field { display: grid; gap: 5px; }
.field__label { font-family: var(--head); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.input, select.input, textarea.input {
  width: 100%; min-height: 46px; padding: 11px 13px;
  border: 2px solid var(--rule-2); border-radius: 0; background: var(--white);
  font-family: var(--body); font-size: .95rem; color: var(--ink);
}
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { border-color: var(--ink); outline: none; }
.input::placeholder { color: var(--ink-3); }
select.input {
  appearance: none; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.form { display: grid; gap: 15px; }
.form__row { display: grid; gap: 15px; }
.formcard { background: var(--white); border: 1px solid var(--rule); padding: 22px; }

.notice { border-left: 4px solid var(--red); background: var(--white); padding: 13px 16px; margin-bottom: 20px; }
.notice p { margin: 0; color: var(--ink); }
.errors { margin: 0; padding-left: 18px; color: var(--ink); }

.filterdrop { margin-bottom: 16px; }
.filterdrop > summary {
  display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px;
  border: 2px solid var(--ink); background: var(--white); cursor: pointer; list-style: none;
  font-family: var(--head); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.filterdrop > summary::-webkit-details-marker { display: none; }
.filterdrop > summary::after { content: "\2304"; margin-left: auto; font-size: 1.1rem; line-height: 1; }
.filterdrop[open] > summary::after { content: "\2303"; }
.filterdrop__count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; background: var(--red); color: #fff; font-size: .7rem; }

/* ============================================================ product page */

.crumbs { font-family: var(--head); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 16px 0; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--red); }

.pdp { display: grid; gap: 24px; padding-bottom: 34px; }
.pdp__stage { position: relative; aspect-ratio: 4 / 3; background: var(--rule); border: 1px solid var(--rule); overflow: hidden; }
.pdp__stage img { width: 100%; height: 100%; object-fit: cover; }
.pdp__count { position: absolute; bottom: 0; right: 0; font-family: var(--head); font-size: .74rem; letter-spacing: .1em; color: #fff; background: var(--ink); padding: 6px 10px; }
.pdp__tags { position: absolute; top: 0; left: 0; display: flex; }
.pdp__rail { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; scrollbar-width: none; }
.pdp__rail::-webkit-scrollbar { display: none; }
.pdp__rail button { flex: none; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; background: var(--rule); cursor: pointer; }
.pdp__rail button[aria-current="true"] { border-color: var(--red); }
.pdp__rail img { width: 100%; height: 100%; object-fit: cover; }

.pdp__kicker { font-family: var(--head); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
.pdp__title { font-size: 1.9rem; margin: 0 0 4px; }
.pdp__trim { font-family: var(--head); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 18px; }
.pdp__price { background: var(--ink); color: #fff; padding: 16px 18px; margin-bottom: 16px; }
.pdp__pricelabel { font-family: var(--head); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #9AA0A8; margin: 0 0 4px; }
.pdp__amount { font-family: var(--head); font-weight: 600; font-size: 2.6rem; line-height: 1; color: #fff; margin: 0; }
.pdp__ctas { display: grid; gap: 8px; }
.pdp__ctas .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdp__reassure { font-size: .82rem; color: var(--ink-3); margin: 16px 0 0; line-height: 1.7; }

.specstrip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--white); border: 1px solid var(--rule); }
.specstrip__cell { padding: 14px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.specstrip__key { font-family: var(--head); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.specstrip__val { font-size: .92rem; margin: 0; word-break: break-word; }

.pdp__bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  background: var(--ink); border-top: 2px solid var(--red);
}
.pdp__bar .amount {
  font-family: var(--head); font-weight: 600; font-size: 1.2rem; color: #fff;
  flex: none; white-space: nowrap;
}
/* The enquiry button takes the slack; Call keeps a fixed, tappable width. */
.pdp__bar .btn { min-height: 44px; padding: 0 12px; font-size: .78rem; letter-spacing: .06em; }
.pdp__bar .btn--gold { flex: 1 1 auto; min-width: 0; }
.pdp__bar .btn--outline {
  flex: none; color: #fff; border-color: rgba(255,255,255,.55);
  display: inline-flex; align-items: center; gap: 6px;
}
.pdp__bar .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.pdp__bar svg { width: 16px; height: 16px; flex: none; }

@media (max-width: 379px) {
  .pdp__bar .amount { font-size: 1.02rem; }
  .pdp__bar .btn { font-size: .72rem; padding: 0 9px; }
}

.ticks { list-style: none; margin: 0 0 22px; padding: 0; }
.ticks li { position: relative; padding: 0 0 9px 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 3px; background: var(--red); }

.split { display: grid; gap: 24px; align-items: start; }
.split__media { overflow: hidden; background: var(--rule); aspect-ratio: 4/3; border: 1px solid var(--rule); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------------------------- footer */

.footer { background: var(--ink); color: #9AA0A8; padding: 40px 0 0; border-top: 4px solid var(--red); }
.footer a { color: #D6DADF; }
.footer a:hover { color: var(--red); }
.footer__grid { display: grid; gap: 28px; }
.footer__head { font-family: var(--head); font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer__blurb, .footer__text { font-size: .88rem; font-style: normal; }
.footer .hours__row { border-bottom-color: rgba(255,255,255,.12); color: #9AA0A8; }
.footer .hours__row--today { color: #fff; }
.footer .map { border-color: rgba(255,255,255,.2); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding: 16px 0 22px;
  font-family: var(--head); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
}
.footer__bottom p { margin: 0; color: #767C84; }

.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px));
  background: var(--ink); border-top: 2px solid var(--red);
}
.actionbar .btn--gold { background: var(--red); }
.actionbar .btn--outline { color: #fff; border-color: rgba(255,255,255,.5); }
.actionbar .btn--outline:hover { background: #fff; color: var(--ink); }

/* ===================================================== responsive ======== */

@media (min-width: 560px) {
  .vlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dealer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dealer__cell { border-bottom: 0; border-right: 1px solid var(--rule); }
  .dealer__cell:last-child { border-right: 0; }
  .sourceband__form { grid-template-columns: 1fr 1fr auto; align-items: end; }
}

@media (min-width: 1000px) {
  body { padding-bottom: 0; font-size: 15px; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.9rem; }

  .section { padding: 56px 0; }
  .topbar__inner { min-height: 70px; }
  .topbar__actions .iconbtn { display: none; }
  .topbar__call { display: inline-flex; }
  .hsearch { display: block; }
  .actionbar { display: none; }

  .mainnav { display: block; }
  .mainnav__list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
  .mainnav__item { position: relative; }
  .mainnav__item > a {
    display: block; padding: 24px 13px;
    font-family: var(--head); font-size: .8rem; font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  }
  .mainnav__item > a:hover { color: var(--red); }
  .mainnav__item > a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--red); }
  .submenu {
    position: absolute; top: 100%; left: 0; min-width: 250px; margin: 0; padding: 0;
    list-style: none; background: var(--white); border: 2px solid var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .12s;
  }
  .has-children:hover .submenu, .has-children:focus-within .submenu { opacity: 1; visibility: visible; }
  .submenu a { display: block; padding: 11px 14px; font-size: .86rem; border-bottom: 1px solid var(--rule); }
  .submenu li:last-child a { border-bottom: 0; }
  .submenu a:hover { background: var(--ink); color: #fff; }

  .board { grid-template-columns: 258px minmax(0, 1fr); gap: 28px; align-items: start; }
  .rail { position: sticky; top: 88px; margin-bottom: 0; }
  .vlist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .cardgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dealer { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .specstrip { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .pdp { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; padding-bottom: 50px; }
  .pdp__panel { position: sticky; top: 88px; }
  .pdp__title { font-size: 2.4rem; }
  .pdp__amount { font-size: 3.2rem; }
  .pdp__bar { display: none; }

  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
  .layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 28px; align-items: start; }
  .layout__aside { position: sticky; top: 88px; background: var(--white); border: 1px solid var(--rule); padding: 18px; }
  .layout .vlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filterdrop > summary { display: none; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 40px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }

/* ========================================================== reviews ======= */

.ratingbar {
  display: grid; gap: 20px; align-items: center;
  background: var(--white); border: 1px solid var(--rule);
  padding: 22px; margin-bottom: 22px;
}
.ratingbar__score { text-align: center; }
.ratingbar__num {
  font-family: var(--head); font-size: 3.4rem; font-weight: 600;
  line-height: 1; color: var(--ink); margin: 0 0 6px;
}
.ratingbar__count { font-size: .82rem; color: var(--ink-3); margin: 6px 0 0; }
.ratingbar__bars { display: grid; gap: 5px; }
.ratingbar__row { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--ink-2); }
.ratingbar__row .lvl { width: 12px; text-align: right; }
.ratingbar__track { flex: 1; height: 8px; background: var(--paper); border: 1px solid var(--rule); }
.ratingbar__fill { display: block; height: 100%; background: #F5A623; }
.ratingbar__n { width: 24px; text-align: right; color: var(--ink-3); }

.star { color: #F5A623; letter-spacing: 1px; }
.star--off { color: var(--rule-2); }

.reviews { display: grid; gap: 16px; }

.review { background: var(--white); border: 1px solid var(--rule); padding: 20px; }
.review:hover { border-color: var(--rule-2); }

.review__head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.review__avatar {
  width: 40px; height: 40px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff;
  font-family: var(--head); font-size: 1.05rem; font-weight: 500;
}
.review__who { min-width: 0; }
.review__name {
  font-family: var(--head); font-size: .95rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin: 0;
}
.review__loc { font-size: .78rem; color: var(--ink-3); margin: 0; }

.review__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.review__stars { font-size: 1rem; line-height: 1; }
.review__date { font-size: .76rem; color: var(--ink-3); }

.review__text { font-size: .93rem; color: var(--ink-2); margin: 0; }
.review__vehicle {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--head); font-size: .8rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--rule);
}
.review__badge {
  background: var(--ink); color: #fff;
  font-size: .64rem; letter-spacing: .14em; padding: 3px 7px;
}
.review__vehicle a { color: var(--ink); border-bottom: 2px solid var(--red); }
.review__vehicle a:hover { color: var(--red); }

@media (min-width: 560px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ratingbar { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (min-width: 1000px) {
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

/* ================================================= mobile + PDP fixes ===== */

/* The product page has its own bottom bar; never show both. */
.is-pdp .actionbar { display: none; }

/* Search was desktop-only. On mobile it becomes a full-width second row. */
.topbar__inner { flex-wrap: wrap; }

.hsearch { display: block; order: 3; flex: 1 1 100%; max-width: none; margin-bottom: 10px; }
.hsearch input { height: 46px; }
.hsearch button { height: 46px; }

/* A card CTA that reads as a button, not a caption. */
.vcard__foot { padding: 0; margin-top: 14px; border-top: 0; }
.vcard__cta {
  display: block; width: 100%;
  background: var(--ink); color: #fff;
  font-family: var(--head); font-size: .84rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; text-align: center;
  padding: 13px 10px;
  transition: background .14s;
}
.vcard:hover .vcard__cta { background: var(--red); color: #fff; }

.tag--report { background: #fff; padding: 6px 8px; display: flex; align-items: center; }
/* Height is fixed and width follows, so the badge cannot dictate the row. */
.tag--report img { height: 17px; width: auto; display: block; }


/* ---------------------------------------------------------- small screens */

@media (max-width: 999px) {
  /* room for the fixed bar, plus a little breathing space */
  body { padding-bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom, 0px)); }

  .wrap { padding: 0 14px; }
  .section { padding: 30px 0; }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }

  /* product page stacks: gallery, then everything else, in reading order */
  .pdp { gap: 20px; }
  .pdp__title { font-size: 1.5rem; line-height: 1.12; }
  .pdp__trim { font-size: .8rem; margin-bottom: 14px; }
  .pdp__amount { font-size: 2.2rem; }
  .pdp__price { padding: 14px 16px; }
  .pdp__rail button { width: 76px; }
  .pdp__count { font-size: .68rem; padding: 5px 8px; }

  .specstrip__cell { padding: 12px 13px; }
  .specstrip__key { font-size: .62rem; }
  .specstrip__val { font-size: .86rem; }

  .crumbs { font-size: .68rem; padding: 12px 0; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
  .crumbs::-webkit-scrollbar { display: none; }

  /* the sort bar was cramping on narrow screens */
  .sortbar { align-items: stretch; flex-direction: column; gap: 12px; }
  .sortbar select { width: 100%; }
  .sortbar__count { font-size: 1rem; }

  .quickbar a { padding: 12px 14px; font-size: .78rem; }

  .dealer__cell { padding: 18px; }
  .footer { padding-top: 32px; }
  .footer__grid { gap: 24px; }

  .formcard { padding: 18px; }
  .btn { min-height: 48px; }
}

@media (max-width: 559px) {
  .specstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp__ctas .pair { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .ratingbar { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .review__text { font-size: .9rem; }
}

/* ============================================ horizontal overflow fixes ==== */

/* Grid and flex children default to min-width:auto, so any scrolling child
   (thumbnail rail, breadcrumbs, filter chips) can push its whole column wider
   than the screen. This is what was shifting the product page sideways. */
.pdp > *, .board > *, .layout > *, .split > *, .detail > *,
.vlist > *, .facets > *, .stats > *, .dealer > *,
.cardgrid > *, .reviews > *, .quotes > *, .tiles > *,
.specstrip > *, .form__row > *, .sortbar > * { min-width: 0; }

.pdp__rail, .crumbs, .quickbar__inner, .filterbar, .gallery__thumbs { max-width: 100%; }

/* Safety net. `clip` rather than `hidden` so sticky positioning still works. */
body { overflow-x: clip; }

img, iframe, video { max-width: 100%; }
.vcard__title, .pdp__title, .review__text { overflow-wrap: anywhere; }

/* ==================================================== gallery + lightbox === */

.gal { position: relative; }

.pdp__stage img { cursor: zoom-in; }

.gal__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: rgba(19, 20, 22, .72); color: #fff;
  font-size: 1.9rem; line-height: 1; cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .14s;
}
.gal__nav:hover { background: var(--red); }
.gal__nav--prev { left: 10px; padding-right: 3px; }
.gal__nav--next { right: 10px; padding-left: 3px; }

.gal__expand {
  position: absolute; left: 0; bottom: 0;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; border: 0;
  background: rgba(19, 20, 22, .78); color: #fff;
  font-family: var(--head); font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.gal__expand:hover { background: var(--red); }

.gal__more {
  display: block; width: 100%; margin-top: 8px;
  min-height: 46px; padding: 0 16px;
  border: 2px solid var(--ink); background: var(--white); color: var(--ink);
  font-family: var(--head); font-size: .8rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.gal__more:hover { background: var(--ink); color: #fff; }

/* six thumbnails, the rest live in the viewer */
.pdp__rail button:nth-child(n+7) { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10, 11, 13, .97);
  display: flex; flex-direction: column;
}
.lightbox[hidden] { display: none; }
body.lb-open { overflow: hidden; }

.lightbox__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.lightbox__title {
  font-family: var(--head); font-size: .82rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lightbox__count {
  margin-left: auto; flex: none;
  font-family: var(--head); font-size: .82rem; letter-spacing: .1em; color: #9AA0A8;
}
.lightbox__close {
  flex: none; width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { color: var(--red); }

.lightbox__stage {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 14px; min-height: 0;
}
.lightbox__stage img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
}

.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 2.1rem; line-height: 1; cursor: pointer;
}
.lightbox__nav:hover { background: var(--red); }
.lightbox__nav--prev { left: 12px; padding-right: 4px; }
.lightbox__nav--next { right: 12px; padding-left: 4px; }

.lightbox__hint {
  margin: 0; padding: 0 14px 18px;
  text-align: center; font-size: .74rem; color: #6C737C;
}

@media (max-width: 559px) {
  .gal__nav { width: 40px; height: 40px; font-size: 1.6rem; }
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.7rem; background: rgba(255,255,255,.16); }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
  .lightbox__title { font-size: .72rem; }
  .pdp__rail button { width: 68px; }
}

@media (min-width: 1000px) {
  .lightbox__hint { display: none; }
}

/* ============================================== vehicle history report ==== */





/* Full-width band above the spec strip — the second, unmissable entry point. */
.cfxband {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; margin-bottom: 18px;
  background: var(--ink); color: #fff;
  border-left: 6px solid var(--red);
}
.cfxband:hover { color: #fff; }
.cfxband:hover .cfxband__btn { background: var(--red); color: #fff; }

.cfxband__badge {
  height: 46px; width: auto; flex: none; display: block;
  background: #fff; padding: 9px 12px;
}
.cfxband__text { flex: 1 1 260px; min-width: 0; font-size: .84rem; color: #B4B9C0; line-height: 1.45; }
.cfxband__text strong {
  display: block; color: #fff;
  font-family: var(--head); font-size: .92rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px;
}
.cfxband__btn {
  flex: none; margin-left: auto;
  padding: 10px 18px; background: #fff; color: var(--ink);
  font-family: var(--head); font-size: .8rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  transition: background .14s, color .14s;
}

@media (max-width: 559px) {
        
  .cfxband { padding: 15px 16px; gap: 12px; }
  .cfxband__badge { height: 36px; }
  .cfxband__btn { margin-left: 0; width: 100%; text-align: center; }
}

/* ================================================================ hero ==== */

.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,20,22,.58) 0%, rgba(19,20,22,.88) 100%);
}
.hero__inner { position: relative; padding: 52px 16px 46px; }

.hero__eyebrow {
  font-family: var(--head); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--red);
  margin: 0 0 12px;
}
.hero h1 { color: #fff; font-size: 2.1rem; margin-bottom: 12px; }
.hero__sub { color: #C8CDD3; font-size: 1rem; margin: 0 0 24px; max-width: 46ch; }

/* ========================================================= vehicle finder = */

.finder { background: var(--white); border: 2px solid var(--ink); padding: 20px; }
.finder__grid { display: grid; gap: 14px; }
.finder__go {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule);
}
.finder__go .btn { flex: 1 1 auto; }

@media (min-width: 560px) {
  .finder__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__go .btn { flex: 0 0 auto; }
}

@media (min-width: 1000px) {
  .hero__inner { padding: 96px 20px 88px; }
  .hero h1 { font-size: 3.2rem; max-width: 16ch; }
  .hero__sub { font-size: 1.1rem; margin-bottom: 30px; }
  .finder__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .finder { padding: 26px; }
}

/* ====================================================== brand promise ===== */

.promise { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }

.promise__item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}

.promise__tag {
  flex: none; min-width: 88px; text-align: center;
  padding: 6px 10px;
  font-family: var(--head); font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
}
.promise__tag--good { background: var(--ink); color: #fff; }
.promise__tag--bad  { background: var(--red); color: #fff; }

.promise__text { font-size: 1rem; color: var(--ink); padding-top: 3px; }

@media (max-width: 559px) {
  .promise__item { gap: 12px; padding: 15px 0; }
  .promise__tag { min-width: 72px; font-size: .68rem; padding: 5px 7px; letter-spacing: .12em; }
  .promise__text { font-size: .92rem; }
}


/* ============================================================ shipping ==== */

/* eyebrow with a leading rule */
.ruled {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--head); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--red);
  margin: 0 0 14px;
}
.ruled::before,
.ruled::after { content: ""; width: 44px; height: 2px; background: var(--red); flex: none; }
.ruled--dark { color: var(--ink); }
.ruled--dark::before,
.ruled--dark::after { background: var(--red); }

/* One rule when left aligned, a rule each side when centred. */
.ruled::after { display: none; }
.ruled--center { justify-content: center; }
.ruled--center::after { display: block; }

.hero--ship h1 { line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--red); font-weight: 500; }

.lede { display: grid; gap: 18px; margin-bottom: 34px; }
.lede h2 { line-height: 1.04; margin: 0; }
.lede h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.lede__text { margin: 0; font-size: .98rem; }

/* four numbered cards */
.steps { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.step { background: var(--white); padding: 26px 22px; }
.step__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.step__n { font-family: var(--head); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--red); }
.step__icon { width: 22px; height: 22px; color: var(--ink-3); flex: none; }
.step h3 { margin-bottom: 7px; }
.step p { font-size: .89rem; margin: 0; }

/* calculator + sidebar */
.quote { display: grid; gap: 26px; align-items: start; }
.quote__main h2 { margin-bottom: 10px; }
.quote__lede { max-width: 52ch; }

.calc { background: var(--white); border: 2px solid var(--ink); padding: 22px; }
.calc__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.calc__icon {
  width: 46px; height: 46px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
}
.calc__icon svg { width: 24px; height: 24px; }
.calc__head h3 { margin: 0 0 2px; }
.calc__head p { margin: 0; font-size: .84rem; color: var(--ink-3); }

.calc__inputs { display: grid; gap: 16px; margin-bottom: 20px; }
.calc__inputs .muted { color: var(--ink-3); font-weight: 400; }
.calc__inputs .hint { font-size: .78rem; color: var(--ink-3); }

.calc__result {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--rule); padding: 18px;
}
.calc__label {
  font-family: var(--head); font-size: .7rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px;
}
.calc__total { font-family: var(--head); font-size: 3rem; font-weight: 600; line-height: 1; color: var(--red); margin: 0 0 6px; }
.calc__break { font-size: .82rem; color: var(--ink-3); margin: 0; }
.calc__fine { font-size: .78rem; color: var(--ink-3); margin: 14px 0 0; }

.quote__side { background: var(--white); border: 1px solid var(--rule); padding: 22px; }

.checks { list-style: none; margin: 0 0 22px; padding: 0; }
.checks li { position: relative; padding: 0 0 12px 30px; font-size: .92rem; color: var(--ink-2); }
.checks li::before {
  content: "\2713"; position: absolute; left: 0; top: -1px;
  width: 19px; height: 19px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; font-size: .68rem; border-radius: 50%;
}

.quote__fact { padding: 14px 0; border-top: 1px solid var(--rule); }
.quote__factlabel {
  font-family: var(--head); font-size: .7rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 5px;
}
.quote__fact p:last-child { margin: 0; font-size: .9rem; color: var(--ink); }

/* FAQ */
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px; padding: 18px 0;
  font-family: var(--head); font-size: 1rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; line-height: 1; color: var(--red); }
.qa[open] summary::after { content: "\2013"; }
.qa summary:hover { color: var(--red); }
.qa p { margin: 0 0 18px; font-size: .95rem; max-width: 70ch; }

@media (min-width: 620px) {
  .calc__inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .hero--ship h1 { font-size: 4rem; }
  .lede { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
  .lede h2 { font-size: 3rem; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quote { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
  .calc { padding: 30px; }
  .quote__side { padding: 28px; }
}

/* Any brand badge is sized by height, never by an auto-height guess. */
.tag--report img, .cfx__badge, .cfxband__badge { object-fit: contain; }

/* ================================================ inspection section ====== */

.insp { text-align: center; }

.insp__head { font-size: 1.9rem; line-height: 1.1; margin: 0 auto 14px; max-width: 22ch; }
.insp__head em { font-style: normal; color: var(--red); display: block; }

.insp__intro { max-width: 58ch; margin: 0 auto 30px; }

.insp__list {
  list-style: none; margin: 0 auto 30px; padding: 0;
  display: grid; gap: 12px 26px; text-align: left;
  max-width: 980px;
}
.insp__list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .96rem; color: var(--ink);
}
.insp__tick { color: var(--red); font-weight: 700; flex: none; }

.insp__cta { margin: 0; }

/* ======================================================== modal ========== */

.modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
body.modal-open { overflow: hidden; }

.modal__scrim { position: absolute; inset: 0; background: rgba(19, 20, 22, .72); }

.modal__panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 760px; max-height: 90vh;
  display: flex; flex-direction: column;
  background: var(--white); border: 2px solid var(--ink);
  animation: modal-in .18s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }



.modal__title { margin: 0 0 10px; font-size: 1.5rem; padding-right: 50px; }

.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 40px; height: 40px; padding: 0;
  border: 0; background: var(--white); color: var(--ink);
  cursor: pointer; border-radius: 50%;
}
.modal__close svg { width: 28px; height: 28px; display: block; margin: auto; }
.modal__close:hover { color: var(--red); }

.modal__body { padding: 22px; overflow-y: auto; }
.modal__lede { font-size: .96rem; margin-bottom: 22px; }


.modal__foot { border-top: 2px solid var(--ink); padding-top: 18px; }
.modal__foot p { font-size: .9rem; }
.modal__foot strong { color: var(--ink); }

@media (min-width: 560px) {
  .insp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .insp__head { font-size: 2.8rem; }
  .insp__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 30px; }
  .modal__body { padding: 28px 30px; }
  .modal__title { font-size: 1.5rem; }
}
@media (max-width: 559px) {
  .modal__panel { max-height: 94vh; }
  .modal__head { padding: 16px 18px; }
}

/* ================================================ inspection timeline ===== */

.insteps {
  list-style: none; margin: 26px 0 0; padding: 0 0 0 22px;
  position: relative;
}
/* the vertical thread running down the left */
.insteps::before {
  content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px;
  width: 1px; background: var(--rule-2);
}

.instep {
  display: grid; gap: 14px;
  padding: 0 0 30px;
  position: relative;
}
.instep:last-child { padding-bottom: 6px; }

.instep__text h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; margin: 0 0 8px; text-transform: none; letter-spacing: -.01em;
}
.instep__tick {
  position: absolute; left: -22px;
  width: 17px; height: 17px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); color: #1F6F54;
  font-size: .85rem; font-weight: 700;
}
.instep__text p { margin: 0; font-size: .93rem; line-height: 1.6; max-width: 46ch; }

.instep__media { border-radius: 10px; overflow: hidden; background: var(--rule); }
.instep__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; display: block; }

@media (min-width: 700px) {
  .instep { grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
  .insteps { padding-left: 26px; }
  .instep__tick { left: -26px; }
}

.req { color: var(--red); font-weight: 700; }

/* A prefilled field the visitor should see but not edit. */
.input--locked {
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  cursor: default;
}
.input--locked:focus { border-color: var(--rule-2); }

/* ======================================================= grouped forms ==== */

.fset { border: 0; margin: 0 0 26px; padding: 0; }
.fset__legend {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 0 0 12px; margin-bottom: 16px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--head); font-size: .92rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.fset__n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; flex: none;
  background: var(--red); color: #fff;
  font-size: .78rem; letter-spacing: 0;
}
.fset__grid { display: grid; gap: 16px; }

@media (min-width: 560px) {
  .fset__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fset__grid .field { grid-column: 1 / -1; }
  .fset__grid .field--half { grid-column: span 1; }
}


/* ================================================== form row alignment ==== */

/* Grid children stretch by default, so a field whose neighbour carries a hint
   would grow to match it — that is what pushed the time dropdown out of line
   with the date beside it. Top-align every form row and let each field keep
   its natural height. */
.fset__grid,
.form__row,
.calc__inputs,
.finder__grid,
.search__row { align-items: start; }

/* A field is itself a grid; keep its rows packed at the top. */
.field { align-content: start; }

/* Labels are kept short enough to stay on one line, so every input in a row
   begins at the same height. */
.fset__grid .field__label,
.form__row .field__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Every control in a row lands on the same baseline. */
.fset__grid .input,
.form__row .input,
.fset__grid select.input,
.form__row select.input { min-height: 50px; }

/* Hints sit under their own field without dragging the row taller. */
.field .hint { margin-top: 2px; line-height: 1.35; }

/* File inputs are shorter than text inputs by default. */
.input[type="file"] {
  padding: 12px 13px;
  line-height: 1.4;
  background: var(--paper);
  cursor: pointer;
}
.input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 6px 12px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--head);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.input[type="file"]::file-selector-button:hover { background: var(--red); }

/* Date inputs render inconsistently across browsers; pin them to match. */
.input[type="date"] {
  min-height: 50px;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}
.input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }
.input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }

.calc__freetag {
  display: inline-block; margin: 0 0 8px;
  padding: 4px 9px; background: var(--ink); color: #fff;
  font-family: var(--head); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
}

/* ================================================== warranty / returns ==== */




@media (min-width: 620px) {
  }
@media (min-width: 1000px) {
        }

/* Included-with-every-purchase: centred columns, no dividers. */
.perks__head {
  text-align: center; margin: 0 auto 40px; max-width: 24ch;
  font-size: 1.7rem; line-height: 1.12;
}
.perks__head em { font-style: normal; color: var(--red); }

.perks { display: grid; gap: 34px; }

.perk { text-align: center; padding: 0 8px; }
.perk__tick { display: block; margin: 0 auto 16px; color: #1F6F54; }
.perk__tick svg { width: 34px; height: 34px; display: block; margin: 0 auto; }
.perk h3 {
  font-size: 1.05rem; margin: 0 auto 10px; max-width: 22ch;
  text-transform: none; letter-spacing: -.01em; line-height: 1.25;
}
.perk p { font-size: .92rem; margin: 0 auto; max-width: 30ch; line-height: 1.6; }

@media (min-width: 620px) {
  .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; }
}
@media (min-width: 1000px) {
  .perks__head { font-size: 2.4rem; max-width: 30ch; margin-bottom: 50px; }
  .perks { gap: 40px; }
  .perk__tick svg { width: 38px; height: 38px; }
}

/* A single readable column of headings and paragraphs. */
.prose { max-width: 74ch; }
.prose h1 { margin-bottom: .5em; }
.prose h2 {
  font-size: 1.3rem; margin: 2em 0 .5em;
  padding-top: 1.4em; border-top: 1px solid var(--rule);
}
.prose p { font-size: 1.02rem; line-height: 1.7; margin: 0; }
.prose h1 + p { font-size: 1.08rem; }

@media (min-width: 1000px) {
  .prose h1 { font-size: 2.4rem; }
  .prose h2 { font-size: 1.5rem; }
}

/* First section on the page: keep the padding, drop the dividing rule. */
.section--lead { border-top: 0; }

/* ================================================= booking date picker ==== */

.dpick { position: relative; }

.dpick__trigger {
  width: 100%; min-height: 50px;
  padding: 13px 14px;
  border: 2px solid var(--rule-2);
  background: var(--white);
  font-family: var(--body); font-size: .98rem; color: var(--ink);
  text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.dpick__trigger::after {
  content: ""; flex: none;
  width: 15px; height: 15px;
  border: 2px solid var(--ink-2);
  border-radius: 2px;
  box-shadow: inset 0 3px 0 var(--ink-2);
}
.dpick__trigger:hover { border-color: var(--ink); }
.dpick__trigger:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.dpick__trigger.is-empty { color: var(--ink-3); }

.dpick__panel {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0;
  width: min(320px, calc(100vw - 40px));
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 14px;
  box-shadow: 8px 8px 0 rgba(19, 20, 22, .12);
}
.dpick__panel[hidden] { display: none; }

.dpick__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dpick__title {
  flex: 1; text-align: center;
  font-family: var(--head); font-size: .92rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
}
.dpick__nav {
  width: 34px; height: 34px; flex: none;
  border: 1px solid var(--rule-2); background: var(--white);
  font-size: 1.2rem; line-height: 1; color: var(--ink); cursor: pointer;
}
.dpick__nav:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.dpick__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }

.dpick__dow {
  text-align: center; padding: 4px 0 8px;
  font-family: var(--head); font-size: .68rem; letter-spacing: .06em;
  color: var(--ink-3);
}
.dpick__dow.is-closed { color: var(--rule-2); }
.dpick__blank { aspect-ratio: 1; }

.dpick__day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid transparent; background: var(--paper);
  font-family: var(--body); font-size: .88rem; color: var(--ink);
  cursor: pointer; padding: 0;
}
.dpick__day:hover:not(:disabled) { background: var(--ink); color: #fff; }
.dpick__day.is-chosen { background: var(--ink); color: #fff; font-weight: 700; }

/* Taken or closed days read as unavailable at a glance. */
.dpick__day.is-blocked {
  background: rgba(220, 38, 38, .14);
  color: var(--red);
  cursor: not-allowed;
  text-decoration: line-through;
}
.dpick__day.is-shut {
  background: rgba(220, 38, 38, .07);
  color: rgba(220, 38, 38, .55);
  cursor: not-allowed;
}
.dpick__day.is-out { background: transparent; color: var(--rule-2); cursor: not-allowed; }

.dpick__key {
  display: flex; align-items: center; gap: 7px;
  margin: 12px 0 0; padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: .76rem; color: var(--ink-3);
}
.dpick__swatch {
  width: 13px; height: 13px; flex: none;
  background: rgba(220, 38, 38, .14);
  border: 1px solid rgba(220, 38, 38, .4);
}

@media (max-width: 559px) {
  .dpick__panel { width: min(300px, calc(100vw - 32px)); padding: 12px; }
  .dpick__day { font-size: .82rem; }
}
