/* ==========================================================================
   MEGA LABEL - Industrial CSS Framework (Vanilla)
   ========================================================================== */

/* 1. Base / Reset */
:root {
    /* Colors */
    --mega-red: #DA291C;
    --mega-red-dark: #b81e13;
    --mega-dark: #1A1A1A;
    --mega-charcoal: #2B2B2B;
    --mega-gray-dark: #4A4A4A;
    --mega-gray: #E5E7EB;
    --mega-light: #F9FAFB;
    --mega-white: #FFFFFF;
    --safety-yellow: #FFC72C;
    --safety-yellow-ink: #7A5200;
    --cryo-blue: #1E3A8A;
    --cryo-blue-light: #E8EDFB;

    /* Typography */
    --font-heading: 'Archivo', sans-serif;
    --font-body: 'Inter', 'Source Sans 3', sans-serif;
    --font-mono: 'IBM Plex Mono', 'SF Mono', ui-monospace, monospace;

    /* Spacing & Layout */
    --container-width: 1280px;
    --section-padding: clamp(3rem, 6vw, 6rem);
    --border-radius: 4px;
    --transition: all 0.3s ease;
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-industrial: cubic-bezier(0.22, 1, 0.36, 1);
    --motion-duration: 760ms;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--mega-dark);
    line-height: 1.6;
    background-color: var(--mega-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--mega-red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--mega-red-dark);
}

ul {
    list-style: none;
}

/* 2. Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.08;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--mega-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
h4 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }

/* Technical/data values render in monospace to echo printed spec labels */
.font-mono,
.dash-unit,
.tech-badge,
.industry-pill,
.section-kicker {
    font-family: var(--font-mono);
}

p {
    margin-bottom: 1.5rem;
    color: var(--mega-gray-dark);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--mega-charcoal);
}

.text-red { color: var(--mega-red); }
.text-white { color: var(--mega-white); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-small { font-size: 0.875rem; }
.font-bold { font-weight: 600; }

/* 3. Layout */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.max-w-800 { max-width: 800px; }

.section {
    padding: var(--section-padding) 0;
}

.bg-light { background-color: var(--mega-light); }
.bg-dark { background-color: var(--mega-dark); }
.bg-dark h2, .bg-dark h3, .bg-dark p { color: var(--mega-white); }
.border-top { border-top: 1px solid var(--mega-gray); }
.border-bottom { border-bottom: 1px solid var(--mega-gray); }

.grid {
    display: grid;
    gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.overflow-x-auto { overflow-x: auto; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.p-2 { padding: 2rem; }

/* 4. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-110%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.btn:hover::before {
    transform: translateX(110%);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn span[aria-hidden="true"],
.link-text {
    transition: transform 0.3s var(--ease-premium);
}

.btn:hover span[aria-hidden="true"],
.product-card:hover .link-text,
.product-detail-card:hover .link-text {
    transform: translateX(4px);
}

.btn:focus-visible,
.filter-btn:focus-visible,
.accordion-header:focus-visible,
.mobile-menu-toggle:focus-visible {
    outline: 3px solid rgba(218,41,28,0.35);
    outline-offset: 3px;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--mega-red);
    color: var(--mega-white);
}
.btn-primary:hover {
    background-color: var(--mega-red-dark);
    color: var(--mega-white);
    box-shadow: 0 12px 28px rgba(218, 41, 28, 0.34), 0 0 0 1px rgba(218, 41, 28, 0.18);
}

.btn-secondary {
    background-color: var(--mega-charcoal);
    color: var(--mega-white);
}
.btn-secondary:hover {
    background-color: var(--mega-dark);
    color: var(--mega-white);
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.btn-outline {
    border-color: var(--mega-dark);
    color: var(--mega-dark);
    background: transparent;
}
.btn-outline:hover {
    background-color: var(--mega-dark);
    color: var(--mega-white);
    box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

.btn-outline-white {
    border-color: var(--mega-white);
    color: var(--mega-white);
    background: transparent;
}
.btn-outline-white:hover {
    background-color: var(--mega-white);
    color: var(--mega-dark);
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.btn-large { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-small { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-full { width: 100%; }

/* 5. Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mega-gray);
    z-index: 1000;
    isolation: isolate;
    transition:
        background-color 0.35s ease,
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease,
        backdrop-filter 0.35s ease;
}
.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, var(--mega-red), rgba(218,41,28,0.05) 55%, var(--mega-red));
    opacity: 0.7;
    pointer-events: none;
}
.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}
.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}

/* Utility bar: technical facts + direct contact, collapses away on scroll */
.header-utility {
    max-height: 40px;
    overflow: hidden;
    background: var(--mega-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    opacity: 1;
    transition:
        max-height 0.4s var(--ease-industrial),
        opacity 0.3s ease,
        border-color 0.3s ease;
}
.header-utility__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 40px;
}
.header-utility__facts,
.header-utility__contact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
}
.header-utility__facts {
    color: rgba(255,255,255,0.68);
    text-transform: uppercase;
}
.header-utility__facts strong {
    color: var(--mega-white);
    font-weight: 700;
}
.header-utility__glyph {
    color: var(--mega-red);
    font-size: 0.6em;
}
.header-utility__contact a {
    color: rgba(255,255,255,0.82);
}
.header-utility__contact a:hover {
    color: var(--mega-white);
}
.header-utility__contact .divider {
    color: rgba(255,255,255,0.24);
}

.site-header.scrolled .header-utility,
.site-header.is-scrolled .header-utility {
    max-height: 0;
    opacity: 0;
    border-bottom-color: transparent;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100px;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .header-container,
.site-header.is-scrolled .header-container {
    height: 84px;
}

.header-container .logo {
    justify-self: start;
}

.header-container .nav-wrapper {
    justify-self: center;
}

.header-container .mobile-menu-toggle {
    justify-self: end;
}
.logo {
    display: flex;
    align-items: center;
    height: 76px;
    overflow: visible;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

.site-header.scrolled .logo,
.site-header.is-scrolled .logo {
    transform: scale(0.94);
}

.footer-brand .logo {
    height: auto;
}

/* Text logo: MEGA in brand red + Precision Printing Co. subtitle */
.text-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.text-logo__mega {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 1.9rem;
    letter-spacing: -0.01em;
    color: #ED1C24;
}

.text-logo__sub {
    margin-top: 0.2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.66rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--mega-gray-dark);
    white-space: nowrap;
}

.footer-brand .text-logo__mega {
    font-size: 2.2rem;
}

.footer-brand .text-logo__sub {
    color: rgba(255,255,255,0.6);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}
.main-nav {
    display: flex;
    align-items: center;
}
.nav-list {
    display: flex;
    gap: 1.75rem;
}
.nav-list a {
    color: var(--mega-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    position: relative;
}
.nav-list a:hover, .nav-list a.active {
    color: var(--mega-red);
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--mega-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    transform: scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}
.hamburger, .hamburger::before, .hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--mega-dark);
    position: absolute;
    transition: var(--transition);
}
.hamburger { top: 50%; transform: translateY(-50%); }
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger { background-color: transparent; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .hamburger::after { bottom: 0; transform: rotate(-45deg); }

/* 6. Hero Sections */
main {
    padding-top: 140px; /* offset header: utility bar + nav row */
    transition: padding-top 0.4s var(--ease-industrial);
    overflow-x: clip;
}

.site-header.scrolled + main,
.site-header.is-scrolled + main {
    padding-top: 84px;
}

@media (max-width: 768px) {
    main {
        padding-top: 100px; /* utility bar hidden on mobile */
    }
}
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-inner {
    isolation: isolate;
}

.hero-dark {
    min-height: 640px;
    padding: 4.75rem 0 2.75rem;
}

.hero-dark h1, .hero-dark p, .hero-dark li {
    color: var(--mega-white);
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-inner .hero-bg img {
    --page-hero-scale: 1.04;
    --parallax-y: 0px;
    transform: scale(var(--page-hero-scale)) translateY(var(--parallax-y));
    transition: transform 1200ms var(--ease-industrial);
    will-change: transform;
}

.hero-inner.is-visible .hero-bg img {
    --page-hero-scale: 1.01;
}
.hero-img-home { object-position: center center; }
.hero-img-products { object-position: center center; }
.hero-img-industries { object-position: center center; }
.hero-img-about { object-position: center center; }
.hero-img-contact { object-position: center center; }
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.7) 100%);
}
.hero-content {
    max-width: 800px;
}

.hero-dark .hero-overlay {
    background: linear-gradient(90deg, rgba(8,8,8,0.96) 0%, rgba(12,12,12,0.86) 38%, rgba(17,17,17,0.56) 72%, rgba(17,17,17,0.38) 100%);
}

.hero-dark .hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero-dark h1 {
    max-width: 680px;
    margin-bottom: 1.65rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.42);
}

