/**
 * Ferroalloy layout overlays — Home, About, Products, Solutions.
 * Steel / molten mockup (09/2026). Tokens already retint News / Contact / Certs.
 */

html,
body,
button,
input,
select,
textarea {
  font-family: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
}

h1,
h2,
h3 {
  letter-spacing: -0.015em;
}

.section-eyebrow {
  color: var(--color-molten);
  letter-spacing: 0.14em;
}

/* ----- Home hero (static mockup, not the Global photo slider) ----- */
.hero.hero--ferro {
  position: relative;
  display: block;
  min-height: 0;
  height: auto;
  margin-top: 0;
  background: linear-gradient(120deg, var(--color-steel-dark), var(--color-steel) 62%, var(--color-steel-mid));
  color: var(--color-white);
  overflow: hidden;
}

.hero.hero--ferro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 16%, rgba(181, 101, 29, 0.3), transparent 46%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48'><path d='M0 47h48M47 0v48' stroke='%23ffffff' stroke-opacity='0.045' stroke-width='1'/></svg>");
  pointer-events: none;
}

.hero.hero--ferro-nogrid::after {
  background: radial-gradient(circle at 85% 18%, rgba(181, 101, 29, 0.3), transparent 46%);
}

.hero--ferro__inner {
  position: relative;
  z-index: 2;
  padding-top: 4.75rem;
  padding-bottom: 5.125rem;
}

.hero--ferro__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.4375rem 0.9375rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero--ferro__dot {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--color-amber);
  flex-shrink: 0;
}

.hero.hero--ferro h1,
.hero--ferro__copy h1,
.hero--ferro__copy .rich-text h1 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(1.875rem, 4.2vw, 3.125rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.14;
}

.hero--ferro__copy {
  color: #e7eeea;
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero--ferro__copy .rich-text > h1:first-child {
  margin-top: 0;
}

.hero--ferro__copy .rich-text > h1 + *,
.hero--ferro__copy > h1 + .page-hero__lead {
  margin-top: 1.375rem;
}

.hero--ferro__copy p,
.hero--ferro__copy .rich-text p {
  margin: 0 0 0.75em;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.hero--ferro__copy p:last-child {
  margin-bottom: 0;
}

.hero--ferro__copy b,
.hero--ferro__copy strong {
  font-weight: 700;
}

.hero--ferro__copy b:not([style*="color"]),
.hero--ferro__copy strong:not([style*="color"]) {
  color: var(--color-white);
}

.hero--ferro__pitch {
  margin-top: 1.375rem;
  color: #e7eeea;
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero--ferro__pitch .rich-text,
.hero--ferro__pitch p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.hero--ferro__pitch b,
.hero--ferro__pitch strong {
  color: var(--color-white);
  font-weight: 700;
}

.hero--ferro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.125rem;
}

.hero--ferro__actions .btn {
  padding: 0.8125rem 1.5rem;
  border-radius: 3px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.hero--ferro__outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.hero--ferro__outline:hover,
.hero--ferro__outline:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.75);
}

.hero--ferro-page .hero--ferro__inner {
  padding-top: 4rem;
  padding-bottom: 4.125rem;
}

.hero--ferro__crumb {
  font-size: 0.8125rem;
  color: #a9c0d6;
  margin: 0 0 1.125rem;
}

.hero--ferro__crumb a {
  color: inherit;
  text-decoration: none;
}

.hero--ferro__crumb a:hover {
  color: var(--color-white);
}

.hero--ferro-page .hero--ferro__badge {
  margin-bottom: 1.25rem;
}

.hero--ferro-page h1,
.hero--ferro-page .hero--ferro__copy h1,
.hero--ferro-page .hero--ferro__copy .rich-text h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  letter-spacing: -0.025em;
  color: var(--color-white);
}

.hero--ferro-page .hero--ferro__copy {
  color: #e7eeea;
  font-size: 1.09375rem;
  line-height: 1.55;
}

.hero--ferro-page .hero--ferro__copy .rich-text > h1 + * {
  margin-top: 1.25rem;
}

