/* Santosh Magnetic Works: the Works Catalogue.
   A layer over the inherited theme stylesheet. The theme keeps layout
   mechanics; this file owns the look. Red is reserved for the action. */

:root {
  --ink: #16181A;
  --ink-2: #33383D;
  --muted: #5B6268;
  --rule: #D9DDE0;
  --steel: #F2F4F5;
  --paper: #FFFFFF;
  --red: #E20026;
  --red-deep: #B8001F;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Ground and type ---------- */

html { background: var(--paper); }
body {
  color: var(--ink);
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
p, li, address { line-height: 1.62; }
a { color: inherit; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.5rem + 2.7vw, 4rem); letter-spacing: -.024em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); letter-spacing: -.018em; line-height: 1.1; }
h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); letter-spacing: -.01em; line-height: 1.22; }
h4 { font-size: 1.0625em; letter-spacing: -.004em; line-height: 1.3; }
h6 { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Section heads: scale, not a red bar. */
.bordered-header { text-indent: 0; }
.bordered-header::before { display: none; }
.row__intro { position: relative; padding-top: 28px; }
.row__intro::before { content: ""; position: absolute; top: 0; left: 15px; right: 15px; height: 1px; background: var(--rule); }
@media (min-width: 550px) { .row__intro::before { left: 30px; right: 30px; } }
.row__intro h3.bordered-header,
.row__intro h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.625rem); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .45em; }
.row__intro p, .row__intro .intro, .content__body > p:first-child {
  color: var(--ink-2);
}
.row__intro p, .row__intro .intro { max-width: 62ch; font-size: 1.0625em; }

.row--alt { background: var(--steel); }
.alt-swap { background: var(--paper) !important; }
.row:not(.row--alt) .alt-swap { background: var(--steel) !important; }

/* ---------- Actions ---------- */

.button,
input[type=submit],
.InputfieldSubmit button {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: .005em;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.button:hover, input[type=submit]:hover { background: var(--red-deep); color: #fff; }
.button:active, input[type=submit]:active { transform: translateY(1px); }
.button--large { border-left: 0; }

/* ---------- Header ---------- */

body:not(.home) > div > header { border-bottom: 1px solid var(--rule); }
header .main-nav > ul > li > a { font-weight: 500; }
header nav li .children { padding-top: 18px; }
header nav li .children ul {
  border: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  box-shadow: 0 18px 40px -18px rgba(22, 24, 26, .28);
}
header nav li .children li { border-top-color: var(--rule); }
header nav li .children li a { color: var(--ink); transition: background-color .15s var(--ease); }
header nav li .children li a:hover { background: var(--steel); }

/* ---------- Thumb-index: the six families ---------- */

.thumb-index { background: var(--paper); border-bottom: 1px solid var(--rule); }
.thumb-index .row__inner {
  display: flex; gap: 0 28px; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.thumb-index .row__inner::-webkit-scrollbar { display: none; }
.thumb-index a {
  flex: none; padding: 15px 0 13px; font-size: .8125rem; font-weight: 500;
  color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.thumb-index a:hover { color: var(--ink); }
.thumb-index a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }

.subnav { border-top: 0; border-bottom: 1px solid var(--rule); }
.subnav ul { font-size: .8125rem; }
.subnav li a { font-weight: 500; }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs { font-size: .8125rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs .row__inner { color: var(--ink); }

/* ---------- Banners ---------- */

.banner__text h1,
.banner__text h1.regular {
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem);
  font-weight: 600; letter-spacing: -.028em; line-height: 1.02;
}
.home .banner__text h1.regular { max-width: 11.5em; }
.home .banner__text { animation: settle 1.1s var(--ease) both; }
@keyframes settle { from { transform: translateY(18px); opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .home .banner__text { animation: none; } }

.banner--about .banner__text { padding: 40px 44px 44px; }
.banner--about .banner__text h6 { margin: 0 0 1em; }
.banner--about .banner__text h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.28; }

/* ---------- Plates: product and family cards ---------- */

.grid--product-category { gap: 24px; }
.grid--product-category .grid__item a {
  background: var(--paper) !important;
  border: 1px solid var(--rule);
  transition: border-color .2s var(--ease);
}
.grid--product-category .grid__item a:hover { border-color: var(--ink); }
.grid--product-category a .image { padding: 32px 32px 8px; height: 272px; }
.grid--product-category a .image img { width: 100%; height: 100%; object-fit: contain; }
.grid--product-category a .text { padding: 20px 28px 28px; }
.grid--product-category a .text h3 { font-size: 1.3125rem; letter-spacing: -.012em; line-height: 1.24; }
.grid--product-category a .text p { color: var(--muted); font-size: .8889em; margin-top: .6em; }
.grid--product-category a .button {
  background: transparent !important; color: var(--ink);
  border-top: 1px solid var(--rule); padding: 17px 28px;
  font-size: .8333em;
}
.grid--product-category a .button::after { filter: brightness(0); transition: transform .2s var(--ease); }
.grid--product-category a:hover .button::after { transform: translateX(4px); }
.grid__item:hover h3 { color: var(--ink); }

/* Home family tiles */
.home .home-categories .grid { gap: 24px; }
.home .home-categories .grid .expandHint { border: 1px solid var(--rule); background: var(--paper); transition: border-color .2s var(--ease); }
.home .home-categories .grid .expandHint:hover { border-color: var(--ink); }
.home .home-categories .grid .expandHint__text { border-left: 0; }
.home .home-categories .grid h2 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.012em; }
.expandHint .expandHint__text p { color: var(--muted); }

/* Industries: home index rows and the industries grid */
.grid--home-industries a { border: 1px solid var(--rule); transition: border-color .2s var(--ease); }
.grid--home-industries a:hover { border-color: var(--ink); }
.grid--home-industries a span { font-weight: 500; }
.grid--product-category-info a div, .grid--industries a div, .info_boxes_1 .grid a div { border-left: 0; }

/* ---------- Readings ---------- */

.statistics .row__inner .statistics__item { border-top: 1px solid var(--ink); padding-top: 22px; }
.statistics .row__inner .statistics__item .title {
  color: var(--ink); font-weight: 600; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums lining-nums;
}
.statistics .row__inner .statistics__item .text { color: var(--muted); }

table, .tab-item ul, .product__intro ul { font-variant-numeric: tabular-nums lining-nums; }

/* Product page */
.product__gallery { border: 1px solid var(--rule); }
.product__thumbnails a { border: 1px solid var(--rule); }
.product__thumbnails a.active { border-color: var(--ink); }
.product__intro h1 { letter-spacing: -.024em; }

.tabbed-content .horizontal-overflow { border-bottom: 1px solid var(--rule); }
.tabbed-content__tabs li { margin-right: 32px; }
.tabbed-content__tabs li a {
  background: transparent; border-top: 0; border-bottom: 2px solid transparent;
  opacity: 1; color: var(--muted); min-width: 0; padding: 16px 0 14px; font-weight: 500;
  margin-bottom: -1px; transition: color .15s var(--ease), border-color .15s var(--ease);
}
@media (min-width: 1400px) { .tabbed-content__tabs li a { padding: 18px 0 16px; min-width: 0; } }
.tabbed-content__tabs li a:hover { color: var(--ink); }
.tabbed-content__tabs li.active a { color: var(--ink); border-color: var(--ink); }
.tabbed-content__content .tab-item { background: var(--paper); padding-left: 0; padding-right: 0; }
.tabbed-content__content .tab-item .row { background: transparent; }
.tab-item h6 { margin-bottom: 1.2em; }

/* Specifications as ruled readings: label, then value. */
#technical_data ul, #models ul {
  list-style: none; padding: 0; margin: 1.5em 0; border-top: 1px solid var(--ink); max-width: 860px;
}
#technical_data ul li, #models ul li {
  display: grid; grid-template-columns: minmax(9em, 34%) 1fr; column-gap: 28px;
  padding: 14px 0; margin: 0; border-bottom: 1px solid var(--rule);
}
#technical_data ul li::before, #models ul li::before { display: none; }
#technical_data ul li strong, #models ul li strong { font-weight: 500; color: var(--muted); }

