/*
Theme Name: ZeroY Starter - CYT Hydraulics Industrial Theme
Description: Precision B2B Hydraulic Fittings & Adapters Theme
*/

/* BASE RESETS & TYPOGRAPHY */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.18;
}

.mono {
  font-family: var(--font-mono);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 84px 0;
}

.alt {
  background: var(--bg-alt);
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}

.h-sec {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
}

.sub {
  color: var(--steel);
  font-size: 17px;
  max-width: 680px;
  margin-bottom: 44px;
  line-height: 1.6;
}

.body-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-control);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: rgba(27, 58, 92, 0.07);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

.btn-full {
  width: 100%;
}

.btn-note {
  font-size: 12.5px;
  color: var(--steel);
  margin-top: 10px;
  text-align: center;
}

/* HEADER */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo a {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.logo-mark {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
}

.logo-tagline {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--steel);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--orange);
}

/* DROPDOWN MENU */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px 0;
}

.dropdown-arrow {
  font-size: 11px;
  transition: transform 0.2s ease;
  line-height: 1;
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--orange);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  box-shadow: 0 10px 28px rgba(27, 58, 92, 0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* MEGAMENU DROPDOWN */
.nav-item-megamenu {
  position: static !important;
}

.site-header .wrap.header-inner {
  position: relative;
}

.megamenu-dropdown {
  position: absolute;
  top: 100%;
  left: 24px;
  right: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(27, 58, 92, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1000;
  overflow: hidden;
}

.megamenu-dropdown-sm {
  left: auto;
  right: auto;
  min-width: 580px;
}

.nav-item-megamenu:hover .megamenu-dropdown,
.nav-item-megamenu.is-active .megamenu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 28px 32px 24px;
  background: #ffffff;
}

.megamenu-inner-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}

.megamenu-inner-1col {
  grid-template-columns: 1fr;
  max-width: 480px;
}

.megamenu-col {
  display: flex;
  flex-direction: column;
}

.megamenu-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 12px;
}

.mch-icon {
  font-size: 16px;
}

.mch-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.megamenu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.megamenu-links li a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 13.5px;
  color: var(--text) !important;
  transition: background 0.15s, color 0.15s;
}

.megamenu-links li a:hover {
  background: var(--bg-alt);
  color: var(--orange) !important;
}

.megamenu-links li a:hover .term-name {
  color: var(--orange);
}

.term-count {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(27, 58, 92, 0.08);
  color: var(--steel);
  padding: 2px 6px;
  border-radius: 10px;
}

.megamenu-links li a:hover .term-count {
  background: rgba(232, 98, 26, 0.15);
  color: var(--orange);
}

.empty-term {
  font-size: 12.5px;
  color: var(--steel-light);
  padding: 6px 10px;
}

.megamenu-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mf-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mf-text {
  font-size: 13px;
  color: var(--steel);
}

.mf-cta {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--orange) !important;
  text-decoration: none;
  transition: transform 0.15s;
}

.mf-cta:hover {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .megamenu-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .megamenu-inner {
    grid-template-columns: 1fr;
  }
  .megamenu-footer {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

.dropdown-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--steel);
  font-weight: 700;
  padding: 6px 16px 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.dropdown-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13.5px;
  color: var(--text) !important;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.dropdown-bullet {
  color: var(--steel-light);
  font-weight: 700;
  font-size: 14px;
  transition: color 0.15s, transform 0.15s;
}

.dropdown-link:hover {
  background: var(--bg-alt);
  color: var(--orange) !important;
}

.dropdown-link:hover .dropdown-bullet {
  color: var(--orange);
  transform: translateX(2px);
}

.dropdown-empty {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--steel);
}

/* MOTIF DIVIDER */
.motif {
  border: none;
  border-top: 1px solid var(--line);
  position: relative;
  margin: 0;
}

.motif::after {
  content: "⬡ ⬡ ⬡";
  position: absolute;
  left: 50%;
  top: -11px;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 0 16px;
  color: var(--steel-light);
  font-size: 13px;
  letter-spacing: 8px;
}

/* HERO SECTION */
.about-hero {
  background: var(--navy);
  color: #ffffff;
  padding: 80px 0 88px;
}

