﻿:root {
    --color-red: #E31E24;
    --color-red-dark: #ba0013;
    --color-ink: #1a1b22;
    --color-text: #5d3f3c;
    --color-muted: #5a5c5c;
    --color-line: #e3e1ec;
    --color-soft: #d8d8d8;
    --color-white: #ffffff;
    --color-dark: #2f3038;
    --color-dark-2: #1a1b22;
    --font-main: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: "Stack Sans Text", system-ui, sans-serif;
    --shadow: 0 4px 24px rgba(17, 24, 32, 0.04);
    --shadow-hover: 0 12px 32px rgba(17, 24, 32, 0.08);
    --radius: 4px;
    --radius-lg: 8px;
    --header-height: 82px;
}

/* --- UI Atoms & Emoji Campaign --- */
.status-dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: var(--color-red);
    border-radius: 50%;
    margin-right: 0.5rem;
    position: relative;
    vertical-align: middle;
}

.status-dot.pulse::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background-color: var(--color-red);
    opacity: 0.4;
    animation: status-pulse 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes status-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

.nav-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background-color: var(--color-red);
    border-radius: 50%;
    margin-left: 4px;
    opacity: 0;
    transform: translateY(-8x);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.desktop-nav a:hover .nav-dot,
.desktop-nav a.active .nav-dot {
    opacity: 1;
    transform: translateY(-2px);
}

.memorial-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    max-width: 400px;
    margin: 3rem auto;
}

.memorial-dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-red);
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 1s ease, transform 1s ease;
}

.memorial-dot.fade-out {
    opacity: 0.05;
}

.memorial-dot.highlight {
    opacity: 1;
    transform: scale(1.5);
    box-shadow: 0 0 15px var(--color-red);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 0, 0, 0.04);
    padding: 5px 12px;
    border-radius: 20px;
    width: fit-content;
}

.status-badge.light {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
}

/* Story Shorthand Section */
.section-story-shorthand {
    background: var(--color-soft);
    padding: 5rem 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.story-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.story-text {
    max-width: 450px;
}

.story-text h3 {
    margin-bottom: 0.75rem;
}

.story-text p {
    font-size: 1rem;
    color: var(--color-muted);
}

.story-shorthand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 2.8rem;
    background: var(--color-white);
    padding: 1.5rem 3rem;
    border-radius: 100px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-line);
}

.story-operator {
    font-size: 1.4rem;
    color: var(--color-line);
    font-weight: 400;
}

.story-dot-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-dot-wrap .status-dot {
    width: 40px;
    height: 40px;
    margin: 0;
}

@media (max-width: 992px) {
    .story-flex {
        gap: 3rem;
        text-align: center;
    }

    .story-shorthand {
        padding: 1rem 2rem;
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .story-shorthand {
        flex-direction: column;
        gap: 1rem;
        border-radius: 24px;
        padding: 2rem;
    }

    .story-operator {
        transform: rotate(90deg);
    }
}

.hero-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    max-width: 660px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

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

li {
    list-style-position: inside;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--color-ink);
    line-height: 1.08;
    letter-spacing: 0.04em;
    word-spacing: 0.08em;
    font-weight: 600;
    text-transform: uppercase;
}
h1 { font-weight: 700; letter-spacing: 0.03em; }
h1 strong, h2 strong, h3 strong { font-weight: 700; }

h1 {
    font-size: clamp(2.6rem, 6.5vw, 4.6rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.035em;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 0.7rem;
}

p {
    margin-bottom: 1rem;
}

code {
    background: rgba(237, 28, 36, 0.08);
    border-radius: 4px;
    color: var(--color-red-dark);
    padding: 0.1rem 0.3rem;
}

.container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}

.section {
    padding: 6rem 0;
}

.section.compact {
    padding: 1.5rem 0;
}

.section-dark {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.76);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-white);
}

.section-dark .project-support-copy {
    color: rgba(255, 255, 255, 0.9);
}

.product-section {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../img/construction.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.product-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0%, transparent 62%, rgba(237, 28, 36, 0.06) 62%, rgba(237, 28, 36, 0.06) 100%);
}

.product-section>.container {
    position: relative;
}

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

#applications {
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../img/marine.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.section-bg-scroll {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.section-bg-fixed {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--color-line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.site-header.scrolled {
    box-shadow: 0 8px 28px rgba(17, 24, 32, 0.08);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo-text,
.footer-logo-text {
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
}

.logo-text span,
.footer-logo-text span {
    color: var(--color-red);
}

.logo-text sup,
.footer-logo-text sup {
    position: relative;
    top: -0.36em;
    color: var(--color-ink);
    font-size: 0.46em;
    letter-spacing: 0;
}

/* Brand mark — use everywhere "Safe-T-Punch" appears in body copy.
   Inherits text color from parent (so it works on light or dark backgrounds),
   but always bold and always renders the T in brand red with a ™ superscript. */
.stp-brand {
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.stp-brand > span {
    color: var(--color-red);
    font-weight: 700;
}
.stp-brand > sup {
    font-size: 0.55em;
    position: relative;
    top: -0.55em;
    margin-left: 0.05em;
    color: inherit;
    letter-spacing: 0;
    font-weight: 700;
}

/* When the brand mark is rendered on a red background, force the T to inherit
   the parent's text colour (so it doesn't vanish into the red). Add new
   red-background contexts to this selector list as needed. */
.hero-side-label-good .stp-brand > span,
.hero-vs-trigger .stp-brand > span,
.btn-primary .stp-brand > span,
.cert-badge .stp-brand > span,
.news-card-tag .stp-brand > span,
[class*="-red"] .stp-brand > span,
.bg-red .stp-brand > span {
    color: inherit;
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.desktop-nav li {
    list-style: none;
}

.desktop-nav a {
    color: var(--color-muted);
    font-size: 0.93rem;
    font-weight: 700;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--color-ink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.8rem 1.15rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.88rem;
    line-height: 1;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-red-dark);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-ink);
    color: var(--color-ink);
}

.btn-secondary:hover {
    background: var(--color-ink);
    color: var(--color-white);
}

.btn-secondary.light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--color-white);
}

.btn-large {
    min-height: 54px;
    padding-inline: 1.4rem;
}

.mobile-menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: 6px;
    background: var(--color-white);
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: var(--color-ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 19;
    background: var(--color-white);
    transform: translateX(100%);
    transition: transform 220ms ease;
    padding: 2rem;
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav li {
    list-style: none;
    border-bottom: 1px solid var(--color-line);
}

.mobile-nav a {
    display: block;
    padding: 1rem 0;
    color: var(--color-ink);
    font-size: 1.2rem;
    font-weight: 800;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 5rem) 0 4rem;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    color: var(--color-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.hero-subtitle {
    max-width: 660px;
    color: var(--color-muted);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 2rem 0 2.4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 650px;
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-line);
}

.hero-stats div {
    min-width: 0;
}

.hero-stats dt {
    color: var(--color-ink);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.hero-stats dd {
    margin: 0.45rem 0 0;
    color: var(--color-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-media {
    position: relative;
}

.hero-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.hero-img:hover {
    transform: scale(1.01);
}


.media-caption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    max-width: 290px;
    padding: 1rem;
    background: rgba(17, 24, 32, 0.92);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

.media-caption strong {
    display: block;
    color: var(--color-white);
}

.visual-placeholder {
    min-height: 280px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.7rem;
    padding: 2rem;
    color: var(--color-muted);
    text-align: center;
}

.visual-placeholder span {
    color: var(--color-ink);
    font-size: 1.2rem;
    font-weight: 800;
}

.visual-placeholder p {
    max-width: 420px;
    margin: 0;
    font-size: 0.95rem;
}



.proof-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-line);
}

.proof-strip span {
    min-height: 72px;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: var(--color-white);
    color: var(--color-ink);
    font-weight: 800;
    text-align: center;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
}

.split>div>p:not(.eyebrow),
.section-header p,
.resource-panel>p,
.faq-intro p {
    color: var(--color-muted);
    font-size: 1.05rem;
}

.steps {
    display: grid;
    gap: 1rem;
}

.step,
.standards-grid article,
.application-grid article,
.resource-panel,
.option-grid article,
.document-grid article,
.detail-list article {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    padding: 1.5rem;
    transition: box-shadow 200ms ease;
}

.step:hover,
.standards-grid article:hover,
.application-grid article:hover,
.resource-panel:hover,
.option-grid article:hover,
.document-grid article:hover,
.detail-list article:hover {
    box-shadow: var(--shadow-hover);
}

.step span {
    color: var(--color-red);
    font-weight: 800;
}

.step p,
.standards-grid p,
.application-grid p,
.product-card p,
.resource-panel p,
.detail-list p,
.option-grid p {
    color: var(--color-muted);
}

.section-header {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.section-header .section-cta {
    margin-top: 1.25rem;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.product-card {
    grid-column: span 2;
    min-height: 100%;
    padding: 1.25rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    transition: box-shadow 200ms ease;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
}

.product-card.featured {
    grid-column: span 3;
    background: var(--color-white);
}

.product-card h3,
.product-card.featured h3 {
    color: var(--color-ink);
}

.product-card p,
.product-card li {
    color: var(--color-muted);
}

.product-code {
    display: inline-grid;
    place-items: center;
    min-width: 82px;
    min-height: 38px;
    margin-bottom: 1rem;
    border-radius: 5px;
    background: var(--color-red);
    color: var(--color-white);
    font-weight: 800;
}

.product-visual {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 210px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--color-line);
    border-radius: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #eef1f5 100%);
}

.product-card.featured .product-visual {
    min-height: 270px;
}

.product-visual img {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: contain;
    padding: 0.9rem;
}

.product-visual.placeholder {
    min-height: 220px;
    border-style: dashed;
}

.product-visual.placeholder span {
    color: var(--color-ink);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0;
}

.product-visual.placeholder small {
    display: block;
    max-width: 190px;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.product-card ul,
.social-card ol,
.resource-panel ul {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
    color: inherit;
}

.resource-panel li,
.social-card li {
    color: inherit;
}

.standards-grid,
.application-grid,
.option-grid,
.document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.application-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.callout,
.media-row {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin-top: 2.5rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    padding: 1rem;
}

.callout .visual-placeholder,
.media-row .visual-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
}

.text-link {
    display: inline-flex;
    color: var(--color-red);
    font-weight: 800;
}

.story-split {
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    padding: 4rem 0;
}

.social-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.55fr);
    gap: 3rem;
    align-items: center;
}

.social-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-card ol {
    margin-bottom: 1.5rem;
}

.page-header {
    padding: calc(var(--header-height) + 2.25rem) 0 1.5rem;
    border-bottom: 1px solid var(--color-line);
}

.page-header h1 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 0.6rem;
}

.page-header > .container > p:not(.eyebrow) {
    font-size: 0.95rem;
    max-width: 720px;
    margin: 0;
    color: var(--color-muted);
}

.resource-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.resource-nav {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
}

.resource-nav a {
    padding: 0.65rem 0.7rem;
    border-radius: 5px;
    color: var(--color-muted);
    font-weight: 800;
}

.resource-nav a:hover {
    background: var(--color-soft);
    color: var(--color-ink);
}

.resource-content {
    display: grid;
    gap: 1.25rem;
}

.resource-panel {
    padding: 2rem;
}

.detail-list {
    display: grid;
    gap: 1rem;
}

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

.distributor-grid a {
    padding: 0.9rem;
    border: 1px solid var(--color-line);
    border-radius: 6px;
    color: var(--color-ink);
    font-weight: 800;
}

/* Document link list */
.doc-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.doc-group h3 {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.6rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-line);
}