/* The base sets tables to display: block, which stops the rows reaching full
   width; the wrapper div already scrolls a wide table, and carries the margin. */
.tab-item table, .content table { display: table; width: 100%; border-collapse: collapse; margin: 0; font-size: .889em; }
.tab-item div[style*="overflow-x"], .content div[style*="overflow-x"] { margin: 1.5em 0; }
/* A guide table scrolls on a phone before its columns crush to a word a line. */
.content table { min-width: 34em; }
/* :is() matches the base's .content table td, which drew red borders on every cell. */
.tab-item table :is(th, td), .content table :is(th, td) { border: 0; padding: 12px 16px; }
.tab-item table :is(th, td):first-child, .content table :is(th, td):first-child { padding-left: 0; }
.tab-item table th, .content table th {
  text-align: left; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--ink); white-space: nowrap;
}
.tab-item table td, .content table td { border-bottom: 1px solid var(--rule); }
.tab-item table tr:hover td { background: var(--steel); }

/* ---------- Forms ---------- */

.FormBuilder input[type=text], .FormBuilder input[type=email], .FormBuilder input[type=tel],
.FormBuilder textarea, .FormBuilder select, .nice-select {
  border: 1px solid var(--rule); border-radius: 0; background: var(--paper);
  transition: border-color .15s var(--ease);
}
.FormBuilder input:hover, .FormBuilder textarea:hover, .nice-select:hover { border-color: var(--muted); }
.FormBuilder input:focus, .FormBuilder textarea:focus { border-color: var(--ink); outline: none; }
.FormBuilder label.InputfieldHeader { font-weight: 500; font-size: .8889em; color: var(--ink); }

/* ---------- The destination: every spread ends here ---------- */

