/* @font-face {
    font-family: Outfit;
    src: url("/media/94/7f/947f6b8fe5acfe6aec8a239ffee857292c3804e1daf1515b9a36bfec28bc9b8f.ttf") format("truetype");
} */

@font-face {
    font-family: CalSans1;
    src: url("/media/d3/e3/d3e38c946c6c0299f321b6cf2c92f7f26e202530f49d6bc86d52e9fd74f393a2.woff2") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: GoogleSansCode;
    src: url("/media/88/be/88be64849506a7a70a57668a8d580c999718bdac0a85a59ff47e1ab2173f77b4.ttf") format("truetype");
}





/* Outfit — variable weight 100–900 */
@font-face {
  font-family: "Outfit";
  src: url("/media/ed/62/ed629d88c2db8ace1b3ac85fbf1fe0223d7272defaa817d1955100101966f0fb.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Space Grotesk — variable weight 300–700 */
@font-face {
  font-family: "Space Grotesk";
  src: url("/media/8e/08/8e085aa438094f11487a836652edd5c054fa6a96f63fc7c282105ee3a4b08c07.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Space Mono — static (4 styles) */
@font-face {
  font-family: "Space Mono";
  src: url("/media/a3/28/a3281287939a152ec1485709aff1a77515b4f0d657a24fcda3a5a439aa39adb2.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
/* @font-face {
  font-family: "Space Mono";
  src: url("SpaceMono-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap; 
} */
@font-face {
  font-family: "Space Mono"; 
  src: url("/media/aa/90/aa90806275743a460cb47b707d975c27358473cd6068bba1d4c62d13d747b120.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
/* @font-face {
  font-family: "Space Mono";
  src: url("SpaceMono-BoldItalic.woff2") format("woff2");
  font-weight: 700; font-style: italic; font-display: swap;
} */

/* Cal Sans — variable (use the static weights below if you prefer) */
@font-face {
  font-family: "Cal Sans";
  src: url("/media/c7/5e/c75e2e58f23bb6c32935462521447f5764ecea94d9e10f97453c6256187f9c75.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}


/* LibertinusMath — official 7.051 WOFF2 (/fonts/LibertinusMath-Regular.woff2, stored as .bin).
   The earlier .ttf had zero-size glyph boxes, so macOS drew ≈ ≠ → etc. blank. */
@font-face {
  font-family: "LibertinusMath";
  src: url("/media/28/df/28dfeb45e0b34d2c2dbc970b0bcebb0b22f745f90bb37a245a4313264e87c963.bin") format("woff2");
  font-weight: 400;
}


:root {
    --color-bg: #ffffff;
    --color-surface: #f4f4f4;
    --color-border: #e2e2e2;
    --color-text: #1a1a1a;
    --color-footer-bg-dark: #303030;
    --color-footer-border: #444444;
    --color-footer-text: #d3d3d3;
    --color-muted: #6a6a6a;
    --color-dim: #9a9a9a;
    --color-accent: #f26527;
    --color-accent-desat: #ec6f3a;
    --color-accent-lightened: #ff9f76;
    --color-accent-dim: #cc5a29;
    --color-success: #16a34a;
    --color-danger: #dc2626;
    --color-nav-bg: #1a1d20;
    --font-body: "Cal Sans", Roboto, sans-serif;
    --font-heading: "CalSans1", "Inter", Roboto, sans-serif;
    --font-mono: "Space Mono", ui-monospace, monospace;
    --font-mono-like: "Space Grotesk", ui-monospace, monospace;
    --font-math: "LibertinusMath", serif;
    --font-kicker: var(--font-mono-like);
    --line-height: 1.6;
    --small-bold-lower-letter-spacing: 0.03em;
    --radius: 0px;
    --radius-sm: 0px;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 0px rgba(0, 0, 0, 0.05);
    --nav-height: 6rem;
}

body.dark-mode {
    --color-bg: #0f1114;
    --color-surface: #1a1d21;
    --color-border: #2e3338;
    --color-text: #e0e0e0;
    --color-muted: #888e96;
    --color-dim: #5a6068;
    --color-nav-bg: #0f1114;
}

body {
    margin: 0px;
    font-family: var(--font-body);
    line-height: var(--line-height);
    background: var(--color-bg);
    color: var(--color-text);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-wrapper {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1500px;
    margin-inline: auto; padding-inline: clamp(2rem, 5vw, 4rem); box-sizing: border-box;
}

.container-narrow {
    width: 100%;
    max-width: 768px;
    margin-inline: auto; padding-inline: clamp(2rem, 5vw, 4rem); box-sizing: border-box;
}

.sec-padding {
    padding-block: 5rem; }

.col-sec {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0px 20px;
}

.col {
    max-width: 900px;
    width: 100%;
}

.bg-white {
    background-color: var(--color-bg);
}

.bg-diag-line-accent {
  position: relative;
}
.bg-diag-line-accent::before,
.bg-diag-line-accent::after {
  content: "";
  position: absolute;
  background-image:
    repeating-linear-gradient(-45deg, rgb(0 0 0 / 18%) 0, rgb(0 0 0 / 18%) 2px, transparent 2px, transparent 8px);
  pointer-events: none;
  z-index: 4;
  height: 1.5rem;
  width: 100%;
  left: 0;
}
.bg-diag-line-accent::before { top: 0; }
.bg-diag-line-accent::after  { bottom: 0; }

.bg-diag-line-accent.toponly::after {
  content: unset;
}

.bg-diag-line-accent.bottomonly::before {
  content: unset;
}

.bg-diag-line-accent.bg-diag-fade-landing-top-section::before {
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 10%, transparent 69%);
}

.bevel-feature-image {
    position: relative;
    height: 100%;
}

.bevel-feature-image .md-image-container {
    height: 100%;
}

.bevel-feature-image.for-white-bg .md-image-container {
    height: 100%;
    box-shadow: 1px 1px 54px 23px rgb(255, 255, 255);
    /* backdrop-filter: drop-shadow(2px 4px 6px black); */
    background: #fff;
}

.bevel-feature-image .md-image {
    border-radius: 0px;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(40px 0%, 100% 0%, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0% 100%, 0% 40px);
}


.bevel-feature-image .tick {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 18px;
    height: 18px;
    border-top: 3px solid var(--color-accent);
    border-left: 3px solid var(--color-accent);
    /* border-radius: 8px; */
}

.bevel-feature-image .tick.br {
    top: auto;
    left: auto;
    bottom: -1rem;
    right: -1rem;
    border-top: 0;
    border-left: 0;
    border-bottom: 3px solid var(--color-accent);
    border-right: 3px solid var(--color-accent);
}



.bg-white-gridlines-fade-right {
    background-image: linear-gradient(to left, transparent 0%, #fff 90%),  linear-gradient(to right, #eee 2px, transparent 1px), linear-gradient(to bottom, #eee 2px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.bg-white-gridlines-fade-bottom {
    background-image: linear-gradient(to top, transparent 0%, #fff 90%), linear-gradient(to right, #eee 2px, transparent 1px), linear-gradient(to bottom, #eee 2px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-position: bottom;
}

.bg-white-gridlines-fade-left {
    background-image: linear-gradient(to right, transparent 0%, #fff 90%),  linear-gradient(to right, #eee 2px, transparent 1px), linear-gradient(to bottom, #eee 2px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.bg-white-gridlines-fade-bottom.inset-shadow {
    box-shadow: rgba(0, 0, 0, 0.18) 13px 4px 42px 0px inset;
}

.site-header {
    position: absolute;
    top: 0px;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    z-index: 1000;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
}

.site-header.nav-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.site-header.nav-overlay.is-scrolled {
    position: fixed;
    background-color: var(--color-nav-bg);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-left, .header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand-logo {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
}

img.nav-logo {
    width: 270px;
}

.site-nav a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--color-accent);
}

.search-btn {
    background: transparent;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-btn:hover {
    color: var(--color-accent);
}

.site-footer {
    /* flex-shrink: 0; */
    background-color: var(--color-footer-bg-dark);
    border-top: 1px solid var(--color-footer-border);
    padding-top: 4rem;
    flex: 1;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand strong {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-muted {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--color-footer-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--color-footer-border);
    padding-block: 1.5rem; text-align: center;
    color: var(--color-footer-text);
    font-size: 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: none;
    text-decoration: none;
    border-radius: 0px;
    cursor: pointer;
    transition: 0.2s;
    color: inherit;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    letter-spacing: var(--small-bold-lower-letter-spacing);
}

.btn-primary {
    background-color: var(--color-accent-desat);
    color: rgb(255, 255, 255);
    position: relative;
}

.btn-primary:hover {
    background-color: var(--color-accent-dim);
}

.btn-tint {
    background-color: #ec6f3a1c;
    color: var(--color-accent-dim);
}

.btn-tint:hover {
    background-color: #ec6f3a33;
    color: var(--color-accent-dim);
}



/* hover-only: on touch screens iOS treats a tap that reveals content (this overlay
   fading in) as a hover and waits for a second tap before it clicks */
@media (hover: hover) {
    a.btn.btn-primary.diaghover:hover::before {
        content: "";
        position: absolute;
        inset: 0px;
        pointer-events: none;
        opacity: 1;
    }
}
a.btn.btn-primary.diaghover::before {
    content: "";
    position: absolute;
    inset: 0px;
    pointer-events: none;
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.12) 0px, rgba(255, 255, 255, 0.12) 5px, transparent 1px, transparent 12px);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.2s;
}


.btn.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(6px);
}

.md-paragraph {
    margin: 1.2em 0px;
    color: var(--color-text);
    line-height: var(--line-height);
}

.md-heading {
    line-height: 1.1;
    margin: 0px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
}

h1.md-heading {
    font-size: 2.5rem;
    font-weight: 600;
}

h2.md-heading {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 600;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    padding-bottom: 0px;
}

h3.md-heading {
    font-size: 1.25rem;
    font-weight: 600;
}

h4.md-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-muted);
}

.md-bold {
    font-weight: 600;
}

.md-italic {
    font-style: italic;
}

.md-strikethrough {
    text-decoration: line-through;
    color: var(--color-muted);
}

.md-link {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.md-link:hover {
    text-decoration-thickness: 2px;
}

.md-unordered-list, .md-ordered-list {
    margin: 10px 0px 10px 24px;
    line-height: var(--line-height);
}

.md-unordered-list li, .md-ordered-list li {
    margin: 6px 0px;
}

.md-hr {
    border-right: 0px;
    border-bottom: 0px;
    border-left: 0px;
    border-image: initial;
    border-top: 1px solid var(--color-border);
    margin: 32px 0px;
}

.md-blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 16px 20px;
    margin: 24px 0px;
    color: var(--color-text);
    font-size: 1.1rem;
    background: var(--color-surface);
}

.md-table {
    border-collapse: collapse;
    margin: 24px 0px;
    font-size: 0.95rem;
    width: 100%;
}

.md-table th, .md-table td {
    border: 1px solid var(--color-border);
    padding: 12px 16px;
    text-align: left;
}

.md-table th {
    background: var(--color-nav-bg);
    color: rgb(255, 255, 255);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.md-table tr:nth-child(2n) td {
    background: var(--color-surface);
}

.cms-video {
    max-width: 100%;
    width: 100%;
    border-radius: 0px;
    box-shadow: var(--shadow);
    background: rgb(0, 0, 0);
    height: fit-content;
    border: 1px solid var(--color-border);
}

.md-image-container {
    display: flex;
    justify-content: center;
}

.md-image {
    width: 100%;
    height: auto; /* override the width/height attributes the CMS writes on inline images */
    border-radius: 0px;
    max-height: 700px;
    object-fit: cover;
}

.cms-accordion-item {
    border: 1px solid var(--color-border);
    border-radius: 0px;
    margin: 8px 0px;
    background: var(--color-surface);
    overflow: hidden;
}

.cms-accordion-header {
    width: 100%;
    text-align: left;
    padding: 16px;
    background: transparent;
    border: 0px;
    cursor: pointer;
    font-style: inherit;
    font-variant: inherit;
    font-stretch: inherit;
    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
    font-optical-sizing: inherit;
    font-size-adjust: inherit;
    font-kerning: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-language-override: inherit;
    color: var(--color-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cms-accordion-header:hover {
    background: var(--color-bg);
}

.cms-accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.3s, opacity 0.3s;
    opacity: 0;
}

.cms-accordion-body > * {
    overflow: hidden;
}

.cms-accordion-item.open > .cms-accordion-body {
    grid-template-rows: 1fr;
    opacity: 1;
}

.cms-accordion-content {
    padding: 0px 16px 16px;
}

.cms-tab-panel:not(.active) {
    display: none;
}

.feature-tabs .cms-tabs-bar {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 16px;
}

.feature-tabs .cms-tab-btn {
    background: transparent;
    border-width: 0px 0px 2px;
    border-style: none none solid;
    border-color: currentcolor currentcolor transparent;
    border-image: initial;
    padding: 12px 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-muted);
    margin-bottom: -2px;
    font-size: inherit;
    letter-spacing: var(--small-bold-lower-letter-spacing);
}

.feature-tabs .cms-tab-btn:hover {
    color: var(--color-text);
}

.feature-tabs .cms-tab-btn.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.fp-ghost-tabs .cms-tabs-bar {
    display: flex;
    gap: 4px;
    background: var(--color-border);
    padding: 4px;
    width: fit-content;
}

.fp-ghost-tabs .cms-tab-btn {
    background: transparent;
    border: 0px;
    padding: 8px 20px;
    cursor: pointer;
    width: 136px;
    font-family: var(--font-heading);
    font-size: inherit;
    font-weight: 600;
    color: var(--color-muted);
    transition: background 0.2s;
    letter-spacing: var(--small-bold-lower-letter-spacing);
}

.fp-ghost-tabs .cms-tab-btn:hover {
    color: var(--color-text);
}

.fp-ghost-tabs .cms-tab-btn.active {
    background: var(--color-bg);
    color: var(--color-text);
    box-shadow: rgba(0, 0, 0, 0.12) 1px 8px 18px 0px;
}

.cms-breadcrumbs ol {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.cms-breadcrumbs li {
    display: inline;
}

.cms-breadcrumbs a {
    color: var(--color-muted);
    text-decoration: none;
}

.cms-breadcrumbs a:hover {
    color: var(--color-accent);
}

.cms-breadcrumb-current {
    color: var(--color-text);
}

.cms-breadcrumb-sep {
    color: var(--color-dim);
    padding: 0px 8px;
}
/* Search widget styles — paste at the BOTTOM of Settings → Global CSS.
   Plain site CSS: edit/override freely afterward.
   Follows the site system: square corners (--radius), CalSans headings,
   flat surfaces, orange accent. */

/* Kill the native WebKit/Blink clear (×) inside type=search — the widget
   renders its own SVG clear button, so the native one duplicated it. */
.cms-search input[type="search"]::-webkit-search-cancel-button,
.cms-search input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}
.cms-search input[type="search"]::-ms-clear { display: none; }

/* The runtime toggles visibility via the `hidden` attribute (clear button,
   results list, status line). Any `display:` rule below would silently beat
   the UA's `[hidden] { display: none }` — this puts it back on top, so the
   clear button never shows on an empty box and empty result lists collapse. */
.cms-search [hidden] { display: none !important; }

.cms-search { position: relative; font-size: 0.95rem; }

.cms-search .cms-search-form {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--color-bg, #ffffff);
    border: 1px solid var(--color-border, #e2e2e2);
    border-radius: var(--radius, 0);
    padding: 2px 6px 2px 12px;
    transition: border-color 0.2s;
}
.cms-search .cms-search-form:focus-within {
    border-color: var(--color-accent, #f26527);
}

.cms-search .cms-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--color-text, #1a1a1a);
    font: inherit;
    padding: 9px 4px;
    outline: none;
}
.cms-search .cms-search-input::placeholder { color: var(--color-dim, #9a9a9a); }

.cms-search .cms-search-clear,
.cms-search .cms-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border: none;
    background: transparent;
    color: var(--color-muted, #6a6a6a);
    border-radius: var(--radius, 0);
    cursor: pointer;
    padding: 0;
    transition: 0.2s;
}
.cms-search .cms-search-clear:hover,
.cms-search .cms-search-submit:hover {
    color: var(--color-accent, #f26527);
}
.cms-search .cms-search-icon { display: block; }

/* Status line ("Searching…", "N results for …"). */
.cms-search .cms-search-status {
    margin: 12px 2px 0;
    font-size: 0.8rem;
    color: var(--color-muted, #6a6a6a);
}

/* ---------- Result card (shared) ----------------------------------------- */

.cms-search .cms-search-result {
    display: flex;
    /* explicit: site CSS sets flex-direction: column on content links,
       which stacked the thumbnail above the text at full width */
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 18px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    font-weight: inherit;
}
.cms-search .cms-search-result-main { display: block; min-width: 0; flex: 1; }

.cms-search .cms-search-result-crumbs {
    display: block;
    font-size: 0.75rem;
    color: var(--color-muted, #6a6a6a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.cms-search .cms-search-crumb-sep { margin: 0 6px; color: var(--color-dim, #9a9a9a); }

.cms-search .cms-search-result-title {
    display: block;
    font-family: var(--font-heading, inherit);
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
}
.cms-search .cms-search-result:hover .cms-search-result-title {
    color: var(--color-accent, #f26527);
}

.cms-search .cms-search-result-snippet,
.cms-search .cms-search-result-desc {
    display: block;
    font-size: 0.85rem;
    line-height: var(--line-height, 1.6);
    color: var(--color-muted, #6a6a6a);
    overflow-wrap: break-word;
}
.cms-search .cms-search-result-snippet mark {
    background: none;
    color: var(--color-text, #1a1a1a);
    font-weight: 600;
}

.cms-search .cms-search-result-meta {
    display: block;
    margin-top: 5px;
    font-size: 0.75rem;
    color: var(--color-dim, #9a9a9a);
}
.cms-search .cms-search-meta-sep { margin: 0 7px; }
.cms-search .cms-search-result-type {
    display: inline-block;
    padding: 1px 9px;
    border: 1px solid var(--color-border, #e2e2e2);
    border-radius: var(--radius, 0);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}



/* Thumbnail slot — on EVERY card (right side), so the text edge and card
   geometry stay identical whether or not a result has an image. Imageless
   cards show a subtle placeholder: site surface with faint diagonals. */
.cms-search .cms-search-result-thumb {
    order: 2;
    flex: 0 0 auto;
    width: 92px;
    height: 64px;
    overflow: hidden;
    background: var(--color-surface, #f4f4f4);
    border: 1px solid var(--color-border, #e2e2e2);
    border-radius: var(--radius, 0);
}
.cms-search .cms-search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cms-search .cms-search-result-thumb.no-img {
    background:
        repeating-linear-gradient(
            -45deg,
            transparent 0 10px,
            color-mix(in srgb, var(--color-border, #e2e2e2) 45%, transparent) 10px 11px
        ),
        var(--color-surface, #f4f4f4);
}

.cms-search .cms-search-empty {
    color: var(--color-muted, #6a6a6a);
    padding: 10px 2px;
}
.cms-search .cms-search-empty-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--color-dim, #9a9a9a);
    margin-top: 5px;
}

/* ---------- Inline mode: compact dropdown under the input ---------------- */

.cms-search-mode-inline .cms-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 80;
    background: var(--color-bg, #ffffff);
    border: 1px solid var(--color-border, #e2e2e2);
    border-radius: var(--radius, 0);
    box-shadow: var(--shadow, 0 8px 24px rgba(0, 0, 0, 0.12));
    max-height: min(60vh, 480px);
    overflow-y: auto;
    padding: 4px;
}
.cms-search-mode-inline .cms-search-result {
    padding: 9px 12px;
    border-radius: var(--radius, 0);
}
.cms-search-mode-inline .cms-search-result:hover {
    background: var(--color-surface, #f4f4f4);
}
/* Compact rows: title + one clean line of text. No crumbs, meta or images. */
.cms-search-mode-inline .cms-search-result-crumbs,
.cms-search-mode-inline .cms-search-result-desc,
.cms-search-mode-inline .cms-search-result-meta,
.cms-search-mode-inline .cms-search-result-thumb { display: none; }
.cms-search-mode-inline .cms-search-result-title { font-size: 0.9rem; }
.cms-search-mode-inline .cms-search-result-snippet {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cms-search-mode-inline .cms-search-status {
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
}

/* ---------- Results page: spacious, search-engine style ------------------ */

.cms-search-mode-results_only {
    /* width: 100% keeps the column full size inside flex/grid parents even
       when there are no results yet — without it the widget shrank to the
       form's natural width on an empty query. */
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    box-sizing: border-box;
}
.cms-search-mode-results_only .cms-search-input { padding: 12px 6px; font-size: 1rem; }

.cms-search-mode-results_only .cms-search-results {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.cms-search-mode-results_only .cms-search-result-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 3px;
}
.cms-search-mode-results_only .cms-search-empty { font-size: 1rem; padding: 26px 2px; }

@media (max-width: 600px) {
    .cms-search-mode-results_only .cms-search-result-thumb { width: 72px; height: 52px; }
}








.md-code-block {
    position: relative;
    background: var(--color-nav-bg);
    border: 1px solid var(--color-nav-bg);
    border-radius: 0px;
    overflow: hidden;
    margin: 24px 0px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.5;
    color: rgb(224, 224, 224);
}

.md-code-block .code-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid rgb(51, 51, 51);
    background: rgb(17, 17, 17);
}

.md-code-block .code-block-type {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-dim);
}

.md-code-block .code-block-copy {
    background: transparent;
    border: 0px;
    cursor: pointer;
    color: var(--color-dim);
    opacity: 0;
    padding: 4px;
    display: inline-flex;
    transition: opacity 0.15s, color 0.15s;
}

.md-code-block .code-block-copy svg {
    display: block;
}

.md-code-block .code-block-copy .icon-check {
    display: none;
}

.md-code-block:hover .code-block-copy {
    opacity: 0.8;
}

.md-code-block .code-block-copy:hover {
    opacity: 1;
    color: rgb(255, 255, 255);
}

.md-code-block .code-block-copy.copied {
    opacity: 1;
    color: var(--color-success);
}

.md-code-block .code-block-copy.copied .icon-clipboard {
    display: none;
}

.md-code-block .code-block-copy.copied .icon-check {
    display: block;
}

.md-code-block-plaintext-content, .md-code-block-highlight-content {
    padding: 16px;
    overflow-x: auto;
    white-space: pre;
}

.edel {
    display: inline;
}

.edel.kw1 {
    color: rgb(97, 175, 239);
}

.edel.sub {
    color: rgb(229, 192, 123);
}

.edel.white {
    color: rgb(171, 178, 191);
}

.edel.num {
    color: rgb(209, 154, 102);
}

.edel.string {
    color: rgb(152, 195, 121);
}

.edel.comment {
    color: rgb(92, 99, 112);
    font-style: italic;
}

.edel.kw2 {
    color: rgb(198, 120, 221);
}

.split-grid, .grid-1fr-1p5fr, .grid-1p5fr-1fr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.grid-1fr-1p5fr {
    grid-template-columns: 1fr 1.5fr;
}

.grid-1p5fr-1fr {
    grid-template-columns: 1.5fr 1fr;
}

.split-grid-reverse .split-content {
    position: relative;
    order: 2;
}

.split-grid-reverse .split-media {
    position: relative;
    order: 1;
}

.feature-sec .md-paragraph {
    margin: 1.2em 0px;
    color: var(--color-muted);
    line-height: var(--line-height);
    font-size: clamp(1em, 1.4vw, 1.2em);
}

@media (max-width: 960px) {
    .split-grid, .grid-1fr-1p5fr {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .split-grid-reverse .split-content {
        order: 1;
    }

    .split-grid-reverse .split-media {
        order: 2;
    }
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-backdrop {
    position: absolute;
    inset: 0px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1.4rem;
    font-size: 0.75rem;
    font-family: var(--font-mono-like);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: rgb(255, 255, 255);
    /* clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px); */
}

/* a badge that names a section links to it (@badge_url): same chip, no link colour or underline */
a.badge {
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

@media (hover: hover) {
    a.badge:hover {
        color: rgb(255, 255, 255);
        background: rgba(255, 255, 255, 0.26);
    }
}

a.badge:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.hero-section .badge span.cms-breadcrumb-current, .small-hero .badge span.cms-breadcrumb-current {
    color: rgb(255, 255, 255);
}

.hero-section .badge a, .small-hero .badge a {
    color: rgba(255, 255, 255, 0.54);
}

.hero-section .badge a:hover, .small-hero .badge a:hover {
    color: var(--color-accent-lightened);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(2.2rem, 3vh + 3vw, 7.5rem);
    line-height: 1.05;
    margin: 0px 0px 1.5rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.576);
}

.hero-title .text-italic {
    font-style: italic;
    color: rgb(255, 255, 255);
}

/* hero: cycling last line of the landing title (behaviour in scripts/hero-word-cycle.js) */
.hero-cycle { display: block; will-change: transform, opacity, filter; transform-origin: left center; }
.hero-cycle-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* one run per phrase, held invisible at its end until the script swaps the phrase and restarts it */
.hero-cycle.is-cycling { animation: hero-cycle 4.6s both; }
@keyframes hero-cycle {
  0%   { transform: translateX(-44px) scaleX(1.02); opacity: 0; filter: blur(12px); animation-timing-function: cubic-bezier(0.05, 0.9, 0.1, 1); }
  13%  { transform: translateX(0) scaleX(1);        opacity: 1; filter: blur(0px);  animation-timing-function: linear; }
  87%  { transform: translateX(13px) scaleX(1);     opacity: 1; filter: blur(0px);  animation-timing-function: cubic-bezier(0.7, 0, 1, 0.4); }
  100% { transform: translateX(48px) scaleX(1.02);  opacity: 0; filter: blur(8px); }
}
@media (prefers-reduced-motion: reduce) { .hero-cycle.is-cycling { animation: none; } }

/* landing intro: the chip decoration and the masked right-hand photo are positioned
   against the two-column split. Once it collapses the photo overhangs the viewport and
   is dropped; the chips are refitted below. */
@media (max-width: 900px) {
  .lp-split-mask { display: none; }
  /* the chips stay as a faint background behind the copy, scaled to fit and anchored right,
     so the 400px graphic never pushes the page wider than the screen */
  .lp-decor-chips { left: auto; right: 0; width: min(400px, 100%); }
  .lp-decor-chips svg { display: block; width: 100%; height: auto; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1vh + 1vw, 1.65rem);
    max-width: 1000px;
    margin: 0px 0px clamp(1.5rem, 4vh, 2.5rem);
    color: rgba(255, 255, 255, 0.808);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-stats h3 {
    font-size: clamp(2rem, 2vh + 2vw, 3rem);
    font-family: var(--font-mono-like);
    font-weight: 700;
    margin: 0px;
    line-height: 1;
}
.hero-section {
    position: relative;
    width: 100%;
    /* the visible screen with the browser bars showing (svh), so the stats are not behind
       the iOS toolbar; no fixed height, so on short screens it grows to fit its content
       instead of clipping it */
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    overflow: hidden;
    padding-top: var(--nav-height);
    box-sizing: border-box;
}

.hero-section.sub-hero {
    height: 50vh;
    min-height: max(700px, 50vh);
}

.hero-content {
    position: relative;
    z-index: 3;
    color: rgb(255, 255, 255);
    width: 100%;
    height: auto; /* stretches to the section's height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow-x: clip; /* clips the phrase sweep sideways; vertical stays visible so the stats' own parallax isn't cut off */
    box-sizing: border-box;
}

.hero-stats {
    align-self: flex-end;
    margin-top: 4rem;
    display: flex;
    gap: 3rem;
    text-align: left;
}

@media (max-width: 900px) {
    .hero-stats {
        margin-top: 3rem;
    }
}

.hero-stats p {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    margin: 0.5rem 0px 0px;
    text-transform: uppercase;
    font-weight: 400;
    font-family: var(--font-mono-like);
}


/* .kicker {
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
} */

.kicker {
    color: var(--color-accent);
    font-family: var(--font-kicker);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.bg-surface {
    background-color: var(--color-surface);
}

.bg-white {
    background-color: var(--color-bg);
}

.bg-fade-surface-white {
    background: linear-gradient(to bottom, var(--color-surface) 0%, var(--color-bg) 100%);
}

.bg-inset-dotted {
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.09) 1px, transparent 1px);
    background-size: 12px 12px;
    box-shadow: rgba(0, 0, 0, 0.18) 13px 4px 42px 0px inset;
}

.video-thumbnail-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgb(255, 255, 255);
    border-radius: 50%;
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding-left: 5px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.video-thumbnail-wrapper:hover .play-btn-overlay {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.product-category-gallery {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.product-category-gallery a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.2s, opacity 0.2s;
    width: 20rem;
    height: 15rem;
    gap: 1rem;
}

.product-category-gallery a:hover {
    color: var(--color-accent);
    opacity: 0.8;
}

.product-category-gallery img {
    width: 100%;
    object-fit: cover;
    background-color: var(--color-surface);
    flex: 1 1 0%;
    min-height: 0px;
}

.category-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

.category-description {
    font-size: 0.9rem;
    color: var(--color-muted);
    padding: 0px 1.5rem 1.5rem;
    text-align: center;
}

.featured-products-master-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 4rem;
    grid-template-areas: "header image" "para image" "tabs image" "gallery gallery";
}

.fp-header {
    grid-area: header;
}

.fp-para {
    grid-area: para;
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.6;
}

.fp-image {
    grid-area: image;
}

.fp-gallery {
    grid-area: gallery;
    margin-top: 2rem;
}

.featured-products-master-grid .cms-tabs-bar {
    grid-area: tabs;
    margin-bottom: 0px;
    align-self: start;
}

.fp-ghost-tabs {
    display: contents;
}

.fp-ghost-tabs .cms-tab-panel {
    display: contents !important;
}

.fp-ghost-tabs .cms-tab-panel > div {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
    width: 100%;
}

.fp-ghost-tabs .cms-tab-panel.active > div {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.fp-image .md-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 960px) {
    .featured-products-master-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "header" "para" "tabs" "image" "gallery";
    }
}

.bg-dark {
    background-color: var(--color-nav-bg);
    color: rgb(255, 255, 255);
}

.bg-accent {
    background-color: var(--color-accent);
    color: rgb(255, 255, 255);
}

.bg-dark .md-heading, .bg-accent .md-heading {
    color: rgb(255, 255, 255);
}

.bg-dark .md-paragraph, .bg-accent .md-paragraph, .bg-dark p, .bg-accent p {
    color: rgba(255, 255, 255, 0.85);
}

.bg-dark .lead, .bg-accent .lead {
    color: rgba(255, 255, 255, 0.78);
}

.bg-accent .kicker {
    color: rgb(255, 255, 255);
    opacity: 0.78;
}

.bg-dark .kicker {
    color: var(--color-accent);
    opacity: 1;
}

.btn-light {
    background-color: rgb(255, 255, 255);
    color: var(--color-text);
}

.btn-light:hover {
    background-color: var(--color-nav-bg);
    color: rgb(255, 255, 255);
}

.btn-outline-light {
    background: transparent;
    color: rgb(255, 255, 255);
    border: 2px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
    border-color: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.08);
}

.section-intro {
    max-width: 1100px;
    margin-bottom: 4rem;
}

.section-intro-narrow {
    max-width: 760px;
}

.section-intro .md-heading, .feature-grid-header .md-heading, .compare-header .md-heading {
    margin-block: 0.5rem 1.5rem; line-height: 1.05;
}

.lead {
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    line-height: 1.5;
    color: var(--color-muted);
    max-width: 65ch;
    margin: 0px;
}

.stats-banner {
    position: relative;
    overflow: hidden;
    padding-block: 7rem; }

.stats-banner-media {
    position: absolute;
    inset: 0px;
    z-index: 0;
}

.stats-banner-media img, .stats-banner-media video {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
}

.stats-banner-media:empty {
    display: none;
}

.stats-banner-overlay {
    position: absolute;
    inset: 0px;
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.stats-banner.bg-white .stats-banner-overlay, .stats-banner.bg-surface .stats-banner-overlay {
    background: transparent;
}

.stats-banner-inner {
    position: relative;
    z-index: 2;
}

.stats-banner-header {
    margin-bottom: 4rem;
    max-width: 900px;
}

.stats-banner-header:empty {
    display: none;
    margin: 0px;
}

.stats-heading {
    color: inherit;
    line-height: 1.05;
}

/* size and line height come from .lead, like the other section intros */
.stats-subtitle {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 65ch;
}

.bg-white .stats-subtitle, .bg-surface .stats-subtitle {
    color: var(--color-muted);
}

/* one equal column per stat, however many there are (3 or 4 in use) */
.stats-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 3rem 2rem;
}

.stat-item {
    border-left: 2px solid var(--color-accent);
    padding-left: 1.5rem;
}

.stat-number {
    font-family: var(--font-mono-like);
    font-weight: 700;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1;
    color: var(--color-accent);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15em;
}

/* in the banner grid the number never outgrows its column (long values such as 144,000 t/y or
   $4.4 mil millones ran into the next stat): capped at 24% of the column, and a unit that
   doesn't fit beside it drops below as a whole */
.stats-grid > .stat-item { container-type: inline-size; }
.stats-grid > .stat-item .stat-number { font-size: min(clamp(2.8rem, 5vw, 4.5rem), 24cqi); }

.bg-white .stat-number, .bg-surface .stat-number {
    color: var(--color-accent);
}

.stat-unit {
    white-space: nowrap;
    font-size: 0.45em;
    font-weight: 600;
    color: inherit;
    opacity: 0.75;
    letter-spacing: 0.02em;
}

.stat-label {
    margin-top: 0.75rem;
    font-family: var(--font-mono-like);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
}

.bg-white .stat-label, .bg-surface .stat-label {
    color: var(--color-muted);
}

@media (max-width: 960px) {
    .stats-grid {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 1.5rem;
    }
    /* an odd last stat takes the full row instead of leaving a gap */
    .stats-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.cta-banner {
    padding-block: 6rem; }

.cta-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-banner.cta-align-center .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}

.cta-content {
    max-width: 760px;
}

.cta-kicker {
    color: rgba(255, 255, 255, 0.8);
}

.bg-surface .cta-kicker, .bg-white .cta-kicker {
    color: var(--color-accent);
}

.cta-heading {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.05;
    margin: 0px;
}

.cta-subtitle {
    margin-top: 1rem;
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 60ch;
}

.bg-surface .cta-subtitle, .bg-white .cta-subtitle {
    color: var(--color-muted);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-self: end;
}

/* side by side while they fit; once they wrap, each fills its row, so the buttons are equal width */
.cta-actions > .btn {
    flex: 1 1 auto;
}

.cta-banner.cta-align-center .cta-actions {
    justify-self: center;
}

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

    .cta-actions {
        justify-self: start;
    }
}

.feature-grid-section {
    padding-block: 6rem; }

.feature-grid-header {
    max-width: 900px;
    margin-bottom: 4rem;
}

.feature-grid-section.feature-grid-center .feature-grid-header {
    margin-inline: auto; text-align: center;
}

.feature-grid-section.feature-grid-center .feature-grid-header .lead {
    margin-inline: auto; }

.feature-grid {
    display: grid;
    gap: 2rem;
}

.feature-grid.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.feature-grid.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-grid.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.feature-grid.grid-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 1100px) {
    .feature-grid.grid-cols-4, .feature-grid.grid-cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .feature-grid.grid-cols-3, .feature-grid.grid-cols-4, .feature-grid.grid-cols-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .feature-grid {
        grid-template-columns: 1fr !important;
    }
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem 1.75rem;
    background: var(--color-bg);
    border: 1px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    min-width: 0px;
}

.feature-card .feature-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0px;
    color: var(--color-text);
    line-height: 1.2;
}

.feature-card .feature-body {
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--color-muted);
    margin: 0px;
}

.feature-card .feature-link {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: var(--small-bold-lower-letter-spacing);
    text-decoration: none;
}

.feature-card .feature-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.feature-card .feature-spec {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.feature-card .feature-icon-text {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.feature-card .feature-number {
    font-family: var(--font-mono-like);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    color: var(--color-accent);
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.feature-grid-section.card-style-default .feature-card {
    background: var(--color-surface);
}

.feature-grid-section.card-style-bordered .feature-card {
    background: var(--color-bg);
    border-color: var(--color-border);
}

.feature-grid-section.card-style-bordered .feature-card:hover {
    /* border-color: var(--color-accent); */
}

.feature-grid-section.card-style-numbered .feature-card {
    background: var(--color-bg);
    border-left: 2px solid #dbdbdb;
    padding: 0px 0px 0px 1.4rem;
    box-shadow: 1px 1px 20px 16px rgba(255, 255, 255);
}

/* the left border divides columns: none on the first card of each row */
.feature-grid-section.card-style-numbered .feature-card:first-child,
.feature-grid-section.card-style-numbered .grid-cols-2 > .feature-card:nth-child(2n+1),
.feature-grid-section.card-style-numbered .grid-cols-3 > .feature-card:nth-child(3n+1),
.feature-grid-section.card-style-numbered .grid-cols-4 > .feature-card:nth-child(4n+1),
.feature-grid-section.card-style-numbered .grid-cols-6 > .feature-card:nth-child(6n+1) {
    border-left-style: none;
}

@media (max-width: 1100px) {
    .feature-grid-section.card-style-numbered :is(.grid-cols-4, .grid-cols-6) > .feature-card:not(:nth-child(3n+1)) {
        border-left-style: solid;
    }
    .feature-grid-section.card-style-numbered :is(.grid-cols-4, .grid-cols-6) > .feature-card:nth-child(3n+1) {
        border-left-style: none;
    }
}

@media (max-width: 900px) {
    .feature-grid-section.card-style-numbered :is(.grid-cols-3, .grid-cols-4, .grid-cols-6) > .feature-card:not(:nth-child(2n+1)) {
        border-left-style: solid;
    }
    .feature-grid-section.card-style-numbered :is(.grid-cols-3, .grid-cols-4, .grid-cols-6) > .feature-card:nth-child(2n+1) {
        border-left-style: none;
    }
}

@media (max-width: 600px) {
    .feature-grid-section.card-style-numbered .feature-grid > .feature-card:nth-child(n) {
        border-left-style: none;
    }
}



.feature-grid-section.card-style-numbered .feature-card .md-image-container {
    height: 10rem;
    clip-path: polygon(20px 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%, 0% 20px);
}
.feature-grid-section.card-style-minimal .feature-card {
    background: transparent;
    padding: 0px;
}

.feature-grid-section.card-style-minimal .feature-card .feature-title {
    margin-top: 0.25rem;
}

.feature-card-with-image {
    padding: 0px;
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
}

.feature-card-with-image .feature-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-surface);
}

.feature-card-with-image .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0px;
    transition: transform 0.5s;
}

.feature-card-with-image:hover .feature-image img {
    transform: scale(1.04);
}

.feature-card-with-image .feature-card-text {
    padding: 1.5rem 1.5rem 1.75rem;
}

.feature-card-with-image .feature-card-text .feature-title {
    margin-bottom: 0.5rem;
}

.bg-dark .feature-card, .bg-accent .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.bg-dark .feature-card .feature-title, .bg-accent .feature-card .feature-title {
    color: rgb(255, 255, 255);
}

.bg-dark .feature-card .feature-body, .bg-accent .feature-card .feature-body {
    color: rgba(255, 255, 255, 0.78);
}

.compare-section {
    padding-block: 7rem; }

.compare-header {
    max-width: 800px;
    margin-bottom: 4rem;
    text-align: center;
    margin-inline: auto; }

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin-inline: auto; }

.compare-card {
    background: var(--color-bg);
    padding: 2rem;
    /* border-top: 4px solid; */
    display: flex;
    clip-path: polygon(40px 0%, 100% 0%, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0% 100%, 0% 40px);
    flex-direction: column;
    gap: 1rem;
}

.compare-card--negative {
    background: rgb(254, 244, 244);
}

.compare-card--positive {
    background: rgb(244, 250, 246);
}

.compare-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.compare-icon {
    width: 3.1rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: rgb(255, 255, 255);
    line-height: 1;
    clip-path: polygon(15px 0%, 100% 0%, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0% 100%, 0% 15px);
}

.compare-card--negative .compare-icon {
    background: var(--color-danger);
}

.compare-card--positive .compare-icon {
    background: var(--color-success);
}

.compare-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.compare-card--negative .compare-label {
    color: var(--color-danger);
}

.compare-card--positive .compare-label {
    color: var(--color-success);
}

.compare-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-surface);
    margin: 0px;
}

.compare-media img, .compare-media .md-image-container {
    width: 100%;
    height: 100%;
    margin: 0px;
}

.compare-media .md-image-container .md-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.4rem;
    margin: 0px;
    color: var(--color-text);
    line-height: 1.2;
}

.compare-body {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--color-muted);
    margin: 0px;
}

@media (max-width: 800px) {
    .compare-grid {
        grid-template-columns: 1fr;
    }
}

.customer-marquee-section {
    padding-block: 5rem; overflow: hidden;
}

.customer-marquee-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-inline: auto; }

.customer-marquee-header:empty {
    display: none;
    margin: 0px;
}

.marquee-viewport {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, rgb(0, 0, 0) 8%, rgb(0, 0, 0) 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: marquee-scroll var(--marquee-duration, 60s) linear infinite;
    will-change: transform;
}

.marquee-viewport.marquee-reverse .marquee-track {
    animation-direction: reverse;
}

.marquee-viewport:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    flex: 0 0 auto;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text);
    opacity: 0.55;
    transition: opacity 0.2s, color 0.2s;
    white-space: nowrap;
}

.marquee-item:hover {
    opacity: 1;
    color: var(--color-accent);
}

.bg-dark .marquee-item {
    color: rgb(255, 255, 255);
    opacity: 0.45;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(-50%);
    }
}

.contact-section {
    padding-block: 7rem; scroll-margin-top: var(--nav-height);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info .md-heading {
    color: inherit;
    margin-block: 0.5rem 1rem; line-height: 1.05;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    line-height: 1.55;
    margin: 0px 0px 2.5rem;
    max-width: 50ch;
}

.bg-surface .contact-subtitle, .bg-white .contact-subtitle {
    color: var(--color-muted);
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 2rem;
}

.bg-surface .contact-direct, .bg-white .contact-direct {
    border-top-color: var(--color-border);
}

.contact-direct-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-family: var(--font-kicker);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.contact-value {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.4rem;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-value:hover {
    color: var(--color-accent);
}

.contact-extra {
    margin-top: 2rem;
}

.contact-extra:empty {
    display: none;
}

.contact-extra-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
    margin: 0px;
}

.bg-surface .contact-extra-note, .bg-white .contact-extra-note {
    color: var(--color-muted);
}

.contact-extra-link {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-extra-link:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row.form-row-2 {
    flex-direction: row;
    gap: 1.25rem;
}

.form-row.form-row-2 > .form-field {
    flex: 1 1 0%;
    min-width: 0px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.bg-surface .form-label, .bg-white .form-label {
    color: var(--color-muted);
}

.form-field select option {
    background: rgb(39, 40, 41);
    color: rgb(255, 255, 255);
}

.bg-surface .form-field select option, .bg-white .form-field select option {
    background: var(--color-bg);
    color: var(--color-text);
}

.form-field input, .form-field select, .form-field textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    background: rgb(39, 40, 41);
    border: 2px solid rgb(58, 62, 65);
    color: rgb(255, 255, 255);
    border-radius: 0px;
    transition: border-color 0.15s, background 0.15s;
    width: 100%;
    box-sizing: border-box;
}

.form-field textarea {
    resize: vertical;
    min-height: 8rem;
    font-family: var(--font-body);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

.bg-surface .form-field input, .bg-surface .form-field select, .bg-surface .form-field textarea, .bg-white .form-field input, .bg-white .form-field select, .bg-white .form-field textarea {
    background: var(--color-bg);
    border-color: var(--color-border);
    color: var(--color-text);
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-submit {
    align-self: flex-start;
}

.contact-form-note {
    margin: 0px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    max-width: 65ch;
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-form-note.contact-form-note-active {
    opacity: 1;
}

.bg-surface .contact-form-note, .bg-white .contact-form-note {
    color: var(--color-muted);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row.form-row-2 {
        flex-direction: column;
    }
}

.pulley-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, 22vw);
    gap: 1rem;
    margin-top: 3rem;
}

.pulley-showcase-item {
    position: relative;
    overflow: hidden;
    margin: 0px;
    background: var(--color-surface);
}

.pulley-showcase > .ps-feature, .pulley-showcase > :nth-child(1) {
    grid-area: span 2 / span 2;
}

.pulley-showcase .ps-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.pulley-showcase-item:hover .ps-img {
    transform: scale(1.04);
}

.ps-caption {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    padding: 1rem 1.25rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 100%);
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transform: translateY(0.4rem);
    opacity: 0.96;
    transition: transform 0.25s, opacity 0.25s;
}

.pulley-showcase-item:hover .ps-caption {
    transform: translateY(0px);
    opacity: 1;
}

.ps-caption-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.ps-caption-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.pulley-showcase-compact {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, 18vw);
}

.pulley-showcase-compact > :nth-child(1) {
    grid-area: span 1 / span 2;
}

@media (max-width: 900px) {
    .pulley-showcase {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(180px, 28vw);
    }

    .pulley-showcase > .ps-feature, .pulley-showcase > :nth-child(1) {
        grid-area: span 1 / span 2;
    }

    .pulley-showcase-compact > :nth-child(1) {
        grid-column: span 2;
    }
}

@media (max-width: 540px) {
    .pulley-showcase {
        grid-template-columns: 1fr;
    }

    .pulley-showcase > .ps-feature, .pulley-showcase > :nth-child(1) {
        grid-column: span 1;
    }
}

.deep-dive-tabs .cms-tabs-bar {
    border-bottom-color: var(--color-border);
    margin-bottom: 2.5rem;
}

.deep-dive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.deep-dive-text > * + * {
    margin-top: 1rem;
}

.deep-dive-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    line-height: 1.1;
    color: var(--color-text);
    margin: 0px 0px 0.5rem;
}

.deep-dive-text > p {
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0px 0px 1rem;
}

.deep-dive-subhead {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 1.75rem 0px 0.5rem !important;
}

.deep-dive-list {
    margin: 0px;
    padding-left: 1.25rem;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.7;
}

.deep-dive-list li::marker {
    color: var(--color-accent);
}

.deep-dive-callout {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg);
    border-left: 3px solid var(--color-accent);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
}

.bg-surface .deep-dive-callout {
    background: var(--color-bg);
}

.deep-dive-media {
    margin: 0px;
}

.deep-dive-media .md-image-container {
    margin: 0px;
}

.deep-dive-media .md-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (max-width: 900px) {
    .deep-dive-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hero-section.sub-hero .badge {
    white-space: normal;
    line-height: 1.4;
    max-width: 90vw;
}

.hero-title {
    font-size: clamp(2.4rem, 3.2vh + 3.2vw, 9rem);
}

h2.md-heading {
    font-size: clamp(2rem, 3.4vw, 3rem);
}

h2.md-heading, .hero-title, .cta-heading, .contact-heading, .stats-heading {
    line-height: 1.02;
    letter-spacing: -0.01em;
}

.site-header {
    position: fixed;
    top: 0px;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    height: var(--nav-height);
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.3s;
    box-shadow: none;
}

.site-header .nav-logo {
    width: 200px;
    transition: filter 0.2s;
}

.site-header .nav-link, .site-header .brand-logo, .site-header .search-btn {
    color: var(--color-text);
}

.site-header.nav-overlay:not(.is-scrolled) {
    position: absolute;
    background: linear-gradient(rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    border-bottom-color: transparent;
}

.site-header.nav-overlay:not(.is-scrolled) .nav-link, .site-header.nav-overlay:not(.is-scrolled) .brand-logo, .site-header.nav-overlay:not(.is-scrolled) .search-btn {
    color: rgb(255, 255, 255);
}

.site-header.nav-overlay:not(.is-scrolled) .nav-logo {
    filter: brightness(0) invert(1);
}

.site-header.nav-overlay:not(.is-scrolled) .nav-hamburger span {
    background: rgb(255, 255, 255);
}

.site-header.nav-overlay.is-scrolled {
    position: fixed;
    background-color: var(--color-bg);
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;
}

body:not(:has(.hero-section)) .page-wrapper {
    padding-top: var(--nav-height);
}

/* ---- nav clearance: custom hero without .hero-section (same fix as product-hero) ---- */
body:has(.small-hero) .page-wrapper{padding-top:0} 

/* ---- hero (compact) ---- */
.small-hero{position:relative;min-height:max(380px,46vh);display:flex;align-items:flex-end;overflow:hidden;
  /*background:linear-gradient(170deg,#22262b,#141619)*/;padding-top:var(--nav-height)}
.small-hero-grid{position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:120px 120px}
.bg-hero-grid {
     background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:120px 120px
}
body:has(.bg-hero-fill) .page-wrapper{padding-top:0}

.small-hero-content{position:relative;z-index:2;color:#fff;width:100%;padding-bottom:clamp(2.5rem,5vh,4rem)}
.small-hero-content .kicker{display:block;margin-bottom:1.1rem}
.small-hero h1{font-family:var(--font-heading);font-weight:800;font-size:clamp(2.4rem,1.4vh + 3.6vw,4.6rem);line-height:1;text-transform:uppercase;letter-spacing:-.015em;max-width:18ch;margin:0;color:#fff}
.small-hero p{font-size:clamp(1.02rem,.9vw + .65rem,1.3rem);color:rgba(255,255,255,.78);max-width:52ch;margin-top:1.2rem}
/* phones: long words (es "TRANSPORTADORAS") are wider than the screen; hyphenate words of 12+ letters only */
@media (max-width:420px){.small-hero h1{-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:12 5 5;overflow-wrap:break-word}}

.small-hero-backdrop {
    position: absolute;
    inset: 0px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
    /* backdrop-filter: blur(6px); */
}

.site-nav .nav-list {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: flex;
    gap: 2rem;
}

.site-nav .nav-item {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    position: relative;
}

.site-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    height: 100%;
    color: inherit;
    transition: color 0.15s;
}

.site-nav .nav-link:hover, .site-nav .nav-link:focus-visible {
    color: var(--color-accent);
}

.site-nav .nav-chevron {
    margin-top: 1px;
    transition: transform 0.18s;
}

.site-nav .nav-item-has-dropdown.is-open .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: max-content;
    max-width: 920px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 12px 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s, transform 0.18s, visibility 0.15s;
    z-index: 100;
}

.nav-item-has-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0px);
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0px;
    right: 0px;
    height: 8px;
}

.nav-dropdown-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr)) minmax(220px, 280px);
    gap: 2.5rem;
    padding: 2rem 2.5rem;
}

.nav-dropdown-col {
    min-width: 0px;
}

.nav-dropdown-header {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 0px 0px 1rem;
}

.nav-dropdown-list {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-dropdown-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.3rem 0px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.nav-dropdown-link:hover, .nav-dropdown-link:focus-visible {
    color: var(--color-accent);
}

.nav-dropdown-link-strong {
    font-weight: 600;
    font-family: var(--font-heading);
}

.nav-dropdown-meta {
    font-family: var(--font-mono, monospace);
    font-size: 0.75rem;
    color: var(--color-muted);
}

.nav-dropdown-feature {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem;
    background: var(--color-surface);
    border-left: 3px solid var(--color-accent);
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s;
}

.nav-dropdown-feature:hover {
    background: rgb(236, 236, 236);
}

.nav-dropdown-feature-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.nav-dropdown-feature-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
}

.nav-dropdown-feature-body {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-muted);
}

.nav-dropdown-external {
    font-size: 0.85em;
    color: var(--color-accent);
}

.nav-hamburger {
    display: none;
    background: transparent;
    border: 0px;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0px;
    margin-left: 0.25rem;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.22s, opacity 0.18s, background 0.2s;
    transform-origin: center center;
}

.nav-hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
    position: fixed;
    inset: 0px;
    z-index: 1100;
    visibility: hidden;
    pointer-events: none;
}

.nav-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.nav-drawer-backdrop {
    position: absolute;
    inset: 0px;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s;
}

.nav-drawer.is-open .nav-drawer-backdrop {
    opacity: 1;
}

.nav-drawer-panel {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    width: min(420px, 100vw);
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
}

.nav-drawer.is-open .nav-drawer-panel {
    transform: translateX(0px);
}

.nav-drawer-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.nav-drawer-logo img {
    height: 32px;
    width: auto;
}

.nav-drawer-close {
    background: transparent;
    border: 0px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text);
}

.nav-drawer-body {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
}

.nav-drawer-pane {
    position: absolute;
    inset: 0px;
    background: var(--color-bg);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    will-change: transform;
}

.nav-drawer-pane-root {
    transform: translateX(0px);
}

.nav-drawer-pane.is-open {
    transform: translateX(0px);
}

.nav-drawer-pane-head {
    border-bottom: 1px solid var(--color-border);
}

/* Same height as the drawer's search row, so the first rule doesn't move
   between the root list and a sub-list. */
.nav-drawer-back {
    background: transparent;
    border: 0px;
    width: 100%;
    min-height: 64px;
    text-align: left;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--color-text);
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.15s;
}

.nav-drawer-back svg {
    color: var(--color-accent);
    flex: 0 0 auto;
}

.nav-drawer-back:hover, .nav-drawer-back:focus-visible {
    color: var(--color-accent);
    outline: none;
}

.nav-drawer-list {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.nav-drawer-item {
    border-bottom: 1px solid var(--color-border);
}

.nav-drawer-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: 0px;
    text-align: left;
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
}

.nav-drawer-link-text {
    flex: 1 1 0%;
}

.nav-drawer-link-meta {
    font-family: var(--font-mono, monospace);
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--color-muted);
    letter-spacing: 0.04em;
}

.nav-drawer-link:hover, .nav-drawer-link:focus-visible {
    background: var(--color-surface);
    color: var(--color-accent);
}

.nav-drawer-link-chevron {
    color: var(--color-muted);
    flex: 0 0 auto;
}

/* Where the visitor is (navbar.js): the page itself, or its nearest menu
   entry, and the top-level row that leads to it. */
.nav-drawer .nav-drawer-link.is-current {
    color: var(--color-accent);
    box-shadow: inset 3px 0 0 var(--color-accent);
}

.nav-drawer .nav-drawer-link.is-current .nav-drawer-link-chevron {
    color: var(--color-accent);
}

/* Sub-pages (roller types under Conveyor Rollers) read as one indented group:
   shorter rows, no rules inside the group. */
.nav-drawer-item:has(+ .nav-drawer-item-sub), .nav-drawer-item-sub {
    border-bottom-color: transparent;
}

.nav-drawer-item-sub:not(:has(+ .nav-drawer-item-sub)) {
    border-bottom-color: var(--color-border);
    padding-bottom: 0.5rem;
}

.nav-drawer-item-feature .nav-drawer-link {
    background: var(--color-surface);
}

.nav-drawer-item-feature .nav-drawer-link-meta {
    color: var(--color-accent);
}

.nav-drawer-foot {
    flex: 0 0 auto;
    padding: 1.1rem 1.5rem 1.25rem;
    border-top: 1px solid var(--color-border);
}

.nav-drawer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1rem;
}

.nav-drawer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 32px;
    font-size: 0.9rem;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.nav-drawer-contact a:hover, .nav-drawer-contact a:focus-visible {
    color: var(--color-accent);
}

.nav-drawer-contact svg {
    flex: 0 0 auto;
    color: var(--color-accent);
}

.nav-drawer-cta {
    width: 100%;
    justify-content: center;
}

html.nav-drawer-open, html.nav-drawer-open body {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .site-nav, .nav-quote-btn, .search-btn {
        display: none;
    }

    .nav-hamburger {
        display: inline-flex;
    }

    .nav-overlay:not(.is-scrolled) .nav-hamburger span {
        background: rgb(255, 255, 255);
    }
}

.lb-icon {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}

.lb-icon-process {
    width: 36px;
    height: 36px;
    color: var(--color-accent);
}

.lb-icon-capability {
    width: 100%;
    height: 80px;
    color: var(--color-text);
    opacity: 0.85;
}

.lb-icon-product {
    width: 60px;
    height: 30px;
    color: var(--color-accent);
}

.feature-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--color-border);
    margin-bottom: 1rem;
}

.feature-grid-section.card-style-numbered .feature-icon-wrap {
    margin-bottom: 0.5rem;
}

.bg-blueprint-grid {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.18);
    z-index: 0;
}

.bg-white .bg-blueprint-grid, .bg-surface .bg-blueprint-grid {
    color: rgba(0, 0, 0, 0.06);
}

.bg-monogram {
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    width: 28rem;
    height: 28rem;
    pointer-events: none;
    color: currentcolor;
    opacity: 0.06;
    z-index: 0;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 280px;
    margin-block: 3rem; }

.section-divider.center {
    margin-inline: auto; }

.section-divider.left {
    margin-inline: 0px auto; }

.section-divider.right {
    margin-inline: auto 0px; }

.section-divider-rule {
    flex: 1 1 0%;
    height: 1px;
    background: var(--color-border);
}

.section-divider-mark {
    width: 10px;
    height: 10px;
    background: var(--color-accent);
}

.pull-quote {
    margin: 4rem auto;
    max-width: 70ch;
    position: relative;
    padding: 1rem 2rem 1rem 4rem;
    border-left: 3px solid var(--color-accent);
}

.pull-quote-mark {
    position: absolute;
    left: 0.5rem;
    top: -0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 5rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.4;
}

.pull-quote-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.4rem, 2vw, 2.1rem);
    line-height: 1.25;
    margin: 0px;
    color: var(--color-text);
}