.doc-link-list {
    display: grid;
    gap: 0;
}

.doc-link-list li {
    list-style: none;
    border-bottom: 1px solid var(--color-line);
}

.doc-link-list li:last-child {
    border-bottom: none;
}

.doc-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.6rem;
    border-radius: 4px;
    color: var(--color-ink);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 140ms ease, color 140ms ease, padding-left 140ms ease;
}

.doc-link:hover {
    background: var(--color-soft);
    color: var(--color-red);
    padding-left: 0.9rem;
}

.doc-tag {
    flex-shrink: 0;
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    background: rgba(227, 30, 36, 0.08);
    color: var(--color-red);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.faq-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.faq-container {
    display: grid;
    gap: 0.8rem;
}

.faq-item {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: transparent;
    padding: 1.2rem 1.35rem;
    color: var(--color-ink);
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.faq-question-text {
    flex: 1 1 auto;
}

.faq-question::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--color-red);
    font-size: 1.5rem;
    line-height: 1;
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-answer {
    display: none;
    padding: 0 1.35rem 1.25rem;
}

.faq-item.active .faq-answer {
    display: block;
}

.site-footer {
    background: #080c11;
    color: rgba(255, 255, 255, 0.72);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr;
    gap: 3rem;
}

.footer-logo-text,
.site-footer .logo-text {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--color-white);
    font-size: 1.7rem;
}

.footer-logo-text sup,
.site-footer .logo-text sup {
    color: var(--color-white);
}

.site-footer h3 {
    color: var(--color-white);
}

.site-footer ul {
    display: grid;
    gap: 0.45rem;
}

.site-footer li {
    list-style: none;
}

.site-footer a:hover {
    color: var(--color-white);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 200ms ease;
}

.social-link:hover {
    background: var(--color-red);
    color: var(--color-white) !important;
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.9rem;
}

@media (max-width: 1020px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-grid,
    .split,
    .social-section,
    .resource-layout,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
    }

    .hero-media {
        max-width: 560px;
    }

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

    .product-card,
    .product-card.featured {
        grid-column: span 3;
    }

    .resource-nav,
    .faq-intro {
        position: static;
    }
}

@media (min-width: 941px) {
    .desktop-nav {
        display: block;
    }

    .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 4rem 0;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .header-actions .btn {
        display: none;
    }

    .hero {
        padding-top: calc(var(--header-height) + 3rem);
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-stats,
    .proof-strip,
    .standards-grid,
    .application-grid,
    .document-grid,
    .option-grid,
    .distributor-grid,
    .footer-grid,
    .callout,
    .media-row,
    .doc-groups {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .media-caption {
        position: static;
        max-width: none;
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .hero-media .visual-placeholder {
        border-radius: var(--radius) var(--radius) 0 0;
    }

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

    .product-card,
    .product-card.featured {
        grid-column: auto;
    }
}

/* News and Updates Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    overflow: hidden;
    transition: box-shadow 200ms ease;
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
}

.news-visual {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--color-soft);
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--color-line);
}

.news-visual span {
    color: var(--color-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-date {
    font-size: 0.85rem;
    color: var(--color-red);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

.news-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.news-card p {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.btn-tertiary {
    display: inline-flex;
    align-items: center;
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 150ms ease;
}

.btn-tertiary:hover {
    color: var(--color-red);
}

/* Endorsements Section */
.endorsement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.endorsement-card {
    margin: 0;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-red);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.endorsement-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-ink);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.endorsement-card footer {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
}

/* Application List refinement */
.application-grid ul {
    list-style: none;
    padding: 0;
    margin-top: 1.25rem;
    display: grid;
    gap: 0.4rem;
}

.application-grid li {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-ink);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.application-grid li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--color-red);
    border-radius: 50%;
}

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

/* Certifications Section */
/* Standards Section Layout */
.standards-layout {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.standards-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.standards-gif {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    /* No shadow or padding per user request */
}

.standards-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
}

.standards-grid article {
    padding: 2.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.standards-grid article:hover {
    border-color: var(--color-red);
}

@media (max-width: 1024px) {
    .standards-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .standards-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}


.cert-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    transition: box-shadow 250ms ease, transform 250ms ease;
    position: relative;
    overflow: hidden;
}

.cert-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.cert-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-line);
    transition: background 250ms ease;
}

.cert-card.achieved::before {
    background: #870900;

}

.cert-card.compliant::before {
    background: var(--color-red);

}

.cert-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.cert-badge.achieved {
    background: rgba(0, 135, 90, 0.1);
    color: #00875a;
}

.cert-badge.compliant {
    background: rgba(227, 30, 36, 0.06);
    color: var(--color-red);
}

.cert-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-ink);
}

.cert-card p {
    color: var(--color-muted);
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 0;
}

.cert-card .disclaimer {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--color-line);
}

/* Story Section Background */
.story-bg {
    position: relative;
    background: url('../img/Westdene-Rescuers.webp') center/cover no-repeat;
    color: var(--color-white);
}

.story-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 27, 34, 0.95) 0%, rgba(227, 30, 36, 0.85) 100%);
    z-index: 0;
}

.story-bg .container {
    position: relative;
    z-index: 1;
}

.story-bg h2,
.story-bg p.eyebrow,
.story-bg p,
.story-bg .text-link {
    color: var(--color-white);
}

.story-bg p.eyebrow {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.story-bg p {
    color: rgba(255, 255, 255, 0.9);
}

.story-bg .split>div>p {
    color: rgba(255, 255, 255, 0.9);
}

.story-bg .text-link {
    color: var(--color-white);
}

.story-bg .text-link::after {
    background-color: var(--color-white);
}

/* Comparison Module */
.comparison-module {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    margin-top: 2.5rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-card {
    display: flex;
    flex-direction: column;
}

.comparison-card.highlight {
    background: rgba(227, 30, 36, 0.03);
}

.comp-img {
    position: relative;
    border-bottom: 1px solid var(--color-line);
}

.comp-img img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 1.5rem;
    display: block;
    background: var(--color-white);
}

.comp-text {
    padding: 1.25rem;
    flex: 1;
}

.comp-text strong {
    display: block;
    color: var(--color-ink);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.comparison-module .comp-text p {
    color: var(--color-muted) !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.comp-divider {
    position: relative;
    width: 1px;
    background: var(--color-line);
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-vs {
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-muted);
    z-index: 2;
}

@media (max-width: 600px) {
    .comparison-module {
        grid-template-columns: 1fr;
    }

    .comp-divider {
        width: 100%;
        height: 1px;
    }

    .comparison-vs {
        width: 32px;
        height: 32px;
    }
}

/* Product Document Button */
.btn-doc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    margin-top: 1.75rem;
    padding: 0.85rem 1rem;
    background: var(--color-white);
    border: 2px solid var(--color-line);
    border-radius: var(--radius-lg);
    color: var(--color-ink);
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    transition: all 200ms ease;
    cursor: pointer;
}

.btn-doc:hover {
    background: var(--color-ink);
    color: var(--color-white);
    border-color: var(--color-ink);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 27, 34, 0.15);
}

.btn-doc svg {
    flex-shrink: 0;
}

/* Technical Precision Strip */
.technical-precision-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--color-surface);
    border-left: 3px solid var(--color-red);
}

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

.tech-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-red);
}

.tech-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

