/*
Theme Name: Lumora Lighting
Theme URI: https://example.com/lumora-lighting
Author: Custom Studio
Author URI: https://example.com
Description: Product-led WordPress theme for lighting and renewable energy manufacturers. Four-pillar mega navigation, product catalogue with specification sheets and faceted filtering, application and reference-project archives, Elementor-ready pages and one-click Croatian dummy content.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumora
Tags: lighting, manufacturer, catalogue, e-commerce, elementor, full-width, product, corporate, right-sidebar, translation-ready
*/

/* ============================================================
   LUMORA LIGHTING
   ------------------------------------------------------------
   1.  Fonts
   2.  Design tokens
   3.  Reset
   4.  Typography
   5.  Layout
   6.  Utility bar + header + mega menu
   7.  Mobile drawer + search
   8.  Buttons + links
   9.  Hero
   10. Page hero + breadcrumbs
   11. Tiles + cards
   12. Product cards + grid + filter rail
   13. Product single (gallery, specs, downloads)
   14. Applications + projects
   15. News
   16. Stats, tabs, accordion, steps
   17. Forms
   18. Pagination
   19. CTA bands
   20. Footer
   21. 404 + empty states
   22. Elementor bridge
   23. Responsive
   24. Print
   ============================================================ */


/* ============================================================
   1. FONTS
   ------------------------------------------------------------
   Archivo carries the display weights; Inter carries body copy.
   Both are loaded with the latin-ext subset in functions.php, which
   is what supplies the Croatian diacritics — č ć ž š đ / Č Ć Ž Š Đ.
   Nothing here should ever fall back to a font without latin-ext.
   ============================================================ */

/* ============================================================
   2. DESIGN TOKENS
   ============================================================ */

:root {
    /* Brand */
    --lm-amber:        #ff8a00;
    --lm-amber-dark:   #e06f00;
    --lm-amber-soft:   #fff4e6;

    /* Ink */
    --lm-ink:          #14161a;
    --lm-ink-80:       #33373d;
    --lm-ink-60:       #5b6169;
    --lm-ink-45:       #868d96;
    --lm-ink-30:       #b6bcc4;

    /* Surfaces */
    --lm-white:        #ffffff;
    --lm-paper:        #f5f6f8;
    --lm-paper-2:      #eceef1;
    --lm-rule:         #dfe2e7;
    --lm-rule-soft:    #eef0f3;
    --lm-dark:         #0e1013;
    --lm-dark-2:       #191c21;
    --lm-rule-dark:    #2b3037;
    --lm-on-dark-70:   #b9bec6;
    --lm-on-dark-45:   #7d848d;

    /* Status */
    --lm-green:        #1f9d55;
    --lm-blue:         #1668c1;

    /* Type */
    --lm-font-display: 'Archivo', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --lm-font-text:    'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --lm-track-label:  0.10em;
    --lm-track-tight:  -0.02em;

    /* Metrics */
    --lm-max:          1360px;
    --lm-max-narrow:   820px;
    --lm-gutter:       32px;
    --lm-radius:       4px;
    --lm-radius-lg:    8px;
    --lm-util-h:       36px;
    --lm-header-h:     78px;
    --lm-header-h-sm:  62px;

    /* Motion + depth */
    --lm-ease:         cubic-bezier(0.22, 1, 0.36, 1);
    --lm-t:            220ms var(--lm-ease);
    --lm-t-slow:       420ms var(--lm-ease);
    --lm-shadow:       0 1px 2px rgba(20, 22, 26, 0.05), 0 8px 24px rgba(20, 22, 26, 0.07);
    --lm-shadow-lg:    0 2px 4px rgba(20, 22, 26, 0.06), 0 24px 56px rgba(20, 22, 26, 0.14);
}

/* ============================================================
   3. RESET
   ============================================================ */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--lm-header-h) + 24px);
}

