/* ==========================================================================
   Components: reused by class sitewide. Never restyle these per page.
   ========================================================================== */

/* ================================================================= buttons */

.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: var(--btn-h);
  padding: 0 var(--s-6);
  font-family: var(--ff-text);
  font-size: var(--fs-sm);
  font-weight: var(--wt-black);
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-align: center;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease),
              color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}


/* Primary: brand red. The one high-emphasis action on any given view. */
.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgb(216 30 39 / .6);
}
.btn--primary:hover { background: var(--red-hover); border-color: var(--red-hover); }

/* Secondary on light: charcoal outline */
.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Secondary on photography or dark: white outline */
.btn--outline-light {
  background: transparent;
  border-color: rgb(255 255 255 / .7);
  color: #fff;
}
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Solid white, for use on dark or on imagery */
.btn--white {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  box-shadow: var(--sh);
}
.btn--white:hover { background: var(--grey-50); border-color: var(--grey-50); }

/* Charcoal fill */
.btn--dark {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}
.btn--dark:hover { background: var(--ink); border-color: var(--ink); }

.btn--sm { --btn-h: 42px; padding: 0 var(--s-4); font-size: var(--fs-xs); }
.btn--lg { --btn-h: 58px; padding: 0 var(--s-7); font-size: var(--fs-body); }
.btn--block { width: 100%; }

.btn svg { width: 16px; height: 16px; flex: none; }


.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

@media (max-width: 439px) {
  .btn-row > .btn { width: 100%; }
}

/* ================================================================== cards */

.card {
  background: var(--white);
  border: 2px solid var(--slate-3);
  border-radius: var(--radius);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  height: 100%;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
a.card:hover { border-color: var(--slate-2); box-shadow: var(--sh); }


.card__title { font-size: var(--fs-h3); }
.card__text { font-size: var(--fs-sm); color: var(--ink-3); margin: 0; }

.card__more {
  margin-top: auto;
  padding-top: var(--s-4);
  font-size: var(--fs-sm);
  font-weight: var(--wt-semi);
  color: var(--red-text);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.card--dark {
  background: var(--charcoal-2);
  border-color: var(--charcoal-line);
  color: #C2C7CD;
}
.card--dark:hover { border-color: #4E545B; }
.card--dark .card__text { color: #C2C7CD; }
.card--dark { background: var(--charcoal-2); }

/* ============================================================ media / img */

.media {
  position: relative;
  overflow: hidden;
  background: var(--grey-100);
  border-radius: var(--radius);
}
.media picture { display: block; width: 100%; height: 100%; }
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 620ms var(--ease-out);
}
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1; }
.media--wide { aspect-ratio: 16 / 10; }
.media--pano { aspect-ratio: 21 / 9; }
.media--flat { border-radius: 0; }

a:hover > .media img, .card:hover .media img, .tile:hover .media img { transform: scale(1.045); }

/* ================================================================== tiles */

/* Product tile: photograph with the label over a bottom scrim. */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  min-height: 260px;
  isolation: isolate;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.tile:hover { box-shadow: var(--sh-lg); }

.tile .media { position: absolute; inset: 0; border-radius: 0; }
/* Scrim weighted to the bottom third where the label sits, so the top of the
   photograph stays bright. Bold white type only needs cover behind itself. */
.tile .media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgb(18 20 22 / .90) 0%,
    rgb(18 20 22 / .72) 26%,
    rgb(18 20 22 / .32) 52%,
    rgb(18 20 22 / .04) 78%,
    rgb(18 20 22 / .00) 100%);
}

.tile__body {
  position: relative;
  z-index: 2;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  height: 100%;
  color: #fff;
}
.tile__label {
  font-family: var(--ff-text);
  font-size: var(--fs-sm);
  font-weight: var(--wt-black);
  color: #fff;
  margin-bottom: var(--s-1);
}
.tile__title {
  font-size: var(--fs-h3);
  font-weight: var(--wt-bold);
  letter-spacing: var(--ls-head);
  line-height: var(--lh-head);
  color: #fff;
}
.tile__text {
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / .82);
  margin: var(--s-2) 0 0;
  max-width: 44ch;
}
.tile__cta {
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  font-weight: var(--wt-black);
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--red-bright);
  text-decoration-thickness: 2px;
}


/* ============================================================ picture card */

/* Image on top, copy below on white. Used where a card carries a headline plus
   a sentence or two: an overlay tile at this width crops interior photography
   down to bare wall and buries the text. */
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--slate-3);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
a.pcard:hover { border-color: var(--slate-2); box-shadow: var(--sh); }