@media (max-width: 768px) {
    .technical-precision-strip {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

/* Products & Applications Page Styles */
.hero-mini {
    padding: 12rem 0 8rem;
    background: linear-gradient(rgba(10, 10, 12, 0.7), rgba(10, 10, 12, 0.7)), url('../img/train.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--color-white);
    text-align: center;
}

.hero-mini h1 {
    color: #fff;
}

.hero-resources,
.hero-about {
    padding: calc(var(--header-height) + 10rem) 0 8rem;
    background: linear-gradient(rgba(10, 10, 12, 0.75), rgba(10, 10, 12, 0.75)), url('../img/smashed-window.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    text-align: center;
}

.section-certifications {
    position: relative;
    background: linear-gradient(rgba(110, 12, 12, 0.95), rgba(110, 12, 12, 0.95)), url('../img/mining-vehicle.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
}

.section-certifications .section-header h2,
.section-certifications .section-header p {
    color: var(--color-white);
}

.section-certifications .cert-card {
    background: rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    transition: all 0.3s ease;
}

.section-certifications .cert-card:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.2);
}

.section-certifications .cert-card h3 {
    color: var(--color-white);
}

.section-certifications .cert-card p {
    color: rgba(255, 255, 255, 0.85);
}

.section-certifications .cert-card .disclaimer {
    color: rgba(255, 255, 255, 0.65);
    border-top-color: rgba(255, 255, 255, 0.15);
}

.section-certifications .cert-badge.achieved {
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
}

.section-certifications .cert-badge.compliant {
    background: rgba(255, 94, 98, 0.15);
    color: #ff5e62;
}

.hero-resources h1,
.hero-resources p,
.hero-resources .eyebrow {
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 1.5rem auto 3rem;
}

.anchor-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.anchor-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.5rem;
    transition: all 200ms ease;
}

.anchor-nav a:hover {
    color: var(--color-red);
    border-color: var(--color-red);
}

/* Product Deep Dive */
.product-deep-dive {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
}

.product-detail-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.product-detail-card.reverse {
    direction: rtl;
}

.product-detail-card.reverse>* {
    direction: ltr;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(218, 33, 40, 0.1);
    color: var(--color-red);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.product-code-large {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-dark);
    opacity: 0.05;
    line-height: 1;
    margin-bottom: -1.5rem;
}

.specs-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.specs-table th {
    font-weight: 700;
    color: var(--color-dark);
    width: 35%;
}

.specs-table td {
    color: var(--color-text);
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section-applications {
    background: #f8fafc;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.app-card {
    background: var(--color-white);
    padding: 3rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #00df94;
    transition: background 0.3s ease;
}

.app-card:hover {
    border-color: var(--color-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

.app-card:hover::before {
    background: var(--color-red);
}

.app-icon {
    width: 48px;
    height: 48px;
    color: var(--color-red);
    margin-bottom: 2rem;
    stroke-width: 1.5px;
    background: rgba(227, 30, 36, 0.05);
    padding: 10px;
    border-radius: 8px;
}

.app-list {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.app-list li {
    margin-bottom: 0.75rem;
    color: var(--color-text);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--color-line);
    border-radius: 50%;
    flex-shrink: 0;
}

.app-rec {
    font-size: 0.8rem;
    color: var(--color-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    margin-top: auto;
}

/* Comparison Matrix */
.table-container {
    overflow-x: auto;
    margin-top: 3rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.comparison-matrix {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-matrix th,
.comparison-matrix td {
    padding: 1.5rem 2rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.comparison-matrix th {
    background: var(--color-surface);
    font-weight: 700;
    color: var(--color-dark);
}

@media (max-width: 992px) {
    .product-detail-card {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-detail-card.reverse {
        direction: ltr;
    }
}

/* Contact Page Styles */
.hero-contact {
    padding: calc(var(--header-height) + 6rem) 0 4rem;
    background: var(--color-soft);
    color: var(--color-ink);
    text-align: center;
}

.hero-contact .text-accent {
    color: var(--color-red);
}

.section-contact-grid {
    position: relative;
    z-index: 10;
    padding-bottom: 5rem;
}

.contact-grid.centered-info {
    display: flex;
    justify-content: center;
    max-width: 920px;
    margin: 0 auto;
}

.contact-info-panel {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3.5rem;
    align-items: start;
}

.contact-info-panel .info-group:last-child {
    grid-column: 1 / -1;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-line);
}

.info-group {
    margin-bottom: 0;
    padding: 0;
}

.info-group > .eyebrow {
    margin: 0 0 1.25rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-top: 0;
    margin-bottom: 1.35rem;
    align-items: flex-start;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
    flex-shrink: 0;
}

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

.info-item h3 {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-muted);
    margin: 0.15rem 0 0.35rem;
}

.info-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-ink);
    line-height: 1.45;
    margin: 0;
}

.contact-link {
    color: inherit;
    transition: color 160ms ease;
}

.contact-link:hover {
    color: var(--color-red);
}

.contact-maps-link {
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 160ms ease, border-color 160ms ease;
}

.contact-maps-link:hover {
    border-bottom-color: currentColor;
}

.contact-maps-cta {
    display: inline-block;
    margin-top: 0.65rem;
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.9rem;
    background: transparent;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: var(--color-ink);
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
    border: 1px solid var(--color-line);
}

.social-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.social-btn:hover {
    background: var(--color-ink);
    border-color: var(--color-ink);
    color: var(--color-white);
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .hero-contact {
        padding: calc(var(--header-height) + 4rem) 0 3rem;
    }

    .contact-info-panel {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .contact-info-panel .info-group:last-child {
        padding-top: 1.5rem;
    }

    .info-item {
        gap: 0.9rem;
    }

    .info-item p {
        font-size: 1rem;
    }

    .contact-socials {
        flex-direction: row;
    }

    .social-btn {
        width: auto;
        justify-content: flex-start;
    }
}
/* ===== REDESIGN 2026: NEW COMPONENTS ===== */

/* --- Opening video banner (home page, above the hero) --- */
.hero-video {
    padding-top: var(--header-height);
    background: #f2f3f5;
    line-height: 0;
}
.hero-video-player {
    display: block;
    width: 100%;
    max-width: 2160px;
    margin: 0 auto;
    height: auto;
    aspect-ratio: 4 / 1;
    object-fit: cover;
}
/* Windows wider than the video: the video's edges dissolve into the off-white
   strips instead of ending in a hard line. */
@media (min-width: 2161px) {
    .hero-video-player {
        -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
        mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    }
}

/* --- Hero: Hammer vs Device Comparison --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 2.5rem) 0 3.5rem;
    background-image: linear-gradient(rgba(15,17,24,0.72), rgba(15,17,24,0.72)), url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-comparison-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
}
.hero-comparison-layout > .hero-center { align-self: center; }
.hero-side { background: rgba(10,12,18,0.78); border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; padding: 1.25rem 1.25rem 1.5rem; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(0,0,0,0.45); align-self: stretch; display: flex; flex-direction: column; max-width: 360px; width: 100%; }
.hero-side-old { justify-self: end; }
.hero-side-new { justify-self: start; }
.hero-side-label { display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 0.9rem; }
.hero-side-label-bad { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.55); }
.hero-side-label-good { background: var(--color-red); color: #fff; }
.hero-side-img { position: relative; width: 100%; max-width: 260px; aspect-ratio: 1 / 1; margin: 0 auto 1rem; background: transparent; border: 0; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0; }
.hero-side-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.55)); }
.hero-side-img-old img { filter: drop-shadow(0 6px 18px rgba(0,0,0,0.55)) grayscale(0.1) brightness(1.05); }
.hero-side-img-new { padding: 1.75rem; }
.hero-side-img-new img { mix-blend-mode: normal; }
.hero-side-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.hero-side-list { list-style: none; padding: 0; margin: 0; }
.hero-side-list li { font-size: 0.95rem; line-height: 1.4; padding: 0.4rem 0 0.4rem 1.6rem; position: relative; }
.hero-side-list li + li { border-top: 1px solid rgba(255,255,255,0.05); }
.hero-side-list-bad li { color: rgba(255,255,255,0.55); }
.hero-side-list-bad li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: rgba(255,90,90,0.15); border: 1px solid rgba(255,90,90,0.45); }
.hero-side-list-bad li::after { content: ""; position: absolute; left: 4px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: rgba(255,120,120,0.9); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M2 2 L8 8 M8 2 L2 8' stroke='black' stroke-width='2' stroke-linecap='round' fill='none'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M2 2 L8 8 M8 2 L2 8' stroke='black' stroke-width='2' stroke-linecap='round' fill='none'/></svg>") center/contain no-repeat; }
.hero-side-list-good li { color: rgba(255,255,255,0.88); }
.hero-side-list-good li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: rgba(74,222,128,0.18); border: 1px solid rgba(74,222,128,0.55); }
.hero-side-list-good li::after { content: ""; position: absolute; left: 3px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: #4ade80; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.5 L5 9 L9.5 3.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.5 L5 9 L9.5 3.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/contain no-repeat; }
.hero-center { text-align: center; padding: 1.75rem 1.5rem 1.5rem; background: rgba(15,18,26,0.55); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.hero-eyebrow-wrap { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.hero-center h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 1rem; }
.hero-center .hero-subtitle { color: rgba(255,255,255,0.78); font-size: 1.1rem; line-height: 1.5; max-width: 420px; margin: 0 auto 1.5rem; }
.hero-vs-trigger {
    display: inline-flex; align-items: center; gap: 0.85rem;
    margin: 1.25rem auto;
    padding: 0.65rem 1.1rem 0.65rem 0.75rem;
    background: var(--color-red); color: #fff;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    font-family: var(--font-main);
    cursor: pointer;
    position: relative;
    box-shadow: 0 6px 24px rgba(227,30,36,0.35), 0 0 0 0 rgba(227,30,36,0.55);
    animation: heroVsPulse 2.2s ease-out infinite;
    transition: transform 220ms cubic-bezier(.34,1.56,.64,1), box-shadow 220ms ease, background 180ms ease, border-color 180ms ease;
}
.hero-vs-trigger-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #fff;
    flex-shrink: 0;
    transition: background 180ms ease, transform 200ms ease;
}
.hero-vs-trigger-icon svg { margin-left: 2px; }
.hero-vs-trigger-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.hero-vs-label { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.hero-vs-hint { font-family: var(--font-main); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; margin-top: 4px; }
.hero-vs-trigger:hover { transform: translateY(-2px) scale(1.02); background: #c01419; border-color: rgba(255,255,255,0.45); animation: none; box-shadow: 0 12px 32px rgba(227,30,36,0.5); }
.hero-vs-trigger:hover .hero-vs-trigger-icon { background: rgba(255,255,255,0.3); transform: scale(1.08); }
.hero-vs-trigger:active { transform: translateY(0) scale(0.98); }
.hero-vs-trigger:disabled { cursor: default; opacity: 0.85; animation: none; transform: none; }
@keyframes heroVsPulse {
    0%   { box-shadow: 0 6px 24px rgba(227,30,36,0.35), 0 0 0 0 rgba(227,30,36,0.55); }
    70%  { box-shadow: 0 6px 24px rgba(227,30,36,0.35), 0 0 0 24px rgba(227,30,36,0); }
    100% { box-shadow: 0 6px 24px rgba(227,30,36,0.35), 0 0 0 0 rgba(227,30,36,0); }
}

/* === Hero side-by-side race demo === */
.hero-demo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: visible; }
.hero-side-img-old .hero-demo { padding: 1rem; }
.hero-side-img-new .hero-demo { padding: 1.75rem; }
.hero-demo-tool { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; position: relative; z-index: 3; transform-origin: 50% 50%; will-change: transform; }
.hero-side-img-old .hero-demo-tool { filter: drop-shadow(0 8px 14px rgba(0,0,0,0.18)) grayscale(0.15); }

/* Shatter overlay — uses the real glass-cracks artwork. Default blend mode
   is `screen` (assumes white cracks on black). Override on a per-side basis
   or globally via:
       :root { --shatter-img: url('../img/your-file.webp'); --shatter-blend: multiply; }
*/
.hero-demo-shatter {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background-image: var(--shatter-img, url("../img/glass-cracks-shattered.webp"));
    background-size: cover; background-position: center; background-repeat: no-repeat;
    mix-blend-mode: var(--shatter-blend, screen);
    opacity: 0;
    transition: opacity 220ms ease-out;
    transform: scale(0.85);
    transform-origin: 50% 50%;
}
.hero-demo.is-cracking-1 .hero-demo-shatter { opacity: 0.35; transform: scale(0.9); }
.hero-demo.is-cracking-2 .hero-demo-shatter { opacity: 0.6; transform: scale(0.95); }
.hero-demo.is-shattered .hero-demo-shatter { opacity: 1; transform: scale(1); transition: opacity 180ms ease-out, transform 320ms cubic-bezier(.22,.61,.36,1); }

/* Shards */
.hero-demo-shards { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero-demo-shards i { position: absolute; left: 50%; top: 50%; width: 18%; height: 18%; margin-left: -9%; margin-top: -9%; background: linear-gradient(135deg, rgba(245,247,250,0.9), rgba(190,200,220,0.6)); border: 1px solid rgba(255,255,255,0.7); clip-path: polygon(50% 0, 100% 60%, 60% 100%, 0 70%, 18% 25%); opacity: 0; transform: translate(0,0) rotate(0) scale(0.3); }
.hero-demo.is-shattered .hero-demo-shards i { animation: shardFly 900ms cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes shardFly {
    0%   { opacity: 0; transform: translate(0,0) rotate(0) scale(0.3); }
    15%  { opacity: 1; transform: translate(0,0) rotate(0) scale(1); }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--r)) scale(0.6); }
}

/* Tool animations */
.hero-demo.is-swinging-1 .hero-demo-tool { animation: hammerSwing 700ms cubic-bezier(.4,.05,.6,1) forwards; transform-origin: 70% 90%; }
.hero-demo.is-swinging-2 .hero-demo-tool { animation: hammerSwing 700ms cubic-bezier(.4,.05,.6,1) forwards; transform-origin: 70% 90%; }
.hero-demo.is-swinging-3 .hero-demo-tool { animation: hammerSwingHard 700ms cubic-bezier(.4,.05,.6,1) forwards; transform-origin: 70% 90%; }
@keyframes hammerSwing {
    0%   { transform: rotate(0) translateY(0); }
    30%  { transform: rotate(-35deg) translateY(-6px); }
    60%  { transform: rotate(15deg) translateY(2px); }
    78%  { transform: rotate(8deg) translateY(0); }
    100% { transform: rotate(0) translateY(0); }
}
@keyframes hammerSwingHard {
    0%   { transform: rotate(0) translateY(0); }
    25%  { transform: rotate(-55deg) translateY(-12px); }
    55%  { transform: rotate(25deg) translateY(4px) scale(1.04); }
    65%  { transform: rotate(18deg) translateY(0) scale(1.02); }
    100% { transform: rotate(0) translateY(0); }
}

.hero-side-img-new .hero-demo[data-demo="new"].is-punching .hero-demo-tool { animation: stpPunch 360ms cubic-bezier(.36,.07,.19,.97) forwards; }
@keyframes stpPunch {
    0%   { transform: scale(1) translateZ(0); }
    35%  { transform: scale(0.86); filter: brightness(1.1); }
    55%  { transform: scale(1.05); filter: brightness(1.2); }
    100% { transform: scale(1); }
}

/* Diamond-tip flash */
.hero-demo-flash { position: absolute; left: 50%; top: 50%; width: 12%; aspect-ratio: 1; margin-left: -6%; margin-top: -6%; border-radius: 50%; background: radial-gradient(circle, #ffffff 0%, rgba(255,255,255,0.7) 35%, rgba(227,30,36,0.55) 60%, transparent 75%); z-index: 5; opacity: 0; pointer-events: none; }
.hero-demo.is-flashing .hero-demo-flash { animation: tipFlash 260ms ease-out forwards; }
@keyframes tipFlash {
    0%   { opacity: 0; transform: scale(0.2); }
    40%  { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.4); }
}

/* Container shake on impact */
.hero-demo.is-impact { animation: heroImpact 240ms ease-out; }
@keyframes heroImpact {
    0%, 100% { transform: translate(0,0); }
    25%      { transform: translate(-3px, 2px); }
    50%      { transform: translate(2px, -2px); }
    75%      { transform: translate(-2px, 1px); }
}

/* Result / timer chip */
.hero-demo-result { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 0.75rem; padding: 0.5rem 0.8rem; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; min-height: 52px; justify-content: center; opacity: 0.4; transition: opacity 240ms ease, border-color 240ms ease, background 240ms ease; }
.hero-demo-result.is-running { opacity: 1; }
.hero-demo-result.is-done { opacity: 1; border-color: rgba(255,255,255,0.18); background: rgba(0,0,0,0.4); }
.hero-side-new .hero-demo-result.is-done { border-color: rgba(74,222,128,0.45); background: rgba(20,60,30,0.45); }
.hero-side-old .hero-demo-result.is-done { border-color: rgba(255,90,90,0.4); background: rgba(60,20,20,0.45); }
.hero-demo-time { font-family: var(--font-heading); font-size: 1.35rem; color: #fff; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.hero-demo-label { font-family: var(--font-main); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

@media (prefers-reduced-motion: reduce) {
    .hero-vs-badge { animation: none; }
    .hero-demo .crack, .hero-demo-shards i, .hero-demo-tool { animation-duration: 1ms !important; }
}
.hero-center .hero-buttons { justify-content: center; }
.hero-center .status-badge { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.12); }
.hero-center .btn-secondary { background: transparent; border-color: rgba(255,255,255,0.35); color: #fff; }
.hero-center .btn-secondary:hover { background: #fff; color: var(--color-ink); border-color: #fff; }
.hero-center .hero-stats { max-width: 340px; margin: 0 auto; border-top-color: rgba(255,255,255,0.15); }
.hero-center .hero-stats dt { color: #fff; }
.hero-center .hero-stats dd { color: rgba(255,255,255,0.5); }

/* --- Applications Section --- */
.section-applications { background: var(--color-soft); }
.applications-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.app-card { background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 1.75rem; transition: box-shadow 220ms ease, transform 220ms ease; }
.app-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.app-icon-wrap { width: 52px; height: 52px; background: rgba(227,30,36,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.app-icon-wrap svg { width: 26px; height: 26px; stroke: var(--color-red); }
.app-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.app-card p { font-size: 0.9rem; color: var(--color-muted); }
.app-list { list-style: none; padding: 0; margin: 0.75rem 0 1rem; }
.app-list li { font-size: 0.85rem; color: var(--color-muted); padding: 0.2rem 0; padding-left: 1rem; position: relative; }
.app-list li::before { content: "—"; position: absolute; left: 0; color: var(--color-red); }
.app-rec { font-size: 0.78rem; font-weight: 800; color: var(--color-ink); background: rgba(0,0,0,0.04); padding: 5px 10px; border-radius: 6px; display: inline-block; margin-top: 0.5rem; }

/* --- Comparison Matrix --- */
.comparison-matrix-wrap { background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 2.5rem; margin-top: 3rem; }
.table-container { overflow-x: auto; }
.comparison-matrix { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.comparison-matrix th, .comparison-matrix td { padding: 0.9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--color-line); }
.comparison-matrix thead th { font-family: var(--font-heading); font-weight: 800; color: var(--color-ink); background: var(--color-soft); }
.comparison-matrix thead th:first-child { border-radius: var(--radius) 0 0 0; }
.comparison-matrix thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.comparison-matrix tbody tr:hover { background: rgba(0,0,0,0.02); }
.comparison-matrix td:first-child { font-weight: 700; color: var(--color-ink); }

/* --- Testimonial --- */
.section-testimonial { background: var(--color-soft); border-top: 1px solid var(--color-line); }
.testimonial-blurb { max-width: 820px; margin: 0 auto; display: flex; gap: 2rem; align-items: flex-start; }
.testimonial-quote-mark { font-family: Georgia, serif; font-size: 6rem; line-height: 0.7; color: var(--color-red); opacity: 0.25; flex-shrink: 0; -webkit-user-select: none; user-select: none; }
.testimonial-blurb blockquote { margin: 0; }
.testimonial-blurb blockquote p { font-size: 1.15rem; font-style: italic; color: var(--color-ink); margin-bottom: 0.75rem; }
.testimonial-blurb blockquote footer cite { font-size: 0.85rem; font-style: normal; font-weight: 700; color: var(--color-red); letter-spacing: 0.04em; }

/* --- Page Intro (shared across all non-home pages) --- */
.page-intro,
.resources-page-intro {
    padding: calc(var(--header-height) + 2.25rem) 0 1.5rem;
    border-bottom: 1px solid var(--color-line);
}
.page-intro h1,
.resources-page-intro h1 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 0.6rem;
}
.page-intro > .container > p:not(.eyebrow),
.resources-page-intro > .container > p:not(.eyebrow) {
    font-size: 0.95rem;
    max-width: 720px;
    margin: 0;
    color: var(--color-muted);
}
.page-intro-actions { margin-top: 1.25rem; }
.resources-full-width { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; align-items: start; }
.resource-panel-fw { background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; }
.resource-panel-fw.span-full { grid-column: 1 / -1; }
.resource-panel-fw h2 { font-size: 1.25rem; margin-bottom: 0.85rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--color-red); display: inline-block; }
.resource-panel-fw > p { font-size: 0.92rem; color: var(--color-muted); margin-bottom: 0.85rem; }
.doc-link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.doc-link { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.8rem; border: 1px solid var(--color-line); border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; color: var(--color-ink); transition: background 160ms, border-color 160ms; }
.doc-link:hover { background: var(--color-soft); border-color: var(--color-red); color: var(--color-red); }
.doc-tag { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; background: rgba(227,30,36,0.08); color: var(--color-red); padding: 2px 6px; border-radius: 4px; margin-left: auto; }
.resource-panel-fw .detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.resource-panel-fw .detail-list article { background: var(--color-soft); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.resource-panel-fw .detail-list article h3 { font-size: 0.98rem; margin-bottom: 0.4rem; }
.resource-panel-fw .detail-list article p { font-size: 0.88rem; line-height: 1.5; color: var(--color-muted); margin: 0; }
.resource-panel-fw .cert-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.85rem; }
.resource-panel-fw .cert-card { padding: 1.1rem 1.1rem 1.2rem; }
.resource-panel-fw .cert-card h3 { font-size: 0.95rem; margin: 0.5rem 0 0.4rem; }
.resource-panel-fw .cert-card p { font-size: 0.82rem; line-height: 1.45; }
.resource-panel-fw .cert-card .disclaimer { font-size: 0.72rem; padding: 0.5rem 0.6rem; margin-top: 0.6rem; }
main .section:has(> .container > .resources-full-width) { padding-top: 1rem; padding-bottom: 2.5rem; }
.page-intro + .section,
.resources-page-intro + .section { padding-top: 2.5rem; }
@media (max-width: 860px) {
    .resources-full-width { grid-template-columns: 1fr; gap: 1rem; }
    .resource-panel-fw .detail-list { grid-template-columns: 1fr; }
    .resource-panel-fw .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Cert Cards (moved from home) --- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cert-card { border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-white); padding: 1.5rem; transition: box-shadow 200ms; }
.cert-card:hover { box-shadow: var(--shadow-hover); }
.cert-badge { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: 0.75rem; }
.cert-card.achieved .cert-badge { background: rgba(74,222,128,0.15); color: #16a34a; }
.cert-card.compliant .cert-badge { background: rgba(59,130,246,0.12); color: #1d4ed8; }
.disclaimer { font-size: 0.8rem; color: var(--color-muted); margin-top: 0.5rem; }

/* --- About: Westdene Hero --- */
.hero-about-westdene {
    min-height: 65vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
    padding-top: calc(var(--header-height) + 4rem);
    background-image: linear-gradient(to bottom, rgba(10,12,20,0.55) 0%, rgba(10,12,20,0.8) 100%), url('../img/Westdene-Rescuers.webp');
    background-size: cover;
    background-position: center top;
}
.hero-about-westdene h1 { color: #fff; }
.hero-about-westdene .eyebrow { color: rgba(255,255,255,0.6); }
.hero-about-westdene .hero-subtitle { color: rgba(255,255,255,0.75); max-width: 560px; }

/* --- Timeline --- */
/* --- Horizontal Timeline Slideshow --- */
.stp-timeline-h { position: relative; }
.tl-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overflow-y: hidden; -ms-overflow-style: none; }
.tl-track::-webkit-scrollbar { display: none; }
.tl-slide { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; padding: 0.5rem 3.5rem; min-width: 0; }
.tl-slide-img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: linear-gradient(135deg, #1a1d24 0%, #2a2f3a 100%); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.18); font-family: var(--font-heading); font-weight: 900; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.04em; overflow: hidden; position: relative; border: 1px solid var(--color-line); }
.tl-slide-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(227,30,36,0.18), transparent 60%); pointer-events: none; }
.tl-slide-img--photo::after { background: linear-gradient(to top, rgba(10,12,20,0.35), transparent 45%); }
.tl-slide-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-slide-img--three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; padding: 0.75rem; background: var(--color-soft); }
.tl-image-slot { position: relative; z-index: 1; display: grid; place-items: center; min-width: 0; color: var(--color-muted); background: linear-gradient(135deg, #1a1d24 0%, #2a2f3a 100%); border: 1px solid var(--color-line); border-radius: calc(var(--radius-lg) - 4px); font-family: var(--font-heading); font-size: clamp(0.7rem, 1.25vw, 0.9rem); font-weight: 800; letter-spacing: 0.04em; text-align: center; }
.tl-slide-body { min-width: 0; }
.tl-slide-body .tl-year { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 800; color: var(--color-red); letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 0.6rem; }
.tl-slide-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 0 0 0.9rem; line-height: 1.2; }
.tl-slide-body p { margin: 0; color: var(--color-muted); font-size: 1rem; line-height: 1.6; max-width: 46ch; }
.tl-slide-body p + p { margin-top: 0.75rem; }
.tl-slide-body .tl-slide-link { margin-top: 1.1rem; }
.tl-milestone-list { display: grid; gap: 0.85rem; margin: 0; padding: 0; list-style: none; }
.tl-milestone-list li { position: relative; padding-left: 1.1rem; color: var(--color-muted); font-size: 0.95rem; line-height: 1.5; }
.tl-milestone-list li::before { content: ""; position: absolute; top: 0.6rem; left: 0; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--color-red); }
.tl-milestone-list strong, .tl-milestone-list > li > span { display: block; }
.tl-milestone-list strong { color: var(--color-ink); font-size: 1rem; }
.tl-slide-current .tl-slide-img { background: linear-gradient(135deg, var(--color-red) 0%, #a01218 100%); color: rgba(255,255,255,0.4); }
.tl-slide-current .tl-slide-img--photo { background: #1a1d24; }
.tl-arrow { position: absolute; top: calc(50% - 2.5rem); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-line); background: var(--color-white); color: var(--color-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); transition: background 180ms ease, color 180ms ease, opacity 180ms ease; }
.tl-arrow:hover { background: var(--color-ink); color: #fff; }
.tl-arrow:disabled { opacity: 0.35; cursor: default; }
.tl-arrow-prev { left: -8px; }
.tl-arrow-next { right: -8px; }
.tl-rail { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 2px solid var(--color-line); display: flex; gap: 0.25rem; overflow-x: auto; position: relative; }
.tl-rail::-webkit-scrollbar { display: none; }
.tl-rail-btn { appearance: none; background: transparent; border: 0; padding: 0.5rem 0.9rem; cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: 0.85rem; color: var(--color-muted); letter-spacing: 0.04em; position: relative; flex: 1 1 0; min-width: 64px; transition: color 180ms ease; }
.tl-rail-btn::before { content: ""; position: absolute; top: -1.75rem; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--color-line); border: 2px solid var(--color-soft); transition: background 180ms ease, transform 180ms ease; }
.tl-rail-btn:hover { color: var(--color-ink); }
.tl-rail-btn:hover::before { background: var(--color-ink); }
.tl-rail-btn[aria-selected="true"] { color: var(--color-red); }
.tl-rail-btn[aria-selected="true"]::before { background: var(--color-red); transform: translateX(-50%) scale(1.4); }
@media (max-width: 768px) {
    .tl-slide { grid-template-columns: 1fr; padding: 0.5rem 1rem; gap: 1.25rem; }
    .tl-slide-img { aspect-ratio: 16 / 10; }
    .tl-slide-img--three { aspect-ratio: 16 / 10; }
    .tl-arrow-prev { left: 0; }
    .tl-arrow-next { right: 0; }
    .tl-rail-btn { min-width: 56px; font-size: 0.78rem; }
}

/* --- Team --- */
.team-profiles { display: grid; gap: 1.5rem; max-width: 880px; margin: 0 auto; }
.team-profile { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding: 1.25rem; background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-lg); }
.team-profile-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: calc(var(--radius-lg) - 4px); background: var(--color-soft); }
.team-profile-copy .eyebrow { margin-bottom: 0.55rem; }
.team-profile-copy h3 { margin-bottom: 0.65rem; }
.team-profile-copy p { color: var(--color-muted); }
.team-profile-copy p:last-child { margin-bottom: 0; }
.team-photo-placeholder { max-width: 880px; margin: 2rem auto 0; }
.team-photo-placeholder-visual { display: grid; place-content: center; justify-items: center; gap: 0.9rem; min-height: clamp(180px, 28vw, 320px); padding: 1.5rem; color: var(--color-muted); background: var(--color-soft); border: 2px dashed var(--color-line); border-radius: var(--radius-lg); text-align: center; }
.team-photo-placeholder-visual svg { width: 3.5rem; height: 3.5rem; }
.team-photo-placeholder-visual span { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.team-photo-placeholder figcaption { margin-top: 0.8rem; text-align: center; }
.team-photo-placeholder figcaption h3 { margin-bottom: 0.65rem; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.team-photo-placeholder figcaption p { margin: 0; color: var(--color-muted); }
.team-photo-placeholder figcaption p + p { margin-top: 0.8rem; }
.team-photo-caption-placeholder { font-size: 0.9rem; }

@media (max-width: 600px) {
    .team-profile { grid-template-columns: 1fr; }
    .team-profile-photo { width: min(100%, 280px); margin: 0 auto; }
}

/* --- Mission/Cert strip --- */
.section-certifications { background: var(--color-ink); padding: 5rem 0; }

/* --- Products 2-up Grid --- */
.hero-mini { padding: calc(var(--header-height) + 4rem) 0 3rem; border-bottom: 1px solid var(--color-line); }
.hero-mini h1 { margin-bottom: 1rem; }
.product-2up-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.product-detail-card-2up { display: flex; flex-direction: column; gap: 1.25rem; border: 1px solid var(--color-line); border-radius: 16px; padding: 1.75rem; background: var(--color-white); transition: box-shadow 220ms ease; }
.product-detail-card-2up:hover { box-shadow: var(--shadow-hover); }
.product-images-row { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--color-soft); border-radius: 10px; overflow: hidden; padding: 1.25rem; }
.product-images-row img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.product-img-placeholder { width: 100%; height: 100%; min-height: 110px; background: var(--color-white); display: flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; }
.product-img-placeholder span { font-size: 0.82rem; color: var(--color-muted); font-weight: 600; }
.product-images-row-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; aspect-ratio: auto; background: transparent; padding: 0; overflow: visible; }
.product-images-row-dual > img,
.product-images-row-dual > .product-img-placeholder { aspect-ratio: 1 / 1; background: var(--color-soft); border-radius: 10px; width: 100%; height: auto; max-width: 100%; max-height: none; padding: 0.9rem; box-sizing: border-box; min-height: 0; }
.product-images-row-dual > .product-img-placeholder { background: var(--color-white); border: 0; }
.product-images-row-dual > img { object-fit: contain; }
.product-badge { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(227,30,36,0.08); color: var(--color-red); padding: 4px 12px; border-radius: 20px; margin-bottom: 0.75rem; }
.product-code-large { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 900; color: var(--color-ink); letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.5rem; }
.product-info-2up h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.product-info-2up p { color: var(--color-muted); font-size: 0.95rem; }
.specs-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.88rem; }
.specs-table th, .specs-table td { padding: 0.55rem 0.75rem; text-align: left; border-bottom: 1px solid var(--color-line); }
.specs-table th { color: var(--color-muted); font-weight: 700; background: var(--color-soft); width: 42%; }
.specs-table td { color: var(--color-ink); font-weight: 500; }
.product-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.25rem; }
.btn-sm { min-height: 38px; padding: 0.5rem 0.9rem; font-size: 0.8rem; }

/* --- Media Carousel --- */
.media-carousel { position: relative; overflow: hidden; }
.media-carousel-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.media-card { background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden; }
.media-video-embed { position: relative; padding-bottom: 56.25%; background: var(--color-ink); }
.media-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.media-card-info { padding: 1.25rem; }
.media-card-info h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.media-card-info p { font-size: 0.9rem; color: var(--color-muted); margin: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card { background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 1.75rem; transition: box-shadow 200ms; }
.news-card:hover { box-shadow: var(--shadow-hover); }
.news-card-tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-red); margin-bottom: 0.75rem; }
.news-card h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.news-card p { font-size: 0.9rem; color: var(--color-muted); }
.text-link { color: var(--color-red); font-weight: 700; font-size: 0.9rem; }
.text-link:hover { text-decoration: underline; }

/* --- Horizontal Slider (videos + news) --- */
.hslider { position: relative; padding: 0 0 2.5rem; }
.hs-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%); }
.hs-track { display: flex; gap: 1.25rem; padding: 0.25rem 0.25rem 1rem; will-change: transform; transition: transform 480ms cubic-bezier(.22,.61,.36,1); }
.hs-card { flex: 0 0 calc((100% - 1.25rem * 2) / 3); background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 220ms ease, transform 220ms ease; }
.hs-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.hs-card-body { padding: 1.1rem 1.25rem 1.4rem; }
.hs-card-body .eyebrow { margin: 0 0 0.4rem; }
.hs-card-body h3 { font-size: 1.05rem; margin: 0 0 0.5rem; line-height: 1.3; }
.hs-card-body p { font-size: 0.9rem; color: var(--color-muted); margin: 0; line-height: 1.55; }
.news-slide { padding: 1.5rem 1.5rem 1.75rem; }
.news-slide h3 { font-size: 1.1rem; margin: 0 0 0.75rem; line-height: 1.3; }
.news-slide p { font-size: 0.9rem; color: var(--color-muted); margin: 0 0 1rem; line-height: 1.55; }
.news-slide-media { margin: -1.5rem -1.5rem 1rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-soft); }
.news-slide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Lite YouTube */
.yt-lite { position: relative; display: block; padding: 0; border: 0; cursor: pointer; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 380ms ease, opacity 380ms ease; }
.yt-lite:hover img { transform: scale(1.04); opacity: 0.85; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--color-red); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 28px rgba(0,0,0,0.35); transition: transform 220ms ease, background 180ms ease; }
.yt-play::before { content: ""; width: 0; height: 0; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.yt-lite:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); background: #c01419; }
.yt-lite.is-playing { cursor: default; }
.yt-lite.is-playing img, .yt-lite.is-playing .yt-play { display: none; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Slider arrows */
.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--color-line); background: var(--color-white); color: var(--color-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); transition: background 180ms ease, color 180ms ease, opacity 180ms ease; }
.hs-arrow:hover { background: var(--color-ink); color: #fff; }
.hs-arrow:disabled { opacity: 0.35; cursor: default; }
.hs-arrow-prev { left: -18px; }
.hs-arrow-next { right: -18px; }

/* Progress bar */
.hs-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--color-line); border-radius: 99px; overflow: hidden; }
.hs-progress span { display: block; height: 100%; width: 33.33%; background: var(--color-red); border-radius: 99px; transition: transform 480ms cubic-bezier(.22,.61,.36,1), width 320ms ease; transform-origin: left; }