.about-hero .eyebrow {
  color: #f7a26d;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  color: #ffffff;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  color: #C6D5E2;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.about-hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.about-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-control);
  padding: 5px 12px;
  font-size: 12.5px;
  color: #DCE6EF;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* PLACEHOLDER BLOCKS (Clean grey industrial placeholders as requested) */
.ph-block {
  background: #244265;
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-control);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.ph-hero {
  min-height: 380px;
  background: linear-gradient(145deg, #1b3552 0%, #2a4c73 100%);
}

.ph-block .ph-icon {
  font-size: 36px;
  margin-bottom: 12px;
  opacity: 0.85;
}

.ph-block .ph-label {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.ph-block .ph-sub {
  font-size: 13px;
  color: #B2C4D4;
  max-width: 320px;
}

.ph-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f7a26d;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Page body placeholders (Light Grey) */
.sec-overview .ph-block,
.sec-quality .ph-block,
.sec-products .ph-block,
.sec-applications .ph-block {
  background: #E8ECEF;
  border: 1.5px dashed #B8C4CE;
  box-shadow: none;
}

.sec-overview .ph-block .ph-label,
.sec-quality .ph-block .ph-label,
.sec-products .ph-block .ph-label,
.sec-applications .ph-block .ph-label {
  color: var(--navy);
  font-size: 17px;
}

.sec-overview .ph-block .ph-sub,
.sec-quality .ph-block .ph-sub,
.sec-products .ph-block .ph-sub,
.sec-applications .ph-block .ph-sub {
  color: var(--steel);
}

.sec-overview .ph-badge,
.sec-quality .ph-badge,
.sec-products .ph-badge,
.sec-applications .ph-badge {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--steel);
}

.ph-med {
  min-height: 160px;
}

.ph-card {
  min-height: 160px;
  margin-bottom: 18px;
}

.ph-tall {
  min-height: 240px;
}

.ph-app {
  min-height: 140px;
  margin-bottom: 16px;
}

/* TRUST BAR */
.trustbar-section {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.trustbar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
  flex-wrap: wrap;
  justify-content: space-between;
}

.trustbar .ti {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* STAT BAR */
.stat-section {
  padding: 40px 0 0;
}

.statbar {
  background: var(--navy);
  border-radius: var(--radius-control);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(27, 58, 92, 0.12);
}

.stat {
  padding: 30px 18px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.stat .num .unit {
  font-size: 22px;
  margin-left: 2px;
}

.stat .lbl {
  font-size: 12.5px;
  color: #B9C8D6;
  margin-top: 8px;
  letter-spacing: 0.3px;
  line-height: 1.35;
}

/* 2-COLUMN GRID */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.align-start {
  align-items: start;
}

/* FEATURE BULLETS */
.feature-bullets {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.f-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-control);
  border-left: 3px solid var(--orange);
}

.f-num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.workshop-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* CARDS & PRODUCTS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 58, 92, 0.08);
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14.5px;
  color: var(--steel);
  margin-bottom: 18px;
  flex-grow: 1;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-stock {
  background: #E5F4EB;
  color: var(--green);
}

.badge-cert {
  background: #F7EFD8;
  color: var(--gold);
}

.spec-list {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-list .label {
  color: var(--steel);
  font-weight: 500;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.lead-time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--steel);
  font-weight: 600;
}

/* QUALITY SPEC TABLE */
.quality-table-box {
  background: #ffffff;
}

.box-title {
  font-size: 22px;
  margin-bottom: 16px;
}

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  overflow: hidden;
}

table.spec th {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
}

table.spec td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

table.spec tr:nth-child(even) td {
  background: var(--bg-alt);
}

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

table.spec td.pn {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--navy);
  font-size: 13.5px;
}

.highlight-val {
  color: var(--orange);
}

/* WARRANTY CARD */
.warranty-card {
  margin-top: 24px;
  padding: 20px 24px;
  background: #FAF6ED;
  border: 1.5px solid #E8D3A7;
  border-radius: var(--radius-control);
}

.warranty-badge {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #9C7410;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.warranty-title {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 8px;
}

.warranty-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* STAMPS & CERTIFICATES */
.quality-visual-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stamps-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 24px;
}

.stamps-title {
  font-size: 18px;
  margin-bottom: 18px;
}

.stamps {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stamp {
  width: 104px;
  height: 104px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
  padding: 6px;
}

.stamp.gold {
  border-color: var(--gold);
  color: var(--gold);
}

.stamp b {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.stamp span {
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
  opacity: 0.8;
}

/* DO / DON'T COMPARISON */
.dd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dd .col {
  border-radius: var(--radius-control);
  padding: 32px;
}

.dd .do {
  background: #EAF5EE;
  border: 1.5px solid #C8E3D2;
}

.dd .dont {
  background: #FDF1EE;
  border: 1.5px solid #F0CDC5;
}

.dd h4 {
  font-size: 22px;
  margin-bottom: 20px;
}

.dd .do h4 {
  color: var(--green);
}

.dd .dont h4 {
  color: #B4472F;
}

.dd li {
  font-size: 14.5px;
  margin-bottom: 12px;
  list-style: none;
  padding-left: 24px;
  position: relative;
  line-height: 1.55;
  color: var(--text);
}

.dd .do li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}

.dd .dont li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #B4472F;
  font-weight: 700;
  font-size: 16px;
}

/* APPLICATIONS */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.app-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 20px;
  background: #ffffff;
}

