/* 3D Laboratories site theme.
   Loaded after the vendor Bootstrap theme on every page. Part A maps the
   vendor theme onto the design tokens so existing pages (store, blog,
   support, account) render in the same system: light content bands under a
   white header, dark bands (.t-dark) for heroes, page heads, product
   captures and the footer, faded imagery between them. Part B is the shared
   navigation and footer; part C the component set used by the marketing
   pages (.m-*); part D the band and imagery system; part E the technical
   detailing (chamfers, corner brackets, index labels, measurement ticks).
   Colors come only from tokens.css. */

/* =========================================================================
   A. Base and vendor-theme mapping
   ========================================================================= */

:root {
  --bs-primary: var(--c-accent);
  --bs-primary-rgb: 39, 87, 196;
  --bs-accent: var(--c-accent);
  --bs-accent-rgb: 39, 87, 196;
  --bs-secondary: var(--c-bg-2);
  --bs-secondary-rgb: 241, 243, 246;
  --bs-dark: var(--c-bg-1);
  --bs-dark-rgb: 255, 255, 255;
  --bs-light: var(--c-bg-1);
  --bs-light-rgb: 255, 255, 255;
  --bs-success: var(--c-success);
  --bs-info: var(--c-accent);
  --bs-warning: var(--c-warning);
  --bs-danger: var(--c-danger);
  --bs-body-bg: var(--c-bg-0);
  --bs-body-color: var(--c-text-2);
  --bs-body-rgb: 58, 68, 84;
  --bs-body-font-family: var(--font-sans);
  --bs-font-sans-serif: var(--font-sans);
  --bs-font-monospace: var(--font-mono);
  --bs-border-color: var(--c-line);
  --bs-link-color: var(--c-accent);
  --bs-link-hover-color: var(--c-accent-hover);
  --bs-heading-color: var(--c-text);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--c-bg-0);
  color: var(--c-text-2);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  /* clip, not hidden: an overflow-x: hidden body becomes the scroll container
     for position: sticky and the header would scroll away with the page */
  overflow-x: clip;
  /* the vendor theme makes body a fixed-height flex column, which limits the
     sticky header to the first viewport; a block body of natural height lets
     the header (and the features sub-nav) stick for the whole page */
  display: block;
  height: auto;
  min-height: 100vh;
}
html { overflow-x: clip; height: auto; }
::selection {
  background: var(--c-accent);
  color: var(--c-accent-ink);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--c-text);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: var(--lh-head);
}
h1, .h1 { font-size: var(--fs-3xl); letter-spacing: -0.025em; }
h2, .h2 { font-size: var(--fs-2xl); }
h3, .h3 { font-size: var(--fs-xl); }
h4, .h4 { font-size: var(--fs-lg); }
a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-hover); }
hr, .hr-light { border-color: var(--c-line) !important; opacity: 1; }
img, svg { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
code, kbd, pre { font-family: var(--font-mono); color: var(--c-text); }

/* Text utilities */
.text-muted, .text-body { color: var(--c-muted) !important; }
.text-dark, .text-black { color: var(--c-text) !important; }
.text-light, .text-white { color: var(--c-text) !important; }
.text-primary, .text-accent, .text-info { color: var(--c-accent) !important; }
.text-success { color: var(--c-success) !important; }
.text-danger { color: var(--c-danger) !important; }
.text-warning { color: var(--c-warning) !important; }
.opacity-50, .opacity-60, .opacity-70 { opacity: 0.75 !important; }
.nav-link, .navbar-light .navbar-nav .nav-link { color: var(--c-text-2); }

/* Background utilities */
.bg-white, .bg-light, .bg-secondary, .bg-faded-light { background-color: var(--c-bg-1) !important; }
.bg-dark, .bg-darker, .bg-faded-dark { background-color: var(--c-bg-1) !important; }
.bg-primary { background-color: var(--c-accent) !important; color: var(--c-accent-ink); }
.bg-accent, .bg-info { background-color: var(--c-accent) !important; }
.bg-success { background-color: var(--c-success) !important; }
.bg-danger { background-color: var(--c-danger) !important; }
.bg-warning { background-color: var(--c-warning) !important; }
.border, .border-top, .border-bottom, .border-start, .border-end,
.border-light, .border-dark { border-color: var(--c-line) !important; }
.shadow, .shadow-sm, .shadow-lg { box-shadow: var(--shadow-1) !important; }
.box-shadow, .box-shadow-sm, .box-shadow-lg { box-shadow: var(--shadow-1) !important; }

/* Page header used by the store, cart, checkout and account pages.
   A compact light band under the white nav: title, mono breadcrumb, a short
   chamfered accent rule and a faint technical grid. The sidebar card and the
   toolbar follow in normal flow (no overlap). */
.page-title-overlap, .page-title-overlap.bg-dark {
  position: relative;
  isolation: isolate;
  background: var(--c-bg-0) !important;
  border-bottom: 1px solid var(--c-line);
  padding: var(--s-6) 0 var(--s-5) !important;
  overflow: hidden;
}
.page-title-overlap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--c-line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--c-line-strong) 1px, transparent 1px),
    linear-gradient(135deg, transparent 49.5%, var(--c-line-strong) 49.5%, var(--c-line-strong) 50.5%, transparent 50.5%);
  background-size: 24px 24px, 24px 24px, 240px 240px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 62%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 62%);
  pointer-events: none;
}
.page-title-overlap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  z-index: 0;
  background:
    repeating-linear-gradient(90deg, var(--c-line-strong) 0 1px, transparent 1px 120px) 0 0 / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px 24px) 0 0 / 100% 5px no-repeat;
  pointer-events: none;
}
.page-title-overlap > * { position: relative; z-index: 1; }
.page-title-overlap > .container { padding-top: 0 !important; padding-bottom: 0 !important; }
.page-title-overlap h1, .page-title-overlap .h1, .page-title-overlap .h3 {
  position: relative;
  color: var(--c-text) !important;
  font-size: var(--fs-3xl);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: var(--lh-tight);
  padding-top: var(--s-4);
}
.page-title-overlap h1::before, .page-title-overlap .h3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--c-navy);
  clip-path: polygon(0 0, calc(100% - 3px) 0, 100% 100%, 0 100%);
}
.page-title-overlap .text-center h1::before, .page-title-overlap .text-center .h3::before { left: 50%; transform: translateX(-50%); }
@media (min-width: 992px) { .page-title-overlap .text-lg-start h1::before, .page-title-overlap .text-lg-start .h3::before { left: 0; transform: none; } }
.page-title-overlap .breadcrumb { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; margin: 0; }
.page-title-overlap .breadcrumb-item, .page-title-overlap .breadcrumb-item a, .page-title-overlap .breadcrumb-item::before { color: var(--c-muted) !important; }
.page-title-overlap .breadcrumb-item.active { color: var(--c-text-2) !important; }
.page-title-overlap .breadcrumb-item a:hover { color: var(--c-accent) !important; }
.page-title-overlap .breadcrumb .ci-home { margin-right: 4px; }
.page-title-overlap .star-rating, .page-title-overlap .text-light, .page-title-overlap .text-muted { color: var(--c-muted) !important; }
.page-title-overlap .nav-tabs { border-bottom: 0; margin-top: var(--s-4); }
.page-title-overlap .nav-tabs .nav-link { color: var(--c-muted) !important; font-weight: 500; }
.page-title-overlap .nav-tabs .nav-link.active, .page-title-overlap .nav-tabs .nav-link:hover { color: var(--c-text) !important; border-bottom-color: var(--c-navy) !important; }
.page-title-overlap + * { margin-top: var(--s-6); position: relative; z-index: 2; }
@media (min-width: 992px) { .page-title-overlap + * { margin-top: var(--s-7); } }
.breadcrumb { font-size: var(--fs-sm); }
.breadcrumb-item, .breadcrumb-item a, .breadcrumb-light .breadcrumb-item > a,
.breadcrumb-light .breadcrumb-item.active, .breadcrumb-light .breadcrumb-item::before {
  color: var(--c-muted) !important;
}
.breadcrumb-item a:hover, .breadcrumb-light .breadcrumb-item > a:hover { color: var(--c-accent) !important; }

