/* WJ-20260924-V59: reference controls and type rhythm, standalone waterjet only. */
html[lang] body .header-whatsapp.floating-whatsapp {
  position: fixed;
  inset: auto 18px max(18px, env(safe-area-inset-bottom)) auto;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 17px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(110, 10, 25, .22), inset 0 0 0 1px rgba(255, 255, 255, .16);
  opacity: .88;
  transform: none;
  touch-action: none;
  cursor: grab;
  transition: opacity 160ms ease, box-shadow 160ms ease;
}
html[lang] body .header-whatsapp.floating-whatsapp > span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html[lang] body .header-whatsapp.floating-whatsapp::before {
  content: '';
  display: block;
  position: static;
  width: 31px;
  height: 31px;
  border: 0;
  background: url('assets/whatsapp-glyph-white-v59.svg?v=WM-20261020-PUBLISH-01') center / contain no-repeat;
  transform: none;
}
html[lang] body .header-whatsapp.floating-whatsapp::after { content: none; }
html[lang] body .header-whatsapp.floating-whatsapp:is(:hover, :focus-visible, .is-dragging) { opacity: 1; }
html[lang] body .header-whatsapp.floating-whatsapp:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--red);
}
html[lang] body .header-whatsapp.floating-whatsapp.is-dragging { cursor: grabbing; transition: none; }

/* V77: keep the hit area steady while reproducing the reference site's rebound. */
html[lang] body .header-whatsapp.floating-whatsapp {
  --chat-safe-top: env(safe-area-inset-top, 0px);
  --chat-safe-right: env(safe-area-inset-right, 0px);
  --chat-safe-bottom: env(safe-area-inset-bottom, 0px);
  --chat-safe-left: env(safe-area-inset-left, 0px);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
html[lang] body .header-whatsapp.floating-whatsapp.is-throwing {
  transition: none;
  will-change: transform;
}
html[lang] body .header-whatsapp.floating-whatsapp:is(.is-long-pressed, .is-edge-charging, .is-wall-bouncing)::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  filter: none;
  box-shadow: none;
  opacity: 1;
  transform: none;
  pointer-events: none;
  z-index: 0;
}
html[lang] body .header-whatsapp.floating-whatsapp:is(.is-long-pressed, .is-edge-charging) {
  overflow: visible;
}
html[lang] body .header-whatsapp.floating-whatsapp.is-long-pressed::after {
  inset: -3px;
  border: 1px solid rgba(179, 38, 58, .28);
  box-shadow: 0 0 12px 3px rgba(179, 38, 58, .16);
  animation: whatsapp-hold-v77 1.45s ease-out infinite;
}
html[lang] body .header-whatsapp.floating-whatsapp.is-wall-bouncing::after {
  background: rgba(255, 255, 255, .18);
  animation: whatsapp-rebound-v77 180ms ease-out;
}
html[lang] body .header-whatsapp.floating-whatsapp.is-wall-bouncing::before {
  animation: whatsapp-spring-v77 190ms ease-out;
}
html[lang] body .header-whatsapp.floating-whatsapp.is-edge-charging::after {
  inset: -3px;
  border: 1px solid rgba(179, 38, 58, calc(.3 + .3 * var(--whatsapp-charge-v145, 0)));
  box-shadow: 0 0 calc(10px + 18px * var(--whatsapp-charge-v145, 0))
    calc(1px + 4px * var(--whatsapp-charge-v145, 0))
    rgba(179, 38, 58, calc(.16 + .22 * var(--whatsapp-charge-v145, 0)));
  transform: scale(calc(1 + .14 * var(--whatsapp-charge-v145, 0)));
  animation: whatsapp-charge-v77 1.2s ease-in-out infinite;
}
@keyframes whatsapp-hold-v77 {
  0% { opacity: .56; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(1.32); }
}
@keyframes whatsapp-rebound-v77 { from { opacity: .7; } to { opacity: 0; } }
@keyframes whatsapp-spring-v77 {
  0% { transform: scale(.9, 1.08); }
  55% { transform: scale(1.05, .97); }
  100% { transform: scale(1); }
}
@keyframes whatsapp-charge-v77 { 0%, 100% { opacity: .55; } 50% { opacity: .88; } }
@media (prefers-reduced-motion: reduce) {
  html[lang] body .header-whatsapp.floating-whatsapp:is(.is-long-pressed, .is-edge-charging, .is-wall-bouncing)::after { display: none; animation: none; }
  html[lang] body .header-whatsapp.floating-whatsapp.is-wall-bouncing::before { animation: none; }
}