.hero--ferro-page .hero--ferro__copy p,
.hero--ferro-page .hero--ferro__copy .rich-text p {
  margin: 0 0 0.75em;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.hero--ferro-page .hero--ferro__copy p:last-child,
.hero--ferro-page .hero--ferro__copy .rich-text > *:last-child {
  margin-bottom: 0;
}

.hero--ferro-page .hero--ferro__copy b:not([style*="color"]),
.hero--ferro-page .hero--ferro__copy strong:not([style*="color"]) {
  color: var(--color-white);
  font-weight: 700;
}

.hero--ferro-page .hero--ferro__pitch,
.hero--ferro-page .page-hero__lead {
  margin-top: 1.25rem;
  color: #e7eeea;
  font-size: 1.09375rem;
  line-height: 1.55;
}

.hero--ferro-page .page-hero__lead p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

@media (max-width: 960px) {
  .hero--ferro-page h1 {
    font-size: 2.125rem;
  }
}

@media (max-width: 640px) {
  .hero--ferro__inner {
    padding-top: 3.25rem;
    padding-bottom: 3.75rem;
  }

  .hero.hero--ferro h1,
  .hero--ferro__copy h1 {
    font-size: 1.875rem;
  }

  .hero--ferro__copy,
  .hero--ferro__pitch {
    font-size: 1rem;
  }

  .hero--ferro__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero--ferro-page .hero--ferro__inner {
    padding-top: 2.75rem;
    padding-bottom: 3.25rem;
  }

  .hero--ferro-page h1 {
    font-size: 1.75rem;
  }
}

/* ----- Home stats bar ----- */
.section--trust {
  background: var(--color-steel-dark);
  padding: 0;
}

.section--trust .trust-strip {
  max-width: var(--container-max);
}

.section--trust .trust-strip__certs,
.section--trust .trust-strip__footer {
  display: none;
}

.section--trust .trust-strip__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.section--trust .trust-strip__stats {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.section--trust .trust-stat {
  flex: 1;
  min-width: 180px;
  padding: 1.625rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.section--trust .trust-stat:last-child {
  border-right: 0;
}

.section--trust .trust-stat__num {
  display: block;
  color: var(--color-white);
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section--trust .trust-stat__label {
  color: #c9d6d0;
  font-size: 0.84375rem;
}

/* ----- Pillars / why buyers choose us ----- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pillar-grid--4 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.pillar-grid--4 > .pillar-card {
  box-sizing: border-box;
  flex: 1 1 calc((100% - 4.5rem) / 4);
  min-width: min(100%, 16rem);
}

.pillar-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.875rem 1.75rem;
  background: var(--color-surface);
  transition: box-shadow var(--transition-fast);
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
}

.pillar-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--color-molten);
  margin-bottom: 1rem;
}

.pillar-card > h3 {
  font-size: 1.25rem;
  color: var(--color-steel-dark);
  margin: 0 0 0.625rem;
}

.pillar-card p {
  font-size: 0.90625rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.pillar-card__text,
.pillar-card__text .rich-text {
  font-size: 0.90625rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.pillar-card__text .rich-text p {
  font-size: inherit;
  color: inherit;
}

.pillar-card a,
.pillar-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-molten);
  text-decoration: none;
}

.pillar-card a:hover,
.pillar-card__link:hover {
  color: var(--color-molten-dark);
}

/* About: Why buyers choose us — mockup .pil (steel top bar, no links) */
.about-pillars .section__title {
  max-width: 24ch;
}

.about-pillars .pillar-card {
  border-top: 3px solid var(--color-steel);
  padding: 1.75rem 1.625rem;
}

.about-pillars .pillar-card:hover {
  box-shadow: none;
}

.about-pillars .pillar-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.875rem;
  display: block;
}

.about-pillars .pillar-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.5625rem;
}

.about-pillars .pillar-card p,
.about-pillars .pillar-card .rich-text p {
  margin: 0;
}

/* ----- Home solutions 2×2 ----- */
.section--solutions-home {
  background: var(--color-off-white);
}

.section--solutions-home .card-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}

.section--solutions-home .ferro-scard {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.section--solutions-home .card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #5b6b78, #2f3d48);
}

.section--solutions-home .card__badge {
  position: absolute;
  left: 1rem;
  top: 0.875rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-steel-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.section--solutions-home .card__media::after,
.ferro-pcard .card__media::after {
  display: none;
}

.section--solutions-home .card__media img,
.ferro-pcard .card__media img {
  opacity: 1;
}

.section--solutions-home .card__body {
  padding: 1.5rem 1.625rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section--solutions-home .card__excerpt {
  flex: 1;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 0.90625rem;
}

.section--solutions-home .card__excerpt p,
.section--solutions-home .card__excerpt .rich-text,
.section--solutions-home .card__excerpt .rich-text p {
  color: inherit;
  font-size: inherit;
}

.section--solutions-home .section__lead .rich-text {
  color: inherit;
  font-size: inherit;
}

/* ----- Featured product range ----- */
.ferro-pcard .card__media {
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, #5b6b78, #2f3d48);
}

.ferro-pcard .card__cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-molten);
  letter-spacing: 0.03em;
  text-transform: none;
  margin-bottom: 0.375rem;
}

.ferro-pcard .card__excerpt {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.875rem;
}

.card__more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-molten);
  text-decoration: none;
  margin-top: auto;
}