/* Buttons */
.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  border-radius: var(--r-m);
  padding: 0.7rem 1.25rem;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease), box-shadow 120ms var(--ease);
}
.btn-sm { padding: 0.45rem 0.9rem; font-size: var(--fs-xs); border-radius: var(--r-s); }
.btn-lg { padding: 0.9rem 1.6rem; font-size: var(--fs-md); }
.btn-primary, .btn-accent, .btn-info, .btn-secondary.action-button {
  background: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
  color: var(--c-accent-ink) !important;
  box-shadow: none !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-accent:hover, .btn-info:hover {
  background: var(--c-accent-hover) !important;
  border-color: var(--c-accent-hover) !important;
  color: var(--c-accent-ink) !important;
}
.btn-secondary, .btn-light, .btn-outline-secondary, .btn-outline-primary,
.btn-outline-accent, .btn-outline-dark, .btn-outline-light, .btn-dark, .btn-outline-info {
  background: transparent !important;
  border: 1px solid var(--c-line-strong) !important;
  color: var(--c-text) !important;
  box-shadow: none !important;
}
.btn-secondary:hover, .btn-light:hover, .btn-outline-secondary:hover, .btn-outline-primary:hover,
.btn-outline-accent:hover, .btn-outline-dark:hover, .btn-outline-light:hover, .btn-dark:hover, .btn-outline-info:hover {
  background: var(--c-bg-3) !important;
  border-color: var(--c-accent) !important;
  color: var(--c-text) !important;
}
.btn-outline-danger, .btn-danger { border-color: var(--c-danger) !important; }
.btn-danger { background: var(--c-danger) !important; color: #fff !important; }
.btn-link { color: var(--c-accent) !important; font-weight: 500; }
.btn-icon { padding: 0.55rem; }
.btn-scroll-top { background: var(--c-bg-3); color: var(--c-text); border: 1px solid var(--c-line-strong); }
.btn-scroll-top:hover { background: var(--c-accent); color: var(--c-accent-ink); }
.btn-scroll-top-tooltip { display: none; }
.btn-social, .btn-social.bs-light {
  background: var(--c-bg-3) !important;
  color: var(--c-text) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--r-m);
}
.btn-social:hover { background: var(--c-accent) !important; color: var(--c-accent-ink) !important; }

/* Cards, panels, widgets */
.card, .product-card, .widget-cart, .modal-content, .dropdown-menu, .offcanvas,
.toast, .popover, .accordion-item, .list-group-item, .card-header, .card-footer,
.bg-white.rounded-3, .bg-light.rounded-3 {
  background: var(--c-bg-1);
  border-color: var(--c-line);
  color: var(--c-text-2);
}
.card { border: 1px solid var(--c-line); border-radius: var(--r-l); box-shadow: none; }
.card-header, .card-footer { background: var(--c-bg-2) !important; border-color: var(--c-line) !important; }
.card-title, .product-title, .product-title > a, .widget-product-title > a, .widget-title,
.product-card .product-title > a { color: var(--c-text); }
.product-card { border-radius: var(--r-l); transition: border-color 120ms var(--ease), box-shadow 200ms var(--ease); }
.product-card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-2); }
.product-card .card-body, .product-card .card-body-hidden, .product-card .product-card-actions .btn-action,
.product-card .btn-wishlist, .btn-wishlist { background-color: var(--c-bg-1) !important; color: var(--c-text-2); }
.product-card .card-body-hidden { box-shadow: var(--shadow-2); border: 1px solid var(--c-line-strong); border-top: 0; }
.product-card:hover:not(.card-static) { border-color: var(--c-line-strong) !important; box-shadow: var(--shadow-2); }
.product-card .card-img-top, .product-gallery-preview, .product-gallery-thumblist-item { background: var(--c-bg-1); border-radius: var(--r-m) var(--r-m) 0 0; }
.product-gallery-thumblist-item { border-color: var(--c-line) !important; border-radius: var(--r-s); }
.product-gallery-thumblist-item.active { border-color: var(--c-accent) !important; }
.btn-wishlist:hover { color: var(--c-accent); }
.product-meta, .product-meta > a { color: var(--c-muted) !important; }
.product-price, .product-price > .text-accent, .text-accent.fs-base { color: var(--c-accent) !important; }
.widget-list-link, .widget-light .widget-list-link { color: var(--c-text-2) !important; }
.widget-list-link:hover { color: var(--c-accent) !important; }
.widget-list-item { border-color: var(--c-line); }
.widget-cart-item { border-color: var(--c-line) !important; }
.bg-secondary.rounded-3, .bg-secondary.rounded, .bg-secondary.py-3 { border: 1px solid var(--c-line); }
.star-rating .star-rating-icon.active { color: var(--c-warning); }
.star-rating .star-rating-icon { color: var(--c-faint); }
.badge { font-weight: 600; letter-spacing: 0.02em; border-radius: var(--r-s); }
.badge.bg-secondary, .badge.bg-light { background: var(--c-bg-3) !important; color: var(--c-text) !important; }
.badge.bg-info, .badge.bg-primary, .badge.bg-accent { background: var(--c-accent) !important; color: var(--c-accent-ink) !important; }
.alert { border-radius: var(--r-m); border: 1px solid var(--c-line); background: var(--c-bg-2); color: var(--c-text); }
.alert-success { border-color: var(--c-success); }
.alert-danger, .alert-warning { border-color: var(--c-danger); }
.alert-info, .alert-primary { border-color: var(--c-accent); }
.alert a { color: var(--c-accent); }
.dropdown-menu { box-shadow: var(--shadow-2); border: 1px solid var(--c-line-strong); border-radius: var(--r-m); }
.dropdown-item { color: var(--c-text-2); }
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active { background: var(--c-bg-3); color: var(--c-text); }
.dropdown-divider { border-color: var(--c-line); }
.modal-header, .modal-footer { border-color: var(--c-line); }
.btn-close { opacity: 0.6; }
.t-dark .btn-close, .sf .btn-close { filter: invert(1) grayscale(1); }
.accordion-button { background: var(--c-bg-2); color: var(--c-text); }
.accordion-button:not(.collapsed) { background: var(--c-bg-3); color: var(--c-text); box-shadow: none; }
.t-dark .accordion-button::after { filter: invert(1); }
.list-group-item.active { background: var(--c-accent-soft); border-color: var(--c-accent-line); color: var(--c-text); }
.pagination .page-link { background: transparent; border-color: var(--c-line); color: var(--c-text-2); }
.pagination .page-item.active .page-link, .pagination .page-link:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.nav-tabs { border-color: var(--c-line); }
.nav-tabs .nav-link { color: var(--c-muted); border: 0; border-bottom: 2px solid transparent; }
.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover { color: var(--c-text); background: transparent; border-bottom-color: var(--c-accent); }
.nav-pills .nav-link.active { background: var(--c-accent); color: var(--c-accent-ink); }
.nav-link:hover, .nav-link:focus { color: var(--c-accent); }
.progress { background: var(--c-bg-3); }
.tooltip-inner { background: var(--c-bg-3); color: var(--c-text); }
.simplebar-scrollbar::before { background: var(--c-line-strong); }
.lg-backdrop { background: rgba(0, 0, 0, 0.85); }

/* Tables */
.table { color: var(--c-text-2); border-color: var(--c-line); --bs-table-bg: transparent; --bs-table-color: var(--c-text-2); }
.table > :not(caption) > * > * { background: transparent; color: inherit; border-bottom-color: var(--c-line); box-shadow: none; }
.table thead th, .table > thead { color: var(--c-muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; border-bottom: 1px solid var(--c-line-strong); }
.table-striped > tbody > tr:nth-of-type(odd) > * { background: var(--c-bg-1); color: inherit; }
.table-hover > tbody > tr:hover > * { background: var(--c-bg-2); color: var(--c-text); }
.table-bordered > :not(caption) > * > * { border-color: var(--c-line); }
.table-light, .table-secondary, .table > thead.table-light > tr > th { background: var(--c-bg-2) !important; color: var(--c-text) !important; }
.table-dark { background: var(--c-bg-2); }
.table-responsive { border-radius: var(--r-m); }

/* Forms */
.form-control, .form-select, .form-control:focus, .form-select:focus,
.form-control-lg, .form-select-lg, textarea.form-control, .front-page-form-field,
.front-page-form-select {
  background-color: var(--c-bg-2);
  border: 1px solid var(--c-line-strong);
  color: var(--c-text);
  border-radius: var(--r-m);
  box-shadow: none;
}
.form-control::placeholder { color: var(--c-faint); }
.form-control:focus, .form-select:focus { border-color: var(--c-accent); box-shadow: var(--ring); }
.form-control:disabled, .form-control[readonly] { background-color: var(--c-bg-3); color: var(--c-muted); }
.form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23626D7D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-label, label, .form-check-label { color: var(--c-text-2); font-weight: 500; font-size: var(--fs-sm); }
.form-text { color: var(--c-muted); }
.form-check-input { background-color: var(--c-bg-2); border-color: var(--c-line-strong); }
.form-check-input:checked { background-color: var(--c-accent); border-color: var(--c-accent); }
.input-group-text { background: var(--c-bg-3); border-color: var(--c-line-strong); color: var(--c-muted); }
.input-group .position-absolute { color: var(--c-muted) !important; }
.invalid-feedback, .text-danger.fs-sm { color: var(--c-danger); }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: var(--c-danger); }
.range-slider .noUi-connect { background: var(--c-accent); }
.range-slider .noUi-handle { background: var(--c-text); }

/* Cookie consent bar rendered by the vendor script */
.wpcc-container { background: var(--c-bg-2) !important; color: var(--c-text) !important; border-color: var(--c-line-strong) !important; font-family: var(--font-sans) !important; }
.wpcc-btn { background: var(--c-accent) !important; color: var(--c-accent-ink) !important; border-color: var(--c-accent) !important; }
.wpcc-privacy { color: var(--c-accent) !important; }

/* Django debug toolbar handle stays out of screenshots of the page body */
#djDebug #djShowToolBarButton { opacity: 0.35; }

/* =========================================================================
   B. Site navigation and footer
   ========================================================================= */

.sn {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #FFFFFF;
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03), 0 12px 32px -18px rgba(16, 24, 40, 0.35);
  color-scheme: light;
}
.sn__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.sn__brand { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--c-text); flex: 0 0 auto; }
.sn__brand img { height: 34px; width: auto; display: block; }
.sn__brand:hover { color: var(--c-text); }
.sn__menu { display: none; align-items: center; gap: var(--s-1); margin: 0 0 0 var(--s-4); padding: 0; list-style: none; }
.sn__item { position: relative; }
.sn__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--r-m);
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
.sn__link:hover, .sn__link:focus-visible, .sn__link[aria-expanded='true'], .sn__item.is-active > .sn__link { color: var(--c-text); background: var(--c-bg-2); }
.sn__item.is-active > .sn__link { box-shadow: inset 0 -2px 0 var(--c-navy); border-radius: var(--r-m) var(--r-m) 0 0; }
.sn__link svg { width: 12px; height: 12px; opacity: 0.5; }
.sn__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: var(--s-2);
  background: var(--c-bg-1);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-2);
  display: none;
  z-index: 5;
}
.sn__item.is-open > .sn__panel { display: block; }
.sn__panel a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-m);
  color: var(--c-text);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.sn__panel a small { display: block; color: var(--c-muted); font-weight: 400; font-size: var(--fs-xs); margin-top: 2px; }