@media (max-width: 960px) {
    .hs-card { flex-basis: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 640px) {
    .hs-card { flex-basis: 100%; }
    .hs-arrow-prev { left: 4px; }
    .hs-arrow-next { right: 4px; }
}

/* --- Contact: Distributors & Follow --- */
.distributors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.distributor-card { border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 1.5rem; background: var(--color-white); transition: box-shadow 200ms; }
.distributor-card:hover { box-shadow: var(--shadow-hover); }
.dist-flag { font-size: 2rem; margin-bottom: 0.75rem; }
.distributor-card h3 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--color-ink); }
.dist-company { font-weight: 800; color: var(--color-red); font-size: 0.9rem; margin-bottom: 0.4rem; }
.distributor-card p { font-size: 0.85rem; color: var(--color-muted); margin: 0.25rem 0; }
.follow-social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.follow-card { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.75rem 1rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); color: rgba(255,255,255,0.8); text-align: center; transition: background 200ms, transform 200ms; }
.follow-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); color: #fff; }
.follow-card svg { width: 28px; height: 28px; stroke-width: 1.5; }
.follow-name { font-weight: 800; font-size: 0.95rem; }
.follow-handle { font-size: 0.78rem; opacity: 0.55; }

/* --- Callout block --- */
.callout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 3rem; background: var(--color-soft); border-radius: 16px; padding: 2.5rem; border: 1px solid var(--color-line); }
.callout .visual-placeholder img { width: 100%; border-radius: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-comparison-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero-side { display: none; }
    .hero-center { text-align: left; padding: 0; }
    .hero-eyebrow-wrap { justify-content: flex-start; }
    .hero-center .hero-buttons { justify-content: flex-start; }
    .hero-center .hero-subtitle { margin: 0 0 1.5rem; max-width: 100%; }
    .hero-vs-badge { display: none; }
    .applications-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .product-2up-grid { grid-template-columns: 1fr; }
    .distributors-grid { grid-template-columns: repeat(2, 1fr); }
    .follow-social-grid { grid-template-columns: repeat(4, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .applications-grid-4 { grid-template-columns: 1fr; }
    .media-carousel-track { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .distributors-grid { grid-template-columns: 1fr 1fr; }
    .follow-social-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: 1fr; }
    .callout { grid-template-columns: 1fr; }
    .comparison-matrix-wrap { padding: 1.5rem; }
    /* product images always 2-up */
}
@media (max-width: 480px) {
    .distributors-grid { grid-template-columns: 1fr; }
    .follow-social-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== DEVICE SELECTOR BRIDGE (integrated with app cards) ===== */

.device-selector-bridge {
    margin-top: 3.5rem;
}

/* --- Transition / divider --- */
.device-selector-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}
.device-selector-divider {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0.85rem;
}
.device-selector-divider::before,
.device-selector-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-red), transparent);
    opacity: 0.3;
}
.device-selector-label {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-red);
    white-space: nowrap;
}
.device-selector-sub {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* --- Device cards grid --- */
.device-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: start;
}

