/* interstatecargo.com — site stylesheet (plan D-01, D-13).
 * Values come from docs/ai/original_spec/03-visual-design.md.
 * Desktop (>=1060px) matches the original 1020px layout; 700-1059px is fluid;
 * <700px is single-column with 16px gutters. */

/* ---------- Fonts (D-07, self-hosted Raleway, latin subset) ---------- */

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/raleway-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Raleway";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/raleway-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  --page-bg: #000;
  --content-bg: #fff;
  --chrome: #181818;
  --black: #000;
  --blue-top: #1e65af;
  --blue-bottom: #0041a4;
  --grad-blue: linear-gradient(var(--blue-top) 0%, var(--blue-bottom) 100%);
  --red-top: #ef373e;
  --red: #ed1c24;
  --grad-red: linear-gradient(var(--red-top) 0%, var(--red) 100%);
  --red-dark: #ae151a;
  --blue-link: #0051a4;
  --text: #333;
  --heading-dark: #181818;
  --heading-dark-2: #252525;
  --muted: #999;
  --footer-divider: #303030;
  --topbar-divider: #505050;
  --panel-grey: #c7c7c7;
  --hover-text: #e7e7e7;
  --social-facebook: #3b5a97;
  --social-twitter: #28aae1;
  --social-googleplus: #a6291b;

  --font: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --signature-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
  --column: 1020px;
  --gutter: 16px;
  /* Two-tone focus indicator (WCAG 1.4.11 / 2.4.7): a ring plus a halo in the surface colour,
   * so the ring keeps >= 3:1 against what sits behind it. Light surfaces: #0051a4 ring on a
   * #fff halo; dark surfaces (topbar, masthead, footer, drawer): #ffbf47 on #181818. */
  --focus-ring: #0051a4;
  --focus-halo: #fff;
  --focus-ring-dark: #ffbf47;
  --focus-halo-dark: #181818;
  /* #ed1c24 is 4.05:1 on --chrome; this lift of the same hue reaches 4.7:1 (WCAG AA). */
  --red-on-dark: #f33d44;
  /* The drawer tiles (#222) need a further lift: #f74a50 is 4.58:1 there (#f33d44 is 4.21:1). */
  --red-on-drawer: #f74a50;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
  background: var(--page-bg) url("../images/interstate_background.png") no-repeat center top;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

a {
  color: var(--blue-link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--focus-halo);
}

.topbar :focus-visible,
.masthead :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--focus-ring-dark);
  box-shadow: 0 0 0 5px var(--focus-halo-dark);
}

/* The desktop (and no-JS) mega-menu panel is light, inside the dark masthead. */
.megamenu__panel :focus-visible {
  outline-color: var(--focus-ring);
  box-shadow: 0 0 0 5px var(--focus-halo);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 10px 0;
  font-weight: bold;
  line-height: 20px;
  color: inherit;
}

p {
  margin: 0 0 10px;
}

ul {
  margin: 0;
  padding: 0;
}

/* Signature style: bold italic uppercase with a hard shadow. */
.signature,
.btn-brand,
.main-nav__link,
.footer-col__heading,
.companyinfo__links a,
.megamenu__title,
.topbar__contact {
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  text-shadow: var(--signature-shadow);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 2000;
  padding: 8px 16px;
  background: var(--content-bg);
  color: var(--blue-link);
  font-weight: 700;
}

.skip-link:focus {
  top: 8px;
}

main:focus {
  outline: none;
}