body {
    margin: 0;
    background: var(--lm-white);
    color: var(--lm-ink);
    font-family: var(--lm-font-text);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.lm-no-scroll {
    overflow: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

figure {
    margin: 0;
}

table {
    border-collapse: collapse;
    width: 100%;
}

:focus-visible {
    outline: 2px solid var(--lm-amber);
    outline-offset: 3px;
}

.lm-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lm-skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 999;
    background: var(--lm-ink);
    color: var(--lm-white);
    padding: 12px 20px;
    border-radius: var(--lm-radius);
}

.lm-skip-link:focus {
    top: 16px;
}

.lm-hidden {
    display: none !important;
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6,
.lm-display {
    font-family: var(--lm-font-display);
    font-weight: 700;
    letter-spacing: var(--lm-track-tight);
    line-height: 1.12;
    color: var(--lm-ink);
    margin: 0 0 0.5em;
}

h1, .lm-h1 { font-size: clamp(32px, 4.4vw, 58px); }
h2, .lm-h2 { font-size: clamp(26px, 3.1vw, 42px); }
h3, .lm-h3 { font-size: clamp(20px, 1.9vw, 26px); }
h4, .lm-h4 { font-size: clamp(17px, 1.4vw, 20px); }
h5, .lm-h5 { font-size: 16px; }
h6, .lm-h6 { font-size: 14px; }

p {
    margin: 0 0 1.15em;
}

p:last-child {
    margin-bottom: 0;
}

.lm-lead {
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.6;
    color: var(--lm-ink-60);
    max-width: 62ch;
}

.lm-lead-dark {
    color: var(--lm-on-dark-70);
}

.lm-small {
    font-size: 14px;
    line-height: 1.6;
    color: var(--lm-ink-60);
}

.lm-eyebrow {
    display: inline-block;
    font-family: var(--lm-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: var(--lm-track-label);
    text-transform: uppercase;
    color: var(--lm-amber);
    margin-bottom: 14px;
}

.lm-eyebrow-ink {
    color: var(--lm-ink-45);
}

/* The amber rule that marks a section opening. */
.lm-eyebrow::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 3px;
    background: currentColor;
    vertical-align: 3px;
    margin-right: 10px;
}

.lm-section-head {
    max-width: 760px;
    margin-bottom: clamp(32px, 4vw, 56px);
}

.lm-section-head-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.lm-section-head-center .lm-lead {
    margin-left: auto;
    margin-right: auto;
}

.lm-section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    max-width: none;
}

/* ============================================================
   5. LAYOUT
   ============================================================ */

.lm-container {
    width: 100%;
    max-width: var(--lm-max);
    margin: 0 auto;
    padding: 0 var(--lm-gutter);
}

.lm-container-narrow {
    width: 100%;
    max-width: var(--lm-max-narrow);
    margin: 0 auto;
    padding: 0 var(--lm-gutter);
}

.lm-section {
    padding: clamp(52px, 6.5vw, 104px) 0;
}

.lm-section-tight {
    padding: clamp(36px, 4vw, 64px) 0;
}

.lm-paper   { background: var(--lm-paper); }
.lm-paper-2 { background: var(--lm-paper-2); }

.lm-dark {
    background: var(--lm-dark);
    color: var(--lm-on-dark-70);
}

.lm-dark h1,
.lm-dark h2,
.lm-dark h3,
.lm-dark h4,
.lm-dark h5,
.lm-dark h6 {
    color: var(--lm-white);
}

.lm-dark .lm-small {
    color: var(--lm-on-dark-45);
}

.lm-grid {
    display: grid;
    gap: 28px;
}

.lm-cols-2 { grid-template-columns: repeat(2, 1fr); }
.lm-cols-3 { grid-template-columns: repeat(3, 1fr); }
.lm-cols-4 { grid-template-columns: repeat(4, 1fr); }
.lm-cols-5 { grid-template-columns: repeat(5, 1fr); }

.lm-gap-sm { gap: 16px; }
.lm-gap-lg { gap: 40px; }

.lm-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.lm-split-40 {
    grid-template-columns: 4fr 6fr;
    align-items: start;
}

.lm-split-media img {
    width: 100%;
    border-radius: var(--lm-radius-lg);
}

/* Media placeholder: a hairline grid over paper with a lit corner.
   Keeps every layout looking finished before real photography lands. */
.lm-ph {
    position: relative;
    background:
        linear-gradient(135deg, rgba(255, 138, 0, 0.16), rgba(255, 138, 0, 0) 46%),
        repeating-linear-gradient(0deg, var(--lm-rule-soft) 0 1px, transparent 1px 40px),
        repeating-linear-gradient(90deg, var(--lm-rule-soft) 0 1px, transparent 1px 40px),
        var(--lm-paper);
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lm-ph::after {
    content: attr(data-mark);
    font-family: var(--lm-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: var(--lm-track-label);
    text-transform: uppercase;
    color: var(--lm-ink-30);
    padding: 0 16px;
    text-align: center;
}

.lm-ph-16x9  { aspect-ratio: 16 / 9; }
.lm-ph-4x3   { aspect-ratio: 4 / 3; }
.lm-ph-1x1   { aspect-ratio: 1 / 1; }
.lm-ph-3x4   { aspect-ratio: 3 / 4; }

.lm-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lm-ph img + .lm-ph::after {
    content: none;
}

/* ============================================================
   6. UTILITY BAR + HEADER + MEGA MENU
   ============================================================ */

.lm-utilbar {
    background: var(--lm-ink);
    color: var(--lm-on-dark-70);
    font-size: 13px;
    height: var(--lm-util-h);
    display: flex;
    align-items: center;
}

.lm-utilbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.lm-utilbar a {
    color: var(--lm-on-dark-70);
    transition: color var(--lm-t);
}

.lm-utilbar a:hover {
    color: var(--lm-white);
}

.lm-utilbar ul {
    display: flex;
    gap: 22px;
    list-style: none;
}

.lm-locale {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-left: 22px;
    border-left: 1px solid var(--lm-rule-dark);
}

.lm-locale svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.lm-site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: var(--lm-white);
    border-bottom: 1px solid var(--lm-rule);
    transition: box-shadow var(--lm-t), height var(--lm-t);
}

.lm-site-header.is-stuck {
    box-shadow: var(--lm-shadow);
}

.lm-header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--lm-header-h);
    transition: height var(--lm-t);
}

.lm-site-header.is-stuck .lm-header-inner {
    height: var(--lm-header-h-sm);
}

/* Wordmark: the dot is the lamp. */
.lm-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--lm-font-display);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lm-ink);
    flex-shrink: 0;
}

.lm-brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lm-amber);
    display: inline-block;
    margin-left: 3px;
    box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.55);
    animation: lm-glow 3.2s var(--lm-ease) infinite;
}

@keyframes lm-glow {
    0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.5); }
    35%           { box-shadow: 0 0 0 7px rgba(255, 138, 0, 0); }
}

.lm-brand img {
    max-height: 42px;
    width: auto;
}

.lm-brand-sub {
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--lm-ink-45);
    text-transform: uppercase;
    margin-top: 2px;
}

.lm-primary-nav {
    margin-left: auto;
}

.lm-primary-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.lm-primary-nav > ul > li {
    position: static;
}

.lm-primary-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--lm-radius);
    font-family: var(--lm-font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--lm-ink-80);
    transition: color var(--lm-t), background var(--lm-t);
}

.lm-primary-nav > ul > li > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.5;
    transition: transform var(--lm-t);
}

.lm-primary-nav > ul > li:not(.menu-item-has-children) > a::after {
    display: none;
}

.lm-primary-nav > ul > li > a:hover,
.lm-primary-nav > ul > li.is-open > a,
.lm-primary-nav > ul > li.current-menu-item > a,
.lm-primary-nav > ul > li.current-menu-ancestor > a {
    color: var(--lm-ink);
    background: var(--lm-paper);
}

.lm-primary-nav > ul > li.is-open > a::after {
    transform: rotate(225deg) translateY(-2px);
}

/* The mega panel spans the viewport and is driven by theme.js. */
.lm-primary-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    list-style: none;
    background: var(--lm-white);
    border-top: 1px solid var(--lm-rule);
    border-bottom: 1px solid var(--lm-rule);
    box-shadow: var(--lm-shadow-lg);
    padding: 36px var(--lm-gutter) 40px;
}

