/*
Theme Name: MadeForSilicone Industrial
Theme URI: https://www.madeforsilicone.com/
Author: Kunshan Fuhongying Electronic Materials Co., Ltd.
Description: Purpose-built B2B theme for industrial silicone, LSR, sealing and overmolding solutions.
Version: 1.2.0
Text Domain: madeforsilicone
*/

:root {
  --mfs-ink: #0b1724;
  --mfs-navy: #10263b;
  --mfs-blue: #0c6d86;
  --mfs-cyan: #17a4b8;
  --mfs-orange: #f36b3d;
  --mfs-paper: #ffffff;
  --mfs-mist: #f3f7f8;
  --mfs-line: #dce5e8;
  --mfs-muted: #5a6875;
  --mfs-success: #18754c;
  --mfs-shadow: 0 20px 55px rgba(8, 25, 39, 0.12);
  --mfs-radius: 18px;
  --mfs-container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--mfs-ink);
  background: var(--mfs-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--mfs-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #084f63;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75em;
  color: var(--mfs-ink);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.85rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
}

h3 {
  font-size: clamp(1.22rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1.15em;
}

ul,
ol {
  margin: 0 0 1.3em;
  padding-left: 1.25rem;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 10px;
  left: 10px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  color: var(--mfs-paper);
  background: var(--mfs-ink);
  border-radius: 8px;
}

.container {
  width: min(calc(100% - 40px), var(--mfs-container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section--compact {
  padding: clamp(54px, 7vw, 82px) 0;
}

.section--mist {
  background: var(--mfs-mist);
}

.section--ink {
  color: rgba(255, 255, 255, 0.82);
  background: var(--mfs-ink);
}

.section--ink h2,
.section--ink h3,
.section--ink .eyebrow {
  color: var(--mfs-paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--mfs-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--mfs-muted);
  font-size: 1.08rem;
}

.section--ink .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.section-action {
  margin: 34px 0 0;
}

.section-action--tight {
  margin-top: 26px;
}

.section-action--inverse {
  margin-top: 28px;
}

.media-rounded {
  border-radius: var(--mfs-radius);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  color: var(--mfs-paper);
  background: var(--mfs-blue);
  border: 1px solid var(--mfs-blue);
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button::after {
  content: "→";
  transition: transform 180ms ease;
}

.button:hover {
  color: var(--mfs-paper);
  background: #075a70;
  border-color: #075a70;
  box-shadow: 0 12px 28px rgba(12, 109, 134, 0.25);
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(4px);
}

.button--accent {
  background: var(--mfs-orange);
  border-color: var(--mfs-orange);
}

.button--accent:hover {
  background: #d9542b;
  border-color: #d9542b;
  box-shadow: 0 12px 28px rgba(243, 107, 61, 0.24);
}

.button--ghost {
  color: var(--mfs-paper);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.34);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mfs-blue);
  font-weight: 750;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.site-topbar {
  color: rgba(255, 255, 255, 0.74);
  background: #07111c;
  font-size: 0.82rem;
}

.site-topbar__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-topbar a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-topbar a:hover {
  color: var(--mfs-paper);
}

.site-topbar__contact {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 229, 232, 0.9);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-branding {
  display: block;
  width: 264px;
  flex: 0 0 auto;
}

.site-branding img {
  width: 100%;
  height: auto;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: block;
  padding: 26px 0;
  color: var(--mfs-ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--mfs-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  min-height: 44px;
  padding: 11px 17px;
  font-size: 0.86rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--mfs-line);
  border-radius: 9px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--mfs-ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: min(790px, calc(100vh - 114px));
  align-items: center;
  overflow: hidden;
  color: var(--mfs-paper);
  background: #071421;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(5, 15, 25, 0.98) 0%, rgba(6, 19, 31, 0.94) 36%, rgba(6, 19, 31, 0.48) 64%, rgba(6, 19, 31, 0.12) 100%),
    url("assets/images/hero-industrial-silicone.webp");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 640px;
  height: 640px;
  content: "";
  background: radial-gradient(circle, rgba(23, 164, 184, 0.2), transparent 66%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 86px 0 110px;
}

.hero .eyebrow {
  color: #9fe4ee;
}

.hero h1 {
  color: var(--mfs-paper);
  text-wrap: balance;
}

.hero__lead {
  max-width: 630px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 40px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 650;
  list-style: none;
}

.hero__proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__proof li::before {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  content: "✓";
  color: #c7f6e6;
  background: rgba(35, 181, 128, 0.18);
  border: 1px solid rgba(109, 221, 182, 0.35);
  border-radius: 50%;
  font-size: 0.7rem;
}

/* Intro strip */
.support-strip {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.support-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--mfs-paper);
  border: 1px solid var(--mfs-line);
  border-radius: var(--mfs-radius);
  box-shadow: var(--mfs-shadow);
}

.support-item {
  padding: 28px 26px;
  border-right: 1px solid var(--mfs-line);
}

.support-item:last-child {
  border-right: 0;
}

.support-item__number {
  display: block;
  margin-bottom: 8px;
  color: var(--mfs-orange);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.support-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.98rem;
}

.support-item span:last-child {
  display: block;
  color: var(--mfs-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Cards */
.category-grid,
.product-grid,
.capability-grid,
.industry-grid,
.article-grid {
  display: grid;
  gap: 24px;
}

.category-grid {
  grid-template-columns: repeat(2, 1fr);
}

.category-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: var(--mfs-paper);
  background: var(--mfs-ink);
  border-radius: var(--mfs-radius);
}

.category-card:nth-child(5) {
  grid-column: 1 / -1;
  min-height: 360px;
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 10, 17, 0.04) 24%, rgba(5, 14, 23, 0.94) 100%);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms ease;
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 30px;
}

.category-card__body h3 {
  margin-bottom: 8px;
  color: var(--mfs-paper);
}

.category-card__body p {
  max-width: 570px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

.category-card .text-link {
  color: #a8ebf2;
}

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

.product-card,
.article-card,
.capability-card,
.industry-card {
  position: relative;
  overflow: hidden;
  background: var(--mfs-paper);
  border: 1px solid var(--mfs-line);
  border-radius: 14px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.product-card:hover,
.article-card:hover,
.capability-card:hover,
.industry-card:hover {
  border-color: #c2d7dc;
  box-shadow: 0 18px 42px rgba(9, 32, 47, 0.1);
  transform: translateY(-5px);
}

.product-card__image {
  display: block;
  height: 220px;
  overflow: hidden;
  background: #e9eef0;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__body,
.article-card__body {
  padding: 24px;
}

.product-card__category,
.article-card__meta {
  display: block;
  margin-bottom: 9px;
  color: var(--mfs-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-card h3,
.article-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.product-card h3 a,
.article-card h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card p,
.article-card p {
  margin-bottom: 16px;
  color: var(--mfs-muted);
  font-size: 0.91rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
}

.filter-button {
  padding: 9px 15px;
  color: var(--mfs-ink);
  background: var(--mfs-paper);
  border: 1px solid var(--mfs-line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--mfs-paper);
  background: var(--mfs-blue);
  border-color: var(--mfs-blue);
}

.product-card[hidden] {
  display: none;
}

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

.capability-card,
.industry-card {
  padding: 28px;
}

.capability-card__index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--mfs-blue);
  background: #e3f3f5;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

.capability-card p,
.industry-card p {
  margin: 0;
  color: var(--mfs-muted);
  font-size: 0.92rem;
}

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

.industry-card {
  min-height: 220px;
  background: linear-gradient(145deg, var(--mfs-paper), #f5f9fa);
}

.industry-card__label {
  display: inline-block;
  margin-bottom: 30px;
  padding: 6px 10px;
  color: var(--mfs-blue);
  background: #e4f3f5;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: mfs-process;
}

.process-step {
  position: relative;
  padding: 22px 22px 22px 0;
  counter-increment: mfs-process;
}

.process-step::before {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  content: counter(mfs-process, decimal-leading-zero);
  color: var(--mfs-paper);
  background: var(--mfs-blue);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 850;
}

.process-step::after {
  position: absolute;
  top: 44px;
  right: 12px;
  left: 58px;
  height: 1px;
  content: "";
  background: var(--mfs-line);
}

.process-step:last-child::after {
  display: none;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.process-step p {
  margin: 0;
  color: var(--mfs-muted);
  font-size: 0.85rem;
}

/* Split layouts */
.split {
  display: grid;
  align-items: center;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(42px, 7vw, 90px);
}

.split--reverse > :first-child {
  order: 2;
}

.split__image {
  position: relative;
}

.split__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--mfs-radius);
  box-shadow: var(--mfs-shadow);
}

.split__image::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: -1;
  width: 42%;
  height: 42%;
  content: "";
  background: repeating-linear-gradient(135deg, #d2e9ed 0 8px, transparent 8px 16px);
  border-radius: 14px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #31404c;
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  content: "✓";
  color: var(--mfs-success);
  background: #e4f4ed;
  border-radius: 50%;
  font-size: 0.7rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
}

.metric {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  color: var(--mfs-paper);
  font-size: 1.1rem;
}

.metric span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

/* Inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--mfs-paper);
  background: var(--mfs-ink);
}

.page-hero::after {
  position: absolute;
  top: -220px;
  right: -120px;
  width: 560px;
  height: 560px;
  content: "";
  background: radial-gradient(circle, rgba(23, 164, 184, 0.22), transparent 68%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: clamp(74px, 9vw, 116px) 0;
}

.page-hero h1 {
  margin-bottom: 20px;
  color: var(--mfs-paper);
  font-size: clamp(2.3rem, 4.4vw, 4.25rem);
}

.page-hero p {
  max-width: 710px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 650;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--mfs-paper);
}

.section > .container > .breadcrumb {
  color: #7a8994;
}

.section > .container > .breadcrumb a {
  color: var(--mfs-blue);
}

.section > .container > .breadcrumb a:hover {
  color: var(--mfs-ink);
}

.content-prose {
  color: #33414d;
}

.content-prose > *:first-child {
  margin-top: 0;
}

.content-prose h2 {
  margin-top: 1.55em;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
}

.content-prose h3 {
  margin-top: 1.55em;
}

.content-prose a {
  font-weight: 650;
}

.content-prose table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
}

.content-prose th,
.content-prose td {
  padding: 13px 15px;
  text-align: left;
  border: 1px solid var(--mfs-line);
}

.content-prose th {
  background: var(--mfs-mist);
}

/* Product detail */
.product-detail {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.72fr);
  gap: clamp(40px, 7vw, 78px);
}

.product-detail__image {
  position: sticky;
  top: 118px;
}

.product-detail__image > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2f3;
  border-radius: var(--mfs-radius);
  box-shadow: var(--mfs-shadow);
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-gallery__thumb {
  padding: 3px;
  overflow: hidden;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 9px;
  cursor: pointer;
}

.product-gallery__thumb.is-active {
  border-color: var(--mfs-blue);
}

.product-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
}

.product-detail__category {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  color: var(--mfs-blue);
  background: #e5f4f5;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-detail h1 {
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 4vw, 3.65rem);
}

.product-detail__lead {
  color: var(--mfs-muted);
  font-size: 1.08rem;
}

.product-facts {
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--mfs-line);
  border-radius: 12px;
}

.product-fact {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--mfs-line);
}

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

.product-fact strong {
  font-size: 0.83rem;
}

.product-fact span {
  color: var(--mfs-muted);
  font-size: 0.86rem;
}

.product-note {
  margin-top: 26px;
  padding: 18px 20px;
  color: #24424b;
  background: #ebf7f7;
  border-left: 3px solid var(--mfs-cyan);
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
}

.related-products {
  margin-top: 72px;
  padding-top: 60px;
  border-top: 1px solid var(--mfs-line);
}

/* Contact */
.contact-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(36px, 7vw, 82px);
}

.contact-card {
  padding: 28px;
  background: var(--mfs-ink);
  border-radius: var(--mfs-radius);
  color: rgba(255, 255, 255, 0.74);
}

.contact-card h2,
.contact-card h3 {
  color: var(--mfs-paper);
}

.contact-card a {
  color: #a5e6ed;
  word-break: break-word;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--mfs-paper);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-divider {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-card__note {
  margin: 0;
  font-size: 0.86rem;
}

.rfq-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--mfs-paper);
  border: 1px solid var(--mfs-line);
  border-radius: var(--mfs-radius);
  box-shadow: var(--mfs-shadow);
}