hr.soften {
  height: 1px;
  margin: 30px 0;
  border: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

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

.btn {
  display: inline-block;
  padding: 4px 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  cursor: pointer;
  background: linear-gradient(#fff, #e6e6e6);
  border: 1px solid #ccc;
  border-bottom-color: #b3b3b3;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn:hover,
.btn:focus-visible {
  color: var(--text);
  background: #e6e6e6;
}

/* .btn's own shadows would otherwise replace the focus halo. */
.btn:focus-visible {
  box-shadow: 0 0 0 5px var(--focus-halo);
}

/* The site's own .btn-primary: square, bold italic uppercase on the blue gradient. */
.btn-primary {
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background: var(--grad-blue);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--hover-text);
  background: var(--grad-red);
}

.btn-small {
  padding: 2px 10px;
  font-size: 11.9px;
}

/* TrailersPlus banner button. */
.btn-large {
  padding: 8px 29px;
  font-size: 16px;
  text-shadow: var(--signature-shadow);
}

/* Square-cornered gradient button (brand switcher, quicklinks). */
.btn-brand {
  display: block;
  padding: 8px 28px;
  font-size: 16px;
  line-height: 1em;
  color: #fff;
  background: var(--grad-blue);
}

.btn-brand:hover,
.btn-brand:focus-visible {
  color: var(--hover-text);
  background: var(--grad-red);
}

.btn-brand.is-active {
  color: #fff;
  background: var(--grad-red);
}

/* ---------- Well (Bootstrap 2 .well, square as on the original) ---------- */

.well {
  box-sizing: content-box;
  margin-bottom: 20px;
  padding: 19px;
  background: #f1f1f1;
  border: 1px solid #e3e3e3;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* ---------- Grey info box ---------- */

.info-box {
  box-sizing: content-box;
  float: right;
  width: 190px;
  margin: 15px 30px 0 0;
  padding: 15px;
  background: var(--panel-grey);
}

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

.topbar {
  background: linear-gradient(#222, #111);
  border-bottom: 1px solid #252525;
  font-size: 12px;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  max-width: var(--column);
  min-height: 40px;
  margin-inline: auto;
  padding: 0 8px;
}

.topbar ul {
  display: flex;
  align-items: center;
  list-style: none;
}

.topbar__social li {
  margin-right: 8px;
}

.topbar__icon {
  display: block;
  height: 15px;
  background: url("../images/interstate_social_sprite.png") no-repeat;
}

.topbar__icon--youtube {
  width: 39px;
  background-position: 0 0;
}

.topbar__icon--x {
  width: 19px;
  background-position: -39px 0;
}

.topbar__icon--facebook {
  width: 15px;
  background-position: -58px 0;
}

.topbar__icon--youtube:hover,
.topbar__icon--youtube:focus-visible {
  background-position: 0 -15px;
}

.topbar__icon--x:hover,
.topbar__icon--x:focus-visible {
  background-position: -39px -15px;
}

.topbar__icon--facebook:hover,
.topbar__icon--facebook:focus-visible {
  background-position: -58px -15px;
}

/* Signature style minus the uppercase: the original's "Contact Us" is mixed case. */
.topbar__contact {
  font-size: 16px;
  text-transform: none;
}

.topbar__contact li + li {
  border-left: 1px solid var(--topbar-divider);
}

.topbar__contact a {
  display: block;
  padding: 0 8px;
  color: var(--muted);
}

.topbar__contact a:hover,
.topbar__contact a:focus-visible {
  color: #fff;
}

/* ---------- Content column ---------- */

.content {
  position: relative;
  z-index: 1;
  max-width: var(--column);
  margin-inline: auto;
  background: var(--content-bg);
}

/* ---------- Masthead ---------- */

.masthead {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr auto;
  min-height: 142px;
  background: var(--chrome);
}

.masthead__logo {
  grid-area: 1 / 1 / 3 / 2;
  align-self: start;
  margin: 20px 0 0 20px;
}

.masthead__logo img {
  display: block;
}

.brand-switcher {
  grid-area: 1 / 2;
  justify-self: end;
  margin-right: 30px;
  padding: 0 5px;
  background: var(--black);
}

.brand-switcher ul,
.quicklinks ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 5px;
  list-style: none;
}

.brand-switcher li {
  padding-bottom: 5px;
}

/* ---------- Main nav + Trailers mega-menu ---------- */

.main-nav {
  grid-area: 3 / 1 / 4 / 3;
  padding-left: 5px;
}

.main-nav__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.main-nav__link {
  display: block;
  padding: 12px 15px;
  font-size: 16px;
  line-height: 1em;
  color: var(--muted);
  text-shadow: none;
}

.main-nav__link:hover,
.main-nav__link:focus-visible,
.main-nav__link.is-active,
.megamenu[open] > .main-nav__link {
  color: var(--red-on-dark);
}

.megamenu > summary {
  position: relative;
  cursor: pointer;
  list-style: none;
}

.megamenu > summary::-webkit-details-marker {
  display: none;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin: 6px 0 0 3px;
  vertical-align: top;
  border-top: 5px solid #333;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

/* Red notch under the TRAILERS label while the panel is open. */
.megamenu[open] > summary::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  margin-left: -5px;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--red);
  border-left: 5px solid transparent;
}

.megamenu__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
}

.megamenu__tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.megamenu__tile a {
  display: block;
  padding: 10px;
  color: var(--text);
}

.megamenu__tile a:hover,
.megamenu__tile a:focus-visible {
  color: var(--red);
}

.megamenu__tile img {
  display: block;
}

.megamenu__title {
  display: block;
  padding-top: 5px;
  font-size: 16px;
  line-height: 14px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.24);
}

.megamenu__tagline {
  display: block;
  font-size: 12px;
  line-height: 22px;
}

/* ---------- Page body helpers ---------- */

h1.intro-mkt {
  margin: 10px 0;
  padding: 20px 30px 25px;
  font-size: 34px;
  line-height: 42px;
  text-align: center;
}

/* ---------- Home: hero carousel ---------- */

.hero-carousel {
  position: relative;
  aspect-ratio: 1020 / 480;
  overflow: hidden;
  background: var(--chrome);
}

.hero-carousel__slides {
  list-style: none;
}

.hero-carousel__slide[hidden] {
  display: none;
}

.hero-carousel__slide img {
  display: block;
  width: 100%;
}

/* Inert without JS, so hidden until the P5 carousel script adds `.is-enhanced`. */
.hero-carousel__control {
  display: none;
  position: absolute;
  top: 50%;
  width: 25px;
  height: 50px;
  /* The original sits 20px above the image centre (its carousel box overlapped the masthead). */
  margin-top: -45px;
  padding: 0;
  font: 300 40px/34px var(--font);
  color: #fff;
  cursor: pointer;
  background: var(--red);
  border: 0;
}

.hero-carousel.is-enhanced .hero-carousel__control {
  display: block;
}

.hero-carousel__control span {
  display: block;
  margin-top: -4px;
}

.hero-carousel__control--prev {
  left: 0;
  padding-right: 5px;
  border-radius: 0 90px 90px 0;
}