.pull-quote-text::first-letter {
    font-size: 1.2em;
    line-height: 1;
}

.pull-quote-attr {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-family: var(--font-mono, monospace);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--color-muted);
}

.product-lines-section {
    padding-block: 8rem; }

@media (max-width: 1100px) {
  /* cards become a centred single column here — centre the intro to match */
  .product-lines-section .section-intro {
    align-self: center;      /* shrink-to-content & centre within the flex column */
    text-align: center;
    max-width: 720px;        /* never exceed the centred card column */
  }
  .product-lines-section .section-intro .lead {
    max-width: 52ch;         /* keep the centred copy to a readable measure */
    margin-inline: auto;
  }
}

.product-line-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.product-line-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1100px;
    margin-inline: auto; }

.product-line-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: border-color 0.2s, transform 0.2s;
    overflow: hidden;
    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 8px 30px 47px 0px;
}

.product-line-card:hover {
    /* border-color: var(--color-accent); */
    transform: translateY(-2px);
}

.product-line-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-line-card-media {
    position: relative;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: linear-gradient(337deg, #f0f3f4, #d9e5f1);
}

.product-line-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0px;
    transition: transform 0.6s;
}

.product-line-card:hover .product-line-card-img {
    transform: scale(1.04);
}

.product-line-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-accent);
    color: rgb(255, 255, 255);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.4rem 0.7rem;
}