.app-item h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.app-item p {
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.5;
}

/* PROCESS STEPS (SOP) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 24px;
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.step-title {
  font-size: 19px;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.5;
}

/* CONTACT & FORM */
.contact-box-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cd-item {
  display: flex;
  flex-direction: column;
  font-size: 14.5px;
  gap: 4px;
}

.cd-item strong {
  color: var(--navy);
  font-size: 14px;
}

.cd-item span {
  color: var(--steel);
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 36px;
  box-shadow: 0 4px 20px rgba(27, 58, 92, 0.07);
}

.form-card h3 {
  font-size: 26px;
  margin-bottom: 6px;
}

.form-card p {
  font-size: 14px;
  color: var(--steel);
  margin-bottom: 24px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.field input,
.field textarea {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
}

.field textarea {
  height: 105px;
  padding: 12px 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: #B9C8D6;
  padding: 64px 0 32px;
  border-top: 3px solid var(--orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  color: #ffffff;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
  margin-bottom: 20px;
  color: #C6D5E2;
}

.footer-cert-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-heading {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.footer-links li {
  color: #C6D5E2;
}

.footer-links li a {
  color: #C6D5E2;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links li a:hover {
  color: var(--orange);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #8CA3B8;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-legal .sep {
  color: rgba(255, 255, 255, 0.25);
}

.footer-contact-item {
  font-size: 13.5px;
  margin-bottom: 10px;
  color: #C6D5E2;
}

.footer-contact-item strong {
  color: #ffffff;
}

.site-footer .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  margin-top: 14px;
}
.site-footer .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #8CA3B8;
  flex-wrap: wrap;
  gap: 12px;
}

/* DEFAULT PAGE / ARTICLE */
.page-default {
  padding: 80px 0 100px;
  background: var(--bg-alt);
  min-height: 50vh;
}

.article-card {
  max-width: 760px;
  margin: 40px auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 64px 48px;
  box-shadow: 0 10px 30px rgba(27, 58, 92, 0.06);
  text-align: center;
}

.entry-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 36px;
}

.entry-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 8px;
}

.entry-content {
  font-size: 20px;
  line-height: 1.8;
  color: var(--steel);
}

.entry-content p {
  margin-bottom: 20px;
}

@media (max-width: 680px) {
  .article-card {
    padding: 36px 24px;
    margin: 20px auto;
  }
  .entry-title {
    font-size: 32px;
  }
}

/* CONTACT PAGE */
.contact-hero {
  background: var(--navy);
  color: #fff;
  padding: 60px 0;
  border-bottom: 3px solid var(--orange);
}

.contact-hero .eyebrow {
  color: var(--orange);
  margin-bottom: 8px;
}

.contact-title {
  color: #ffffff;
  font-size: 40px;
  margin-bottom: 14px;
}

.contact-desc {
  color: #C6D5E2;
  font-size: 17px;
  max-width: 760px;
  line-height: 1.6;
}

.contact-main-section {
  padding: 60px 0 80px;
  background: var(--bg-alt);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: start;
}

.form-card-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 36px 36px 40px;
  box-shadow: 0 4px 20px rgba(27, 58, 92, 0.05);
}

