/* ============================================================
   Molten8.ai — Marketing Site Stylesheet
   ============================================================ */

/* --- CSS Variables --- */
:root {
    /* Brand Colors */
    --molten-gold: #FFB800;
    --molten-orange: #FF6A00;
    --molten-red: #E53935;

    /* UI Colors */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-grey: #F0F0F0;
    --medium-grey: #9E9E9E;
    --dark-grey: #616161;
    --charcoal: #333333;
    --near-black: #1A1A1A;
    --bg-dark: #0f0f11;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 16px;
    --glass-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

    /* Spacing & Layout */
    --spacing-unit: 8px;
    --container-width: 1200px;
    --border-radius: 16px;
    --nav-height: 80px;

    /* Gradient */
    --gradient-brand: linear-gradient(135deg, var(--molten-gold) 0%, var(--molten-orange) 50%, var(--molten-red) 100%);

    /* Theme Variables (Default Dark) */
    --theme-bg: var(--bg-dark);
    --theme-text: var(--white);
    --theme-text-muted: rgba(255, 255, 255, 0.68);
    --theme-glass-bg: rgba(255, 255, 255, 0.03);
    --theme-glass-border: rgba(255, 255, 255, 0.08);
    --theme-glass-hover: rgba(255, 255, 255, 0.05);
    --theme-nav-bg: rgba(12, 12, 14, 0.95);
    --theme-nav-scrolled: rgba(10, 10, 12, 0.98);
    --theme-hero-overlay: rgba(10, 10, 12, 0.62);
    --theme-home-hero-overlay: rgba(10, 10, 12, 0.62);
    --theme-card-bg: rgba(255, 255, 255, 0.03);
    --theme-badge-bg: rgba(255, 255, 255, 0.04);
    --theme-badge-border: rgba(255, 255, 255, 0.09);
    --theme-eyebrow-bg: rgba(255, 106, 0, 0.12);
    --theme-eyebrow-border: rgba(255, 106, 0, 0.25);

    /* Hero Background Variables removed in favor of utility classes */
}

[data-theme="light"] {
    --theme-bg: #FFFFFF;
    --theme-text: #111827;
    --theme-text-muted: #374151;
    --theme-glass-bg: #FFFFFF;
    --theme-glass-border: rgba(17, 24, 39, 0.14);
    --theme-glass-hover: rgba(17, 24, 39, 0.04);
    --theme-nav-bg: rgba(255, 255, 255, 0.95);
    --theme-nav-scrolled: rgba(255, 255, 255, 0.98);
    --glass-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    --theme-hero-overlay: rgba(255, 255, 255, 0.62);
    --theme-home-hero-overlay: linear-gradient(120deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.14) 48%, rgba(255, 255, 255, 0.04) 100%);
    --theme-card-bg: #F8FAFC;
    --theme-badge-bg: #F8FAFC;
    --theme-badge-border: rgba(17, 24, 39, 0.14);
    --theme-eyebrow-bg: rgba(255, 106, 0, 0.08);
    --theme-eyebrow-border: rgba(255, 106, 0, 0.15);

    /* Hero Background Variables removed */
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --theme-bg: #FFFFFF;
        --theme-text: #111827;
        --theme-text-muted: #374151;
        --theme-glass-bg: #FFFFFF;
        --theme-glass-border: rgba(17, 24, 39, 0.14);
        --theme-glass-hover: rgba(17, 24, 39, 0.04);
        --theme-nav-bg: rgba(255, 255, 255, 0.95);
        --theme-nav-scrolled: rgba(255, 255, 255, 0.98);
        --glass-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
        --theme-hero-overlay: rgba(255, 255, 255, 0.62);
        --theme-home-hero-overlay: linear-gradient(120deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.14) 48%, rgba(255, 255, 255, 0.04) 100%);
        --theme-card-bg: #F8FAFC;
        --theme-badge-bg: #F8FAFC;
        --theme-badge-border: rgba(17, 24, 39, 0.14);
        --theme-eyebrow-bg: rgba(255, 106, 0, 0.08);
        --theme-eyebrow-border: rgba(255, 106, 0, 0.15);

        /* Hero Background Variables removed */
    }
}

/* --- Hero Background Utility Classes --- */
.bg-primary,
.hero {
    background-image: url('../assets/images/hero_ai_strategy.png');
}

.bg-waves,
.contact-hero {
    background-image: url('../assets/Agents/hero_waves.png');
}

.bg-neural {
    background-image: url('../assets/Agents/hero_neural.png');
}

.bg-curves {
    background-image: url('../assets/Agents/hero_curves.png');
}

.bg-glossy,
.cta-banner {
    background-image: url('../assets/Agents/hero_glossy.png');
}

[data-theme="light"] .bg-primary,
[data-theme="light"] .hero {
    background-image: url('../assets/images/hero_ai_strategy.png');
}

[data-theme="light"] .bg-waves,
[data-theme="light"] .contact-hero {
    background-image: url('../assets/Agents/hero_waves_light.png');
}

[data-theme="light"] .bg-neural {
    background-image: url('../assets/Agents/hero_neural_light.png');
}

[data-theme="light"] .bg-curves {
    background-image: url('../assets/Agents/hero_curves_light.png');
}

[data-theme="light"] .bg-glossy,
[data-theme="light"] .cta-banner {
    background-image: url('../assets/Agents/hero_glossy_light.png');
}

@media (prefers-color-scheme: light) {

    html:not([data-theme="dark"]) .bg-primary,
    html:not([data-theme="dark"]) .hero {
        background-image: url('../assets/images/hero_ai_strategy.png');
    }

    html:not([data-theme="dark"]) .bg-waves,
    html:not([data-theme="dark"]) .contact-hero {
        background-image: url('../assets/Agents/hero_waves_light.png');
    }

    html:not([data-theme="dark"]) .bg-neural {
        background-image: url('../assets/Agents/hero_neural_light.png');
    }

    html:not([data-theme="dark"]) .bg-curves {
        background-image: url('../assets/Agents/hero_curves_light.png');
    }

    html:not([data-theme="dark"]) .bg-glossy,
    html:not([data-theme="dark"]) .cta-banner {
        background-image: url('../assets/Agents/hero_glossy_light.png');
    }
}

/* --- Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

ul {
    list-style: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--theme-bg);
    color: var(--theme-text);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: "kern" 1, "liga" 1;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- Background — Glossy, grain-free --- */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 10% 40%, rgba(255, 106, 0, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(229, 57, 53, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 50% 95%, rgba(255, 184, 0, 0.04) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 75% 65%, rgba(255, 106, 0, 0.04) 0%, transparent 50%);
    animation: pulseMesh 20s ease-in-out infinite alternate;
}