/* Keep the existing compact menu, freeing its former WhatsApp grid column. */
html[lang] body .site-header[data-header] {
  --language-option-width: 52px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: 1fr;
  height: 68px;
  column-gap: 16px;
  row-gap: 0;
  direction: ltr;
}
html[lang] body .site-header[data-header] .brand { grid-column: 1; grid-row: 1; }
html[lang] body .site-header[data-header] .menu-toggle { grid-column: 3; grid-row: 1; }
html[lang] body .site-header[data-header] .mobile-language-switch {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  /* V62: let longer labels grow without reducing the shared font size. */
  grid-template-columns: repeat(6, minmax(var(--language-option-width), max-content));
  grid-template-rows: 26px;
  gap: 2px;
  width: max-content;
  height: 34px;
  max-height: 34px;
  padding: 3px 6px;
  direction: ltr;
}
html[lang] body .site-header[data-header] .mobile-language-switch .language-option {
  min-width: 0;
  min-height: 26px;
  height: 26px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: 0;
  border-radius: 6px;
}
html[lang] body .site-header[data-header] .mobile-language-switch .language-option:focus-visible {
  outline: 2px solid #176fbd;
  outline-offset: 1px;
}
html[lang] body .site-header[data-header] .site-nav {
  width: var(--menu-language-pair-width, 130px);
  min-width: 0;
  padding: 2px 6px;
  gap: 0;
}
html[lang] body .site-header[data-header] .site-nav > a:not(.nav-whatsapp):not(.nav-quote) {
  display: flex;
  align-items: center;
  justify-content: left;
  min-height: 36px;
  padding: 6px 4px;
  text-align: left;
}
html[lang] body .hero-sitex { display: none; }

/* Fixed breakpoint sizes: no viewport-scaled text. */
html[lang] body { font-size: 15.5px; line-height: 1.55; }
html[lang] body :is(h1, h2, h3, h4, h5, p, a, span, strong, li, dt, dd) { letter-spacing: 0; }
html[lang] body .hero h1.hero-title-two-line { font-size: 56px; line-height: 1.08; font-weight: 780; }
html[lang] body .hero h1.hero-title-two-line > span { max-width: 100%; white-space: normal; overflow-wrap: break-word; }
html[lang] body .hero h1 .hero-title-speed { font-size: .52em; line-height: 1.3; }
html[lang] body :is(.section-header h2, .knowledge-hub-heading h2, .company-copy h2, .contact-copy h2) {
  font-size: 34px;
  line-height: 1.14;
  font-weight: 800;
}
html[lang] body :is(.detail-section-title h4, .visual-config-heading h4, .shedding-system-heading h4, .spec-block h4) {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
}
html[lang] body :is(.visual-card h5, .knowledge-card strong, .capability-grid h3) {
  font-size: 18px;
  line-height: 1.24;
  font-weight: 800;
}
html[lang] body .visual-card h5 { margin-top: 11px; }
html[lang] body :is(.visual-card p, .knowledge-card p, .capability-grid p, .spec-table p) {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  margin-top: 8px;
}
html[lang] body :is(.hero-lead, .section-header p:not(.eyebrow), .detail-summary p, .detail-section-title p,
  .visual-config-heading p:not(.eyebrow), .knowledge-hub-heading > p:not(.eyebrow),
  .company-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow)) {
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 400;
}
html[lang] body .product-detail-panel-condensed > .detail-summary.detail-summary-single p { font-size: 15.5px; line-height: 1.55; }
html[lang] body .company-copy > p + p { margin-top: 12px; }
html[lang] body .guide-page-nav { letter-spacing: 0; }
html[lang] body.guide-page .guide-hero h1 { font-size: 34px; line-height: 1.14; font-weight: 800; }
html[lang] body.guide-page :is(.guide-section h2, .guide-reference-heading h2) { font-size: 25px; line-height: 1.24; }
html[lang] body.guide-page :is(.guide-intro, .guide-section-copy p, .guide-section-copy li) { font-size: 16px; line-height: 1.6; font-weight: 400; }
html[lang] body.guide-page .guide-section-copy p { margin-bottom: 10px; }
html[lang] body.guide-page .guide-section-copy p:last-child { margin-bottom: 0; }
html[lang] body.guide-page .guide-section-header { gap: 24px; }