.lm-primary-nav > ul > li.is-open > .sub-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px 32px;
    max-width: var(--lm-max);
    margin: 0 auto;
    animation: lm-drop 260ms var(--lm-ease);
}

@keyframes lm-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}

.lm-primary-nav .sub-menu a {
    display: block;
    padding: 11px 14px;
    border-radius: var(--lm-radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--lm-ink-80);
    border-left: 2px solid transparent;
    transition: background var(--lm-t), color var(--lm-t), border-color var(--lm-t);
}

.lm-primary-nav .sub-menu a:hover {
    background: var(--lm-paper);
    border-left-color: var(--lm-amber);
    color: var(--lm-ink);
}

.lm-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.lm-icon-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lm-radius);
    color: var(--lm-ink-80);
    transition: background var(--lm-t), color var(--lm-t);
}

.lm-icon-btn:hover {
    background: var(--lm-paper);
    color: var(--lm-ink);
}

.lm-icon-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lm-burger {
    display: none;
}

/* ============================================================
   7. MOBILE DRAWER + SEARCH OVERLAY
   ============================================================ */

.lm-scrim {
    position: fixed;
    inset: 0;
    background: rgba(14, 16, 19, 0.55);
    opacity: 0;
    visibility: hidden;
    z-index: 600;
    transition: opacity var(--lm-t), visibility var(--lm-t);
}

.lm-scrim.is-open {
    opacity: 1;
    visibility: visible;
}

.lm-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 88vw);
    background: var(--lm-white);
    z-index: 700;
    transform: translateX(100%);
    transition: transform var(--lm-t-slow);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.lm-drawer.is-open {
    transform: none;
}

.lm-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--lm-rule);
    position: sticky;
    top: 0;
    background: var(--lm-white);
    z-index: 2;
}

.lm-drawer nav ul {
    list-style: none;
}

.lm-drawer nav > ul > li {
    border-bottom: 1px solid var(--lm-rule-soft);
}

.lm-drawer nav a {
    display: block;
    padding: 15px 22px;
    font-family: var(--lm-font-display);
    font-size: 16px;
    font-weight: 600;
}

.lm-drawer nav .sub-menu {
    background: var(--lm-paper);
    display: none;
}

.lm-drawer nav .menu-item-has-children.is-open > .sub-menu {
    display: block;
}

.lm-drawer nav .sub-menu a {
    font-family: var(--lm-font-text);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 22px 12px 36px;
    color: var(--lm-ink-60);
}

.lm-drawer-foot {
    margin-top: auto;
    padding: 22px;
    border-top: 1px solid var(--lm-rule);
    background: var(--lm-paper);
}

.lm-search-overlay {
    position: fixed;
    inset: 0;
    background: var(--lm-white);
    z-index: 800;
    display: flex;
    align-items: flex-start;
    padding-top: 16vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--lm-t), visibility var(--lm-t);
}

.lm-search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.lm-search-overlay .lm-container {
    width: 100%;
}

.lm-search-close {
    position: absolute;
    top: 28px;
    right: 32px;
}

.lm-search-hint {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lm-chip {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid var(--lm-rule);
    border-radius: 100px;
    font-size: 13px;
    color: var(--lm-ink-60);
    transition: all var(--lm-t);
}

.lm-chip:hover {
    border-color: var(--lm-ink);
    color: var(--lm-ink);
}

/* ============================================================
   8. BUTTONS + LINKS
   ============================================================ */

.lm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border-radius: var(--lm-radius);
    background: var(--lm-amber);
    color: var(--lm-ink);
    font-family: var(--lm-font-display);
    font-size: 15px;
    font-weight: 700;
    border: 2px solid var(--lm-amber);
    transition: background var(--lm-t), border-color var(--lm-t), color var(--lm-t), transform var(--lm-t);
}

.lm-btn:hover {
    background: var(--lm-amber-dark);
    border-color: var(--lm-amber-dark);
    color: var(--lm-white);
    transform: translateY(-1px);
}

.lm-btn-outline {
    background: transparent;
    border-color: var(--lm-ink-30);
    color: var(--lm-ink);
}

.lm-btn-outline:hover {
    background: var(--lm-ink);
    border-color: var(--lm-ink);
    color: var(--lm-white);
}

.lm-btn-dark {
    background: var(--lm-ink);
    border-color: var(--lm-ink);
    color: var(--lm-white);
}

.lm-btn-dark:hover {
    background: var(--lm-amber);
    border-color: var(--lm-amber);
    color: var(--lm-ink);
}

.lm-btn-ghost-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--lm-white);
}

.lm-btn-ghost-light:hover {
    background: var(--lm-white);
    border-color: var(--lm-white);
    color: var(--lm-ink);
}

.lm-btn-sm {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.lm-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.lm-arrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--lm-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--lm-ink);
}

.lm-arrow::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--lm-amber);
    border-right: 2px solid var(--lm-amber);
    transform: rotate(45deg);
    transition: transform var(--lm-t);
}

.lm-arrow:hover::after {
    transform: rotate(45deg) translate(3px, -3px);
}

.lm-dark .lm-arrow {
    color: var(--lm-white);
}

/* ============================================================
   9. HERO
   ============================================================ */

.lm-hero {
    position: relative;
    background: var(--lm-dark);
    color: var(--lm-on-dark-70);
    overflow: hidden;
}

/* A wash of light from the top-right, and a faint technical grid. */
.lm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1100px 620px at 82% -12%, rgba(255, 138, 0, 0.30), transparent 62%),
        radial-gradient(760px 520px at 8% 108%, rgba(22, 104, 193, 0.16), transparent 60%);
    pointer-events: none;
}

.lm-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 64px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 64px);
    pointer-events: none;
}

.lm-hero .lm-container {
    position: relative;
    z-index: 1;
}

.lm-hero-inner {
    padding: clamp(60px, 8vw, 130px) 0 clamp(48px, 6vw, 96px);
    max-width: 780px;
}