@keyframes pulseMesh {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* Grain overlay removed — clean glossy surface */
.noise-overlay {
    display: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--theme-text);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--theme-text-muted);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
}

p:last-child {
    margin-bottom: 0;
}

.label {
    display: block;
    color: var(--molten-orange);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Layout --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-sm {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

/* --- Glass Panel — Frosted glass, Apple-style --- */
.glass-panel {
    background: var(--theme-glass-bg);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid var(--theme-glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-container {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-width);
    height: var(--nav-height);
    padding: 0 28px;
    background: var(--theme-nav-bg);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border: 1px solid var(--theme-glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    background: var(--theme-nav-scrolled);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--theme-text);
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.logo-text {
    line-height: 1;
}

.logo-8 {
    height: 28px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -1px;
    mix-blend-mode: screen;
}

[data-theme="light"] .logo-8 {
    mix-blend-mode: multiply;
}

@media (prefers-color-scheme: light) {
    html:not([data-theme="dark"]) .logo-8 {
        mix-blend-mode: multiply;
    }
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--theme-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--theme-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--molten-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-login {
    order: 1;
}

.nav-cta {
    order: 2;
}

.nav-login {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--theme-text);
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 100px;
    border: 1px solid var(--theme-glass-border);
    transition: all 0.2s ease;
    background: transparent;
}

.nav-login:hover {
    border-color: var(--molten-orange);
    color: var(--molten-orange);
    background: rgba(255, 106, 0, 0.05);
}

/* Hamburger */
.hamburger {
    order: 4;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: border-color 0.2s;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--theme-text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 900px) {
    .nav-container {
        top: 12px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(var(--nav-height) + 8px);
        left: 20px;
        right: 20px;
        background: rgba(15, 15, 17, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid var(--glass-border);
        border-radius: 16px;
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-links.open {
        max-height: 500px;
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        display: block;
        padding: 14px 24px;
        width: 100%;
        font-size: 1rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0 16px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-8 {
        height: 22px;
    }

    .btn-cta.nav-cta,
    .nav-login {
        display: none;
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--molten-orange);
    color: var(--white);
    padding: 12px 26px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.2);
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 106, 0, 0.35);
    background: #ff7a1a;
}

.btn-cta.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--theme-glass-bg);
    backdrop-filter: blur(10px);
    color: var(--theme-text);
    padding: 12px 26px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--theme-glass-hover);
    transform: translateY(-1px);
    border-color: var(--theme-glass-border);
}

.btn-secondary.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.theme-toggle {
    order: 3;
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    cursor: pointer;
    color: var(--theme-text-muted);
    padding: 0;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s, color 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-toggle:hover {
    background: var(--theme-glass-hover);
    transform: scale(1.05);
    color: var(--theme-text);
    border-color: var(--theme-text-muted);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    aspect-ratio: 2752 / 1359;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Overlay disabled — hero image designed for both themes */
.hero::before {
    display: none;
}

.hero-content {
    max-width: 600px;
    margin-left: 5%;
    margin-right: auto;
    padding-left: 2rem;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--theme-eyebrow-bg);
    border: 1px solid var(--theme-eyebrow-border);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--molten-orange);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--molten-orange);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 0 40px;
    color: var(--theme-text-muted);
}

.hero .btn-group {
    justify-content: flex-start;
}

/* Hero visual / floating cards */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--theme-badge-bg);
    border: 1px solid var(--theme-badge-border);
    box-shadow: var(--glass-shadow);
    color: var(--theme-text);
    animation: floatBadge 4s ease-in-out infinite;
}

[data-theme="light"] .hero h1 {
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.45), 0 1px 2px rgba(17, 24, 39, 0.12);
}

[data-theme="light"] .hero p {
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.35);
}

[data-theme="light"] .hero-eyebrow,
[data-theme="light"] .hero-badge {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
}

@media (prefers-color-scheme: light) {
    html:not([data-theme="dark"]) .hero h1 {
        text-shadow: 0 2px 12px rgba(255, 255, 255, 0.45), 0 1px 2px rgba(17, 24, 39, 0.12);
    }

    html:not([data-theme="dark"]) .hero p {
        text-shadow: 0 1px 8px rgba(255, 255, 255, 0.35);
    }

    html:not([data-theme="dark"]) .hero-eyebrow,
    html:not([data-theme="dark"]) .hero-badge {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
    }
}

.hero-badge:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-badge:nth-child(3) {
    animation-delay: 1s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Hero below — badges and tagline strip beneath hero image */
.hero-below {
    padding: 32px 0 40px;
    text-align: center;
}

.hero-below .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Infinity tagline */
.infinity-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: 20px;
}

.infinity-logo {
    display: inline-block;
    height: 1.4em;
    width: auto;
    transform: rotate(90deg);
    vertical-align: middle;
    mix-blend-mode: screen;
}

[data-theme="light"] .infinity-logo {
    mix-blend-mode: multiply;
}

@media (prefers-color-scheme: light) {
    html:not([data-theme="dark"]) .infinity-logo {
        mix-blend-mode: multiply;
    }
}

/* Hero responsive — mobile centers everything */
@media (max-width: 768px) {
    .hero {
        aspect-ratio: auto;
        min-height: 50vh;
        text-align: center;
        justify-content: center;
        background-position: center center;
    }

    .hero-content {
        text-align: center;
        margin-left: auto;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero p {
        margin: 0 auto 40px;
    }

    .hero .btn-group {
        justify-content: center;
    }

    .hero-below {
        text-align: center;
    }

    .hero-below .container {
        align-items: center;
    }

    .hero-visual {
        justify-content: center;
    }

    .infinity-tagline {
        justify-content: center;
    }
}

/* Page header hero (for inner pages) */
.page-hero {
    padding: calc(var(--nav-height) + 60px) 0 60px;
    text-align: center;
    background-image: var(--hero-bg-waves);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: clamp(480px, 60vh, 600px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--theme-hero-overlay);
    pointer-events: none;
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-bar-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--medium-grey);
    margin-bottom: 24px;
}

.trust-platform-note {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 24px;
    font-size: 0.98rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.75;
    transition: opacity 0.2s;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--theme-text);
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
}

.trust-logo:hover {
    opacity: 1;
    background: var(--theme-glass-hover);
}

.trust-logo img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: contrast(1.05);
}