.card__more:hover {
  color: var(--color-molten-dark);
}

.ferro-center-link {
  text-align: center;
  margin: 2.125rem 0 0;
}

.ferro-center-link a {
  font-weight: 700;
  color: var(--color-molten);
  font-size: 1rem;
  text-decoration: none;
}

.ferro-center-link a:hover {
  color: var(--color-molten-dark);
}

/* ----- Ready to Source CTA (paper, not dark banner) ----- */
.cta-banner {
  background: var(--color-surface);
  padding: 4.5rem 0;
  border-top: 1px solid var(--color-border);
}

.cta-banner__eyebrow {
  color: var(--color-molten);
  letter-spacing: 0.14em;
}

.cta-banner__title {
  color: var(--color-steel-dark);
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__sub,
.cta-banner__sub p {
  color: var(--color-text-muted);
}

.cta-banner__outline,
.cta-banner .btn--ghost-white {
  background: transparent;
  color: var(--color-steel-dark);
  border: 1.5px solid var(--color-steel);
}

.cta-banner__outline:hover,
.cta-banner__outline:focus-visible,
.cta-banner .btn--ghost-white:hover,
.cta-banner .btn--ghost-white:focus-visible {
  background: var(--color-off-white);
  color: var(--color-steel-dark);
  border-color: var(--color-steel);
}

/* ----- Proof band ----- */
.proof-band {
  background: var(--color-steel-dark);
  color: var(--color-white);
}

.proof-band .section-eyebrow {
  color: var(--color-amber);
}

.proof-band .section__title,
.proof-band .section__header h2,
.proof-band .section__header h3,
.proof-band h2 {
  color: var(--color-white);
}

.proof-band h2 {
  font-size: 1.8125rem;
  margin-top: 0.5rem;
}

.proof-band .section__lead,
.proof-band .section__lead p,
.proof-band .section__lead .rich-text {
  color: #c9d6d0;
}

.proof-band .proof-grid {
  gap: 1.625rem;
  margin-top: 2.375rem;
}

.proof-band .proof-card,
.proof-band .proof-card.proof-card--link {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  box-shadow: none;
  overflow: visible;
}

.proof-band .proof-card:hover,
.proof-band .proof-card.proof-card--link:hover {
  transform: none;
  box-shadow: none;
}

.proof-band .proof-card__body {
  padding: 1.625rem 1.5rem;
}

.proof-band .proof-card__title,
.proof-band .proof-card h3,
.proof-band .proof-card--link:hover .proof-card__title,
.proof-band .proof-card.proof-card--link:hover .proof-card__title {
  color: var(--color-white);
  font-size: 1.125rem;
  margin: 0 0 0.625rem;
}

.proof-band .proof-card__desc,
.proof-band .proof-card__desc .rich-text,
.proof-band .proof-card__desc .rich-text p,
.proof-band .proof-card__desc p {
  color: #c9d6d0;
  font-size: 0.875rem;
  line-height: 1.55;
}

.proof-band .proof-card__media {
  display: none;
}

/* ----- Jump chips ----- */
.jump-chips {
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: var(--header-height);
  z-index: 30;
}

.jump-chips__row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.jump-chips a {
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-white);
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.jump-chips a:hover,
.jump-chips a.is-active {
  border-color: var(--color-steel);
  color: var(--color-steel-dark);
}

/* ----- Product spec sections ----- */
.product-spec {
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.product-spec:nth-of-type(even) {
  background: var(--color-off-white);
}

.products-load-more {
  padding: 3rem 0;
}

.products-load-more__inner {
  display: flex;
  justify-content: center;
}

.products-load-more .btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.product-spec__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.product-spec__cat {
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--color-molten);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-spec__head h2,
.product-spec__head h3 {
  font-size: 1.875rem;
  color: var(--color-steel-dark);
  margin: 0.375rem 0 0;
}

.product-spec__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 0.625rem;
  max-width: 60ch;
}

.product-spec__body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.125rem;
  align-items: start;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.90625rem; /* 14.5px */
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  overflow: hidden;
  background: var(--color-off-white);
}

