/*
 * Kyro Metalix — Industrial Noir Design Specification
 * Color Tokens, Typography, Layout & Interactive Components
 */

:root {
    /* ============================================================
       Design template tokens
       ============================================================ */
    --bg: #0A0A0B;
    --surface: #141416;
    --border: #1F2023;
    --red: #D62828;
    --red-deep: #9E1B1B;
    --steel: #A7ABB2;
    --mist: #F4F4F5;
    --white: #FFFFFF;

    --font-head: "Outfit", "Poppins", sans-serif;
    --font-body: "Inter", sans-serif;

    --radius: 14px;
    --glow: 0 0 32px rgba(214, 40, 40, 0.35);
    --steel-line: linear-gradient(90deg, #6b6e75, #d9dbe0, #6b6e75);

    /* ============================================================
       Brand aliases — legacy names kept so every existing rule resolves
       ============================================================ */
    --kyro-red: var(--red);
    --kyro-red-dark: var(--red-deep);
    --kyro-red-glow: rgba(214, 40, 40, 0.4);
    --kyro-black: var(--bg);
    --kyro-charcoal: var(--surface);
    --kyro-steel: var(--steel);
    --kyro-steel-light: #C7CBCF;
    --kyro-white: var(--mist);

    /* Hairlines & Glass */
    --border-hairline: rgba(255, 255, 255, 0.08);
    --border-hairline-strong: rgba(255, 255, 255, 0.16);
    --glass-bg: rgba(20, 20, 22, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-display: var(--font-head);
}

/* Reset & Core Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--kyro-black);
    color: var(--kyro-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--kyro-white);
}

.section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid var(--border-hairline);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.text-center {
    text-align: center;
}

.section-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--kyro-red);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--kyro-steel);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--kyro-red);
    color: #ffffff;
    border-color: var(--kyro-red);
}

.btn-primary:hover {
    background-color: var(--kyro-red-dark);
    border-color: var(--kyro-red-dark);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--kyro-white);
    border-color: var(--border-hairline-strong);
}

.btn-outline:hover {
    border-color: var(--kyro-white);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--kyro-charcoal);
    color: var(--kyro-steel-light);
    border-color: var(--border-hairline);
}

.btn-secondary:hover {
    color: var(--kyro-white);
    border-color: var(--kyro-steel);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-hairline);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.kyro-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 2px;
    color: var(--kyro-white);
    line-height: 1;
}

.metalix-text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--kyro-red);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-item {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--kyro-steel-light);
    transition: color 0.2s ease;
    padding: 8px 0;
    position: relative;
}

.nav-item:hover, .nav-item.active {
    color: var(--kyro-white);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--kyro-red);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--kyro-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--kyro-charcoal);
    border-bottom: 1px solid var(--border-hairline-strong);
    padding: 30px 5%;
    display: none;
    z-index: 999;
}

.mobile-menu.open {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--kyro-white);
}

/* Hero — clean-plate video + live HTML copy (SEO/a11y/editable) */
.hero {
    /* Home carousel banner — 1200 x 400 on desktop, 360 x 120 on phones */
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 400px;
    margin: 76px auto 0;   /* clears the fixed navbar */
    background: var(--kyro-black);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    transform: none;
    will-change: transform;
}

/* One consistent left-side dark gradient for text contrast */
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 5, 6, 0.82) 0%, rgba(5, 5, 6, 0.58) 26%, rgba(5, 5, 6, 0.14) 56%, rgba(5, 5, 6, 0) 74%),
        linear-gradient(180deg, rgba(5, 5, 6, 0.35) 0%, rgba(5, 5, 6, 0) 18%, rgba(5, 5, 6, 0) 86%, rgba(5, 5, 6, 0.28) 100%);
}

/* Scene accents (fade in per data-active, set by JS) */
.hero-fx {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.fx-amber {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    background: radial-gradient(58% 62% at 26% 88%, rgba(255, 132, 40, 0.16), rgba(0, 0, 0, 0) 70%);
}

.fx-frost {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    box-shadow: inset 0 0 180px rgba(190, 220, 255, 0.22), inset 0 0 40px rgba(190, 220, 255, 0.12);
}

.fx-ripple {
    position: absolute;
    left: 24%;
    bottom: 16%;
    width: 220px;
    height: 90px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero[data-active="3"] .fx-amber { opacity: 1; animation: k-amber 2.6s ease-in-out infinite; }
@keyframes k-amber {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}
.hero[data-active="4"] .fx-frost { opacity: 1; }

/* --- Live copy stack --- */
.hero-copy {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
}

.hero-scene {
    position: absolute;
    left: clamp(24px, 6vw, 90px);
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 620px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hero-scene.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-head {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.14;
    color: var(--mist);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
    margin: 0 0 22px;
}

/* Masked line reveal: each line rises out of a clipped mask */
.hero-line {
    display: block;
    overflow: hidden;
}

.hero-line-inner {
    display: inline-block;
    transform: translateY(112%);
}

.hero-scene.is-active .hero-line:nth-child(1) .hero-line-inner { animation: k-lineup 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards; }
.hero-scene.is-active .hero-line:nth-child(2) .hero-line-inner { animation: k-lineup 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards; }
@keyframes k-lineup {
    to { transform: translateY(0); }
}

/* Brand red on the LAST word — brochure rule */
.hero-red {
    font-style: normal;
    color: var(--red);
    opacity: 0;
}

.hero-scene.is-active .hero-red { animation: k-redword 0.35s ease 0.55s forwards; }
@keyframes k-redword {
    to { opacity: 1; }
}

/* Red underline draw left -> right */
.hero-underline {
    display: block;
    width: 88px;
    height: 3px;
    margin: 0 0 18px;
    border-radius: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left center;
    position: relative;
}

.hero-scene.is-active .hero-underline { animation: k-underline 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards; }
@keyframes k-underline {
    to { transform: scaleX(1); }
}

/* spark tip flushes once at the end of the draw */
.hero-underline::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 7px;
    height: 7px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px 3px rgba(214, 40, 40, 0.75);
    opacity: 0;
}

.hero-scene.is-active .hero-underline::after { animation: k-tip 0.35s ease 0.72s; }
@keyframes k-tip {
    0% { opacity: 0; transform: scale(0.4); }
    45% { opacity: 1; transform: scale(1.25); }
    100% { opacity: 0; transform: scale(0.5); }
}

/* Sublines: larger + brighter (legibility on busy steel) */
.hero-sub {
    font-size: 1.18rem;
    color: #DFE3E8;
    font-weight: 400;
    line-height: 1.55;
    max-width: 480px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(10px);
}

.hero-scene.is-active .hero-sub { animation: k-sub 0.5s ease 0.6s forwards; }
@keyframes k-sub {
    to { opacity: 1; transform: translateY(0); }
}

.temp-readout {
    display: inline-block;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* --- End card (scene 6) --- */
.hero-endbrand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    opacity: 0;
}

.hero-scene.is-active .hero-endbrand { animation: k-fadein 0.5s ease 0.35s forwards; }
@keyframes k-fadein {
    to { opacity: 1; }
}

.endbrand-text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 3px;
    color: var(--mist);
    position: relative;
}

.endbrand-text b {
    color: var(--red);
    font-weight: 700;
}

/* logo glint: one light sweep as the end card lands */
.hero-endbrand::after {
    content: "";
    position: absolute;
    top: -6px;
    bottom: -6px;
    width: 64px;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-18deg);
    opacity: 0;
    pointer-events: none;
}