.hero-carousel__control--next {
  right: 0;
  padding-left: 5px;
  border-radius: 90px 0 0 90px;
}

.hero-carousel__control:hover,
.hero-carousel__control:focus-visible {
  background: var(--red-dark);
}

/* ---------- Home: promo boxes and text columns ---------- */

.promo-row,
.text-columns {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  gap: 15px;
  padding: 0 15px;
}

.text-columns {
  grid-template-columns: repeat(3, 310px);
  padding: 0 15px 0 30px;
}

.promo-box {
  min-height: 320px;
  padding-bottom: 15px;
  overflow: hidden;
  background: var(--panel-grey);
}

.promo-box__image img {
  display: block;
  width: 100%;
}

.promo-box p {
  margin: 0;
  padding: 0 10px 15px;
}

.promo-box p:last-child {
  padding-bottom: 0;
}

.promo-box__heading,
.text-column__heading {
  font-size: 20px;
  line-height: 24px;
}

.promo-box__heading {
  margin: 10px 0;
  padding: 0 10px;
}

.text-column__heading {
  margin: 0;
  line-height: 20px;
}

.text-column p {
  margin: 10px 0 0;
}

.interstate-check {
  margin: 10px 0 0;
  list-style: none;
}

.interstate-check li {
  margin: 0 0 12px;
  padding-left: 23px;
  background: url("../images/interstate_check.gif") no-repeat 0 3px;
}

.interstate-check strong {
  display: block;
  font-size: 16.5px;
  line-height: 20px;
}

/* ---------- TrailersPlus banner ---------- */

.tp-banner {
  display: flow-root;
  max-width: 920px;
  margin-left: 30px;
  margin-right: 30px;
}

.tp-banner__logo {
  float: left;
  margin-right: 20px;
}

.tp-banner p {
  margin: 8px 0 10px;
}

.tp-banner h2 {
  margin: 0;
  font-size: 30px;
  font-style: italic;
  line-height: 26px;
  color: var(--heading-dark);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* ---------- Product pages ---------- */

.product-hero {
  display: grid;
  grid-template-columns: 255px minmax(0, 765px);
}

/* The colour sits under an opaque JPG, as in the original (the art is pre-washed-out). */
.product-nav {
  height: 385px;
  background: rgba(255, 255, 255, 0.5) url("../images/enclosed_trailernav.jpg") no-repeat;
}

.product-nav__heading {
  margin: 10px 0;
  padding: 0 15px;
  font-size: 28px;
  line-height: 28px;
}

.product-nav__heading span {
  display: block;
  /* Matches the original's taller first line box (16px span in a 28px line + <br>). */
  padding-top: 4px;
  font-size: 16px;
  color: var(--red);
}

.product-nav__list {
  list-style: none;
}

.product-nav__list a,
.product-nav__dealer a {
  display: block;
  padding: 2px 0 2px 15px;
  font-size: 16px;
  line-height: 20px;
}

.product-nav__title {
  margin: 10px 0 0;
  padding-left: 15px;
  font-weight: 700;
}

.product-nav__dealer {
  margin: 0;
}

.product-nav__dealer a {
  font-size: 13px;
  line-height: 14px;
}

.product-hero__image {
  display: block;
  width: 100%;
}

.product-section {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  column-gap: 15px;
  align-items: start;
}

.product-hero + .product-section {
  margin-top: 20px;
}

.section-label {
  margin: 10px 0 0;
  padding: 8px 28px;
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
  line-height: 18px;
  color: #fff;
  text-align: right;
  text-shadow: var(--signature-shadow);
  background: var(--grad-blue);
}

.product-section h2 {
  font-size: 28px;
  line-height: 40px;
}

.product-section__body p {
  margin: 10px 0 0;
}

/* The original's span9 body column is 735px wide (15px short of the content edge). */
.product-sizes h2,
.product-colors .product-section__body {
  margin-right: 15px;
}

.product-overview {
  grid-template-columns: 255px 480px minmax(0, 1fr);
}

.info-box__heading {
  margin: 0;
  font-size: 16.5px;
  line-height: 20px;
}

.product-overview .info-box__heading {
  margin-bottom: 7px;
}

.product-overview .info-box p {
  margin: 0;
}

.product-sizes__text {
  margin: 10px 0 0;
  padding: 8px 25px;
}

.trailer-sizes {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  max-width: 680px;
  padding: 10px 0 0;
  list-style: none;
}

/* Utility wraps this row in an extra span in the original, shifting it 15px right
 * without narrowing it. */
.product-sizes--inset .product-sizes__text,
.product-sizes--inset .trailer-sizes {
  position: relative;
  left: 15px;
}

.trailer-sizes li {
  margin-top: 10px;
  text-align: center;
}

.trailer-sizes a {
  display: block;
}

.trailer-sizes img {
  display: block;
  margin: 0 auto 5px;
}

.trailer-sizes img:hover,
.swatch img:hover {
  opacity: 0.7;
}

.swatch-list__title {
  margin: 0;
  padding: 35px 25px 10px;
  font-weight: 700;
}

.swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 5px;
  max-width: 205px;
  margin: 0 25px 25px;
}

.swatch {
  display: block;
  padding: 0;
  cursor: pointer;
  background: none;
  border: 0;
}

.swatch img {
  display: block;
}