.hero-dark .hero-sub {
    max-width: 620px;
    margin-bottom: 0;
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    line-height: 1.5;
    text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.hero-inner .hero-overlay {
    background: linear-gradient(135deg, rgba(10,10,10,0.92), rgba(10,10,10,0.76), rgba(218,41,28,0.18));
}

.hero-inner::after {
    content: '';
    position: absolute;
    inset: auto 0 0 auto;
    width: min(44vw, 520px);
    height: min(44vw, 520px);
    background: radial-gradient(circle, rgba(218,41,28,0.24), rgba(218,41,28,0) 64%);
    opacity: 0;
    transform: translate3d(18px, 18px, 0) scale(0.96);
    transition:
        opacity 1000ms ease,
        transform 1200ms var(--ease-industrial);
    pointer-events: none;
    z-index: 0;
}

.hero-inner.is-visible::after {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}
.hero-inner .hero-content {
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-inner h1,
.hero-inner .hero-sub,
.hero-inner p {
    color: var(--mega-white);
}

.hero-inner .hero-sub {
    color: rgba(255,255,255,0.88);
}

.hero-inner p {
    color: rgba(255,255,255,0.86);
}

.hero-inner h1 {
    text-shadow: 0 4px 18px rgba(0,0,0,0.45);
}

.hero-inner .hero-sub {
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-proof-points {
    margin: 2rem 0;
    padding-left: 1.5rem;
}
.hero-proof-points li {
    margin-bottom: 0.5rem;
    position: relative;
}
.hero-proof-points li::before {
    content: '→';
    color: var(--mega-red);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-dark .hero-actions {
    margin-top: 2.35rem;
}

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

/* Scroll Expansion Hero */
.scroll-hero {
    --hero-progress: 1;
    --hero-scale: 1;
    --hero-radius: 10px;
    --hero-overlay: 0.74;
    --hero-content-y: -8px;
    --hero-proof-opacity: 1;
    --hero-proof-y: 0px;
    position: relative;
    height: clamp(800px, 112vh, 940px);
    background: #0b0b0b;
    overflow: hidden;
    overflow: clip;
    isolation: isolate;
}

.scroll-hero.is-enhanced {
    --hero-progress: 0;
    --hero-scale: 0.92;
    --hero-radius: 32px;
    --hero-overlay: 0.88;
    --hero-content-y: 0px;
    --hero-proof-opacity: 0;
    --hero-proof-y: 24px;
}

.scroll-hero__stage {
    position: sticky;
    top: 84px;
    display: flex;
    align-items: stretch;
    height: clamp(680px, calc(100vh - 84px), 820px);
    min-height: 680px;
    overflow: hidden;
    background: #0b0b0b;
    isolation: isolate;
}

.scroll-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: var(--hero-radius);
    transform: scale(var(--hero-scale));
    transform-origin: center center;
    box-shadow: 0 28px 90px rgba(0,0,0,0.42);
    will-change: transform, border-radius;
}

.scroll-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.03);
}

.scroll-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,5,5,1) 0%, rgba(8,8,8,0.94) 36%, rgba(9,9,9,0.58) 68%, rgba(9,9,9,0.24) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.36));
    opacity: var(--hero-overlay);
    will-change: opacity;
}

.scroll-hero__layout {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding-top: clamp(2.25rem, 5vh, 4.5rem);
    padding-bottom: clamp(2rem, 4vh, 3.25rem);
}

.scroll-hero__content {
    max-width: 760px;
    transform: translateY(var(--hero-content-y));
    will-change: transform;
}

.scroll-hero__headline {
    max-width: 780px;
    margin-bottom: 1.45rem;
    color: var(--mega-white);
    font-size: 4.75rem;
    line-height: 0.96;
    letter-spacing: 0;
    text-shadow: 0 6px 26px rgba(0,0,0,0.52);
}

.scroll-hero__highlight {
    color: var(--mega-red);
    text-shadow: 0 6px 24px rgba(0,0,0,0.58);
}

.scroll-hero__copy {
    max-width: 660px;
    margin-bottom: 0;
    color: rgba(255,255,255,0.9);
    font-size: 1.18rem;
    line-height: 1.55;
    text-shadow: 0 3px 16px rgba(0,0,0,0.5);
}

.scroll-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.scroll-hero__actions .btn-secondary {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.32);
    color: var(--mega-white);
    backdrop-filter: blur(10px);
}

.scroll-hero__actions .btn-secondary:hover {
    background: var(--mega-white);
    border-color: var(--mega-white);
    color: var(--mega-dark);
}

.scroll-hero__proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: clamp(2.35rem, 5vh, 3.25rem);
    opacity: var(--hero-proof-opacity);
    transform: translateY(var(--hero-proof-y));
    will-change: opacity, transform;
}

.scroll-hero__proof-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 118px;
    padding: 1.1rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.075));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 16px 36px rgba(0,0,0,0.16);
    backdrop-filter: blur(10px);
    transition:
        translate 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease,
        background-color 0.35s ease;
}

.scroll-hero__proof-card:hover {
    translate: 0 -4px;
    border-color: rgba(218,41,28,0.62);
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.09));
}

.scroll-hero__proof-card--cold {
    border-top: 2px solid rgba(96,141,255,0.55);
}

.scroll-hero__proof-card--heat {
    border-top: 2px solid rgba(218,41,28,0.55);
}