.hero-scene.is-active .hero-endbrand::after { animation: k-glint 0.9s ease 0.6s; }
@keyframes k-glint {
    0% { opacity: 1; left: -20%; }
    100% { opacity: 1; left: 120%; }
}

.hero-intent {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 1px;
    color: var(--red);
    margin: 0 0 8px;
    opacity: 0;
}

.hero-scene.is-active .hero-intent { animation: k-fadein 0.45s ease 0.7s forwards; }

.hero-intent-sub {
    font-size: 1rem;
    color: #DFE3E8;
    margin: 0 0 20px;
    opacity: 0;
}

.hero-scene.is-active .hero-intent-sub { animation: k-fadein 0.45s ease 0.85s forwards; }

/* Category pills stagger in as the call to action */
.hero-pills {
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-hairline-strong);
    background: rgba(10, 10, 11, 0.55);
    color: var(--mist);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.pill:hover {
    border-color: var(--red);
    background: rgba(214, 40, 40, 0.14);
}

.pill-dot { color: var(--steel); opacity: 0; }

.hero-scene.is-active .hero-pills .pill:nth-child(1) { animation: k-pill 0.4s cubic-bezier(0.16, 1, 0.3, 1) 1.0s forwards; }
.hero-scene.is-active .hero-pills .pill:nth-child(3) { animation: k-pill 0.4s cubic-bezier(0.16, 1, 0.3, 1) 1.12s forwards; }
.hero-scene.is-active .hero-pills .pill:nth-child(5) { animation: k-pill 0.4s cubic-bezier(0.16, 1, 0.3, 1) 1.24s forwards; }
.hero-scene.is-active .hero-pills .pill-dot { animation: k-fadein 0.3s ease 1.2s forwards; }
@keyframes k-pill {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Chapter progress bars (clickable) --- */
.hero-chapters {
    position: absolute;
    z-index: 4;
    left: clamp(24px, 6vw, 90px);
    bottom: 34px;
    display: flex;
    gap: 8px;
    max-width: 560px;
}

.hero-chapter {
    position: relative;
    width: 34px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, height 0.15s ease;
}

.hero-chapter:hover { height: 6px; }
.hero-chapter .fill {
    position: absolute;
    inset: 0;
    width: 0%;
    background: var(--red);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(214, 40, 40, 0.55);
}

/* Mouse parallax translated via JS on media/copy */
.hero.parallaxing .hero-video { will-change: transform; }
.hero.parallaxing .hero-copy { will-change: transform; }

/* --- Reduced motion: poster + simple fades, no video --- */
@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
    .hero-media {
        background: url("assets/hero_v4_poster.jpg") center / cover no-repeat #070708;
    }
    .fx-amber, .fx-frost { display: none; }
    .hero-line-inner { transform: none; animation: none !important; }
    .hero-red { opacity: 1 !important; animation: none !important; }
    .hero-underline { transform: scaleX(1); animation: none !important; }
    .hero-underline::after { display: none; }
    .hero-sub,
    .hero-endbrand,
    .hero-intent,
    .hero-intent-sub,
    .hero-pills .pill,
    .hero-pills .pill-dot { opacity: 1 !important; transform: none; animation: none !important; }
}

/* Stat Strip */
.stat-strip {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
    backdrop-filter: blur(10px);
    padding: 48px 0;
    margin-top: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--border-hairline);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--kyro-red);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--kyro-steel-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.vm-card {
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    padding: 40px;
    border-radius: var(--radius);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-4px);
    border-color: var(--kyro-red-glow);
}

.vm-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.vm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--kyro-white);
}

.vm-card p {
    color: var(--kyro-steel);
    font-size: 1rem;
    line-height: 1.7;
}

/* About Kyro — one large overview card on the left, Vision + Mission stacked on the right */
.about-layout {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.about-main-card {
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    border-top: 3px solid var(--kyro-red);
    border-radius: var(--radius);
    padding: 48px;
}

.about-main-card p {
    margin: 0;
    color: var(--kyro-steel-light);
    font-size: 1.02rem;
    line-height: 1.85;
}

.about-side-cards {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

.subsection-title {
    font-size: 1.75rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--kyro-red);
}

.subsection-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    border-top: 3px solid var(--kyro-red);
    padding: 30px 24px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--kyro-steel);
    line-height: 1.6;
}

/* Stepper */
.stepper-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.step-card {
    background: rgba(22, 23, 26, 0.6);
    border: 1px solid var(--border-hairline);
    padding: 24px 16px;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
}

.step-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(214, 40, 40, 0.15);
    color: var(--kyro-red);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.step-card h5 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--kyro-white);
}

.step-card p {
    font-size: 0.8rem;
    color: var(--kyro-steel);
}

/* Products Section */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 22px;
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    color: var(--kyro-steel-light);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--kyro-red);
    border-color: var(--kyro-red);
    color: #ffffff;
    box-shadow: 0 0 15px var(--kyro-red-glow);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

