:root {
  /* Overitdev / integraoptics-bones tokens */
  --ink: #131313;
  --muted: #555;
  --line: #d0d5d8;
  --panel: #f0f0f0;
  --panel-2: #eaedf2;
  --nav: #508db8;
  --nav-dark: #3d5567;
  --nav-bar: #000;
  --accent: #1f705f;       /* tropical-rain-forest CTAs */
  --accent-dark: #165447;
  --cat: #464646;
  --cat-active: #292929;
  --white: #fff;
  --max: 1180px;
  --font: "Maitree", "Segoe UI", serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.45;
  font-family: var(--font);
}
a { color: var(--nav-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
main { min-height: 60vh; }
h1, h2, h3, .logo-name, .brand-mark, .main-nav {
  font-family: var(--display);
}

/* —— Header —— */
.site-header {
  background: var(--white);
}
.top-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1rem 1rem;
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(240px, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 240px;
}
.header-search {
  display: flex;
  gap: 0;
  min-width: 0;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}
.header-search input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid #b8b8b8;
  border-right: 0;
  font: inherit;
  font-size: 0.95rem;
}
.header-search input:focus {
  outline: 2px solid var(--nav);
  outline-offset: -1px;
}
.button-search-go {
  width: 48px;
  flex-shrink: 0;
  border: 0;
  cursor: pointer;
  background: #1a1a1a;
  display: grid;
  place-items: center;
  padding: 0;
}
.button-search-go:hover { background: #000; }
.search-go-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  position: relative;
}
.search-go-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: translate(-40%, -50%) rotate(45deg);
}
.btn {
  border: 0;
  cursor: pointer;
  padding: 0.55rem 1rem;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.btn-primary, .header-search button:not(.button-search-go) {
  background: var(--nav);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--nav-dark);
  text-decoration: none;
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: var(--accent-dark); text-decoration: none; }
.btn-shop {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--white);
  padding: 0.45rem 0.95rem;
  font-size: 1.05rem;
  line-height: 1.1;
}
.btn-shop:hover {
  background: #040707;
  text-decoration: none;
}
.btn-arrow {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
  flex-shrink: 0;
}
.btn-arrow::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: -1px;
}
.btn-secondary {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--panel-2); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.85);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.btn-disabled { background: #bbb; color: #fff; pointer-events: none; }
.top-contact {
  text-align: right;
  display: grid;
  gap: 0.2rem;
  white-space: nowrap;
}
.top-contact-link {
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.top-contact-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}
.top-contact-phone:hover { text-decoration: underline; }

.nav-bar {
  background: var(--nav-bar);
  border-top: 0;
}
.main-nav {
  display: flex;
  gap: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 0.75rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.main-nav > a,
.main-nav .nav-trigger {
  background: var(--nav);
  color: var(--white);
  padding: 0.7rem 1.05rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.85);
  margin-right: 2px;
  line-height: 1.1;
  font-family: var(--display);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.main-nav > a:hover,
.main-nav .nav-item:hover > .nav-trigger,
.main-nav .nav-item.is-open > .nav-trigger,
.main-nav .nav-trigger:hover {
  background: var(--white);
  color: #040707;
  text-decoration: none;
}
.nav-caret { display: none; }
.nav-item { position: relative; }
.nav-item.is-open > .mega {
  display: block;
}
.nav-item.is-open > .mega.mega-rich {
  display: grid;
}
.mega {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  z-index: 40;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 32px rgba(0,0,0,.14);
}
.nav-item:hover > .mega {
  display: block;
}
.nav-item:hover > .mega.mega-rich {
  display: grid;
}
.nav-item:hover > .mega::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 1.4rem;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--white);
  filter: drop-shadow(0 -1px 0 var(--line));
}
.mega-products { min-width: 560px; }
.mega-primary { list-style: none; margin: 0; padding: 0; columns: 2; gap: 1.75rem; }
.mega-primary > li { break-inside: avoid; margin-bottom: 0.85rem; }
.mega-primary > li > a {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}
.mega-sub { list-style: none; margin: 0.35rem 0 0; padding: 0 0 0 0.15rem; }
.mega-sub a { color: var(--muted); font-size: 0.9rem; font-family: var(--font); }