.scroll-hero__proof-card--cold:hover {
    border-color: rgba(96,141,255,0.68);
}

.scroll-hero__proof-value {
    display: block;
    min-height: 42px;
    color: var(--mega-white);
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.scroll-hero__proof-value--surface {
    max-width: 100%;
    font-size: 1.22rem;
    line-height: 1.15;
}

.scroll-hero__proof-label {
    display: block;
    margin-top: 0.9rem;
    color: rgba(255,255,255,0.72);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.scroll-hero__industry-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.95rem;
    margin-top: 1.2rem;
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.scroll-hero__industry-strip .divider {
    color: var(--mega-red);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-hero,
    .scroll-hero.is-enhanced {
        --hero-progress: 1 !important;
        --hero-scale: 1 !important;
        --hero-radius: 0px !important;
        --hero-overlay: 0.78 !important;
        --hero-content-y: 0px !important;
        --hero-proof-opacity: 1 !important;
        --hero-proof-y: 0px !important;
        height: auto;
    }

    .scroll-hero__stage {
        position: relative;
        top: auto;
        height: auto;
        min-height: 700px;
    }

    .scroll-hero__media,
    .scroll-hero__overlay,
    .scroll-hero__content,
    .scroll-hero__proof {
        transition: none !important;
        transform: none !important;
    }

    .scroll-hero__proof {
        opacity: 1 !important;
    }
}

@media (max-width: 1100px) {
    .scroll-hero__headline {
        font-size: 4rem;
    }

    .scroll-hero__proof {
        gap: 0.8rem;
    }

    .scroll-hero__proof-card {
        padding: 1rem;
    }

    .scroll-hero__proof-value {
        font-size: 1.72rem;
    }

    .scroll-hero__proof-value--surface {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .scroll-hero,
    .scroll-hero.is-enhanced {
        --hero-scale: 1 !important;
        --hero-radius: 0px !important;
        --hero-overlay: 0.82 !important;
        --hero-content-y: 0px !important;
        --hero-proof-opacity: 1 !important;
        --hero-proof-y: 0px !important;
        height: auto;
    }

    .scroll-hero__stage {
        position: relative;
        top: auto;
        height: auto;
        min-height: auto;
        padding: 3.75rem 0 2rem;
    }

    .scroll-hero__media {
        border-radius: 0;
        transform: none;
    }

    .scroll-hero__image {
        object-position: 58% center;
    }

    .scroll-hero__layout {
        min-height: auto;
        padding-top: 0;
        padding-bottom: 0;
    }

    .scroll-hero__content {
        transform: none;
    }

    .scroll-hero__headline {
        max-width: 100%;
        font-size: 2.8rem;
        line-height: 1;
    }

    .scroll-hero__copy {
        font-size: 1.05rem;
    }

    .scroll-hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-top: 1.6rem;
    }

    .scroll-hero__actions .btn {
        width: 100%;
    }

    .scroll-hero__proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin-top: 2rem;
        opacity: 1;
        transform: none;
    }

    .scroll-hero__proof-card {
        min-height: 108px;
        padding: 0.85rem;
    }

    .scroll-hero__proof-value {
        min-height: 34px;
        font-size: 1.45rem;
    }

    .scroll-hero__proof-value--surface {
        font-size: 0.92rem;
        line-height: 1.18;
    }

    .scroll-hero__proof-label {
        margin-top: 0.65rem;
        font-size: 0.68rem;
    }

    .scroll-hero__industry-strip {
        justify-content: flex-start;
        gap: 0.45rem 0.75rem;
        margin-top: 1rem;
        font-size: 0.72rem;
    }

    .scroll-hero__industry-strip .divider {
        display: none;
    }
}

@media (max-width: 420px) {
    .scroll-hero__headline {
        font-size: 2.45rem;
    }

    .scroll-hero__proof-card {
        min-height: 104px;
    }

    .scroll-hero__proof-value {
        font-size: 1.28rem;
    }

    .scroll-hero__proof-value--surface {
        font-size: 0.84rem;
    }
}

/* 7. Components */

/* Cards */
.card,
.product-card,
.product-detail-card,
.industry-card,
.mission-card,
.pet-feature-box,
.surface-tag {
    transition:
    translate 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease,
        background-color 0.35s ease;
}

.card {
    background: var(--mega-white);
    border: 1px solid var(--mega-gray);
    border-top: 4px solid var(--mega-charcoal);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}
.card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(218,41,28,0), rgba(218,41,28,0.85), rgba(218,41,28,0));
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity 0.35s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
    translate: 0 -4px;
    box-shadow: 0 18px 34px rgba(0,0,0,0.09);
    border-top-color: var(--mega-red);
}
.card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Problem / failure-mode cards */
.problem-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.problem-cards .card {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem 1.9rem;
    border-top: 1px solid var(--mega-gray);
}
.problem-cards .card .icon-badge {
    width: 52px;
    height: 52px;
    margin-bottom: 1.35rem;
}
.problem-cards .card .icon-badge svg {
    width: 26px;
    height: 26px;
}
.problem-cards .card h3 {
    margin-bottom: 0.65rem;
    color: var(--mega-dark);
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}
.problem-cards .card p {
    margin-bottom: 0;
    color: var(--mega-gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}
.problem-cards .card:hover h3 {
    color: var(--mega-red-dark);
}

@media (max-width: 900px) {
    .problem-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .problem-cards {
        grid-template-columns: 1fr;
    }
}

/* Mission-critical and PET callouts */
.mission-industries-section {
    background: #111111;
    color: var(--mega-white);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mission-industries-section h2,
.mission-industries-section h3,
.mission-industries-section p {
    color: var(--mega-white);
}

.mission-industries-section .section-header {
    max-width: 920px;
    margin: 0 auto 3rem;
}

.mission-industries-section .section-header p,
.mission-card p {
    color: rgba(255,255,255,0.78);
}

.mission-card-grid {
    margin-top: 2rem;
    overflow-x: clip;
}

.mission-card {
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.16);
    border-left: 4px solid var(--mega-red);
    border-radius: var(--border-radius);
    padding: clamp(1.5rem, 3vw, 2rem);
    min-height: 100%;
}

.mission-card:hover {
    translate: 0 -4px;
    background: rgba(255,255,255,0.08);
    border-color: rgba(218,41,28,0.7);
    box-shadow: 0 22px 46px rgba(0,0,0,0.28);
}

.spec-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.5rem;
    padding: 0;
    list-style: none;
}

.industry-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255,255,255,0.14);
    border-left: 2px solid var(--mega-red);
    border-radius: 3px;
    background: rgba(255,255,255,0.035);
    color: rgba(255,255,255,0.85);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.005em;
    line-height: 1.3;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        translate 0.3s var(--ease-premium);
}

.industry-pill:hover {
    translate: 0 -2px;
    background: rgba(218,41,28,0.12);
    border-left-color: var(--mega-white);
}

.pet-callout .section-header {
    max-width: 980px;
    margin-bottom: 2.5rem;
}

.pet-callout .section-header h2 {
    position: relative;
    padding-bottom: 1.1rem;
}