[data-theme="light"] .trust-logo img {
    filter: saturate(0.95) contrast(1.1);
}

[data-theme="light"] .trust-logo,
[data-theme="light"] .stack-logo {
    background: #FFFFFF;
}

.trust-bar-label-secondary {
    margin-top: 24px;
    margin-bottom: 12px;
}

.trust-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.stack-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--theme-glass-border);
    background: var(--theme-card-bg);
    color: var(--theme-text);
    font-size: 0.84rem;
    font-weight: 600;
}

.stack-logo img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    padding: 64px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--theme-glass-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--theme-glass-border);
}

.stat-item {
    padding: 40px 32px;
    text-align: center;
    background: var(--theme-card-bg);
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    background: var(--theme-glass-hover);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.25rem;
    }
}

/* ============================================================
   FEATURE / VALUE CARDS
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.card {
    padding: 36px 32px;
    border-radius: var(--border-radius);
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.card:hover {
    background: var(--theme-glass-hover);
    border-color: var(--theme-glass-border);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--molten-orange);
    background: rgba(255, 106, 0, 0.1);
    flex-shrink: 0;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.card-top-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover .card-top-line {
    transform: scaleX(1);
}

/* ============================================================
   AGENT PERSONA CARDS (homepage featured)
   ============================================================ */
.agents-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .agents-featured-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

.agent-card {
    padding: 36px 28px;
    border-radius: var(--border-radius);
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--glass-shadow);
}

.agent-card:hover {
    background: var(--theme-glass-hover);
    border-color: var(--theme-glass-border);
}

.agent-card-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

/* agent-card-glow disabled — line-sweep is the signature hover */

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: rgba(255, 106, 0, 0.12);
    border: 2px solid rgba(255, 106, 0, 0.2);
    flex-shrink: 0;
}

.agent-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--molten-gold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.agent-role-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--molten-orange);
    animation: pulse 2s ease-in-out infinite;
}

.agent-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.agent-card p {
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    flex-grow: 1;
    margin-bottom: 20px;
}

.agent-use-cases {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.use-case-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--theme-glass-bg);
    border: 1px solid var(--theme-glass-border);
    color: var(--theme-text-muted);
}

/* ============================================================
   AGENT SHOWCASE (alternating layout — agents.html)
   ============================================================ */
.agent-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--glass-border);
}

.agent-showcase:last-of-type {
    border-bottom: none;
}

.agent-showcase.reverse {
    direction: rtl;
}

.agent-showcase.reverse>* {
    direction: ltr;
}


.agent-showcase-info .agent-role-badge {
    margin-bottom: 20px;
}

.agent-showcase-info h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    margin-bottom: 16px;
}

.agent-showcase-info p {
    font-size: 1rem;
    margin-bottom: 24px;
}

.agent-showcase-stats {
    display: flex;
    gap: 32px;
    margin: 28px 0;
}


.showcase-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.showcase-stat-label {
    font-size: 0.8rem;
    color: var(--medium-grey);
}

.agent-showcase-visual {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.agent-showcase-visual-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-dot:nth-child(1) {
    background: #ff5f57;
}

.window-dot:nth-child(2) {
    background: #febc2e;
}

.window-dot:nth-child(3) {
    background: #28c840;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    max-width: 80%;
    margin-bottom: 10px;
    line-height: 1.5;
}

.chat-bubble.from-user {
    background: rgba(255, 106, 0, 0.15);
    border: 1px solid rgba(255, 106, 0, 0.2);
    align-self: flex-end;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.85);
}

.chat-bubble.from-agent {
    background: var(--theme-glass-bg);
    border: 1px solid var(--theme-glass-border);
    color: var(--theme-text);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 8px 0;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--molten-orange);
    animation: typingBounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    40% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .agent-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .agent-showcase.reverse {
        direction: ltr;
    }

    .agent-showcase-visual {
        min-height: 240px;
    }

    .agent-showcase-stats {
        gap: 20px;
    }
}

/* ============================================================
   HOW IT WORKS — TIMELINE
   ============================================================ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--molten-orange), rgba(255, 106, 0, 0.1));
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: -49px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    background: var(--bg-dark);
    border: 2px solid var(--molten-orange);
    color: var(--molten-orange);
    z-index: 1;
}

.timeline-item .glass-panel {
    padding: 32px 36px;
}

.timeline-item h3 {
    font-size: 1.25rem;
    color: var(--theme-text);
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.timeline-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--molten-gold);
    font-weight: 600;
    margin-top: 12px;
}

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
    margin-top: 16px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--theme-text-muted);
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.15);
    border: 1px solid rgba(255, 106, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon svg {
    width: 11px;
    height: 11px;
    stroke: var(--molten-orange);
}

@media (max-width: 600px) {
    .checklist {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--theme-text);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--molten-gold);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--molten-orange);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 0 24px;
    font-size: 0.95rem;
    color: var(--theme-text-muted);
    line-height: 1.75;
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

/* ============================================================
   CONSULTING CARDS
   ============================================================ */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.consulting-card {
    padding: 40px 36px;
    border-radius: var(--border-radius);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.consulting-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.13);
}

.consulting-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.consulting-card h3 {
    font-size: 1.3rem;
}

.best-for-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.2);
    color: var(--molten-gold);
    white-space: nowrap;
    flex-shrink: 0;
}

.consulting-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.consulting-meta {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.consulting-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.consulting-meta-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--medium-grey);
    margin-bottom: 4px;
}

.consulting-meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--molten-orange);
}

.consulting-deliverables {
    margin: 16px 0;
}

.consulting-deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    margin-bottom: 8px;
}

.consulting-deliverables li::before {
    content: '→';
    color: var(--molten-orange);
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .consulting-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: start;
}


.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--theme-text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--theme-glass-bg);
    border: 1px solid var(--theme-glass-border);
    border-radius: 10px;
    color: var(--theme-text);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
    color: var(--theme-text-muted);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--molten-orange);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

input.error,
select.error,
textarea.error {
    border-color: var(--molten-red);
}

.field-error {
    font-size: 0.8rem;
    color: var(--molten-red);
    margin-top: 6px;
    display: none;
}

.field-error.show {
    display: block;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239E9E9E'%3E%3Cpath d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}

select option {
    background: var(--near-black);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    font-size: 1rem;
    padding: 16px;
    border-radius: 12px;
    margin-top: 8px;
    background: var(--molten-orange);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s;
}

.form-submit-btn:hover {
    background: #ff7a1a;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.3);
}

.form-status {
    padding: 16px;
    border-radius: 10px;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(40, 200, 64, 0.1);
    border: 1px solid rgba(40, 200, 64, 0.3);
    color: #4ade80;
}

.form-status.error {
    display: block;
    background: rgba(229, 57, 53, 0.1);
    border: 1px solid rgba(229, 57, 53, 0.3);
    color: #f87171;
}


.contact-info-card {
    padding: 32px;
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 106, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--molten-orange);
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
}

