/* ============================================================
   TACTICRATE v3 — Design System
   Brand: Safe by default. Modular by design.
   Mode: Dark — Stark Black primary
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

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

/* ── Tokens ── */
:root {
    --color-black: #0D0D0D;
    --color-orange: #FB7F04;
    --color-grey: #BABABA;
    --color-white: #F2F2F2;

    /* TILT SOURCE OF TRUTH (2deg parallel geometry) */
    --tape-tilt: 2deg;
    --tape-v-offset: 3.49vw;
    /* 100vw * tan(2deg) */

    --color-orange-80: rgba(251, 127, 4, 0.80);
    --color-orange-60: rgba(251, 127, 4, 0.60);
    --color-orange-40: rgba(251, 127, 4, 0.40);
    --color-orange-20: rgba(251, 127, 4, 0.20);

    --color-black-80: rgba(13, 13, 13, 0.80);
    --color-black-60: rgba(13, 13, 13, 0.60);
    --color-black-40: rgba(13, 13, 13, 0.40);
    --color-black-20: rgba(13, 13, 13, 0.20);

    --color-grey-80: rgba(186, 186, 186, 0.80);
    --color-grey-60: rgba(186, 186, 186, 0.60);
    --color-grey-40: rgba(186, 186, 186, 0.40);
    --color-grey-20: rgba(186, 186, 186, 0.20);

    --color-white-80: rgba(242, 242, 242, 0.80);
    --color-white-60: rgba(242, 242, 242, 0.60);
    --color-white-40: rgba(242, 242, 242, 0.40);
    --color-white-20: rgba(242, 242, 242, 0.20);

    --font-display: 'QB One', sans-serif;
    --font-body: 'Barlow', sans-serif;

    --sp-xs: 0.5rem;
    --sp-sm: 1rem;
    --sp-md: 2rem;
    --sp-lg: 4rem;
    --sp-xl: 8rem;
    --sp-2xl: 12rem;
}

/* ── QB One @font-face ── */
@font-face {
    font-family: 'QB One';
    src: url('../assets/fonts/QBOne-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'QB One';
    src: url('../assets/fonts/QBOne-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'QB One';
    src: url('../assets/fonts/QBOne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

/* ── Base ── */
body {
    background-color: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    line-height: 1.1;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-black);
}

strong,
b {
    font-weight: 700;
    color: var(--color-black);
}

p {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--color-black);
    max-width: 52ch;
    margin-bottom: 1.5rem;
}

/* ── HTML Baseline ── */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for sticky header */
}

/* ── NAV ── */
.site-nav {
    position: fixed;
    /* Forced persistence */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.site-nav.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    position: relative;
    height: 20px;
    /* Scaled down for better persistence */
    width: 150px;
    text-decoration: none;
}

.nav-brand img {
    height: 100%;
    width: auto;
    position: absolute;
    left: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.logo-symbol {
    height: 140% !important;
    top: -20%;
    opacity: 0;
    transform: translateX(-10px);
}

.logo-wordmark {
    opacity: 1;
    transform: translateX(0);
}

.site-nav.scrolled .logo-symbol {
    opacity: 1;
    transform: translateX(0);
}

.site-nav.scrolled .logo-wordmark {
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-orange);
}

.nav-brand.active-hero {
    /* Optional special state for logo when on hero section */
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.nav-scope {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--color-black);
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-scope:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.nav-scope.active {
    color: var(--color-orange);
}

/* ── Mobile Nav Handling ── */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        /* Persistent compact view for mobile */
    }
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-orange);
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px var(--color-orange);
    animation: alertPulse 2s infinite ease-in-out;
}

@keyframes alertPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--color-orange);
    }

    50% {
        opacity: 0.4;
        box-shadow: 0 0 2px var(--color-orange);
    }
}

/* ── Full-Width Image ── */
.full-width-image {
    width: 100%;
    background-color: var(--color-white);
}

.full-width-image__media-container {
    width: 100%;
    overflow: hidden;
    background-color: var(--color-white);
}

.full-width-image__media {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* MOLLE grid: displayed oversized and centered */
.molle-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.molle-grid {
    width: 140%;
    max-width: none;
    flex-shrink: 0;
}

/* ── Hero Banner (Image with Text Overlay) ── */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-color: var(--color-black);
    /* Fallback */
    overflow: hidden;
}