.pet-callout .section-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(360px, 100%);
    height: 3px;
    background: linear-gradient(90deg, var(--mega-red), rgba(218,41,28,0));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 900ms var(--ease-industrial);
}

.pet-callout .section-header.visible h2::after,
.pet-callout .section-header.is-visible h2::after {
    transform: scaleX(1);
}

.pet-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.pet-feature-box {
    background: var(--mega-white);
    border: 1px solid var(--mega-gray);
    border-top: 4px solid var(--mega-red);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    min-height: 100%;
}

.pet-feature-box h3 {
    font-size: 1.25rem;
}

.pet-feature-box p {
    margin-bottom: 0;
}

.pet-feature-box:hover {
    translate: 0 -4px;
    box-shadow: 0 18px 34px rgba(0,0,0,0.09);
    border-color: rgba(218,41,28,0.55);
}

.section-image,
.comparison-visual,
.quality-visual,
.contact-support-image {
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 1px solid var(--mega-gray);
    background: var(--mega-white);
}

.section-image img,
.comparison-visual img,
.quality-visual img,
.contact-support-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.problem-visual {
    aspect-ratio: 3 / 2;
    margin: 2rem 0;
}

.comparison-visual {
    aspect-ratio: 3 / 2;
    margin: 1.5rem 0;
}

.quality-visual {
    aspect-ratio: 3 / 2;
    margin: 2rem 0;
    border-color: rgba(255,255,255,0.16);
}

.contact-support-image {
    aspect-ratio: 3 / 2;
    margin-top: 2rem;
}

/* Lists */
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--mega-red);
    font-weight: bold;
    font-size: 1.2rem;
}
.check-list.dark-mode li::before { color: var(--mega-red); }

.feature-list {
    display: grid;
    gap: 1rem;
}
.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.5;
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.5em;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: var(--mega-red);
    transform: rotate(45deg);
}

.notice-box {
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--mega-red);
    border-radius: var(--border-radius);
    background: rgba(218,41,28,0.06);
}
.bg-dark .notice-box {
    background: rgba(255,255,255,0.06);
}
.notice-box p {
    margin-bottom: 0;
}
.bg-dark .notice-box p {
    color: rgba(255,255,255,0.72);
}

.patent-frame {
    max-width: 380px;
    margin: 0 auto;
    padding: 1.25rem;
    background: var(--mega-white);
    border: 1px solid var(--mega-gray);
    border-radius: var(--border-radius);
}
.patent-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}
.patent-frame figcaption {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--mega-gray-dark);
}
@media (max-width: 480px) {
    .patent-frame {
        max-width: 280px;
        padding: 1rem;
    }
}

/* Patent Pop-up Modal */
.patent-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.patent-modal[hidden] {
    display: none;
}
.patent-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26,26,26,0.72);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.patent-modal__box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    row-gap: 1rem;
    background: var(--mega-white);
    border-radius: var(--border-radius);
    padding: 2rem 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,0.32);
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.patent-modal.is-open .patent-modal__backdrop {
    opacity: 1;
}
.patent-modal.is-open .patent-modal__box {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.patent-modal__scroll {
    overflow-y: auto;
    min-height: 0;
}
.patent-modal__box h3 {
    margin-top: 0.4rem;
}
.patent-modal__img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 30vh;
    height: auto;
    margin: 1.1rem auto;
    border-radius: 2px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}
.patent-modal__accept {
    margin: 0;
}
.patent-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--mega-white);
    color: var(--mega-gray-dark);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0,0,0,0.12);
    transition: background 0.2s ease, color 0.2s ease;
}
.patent-modal__close:hover {
    background: var(--mega-gray);
    color: var(--mega-dark);
}
.patent-modal__close svg {
    width: 1.1rem;
    height: 1.1rem;
}
@media (max-width: 480px) {
    .patent-modal {
        padding: 1rem;
    }
    .patent-modal__box {
        max-height: 92vh;
        padding: 1.75rem 1.25rem 1.25rem;
    }
    .patent-modal__img {
        max-height: 26vh;
    }
}
@media (prefers-reduced-motion: reduce) {
    .patent-modal__backdrop,
    .patent-modal__box {
        transition: none;
    }
}

body.modal-open {
    overflow: hidden;
}

/* Temperature Scale */
.temperature-scale {
    margin: 4rem 0;
    position: relative;
}
.temp-bar {
    height: 12px;
    background: linear-gradient(to right, #00B4D8, #90E0EF, #FDF0D5, #F77F00, #D62828);
    border-radius: 6px;
    margin-bottom: 2rem;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.temperature-scale.animate-temp .temp-bar {
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    .temp-bar {
        transform: none !important;
        transition: none !important;
    }
}
.temp-markers {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.temp-markers .marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.temp-markers .marker::before {
    content: '';
    position: absolute;
    top: -30px;
    width: 2px;
    height: 15px;
    background-color: var(--mega-white);
}
.marker .temp { font-weight: 600; font-family: var(--font-mono); font-size: 1.2rem; }
.marker .label { font-size: 0.8rem; color: #ccc; text-align: center; }

.surface-tags { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Surface capability chips: icon + label, not a rounded pill-tag cloud */
.surface-cards.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}
.surface-tag {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1.05rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.86);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-align: left;
    transition:
        translate 0.3s var(--ease-premium),
        border-color 0.3s ease,
        background-color 0.3s ease;
}
.surface-tag-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 7px;
    background: rgba(218,41,28,0.14);
    color: var(--mega-red);
}
.surface-tag-icon svg {
    width: 17px;
    height: 17px;
}
.surface-tag:hover {
    translate: 0 -3px;
    border-color: rgba(218,41,28,0.5);
    background: rgba(218,41,28,0.07);
}
.surface-tag:hover .surface-tag-icon {
    background: var(--mega-red);
    color: var(--mega-white);
}

@media (max-width: 900px) {
    .surface-cards.grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 480px) {
    .surface-cards.grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Product Cards (Preview & Detail) */
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--mega-white);
    border: 1px solid var(--mega-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    color: inherit;
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(218,41,28,0), rgba(218,41,28,0.9), rgba(218,41,28,0));
    opacity: 0;
    transform: scaleX(0.72);
    transition:
        opacity 0.35s ease,
        transform 0.45s var(--ease-premium);
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}
.product-card:hover {
    translate: 0 -4px;
    box-shadow: 0 18px 34px rgba(0,0,0,0.1);
    border-color: rgba(218,41,28,0.44);
}
.pc-image { height: 200px; overflow: hidden; }
.pc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1); }
.product-card:hover .pc-image img { transform: scale(1.04); }
.pc-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.pc-content p { flex: 1; font-size: 0.9rem; }
.link-text {
    color: var(--mega-red);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    display: inline-block;
    transition: transform 0.3s ease;
}

.product-detail-card {
    background: var(--mega-white);
    border: 1px solid var(--mega-gray);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-detail-card.featured-product-card {
    box-shadow: inset 0 0 0 1px rgba(218,41,28,0.16);
}

.product-detail-card.featured-product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(218,41,28,0.07), rgba(218,41,28,0) 38%);
    opacity: 0.82;
    pointer-events: none;
}