.rfq-form h2,
.rfq-form__intro,
.rfq-form__full,
.rfq-form .form-notice {
  grid-column: 1 / -1;
}

.rfq-form__intro {
  margin-top: -6px;
  color: var(--mfs-muted);
  font-size: 0.94rem;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 750;
}

.form-field label span {
  color: var(--mfs-orange);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  color: var(--mfs-ink);
  background: #fbfcfc;
  border: 1px solid #cbd8dc;
  border-radius: 9px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field input,
.form-field select {
  height: 48px;
  padding: 0 13px;
}

.form-field textarea {
  min-height: 150px;
  padding: 12px 13px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: var(--mfs-paper);
  border-color: var(--mfs-cyan);
  box-shadow: 0 0 0 3px rgba(23, 164, 184, 0.14);
}

.form-field--honeypot {
  position: absolute;
  left: -9999px;
}

.rfq-form__footer {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rfq-form__footer small {
  max-width: 410px;
  color: var(--mfs-muted);
  font-size: 0.76rem;
}

.form-notice {
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 650;
}

.form-notice--success {
  color: #125d3e;
  background: #e4f5ec;
  border: 1px solid #b8e3cc;
}

.form-notice--error {
  color: #8c3024;
  background: #fff0ed;
  border: 1px solid #f4c4b9;
}

/* Articles */
.article-grid {
  grid-template-columns: repeat(3, 1fr);
}

.article-card {
  min-height: 100%;
}

.navigation.pagination {
  margin-top: 42px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  place-items: center;
  color: var(--mfs-ink);
  background: var(--mfs-paper);
  border: 1px solid var(--mfs-line);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
  color: var(--mfs-paper);
  background: var(--mfs-blue);
  border-color: var(--mfs-blue);
}

.article-card__accent {
  height: 8px;
  background: linear-gradient(90deg, var(--mfs-blue), var(--mfs-cyan));
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 70px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: -4px 0 30px;
  color: var(--mfs-muted);
  font-size: 0.82rem;
}

.post-sidebar {
  position: sticky;
  top: 118px;
  align-self: start;
}

.sidebar-box {
  margin-bottom: 22px;
  padding: 24px;
  background: var(--mfs-mist);
  border: 1px solid var(--mfs-line);
  border-radius: 12px;
}

.sidebar-box h3 {
  font-size: 1rem;
}

.sidebar-box ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-box a {
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.sidebar-copy {
  color: var(--mfs-muted);
  font-size: 0.86rem;
}

/* CTA and footer */
.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--mfs-paper);
  background: linear-gradient(120deg, #0a6076, #12344c 62%, #0b1724);
}

.cta-band::after {
  position: absolute;
  right: -140px;
  bottom: -200px;
  width: 500px;
  height: 500px;
  content: "";
  border: 72px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  max-width: 720px;
  margin-bottom: 10px;
  color: var(--mfs-paper);
}

.cta-band p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.cta-band .button {
  flex: 0 0 auto;
}

.site-footer {
  color: rgba(255, 255, 255, 0.65);
  background: #07111c;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1.15fr;
  gap: 46px;
  padding: 74px 0 58px;
}

.footer-brand img {
  width: 250px;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 370px;
  font-size: 0.88rem;
}

.footer-column h3 {
  margin-bottom: 18px;
  color: var(--mfs-paper);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--mfs-paper);
}

.footer-contact li {
  font-size: 0.84rem;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom__links {
  display: flex;
  gap: 20px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.67);
  text-decoration: none;
}

.not-found {
  min-height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .primary-nav ul {
    gap: 18px;
  }

  .product-grid,
  .capability-grid,
  .industry-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-step:nth-child(3)::after,
  .process-step:last-child::after {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 880px) {
  .site-topbar__message {
    display: none;
  }

  .site-topbar__inner {
    justify-content: center;
  }

  .site-branding {
    width: 240px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 114px;
    right: 0;
    left: 0;
    visibility: hidden;
    margin: 0;
    padding: 14px 20px 24px;
    background: var(--mfs-paper);
    border-bottom: 1px solid var(--mfs-line);
    box-shadow: 0 20px 30px rgba(9, 30, 43, 0.14);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .nav-open .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav ul {
    display: grid;
    gap: 0;
  }

  .primary-nav a {
    padding: 13px 5px;
    border-bottom: 1px solid var(--mfs-line);
  }

  .primary-nav li:last-child a {
    border-bottom: 0;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero::before {
    background-image:
      linear-gradient(90deg, rgba(5, 15, 25, 0.98) 0%, rgba(6, 19, 31, 0.9) 54%, rgba(6, 19, 31, 0.5) 100%),
      url("assets/images/hero-industrial-silicone.webp");
    background-position: 62% center;
  }

  .support-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-item:nth-child(2) {
    border-right: 0;
  }

  .support-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--mfs-line);
  }

  .split,
  .contact-layout,
  .product-detail,
  .post-layout {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 0;
  }

  .product-detail__image,
  .post-sidebar {
    position: static;
  }

  .contact-layout {
    gap: 30px;
  }

  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-column:last-child {
    grid-column: auto;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--mfs-container));
  }

  .section {
    padding: 68px 0;
  }

  .site-topbar__contact {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.75rem;
  }

  .site-header__inner {
    min-height: 70px;
  }

  .site-branding {
    width: 208px;
  }

  .primary-nav {
    top: 108px;
  }

  .hero {
    min-height: 700px;
  }

  .hero__content {
    padding-top: 78px;
  }

  .hero__proof {
    display: grid;
  }

  .support-strip {
    margin-top: -26px;
  }

  .support-strip__grid,
  .category-grid,
  .product-grid,
  .capability-grid,
  .industry-grid,
  .article-grid,
  .metric-row,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .support-item {
    padding: 21px;
    border-right: 0;
    border-bottom: 1px solid var(--mfs-line);
  }

  .support-item:nth-child(3) {
    border-bottom: 1px solid var(--mfs-line);
  }

  .support-item:last-child {
    border-bottom: 0;
  }

  .category-card,
  .category-card:nth-child(5) {
    grid-column: auto;
    min-height: 360px;
  }

  .category-card__body {
    padding: 24px;
  }

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

  .process-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    padding: 10px 0 22px;
  }

  .process-step::before {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .process-step::after {
    top: 58px;
    bottom: 0;
    left: 22px;
    display: block !important;
    width: 1px;
    height: auto;
  }

  .process-step:last-child::after {
    display: none !important;
  }

  .rfq-form {
    grid-template-columns: 1fr;
  }

  .rfq-form > * {
    grid-column: 1 / -1;
  }

  .rfq-form__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-fact {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-main {
    gap: 34px;
    padding: 58px 0 42px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
}

@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;
  }
}