.form-header h2 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-header p {
  color: var(--steel);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.industrial-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.form-group .req {
  color: var(--orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(27, 58, 92, 0.15);
}

.form-submit-row {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-submit {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  gap: 8px;
}

.btn-arrow {
  font-size: 18px;
  transition: transform 0.15s ease;
}

.btn-submit:hover .btn-arrow {
  transform: translateX(4px);
}

.form-note {
  font-size: 12.5px;
  color: var(--steel);
  text-align: center;
}

/* SIDEBAR BOXES */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 28px 24px;
}

.sidebar-heading {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.contact-direct-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-direct-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.c-icon {
  font-size: 20px;
  line-height: 1.2;
}

.c-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

.c-details strong {
  color: var(--navy);
  font-weight: 600;
}

.c-details span,
.c-details a {
  color: var(--steel);
  text-decoration: none;
}

.c-details a:hover {
  color: var(--orange);
}

.assurance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.assurance-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.assurance-list .chk {
  background: #E5F4EB;
  color: var(--green);
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.assurance-list strong {
  display: block;
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 3px;
}

.assurance-list p {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.5;
  margin: 0;
}

/* THANK YOU PAGE */
.thank-you-page {
  padding: 80px 0 100px;
  background: var(--bg-alt);
}

.thank-you-card {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(27, 58, 92, 0.05);
}

.success-icon-badge {
  width: 68px;
  height: 68px;
  background: #E5F4EB;
  color: var(--green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.check-svg {
  width: 36px;
  height: 36px;
}

.thank-you-title {
  font-size: 38px;
  color: var(--navy);
  margin-bottom: 12px;
}

.thank-you-lead {
  font-size: 17px;
  color: var(--steel);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.next-steps-panel {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 28px 24px;
  margin-bottom: 36px;
  text-align: left;
}

.panel-heading {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: 0.5px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 16px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-bottom: 6px;
}

.step-box h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-box p {
  font-size: 12.5px;
  color: var(--steel);
  line-height: 1.5;
  margin: 0;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.urgent-help p {
  font-size: 13.5px;
  color: var(--steel);
}

.urgent-help a {
  color: var(--navy);
  text-decoration: underline;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .thank-you-card {
    padding: 36px 20px;
  }
  .thank-you-actions {
    flex-direction: column;
  }
}

/* SINGLE BOOK */

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 11.5px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-value {
  font-size: 15px;
  color: var(--navy);
}

/* BOOKS ARCHIVE & SUMMARY PAGE */

.books-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.books-pagination a,
.books-pagination span {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-control);
}

.books-pagination .current {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

/* ========================================================
   BOOKS CATALOG & SINGLE STYLES (INDUSTRIAL THEME)
   ======================================================== */

/* BOOKS CONTENT SECTION */

.pill-chip {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.pill-chip:hover {
  background: #ffffff;
  border-color: var(--navy);
  color: var(--orange);
}

.pill-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.chip-count {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 8px;
}

.pill-chip.active .chip-count {
  background: var(--orange);
  color: #ffffff;
}

/* CARDS GRID */

.card-title {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 14px;
}

.card-title a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s ease;
}

.card-title a:hover {
  color: var(--orange);
}

.books-pagination {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.books-pagination a,
.books-pagination span {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-control);
  transition: all 0.15s ease;
}

.books-pagination a:hover {
  border-color: var(--navy);
  color: var(--orange);
}

.books-pagination .current {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

/* ========================================================
   SINGLE BOOK PAGE ENHANCEMENTS
   ======================================================== */
.book-breadcrumbs {
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--steel);
}

.book-breadcrumbs a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}

.book-breadcrumbs a:hover {
  color: var(--orange);
}

.book-breadcrumbs .sep {
  margin: 0 8px;
  color: var(--line);
}

.book-breadcrumbs .current {
  color: var(--steel);
}

.cta-price-banner {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.cp-lbl {
  display: block;
  font-size: 11.5px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.cp-val {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.cta-trust-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--steel);
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chk-icon {
  color: var(--green);
  font-weight: 700;
}

.specs-mark {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  background: #E5F4EB;
  padding: 2px 6px;
  border-radius: 2px;
}

.specs-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
}

.matrix-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.matrix-item-wide {
  grid-column: span 2;
}

.m-k {
  font-size: 11.5px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.m-v {
  font-size: 15px;
  color: var(--navy);
}

@media (max-width: 860px) {
  .specs-matrix {
    grid-template-columns: 1fr;
  }
  .matrix-item-wide {
    grid-column: span 1;
  }
}

/* ========================================================
   HOMEPAGE (front-page.php)
   ======================================================== */

/* LABELLED IMAGE SLOTS -------------------------------------------------
   Each slot shows a placehold.co image carrying its own subject and pixel
   size, plus a caption with the size and the suggested file name. Replace
   the <img src> with the real asset and delete that <figcaption>. */
.img-slot {
  margin: 0;
}

.img-slot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-control);
  background: #EEF2F6;
}

.img-slot figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  color: var(--steel);
}

.img-slot-tag {
  background: rgba(27, 58, 92, 0.08);
  color: var(--navy);
  font-weight: 700;
  border-radius: 3px;
  padding: 2px 6px;
  flex-shrink: 0;
}

.img-slot-file {
  color: var(--orange);
  font-weight: 600;
  word-break: break-all;
}

.img-slot-label {
  flex: 1 1 140px;
}

.img-slot-on-dark figcaption {
  color: #9FB5C9;
}

.img-slot-on-dark .img-slot-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #E4EDF5;
}

/* HERO */
.home-hero {
  background: var(--navy);
  color: #ffffff;
  padding: 76px 0 80px;
}

.home-hero .eyebrow {
  color: #f7a26d;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.home-hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.home-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.home-hero-media {
  position: relative;
}

.home-hero-media .img-slot img {
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.home-hero-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(18, 40, 63, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-control);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
}

.home-ho-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.home-ho-num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.home-ho-num span {
  font-size: 14px;
  margin-left: 1px;
}

.home-ho-lbl {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #B9C8D6;
}

/* THREAD STANDARDS REFERENCE */
.home-standards {
  margin-top: 48px;
}

.home-standards-title {
  font-size: 22px;
  margin-bottom: 16px;
}

.home-standards-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.6;
  max-width: 820px;
}

/* PRODUCT CARDS: full-bleed slot at the top of each card */
.card > .img-slot {
  margin: -24px -24px 18px;
}

.card > .img-slot img {
  border-radius: var(--radius-control) var(--radius-control) 0 0;
  background: #EEF2F6;
}

.card > .img-slot figcaption {
  padding: 0 24px;
}

/* IN-STOCK & CUSTOM CAPABILITY */
.home-capability {
  padding: 84px 0;
}

.home-cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.home-cap-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
}

.home-cap-panel > .img-slot {
  margin: -30px -30px 22px;
}

.home-cap-panel > .img-slot img {
  border-radius: var(--radius-control) var(--radius-control) 0 0;
}

.home-cap-panel > .img-slot figcaption {
  padding: 0 30px;
}

.home-cap-panel-custom {
  border-color: rgba(232, 98, 26, 0.4);
  box-shadow: 0 6px 22px rgba(232, 98, 26, 0.08);
}

.home-cap-head {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.home-cap-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--steel);
  background: var(--bg-alt);
  border-radius: 3px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.home-cap-panel-custom .home-cap-tag {
  color: var(--orange);
  background: rgba(232, 98, 26, 0.1);
}

.home-cap-head h3 {
  font-size: 25px;
  margin: 0;
}

.home-cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex-grow: 1;
}

.home-cap-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}

.home-cap-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
}

