/* North Carolina Switchgear Builders — industrial editorial design system */
:root {
  color-scheme: light;
  --ink: #17283e;
  --steel: #0B2545;
  --steel-deep: #0B2545;
  --steel-mid: #1c4067;
  --muted: #506276;
  --paper: #ffffff;
  --canvas: #ffffff;
  --line: #d6dfe8;
  --orange: #B31942;
  --orange-dark: #B31942;
  --max-width: 1280px;
  --gutter: 1.125rem;
  --sans: Arial, Helvetica, system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

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

body {
  margin: 0;
  padding-bottom: 4.75rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

img, svg {
  max-width: 100%;
}

img {
  display: block;
}

a {
  color: #164f6a;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--orange-dark);
}

:focus-visible {
  outline: 3px solid #ffbd63;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--steel-deep);
}

h1, h2, h3, h4, p, figure {
  margin-top: 0;
}

h1, h2, h3, h4 {
  color: var(--steel-deep);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.topline-inner,
.header-inner,
.trust-inner,
.main-wrap,
.feature-inner,
.footer-inner {
  width: min(calc(100% - 2 * var(--gutter)), var(--max-width));
  margin-inline: auto;
}

/* Utility bar and navigation: all navigation stays visible without scripts. */
.topline {
  background: var(--steel-deep);
  color: #e4ebed;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.4;
}

.topline-inner {
  min-height: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-block: 0.45rem;
}

.topline a {
  color: #fff;
}

.site-header {
  position: relative;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--steel-deep);
  text-decoration: none;
  line-height: 1;
}

.brand:hover {
  color: var(--steel-deep);
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 2.7rem;
  place-items: center;
  width: 2.7rem;
  min-height: 2.7rem;
  border-left: 5px solid var(--orange);
  background: var(--steel);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.brand-text {
  display: block;
  color: var(--steel-deep);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-small {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.header-nav,
.nav-mobile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 1.15rem;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.header-nav {
  order: 3;
  flex: 1 0 100%;
  padding-top: 0.8rem;
  border-top: 1px solid #e2e7e8;
}

.header-nav a,
.nav-mobile a {
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--steel);
  text-decoration: none;
}

.header-nav a:hover,
.nav-mobile a:hover,
.header-nav a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.header-call {
  flex: 0 1 auto;
  color: var(--steel);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.header-call:hover {
  color: var(--orange-dark);
}

.nav-mobile {
  order: 4;
  flex-basis: 100%;
}

/* Image and copy are peers, rather than a decorative background image. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1600px;
  margin-inline: auto;
  background: var(--steel-deep);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 3rem var(--gutter) 3.25rem;
  background: var(--steel);
  color: #fff;
}

.hero-media {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 17rem;
  overflow: hidden;
  background: #526876;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  position: absolute;
  z-index: 1;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(6, 20, 28, 0.65));
  content: "";
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow,
.feature-band .eyebrow,
.quote-panel .eyebrow {
  color: #ffb578;
}

.eyebrow::before {
  width: 2rem;
  height: 2px;
  background: var(--orange);
  content: "";
}

.hero h1 {
  max-width: 13ch;
  margin: 0 0 1.2rem;
  color: #fff;
  font-size: clamp(2.65rem, 8.7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.99;
}

.lead {
  max-width: 38rem;
  margin: 0 0 1.75rem;
  font-size: clamp(1.08rem, 2vw, 1.27rem);
  line-height: 1.6;
}

.hero .lead {
  color: #e1e9ec;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.2rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--steel);
  border-radius: 2px;
  background: var(--steel);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  border-color: var(--steel-mid);
  background: var(--steel-mid);
  color: #fff;
}

.button.primary,
button.primary,
input[type="submit"].primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #12232b;
}

.button.primary:hover,
button.primary:hover,
input[type="submit"].primary:hover {
  border-color: #ff9b57;
  background: #ff9b57;
  color: #12232b;
}

.button.secondary {
  border-color: var(--steel);
  background: transparent;
  color: var(--steel);
}

.button.secondary:hover {
  background: var(--steel);
  color: #fff;
}

.hero .button.secondary,
.feature-band .button.secondary,
.quote-panel .button.secondary {
  border-color: #c6d4da;
  color: #fff;
}

.hero .button.secondary:hover,
.feature-band .button.secondary:hover,
.quote-panel .button.secondary:hover {
  background: #fff;
  color: var(--steel-deep);
}

.hero-caption {
  color: #e4ebed;
  font-size: 0.75rem;
  line-height: 1.4;
}

.hero-media .hero-caption {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  text-shadow: 0 1px 3px #071b25;
}

/* Evidence strip */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding-block: 0.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.9rem 0.75rem 0.9rem 0;
  color: var(--steel);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.badge-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.2rem;
  border: 1px solid #a9b9bf;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

/* Editorial content and quote rail */
.main-wrap {
  padding-block: 2rem 4rem;
}

.breadcrumb {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--orange-dark);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.article {
  min-width: 0;
  max-width: 52rem;
  color: var(--ink);
  font-size: 1.025rem;
  line-height: 1.75;
}

.article .intro {
  margin-bottom: 2rem;
  color: var(--steel);
  font-size: clamp(1.18rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.55;
}

.article h2 {
  margin: 2.8rem 0 0.9rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.article h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.25rem;
}

.article p {
  margin: 0 0 1.25rem;
}

.article ul,
.article ol {
  padding-left: 1.4rem;
}

.article li + li {
  margin-top: 0.4rem;
}

.callout {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--orange);
  background: #f1f4f3;
  color: var(--steel);
}

.callout > :last-child {
  margin-bottom: 0;
}

.section-number,
.card-num {
  display: inline-block;
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.spec-table {
  width: 100%;
  margin: 1.5rem 0 2rem;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
}

.spec-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 0.85rem 1rem;
  border: 1px solid #cbd5d8;
  vertical-align: top;
}

.spec-table th {
  background: #e8edef;
  color: var(--steel-deep);
  font-weight: 800;
}

.spec-table td {
  background: #fff;
}

.related {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.related h2,
.related h3 {
  margin-top: 0;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-links a {
  display: inline-block;
  padding: 0.55rem 0.75rem;
  border: 1px solid #c6d2d6;
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.related-links a:hover {
  border-color: var(--steel);
  background: var(--steel);
  color: #fff;
}

.quote-panel {
  min-width: 0;
  padding: 1.5rem;
  border-top: 5px solid var(--orange);
  background: var(--steel);
  color: #edf3f4;
  box-shadow: 0 12px 30px rgba(11, 34, 47, 0.14);
}

.quote-panel h2,
.quote-panel h3,
.quote-panel h4 {
  margin-bottom: 0.7rem;
  color: #fff;
}

.quote-panel h2 {
  font-size: 1.7rem;
  line-height: 1.1;
}

.quote-panel p {
  color: #e0e9ec;
  line-height: 1.55;
}

.quote-panel a:not(.button) {
  color: #fff;
}

.quote-panel a:not(.button):hover {
  color: #ffc393;
}

form {
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--steel-deep);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
}

.form-row label {
  margin-bottom: 0;
}

.quote-panel label {
  color: #fff;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #9cacb2;
  border-radius: 2px;
  background: #fff;
  color: #172a33;
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--steel);
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #596a72;
  opacity: 1;
}

.quote-panel button,
.quote-panel input[type="submit"],
.quote-panel .button.primary {
  width: 100%;
  border-color: var(--orange);
  background: var(--orange);
  color: #12232b;
}

.quote-panel button:hover,
.quote-panel input[type="submit"]:hover,
.quote-panel .button.primary:hover {
  border-color: #ff9b57;
  background: #ff9b57;
  color: #12232b;
}

.form-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.quote-panel .form-note {
  color: #d7e2e5;
}

/* Cards and directory pages */
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-block: 2rem;
}

.product-card {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: #fff;
}

.product-card h2,
.product-card h3 {
  margin: 0.75rem 0;
  font-size: 1.35rem;
}

.product-card p:last-child {
  margin-bottom: 0;
}

.product-card a {
  font-weight: 700;
}

.directory-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.directory-list > li,
.directory-list > a {
  min-width: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.directory-list a {
  font-weight: 700;
}

.feature-band {
  padding-block: 3.5rem;
  background: var(--steel-mid);
  color: #edf3f4;
}

.feature-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.feature-band h2,
.feature-band h3 {
  max-width: 22ch;
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.feature-band p {
  max-width: 40rem;
  margin-bottom: 0;
}

.site-footer {
  padding-block: 3.5rem 2rem;
  background: #081d28;
  color: #d6e1e5;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.footer-brand {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #ffc393;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-note {
  padding-top: 1.25rem;
  border-top: 1px solid #415460;
  color: #c4d2d7;
  font-size: 0.8rem;
  line-height: 1.55;
}

.float-quote {
  position: fixed;
  z-index: 20;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  max-width: calc(100vw - 1.5rem);
  padding: 0.75rem 1rem;
  border: 1px solid var(--orange);
  border-radius: 2px;
  background: var(--orange);
  color: #12232b;
  box-shadow: 0 4px 16px rgba(5, 20, 28, 0.3);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.float-quote:hover {
  border-color: #ff9b57;
  background: #ff9b57;
  color: #12232b;
}

@media (max-width: 639px) {
  .spec-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .spec-table th,
  .spec-table td {
    min-width: 8rem;
  }
}

@media (min-width: 640px) {
  :root {
    --gutter: 2rem;
  }

  .hero-copy {
    padding-block: 4.5rem;
  }

  .hero-media {
    min-height: 25rem;
  }

  .trust-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust-item {
    padding-block: 1.3rem;
  }

  .home-grid,
  .directory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  :root {
    --gutter: 2.5rem;
  }

  body {
    padding-bottom: 0;
  }

  .header-inner {
    min-height: 5.5rem;
    flex-wrap: nowrap;
  }

  .brand {
    flex: 0 0 auto;
    margin-right: auto;
  }

  .header-nav {
    order: initial;
    flex: 0 1 auto;
    justify-content: flex-end;
    padding-top: 0;
    border-top: 0;
  }

  .nav-mobile {
    order: initial;
    flex-basis: auto;
  }

  .header-call {
    padding-left: 1.1rem;
    border-left: 1px solid var(--line);
  }

  .hero {
    grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
    align-items: stretch;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    padding: clamp(4.25rem, 7vw, 7rem) clamp(2.5rem, 5vw, 5.5rem);
  }

  .hero-media {
    grid-column: 2;
    grid-row: 1;
    min-height: 34rem;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 5.2vw, 5.5rem);
  }

  .main-wrap {
    padding-block: 2.5rem 6rem;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 23rem);
    gap: clamp(3rem, 6vw, 6rem);
  }

  .quote-panel {
    padding: 1.8rem;
  }

  .home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .float-quote {
    right: 0;
    bottom: 2rem;
    padding: 1rem 1.2rem;
    border-radius: 2px 0 0 2px;
  }
}

@media (min-width: 960px) and (min-height: 900px) {
  .quote-panel {
    position: sticky;
    top: 1.25rem;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Keep the photographic hero visible early on narrow screens and make credits legible. */
.hero-media { margin: 0; }
.hero-caption a { color: #fff; }
.hero-caption a:hover { color: #ffd0a9; }
@media (max-width: 639px) {
  .hero-media { order: -1; min-height: 13rem; }
  .hero-copy { padding-top: 2.25rem; padding-bottom: 2.5rem; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.1rem); }
}

/* American manufacturer palette: clean red, white, and navy, with thin stripe dividers. */
.topline,
.site-header,
.site-footer {
  background: #0B2545;
}

.site-header {
  border-bottom: 0;
}

.site-header::after,
.trust-strip::after,
.site-footer::before {
  display: block;
  width: 100%;
  height: 6px;
  background: linear-gradient(to bottom, #B31942 0 2px, #fff 2px 4px, #0B2545 4px 6px);
  content: "";
}

.site-footer::before {
  margin-top: -3.5rem;
  margin-bottom: 3.5rem;
}

.brand,
.brand:hover,
.brand-text,
.header-nav a,
.nav-mobile a {
  color: #fff;
}

.brand-small {
  color: #cfdae7;
}

.brand-mark {
  border-color: #B31942;
  background: #0B2545;
  box-shadow: inset 0 0 0 1px #a9bdcf;
}

.brand-slash {
  color: #B31942;
}

.header-nav {
  border-color: #52708f;
}

.header-nav a:hover,
.nav-mobile a:hover,
.header-nav a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  color: #fff;
  text-decoration-color: #ef94aa;
}

.header-call,
.header-call:hover,
.site-footer a[href^="tel:"],
.site-footer a[href^="tel:"]:hover {
  display: inline-block;
  padding: 0.48rem 0.7rem;
  border: 1px solid #fff;
  border-radius: 2px;
  background: #fff;
  color: #B31942;
  text-decoration: none;
}

.site-footer a[href^="tel:"] {
  margin-bottom: 0.55rem;
  font-weight: 800;
}

.site-footer a:hover {
  color: #fff;
  text-decoration-color: #f0a8b8;
}

:focus-visible {
  outline-color: #B31942;
  box-shadow: 0 0 0 5px #fff, 0 0 0 7px #0B2545;
}

/* One hero image is selected during the static build; no script is required. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(30rem, auto);
  max-width: none;
  isolation: isolate;
  background: #0B2545;
}

.hero-copy,
.hero-media {
  grid-column: 1 / -1;
  grid-row: 1;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 2 * var(--gutter)), var(--max-width));
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 5rem 0 5.5rem;
  background: transparent;
}

.hero-media {
  order: initial;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  background: #0B2545;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 37, 69, 0.97) 0%, rgba(11, 37, 69, 0.84) 42%, rgba(11, 37, 69, 0.48) 100%);
}

.hero-media .hero-caption {
  right: 1.25rem;
  bottom: 0.8rem;
  left: auto;
  color: #fff;
  font-size: 0.68rem;
  text-align: right;
}

.hero .eyebrow {
  color: #fff;
}

.hero h1 {
  max-width: 16ch;
}

.hero .lead {
  max-width: 37rem;
  color: #f0f4f8;
}

.eyebrow,
.section-number,
.card-num {
  color: #B31942;
}

.eyebrow::before {
  background: #B31942;
}

.button,
button,
input[type="submit"],
.button.primary,
button.primary,
input[type="submit"].primary,
.button.secondary,
.hero .button.secondary,
.feature-band .button.secondary,
.quote-panel button,
.quote-panel input[type="submit"],
.quote-panel .button.primary,
.float-quote {
  border-color: #B31942;
  background: #B31942;
  color: #fff;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.button.primary:hover,
button.primary:hover,
input[type="submit"].primary:hover,
.button.secondary:hover,
.hero .button.secondary:hover,
.feature-band .button.secondary:hover,
.quote-panel button:hover,
.quote-panel input[type="submit"]:hover,
.quote-panel .button.primary:hover,
.float-quote:hover {
  border-color: #891332;
  background: #891332;
  color: #fff;
}

.trust-strip,
.main-wrap,
.article,
.feature-band {
  background-color: #fff;
}

.badge-mark {
  border-color: #B31942;
  color: #B31942;
}

.callout {
  border: 1px solid #d6dfe8;
  border-left: 4px solid #B31942;
  background: #fff;
}

.article a[href^="tel:"],
.quote-panel a[href^="tel:"] {
  color: #B31942;
  font-weight: 800;
}

.quote-panel {
  border: 1px solid #d6dfe8;
  border-top: 5px solid #B31942;
  background: #fff;
  color: #17283e;
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.09);
}

.quote-panel input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.quote-panel select,
.quote-panel textarea {
  border-color: #506276;
}

.quote-panel h2,
.quote-panel h3,
.quote-panel h4,
.quote-panel p,
.quote-panel label {
  color: #0B2545;
}

.quote-panel .eyebrow,
.feature-band .eyebrow {
  color: #B31942;
}

.quote-panel .form-note {
  color: #506276;
}

.quote-panel a:not(.button),
.quote-panel a:not(.button):hover {
  color: #B31942;
}

.feature-band {
  border-top: 1px solid #d6dfe8;
  color: #17283e;
}

.feature-band h2,
.feature-band h3 {
  color: #0B2545;
}

@media (max-width: 639px) {
  .hero {
    grid-template-rows: minmax(31rem, auto);
  }

  .hero-copy {
    padding: 4rem 0 4.5rem;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(11, 37, 69, 0.95) 0%, rgba(11, 37, 69, 0.76) 100%);
  }

  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.1rem);
  }

  .hero-media .hero-caption {
    font-size: 0.62rem;
  }
}

/* The seventh supplied image includes carousel arrows at its edges; zoom uniformly
   so they cannot be mistaken for live website controls. */
.hero-media img[src$="user-hero-07.webp"] {
  transform: scale(1.8);
  transform-origin: center;
}

.hero-media .hero-caption {
  right: auto;
  left: var(--gutter);
  text-align: left;
}