.product-line-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 2.25rem;
}

.product-line-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.product-line-kicker {
    margin: 0px;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-line-icon {
    width: 60px;
    height: 30px;
    color: var(--color-muted);
    opacity: 0.6;
    display: inline-flex;
    align-items: center;
}

.product-line-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.1;
    margin: 0px 0px 0.75rem;
    color: var(--color-text);
}

.product-line-external {
    color: var(--color-accent);
    font-size: 0.8em;
    margin-left: 0.2em;
}

.product-line-card-text {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0px 0px 1rem;
}

.product-line-card-sublist-wrap {
    margin-bottom: 1.25rem;
}

.product-line-sublist {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-line-sublist li {
    position: relative;
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.product-line-sublist li::before {
    content: "";
    left: 0px;
    width: 5px;
    /* margin-right: 19px; */
    min-width: 5px;
    min-height: 5px;
    transform: translateY(0.5em) rotate(45deg);
    height: 5px;
    background: var(--color-accent);
    top: 0px;
}

.product-line-card-cta {
    text-decoration: none;
    margin-top: auto;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-accent);
    letter-spacing: var(--small-bold-lower-letter-spacing);
}

.product-line-card:hover .product-line-card-cta {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.product-line-card-muted {
    background: var(--color-surface);
}

.product-line-card-muted .product-line-card-img {
    opacity: 0.88;
}

@media (max-width: 1100px) {
    .product-line-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin-inline: auto; }

    .product-line-grid-2 {
        grid-template-columns: 1fr;
    }
}

.capability-section {
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.capability-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--color-bg);
    border-top: 3px solid var(--color-accent);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.capability-card:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.06) 0px 6px 20px;
}