.color-pane {
  display: flex;
  align-items: flex-start;
}

.color-pane[hidden] {
  display: none;
}

.color-pane > img {
  flex: 0 1 480px;
  min-width: 0;
}

.color-pane .color-pane__caption {
  float: none;
  flex: none;
  margin: 15px 30px 0 auto;
}

.color-pane__caption p {
  margin: 10px 0 0;
  line-height: 18px;
}

.color-pane__caption small {
  font-size: 85%;
}

/* ---------- Product pages: DuraFrame ---------- */

.circle,
.circle-sample {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle farthest-corner at 45px 45px, var(--red), var(--red-dark));
}

.circle-sample {
  display: inline-block;
  width: 21px;
  height: 21px;
  line-height: 21px;
  vertical-align: -1px;
}

.duraframe__intro {
  margin-right: 15px;
}

/* The original's inline sample has a 26px line-height, which sets this line box. */
.duraframe__prompt {
  line-height: 26px;
}

/* Circles and the image share one origin (see hotspot_position); the original's 50px top
 * padding becomes a margin so the percentages stay relative to the image box. */
.duraframe__diagram {
  position: relative;
  max-width: 1020px;
  aspect-ratio: 1020 / 425;
  margin: 50px 0 20px;
}

.duraframe__diagram img {
  display: block;
  width: 100%;
  height: auto;
}

/* Centred on its point with negative margins, not a transform, so no stacking context is
 * created and every open popover paints above all the circles (as Bootstrap's did). */
.hotspot {
  position: absolute;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
}

.circle {
  display: block;
  width: 30px;
  height: 30px;
  /* The original's 26px line box in a 30px circle: the number sits 2px high. */
  padding: 0 0 4px;
  line-height: 26px;
  font-family: inherit;
  cursor: pointer;
  border: 0;
}