.contact-info-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--medium-grey);
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 0.95rem;
    color: var(--theme-text);
    font-weight: 500;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   NEWS GRID
   ============================================================ */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-pill {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--theme-glass-border);
    background: var(--theme-glass-bg);
    color: var(--theme-text-muted);
    transition: all 0.2s ease;
}

.filter-pill:hover {
    background: var(--theme-glass-hover);
    color: var(--theme-text);
    border-color: var(--theme-glass-border);
}

.filter-pill.active {
    background: var(--molten-orange);
    color: var(--white);
    border-color: var(--molten-orange);
}

.news-featured {
    margin-bottom: 48px;
}

.news-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.35s ease;
}

.news-featured-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.13);
}

.news-featured-image {
    min-height: 300px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.15) 0%, rgba(229, 57, 53, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-featured-image-emoji {
    font-size: 5rem;
    opacity: 0.7;
}

.news-featured-content {
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-content .news-category {
    margin-bottom: 16px;
}

.news-featured-content h2 {
    font-size: 1.75rem;
    margin-bottom: 14px;
}

.news-featured-content p {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    border-radius: var(--border-radius);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.13);
}

.news-card-image {
    height: 160px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1) 0%, rgba(229, 57, 53, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.news-category.industry {
    background: rgba(255, 106, 0, 0.12);
    color: var(--molten-orange);
}

.news-category.research {
    background: rgba(255, 184, 0, 0.12);
    color: var(--molten-gold);
}

.news-category.policy {
    background: rgba(229, 57, 53, 0.12);
    color: var(--molten-red);
}

.news-category.tools {
    background: var(--theme-glass-bg);
    color: var(--theme-text-muted);
}

.news-card h3 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--theme-text);
}

.news-card p {
    font-size: 0.85rem;
    color: var(--theme-text-muted);
    flex-grow: 1;
    margin-bottom: 16px;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--medium-grey);
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.news-read-more {
    color: var(--molten-orange);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.news-read-more:hover {
    gap: 8px;
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-featured-card {
        grid-template-columns: 1fr;
    }

    .news-featured-image {
        min-height: 200px;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Newsletter */
.newsletter-box {
    max-width: 560px;
    margin: 60px auto 0;
    text-align: center;
    padding: 48px 40px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.newsletter-form input {
    flex: 1;
    border-radius: 100px;
    padding: 14px 20px;
}

.newsletter-form .btn-cta {
    border-radius: 100px;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 10px;
    }

    .newsletter-form .btn-cta {
        border-radius: 10px;
    }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--theme-hero-overlay);
    pointer-events: none;
    z-index: 0;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner-inner {
    text-align: center;
    padding: 80px 48px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1) 0%, rgba(229, 57, 53, 0.08) 100%);
    border: 1px solid rgba(255, 106, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-banner-inner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto 36px;
}

/* ============================================================
   LINE-SWEEP HOVER — Molten8 signature animation
   One consistent interaction across ALL interactive cards
   ============================================================ */

/* Apply to every card/box type that doesn't already use .card-top-line */
.agent-card::before,
.consulting-card::before,
.news-card::before,
.news-featured-card::before,
.process-step::before,
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--molten-gold) 0%, var(--molten-orange) 50%, var(--molten-red) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.agent-card:hover::before,
.consulting-card:hover::before,
.news-card:hover::before,
.news-featured-card:hover::before,
.process-step:hover::before,
.stat-item:hover::before {
    transform: scaleX(1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 40px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--medium-grey);
    line-height: 1.65;
    max-width: 260px;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--medium-grey);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--molten-orange);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--medium-grey);
    transition: all 0.2s;
}

.social-icon:hover {
    background: rgba(255, 106, 0, 0.1);
    border-color: rgba(255, 106, 0, 0.3);
    color: var(--molten-orange);
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.52);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--molten-orange);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

/* ============================================================
   DIVIDERS & MISC
   ============================================================ */
.divider {
    width: 48px;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 3px;
    margin: 0 auto 24px;
}

/* Process steps (homepage preview) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.process-step {
    padding: 36px 28px;
    text-align: center;
    border-radius: var(--border-radius);
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.process-step:hover {
    background: var(--theme-glass-hover);
    border-color: var(--molten-orange);
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 20px;
    position: relative;
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    color: var(--molten-orange);
    opacity: 0.4;
    font-size: 1.5rem;
}

.process-step:last-child .step-arrow {
    display: none;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        display: none;
    }
}

/* Calendly placeholder */
.calendly-placeholder {
    padding: 48px 32px;
    text-align: center;
    border-radius: var(--border-radius);
    border: 2px dashed var(--glass-border);
    color: var(--medium-grey);
}

.calendly-placeholder p {
    color: var(--medium-grey);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Responsive helpers */
@media (max-width: 480px) {
    .section {
        padding: 64px 0;
    }

    .page-hero {
        padding-top: calc(var(--nav-height) + 40px);
    }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .btn-cta,
    .btn-secondary {
        justify-content: center;
    }

    .cta-banner-inner {
        padding: 48px 24px;
    }
}

/* ============================================================
   WHY MOST AI PROJECTS FAIL — Stats Section
   ============================================================ */
.fail-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.fail-stat-card {
    padding: 36px 28px;
    border-radius: var(--border-radius);
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.fail-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--molten-gold) 0%, var(--molten-orange) 50%, var(--molten-red) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.fail-stat-card:hover::before {
    transform: scaleX(1);
}

.fail-stat-card:hover {
    background: var(--theme-glass-hover);
    border-color: rgba(255, 106, 0, 0.18);
}

.fail-stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.fail-stat-desc {
    font-size: 0.95rem;
    color: var(--theme-text);
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 500;
}

.fail-stat-source {
    font-size: 0.78rem;
    color: var(--theme-text-muted);
    font-style: italic;
    line-height: 1.4;
}

.fail-stats-narrative {
    max-width: 760px;
    margin: 48px auto 0;
    text-align: center;
    padding: 32px 40px;
    border-radius: var(--border-radius);
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
}

.fail-stats-narrative p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--theme-text-muted);
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .fail-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .fail-stats-grid {
        grid-template-columns: 1fr;
    }

    .fail-stats-narrative {
        padding: 24px 20px;
    }
}