.mega-rich {
  grid-template-columns: minmax(180px, 220px) minmax(200px, 240px) minmax(200px, 240px);
  gap: 1.25rem;
  align-items: start;
  min-width: min(820px, 92vw);
  padding: 1.15rem 1.25rem 1.25rem;
}
.mega-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega-links li {
  border-bottom: 1px solid var(--line);
}
.mega-links a {
  display: block;
  padding: 0.7rem 0.15rem;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.mega-links a:hover { color: var(--nav); }
.mega-feature-title {
  margin: 0 0 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #4a4a4a;
}
.mega-feature-card {
  display: grid;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
}
.mega-feature-card:hover { text-decoration: none; }
.mega-feature-image {
  display: block;
  aspect-ratio: 300 / 188;
  overflow: hidden;
  background: var(--panel);
}
.mega-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mega-feature-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}
.mega-feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  background: var(--nav);
  color: var(--white);
  padding: 0.45rem 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.mega-feature-card:hover .mega-feature-btn { background: var(--nav-dark); }

/* —— PLP —— */
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  background: #2a2a2a;
  max-width: none;
  justify-content: center;
}
.cat-btn {
  background: var(--cat);
  color: var(--white);
  padding: 0.55rem 0.85rem;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.cat-btn.active, .cat-btn:hover {
  background: var(--cat-active);
  text-decoration: none;
  box-shadow: inset 0 -3px 0 var(--accent);
}

.plp-layout {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  padding: 1.25rem 1rem 0;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.plp-filters {
  background: var(--panel);
  padding: 0.85rem;
  border: 1px solid var(--line);
  position: sticky;
  top: 0.75rem;
}
.facet { border-bottom: 1px solid var(--line); margin-bottom: 0.35rem; }
.facet summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.5rem;
  background: #111;
  color: var(--white);
  list-style: none;
}
.facet summary::-webkit-details-marker { display: none; }
.facet-options {
  max-height: 180px;
  overflow: auto;
  padding: 0.55rem 0.4rem;
  background: var(--white);
}
.facet-options label {
  display: flex;
  gap: 0.45rem;
  font-size: 0.88rem;
  margin: 0.25rem 0;
  align-items: flex-start;
}
.filter-search { display: grid; gap: 0.25rem; margin-bottom: 0.85rem; font-size: 0.85rem; font-weight: 600; }
.filter-search input, .stack-form input, .stack-form textarea, .stack-form select {
  width: 100%;
  padding: 0.55rem;
  border: 1px solid var(--line);
  font: inherit;
}
.filter-actions { display: grid; gap: 0.5rem; margin-top: 0.85rem; }
.filter-actions .btn { width: 100%; }
.plp-heading h1 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 0 0 0.35rem;
  font-weight: 800;
}
.result-meta { color: var(--muted); margin: 0; }
.result-help { margin: 0.2rem 0 1.1rem; color: var(--muted); font-size: 0.95rem; }
.product-list { list-style: none; margin: 0; padding: 0; }
.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.05rem;
  margin-bottom: 0.5rem;
  background: var(--panel);
  border-left: 4px solid var(--nav);
  color: inherit;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.product-row:hover {
  background: var(--panel-2);
  border-left-color: var(--accent);
  text-decoration: none;
}
.product-title { display: block; font-size: 1.02rem; line-height: 1.3; }
.sku {
  font-size: 0.88rem;
  color: var(--nav-dark);
  margin-top: 0.3rem;
  font-weight: 600;
}
.desc { font-size: 0.9rem; margin-top: 0.3rem; color: var(--muted); }
.chevron {
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--nav);
}
.pagination { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 1.25rem 0 2rem; }
.pagination a {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  font-weight: 600;
}
.pagination a.active { background: var(--nav); color: #fff; border-color: var(--nav); }

/* —— PDP —— */
.pdp, .content-page, .form-page, .plp-results.full, .news-list, .news-article, .resource-article, .calc-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem 1rem 2.75rem;
}
.breadcrumb { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.breadcrumb span { margin: 0 0.25rem; }
.pdp-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nav);
}
.pdp-header h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}
.pdp-sku { font-size: 1.05rem; margin: 0 0 1.25rem; }
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.75rem;
  align-items: start;
}
.pdp-body h2 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--panel-2);
}
.pdp-body h2:first-child { margin-top: 0; }
.pdp-attrs {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
}
.pdp-attrs div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
.pdp-attrs div:nth-child(odd) { background: var(--panel); }
.pdp-attrs div:last-child { border-bottom: 0; }
.pdp-attrs dt { font-weight: 700; margin: 0; }
.pdp-attrs dd { margin: 0; }
.pdp-aside {
  position: sticky;
  top: 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1rem;
}
.pdp-actions { display: grid; gap: 0.65rem; }
.pdp-actions .btn { width: 100%; }