.lm-hero-title {
    color: var(--lm-white);
    font-size: clamp(36px, 5.4vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.025em;
}

.lm-hero-title em {
    font-style: normal;
    color: var(--lm-amber);
}

.lm-hero .lm-lead {
    color: var(--lm-on-dark-70);
    font-size: clamp(17px, 1.5vw, 21px);
    max-width: 58ch;
}

.lm-hero-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--lm-rule-dark);
}

.lm-hero-strip > div {
    padding: 26px 28px 30px;
    border-right: 1px solid var(--lm-rule-dark);
}

.lm-hero-strip > div:last-child {
    border-right: 0;
}

.lm-stat-num {
    display: block;
    font-family: var(--lm-font-display);
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 800;
    line-height: 1;
    color: var(--lm-white);
    letter-spacing: -0.02em;
}

.lm-stat-label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--lm-on-dark-45);
}

/* ============================================================
   10. PAGE HERO + BREADCRUMBS
   ============================================================ */

.lm-page-hero {
    background: var(--lm-paper);
    border-bottom: 1px solid var(--lm-rule);
    padding: clamp(28px, 3vw, 44px) 0 clamp(38px, 4.5vw, 66px);
}

.lm-page-hero h1 {
    max-width: 20ch;
}

.lm-page-hero-dark {
    background: var(--lm-dark);
    border-bottom-color: var(--lm-rule-dark);
}

.lm-page-hero-dark h1 {
    color: var(--lm-white);
}

.lm-page-hero-dark .lm-lead {
    color: var(--lm-on-dark-70);
}

.lm-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--lm-ink-45);
    margin-bottom: 22px;
}

.lm-breadcrumbs a:hover {
    color: var(--lm-amber);
}

.lm-breadcrumbs .sep {
    color: var(--lm-ink-30);
}

.lm-page-hero-dark .lm-breadcrumbs {
    color: var(--lm-on-dark-45);
}

.lm-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
    margin-top: 28px;
}

.lm-hero-meta > div {
    min-width: 120px;
}

.lm-hero-meta .lm-stat-num {
    color: var(--lm-ink);
    font-size: clamp(22px, 2vw, 30px);
}

.lm-hero-meta .lm-stat-label {
    color: var(--lm-ink-45);
}

.lm-page-hero-dark .lm-hero-meta .lm-stat-num {
    color: var(--lm-white);
}

/* ============================================================
   11. TILES + CARDS
   ============================================================ */

.lm-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--lm-white);
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    overflow: hidden;
    transition: border-color var(--lm-t), box-shadow var(--lm-t), transform var(--lm-t);
    height: 100%;
}

a.lm-tile:hover {
    border-color: var(--lm-ink-30);
    box-shadow: var(--lm-shadow);
    transform: translateY(-3px);
}

.lm-tile-body {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lm-tile-body h3 {
    margin-bottom: 10px;
}

.lm-tile-body p {
    color: var(--lm-ink-60);
    font-size: 15px;
    flex: 1;
}

.lm-tile-body .lm-arrow {
    margin-top: 20px;
}

.lm-tile .lm-ph {
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--lm-rule);
}

/* Numbered feature card — no image, index instead. */
.lm-fcard {
    position: relative;
    background: var(--lm-white);
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    padding: 30px 28px 32px;
    height: 100%;
    transition: border-color var(--lm-t), box-shadow var(--lm-t);
}

.lm-fcard::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--lm-amber);
    border-radius: var(--lm-radius-lg) 0 0 var(--lm-radius-lg);
    transition: height var(--lm-t-slow);
}

.lm-fcard:hover::before {
    height: 100%;
}

.lm-fcard:hover {
    border-color: var(--lm-ink-30);
    box-shadow: var(--lm-shadow);
}

.lm-fcard-num {
    display: block;
    font-family: var(--lm-font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: var(--lm-track-label);
    color: var(--lm-amber);
    margin-bottom: 16px;
}

.lm-fcard h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.lm-fcard p {
    color: var(--lm-ink-60);
    font-size: 15px;
}

.lm-dark .lm-fcard,
.lm-dark .lm-tile {
    background: var(--lm-dark-2);
    border-color: var(--lm-rule-dark);
}

.lm-dark .lm-fcard p,
.lm-dark .lm-tile-body p {
    color: var(--lm-on-dark-70);
}

/* Wide split tile used for the segment pillars. */
.lm-pillar {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    padding: 32px;
    border-radius: var(--lm-radius-lg);
    background: var(--lm-dark);
    color: var(--lm-on-dark-70);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.lm-pillar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(680px 380px at 78% -18%, rgba(255, 138, 0, 0.34), transparent 62%);
    transition: transform var(--lm-t-slow);
}

.lm-pillar:hover::before {
    transform: scale(1.18);
}

.lm-pillar h3 {
    color: var(--lm-white);
    font-size: clamp(22px, 2vw, 30px);
}

.lm-pillar p {
    color: var(--lm-on-dark-70);
    font-size: 15px;
    max-width: 42ch;
}

.lm-pillar .lm-arrow {
    margin-top: 18px;
    color: var(--lm-white);
}

.lm-pillar-index {
    position: absolute;
    top: 26px;
    right: 30px;
    font-family: var(--lm-font-display);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.09);
}

/* ============================================================
   12. PRODUCT CARDS + GRID + FILTER RAIL
   ============================================================ */

.lm-catalogue {
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 44px;
    align-items: start;
}

.lm-rail {
    position: sticky;
    top: calc(var(--lm-header-h) + 24px);
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    background: var(--lm-white);
    overflow: hidden;
}

.lm-rail-group {
    border-bottom: 1px solid var(--lm-rule-soft);
    padding: 20px 22px 22px;
}

.lm-rail-group:last-child {
    border-bottom: 0;
}

.lm-rail-group h4 {
    font-size: 12px;
    letter-spacing: var(--lm-track-label);
    text-transform: uppercase;
    color: var(--lm-ink-45);
    margin-bottom: 14px;
}