/* ============================================================
   OUR APPROACH — Three Pillars
   ============================================================ */
.approach-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.approach-pillar {
    padding: 44px 32px;
    border-radius: var(--border-radius);
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.approach-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.approach-pillar:hover::before {
    transform: scaleX(1);
}

.approach-pillar:hover {
    background: var(--theme-glass-hover);
    border-color: rgba(255, 106, 0, 0.18);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.12), rgba(229, 57, 53, 0.08));
    border: 1px solid rgba(255, 106, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    color: var(--molten-orange);
}

.approach-pillar h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.approach-pillar p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--theme-text-muted);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .approach-pillars {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   MODELS & TECHNOLOGIES — Expanded Grid
   ============================================================ */
.models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.model-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.model-group-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--molten-orange);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--theme-glass-border);
    margin-bottom: 4px;
}

.model-card {
    padding: 24px;
    border-radius: 12px;
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    transition: all 0.3s ease;
}

.model-card:hover {
    background: var(--theme-glass-hover);
    border-color: rgba(255, 106, 0, 0.15);
}

.model-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.model-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.model-logo-placeholder {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 106, 0, 0.1);
}

.model-logo-placeholder svg {
    width: 20px;
    height: 20px;
    color: var(--molten-orange);
}

.model-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.model-cost {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--molten-gold);
    letter-spacing: 0.02em;
}

.model-cost-free {
    color: #4ade80;
}

.model-card p {
    font-size: 0.88rem;
    color: var(--theme-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .models-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   INDUSTRY VOICES — Quote Cards
   ============================================================ */
.industry-voices {
    padding: 80px 0;
    position: relative;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.voice-card {
    padding: 36px 32px;
    border-radius: var(--border-radius);
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    border-left: 3px solid var(--molten-orange);
    position: relative;
    transition: all 0.3s ease;
    margin: 0;
}

.voice-card:hover {
    background: var(--theme-glass-hover);
    border-color: rgba(255, 106, 0, 0.18);
    border-left-color: var(--molten-orange);
}

.voice-card p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--theme-text);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.voice-card cite {
    font-size: 0.82rem;
    color: var(--theme-text-muted);
    font-style: normal;
    display: block;
}

.voice-source-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--molten-orange);
    text-decoration: none;
    transition: opacity 0.2s;
}

.voice-source-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .voices-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   INDUSTRIES WE SERVE
   ============================================================ */

/* Flagship Card */
.industry-card-flagship {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    border-radius: var(--border-radius);
    padding: 48px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.industry-card-flagship::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--molten-gold), var(--molten-orange), var(--molten-red));
}

.industry-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.industry-card-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.industry-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 106, 0, 0.1);
}

.industry-icon svg {
    width: 24px;
    height: 24px;
    color: var(--molten-orange);
}

.industry-icon-lg {
    width: 56px;
    height: 56px;
}

.industry-icon-lg svg {
    width: 28px;
    height: 28px;
}

.industry-badge-live {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--molten-orange);
    background: rgba(255, 106, 0, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 106, 0, 0.2);
}

/* Problem / Solution blocks */
.industry-problem,
.industry-solution {
    margin-bottom: 32px;
}

.industry-problem h4,
.industry-solution h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--theme-text);
}

.industry-problem p,
.industry-solution>p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--theme-text-muted);
}

/* Feature grid */
.industry-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.industry-feature {
    padding: 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--theme-glass-border);
    transition: all 0.3s ease;
}

.industry-feature:hover {
    background: var(--theme-glass-hover);
    border-color: rgba(255, 106, 0, 0.15);
}

.industry-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 106, 0, 0.08);
    margin-bottom: 14px;
}

.industry-feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--molten-orange);
}

.industry-feature h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--theme-text);
}

.industry-feature p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--theme-text-muted);
    margin-bottom: 0;
}

/* Architecture diagram */
.industry-architecture {
    margin-bottom: 32px;
}

.industry-architecture h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--theme-text);
}

.arch-diagram {
    border-radius: 12px;
    overflow: hidden;
}

.arch-server {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--theme-glass-border);
    border-radius: 12px;
    padding: 24px;
}

.arch-server-label {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--theme-glass-border);
    color: var(--theme-text);
}

.arch-server-label span {
    font-weight: 400;
    color: var(--theme-text-muted);
}

.arch-matters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.arch-matter {
    padding: 16px;
    border: 1px solid rgba(255, 106, 0, 0.15);
    background: rgba(255, 106, 0, 0.03);
}

.arch-matter-label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--molten-orange);
}

.arch-matter-label span {
    font-weight: 400;
    color: var(--theme-text-muted);
}

.arch-matter-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.arch-matter-items span {
    font-size: 0.8rem;
    color: var(--theme-text-muted);
    line-height: 1.5;
}

.arch-api {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--theme-text-muted);
    padding-top: 12px;
    border-top: 1px dashed var(--theme-glass-border);
}

.arch-api svg {
    flex-shrink: 0;
    color: var(--molten-orange);
}

/* CTA inside flagship card */
.industry-cta {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--theme-glass-border);
}

.industry-cta p {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--theme-text);
}

/* Coming Soon Cards Grid */
.industry-coming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-card-sm {
    padding: 32px;
    border-radius: var(--border-radius);
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.industry-card-sm:hover {
    background: var(--theme-glass-hover);
    border-color: rgba(255, 106, 0, 0.15);
}

.industry-card-sm .industry-icon {
    margin: 0 auto 16px;
}

.industry-card-sm h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.industry-card-sm p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--theme-text-muted);
    margin-bottom: 0;
}

.industry-coming-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--molten-gold);
    background: rgba(255, 184, 0, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 184, 0, 0.2);
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 900px) {
    .industry-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .industry-card-flagship {
        padding: 28px;
    }

    .industry-card-header h3 {
        font-size: 1.3rem;
    }

    .industry-features-grid {
        grid-template-columns: 1fr;
    }

    .arch-matters {
        grid-template-columns: 1fr;
    }

    .industry-coming-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .industry-card-header {
        flex-direction: column;
        text-align: center;
    }

    .industry-card-flagship {
        padding: 20px;
    }
}