.hero-banner__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Subtle gradient to ensure white text legibility over diverse backgrounds */
.hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 13, 13, 0.7) 0%, rgba(13, 13, 13, 0.2) 50%, rgba(13, 13, 13, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-banner__content {
    position: relative;
    z-index: 2;
    padding: var(--sp-xl) 2rem;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-banner__inner {
    max-width: 720px;
}

.hero-banner .text-white {
    color: var(--color-white);
}

.hero-banner p.text-white strong {
    color: var(--color-white);
}

.hero-banner .text-accent.text-white {
    color: rgba(242, 242, 242, 0.8);
    /* Slightly softer white for accent */
    margin-bottom: var(--sp-md);
    /* Increased space between accent and H1 */
}

.hero-banner h1.text-white {
    color: var(--color-white);
    font-size: clamp(1.75rem, 4.5vw, 3.75rem);
    /* Reduced to 50% of previous size per request */
    line-height: 0.95;
    margin-bottom: var(--sp-md);
}

.hero-banner__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Elegant, long transition */
}

.hero-banner:hover .hero-banner__media {
    transform: scale(1.05);
    /* Subtle zoom effect on hover */
}

/* ── Full-Width Text ── */
.full-width-text {
    background-color: var(--color-white);
    padding: var(--sp-xl) 0;
    display: flex;
    justify-content: flex-start;
}

.full-width-text.text-center {
    justify-content: center;
    text-align: center;
}

/* Center modular system section text */
#modular .full-width-text__inner,
#construction-specs .full-width-text__inner {
    text-align: center;
    margin: 0 auto;
}

#modular .full-width-text__inner>p,
#construction-specs .full-width-text__inner>p {
    margin-inline: auto;
}

/* Compact variant: reduced vertical padding, flushes into adjacent image */
.full-width-text.section-compact {
    padding-top: var(--sp-lg);
    padding-bottom: 0;
}

.full-width-text.section-contrast {
    background-color: var(--color-grey);
}

.full-width-text.section-contrast h2,
.full-width-text.section-contrast h3,
.full-width-text.section-contrast strong,
.full-width-text.section-contrast b {
    color: var(--color-black);
}

.full-width-text.section-contrast p,
.full-width-text.section-contrast .text-accent {
    color: var(--color-black);
}

.full-width-text.section-contrast .door-config-display p {
    color: var(--color-black);
}

.full-width-text__inner {
    max-width: 800px;
    width: 100%;
    padding: 0 2rem;
}

.full-width-text__inner.wide {
    max-width: 1200px;
}

/* ── Origin Split Layout ── */
.origin-split {
    background-color: var(--color-white);
    padding: var(--sp-xl) 0;
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
    max-width: 100%;
    overflow: hidden;
}

.origin-split__content {
    flex: 0 0 45%;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.origin-split__content .text-accent {
    display: block;
    margin-bottom: var(--sp-md);
}

.origin-split__content h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 var(--sp-md) 0;
}

.origin-split__content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: var(--sp-md) 0 0 0;
    color: var(--color-text);
}

.origin-split__diagram {
    flex: 0 0 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

.origin-split__diagram svg,
.origin-split__image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1100px;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .origin-split {
        flex-direction: column;
        align-items: center;
    }

    .origin-split__content {
        flex: 0 0 100%;
        max-width: 800px;
    }

    .origin-split__diagram {
        flex: 0 0 100%;
        max-width: 600px;
    }
}

.full-width-text__inner h1 {
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    /* Reduced to 50% of previous size for consistency with Hero */
    text-transform: uppercase;
    margin-bottom: var(--sp-md);
    letter-spacing: -0.02em;
}

.full-width-text__inner h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: var(--sp-md);
}

.full-width-text__inner h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

/* ── Text Accent Label ── */
.text-accent {
    color: var(--color-orange);
    text-transform: uppercase;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: var(--sp-sm);
}

/* ── Typography Utilities ── */
.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-white {
    color: var(--color-white) !important;
}