.spec-table__caption {
  margin: 0 0 0.75rem;
  text-align: left;
  font-weight: 700;
  color: var(--color-steel-dark);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.spec-table th {
  background: var(--color-steel-dark);
  color: var(--color-white);
  text-align: left;
  padding: 0.6875rem 0.875rem; /* 11px 14px */
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 0;
}

.spec-table td {
  padding: 0.625rem 0.875rem; /* 10px 14px */
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted);
  background: var(--color-white);
  font-weight: 400;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table tbody td:first-child {
  font-weight: 600;
  color: var(--color-steel-dark);
  width: 30%;
  text-align: left;
  background: var(--color-steel-soft);
}

/* Property / Value */
.spec-table--simple td:first-child {
  width: 36%;
}

.spec-table--simple td:not(:first-child) {
  text-align: left;
  color: var(--color-text);
}

.pack-note {
  margin-top: 1.375rem;
  background: var(--color-mist);
  border-left: 3px solid var(--color-molten);
  padding: 0.875rem 1.125rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-radius: 0 0.25rem 0.25rem 0;
}

.pack-note p {
  margin: 0;
}

.pack-note p + p {
  margin-top: 0.5em;
}

.pack-note strong {
  color: var(--color-steel-dark);
}

/* ----- Certifications: Quality & Documents trust blocks ----- */
.cert-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cert-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .cert-trust-grid > :only-child {
    grid-column: 1 / -1;
    max-width: 36rem;
  }
}

.cert-trust-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.75rem 1.625rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  min-height: 100%;
}

.cert-trust-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.cert-trust-card__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-molten);
}

.cert-trust-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.375rem;
  background: var(--color-steel-soft);
  flex: 0 0 auto;
}

.cert-trust-card__icon img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.cert-trust-card__title {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.25;
  color: var(--color-steel-dark);
  letter-spacing: -0.015em;
}

.cert-trust-card__issuer,
.cert-trust-card__meta {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.cert-trust-card__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  flex: 1 1 auto;
}

.cert-trust-card__desc p {
  margin: 0;
}

.cert-trust-card__cta {
  margin-top: 0.5rem;
}

.product-spec__aside .product-spec__pic {
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, #5b6b78, #2f3d48);
  border-radius: 0.5rem;
  margin-bottom: 1.125rem;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.product-spec__aside .product-spec__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-spec__aside .product-spec__pic:hover img,
.product-spec__aside .product-spec-slider__slide.is-active:hover img {
  transform: scale(1.04);
}

.product-spec__aside .product-spec-slider__slide {
  cursor: zoom-in;
}

.product-spec-slider__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-spec-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-spec-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.product-spec-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.product-spec-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 55, 80, 0.55);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease;
}

.product-spec-slider__nav svg {
  display: block;
  flex: 0 0 auto;
}

.product-spec-slider:hover .product-spec-slider__nav,
.product-spec-slider:focus-within .product-spec-slider__nav {
  opacity: 1;
  visibility: visible;
}

.product-spec-slider__nav:hover,
.product-spec-slider__nav:focus-visible {
  background: rgba(30, 55, 80, 0.88);
  outline: none;
}

@media (hover: none) {
  .product-spec-slider__nav {
    opacity: 0.85;
    visibility: visible;
  }
}

.product-spec-slider__nav--prev {
  left: 0.5rem;
}

.product-spec-slider__nav--next {
  right: 0.5rem;
}

.product-spec-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  pointer-events: none;
}