/* ============================================================
   NAV DROPDOWN — Industries
   ============================================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: var(--theme-nav-scrolled);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border: 1px solid var(--theme-glass-border);
    border-radius: 14px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--theme-text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.nav-dropdown-item:hover {
    background: var(--theme-glass-hover);
    color: var(--theme-text);
}

.nav-dropdown-item.coming-soon {
    opacity: 0.5;
}

.nav-dropdown-item.coming-soon:hover {
    opacity: 0.7;
}

.nav-dropdown-item .coming-soon-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--molten-gold);
    background: rgba(255, 184, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 184, 0, 0.2);
    margin-left: auto;
}

/* Mobile dropdown behavior */
@media (max-width: 900px) {
    .nav-dropdown>.nav-link {
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        max-height: 300px;
        transform: none;
    }

    .nav-dropdown-item {
        padding: 10px 24px 10px 40px;
        font-size: 0.92rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-dropdown-item:last-child {
        border-bottom: none;
    }

    /* Hide the hover arrow underline on dropdown trigger */
    .nav-dropdown>.nav-link::after {
        display: none;
    }
}

/* ============================================================
   INDUSTRY PREVIEW CARDS — Home Page
   ============================================================ */
.industry-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.industry-preview-card {
    padding: 32px 24px;
    border-radius: var(--border-radius);
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.industry-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--molten-gold) 0%, var(--molten-orange) 50%, var(--molten-red) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.industry-preview-card:hover::before {
    transform: scaleX(1);
}

.industry-preview-card:hover {
    background: var(--theme-glass-hover);
    border-color: rgba(255, 106, 0, 0.18);
    transform: translateY(-4px);
}

.industry-preview-card .industry-icon {
    margin: 0 auto 16px;
}

.industry-preview-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.industry-preview-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--theme-text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.industry-preview-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--molten-orange);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
    margin-top: auto;
}

.industry-preview-card:hover .industry-preview-link {
    gap: 8px;
}

@media (max-width: 900px) {
    .industry-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .industry-preview-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================================
   INDUSTRY PAGES — Shared Styles
   ============================================================ */
.industry-page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.industry-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--theme-home-hero-overlay, var(--theme-hero-overlay));
    pointer-events: none;
    z-index: 1;
}

.industry-page-hero .container {
    position: relative;
    z-index: 2;
}

.industry-page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 20px;
}

.industry-page-hero p {
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto;
    color: var(--theme-text-muted);
}

/* Problem list */
.problem-list {
    list-style: none;
    padding: 0;
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--theme-glass-border);
    font-size: 1rem;
    color: var(--theme-text-muted);
    line-height: 1.6;
}

.problem-list li:last-child {
    border-bottom: none;
}

.problem-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--molten-red);
    flex-shrink: 0;
    margin-top: 8px;
}

/* Solution table */
.solution-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}

.solution-table thead th {
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--molten-orange);
    padding: 12px 16px;
    border-bottom: 2px solid var(--theme-glass-border);
}

.solution-table tbody td {
    padding: 16px;
    font-size: 0.92rem;
    color: var(--theme-text-muted);
    border-bottom: 1px solid var(--theme-glass-border);
    vertical-align: top;
    line-height: 1.5;
}

.solution-table tbody tr:hover {
    background: var(--theme-glass-hover);
}

.solution-table tbody td:first-child {
    color: var(--theme-text);
    font-weight: 500;
}

@media (max-width: 768px) {
    .solution-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Pricing highlights */
.pricing-highlights {
    list-style: none;
    padding: 0;
}

.pricing-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--theme-glass-border);
    font-size: 1rem;
    color: var(--theme-text-muted);
    line-height: 1.6;
}

.pricing-highlights li:last-child {
    border-bottom: none;
}

.pricing-highlights li::before {
    content: '✓';
    color: #4ade80;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    font-size: 0.9rem;
}

.comparison-table thead th {
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--molten-orange);
    padding: 12px 16px;
    border-bottom: 2px solid var(--theme-glass-border);
    white-space: nowrap;
}

.comparison-table thead th:last-child {
    background: rgba(255, 106, 0, 0.05);
    border-radius: 8px 8px 0 0;
}

.comparison-table tbody td {
    padding: 12px 16px;
    color: var(--theme-text-muted);
    border-bottom: 1px solid var(--theme-glass-border);
    vertical-align: top;
    line-height: 1.4;
}

.comparison-table tbody td:first-child {
    color: var(--theme-text);
    font-weight: 500;
    white-space: nowrap;
}

.comparison-table tbody td:last-child {
    background: rgba(255, 106, 0, 0.03);
    color: var(--theme-text);
    font-weight: 500;
}

.comparison-table tbody tr:hover {
    background: var(--theme-glass-hover);
}

@media (max-width: 768px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Case lifecycle timeline */
.lifecycle-steps {
    display: flex;
    gap: 0;
    margin-top: 24px;
    position: relative;
}

.lifecycle-step {
    flex: 1;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    border: 1px solid var(--theme-glass-border);
    background: var(--theme-card-bg);
}

.lifecycle-step:first-child {
    border-radius: 12px 0 0 12px;
}

.lifecycle-step:last-child {
    border-radius: 0 12px 12px 0;
}

.lifecycle-step h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--molten-orange);
}

.lifecycle-step p {
    font-size: 0.82rem;
    color: var(--theme-text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.lifecycle-arrow {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--molten-orange);
    font-size: 1.2rem;
    z-index: 2;
}

@media (max-width: 768px) {
    .lifecycle-steps {
        flex-direction: column;
    }

    .lifecycle-step {
        border-radius: 0;
    }

    .lifecycle-step:first-child {
        border-radius: 12px 12px 0 0;
    }

    .lifecycle-step:last-child {
        border-radius: 0 0 12px 12px;
    }

    .lifecycle-arrow {
        display: none;
    }
}

/* Industry page section spacing */
.industry-section {
    padding: 80px 0;
    position: relative;
}

.industry-section+.industry-section {
    border-top: 1px solid var(--theme-glass-border);
}

/* Placeholder page styling */
.placeholder-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 24px;
}

.placeholder-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ---- SEO: Page Summary (screen-reader-only, crawlable) ---- */
.page-summary {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.page-summary p {
    margin: 0 0 4px;
}

.page-summary p:last-child {
    margin-bottom: 0;
}

/* ---- Accessibility: Skip Link ---- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--molten-orange);
    color: var(--white);
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* ---- SEO: Breadcrumbs ---- */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.85rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.breadcrumb ol li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--theme-text-muted);
}

.breadcrumb ol li:not(:last-child)::after {
    content: '/';
    color: var(--theme-text-muted);
    opacity: 0.5;
}