.capability-svg {
    height: 80px;
    color: var(--color-text);
    opacity: 0.85;
}

.capability-number {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    line-height: 1;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.capability-unit {
    font-size: 0.5em;
    font-weight: 600;
    color: var(--color-muted);
    letter-spacing: 0.04em;
    margin-left: 0.2em;
}

.capability-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.capability-anchor {
    margin-top: auto;
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    border-top: 1px solid var(--color-border);
    padding-top: 0.75rem;
}

.capability-card:hover .capability-anchor {
    color: var(--color-accent);
}

@media (max-width: 1024px) {
    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .capability-grid {
        grid-template-columns: 1fr;
    }
}
/* ===========================================================================
   CASE-STUDY SCROLLER - main.css edits, v2 (net trim).

   IMPORTANT - DUPLICATE HUNT: main.css contains the scroller block TWICE
   (two .case-study-viewport rules, two ::-webkit-scrollbar, two .is-grabbing).
   An undead copy is why the right edge stayed permanently faded. Search for:
       mask-image: linear-gradient(to right, black calc(100% - 96px)
   and DELETE every rule containing it, then keep exactly ONE copy of the
   scroller rules, replacing the base viewport rule with the one below.
   (The fade mask itself is now applied inline by the partial JS, so even a
   missed stray rule can no longer override it.)
============================================================================ */

/* registered so the fade edges glide instead of popping (no-op if unsupported) */
@property --cs-fade-l { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --cs-fade-r { syntax: '<length>'; inherits: false; initial-value: 96px; }

.case-study-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  /* full screen width, cards start and snap at the content margin; the edge
     fades fall in the gutter instead of over the cards */
  margin-inline: calc(50cqw - 50vw);
  padding-inline: calc(50vw - 50cqw);
  scroll-padding-inline: calc(50vw - 50cqw);
  scroll-snap-type: x mandatory;   /* native snapping for touch scrolls */
  user-select: none;               /* no blue selection highlight on drag */
  transition: --cs-fade-l .25s ease, --cs-fade-r .25s ease;
}
/* snap suppressed while the mouse is dragging AND while the JS glides to a
   card, so releasing a drag settles smoothly instead of jumping */
.case-study-viewport.is-grabbing,
.case-study-viewport.is-settling { scroll-snap-type: none; }
.case-study-viewport.is-grabbing { cursor: grabbing; }
.case-study-viewport::-webkit-scrollbar { display: none; }

/* stop native image/link ghost-drag inside cards */
.case-study-card img,
.case-study-card a { -webkit-user-drag: none; user-drag: none; }

/* compact neutral progress scrubber */
.case-study-progress {
  margin-top: 1.5rem;
  height: 2px;
  max-width: 220px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}
.case-study-progress-fill {
  position: absolute;
  inset: 0;
  background: var(--color-dim);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .15s linear;
}
.bg-dark .case-study-progress { background: rgba(255, 255, 255, .15); }
.bg-dark .case-study-progress-fill { background: rgba(255, 255, 255, .55); }
.case-study-arrow:disabled { opacity: .35; pointer-events: none; }

.case-study-section {
    padding-block: 8rem; overflow: hidden;
}

/* cqw units in the viewport and cards measure the content width */
.case-study-section > .container {
    container-type: inline-size;
}

.case-study-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.case-study-header-text {
    max-width: 780px;
}

.case-study-controls {
    display: flex;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.case-study-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.case-study-arrow:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: rgb(255, 255, 255);
}


.case-study-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.case-study-card {
    flex: 0 0 360px;
    scroll-snap-align: start;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
    cursor: pointer;
}

.case-study-card:hover {
    /* border-color: var(--color-accent); */
    transform: translateY(-2px);
}

.case-study-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-surface);
}

.case-study-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
    margin: 0px;
}

.case-study-card:hover .case-study-card-media img {
    transform: scale(1.04);
}

.case-study-chip {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgb(0 0 0 / 19%);
    color: #ffffff;
    backdrop-filter: blur(4px);
    font-family: var(--font-mono-like, monospace);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.case-study-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.5rem 1.5rem 1.75rem;
}

.case-study-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.15;
    margin: 0px;
    color: var(--color-text);
}

.case-study-card-operator {
    margin: 0px;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.case-study-card-stat {
    margin: 0.75rem 0px 0px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-accent);
}

.case-study-card-claim {
    margin: 0.4rem 0px 1.25rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--color-text);
    flex: 1 1 auto;
}

.case-study-card-cta {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: var(--small-bold-lower-letter-spacing);
}

@media (max-width: 720px) {
    .case-study-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .case-study-card {
        flex-basis: min(280px, calc(100cqw - 3rem));
    }
}

.pulley-anatomy {
    padding-block: 8rem; }

.pulley-anatomy-stage {
    margin: 4rem auto 3.5rem;
    max-width: 1200px;
}

.pulley-anatomy-svg {
    width: 100%;
    height: auto;
    color: var(--color-text);
    display: block;
}

.pulley-anatomy-svg [data-component] {
    transition: opacity 0.18s, stroke 0.18s;
    stroke: currentcolor;
}

.pulley-anatomy.has-active .pulley-anatomy-svg [data-component] {
    opacity: 0.32;
}

.pulley-anatomy-svg [data-component].is-active {
    opacity: 1;
    stroke: var(--color-accent);
    stroke-width: 2;
}

.pulley-anatomy-spot {
    cursor: pointer;
    transition: transform 0.18s;
    transform-origin: center center;
    transform-box: fill-box;
}

.pulley-anatomy-spot circle {
    fill: var(--color-bg);
    stroke: var(--color-accent);
    stroke-width: 2;
    transition: fill 0.18s, transform 0.18s;
}

.pulley-anatomy-spot text {
    font-weight: 600;
    fill: var(--color-accent);
}

.pulley-anatomy-spot:hover circle, .pulley-anatomy-spot.is-active circle, .pulley-anatomy-spot:focus-visible circle {
    fill: var(--color-accent);
    transform: scale(1.15);
    transform-origin: center center;
}

.pulley-anatomy-spot:hover text, .pulley-anatomy-spot.is-active text, .pulley-anatomy-spot:focus-visible text {
    fill: rgb(255, 255, 255);
}

.pulley-anatomy-spot line {
    stroke: var(--color-muted);
    opacity: 0.5;
}

.pulley-anatomy-spot:hover line, .pulley-anatomy-spot.is-active line, .pulley-anatomy-spot:focus-visible line {
    stroke: var(--color-accent);
    opacity: 1;
}

.pulley-anatomy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.anatomy-card {
    position: relative;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 1.5rem 1.5rem 1.75rem;
    transition: border-color 0.18s, transform 0.18s;
}

.anatomy-card.is-active {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.anatomy-card-num {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.78rem;
    color: var(--color-muted);
    letter-spacing: 0.06em;
}

.anatomy-card-spec {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.anatomy-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0px 0px 0.5rem;
    color: var(--color-text);
}

.anatomy-card-body {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--color-muted);
    margin: 0px;
}

@media (max-width: 900px) {
    .pulley-anatomy-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .pulley-anatomy-cards {
        grid-template-columns: 1fr;
    }
}

.pulley-types-section {
    padding-block: 7rem; }

.pulley-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 2.5rem;
    margin-top: 3.5rem;
}

.pulley-type {
    background: var(--color-bg);
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--color-border);
    transition: border-color 0.2s;
}

.pulley-type:hover {
    border-top-color: var(--color-accent);
}

.pulley-type-svg {
    height: 120px;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.pulley-type-svg svg {
    width: 100%;
    height: 100%;
    max-width: 240px;
}

.pulley-type-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0px 0px 0.5rem;
    color: var(--color-text);
}

.pulley-type-body {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--color-muted);
    margin: 0px;
}

@media (max-width: 880px) {
    .pulley-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .pulley-types-grid {
        grid-template-columns: 1fr;
    }
}

.end-disc-section {
    padding-block: 7rem; }

.end-disc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.end-disc-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.end-disc-svg-wrap {
    background: var(--color-surface);
    padding: 1.5rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.end-disc-svg-wrap svg {
    width: 100%;
    height: auto;
    max-height: 220px;
    display: block;
    margin-inline: auto; }

.end-disc-card-body {
    padding: 1.5rem 1.75rem 1.75rem;
    flex: 1 1 auto;
}

.end-disc-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.35rem;
    margin: 0px 0px 0.3rem;
    color: var(--color-text);
}

.end-disc-card-spec {
    font-family: var(--font-mono-like, monospace);
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
}


.end-disc-card-body-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--color-muted);
    margin: 0px;
}

@media (max-width: 900px) {
    .end-disc-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin-inline: auto; }
}

.three-seal-section {
    padding-block: 8rem; }

.three-seal-diagram {
    margin: 3rem auto 2rem;
    max-width: 1100px;
    padding: 2rem;
    background: var(--color-surface);
}

.three-seal-svg {
    width: 100%;
    height: auto;
    color: var(--color-text);
    display: block;
}

.three-seal-svg .three-seal-spot circle {
    fill: var(--color-bg);
    stroke: var(--color-accent);
    stroke-width: 2;
}

.three-seal-svg .three-seal-spot text:first-of-type {
    fill: var(--color-accent);
    font-weight: 600;
}

.three-seal-caption {
    text-align: center;
    max-width: 720px;
    margin: 2rem auto 0px;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.contact-address {
    margin: 0px 0px 1rem;
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-address strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: rgb(255, 255, 255);
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}

.bg-surface .contact-address, .bg-white .contact-address {
    color: var(--color-muted);
    border-top-color: var(--color-border);
}

.bg-surface .contact-address strong, .bg-white .contact-address strong {
    color: var(--color-text);
}

.product-line-grid-2 .product-line-card-media {
    aspect-ratio: 4 / 3;
}

.site-header .nav-logo {
    filter: none !important;
    width: 200px;
}

.site-header .nav-logo-overlay, .site-header .nav-logo-solid {
    display: none;
}

.site-header.nav-overlay:not(.is-scrolled) .nav-logo-overlay {
    display: block;
}

.site-header:not(.nav-overlay) .nav-logo-solid, .site-header.nav-overlay.is-scrolled .nav-logo-solid {
    display: block;
}

.site-header, .site-header.nav-overlay, .site-header.nav-overlay:not(.is-scrolled), .site-header.nav-overlay.is-scrolled {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
}

.site-header:not(.nav-overlay), .site-header.nav-overlay.is-scrolled {
    border-bottom: 1px solid var(--color-border);
    background-position-x: !important;
    background-position-y: !important;
    background-size: !important;
    background-repeat: !important;
    background-attachment: !important;
    background-origin: !important;
    background-clip: !important;
    background-color: !important;
    background-image: none !important;
}

.site-header.nav-overlay:not(.is-scrolled) {
    background: linear-gradient(rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%) !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
}

.site-header .nav-dropdown, .site-header .nav-dropdown a {
    color: var(--color-text) !important;
}

.site-header .nav-dropdown a:hover, .site-header .nav-dropdown a:focus-visible {
    color: var(--color-accent) !important;
}

.site-header .nav-dropdown .nav-dropdown-header, .site-header .nav-dropdown .nav-dropdown-feature-tag {
    color: var(--color-accent) !important;
}

.site-header .nav-dropdown .nav-dropdown-feature-body, .site-header .nav-dropdown .nav-dropdown-meta {
    color: var(--color-muted) !important;
}

.nav-dropdown {
    left: 0px;
    right: auto;
    transform: translateY(-8px);
}

.nav-item-has-dropdown.is-open .nav-dropdown {
    transform: translateY(0px);
}

.case-study-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    padding: 0px !important;
}