.home-cap-panel-custom .home-cap-list li::before {
  color: var(--orange);
}

.home-cap-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.home-cap-note,
.home-logi-note {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-alt);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  padding: 16px 20px;
}

.home-cap-note p,
.home-logi-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.home-cap-note .dot,
.home-logi-note .dot {
  margin-top: 6px;
}

/* QUALITY MEDIA ROW */
.home-quality-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.home-page .stamps {
  margin-top: 28px;
}

/* LOGISTICS */
.home-logistics {
  padding: 84px 0;
}

.home-logi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-logi-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
}

.home-logi-item > .img-slot {
  margin: -22px -22px 18px;
}

.home-logi-item > .img-slot img {
  border-radius: var(--radius-control) var(--radius-control) 0 0;
}

.home-logi-item > .img-slot figcaption {
  padding: 0 22px;
}

.home-logi-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.home-logi-item h3 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.25;
}

.home-logi-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--steel);
  margin: 0;
}

/* MARKETS & TRACK RECORD */
.home-markets {
  background: var(--navy);
  color: #ffffff;
  padding: 76px 0 80px;
  border-top: 3px solid var(--orange);
}

.home-markets .eyebrow {
  color: #f7a26d;
}

.home-markets .h-sec {
  color: #ffffff;
}

.home-markets .sub {
  color: #C6D5E2;
  margin-bottom: 20px;
}

.home-markets-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.chip-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #E4EDF5;
}

.chip-more {
  border-style: dashed;
  border-color: rgba(232, 98, 26, 0.6);
  color: #f7a26d;
}

.home-country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.home-markets-note {
  font-size: 13.5px;
  line-height: 1.6;
  color: #9FB5C9;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  padding-left: 16px;
  margin: 0;
}

.home-markets-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-ms-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-control);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-ms-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.home-ms-unit {
  font-size: 17px;
  margin-left: 2px;
}

.home-ms-lbl {
  font-size: 12.5px;
  color: #B9C8D6;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* CASES */
.home-cases {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.home-cases-title {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 20px;
}

.home-cases-note-inline {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: #9FB5C9;
  letter-spacing: 0;
}

.home-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-case-item .img-slot img {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* INQUIRY CTA */
.home-inquiry {
  padding: 84px 0 92px;
  background: var(--bg-alt);
}

.home-inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.home-inquiry-title {
  font-size: 36px;
  line-height: 1.2;
  margin: 8px 0 16px;
}

.home-inquiry-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--steel);
  margin-bottom: 26px;
  max-width: 620px;
}

.home-inquiry-points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-inquiry-points li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}

.home-inquiry-points li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.home-inquiry-points-tight {
  margin-top: 22px;
  margin-bottom: 0;
}

.home-inquiry-direct {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-inquiry-direct-lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--steel);
}

.home-inquiry-direct a {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  word-break: break-all;
}

.home-inquiry-direct a:hover {
  color: var(--orange);
}

.home-inquiry-form-col .form-card {
  margin: 0;
}

.home-inquiry-form-col .img-slot {
  margin-top: 22px;
}

.field .req {
  color: var(--orange);
}

.home-form-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--steel);
  text-align: center;
  line-height: 1.5;
}

.home-inquiry-fallback .btn {
  margin-bottom: 4px;
}

/* HOMEPAGE RESPONSIVE */
@media (max-width: 1024px) {
  .home-hero-grid,
  .home-cap-grid,
  .home-markets-grid,
  .home-inquiry-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .home-logi-grid,
  .home-quality-media,
  .home-case-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-hero-copy .hero-title {
    font-size: 42px;
  }
}