.product-card:hover {
    border-color: rgba(214, 40, 40, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(214, 40, 40, 0.15);
    transform: translateY(-6px);
}

/* Image Container */
.product-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Catalog-style: show the full product photo without cropping */
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 14px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    color: var(--kyro-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid var(--border-hairline-strong);
    z-index: 4;
    transition: all 0.3s ease;
}

.product-card:hover .category-tag {
    border-color: var(--kyro-red);
    background: rgba(214, 40, 40, 0.2);
    box-shadow: 0 0 12px var(--kyro-red-glow);
}

.product-info {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
    z-index: 2;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--kyro-white);
    transition: color 0.3s ease;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--kyro-steel);
    margin-bottom: 20px;
    line-height: 1.6;
}

.spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    margin-top: auto;
}

.chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-hairline);
    color: var(--kyro-steel-light);
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.product-card:hover .chip {
    border-color: rgba(214, 40, 40, 0.3);
    background: rgba(214, 40, 40, 0.08);
    color: var(--kyro-white);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-card,
.contact-form-card {
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    padding: 40px;
    border-radius: var(--radius);
}

.contact-info-card h3,
.contact-form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.info-tagline {
    color: var(--kyro-steel);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.4rem;
    background: rgba(214, 40, 40, 0.1);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--kyro-white);
    margin-bottom: 4px;
}

.info-item p, .info-item a {
    color: var(--kyro-steel-light);
    font-size: 0.9rem;
}

.info-item a:hover {
    color: var(--kyro-red);
}

.map-box {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-hairline);
}

.map-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #1A1C20 0%, #0D0E10 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--kyro-steel-light);
    gap: 6px;
    text-align: center;
    padding: 0 20px;
}

.map-placeholder span {
    font-family: var(--font-display);
    font-weight: 600;
}

.form-subtext {
    color: var(--kyro-steel);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--kyro-steel-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid var(--border-hairline-strong);
    border-radius: 6px;
    color: var(--kyro-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--kyro-red);
    box-shadow: 0 0 12px rgba(214, 40, 40, 0.25);
    background: rgba(10, 10, 10, 0.9);
}

.form-group option {
    background: var(--kyro-charcoal);
    color: var(--kyro-white);
}

/* Customer Support Section */
.support-channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.support-channel-card {
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.support-channel-card:hover {
    transform: translateY(-5px);
    border-color: var(--kyro-red-glow);
}

.channel-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.support-channel-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.support-channel-card p {
    font-size: 0.88rem;
    color: var(--kyro-steel);
    margin-bottom: 20px;
    line-height: 1.5;
}

.support-link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--kyro-red);
}

.support-link:hover {
    text-decoration: underline;
}

/* Accordion */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--kyro-white);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--kyro-red);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
    background: rgba(10, 10, 10, 0.4);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 24px 20px;
    transition: max-height 0.35s ease-in-out;
}

.accordion-content p {
    color: var(--kyro-steel);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #050505;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-hairline);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 18px;
}

/* Supplied Kyro Metalix lockup (vector), sized for the footer brand column */
.footer-logo img {
    display: block;
    width: 232px;
    height: auto;
    max-width: 100%;
}


.brand-tagline {
    color: var(--kyro-steel-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.company-reg {
    font-size: 0.8rem;
    color: var(--kyro-steel);
    margin-top: 16px;
}

.footer-links-column h5 {
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column a {
    color: var(--kyro-steel);
    font-size: 0.9rem;
}

.footer-links-column a:hover {
    color: var(--kyro-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border-hairline);
    color: var(--kyro-steel);
    font-size: 0.85rem;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
    pointer-events: none;
}

.toast {
    background: var(--kyro-charcoal);
    border: 1px solid var(--kyro-red);
    color: var(--kyro-white);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--kyro-red);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Utility Animations */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none !important;
}

/* ============================================================
   MULTI-PAGE EXTENSIONS (PRD v1 — page templates)
   ============================================================ */

/* Page Hero (interior page header) */
.page-hero {
    padding: 170px 0 70px;
    position: relative;
    border-bottom: 1px solid var(--border-hairline);
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.96) 100%),
        var(--page-img, none) center/cover no-repeat;
    overflow: hidden;
}

/* Grid overlay removed from page heroes — clean, simple backdrop */

.page-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--kyro-steel);
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--kyro-steel);
}

.breadcrumb a:hover {
    color: var(--kyro-red);
}

.breadcrumb span {
    color: var(--kyro-steel-light);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-hero .page-lede {
    font-size: 1.15rem;
    color: var(--kyro-steel);
    max-width: 760px;
    font-weight: 300;
}

.page-hero .hero-ctas {
    margin-top: 32px;
}

/* Explore / Section Guide Grid (Home) */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

.explore-card {
    display: flex;
    flex-direction: column;
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.explore-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 40, 40, 0.45);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}

.explore-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.explore-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.explore-card p {
    font-size: 0.88rem;
    color: var(--kyro-steel);
    margin-bottom: 20px;
    line-height: 1.6;
}

.explore-card .card-link {
    margin-top: auto;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--kyro-red);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.explore-card:hover .card-link {
    text-decoration: underline;
}

/* Category Cards (Products landing + Home featured) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Three product lines side by side on desktop; collapses on tablets and phones */
.category-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 40, 40, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.category-card .category-img {
    height: 230px;
    overflow: hidden;
    position: relative;
}

.category-card .category-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92);
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* No-JS fallback: keep the first image visible */
.category-card .category-img img:first-child {
    position: relative;
    opacity: 1;
}

.category-card:hover .category-img img.active {
    transform: scale(1.08);
}

/* Category card image rotation (JS) */
.category-card .category-img img.active {
    opacity: 1;
}

.category-card .category-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--kyro-steel);
    margin-bottom: 22px;
    line-height: 1.6;
}