.row--action { background: var(--ink); padding: 3.2em 0; }
.row--action .row__inner { flex-wrap: wrap; gap: 20px 40px; }
.row--action h3 { font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); letter-spacing: -.015em; line-height: 1.25; flex: 1 1 26em; margin: 0; }
.row--action h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.action-contact { display: flex; flex-wrap: wrap; gap: 12px; }
.action-contact a {
  display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.35em;
  font-size: .8889em; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.action-contact .ac-call { border: 1px solid rgba(255, 255, 255, .45); }
.action-contact .ac-call:hover { border-color: #fff; }
.action-contact .ac-wa { background: var(--red); }
.action-contact .ac-wa:hover { background: var(--red-deep); }
.row--action .action-contact i { font-size: 16px; }
.row--action a:focus-visible { outline-color: #fff; }

/* ---------- Footer ---------- */

footer.footer .row--alt { background: var(--paper); border-top: 1px solid var(--rule); }
footer .footer-columns h6, footer .footer-columns h5, footer .footer-columns h4 { color: var(--ink); }
footer .footer-columns ul a:hover { color: var(--ink); text-decoration: underline; }
footer .row--bordered { border-top: 1px solid var(--rule); }

/* ---------- Guides (Read) ---------- */

.article-intro h1.bordered-header { text-indent: 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.page-builder-simple p, .page-builder-simple li { max-width: 68ch; }
.page-builder-simple h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); margin: 1.8em 0 .5em; }

/* ---------- About ---------- */

.icon_boxes_1__item { border-top: 1px solid var(--ink); background: transparent !important; padding: 22px 24px 24px; }
.team__image h3 { background: var(--paper); font-size: 1.125em; }
.team h6, .team__item h6 { color: var(--muted); }

/* ---------- Round-one corrections ---------- */

/* Home hero: the title block reads over busy footage. */
.home .banner__text h1.regular { font-size: clamp(2.5rem, 1.7rem + 2.6vw, 4.25rem); }
.home .home-banner__container .swiper-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 14, 16, .62) 0%, rgba(12, 14, 16, .32) 42%, rgba(12, 14, 16, 0) 70%),
              linear-gradient(0deg, rgba(12, 14, 16, .35) 0%, rgba(12, 14, 16, 0) 40%);
}
.home .home-banner__container .swiper-pagination-bullet { background: #fff; opacity: .5; }
.home .home-banner__container .swiper-pagination-bullet-active { background: #fff; opacity: 1; }
/* Edge arrows: the dots alone did not say there are more slides. */
.home-banner__container .hero-prev, .home-banner__container .hero-next {
  position: absolute; top: 50%; z-index: 3; width: 64px; height: 64px; padding: 0; border: 0; cursor: pointer;
  transform: translateY(-50%); background: rgba(22,24,26,.42) center / 20px no-repeat;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .25s var(--ease);
}
.home-banner__container .hero-prev { left: 24px; background-image: url(/site/assets/images/svg/icon-angle-white-left.svg); }
.home-banner__container .hero-next { right: 24px; background-image: url(/site/assets/images/svg/icon-angle-white-right.svg); }
.home-banner__container .hero-prev:hover, .home-banner__container .hero-next:hover { background-color: rgba(22,24,26,.72); }
.home-banner__container .hero-prev:focus-visible, .home-banner__container .hero-next:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 767px) {
  /* On a phone the title fills the lower half; the arrows sit above it. */
  .home-banner__container .hero-prev, .home-banner__container .hero-next { top: 34%; width: 48px; height: 48px; background-size: 15px; }
  .home-banner__container .hero-prev { left: 12px; }
  .home-banner__container .hero-next { right: 12px; }
}

/* Footer: white page, ruled. */
footer { background: var(--paper); border-top: 1px solid var(--rule); }

/* One index bar on family pages: the thumb-index replaces the in-page subnav. */
.thumb-index + .content-wrapper > .subnav { display: none; }

/* Product page */
.thumb-index + .row--x-small-padding { padding-top: 2.4em; }
.product__gallery button { background-color: var(--ink); border-radius: 0; }
.product__gallery button:hover { background-color: #000; }
.product__gallery button.disabled, .product__gallery button.disabled:hover { background-color: #E2E2E2; box-shadow: none; }
.product__thumbnails a.active::before { background-color: var(--ink); }
@media (min-width: 1024px) {
  .tabbed-content__content .tab-item { padding-left: 0; padding-right: 0; }
}
@media (max-width: 1023px) {
  .tabbed-content__content .tab-item { padding-left: 15px; padding-right: 15px; }
  .product__details .horizontal-overflow { padding: 0 15px; }
}
@media (min-width: 550px) and (max-width: 1023px) {
  .tabbed-content__content .tab-item { padding-left: 30px; padding-right: 30px; }
  .product__details .horizontal-overflow { padding: 0 30px; }
}

/* Bullets and chevrons in ink; red stays with the action. */
.content ul li { list-style-image: none; list-style-type: square; }
.content ul li::marker { color: var(--muted); }
.grid--home-industries a img:last-child { content: url(/site/assets/images/svg/icon-angle-right-ink.svg); }
.c2a a:not(.button)::after { background-image: url(/site/assets/images/svg/icon-angle-right-ink.svg); }
.grid .tag, .page-swiper .tag { background: var(--ink); letter-spacing: .02em; }
.tab-item table th, .content table th, table thead th, table th { background: transparent; color: var(--ink); }
.tab-item table td:first-child, .content table td:first-child { font-weight: 500; }
header nav li .children ul { box-shadow: none; }
.product__thumbnails a.active::before { top: auto; bottom: 0; left: 0; width: 100%; height: 2px; }

/* ---------- Finish review corrections ---------- */

/* 1. Specifications are never behind a tab: every panel shows, tabs jump. */
.tabbed-content__content .tab-item { display: block; }
.tabbed-content__content .tab-item + .tab-item { border-top: 1px solid var(--rule); }

/* 2. The stats row becomes a ruled register at reading scale. */
.row.statistics { padding-top: 3.2em !important; padding-bottom: 3.2em !important; }
.statistics .row__inner,
.statistics .row__inner.statistics__three { display: block; }
.statistics .row__inner .statistics__item {
  display: grid; grid-template-columns: minmax(7em, 22%) 1fr; column-gap: 32px; align-items: baseline;
  border-top: 1px solid var(--rule); padding: 18px 0; margin: 0;
}
.statistics .row__inner .statistics__item:first-child { border-top-color: var(--ink); }
.statistics .row__inner .statistics__item .title {
  font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); margin: 0; line-height: 1.2;
}
.statistics .row__inner .statistics__item .title span { display: none; }
.statistics .row__inner .statistics__item .text { margin: 0; font-size: 1em; color: var(--ink-2); }

/* 3. No kickers above headings. */
.overview-mini-title { display: none; }
h6:has(+ h2) { display: none; }
.banner--about .banner__text { display: flex; flex-direction: column; }
.banner--about .banner__text h3 { order: 1; margin-top: 0; }
.banner--about .banner__text h4, .banner--about .banner__text h6 {
  order: 2; margin: 1em 0 0; font-size: .8125rem; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--muted) !important;
}
.banner--about .banner__text .c2a { order: 3; margin-top: 1.6em; }

/* 4. Inner pages: the title on white, the photograph framed below it. */
body:not(.home) .banner.row { height: auto; padding: 0; background: var(--paper); display: flex; flex-direction: column; }
body:not(.home) .banner::after { display: none; }
body:not(.home) .banner .row__inner { display: block; height: auto; padding-top: 56px; padding-bottom: 32px; }
body:not(.home) .banner .banner__text {
  position: static; width: auto; max-width: none; padding: 0;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px;
}
body:not(.home) .banner .banner__text h1 { color: var(--ink); margin: 0; max-width: 14em; }
body:not(.home) .banner .banner__text .c2a { margin: 0 0 .45em; }
body:not(.home) .banner picture {
  position: relative; display: block; box-sizing: border-box; width: calc(1334px - 60px); max-width: calc(100% - 30px);
  margin: 0 auto; aspect-ratio: 4 / 3; overflow: hidden;
}
body:not(.home) .banner picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 550px) {
  body:not(.home) .banner picture { max-width: calc(100% - 60px); aspect-ratio: 16 / 7; }
  body:not(.home) .banner .row__inner { padding-top: 72px; padding-bottom: 40px; }
}
@media (min-width: 1024px) { body:not(.home) .banner picture { aspect-ratio: 1334 / 440; } }