.pcard .media { border-radius: 0; aspect-ratio: 4 / 3; flex: none; }
.pcard:hover .media img { transform: scale(1.045); }

.pcard__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  flex: 1;
}
.pcard__label {
  font-size: var(--fs-sm);
  font-weight: var(--wt-black);
  color: var(--red-text);
  margin: 0;
}
.pcard__title {
  font-size: var(--fs-h3);
  font-weight: var(--wt-bold);
  letter-spacing: var(--ls-head);
  color: var(--ink);
}
.pcard__text { font-size: var(--fs-sm); color: var(--ink-3); margin: 0; }
.pcard__cta {
  margin-top: auto;
  padding-top: var(--s-4);
  font-size: var(--fs-sm);
  font-weight: var(--wt-black);
  color: var(--red-text);
}
a.pcard:hover .pcard__cta { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }


/* =============================================================== stat/fig */

.figrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: var(--s-5);
}

.fig__num {
  font-family: var(--ff-head);
  font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.5rem);
  font-weight: var(--wt-bold);
  line-height: 1;
  letter-spacing: var(--ls-display);
  color: var(--ink);
  display: block;
}
.on-dark .fig__num { color: #fff; }
.fig--red .fig__num { color: var(--red); }

.fig__label {
  font-size: var(--fs-xs);
  font-weight: var(--wt-semi);
  color: var(--ink-3);
  margin: var(--s-2) 0 0;
  line-height: 1.45;
  max-width: 22ch;
}
.on-dark .fig__label { color: #A8AEB5; }

/* bordered variant, used in the hero proof strip */
.figrow--split { gap: 0; }
.figrow--split .fig {
  padding: var(--s-4) var(--s-5) var(--s-4) 0;
  border-right: var(--hair) solid var(--line);
}
.on-dark .figrow--split .fig { border-color: var(--charcoal-line); }
.figrow--split .fig:last-child { border-right: 0; }
@media (max-width: 639px) {
  .figrow--split .fig:nth-child(2n) { border-right: 0; }
}

/* ============================================================== numbered */

/* Process timeline.
   Four equal cards in a row said nothing about sequence, so this connects the
   steps: a rule runs behind the number badges, each badge sits on the bottom
   edge of its photograph, and the whole thing reads left to right as a journey
   rather than as four unrelated boxes. */

.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7) var(--grid-gap);
}
@media (min-width: 620px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .flow { grid-template-columns: repeat(4, 1fr); } }

.flow__step { position: relative; }

.flow__top { position: relative; }

/* The connecting rule. Sits at the photo's bottom edge, which is exactly the
   vertical center of the badge, and reaches across the gap to the next step. */
@media (min-width: 1040px) {
  .flow__top::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: calc(100% + var(--grid-gap));
    height: 2px;
    background: var(--line-strong);
    z-index: 0;
  }
  .flow__step:last-child .flow__top::after { display: none; }
}

/* Below four across the rule would connect the wrong neighbors, so it becomes
   a short vertical tick between stacked steps instead. */
@media (max-width: 1039px) {
  .flow__step::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(var(--s-7) * -0.5);
    width: 2px;
    height: var(--s-5);
    background: var(--line-strong);
    transform: translate(-50%, 50%);
  }
  .flow__step:last-child::after { display: none; }
}
@media (min-width: 620px) and (max-width: 1039px) {
  .flow__step:nth-last-child(-n+2)::after { display: none; }
}

.flow__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  background: var(--grey-100);
  aspect-ratio: 4 / 3;
  box-shadow: var(--sh-sm);
}
.flow__media picture { display: block; width: 100%; height: 100%; }
.flow__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  outline: 1px solid rgb(0 0 0 / .08);
  outline-offset: -1px;
  transition: transform 620ms var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .flow__media img,
  .flow__badge { transition: none; }
  .flow__step:hover .flow__media img { transform: none; }
  .flow__step:hover .flow__badge { transform: translate(-50%, 50%); }
}

/* Badge straddles the photo edge and covers the rule behind it, so the line
   reads as passing through rather than stopping short. */
.flow__badge {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-head);
  font-size: var(--fs-h4);
  font-weight: var(--wt-bold);
  line-height: 1;
  box-shadow: 0 0 0 6px var(--slate-wash);
  transition: transform var(--t) var(--ease);
}

/* The ring is punched out of whichever surface the section sits on. */
.on-white .flow__badge { box-shadow: 0 0 0 6px var(--white); }
.on-dark .flow__badge { box-shadow: 0 0 0 6px var(--charcoal); }
.on-dark .flow__top::after,
.on-dark .flow__step::after { background: var(--charcoal-line); }