.category-card .card-link {
    margin-top: auto;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--kyro-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-card:hover .card-link {
    text-decoration: underline;
}

/* Closing CTA Band */
.cta-band {
    background:
        radial-gradient(circle at 20% 20%, rgba(214, 40, 40, 0.16) 0%, transparent 55%),
        linear-gradient(180deg, #101113 0%, #0A0A0A 100%);
    border-top: 1px solid var(--border-hairline);
    padding: 90px 0;
}

.cta-band-inner {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.cta-band h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.cta-band p {
    color: var(--kyro-steel);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

.cta-band-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Sectors strip */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 70px;
}

.sector-card {
    background: rgba(22, 23, 26, 0.6);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    padding: 22px 14px;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--kyro-steel-light);
    transition: all 0.3s ease;
}

.sector-card:hover {
    border-color: var(--kyro-red);
    color: var(--kyro-white);
    transform: translateY(-4px);
}

/* Projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 40, 40, 0.4);
}

.project-card .category-img {
    height: 200px;
    overflow: hidden;
}

.project-card .category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.project-card .category-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 0.88rem;
    color: var(--kyro-steel);
    line-height: 1.6;
}

.project-card .card-link {
    margin-top: auto;
    padding-top: 18px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--kyro-red);
}

/* Blog grid + article */
/* Home teaser shows only the 2 latest articles */
.blog-teaser .blog-grid {
    grid-template-columns: repeat(2, 1fr);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 40, 40, 0.4);
}

.blog-card .category-img {
    height: 190px;
    overflow: hidden;
}

.blog-card .category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.blog-card .category-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--kyro-red);
    background: rgba(214, 40, 40, 0.12);
    border: 1px solid rgba(214, 40, 40, 0.35);
    padding: 3px 10px;
    border-radius: 50px;
}

.blog-date {
    font-size: 0.78rem;
    color: var(--kyro-steel);
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.88rem;
    color: var(--kyro-steel);
    margin-bottom: 18px;
}

.blog-card .card-link {
    margin-top: auto;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--kyro-red);
}

.article-body {
    max-width: 780px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 1.7rem;
    margin: 44px 0 16px;
}

.article-body h3 {
    font-size: 1.25rem;
    margin: 32px 0 12px;
}

.article-body p {
    color: var(--kyro-steel-light);
    line-height: 1.8;
    margin-bottom: 18px;
}

.article-body ul {
    margin: 0 0 18px 22px;
    color: var(--kyro-steel-light);
    line-height: 1.8;
}

.article-figure {
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 30px 0;
}

.article-figure img {
    width: 100%;
    display: block;
    filter: brightness(0.9);
}

/* Spacer for anchor navigation under fixed navbar */
.section-anchor {
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}

/* Honeypot field (spam protection — hidden from humans) */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Responsive Media Queries */
@media (max-width: 1240px) {
    .hero-head { font-size: clamp(2rem, 4vw, 2.9rem); }
}

@media (max-width: 1024px) {
    .hero-head { font-size: clamp(1.9rem, 3.8vw, 2.6rem); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item { border-right: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stepper-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .support-channels-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .about-layout { grid-template-columns: 1fr; gap: 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .explore-grid { grid-template-columns: repeat(2, 1fr); }
    .sector-grid { grid-template-columns: repeat(3, 1fr); }
    .projects-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .nav-cta { display: none; }
    .hamburger { display: flex; }
    .hero { height: 120px; max-width: 100%; }   /* 360 x 120 carousel on phones */
    .hero h1 { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1rem; }
    .vision-mission-grid { grid-template-columns: 1fr; }
    .about-main-card { padding: 32px 24px; }
    .vm-card { padding: 30px 24px; }
    .about-side-cards { gap: 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .stepper-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: 1fr; }
    .support-channels-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .explore-grid { grid-template-columns: 1fr; }
    .category-grid,
    .category-grid.cols-3 { grid-template-columns: 1fr; }
    .sector-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid, .blog-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 140px 0 54px; }
    .page-hero h1 { font-size: 2rem; }
    .cta-band h2 { font-size: 1.8rem; }
}

/* ============================================================
   HERO CAROUSEL (Home) — full-bleed moving background
   ============================================================ */
.hero-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: var(--kyro-black);
}

/* Sliding track: slides sit side by side and the row glides left */
.hero-carousel-track {
    display: flex;
    height: 100%;
    will-change: transform;
    transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-slide {
    flex: 0 0 100%;
    height: 100%;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 8px;
    z-index: 4;
}

.hero-carousel-dots button {
    width: 22px;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}

.hero-carousel-dots button.active {
    background: var(--kyro-red);
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel-track { transition: none; }
}

/* --- Hero on narrow screens: text drops away from busy video, bottom-anchored --- */
@media (max-width: 1024px) {
    .hero-shade {
        background:
            linear-gradient(180deg, rgba(5, 5, 6, 0.30) 0%, rgba(5, 5, 6, 0) 26%, rgba(5, 5, 6, 0) 46%, rgba(5, 5, 6, 0.82) 74%, rgba(5, 5, 6, 0.9) 100%),
            linear-gradient(90deg, rgba(5, 5, 6, 0.4) 0%, rgba(5, 5, 6, 0) 60%);
    }
    .hero-scene {
        top: auto;
        bottom: 110px;
        transform: none;
        left: 20px;
        right: 20px;
        max-width: 560px;
    }
    .hero-sub { font-size: 1.02rem; max-width: none; }
    .hero-chapters { bottom: 30px; left: 20px; gap: 7px; }
    .hero-chapter { width: 28px; }
    .hero-pills .pill { padding: 7px 15px; font-size: 0.85rem; }
    .hero-media {
        background: url("assets/hero_v4_poster.jpg") center / cover no-repeat #070708;
    }
    /* phones: video is a live background; keep it running but no parallax (JS skips touch) */
}

@media (max-width: 640px) {
    .hero-head { font-size: 1.75rem; letter-spacing: -0.5px; }
    .hero-scene { bottom: 104px; }
}

/* Inline CTA under section content (used on every page) */
.cta-inline {
    margin-top: 56px;
}

/* Prompt line above an inline CTA gets breathing room before its button */
.cta-inline .section-desc {
    margin-bottom: 28px;
}

/* ============================================================
   BROCHURE DOWNLOADS — pin buttons to the card bottom so the
   three "Download Brochure" CTAs sit on one line
   ============================================================ */
.brochure-card .category-body .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Alternating black / grey section tones are handled at the end of this file */

/* ============================================================
   CLIENTELE (Home) — client logo showcase
   ============================================================ */
.clientele-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 980px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .clientele-grid { grid-template-columns: repeat(2, 1fr); }
}

.client-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    background: #F5F5F3;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.6);
}

.client-logo-card img {
    max-width: 220px;
    max-height: 130px;
    object-fit: contain;
    padding: 6px;
    /* Logos exported with a pure-white box blend into the card's off-white
       background instead of showing a brighter rectangle */
    mix-blend-mode: multiply;
}