.lm-rail-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lm-facet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border-radius: var(--lm-radius);
    font-size: 14.5px;
    color: var(--lm-ink-80);
    transition: background var(--lm-t), color var(--lm-t);
}

.lm-facet:hover {
    background: var(--lm-paper);
}

.lm-facet.is-active {
    background: var(--lm-amber-soft);
    color: var(--lm-ink);
    font-weight: 600;
    box-shadow: inset 2px 0 0 var(--lm-amber);
}

.lm-facet-count {
    font-size: 12px;
    color: var(--lm-ink-45);
    font-variant-numeric: tabular-nums;
}

.lm-rail-reset {
    display: block;
    width: 100%;
    padding: 14px 22px;
    background: var(--lm-paper);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--lm-ink-60);
    text-align: center;
    transition: color var(--lm-t), background var(--lm-t);
}

.lm-rail-reset:hover {
    background: var(--lm-paper-2);
    color: var(--lm-ink);
}

.lm-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 18px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--lm-rule);
}

.lm-results-count {
    font-size: 14px;
    color: var(--lm-ink-60);
}

.lm-results-count strong {
    color: var(--lm-ink);
    font-variant-numeric: tabular-nums;
}

.lm-rail-toggle {
    display: none;
}

.lm-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lm-product {
    display: flex;
    flex-direction: column;
    background: var(--lm-white);
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    overflow: hidden;
    transition: border-color var(--lm-t), box-shadow var(--lm-t), transform var(--lm-t);
    height: 100%;
}

.lm-product:hover {
    border-color: var(--lm-ink-30);
    box-shadow: var(--lm-shadow);
    transform: translateY(-3px);
}

.lm-product-media {
    position: relative;
    background: var(--lm-paper);
    border-bottom: 1px solid var(--lm-rule-soft);
}

.lm-product-media .lm-ph {
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(320px 200px at 50% 0%, rgba(255, 138, 0, 0.18), transparent 68%),
        var(--lm-paper);
}

.lm-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    background: var(--lm-amber);
    color: var(--lm-ink);
    font-family: var(--lm-font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lm-badge-ink {
    background: var(--lm-ink);
    color: var(--lm-white);
}

.lm-product-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lm-product-cat {
    font-size: 12px;
    letter-spacing: var(--lm-track-label);
    text-transform: uppercase;
    color: var(--lm-ink-45);
    margin-bottom: 8px;
}

.lm-product-body h3 {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.lm-product-body h3 a:hover {
    color: var(--lm-amber-dark);
}

.lm-product-sku {
    font-family: var(--lm-font-display);
    font-size: 12px;
    color: var(--lm-ink-45);
    letter-spacing: 0.04em;
}

/* Key figures strip inside a product card. */
.lm-spec-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0 18px;
}

.lm-spec-pill {
    display: inline-block;
    padding: 4px 9px;
    border: 1px solid var(--lm-rule);
    border-radius: 3px;
    background: var(--lm-paper);
    font-size: 12px;
    font-weight: 600;
    color: var(--lm-ink-60);
    font-variant-numeric: tabular-nums;
}

.lm-product-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--lm-rule-soft);
}

/* ============================================================
   13. PRODUCT SINGLE
   ============================================================ */

.lm-pdp {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.lm-pdp-gallery {
    position: sticky;
    top: calc(var(--lm-header-h) + 24px);
}

.lm-pdp-main .lm-ph {
    background:
        radial-gradient(420px 280px at 50% 6%, rgba(255, 138, 0, 0.20), transparent 66%),
        var(--lm-paper);
}

.lm-pdp-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.lm-pdp-thumbs .lm-ph {
    aspect-ratio: 1 / 1;
}

.lm-pdp-thumbs .lm-ph::after {
    font-size: 10px;
}

.lm-pdp h1 {
    font-size: clamp(26px, 2.8vw, 40px);
}

.lm-pdp-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 18px;
}

.lm-pdp-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 24px 0;
    padding: 20px 22px;
    background: var(--lm-paper);
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
}

.lm-pdp-price strong {
    font-family: var(--lm-font-display);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lm-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--lm-green);
}

.lm-stock::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Specification table. */
.lm-spec-table {
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    overflow: hidden;
}

.lm-spec-table th,
.lm-spec-table td {
    padding: 13px 20px;
    text-align: left;
    font-size: 14.5px;
    border-bottom: 1px solid var(--lm-rule-soft);
    vertical-align: top;
}

.lm-spec-table tr:last-child th,
.lm-spec-table tr:last-child td {
    border-bottom: 0;
}

.lm-spec-table th {
    width: 45%;
    font-family: var(--lm-font-text);
    font-weight: 500;
    color: var(--lm-ink-60);
    background: var(--lm-paper);
    border-right: 1px solid var(--lm-rule-soft);
}

.lm-spec-table td {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Downloads list. */
.lm-downloads {
    list-style: none;
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    overflow: hidden;
}

.lm-downloads li + li {
    border-top: 1px solid var(--lm-rule-soft);
}

.lm-downloads a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    transition: background var(--lm-t);
}

.lm-downloads a:hover {
    background: var(--lm-paper);
}

.lm-file {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lm-radius);
    background: var(--lm-amber-soft);
    color: var(--lm-amber-dark);
    font-family: var(--lm-font-display);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.lm-file-size {
    margin-left: auto;
    font-size: 13px;
    color: var(--lm-ink-45);
}

/* ============================================================
   14. APPLICATIONS + PROJECTS
   ============================================================ */

.lm-app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    padding: 28px;
    border-radius: var(--lm-radius-lg);
    overflow: hidden;
    isolation: isolate;
    background: var(--lm-ink);
    color: var(--lm-white);
}

.lm-app-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px),
        radial-gradient(560px 340px at 22% 0%, rgba(255, 138, 0, 0.36), transparent 60%),
        var(--lm-ink);
    transition: transform var(--lm-t-slow);
}

.lm-app-card:hover::before {
    transform: scale(1.1);
}

.lm-app-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(14, 16, 19, 0.86) 12%, transparent 62%);
}