@media (max-width: 680px) {
  .home-hero,
  .home-markets {
    padding: 52px 0 56px;
  }
  .home-capability,
  .home-logistics,
  .home-inquiry {
    padding: 52px 0 60px;
  }
  .home-hero-copy .hero-title {
    font-size: 32px;
  }
  .home-logi-grid,
  .home-quality-media,
  .home-case-grid {
    grid-template-columns: 1fr;
  }
  .home-hero-overlay {
    position: static;
    margin-top: 16px;
    grid-template-columns: 1fr 1fr;
  }
  .home-cap-panel {
    padding: 24px 20px 22px;
  }
  .home-cap-panel > .img-slot {
    margin: -24px -20px 20px;
  }
  .home-cap-panel > .img-slot figcaption {
    padding: 0 20px;
  }
  .home-inquiry-title {
    font-size: 27px;
  }
  .home-ms-num {
    font-size: 28px;
  }
}

/* ========================================================
   PRODUCT CATALOGUE (/fittings/) + SINGLE PRODUCT
   ======================================================== */

/* CATALOGUE HERO */
.cat-hero {
  background: var(--navy);
  color: #ffffff;
  padding: 70px 0 74px;
}

.cat-hero .eyebrow {
  color: #f7a26d;
}

.cat-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.cat-hero-media .img-slot img {
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

/* FILTERS */
.cat-body {
  padding: 44px 0 80px;
  background: var(--bg-alt);
}

.cat-filters {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 20px 24px 16px;
  margin-bottom: 32px;
  box-shadow: 0 4px 14px rgba(27, 58, 92, 0.04);
}

.cat-filter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cat-filter-row:last-of-type {
  border-bottom: none;
  margin-bottom: 4px;
}

.cat-filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  min-width: 118px;
}

.cat-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.cat-filter-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--steel);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.cat-filter-reset {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}

.cat-filter-reset:hover {
  text-decoration: underline;
}

/* PRODUCT GRID */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cat-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(27, 58, 92, 0.1);
}

.cat-card-media {
  position: relative;
  background: #EEF2F6;
  padding: 22px 22px 18px;
}

.cat-card-media .img-slot figcaption {
  padding: 0;
}

.cat-card-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-control);
  background: #EEF2F6;
}

.cat-stock-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
}

.cat-stock-in {
  background: #E5F4EB;
  color: var(--green);
}

.cat-stock-custom {
  background: #F7EFD8;
  color: var(--gold);
}

.cat-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cat-card-pn {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.cat-card-title {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.cat-card-title a {
  color: var(--navy);
  text-decoration: none;
}

.cat-card-title a:hover {
  color: var(--orange);
}

.cat-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cat-tag {
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 3px;
  background: rgba(27, 58, 92, 0.08);
  color: var(--navy);
}

.cat-tag-type {
  background: rgba(232, 98, 26, 0.1);
  color: var(--orange);
}

.cat-tag-app {
  background: #E5F4EB;
  color: var(--green);
}

.cat-card-specs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-bottom: 18px;
  flex-grow: 1;
}

.cat-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

.cat-spec-row .k {
  color: var(--steel);
}

.cat-spec-row .v {
  color: var(--navy);
  font-weight: 600;
  text-align: right;
}

.cat-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cat-card-quote {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
}

.cat-card-quote:hover {
  text-decoration: underline;
}

.cat-card-preview {
  max-width: 380px;
  margin: 28px auto 0;
  border-style: dashed;
}

.cat-preview-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--steel);
  text-align: center;
  font-family: var(--font-mono);
}

.cat-empty {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 44px 32px 40px;
  text-align: center;
}

.cat-empty h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.cat-empty p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* CATALOGUE CTA */
.cat-cta {
  background: var(--navy);
  color: #ffffff;
  padding: 52px 0 56px;
  border-top: 3px solid var(--orange);
}

.cat-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cat-cta h2 {
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 10px;
}

.cat-cta p {
  color: #C6D5E2;
  font-size: 15px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0;
}

.cat-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cat-cta .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cat-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================================
   SINGLE PRODUCT
   ======================================================== */
.product-page {
  padding: 34px 0 90px;
  background: var(--bg-alt);
}

.product-detail {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(27, 58, 92, 0.05);
}

.product-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 44px;
  align-items: start;
}

.product-main-media img,
.product-main-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-control);
  background: #EEF2F6;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.product-thumbs img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-control);
  background: #EEF2F6;
}

.product-thumbs .img-slot figcaption {
  font-size: 9.5px;
  gap: 4px;
}

.product-title {
  font-size: 34px;
  line-height: 1.25;
  margin: 6px 0 14px;
}

.product-id-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-pn {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.5px;
}

.product-id-row .cat-stock-badge {
  position: static;
}

.product-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.product-spec-box {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.product-spec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.product-spec-head h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0;
}