.circle:hover,
.circle:focus-visible,
.circle[aria-expanded="true"] {
  background: radial-gradient(circle farthest-corner at 45px 45px, #ccc, #999);
}

.popover {
  position: absolute;
  bottom: calc(100% + 11px);
  left: 50%;
  z-index: 5;
  display: none;
  width: max-content;
  max-width: 220px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 18px;
  color: var(--text);
  text-align: left;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

/* Down-arrow: a rotated square sharing the box's border. */
.popover::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  content: "";
  background: #fff;
  border: solid rgba(0, 0, 0, 0.2);
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

.hotspot:hover .popover,
.hotspot:focus-within .popover,
.circle[aria-expanded="true"] + .popover {
  display: block;
}

.duraframe-list {
  display: none;
}

.duraframe-wells {
  display: flex;
  flex-wrap: wrap;
  gap: 0 15px;
  padding: 15px 0 0 15px;
  list-style: none;
}

.duraframe-wells .well {
  width: 120px;
  height: 155px;
  padding: 10px;
  overflow: hidden;
}

.duraframe-wells .well h3 {
  margin: 0;
  font-size: 16.5px;
  line-height: 20px;
}

.duraframe-wells .well p {
  margin: 10px 0 0;
  font-size: 11.9px;
  line-height: 20px;
}

/* ---------- Trailers page ---------- */

.trailer-cards {
  display: grid;
  /* 300px cards = 260px content + 2 x 19px padding + 2 x 1px border. */
  grid-template-columns: repeat(3, 300px);
  gap: 0 15px;
  align-items: start;
  padding: 30px 15px 0;
  list-style: none;
}

.trailer-card__image,
.trailer-card__image img {
  display: block;
}

.trailer-card__image img,
img.trailer-card__image {
  width: 100%;
}

.trailer-card__title {
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 24px;
}

.trailer-card p {
  margin: 8px 0 10px;
}

/* ---------- Info pages (spec 04 §4.4) ---------- */

.contactus,
.privacy {
  padding: 40px 50px;
}

.contactus h1 {
  margin: 10px 0;
  font-size: 38.5px;
  line-height: 40px;
}

/* 7/3 split: main column 595px, 35px gutter, 255px sidebar (original span7 + span3). */
.contactus--split {
  display: grid;
  grid-template-columns: minmax(0, 595px) 255px;
  gap: 0 35px;
  align-items: start;
  padding-left: 65px;
}

.info-sidebar__heading {
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 24px;
  color: var(--blue-link);
}

.info-sidebar address {
  margin: 0 0 20px;
  font-style: normal;
  line-height: 20px;
}

.info-sidebar__phone {
  display: block;
  margin-top: 10px;
}

.info-sidebar__phone img {
  margin-right: 5px;
  vertical-align: baseline;
}

.info-sidebar__manuals {
  margin-bottom: 20px;
}

.info-sidebar__manuals .manual-download {
  margin-top: 10px;
}

.info-sidebar__manuals .manual-download + .manual-download {
  margin-top: 30px;
}

.info-sidebar__store {
  display: block;
}

.manual-download {
  display: flow-root;
  margin-top: 20px;
}

.manual-download + .manual-download {
  margin-top: 30px;
}

.manual-download__thumb {
  float: left;
}

.manual-download__thumb img {
  display: block;
}

.manual-download p {
  margin: 0;
}

.manual-download .manual-download__action {
  clear: both;
  padding-top: 10px;
}

.story {
  padding-bottom: 40px;
}

.story__aside {
  float: right;
  box-sizing: content-box;
  width: 160px;
  padding: 0 0 10px 10px;
  text-align: center;
}

.story__badge {
  display: block;
  margin: 0 auto;
  padding-top: 10px;
}

.story p {
  margin: 0 0 10px;
  padding-top: 10px;
}

.why h2 {
  margin: 10px 0;
  font-size: 24.5px;
  line-height: 40px;
  color: var(--blue-link);
}

/* Verbatim legal HTML (D-16): style by element; the privacy file's p1/s1 classes stay bare. */
.privacy ul,
.privacy ol,
.contactus ul,
.contactus ol {
  margin: 0 0 10px 25px;
  padding: 0;
}

/* Keep superscripts ("18th") from stretching the line box, as Bootstrap 2 did. */
.privacy sup {
  position: relative;
  top: -0.5em;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

/* Bootstrap 2 `[class*="span"] p`: top margin instead of bottom. */
.contactus .span7 > p {
  margin: 10px 0 0;
}

.contactus h5 {
  margin: 10px 0;
  font-size: 16.5px;
  line-height: 20px;
}

/* Bootstrap 2 global `small { font-size: 85% }` (measured 14.025px on the original). */
.contactus h5 small {
  font-size: 85%;
}

.privacy table {
  display: block;
  max-width: 100%;
  margin-bottom: 10px;
  overflow-x: auto;
  border-collapse: collapse;
}

.privacy td {
  padding: 0 10px 0 0;
  vertical-align: top;
}

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

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

.site-footer {
  padding: 15px;
  color: var(--muted);
  background: var(--chrome);
}

.site-footer p {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.site-footer__columns {
  display: flex;
  flex-wrap: wrap;
  gap: 0 15px;
  padding-left: 15px;
}

.footer-col {
  min-width: 140px;
  min-height: 158px;
  padding-right: 10px;
  border-right: 1px solid var(--footer-divider);
}

.footer-col--social {
  border-right: 0;
}

.footer-col__heading {
  margin: 15px 0 0;
  padding-bottom: 5px;
  font-size: 16px;
  line-height: 20px;
  color: var(--muted);
  text-shadow: none;
}

.footer-col ul {
  list-style: none;
}

/* 3px padding makes each link a 24px target (WCAG 2.2 target size); 18px line as original. */
.footer-col li a {
  display: block;
  padding: 3px 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}

.footer-col li a:hover,
.footer-col li a:focus-visible {
  color: var(--red-on-dark);
}

.footer-social {
  display: flex;
  gap: 3px;
  padding-top: 5px;
}

/* footer_socialsprite.png: 35px columns (email, facebook, twitter, youtube, google+);
 * rows 0 = active, -35px = hover, -70px = normal. */
.footer-social__icon {
  display: block;
  width: 35px;
  height: 35px;
  background: url("../images/footer_socialsprite.png") no-repeat;
}

.footer-social__icon--facebook {
  background-position: -35px -70px;
}

.footer-social__icon--x {
  background-position: -70px -70px;
}

.footer-social__icon--youtube {
  background-position: -105px -70px;
}

.footer-social__icon--facebook:hover,
.footer-social__icon--facebook:focus-visible {
  background-position: -35px -35px;
}

.footer-social__icon--x:hover,
.footer-social__icon--x:focus-visible {
  background-position: -70px -35px;
}

.footer-social__icon--youtube:hover,
.footer-social__icon--youtube:focus-visible {
  background-position: -105px -35px;
}

.footer-social__icon--facebook:active {
  background-position: -35px 0;
}

.footer-social__icon--x:active {
  background-position: -70px 0;
}

.footer-social__icon--youtube:active {
  background-position: -105px 0;
}

/* The original's computed rule: a single faint 1px line (Bootstrap's #eee/#fff pair is
 * overridden by its footer CSS). */
.site-footer__rule {
  margin: 20px 0 7px;
  border: 0;
  border-bottom: 1px solid var(--footer-divider);
}

.companyinfo {
  display: flow-root;
  padding-top: 15px;
}

.companyinfo img {
  float: left;
  margin-right: 10px;
}

.companyinfo__links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

/* With the link's own 10px padding this gives the original's ~23px between links. */
.companyinfo__links li {
  padding-right: 13px;
}

.companyinfo__links a {
  display: inline-block;
  padding-right: 10px;
  font-size: 16px;
  line-height: 1em;
  color: var(--muted);
}

.companyinfo__links a:hover,
.companyinfo__links a:focus-visible {
  color: var(--red-on-dark);
}

.site-footer p.copyright {
  margin: 0;
}

.copyright span {
  margin-right: 0.6em;
}

.quicklinks {
  margin: 15px -15px -15px;
  padding: 5px;
  background: var(--black);
}

/* Buttons grow to fill the bar. The original's synthesised oblique is wider than our real
 * italic (D-07), so at natural width the row stopped short of the bar's right edge. */
.quicklinks li {
  flex-grow: 1;
  padding-bottom: 0;
}

.quicklinks .btn-brand {
  text-align: center;
}

.quicklinks__lead {
  position: relative;
}

/* Red notch rising from the top-left of the lead quicklink, as the original. */
.quicklinks__lead::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 100%;
  border-bottom: 30px solid var(--red-top);
  border-right: 30px solid transparent;
}

/* ---------- Contact (spec 04 §4.4, 05 §4) ---------- */

.tagline {
  margin: 0 0 10px;
}

/* Three span3 columns as measured on the original: 255px wide, 15px offset, 270px step. */
.contact__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 255px));
  gap: 0 15px;
  margin-left: 15px;
}