/* —— Home —— */
.hero-live {
  min-height: clamp(320px, 52vw, 520px);
  background:
    linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.18)),
    var(--hero-image) center / cover no-repeat;
  display: grid;
  place-items: center;
  padding: 3.5rem 1rem 4.25rem;
}
.hero-panel {
  width: min(720px, 92%);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #fff;
  text-align: center;
  padding: 2.25rem 1.75rem 2.75rem;
  position: relative;
  color: var(--ink);
}
.hero-panel h1 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: none;
  max-width: none;
}
.hero-panel .lede {
  margin: 0 auto 1.35rem;
  max-width: 38rem;
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.35;
  font-weight: 500;
  opacity: 1;
  color: #131313;
}
.hero-panel .btn-shop {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  white-space: nowrap;
}

.home-product-lines-live {
  background: var(--white);
  border-bottom: 0;
  padding: 2rem 0 1.5rem;
}
.home-product-lines-live .home-product-lines-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}
.product-line-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  align-items: end;
}
.product-line-icon {
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
  gap: 0.35rem;
}
.product-line-icon:hover {
  box-shadow: none;
  border: 0;
  color: rgba(0,0,0,.7);
}
.product-line-icon img {
  width: auto;
  max-width: 140px;
  height: 110px;
  margin: 0 auto;
  object-fit: contain;
  aspect-ratio: auto;
  background: transparent;
}
.product-line-icon span {
  background: transparent;
  padding: 0.35rem 0.25rem 0;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 600;
}