.product-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 22px;
  margin: 0;
}

.product-spec-grid dt {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--steel);
  margin-bottom: 2px;
}

.product-spec-grid dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.product-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-assurance {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.product-assurance li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--steel);
}

.product-assurance li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.product-specs-section,
.product-related-section {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 40px;
  margin-top: 28px;
}

.product-block-title {
  font-size: 24px;
  margin-bottom: 18px;
}

.product-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--steel);
  line-height: 1.6;
  border-left: 3px solid var(--line);
  padding-left: 14px;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-related-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-related-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.product-related-card .img-slot figcaption {
  display: none;
}

.product-related-pn {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  margin-top: 10px;
}

.product-related-title {
  display: block;
  font-size: 13.5px;
  color: var(--navy);
  line-height: 1.4;
  margin-top: 3px;
}

.product-rfq {
  margin-top: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 40px;
}

.product-rfq-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.product-rfq-copy h2 {
  margin-bottom: 12px;
}

.product-rfq-copy p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--steel);
  margin-bottom: 20px;
}

.product-rfq-form .form-card {
  margin: 0;
}

.product-footer-bar {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cat-hero-grid,
  .product-layout,
  .product-rfq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cat-grid,
  .product-related-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cat-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .cat-hero {
    padding: 50px 0 54px;
  }
  .cat-grid,
  .product-related-grid,
  .product-thumbs {
    grid-template-columns: 1fr;
  }
  .product-thumbs .img-slot figcaption {
    display: none;
  }
  .product-detail,
  .product-specs-section,
  .product-related-section,
  .product-rfq {
    padding: 24px 18px;
  }
  .product-spec-grid {
    grid-template-columns: 1fr;
  }
  .cat-filter-label {
    min-width: auto;
  }
  .cat-filter-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ========================================================
   SHARED LIST-PAGE PARTS (case studies · downloads · blog)
   Used together with the .cat-* catalogue classes above.
   ======================================================== */
.cat-card-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--steel);
  margin: 0 0 16px;
}

.cat-card-date {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  color: var(--steel);
  margin-bottom: 8px;
}

.cat-card-media-portrait {
  position: relative;
  background: #EEF2F6;
  padding: 26px 34px 22px;
}

.cat-card-media-portrait .cat-card-photo,
.cat-card-media-portrait .img-slot img {
  box-shadow: 0 8px 20px rgba(27, 58, 92, 0.14);
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 680px) {
  .case-gallery {
    grid-template-columns: 1fr;
  }
}

/* SEARCH FIELD INSIDE A LIST FILTER ROW */
.cat-filter-row .field {
  margin-bottom: 0;
}

.cat-search-input {
  height: 38px;
  min-width: 280px;
  flex: 1 1 280px;
  max-width: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: #ffffff;
  transition: border-color 0.15s ease;
}

.cat-search-input:focus {
  outline: none;
  border-color: var(--navy);
}

/* A lone card in a grid is a featured strip: span the row and cap the image
   height so the cover reads as a banner instead of a full-height poster. */
.cat-grid > .cat-card:only-child {
  grid-column: 1 / -1;
}

.cat-grid > .cat-card:only-child .cat-card-media {
  padding: 0;
}

.cat-grid > .cat-card:only-child .cat-card-media img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-control) var(--radius-control) 0 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .about-hero-grid,
  .grid-2col,
  .contact-box-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .statbar {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .app-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }
  .hero-title {
    font-size: 34px;
  }
  .h-sec {
    font-size: 28px;
  }
  .statbar {
    grid-template-columns: 1fr 1fr;
  }
  .dd {
    grid-template-columns: 1fr;
  }
  .app-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .workshop-gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================================
   SINGLE ARTICLE (single.php)
   Scoped to .article-single: the legal pages and index.php
   share .article-card / .entry-content, and keep their current look.
   ======================================================== */

/* HEAD BAND */
.article-single .article-head {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 34px 0 42px;
}

.article-single .article-head .book-breadcrumbs {
  margin-bottom: 22px;
}

.article-single .article-kicker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.article-single .article-title {
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.8px;
  color: var(--navy);
  max-width: 960px;
}

.article-single .article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--steel);
}

.article-single .article-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--steel-light);
}

/* BODY AREA */
.article-single .article-body-wrap {
  background: var(--bg-alt);
  padding: 40px 0 64px;
}

.article-single .article-layout-rail {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

/* ON THIS PAGE RAIL */
.article-single .article-toc {
  position: sticky;
  top: 96px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius-control);
  padding: 18px 16px 16px;
}

.article-single .article-toc-title {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}

.article-single .article-toc a {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--steel);
  text-decoration: none;
  padding: 6px 0 6px 10px;
  border-left: 2px solid var(--line);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.article-single .article-toc a:hover {
  color: var(--navy);
  border-left-color: var(--steel-light);
}