.product-detail-card.featured-product-card > * {
    position: relative;
    z-index: 1;
}
.pd-image {
    aspect-ratio: 16 / 8;
    overflow: hidden;
}
.pd-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.pd-header { display: none; }

.pd-body h3 {
    margin: 0 0 0.5rem;
    font-size: 1.08rem;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.pd-meta {
    margin-bottom: 0.85rem;
    color: var(--mega-red-dark);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.pd-meta .dot {
    margin: 0 0.4rem;
    color: rgba(218,41,28,0.4);
}

.pd-benefits {
    display: grid;
    gap: 0.4rem;
    margin: 0.9rem 0 1.1rem;
    padding: 0;
    list-style: none;
    font-size: 0.86rem;
    color: var(--mega-gray-dark);
}
.pd-benefits li {
    position: relative;
    padding-left: 1.1rem;
    line-height: 1.4;
}
.pd-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: var(--mega-red);
    transform: rotate(45deg);
}

.pd-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    color: var(--mega-red-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}
.pd-cta span[aria-hidden="true"] {
    transition: transform 0.3s var(--ease-premium);
}
.product-detail-card:hover .pd-cta span[aria-hidden="true"] {
    transform: translateX(4px);
}
.product-detail-card:hover .pd-image img {
    transform: scale(1.035);
}
.pd-body { padding: 1.35rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.pd-desc {
    margin-bottom: 0;
    color: var(--mega-gray-dark);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Product grid: compact cards read better across 3 narrower columns than 2 tall ones */
#product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    #product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 620px) {
    #product-grid {
        grid-template-columns: 1fr;
    }
}

.product-detail-card:hover {
    translate: 0 -4px;
    box-shadow: 0 18px 34px rgba(0,0,0,0.11), 0 0 0 1px rgba(218,41,28,0.14);
    border-color: rgba(218,41,28,0.3);
}

.product-detail-card.is-hiding {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
    transition-duration: 0.28s;
    transition-delay: 0ms !important;
}

.product-detail-card.is-showing {
    opacity: 0;
    animation: productCardIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition-delay: 0ms !important;
}

@keyframes productCardIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Filters */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding: 1rem 0;
}
.filter-label { font-weight: 600; margin-right: 1rem; }
.filter-btn {
    background: transparent;
    border: 1px solid var(--mega-gray-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition:
        background-color 0.28s ease,
        border-color 0.28s ease,
        color 0.28s ease,
        box-shadow 0.35s var(--ease-premium);
}

.filter-btn::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--mega-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s var(--ease-premium);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--mega-charcoal);
    color: var(--mega-white);
    border-color: var(--mega-charcoal);
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.filter-btn:hover::after,
.filter-btn.active::after {
    transform: scaleX(1);
}

/* Legal page sticky sub-nav */
.legal-subnav {
    position: sticky;
    top: 84px;
    z-index: 500;
    background: var(--mega-white);
    border-bottom: 1px solid var(--mega-gray);
}
.legal-subnav__inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 0;
}

#privacy-policy,
#terms-of-trade {
    scroll-margin-top: 150px;
}

/* 404 page */
.error-hero {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}
.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--mega-red);
    color: var(--mega-white);
    font-weight: 600;
    font-family: var(--font-mono);
    border-radius: 50%;
    flex-shrink: 0;
}
.step h4 { margin-bottom: 0.25rem; }
.step p { margin-bottom: 0; font-size: 0.9rem; }

/* Comparison Table */
.comparison-table, .data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--mega-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.comparison-table th, .data-table th {
    background: var(--mega-charcoal);
    color: var(--mega-white);
    text-align: left;
    padding: 1rem;
    font-family: var(--font-heading);
}
.comparison-table td, .data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--mega-gray);
    font-size: 0.9375rem;
}
.comparison-table tr:last-child td, .data-table tr:last-child td { border-bottom: none; }
.comparison-table tbody tr,
.data-table tbody tr {
    transition:
        background-color 0.3s ease,
        opacity 650ms var(--ease-premium),
        transform 650ms var(--ease-premium);
}

.comparison-table.motion-rows tbody tr,
.data-table.motion-rows tbody tr {
    opacity: 0;
    transform: translateY(10px);
}

.comparison-table.motion-rows.rows-visible tbody tr,
.data-table.motion-rows.rows-visible tbody tr {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--row-index, 0) * 70ms);
}

.comparison-table tbody tr:hover,
.data-table tbody tr:hover {
    background-color: rgba(218,41,28,0.055);
}
.text-gray { color: #888; }

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

/* Product spec comparison table (refined, low-density) */
.spec-table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--mega-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(0,0,0,0.06);
}
.spec-table th {
    padding: 1.05rem 1.35rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
}
.spec-table td {
    padding: 1.25rem 1.35rem;
    vertical-align: middle;
    border-bottom: 1px solid #eceef1;
    font-size: 0.9rem;
    color: var(--mega-charcoal);
}
.spec-table tbody tr:last-child td {
    border-bottom: none;
}
.spec-table tbody tr:nth-child(even) {
    background: rgba(249,250,251,0.7);
}
.spec-table tbody tr:hover {
    background: rgba(218,41,28,0.045);
}
.spec-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    color: var(--mega-dark);
    line-height: 1.25;
}
.spec-surfaces {
    color: var(--mega-gray-dark);
    font-size: 0.86rem;
}
.spec-surfaces .dot {
    margin: 0 0.35rem;
    color: rgba(218,41,28,0.55);
}
.spec-workflow {
    color: #7c8085;
    font-size: 0.84rem;
}
.spec-request {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(218,41,28,0.28);
    border-radius: 999px;
    background: rgba(218,41,28,0.06);
    color: var(--mega-red-dark);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.3s var(--ease-premium);
}
.spec-request span[aria-hidden="true"] {
    transition: transform 0.3s var(--ease-premium);
}
.spec-request:hover {
    background: var(--mega-red);
    border-color: var(--mega-red);
    color: var(--mega-white);
    box-shadow: 0 10px 22px rgba(218,41,28,0.28);
}
.spec-request:hover span[aria-hidden="true"] {
    transform: translateX(3px);
}
.spec-request:focus-visible {
    outline: 3px solid rgba(218,41,28,0.35);
    outline-offset: 2px;
}

@media (max-width: 820px) {
    .spec-table {
        min-width: 720px;
    }
}

/* Industry Cards */
.industry-list {
    overflow-x: hidden;
}

.industry-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: var(--mega-white);
    border: 1px solid var(--mega-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.industry-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--mega-red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s var(--ease-premium);
    z-index: 1;
}

.industry-card:hover::before {
    transform: scaleY(1);
}
.industry-card:hover {
    translate: 0 -4px;
    box-shadow: 0 18px 34px rgba(0,0,0,0.1);
    border-color: rgba(218,41,28,0.65);
}
.industry-card .ic-image { overflow: hidden; }
.ic-image img { width: 100%; height: 100%; object-fit: cover; }
.industry-card .ic-image img {
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card:hover .ic-image img {
    transform: scale(1.04);
}
.ic-content { padding: 2rem; }
.ic-content h2 { margin-bottom: 1rem; font-size: 1.5rem; }

/* Accordion FAQ */
.accordion { margin-top: 2rem; border-top: 1px solid var(--mega-gray); }
.accordion-item { border-bottom: 1px solid var(--mega-gray); }
.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--mega-dark);
}
.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--mega-red);
    transition: transform 0.3s ease;
}
.accordion-header[aria-expanded="true"]::after { transform: rotate(45deg); }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-content p { padding-bottom: 1.5rem; margin: 0; }