@media (min-width: 641px) and (max-width: 980px) {
  html[lang] body .site-header[data-header] { padding: 6px 16px; }
  html[lang] body .site-header[data-header] .brand img { width: 160px; max-width: 100%; }
  html[lang] body .hero h1.hero-title-two-line { font-size: 40px; }
}

@media (max-width: 760px) {
  html[lang] body .header-whatsapp.floating-whatsapp {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    min-height: 48px;
    right: 10px;
    bottom: max(12px, env(safe-area-inset-bottom));
    border-radius: 15px;
  }
  html[lang] body { font-size: 14px; }
  html[lang] body .hero h1.hero-title-two-line { font-size: 25px; line-height: 1.12; }
  html[lang] body :is(.section-header h2, .knowledge-hub-heading h2, .company-copy h2, .contact-copy h2) {
    font-size: 20px;
    line-height: 1.18;
  }
  html[lang] body :is(#products-title, #waterjet-specs-title) { font-size: 20px; line-height: 1.18; }
  html[lang] body :is(.detail-section-title h4, .visual-config-heading h4, .shedding-system-heading h4, .spec-block h4) {
    font-size: 20px;
    line-height: 1.2;
  }
  html[lang] body :is(.visual-card h5, .knowledge-card strong, .capability-grid h3) { font-size: 16px; }
  html[lang] body :is(.visual-card p, .knowledge-card p, .capability-grid p, .spec-table p) {
    font-size: 13.5px;
    line-height: 1.48;
    margin-top: 8px;
  }
  html[lang] body :is(.hero-lead, .section-header p:not(.eyebrow), .detail-summary p, .detail-section-title p,
    .visual-config-heading p:not(.eyebrow), .knowledge-hub-heading > p:not(.eyebrow),
    .company-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow)) { font-size: 14px; line-height: 1.55; }
  html[lang] body .product-detail-panel-condensed > .detail-summary.detail-summary-single p { font-size: 14px; line-height: 1.55; }
  html[lang] body .visual-card-grid { gap: 8px; }
  html[lang] body .knowledge-grid { gap: 8px; }
  html[lang] body .knowledge-card { padding: 12px; }
  html[lang] body .capability-grid { gap: 10px; }
  html[lang] body .capability-grid > article { padding: 14px 16px; }
  html[lang] body .detail-section-title { margin-top: 15px; gap: 5px; }
  html[lang] body.guide-page .guide-hero h1 { font-size: 25px; line-height: 1.2; }
  html[lang] body.guide-page :is(.guide-section h2, .guide-reference-heading h2) { font-size: 20px; line-height: 1.24; }
  html[lang] body.guide-page :is(.guide-intro, .guide-section-copy p, .guide-section-copy li) { font-size: 15.5px; line-height: 1.64; }
  html[lang] body.guide-page .guide-section-header { gap: 10px; }
  html[lang] body.guide-page .guide-section { padding: 18px 16px; margin-top: 12px; }
}