/* Tilted Cut-Path Utilities — Using Sync Variables for Absolute Parallelism */
.cut-bottom-neg {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--tape-v-offset)));
    margin-bottom: calc(-0.5 * var(--tape-v-offset)) !important;
    /* Half-pull for centering */
    z-index: 5;
}

.cut-top-pos {
    clip-path: polygon(0 0, 100% var(--tape-v-offset), 100% 100%, 0 100%);
    margin-top: calc(-0.5 * var(--tape-v-offset)) !important;
    /* Half-pull for centering */
    z-index: 5;
}

/* Final Precision Overrides for Dividers (Centered on Cut Line) */
.tape-divider--hero,
.tape-divider--footer {
    height: 0;
    z-index: 100;
    overflow: visible;
    margin-top: 0 !important;
    /* Automatically centered between the 0.5x pulls */
    margin-bottom: 0 !important;
    position: relative;
    top: 72px;
    /* Precision downward shift as requested */
}

.cta-section.cut-top-pos {
    margin-top: calc(-0.5 * var(--tape-v-offset)) !important;
    clip-path: polygon(0 0, 100% var(--tape-v-offset), 100% 100%, 0 100%);
}

.split-section.cut-bottom-neg {
    margin-bottom: calc(-0.5 * var(--tape-v-offset)) !important;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--tape-v-offset)));
}

/* ── Accessibility ── */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 3px var(--color-orange);
}

/* ── Two-Column Grid ── */
.text-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-md);
    margin-top: var(--sp-md);
}

@media (min-width: 768px) {
    .text-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .text-columns.cols-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .text-columns.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.text-columns p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--color-orange);
    stroke: currentColor;
}

/* ── Door Cards (field configuration) ── */
.door-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-md);
    margin-top: var(--sp-md);
}

@media (min-width: 640px) {
    .door-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.door-card {
    padding: var(--sp-md);
    border: 1px solid rgba(13, 13, 13, 0.12);
}

.door-diagram {
    width: 100%;
    max-width: 160px;
    margin-bottom: var(--sp-sm);
}

.door-diagram svg {
    width: 100%;
    height: auto;
    display: block;
}

.door-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.door-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ── Button ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    height: 56px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.btn-primary:hover {
    background-color: var(--color-orange);
    color: var(--color-black);
}

.btn-primary.inverse {
    background-color: var(--color-orange);
    color: var(--color-black);
}

.btn-primary.inverse:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* ── Hover Zoom ── */
.hover-zoom-container {
    overflow: hidden;
}

.hover-zoom-target {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-zoom-container:hover .hover-zoom-target,
.hover-zoom-target:hover {
    transform: scale(1.03);
}

/* ── Product Cards Grid ── */
.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-lg);
    padding: var(--sp-xl) 2rem;
    width: 100%;
}

.product-card {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


.product-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 12px 32px rgba(251, 127, 4, 0.18);
    transform: translateY(-6px);
}

.product-card__image-container {
    width: 100%;
    aspect-ratio: 1;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__content {
    padding: var(--sp-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card__title {
    font-size: 1.6875rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 var(--sp-sm) 0;
    line-height: 1.2;
}

.product-card__description {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ── Featured Card (Flagship) ── */
.product-card--featured {
    border-color: var(--color-orange);
    position: relative;
}

.product-card__badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #FB7F04 0%, #FFB347 100%);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(251, 127, 4, 0.25);
    z-index: 10;
}

.product-card__badge-text {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

    .product-card__title {
        font-size: 1.375rem;
    }
}

@media (max-width: 768px) {
    .product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-md);
        padding: var(--sp-lg) 2rem;
    }

    .product-card__image-container {
        height: 180px;
    }

    .product-card__content {
        padding: var(--sp-md);
    }

    .product-card__title {
        font-size: 1.125rem;
    }
}

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

/* ── Feature Items (Icon + Title + Text) ── */
.feature-items {
    gap: var(--sp-lg);
    padding: var(--sp-xl) 2rem;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-self: center;
}

.feature-item__icon {
    width: 48px;
    height: 48px;
    color: var(--color-orange);
    margin-bottom: var(--sp-md);
    flex-shrink: 0;
}

.feature-item__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 var(--sp-sm) 0;
    line-height: 1.2;
}