/* 5. Home first viewport: title block low-left, button beside it, plates at the fold. */
.home .home-banner__container, .home .home-banner__container .banner,
.home .home-banner__container .swiper-slide { height: max(520px, 78svh); }
@media (min-width: 768px) {
  /* The film's own proportion (1224 x 720), up to the full screen: no cropped frame. */
  .home .home-banner__container, .home .home-banner__container .banner,
  .home .home-banner__container .swiper-slide { height: clamp(560px, 58.8vw, 100svh); }
}
.home .home-banner__container video { height: 100%; }
.home .home-banner__container .row__inner { align-items: flex-end; padding-bottom: 64px; }
.home .home-banner__container .banner__text {
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: auto; max-width: calc(100% - 60px);
}
.home .home-banner__container .banner__text h1 { margin: 0; }
.home .home-banner__container .banner__text .c2a { margin: 0; }
.home .home-banner__container + .row { padding-top: 40px; }
.home .home-banner__container + .row .row__intro { padding-top: 0; }
.home .home-banner__container + .row .row__intro::before { display: none; }
.home .home-banner__container + .row .row__intro p { margin-bottom: 0; }

/* 6. Red stays with the action; the guides row starts at the edge. */
#guides .swiper-controls img { filter: brightness(0); }
.swiper-pagination-bullet-active { box-shadow: none; outline: 0; border: 0; }
.home .page-swiper .tag { display: none; }

/* 7. Product page craft. */
.tab-item p, .overview p { max-width: 68ch; }
.product__intro p { text-wrap: pretty; }
.product__top-left .breadcrumbs .row__inner { padding-left: 0; padding-right: 0; }
.product__thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 88px)); gap: 8px; }
.product__thumbnails a { width: auto; min-width: 0; overflow: hidden; margin: 0; }
.product__thumbnails a div { width: 100%; }
.product__gallery .gallery-count {
  position: absolute; top: 14px; right: 16px; left: auto; bottom: auto; width: auto; z-index: 2;
  font-size: .8125rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--muted);
}

/* 8. Plate finish and browser surfaces. */
.grid--product-category a .image img { mix-blend-mode: multiply; max-width: 88%; margin: 0 auto; display: block; }
.home .home-categories .grid .expandHint__text { border-top: 1px solid var(--rule); }
:root { accent-color: var(--ink); }
input, textarea { caret-color: var(--red); }

/* ---------- Verdict round corrections ---------- */


/* Breadcrumb before the title on inner pages. */
body:not(.home) .content-wrapper { display: flex; flex-direction: column; }
body:not(.home) .content-wrapper > .breadcrumbs,
body:not(.home) .content-wrapper > .row--breadcrumbs { order: -1; border-bottom: 0; }
body:not(.home) .content-wrapper > .breadcrumbs + .banner .row__inner,
body:not(.home) .content-wrapper > .banner .row__inner { padding-top: 32px; }
.content-wrapper > .row--breadcrumbs { padding: 0; }

/* Plates: near-white JPG grounds lift to the plate's white. */
.grid--product-category a .image img { filter: brightness(1.045) contrast(1.02); }