/* --- Individual device card --- */
.device-card {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-top: 3px solid var(--color-red);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 200ms ease, transform 200ms ease;
}
.device-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.device-card-specialist {
    border-top-color: var(--color-ink);
}

/* --- Device card header --- */
.device-card-top {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.device-code {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--color-ink);
    letter-spacing: -0.02em;
    line-height: 1;
}
.device-material-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-muted);
    letter-spacing: 0.02em;
}

/* --- Application fit tags (same icons as app cards) --- */
.device-fit-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
}
.device-app-fits {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.device-fit-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    line-height: 1.3;
}
.device-fit-tag svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke-width: 2;
}
.fit-active {
    background: rgba(227, 30, 36, 0.06);
    color: var(--color-ink);
}
.fit-active svg {
    stroke: var(--color-red);
}
.fit-dim {
    background: rgba(0, 0, 0, 0.03);
    color: var(--color-muted);
    font-style: italic;
    font-weight: 500;
    font-size: 0.78rem;
}
.fit-dim svg {
    stroke: var(--color-muted);
    opacity: 0.5;
}
.fit-specialist {
    background: rgba(15, 17, 24, 0.05);
    color: var(--color-ink);
}
.fit-specialist svg {
    stroke: var(--color-ink);
}

/* --- Spec list inside device card --- */
.device-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
}
.device-spec-list li {
    font-size: 0.85rem;
    color: var(--color-muted);
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.45;
}
.device-spec-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-red);
    font-weight: 700;
}
.device-spec-list li strong {
    color: var(--color-ink);
}