/* CTA Band */
.cta-band {
    background: linear-gradient(135deg, var(--mega-red-dark), var(--mega-red) 58%, #96180f);
    color: var(--mega-white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: -35% -10%;
    background:
        radial-gradient(circle at 80% 24%, rgba(255,255,255,0.18), rgba(255,255,255,0) 28%),
        linear-gradient(90deg, rgba(255,255,255,0), rgba(0,0,0,0.14), rgba(255,255,255,0));
    opacity: 0;
    transform: translateX(-3%);
    transition:
        opacity 900ms ease,
        transform 1200ms var(--ease-industrial);
    z-index: -1;
}

.cta-band.visible::before,
.cta-band.is-visible::before {
    opacity: 1;
    transform: translateX(0);
}

.cta-band h2 { color: var(--mega-white); margin-bottom: 2rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Forms */
.technical-form {
    background: var(--mega-white);
    padding: 2.5rem;
    border: 1px solid var(--mega-gray);
    border-top: 4px solid var(--mega-red);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.technical-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.09);
}
.form-row { display: grid; gap: 1.5rem; }
.grid-2-col { grid-template-columns: 1fr 1fr; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--mega-charcoal);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mega-red);
    box-shadow: 0 0 0 4px rgba(218,41,28,0.12);
}
.checkbox-group label { display: flex; align-items: center; gap: 0.5rem; font-weight: normal; margin-bottom: 0.5rem; cursor: pointer; }
.checkbox-group input { width: auto; }
.success-banner {
    background: #E8F5E9;
    border: 1px solid #4CAF50;
    color: #2E7D32;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .success-banner {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
.hidden { display: none; }
.grid-split-contact { grid-template-columns: 1fr 1.5fr; gap: 4rem; }

/* Footer */
.site-footer {
    background: var(--mega-dark);
    color: var(--mega-white);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-pos { color: #aaa; margin-top: 1rem; font-size: 0.9rem; }
.footer-links h4, .footer-contact h4 { margin-bottom: 1rem; color: var(--mega-white); font-size: 1.125rem; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links a { color: #aaa; font-size: 0.9rem; }
.footer-links a,
.legal-links a {
    position: relative;
}

.footer-links a::after,
.legal-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: var(--mega-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-premium);
}

.footer-links a:hover,
.legal-links a:hover {
    color: var(--mega-white);
}

.footer-links a:hover::after,
.legal-links a:hover::after {
    transform: scaleX(1);
}
.footer-contact p { color: #aaa; font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #aaa;
}
.legal-links a { color: #aaa; margin-left: 1rem; }
.legal-links a:hover { color: var(--mega-white); }

/* Utilities */
.rounded { border-radius: var(--border-radius); }
.border { border: 1px solid var(--mega-gray); }
.relative { position: relative; }
.z-10 { z-index: 10; }

/* 8. Premium UI Layer */
.section-header {
    max-width: 900px;
    margin-bottom: 2.5rem;
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 1.1rem;
    background: rgba(218,41,28,0.08);
    color: var(--mega-red);
    transition: transform 0.35s var(--ease-premium), background-color 0.3s ease;
}

.icon-badge svg {
    width: 24px;
    height: 24px;
}

.card:hover .icon-badge {
    transform: translateY(-2px) scale(1.05);
    background: rgba(218,41,28,0.14);
}

.pill-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(218,41,28,0.24);
    border-radius: 999px;
    background: rgba(218,41,28,0.07);
    color: var(--mega-red-dark);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.text-center .pill-eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.bg-dark .pill-eyebrow {
    border-color: rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.accent-rule {
    width: min(420px, 100%);
    height: 3px;
    margin: 1.25rem 0 0;
    background: linear-gradient(90deg, var(--mega-red), rgba(218,41,28,0));
}

.text-center .accent-rule {
    margin-left: auto;
    margin-right: auto;
}

.premium-card,
.technical-card,
.application-card,
.proof-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26,26,26,0.12);
    border-radius: var(--border-radius);
    background: var(--mega-white);
    box-shadow: 0 12px 34px rgba(0,0,0,0.055);
    transition:
        translate 0.35s var(--ease-premium),
        box-shadow 0.35s var(--ease-premium),
        border-color 0.35s ease,
        background-color 0.35s ease;
}

.premium-card::before,
.technical-card::before,
.application-card::before,
.proof-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--mega-red), rgba(218,41,28,0));
    opacity: 0.78;
    pointer-events: none;
}

.premium-card:hover,
.technical-card:hover,
.application-card:hover,
.proof-card:hover {
    translate: 0 -4px;
    border-color: rgba(218,41,28,0.44);
    box-shadow: 0 18px 40px rgba(0,0,0,0.09);
}

.tech-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.35rem 0.62rem;
    border: 1px solid rgba(26,26,26,0.14);
    border-radius: 999px;
    background: rgba(26,26,26,0.035);
    color: var(--mega-charcoal);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tech-badge--red {
    border-color: rgba(218,41,28,0.28);
    background: rgba(218,41,28,0.08);
    color: var(--mega-red-dark);
}

.tech-badge--dark {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
}

.tech-badge--blue {
    border-color: rgba(30,58,138,0.28);
    background: rgba(30,58,138,0.08);
    color: var(--cryo-blue);
}

.tech-badge--amber {
    border-color: rgba(255,199,44,0.4);
    background: rgba(255,199,44,0.14);
    color: var(--safety-yellow-ink);
}

.dark-pattern-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.dark-pattern-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
        radial-gradient(circle at 78% 18%, rgba(218,41,28,0.16), transparent 34%);
    background-size: 56px 56px, 56px 56px, auto;
    opacity: 0.38;
    z-index: -1;
    pointer-events: none;
}

.failure-solution-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.failure-panel,
.solution-panel {
    padding: clamp(1.4rem, 3vw, 2rem);
}

.failure-panel {
    background: #171717;
    border-color: rgba(255,255,255,0.12);
}

.failure-panel h3,
.failure-panel li,
.failure-panel p {
    color: var(--mega-white);
}

.failure-panel p,
.solution-panel p {
    margin-bottom: 0;
}

.split-divider {
    display: grid;
    place-items: center;
    color: var(--mega-white);
    font-family: var(--font-heading);
    font-weight: 700;
}

.split-divider span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--mega-red);
    box-shadow: 0 16px 30px rgba(218,41,28,0.28);
}

.compact-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.compact-list li {
    position: relative;
    padding-left: 1.25rem;
}

.compact-list li::before {
    content: '';
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--mega-red);
}