/* Logos supplied on their own brand-colour panel read as a badge */
.client-logo-card img.client-logo-tile {
    border-radius: 8px;
}

.client-name {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #2B2B2E;
}

@media (max-width: 640px) {
    .clientele-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOUNDERS (About page)
   ============================================================ */
.founders-block {
    /* Feature cards above have margin-bottom:0 — restore breathing room
       before "Our Founders & Leadership" so it matches the gap above
       "What Sets Kyro Metalix Apart" */
    margin-top: 80px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.founder-card {
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    border-top: 3px solid var(--kyro-red);
    border-radius: var(--radius);
    padding: 36px 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 40, 40, 0.4);
}

/* Sub-category anchor tabs (architecture SubCategoryTabs) */
.subcat-tabs {
    position: sticky;
    top: 76px;
    z-index: 50;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0;
    margin-bottom: 28px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-hairline);
}

.subcat-tabs a {
    padding: 8px 18px;
    border: 1px solid var(--border-hairline);
    border-radius: 999px;
    color: var(--kyro-steel-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.25s ease;
}

.subcat-tabs a:hover {
    border-color: var(--kyro-red);
    color: var(--kyro-white);
}

.subcat-tabs a.active {
    background: var(--kyro-red);
    border-color: var(--kyro-red);
    color: var(--kyro-white);
}

.zone-header {
    scroll-margin-top: 150px;
}

/* Product zone group headers inside category grids (PRD 5.2.2) */
.zone-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.zone-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kyro-white);
    white-space: nowrap;
}

.zone-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(214, 40, 40, 0.6), rgba(255, 255, 255, 0.08));
}

.founder-avatar {
    width: 120px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--kyro-white);
    background: linear-gradient(135deg, #232529 0%, #101113 100%);
    border: 2px solid var(--kyro-red);
    letter-spacing: 1px;
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.founder-card h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.founder-role {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--kyro-red);
    margin-bottom: 16px;
}

.founder-card p {
    font-size: 0.88rem;
    color: var(--kyro-steel);
    line-height: 1.7;
    text-align: left;
}

/* ============================================================
   SOCIAL ICONS + FLOATING WHATSAPP
   ============================================================ */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-hairline);
    color: var(--kyro-steel-light);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.social-icon:hover {
    color: #ffffff;
    border-color: var(--kyro-red);
    background: rgba(214, 40, 40, 0.15);
    box-shadow: 0 0 14px var(--kyro-red-glow);
    transform: translateY(-3px);
}

.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 1500;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: waPulse 2.4s infinite;
    transition: transform 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

@keyframes waPulse {
    0% { box-shadow: 0 8px 24px rgba(0,0,0,0.55), 0 0 0 0 rgba(37, 211, 102, 0.45); }
    70% { box-shadow: 0 8px 24px rgba(0,0,0,0.55), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 8px 24px rgba(0,0,0,0.55), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   PRODUCT RANGE SCROLLER (Home) — continuously moving strip
   ============================================================ */
.carousel-scroller {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee 60s linear infinite;
}

.carousel-scroller:hover .carousel-track {
    animation-play-state: paused;
}

.carousel-item {
    height: 300px;
    width: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border-hairline);
    background: #101113;
    filter: brightness(0.94);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.carousel-item:hover {
    filter: brightness(1.05);
    transform: translateY(-4px);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .carousel-item { height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track { animation: none; }
}

@media (max-width: 1024px) {
    .founders-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .founders-grid { grid-template-columns: 1fr; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 18px; right: 18px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ============================================================
   TONE: alternating grey / black sections (white + red text)
   ============================================================ */
:root {
    --kyro-grey: #17181C;
    --kyro-card-black: #0C0D0F;
}

main > section:nth-of-type(odd) {
    background-color: var(--kyro-grey);
}

main > section:nth-of-type(even) {
    background-color: var(--kyro-black);
}

/* Cards flip to near-black on grey bands so both tones read clearly */
main > section:nth-of-type(odd) .vm-card,
main > section:nth-of-type(odd) .about-main-card,
main > section:nth-of-type(odd) .feature-card,
main > section:nth-of-type(odd) .step-card,
main > section:nth-of-type(odd) .product-card,
main > section:nth-of-type(odd) .category-card,
main > section:nth-of-type(odd) .blog-card,
main > section:nth-of-type(odd) .project-card,
main > section:nth-of-type(odd) .explore-card,
main > section:nth-of-type(odd) .sector-card,
main > section:nth-of-type(odd) .support-channel-card,
main > section:nth-of-type(odd) .founder-card,
main > section:nth-of-type(odd) .accordion-item,
main > section:nth-of-type(odd) .contact-info-card,
main > section:nth-of-type(odd) .contact-form-card {
    background-color: var(--kyro-card-black);
}

/* Keep kickers red and headings white on both tones (site default) */

/* ============================================================
   FLIP CARD: product photo ⇄ spec sheet (tap / hover to flip)
   ============================================================ */
.product-img-wrapper.flip {
    perspective: 1400px;
    cursor: pointer;
    background: #ffffff;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-img-wrapper.flip.is-flipped .flip-inner {
    transform: rotateY(180deg);
}

.flip-face {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-front {
    background: #ffffff;
}

.flip-back {
    transform: rotateY(180deg);
    background: var(--kyro-card-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 20px 9px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.flip-back h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--kyro-red);
    margin-bottom: 8px;
}

.spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 0.78rem;
    padding-bottom: 5px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.spec-list li span:first-child {
    color: var(--kyro-steel);
}

.spec-list li span:last-child {
    color: var(--kyro-white);
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.flip-hint {
    margin-top: 10px;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--kyro-red);
}

.flip-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 6;
    background: rgba(10, 10, 10, 0.88);
    color: var(--kyro-white);
    border: 1px solid var(--border-hairline-strong);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.flip-btn:hover,
.flip-btn:focus-visible {
    border-color: var(--kyro-red);
    color: var(--kyro-red);
    outline: none;
}

/* ============================================================
   SIMPLE SCROLL REVEAL (every page, added by script.js)
   ============================================================ */
.reveal {
    opacity: 0;
    translate: 0 18px;
    /* `translate` (not `transform`) so card hover lifts keep working */
    transition: opacity 0.6s ease, translate 0.6s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: opacity, translate;
}

.reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        translate: none !important;
        transition: none !important;
    }
}

/* ============================================================
   MEDIA BANNERS (in-house manufacturing + blog pages)
   ============================================================ */
.media-banner {
    margin: 0 0 56px;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--kyro-card-black);
}

.media-banner img {
    display: block;
    width: 100%;
    height: clamp(200px, 32vw, 400px);
    object-fit: cover;
    filter: brightness(0.94);
    transition: transform 0.8s ease;
}

.media-banner:hover img {
    transform: scale(1.03);
}

.media-banner figcaption {
    padding: 14px 20px;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    color: var(--kyro-steel);
    background: rgba(10, 10, 10, 0.6);
    border-top: 1px solid var(--border-hairline);
}

/* ============================================================
   FULL CATALOGUE INDEX (products landing)
   ============================================================ */
.catalog-block {
    margin-top: 80px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.catalog-card {
    background: var(--kyro-charcoal);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    padding: 28px 26px;
}

main > section:nth-of-type(odd) .catalog-card {
    background-color: var(--kyro-card-black);
}

.catalog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-hairline);
}

.catalog-card h3 a:hover {
    color: var(--kyro-red);
}

.catalog-group + .catalog-group {
    margin-top: 18px;
}

.catalog-group h4 {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--kyro-red);
    margin-bottom: 10px;
}

.catalog-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.catalog-list a,
.catalog-list span {
    display: inline-block;
    font-size: 0.8rem;
    line-height: 1.3;
    padding: 6px 12px;
    border: 1px solid var(--border-hairline);
    border-radius: 50px;
    color: var(--kyro-steel-light);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.25s ease;
}

.catalog-list a:hover {
    border-color: var(--kyro-red);
    color: var(--kyro-white);
    background: rgba(214, 40, 40, 0.12);
}

@media (max-width: 1024px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .catalog-grid { grid-template-columns: 1fr; }
    .catalog-block { margin-top: 56px; }
}

/* ============================================================
   SPEC TABLES (category pages — full brochure specifications)
   ============================================================ */
.spec-sheet {
    margin-top: 70px;
}

.spec-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    margin-bottom: 28px;
    background: var(--kyro-charcoal);
}