/* --- CTA link at bottom of each device card --- */
.device-card-cta {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-red);
    letter-spacing: 0.02em;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-line);
    transition: opacity 160ms;
}
.device-card-cta:hover {
    opacity: 0.7;
}

/* --- Footer of the device selector --- */
.device-selector-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: var(--color-soft);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
}
.device-selector-footer p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--color-muted);
    flex: 1;
    min-width: 200px;
}

/* --- Responsive: device selector --- */
@media (max-width: 1100px) {
    .device-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 580px) {
    .device-cards-grid {
        grid-template-columns: 1fr;
    }
    .device-selector-footer {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== APP CARD: inline device footer ===== */
.app-device-inline {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--color-line);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.app-device-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.app-device-code {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--color-ink);
    letter-spacing: -0.01em;
    flex-shrink: 0;
}
.app-device-material {
    font-size: 0.78rem;
    color: var(--color-muted);
    font-weight: 500;
}
.app-device-note {
    font-size: 0.78rem;
    color: var(--color-muted);
    font-style: italic;
}
.app-device-link {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-red);
    letter-spacing: 0.01em;
    transition: opacity 160ms;
}
.app-device-link:hover { opacity: 0.7; }

/* App cards need flex column so device footer sits at bottom */
.app-card {
    display: flex;
    flex-direction: column;
}
.app-card p { margin-bottom: 0.5rem; }
.app-card .app-list { flex: 1; }

/* Applications section footer note */
.applications-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* =============================================================
   VISUAL RHYTHM PASS — site-wide pizazz, no images, no layout change
   Scoped tightly so hero + header + body type are untouched.
   ============================================================= */

/* 1. Eyebrow accents (only inside .section-header — heroes stay as-is) */
.section-header > .eyebrow {
    position: relative;
    display: inline-block;
    padding-left: 28px;
}
.section-header > .eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 2px;
    background: currentColor;
    transform: translateY(-50%);
}
.section-header.narrow > .eyebrow {
    display: block;
    padding-left: 0;
}
.section-header.narrow > .eyebrow::before { display: none; }
.section-header.narrow > .eyebrow::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: currentColor;
    margin: 0.55rem auto 0;
}

/* 2. Applications-style sections: soft layered gradient + red corner glow.
      Overrides the marine.webp wash on index #applications too. */
.section-applications,
#applications.section-applications {
    background:
        radial-gradient(ellipse 720px 380px at 92% -10%, rgba(227,30,36,0.08), transparent 60%),
        radial-gradient(ellipse 600px 400px at -5% 110%, rgba(26,27,34,0.06), transparent 60%),
        linear-gradient(180deg, #fafbfd 0%, #eef0f4 100%);
    position: relative;
}

/* 3. section-bg-scroll: diagonal tint + faint dot grid (masked at edges) */
.section-bg-scroll {
    background:
        linear-gradient(135deg, rgba(227,30,36,0.035) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
}
.section-bg-scroll::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(26,27,34,0.09) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.45;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.section-bg-scroll > .container { position: relative; z-index: 1; }

/* 4. Testimonial → dark mood with red glow + amped quote mark.
      Applies on every page that uses .section-testimonial. */
.section-testimonial {
    background:
        radial-gradient(ellipse 800px 400px at 18% 28%, rgba(227,30,36,0.22), transparent 55%),
        radial-gradient(ellipse 600px 400px at 92% 80%, rgba(227,30,36,0.10), transparent 60%),
        linear-gradient(180deg, var(--color-dark-2) 0%, #0d0f15 100%);
    color: rgba(255,255,255,0.85);
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}
.section-testimonial .testimonial-quote-mark {
    color: var(--color-red);
    opacity: 0.95;
    text-shadow: 0 0 60px rgba(227,30,36,0.45);
}
.section-testimonial .testimonial-blurb blockquote p {
    color: rgba(255,255,255,0.94);
}
.section-testimonial .testimonial-blurb blockquote footer cite {
    color: #ff7077;
}

/* 5. Dark sections: red glow accent — adds depth to flat ink panels */
.section-dark,
.section-certifications {
    position: relative;
    overflow: hidden;
}
.section-dark::after,
.section-certifications::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 600px 320px at 88% -10%, rgba(227,30,36,0.18), transparent 60%),
        radial-gradient(ellipse 500px 280px at 5% 110%, rgba(227,30,36,0.08), transparent 60%);
}
.section-dark > .container,
.section-certifications > .container {
    position: relative;
    z-index: 1;
}