.matrix-table {
    overflow: hidden;
    border: 1px solid var(--mega-gray);
    border-radius: var(--border-radius);
    background: var(--mega-white);
    box-shadow: 0 14px 34px rgba(0,0,0,0.055);
}

.matrix-row,
.matrix-head {
    display: grid;
    grid-template-columns: 1.05fr 1.1fr 1.35fr;
}

.matrix-head {
    background: var(--mega-charcoal);
    color: var(--mega-white);
    font-family: var(--font-heading);
    font-weight: 700;
}

.matrix-head span,
.matrix-row > div {
    padding: 1rem;
    border-right: 1px solid var(--mega-gray);
}

.matrix-head span:last-child,
.matrix-row > div:last-child {
    border-right: none;
}

.matrix-row {
    border-top: 1px solid var(--mega-gray);
    transition: background-color 0.3s ease;
}

.matrix-row:hover {
    background: rgba(218,41,28,0.045);
}

.matrix-row strong {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--font-heading);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.proof-card {
    min-height: 100%;
    padding: 1.35rem;
    background: rgba(255,255,255,0.075);
    border-color: rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 40px rgba(0,0,0,0.18);
}

.proof-card h3,
.proof-card p {
    color: var(--mega-white);
}

.proof-value {
    display: block;
    margin-bottom: 0.85rem;
    color: var(--mega-white);
    font-family: var(--font-mono);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 0.95;
}

.sample-journey {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.sample-journey::before {
    content: '';
    position: absolute;
    left: 16%;
    right: 16%;
    top: 42px;
    height: 2px;
    background: linear-gradient(90deg, rgba(218,41,28,0.2), var(--mega-red), rgba(218,41,28,0.2));
}

.sample-step {
    padding: 1.5rem;
    z-index: 1;
}

.sample-step-number {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--mega-red);
    color: var(--mega-white);
    font-family: var(--font-mono);
    font-weight: 600;
}

/* Floating Action Button */
.fab {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s var(--ease-premium);
}

.fab.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fab__menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.fab__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.1rem 0.6rem 0.6rem;
    background: var(--mega-dark);
    color: var(--mega-white);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.24);
    opacity: 0;
    transform: translateY(10px) scale(0.94);
    pointer-events: none;
    white-space: nowrap;
    transition:
        opacity 0.3s var(--ease-premium),
        transform 0.3s var(--ease-premium),
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.fab.is-open .fab__item {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.fab.is-open .fab__item:nth-child(1) { transition-delay: 0.1s; }
.fab.is-open .fab__item:nth-child(2) { transition-delay: 0.06s; }
.fab.is-open .fab__item:nth-child(3) { transition-delay: 0.02s; }

.fab__item:hover,
.fab__item:focus-visible {
    background: var(--mega-red);
    box-shadow: 0 16px 34px rgba(218,41,28,0.32);
}

.fab__item:hover .fab__item-arrow,
.fab__item:focus-visible .fab__item-arrow {
    transform: translateX(3px);
}

.fab__item-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

.fab__item-icon svg {
    width: 18px;
    height: 18px;
}

.fab__item-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.fab__item-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.fab__item-sub {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.62);
}

.fab__item-arrow {
    display: inline-block;
    margin-left: 0.15rem;
    transition: transform 0.3s var(--ease-premium);
}

.fab__toggle {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: var(--mega-red);
    color: var(--mega-white);
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(218,41,28,0.38);
    transition:
        transform 0.3s var(--ease-premium),
        box-shadow 0.3s ease,
        background-color 0.25s ease;
}

.fab__toggle:hover {
    background: var(--mega-red-dark);
    transform: scale(1.06);
    box-shadow: 0 18px 40px rgba(218,41,28,0.46);
}

.fab__toggle:focus-visible {
    outline: 3px solid rgba(218,41,28,0.35);
    outline-offset: 3px;
}

.fab__toggle-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.fab__toggle-icon span {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: var(--mega-white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-premium);
}

.fab__toggle-icon span:first-child { transform: translateY(-50%); }
.fab__toggle-icon span:last-child { transform: translateY(-50%) rotate(90deg); }

.fab.is-open .fab__toggle-icon span:first-child { transform: translateY(-50%) rotate(45deg); }
.fab.is-open .fab__toggle-icon span:last-child { transform: translateY(-50%) rotate(-45deg); }

@media (max-width: 480px) {
    .fab {
        right: 1rem;
        bottom: 1rem;
    }
}

.support-panel {
    padding: 1.5rem;
}

.form-helper {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-left: 3px solid var(--mega-red);
    background: rgba(218,41,28,0.055);
}

/* 9. Ticker Band */
.ticker-band {
    position: relative;
    overflow: hidden;
    background: var(--mega-dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ticker-band::before,
.ticker-band::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(40px, 8vw, 140px);
    z-index: 2;
    pointer-events: none;
}

.ticker-band::before {
    left: 0;
    background: linear-gradient(90deg, var(--mega-dark) 10%, rgba(26,26,26,0));
}

.ticker-band::after {
    right: 0;
    background: linear-gradient(270deg, var(--mega-dark) 10%, rgba(26,26,26,0));
}

.ticker-band__track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 42s linear infinite;
}

.ticker-band:hover .ticker-band__track {
    animation-play-state: paused;
}

.ticker-band__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-band__item {
    display: inline-flex;
    align-items: center;
    padding: 1.35rem 0;
    color: rgba(255,255,255,0.86);
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker-band__item strong {
    color: var(--mega-white);
}

.ticker-band__glyph {
    display: inline-block;
    margin: 0 clamp(1.25rem, 2.4vw, 2.25rem);
    color: var(--mega-red);
    font-size: 0.55em;
}

@keyframes ticker-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-band__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
    }

    .ticker-band__group:nth-child(2) {
        display: none;
    }
}

@media (max-width: 768px) {
    .ticker-band__item {
        font-size: 0.95rem;
        padding: 1.1rem 0;
    }
}

/* 10. Motion System */
.motion-section {
    position: relative;
}

.reveal,
.motion-fade-up,
.motion-fade-in,
.motion-scale-in,
.motion-slide-left,
.motion-slide-right,
.motion-media-reveal,
.motion-stagger-item {
    opacity: 0;
    visibility: hidden;
    transform: translateY(28px);
    filter: blur(4px);
    transition:
        opacity var(--motion-duration) var(--ease-premium),
        transform var(--motion-duration) var(--ease-industrial),
        filter var(--motion-duration) var(--ease-premium),
        clip-path 900ms var(--ease-industrial),
        translate 0.35s var(--ease-premium),
        box-shadow 0.35s var(--ease-premium),
        border-color 0.35s ease,
        background-color 0.35s ease,
        visibility var(--motion-duration);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter, clip-path;
}

.reveal.visible,
.motion-fade-up.is-visible,
.motion-fade-in.is-visible,
.motion-scale-in.is-visible,
.motion-slide-left.is-visible,
.motion-slide-right.is-visible,
.motion-media-reveal.is-visible,
.motion-stagger-item.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.reveal.reveal-complete,
.motion-fade-up.motion-complete,
.motion-fade-in.motion-complete,
.motion-scale-in.motion-complete,
.motion-slide-left.motion-complete,
.motion-slide-right.motion-complete,
.motion-media-reveal.motion-complete,
.motion-stagger-item.motion-complete {
    transition-delay: 0ms !important;
    will-change: auto;
}