@media (max-width: 640px) {
  html[lang] body .site-header[data-header] {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 40px 26px;
    height: 74px;
    gap: 0 10px;
    padding: 4px;
  }
  html[lang] body .site-header[data-header] .brand { margin-inline-start: 8px; min-width: 0; }
  html[lang] body .site-header[data-header] .brand img { width: 136px; height: auto; }
  html[lang] body .site-header[data-header] .menu-toggle { grid-column: 2; margin-inline-end: 5px; }
  html[lang] body .hero-sitex {
    display: block;
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 112px;
    height: auto;
    margin: 0;
    padding: 0;
    object-fit: contain;
    pointer-events: none;
  }
  html[lang] body:not(.guide-page) .header-whatsapp.floating-whatsapp {
    bottom: max(88px, env(safe-area-inset-bottom));
  }
  html[lang] body:not(.guide-page) .hero-content { padding-bottom: 100px; }
  html[lang] body .site-header[data-header] .mobile-language-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(max-content, 1.25fr);
    grid-template-rows: 26px;
    width: 100%;
    height: 26px;
    max-height: 26px;
    gap: 3px;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  html[lang] body .site-header[data-header] .mobile-language-switch .language-option {
    position: relative;
    isolation: isolate;
    padding: 0 4px;
    color: #fff;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  }
  html[lang] body .site-header[data-header] .mobile-language-switch .language-option::before {
    content: '';
    position: absolute;
    inset: 3px 0;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 6px;
    background: rgba(8, 31, 72, .72);
  }
  html[lang] body .site-header[data-header] .mobile-language-switch .language-option.is-active::before { background: rgba(174, 8, 34, .9); }
  html[lang] body .site-header[data-header] .mobile-language-switch .language-option:is(:hover, :focus-visible)::before { border-color: #fff; }
  html[lang] body .site-header[data-header].is-language-hidden { height: 48px; grid-template-rows: 40px 0; }
  html[lang] body .site-header[data-header].is-language-hidden .mobile-language-switch { height: 0; max-height: 0; overflow: hidden; }
  html[lang] body .site-header[data-header] .site-nav {
    --mobile-menu-inset: 4px;
    top: calc(100% + 4px);
    width: var(--menu-language-pair-width, calc((100% - 8px - 6px) / 3));
    min-width: 0;
  }
  html[lang] body .site-header[data-header] .site-nav > a:not(.nav-whatsapp):not(.nav-quote) {
    min-height: 38px;
  }
  html[lang] body .hero, html[lang] body.mobile-language-hidden .hero { min-height: calc(100svh - 74px); }
  html[lang] body .product-page-nav { top: 48px; }
}

/* Preserve the vertical clearance needed for non-Latin scripts. */
html:is([lang='gu'], [lang='hi'], [lang='ar']) body :is(.hero h1.hero-title-two-line, .guide-hero h1) { line-height: 1.3; }
html:is([lang='gu'], [lang='hi'], [lang='ar']) body :is(h2, h3, h4, h5, #products-title, #waterjet-specs-title) { line-height: 1.38; }
html:is([lang='gu'], [lang='hi'], [lang='ar']) body :is(.visual-card p, .spec-table p, .capability-grid p,
  .company-copy > p:not(.eyebrow), .detail-summary p, .guide-section-copy p, .guide-section-copy li) { line-height: 1.72; }
@media (max-width: 360px) {
  html[lang] body .site-header[data-header] .mobile-language-switch .language-option { font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html[lang] body .header-whatsapp.floating-whatsapp { transition: none; }
}

/* V60: quieter section markers, contact-free header spacing and table controls. */
html[lang] body .detail-section-title { grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; }
html[lang] body .detail-section-title > span { width: 30px; height: 30px; border-radius: 7px; font-size: 11px; }
html[lang] body .metric-strip > div { min-height: 0; padding-block: 16px; }
html[lang] body .metric-strip > div > span { margin-top: 6px; }
html[lang] body .site-header[data-header] .brand { display: flex; align-items: center; align-self: center; width: max-content; max-width: none; }
html[lang] body .site-header[data-header] .brand img { width: 228px; height: auto; max-width: none; max-height: 54px; object-fit: contain; flex: none; }

html[lang] body .spec-highlight-grid .reed-space-options {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 3px 4px;
  direction: ltr;
  font-size: 17px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
html[lang] body .spec-highlight-grid .reed-space-options > span {
  display: inline;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-transform: none;
  white-space: nowrap;
}
html[lang] body .spec-highlight-grid .reed-space-options .reed-divider { color: #71869e; font-weight: 400; }

html[lang] body .knowledge-card { padding-inline-end: 40px; }
html[lang] body .knowledge-card-arrow {
  width: 20px;
  height: 20px;
  inset-inline-end: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #718299;
  font-size: 0;
  transition: color 160ms ease;
}
html[lang] body .knowledge-card-arrow::before {
  content: '';
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url('assets/arrow-right-lucide-v60.svg?v=WM-20261020-PUBLISH-01') center / contain no-repeat;
  mask: url('assets/arrow-right-lucide-v60.svg?v=WM-20261020-PUBLISH-01') center / contain no-repeat;
}
html[lang] body .knowledge-card:is(:hover, :focus-visible, :active) .knowledge-card-arrow { color: #a3263d; }

html[lang] body .shedding-spec-table-shell { overflow: visible; }
html[lang] body .shedding-spec-table-shell .shedding-spec-table-wrap { padding-inline-end: 0; }
html[lang] body .shedding-table-arrow {
  top: var(--table-cue-top, 50%);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: -22px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #a3263d;
  transform: none;
  touch-action: manipulation;
}
html[lang] body .shedding-table-arrow-previous { left: calc(-1 * var(--table-cue-outset-left, 20px)); right: auto; }
html[lang] body .shedding-table-arrow-next { right: calc(-1 * var(--table-cue-outset-right, 20px)); left: auto; }
html[lang] body .shedding-table-arrow span { display: none; }
html[lang] body .shedding-table-arrow::before {
  content: '';
  position: absolute;
  inset: 0 8px;
  border: 1px solid rgba(98, 120, 145, .28);
  border-radius: 10px;
  background: rgba(239, 242, 247, .94);
  box-shadow: 0 2px 7px rgba(15, 43, 76, .13), inset 0 1px 0 rgba(255, 255, 255, .85);
}
html[lang] body .shedding-table-arrow::after {
  content: '';
  z-index: 1;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url('assets/chevron-right-lucide-v60.svg?v=WM-20261020-PUBLISH-01') center / contain no-repeat;
  mask: url('assets/chevron-right-lucide-v60.svg?v=WM-20261020-PUBLISH-01') center / contain no-repeat;
}
html[lang] body .shedding-table-arrow-previous::after { transform: rotate(180deg); }
html[lang] body .shedding-table-arrow:is(:hover, :focus-visible) { color: #801c30; background: transparent; box-shadow: none; }
html[lang] body .shedding-table-arrow:focus-visible { outline: 2px solid #a3263d; outline-offset: 1px; border-radius: 10px; }

@media (min-width: 641px) and (max-width: 980px) {
  html[lang] body .site-header[data-header] .brand img { width: 174px; }
}
@media (min-width: 981px) and (max-width: 1199px) {
  html[lang] body .spec-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html[lang] body .detail-section-title { grid-template-columns: 36px minmax(0, 1fr); }
  html[lang] body .detail-section-title > span { width: 36px; height: 36px; font-size: 12px; border-radius: 8px; }
  html[lang] body .metric-strip > div { padding-block: 10px; }
  html[lang] body .metric-strip > div > span { margin-top: 4px; }
  html[lang] body .spec-highlight-grid .reed-space-options { font-size: 16px; column-gap: 6px; }
}
@media (max-width: 640px) {
  html[lang] body .site-header[data-header] .brand img { width: 148px; max-height: 36px; }
}
@media (max-width: 360px) {
  html[lang] body .spec-highlight-grid .reed-space-options { column-gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html[lang] body .shedding-spec-table-wrap { scroll-behavior: auto; }
}

/* V61: recessed menu separators and a more translucent panel. */
html[lang] body .site-header[data-header] .site-nav {
  background: rgba(247, 251, 255, .64);
}
html[lang] body .site-header[data-header] .site-nav > a:not(.nav-whatsapp):not(.nav-quote) {
  color: #203a53;
}
html[lang] body .site-header[data-header] .site-nav > a:not(.nav-whatsapp):not(.nav-quote) + a:not(.nav-whatsapp):not(.nav-quote)::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: rgba(24, 48, 75, .2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .68);
  pointer-events: none;
}
html[lang] body .site-header[data-header] .site-nav > a:not(.nav-whatsapp):not(.nav-quote):is(:hover, :active, :focus-visible, .is-active) {
  color: #0c3267;
}