.home-resources {
  position: relative;
  background: #040707;
}
.home-resources-tab {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: #040707;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}
.home-resources-tab span {
  display: inline-block;
  margin-top: -2px;
  padding: 2px 2.25rem 0.55rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  background: url("/images/tab.svg") center / 100% 100% no-repeat;
  line-height: 1;
}
.resource-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.resource-tile {
  position: relative;
  min-height: clamp(180px, 28vw, 280px);
  background-color: #111;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem 1.15rem;
  isolation: isolate;
}
.resource-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(0,0,0,.72));
  z-index: -1;
}
.resource-tile:hover { text-decoration: none; color: #fff; }
.resource-tile:hover::before { background: linear-gradient(transparent 20%, rgba(0,0,0,.82)); }
.resource-tile-label {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.home-bottom-links {
  background: #fff;
  padding: 2.75rem 1rem 3.25rem;
}
.home-bottom-links-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.15fr;
  gap: 0;
}
.bottom-col {
  text-align: center;
  padding: 0.5rem 1.5rem 1.5rem;
  border-right: 1px solid #d5d5d5;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.75rem;
  position: relative;
  padding-bottom: 3.25rem;
}
.bottom-col:last-child { border-right: 0; }
.bottom-col h2 {
  margin: 0.35rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #3a3a3a;
}
.bottom-col p {
  margin: 0;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 28ch;
}
.bottom-col .btn-shop {
  position: absolute;
  bottom: 0.35rem;
  left: 50%;
  transform: translateX(-50%);
}
.catalog-thumb img {
  width: 120px;
  height: auto;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* legacy home helpers kept for other pages */
.home-cats { display: none; }

.stack-form { display: grid; gap: 0.75rem; max-width: 560px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.validation { color: #a11; }
.success { background: #e8f5e9; padding: 0.85rem 1rem; border-left: 4px solid #2e7d32; }

.file-upload { display: grid; gap: 0.35rem; }
.file-upload-label { font-weight: 600; }
.file-drop {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  padding: 1.25rem 1rem;
  border: 2px dashed #8a9aab;
  background: #f7f9fb;
  cursor: pointer;
  text-align: center;
}
.file-drop input[type="file"] {
  width: 100%;
  max-width: 100%;
}
.file-browse {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: #fff;
  border: 1px solid #222;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.file-hint { margin: 0; font-size: 0.9rem; color: #555; }

/* —— Footer —— */
.site-footer {
  border-top: 0;
  background: #121212;
  color: #cfcfcf;
  padding: 2rem 1rem 1.5rem;
}
.footer-inner-live {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.footer-brand .footer-logo {
  display: inline-block;
}
.footer-brand .footer-logo img {
  display: block;
  height: 48px;
  width: auto;
}
.footer-contact {
  text-align: center;
  color: #86bada;
  font-size: 0.95rem;
  line-height: 1.45;
}
.footer-contact p { margin: 0 0 0.35rem; }
.footer-contact a { color: #86bada; }
.footer-social {
  display: grid;
  gap: 0.55rem;
  justify-items: end;
}
.social-icons {
  display: flex;
  gap: 0.45rem;
}
.social-icons a {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.social-icons a:hover { opacity: 0.85; text-decoration: none; }
.footer-catalog {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #86bada;
  font-size: 0.95rem;
}
.footer-catalog-icon {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 1.5px solid #86bada;
  display: inline-grid;
  place-items: center;
  position: relative;
}
.footer-catalog-icon::after {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-right: 1.5px solid #86bada;
  border-top: 1.5px solid #86bada;
  transform: rotate(45deg);
}
.footer-terms {
  max-width: var(--max);
  margin: 1.25rem auto 0;
  padding-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  font-size: 0.9rem;
}
.footer-terms a { color: #86bada; }


/* —— News —— */
.news-archive { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.news-archive li { border-bottom: 1px solid var(--line); }
.news-card {
  display: block;
  padding: 1.1rem 0;
  color: inherit;
  text-decoration: none;
}
.news-card:hover { text-decoration: none; }
.news-card:hover h2 { color: var(--nav-dark); }
.news-card time,
.news-header time {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.news-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--ink);
}
.news-card p { margin: 0; color: var(--muted); }
.news-header { margin-bottom: 1.25rem; }
.news-header h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.news-body { font-size: 1.05rem; line-height: 1.6; max-width: 70ch; }
.news-body img { max-width: 100%; height: auto; }
.news-body figure { margin: 1.25rem 0; }
.news-body p { margin: 0 0 1rem; }

.resource-links { line-height: 1.8; }
.resource-body { font-size: 1.05rem; line-height: 1.55; max-width: 70ch; }
.resource-body > a:first-child {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.term-list { margin: 1.25rem 0 0; padding: 0; }
.term-list dt {
  font-weight: 700;
  margin-top: 0.85rem;
  color: var(--ink);
}
.term-list dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

/* Marketing landings (WP ie-lp markup) */
.landing-page { max-width: none; margin: 0; padding: 0; }
.landing-body { line-height: 1.5; }
.landing-body img { max-width: 100%; height: auto; }
.ie-lp-bento__container,
.ie-lp-hero__container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .ie-lp-bento__container { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
}
.ie-lp-bento-left,
.ie-lp-bento-right,
.ie-lp-hero {
  background-color: #1b3a4f;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 2rem 1.5rem;
  min-height: 220px;
}
.ie-lp-bento-left__content h1,
.ie-lp-hero h1 { margin-top: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.ie-lp-button,
a.ie-lp-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 1.1rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
.ie-lp-gray-section { background: #f2f4f6; }
.landing-body .row,
.landing-body .columns,
.landing-body .column { max-width: var(--max); margin-left: auto; margin-right: auto; padding: 1rem; }

.muted { color: var(--muted); }
.tool-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
}
.tool-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1rem;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  border-left: 4px solid var(--nav);
}
.tool-card:hover { background: var(--panel-2); text-decoration: none; }
.tool-card span { color: var(--muted); font-size: 0.92rem; }

.calc-form {
  display: grid;
  gap: 1rem;
  max-width: 640px;
  margin: 1.25rem 0;
}
.calc-form fieldset {
  border: 1px solid var(--line);
  padding: 0.85rem 1rem 1rem;
  display: grid;
  gap: 0.75rem;
}
.calc-form legend { font-weight: 700; padding: 0 0.35rem; }
.calc-form label { display: grid; gap: 0.3rem; font-size: 0.95rem; }
.calc-form input {
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line);
  max-width: 220px;
  font: inherit;
}
.calc-results { margin-top: 1.75rem; }
.calc-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.calc-col { background: var(--panel); padding: 1rem 1.1rem; }
.calc-col h2 { margin-top: 0; font-size: 1.15rem; }
.calc-col dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.75rem;
  margin: 0;
}
.calc-col dt { color: var(--muted); }
.calc-col dd { margin: 0; font-weight: 600; text-align: right; }
.calc-emphasis { color: var(--nav-dark); font-size: 1.05rem; }
.calc-savings {
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  font-size: 1.1rem;
}
.calc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* Live-style Cost of Failure board */
.cof-board {
  margin: 1.5rem 0 0.5rem;
  color: #fff;
}
.cof-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #3a4654;
}
.cof-col {
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.cof-col:last-child { border-right: 0; }
.cof-col-title {
  margin: 0;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}
.cof-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}
.cof-row > span:first-child { padding-right: 0.5rem; }
.cof-row strong,
.cof-row input {
  justify-self: end;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.cof-row input {
  width: 7.5rem;
  padding: 0.28rem 0.4rem;
  border: 0;
  background: #eef1f4;
  color: #111;
  font: inherit;
}
.cof-input-suffix {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  justify-self: end;
}
.cof-input-suffix input { width: 6.25rem; }
.cof-row-emphasis strong { font-size: 1.02rem; }
.cof-savings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  background: #c62828;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}
.cof-savings strong {
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}

@media print {
  .site-header, .site-footer, .calc-actions, .breadcrumb { display: none !important; }
}

@media (max-width: 800px) {
  .cof-columns { grid-template-columns: 1fr; }
  .cof-col { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
}

@media (max-width: 960px) {
  .footer-inner-live { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-social { justify-items: center; }
  .product-line-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .resource-tiles { grid-template-columns: 1fr; }
  .home-bottom-links-inner { grid-template-columns: 1fr; }
  .bottom-col { border-right: 0; border-bottom: 1px solid #d5d5d5; padding-bottom: 3.5rem; margin-bottom: 1rem; }
  .bottom-col:last-child { border-bottom: 0; }
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-aside { position: static; }
}
@media (max-width: 860px) {
  .top-bar { grid-template-columns: 1fr; }
  .top-contact { text-align: left; }
  .header-search { max-width: none; }
  .plp-layout { grid-template-columns: 1fr; }
  .plp-filters { position: static; }
  .product-line-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .mega { min-width: 280px; left: 0; right: auto; }
  .mega-products { min-width: 280px; }
  .mega-rich {
    grid-template-columns: 1fr;
    min-width: min(340px, 92vw);
    max-height: 70vh;
    overflow: auto;
  }
  .mega-primary { columns: 1; }
}