.sn__panel a:hover { background: var(--c-bg-2); color: var(--c-text); }
.sn__panel a .sn__soon { float: right; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); border: 1px solid var(--c-line-strong); border-radius: 999px; padding: 1px 7px; margin-top: 2px; }
.sn__tools { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.sn__tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-m);
  color: var(--c-text-2);
  border: 1px solid transparent;
}
.sn__tool:hover { color: var(--c-text); background: var(--c-bg-2); border-color: var(--c-line); }
.sn__tool svg { width: 20px; height: 20px; }
.sn__count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.sn__cta { display: none; }
.sn__cta.m-btn--primary, .sn__cta.m-btn--primary:hover { background: var(--c-navy); border-color: var(--c-navy); color: #FFFFFF; }
.sn__cta.m-btn--primary:hover { background: var(--c-navy-hover); border-color: var(--c-navy-hover); }
.sn__count { background: var(--c-navy); color: #fff; }
.sn__burger { display: inline-flex; }
@media (max-width: 991.98px) { .sn__tools .sn__cta { display: none; }
.sn__cta.m-btn--primary, .sn__cta.m-btn--primary:hover { background: var(--c-navy); border-color: var(--c-navy); color: #FFFFFF; }
.sn__cta.m-btn--primary:hover { background: var(--c-navy-hover); border-color: var(--c-navy-hover); }
.sn__count { background: var(--c-navy); color: #fff; } }
@media (min-width: 992px) {
  .sn__menu { display: flex; }
  .sn__cta { display: inline-flex; }
  .sn__burger { display: none; }
}
.sn__drawer {
  display: none;
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-1);
  max-height: calc(100vh - var(--nav-h));
  overflow: auto;
}
.sn__drawer.is-open { display: block; }
.sn__drawer-inner { max-width: var(--container); margin: 0 auto; padding: var(--s-3) var(--s-5) var(--s-5); }
.sn__drawer h4 { font-size: var(--fs-xs); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-muted); margin: var(--s-4) 0 var(--s-2); }
.sn__drawer a { display: block; padding: 0.55rem 0; color: var(--c-text); font-weight: 500; border-bottom: 1px solid var(--c-line); }
.sn__drawer a:last-child { border-bottom: 0; }

.sf { background: var(--c-bg-1); border-top: 1px solid var(--c-line); margin-top: 0; color: var(--c-muted); font-size: var(--fs-sm); }
main + .sf, .container + .sf, .content-wrap + .sf { margin-top: var(--s-9); }
.sf--flush { margin-top: 0 !important; }
.sf__inner { max-width: var(--container); margin: 0 auto; padding: var(--s-8) var(--s-5) var(--s-6); }
.sf__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
@media (min-width: 640px) { .sf__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .sf__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.sf__brand img { height: 28px; width: auto; }
.sf__brand p { margin: var(--s-4) 0 0; max-width: 32ch; }
.sf h4 { font-size: var(--fs-xs); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-text); margin: 0 0 var(--s-3); font-weight: 600; }
.sf ul { list-style: none; margin: 0; padding: 0; }
.sf li { margin: 0 0 var(--s-2); }
.sf a { color: var(--c-text-2); }
.sf a:hover { color: var(--c-accent); }
.sf__bottom { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; justify-content: space-between; border-top: 1px solid var(--c-line); margin-top: var(--s-7); padding-top: var(--s-5); font-size: var(--fs-xs); }
.sf__bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.sf__bottom li { margin: 0; }
.sf__social { display: flex; gap: var(--s-2); }
.sf__social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--c-line); border-radius: var(--r-m); color: var(--c-text-2); }
.sf__social a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.sf__social svg { width: 16px; height: 16px; fill: currentColor; }

.handheld-toolbar { background: var(--c-bg-1); border-top: 1px solid var(--c-line); }
.handheld-toolbar-item, .handheld-toolbar-icon, .handheld-toolbar-label { color: var(--c-text-2) !important; }
.handheld-toolbar-icon { color: var(--c-text) !important; }

/* =========================================================================
   C. Marketing components
   ========================================================================= */

.m-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.m-section { padding: var(--s-8) 0; }
.m-section--tight { padding: var(--s-6) 0; }
.m-section--band { background: var(--c-bg-1); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.t-dark.m-section--band { background: var(--c-bg-1); }
@media (min-width: 992px) { .m-section { padding: var(--s-9) 0; } }

.m-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin: 0 0 var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--c-accent);
}
.m-eyebrow::before { content: ''; width: 20px; height: 1px; background: currentColor; }
.m-eyebrow[data-idx]::before { content: attr(data-idx) ' /'; width: auto; height: auto; background: none; letter-spacing: 0.08em; opacity: 0.7; }
.m-eyebrow--heat { color: var(--c-heat); }
.m-eyebrow--muted { color: var(--c-muted); }

.m-title { font-size: var(--fs-3xl); font-weight: 600; letter-spacing: -0.028em; line-height: var(--lh-tight); color: var(--c-text); margin: 0 0 var(--s-4); max-width: 24ch; }
.m-title--xl { font-size: clamp(2rem, 1.2rem + 2.1vw, 2.7rem); letter-spacing: -0.032em; line-height: 1.1; max-width: 26ch; text-wrap: balance; }
.m-nowrap { white-space: nowrap; }
.m-lead { font-size: var(--fs-lg); color: var(--c-text-2); line-height: var(--lh-body); max-width: 62ch; margin: 0 0 var(--s-5); }
.m-lead--sm { font-size: var(--fs-md); color: var(--c-muted); line-height: 1.65; }
.m-head { margin-bottom: var(--s-7); }
.m-head--split { display: grid; gap: var(--s-4); align-items: end; }
@media (min-width: 992px) { .m-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .m-head--split .m-lead { margin-bottom: 0; } }
.m-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.8rem 1.35rem;
  border-radius: var(--r-m);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease), transform 120ms var(--ease);
  cursor: pointer;
}
.m-btn svg { width: 16px; height: 16px; }
.m-btn--primary { background: var(--c-navy); color: #FFFFFF; border-color: var(--c-navy); }
.m-btn--primary:hover { background: var(--c-navy-hover); border-color: var(--c-navy-hover); color: #FFFFFF; }
.t-dark .m-btn--primary, .m-hero .m-btn--primary, .m-pagehead .m-btn--primary, .sf .m-btn--primary { background: var(--c-accent); color: var(--c-accent-ink); border-color: var(--c-accent); }
.t-dark .m-btn--primary:hover, .m-hero .m-btn--primary:hover, .m-pagehead .m-btn--primary:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); color: var(--c-accent-ink); }
.m-btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-line-strong); }
.m-btn--ghost:hover { border-color: var(--c-accent); background: var(--c-bg-2); color: var(--c-text); }
.m-btn--sm { padding: 0.5rem 0.9rem; font-size: var(--fs-xs); }
.m-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: var(--fs-sm); color: var(--c-accent); }
.m-link svg { width: 14px; height: 14px; transition: transform 120ms var(--ease); }
.m-link:hover svg { transform: translateX(2px); }

/* Hero */
.m-hero { position: relative; overflow: hidden; padding: var(--s-8) 0 var(--s-7); isolation: isolate; }
.m-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 55% at 82% 25%, var(--c-accent-soft), transparent 70%);
  pointer-events: none;
}
.m-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.28;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 100%);
  pointer-events: none;
}
.m-hero__inner { position: relative; z-index: 1; display: grid; gap: var(--s-6) var(--s-7); align-items: center; }
@media (min-width: 992px) { .m-hero { padding: var(--s-9) 0 var(--s-8); } .m-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.m-hero .m-eyebrow { margin-bottom: var(--s-5); }
.m-hero__copy .m-lead { max-width: 50ch; font-size: var(--fs-lg); color: var(--c-text-2); }
.m-hero .m-btn { padding: 0.85rem 1.5rem; }
.m-hero__visual { position: relative; }
.m-hero__frame {
  position: relative;
  border-radius: var(--r-l);
  border: 1px solid #2C3646;
  background: #10151E;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.m-hero__frame img { display: block; width: 100%; height: auto; }
.m-hero__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid #1F2836; background: #161C27; }
.m-hero__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2C3646; display: block; }
.m-hero__bar span { margin-left: var(--s-2); font-family: var(--font-mono); font-size: 11px; color: #8B929C; }
.m-hero__tag {
  position: absolute;
  right: var(--s-4);
  bottom: var(--s-4);
  padding: var(--s-2) var(--s-3);
  background: rgba(11, 16, 23, 0.85);
  border: 1px solid #2C3646;
  border-radius: var(--r-m);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #C4CAD3;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.m-hero__tag b { color: #6DB0FF; font-weight: 600; }
.m-hero__facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4) var(--s-6);
  margin: var(--s-2) 0 0;
  padding: var(--s-5) 0 0;
  border-top: 1px solid var(--c-line);
  list-style: none;
}
@media (min-width: 768px) { .m-hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 992px) { .m-hero__facts { grid-template-columns: 1fr 1fr 1.1fr 1.5fr; } }
@media (max-width: 767.98px) { .m-hero__facts li:last-child { grid-column: 1 / -1; } }
.m-hero__facts li { display: flex; flex-direction: column; gap: 4px; padding-left: var(--s-4); border-left: 2px solid var(--c-accent-line); }
.m-hero__facts b { font-size: var(--fs-2xl); font-weight: 600; color: var(--c-text); letter-spacing: -0.025em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.m-hero__facts b.m-hero__facts-text { font-size: var(--fs-xl); white-space: nowrap; padding-top: 0.2em; }
.m-hero__facts span { font-family: var(--font-mono); font-size: 11px; color: var(--c-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* Chips and pills */
.m-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.m-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--c-line-strong);
  background: var(--c-bg-2);
  color: var(--c-text);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.m-chip--hot { border-color: color-mix(in srgb, var(--c-heat) 45%, transparent); background: var(--c-heat-soft); color: var(--c-heat); }
.m-chip--soon { color: var(--c-muted); }
.m-chip--ok { border-color: color-mix(in srgb, var(--c-success) 40%, transparent); color: var(--c-success); background: color-mix(in srgb, var(--c-success) 8%, transparent); }
.m-tag { display: inline-block; padding: 0.2rem 0.5rem; border-radius: var(--r-s); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); background: var(--c-bg-3); }
.m-tag--novel { color: var(--c-heat); background: var(--c-heat-soft); }
.m-tag--walls { color: var(--c-walls-soft); background: var(--c-walls-tint); }
.m-tag--surfaces { color: var(--c-surfaces-soft); background: var(--c-surfaces-tint); }
.m-tag--thermal { color: var(--c-thermal-soft); background: var(--c-thermal-tint); }

/* Grids and cards */
.m-grid { display: grid; gap: var(--s-4); }
.m-grid--2 { grid-template-columns: 1fr; }
.m-grid--3 { grid-template-columns: 1fr; }
.m-grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .m-grid--2, .m-grid--3, .m-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .m-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .m-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.m-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
  background: var(--c-bg-1);
  border: 1px solid var(--c-line);
  border-radius: var(--r-l);
  transition: border-color 150ms var(--ease), transform 150ms var(--ease);
}
.m-card:hover { border-color: var(--c-line-strong); }
.m-card h3 { font-size: var(--fs-lg); margin: 0 0 var(--s-2); }
.m-card p { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }
.m-card__num { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-faint); margin-bottom: var(--s-3); }
.m-card--outcome { border-top: 2px solid var(--c-navy); }
.t-dark .m-card--outcome { border-top-color: var(--c-accent); }
.m-card h3 { font-size: var(--fs-md); line-height: 1.35; }