.case-study-card {
    scroll-snap-align: start;
}

.tech-label {
    font-family: var(--font-mono, monospace);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-muted);
    font-weight: 700;
}

.tech-label-accent {
    color: var(--color-accent);
}

.caption-mono {
    font-family: var(--font-mono, monospace);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    line-height: 1.55;
}

.story-section {
    padding-block: 8rem 7rem; background: var(--color-bg);
}

.story-section .container {
    max-width: 760px;
}

.story-kicker {
    display: block;
    font-family: var(--font-mono, monospace);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 2rem;
}

.story-body {
    font-family: var(--font-body);
    font-size: clamp(1.15rem, 1.4vw, 1.4rem);
    line-height: 1.6;
    color: var(--color-text);
}

.story-body p {
    margin: 1.5rem 0px;
}

.story-body p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 4.5rem;
    line-height: 0.9;
    float: left;
    padding: 0.4rem 1rem 0px 0px;
    color: var(--color-accent);
}

.process-flow-section {
    padding-block: 8rem; }

.process-flow-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 2rem;
    position: relative;
    margin-top: 4rem;
}

.process-flow-track::before {
    content: "";
    position: absolute;
    top: 32px;
    left: calc(12.5% + 32px);
    right: calc(12.5% + 32px);
    height: 1px;
    background: var(--color-border);
    z-index: 0;
}

.process-flow-step {
    position: relative;
    z-index: 1;
}

.process-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 1.5px solid var(--color-text);
    background: var(--color-bg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1.75rem;
}

.process-flow-icon {
    width: 44px;
    height: 44px;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.process-flow-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.process-flow-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.15;
    margin: 0px 0px 0.5rem;
    color: var(--color-text);
}

.process-flow-body {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-muted);
    margin: 0px;
}

@media (max-width: 960px) {
    .process-flow-track {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-flow-track::before {
        inset: 32px auto 32px 32px;
        width: 1px;
        height: auto;
    }

    .process-flow-step {
        padding-left: 5rem;
        min-height: 64px;
    }

    .process-flow-num {
        position: absolute;
        left: 0px;
        top: 0px;
        margin-bottom: 0px;
    }

    .process-flow-icon {
        margin-top: 0px;
    }
}

.diagram-stage-section {
    padding-block: 8rem; }

.diagram-stage {
    margin: 4rem auto 0px;
    max-width: 1200px;
    position: relative;
}

.diagram-stage svg {
    width: 100%;
    height: auto;
    color: var(--color-text);
    display: block;
}

.diagram-stage-caption {
    margin: 2.5rem auto 0px;
    text-align: center;
    max-width: 60ch;
    font-family: var(--font-mono, monospace);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    line-height: 1.6;
}

.dim-line {
    stroke: currentcolor;
    stroke-width: 1;
    opacity: 0.5;
    fill: none;
}

.dim-extension {
    stroke: currentcolor;
    stroke-width: 1;
    opacity: 0.32;
    fill: none;
    stroke-dasharray: 0;
}

.dim-arrow {
    stroke: currentcolor;
    stroke-width: 1;
    fill: currentcolor;
}

.dim-value {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 700;
    fill: currentcolor;
    stroke: none;
    letter-spacing: 0.04em;
}

.leader-line {
    stroke: currentcolor;
    stroke-width: 1;
    opacity: 0.5;
    fill: none;
}

.leader-dot {
    fill: var(--color-accent);
    stroke: none;
}

.leader-label {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 700;
    fill: currentcolor;
    stroke: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-marker {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    fill: var(--color-accent);
    stroke: none;
}

.section-marker-line {
    stroke: var(--color-accent);
    stroke-width: 1.5;
    fill: none;
}

.title-block-stamp {
    position: absolute;
    bottom: clamp(1.5rem, 3vh, 3rem);
    right: clamp(2rem, 5vw, 4rem);
    z-index: 3;
    display: grid;
    grid-template-columns: auto auto;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
    font-family: var(--font-mono, monospace);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.title-block-cell {
    padding: 0.4rem 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    white-space: nowrap;
}

.title-block-cell.is-strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.title-block-cell:nth-child(2n) {
    border-right-width: medium;
    border-right-style: none;
    border-right-color: currentcolor;
}

.title-block-cell:nth-last-child(1), .title-block-cell:nth-last-child(2) {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

@media (max-width: 880px) {
    .title-block-stamp {
        display: none;
    }
}

.feature-card .feature-icon-text {
    display: none;
}

*, ::before, ::after {
    box-sizing: border-box;
}

.stats-banner, .cta-banner, .contact-section {
    position: relative;
    isolation: isolate;
}

.stats-banner.bg-dark::before, .contact-section.bg-dark::before {
    content: "";
    position: absolute;
    inset: 0px;
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(black 0%, black 70%, transparent 100%);
}

.cta-banner.bg-accent::before {
    content: "";
    position: absolute;
    inset: 0px;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0px, rgba(255, 255, 255, 0.08) 3px, transparent 1px, transparent 26px);
    pointer-events: none;
    z-index: 0;
}

.stats-banner > *, .cta-banner > *, .contact-section > * {
    z-index: 1;
}

html {
    scroll-behavior: smooth;
}



/* Math typesetting overrides */
.eq-row .m-row {
    font-size: 1.5rem;
}



.product-section-header, .roller-section-header, .pulley-section-header, .frame-section-header {
    max-width: 1050px;
    margin-bottom: 2rem;
}

.product-kicker, .roller-kicker, .pulley-kicker, .frame-kicker {
    display: block;
    margin-bottom: 0.55rem;
    font-family: var(--font-kicker);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.product-section-header h2, .roller-section-header h2, .pulley-section-header h2, .frame-section-header h2 {
    margin: 0px 0px 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    color: var(--color-text);
}

.product-section-header p, .roller-section-header p, .pulley-section-header p, .frame-section-header p {
    max-width: 78ch;
    margin: 0px;
    color: var(--color-muted);
    font-size: clamp(1rem, 1.3vw, 1.14rem);
    line-height: 1.65;
}

.product-card-gallery, .roller-type-gallery, .pulley-type-gallery, .frame-type-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0px, 1fr));
    gap: 1.35rem;
    margin-top: 2rem;
}

.roller-types-grid {
    display: grid;
    /* grid-auto-columns: inherit; */
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}


@media (max-width: 1200px) {
    .roller-types-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .roller-types-grid {
        grid-template-columns: 1fr;
    }
}

.product-card, .roller-type-card, .pulley-type-card, .frame-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    /* background: linear-gradient(180deg, #ffffff 0%, var(--color-surface) 100%); */
    /* border: 1px solid var(--color-border); */
    transition: transform 320ms, border-color 320ms, box-shadow 320ms;
}



.product-card:hover, .roller-type-card:hover, .pulley-type-card:hover, .frame-type-card:hover {
    transform: translateY(-4px);
}


.product-card-media, .roller-type-image, .pulley-type-image, .frame-type-image {
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: 230px; */
    /* padding: 1.4rem; */
    background: var(--color-bg);
    height: 15rem;
    width: 100%;
    min-width: 100%;
}

.product-card-media img, .roller-type-image img, .pulley-type-image img, .frame-type-image img, .product-card > img, .roller-type-card > img, .pulley-type-card > img, .frame-type-card > img {
    width: 100%;
    height: 210px;
    object-fit: contain;
    display: block;
    transform: scale(1);
    transition: transform 420ms, filter 420ms;
}

.product-card:hover img, .roller-type-card:hover img, .pulley-type-card:hover img, .frame-type-card:hover img {
    transform: scale(1.06);
    filter: contrast(1.04);
}

.product-card-body, .roller-type-card-body, .pulley-type-card-body, .frame-type-card-body {
    padding: 1.35rem 1.4rem 1.55rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-body h3, .roller-type-card-body h3, .pulley-type-card-body h3, .frame-type-card-body h3 {
    margin: 0px 0px 0.55rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.16rem;
    line-height: 1.15;
    color: var(--color-text);
}

.product-card-body p, .roller-type-card-body p, .pulley-type-card-body p, .frame-type-card-body p {
    margin: 0px;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

span.product-badge {
    padding: 0.3rem 0.6rem;
    /* background: var(--color-surface); */
    border: 1px solid var(--color-border);
    font-size: 0.8rem;
    height: fit-content;
    /* text-transform: uppercase; */
    /* font-family: var(--font-heading); */
    color: #3f3f3f;
    /* font-weight: 500; */
}

.product-card-body .md-paragraph {
    font-size: 0.95rem;
    color: #373737;
    margin-top: 0;
}


.product-info-grid, .roller-info-grid, .pulley-info-grid, .frame-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.product-info-card, .roller-info-card, .pulley-info-card, .frame-info-card {
    position: relative;
    padding: 1.6rem 1.5rem 1.75rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.product-info-number, .roller-info-number, .pulley-info-number, .frame-info-number {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--color-dim);
}

.product-info-card h3, .roller-info-card h3, .pulley-info-card h3, .frame-info-card h3 {
    margin: 0px 2.5rem 0.65rem 0px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-text);
}

.product-info-card p, .roller-info-card p, .pulley-info-card p, .frame-info-card p {
    margin: 0px;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.product-feature-block, .roller-feature-block, .pulley-feature-block, .frame-feature-block {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0px, 1.3fr);
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--color-nav-bg);
    color: rgb(255, 255, 255);
}

.product-feature-block h3, .roller-feature-block h3, .pulley-feature-block h3, .frame-feature-block h3 {
    margin: 0px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.1;
    color: rgb(255, 255, 255);
}

.product-feature-block p, .roller-feature-block p, .pulley-feature-block p, .frame-feature-block p {
    margin: 0px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}

.product-two-column, .roller-two-column, .pulley-two-column, .frame-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
    margin-top: 2rem;
}

.product-copy-block, .roller-copy-block, .pulley-copy-block, .frame-copy-block {
    padding: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.product-copy-block-dark, .roller-copy-block-dark, .pulley-copy-block-dark, .frame-copy-block-dark {
    background: var(--color-nav-bg);
    color: rgb(255, 255, 255);
    border-color: var(--color-nav-bg);
}

.product-copy-block h3, .roller-copy-block h3, .pulley-copy-block h3, .frame-copy-block h3 {
    margin: 0px 0px 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.45rem;
    color: inherit;
}

.product-copy-block p, .product-copy-block li, .roller-copy-block p, .roller-copy-block li, .pulley-copy-block p, .pulley-copy-block li, .frame-copy-block p, .frame-copy-block li {
    color: var(--color-muted);
    line-height: 1.6;
}

.product-copy-block-dark p, .product-copy-block-dark li, .roller-copy-block-dark p, .roller-copy-block-dark li, .pulley-copy-block-dark p, .pulley-copy-block-dark li, .frame-copy-block-dark p, .frame-copy-block-dark li {
    color: rgba(255, 255, 255, 0.78);
}

.product-copy-block p, .roller-copy-block p, .pulley-copy-block p, .frame-copy-block p {
    margin: 0px 0px 1rem;
}

.product-copy-block p:last-child, .roller-copy-block p:last-child, .pulley-copy-block p:last-child, .frame-copy-block p:last-child {
    margin-bottom: 0px;
}

.product-copy-block ul, .roller-copy-block ul, .pulley-copy-block ul, .frame-copy-block ul {
    margin: 0px;
    padding-left: 1.2rem;
}

.product-copy-block li, .roller-copy-block li, .pulley-copy-block li, .frame-copy-block li {
    margin: 0.45rem 0px;
}

.product-spec-table-wrap, .roller-spec-table-wrap, .pulley-spec-table-wrap, .frame-spec-table-wrap {
    margin-top: 2rem;
    overflow-x: auto;
    border: 1px solid var(--color-border);
}

.product-spec-table, .roller-spec-table, .pulley-spec-table, .frame-spec-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: var(--color-bg);
}

.product-spec-table th, .product-spec-table td, .roller-spec-table th, .roller-spec-table td, .pulley-spec-table th, .pulley-spec-table td, .frame-spec-table th, .frame-spec-table td {
    padding: 1rem 1.1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--color-border);
}

.product-spec-table th, .roller-spec-table th, .pulley-spec-table th, .frame-spec-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: rgb(255, 255, 255);
    background: var(--color-nav-bg);
}

.product-spec-table td, .roller-spec-table td, .pulley-spec-table td, .frame-spec-table td {
    color: var(--color-muted);
    line-height: 1.55;
}

.product-spec-table td:first-child, .roller-spec-table td:first-child, .pulley-spec-table td:first-child, .frame-spec-table td:first-child {
    width: 32%;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
}

@media (max-width: 1200px) {
    .product-card-gallery, .roller-type-gallery, .pulley-type-gallery, .frame-type-gallery {
        grid-template-columns: repeat(3, minmax(0px, 1fr));
    }

    .product-info-grid, .roller-info-grid, .pulley-info-grid, .frame-info-grid {
        grid-template-columns: repeat(2, minmax(0px, 1fr));
    }
}