.breadcrumb ol li a {
    color: var(--theme-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb ol li a:hover {
    color: var(--molten-orange);
}

.page-summary,
.breadcrumb {
    display: none !important;
}

/* Image Theme Toggling */
.img-mode-dark {
    display: none !important;
}

.img-mode-light {
    display: block !important;
}

[data-theme='dark'] .img-mode-light {
    display: none !important;
}

[data-theme='dark'] .img-mode-dark {
    display: block !important;
    mix-blend-mode: screen;
}

/* ============================================================
   ABOUT PAGE (migrated from about.html local styles)
   ============================================================ */
/* ---- About page local styles ---- */

.about-hero {
    --about-mouse-x: 50%;
    --about-mouse-y: 50%;
    position: relative;
    isolation: isolate;
    overflow: clip;
    min-height: clamp(480px, 60vh, 600px);
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 88px);
    padding-bottom: 96px;
    background: #05090f;
    text-align: center;
}

.about-hero::before {
    background: transparent;
}

.about-hero-media {
    position: absolute;
    inset: -5%;
    z-index: 0;
    transform: translate3d(0, var(--about-hero-shift, 0px), 0) scale(var(--about-hero-scale, 1.04));
    transform-origin: center center;
    will-change: transform;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    opacity: 0;
    animation: aboutHeroCinematicReveal 1500ms cubic-bezier(0.16, 1, 0.3, 1) 120ms forwards;
}

.about-hero-image {
    position: absolute;
    inset: 0;
    background-image: url('assets/images/about-hero-editorial.svg');
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    animation: aboutHeroDrift 22s ease-in-out infinite alternate;
    filter: saturate(1.12) contrast(1.08);
}

.about-hero-image-secondary {
    position: absolute;
    inset: -8%;
    background-image: url('assets/Agents/hero_curves.png');
    background-size: cover;
    background-position: center;
    mix-blend-mode: screen;
    opacity: 0.24;
    transform: scale(1.1);
    animation: aboutHeroSecondaryDrift 24s ease-in-out infinite alternate;
}

[data-theme="light"] .about-hero-image {
    background-image: url('assets/images/about-hero-editorial-light.svg');
    filter: saturate(1.05) contrast(1.02);
}

[data-theme="light"] .about-hero-image-secondary {
    background-image: url('assets/Agents/hero_curves_light.png');
    mix-blend-mode: multiply;
    opacity: 0.18;
}

@media (prefers-color-scheme: light) {
    html:not([data-theme="dark"]) .about-hero-image {
        background-image: url('assets/images/about-hero-editorial-light.svg');
        filter: saturate(1.05) contrast(1.02);
    }

    html:not([data-theme="dark"]) .about-hero-image-secondary {
        background-image: url('assets/Agents/hero_curves_light.png');
        mix-blend-mode: multiply;
        opacity: 0.18;
    }
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--about-mouse-x) var(--about-mouse-y), rgba(255, 153, 51, 0.26), transparent 34%),
        radial-gradient(circle at 88% 72%, rgba(240, 65, 65, 0.2), transparent 44%),
        linear-gradient(118deg, rgba(3, 8, 14, 0.87) 0%, rgba(6, 12, 20, 0.44) 42%, rgba(4, 8, 12, 0.8) 100%);
}

.about-hero-grid {
    position: absolute;
    inset: -2%;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: 0.3;
    transform: perspective(820px) rotateX(57deg) translateY(16%);
    transform-origin: center bottom;
    animation: aboutHeroGridPulse 8s ease-in-out infinite;
}

.about-hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, transparent 38%, rgba(2, 6, 10, 0.54) 76%, rgba(1, 3, 6, 0.86) 100%);
}

.about-hero-sweep {
    position: absolute;
    top: -10%;
    bottom: -10%;
    width: 26%;
    left: -30%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 48%, transparent 100%);
    filter: blur(1.2px);
    transform: skewX(-16deg);
    animation: aboutHeroSweep 10.8s ease-in-out infinite;
}

.about-hero-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0.35;
    animation: aboutHeroOrbitSpin 26s linear infinite;
}

.about-hero-orbit.orbit-1 {
    width: min(72vw, 860px);
    height: min(72vw, 860px);
    top: -32%;
    right: -18%;
}

.about-hero-orbit.orbit-2 {
    width: min(54vw, 620px);
    height: min(54vw, 620px);
    bottom: -34%;
    left: -12%;
    animation-direction: reverse;
    animation-duration: 30s;
    opacity: 0.2;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
}

.about-hero .label {
    background: rgba(8, 12, 18, 0.56);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
}

.about-hero-title {
    margin: 0 auto 18px;
    color: #fff;
    text-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
    font-size: clamp(2rem, 4.15vw, 3.2rem);
    letter-spacing: -0.022em;
    line-height: 1.04;
}

.about-hero-title-line {
    display: block;
    overflow: hidden;
    padding: 0.05em 0;
}

.about-hero-title-line>span {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    animation: aboutHeroLineIn 1220ms cubic-bezier(0.2, 0.92, 0.2, 1) forwards;
}

.about-hero-title-line:nth-child(2)>span {
    animation-delay: 240ms;
}

.about-hero-description {
    margin: 0 auto 24px;
    max-width: 520px;
    font-size: 1.1rem;
    line-height: 1.58;
    letter-spacing: 0.002em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.38);
}

.about-hero-ticker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(7, 12, 18, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.065em;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(7px);
}

.about-hero-ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--molten-gold), var(--molten-orange));
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.55);
    animation: aboutHeroDotPulse 2.1s ease-in-out infinite;
}

.about-hero-scrollcue {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 46px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    z-index: 1;
}

.about-hero-scrollcue::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 4px;
    height: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%);
    animation: aboutHeroScrollCue 2s ease-in-out infinite;
}

.about-hero.is-loaded .about-hero-content .label,
.about-hero.is-loaded .about-hero-description,
.about-hero.is-loaded .about-hero-ticker {
    animation: aboutHeroFadeUp 1040ms cubic-bezier(0.2, 0.82, 0.24, 1) forwards;
    opacity: 0;
    transform: translateY(24px);
}

.about-hero.is-loaded .about-hero-content .label {
    animation-delay: 140ms;
}

.about-hero.is-loaded .about-hero-description {
    animation-delay: 460ms;
}

.about-hero.is-loaded .about-hero-ticker {
    animation-delay: 640ms;
}

@keyframes aboutHeroCinematicReveal {
    from {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
        opacity: 0;
    }

    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }
}