/* Engine feature card with diagram */
.m-feature {
  display: grid;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--c-bg-1);
  border: 1px solid var(--c-line);
  border-radius: var(--r-l);
  border-left: 3px solid var(--domain, var(--c-accent));
}
.m-feature--walls { --domain: var(--c-walls); }
.m-feature--surfaces { --domain: var(--c-surfaces); }
.m-feature--thermal { --domain: var(--c-thermal); }
.m-feature__meta { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.m-feature__index { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-faint); }
.m-feature h3 { font-size: var(--fs-lg); margin: 0; }
.m-feature__headline { color: var(--c-text); font-weight: 500; margin: var(--s-1) 0 var(--s-2); }
.m-feature p { color: var(--c-muted); font-size: var(--fs-sm); margin: 0; }
.m-feature__where { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px dashed var(--c-line-strong); font-size: var(--fs-xs); color: var(--c-muted); }
.m-feature__where b { color: var(--c-text-2); font-weight: 600; }
.m-feature__side { display: grid; gap: var(--s-4); align-content: start; }
.m-fig { margin: 0; }
.m-fig__frame { background: var(--c-bg-0); border: 1px solid var(--c-line); border-radius: var(--r-m); padding: var(--s-3); display: flex; align-items: center; justify-content: center; }
.m-fig__frame img { width: 100%; max-width: 360px; height: auto; display: block; }
.m-fig--wide .m-fig__frame img { max-width: 100%; }
.m-fig figcaption { margin-top: var(--s-2); font-size: var(--fs-xs); color: var(--c-muted); line-height: 1.5; }
.m-fig figcaption b { font-family: var(--font-mono); color: var(--c-faint); font-weight: 500; margin-right: var(--s-2); letter-spacing: 0.06em; }
@media (min-width: 768px) {
  .m-feature { grid-template-columns: minmax(0, 1fr) 300px; }
  .m-feature > div:first-child { grid-column: 1; grid-row: 1; }
  .m-feature__side { grid-column: 2; grid-row: 1; }
  .m-fig--wide { grid-column: 1 / -1; }
  .m-fig--wide .m-fig__frame { padding: var(--s-4); }
  .m-fig--wide .m-fig__frame img { max-width: 900px; }
}
.m-feature-list { display: grid; gap: var(--s-4); }
.m-domain { display: flex; align-items: center; gap: var(--s-3); margin: var(--s-7) 0 var(--s-4); }
.m-domain:first-child { margin-top: 0; }
.m-domain i { width: 10px; height: 10px; border-radius: 2px; background: var(--domain, var(--c-accent)); }
.m-domain h3 { margin: 0; font-size: var(--fs-xl); }
.m-domain p { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }

/* Compact feature tile used on the home page grid */
.m-tile {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--c-bg-1);
  border: 1px solid var(--c-line);
  border-radius: var(--r-l);
  color: inherit;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.m-tile:hover { border-color: var(--domain, var(--c-line-strong)); background: var(--c-bg-2); color: inherit; }
.m-tile--walls { --domain: var(--c-walls); }
.m-tile--surfaces { --domain: var(--c-surfaces); }
.m-tile--thermal { --domain: var(--c-thermal); }
.m-tile__fig { background: #12161C; border: 1px solid #12161C; border-radius: var(--r-m); padding: var(--s-2); aspect-ratio: 13 / 8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.t-dark .m-tile__fig { background: var(--c-bg-0); border-color: var(--c-line); }
.m-tile__fig img { width: 100%; height: 100%; object-fit: contain; display: block; }
.m-tile__meta { display: flex; align-items: center; gap: var(--s-2); }
.m-tile__meta i { width: 8px; height: 8px; border-radius: 2px; background: var(--domain, var(--c-accent)); }
.m-tile__meta span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-faint); }
.m-tile h3 { font-size: var(--fs-md); margin: 0; }
.m-tile p { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }
.m-tile .m-tag { align-self: flex-start; margin-top: auto; }
.m-tile--more { justify-content: center; background: linear-gradient(160deg, var(--c-bg-1), var(--c-bg-2)); border-style: dashed; }
.m-tile--more h3 { font-size: var(--fs-lg); max-width: 22ch; }
.m-tile--more .m-link { margin-top: auto; }

/* Split panels (image + copy) */
.m-split { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 992px) { .m-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); } .m-split--rev > :first-child { order: 2; } }
.m-split--top { align-items: start; }
.m-split h2 { font-size: var(--fs-2xl); margin: 0 0 var(--s-3); max-width: 20ch; }
.m-split p { color: var(--c-muted); }
.m-shot { position: relative; border-radius: var(--r-l); border: 1px solid var(--c-line-strong); background: var(--c-bg-1); overflow: hidden; box-shadow: var(--shadow-2); }
.m-shot img { display: block; width: 100%; height: auto; }
.m-shot--placeholder { position: relative; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; background: var(--c-bg-1); }
.m-shot--placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}
.m-shot__note { position: relative; text-align: center; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-muted); padding: var(--s-4); max-width: 30ch; line-height: 1.5; }
.m-shot__note b { display: block; color: var(--c-text); font-weight: 600; margin-bottom: var(--s-1); font-family: var(--font-sans); font-size: var(--fs-sm); }
.m-shot__caption { padding: var(--s-2) var(--s-4); border-top: 1px solid var(--c-line); font-family: var(--font-mono); font-size: 11px; color: var(--c-muted); background: var(--c-bg-2); }
.m-shot--app { border-color: #2C3646; background: #10151E; }
.m-shot--app .m-shot__caption { background: #161C27; border-color: #1F2836; color: #8B929C; }
.m-check { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: var(--s-2); }
.m-check li { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--c-text-2); font-size: var(--fs-sm); }
.m-check li::before { content: ''; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--c-accent-soft); border: 1px solid var(--c-accent-line); position: relative; }
.m-check li::before { background-image: none; }
.m-check li { position: relative; }
.m-check li > *:first-child { min-width: 0; }
.m-check li::after { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: var(--c-accent); -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m4 8.5 2.5 2.5L12 5.5'/%3e%3c/svg%3e") center / 12px no-repeat; mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m4 8.5 2.5 2.5L12 5.5'/%3e%3c/svg%3e") center / 12px no-repeat; }

/* Definition rows (thermal views, machine setup) */
.m-rows { display: grid; gap: 0; border: 1px solid var(--c-line); border-radius: var(--r-l); overflow: hidden; background: var(--c-bg-1); }
.m-row { display: grid; gap: var(--s-1) var(--s-4); padding: var(--s-3) var(--s-4); border-top: 1px solid var(--c-line); }
.m-row:first-child { border-top: 0; }
.m-row b { color: var(--c-text); font-weight: 600; font-size: var(--fs-sm); }
.m-row span { color: var(--c-muted); font-size: var(--fs-sm); }
@media (min-width: 640px) { .m-row { grid-template-columns: 200px minmax(0, 1fr); } }
.m-rows--num .m-row { grid-template-columns: 28px minmax(0, 1fr); }
.m-rows--num .m-row i { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-faint); font-style: normal; padding-top: 3px; }
.m-rows--num .m-row div b { display: block; }
.m-rows--num .m-row div span { display: block; }

/* Thermal palette strip */
.m-scale { display: flex; align-items: center; gap: var(--s-3); font-family: var(--font-mono); font-size: 11px; color: var(--c-muted); margin-top: var(--s-4); }
.m-scale i { flex: 1; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--c-accent), var(--c-success) 40%, var(--c-warning) 70%, var(--c-danger)); }

/* Capability grid */
.m-caps { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-l); overflow: hidden; }
@media (min-width: 640px) { .m-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .m-caps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.m-cap { background: var(--c-bg-1); padding: var(--s-4) var(--s-5); }
.m-cap b { display: block; color: var(--c-text); font-weight: 600; font-size: var(--fs-sm); margin-bottom: 2px; }
.m-cap span { color: var(--c-muted); font-size: var(--fs-sm); }

/* Printer compatibility */
.m-printer { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); background: var(--c-bg-1); border: 1px solid var(--c-line); border-radius: var(--r-l); }
.m-printer h3 { margin: 0; font-size: var(--fs-lg); }
.m-printer p { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); flex: 1; }
.m-printer--soon { border-style: dashed; }