/* 6. App-card top stripe: brand red gradient instead of the stray green */
.app-card::before {
    background: linear-gradient(90deg, var(--color-red) 0%, #ff8b8f 100%) !important;
    opacity: 0.9;
    transition: opacity 220ms ease, background 220ms ease;
}
.app-card:hover::before {
    background: linear-gradient(90deg, var(--color-red) 0%, var(--color-red-dark) 100%) !important;
    opacity: 1;
}

/* 7. Callout: soft gradient with red corner spark */
.callout {
    background:
        radial-gradient(circle at 100% 0%, rgba(227,30,36,0.06), transparent 45%),
        linear-gradient(180deg, #ffffff 0%, var(--color-soft) 100%);
}

/* 8. Brand-T contrast safety net — brighten the red T whenever it sits on
      a dark or red-tinted background, so it never gets lost. */
.section-testimonial .stp-brand > span,
.section-dark .stp-brand > span,
.section-certifications .stp-brand > span,
.hero-about-westdene .stp-brand > span {
    color: #ff5b62;
}

/* =============================================================
   DISTRIBUTOR CARDS — whole-card clickable variant
   ============================================================= */
.distributor-card {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.distributor-card.has-link { cursor: pointer; }
.distributor-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    overflow: hidden;
    white-space: nowrap;
    text-indent: 100%;
    color: transparent;
}
.distributor-card-link:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}
.distributor-card > *:not(.distributor-card-link) {
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.distributor-card a:not(.distributor-card-link) { pointer-events: auto; }
.distributor-card.has-link:hover {
    border-color: var(--color-red);
    transform: translateY(-2px);
}
.dist-card-arrow {
    margin-top: auto;
    padding-top: 0.85rem;
    color: var(--color-red);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 200ms ease, transform 200ms ease;
    display: inline-block;
}
.distributor-card.has-link:hover .dist-card-arrow {
    opacity: 1;
    transform: translateX(4px);
}
.dist-flag {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
    line-height: 1;
}

/* --- Home: static hero comparison --- */
.hero-comparison-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    width: min(1280px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto;
}

.hero-copy {
    text-align: left;
    color: var(--color-white);
    width: 100%;
    max-width: none;
}

.hero-copy .eyebrow {
    margin-bottom: 0.6rem;
}

.hero-copy h1 {
    color: var(--color-white);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 0.6rem;
}

.hero-copy .hero-subtitle {
    max-width: none;
    width: 100%;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.hero .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--color-white);
}

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

.hero-comparison-layout > .hero-buttons {
    justify-content: center;
    margin: 0.25rem 0 0;
}

.hero-comparison-layout > .hero-stats {
    max-width: 28rem;
    margin: 1.5rem auto 0;
    border-top-color: rgba(255, 255, 255, 0.15);
}

.hero .hero-stats dt { color: var(--color-white); }
.hero .hero-stats dd { color: rgba(255, 255, 255, 0.58); }
.hero-stats--facts { gap: clamp(0.65rem, 2vw, 1.25rem); }
.hero-stats--facts dt {
    font-size: clamp(0.85rem, 1.65vw, 1.15rem);
    line-height: 1.2;
}
.hero-stats--facts dd {
    margin-top: 0.35rem;
    font-size: clamp(0.58rem, 1.05vw, 0.68rem);
    line-height: 1.35;
    letter-spacing: 0.055em;
}

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

.hero-product-visual {
    display: grid;
    place-items: center;
    min-height: 0;
    height: 100%;
    margin: 0;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(10, 12, 18, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.32);
}

.hero-product-visual img {
    width: 100%;
    max-height: min(48vh, 520px);
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.48));
}

/* Product feature hotspots: the SVG shares the composition's 850 × 850 coordinate system. */
.product-explorer { position: relative; }
.product-explorer-canvas {
    position: relative;
    width: min(100%, min(48vh, 520px));
    aspect-ratio: 1;
}
.product-explorer-canvas > img {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}
.product-hotspots {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
}
.product-hotspot { cursor: pointer; outline: none; }
.product-hotspot rect {
    fill: rgba(227, 30, 36, 0.001);
    stroke: transparent;
    pointer-events: all;
    transition: fill 180ms ease;
}
.product-hotspot:is(:hover, :focus, .is-active) rect {
    fill: rgba(227, 30, 36, 0.16);
}
.product-hotspot-panel {
    position: absolute;
    z-index: 3;
    right: 1rem;
    bottom: 1rem;
    width: min(22rem, calc(100% - 2rem));
    padding: 1rem;
    color: var(--color-white);
    background: rgba(12, 14, 20, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 3px solid var(--color-red);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.product-hotspot-panel[hidden] { display: none; }
.product-hotspot-panel.is-top { top: 1rem; bottom: auto; }
.product-hotspot-panel h2 { margin: 0.2rem 0 0.45rem; color: var(--color-white); font-size: 1rem; }
.product-hotspot-panel p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.82rem; line-height: 1.45; }
.product-hotspot-panel .product-hotspot-reference { color: #ff7b80; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-comparison-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    height: 100%;
    min-height: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(10, 12, 18, 0.4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.32);
}

.hero-comparison-cards .hero-side {
    display: flex;
    max-width: none;
    width: 100%;
    height: 100%;
    padding: 1.1rem;
    box-shadow: none;
}

.hero-comparison-cards .hero-side-img {
    max-width: 180px;
    margin-bottom: 0.9rem;
}

.hero-comparison-cards .hero-side-img-new { padding: 1.25rem; }

.hero-comparison-cards .hero-side-list li {
    font-size: clamp(0.78rem, 1vw, 0.92rem);
}

/* Card titles scale with the card so "Safe-T-Punch" never spills out in the
   squeezed two-column layout (windows roughly 760-990px wide). */
.hero-comparison-cards .hero-side { container-type: inline-size; }
.hero-comparison-cards .hero-side-title { font-size: clamp(0.78rem, 11.5cqw, 1.15rem); }

@media (max-width: 760px) {
    .hero { padding-top: calc(var(--header-height) + 2.5rem); }
    .hero-body { grid-template-columns: 1fr; }
    .hero-product-visual { min-height: 280px; padding: 1rem; }
    .product-hotspot-panel { right: 0.5rem; bottom: 0.5rem; width: min(20rem, calc(100% - 1rem)); }
    .product-hotspot-panel.is-top { top: 0.5rem; bottom: auto; }
}

/* Media directory */
.media-directory {
    background: #f8fafc;
}

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

.media-link-card > a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: 1.5rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    color: inherit;
    text-decoration: none;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.media-link-card > a:hover {
    transform: translateY(-5px);
    border-color: var(--color-red);
    box-shadow: var(--shadow-hover);
}

.media-link-card > a:focus-visible {
    outline: 3px solid var(--color-red);
    outline-offset: 4px;
}

.media-link-number,
.media-link-type,
.media-link-action {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.media-link-number {
    color: rgba(26, 27, 34, 0.4);
}

.media-link-type {
    margin-top: 1.5rem;
    color: var(--color-red);
}

.media-link-card h3 {
    margin: 0.6rem 0 0.75rem;
    color: var(--color-ink);
    font-size: 1.15rem;
    line-height: 1.16;
}

.media-link-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.media-link-action {
    margin-top: auto;
    padding-top: 1.4rem;
    color: var(--color-red);
}

.media-link-action span {
    font-size: 1.1em;
}

@media (max-width: 1020px) {
    .media-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .media-link-card > a {
        transition: none;
    }
}

@media (max-width: 720px) {
    .hero-stats.hero-stats--facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .hero-comparison-cards {
        grid-template-columns: 1fr;
        padding: 0.75rem;
    }
}

/* --- Application detail pages --- */
a.app-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.app-card .app-card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.85rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-red);
}
a.app-card:hover .app-card-more,
a.app-card:focus-visible .app-card-more {
    text-decoration: underline;
}
a.app-card:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 3px;
}

.page-intro-lede {
    max-width: 820px !important;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 16px;
    padding: 1.75rem;
    transition: box-shadow 220ms ease;
}

.use-case-card:hover {
    box-shadow: var(--shadow-hover);
}

.use-case-card h3 {
    font-size: 1.15rem;
    margin: 0;
}

.use-case-card > p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-muted);
}

.use-case-stp {
    margin: 0.35rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--color-line);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-red);
}

.use-case-card .use-case-help {
    color: var(--color-ink);
}

.use-case-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.use-case-points li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--color-ink);
}

.use-case-points li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-red);
}

.app-page-cta {
    margin-top: 2.5rem;
    padding: 1.75rem;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    background: var(--color-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.app-page-cta p {
    margin: 0;
    max-width: 36rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.app-page-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.app-back-link {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-muted);
}

.app-back-link:hover {
    color: var(--color-red);
}

@media (max-width: 760px) {
    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .app-page-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Resources library */
.resource-library {
    padding-bottom: 4rem;
}

.resource-row {
    padding: 4.75rem 0;
    background: var(--color-soft);
}

.resource-row--dark {
    background:
        radial-gradient(ellipse 620px 360px at 92% 0%, rgba(227, 30, 36, 0.22), transparent 65%),
        linear-gradient(145deg, var(--color-dark-2), var(--color-dark));
    color: rgba(255, 255, 255, 0.82);
}

.resource-row-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.resource-row-header .eyebrow {
    margin-bottom: 0.45rem;
}

.resource-row-header h2 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(1.8rem, 3.4vw, 2.75rem);
}

.resource-row--dark .resource-row-header h2,
.resource-row--dark .resource-principle h3 {
    color: var(--color-white);
}

.resource-rail-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 0.65rem;
}

.resource-rail-control {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-red);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(8, 12, 17, 0.1);
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.resource-rail-control:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: var(--color-red);
    background: var(--color-red);
    color: var(--color-white);
}