.flow__body { padding-top: calc(var(--s-6) + 4px); text-align: center; }

.flow__meta {
  font-size: var(--fs-sm);
  font-weight: var(--wt-black);
  color: var(--red-text);
  margin-bottom: var(--s-2);
}
.on-dark .flow__meta { color: #FF8A8E; }

.flow__title {
  font-size: var(--fs-h3);
  font-weight: var(--wt-bold);
  letter-spacing: var(--ls-head);
  margin-bottom: var(--s-3);
  text-wrap: balance;          /* every heading here wraps to two lines */
}

.flow__text {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin: 0 auto;
  max-width: 34ch;
  text-wrap: pretty;
}
.on-dark .flow__text { color: #C2C7CD; }

/* -------------------------------------------------- legacy step cards ---- */

/* Still used on pages where a step has no photograph to sit above it. */
.steps { display: grid; gap: var(--grid-gap); }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }

.step {
  background: var(--white);
  border: 2px solid var(--slate-3);
  border-radius: var(--radius);
  padding: var(--s-6);
  position: relative;
  box-shadow: var(--sh-sm);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--wt-bold);
  letter-spacing: 0;
  margin-bottom: var(--s-4);
}
.step__title { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.step__meta {
  font-size: var(--fs-sm);
  font-weight: var(--wt-black);
  color: var(--red-text);
  margin-bottom: var(--s-3);
}
.step p { font-size: var(--fs-sm); color: var(--ink-3); }

/* ================================================================= quotes */

.quote {
  background: var(--white);
  border: 2px solid var(--slate-3);
  border-radius: var(--radius);
  padding: var(--s-6);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.quote__text {
  font-size: var(--fs-h4);
  line-height: 1.6;
  font-weight: var(--wt-med);
  color: var(--ink);
  margin-bottom: var(--s-5);
  max-width: none;
}
.quote__foot { margin-top: auto; padding-top: var(--s-4); border-top: var(--hair) solid var(--line); }
.quote__who { font-size: var(--fs-sm); font-weight: var(--wt-semi); color: var(--ink); margin: 0; }
.quote__where { font-size: var(--fs-xs); color: var(--ink-3); margin: 2px 0 0; }

.stars { display: flex; gap: 2px; margin-bottom: var(--s-4); color: var(--gold); }
.stars svg { width: 16px; height: 16px; }

/* ============================================================== accordion */

.acc { display: grid; gap: var(--s-3); }

.acc__item {
  background: var(--white);
  border: 2px solid var(--slate-3);
  border-radius: var(--radius);
  overflow: hidden;
}
.acc__item:has(.acc__btn[aria-expanded="true"]) { border-color: var(--slate); }

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-5);
  text-align: left;
  font-family: var(--ff-head);
  font-size: var(--fs-h4);
  font-weight: var(--wt-semi);
  letter-spacing: var(--ls-h3);
  line-height: 1.4;
  color: var(--ink);
  transition: color var(--t) var(--ease);
}
.acc__btn:hover { color: var(--red-text); }

.acc__icon {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
  transition: transform var(--t) var(--ease);
}
.acc__icon::before, .acc__icon::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  background: var(--red);
  border-radius: 1px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.acc__icon::before { width: 12px; height: 2px; margin: -1px 0 0 -6px; }