.contact__heading {
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 24px;
  color: var(--blue-link);
}

.contact__country {
  margin: 0;
  font-size: 20px;
  line-height: 20px;
  color: var(--text);
}

.contactus address {
  margin: 0 0 20px;
  font-style: normal;
  line-height: 20px;
}

.contact__icon-row {
  display: block;
  margin-top: 10px;
}

.contact__icon-row img {
  margin-right: 5px;
  vertical-align: middle;
}

.contact__icon-row small {
  font-size: 85%;
}

/* Store grid: the original floated 230px <address> blocks inside each link, #333 text. */
/* The original container is 920px wide from a 15px offset (it overhangs the padding), so four
   230px blocks fit per row. */
.stores {
  margin: 0 -15px 0 15px;
}

.stores__state {
  margin: 10px 0 5px;
  font-size: 16px;
  line-height: 20px;
  color: var(--text);
}

.stores__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 230px);
}

.stores__grid a {
  color: var(--text);
  text-decoration: none;
}

.stores__grid a:hover strong,
.stores__grid a:focus-visible strong {
  text-decoration: underline;
}

@media (max-width: 1059px) {
  .contact__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-left: 0;
  }

  .stores {
    margin: 0;
  }

  .stores__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0 15px;
  }
}

@media (max-width: 699px) {
  .contact__columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .stores__grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  }

  .contactus address {
    overflow-wrap: anywhere;
  }
}

/* ---------- Fluid: 700-1059px ---------- */

@media (max-width: 1059px) {
  .masthead__logo {
    margin-right: 20px;
  }

  .masthead__logo img {
    width: min(407px, 40vw);
  }

  .brand-switcher {
    margin-right: 20px;
  }

  .btn-brand {
    padding: 8px 18px;
  }

  .megamenu__tiles {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .tp-banner {
    margin-left: 20px;
    margin-right: 20px;
  }

  .promo-row,
  .text-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 20px;
  }

  /* Three promos stay one row (two columns left an orphan box). */
  .promo-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .text-columns {
    gap: 20px 30px;
  }

  .product-hero {
    grid-template-columns: 255px minmax(0, 1fr);
  }

  .product-nav {
    height: auto;
    min-height: 260px;
    padding-bottom: 15px;
    background-size: cover;
  }

  .product-hero__image {
    height: 100%;
    object-fit: cover;
  }

  .product-section {
    padding-right: 20px;
  }

  .product-overview {
    grid-template-columns: 255px minmax(0, 1fr);
  }

  .product-overview__aside {
    grid-column: 2;
  }

  .product-overview .info-box {
    float: none;
    width: auto;
    max-width: 320px;
    margin: 15px 0 0;
  }

  .color-pane {
    flex-wrap: wrap;
  }

  .color-pane .color-pane__caption {
    margin: 15px 0 0;
  }

  .duraframe {
    padding-right: 20px;
  }

  .trailer-cards {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0 15px;
    padding: 30px 20px 0;
  }

  .contactus,
  .privacy {
    padding: 30px 30px;
  }

  .contactus--split {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 0 30px;
  }

  .duraframe .product-section {
    padding-right: 0;
  }

  /* Keep edge popovers inside the scaled diagram. */
  .hotspot--start .popover {
    left: 0;
    transform: none;
  }

  .hotspot--start .popover::after {
    left: 15px;
  }

  .hotspot--end .popover {
    right: 0;
    left: auto;
    transform: none;
  }

  .hotspot--end .popover::after {
    right: 10px;
    left: auto;
  }
}

/* ---------- Single column: <700px ---------- */