.resource-rail-control:focus-visible {
    outline: 3px solid var(--color-red);
    outline-offset: 3px;
}

.resource-rail-control:disabled {
    cursor: default;
    opacity: 0.36;
}

.resource-row--dark .resource-rail-control {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.resource-row--dark .resource-rail-control:hover:not(:disabled) {
    border-color: var(--color-red);
    background: var(--color-red);
}

.resource-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.15rem 0.1rem 1rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(227, 30, 36, 0.78) transparent;
    scrollbar-width: thin;
}

.resource-rail:focus-visible {
    outline: 3px solid var(--color-red);
    outline-offset: 5px;
}

.resource-card {
    flex: 0 0 calc((100% - 3rem) / 4);
    min-width: 0;
    min-height: 302px;
    scroll-snap-align: start;
}

.resource-card > a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: 1.45rem;
    border: 1px solid rgba(26, 27, 34, 0.12);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    color: var(--color-ink);
    box-shadow: 0 12px 32px rgba(8, 12, 17, 0.12);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resource-card > a:hover {
    transform: translateY(-5px);
    border-color: var(--color-red);
    box-shadow: 0 18px 40px rgba(8, 12, 17, 0.2);
}

.resource-card > a:focus-visible {
    outline: 3px solid var(--color-red);
    outline-offset: 4px;
}

.resource-card-number,
.resource-card-type {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-card-number {
    color: rgba(26, 27, 34, 0.38);
}

.resource-card-type {
    margin-top: 1.5rem;
    color: var(--color-red);
}

.resource-card h3 {
    margin: 0.6rem 0 0.7rem;
    color: var(--color-ink);
    font-size: 1.15rem;
    line-height: 1.16;
}

.resource-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.resource-card-link {
    margin-top: auto;
    padding-top: 1.35rem;
    color: var(--color-red);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-card-link span {
    font-size: 1.1em;
}

.resource-card--credited {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(26, 27, 34, 0.12);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: 0 12px 32px rgba(8, 12, 17, 0.12);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resource-card--credited:hover {
    transform: translateY(-5px);
    border-color: var(--color-red);
    box-shadow: 0 18px 40px rgba(8, 12, 17, 0.2);
}

.resource-card--credited > a,
.resource-card--credited > a:hover {
    flex: 1;
    min-height: 0;
    border: 0;
    background: none;
    box-shadow: none;
    transform: none;
}

.resource-card .resource-card-credit {
    margin: 0;
    padding: 0.9rem 1.45rem 1.35rem;
    border-top: 1px solid rgba(26, 27, 34, 0.1);
    font-size: 0.8rem;
}

.resource-card-credit a {
    color: var(--color-red);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.resource-card--contact > a {
    background: linear-gradient(145deg, #fff9f9, #ffffff);
}

.resource-principle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 3rem;
    align-items: end;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.resource-principle .eyebrow {
    margin-bottom: 0.5rem;
}

.resource-principle h3 {
    margin: 0;
    font-size: clamp(1.3rem, 2.1vw, 1.75rem);
}

.resource-principle > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 1020px) {
    .resource-card {
        flex-basis: calc((100% - 2rem) / 3);
    }
}

@media (max-width: 760px) {
    .resource-library {
        padding-bottom: 2.5rem;
    }

    .resource-row {
        padding: 3.25rem 0;
    }

    .resource-row-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .resource-rail-control {
        width: 48px;
        height: 48px;
    }

    .resource-card {
        flex-basis: min(84vw, 335px);
        min-height: 282px;
    }

    .resource-principle {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.75rem;
    }
}

/* Oct 2026 client review: white hover panel with black text */
.product-hotspot-panel {
    color: #000;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-left: 3px solid var(--color-red);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.product-hotspot-panel h2 { color: #000; }
.product-hotspot-panel p { color: #000; }
.product-hotspot-panel .product-hotspot-reference { color: var(--color-red-dark); }

/* Oct 2026 client review: darker, larger card text (light grey looked blurry) */
.app-card p { color: var(--color-ink); font-size: 1rem; line-height: 1.55; }
.app-list li { color: var(--color-ink); font-size: 0.95rem; }
.use-case-card > p { color: var(--color-ink); font-size: 1.05rem; line-height: 1.6; }
.use-case-points li { font-size: 1rem; }
.hero-side-list-bad li { color: rgba(255, 255, 255, 0.82); }
.hero-side-label-bad { color: rgba(255, 255, 255, 0.82); }

/* ECE R107 page: UNECE logo */
.unece-logo { display: block; width: 110px; height: 110px; object-fit: contain; margin: 0 0 1rem; }
.unece-logo-inline { margin: 0 auto 1rem; width: 96px; height: 96px; }

/* Products page: installation instruction buttons (left and right) */
.installation-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
@media (max-width: 640px) { .installation-actions { flex-direction: column; align-items: stretch; } .installation-actions .btn { text-align: center; } }

/* About timeline: document / image tiles that click through to the source documents */
.tl-slide-img--docs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); justify-content: center; gap: 0.75rem; padding: 0.75rem; background: var(--color-soft); color: var(--color-ink); font-size: 1rem; font-weight: 400; letter-spacing: normal; }
.tl-slide-img--docs::after { display: none; }
.tl-slide-img--docs[data-count="1"] { grid-auto-columns: minmax(0, 62%); }
.tl-doc { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #fff; border: 1px solid var(--color-line); border-radius: 6px; overflow: hidden; color: var(--color-ink); text-decoration: none; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
a.tl-doc:hover, a.tl-doc:focus-visible { border-color: var(--color-red); box-shadow: var(--shadow-hover); transform: translateY(-2px); outline: none; }
.tl-doc-frame { position: relative; flex: 1 1 auto; min-height: 0; background: #fff; }
.tl-slide-img--docs .tl-doc-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: top center; }
.tl-doc--photo .tl-doc-frame img { object-fit: cover; object-position: center; }
.tl-doc--logo .tl-doc-frame img { object-fit: contain; object-position: center; padding: 0.75rem; box-sizing: border-box; }
.tl-doc-cap { display: flex; justify-content: space-between; align-items: center; gap: 0.4rem; padding: 0.45rem 0.6rem; border-top: 1px solid var(--color-line); background: #fff; font-family: var(--font-main); font-size: 0.78rem; font-weight: 700; line-height: 1.25; color: var(--color-ink); }
.tl-doc-open { flex: none; color: var(--color-red); font-weight: 800; }
@media (max-width: 768px) {
    .tl-slide-img--docs { aspect-ratio: auto; }
    .tl-slide-img--docs .tl-doc-frame { flex: none; aspect-ratio: 3 / 4; }
    .tl-slide-img--docs[data-count="1"] { grid-auto-columns: minmax(0, 70%); }
    .tl-doc-cap { flex-direction: column; align-items: flex-start; font-size: 0.7rem; }
}

/* About: team photo */
.team-photo-img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); }
.team-photo-caption { font-size: 0.95rem; color: var(--color-ink) !important; }
.hero-comparison-cards .hero-side-img-new { padding: 0.4rem; }
.tl-slide-img--docs { grid-template-rows: minmax(0, 1fr); }
.tl-slide-current .tl-slide-img--docs { background: var(--color-soft); }
@media (max-width: 768px) { .tl-slide-img--docs { grid-template-rows: none; } }
.tl-slide-img--docs { align-items: stretch; }

/* About timeline: "Read more" disclosure */
.tl-more { margin-top: 0.35rem; }
.tl-more summary { cursor: pointer; color: var(--color-red); font-weight: 800; font-size: 0.9rem; list-style: none; }
.tl-more summary::-webkit-details-marker { display: none; }
.tl-more summary::after { content: " +"; }
.tl-more[open] summary::after { content: " −"; }
.tl-more p { margin: 0.5rem 0 0; font-size: 0.95rem; line-height: 1.5; color: var(--color-ink); }

/* About timeline: tiles sized to their own page ratio (--ar) so documents fill the frame with no dead white space */
.tl-slide-img--docs { display: flex; justify-content: center; align-items: center; aspect-ratio: auto; grid-template-rows: none; padding: 0.75rem; gap: 0.75rem; }
.tl-slide-img--docs .tl-doc { flex: var(--ar, 0.75) 1 0; max-width: calc(400px * var(--ar, 0.75)); }
.tl-slide-img--docs .tl-doc-frame { flex: none; aspect-ratio: var(--ar, 0.75); }
.tl-slide-img--docs .tl-doc-frame img { object-fit: cover; object-position: top center; }
.tl-slide-img--docs .tl-doc--logo .tl-doc-frame img { object-fit: contain; object-position: center; }
.tl-slide:has(.tl-slide-img--docs[data-count="3"]) { grid-template-columns: 1.4fr 1fr; }
.tl-doc-zoom { cursor: zoom-in; }
.tl-doc-zoom:focus-visible { outline: 2px solid var(--color-red); outline-offset: 2px; }
.tl-doc-zoom .tl-doc-cap::after { content: "Enlarge \2922"; flex: none; color: var(--color-red); font-weight: 800; }
@media (max-width: 768px) {
    .tl-slide-img--docs .tl-doc-frame { aspect-ratio: var(--ar, 0.75); }
    .tl-slide-img--docs .tl-doc { max-width: calc(300px * var(--ar, 0.75)); }
    .tl-slide:has(.tl-slide-img--docs[data-count="3"]) { grid-template-columns: 1fr; }
}

/* Image lightbox */
.tl-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1.5rem; background: rgba(10, 12, 20, 0.88); cursor: zoom-out; }
.tl-lightbox[hidden] { display: none; }
.tl-lightbox img { max-width: min(96vw, 1100px); max-height: 90vh; width: auto; height: auto; background: #fff; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.tl-lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--color-ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* Safety punch / emergency hammer alternative section + imitation notice */
.section-alternative { padding-block: 3rem; }
.imitation-notice { max-width: 46rem; margin: 1.5rem auto 0; padding: 0.6rem 1rem; border-left: 3px solid var(--color-red); background: rgba(0, 0, 0, 0.04); font-size: 0.8rem; line-height: 1.5; color: var(--color-muted); }
.imitation-notice strong { color: var(--color-ink); }

/* Analytics consent banner (js/analytics.js) */
.consent-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 900; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; max-width: 56rem; margin-inline: auto; padding: 1rem 1.25rem; background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-lg); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); }
.consent-banner p { flex: 1 1 22rem; margin: 0; font-size: 0.85rem; line-height: 1.5; color: var(--color-ink); }
.consent-banner-actions { display: flex; gap: 0.5rem; }
.consent-banner .btn { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