.acc__icon::after { width: 2px; height: 12px; margin: -6px 0 0 -1px; }
.acc__btn[aria-expanded="true"] .acc__icon { transform: rotate(180deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { opacity: 0; }

.acc__panel { overflow: hidden; }
.acc__panel > div { padding: 0 var(--s-5) var(--s-5); max-width: var(--measure); }
.acc__panel p { font-size: var(--fs-sm); color: var(--ink-3); }

/* =============================================================== callouts */

.callout {
  background: var(--slate-wash);
  border: 2px solid var(--slate-3);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  padding: var(--s-5);
}
.callout__title {
  font-size: var(--fs-sm);
  font-weight: var(--wt-black);
  color: var(--red-text);
  margin-bottom: var(--s-2);
}
.callout p { font-size: var(--fs-sm); color: var(--ink-2); }

.callout--neutral { background: var(--grey-50); border-color: var(--line); border-left-color: var(--charcoal); }
.callout--neutral .callout__title { color: var(--ink); }
.callout--gold { background: #FDF6E7; border-color: #F3E2BC; border-left-color: var(--gold); }
.callout--gold .callout__title { color: var(--gold-deep); }

/* ================================================================= badges */

/* Trust marks laid out in a row. This had no rule at all, so the inline gap on
   the markup was inert and the marks sat flush against each other. */
.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-6);
}
.badges img { width: auto; }

/* .card--link marks a card that is itself an anchor. The base .card already
   handles layout; this only adds the affordance on hover. */
.card--link:hover .card__title { color: var(--red-text); }


/* Trust strip: Made in USA, 40 years, GOBA. Already the brand's trust marks. */
.trustbar {
  position: relative;
  z-index: 3;
  margin-top: calc(clamp(44px, 6vw, 84px) * -1);
}
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  gap: var(--s-5) clamp(24px, 3.5vw, 52px);
  padding: var(--s-6) clamp(20px, 3vw, 44px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -28px rgb(31 33 36 / .45), var(--sh-sm);
  border-bottom: 4px solid var(--red);
  max-width: calc(var(--max) - 2 * var(--gutter));
}
@media (max-width: 899px) { .trustbar .wrap { padding-inline: var(--s-4); } }
/* Sized per-mark rather than one blanket height: the GOBA lockup is wide with
   small type underneath and needs more room than the circular USA badge. */
.trustbar picture { display: block; flex: none; }
.trustbar img { width: auto; height: auto; }
.trustbar__usa img { height: 60px; }
.trustbar__goba img { height: 62px; }
.trustbar__item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.trustbar__item strong { display: block; color: var(--ink); font-weight: var(--wt-semi); }

/* the 40-year mark, rebuilt clean instead of the stock gold clipart */
.yearmark {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  flex: none;
}
.yearmark__num {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 1.375rem;
  font-weight: var(--wt-bold);
  letter-spacing: -0.03em;
  line-height: 1;
}
.yearmark__label {
  font-size: var(--fs-xs);
  font-weight: var(--wt-black);
  color: var(--ink);
  line-height: 1.3;
}
.yearmark__label span { display: block; font-weight: var(--wt-med); color: var(--ink-3); }

/* ============================================================ breadcrumbs */

.crumbs {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--ink-3);
  margin: 0;
}
.crumbs li { display: flex; align-items: center; gap: var(--s-2); }
.crumbs li + li::before { content: '/'; opacity: .45; }
.crumbs a:hover { color: var(--red-text); }
.crumbs [aria-current] { color: var(--ink); font-weight: var(--wt-med); }
.on-dark .crumbs { color: #A8AEB5; }
.on-dark .crumbs a:hover { color: #fff; }
.on-dark .crumbs [aria-current] { color: #fff; }

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

.field { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-4); }
.field__label {
  font-size: var(--fs-sm);
  font-weight: var(--wt-semi);
  color: var(--ink);
}
.field__req { color: var(--red); }
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); }

.input, .textarea, .select {
  width: 100%;
  min-height: 52px;
  padding: var(--s-3) var(--s-4);
  background: var(--white);
  border: var(--hair) solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  color: var(--ink);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23666C74' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-4) center;
  background-size: 12px 8px;
  padding-right: var(--s-8);
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgb(216 30 39 / .14);
  outline: none;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-label); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 599px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.form__note { font-size: var(--fs-xs); color: var(--ink-3); margin-top: var(--s-4); }

.formcard {
  background: var(--white);
  border: var(--hair) solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--sh);
}

/* ============================================================== cta band */