.article-single .article-toc a[aria-current="location"] {
  color: var(--orange);
  font-weight: 600;
  border-left-color: var(--orange);
}

/* MAIN COLUMN */
.article-single .article-main {
  min-width: 0;
}

.article-single .article-lead {
  margin-bottom: 30px;
}

.article-single .article-lead .img-slot img,
.article-single .article-lead-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
}

/* The slot caption stays readable for the person swapping in the photo, but
   it should not compete with the article. */
.article-single .article-lead .img-slot figcaption {
  justify-content: flex-end;
  margin-top: 10px;
}

/* THE ARTICLE SHEET */
.article-single .article-body {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 48px 52px 44px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  text-align: left;
}

.article-single .article-body > *:first-child {
  margin-top: 0;
}

.article-single .article-body p {
  margin: 0 0 22px;
}

.article-single .article-body h2 {
  position: relative;
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--navy);
  margin: 46px 0 18px;
  padding-top: 24px;
  scroll-margin-top: 110px;
}

.article-single .article-body h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--orange);
}

.article-single .article-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
}

.article-single .article-body h2:first-child::before {
  display: none;
}

.article-single .article-body h3 {
  font-size: 21px;
  line-height: 1.3;
  color: var(--navy);
  margin: 30px 0 10px;
  scroll-margin-top: 110px;
}

.article-single .article-body strong {
  color: var(--navy);
  font-weight: 600;
}

.article-single .article-body a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-single .article-body a:hover {
  color: var(--orange-hover);
}

.article-single .article-body ul,
.article-single .article-body ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.article-single .article-body li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.article-single .article-body li::marker {
  color: var(--orange);
  font-weight: 700;
}

/* A caveat an author writes on its own in italics reads as a note. */
.article-single .article-body p:has(> em:only-child) {
  background: #FAF6ED;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--steel);
}

.article-single .article-body p:has(> em:only-child) em {
  font-style: normal;
}

.article-single .article-body blockquote {
  margin: 0 0 24px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-left: 3px solid var(--navy);
  color: var(--steel);
  font-size: 16px;
}

.article-single .article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-single .article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-control);
}

.article-single .article-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}

/* COMPARISON TABLE: the part a buyer rereads, so it gets the spec-table
   treatment the catalogue uses -- navy header, zebra rows, part names first. */
.article-single .article-table-scroll {
  margin: 0 0 26px;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
}

.article-single .article-body table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.article-single .article-body th {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  background: var(--navy);
  color: #ffffff;
  padding: 12px 14px;
  vertical-align: bottom;
}

.article-single .article-body td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  line-height: 1.55;
  vertical-align: top;
}

.article-single .article-body tbody tr:nth-child(even) td {
  background: var(--bg-alt);
}

.article-single .article-body tbody tr:last-child td {
  border-bottom: none;
}

.article-single .article-body td:first-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* TAGS */
.article-single .article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-single .article-tags-label {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--steel);
  margin-right: 4px;
}

.article-single .article-tags .cat-tag {
  font-size: 12.5px;
  padding: 5px 11px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--navy);
}

.article-single .article-tags .cat-tag:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* MORE / KEEP READING */
.article-single .article-more {
  background: var(--bg-alt);
  padding: 0 0 76px;
}

.article-single .article-more-title {
  font-size: 27px;
  margin-bottom: 20px;
}

.article-single .article-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-single .article-next-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 22px 22px 20px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.article-single .article-next-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.article-single .article-next-kicker {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--orange);
}

.article-single .article-next-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.article-single .article-next-go {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--steel);
}

.article-single .article-next-card:hover .article-next-go {
  color: var(--orange);
}

/* RESPONSIVE */
@media (max-width: 1040px) {
  .article-single .article-layout-rail {
    display: block;
  }
  .article-single .article-rail {
    display: none;
  }
}

@media (max-width: 900px) {
  .article-single .article-title {
    font-size: 36px;
  }
  .article-single .article-body {
    padding: 34px 30px 32px;
  }
  .article-single .article-next-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .article-single .article-head {
    padding: 24px 0 30px;
  }
  .article-single .article-title {
    font-size: 29px;
    letter-spacing: -0.4px;
  }
  .article-single .article-body-wrap {
    padding: 26px 0 48px;
  }
  .article-single .article-body {
    padding: 26px 20px 24px;
    font-size: 16px;
  }
  .article-single .article-body h2 {
    font-size: 25px;
    margin-top: 34px;
    padding-top: 20px;
  }
  .article-single .article-body h3 {
    font-size: 19px;
  }
  .article-single .article-body table {
    font-size: 13px;
    min-width: 560px;
  }
  .article-single .article-body th,
  .article-single .article-body td {
    padding: 10px 11px;
  }
  .article-single .article-more {
    padding-bottom: 52px;
  }
}