.feature-item__description {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ── Split Section ── */
.split-section {
    display: grid;
    grid-template-columns: 1fr;
    background-color: var(--color-white);
}

@media (min-width: 900px) {
    .split-section {
        grid-template-columns: 1fr 1fr;
    }
}

.split-content {
    padding: var(--sp-xl) 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.split-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.split-image-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-xl) var(--sp-md);
    background-color: var(--color-white);
    overflow: hidden;
}

.split-image {
    display: block;
    width: 100%;
    max-width: 640px;
    /* Fixed maximum scale for high-end look */
    height: auto;
    object-fit: contain;
}

/* ── CTA Section ── */
.cta-section {
    position: relative;
    background-color: var(--color-black);
    padding: calc(var(--sp-xl) + 54px) 2rem var(--sp-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/08_Footer/Topo Background.svg');
    background-size: cover;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.cta-section>* {
    position: relative;
    z-index: 1;
}

.cta-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--color-white);
}

.cta-sub {
    color: var(--color-grey);
    margin-bottom: var(--sp-md);
    text-align: center;
    max-width: 600px;
}

/* ── CTA Form Architecture ── */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 520px;
    margin-top: 1rem;
}

@media (min-width: 600px) {
    .cta-form {
        flex-direction: row;
        align-items: stretch;
    }
}

/* High-Precision Input Glow Frame — Purely atmospheric chamfer */
.form-input-frame {
    position: relative;
    flex: 1;
    height: 56px;
    background-color: transparent;
    transition: filter 0.3s ease;
}

.form-input-frame:focus-within,
.form-input-frame:has(.form-input:not(:placeholder-shown)) {
    /* Enhanced 2x Glow — Layered for maximum industrial visibility */
    filter:
        drop-shadow(0 0 15px rgba(251, 127, 4, 0.7)) drop-shadow(0 0 5px rgba(251, 127, 4, 0.4));
}

/* Inner Input — Chamfered industrial fill */
.form-input {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 1.5rem;
    border: none;
    background-color: #f5f5f5;
    color: var(--color-black);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    line-height: 56px;
    /* Restored industrial chamfer */
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    transition: background-color 0.2s ease;
}

.form-input:focus {
    background-color: #ffffff;
}

.form-input:focus {
    background-color: #ffffff;
}

.form-input:focus {
    background-color: #ffffff;
}

.cta-badge {
    margin-top: 4rem !important;
    /* Standardized industrial gap above badge */
}

/* ── Rotating Badge ── */
.rotating-badge {
    width: 150px;
    height: 150px;
    animation: spinSlow 30s linear infinite;
}

@keyframes spinSlow {
    100% {
        transform: rotate(360deg);
    }
}

/* ── CTA Footer (Balanced Geometry) ── */
.cta-footer {
    margin-top: 4rem !important;
    /* Standardized industrial gap below badge */
    width: 100%;
    border-top: none;
    padding-top: 0;
    text-align: center;
}

.cta-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    /* Standardized industrial gap */
}

.cta-footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(242, 242, 242, 0.5);
    /* Light industrial grey */
    font-family: var(--font-body);
    transition: color 0.2s ease, opacity 0.2s ease;
}

.cta-footer-links a:hover {
    color: var(--color-orange);
    opacity: 1;
}

.cta-footer-links svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.cta-footer-mission {
    font-size: 0.9375rem;
    color: rgba(242, 242, 242, 0.5);
    /* Unified mission visibility */
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    /* Standardized industrial gap */
    font-family: var(--font-body);
    text-align: center;
}

.cta-footer-copyright {
    display: block;
    width: 100%;
    font-size: 0.8125rem;
    color: rgba(242, 242, 242, 0.35);
    /* Subtle but unified baseline */
    font-family: var(--font-body);
    text-align: center;
    margin: 0 auto;
}

.copyright-emphasis {
    color: var(--color-orange);
    margin-left: 0.4rem;
    font-weight: 500;
}

/* ── Tape Marquee ── */
html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

.tape-container {
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: -4px;
    /* Back to previous tight interlock */
    width: 100%;
    margin-top: -24px;
    margin-bottom: -24px;
    z-index: 100;
    position: relative;
    pointer-events: none;
    padding: 0;
}