.product-spec-slider__dot {
  pointer-events: auto;
  width: 0.4375rem;
  height: 0.4375rem;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.product-spec-slider__dot.is-active,
.product-spec-slider__dot:hover {
  background: #fff;
}

.product-spec__aside h4 {
  font-size: 0.875rem;
  color: var(--color-steel-dark);
  margin: 0 0 0.625rem;
  letter-spacing: 0.02em;
}

.product-spec__aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-spec__aside li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: 0.4375rem 0 0.4375rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.product-spec__aside li:last-child {
  border-bottom: 0;
}

.product-spec__aside li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-molten);
  border-radius: 2px;
}

.app-tags {
  margin: 1rem 0 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.app-tags span {
  font-size: 0.78125rem;
  background: var(--color-steel-soft);
  color: var(--color-steel-dark);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-weight: 600;
}

/* ----- About ----- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.125rem;
  align-items: center;
}

.about-story__text p,
.about-story__text .rich-text p {
  font-size: 1.03125rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.about-story__text .rich-text > h2:first-child {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.14;
  color: var(--color-steel-dark);
  max-width: 24ch;
  margin: 0.625rem 0 1.25rem;
}

.about-story__text .rich-text > p:first-child,
.about-story__text .rich-text > h2 + p {
  font-size: 1.1875rem;
  color: var(--color-text);
}

.about-story__pic {
  background: linear-gradient(135deg, #5b6b78, #2f3d48);
  border-radius: 0.5rem;
  min-height: 21.25rem;
}

.about-story__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  display: block;
  min-height: 21.25rem;
}

.about-quote {
  background: var(--color-off-white);
}

.about-quote__text {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-steel-dark);
  max-width: 30ch;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0.875rem 0 0;
}

.about-quote__text .rich-text,
.about-quote__text .rich-text p {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  margin: 0 0 0.5em;
}

.about-quote__text .rich-text > *:last-child {
  margin-bottom: 0;
}

/* Unstyled span = Molten. Keep in sync with body.editor-quote in editor-content.css. */
.about-quote__text span:not([style*="color"]),
.about-quote__text .rich-text span:not([style*="color"]) {
  color: var(--color-molten);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.375rem;
}

.cap-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.375rem;
}

.cap-card h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.5625rem;
  color: var(--color-white);
}

.cap-card p,
.cap-card .rich-text,
.cap-card .rich-text p {
  font-size: 0.84375rem;
  color: #c9d6d0;
  margin: 0;
}

.group-card {
  background: linear-gradient(120deg, #14432b, #1B5E3A);
  color: var(--color-white);
  border-radius: 0.5rem;
  padding: 2.875rem 3rem;
  position: relative;
  overflow: hidden;
}

.group-card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  border: 30px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.group-card__inner {
  position: relative;
  z-index: 2;
  max-width: 42.5rem;
}

.group-card .section-eyebrow {
  color: #a9d9bd;
}

.group-card h2,
.group-card .rich-text > h2:first-child,
.group-card .rich-text > h3:first-child {
  color: var(--color-white);
  font-size: 1.6875rem;
  margin: 0.625rem 0 0.875rem;
}

.group-card > .group-card__inner > .rich-text p {
  color: #e4f0e9;
  font-size: 1rem;
}

.group-vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.625rem;
  margin: 1.375rem 0 0.375rem;
}

.group-vm h4 {
  font-size: 0.78125rem;
  letter-spacing: 0.06em;
  color: #a9d9bd;
  margin: 0 0 0.4375rem;
  font-weight: 700;
}

.group-vm p,
.group-vm .rich-text,
.group-vm .rich-text p {
  font-size: 0.9375rem;
  color: #e4f0e9;
  line-height: 1.5;
  margin: 0;
}

.group-card__link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  padding: 0.625rem 1.375rem;
  border-radius: 0.1875rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.group-card__link:hover,
.group-card__link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.75);
}

.values-row {
  display: flex;
  gap: 0.875rem;
  margin-top: 2.125rem;
  flex-wrap: wrap;
}

.value-chip {
  flex: 1;
  min-width: 9.375rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-molten);
  border-radius: var(--radius-card);
  padding: 1.375rem 1.125rem;
}

.value-chip b {
  display: block;
  font-size: 1.25rem;
  color: var(--color-steel-dark);
}

.value-chip span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ----- Solutions segments ----- */
.sol-seg {
  padding: 4.125rem 0;
  border-bottom: 1px solid var(--color-border);
}

.sol-seg:nth-child(even of .sol-seg) {
  background: var(--color-off-white);
}

.sol-seg__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.75rem;
  align-items: center;
}