/* Wide tables scroll with an edge cue; model names never break. */
.tab-item div[style*="overflow-x"], .content div[style*="overflow-x"] {
  background:
    linear-gradient(90deg, #fff 60%, rgba(255,255,255,0)) left / 32px 100% no-repeat local,
    linear-gradient(270deg, #fff 60%, rgba(255,255,255,0)) right / 32px 100% no-repeat local,
    linear-gradient(90deg, rgba(22,24,26,.24), rgba(22,24,26,0)) left / 18px 100% no-repeat scroll,
    linear-gradient(270deg, rgba(22,24,26,.24), rgba(22,24,26,0)) right / 18px 100% no-repeat scroll;
}
.tab-item table td:first-child, .tab-item table th:first-child { white-space: nowrap; }
.tab-item table tr:hover td { background: transparent; }
/* The active hero dot drew a red ring through its ::after. */
.home .home-banner__container .swiper-pagination .swiper-pagination-bullet::after,
.home .home-banner__container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::after { display: none; }

/* ---------- Motion: one grammar, quiet and exact ---------- */

html { scroll-behavior: smooth; }

/* Hero: title, then action, settle in; a scroll cue breathes at the foot. */
.home .home-banner__container .banner__text { animation: none; }
.home .home-banner__container .banner__text h1 { animation: settle 1.2s var(--ease) both; }
.home .home-banner__container .banner__text .c2a { animation: settle 1.2s .18s var(--ease) both; }
.home .home-banner__container { position: relative; }
.hero-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 4; display: grid; place-items: center;
  width: 44px; height: 44px; margin-left: -22px; color: #fff; text-decoration: none; opacity: .85;
  transition: opacity .2s var(--ease);
}
.hero-cue:hover { opacity: 1; }
.hero-cue svg { width: 28px; height: 28px; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

/* Scroll reveals: javascript.js adds .reveal below the fold only, so a page
   without scripts, or already on screen, is never hidden. */
.reveal { opacity: .4; transform: translateY(12px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Images arrive softly as they load. */
img.fade-in { opacity: 0; transition: opacity .7s var(--ease); }
img.fade-in.is-loaded { opacity: 1; }

/* Plates: the product eases forward, the arrow leads. */
.grid--product-category a .image { overflow: hidden; }
.grid--product-category a .image img { transition: transform .8s var(--ease), filter .3s; }
.grid--product-category a:hover .image img { transform: scale(1.04); }
.home .home-categories .grid .expandHint > img, .home .home-categories .grid .expandHint picture img { transition: transform .9s var(--ease); }
.home .home-categories .grid .expandHint:hover > img, .home .home-categories .grid .expandHint:hover picture img { transform: scale(1.035); }
.grid--home-industries a img:first-child { transition: transform .8s var(--ease); }
.grid--home-industries a { overflow: hidden; }
.grid--home-industries a:hover img:first-child { transform: scale(1.06); }
.grid--home-industries a img:last-child { transition: transform .3s var(--ease); }
.grid--home-industries a:hover img:last-child { transform: translateX(4px); }
.team__image { overflow: hidden; }
.team__image img { transition: transform 1s var(--ease); }
.team__item:hover .team__image img { transform: scale(1.025); }

/* Links and actions */
header .main-nav > ul > li > a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease);
  padding-bottom: 3px;
}
header .main-nav > ul > li > a:hover, header .main-nav > ul > li:focus-within > a { background-size: 100% 1px; }
.button::after, .c2a a::after { transition: transform .3s var(--ease); }
.button:hover::after, .c2a a:hover::after { transform: translateX(3px); }
.row--action .icon { transition: transform .35s var(--ease); }
.header-contact .hc-wa, .action-contact .ac-wa { transition: background-color .2s var(--ease), transform .2s var(--ease); }
.header-contact .hc-wa:active, .action-contact a:active { transform: translateY(1px); }
.thumb-index a { background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 2px no-repeat; transition: color .2s var(--ease), background-size .4s var(--ease); }
.thumb-index a:hover { background-size: 100% 2px; }
.thumb-index a[aria-current] { background-size: 100% 2px; border-bottom-color: transparent; }

/* Client register: quiet until you look. */
.clients-strip img { transition: filter .45s var(--ease), opacity .45s var(--ease), transform .45s var(--ease); }
.clients-strip img:hover { filter: grayscale(1); opacity: .72; transform: scale(.96); }

/* The sticky header arrives instead of appearing. */
.sticky-header header { animation: drop .45s var(--ease) both; }
@keyframes drop { from { transform: translateY(-100%); } }

/* Dropdown eases open. */
/* translate, not transform: the theme centres the panel with transform. */
header nav li .children { translate: 0 6px; transition: opacity .25s var(--ease), translate .35s var(--ease); }
header nav li.parent:hover .children, header nav li.parent:focus-within .children { translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Product gallery: the theme hid the photo on hover for the retired magnifier. */
.product__image .product-zoom img:hover { opacity: 1; }
.product__image .product-zoom { overflow: hidden; }
.product__image .product-zoom img { transition: transform .9s var(--ease); }
.product__image .product-zoom:hover img { transform: scale(1.03); }

/* The table's own ground covered the scroll cue behind it. */
.tab-item div[style*="overflow-x"] table, .content div[style*="overflow-x"] table { background: transparent; }
#product-families { scroll-margin-top: 170px; }
@media print { .reveal, img.fade-in { opacity: 1 !important; transform: none !important; } .hero-cue, .thumb-index { display: none; } }

/* ---------- Family guides: a ruled reading list ---------- */

.family-guides__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.family-guides__list li { margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.family-guides__list li::marker { content: none; }
.family-guides__list a {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 20px; gap: 6px 32px; align-items: baseline;
  padding: 20px 0; text-decoration: none; color: var(--ink);
}
.family-guides__list a::after {
  content: ""; width: 10px; height: 14px; align-self: center;
  background: url(/site/assets/images/svg/icon-angle-right-ink.svg) center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.family-guides__list a:hover::after { transform: translateX(4px); }
.family-guides__list a:hover .family-guides__title { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.family-guides__title { font-weight: 600; font-size: 1.0625em; letter-spacing: -.005em; }
.family-guides__text { color: var(--muted); font-size: .9444em; }
@media (max-width: 767px) {
  .family-guides__list a { grid-template-columns: 1fr 20px; }
  .family-guides__text { grid-column: 1; }
  .family-guides__list a::after { grid-row: 1 / span 2; grid-column: 2; }
}

/* ---------- Fresh review corrections ---------- */

/* Mobile specifications: the model column stays put while the table scrolls. */
.tab-item table th:first-child, .tab-item table td:first-child {
  position: sticky; left: 0; z-index: 1; background: var(--paper); box-shadow: inset -1px 0 0 var(--rule);
}

/* Client register: a logo supplied on a black ground reads as a block. */
.clients-strip img[alt="Smoor"] { filter: invert(1) grayscale(1); mix-blend-mode: multiply; }
.clients-strip img[alt="Smoor"]:hover { filter: invert(1) grayscale(1); opacity: .72; }

/* Six portraits span the full column. */
.grid--team { max-width: none; }

/* The scroll cue: the table's right edge fades while more columns wait. */
.tab-item div[style*="overflow-x"].has-more, .content div[style*="overflow-x"].has-more {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), rgba(0,0,0,.18));
  mask-image: linear-gradient(90deg, #000 calc(100% - 44px), rgba(0,0,0,.18));
}
.tab-item table th, .tab-item table td { white-space: nowrap; }

/* ---------- Guide figures: SMAG photographs and line diagrams ---------- */

.guide-figure { margin: 2.4em 0 2.6em; max-width: 720px; }
.guide-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.guide-figure figcaption { margin-top: .75em; font-size: .8333em; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.guide-figure--diagram { background: var(--steel); padding: 28px 28px 22px; box-sizing: border-box; }
.guide-figure--diagram svg { display: block; width: 100%; height: auto; overflow: visible; }
.guide-figure--diagram figcaption { margin-top: 1em; }
@media (max-width: 549px) { .guide-figure--diagram { padding: 16px 12px 14px; margin-left: -15px; margin-right: -15px; } }

.dg-body { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.dg-wall { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.dg-steel, .dg-plate { fill: #C9CED2; stroke: var(--ink); stroke-width: 1.4; }
.dg-cup { fill: #C9CED2; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.dg-rod rect, .dg-rod circle { fill: #E3E6E8; stroke: var(--ink); stroke-width: 1.4; }
.dg-magnet { fill: var(--ink-2); stroke: var(--ink); stroke-width: 1.4; }
.dg-pole, .dg-pole rect { fill: #8C949A; }
.dg-sep, .dg-sep rect { fill: #E8D9A8; }
.dg-part { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.dg-hook { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.dg-iron circle, circle.dg-iron { fill: var(--ink); }
.dg-product circle { fill: #9AA1A7; }
.dg-flow { fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-dasharray: 5 5; stroke-linecap: round; }
.dg-arrowhead { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dg-field { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-dasharray: 2 4; stroke-linecap: round; opacity: .75; }
.dg-leader { fill: none; stroke: var(--muted); stroke-width: 1; }
.dg-dot { fill: var(--ink); }
.dg-label { font-family: "Noto Sans", sans-serif; font-size: 13px; font-weight: 500; fill: var(--ink-2); }
.dg-title { font-family: "Noto Sans", sans-serif; font-size: 15px; font-weight: 600; fill: var(--ink); }
/* Phones: the drawing keeps a readable scale and scrolls inside its panel. */
@media (max-width: 649px) {
  .guide-figure--diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .guide-figure--diagram svg { min-width: 600px; }
  .guide-figure--diagram figcaption { position: sticky; left: 0; max-width: calc(100vw - 54px); }
}

/* Related products at the foot of a guide */
.guide-products .grid--product-category { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
/* The theme overlays figcaptions on the image; guide captions sit below. */
.content .guide-figure figcaption {
  position: static; height: auto; width: auto; padding: 0; display: block;
  background: none; color: var(--muted);
}
.content .guide-figure { width: auto; }
@media (min-width: 1024px) { .guide-products .grid--product-category { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Product animations: the working cycle as a line drawing ----------
   add_product_animations.py inlines the drawings. Every moving part runs on
   the figure's one loop, so the steps stay in time with each other.
   javascript.js adds .is-paused while a drawing is off screen or paused. */
.product-anim { --loop: 12s; }
.product-anim svg { overflow: hidden; }
.product-anim .an, .product-anim .an-lt-w1 circle, .product-anim .an-lt-w2 circle, .product-anim .an-lt-w3 circle {
  animation-duration: var(--loop); animation-timing-function: cubic-bezier(.45, 0, .25, 1);
  animation-iteration-count: infinite; animation-fill-mode: both; transform-box: view-box;
}
.product-anim.is-paused * { animation-play-state: paused !important; }
.content .product-anim figcaption, .product-anim figcaption {
  display: flex; gap: 20px; align-items: center; justify-content: space-between; max-width: none;
}
.product-anim__toggle {
  flex: none; font: 500 13px/1 "Noto Sans", sans-serif; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); padding: 8px 14px; cursor: pointer; transition: border-color .2s var(--ease);
}
.product-anim__toggle:hover { border-color: var(--ink); }
.product-anim__toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* the steps share one grid cell and take turns; the ticks show the place in the cycle */
.product-anim__head { position: relative; isolation: isolate; padding-bottom: 14px; margin-bottom: 8px; }
.content .product-anim__steps, .product-anim__steps { display: grid; margin: 0; padding: 0; list-style: none; }
.content .product-anim__steps li, .product-anim__steps li {
  grid-area: 1 / 1; opacity: 0; margin: 0; padding: 0; list-style: none;
  font-size: 1.0625em; font-weight: 600; line-height: 1.4; color: var(--ink);
}
.content .product-anim__steps li::before { content: none; }
.product-anim__n { display: inline-block; min-width: 1.6em; color: var(--muted); font-variant-numeric: tabular-nums; }
.product-anim__ticks, .product-anim__steps li::after { position: absolute; bottom: 0; height: 3px; }
.product-anim__ticks { left: 0; z-index: -1; display: flex; gap: 4px; }
.product-anim__ticks i { width: 40px; height: 3px; background: var(--rule); }
.product-anim__steps li::after { content: ""; left: calc(var(--k) * 44px); width: 40px; background: var(--ink); }
@media (max-width: 549px) {
  .product-anim { overflow: visible; }
  .product-anim svg { min-width: 0 !important; }
  .product-anim .dg-label { font-size: 19px; }
}
.an-nail path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }

/* continuous parts: falling product and moving liquid */
.product-anim .an-stream { animation: an-fall .9s linear infinite; }
@keyframes an-fall { to { transform: translateY(60px); } }
.product-anim .an-dash { animation: an-dash .8s linear infinite; }
@keyframes an-dash { to { stroke-dashoffset: -10; } }

/* easy clean grid, 12s */
.an-ec-product { animation-name: an-ec-product; }
@keyframes an-ec-product { 0%, 34% { opacity: 1; } 40%, 86% { opacity: 0; } 92%, 100% { opacity: 1; } }
.an-ec-w1 { animation-name: an-ec-w1; }
.an-ec-w2 { animation-name: an-ec-w2; }
.an-ec-w3 { animation-name: an-ec-w3; }
@keyframes an-ec-w1 { 0%, 3% { opacity: 0; } 6%, 100% { opacity: 1; } }
@keyframes an-ec-w2 { 0%, 13% { opacity: 0; } 16%, 100% { opacity: 1; } }
@keyframes an-ec-w3 { 0%, 23% { opacity: 0; } 26%, 100% { opacity: 1; } }
.an-ec-drop { animation-name: an-ec-drop; }
@keyframes an-ec-drop {
  0%, 55% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  68% { transform: translateY(170px); opacity: 0; } 69%, 100% { transform: none; opacity: 0; }
}
.an-ec-cores { animation-name: an-ec-cores; }
@keyframes an-ec-cores { 0%, 40% { transform: none; } 52%, 72% { transform: translateX(236px); } 86%, 100% { transform: none; } }
.an-ec-s1 { animation-name: an-ec-s1; } .an-ec-s2 { animation-name: an-ec-s2; }
.an-ec-s3 { animation-name: an-ec-s3; } .an-ec-s4 { animation-name: an-ec-s4; }
@keyframes an-ec-s1 { 0%, 36% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes an-ec-s2 { 0%, 38% { opacity: 0; } 40%, 53% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes an-ec-s3 { 0%, 55% { opacity: 0; } 57%, 70% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes an-ec-s4 { 0%, 72% { opacity: 0; } 74%, 98% { opacity: 1; } 100% { opacity: 0; } }

/* permanent magnetic lifter, 10s */
.product-anim:has(.an-lf-lift) { --loop: 10s; }
.an-lf-lift { animation-name: an-lf-lift; }
@keyframes an-lf-lift {
  0%, 26% { transform: none; } 40%, 50% { transform: translateY(-120px); } 62%, 72% { transform: none; }
  82%, 88% { transform: translateY(-70px); } 98%, 100% { transform: none; }
}
.an-lf-load { animation-name: an-lf-load; }
@keyframes an-lf-load { 0%, 26% { transform: none; } 40%, 50% { transform: translateY(-120px); } 62%, 100% { transform: none; } }
.product-anim .an-lf-handle { animation-name: an-lf-handle; transform-box: fill-box; transform-origin: 0 50%; }
@keyframes an-lf-handle { 0%, 12% { transform: rotate(30deg); } 20%, 64% { transform: rotate(-60deg); } 70%, 100% { transform: rotate(30deg); } }
.an-lf-field { animation-name: an-lf-field; }
@keyframes an-lf-field { 0%, 17% { opacity: 0; } 22%, 64% { opacity: 1; } 68%, 100% { opacity: 0; } }
.an-lf-s1 { animation-name: an-lf-s1; } .an-lf-s2 { animation-name: an-lf-s2; }
.an-lf-s3 { animation-name: an-lf-s3; } .an-lf-s4 { animation-name: an-lf-s4; }
@keyframes an-lf-s1 { 0%, 11% { opacity: 1; } 13%, 100% { opacity: 0; } }
@keyframes an-lf-s2 { 0%, 13% { opacity: 0; } 15%, 25% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes an-lf-s3 { 0%, 27% { opacity: 0; } 29%, 62% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes an-lf-s4 { 0%, 64% { opacity: 0; } 66%, 97% { opacity: 1; } 99%, 100% { opacity: 0; } }

/* magnetic sweeper, 12s: rolls at an even pace, so the pick up times match
   where the bar passes each group of nails */
.an-sw-sweep { animation-name: an-sw-sweep; }
@keyframes an-sw-sweep {
  0%, 4% { transform: none; opacity: 1; animation-timing-function: linear; }
  38% { transform: translateX(240px); opacity: 1; }
  50%, 66% { transform: translate(450px, -70px); opacity: 1; }
  76% { transform: translate(450px, -70px); opacity: 0; } 77%, 86% { transform: none; opacity: 0; }
  94%, 100% { transform: none; opacity: 1; }
}
.product-anim .an-sw-wheel { animation-name: an-sw-wheel; transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes an-sw-wheel { 0%, 4% { transform: none; animation-timing-function: linear; } 38%, 100% { transform: rotate(982deg); } }
.product-anim .an-sw-lever { animation-name: an-sw-lever; transform-box: fill-box; transform-origin: 0 0; }
@keyframes an-sw-lever { 0%, 52% { transform: none; } 56%, 64% { transform: rotate(-24deg); } 68%, 100% { transform: none; } }
.an-sw-f1 { animation-name: an-sw-f1; } .an-sw-f2 { animation-name: an-sw-f2; }
.an-sw-f3 { animation-name: an-sw-f3; } .an-sw-f4 { animation-name: an-sw-f4; }
.an-sw-b1 { animation-name: an-sw-b1; } .an-sw-b2 { animation-name: an-sw-b2; }
.an-sw-b3 { animation-name: an-sw-b3; } .an-sw-b4 { animation-name: an-sw-b4; }
@keyframes an-sw-f1 { 0%, 17% { opacity: 1; } 18%, 82% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes an-sw-f2 { 0%, 23% { opacity: 1; } 24%, 82% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes an-sw-f3 { 0%, 29% { opacity: 1; } 30%, 82% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes an-sw-f4 { 0%, 34.5% { opacity: 1; } 35.5%, 82% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes an-sw-b1 { 0%, 17% { opacity: 0; } 18%, 100% { opacity: 1; } }
@keyframes an-sw-b2 { 0%, 23% { opacity: 0; } 24%, 100% { opacity: 1; } }
@keyframes an-sw-b3 { 0%, 29% { opacity: 0; } 30%, 100% { opacity: 1; } }
@keyframes an-sw-b4 { 0%, 34.5% { opacity: 0; } 35.5%, 100% { opacity: 1; } }
.an-sw-drop { animation-name: an-sw-drop; }
@keyframes an-sw-drop {
  0%, 57% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  63% { transform: translateY(66px); opacity: 1; } 64%, 100% { transform: none; opacity: 0; }
}
.an-sw-pile { animation-name: an-sw-pile; }
@keyframes an-sw-pile { 0%, 62.5% { opacity: 0; } 63.5%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
.an-sw-s1 { animation-name: an-sw-s1; } .an-sw-s2 { animation-name: an-sw-s2; } .an-sw-s3 { animation-name: an-sw-s3; }
@keyframes an-sw-s1 { 0%, 37% { opacity: 1; } 39%, 100% { opacity: 0; } }
@keyframes an-sw-s2 { 0%, 39% { opacity: 0; } 41%, 51% { opacity: 1; } 53%, 100% { opacity: 0; } }
@keyframes an-sw-s3 { 0%, 53% { opacity: 0; } 55%, 88% { opacity: 1; } 90%, 100% { opacity: 0; } }

/* liquid trap and coolant filter, 12s */
.an-lt-flow { animation-name: an-lt-flow; }
@keyframes an-lt-flow { 0%, 44% { opacity: 1; } 48%, 88% { opacity: 0; } 92%, 100% { opacity: 1; } }
.an-lt-w1 circle { animation-name: an-lt-c1; }
.an-lt-w2 circle { animation-name: an-lt-c2; }
.an-lt-w3 circle { animation-name: an-lt-c3; }
@keyframes an-lt-c1 { 0% { transform: translate(var(--fx), var(--fy)); opacity: 0; } 2% { opacity: 1; } 11%, 100% { transform: none; opacity: 1; } }
@keyframes an-lt-c2 { 0%, 11% { transform: translate(var(--fx), var(--fy)); opacity: 0; } 13% { opacity: 1; } 22%, 100% { transform: none; opacity: 1; } }
@keyframes an-lt-c3 { 0%, 22% { transform: translate(var(--fx), var(--fy)); opacity: 0; } 24% { opacity: 1; } 33%, 100% { transform: none; opacity: 1; } }
.an-lt-iron { animation-name: an-lt-iron; }
@keyframes an-lt-iron { 0%, 64% { opacity: 1; } 74%, 100% { opacity: 0; } }
.an-lt-lift { animation-name: an-lt-lift; }
@keyframes an-lt-lift { 0%, 48% { transform: none; } 60%, 80% { transform: translateY(-160px); } 91%, 100% { transform: none; } }
.an-lt-s1 { animation-name: an-lt-s1; } .an-lt-s2 { animation-name: an-lt-s2; }
.an-lt-s3 { animation-name: an-lt-s3; } .an-lt-s4 { animation-name: an-lt-s4; }
@keyframes an-lt-s1 { 0%, 45% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes an-lt-s2 { 0%, 47% { opacity: 0; } 49%, 62% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes an-lt-s3 { 0%, 64% { opacity: 0; } 66%, 78% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes an-lt-s4 { 0%, 80% { opacity: 0; } 82%, 98% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  /* held on a frame that shows the product at work until Play is pressed */
  .product-anim:not(.is-playing) * { animation-play-state: paused !important; }
  .product-anim .an, .product-anim circle { animation-delay: calc(var(--loop) * -.33) !important; }
  /* exempt from the site-wide rule that shortens every animation, which
     would jump a drawing to its last frame and leave Play with nothing to run */
  .product-anim .an, .product-anim .an-lt-w1 circle, .product-anim .an-lt-w2 circle, .product-anim .an-lt-w3 circle {
    animation-duration: var(--loop) !important; animation-iteration-count: infinite !important;
  }
  .product-anim .an-stream { animation-duration: .9s !important; }
  .product-anim .an-dash { animation-duration: .8s !important; }
}

/* ---------- Languages: the header menu, the drawer row, Indian scripts ---------- */
.lang-switch { position: relative; flex: none; margin-right: 18px; align-self: center; }
.lang-switch summary {
  display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer;
  font-size: 14px; font-weight: 500; line-height: 1; padding: 9px 10px; border: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after {
  content: ""; width: 6px; height: 6px; margin: -3px 0 0 2px; border: solid currentColor;
  border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .25s var(--ease);
}
.lang-switch[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: currentColor; }
.lang-switch summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.lang-switch ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 176px; margin: 0; padding: 6px 0;
  list-style: none; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 12px 32px rgba(20, 22, 24, .12);
}
.lang-switch ul, .lang-switch li { float: none; }
.lang-switch ul { display: block; }
.lang-switch li { display: block; margin: 0; padding: 0; width: auto; text-align: left; }
/* Language names use the system's own fonts, which cover every Indian
   script, so the menu never pulls six web fonts onto a page. */
.lang-switch li a, .drawer-langs a { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.lang-switch li a {
  display: block; padding: 9px 18px; font-size: 15px; line-height: 1.5; color: var(--ink);
  text-shadow: none; transition: background-color .2s var(--ease);
}
.lang-switch li a:hover { background: var(--steel); }
.lang-switch li a[aria-current] { font-weight: 600; box-shadow: inset 3px 0 0 var(--ink); }
@media (max-width: 1023px) { .lang-switch { display: none; } }
.drawer-langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 20px; list-style: none; border-top: 1px solid var(--rule); }
.mobile-drawer .drawer-langs li { flex: none; width: auto; margin: 0; padding: 0; border: 0; list-style: none; }
.mobile-drawer .drawer-langs li::before, .mobile-drawer .drawer-langs li::after { content: none; }
.mobile-drawer .drawer-langs a { display: block; padding: 8px 12px; font-size: 15px; line-height: 1.4; color: var(--ink); border: 1px solid var(--rule); }
.mobile-drawer .drawer-langs a[aria-current] { border-color: var(--ink); font-weight: 600; }

/* Indian scripts carry marks above and below the line: open the leading on
   tight headings and drop the negative tracking, which breaks up conjuncts. */
html:not([lang=en]) h1, html:not([lang=en]) h2, html:not([lang=en]) h3, html:not([lang=en]) h4,
html:not([lang=en]) .banner__text h1, html:not([lang=en]) .row--action h3 { letter-spacing: 0; line-height: 1.35; }
html:not([lang=en]) body { line-height: 1.7; }
html:not([lang=en]) h6 { letter-spacing: .02em; text-transform: none; }

/* ---------- QC fixes ---------- */
/* Over the home video the language name reads white like the links beside it. */
.home header .lang-switch summary { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.home .sticky-header header .lang-switch summary { color: var(--ink); text-shadow: none; }

/* The sticky header is one white surface: the main bar sits above the subnav,
   so an open dropdown covers the subnav and the shadow runs the full width. */
.sticky-header { background: var(--paper); box-shadow: 0 8px 22px -12px rgba(20, 22, 24, .35); }
.sticky-header header { position: relative; z-index: 2; box-shadow: none; }
.sticky-header .subnav { position: relative; z-index: 1; border-top: 1px solid var(--rule); box-shadow: none; }
.sticky-header .subnav::after { display: none; }

/* A spec line with no label (the test certificate) takes the whole row. */
#technical_data ul li:not(:has(> strong)), #models ul li:not(:has(> strong)) { display: block; }

/* The team photo on Contact Us is tall; give the banner the height to keep
   the seated man and the shrine in frame. */
@media (min-width: 768px) {
  body.contact .banner picture { aspect-ratio: 1.85 / 1; }
  .contact .banner img { object-position: 50% 20% !important; }
}

/* Room under the client logos before the next band. */
.clients-strip { padding-bottom: clamp(48px, 6vw, 88px); }

/* Address labels in the footer and on Contact Us read as headings; the
   theme's strong is only 500. Each address links to Google Maps. */
footer .footer-columns .address strong,
.contact-detail__locations strong { font-weight: 700; color: var(--ink); }
footer .footer-columns .address a:hover,
.contact-detail__locations address a:hover { color: var(--ink); text-decoration: underline; }

/* Footer logo: the header lockup, mark over tagline, at footer size. */
footer .footer-logo { --logo-w: 180px; margin-bottom: 4px; }
footer .footer-logo a { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
footer .footer-logo img { display: block; width: var(--logo-w); height: auto; }