/* Client logo strip: monochrome marquee, static wrap when motion is reduced */
.m-clients { padding: var(--s-6) 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background: var(--c-bg-0); }
.t-dark .m-clients, .m-clients.t-dark { background: #0D121A; }
.m-clients__label { text-align: center; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-muted); margin: 0 0 var(--s-5); }
.m-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.m-marquee__track { display: flex; width: max-content; gap: var(--s-8); animation: m-marquee 70s linear infinite; }
.m-marquee:hover .m-marquee__track { animation-play-state: paused; }
.m-marquee__group { display: flex; align-items: center; gap: var(--s-8); flex: 0 0 auto; }
.m-client { display: inline-flex; align-items: center; justify-content: center; height: 44px; color: var(--c-text); opacity: 0.85; transition: opacity 150ms var(--ease); }
.m-client:hover { opacity: 1; }
.m-client img, .m-client svg { height: 100%; width: auto; max-width: 230px; display: block; object-fit: contain; }
.m-client img { filter: grayscale(1) brightness(0); opacity: 0.72; }
.m-client--mono img { filter: invert(1); }
.m-client:hover img { opacity: 1; }
.t-dark .m-client img { filter: grayscale(1) brightness(0) invert(1); opacity: 0.85; }
.t-dark .m-client--mono img { filter: none; }
.m-client svg { fill: currentColor; }
.m-client--text { font-family: var(--font-sans); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.01em; white-space: nowrap; color: var(--c-text); }
@keyframes m-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--s-8) / 2)); } }
@media (prefers-reduced-motion: reduce) {
  .m-marquee { -webkit-mask-image: none; mask-image: none; }
  .m-marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: var(--s-4) var(--s-6); }
  .m-marquee__group { flex-wrap: wrap; justify-content: center; gap: var(--s-4) var(--s-6); }
  .m-marquee__group[aria-hidden='true'] { display: none; }
}

/* References */
.m-refs { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .m-refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.m-refs li { padding: var(--s-3) var(--s-4); border: 1px solid var(--c-line); border-radius: var(--r-m); background: var(--c-bg-1); font-size: var(--fs-sm); }
.m-refs b { display: block; color: var(--c-text); font-weight: 600; margin-bottom: 2px; }
.m-refs span { color: var(--c-muted); font-family: var(--font-mono); font-size: var(--fs-xs); }

/* Hardware band */
.m-hw { display: grid; gap: var(--s-4); }
@media (min-width: 992px) { .m-hw { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.m-hw__card { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); padding: var(--s-5); background: var(--c-bg-1); border: 1px solid var(--c-line); border-radius: var(--r-l); align-items: center; }
@media (min-width: 640px) { .m-hw__card { grid-template-columns: 160px minmax(0, 1fr); } }
.m-hw__img { aspect-ratio: 1; border-radius: var(--r-m); background: var(--c-bg-2); border: 1px solid var(--c-line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.t-dark .m-hw__img { background: var(--c-bg-0); }
.m-hw__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.m-hw__img--photo img { object-fit: cover; }
.m-hw__img svg { width: 60%; height: 60%; color: var(--c-faint); }
.m-hw__card h3 { margin: 0 0 var(--s-1); font-size: var(--fs-lg); }
.m-hw__card p { margin: 0 0 var(--s-3); color: var(--c-muted); font-size: var(--fs-sm); }

/* CTA band */
.m-cta { padding: var(--s-8) 0 var(--s-9); }
.m-cta__box {
  position: relative;
  overflow: hidden;
  padding: var(--s-8) var(--s-5);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-l);
  background: linear-gradient(135deg, var(--c-bg-2), var(--c-bg-1) 60%);
  text-align: center;
}
.t-dark .m-cta__box { background: rgba(16, 21, 30, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.m-cta__box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, var(--c-accent-soft), transparent 70%); pointer-events: none; }
.m-cta__box > * { position: relative; }
.m-cta__box h2 { font-size: var(--fs-3xl); letter-spacing: -0.028em; margin: 0 auto var(--s-3); max-width: 24ch; }
.m-cta__box p { color: var(--c-muted); max-width: 56ch; margin: 0 auto var(--s-5); }
.m-cta__box .m-actions { justify-content: center; }

/* Spec tables (HTX, mainboard) */
.m-spec { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.m-spec th, .m-spec td { text-align: left; padding: var(--s-3) var(--s-4); border-top: 1px solid var(--c-line); vertical-align: top; }
.m-spec th { color: var(--c-text); font-weight: 600; width: 34%; }
.m-spec td { color: var(--c-muted); }
.m-spec tr:first-child th, .m-spec tr:first-child td { border-top: 0; }
.m-spec-wrap { border: 1px solid var(--c-line); border-radius: var(--r-l); overflow: hidden; background: var(--c-bg-1); }
.m-spec-wrap--sheet { overflow-x: auto; }
.m-spec--sheet th, .m-spec--sheet td { width: auto; }
.m-spec--sheet thead th { color: var(--c-muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; background: var(--c-bg-2); border-top: 0; }
.m-spec--sheet thead th small { display: block; font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--c-faint); }
.m-spec--sheet thead th:first-child, .m-spec--sheet tbody th[scope='row'] { width: 26%; }
.m-spec--sheet td[data-col] { width: 37%; }
.m-spec--sheet .m-spec__section th { background: var(--c-bg-2); color: var(--c-accent); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--track-caps); text-transform: uppercase; padding-top: var(--s-3); padding-bottom: var(--s-3); }
.m-spec--sheet .m-spec__row--new td[data-col='V2'] { color: var(--c-text); }
.m-spec__new { margin-left: var(--s-2); vertical-align: 1px; white-space: nowrap; }
@media (max-width: 767.98px) {
  .m-spec--sheet thead { display: none; }
  .m-spec--sheet tr { display: block; border-top: 1px solid var(--c-line); }
  .m-spec--sheet th, .m-spec--sheet td { display: block; width: auto !important; border-top: 0; padding: var(--s-2) var(--s-4); }
  .m-spec--sheet tbody th[scope='row'] { padding-top: var(--s-3); }
  .m-spec--sheet td[data-col]::before { content: attr(data-col) ' '; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-faint); margin-right: var(--s-2); }
  .m-spec--sheet td[data-col='V2'] { padding-bottom: var(--s-3); }
}

/* Notice for the "coming soon" mainboard page */
.m-notice { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: var(--r-m); border: 1px solid var(--c-line-strong); background: var(--c-bg-2); color: var(--c-text-2); font-size: var(--fs-sm); }
.m-notice i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-warning); }

/* Page header for secondary marketing pages */
.m-pagehead { position: relative; isolation: isolate; overflow: hidden; padding: var(--s-8) 0 var(--s-7); border-bottom: 1px solid var(--c-line); background: var(--c-bg-0); }
/* Page hero pattern: printed layer lines under an isometric lattice, strongest at
   the left and faded out by two thirds across (the fade is the top background layer). */