.sol-seg:nth-child(even of .sol-seg) .sol-seg__grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.sol-seg:nth-child(even of .sol-seg) .sol-seg__media {
  order: -1;
}

.sol-seg__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #5b6b78, #2f3d48);
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}

.sol-seg__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sol-seg__media-label {
  position: absolute;
  left: 1.125rem;
  bottom: 1rem;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.sol-seg__tag {
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--color-molten);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sol-seg h2,
.sol-seg h3 {
  font-size: 1.8125rem;
  color: var(--color-steel-dark);
  margin: 0.5rem 0 0.375rem;
}

.sol-seg__body {
  margin-bottom: 1.125rem;
}

.sol-seg__body .rich-text > h2,
.sol-seg__body .rich-text h2,
.sol-seg__body .rich-text > h3,
.sol-seg__body .rich-text h3 {
  font-size: 1.8125rem;
  color: var(--color-steel-dark);
  margin: 0.5rem 0 0.375rem;
}

.sol-seg__body .rich-text > p,
.sol-seg__body .rich-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin: 0 0 0.75em;
}

/* Pain = first paragraph after the title — same as body.editor-segment h2 + p */
.sol-seg__body .rich-text > h2 + p,
.sol-seg__body .rich-text h2 + p,
.sol-seg__body .rich-text > h3 + p,
.sol-seg__body .rich-text h3 + p {
  font-size: 0.9375rem;
  color: #8a5a2a;
  font-weight: 600;
  margin: 0 0 0.875rem;
}

.sol-seg__body .rich-text > *:last-child {
  margin-bottom: 0;
}

.sol-seg__pain {
  font-size: 0.9375rem;
  color: #8a5a2a;
  font-weight: 600;
  margin-bottom: 0.875rem;
}

.sol-seg__pain .rich-text,
.sol-seg__pain .rich-text p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.sol-seg__sol {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.125rem;
}

.sol-seg__sol .rich-text > *:last-child {
  margin-bottom: 0;
}

.sol-seg h4 {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--color-steel-dark);
  margin: 0 0 0.625rem;
  font-weight: 700;
}

.sol-seg ul {
  list-style: none;
  margin: 0 0 1.125rem;
  padding: 0;
}

.sol-seg li {
  font-size: 0.90625rem;
  color: var(--color-text-muted);
  padding: 0.375rem 0 0.375rem 1.5rem;
  position: relative;
}

.sol-seg li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 0.85rem;
  width: 0.5625rem;
  height: 0.5625rem;
  background: var(--color-molten);
  border-radius: 0.125rem;
}

.sol-seg__link {
  display: inline-block;
  font-size: 0.90625rem;
  font-weight: 600;
  color: var(--color-molten);
  text-decoration: none;
}

.sol-seg__link:hover {
  color: var(--color-molten-dark);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.375rem;
  counter-reset: step;
}

.flow-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.375rem;
  position: relative;
}

.flow-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -0.875rem;
  left: 1.375rem;
  width: 1.875rem;
  height: 1.875rem;
  background: var(--color-molten);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
}

.flow-step h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: var(--color-white);
}

.flow-step p,
.flow-step .rich-text,
.flow-step .rich-text p {
  font-size: 0.8125rem;
  color: #c9d6d0;
  margin: 0;
}

/* Contact: single quote form */
.inquiry-tabs:has(.inquiry-tab:only-child) {
  display: none;
}

@media (max-width: 960px) {
  .pillar-grid:not(.pillar-grid--4),
  .cap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillar-grid--4 > .pillar-card {
    flex-basis: calc((100% - 1.5rem) / 2);
  }

  .product-spec__body,
  .about-story,
  .sol-seg__grid,
  .sol-seg:nth-child(even of .sol-seg) .sol-seg__grid,
  .group-vm {
    grid-template-columns: 1fr;
  }

  .sol-seg:nth-child(even of .sol-seg) .sol-seg__media {
    order: 0;
  }

  .section--solutions-home .card-grid--4 {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .pillar-grid:not(.pillar-grid--4),
  .cap-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .pillar-grid--4 > .pillar-card {
    flex-basis: 100%;
  }

  .section--trust .trust-stat {
    min-width: 50%;
  }

  .jump-chips {
    position: static;
  }

  .group-card {
    padding: 2rem 1.625rem;
  }
}