main > section:nth-of-type(odd) .spec-table-wrap {
    background-color: var(--kyro-card-black);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 660px;
}

.spec-table caption {
    text-align: left;
    padding: 18px 20px 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--kyro-white);
    caption-side: top;
}

.spec-table caption span {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--kyro-steel);
    margin-top: 4px;
}

.spec-table th,
.spec-table td {
    padding: 10px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-hairline);
    white-space: nowrap;
}

.spec-table thead th {
    background: rgba(214, 40, 40, 0.14);
    color: var(--kyro-white);
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.spec-table tbody th {
    color: var(--kyro-steel);
    font-weight: 600;
}

.spec-table tbody td {
    color: var(--kyro-white);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
    border-bottom: none;
}

.spec-table tbody tr:hover th,
.spec-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

.spec-note {
    font-size: 0.82rem;
    color: var(--kyro-steel);
    margin: -14px 0 30px;
}

.spec-note strong {
    color: var(--kyro-red);
}


/* ============================================================
   MOTION SYSTEM — industrial animation layer
   Every effect is decorative; prefers-reduced-motion disables it.
   ============================================================ */

/* ---------- 1. Weld-seam page loader (removed) ---------- */

@keyframes weldRun {
    to { left: 100%; }
}

@keyframes weldTie {
    to { width: 100%; }
}

@keyframes weldLabel {
    from { opacity: 0; letter-spacing: 0.9em; }
    to { opacity: 1; letter-spacing: 0.45em; }
}

/* ---------- 2. Sliding red nav underline ---------- */
.nav-links {
    position: relative;
}

.nav-indicator {
    position: absolute;
    bottom: 2px;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--red);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(214, 40, 40, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: left 0.38s cubic-bezier(0.16, 1, 0.3, 1), width 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.nav-links.indicating .nav-item.active::after {
    opacity: 0;
}

/* ---------- 3. Headings rise out of a mask ---------- */
.mask-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

.mask-line > span {
    display: block;
    transform: translateY(115%);
    transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.mask-in .mask-line > span {
    transform: translateY(0);
}

/* ---------- 4. Steel line that draws itself under headings ---------- */
.section-header h2 {
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    border-radius: 3px;
    background: var(--steel-line);
    margin: 18px auto 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.section-header:not(.text-center) h2::after {
    margin-left: 0;
}

.section-header h2.mask-in::after {
    transform: scaleX(1);
}

.subsection-title::after {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.subsection-title.mask-in::after {
    transform: scaleX(1);
}

.subsection-title.text-center::after {
    transform: translateX(-50%) scaleX(0);
}

.subsection-title.text-center.mask-in::after {
    transform: translateX(-50%) scaleX(1);
}/* ---------- 6. Home — hero copy is revealed per video-scene by script.js ---------- */
@media (prefers-reduced-motion: no-preference) {

}


/* ---------- 7. Kitchen — pinned assembly scene ---------- */
main > section.assembly-scene {
    background: var(--kyro-black);
    height: 340vh;
    padding: 0;
    position: relative;
}

.assembly-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.assembly-stage {
    width: min(940px, 92%);
    margin: 0 auto;
}

.assembly-caption {
    text-align: center;
    margin-bottom: 44px;
}

.assembly-caption h2 {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.assembly-caption p {
    color: var(--steel);
    font-weight: 300;
}

.assembly-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.assembly-part {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 26px;
    background: linear-gradient(180deg, #191b1f 0%, #0e0f11 100%);
    border: 1px solid var(--border-hairline);
    border-left: 3px solid var(--red);
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: var(--mist);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, box-shadow 0.45s ease;
}

.assembly-part .ap-idx {
    color: var(--red);
    font-weight: 800;
    letter-spacing: 0;
}

/* Tighter rows when a scene has 8+ parts (bar) so the stack fits one screen */
.assembly-part.compact {
    padding: 12px 22px;
    font-size: 0.86rem;
}

.assembly-part:nth-child(odd) { transform: translateX(-70vw) rotate(-5deg); }
.assembly-part:nth-child(even) { transform: translateX(70vw) rotate(5deg); }

.assembly-part.on {
    opacity: 1;
    transform: translateX(0) rotate(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.assembly-progress {
    height: 3px;
    background: #1c1e22;
    border-radius: 3px;
    margin-top: 36px;
    overflow: hidden;
}

.assembly-progress i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--red-deep), var(--red));
    transition: width 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
    main > section.assembly-scene { height: auto; padding: 90px 0; }
    .assembly-sticky { position: static; height: auto; }
    .assembly-part { opacity: 1; transform: none; }
    .assembly-progress i { width: 100%; }
}

/* ---------- 8. Water — pulsing rim glow on the hero ---------- */
.page-hero.hero-rim::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 70px rgba(96, 168, 255, 0.16), inset 0 0 0 1px rgba(120, 180, 255, 0.22);
}

@media (prefers-reduced-motion: no-preference) {
    .page-hero.hero-rim::after {
        animation: rimPulse 3.6s ease-in-out infinite;
    }

    @keyframes rimPulse {
        0%, 100% { opacity: 0.45; }
        50% { opacity: 1; }
    }
}

/* ---------- 9. Water — RO exploded diagram ---------- */
.ro-exploded {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 34px;
    max-width: 780px;
    margin: 0 auto;
}

.ro-rail {
    position: relative;
}

.ro-rail::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 10px;
    bottom: 10px;
    width: 3px;
    translate: -50% 0;
    background: linear-gradient(180deg, #2a2c30, #3a3d44);
    border-radius: 3px;
}

.ro-droplet {
    position: absolute;
    left: 50%;
    
top: 0;
    width: 14px;
    height: 14px;
    background: var(--red);
    border-radius: 50% 50% 50% 0;
    rotate: -45deg;
    translate: -50% 0;
    box-shadow: 0 0 14px rgba(214, 40, 40, 0.85), 0 0 30px rgba(214, 40, 40, 0.4);
    opacity: 0;
}

.ro-stages {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: gap 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.ro-exploded.in .ro-stages {
    gap: 18px;
}

.ro-stage {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    background: linear-gradient(180deg, #16181c 0%, #0d0e10 100%);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    opacity: 0;
    translate: 0 30px;
    transition: opacity 0.55s ease, translate 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.ro-exploded.in .ro-stage {
    opacity: 1;
    translate: 0 0;
}

.ro-exploded.in .ro-stage:nth-child(1) { transition-delay: 0.05s; }
.ro-exploded.in .ro-stage:nth-child(2) { transition-delay: 0.15s; }
.ro-exploded.in .ro-stage:nth-child(3) { transition-delay: 0.25s; }
.ro-exploded.in .ro-stage:nth-child(4) { transition-delay: 0.35s; }
.ro-exploded.in .ro-stage:nth-child(5) { transition-delay: 0.45s; }
.ro-exploded.in .ro-stage:nth-child(6) { transition-delay: 0.55s; }
.ro-exploded.in .ro-stage:nth-child(7) { transition-delay: 0.65s; }

.ro-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--red);
}

.ro-name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--mist);
}

.ro-name small {
    display: block;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.83rem;
    color: var(--steel);
    margin-top: 2px;
}

.ro-tag {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--steel);
    border: 1px solid var(--border-hairline-strong);
    border-radius: 50px;
    padding: 4px 12px;
    white-space: nowrap;
}

.ro-stage.membrane {
    border-color: rgba(214, 40, 40, 0.55);
    background: linear-gradient(180deg, #1d1214 0%, #0f0b0c 100%);
}

.ro-stage.membrane .ro-tag {
    color: #ff8f8f;
    border-color: rgba(214, 40, 40, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
    .ro-exploded.in .ro-droplet {
        animation: dropTravel 4.2s linear infinite 0.5s;
    }

    .ro-exploded.in .ro-stage.membrane {
        animation: memPulse 2.2s ease-in-out infinite 1.1s;
    }

    @keyframes dropTravel {
        0% { top: 0; opacity: 0; }
        5% { opacity: 1; }
        72% { opacity: 1; }
        82% { top: calc(100% - 14px); opacity: 0; }
        100% { top: calc(100% - 14px); opacity: 0; }
    }

    @keyframes memPulse {
        0%, 100% { box-shadow: 0 0 0 rgba(214, 40, 40, 0); }
        50% { box-shadow: 0 0 24px rgba(214, 40, 40, 0.5); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .ro-stages { gap: 18px; }
    .ro-stage { opacity: 1; translate: 0 0; }
    .ro-droplet { opacity: 1; top: calc(50% - 7px); }
}

/* ---------- 10. Bar — flickering golden light on the hero ---------- */
.page-hero.hero-golden::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 90% at 68% 24%, rgba(255, 196, 92, 0.30), rgba(255, 160, 50, 0.08) 45%, transparent 70%);
    mix-blend-mode: screen;
}

@media (prefers-reduced-motion: no-preference) {
    .page-hero.hero-golden::after {
        animation: goldFlicker 3.8s steps(1) infinite;
    }

    @keyframes goldFlicker {
        0% { opacity: 0.85; }
        7% { opacity: 0.55; }
        12% { opacity: 0.9; }
        20% { opacity: 0.62; }
        27% { opacity: 0.95; }
        38% { opacity: 0.7; }
        46% { opacity: 0.88; }
        55% { opacity: 0.58; }
        64% { opacity: 0.92; }
        73% { opacity: 0.66; }
        82% { opacity: 0.86; }
        91% { opacity: 0.6; }
        100% { opacity: 0.85; }
    }
}

/* ---------- 11. Bar — horizontal station gallery ---------- */
.station-gallery {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--red-deep) #17181c;
}

.station-gallery::-webkit-scrollbar {
    height: 8px;
}

.station-gallery::-webkit-scrollbar-track {
    background: #17181c;
    border-radius: 8px;
}

.station-gallery::-webkit-scrollbar-thumb {
    background: var(--red-deep);
    border-radius: 8px;
}

.station-card {
    flex: 0 0 clamp(230px, 28vw, 310px);
    scroll-snap-align: start;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--kyro-card-black);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.station-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 40, 40, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.station-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.station-card span {
    display: block;
    padding: 15px 18px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--mist);
}

/* ---------- 12. Bar — frost effect on the chiller card ---------- */
.frost-veil {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.10) 42%, transparent 70%),
        radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.38), transparent 55%),
        linear-gradient(160deg, rgba(210, 235, 255, 0.32), rgba(175, 212, 255, 0.14));
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
    opacity: 0.88;
    transition: opacity 0.55s ease, backdrop-filter 0.55s ease;
}