.m-pagehead {
  background-color: #0B1017;
  background-image:
    linear-gradient(90deg, rgba(11, 16, 23, 0) 0%, rgba(11, 16, 23, 0.6) 34%, #0B1017 70%),
    repeating-linear-gradient(180deg, rgba(196, 204, 216, 0.16) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(60deg, rgba(196, 204, 216, 0.14) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(120deg, rgba(196, 204, 216, 0.14) 0 1px, transparent 1px 42px);
}
.m-pagehead .cb__bg { z-index: 0; }
.m-pagehead .m-title { margin-bottom: var(--s-3); }
.m-pagehead .m-lead { margin-bottom: 0; }
.m-pagehead--split { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 992px) { .m-pagehead--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }

/* Sub navigation (features page anchors) */
.m-subnav { position: sticky; top: var(--nav-h); z-index: 20; background: #FFFFFF; border-bottom: 1px solid var(--c-line); box-shadow: 0 8px 24px -16px rgba(16, 24, 40, 0.25); }
.m-subnav ul { display: flex; gap: var(--s-1); margin: 0; padding: var(--s-2) 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.m-subnav ul::-webkit-scrollbar { display: none; }
.m-subnav a { display: inline-block; white-space: nowrap; padding: 0.4rem 0.7rem; border-radius: var(--r-m); font-size: var(--fs-sm); font-weight: 500; color: var(--c-muted); }
.m-subnav a:hover { color: var(--c-text); background: var(--c-bg-2); }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.m-has-subnav [id] { scroll-margin-top: calc(var(--nav-h) + 50px + 16px); }

/* Utilities */
.m-mt-0 { margin-top: 0 !important; }
.m-mt-4 { margin-top: var(--s-4); }
.m-mt-6 { margin-top: var(--s-6); }
.m-mb-4 { margin-bottom: var(--s-4); }
.m-muted { color: var(--c-muted); }
.m-small { font-size: var(--fs-sm); }
.m-mono { font-family: var(--font-mono); }
.m-center { text-align: center; }
.m-center .m-title, .m-center .m-lead { margin-left: auto; margin-right: auto; }
.m-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* =========================================================================
   D. Bands with faded background imagery
   A band is any section carrying .cb; .cb__bg is its faded image layer and
   .cb--veil lays a gradient over it so the copy keeps its contrast. Dark
   bands add .t-dark (tokens.css). Light bands carry the white weave, facet
   and part-layer textures; dark bands the HTX photography.
   ========================================================================= */

.cb { position: relative; isolation: isolate; }
.cb__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--bg-opacity, 0.22);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.cb__in { position: relative; z-index: 1; }
.cb__bg--right { background-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 55%), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent 12%, #000 55%), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.cb__bg--left { background-position: left center; -webkit-mask-image: linear-gradient(270deg, transparent 20%, #000 60%), linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(270deg, transparent 20%, #000 60%), linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.cb__bg--top { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 85%); background-position: center top; }
.cb__bg--bottom { -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 30%, transparent 85%); mask-image: linear-gradient(0deg, #000 0%, #000 30%, transparent 85%); background-position: center bottom; }
.cb__bg--full { -webkit-mask-image: none; mask-image: none; }
.cb__bg--faint { --bg-opacity: 0.10; }
.cb__bg--soft { --bg-opacity: 0.18; }
.cb__bg--strong { --bg-opacity: 0.32; }
.cb__bg--photo { --bg-opacity: 0.5; }
.cb__bg--vivid { --bg-opacity: 0.68; }
.cb__bg--pr { background-position: right center; }
.cb__bg--pl { background-position: left center; }
.cb__bg--pt { background-position: center top; }
.cb__bg--pb { background-position: center bottom; }
.cb__bg--tint { filter: saturate(0.6); }
.cb__bg--mono { filter: grayscale(1); }
.cb--veil::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, var(--veil-a), var(--veil-b) 50%, var(--veil-c) 100%);
  pointer-events: none;
}
/* Light bands with imagery sit on a mid-cool gray wash rather than near-white,
   with the image showing through at a controlled opacity; muted text is
   darkened so small copy stays AA on the wash. */
.cb--wash, .cb:not(.t-dark):not(.m-hero):not(.m-pagehead):not(.m-cta):has(> .cb__bg) {
  --c-bg-0: #DADDE2;
  --c-bg-2: #E3E6EA;
  --c-bg-3: #CFD4DA;
  --c-line: #C6CCD4;
  --c-line-strong: #B1B9C3;
  --c-muted: #4F5967;
  --c-faint: #525C69;
  --c-heat: #8F4508;
  --veil-a: rgba(218, 221, 226, 0.88);
  --veil-b: rgba(218, 221, 226, 0.45);
  --veil-c: rgba(218, 221, 226, 0.05);
  background: #DADDE2;
}
/* The image is its own right-anchored box (never taller than 780px, never
   stretched to the band height, which is what blurred it); both fades are
   measured on the box, so there is no hard edge where the photo starts. */
.cb--wash > .cb__bg, .cb:not(.t-dark):not(.m-hero):not(.m-pagehead):not(.m-cta):has(> .cb__bg) > .cb__bg {
  left: auto;
  right: 0;
  bottom: auto;
  width: max(55%, 760px);
  max-width: 100%;
  height: min(100%, 720px);
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 55%), linear-gradient(180deg, #000 45%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 55%), linear-gradient(180deg, #000 45%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.cb--wash .cb__bg, .cb:not(.t-dark):not(.m-hero):not(.m-pagehead):not(.m-cta):has(> .cb__bg) > .cb__bg { filter: saturate(0.55) contrast(1.05); }
.cb--wash .cb__bg--mono, .cb:not(.t-dark):not(.m-hero):not(.m-pagehead):not(.m-cta):has(> .cb__bg) > .cb__bg--mono { filter: grayscale(1) contrast(1.05); }
.cb--wash .m-card, .cb--wash .m-tile, .cb--wash .m-printer, .cb--wash .m-blog-card, .cb--wash .m-feature, .cb--wash .m-panel, .cb--wash .m-rows, .cb--wash .m-caps, .cb--wash .m-refs li, .cb--wash .m-hw__card,
.cb:not(.t-dark):has(> .cb__bg) .m-card, .cb:not(.t-dark):has(> .cb__bg) .m-tile, .cb:not(.t-dark):has(> .cb__bg) .m-printer, .cb:not(.t-dark):has(> .cb__bg) .m-blog-card, .cb:not(.t-dark):has(> .cb__bg) .m-feature, .cb:not(.t-dark):has(> .cb__bg) .m-panel, .cb:not(.t-dark):has(> .cb__bg) .m-rows, .cb:not(.t-dark):has(> .cb__bg) .m-caps, .cb:not(.t-dark):has(> .cb__bg) .m-refs li, .cb:not(.t-dark):has(> .cb__bg) .m-hw__card { --c-bg-1: #FAFAFB; --c-line: #D8DCE2; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 32px -20px rgba(16, 24, 40, 0.35); }
.cb--band { background: var(--c-bg-1); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.cb--bordered { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.cb--line-top { border-top: 1px solid var(--c-line); }
.t-dark.cb + .t-dark.cb { border-top: 1px solid var(--c-line); }
.m-pagehead .cb__bg, .m-hero .cb__bg { --bg-opacity: 0.68; }

/* =========================================================================
   E. Technical detailing: a pinch of precision
   Chamfered corners on cards and primary buttons, hairline corner brackets
   on captures and spec tables, mono index labels on section eyebrows and a
   measurement ruler along the top of dark bands. Shape and line only: the
   palette, type and rhythm are untouched.
   ========================================================================= */

/* Chamfer: one cut corner (top-right) with a hairline drawn along the cut */
.m-cut, .m-card, .m-tile, .m-printer, .m-hw__card, .m-feature, .product-card, .m-blog-card, .m-cta__box, .m-spec-wrap, .m-rows, .m-caps, .m-refs li {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  border-top-right-radius: 0 !important;
}
.m-cut::after, .m-card::after, .m-tile::after, .m-printer::after, .m-hw__card::after, .m-feature::after, .product-card::after, .m-blog-card::after, .m-cta__box::after, .m-spec-wrap::after, .m-rows::after, .m-caps::after, .m-refs li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: calc(var(--cut) * 1.4142);
  height: 1px;
  background: var(--c-line-strong);
  transform-origin: 100% 0;
  transform: rotate(-45deg);
  pointer-events: none;
  z-index: 2;
}
.m-card, .m-tile, .m-printer, .m-hw__card, .m-feature, .product-card, .m-blog-card, .m-spec-wrap, .m-rows, .m-caps, .m-refs li { position: relative; }
.m-btn--primary { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-s)), calc(100% - var(--cut-s)) 100%, 0 100%); border-bottom-right-radius: 0; }
.btn-primary, .btn-accent { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-s)), calc(100% - var(--cut-s)) 100%, 0 100%); border-bottom-right-radius: 0 !important; }
.m-tag { clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px); border-top-left-radius: 0; }

/* Corner brackets: two hairline L marks, top-left and bottom-right, outside the frame */
.m-frame { position: relative; }
.m-frame::before, .m-frame::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--c-line-strong);
  pointer-events: none;
  z-index: 3;
}
.m-frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.m-frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.m-frame--accent::before, .m-frame--accent::after { border-color: var(--c-accent-line); }

/* Measurement ruler along the top edge of a band: a tick every 24px, a taller one every 120px */
.cb--ticks::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  z-index: 1;
  background:
    repeating-linear-gradient(90deg, var(--c-line-strong) 0 1px, transparent 1px 120px) 0 0 / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px 24px) 0 0 / 100% 5px no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

/* Index label used with the eyebrow: <p class="m-eyebrow" data-idx="01"> */
.m-idx { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-faint); letter-spacing: 0.08em; }

/* Part-number style tag: <span class="m-pn">PS-ENG-04</span> */
.m-pn { display: inline-block; padding: 0.15rem 0.5rem; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); border: 1px solid var(--c-line-strong); clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px)); }

/* =========================================================================
   F. Content pages: page heads, blog, articles, forms, comments
   ========================================================================= */

.m-pagehead .cb__bg { z-index: 0; }
.m-pagehead .m-wrap { position: relative; z-index: 1; }
.m-pagehead--split { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 992px) { .m-pagehead--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.m-pagehead__figure { display: flex; justify-content: center; }
.m-pagehead__figure img { max-width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)); }
.m-pagehead .m-eyebrow a { color: inherit; }
.m-pagehead .m-lead p:last-child { margin-bottom: 0; }
.m-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-4); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--c-muted); }
.m-note { max-width: 78ch; margin: var(--s-4) 0 0; font-size: var(--fs-xs); line-height: 1.6; }
.m-shot--photo { background: var(--c-bg-1); }
.m-shot--photo img { display: block; width: 100%; height: auto; }

/* Filter chips */
.m-filters { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.m-filters__group { display: grid; gap: var(--s-2); }
.m-chips li { list-style: none; }
.m-chip--link { color: var(--c-text-2); transition: border-color 120ms var(--ease), color 120ms var(--ease), background-color 120ms var(--ease); }
.m-chip--link:hover { border-color: var(--c-accent); color: var(--c-text); }
.m-chip--link.is-active { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }

/* Blog and listing cards */
.m-blog-card { display: flex; flex-direction: column; background: var(--c-bg-1); border: 1px solid var(--c-line); border-radius: var(--r-l); overflow: hidden; transition: border-color 150ms var(--ease), transform 150ms var(--ease); }
.m-blog-card:hover { border-color: var(--c-line-strong); }
.m-blog-card__img { display: block; aspect-ratio: 12 / 7; background: var(--c-bg-2); border-bottom: 1px solid var(--c-line); overflow: hidden; }
.m-blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-blog-card__img--contain { padding: var(--s-4); background: var(--c-bg-1); }
.m-blog-card__img--contain img { object-fit: contain; }
.m-blog-card__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); }
.m-blog-card__meta { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-faint); letter-spacing: 0.04em; }
.m-blog-card h2 { font-size: var(--fs-lg); margin: 0; line-height: 1.3; }
.m-blog-card h2 a { color: var(--c-text); }
.m-blog-card h2 a:hover { color: var(--c-accent); }
.m-blog-card p { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); flex: 1; }
.m-blog-card .m-link { margin-top: var(--s-2); }