.tape-track {
    display: flex;
    width: max-content;
    pointer-events: auto;
    /* Scale and shift slightly to ensure no edge-of-track artifacts are visible on rotation */
    transform-origin: center;
}

/* Sections above the tape sit below it */
.hero-banner+.tape-container,
.full-width-image+.tape-container,
.split-section+.tape-container {
    margin-top: -24px;
}

/* Sections below the tape sit below it */
.tape-container+.full-width-text,
.tape-container+.full-width-image,
.tape-container+.split-section,
.tape-container+.cta-section {
    margin-top: -24px;
}

.tape-track {
    display: flex;
    width: max-content;
}

.tape-track img {
    height: 48px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: -20px;
}

.tape-track--left {
    animation: scrollLeftWithTilt 60s linear infinite;
}

.tape-track--right {
    animation: scrollRightWithTilt 60s linear infinite;
}

@keyframes scrollLeftWithTilt {
    0% {
        transform: rotate(var(--tape-tilt)) scale(1.15) translateX(0);
    }

    100% {
        transform: rotate(var(--tape-tilt)) scale(1.15) translateX(-50%);
    }
}

@keyframes scrollRightWithTilt {
    0% {
        transform: rotate(var(--tape-tilt)) scale(1.15) translateX(-50%);
    }

    100% {
        transform: rotate(var(--tape-tilt)) scale(1.15) translateX(0);
    }
}

/* ── Placeholder (for missing assets during build) ── */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    background-color: rgba(242, 242, 242, 0.04);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-grey-40);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    outline: 1px dashed rgba(242, 242, 242, 0.1);
    outline-offset: -10px;
}

/* ── Tacti Callouts Interactive iframe ── */
.tacti-callouts-wrapper {
    width: 100%;
    aspect-ratio: 1041 / 642;
    /* Matched to SVG viewBox for full display */
    background-color: #ffffff;
}

.tacti-callouts-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── Product Callout Hotspots ── */
.product-callouts {
    position: relative;
}

.callout-dot {
    position: absolute;
    left: var(--dot-x);
    top: var(--dot-y);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-orange);
    border: 2px solid #fff;
    cursor: pointer;
    transform: translate(-50%, -50%);
    padding: 0;
    /* pulse ring */
}

.callout-dot::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: var(--color-orange);
    opacity: 0.25;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.25;
    }

    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.callout-bubble {
    position: absolute;
    left: 50%;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    line-height: 1.4;
    padding: 0.625rem 0.875rem;
    white-space: normal;
    width: max-content;
    max-width: 250px;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) translateY(4px) scale(0.96);
    transform-origin: bottom center;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
    z-index: 10;
}

.callout-bubble strong {
    display: block;
    color: var(--color-orange);
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

/* Position variants */
.callout-bubble--top {
    bottom: calc(100% + 10px);
}

.callout-bubble--bottom {
    top: calc(100% + 10px);
    transform: translateX(-50%) translateY(-4px) scale(0.96);
    transform-origin: top center;
}

.callout-bubble--right {
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(4px) scale(0.96);
    transform-origin: left center;
}

.callout-bubble--left {
    right: calc(100% + 10px);
    left: auto;
    top: 50%;
    transform: translateY(-50%) translateX(-4px) scale(0.96);
    transform-origin: right center;
}

/* Show on hover / focus */
.callout-dot:hover .callout-bubble,
.callout-dot:focus .callout-bubble {
    opacity: 1;
}

.callout-dot:hover .callout-bubble--top,
.callout-dot:focus .callout-bubble--top {
    transform: translateX(-50%) translateY(0) scale(1);
}

.callout-dot:hover .callout-bubble--bottom,
.callout-dot:focus .callout-bubble--bottom {
    transform: translateX(-50%) translateY(0) scale(1);
}

.callout-dot:hover .callout-bubble--right,
.callout-dot:focus .callout-bubble--right {
    transform: translateY(-50%) translateX(0) scale(1);
}

.callout-dot:hover .callout-bubble--left,
.callout-dot:focus .callout-bubble--left {
    transform: translateY(-50%) translateX(0) scale(1);
}

/* ── GSAP reveal base state ── */
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
}