.frost-card:hover .frost-veil {
    opacity: 0;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}

/* ---------- 13. About — timeline rail down the page ---------- */
.page-rail {
    position: fixed;
    left: 18px;
    top: 96px;
    bottom: 60px;
    width: 2px;
    background: rgba(255, 255, 255, 0.07);
    z-index: 900;
    border-radius: 2px;
}

.page-rail i {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--steel) 0%, var(--red) 85%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(214, 40, 40, 0.5);
}

.page-rail b {
    position: absolute;
    left: 50%;
    top: 0;
    width: 9px;
    height: 9px;
    translate: -50% -50%;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px rgba(214, 40, 40, 0.9);
    transition: top 0.1s linear;
}

@media (max-width: 1180px) {
    .page-rail { display: none; }
}

/* ---------- 14. About — CNC laser tracing a steel sheet ---------- */
.cnc-etch {
    display: block;
    max-width: 640px;
    margin: 0 auto 56px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-hairline);
    background: #0d0e10;
}

.cnc-etch svg {
    display: block;
    width: 100%;
    height: auto;
}

.cnc-trace {
    fill: none;
    stroke: #ffcf9a;
    stroke-width: 0.55;
    stroke-linejoin: round;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
}

.k-fill {
    fill: var(--red);
    opacity: 0;
}