@media (max-width: 900px) {
    .product-card-gallery, .roller-type-gallery, .pulley-type-gallery, .frame-type-gallery {
        grid-template-columns: repeat(2, minmax(0px, 1fr));
    }

    .product-feature-block, .roller-feature-block, .pulley-feature-block, .frame-feature-block, .product-two-column, .roller-two-column, .pulley-two-column, .frame-two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .product-card-gallery, .roller-type-gallery, .pulley-type-gallery, .frame-type-gallery, .product-info-grid, .roller-info-grid, .pulley-info-grid, .frame-info-grid {
        grid-template-columns: 1fr;
    }

    .product-card-media, .roller-type-image, .pulley-type-image, .frame-type-image {
        min-height: 210px;
    }

    .product-card-media img, .roller-type-image img, .pulley-type-image img, .frame-type-image img, .product-card > img, .roller-type-card > img, .pulley-type-card > img, .frame-type-card > img {
        height: 190px;
    }

    .product-feature-block, .roller-feature-block, .pulley-feature-block, .frame-feature-block, .product-copy-block, .roller-copy-block, .pulley-copy-block, .frame-copy-block {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   SHARED SECTION SCROLL TABS — PRODUCTS-PAGE STYLE + OVERFLOW BUTTONS
   Used by: Pulleys, Idlers, Rollers, Idler Types, Accessories, etc.
   ========================================================================== */

.section-scroll-tabs-wrap,
.product-scroll-tabs-wrap {
    position: sticky;
    top: calc(var(--nav-height, 6rem) + 0.75rem);
    z-index: 900;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;

    width: 100%;
    max-width: 100%;
    margin: clamp(2.5rem, 5vw, 4rem) auto clamp(2.2rem, 4.5vw, 3.8rem);
    padding-inline: clamp(1rem, 2vw, 1.6rem);

    pointer-events: none;
}

.section-scroll-tabs,
.product-scroll-tabs {
    position: sticky;
    top: calc(var(--nav-height, 6rem) + 0.75rem);
    z-index: 900;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.1rem, 3vw, 3.5rem);

    width: fit-content;
    max-width: 100%;
    min-width: 0;
    margin: clamp(2.5rem, 5vw, 4rem) auto clamp(2.2rem, 4.5vw, 3.8rem);
    padding: 0.7rem clamp(1rem, 2vw, 1.6rem);

    background: rgba(255, 255, 255, 0.84);
    border: 0;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    pointer-events: auto;
}

.section-scroll-tabs-wrap .section-scroll-tabs,
.product-scroll-tabs-wrap .product-scroll-tabs {
    position: relative;
    top: auto;
    margin: 0;
    flex: 0 1 auto;
    max-width: 100%;
}

.section-scroll-tabs-wrap.is-scrollable .section-scroll-tabs,
.product-scroll-tabs-wrap.is-scrollable .product-scroll-tabs {
    max-width: calc(100% - 5.4rem);
}

.section-scroll-tabs::-webkit-scrollbar,
.product-scroll-tabs::-webkit-scrollbar {
    display: none;
}

.section-scroll-tab,
.product-scroll-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    min-height: 2.2rem;
    padding: 0.15rem 0;

    color: var(--color-muted, #6a6a6a);
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(0.76rem, 1vw, 0.95rem);
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;

    transform: translateY(0);
    transition:
        color 0.22s ease,
        transform 0.22s ease;
}

.section-scroll-tab::after,
.product-scroll-tab::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.1rem;

    width: 100%;
    height: 2px;

    background: var(--color-accent, #f26527);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-scroll-tab:hover,
.section-scroll-tab.active,
.section-scroll-tab.is-active,
.product-scroll-tab:hover,
.product-scroll-tab.active,
.product-scroll-tab.is-active {
    color: var(--color-text, #1a1a1a) !important;
    background: transparent !important;
    border-color: transparent !important;
}

.section-scroll-tab.active,
.section-scroll-tab.is-active,
.product-scroll-tab.active,
.product-scroll-tab.is-active {
    transform: translateY(-1px);
}

.section-scroll-tab:hover::after,
.section-scroll-tab.active::after,
.section-scroll-tab.is-active::after,
.product-scroll-tab:hover::after,
.product-scroll-tab.active::after,
.product-scroll-tab.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Minimal overflow navigation buttons */
.section-scroll-tabs-button,
.product-scroll-tabs-button {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 2.15rem;
    height: 2.15rem;
    padding: 0;

    color: var(--color-muted, #6a6a6a);
    background: rgba(255, 255, 255, 0.84);
    border: 0;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;

    opacity: 1;
    transform: translateY(0);
    transition:
        color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

    pointer-events: auto;
}

.section-scroll-tabs-wrap.is-scrollable .section-scroll-tabs-button,
.product-scroll-tabs-wrap.is-scrollable .product-scroll-tabs-button {
    display: inline-flex;
}

.section-scroll-tabs-button:hover,
.product-scroll-tabs-button:hover {
    color: var(--color-text, #1a1a1a);
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.11);
}

.section-scroll-tabs-button:disabled,
.product-scroll-tabs-button:disabled {
    cursor: default;
    opacity: 0.22;
    transform: none;
    box-shadow: none;
}

.section-scroll-content {
    display: grid;
    gap: clamp(3rem, 6vw, 5rem);
}

.section-scroll-section {
    scroll-margin-top: calc(var(--nav-height, 6rem) + 6rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
    border-bottom: 0;
}

.section-scroll-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 760px) {
    .section-scroll-tabs-wrap,
    .product-scroll-tabs-wrap {
        justify-content: flex-start;
        margin-inline: -0.75rem;
        margin-top: clamp(2.5rem, 8vw, 3.5rem);
        top: calc(var(--nav-height, 6rem) + 0.35rem);
        padding-inline: clamp(1rem, 4vw, 1.25rem);
    }

    .section-scroll-tabs,
    .product-scroll-tabs {
        justify-content: flex-start;
        width: auto;
    }

    .section-scroll-tabs-wrap.is-scrollable .section-scroll-tabs,
    .product-scroll-tabs-wrap.is-scrollable .product-scroll-tabs {
        max-width: calc(100% - 5.1rem);
    }

    .section-scroll-tab,
    .product-scroll-tab {
        flex: 0 0 auto;
    }

    .section-scroll-section {
        scroll-margin-top: calc(var(--nav-height, 6rem) + 6rem);
    }
}

.media-box {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgb(217, 217, 217);
    border: 1px solid var(--color-border);
}

.media-box-4x3 {
    aspect-ratio: 4 / 3;
}

.media-box-16x9 {
    aspect-ratio: 16 / 9;
}

.media-box-square {
    aspect-ratio: 1 / 1;
}

.media-box-contain img, .media-box-contain video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    display: block;
}

.media-box-cover img, .media-box-cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.section-actions-center {
    justify-content: center;
}

.section-actions-right {
    justify-content: flex-end;
}

.section-action-wide {
    width: min(360px, 100%);
    justify-content: center;
    text-align: center;
}

@media (max-width: 620px) {
    .section-actions {
        flex-direction: column;
    }

    .section-actions .btn {
        width: 100%;
    }
}

.detail-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0px, 1.35fr);
    gap: 2.5rem;
    align-items: center;
}

.detail-split-reverse {
    grid-template-columns: minmax(0px, 1.35fr) minmax(280px, 0.9fr);
}

.detail-split-reverse .detail-media {
    order: 2;
}

.detail-split-reverse .detail-copy {
    order: 1;
}

.detail-media {
    min-width: 0px;
}

.detail-copy {
    min-width: 0px;
}

.detail-copy h3 {
    margin: 0px 0px 1rem;
    color: rgb(73, 75, 78);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.2vw, 2.25rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-copy p {
    margin: 0px 0px 1.25rem;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.detail-copy a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 1180px) {
    .detail-split, .detail-split-reverse {
        grid-template-columns: 1fr;
    }

    .detail-split-reverse .detail-media, .detail-split-reverse .detail-copy {
        order: initial;
    }
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0px 0px;
    padding: 0px;
    list-style: none;
}

.feature-list li {
    position: relative;
    min-width: 0px;
    padding: 0.85rem 0.85rem 0.85rem 2rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    font-size: 0.95rem;
    line-height: 1.4;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    color: var(--color-accent);
}

@media (max-width: 720px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}

lb-model-viewer img.lb-mv-thumbnail {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

lb-model-viewer[data-lb-state="active"] img.lb-mv-thumbnail {
    opacity: 0;
}

.lb-mv-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0px 0px -18px;
    border-width: 3px;
    border-style: solid;
    border-color: rgb(255, 255, 255) rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.25);
    border-image: initial;
    border-radius: 50%;
    animation: 0.8s linear 0s infinite normal none running lb-mv-spin;
    pointer-events: none;
}

@keyframes lb-mv-spin {
    100% {
        transform: rotate(360deg);
    }
}

.lb-mv-play {
    position: absolute;
    background: rgba(0, 0, 0, 0.05);
    color: rgb(0 0 0 / 68%);
    padding: 10px 18px;
    margin: 17px;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    font-size: 0.7em;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(6px);
    transition: background 0.15s, transform 0.15s;
}

.lb-mv-play:hover {
    background: rgba(0, 0, 0, 0.086);
}

.lb-mv-play svg {
    width: 10px;
    height: 10px;
    fill: currentcolor;
}

lb-model-viewer[data-click-fullscreen="true"] {
    cursor: zoom-in;
}
.lb-mv-fs-hint {
    position: absolute;
    top: 17px;
    right: 17px;
    background: rgb(0 0 0 / 43%);
    padding: 7px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s;
    backdrop-filter: blur(4px);
}

lb-model-viewer[data-click-fullscreen="true"]:hover .lb-mv-fs-hint, lb-model-viewer[data-click-fullscreen="true"]:focus-within .lb-mv-fs-hint {
    opacity: 1;
}

.lb-mv-fs-hint svg {
    width: 18px;
    height: 18px;
    fill: rgb(255, 255, 255);
    display: block;
}

.lb-mv-modal {
    position: fixed;
    inset: 0px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: 0.2s ease-out 0s 1 normal none running lb-mv-modal-in;
}

@keyframes lb-mv-modal-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.lb-mv-modal-viewer {
    position: relative;
    width: min(95vw, 1600px);
    height: min(92vh, 1000px);
    background: rgb(28, 35, 42);
    overflow: hidden;
    color: #fff;
    box-shadow: rgba(0, 0, 0, 0.6) 0px 12px 60px;
}

.lb-mv-modal-close {
    background: rgb(68 74 80);
    color: rgb(255 255 255);
    border: none;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-mv-modal h2 {
    margin-top: 0;
}

.lb-mv-modal-close:hover {
    background: rgb(0 0 0 / 22%);
}

.lb-mv-modal-cols {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lb-mv-modal-viewer-container {
    height: auto;
    flex: 1 1 0%;
    min-height: 0px;
}

.lb-mv-fs-slot {
    height: 100%;
}

.lb-mv-fs-slot canvas {
    height: 100% !important;
}

.lb-mv-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 27px;
    /* background: rgb(255, 255, 255); */
    padding-inline: 30px;
}

.frame-test-page {
    width: 100%;
}

.frame-test-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 440px));
    gap: 2rem;
    justify-content: start;
    align-items: start;
    margin-top: 0px;
}

.frame-model-card {
    min-width: 0px;
    cursor: pointer;
}

.frame-model-card:focus {
    outline: 2px solid var(--color-accent);
}

.frame-model-card:focus::before {
    opacity: 0;
}

.frame-model-stage {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgb(217, 217, 217);
    border-bottom: 1px solid var(--color-border);
    container-type: inline-size;
}

.frame-hover-model, .frame-modal-model, .frame-model-overlay lb-model-viewer, .frame-model-overlay model-viewer, .frame-modal-stage lb-model-viewer, .frame-modal-stage model-viewer {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: rgb(217, 217, 217);
}

.frame-model-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 5.7rem;
}

.frame-type-kicker {
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.frame-modal {
    position: fixed;
    inset: 0px;
    z-index: 9999;
    display: none;
}

.frame-modal.is-open {
    display: block;
}

.frame-modal-backdrop {
    position: absolute;
    inset: 0px;
    background: rgba(0, 0, 0, 0.72);
}

.frame-modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, 980px);
    max-height: 90vh;
    transform: translate(-50%, -50%);
    background: rgb(217, 217, 217);
    border: 1px solid var(--color-border);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 24px 70px;
    overflow: hidden;
}

.frame-modal-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.1rem 1.25rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.frame-modal-header h3 {
    margin: 0px;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2vw, 2.1rem);
    line-height: 1.1;
}

.frame-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.9rem;
    z-index: 3;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.frame-modal-close:hover, .frame-modal-close:focus {
    background: var(--color-accent);
    color: rgb(255, 255, 255);
    outline: none;
}

.frame-modal-stage {
    position: relative;
    height: min(68vh, 640px);
    min-height: 360px;
    background: rgb(217, 217, 217);
}

html.frame-modal-open, html.frame-modal-open body {
    overflow: hidden;
}

aside.lb-mv-modal-specs {
    /* background: rgb(255, 255, 255); */
    display: flex;
    padding-inline: 30px;
}

@media (max-width: 900px) {
    .frame-test-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .frame-modal-dialog {
        width: 94vw;
    }

    .frame-modal-stage {
        height: 62vh;
        min-height: 300px;
    }
}













/* ========================================================================== 
   GENERAL CAROUSEL
   Reusable horizontal carousel shell for product cards, image galleries,
   process cards, project cards, and future scrolling sections.
   ========================================================================== */

.general-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 2rem;
  overflow: visible;
}

.general-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.general-carousel-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border, #e2e2e2);
  background: var(--color-bg, #fff);
  color: var(--color-text, #1a1a1a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    opacity 0.15s ease;
}

.general-carousel-button:hover {
  background: var(--color-accent, #f26527);
  border-color: var(--color-accent, #f26527);
  color: #fff;
}

.general-carousel-button:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.general-carousel.is-not-scrollable .general-carousel-controls,
.general-carousel.is-expanded .general-carousel-controls {
  display: none;
}

.general-carousel-expand-wrap {
  display: none;
  justify-content: center;
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.general-carousel--expandable .general-carousel-expand-wrap {
  display: flex;
}

.general-carousel.is-not-scrollable:not(.is-expanded) .general-carousel-expand-wrap {
  display: none;
}

.general-carousel-expand-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--color-border, #e2e2e2);
  background: var(--color-bg, #fff);
  color: var(--color-text, #1a1a1a);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: var(--small-bold-lower-letter-spacing, 0.03em);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.general-carousel-expand-button:hover {
  background: var(--color-accent, #f26527);
  border-color: var(--color-accent, #f26527);
  color: #fff;
}

.general-carousel-track {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: 0;
  margin-bottom: -2rem;
  padding: 0.75rem 0 3rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  cursor: grab;
  user-select: none;

  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(100% - clamp(3rem, 7vw, 6rem)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(100% - clamp(3rem, 7vw, 6rem)),
    transparent 100%
  );
}

.general-carousel.is-at-end .general-carousel-track {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 clamp(2rem, 5vw, 4rem),
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 clamp(2rem, 5vw, 4rem),
    #000 100%
  );
}

.general-carousel.is-not-scrollable .general-carousel-track {
  cursor: default;
  -webkit-mask-image: none;
  mask-image: none;
}

.general-carousel.is-expanded .general-carousel-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  margin-bottom: 0;
  padding: 0;
  scroll-padding-inline: 0;
  overflow: visible;
  cursor: default;
  scroll-snap-type: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.general-carousel.is-expanded .general-carousel-track > * {
  scroll-snap-align: none;
}

.general-carousel.is-expanded.general-carousel--product-cards .product-card,
.general-carousel.is-expanded.general-carousel--product-cards .model-viewer-card,
.general-carousel.is-expanded.general-carousel--image-cards .product-card,
.general-carousel.is-expanded.general-carousel--image-cards .general-carousel-item {
  flex: initial;
  width: 100%;
  max-width: none;
}

.general-carousel-track.is-grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
}

.general-carousel-track::-webkit-scrollbar {
  display: none;
}

.general-carousel-track > * {
  scroll-snap-align: start;
}

/* Product card carousel variant */
.general-carousel--product-cards .product-card,
.general-carousel--product-cards .model-viewer-card {
  flex: 0 0 clamp(18rem, 28vw, 24rem);
  width: clamp(18rem, 28vw, 24rem);
  max-width: clamp(18rem, 28vw, 24rem);
}

/* Image card / process card carousel variant */
.general-carousel--image-cards .product-card,
.general-carousel--image-cards .general-carousel-item {
  flex: 0 0 clamp(18rem, 30vw, 26rem);
  width: clamp(18rem, 30vw, 26rem);
  max-width: clamp(18rem, 30vw, 26rem);
}

/* Global edge bleed
   Applies to every general carousel by default. Allows card shadows to render
   into the page margin without changing normal card alignment. This needs the
   v10 carousel partial so arrow targets account for the extra scroll padding.
*/
.general-carousel {
  --general-carousel-edge-bleed: clamp(1.25rem, 4vw, 4rem);
}

.general-carousel:not(.is-expanded) .general-carousel-track {
  width: calc(100% + (var(--general-carousel-edge-bleed) * 2));
  max-width: none;
  margin-inline: calc(-1 * var(--general-carousel-edge-bleed));
  padding-inline: var(--general-carousel-edge-bleed);
  scroll-padding-inline: var(--general-carousel-edge-bleed);
}

@media (max-width: 900px) {
  .general-carousel--product-cards .product-card,
  .general-carousel--product-cards .model-viewer-card,
  .general-carousel--image-cards .product-card,
  .general-carousel--image-cards .general-carousel-item {
    flex-basis: clamp(17rem, 42vw, 22rem);
    width: clamp(17rem, 42vw, 22rem);
    max-width: clamp(17rem, 42vw, 22rem);
  }
}

@media (max-width: 560px) {
  .general-carousel-track {
    -webkit-mask-image: linear-gradient(
      to right,
      #000 0,
      #000 calc(100% - 2.5rem),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      #000 0,
      #000 calc(100% - 2.5rem),
      transparent 100%
    );
  }

  .general-carousel.is-at-end .general-carousel-track {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 2rem,
      #000 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 2rem,
      #000 100%
    );
  }

  .general-carousel {
    --general-carousel-edge-bleed: 1.25rem;
  }

  .general-carousel--product-cards .product-card,
  .general-carousel--product-cards .model-viewer-card,
  .general-carousel--image-cards .product-card,
  .general-carousel--image-cards .general-carousel-item {
    flex-basis: min(82vw, 21rem);
    width: min(82vw, 21rem);
    max-width: min(82vw, 21rem);
  }

  .general-carousel-button {
    width: 40px;
    height: 40px;
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .general-carousel-track {
    scroll-behavior: auto;
  }
}


/* ===========================================================================
   LANDING OVERHAUL - append to main.css
   1. product-lines intro centres when the cards go single-column
   2. insights spotlight section (replaces second carousel)
   3. case-study scroller: progress bar + arrow end-states
============================================================================ */

/* --- 1. centre the range intro at the cards' collapse breakpoint --- */
@media (max-width: 1100px) {
  .product-lines-section .section-intro {
    align-self: center;
    text-align: center;
    max-width: 720px;
  }
  .product-lines-section .section-intro .lead {
    max-width: 52ch;
    margin-inline: auto;
  }
}

/* --- 2. insights spotlight --- */
.insights-spot-section { padding-block: 7rem; }
.insights-spot-head { max-width: 780px; margin-bottom: 3rem; }
.insights-spot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 2rem;
  align-items: start;
}
.insights-spot-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: border-color .2s, transform .2s;
  min-width: 0;
}
.insights-spot-card:hover { transform: translateY(-2px); }
.insights-spot-card:first-child { grid-row: 1 / span 6; }
.insights-spot-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-surface); }
.insights-spot-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.insights-spot-card:hover .insights-spot-media img { transform: scale(1.04); }
.insights-spot-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .5rem; min-width: 0; overflow-wrap: anywhere; }
.insights-spot-meta {
  font-family: var(--font-mono-like);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}
.insights-spot-body h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0;
  color: var(--color-text);
}
.insights-spot-body p { color: var(--color-muted); font-size: .96rem; line-height: 1.55; margin: 0; }
.insights-spot-cta {
  margin-top: .75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-accent);
  letter-spacing: var(--small-bold-lower-letter-spacing);
}
.insights-spot-card:hover .insights-spot-cta { text-decoration: underline; text-underline-offset: 4px; }
/* featured card: larger type */
.insights-spot-card:first-child .insights-spot-body h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); }
.insights-spot-card:first-child .insights-spot-body { padding: 2rem; }
/* secondary cards: compact horizontal */
.insights-spot-card:not(:first-child) { flex-direction: row; }
.insights-spot-card:not(:first-child) .insights-spot-media { flex: 0 0 180px; aspect-ratio: auto; min-height: 100%; }
.insights-spot-card:not(:first-child) .insights-spot-body { padding: 1.25rem 1.4rem; }
.insights-spot-card:not(:first-child) .insights-spot-body h3 { font-size: 1.1rem; }
.insights-spot-card:not(:first-child) .insights-spot-body p { display: none; }
@media (max-width: 900px) {
  .insights-spot-grid { grid-template-columns: minmax(0, 1fr); }
  .insights-spot-card:first-child { grid-row: auto; }
}
@media (max-width: 560px) {
  .insights-spot-card:not(:first-child) { flex-direction: column; }
  .insights-spot-card:not(:first-child) .insights-spot-media { flex: none; aspect-ratio: 16 / 9; }
}


/* Articles and other */