.lm-app-card h3 {
    color: var(--lm-white);
    font-size: 22px;
    margin-bottom: 8px;
}

.lm-app-card p {
    color: var(--lm-on-dark-70);
    font-size: 14.5px;
}

.lm-app-card .lm-eyebrow {
    color: var(--lm-amber);
}

/* Reference project row. */
.lm-project {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    padding: clamp(28px, 3.5vw, 48px) 0;
    border-bottom: 1px solid var(--lm-rule);
}

.lm-project:first-child {
    border-top: 1px solid var(--lm-rule);
}

.lm-project-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--lm-rule);
}

.lm-project-facts .lm-stat-num {
    color: var(--lm-ink);
    font-size: 24px;
}

.lm-project-facts .lm-stat-label {
    color: var(--lm-ink-45);
}

/* ============================================================
   15. NEWS
   ============================================================ */

.lm-news-feature {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(28px, 4vw, 60px);
    align-items: center;
    padding-bottom: clamp(36px, 4vw, 60px);
    margin-bottom: clamp(36px, 4vw, 60px);
    border-bottom: 1px solid var(--lm-rule);
}

.lm-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.lm-news-card h3 {
    font-size: 19px;
    margin: 12px 0 10px;
}

.lm-news-card h3 a:hover {
    color: var(--lm-amber-dark);
}

.lm-news-card p {
    color: var(--lm-ink-60);
    font-size: 15px;
}

.lm-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lm-ink-45);
    font-family: var(--lm-font-display);
    font-weight: 600;
}

.lm-post-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--lm-ink-30);
}

.lm-post-meta a:hover {
    color: var(--lm-amber-dark);
}

/* Long-form article body. */
.lm-article {
    font-size: 17px;
    line-height: 1.75;
    color: var(--lm-ink-80);
}

.lm-article > * + * {
    margin-top: 1.15em;
}

.lm-article h2 {
    font-size: clamp(23px, 2.2vw, 30px);
    margin-top: 1.9em;
    margin-bottom: 0.55em;
    color: var(--lm-ink);
}

.lm-article h3 {
    font-size: clamp(19px, 1.6vw, 23px);
    margin-top: 1.7em;
    margin-bottom: 0.5em;
    color: var(--lm-ink);
}

.lm-article ul,
.lm-article ol {
    padding-left: 1.3em;
}

.lm-article li {
    margin-bottom: 0.5em;
}

.lm-article li::marker {
    color: var(--lm-amber);
}

.lm-article a {
    color: var(--lm-amber-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lm-article blockquote {
    margin: 1.8em 0;
    padding: 4px 0 4px 26px;
    border-left: 3px solid var(--lm-amber);
    font-family: var(--lm-font-display);
    font-size: clamp(19px, 1.7vw, 24px);
    line-height: 1.4;
    color: var(--lm-ink);
}

.lm-article img {
    border-radius: var(--lm-radius-lg);
}

.lm-article table th,
.lm-article table td {
    padding: 11px 14px;
    border: 1px solid var(--lm-rule);
    text-align: left;
    font-size: 15px;
}

.lm-article table th {
    background: var(--lm-paper);
}

.lm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--lm-rule);
}

/* ============================================================
   16. STATS, TABS, ACCORDION, STEPS
   ============================================================ */

.lm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--lm-rule);
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    overflow: hidden;
}

.lm-stats > div {
    background: var(--lm-white);
    padding: 28px 26px 30px;
}

.lm-stats .lm-stat-num {
    color: var(--lm-ink);
}

.lm-stats .lm-stat-label {
    color: var(--lm-ink-45);
}

.lm-dark .lm-stats {
    background: var(--lm-rule-dark);
    border-color: var(--lm-rule-dark);
}

.lm-dark .lm-stats > div {
    background: var(--lm-dark-2);
}

.lm-dark .lm-stats .lm-stat-num {
    color: var(--lm-white);
}

/* Tabs — used for the portfolio browser on the homepage. */
.lm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 1px solid var(--lm-rule);
    margin-bottom: 34px;
}

.lm-tab {
    padding: 13px 20px;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    font-family: var(--lm-font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--lm-ink-60);
    transition: color var(--lm-t), border-color var(--lm-t);
}

.lm-tab:hover {
    color: var(--lm-ink);
}

.lm-tab.is-active {
    color: var(--lm-ink);
    border-bottom-color: var(--lm-amber);
}

.lm-tabpanel[hidden] {
    display: none;
}

/* Accordion — FAQ and spec disclosure. */
.lm-accordion {
    border-top: 1px solid var(--lm-rule);
}

.lm-acc-item {
    border-bottom: 1px solid var(--lm-rule);
}

.lm-acc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    text-align: left;
    padding: 22px 0;
    font-family: var(--lm-font-display);
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 600;
    color: var(--lm-ink);
    transition: color var(--lm-t);
}

.lm-acc-trigger:hover {
    color: var(--lm-amber-dark);
}

.lm-acc-trigger .icon {
    position: relative;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1px solid var(--lm-rule);
    border-radius: 50%;
    transition: background var(--lm-t), border-color var(--lm-t);
}

.lm-acc-trigger .icon::before,
.lm-acc-trigger .icon::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 9px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform var(--lm-t), opacity var(--lm-t);
}

.lm-acc-trigger .icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.lm-acc-trigger[aria-expanded="true"] .icon {
    background: var(--lm-amber);
    border-color: var(--lm-amber);
}

.lm-acc-trigger[aria-expanded="true"] .icon::after {
    opacity: 0;
}

/* Rendered open so the content is reachable without JavaScript;
   theme.js collapses all but the first panel on load. */
.lm-acc-panel {
    overflow: hidden;
    max-height: 90em;
    transition: max-height var(--lm-t-slow);
}

.lm-acc-panel-inner {
    padding: 0 0 24px;
    max-width: 78ch;
    color: var(--lm-ink-60);
}

/* Numbered process steps. */
.lm-steps {
    counter-reset: lm-step;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--lm-rule);
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    overflow: hidden;
}