@media (max-width: 699px) {
  /* UX-003: phone type scale (desktop keeps the legacy 14/20, 11.9 wells, 12/16 copyright). */
  body {
    font-size: 16px;
    line-height: 1.5;
  }

  /* The fixed 155px well clips 14px copy; let it grow (flex rows keep pairs level). */
  .duraframe-wells .well {
    height: auto;
    min-height: 155px;
  }

  .duraframe-wells .well p {
    font-size: 14px;
    line-height: 1.45;
  }

  .site-footer p {
    font-size: 14px;
    line-height: 1.45;
  }

  /* Running copy whose desktop px line-height (18/20px) would be too tight at 16px. */
  .color-pane__caption p,
  .info-sidebar address,
  .contactus address {
    line-height: 1.5;
  }

  .topbar__inner {
    justify-content: center;
    padding: 6px var(--gutter);
  }

  .masthead {
    display: block;
    min-height: 0;
    padding: 16px var(--gutter) 0;
  }

  .masthead__logo {
    display: block;
    margin: 0 0 12px;
  }

  .masthead__logo img {
    width: 100%;
    max-width: 407px;
  }

  .brand-switcher {
    margin: 0 0 8px;
    padding: 5px 5px 0;
  }

  .btn-brand {
    padding: 8px 12px;
    font-size: 14px;
  }

  .main-nav {
    padding-left: 0;
  }

  .main-nav__list {
    flex-direction: column;
  }

  .main-nav__link {
    padding: 12px 0;
  }

  .megamenu__panel {
    position: static;
    margin: 0 calc(-1 * var(--gutter));
    box-shadow: none;
  }

  .megamenu__tiles {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  h1.intro-mkt {
    padding: 20px var(--gutter);
    font-size: 26px;
    line-height: 32px;
  }

  .promo-row,
  .text-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
    padding: 0 var(--gutter);
  }

  .promo-box {
    min-height: 0;
  }

  .tp-banner {
    margin: 0 var(--gutter);
  }

  .tp-banner__logo {
    float: none;
    display: block;
    margin: 0 0 10px;
  }

  .tp-banner h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .site-footer {
    padding: 15px var(--gutter);
  }

  .site-footer__columns {
    flex-direction: column;
    padding-left: 0;
  }

  .footer-col {
    min-height: 0;
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid var(--footer-divider);
  }

  .footer-col--social {
    border-bottom: 0;
  }

  .companyinfo__links {
    gap: 8px 0;
  }

  .quicklinks {
    margin: 15px calc(-1 * var(--gutter)) -15px;
  }

  .quicklinks ul {
    gap: 5px;
  }

  .quicklinks__lead::before {
    display: none;
  }

  .info-box {
    float: none;
    width: auto;
    margin: 15px 0 0;
  }

  .product-hero {
    display: block;
  }

  .product-nav {
    min-height: 0;
  }

  .product-hero__image {
    height: auto;
  }

  .product-section,
  .product-overview {
    display: block;
    padding: 0 var(--gutter);
  }

  .product-section h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .product-sizes__text {
    padding: 0;
  }

  .product-sizes--inset .product-sizes__text,
  .product-sizes--inset .trailer-sizes {
    left: 0;
  }

  .trailer-sizes {
    justify-content: center;
    gap: 0 20px;
  }

  .swatch-list__title {
    padding: 15px 0 10px;
  }

  .swatch-list {
    max-width: none;
    margin: 0 0 15px;
  }

  .color-pane {
    display: block;
  }

  .color-pane .color-pane__caption {
    width: auto;
  }

  .duraframe {
    padding: 0 var(--gutter);
  }

  .duraframe .product-section {
    padding: 0;
  }

  .duraframe__diagram {
    margin: 30px 0 10px;
  }

  .duraframe-wells {
    justify-content: center;
    margin: 0 auto;
    padding-left: 0;
  }

  .trailer-cards {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px var(--gutter) 0;
  }

  .contactus,
  .privacy {
    padding: 20px var(--gutter);
  }

  .contactus h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .contactus--split {
    display: block;
  }

  .info-sidebar {
    display: block;
    margin-top: 30px;
  }

  .story__aside {
    width: 110px;
  }

  .story__aside img {
    width: 100px;
  }

  .why h2 {
    font-size: 21px;
    line-height: 28px;
  }

  .privacy ul,
  .privacy ol,
  .contactus ul,
  .contactus ol {
    margin-left: 20px;
  }
}

/* Wells: six in a row only when they fit, otherwise 3-up (2-up on phones). */
@media (max-width: 979px) {
  .duraframe-wells {
    max-width: 471px;
  }
}

/* Diagram without circles; the numbered list carries the content. */
@media (max-width: 599px) {
  .hotspot {
    display: none;
  }

  .duraframe-list {
    display: block;
    margin: 0;
    padding-left: 25px;
  }

  .duraframe-list li {
    margin-bottom: 4px;
  }
}

/* UX-001: the verbatim 4-column CCPA table (D-16) cannot fit 358px at 16px copy; stack each
   row's cells in source order, with a rule between rows. The column-header row is visually
   hidden (kept for AT) and its labels are repeated above cells 2-4 of each data row. */
@media (max-width: 599px) {
  .privacy table,
  .privacy tbody,
  .privacy tr,
  .privacy td {
    display: block;
  }

  .privacy table {
    overflow-x: visible;
  }

  .privacy tr {
    padding: 8px 0;
    border-bottom: 1px solid var(--panel-grey);
  }

  .privacy td {
    padding: 0;
  }

  /* Copies .visually-hidden: the verbatim HTML cannot take a class (D-16); keep both in sync. */
  .privacy tr:nth-child(2) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .privacy tr:nth-child(n + 3) td:nth-child(n + 2)::before {
    display: block;
    margin-top: 8px;
    font-weight: bold;
  }

  .privacy tr:nth-child(n + 3) td:nth-child(2)::before {
    content: "How we use it";
  }

  .privacy tr:nth-child(n + 3) td:nth-child(3)::before {
    content: "Types of individuals affected";
  }

  .privacy tr:nth-child(n + 3) td:nth-child(4)::before {
    content: "How we share it";
  }
}

/* Links inside running text need more than colour to stand out (#0051a4 vs #333 is 1.6:1). */
main p:not(.product-nav__dealer) > a:not([class]),
.privacy p a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- P5: JS-enhanced behaviour (html.js is set inline in <head>) ---------- */

/* The drawer wrapper is layout-neutral on desktop and without JS, so the masthead grid still
 * places the brand switcher and main nav directly. */
.masthead__drawer {
  display: contents;
}

.nav-toggle {
  display: none;
}