.sr-cutaway-caption {
    font-family: var(--font-mono-like);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #555;
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.sr-cutaway-caption::before {
    content: "";
    width: 1.6rem;
    height: 2px;
    background: var(--color-accent);
}


/* ROLLER TYPE PAGES ---------------------------------------------------------------------------------- */


.sr-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: var(--nav-height);
}
.sr-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    padding-block: clamp(3rem, 6vh, 5.5rem) clamp(3rem, 6vh, 5rem);
}
.sr-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.sr-hero-eyebrow .kicker { margin-bottom: 0; }
.sr-chip {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.28);
    color: rgba(255,255,255,0.75);
    padding: 0.3rem 0.6rem;
    display: inline-block;
}
.sr-hero-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(2.6rem, 2vh + 2.2vw, 5.5rem);
    line-height: 1.02;
    margin: 0 0 1.5rem;
    text-transform: uppercase;
    /* color: rgba(255, 255, 255, 0.576); */
}
.sr-hero-title .text-italic { font-style: italic; color: #fff; }
.sr-hero-sub {
    font-size: clamp(1.05rem, 1vh + 0.9vw, 1.45rem);
    color: rgba(255,255,255,0.78);
    max-width: 52ch;
    margin: 0 0 clamp(2rem, 4vh, 3rem);
}
.sr-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 3vw, 3rem);
}
.sr-hero-stats > div {
    border-left: 1px solid rgba(255,255,255,0.18);
    padding-left: 1.1rem;
}
.sr-hero-stats h3 {
    font-family: var(--font-mono-like);
    font-weight: 700;
    font-size: clamp(1.5rem, 1.4vh + 1.3vw, 2.4rem);
    margin: 0;
    line-height: 1;
    color: #fff;
}
.sr-hero-stats p {
    font-family: var(--font-mono-like);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0.5rem 0 0;
    color: rgba(255,255,255,0.6);
}

/* render stage — end face bottom-left, tube runs to top-right */
.sr-hero-stage {
    position: relative;
    min-height: clamp(300px, 42vw, 560px);
    /* labels below are sized against this box so they stay inside the render
       stage instead of reaching into the copy column at narrow widths */
    container-type: inline-size;
}
.sr-hero-render {
    position: absolute;
    inset: 0;
    width: 112%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 120px 57px rgba(0, 0, 0, 0.35));
}
@media (prefers-reduced-motion: no-preference) {
    .sr-hero-render { animation: sr-rise 0.9s ease-out both; }
    @keyframes sr-rise {
        from { opacity: 0; transform: translateY(18px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* leader annotations */
.sr-callout {
    position: absolute;
    z-index: 3;
    font-family: var(--font-mono-like);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    /* longer labels (Spanish) wrap inside the render stage instead of running
       into the copy column; each side's max-width keeps the far edge in the stage */
    text-wrap: balance;
    font-size: clamp(10.5px, 2.6cqw, 15px);
}
.sr-callout::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
}
.sr-callout .rule {
    display: block;
    position: absolute;
    background: rgba(255,255,255,0.5);
}
.sr-callout--seal { left: 32%; bottom: 35%; max-width: 68cqw; padding-left: 6rem; padding-left: clamp(3rem, 15cqw, 6rem); }
.sr-callout--seal::before { left: 0; top: 50%; transform: translateY(-50%); }
.sr-callout--seal .rule { left: 9px; top: 50%; width: 5rem; width: clamp(2.25rem, 12cqw, 5rem); height: 1px; }

.sr-callout--tube { right: 28%; top: 27%; max-width: 72cqw; padding-right: 7rem; padding-right: clamp(3.25rem, 17cqw, 7rem); text-align: right; }
.sr-callout--tube::before { right: 0; top: 50%; transform: translateY(-50%); }
.sr-callout--tube .rule { right: 8px; top: 50%; width: 6rem; width: clamp(2.5rem, 14cqw, 6rem); height: 1px; }

/* orange hazard rule closing the hero */
.sr-hazard-accent {
    height: 2rem;
    background-image: repeating-linear-gradient(-45deg, rgba(242,101,39,0.85) 0, rgba(242,101,39,0.85) 2px, transparent 2px, transparent 8px);
}

/* ---------- 02 · construction -------------------------------------------- */

.sr-construction { padding-block: clamp(5rem, 9vh, 8rem) clamp(4rem, 8vh, 7rem); }
.sr-construction-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}
/* kicker + heading span the full width above copy | cutaway, at the standard h2 size:
   in the copy column the two statements stacked into 3-4 uneven lines */
.sr-construction-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sr-construction-head .kicker { display: block; }
.sr-construction-head .md-heading { margin-block: 0.5rem 0; text-wrap: balance; }
.sr-construction-copy p {
    color: var(--color-muted);
    font-size: 1.05rem;
    max-width: 58ch;
    margin: 0 0 1.1rem;
}
.sr-construction-copy p strong { color: var(--color-text); font-weight: 600; }
/* links in the copy: as in news articles (.na-body a) */
.sr-construction-copy p a { color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--color-accent); transition: color 0.2s; }
.sr-construction-copy p a:hover, .sr-construction-copy p a:focus-visible { color: var(--color-accent); }
.sr-cutaway-caption {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-dim);
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.sr-cutaway-caption::before {
    content: "";
    width: 1.6rem;
    height: 2px;
    background: var(--color-accent);
}

/* ---------- 03 · design features ledger ---------------------------------- */

.sr-features { padding-block: clamp(4rem, 8vh, 7rem); }
.sr-features-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}
.sr-features-head { position: sticky; top: calc(var(--nav-height) + 1rem); }
.sr-features-head .md-heading { margin-block: 0.5rem 1.5rem; }
.sr-etch {
    margin: 2.5rem 0 0;
    /* max-width: 300px; */
    max-height: 25rem;
    height: 99vh;
}
.sr-etch img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    clip-path: polygon(30px 0%, 100% 0%, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0% 100%, 0% 30px);
    filter: grayscale(35%);
    min-height: 0;
    height: 100%;
}
.sr-feature-row {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 1.5rem;
    padding-block: 1.9rem;
    /* border-top: 1px solid var(--color-border); */
}
.sr-feature-num {
    font-family: var(--font-mono-like);
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--color-accent);
}
.sr-feature-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0 0 0.4rem;
}
.sr-feature-body {
    margin: 0;
    color: var(--color-muted);
    max-width: 58ch;
}

/* ---------- 04 · component specification ---------------------------------- */

.sr-components {
    background: linear-gradient(348deg, #e2e5e9, transparent);
    padding-block: clamp(4.5rem, 9vh, 8rem);
}
.sr-components .section-intro { max-width: 760px; margin-bottom: 3rem; }
.sr-components .section-intro .md-heading { margin-block: 0.5rem 1.25rem; }

/* plain full-width render — placeholder for interactive exploded view */
.sr-exploded { margin-bottom: 3rem; }
.sr-exploded img { width: 100%; height: auto; }

/* spec table — ss-table pattern from the Sensor Seal page */
.sr-table-scroll { overflow-x: auto; }
.sr-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    font-family: var(--font-body);
}
.sr-spec-table tr { background: none; }
.sr-spec-table th, .sr-spec-table td {
    text-align: left;
    padding: 1.4rem 0.5rem;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}
.sr-spec-table th {
    font-family: var(--font-mono);
    font-size: 0.67rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent-dim);
    font-weight: 600;
    padding-bottom: 1.4rem;
}
.sr-spec-table td:first-child {
    font-family: var(--font-mono-like);
    font-size: 0.95rem;
    color: var(--color-muted);
    width: 34%;
}
.sr-spec-table td:last-child { font-weight: 500; }
.sr-dia-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.55rem;
}
.sr-dia-chips span {
    font-family: var(--font-mono-like);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
    background: #fff;
    letter-spacing: 0.1rem;
    padding: 0.15rem 0.5rem;
    color: var(--color-text);
}
.sr-table-note {
    font-family: var(--font-mono-like);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    /* text-transform: uppercase; */
    color: var(--color-muted);
    margin-top: 1rem;
}

/* ---------- 05 · options band --------------------------------------------- */

.sr-options {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4.5rem, 9vh, 7.5rem);
}
.sr-options-media { position: absolute; inset: 0; z-index: 0; }
.sr-options-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: grayscale(100%);
}
.sr-options-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%);
}
.sr-options-inner { position: relative; z-index: 2; }
.sr-options-head { max-width: 760px; margin-bottom: 3rem; }
.sr-options-head .md-heading { margin-block: 0.5rem 1.25rem; }
.sr-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
.sr-option-card {
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.03);
    padding: 2rem 1.9rem;
}

.sr-option-card.option-span-2 {
    grid-column: 1 / -1;
}

.sr-option-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0 0 0.6rem;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}
.sr-option-card .opt-code {
    font-family: var(--font-mono-like);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #757575;
}
.sr-option-card p { margin: 0; color: rgba(255,255,255,0.72); max-width: 52ch; }
.sr-option-link {
    display: inline-block;
    margin-top: 1.1rem;
    font-family: var(--font-mono-like);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-accent);
    text-decoration: none;
}
.sr-option-link:hover { color: #fff; }

/* ---------- 07 · title block ----------------------------------------------- */

.sr-titleblock {
    border-top: 2px solid rgba(255,255,255,0.25);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.sr-titleblock-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, minmax(0, 0.7fr)) 1.6fr;
}
.sr-titleblock-cell {
    padding: 0.9rem 1.1rem 1rem;
    border-left: 1px solid rgba(255,255,255,0.18);
    min-width: 0;
}
.sr-titleblock-cell:first-child { border-left: none; }
.sr-titleblock-cell .lbl {
    display: block;
    color: rgba(255,255,255,0.45);
    font-size: 0.6rem;
    margin-bottom: 0.25rem;
}
.sr-titleblock-cell .val {
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    overflow-wrap: break-word;
}
.sr-titleblock-cell .val.accent { color: var(--color-accent); }

/* ---------- responsive ------------------------------------------------------ */

@media (max-width: 980px) {
    .sr-hero-inner { grid-template-columns: 1fr; padding-block: 2.5rem 2rem; }
    .sr-hero-stage { min-height: 240px; }
    .sr-hero-render { width: 100%; position: relative; inset: auto; height: auto; }
    .sr-callout { display: none; }
    .sr-construction-inner,
    .sr-features-inner { grid-template-columns: 1fr; }
    .sr-features-head { position: static; }
    .sr-etch { display: none; }
    .sr-options-grid { grid-template-columns: 1fr; }
    .sr-titleblock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sr-titleblock-cell { border-top: 1px solid rgba(255,255,255,0.12); }
}
@media (max-width: 560px) {
    .sr-feature-row { grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1rem; }
    .sr-feature-num { font-size: 1.9rem; }
    .sr-hero-stats { gap: 1.25rem; }
}

/* END ROLLER TYPE PAGES ------------------------------------------------------------------------------------------------ */

/* IDLERS PAGE, SHARING WITH ROLLER TYPE PAGE QC ------------------------------------------------------------------------ */
.sec{padding-block:clamp(4rem,7vw,7rem)}
.bg-white{background:#fff}

/* gridline fades keyed to the text column (white under text, gridlines on the image side) */
.idl-fade-textleft{background-image:linear-gradient(to right,#fff 0%,#fff 38%,transparent 78%),linear-gradient(to right,#eee 2px,transparent 1px),linear-gradient(to bottom,#eee 2px,transparent 1px);background-size:100% 100%,40px 40px,40px 40px}
.idl-fade-textright{background-image:linear-gradient(to left,#fff 0%,#fff 38%,transparent 78%),linear-gradient(to right,#eee 2px,transparent 1px),linear-gradient(to bottom,#eee 2px,transparent 1px);background-size:100% 100%,40px 40px,40px 40px}
.txtlink{font-family:var(--font-mono-like);font-weight:600;font-size:.92rem;color:var(--color-text);text-decoration:none;border-bottom:2px solid var(--color-accent);padding-bottom:.12rem}
.txtlink:hover{color:var(--color-accent)}
.bg-dark .txtlink{color:#fff}

/* placeholder grid (delete the .ph when a real image is dropped in) */ 
.ph{position:relative;background:linear-gradient(160deg,#23272c,#131518);
overflow:hidden;width:100%;height:100%}

.cat-model-bg {
    position: relative;
    background: linear-gradient(160deg, #f7f7f7, #ededed);
    overflow: hidden;
    width: 100%;
    height: 100%;
}



.ph::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:34px 34px}
.ph .cap{position:absolute;left:1rem;bottom:.9rem;right:1rem;font-family:var(--font-mono);font-size:.6rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.5);z-index:2;display:flex;align-items:center;justify-content:center;height:calc(100% - 2rem);text-align:center}
.ph.light{background:var(--color-surface)}.ph.light::before{background-image:linear-gradient(rgba(0,0,0,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.05) 1px,transparent 1px)}
.ph.light .cap{color:var(--color-dim)}
.bevel-feature-image .ph{clip-path:polygon(40px 0%,100% 0%,100% calc(100% - 40px),calc(100% - 40px) 100%,0% 100%,0% 40px)}


/* ============ INTRO ============ */
.intro-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(2.5rem,5vw,5rem);align-items:center}
.intro-copy .kicker{display:block;margin-bottom:1rem}
.intro-copy h2{margin-bottom:1.5rem}
.intro-copy p{margin-bottom:1.1rem}
.intro-media{position:relative;width:100%;aspect-ratio:5/4;min-height:360px;min-width:0}

/* ============ CONTINUOUS IMPROVEMENT ============ */
.ci-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,4vw,3.5rem);margin-top:3.5rem}
.ci-step .ci-num{font-family:var(--font-mono-like);font-weight:700;font-size:1.2rem;line-height:1;color:var(--color-accent);display:flex;margin-bottom:0.6em;align-items:center;gap:0.7em}
.ci-step .ci-num::after{content:"";display:flex;width:100%;height:2px;background:#ffffff63;vertical-align:middle}
.ci-step h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.2rem, 1.7vw, 2rem);
    margin: 0 0 .65rem;
    color: #fff;
}
.ci-step p{color:rgba(255,255,255,.72);font-size:.96rem;line-height:1.58;margin:0}

/* ============ QC ============ */
.qc-head{display:grid;grid-template-rows:auto auto;gap:1.1rem;margin-bottom:3rem}
.qc-head .kicker{display:block;margin-bottom:.9rem}
.qc-head h2{max-width:20ch}
/* QC: prominent image-top feature banner + four even checks below */
.qc-feature{margin-bottom:clamp(2.25rem,4vw,3.25rem)}
.qc-feature-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}
.qc-feature-media{position:relative;aspect-ratio:3/2}
.qc-feature-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.qc-feature-media.tl img{clip-path:polygon(0 40px,40px 0,100% 0,100% 100%,0 100%)}
.qc-feature-media.br img{clip-path:polygon(0 0,100% 0,100% calc(100% - 40px),calc(100% - 40px) 100%,0 100%)}
.qc-feature-media .tick{position:absolute;top:-1rem;left:-1rem;width:18px;height:18px;border-top:3px solid var(--color-accent);border-left:3px solid var(--color-accent);z-index:2}
.qc-feature-media .tick.br{top:auto;left:auto;bottom:-1rem;right:-1rem;border-top:0;border-left:0;border-bottom:3px solid var(--color-accent);border-right:3px solid var(--color-accent)}
.qc-feature-foot{margin-top:1.25rem;max-width:78ch}
.qc-feature-foot .product-kicker{display:block;margin-bottom:.5rem;font-family:var(--font-mono-like);font-size:.65rem;letter-spacing:.12em;text-transform:uppercase;color:var(--color-accent);font-weight:600}
.qc-feature-foot h4{font-family:var(--font-heading);font-weight:700;font-size:clamp(1.25rem,1.8vw,1.55rem);line-height:1.2;margin:0 0 .55rem}
.qc-feature-foot p{color:var(--color-muted);font-size:1rem;line-height:1.6;margin:0;max-width:68ch}
.qc-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(1.5rem,2.5vw,2.25rem)}
.qc-cell{display:flex;flex-direction:column}
.qc-cell-media{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--color-surface)}
.qc-cell-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.qc-cell-body{padding-top:.9rem}
.qc-cell-body .product-kicker{font-family:var(--font-mono-like);font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;color:var(--color-accent);font-weight:600}
.qc-cell-body h4{font-family:var(--font-heading);font-weight:700;font-size:1.05rem;line-height:1.2;margin:.3rem 0 .4rem}
.qc-cell-body p{color:var(--color-muted);font-size:.88rem;line-height:1.5;margin:0}

/* ============ CATEGORIES ============ */
.cat-head{margin-bottom:3rem}
.cat-head .kicker{display:block;margin-bottom:.9rem}
.cat-head p{margin-top:.7rem}
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(2rem,3vw,3rem)}
.cat-card{position:relative;display:block;text-decoration:none;color:inherit;transition:transform .3s ease}
.cat-card:hover{transform:translateY(-4px)}
.cat-media{position:relative;aspect-ratio:4/3;overflow:hidden;margin-bottom:1.5rem;background:var(--color-surface);}
.cat-media .ph{position:absolute;inset:0;width:100%;height:100%}
.cat-card:hover .cat-link{color:var(--color-accent-dim)}
.cat-body .kicker{font-size:.65rem;margin-bottom:.5rem}
.cat-body h3{font-family:var(--font-heading);font-weight:700;font-size:1.3rem;line-height:1.15;margin-top:0;margin-bottom:.5rem}
.cat-body p{color:var(--color-muted);font-size:.94rem;line-height:1.55;margin-bottom:1rem}
.cat-link{font-family:var(--font-mono-like);font-weight:600;font-size:.85rem;color:var(--color-accent);letter-spacing:.02em;transition:color .2s}

/* ============ ROLLERS OVERVIEW ============ */
.roll-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,5vw,5rem);align-items:center}
.roll-media{position:relative;width:100%;aspect-ratio:4/3;min-height:380px;min-width:0}
.roll-cutout{position:relative;width:100%;height:100%}
.roll-cutout .md-image,.roll-cutout img{width:100%;height:100%;object-fit:contain;clip-path:none}
.roll-copy .kicker{display:block;margin-bottom:1rem}
.roll-copy h2{margin-bottom:1.1rem}
.roll-copy>p{margin-bottom:1.5rem;max-width:54ch}
.roll-actions{display:flex;gap:1rem;flex-wrap:wrap;align-items:center}