.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 899px) {
  .cta-band__inner { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ============================================================ pill / chip */

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 40px;
  padding: var(--s-2) var(--s-4);
  border: var(--hair) solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--fs-xs);
  font-weight: var(--wt-med);
  color: var(--ink-2);
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease),
              background-color var(--t) var(--ease);
}
a.chip:hover { border-color: var(--red); background: var(--red); color: #fff; }
.chip.is-on { background: var(--red); color: #fff; border-color: var(--red); }

/* small inline check, matching the live site's gold ticks */
.ticks { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }
.tick {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: var(--wt-med);
}
.tick svg { width: 17px; height: 17px; color: var(--gold); flex: none; }

/* ============================================================== spec bar */

/* Thin at-a-glance strip beneath a page header. Sits tight to the header
   rather than floating in its own section, so the page starts quickly. */
.specbar {
  position: relative;
  z-index: 3;
  margin-top: calc(clamp(40px, 5vw, 64px) * -1);
}
.specbar:has(+ .on-grey) { background: linear-gradient(transparent 50%, var(--slate-wash) 50%); }
.specbar .ticks {
  justify-content: center;
  padding: var(--s-5) clamp(20px, 3vw, 40px);
  gap: var(--s-3) clamp(20px, 3.4vw, 48px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -28px rgb(31 33 36 / .45), var(--sh-sm);
  border-bottom: 4px solid var(--red);
}
.specbar .tick { font-size: var(--fs-sm); font-weight: var(--wt-semi); color: var(--ink); }
.specbar .tick svg { width: 19px; height: 19px; }

/* ============================================================ vendor card */

/* Brand logos sit in a fixed, contained plate so wordmarks of very different
   proportions still line up across the grid. object-fit: contain rather than
   cover, because cropping a logo is never acceptable. */
.vcard { display: flex; flex-direction: column; }

.vcard__plate {
  display: grid;
  place-items: center;
  height: 92px;
  padding: var(--s-4) var(--s-5);
  background: var(--white);
  border-bottom: var(--hair) solid var(--line);
  margin: calc(var(--s-6) * -1) calc(var(--s-6) * -1) var(--s-5);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.vcard__plate img {
  max-height: 46px;
  max-width: 82%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .68;
  transition: filter var(--t) var(--ease), opacity var(--t) var(--ease);
}
.vcard:hover .vcard__plate img { filter: none; opacity: 1; }

/* Fallback for brands whose logo the old site never carried. A set wordmark
   keeps every card the same height, and is honest about being a name rather
   than pretending to be a mark we do not have. */
.vcard__plate--text {
  font-family: var(--ff-head);
  font-size: var(--fs-h4);
  font-weight: var(--wt-bold);
  color: var(--ink-label);
  text-align: center;
  line-height: 1.2;
}

/* ========================================================= image outlines */

/* A hairline on photography keeps the edge defined against any surface.
   Pure black at low alpha; a tinted neutral picks up the background underneath
   and reads as dirt along the image edge. Logos are excluded, since an outline
   around a transparent wordmark boxes it in. */
.media img { outline: 1px solid rgb(0 0 0 / .08); outline-offset: -1px; }

/* ============================================================ rating bar */

/* Google rating with attribution and a link to the source. Not marked up as
   AggregateRating, for the reason given on .grating below. */
.ratingbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4) var(--s-6);
  padding: var(--s-5) clamp(20px, 3vw, 36px);
  background: var(--white);
  border: 2px solid var(--slate-3);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-sm);
}
.ratingbar__left { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
.ratingbar__left img { width: 30px; height: 30px; }
.ratingbar__score {
  font-family: var(--ff-head);
  font-weight: var(--wt-bold);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--ink);
}
.ratingbar__stars { display: flex; gap: 2px; color: var(--gold); }
.ratingbar__stars svg { width: 20px; height: 20px; }
.ratingbar__text { font-size: var(--fs-sm); color: var(--ink-3); margin: 0; }
.ratingbar__text strong { color: var(--ink); }

/* ============================================================ google rating */

/* Third-party rating, shown with clear attribution and a link to the source.
   Deliberately NOT marked up as AggregateRating: Google's structured data
   guidelines disallow schema for ratings collected on another platform, and
   using it here risks a manual action rather than a rich result. */
.grating {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5) var(--s-3) var(--s-4);
  background: var(--white);
  border: 2px solid var(--slate-3);
  border-radius: var(--radius);
}
a.grating:hover { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.grating__score {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: var(--wt-bold);
  letter-spacing: var(--ls-display);
  color: var(--ink);
  line-height: 1;
}
.grating__stars { display: flex; gap: 2px; color: var(--gold); }
.grating__stars svg { width: 15px; height: 15px; }
.grating__meta { font-size: var(--fs-xs); color: var(--ink-3); margin: 3px 0 0; line-height: 1.3; }
.grating__meta strong { color: var(--ink); font-weight: var(--wt-semi); }

.on-dark .grating { background: var(--charcoal-2); border-color: var(--charcoal-line); }
.on-dark .grating__score { color: #fff; }
.on-dark .grating__meta { color: #B9BEC4; }
.on-dark .grating__meta strong { color: #fff; }


/* Google mark on the rating card. Decorative, so it carries an empty alt and is
   hidden from assistive tech; the link's aria-label already says "Google". */
.grating__g { width: 24px; height: 24px; flex: none; }
@media (min-width: 900px) { .grating__g { width: 26px; height: 26px; } }

/* Reply under a form's submit button, written by site.js after /api/contact answers. */
.form-status { margin: var(--s-4) 0 0; padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: var(--wt-semi); }
.form-status.is-ok { background: var(--slate-wash); color: var(--ink); border-left: 4px solid var(--slate-ink); }
.form-status.is-error { background: var(--red-tint); color: var(--red-text); border-left: 4px solid var(--red); }