.slide-up,
.motion-fade-up,
.motion-stagger-item {
    transform: translateY(28px);
}

.slide-left,
.motion-slide-left {
    transform: translateX(-32px);
}

.slide-right,
.motion-slide-right {
    transform: translateX(32px);
}

.scale-in,
.motion-scale-in {
    transform: scale(0.96);
}

.fade-in,
.motion-fade-in {
    transform: none;
    filter: none;
}

.motion-media-reveal {
    transform: scale(1.04);
    clip-path: inset(7% 7% 7% 7% round 10px);
    overflow: hidden;
}

.motion-media-reveal.is-visible {
    clip-path: inset(0 0 0 0 round var(--border-radius));
}

.section-image.reveal img,
.comparison-visual.reveal img,
.quality-visual.reveal img,
.contact-support-image.reveal img,
.image-wrapper.reveal img {
    transform: scale(1.04);
    transition: transform 1000ms var(--ease-industrial);
}

.section-image.reveal.visible img,
.comparison-visual.reveal.visible img,
.quality-visual.reveal.visible img,
.contact-support-image.reveal.visible img,
.image-wrapper.reveal.visible img {
    transform: scale(1);
}

.motion-stagger .motion-stagger-item {
    --reveal-delay: calc(var(--stagger-index, 0) * 90ms);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--mega-red);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: '';
    width: 28px;
    height: 2px;
    background: currentColor;
}

.delay-1 { --reveal-delay: 120ms; }
.delay-2 { --reveal-delay: 240ms; }
.delay-3 { --reveal-delay: 360ms; }
.delay-4 { --reveal-delay: 480ms; }

@media (max-width: 768px) {
    .reveal,
    .motion-fade-up,
    .motion-stagger-item {
        transform: translateY(24px);
        filter: none;
    }

    .slide-left,
    .slide-right,
    .motion-slide-left,
    .motion-slide-right {
        transform: translateY(24px);
    }

    .motion-media-reveal {
        clip-path: inset(0 0 0 0 round var(--border-radius));
    }
}

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

    .reveal,
    .slide-up,
    .slide-left,
    .slide-right,
    .scale-in,
    .fade-in,
    .motion-fade-up,
    .motion-fade-in,
    .motion-scale-in,
    .motion-slide-left,
    .motion-slide-right,
    .motion-media-reveal,
    .motion-stagger-item {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
        transition: none !important;
    }

    .hero-inner .hero-bg img,
    .section-image.reveal img,
    .comparison-visual.reveal img,
    .quality-visual.reveal img,
    .contact-support-image.reveal img,
    .image-wrapper.reveal img,
    .comparison-table.motion-rows tbody tr,
    .data-table.motion-rows tbody tr {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* 11. Responsive */
@media (max-width: 1024px) {
    .grid-split-contact { grid-template-columns: 1fr; gap: 2rem; }
    .industry-card { grid-template-columns: 1fr; }
    .ic-image { height: 250px; }
    .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .failure-solution-grid { grid-template-columns: 1fr; }
    .split-divider { transform: rotate(90deg); }
    .sample-journey { grid-template-columns: 1fr; }
    .sample-journey::before { display: none; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .header-utility { display: none; }
    .header-container { grid-template-columns: auto auto; justify-content: space-between; }
    .nav-wrapper {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background: var(--mega-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
            opacity 0.35s ease,
            visibility 0.35s;
        z-index: 999;
    }

    .site-header.scrolled .nav-wrapper,
    .site-header.is-scrolled .nav-wrapper {
        top: 84px;
    }

    .nav-wrapper.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-header .nav-wrapper.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .main-nav { width: 100%; }
    .nav-list { flex-direction: column; align-items: center; width: 100%; }
    .nav-list li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--mega-gray);
        padding: 1rem 0;
        opacity: 0;
        transform: translateY(-10px);
        transition:
            opacity 0.35s ease,
            transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-wrapper.open .nav-list li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-wrapper.open .nav-list li:nth-child(1) { transition-delay: 0.06s; }
    .nav-wrapper.open .nav-list li:nth-child(2) { transition-delay: 0.12s; }
    .nav-wrapper.open .nav-list li:nth-child(3) { transition-delay: 0.18s; }
    .nav-wrapper.open .nav-list li:nth-child(4) { transition-delay: 0.24s; }
    .nav-wrapper.open .nav-list li:nth-child(5) { transition-delay: 0.30s; }

    .header-cta {
        width: 100%;
        margin-top: 1rem;
        opacity: 0;
        transform: translateY(-10px);
        transition:
            opacity 0.35s ease,
            transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .header-cta .btn { width: 100%; }

    .nav-wrapper.open .header-cta {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.36s;
    }

    .hero { padding: 4rem 0; }
    .hero-inner .hero-bg img,
    .hero-inner.is-visible .hero-bg img {
        --page-hero-scale: 1;
        --parallax-y: 0px;
        transform: none;
    }

    .hero-inner::after {
        opacity: 0;
    }

    .hero-dark {
        min-height: auto;
        padding: 3.25rem 0 2.5rem;
    }
    .hero-dark h1 {
        margin-bottom: 1.35rem;
    }
    .hero-dark .hero-sub {
        font-size: 1.08rem;
    }
    .hero-dark .hero-actions {
        margin-top: 1.8rem;
    }
    .mini-dashboard {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 3rem;
        gap: 0.75rem;
    }
    .dash-card {
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding: 1rem 0.5rem;
    }
    .dash-card:nth-last-child(-n+2) { border-bottom: none; }
    .dash-value { font-size: 2rem; }
    .dash-icon { font-size: 1.1rem; }
    .dash-label { font-size: 0.72rem; }
    .trust-container { gap: 0.65rem 0.85rem; }
    .trust-container .divider { display: none; }
    .pet-feature-grid { grid-template-columns: 1fr; }
    .mission-card { padding: 1.5rem; }
    .industry-pill {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .grid-2-col { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; }
    .legal-links a { margin: 0 0.5rem; }
    .proof-grid { grid-template-columns: 1fr; }
    .matrix-head { display: none; }
    .matrix-row {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    .matrix-row > div {
        padding: 0.75rem 0;
        border-right: none;
        border-bottom: 1px solid var(--mega-gray);
    }
    .matrix-row > div:last-child {
        border-bottom: none;
    }
    .matrix-row > div::before {
        display: block;
        margin-bottom: 0.25rem;
        color: var(--mega-red);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }
    .matrix-row > div:nth-child(1)::before { content: 'Surface / Condition'; }
    .matrix-row > div:nth-child(2)::before { content: 'Common Challenge'; }
    .matrix-row > div:nth-child(3)::before { content: 'MEGA Advantage'; }
    .fab__item-sub {
        display: none;
    }

    .temp-markers { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .temp-markers .marker { flex-direction: row; gap: 1rem; }
    .temp-markers .marker::before { display: none; }
    .temp-bar { display: none; }
}