/* Article layout and prose */
.m-article { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 992px) { .m-article { grid-template-columns: minmax(0, 1fr) 280px; } }
.m-article__aside { display: grid; gap: var(--s-5); position: sticky; top: calc(var(--nav-h) + var(--s-5)); }
.m-article__block { display: grid; gap: var(--s-2); }
.m-prose { font-size: 1.0625rem; line-height: 1.75; color: var(--c-text-2); max-width: 72ch; }
.m-prose h2, .m-prose h3, .m-prose h4 { margin: var(--s-6) 0 var(--s-3); }
.m-prose h2 { font-size: var(--fs-2xl); letter-spacing: -0.025em; }
.m-prose h3 { font-size: var(--fs-xl); }
.m-prose p { margin: 0 0 var(--s-4); }
.m-prose img { max-width: 100%; height: auto; border-radius: var(--r-m); border: 1px solid var(--c-line); margin: var(--s-4) 0; }
.m-prose ul, .m-prose ol { padding-left: 1.4rem; margin: 0 0 var(--s-4); }
.m-prose li { margin-bottom: var(--s-1); }
.m-prose blockquote { margin: var(--s-5) 0; padding: var(--s-3) var(--s-5); border-left: 2px solid var(--c-navy); background: var(--c-bg-2); color: var(--c-text); }
.m-prose a { text-decoration: underline; text-underline-offset: 3px; }
.m-prose .full-width { width: 100%; }
.m-lead.m-prose { font-size: var(--fs-lg); max-width: 62ch; }
.m-share { display: flex; gap: var(--s-2); }
.m-share a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--c-line-strong); border-radius: var(--r-m); color: var(--c-text-2); }
.m-share a:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* Comments */
.m-comments { max-width: 760px; }
.m-comment { padding: var(--s-4) var(--s-5); background: var(--c-bg-1); border: 1px solid var(--c-line); border-radius: var(--r-l); margin-bottom: var(--s-3); }
.m-comment--reply { background: var(--c-bg-2); }
.m-comment__replies { margin: var(--s-3) 0 0 var(--s-6); padding: 0; }
.m-comment__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-bottom: var(--s-2); color: var(--c-text); }
.m-comment__date { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-faint); }
.m-comment__text { margin: 0; color: var(--c-text-2); }
.m-comment__actions { margin-top: var(--s-3); }
.m-comment .reply-form { margin-top: var(--s-3); }

/* Panels and forms */
.m-panel { padding: var(--s-5); background: var(--c-bg-1); border: 1px solid var(--c-line); border-radius: var(--r-l); box-shadow: var(--shadow-1); }
.m-panel h3 { font-size: var(--fs-xl); margin: 0 0 var(--s-4); }
.m-form .form-label { margin-top: var(--s-3); }
.m-form .form-label:first-child { margin-top: 0; }
.m-form input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='submit']):not([type='hidden']), .m-form select, .m-form textarea { display: block; width: 100%; padding: 0.6rem 0.85rem; background: var(--c-bg-2); border: 1px solid var(--c-line-strong); border-radius: var(--r-m); color: var(--c-text); font-family: inherit; font-size: var(--fs-sm); }
.m-form input:focus, .m-form select:focus, .m-form textarea:focus { outline: 0; border-color: var(--c-accent); box-shadow: var(--ring); }
.m-form input[type='file'] { display: block; margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--c-muted); }
.m-form__row { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .m-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.m-form__foot { display: grid; gap: var(--s-4); justify-items: start; margin-top: var(--s-5); }
.m-form-layout { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 992px) { .m-form-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.m-contact-lines { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.m-contact-lines > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: var(--s-3); align-items: baseline; padding-bottom: var(--s-3); border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); }
.m-faq { max-width: 760px; }
.m-faq .accordion-item { background: var(--c-bg-1); border: 1px solid var(--c-line); margin-bottom: var(--s-2); border-radius: var(--r-m); overflow: hidden; }
.m-faq .accordion-button { font-weight: 600; font-size: var(--fs-sm); }
.m-faq .accordion-body { color: var(--c-muted); font-size: var(--fs-sm); }

/* Store list: equal-height product cards, framed image box, clamped titles, pinned price row */
.m-product-card { display: flex; flex-direction: column; width: 100%; }
.m-product-card__img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: var(--s-4); background: var(--c-bg-1); border-bottom: 1px solid var(--c-line); }
.m-product-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.m-product-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-3) var(--s-4) var(--s-4) !important; }
.m-product-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.35em); line-height: 1.35; margin-bottom: var(--s-2); }
.m-product-card__foot { margin-top: auto; align-items: center; }
.m-product-card .card-body-hidden { bottom: auto; top: 100%; }
.m-shop-toolbar { padding: var(--s-3) var(--s-4); margin-bottom: var(--s-5); background: var(--c-bg-1); border: 1px solid var(--c-line); border-radius: var(--r-l); box-shadow: var(--shadow-1); gap: var(--s-3); }
.m-shop-toolbar .pb-3 { padding-bottom: 0 !important; }
.m-shop-toolbar .nav-link-light { color: var(--c-text-2); }
.m-shop-toolbar .nav-link-light.disabled { color: var(--c-faint); }
.m-filter-list { max-height: none; overflow: visible; }
#shop-sidebar.offcanvas-collapse { border: 1px solid var(--c-line); box-shadow: var(--shadow-2) !important; }
@media (min-width: 992px) { .page-title-overlap + .container .row > .col-lg-8 { padding-top: 0; } }

/* Store and account toolbars: a white panel aligned with the sidebar card */
.page-title-overlap + .container .col-lg-8 > .d-flex:first-child, .page-title-overlap + .container > .row > .col-lg-8 > .d-flex:first-child {
  padding: var(--s-3) var(--s-4) !important; margin-bottom: var(--s-5) !important; gap: var(--s-3);
  background: var(--c-bg-1); border: 1px solid var(--c-line); border-radius: var(--r-l); box-shadow: var(--shadow-1);
}
.page-title-overlap + .container .col-lg-8 > .d-flex:first-child .text-light { color: var(--c-text) !important; opacity: 1 !important; }
.page-title-overlap + .container .col-lg-8 > .d-flex:first-child .pb-3 { padding-bottom: 0 !important; }
.page-title-overlap + .container .col-lg-4 > .bg-white, .page-title-overlap + .container .col-lg-4 > .offcanvas-collapse { border: 1px solid var(--c-line); box-shadow: var(--shadow-1) !important; }
.page-title-overlap + .container > .bg-light.shadow-lg { border: 1px solid var(--c-line); box-shadow: var(--shadow-1) !important; }
.page-title-overlap + .container .col-lg-4 { padding-top: 0 !important; }
.page-title-overlap + .container .col-lg-8 > .d-flex:first-child { margin-top: 0 !important; }
.page-title-overlap + .container > .row > .col-lg-8 { padding-top: 0 !important; }

/* Account sub-navigation card */
.m-acct { background: var(--c-bg-1); border: 1px solid var(--c-line); border-radius: var(--r-l); overflow: hidden; }
.m-acct__who { padding: var(--s-5); border-bottom: 1px solid var(--c-line); }
.m-acct__who h3 { font-size: var(--fs-md); margin: 0 0 2px; }
.m-acct__who span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-muted); word-break: break-all; }
.m-acct__group { padding: var(--s-3) var(--s-5) var(--s-1); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-faint); }
.m-acct__list { list-style: none; margin: 0; padding: 0 var(--s-2) var(--s-2); }
.m-acct__list a { display: flex; align-items: center; gap: var(--s-3); padding: 0.6rem var(--s-3); border-radius: var(--r-m); color: var(--c-text-2); font-size: var(--fs-sm); font-weight: 500; }
.m-acct__list a i { opacity: 0.6; }
.m-acct__list a:hover { background: var(--c-bg-2); color: var(--c-text); }
.m-acct__list a.active { background: var(--c-accent-soft); color: var(--c-accent); box-shadow: inset 2px 0 0 var(--c-navy); }
.m-acct__list a.active i { opacity: 1; }

/* Legacy notice above retired-product pages (3D Labs Studio) */
.m-legacy { background: var(--c-bg-2); border-bottom: 1px solid var(--c-line); }
.m-legacy__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); padding-top: var(--s-3); padding-bottom: var(--s-3); }
.m-legacy p { margin: 0; font-size: var(--fs-sm); color: var(--c-text-2); }
.m-legacy a { font-weight: 600; }