.etch-name-1 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 96px;
    fill: var(--mist);
    letter-spacing: 8px;
}

.etch-name-2 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 38px;
    fill: var(--red);
    letter-spacing: 21px;
}

#wipeRect {
    transform-box: fill-box;
    transform-origin: left center;
    transform: scaleX(0);
}

@media (prefers-reduced-motion: no-preference) {
    .cnc-trace {
        animation: cncEtch 5s linear infinite;
    }

    .k-fill {
        animation: kReveal 5s linear infinite;
    }

    .laser {
        animation: laserFade 5s linear infinite;
    }

    #wipeRect {
        animation: nameWipe 5s cubic-bezier(0.6, 0, 0.3, 1) infinite;
    }

    .etch-live {
        animation: etchReset 5s linear infinite;
    }

    @keyframes cncEtch {
        0% { stroke-dashoffset: 150; }
        44% { stroke-dashoffset: 0; }
        100% { stroke-dashoffset: 0; }
    }

    @keyframes kReveal {
        0%, 38% { opacity: 0; }
        46%, 90% { opacity: 1; }
        97%, 100% { opacity: 0; }
    }

    @keyframes laserFade {
        0% { opacity: 1; }
        92% { opacity: 1; }
        97%, 100% { opacity: 0; }
    }

    @keyframes nameWipe {
        0%, 46% { transform: scaleX(0); }
        68%, 90% { transform: scaleX(1); }
        97%, 100% { transform: scaleX(0); }
    }

    @keyframes etchReset {
        0%, 92% { opacity: 1; }
        99%, 100% { opacity: 0; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .cnc-etch { display: none; }
}

/* ---------- 15. Contact — floating labels + focus underline ---------- */
.form-group {
    position: relative;
}

.form-group label {
    pointer-events: none;
    transition: translate 0.25s ease, font-size 0.25s ease, color 0.25s ease;
}

.form-group.floating label {
    position: relative;
    z-index: 3;
    translate: 12px 17px;
    font-size: 0.66rem;
    color: var(--red);
    background: rgba(13, 14, 16, 0.95);
    padding: 0 6px;
    width: fit-content;
    align-self: flex-start;
}

.form-group::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--red);
    box-shadow: 0 0 8px rgba(214, 40, 40, 0.6);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 0 6px 6px;
    pointer-events: none;
    z-index: 2;
}

.form-group.focused::after {
    transform: scaleX(1);
}

/* ---------- 16. Contact — drop-in map pin ---------- */
.map-placeholder {
    position: relative;
}

@media (prefers-reduced-motion: no-preference) {
    .map-placeholder::before {
        content: '';
        position: absolute;
        top: 24px;
        left: 50%;
        width: 17px;
        height: 17px;
        background: var(--red);
        border-radius: 50% 50% 50% 0;
        rotate: -45deg;
        translate: -50% 0;
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.55), 0 0 12px rgba(214, 40, 40, 0.5);
        opacity: 0;
    }

    .map-placeholder.pin-in::before {
        animation: pinDrop 0.75s cubic-bezier(0.2, 1.35, 0.4, 1) forwards;
    }

    @keyframes pinDrop {
        0% { opacity: 0; translate: -50% -74px; }
        55% { opacity: 1; translate: -50% 7px; }
        78% { translate: -50% -4px; }
        100% { opacity: 1; translate: -50% 0; }
    }
}

/* ---------- 18. Global — red cursor follower + dwell label ---------- */
.cursor-dot {
    position: fixed;
    left: 0;
    top: 0;
    width: 13px;
    height: 13px;
    margin: -6.5px 0 0 -6.5px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px rgba(214, 40, 40, 0.7);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.cursor-dot.on { opacity: 1; }

.cursor-dot.hot {
    box-shadow: 0 0 0 6px rgba(214, 40, 40, 0.18), 0 0 16px rgba(214, 40, 40, 0.85);
}

.cursor-tip {
    position: fixed;
    left: 0;
    top: 0;
    padding: 7px 14px;
    background: rgba(12, 13, 15, 0.94);
    border: 1px solid rgba(214, 40, 40, 0.6);
    border-radius: 999px;
    color: var(--mist);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.22s ease;
    will-change: transform, opacity;
}

.cursor-tip.on { opacity: 1; }

@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-tip { display: none; }
}

/* ---------- 17. Reduced-motion fallbacks for non-keyframed effects ---------- */
@media (prefers-reduced-motion: reduce) {
    .mask-line > span { transform: none; }
    .section-header h2::after { transform: scaleX(1); }
    .subsection-title::after { transform: scaleX(1); }
    .subsection-title.text-center::after { transform: translateX(-50%) scaleX(1); }
    .cursor-dot, .cursor-tip { transition: none; }
}