.lm-step {
    counter-increment: lm-step;
    background: var(--lm-white);
    padding: 30px 26px 32px;
}

.lm-step::before {
    content: counter(lm-step, decimal-leading-zero);
    display: block;
    font-family: var(--lm-font-display);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: var(--lm-amber);
    margin-bottom: 16px;
}

.lm-step h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.lm-step p {
    font-size: 14.5px;
    color: var(--lm-ink-60);
}

/* Logo / partner strip. */
.lm-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--lm-rule);
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    overflow: hidden;
}

.lm-logo-cell {
    background: var(--lm-white);
    aspect-ratio: 2.4 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lm-font-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lm-ink-30);
    transition: color var(--lm-t), background var(--lm-t);
}

.lm-logo-cell:hover {
    color: var(--lm-ink);
    background: var(--lm-paper);
}

/* ============================================================
   17. FORMS
   ============================================================ */

.lm-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--lm-ink-60);
    margin-bottom: 7px;
}

.lm-form input[type="text"],
.lm-form input[type="email"],
.lm-form input[type="tel"],
.lm-form input[type="url"],
.lm-form input[type="search"],
.lm-form select,
.lm-form textarea {
    width: 100%;
    padding: 13px 15px;
    background: var(--lm-white);
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius);
    font-size: 15px;
    transition: border-color var(--lm-t), box-shadow var(--lm-t);
}

.lm-form input:focus,
.lm-form select:focus,
.lm-form textarea:focus {
    outline: none;
    border-color: var(--lm-amber);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.18);
}

.lm-form textarea {
    resize: vertical;
    min-height: 150px;
}

.lm-form p {
    margin-bottom: 18px;
}

.lm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.lm-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--lm-ink-60);
    line-height: 1.5;
}

.lm-check input {
    margin-top: 3px;
    accent-color: var(--lm-amber);
}

/* Search form. */
.lm-searchform {
    display: flex;
    gap: 10px;
}

.lm-searchform input[type="search"] {
    flex: 1;
    padding: 15px 18px;
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius);
    font-size: 16px;
}

.lm-searchform input[type="search"]:focus {
    outline: none;
    border-color: var(--lm-amber);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.18);
}

.lm-searchform button {
    padding: 0 26px;
    border-radius: var(--lm-radius);
    background: var(--lm-ink);
    color: var(--lm-white);
    font-family: var(--lm-font-display);
    font-weight: 700;
    transition: background var(--lm-t);
}

.lm-searchform button:hover {
    background: var(--lm-amber);
    color: var(--lm-ink);
}

.lm-search-overlay .lm-searchform input[type="search"] {
    font-size: clamp(20px, 2.4vw, 32px);
    font-family: var(--lm-font-display);
    font-weight: 700;
    padding: 20px 0;
    border: 0;
    border-bottom: 2px solid var(--lm-rule);
    border-radius: 0;
}

.lm-search-overlay .lm-searchform input[type="search"]:focus {
    box-shadow: none;
    border-bottom-color: var(--lm-amber);
}

/* Newsletter block in the footer. */
.lm-newsletter {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 34px 0;
    border-bottom: 1px solid var(--lm-rule-dark);
}

.lm-newsletter form {
    display: flex;
    gap: 10px;
    min-width: min(460px, 100%);
}

.lm-newsletter input[type="email"] {
    flex: 1;
    padding: 14px 16px;
    background: var(--lm-dark-2);
    border: 1px solid var(--lm-rule-dark);
    border-radius: var(--lm-radius);
    color: var(--lm-white);
    font-size: 15px;
}

.lm-newsletter input::placeholder {
    color: var(--lm-on-dark-45);
}

.lm-newsletter input:focus {
    outline: none;
    border-color: var(--lm-amber);
}

/* ============================================================
   18. PAGINATION
   ============================================================ */

.lm-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 48px;
    justify-content: center;
}

.lm-pagination .page-numbers {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius);
    font-family: var(--lm-font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--lm-ink-60);
    transition: all var(--lm-t);
}

.lm-pagination a.page-numbers:hover {
    border-color: var(--lm-ink);
    color: var(--lm-ink);
}

.lm-pagination .page-numbers.current {
    background: var(--lm-ink);
    border-color: var(--lm-ink);
    color: var(--lm-white);
}

/* ============================================================
   19. CTA BANDS
   ============================================================ */

.lm-cta {
    position: relative;
    background: var(--lm-dark);
    color: var(--lm-on-dark-70);
    padding: clamp(48px, 6vw, 92px) 0;
    overflow: hidden;
}

.lm-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(880px 480px at 88% 8%, rgba(255, 138, 0, 0.26), transparent 62%);
    pointer-events: none;
}

.lm-cta .lm-container {
    position: relative;
    z-index: 1;
}

.lm-cta-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.lm-cta h2 {
    color: var(--lm-white);
    max-width: 18ch;
}

/* Amber band — the lighter alternative to the dark CTA. */
.lm-cta-amber {
    background: var(--lm-amber);
    color: var(--lm-ink);
}

.lm-cta-amber::before {
    background: radial-gradient(680px 420px at 12% 110%, rgba(255, 255, 255, 0.42), transparent 60%);
}

.lm-cta-amber h2,
.lm-cta-amber .lm-lead {
    color: var(--lm-ink);
}

/* ============================================================
   20. FOOTER
   ============================================================ */

.lm-site-footer {
    background: var(--lm-dark);
    color: var(--lm-on-dark-70);
    font-size: 14.5px;
}

.lm-footer-top {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr);
    gap: 40px;
    padding: clamp(44px, 5vw, 76px) 0 clamp(36px, 4vw, 56px);
}

.lm-footer-brand .lm-brand {
    color: var(--lm-white);
    margin-bottom: 16px;
}

.lm-footer-brand p {
    color: var(--lm-on-dark-45);
    font-size: 14px;
    max-width: 34ch;
}