@keyframes aboutHeroLineIn {
    from {
        transform: translateY(110%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes aboutHeroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutHeroDrift {
    from {
        transform: scale(1.04) translate3d(-1%, 0, 0);
    }

    to {
        transform: scale(1.12) translate3d(1.4%, -1.2%, 0);
    }
}

@keyframes aboutHeroSecondaryDrift {
    from {
        transform: scale(1.1) translate3d(-0.5%, 1.6%, 0);
    }

    to {
        transform: scale(1.16) translate3d(1.2%, -1.4%, 0);
    }
}

@keyframes aboutHeroGridPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes aboutHeroSweep {
    0% {
        transform: translateX(0) skewX(-16deg);
        opacity: 0;
    }

    26% {
        opacity: 0.16;
    }

    60% {
        opacity: 0.08;
    }

    100% {
        transform: translateX(430%) skewX(-16deg);
        opacity: 0;
    }
}

@keyframes aboutHeroDotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.48);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 106, 0, 0);
    }
}

@keyframes aboutHeroOrbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes aboutHeroScrollCue {
    0% {
        top: 9px;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        top: 23px;
        opacity: 0;
    }
}

/* Story panel */
.story-panel {
    max-width: 840px;
    margin: 0 auto;
    padding: 60px;
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(var(--glass-blur));
}

.story-panel p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--theme-text-muted);
    margin-bottom: 20px;
}

.story-panel p:last-child {
    margin-bottom: 0;
}

.story-callout {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--molten-orange);
    line-height: 1.6;
    padding: 28px 32px;
    border-left: 3px solid var(--molten-orange);
    margin: 36px 0 0;
    background: var(--theme-eyebrow-bg);
    border-radius: 0 8px 8px 0;
}

/* Differentiators grid */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.diff-card {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-glass-border);
    border-radius: var(--border-radius);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.diff-card:hover::before {
    transform: scaleX(1);
}

.diff-card:hover {
    border-color: var(--theme-glass-border);
    background: var(--theme-glass-hover);
}

.diff-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.15), rgba(229, 57, 53, 0.1));
    border: 1px solid rgba(255, 106, 0, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.diff-icon svg {
    width: 24px;
    height: 24px;
    color: var(--molten-orange);
}

.diff-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.diff-card p {
    font-size: 0.95rem;
    color: var(--theme-text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Approach section */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.approach-left h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    margin-bottom: 20px;
    line-height: 1.3;
}

.approach-left p {
    font-size: 1rem;
    color: var(--theme-text-muted);
    line-height: 1.8;
}

.approach-principles {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.principle-item {
    display: flex;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--theme-glass-border);
}

.principle-item:first-child {
    padding-top: 0;
}

.principle-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.principle-number {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 2px;
}

.principle-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.principle-text p {
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-hero {
        min-height: clamp(480px, 72vh, 680px);
        padding-top: calc(var(--nav-height) + 68px);
        padding-bottom: 80px;
    }

    .about-hero-media {
        inset: -10%;
    }

    .about-hero-sweep {
        width: 38%;
    }

    .about-hero-grid {
        background-size: 64px 64px;
        opacity: 0.24;
    }

    .about-hero-title {
        letter-spacing: -0.016em;
        line-height: 1.1;
    }

    .about-hero-description {
        font-size: 1rem;
        max-width: 400px;
        line-height: 1.52;
    }

    .about-hero-scrollcue {
        bottom: 18px;
    }

    .story-panel {
        padding: 36px 24px;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .story-callout {
        font-size: 1.05rem;
        padding: 20px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero-media {
        animation: none;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        transform: none;
    }

    .about-hero-image,
    .about-hero-image-secondary,
    .about-hero-sweep,
    .about-hero-orbit,
    .about-hero-scrollcue::before,
    .about-hero-ticker-dot {
        animation: none;
    }

    .about-hero-title-line>span {
        transform: none;
        opacity: 1;
        animation: none;
    }

    .about-hero.is-loaded .about-hero-content .label,
    .about-hero.is-loaded .about-hero-description,
    .about-hero.is-loaded .about-hero-ticker {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* About page shared-content helpers */
.about-breadcrumb-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.about-breadcrumb-list {
    list-style: none;
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--theme-text-muted);
    padding: 0;
    margin: 0;
}

.about-breadcrumb-home {
    color: var(--molten-orange);
    text-decoration: none;
}

.section-tight-top {
    padding-top: 0;
}

.label-block {
    margin-bottom: 16px;
    display: inline-block;
}

.about-copy-offset-1 {
    margin-top: 20px;
}

.about-copy-offset-2 {
    margin-top: 16px;
}

.about-ethics-grid {
    margin-top: 4px;
}

.about-bullet-list {
    margin-top: 14px;
    padding-left: 20px;
    list-style: disc;
    color: var(--theme-text-muted);
}

.about-bullet-list li {
    margin-bottom: 8px;
}

.about-policy-note {
    margin-top: 22px;
    font-weight: 600;
    color: var(--theme-text);
}

.about-source-note {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--theme-text-muted);
}

.about-source-note a {
    color: var(--molten-orange);
    text-decoration: none;
}

.about-source-note a:hover {
    text-decoration: underline;
}

.about-pledge-grid {
    gap: 56px;
}

.about-partner-logos {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-partner-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--theme-glass-border);
    background: var(--theme-card-bg);
    color: var(--theme-text);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.about-partner-logo:hover {
    background: var(--theme-glass-hover);
    border-color: var(--theme-text-muted);
    transform: translateY(-1px);
}

.about-partner-logo img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
    padding: 3px;
}

.about-partner-logo span {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.about-pledge-panel h3 {
    margin-bottom: 14px;
    font-size: 1.25rem;
}

.about-pledge-list {
    margin-top: 0;
}

.footer-service-region {
    color: var(--medium-grey);
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .about-partner-logo {
        padding: 9px 12px;
    }
}

/* ============================================================
   INDUSTRIES HUB PAGE
   ============================================================ */
.industries-matrix-wrap {
    margin-top: 8px;
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--theme-glass-border);
    background: var(--theme-card-bg);
}

.industries-matrix {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.industries-matrix th,
.industries-matrix td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--theme-glass-border);
    font-size: 0.94rem;
    line-height: 1.55;
}

.industries-matrix th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--theme-text-muted);
    font-weight: 600;
}

.industries-matrix tbody tr:last-child td {
    border-bottom: none;
}

.industries-matrix td a {
    color: var(--molten-orange);
    text-decoration: none;
    font-weight: 600;
}

.industries-matrix td a:hover {
    text-decoration: underline;
}

.industries-footnote {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--theme-text-muted);
}

.cta-inline-label {
    margin-bottom: 16px;
}

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