/* Pause/play for the hero carousel (WCAG 2.2.2; an addition, not in the original). Inert
 * without JS, so hidden until site.js adds `.is-enhanced`. */
.hero-carousel__toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: none;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font: 700 14px/1 var(--font);
  color: #fff;
  cursor: pointer;
  background: var(--red);
  border: 0;
  border-radius: 50%;
}

.hero-carousel.is-enhanced .hero-carousel__toggle {
  display: grid;
}

.hero-carousel__toggle:hover,
.hero-carousel__toggle:focus-visible {
  background: var(--red-dark);
}

.hero-carousel__toggle-icon::before {
  content: "\2016"; /* ‖ pause */
}

.hero-carousel__toggle[aria-pressed="true"] .hero-carousel__toggle-icon::before {
  content: "\25B6\FE0E"; /* ▶ play (FE0E: text, not emoji, on iOS) */
  padding-left: 2px;
}

/* Active colour swatch (red for the active state only, as the original). */
.swatch[aria-selected="true"] img {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.swatch:focus-visible {
  outline-offset: 4px;
}

/* With JS the popovers are click-toggled (as the original); hover/focus is the no-JS fallback. */
.duraframe__diagram.is-enhanced .hotspot:hover .popover,
.duraframe__diagram.is-enhanced .hotspot:focus-within .popover {
  display: none;
}

.duraframe__diagram.is-enhanced .hotspot.is-open .popover {
  display: block;
}

.circle {
  position: relative;
}

@media (max-width: 1059px) {
  /* Touch targets: at least 44px for swatches and hotspots. */
  .swatch {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
  }

  .swatch-list {
    gap: 4px;
    max-width: 240px;
  }

  .circle::before {
    position: absolute;
    inset: -7px;
    content: "";
    border-radius: 50%;
  }

  /* Hamburger + drawer. */
  .js .masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    padding: 12px var(--gutter);
  }

  .js .masthead__logo {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0 16px 0 0;
  }

  .js .masthead__logo img {
    width: min(407px, 100%);
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
  }

  .js .nav-toggle {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--muted);
    cursor: pointer;
    background: none;
    border: 1px solid var(--topbar-divider);
  }

  .js .nav-toggle:hover,
  .js .nav-toggle[aria-expanded="true"] {
    color: #fff;
  }

  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .nav-toggle__bars {
    position: relative;
  }

  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .nav-toggle__bars::before {
    top: -7px;
  }

  .nav-toggle__bars::after {
    top: 7px;
  }

  .js .masthead__drawer {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    /* --drawer-top is the drawer's measured viewport top, set by site.js on open/resize. */
    max-height: calc(100vh - var(--drawer-top, 100px));
    max-height: calc(100dvh - var(--drawer-top, 100px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 var(--gutter) 16px;
    background: var(--chrome);
    border-top: 1px solid var(--footer-divider);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.4);
  }

  .js .masthead.is-open .masthead__drawer {
    display: flex;
  }

  /* While the drawer is open the page behind it does not scroll (UX-002); the drawer keeps its
     own overflow-y scroll when it is taller than the viewport. site.js adds drawer-open--gutter
     only when the page had a classic (non-overlay) scrollbar, so the stable gutter stops the lock
     from reflowing it without reserving space on a page that never had one. */
  html.js.drawer-open {
    overflow: hidden;
  }

  html.js.drawer-open--gutter {
    scrollbar-gutter: stable;
  }

  .js .main-nav {
    order: 1;
    padding: 0;
  }

  .js .brand-switcher {
    order: 2;
    margin: 12px 0 0;
    padding: 0;
    background: none;
  }

  .js .brand-switcher ul {
    flex-direction: column;
    gap: 5px;
  }

  .js .brand-switcher li {
    padding: 0;
  }

  .js .brand-switcher .btn-brand {
    padding: 14px 16px;
    font-size: 16px;
  }

  .js .main-nav__list {
    flex-direction: column;
  }

  .js .main-nav__item + .main-nav__item {
    border-top: 1px solid var(--footer-divider);
  }

  .js .main-nav__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 0;
  }

  .js .megamenu[open] > summary::after {
    display: none;
  }

  .js .megamenu__panel {
    position: static;
    margin: 0 0 8px;
    background: none;
    box-shadow: none;
  }

  .js .megamenu__tiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .js .megamenu__tile a {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    min-height: 44px;
    padding: 6px 8px;
    color: var(--panel-grey);
    background: #222;
  }

  .js .megamenu__tile img {
    grid-row: span 2;
    width: 80px;
  }

  .js .megamenu__title {
    padding-top: 0;
    line-height: 18px;
    color: #fff;
  }

  /* #ed1c24 is 3.63:1 on #222; this lighter red reaches AA (see --red-on-drawer). */
  .js .megamenu__tile a:hover .megamenu__title,
  .js .megamenu__tile a:focus-visible .megamenu__title,
  .js .megamenu__tile a[aria-current="page"] .megamenu__title {
    color: var(--red-on-drawer);
  }

  /* Drawer tiles sit on #222, so the dark focus indicator applies again. */
  .js .megamenu__panel :focus-visible {
    outline-color: var(--focus-ring-dark);
    box-shadow: 0 0 0 5px var(--focus-halo-dark);
  }

  .js .megamenu__tagline {
    line-height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