/* Engine reference: group header with anchor visual, then spotlight / row / compact feature cards */
.m-group { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 992px) { .m-group { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-8); } }
.m-group .m-title { max-width: 20ch; }
.m-group__list { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: 2px; }
.m-group__list a { display: flex; align-items: center; gap: var(--s-3); padding: 0.35rem 0; color: var(--c-text-2); font-size: var(--fs-sm); font-weight: 500; border-bottom: 1px solid var(--c-line); }
.m-group__list a:hover { color: var(--c-accent); }
.m-group__list .m-idx { width: 2ch; }
.m-feature--walls .m-eyebrow { color: var(--c-walls-soft); }
.m-feature--surfaces .m-eyebrow { color: var(--c-surfaces-soft); }
/* spotlight: text column narrower, the figures carry the card */
@media (min-width: 768px) {
  .m-feature--spot { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .m-feature--spot .m-fig__frame img { max-width: 100%; }
  .m-feature--spot .m-feature__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .m-feature--row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .m-feature--row .m-fig__frame img { max-width: 100%; }
  .m-feature--rev > div:first-child { grid-column: 2; }
  .m-feature--rev .m-feature__side { grid-column: 1; grid-row: 1; }
  .m-feature--compact { grid-template-columns: 1fr; }
  .m-feature--compact > div:first-child { grid-row: 2; }
  .m-feature--compact .m-feature__side { grid-column: 1; grid-row: 1; }
}
.m-feature--compact { padding: var(--s-4); }
.m-feature--compact h3 { font-size: var(--fs-md); }
.m-feature--compact p { font-size: var(--fs-sm); }
.m-feature--compact .m-fig__frame img { max-width: 100%; }
.t-dark .m-feature { background: rgba(16, 21, 30, 0.82); }
.t-dark .m-fig__frame { background: #0B1017; }

/* Card grids with a trailing link or button: equal heights, body grows, the action sits on one baseline */
.m-card, .m-tile, .m-printer, .m-blog-card__body, .m-feature--compact > div:first-child, .m-hw__card > div:last-child { display: flex; flex-direction: column; height: 100%; }
.m-card > .m-link, .m-tile > .m-link, .m-printer > .m-link, .m-blog-card__body > .m-link, .m-hw__card > div:last-child > .m-link, .m-tile > .m-tag, .m-feature--compact .m-feature__where { margin-top: auto; }
.m-card > p, .m-printer > p, .m-hw__card > div:last-child > p, .m-blog-card__body > p { flex: 1 0 auto; }
.m-card > p:last-child, .m-printer > p:last-child { flex: 0 0 auto; }
.m-hw__card > div:last-child > p { margin-bottom: var(--s-4); }
.m-hw__card > div:last-child > .m-link { padding-top: var(--s-2); }
.m-grid > .m-card, .m-grid > .m-tile, .m-grid > .m-printer, .m-grid > .m-blog-card, .m-grid > .m-feature { height: 100%; }
.m-card > .m-chip, .m-printer > .m-chip, .m-hw__card > div:last-child > .m-chip, .m-tile > .m-chip { align-self: flex-start; }

/* Product detail page */
.m-product { padding-bottom: var(--s-8); }
.m-product__top { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 992px) { .m-product__top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); } }
.m-product__gallery { padding: var(--s-4); }
.m-product__preview { position: relative; aspect-ratio: 4 / 3; max-height: 540px; display: flex; align-items: center; justify-content: center; background: var(--c-bg-1); border-radius: var(--r-m); }
.m-product__preview .product-gallery-preview-item { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: var(--s-4); }
.m-product__preview .product-gallery-preview-item.active { display: flex; }
.m-product__preview img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.m-product__thumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.m-product__thumbs .product-gallery-thumblist-item { width: 64px; height: 64px; margin: 0; padding: 4px; border: 1px solid var(--c-line); border-radius: var(--r-s); background: var(--c-bg-1); }
.m-product__thumbs .product-gallery-thumblist-item.active { border-color: var(--c-navy); }
.m-product__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.m-noimg { aspect-ratio: 4 / 3; max-height: 540px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-3); color: var(--c-faint); background: var(--c-bg-2); border: 1px dashed var(--c-line-strong); border-radius: var(--r-m); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; }
.m-noimg svg { width: 56px; height: 56px; }
.m-noimg--sm { aspect-ratio: auto; height: 100%; border: 0; background: transparent; }
.m-product__buy .m-eyebrow { margin-bottom: var(--s-3); }
.m-product__buy .m-eyebrow a { color: inherit; }
.m-product__title { font-size: var(--fs-2xl); letter-spacing: -0.025em; margin: 0 0 var(--s-3); }
.m-product__price { display: flex; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-3); }
.m-product__price b { font-size: var(--fs-2xl); font-weight: 600; color: var(--c-text); letter-spacing: -0.02em; }
.m-product__price del { color: var(--c-faint); }
.m-product__quote { font-size: var(--fs-md); color: var(--c-text-2); }
.m-product__stock { margin-bottom: var(--s-4); }
.m-product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); padding: var(--s-4) 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.m-product__qty { display: inline-flex; align-items: center; gap: var(--s-2); margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.m-product__qty input { width: 5.5rem; }
.m-product__actions .m-btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.m-product__short { margin-top: var(--s-4); color: var(--c-text-2); font-size: var(--fs-sm); }
.m-product__ship { margin-top: var(--s-4); }
.m-product__ship .accordion-item { border: 1px solid var(--c-line); border-radius: var(--r-m); background: var(--c-bg-1); }
.m-product__ship .accordion-button { font-weight: 600; font-size: var(--fs-sm); padding: var(--s-3) var(--s-4); background: var(--c-bg-1); }
.m-product__ship .accordion-body { padding: 0 var(--s-4) var(--s-3); }
.m-ship { width: 100%; font-size: var(--fs-sm); border-collapse: collapse; }
.m-ship th { font-weight: 500; color: var(--c-text); text-align: left; padding: var(--s-2) 0; border-top: 1px solid var(--c-line); }
.m-ship th small { display: block; color: var(--c-muted); font-weight: 400; }
.m-ship td { text-align: right; color: var(--c-muted); font-family: var(--font-mono); border-top: 1px solid var(--c-line); }
.m-ship tr:first-child th, .m-ship tr:first-child td { border-top: 0; }
.m-ship__note { margin: var(--s-2) 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
.m-product__share { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }
.m-product__tabs { margin-top: var(--s-6); padding: 0; }
.m-product__tabs .nav-tabs { padding: 0 var(--s-5); background: var(--c-bg-2); border-bottom: 1px solid var(--c-line); }
.m-product__tabs .nav-tabs .nav-link { padding: var(--s-4) var(--s-3); color: var(--c-muted); font-weight: 500; font-size: var(--fs-sm); }
.m-product__tabs .nav-tabs .nav-link.active, .m-product__tabs .nav-tabs .nav-link:hover { color: var(--c-text); border-bottom-color: var(--c-navy); }
.m-product__tabs .tab-content { padding: var(--s-5); }
.m-product__tabs .m-prose { max-width: 78ch; }
.m-product__tabs .m-spec-wrap { margin-top: var(--s-4); }
.m-product__related { margin-top: var(--s-8); }
.m-related { color: inherit; }
.m-related__title { display: block; font-weight: 600; color: var(--c-text); font-size: var(--fs-sm); line-height: 1.35; }
.m-related__price { display: block; margin-top: auto; padding-top: var(--s-2); color: var(--c-accent); font-weight: 600; font-size: var(--fs-sm); }
.m-related .m-blog-card__img { aspect-ratio: 1; }

.m-related, .m-related .m-blog-card__body { height: auto; }
.m-related__price { margin-top: var(--s-2); }

/* =========================================================================
   G. Textures: generated tiles (marketing/tools/textures.py) behind bands.
   A tile layer fills the band and repeats; the wash and dark rules above do
   not apply to it. Fades run from an edge toward the content.
   ========================================================================= */
.cb > .cb__bg--tile, .cb:not(.t-dark):not(.m-hero):not(.m-pagehead):not(.m-cta):has(> .cb__bg) > .cb__bg--tile {
  inset: 0; left: 0; right: 0; top: 0; bottom: auto; width: auto; max-width: none; height: 100%;
  background-repeat: repeat; background-position: 0 0; background-size: 768px auto;
  opacity: 1; filter: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), #000 12%, #000 88%, rgba(0, 0, 0, 0.9));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), #000 12%, #000 88%, rgba(0, 0, 0, 0.9));
  -webkit-mask-composite: source-over; mask-composite: add;
}
.cb > .cb__bg--tile.cb__bg--fade-r, .cb:not(.t-dark):has(> .cb__bg) > .cb__bg--tile.cb__bg--fade-r { background-size: 1400px auto; background-position: right top; -webkit-mask-image: linear-gradient(90deg, transparent 18%, rgba(0, 0, 0, 0.45) 55%, #000 100%); mask-image: linear-gradient(90deg, transparent 18%, rgba(0, 0, 0, 0.45) 55%, #000 100%); }
.cb > .cb__bg--tile.cb__bg--fade-l, .cb:not(.t-dark):has(> .cb__bg) > .cb__bg--tile.cb__bg--fade-l { -webkit-mask-image: linear-gradient(270deg, transparent 18%, rgba(0, 0, 0, 0.45) 55%, #000 100%); mask-image: linear-gradient(270deg, transparent 18%, rgba(0, 0, 0, 0.45) 55%, #000 100%); }
.m-hero > .cb__bg--tile { background-size: 448px auto; opacity: 0.32; }
.m-pagehead > .cb__bg--tile, .m-cta > .cb__bg--tile { opacity: 0.85; }
.cb:not(.t-dark):has(> .cb__bg--tile) > .cb__bg--tile { opacity: 0.72; }
.cb:not(.t-dark):has(> .cb__bg--tile) { background: #DADDE2; }
.tex-carbon-twill { background-image: url('../tex/carbon-twill.jpg'); background-image: image-set(url('../tex/carbon-twill.webp') type('image/webp'), url('../tex/carbon-twill.jpg') type('image/jpeg')); }
.tex-hex-mesh { background-image: url('../tex/hex-mesh.jpg'); background-image: image-set(url('../tex/hex-mesh.webp') type('image/webp'), url('../tex/hex-mesh.jpg') type('image/jpeg')); }
.tex-topo-dark { background-image: url('../tex/topo-dark.jpg'); background-image: image-set(url('../tex/topo-dark.webp') type('image/webp'), url('../tex/topo-dark.jpg') type('image/jpeg')); }
.tex-circuit-dark { background-image: url('../tex/circuit-dark.jpg'); background-image: image-set(url('../tex/circuit-dark.webp') type('image/webp'), url('../tex/circuit-dark.jpg') type('image/jpeg')); }
.tex-gyroid-dark { background-image: url('../tex/gyroid-dark.jpg'); background-image: image-set(url('../tex/gyroid-dark.webp') type('image/webp'), url('../tex/gyroid-dark.jpg') type('image/jpeg')); }
.tex-seam-loops { background-image: url('../tex/seam-loops.jpg'); background-image: image-set(url('../tex/seam-loops.webp') type('image/webp'), url('../tex/seam-loops.jpg') type('image/jpeg')); }
.tex-brushed-metal { background-image: url('../tex/brushed-metal.jpg'); background-image: image-set(url('../tex/brushed-metal.webp') type('image/webp'), url('../tex/brushed-metal.jpg') type('image/jpeg')); }
.tex-layer-lines { background-image: url('../tex/layer-lines.jpg'); background-image: image-set(url('../tex/layer-lines.webp') type('image/webp'), url('../tex/layer-lines.jpg') type('image/jpeg')); }
.tex-topo-light { background-image: url('../tex/topo-light.jpg'); background-image: image-set(url('../tex/topo-light.webp') type('image/webp'), url('../tex/topo-light.jpg') type('image/jpeg')); }
.tex-gyroid-light { background-image: url('../tex/gyroid-light.jpg'); background-image: image-set(url('../tex/gyroid-light.webp') type('image/webp'), url('../tex/gyroid-light.jpg') type('image/jpeg')); }
.tex-rectilinear-light { background-image: url('../tex/rectilinear-light.jpg'); background-image: image-set(url('../tex/rectilinear-light.webp') type('image/webp'), url('../tex/rectilinear-light.jpg') type('image/jpeg')); }

/* A fifth solution card spans the row */
.m-hw__card:nth-child(5):last-child { grid-column: 1 / -1; }

/* A page that closes on a dark call-to-action band meets the footer directly */
main:has(> .m-cta.t-dark:last-child) + .sf, main:has(> .m-cta.cb:last-child) + .sf { margin-top: 0; }