/* ============ SENSOR SEAL ============ */
.ss-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,4vw,4rem);align-items:center}
.ss-media{position:relative;width:100%;aspect-ratio:4/3;min-height:360px;min-width:0}
.ss-copy .kicker{display:block;margin-bottom:1rem}
.ss-copy h2{margin-bottom:1rem;max-width:16ch}
.ss-copy>p{color:rgba(255,255,255,.78);margin-bottom:2rem;max-width:50ch}
.strip-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1.5rem;padding-block:1.5rem;border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:2rem}
.strip-grid b{display:block;font-family:var(--font-mono-like);font-weight:700;font-size:2rem;color:#fff}
.strip-grid span{font-family:var(--font-mono-like);font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.55)}

/* ============ PROCESS FLOW (connector fixed: per-step line spans center-to-center, gap-aware) ============ */
.process-flow-track{display:grid;grid-template-columns:repeat(4,1fr);gap:3rem 2rem;position:relative;margin-top:4rem}
.proc-flow-step{position:relative;z-index:1}
.proc-flow-step:not(:last-child)::before{content:"";position:absolute;top:32px;left:32px;width:calc(100% + 2rem);height:1px;background:var(--color-border);z-index:0}
.proc-flow-num{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border:1.5px solid var(--color-text);background:#fff;font-family:var(--font-mono-like);font-weight:600;font-size:1.3rem;color:var(--color-text);margin-bottom:1.75rem}
.proc-flow-step h3{font-family:var(--font-heading);font-weight:700;font-size:1.25rem;margin:0 0 .5rem;color:var(--color-text)}
.proc-flow-step p{color:var(--color-muted);font-size:.96rem;line-height:1.55;margin:0}

/* process-flow entry animation: sequential left-to-right flow (motion-safe only) */
@keyframes proc-draw{0%{transform:scaleX(0);background:var(--color-accent)}55%{transform:scaleX(1);background:var(--color-accent)}100%{transform:scaleX(1);background:var(--color-border)}}
@keyframes proc-pop{0%{border-color:var(--color-border)}45%{border-color:var(--color-accent);transform:scale(1.07)}100%{border-color:var(--color-text);transform:scale(1)}}
@media (prefers-reduced-motion: no-preference){
  .process-flow-track.anim-ready:not(.in-view) .proc-flow-step{opacity:0;transform:translateY(14px)}
  .process-flow-track.anim-ready:not(.in-view) .proc-flow-step:not(:last-child)::before{transform:scaleX(0)}
  .process-flow-track.anim-ready:not(.in-view) .proc-flow-num{border-color:var(--color-border)}
  .process-flow-track.in-view .proc-flow-step{opacity:1;transform:none;transition:opacity .5s ease,transform .5s ease}
  .process-flow-track.in-view .proc-flow-step:nth-child(2){transition-delay:.45s}
  .process-flow-track.in-view .proc-flow-step:nth-child(3){transition-delay:.9s}
  .process-flow-track.in-view .proc-flow-step:nth-child(4){transition-delay:1.35s}
  .process-flow-track.in-view .proc-flow-step:not(:last-child)::before{transform-origin:left;animation:proc-draw .5s ease both}
  .process-flow-track.in-view .proc-flow-step:nth-child(1)::before{animation-delay:.25s}
  .process-flow-track.in-view .proc-flow-step:nth-child(2)::before{animation-delay:.7s}
  .process-flow-track.in-view .proc-flow-step:nth-child(3)::before{animation-delay:1.15s}
  .process-flow-track.in-view .proc-flow-num{animation:proc-pop .55s ease both}
  .process-flow-track.in-view .proc-flow-step:nth-child(1) .proc-flow-num{animation-delay:.1s}
  .process-flow-track.in-view .proc-flow-step:nth-child(2) .proc-flow-num{animation-delay:.55s}
  .process-flow-track.in-view .proc-flow-step:nth-child(3) .proc-flow-num{animation-delay:1s}
  .process-flow-track.in-view .proc-flow-step:nth-child(4) .proc-flow-num{animation-delay:1.45s}
}

/* ============ SPECS ============ */
.spec-wrap{background:#fff;border:1px solid var(--color-border)}
.spec-row{display:grid;grid-template-columns:.8fr 2fr;gap:2rem;padding:1.2rem 1.5rem;border-bottom:1px solid var(--color-border)}
.spec-row:last-child{border-bottom:0}
.spec-row dt{font-family:var(--font-heading);font-weight:700;font-size:.96rem}
.spec-row dd{color:var(--color-muted);font-size:.96rem}

/* ============ CATALOGUE BANNER (full-width) ============ */
.cat-banner-section{position:relative;overflow:hidden;background:var(--color-nav-bg);color:#fff;padding-block:clamp(2.75rem,6vw,5rem)}
.cat-banner-section .bg-blueprint-grid{opacity:.6}
.cat-banner-inner{position:relative;z-index:1;display:grid;grid-template-columns:auto 1fr;align-items:start;gap:clamp(1.75rem,4vw,3.5rem)}
.cat-banner-icon{width:80px;height:104px;flex-shrink:0;align-self:start;background:linear-gradient(160deg,#2d343b,#1a1d20);border:1px solid rgba(255,255,255,.18);clip-path:polygon(16px 0,100% 0,100% 100%,0 100%,0 16px);display:flex;align-items:flex-end;padding:.55rem}
.cat-banner-icon span{font-family:var(--font-mono);font-size:.5rem;letter-spacing:.1em;color:var(--color-accent)}
.cat-banner-copy{max-width:64ch}
.cat-banner-copy .kicker{display:block;margin-bottom:.6rem}
.cat-banner-copy h3{font-family:var(--font-heading);font-weight:700;font-size:clamp(1.5rem,2.6vw,2.2rem);line-height:1.18;margin:0 0 .7rem;color:#fff;max-width:24ch}
.cat-banner-copy p{color:rgba(255,255,255,.72);font-size:clamp(1rem,1.2vw,1.1rem);line-height:1.6;margin:0;max-width:62ch}
.cat-banner-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.75rem}
.btn-outline-dark{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.4)}
.btn-outline-dark:hover{border-color:#fff;background:rgba(255,255,255,.08)}

@media(max-width:1000px){
  .intro-grid,.roll-grid,.ss-grid{grid-template-columns:1fr;gap:2.5rem}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .ci-grid{grid-template-columns:1fr;gap:2rem}
  .qc-strip{grid-template-columns:repeat(2,1fr)}
  .intro-media,.roll-media,.ss-media{min-height:300px}
}
@media(max-width:760px){
  .process-flow-track{grid-template-columns:1fr;gap:2.5rem}
  .proc-flow-step{padding-left:5rem;min-height:64px}
  .proc-flow-step:not(:last-child)::before{top:64px;left:32px;width:1px;height:calc(100% - 64px + 2.5rem)}
  .proc-flow-num{position:absolute;left:0;top:0;margin-bottom:0}
  .cat-banner-inner{grid-template-columns:1fr;gap:1.25rem}
  .cat-banner-icon{display:none}
}
@media(max-width:620px){
  .cat-grid{grid-template-columns:1fr}
  .qc-feature-imgs{grid-template-columns:1fr;gap:.55rem}
  .spec-row{grid-template-columns:1fr;gap:.3rem}
}

/* END OF IDLERS PAGE, SHARING WITH ROLLER TYPE PAGE QC ------------------------------------------------------------------------ */




/* ============ IMAGE GALLERY (partial image-gallery + script image-gallery) ============ */
/* Before the script runs: a plain grid of whatever the partial rendered. */
.ig{margin:2.25rem 0;--ig-gap:.6rem}
.ig:last-child{margin-bottom:0}
.ig[data-columns="4"]{--ig-gap:1rem}
.ig-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ig-gap)}
.ig[data-columns="4"] .ig-grid:not([data-layout]){grid-template-columns:repeat(4,minmax(0,1fr))}
.ig-grid > .md-paragraph{display:contents}
.ig-grid figure,.ig-grid .md-image-container,.ig-grid > img,.ig-grid > .md-paragraph > img{margin:0;aspect-ratio:4/3;overflow:hidden;background:var(--color-surface)}
.ig-grid img{display:block;width:100%;height:100%;max-height:none;object-fit:cover}

/* After the script: thumbnail buttons on a 12-column grid. The script sets each
   item's span (--ig-span, phones --ig-m-span) and a stretched row's ratio (--ig-ar). */
.ig-grid[data-layout]{grid-template-columns:repeat(12,minmax(0,1fr))}
.ig-item{position:relative;display:block;width:100%;grid-column:span var(--ig-span,4);aspect-ratio:var(--ig-ar,4 / 3);padding:0;border:0;overflow:hidden;background:var(--color-surface);font:inherit;text-align:left;cursor:zoom-in}
.ig-item img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.ig-item::after{content:"";position:absolute;right:0;bottom:0;width:2.25rem;height:2.25rem;background:var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center/1rem no-repeat;opacity:0;transform:translateY(.4rem);transition:opacity .2s,transform .2s}
.ig[data-captions="true"] .ig-item::after{top:0;bottom:auto;transform:translateY(-.4rem)}
.ig-item:hover img,.ig-item:focus-visible img{transform:scale(1.04)}
.ig-item:focus-visible::after{opacity:1;transform:none}
/* reveal on hover only where there is hover; touch screens show the icon and label all the time,
   so a tap never reveals anything (iOS would make that tap a hover and need a second tap) */
@media (hover:hover){.ig-item:hover::after{opacity:1;transform:none}.ig-item:hover .ig-label{transform:none;opacity:1}}
@media (hover:none){.ig-item::after,.ig[data-captions="true"] .ig-item::after,.ig-label{opacity:1;transform:none}}
.ig-item:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}
.ig-item.ig-lead{grid-row:span 2;aspect-ratio:auto}
.ig-grid[data-layout="single"] .ig-item{aspect-ratio:auto}
.ig-grid[data-layout="single"] .ig-item img{position:static;height:auto;max-height:80vh}
.ig-label{position:absolute;left:0;right:0;bottom:0;padding:1.1rem 1.25rem .9rem;background:linear-gradient(0deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,0) 100%);color:#fff;font-family:var(--font-heading);font-weight:600;font-size:.92rem;line-height:1.35;letter-spacing:.02em;transform:translateY(.4rem);opacity:.95;transition:transform .25s ease,opacity .25s ease;pointer-events:none}
.ig-item:focus-visible .ig-label{transform:none;opacity:1}

/* Viewer */
html.ig-lock{overflow:hidden}
.ig-viewer{position:fixed;inset:0;z-index:10000;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(.75rem,2vw,1.5rem);padding:clamp(4rem,6vh,5rem) clamp(1rem,3vw,2.5rem) clamp(1rem,3vh,2rem);background:rgba(15,17,20,.95);opacity:0;transition:opacity .2s ease}
.ig-viewer[hidden]{display:none}
.ig-viewer.is-open{opacity:1}
.ig-stage{margin:0;min-width:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem}
.ig-full{display:block;min-height:0;max-width:100%;max-height:calc(100vh - 11rem);max-height:calc(100dvh - 11rem);width:auto;height:auto;object-fit:contain;transition:opacity .2s ease}
.ig-full.is-loading{opacity:0}
.ig-cap{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.4rem 1rem;max-width:72ch;text-align:center;color:rgba(255,255,255,.8);font-size:.95rem;line-height:1.5}
.ig-count{font-family:var(--font-mono-like);font-weight:700;font-size:.72rem;letter-spacing:.12em;color:var(--color-accent)}
.ig-count:empty{display:none}
.ig-btn{display:grid;place-items:center;width:3rem;height:3rem;padding:0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.22);color:#fff;cursor:pointer;transition:background .15s,border-color .15s}
.ig-btn:hover{background:var(--color-accent);border-color:var(--color-accent)}
.ig-btn:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}
.ig-btn svg{width:1.35rem;height:1.35rem;fill:none;stroke:currentColor;stroke-width:2}
.ig-close{position:absolute;top:clamp(.75rem,2vh,1.25rem);right:clamp(1rem,3vw,2.5rem)}
.ig-viewer.is-single .ig-prev,.ig-viewer.is-single .ig-next{visibility:hidden}

@media(max-width:640px){
  .ig-grid:not([data-layout]),.ig[data-columns="4"] .ig-grid:not([data-layout]){grid-template-columns:repeat(2,minmax(0,1fr))}
  .ig-grid[data-layout] .ig-item{grid-column:span var(--ig-m-span,6);aspect-ratio:4 / 3}
  .ig-grid[data-layout] .ig-item.ig-lead{grid-row:auto;aspect-ratio:3 / 2}
  .ig-grid[data-layout="single"] .ig-item{aspect-ratio:auto}
  .ig-label{padding:.9rem 1rem .7rem;font-size:.85rem}
  .ig-viewer{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) auto;padding:4rem 1rem 1rem}
  .ig-stage{grid-column:1 / -1;grid-row:1}
  .ig-prev{grid-row:2;justify-self:start}
  .ig-next{grid-row:2;justify-self:end}
  .ig-full{max-height:calc(100dvh - 12rem)}
}
@media(prefers-reduced-motion:reduce){
  .ig-item img,.ig-item::after,.ig-label,.ig-viewer,.ig-full{transition:none}
}

/* ==========================================================================
   Reveal on scroll (driven by scripts/general-animations.js)
   Only elements the script has marked are hidden, so a page without
   JavaScript shows everything. Off for prefers-reduced-motion and in print.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .rv-hide { opacity: 0; transform: translateY(14px); }
  .rv-show { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
}
@media print {
  .rv-hide { opacity: 1 !important; transform: none !important; }
}


/* FAQ LIST (partial faq-list) ------------------------------------------------------------------------------------------
   one row per question, opening to its answer; same look as the catalogue groups on the idler type pages */
.faq-list { border-top: 1px solid var(--color-border); }
.faq-list .faq-item { border-bottom: 1px solid var(--color-border); scroll-margin-top: calc(var(--nav-height) + 1.5rem); }
.faq-list .faq-item > summary { display: block; position: relative; padding: 1.05rem 2.5rem 1.05rem 0; cursor: pointer; list-style: none; }
.faq-list .faq-item > summary::-webkit-details-marker { display: none; }
.faq-list .faq-item > summary .faq-q {
    margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; line-height: 1.35;
    letter-spacing: 0; color: var(--color-text); transition: color 0.15s;
}
.faq-list .faq-item > summary::after {
    content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
    font-family: var(--font-mono-like); font-size: 1.3rem; line-height: 1; color: var(--color-accent);
}
.faq-list .faq-item[open] > summary::after { content: "\2212"; }
.faq-list .faq-item > summary:hover .faq-q { color: var(--color-accent); }
.faq-list .faq-item > summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.faq-list .faq-a { padding: 0 2.5rem 1.35rem 0; }
.faq-list .faq-a p { margin: 0; max-width: 65ch; font-size: 1rem; line-height: 1.6; color: var(--color-muted); }
.bg-dark .faq-list, .bg-dark .faq-list .faq-item { border-color: rgba(255, 255, 255, 0.16); }
.bg-dark .faq-list .faq-item > summary .faq-q { color: #fff; }
.bg-dark .faq-list .faq-a p { color: rgba(255, 255, 255, 0.72); }
/* opening: the answer fades and slides in everywhere; where the browser can animate to height:auto,
   the row also grows smoothly (open and close). Started by the tap itself, so no iOS hover issue. */
.faq-list .faq-item[open] .faq-a { animation: faq-open 0.28s ease-out; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@supports (interpolate-size: allow-keywords) {
    .faq-list { interpolate-size: allow-keywords; }
    .faq-list .faq-item::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.28s ease, content-visibility 0.28s allow-discrete; }
    .faq-list .faq-item[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .faq-list .faq-item[open] .faq-a { animation: none; }
    .faq-list .faq-item::details-content { transition: none; }
}
/* in an Insights article: same measure as the prose, and the section heading's rule already sits on top */
.prose .article-faq .faq-list { max-width: 44rem; border-top: 0; }

/* SMALL SCREENS --------------------------------------------------------------------------------------------------------- */

/* headings that sat directly on their lead */
.case-study-header-text .md-heading,
.instmap-head .md-heading,
.insights-spot-head .md-heading {
    margin-block: 0.5rem 1.25rem;
}

@media (max-width: 600px) {
    .product-lines-section,
    .case-study-section { padding-block: 5rem; }
    .stats-banner,
    .contact-section,
    .insights-spot-section,
    .cta-banner { padding-block: 4.5rem; }
    .stats-banner-header { margin-bottom: 2.5rem; }

    /* landing hero: fit the stats inside the visible screen of a typical phone; the bottom
       padding is room for the hero's parallax, which sits the content lower at the top of the page */
    .hero-section { padding-bottom: 1.25rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-stats { margin-top: 2rem; }
}

@media (max-width: 420px) {
    /* narrow phones (and zoomed-in large ones): the hero is taller than the screen, so the
       parallax sits its content lower at the top of the page; more room keeps the stats inside */
    .hero-section { padding-bottom: 2.5rem; }
}

@media (max-width: 480px) {
    /* the 2rem gutter took a fifth of a 360px screen */
    .container { padding-inline: 1.25rem; }

    /* "the Future of" and the cycling phrases stay on one line each down to 320px */
    .hero-title { font-size: clamp(2rem, 10.5vw, 2.4rem); }

    /* side by side while both labels fit, otherwise full-width rows; labels never break */
    .hero-buttons { flex-wrap: wrap; gap: 0.75rem; }
    .hero-buttons .btn { flex: 1 1 auto; white-space: nowrap; padding-inline: 1.25rem; }
    .hero-stats { gap: 2rem; }

    .product-line-card-body { padding: 1.5rem 1.25rem 1.75rem; }

    .stats-grid { gap: 2rem; }
    .stat-item { padding-left: 1.1rem; }
}