.lm-footer-col h4 {
    color: var(--lm-white);
    font-size: 13px;
    letter-spacing: var(--lm-track-label);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.lm-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.lm-footer-col a {
    color: var(--lm-on-dark-70);
    transition: color var(--lm-t);
}

.lm-footer-col a:hover {
    color: var(--lm-amber);
}

.lm-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.lm-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lm-rule-dark);
    border-radius: var(--lm-radius);
    color: var(--lm-on-dark-70);
    font-family: var(--lm-font-display);
    font-size: 12px;
    font-weight: 800;
    transition: all var(--lm-t);
}

.lm-social a:hover {
    background: var(--lm-amber);
    border-color: var(--lm-amber);
    color: var(--lm-ink);
}

.lm-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 32px;
    padding: 22px 0 30px;
    border-top: 1px solid var(--lm-rule-dark);
    font-size: 13px;
    color: var(--lm-on-dark-45);
}

.lm-footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    list-style: none;
}

.lm-footer-bottom a:hover {
    color: var(--lm-amber);
}

/* ============================================================
   21. 404 + EMPTY STATES
   ============================================================ */

.lm-404 {
    text-align: center;
    padding: clamp(60px, 9vw, 140px) 0;
}

.lm-404-code {
    font-family: var(--lm-font-display);
    font-size: clamp(90px, 18vw, 220px);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--lm-paper-2);
}

.lm-404 .lm-searchform,
.lm-404 .lm-btn-row {
    justify-content: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.lm-empty {
    padding: 56px 32px;
    border: 1px dashed var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    background: var(--lm-paper);
    text-align: center;
    color: var(--lm-ink-60);
}

/* ============================================================
   22. ELEMENTOR BRIDGE
   ------------------------------------------------------------
   Applied through each widget's "CSS Classes" field, so a page
   built in the editor inherits the same type and card treatment
   as one rendered by a PHP template.
   ============================================================ */

.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor {
    font-family: inherit;
}

.lm-el-eyebrow .elementor-heading-title {
    font-family: var(--lm-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: var(--lm-track-label);
    text-transform: uppercase;
    color: var(--lm-amber);
}

.lm-el-hero-title .elementor-heading-title {
    font-size: clamp(36px, 5.4vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.025em;
    color: var(--lm-white);
}

.lm-el-title .elementor-heading-title {
    font-size: clamp(26px, 3.1vw, 42px);
    letter-spacing: var(--lm-track-tight);
}

.lm-el-card > .elementor-widget-wrap {
    background: var(--lm-white);
    border: 1px solid var(--lm-rule);
    border-radius: var(--lm-radius-lg);
    padding: 30px 28px 32px;
    height: 100%;
    align-content: flex-start;
    transition: border-color var(--lm-t), box-shadow var(--lm-t);
}

.lm-el-card > .elementor-widget-wrap:hover {
    border-color: var(--lm-ink-30);
    box-shadow: var(--lm-shadow);
}

.lm-el-card .elementor-widget-heading:first-child .elementor-heading-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: var(--lm-track-label);
    color: var(--lm-amber);
}

.lm-el-stat .elementor-heading-title {
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Static fallback sections written by the importer when Elementor
   is not installed: keep the same vertical rhythm. */
.lm-fallback-section {
    padding: clamp(52px, 6.5vw, 104px) 0;
}

/* Builder canvas page template. */
.lm-builder-canvas {
    width: 100%;
}

/* ============================================================
   23. RESPONSIVE
   ============================================================ */

@media (max-width: 1180px) {
    .lm-catalogue     { grid-template-columns: 1fr; }
    .lm-rail          { position: static; display: none; }
    .lm-rail.is-open  { display: block; margin-bottom: 28px; }
    .lm-rail-toggle   { display: inline-flex; }
    .lm-logos         { grid-template-columns: repeat(3, 1fr); }
    .lm-footer-top    { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 1024px) {
    :root {
        --lm-gutter: 24px;
    }

    .lm-primary-nav,
    .lm-utilbar {
        display: none;
    }

    .lm-burger {
        display: inline-flex;
    }

    .lm-header-inner {
        justify-content: space-between;
    }

    .lm-cols-4,
    .lm-cols-5,
    .lm-product-grid,
    .lm-news-grid,
    .lm-stats,
    .lm-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .lm-hero-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .lm-hero-strip > div:nth-child(2) {
        border-right: 0;
    }

    .lm-hero-strip > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--lm-rule-dark);
    }

    .lm-pdp,
    .lm-project,
    .lm-news-feature,
    .lm-cta-inner,
    .lm-split-40 {
        grid-template-columns: 1fr;
    }

    .lm-pdp-gallery {
        position: static;
    }

    .lm-newsletter {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .lm-cols-2,
    .lm-cols-3,
    .lm-split {
        grid-template-columns: 1fr;
    }

    .lm-section-head-row {
        align-items: flex-start;
    }

    .lm-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .lm-footer-brand {
        grid-column: 1 / -1;
    }

    .lm-project-facts {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lm-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .lm-cols-4,
    .lm-cols-5,
    .lm-product-grid,
    .lm-news-grid,
    .lm-stats,
    .lm-steps,
    .lm-hero-strip,
    .lm-logos,
    .lm-footer-top {
        grid-template-columns: 1fr;
    }

    .lm-hero-strip > div,
    .lm-stats > div {
        border-right: 0;
    }

    .lm-hero-strip > div {
        border-bottom: 1px solid var(--lm-rule-dark);
    }

    .lm-pdp-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .lm-newsletter form {
        flex-direction: column;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   24. PRINT
   ============================================================ */

@media print {
    .lm-utilbar,
    .lm-site-header,
    .lm-site-footer,
    .lm-cta,
    .lm-drawer,
    .lm-scrim,
    .lm-search-overlay,
    .lm-rail,
    .lm-pagination {
        display: none !important;
    }

    body {
        color: #000;
        font-size: 11pt;
    }

    .lm-hero,
    .lm-dark,
    .lm-page-hero {
        background: none !important;
        color: #000 !important;
    }

    .lm-hero-title,
    .lm-dark h1,
    .lm-dark h2,
    .lm-dark h3 {
        color: #000 !important;
    }

    .lm-spec-table {
        page-break-inside: avoid;
    }
}
